@import url("./career.css");
body.enterprise {
  --enterprise-accent: #72d8cc;
}
.enterprise .enterprise-cardgrid,
.enterprise .enterprise-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  align-items: start;
}
.enterprise .enterprise-cardgrid > .wk-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.enterprise .enterprise-cardgrid .wk-card > button,
.enterprise .enterprise-choice > button {
  width: 100%;
  margin-top: 8px;
}
.enterprise .enterprise-art {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: none;
  border-radius: 7px;
  background: #071a27;
  border: 1px solid #345465;
}
.enterprise .enterprise-art.wide {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: contain;
  margin-bottom: 12px;
}
.enterprise .enterprise-identity {
  display: flex;
  gap: 12px;
  align-items: center;
}
.enterprise .enterprise-identity h3 {
  margin: 0;
}
.enterprise .enterprise-representatives {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}
.enterprise .enterprise-representatives img {
  width: calc(50% - 5px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.enterprise .enterprise-sector-map {
  position: relative;
  min-height: 380px;
  aspect-ratio: 1000/520;
  background: radial-gradient(
    ellipse at 30% 40%,
    #1f4950 0,
    #0a2336 35%,
    #071321 80%
  );
  border: 1px solid #49707e;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.enterprise .enterprise-sector-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.enterprise .enterprise-sector-map line {
  stroke: #567c8c;
  stroke-width: 3;
}
.enterprise .enterprise-sector-map line.disrupted {
  stroke: #e69a85;
  stroke-dasharray: 9 7;
}
.enterprise .enterprise-map-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 110px;
  min-height: 90px;
  padding: 6px;
  background: #0b2938e8;
  z-index: 1;
}
.enterprise .enterprise-map-node img {
  width: 42px;
  height: 35px;
  object-fit: cover;
}
.enterprise .enterprise-map-node strong {
  font-size: 0.73rem;
  line-height: 1.15;
}
.enterprise .enterprise-map-node small {
  font-size: 0.65rem;
  color: #9fbdc6;
}
.enterprise .enterprise-map-node.selected {
  border: 2px solid #8be2cf;
  background: #194b50;
}
.enterprise .enterprise-choice,
.enterprise .enterprise-route {
  padding: 12px;
  background: #0a2433;
  border: 1px solid #365866;
  margin-top: 10px;
}
.enterprise .enterprise-route button {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.enterprise .enterprise-history {
  border-left: 3px solid #68b9af;
  padding: 4px 12px;
  margin: 10px 0;
  background: #12314066;
}
.enterprise .enterprise-table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #2c4d60;
  margin: 10px 0 20px;
}
.enterprise .enterprise-table-scroll table {
  min-width: 620px;
  border-collapse: collapse;
  width: 100%;
}
.enterprise .enterprise-table-scroll th,
.enterprise .enterprise-table-scroll td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #294959;
  font-size: 0.84rem;
}
.enterprise .enterprise-table-scroll th {
  color: #d9eaee;
}
.enterprise .enterprise-event {
  margin-bottom: 18px;
}
.enterprise .enterprise-lesson {
  border-top: 3px solid #66b3b8;
}
.enterprise .enterprise-lesson:has(.good) {
  border-color: #78d8b7;
}
.enterprise .enterprise-tool img {
  background: linear-gradient(130deg, #183442, #081a29);
}
.enterprise [data-screen="31"] .camera-controls {
  display: none;
}
.enterprise #tabs {
  flex-wrap: wrap;
}
.enterprise #screen-index {
  max-height: 70vh;
  overflow-y: auto;
}
@media (min-width: 1650px) {
  .enterprise .enterprise-cardgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .enterprise .enterprise-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .enterprise .enterprise-sector-map {
    min-height: 360px;
  }
  .enterprise .enterprise-map-node {
    width: 72px;
    min-height: 68px;
    padding: 4px;
  }
  .enterprise .enterprise-map-node img {
    width: 32px;
    height: 26px;
  }
  .enterprise .enterprise-map-node strong {
    font-size: 0.61rem;
  }
  .enterprise .enterprise-map-node small {
    font-size: 0.55rem;
  }
  .enterprise .enterprise-table-scroll {
    margin-left: -2px;
    margin-right: -2px;
  }
  .enterprise .enterprise-art.wide {
    height: 125px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .enterprise * {
    scroll-behavior: auto !important;
  }
}
/* Keep the map inside narrow panels; its aspect ratio must not force horizontal overflow. */
.enterprise .enterprise-sector-map {
  width: 100%;
  min-width: 0;
}
.enterprise[data-screen="31"] .camera-controls,
.enterprise[data-screen="32"] .camera-controls,
.enterprise[data-screen="33"] .camera-controls,
.enterprise[data-screen="34"] .camera-controls,
.enterprise[data-screen="35"] .camera-controls,
.enterprise[data-screen="36"] .camera-controls,
.enterprise[data-screen="37"] .camera-controls,
.enterprise[data-screen="38"] .camera-controls,
.enterprise[data-screen="39"] .camera-controls,
.enterprise[data-screen="25"] .camera-controls {
  display: none;
}
.enterprise .wk-sheet {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .enterprise .enterprise-sector-map {
    aspect-ratio: auto;
    height: 340px;
    min-height: 0;
  }
  .enterprise .enterprise-map-node {
    width: 48px;
    min-height: 46px;
    padding: 4px;
  }
  .enterprise .enterprise-map-node strong,
  .enterprise .enterprise-map-node small {
    display: none;
  }
  .enterprise .enterprise-map-node img {
    width: 34px;
    height: 30px;
  }
}
.enterprise .enterprise-representatives figure {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.enterprise .enterprise-representatives figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.enterprise .enterprise-representatives figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.45;
}
.enterprise .enterprise-representatives figcaption small {
  display: block;
  color: #9fbdc6;
}
