* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #050607;
  color: #f4f7f8;
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ================================
   PAGE SHELL
================================ */

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 28px;
}

/* ================================
   SHARED NAV
================================ */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(143, 239, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(82, 219, 255, 0.18);
}

.logo-mark span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #72e8ff;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(114, 232, 255, 0.9);
}

.logo-mark span:nth-child(1) {
  top: 10px;
  left: 14px;
}

.logo-mark span:nth-child(2) {
  top: 20px;
  left: 24px;
  width: 10px;
  height: 10px;
}

.logo-mark span:nth-child(3) {
  top: 27px;
  left: 12px;
  width: 5px;
  height: 5px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 11px;
  color: #8d9ca3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: #9eabb1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #72e8ff;
}

/* ================================
   LANDING
================================ */

.landing-header {
  display: flex;
  align-items: center;
  margin-bottom: 56px;
}
.dashboard-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-left: 2px;
}

.dashboard-breadcrumb a,
.dashboard-breadcrumb span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-breadcrumb a {
  color: #829198;
}

.dashboard-breadcrumb a:hover {
  color: #72e8ff;
}

.dashboard-breadcrumb span {
  color: #f4f7f8;
}

.hci-logo {
  width: 70px;
  height: auto;
  display: block;
}

.landing-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel,
.visual-panel,
.info-card,
.side-panel,
.main-dashboard,
.insight-panel,
.company-map-card,
.kpi-card,
.team-hero,
.team-kpis,
.team-map-card,
.team-readout,
.profile-panel,
.capability-panel,
.evidence-panel,
.recommendation-panel,
.evidence-card,
.missing-hero,
.missing-card,
.closing-panel,
.company-top-bar,
.company-left-rail,
.company-center-panel,
.company-right-rail {
  border: 1px solid rgba(134, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    #080a0c;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.06);
}

.hero-panel,
.visual-panel,
.info-card {
  border-radius: 28px;
}

.hero-panel {
  padding: 56px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 22px;
  color: #72e8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 680px;
  margin-top: 28px;
  color: #a9b7bd;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-button {
  background: #72e8ff;
  color: #031014;
  box-shadow: 0 0 20px rgba(114, 232, 255, 0.28);
}

.secondary-button {
  border: 1px solid rgba(114, 232, 255, 0.35);
  color: #d9faff;
}

.strategy-button {
  background: rgba(114, 232, 255, 0.055);
  border-color: rgba(114, 232, 255, 0.32);
  color: #d9faff;
  box-shadow: none;
}

.strategy-button:hover {
  background: rgba(114, 232, 255, 0.095);
  border-color: rgba(114, 232, 255, 0.46);
}

.strategy-helper {
  margin: 10px 0 0;
  color: #829198;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #829198;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
}

.text-link:hover {
  color: #72e8ff;
}

.visual-panel {
  padding: 24px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.visual-panel > .company-scoreboard-card + .company-main-grid {
  margin-top: 26px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-strip div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: #829198;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.metric-strip strong {
  font-size: 24px;
}

.network-map {
  position: relative;
  flex: 1;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(114,232,255,0.12), transparent 30%),
    radial-gradient(circle at 30% 20%, rgba(111,255,183,0.08), transparent 22%),
    radial-gradient(circle at 80% 70%, rgba(255,180,76,0.08), transparent 24%),
    #030405;
}

.network-map::before,
.company-network::before,
.team-network::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

/* ================================
   MAP DOTS
================================ */

.map-dot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  z-index: 2;
  will-change: transform, filter, opacity;
  animation: dotBreath 8s ease-in-out infinite;
}

@keyframes dotBreath {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.9;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

.default-dot {
  width: 5px;
  height: 5px;
}

#companyMap .company-dot {
  width: 2.25px;
  height: 2.25px;
}

#companyMap .company-dot:not(.filtered-out):not(.team-dimmed) {
  filter: brightness(1.34);
}

.company-organism-map .map-dot {
  animation: none;
  transform: translate(-50%, -50%) scale(1);
}

.mid-dot {
  width: 8px;
  height: 8px;
}

.large-dot {
  width: 12px;
  height: 12px;
}

.star-dot {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 26px currentColor;
}

.risk-dot {
  background: #ffbd68 !important;
  box-shadow: 0 0 16px rgba(255,189,104,0.85) !important;
}

.strong-signal-dot {
  box-shadow: 0 0 24px currentColor;
}

.map-dot:hover {
  z-index: 40;
}

/* ==========================================
   COMPANY MAP FILTER STATES
========================================== */

.company-dot.filtered-out {
  opacity: 0.10 !important;
  filter: grayscale(1) brightness(0.35);
  z-index: 2;
  cursor: default;
}

.company-dot.filtered-in {
  opacity: 1 !important;
  filter: none;
  z-index: 18;
}

/* ==========================================
   COMPANY MAP TEAM HOVER
========================================== */

.company-dot.team-dimmed {
  opacity: 0.14 !important;
  filter: grayscale(1) brightness(0.45);
  z-index: 2;
}

.company-dot.team-active {
  opacity: 1 !important;
  filter: none !important;
  z-index: 30;
}

/* ==========================================
   TEAM PAGE DOTS
========================================== */

.team-map-dot {
  width: 14px;
  height: 14px;
  animation: none;
  transform: translate(-50%, -50%) scale(1);
}

.team-map-dot:hover,
.team-map-dot.team-active {
  transform: translate(-50%, -50%) scale(3);
}

/* ================================
   TEAM COLORS
================================ */

.cyan-dot {
  background: #72e8ff;
  box-shadow: 0 0 12px rgba(114, 232, 255, 0.85);
}

.green-dot {
  background: #6fffb7;
  box-shadow: 0 0 12px rgba(111, 255, 183, 0.75);
}

.purple-dot {
  background: #C79BFF;
  box-shadow: 0 0 14px rgba(199, 155, 255, 0.85);
}

.orange-dot {
  background: #ffbd68;
  box-shadow: 0 0 12px rgba(255, 189, 104, 0.75);
}

.red-dot {
  background: #ff7d7d;
  box-shadow: 0 0 12px rgba(255, 125, 125, 0.75);
}

.white-dot {
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
}

.blue-dot {
  background: #5B8CFF;
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.85);
}

#companyMap .cyan-dot {
  box-shadow: 0 0 8px rgba(114, 232, 255, 0.56);
}

#companyMap .green-dot {
  box-shadow: 0 0 8px rgba(111, 255, 183, 0.54);
}

#companyMap .purple-dot {
  box-shadow: 0 0 9px rgba(199, 155, 255, 0.56);
}

#companyMap .orange-dot {
  box-shadow: 0 0 8px rgba(255, 189, 104, 0.54);
}

#companyMap .red-dot {
  box-shadow: 0 0 8px rgba(255, 125, 125, 0.54);
}

#companyMap .white-dot {
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.56);
}

#companyMap .blue-dot {
  box-shadow: 0 0 8px rgba(91, 140, 255, 0.56);
}

.team-leadership { color: #ffffff; }
.team-finance { color: #6fffb7; }
.team-product { color: #72e8ff; }
.team-engineering { color: #5B8CFF; }
.team-marketing { color: #C79BFF; }
.team-sales { color: #ffbd68; }
.team-hr { color: #ff7d7d; }

/* ==========================================
   TEAM PAGE NAVIGATION
========================================== */

.back-link {
  color: #72e8ff;
}

.team-switch-list .filter-check {
  opacity: 0.45;
  transition: opacity 0.18s ease;
}

.team-switch-list .filter-check.active-team,
.team-switch-list .filter-check:hover {
  opacity: 1;
}

.members-list .filter-check {
  opacity: 1;
  color: #ffffff;
}

.member-link:hover {
  opacity: 0.85;
}
.member-search-wrap {
  margin-top: 12px;
  margin-bottom: 16px;
}

.member-search {
  width: 100%;
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  color: #f4f7f8;
  font-size: 12px;
  font-weight: 700;
  outline: none;
}

.member-search::placeholder {
  color: #6f7b81;
  font-weight: 700;
}

.member-search:focus {
  border-color: rgba(114,232,255,0.38);
  background: rgba(255,255,255,0.065);
}

/* ==========================================
   INDIVIDUAL PAGE
========================================== */

.individual-profile-stage {
  min-height: 680px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 24%, rgba(114,232,255,0.10), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(111,255,183,0.08), transparent 26%),
    #030405;
  padding: 28px;
}

.individual-profile-card {
  height: 100%;
  display: grid;
  gap: 26px;
}

.individual-profile-header {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
}

.profile-photo,
.profile-photo-orb {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  flex-shrink: 0;
}

.profile-photo {
  object-fit: cover;
  border: 4px solid currentColor;
  box-shadow:
    0 0 28px currentColor;
}

.profile-photo-orb {
  border: 4px solid currentColor;
  background:
    radial-gradient(circle at 38% 30%, #ffffff, currentColor 26%, #183a46 62%, #050607 100%);
  box-shadow:
    0 0 42px currentColor,
    inset 0 0 30px rgba(255,255,255,0.22);
}

.profile-photo.finance,
.profile-photo-orb.finance {
  color: #6fffb7;
}

.profile-photo.engineering,
.profile-photo-orb.engineering {
  color: #5B8CFF;
}

.profile-photo.marketing,
.profile-photo-orb.marketing {
  color: #C79BFF;
}

.profile-photo.sales,
.profile-photo-orb.sales {
  color: #ffbd68;
}

.profile-photo.hr,
.profile-photo-orb.hr {
  color: #ff7d7d;
}

.profile-photo.leadership,
.profile-photo-orb.leadership {
  color: #ffffff;
}

.profile-photo.product,
.profile-photo-orb.product {
  color: #72e8ff;
}

.individual-profile-header h1 {
  max-width: 700px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.individual-role {
  margin-top: 10px;
  color: #aab7bc;
  font-size: 16px;
}

.individual-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.individual-meta-grid div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.individual-meta-grid span {
  display: block;
  color: #829198;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.individual-meta-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.individual-summary-block {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.individual-summary-block p {
  margin-top: 14px;
  max-width: 900px;
  color: #aab7bc;
  font-size: 16px;
  line-height: 1.65;
}

.individual-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.active-member {
  opacity: 1;
  color: #ffffff;
}

.members-list .filter-check:not(.active-member) {
  opacity: 0.45;
}

.members-list .filter-check:hover {
  opacity: 1;
}

@media (max-width: 980px) {
  .individual-profile-header {
    grid-template-columns: 1fr;
  }

  .individual-meta-grid,
  .individual-readiness-grid,
  .individual-evidence-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   INDIVIDUAL READINESS CARDS
========================================== */

.individual-readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.readiness-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.readiness-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.readiness-topline span {
  color: #829198;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.readiness-topline strong {
  color: #72e8ff;
  font-size: 34px;
  line-height: 1;
}

.readiness-track {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.readiness-fill {
  height: 100%;
  border-radius: 999px;
  background: #72e8ff;
  box-shadow: 0 0 22px rgba(114,232,255,0.65);
}

.readiness-card p {
  margin-top: 14px;
  color: #aab7bc;
  font-size: 14px;
  line-height: 1.5;
}

/* ================================
   LANDING CARDS
================================ */

.landing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.info-card {
  padding: 28px;
}

.info-card span {
  color: #72e8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.info-card h3 {
  margin-top: 18px;
  font-size: 22px;
}

.info-card p {
  margin-top: 12px;
  color: #9daab0;
  font-size: 15px;
  line-height: 1.55;
}

/* ================================
   COMPANY DASHBOARD
================================ */

.company-dashboard {
  display: grid;
  gap: 22px;
}

.company-top-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 18px;
}

.company-top-bar div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}

.company-top-bar span {
  display: block;
  color: #829198;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.company-top-bar strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.metric-up {
  color: #72e8ff;
  font-style: normal;
  font-size: 13px;
  margin-left: 6px;
}

.metric-down {
  color: #ffbd68;
  font-style: normal;
  font-size: 13px;
  margin-left: 6px;
}

.company-top-bar .warning strong {
  color: #ffbd68;
}

.company-main-grid {
  display: grid;
  grid-template-columns: 230px 1fr 300px;
  gap: 20px;
  align-items: stretch;
}

.company-left-rail,
.company-right-rail {
  padding: 22px;
}

.panel-label {
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(255,255,255,0.08);
}

/* ==========================================
   MAP EYEBROW STATUS
========================================== */

.eyebrow-team.all {
  color: #72e8ff;
}

.eyebrow-team.leadership {
  color: #ffffff;
}

.eyebrow-team.finance {
  color: #6fffb7;
}

.eyebrow-team.product {
  color: #72e8ff;
}

.eyebrow-team.engineering {
  color: #5B8CFF;
}

.eyebrow-team.marketing {
  color: #C79BFF;
}

.eyebrow-team.sales {
  color: #ffbd68;
}

.eyebrow-team.hr {
  color: #ff7d7d;
}

#mapEyebrow .eyebrow-team {
  margin-left: 4px;
  margin-right: 2px;
}

/* ================================
   FILTERS + TEAM NAV
================================ */

.filter-list,
.team-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 13px;
  border: 0;
  background: transparent;
  color: #aab7bc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 13px;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-list .filter-check span {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(114,232,255,0.5);
  border-radius: 3px;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}

.team-list .filter-check {
  text-decoration: none;
}

.team-list .filter-check span {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  flex-shrink: 1;
}

.team-list .filter-check .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.filter-check:hover {
  opacity: 0.88;
}

.filter-list .filter-check:hover {
  color: #72e8ff;
}

.team-list .filter-check.team-hovered {
  color: #72e8ff;
  opacity: 1;
}

.team-list .filter-check.team-muted {
  opacity: 0.42;
}

.filter-check.active-filter {
  color: #72e8ff;
  opacity: 1;
}

.filter-check.active-filter span {
  background: #72e8ff;
  border-color: #72e8ff;
  box-shadow: 0 0 14px rgba(114,232,255,0.55);
}

.filter-list .filter-check {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.filter-list .filter-check span {
  pointer-events: none;
}

/* ==========================================
   IDENTIFIED PEOPLE PANEL
========================================== */

.identified-panel {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.identified-heading {
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.identified-meta {
  margin-top: 8px;
  color: #829198;
  font-size: 11px;
  font-weight: 700;
}

.identified-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 16px;
  color: #829198;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.identified-compare::after {
  content: "›";
  color: #72e8ff;
  font-size: 14px;
  line-height: 1;
}

.identified-compare:hover {
  color: #f4f7f8;
}

.identified-list {
  display: grid;
  gap: 10px;
}

.identified-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 18px;
  color: #aab7bc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identified-person:hover {
  color: #72e8ff;
}

.identified-person .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.identified-score {
  margin-left: auto;
  color: #829198;
  font-size: 10px;
  font-weight: 900;
}

.identified-show-all {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #829198;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
}

.identified-show-all::after {
  content: "›";
  color: #72e8ff;
  font-size: 14px;
  line-height: 1;
}

.identified-show-all:hover {
  color: #f4f7f8;
}

.identified-empty {
  margin-top: 6px;
  color: #829198;
  font-size: 12px;
  line-height: 1.5;
}

/* ================================
   COMPANY MAP
================================ */

.company-center-panel {
  padding: 24px;
}

.company-map-title {
  margin-bottom: 12px;
}

.company-map-title h1 {
  margin-top: 10px;
  max-width: 820px;
  font-size: clamp(34px, 4vw, 58px);
}

.company-map-title p {
  margin-top: 10px;
  color: #8f9da3;
  font-size: 12px;
  line-height: 1.4;
}

.map-context {
  margin-top: 10px;
  color: #8f9da3;
  font-size: 12px;
  line-height: 1.4;
}

.company-organism-stage {
  position: relative;
  min-height: 680px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 40%, rgba(114,232,255,0.10), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(255,189,104,0.08), transparent 24%),
    #030405;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-organism-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

.company-organism-map {
  position: relative;
  z-index: 2;
  width: min(82vw, 640px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
}

/* ================================
   RIGHT RECOMMENDATION
================================ */

.recommendation-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.recommendation-card h3 {
  font-size: 22px;
  line-height: 1.05;
}

.recommendation-card p {
  margin-top: 14px;
  color: #98a7ad;
  font-size: 14px;
  line-height: 1.55;
}

/* ==========================================
   ACTIONABLE INTELLIGENCE
========================================== */

.intelligence-card {
  display: grid;
  gap: 18px;
}

.intelligence-block {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.intelligence-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.intelligence-block span {
  display: block;
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intelligence-block p {
  margin-top: 8px;
  color: #aab7bc;
  font-size: 14px;
  line-height: 1.55;
}

.full-width {
  width: 100%;
  margin-top: 20px;
}

/* ================================
   OLDER DASHBOARD SUPPORT
================================ */

.dashboard-layout {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 20px;
}

.side-panel,
.insight-panel {
  padding: 22px;
  align-self: start;
}

.filter-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.filter-pill {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: #aab7bc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  border-color: rgba(114, 232, 255, 0.5);
  color: #72e8ff;
}

.signal-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  color: #aab7bc;
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
}

.green { background: #6fffb7; }
.blue { background: #5B8CFF; }
.purple { background: #C79BFF; }
.orange { background: #ffbd68; }
.red { background: #ff7d7d; }

.main-dashboard {
  padding: 24px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-header h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.primary-button.small {
  height: 40px;
  padding: 0 16px;
  font-size: 10px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.kpi-card {
  padding: 18px;
}

.kpi-card span {
  color: #829198;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.kpi-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.kpi-card p {
  margin-top: 4px;
  color: #8f9da3;
  font-size: 13px;
}

.kpi-card.warning strong {
  color: #ffbd68;
}

.company-map-card {
  padding: 18px;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  color: #829198;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-network {
  position: relative;
  min-height: 580px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 50%, rgba(114,232,255,0.12), transparent 30%),
    radial-gradient(circle at 18% 28%, rgba(111,255,183,0.08), transparent 20%),
    radial-gradient(circle at 82% 70%, rgba(255,125,125,0.08), transparent 22%),
    #030405;
}

.person {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: 0.18s ease;
}

.person:hover {
  scale: 1.8;
  z-index: 5;
}

.person.large {
  width: 18px;
  height: 18px;
}

/* ================================
   TEAM DASHBOARD
================================ */

.team-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.team-hero {
  grid-column: 1 / -1;
  padding: 42px;
}

.team-hero h2 {
  max-width: 900px;
  margin-top: 10px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.team-hero p {
  max-width: 820px;
  margin-top: 22px;
  color: #a7b5bb;
  font-size: 17px;
  line-height: 1.6;
}

.team-kpis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
}

.team-map-card {
  padding: 24px;
}

.team-network {
  position: relative;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(189,140,255,0.16), transparent 34%),
    radial-gradient(circle at 35% 30%, rgba(114,232,255,0.10), transparent 24%),
    #030405;
}

.team-person {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #bd8cff;
  box-shadow: 0 0 20px rgba(189,140,255,0.8);
  transform: translate(-50%, -50%);
  transition: 0.18s ease;
}

.team-person:hover {
  scale: 1.8;
  z-index: 5;
}

.team-person.strong {
  width: 20px;
  height: 20px;
  background: #72e8ff;
  box-shadow: 0 0 24px rgba(114,232,255,0.9);
}

.team-person.star {
  width: 28px;
  height: 28px;
  background: #ffffff;
  box-shadow: 0 0 42px rgba(255,255,255,0.85);
}

.team-person.risk {
  background: #ffbd68;
  box-shadow: 0 0 22px rgba(255,189,104,0.9);
}

.tp1 { top: 48%; left: 48%; }
.tp2 { top: 24%; left: 36%; }
.tp3 { top: 32%; left: 58%; }
.tp4 { top: 42%; left: 28%; }
.tp5 { top: 58%; left: 32%; }
.tp6 { top: 66%; left: 50%; }
.tp7 { top: 76%; left: 38%; }
.tp8 { top: 42%; left: 70%; }
.tp9 { top: 62%; left: 74%; }
.tp10 { top: 24%; left: 72%; }
.tp11 { top: 78%; left: 64%; }
.tp12 { top: 18%; left: 48%; }

.team-readout {
  padding: 24px;
  align-self: stretch;
}

/* ================================
   INDIVIDUAL DASHBOARD
================================ */

.individual-layout {
  display: grid;
  grid-template-columns: 340px 1fr 300px;
  gap: 20px;
}

.profile-panel {
  padding: 28px;
}

.profile-orb {
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, #ffffff, #72e8ff 28%, #183a46 62%, #050607 100%);
  box-shadow:
    0 0 50px rgba(114,232,255,0.45),
    inset 0 0 30px rgba(255,255,255,0.25);
}

.profile-panel h2 {
  font-size: 42px;
  letter-spacing: -0.04em;
}

.role-line {
  margin-top: 8px;
  color: #93a2a9;
  font-size: 14px;
}

.profile-score {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(114,232,255,0.22);
  border-radius: 20px;
  background: rgba(114,232,255,0.045);
}

.profile-score span {
  display: block;
  color: #72e8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.profile-score strong {
  display: block;
  margin-top: 8px;
  font-size: 64px;
  line-height: 1;
}

.profile-summary {
  margin-top: 24px;
  color: #a7b5bb;
  font-size: 15px;
  line-height: 1.6;
}

.capability-panel {
  padding: 28px;
}

.capability-bars {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.bar-row {
  display: grid;
  gap: 10px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #d8eef4;
  font-size: 14px;
  font-weight: 800;
}

.bar-label strong {
  color: #72e8ff;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #72e8ff;
  box-shadow: 0 0 22px rgba(114,232,255,0.75);
}

.warning-fill {
  background: #ffbd68;
  box-shadow: 0 0 22px rgba(255,189,104,0.75);
}

.evidence-panel {
  grid-column: 1 / 3;
  padding: 28px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.evidence-card {
  padding: 22px;
}

.evidence-card span {
  color: #72e8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.evidence-card h4 {
  margin-top: 16px;
  font-size: 18px;
}

.evidence-card p {
  margin-top: 10px;
  color: #98a7ad;
  font-size: 14px;
  line-height: 1.5;
}

.recommendation-panel {
  padding: 24px;
  grid-column: 3;
  grid-row: 1 / 3;
}

/* ================================
   WHAT AM I MISSING
================================ */

.missing-layout {
  display: grid;
  gap: 22px;
}

.missing-hero {
  padding: 46px;
}

.missing-hero h2 {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.missing-hero p {
  max-width: 820px;
  margin-top: 22px;
  color: #a7b5bb;
  font-size: 17px;
  line-height: 1.6;
}

.missing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.missing-card {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.missing-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 190px;
  background: radial-gradient(circle, rgba(114,232,255,0.18), transparent 68%);
}

.missing-card.warning-card::before {
  background: radial-gradient(circle, rgba(255,189,104,0.2), transparent 68%);
}

.missing-card.danger-card::before {
  background: radial-gradient(circle, rgba(255,125,125,0.2), transparent 68%);
}

.missing-number {
  color: #72e8ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.warning-card .missing-number {
  color: #ffbd68;
}

.danger-card .missing-number {
  color: #ff7d7d;
}

.missing-card h3 {
  margin-top: 28px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.missing-card p {
  margin-top: 18px;
  color: #9facb2;
  font-size: 15px;
  line-height: 1.6;
}

.missing-action {
  margin-top: auto;
  padding-top: 28px;
  color: #f4f7f8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing-panel {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.closing-panel h2 {
  max-width: 820px;
  margin-top: 10px;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

/* ==========================================
   COMPARE PAGE
========================================== */

.compare-page {
  display: grid;
  gap: 22px;
}

.compare-hero,
.compare-main-panel,
.compare-side-panel,
.compare-item {
  border: 1px solid rgba(134, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    #080a0c;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.06);
}

.compare-hero {
  padding: 42px;
}

.compare-hero h1 {
  margin-top: 12px;
  max-width: 820px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.compare-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: #aab7bc;
  font-size: 17px;
  line-height: 1.6;
}

.compare-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: stretch;
}

.compare-main-panel,
.compare-side-panel {
  padding: 24px;
}

.compare-accordion {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.compare-item {
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 28px 10px minmax(180px, 240px) 1fr 42px 18px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.compare-row:hover {
  background: rgba(114,232,255,0.055);
}

.compare-rank {
  color: #829198;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.compare-row .legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.compare-person-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.compare-person-main strong {
  color: #f4f7f8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-person-main em {
  color: #829198;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.compare-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #72e8ff;
  box-shadow: 0 0 18px rgba(114,232,255,0.65);
}

.compare-score {
  color: #72e8ff;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.compare-caret {
  color: #829198;
  font-size: 18px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.18s ease, color 0.18s ease;
}

.compare-item.open .compare-caret {
  color: #72e8ff;
  transform: rotate(90deg);
}

.compare-drawer {
  display: none;
  padding: 0 14px 14px;
}

.compare-item.open .compare-drawer {
  display: block;
}

.compare-drawer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.compare-mini-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.compare-mini-card span {
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-mini-card p {
  margin-top: 10px;
  color: #aab7bc;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .compare-layout {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 28px 10px minmax(160px, 220px) 1fr 42px 18px;
  }
}

@media (max-width: 760px) {
  .compare-hero,
  .compare-main-panel,
  .compare-side-panel {
    padding: 24px;
  }

  .compare-row {
    grid-template-columns: 24px 10px 1fr 38px 18px;
  }

  .compare-track {
    grid-column: 1 / -1;
  }

  .compare-drawer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1180px) {
  .company-main-grid,
  .dashboard-layout,
  .team-layout,
  .individual-layout {
    grid-template-columns: 1fr;
  }

  .company-top-bar,
  .kpi-row,
  .team-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-panel,
  .insight-panel {
    align-self: stretch;
  }

  .evidence-panel,
  .recommendation-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .top-nav {
    align-items: flex-start;
    gap: 24px;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .landing-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
    padding: 42px;
  }

  .landing-cards,
  .missing-cards {
    grid-template-columns: 1fr;
  }

  .closing-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .kpi-row,
  .team-kpis {
    grid-template-columns: 1fr;
  }

  .company-network,
  .team-network {
    min-height: 420px;
  }

  .map-toolbar {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 18px;
  }

  .company-top-bar {
    grid-template-columns: 1fr;
  }

  .company-center-panel,
  .company-left-rail,
  .company-right-rail {
    padding: 18px;
  }

  .hero-panel,
  .visual-panel,
  .info-card {
    border-radius: 22px;
  }

  .hero-panel,
  .team-hero,
  .missing-hero,
  .missing-card,
  .closing-panel {
    padding: 28px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 14px;
    font-size: 10px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hci-logo {
    width: 70px;
  }
}
/* ==========================================
   EXPLORE SCENARIOS PAGE
========================================== */

.scenario-page {
  display: grid;
  gap: 22px;
}

.scenario-hero,
.scenario-card {
  border: 1px solid rgba(134, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    #080a0c;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.06);
}

.scenario-hero {
  padding: 42px;
}

.scenario-hero h1 {
  margin-top: 12px;
  max-width: 820px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.scenario-hero p {
  max-width: 820px;
  margin-top: 18px;
  color: #aab7bc;
  font-size: 17px;
  line-height: 1.6;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scenario-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.scenario-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.scenario-risk {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.low-risk {
  color: #6fffb7;
}

.med-risk {
  color: #72e8ff;
}

.high-risk {
  color: #ffbd68;
}

.recommended-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recommended-badge::before {
  content: "✓";

  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  border-radius: 50%;

  background: rgba(114,232,255,0.15);
  border: 1px solid rgba(114,232,255,0.55);

  color: #72e8ff;
  font-size: 12px;
  font-weight: 900;

  box-shadow: 0 0 18px rgba(114,232,255,0.25);
}

.scenario-card h3 {
  margin-top: 22px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.scenario-card p {
  margin-top: 16px;
  color: #9facb2;
  font-size: 14px;
  line-height: 1.55;
}
.scenario-card.hover-scenario {
  transform: translateY(-2px);
}

.scenario-card.scenario-low.hover-scenario,
.scenario-card.scenario-low.selected-scenario {
  border-color: #46dc8c;
  background: rgba(70, 220, 140, 0.08);
}

.scenario-card.scenario-med.hover-scenario,
.scenario-card.scenario-med.selected-scenario {
  border-color: #50aaff;
  background: rgba(80, 170, 255, 0.08);
}

.scenario-card.scenario-high.hover-scenario,
.scenario-card.scenario-high.selected-scenario {
  border-color: #f5b946;
  background: rgba(245, 185, 70, 0.08);
}

.scenario-card.scenario-low.hover-scenario .scenario-button,
.scenario-card.scenario-low.selected-scenario .scenario-button {
  border-color: #46dc8c !important;
  background: rgba(70, 220, 140, 0.16) !important;
  color: #ffffff !important;
}

.scenario-card.scenario-med.hover-scenario .scenario-button,
.scenario-card.scenario-med.selected-scenario .scenario-button {
  border-color: #50aaff !important;
  background: rgba(80, 170, 255, 0.18) !important;
  color: #ffffff !important;
}

.scenario-card.scenario-high.hover-scenario .scenario-button,
.scenario-card.scenario-high.selected-scenario .scenario-button {
  border-color: #f5b946 !important;
  background: rgba(245, 185, 70, 0.18) !important;
  color: #ffffff !important;
}

.decision-brief.brief-low {
  border-color: #46dc8c;
}

.decision-brief.brief-med {
  border-color: #50aaff;
}

.decision-brief.brief-high {
  border-color: #f5b946;
}

.brief-status.brief-low {
  color: #46dc8c;
}

.brief-status.brief-med {
  color: #50aaff;
}

.brief-status.brief-high {
  color: #f5b946;
}

.scenario-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.scenario-metrics div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.scenario-metrics span {
  display: block;
  color: #829198;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scenario-metrics strong {
  display: block;
  margin-top: 8px;
  color: #f4f7f8;
  font-size: 16px;
}

.scenario-note {
  margin-top: auto !important;
  padding-top: 24px;
  color: #d8eef4 !important;
}

.scenario-button {
  width: 100%;
  margin-top: 22px;
}

.featured-scenario {
  border-color: rgba(114,232,255,0.34);
  box-shadow: 0 0 90px rgba(114,232,255,0.12);
}

.selected-scenario {
  border-color: rgba(114,232,255,0.55);
  box-shadow: 0 0 110px rgba(114,232,255,0.18);
}

.decision-brief {
  border: 1px solid rgba(134, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    #080a0c;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.06);
  padding: 34px;
}

.decision-brief-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.decision-brief h2 {
  margin-top: 12px;
  max-width: 900px;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.brief-status {
  padding: 8px 12px;
  border-radius: 999px;
  color: #72e8ff;
  background: rgba(114,232,255,0.08);
  border: 1px solid rgba(114,232,255,0.28);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.decision-brief > p {
  max-width: 980px;
  margin-top: 18px;
  color: #aab7bc;
  font-size: 16px;
  line-height: 1.65;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.brief-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.brief-card span {
  display: block;
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brief-card p {
  margin-top: 12px;
  color: #aab7bc;
  font-size: 14px;
  line-height: 1.5;
}

.strategy-page {
  gap: 24px;
}

.strategy-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.strategy-hero h1,
.strategy-hero p {
  margin-left: auto;
  margin-right: auto;
}

.strategy-prompt {
  width: min(100%, 980px);
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(114, 232, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(114, 232, 255, 0.06), rgba(255,255,255,0.018)),
    #06090b;
}

.strategy-prompt input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f7f8;
  padding: 0 18px;
  font-size: 16px;
}

.strategy-prompt input::placeholder {
  color: #6f7f86;
}

.strategy-prompt .primary-button {
  border: 0;
  cursor: pointer;
}

.strategy-response[hidden] {
  display: none;
}

.strategy-candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.strategy-candidate-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(134, 245, 255, 0.14);
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
}

.candidate-rank {
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.strategy-candidate-card h3 {
  margin-top: 10px;
  color: #f4f7f8;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.strategy-candidate-card > strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.candidate-detail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.candidate-detail span {
  display: block;
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.candidate-detail p {
  margin-top: 8px;
  color: #aab7bc;
  font-size: 14px;
  line-height: 1.5;
}

.strategy-recommendation {
  margin-top: 26px;
}

@media (max-width: 1180px) {

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .scenario-card {
    min-height: auto;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .strategy-candidate-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {

  .scenario-hero,
  .scenario-card {
    padding: 24px;
  }

  .scenario-metrics {
    grid-template-columns: 1fr;
  }

  .decision-brief {
    padding: 24px;
  }

  .decision-brief-header {
    flex-direction: column;
  }

  .strategy-prompt {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .strategy-prompt input {
    min-height: 44px;
    text-align: center;
  }
}

/* Scenario secondary buttons */

.scenario-button.secondary-button {
  background: #343c41 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

.scenario-button.secondary-button:hover {
  background: #414a50 !important;
}

/* ==========================
   SCENARIO EXPERIENCE
========================== */

.scenario-experience-page {
  max-width: 900px;
  margin: 0 auto;
}

.scenario-experience-page .compare-hero,
.scenario-stage {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.scenario-experience-page .compare-hero {
  padding: 42px;
}

.scenario-stage {
  padding: 24px;
}

.scenario-step {
  display: none;
  padding-top: 20px;
}

.scenario-step.active {
  display: block;
}

.scenario-step h2 {
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.15;
}

.scenario-step p {
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.7;
}

.scenario-textarea {
  width: 100%;
  min-height: 180px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  padding: 18px;
  resize: vertical;
  margin-bottom: 24px;
}

.scenario-textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.25);
}

.scenario-choice-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.scenario-choice-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s ease;
}

.scenario-choice-grid label:hover {
  border-color: rgba(255,255,255,.15);
}

.scenario-choice-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.scenario-results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.capable-leaders-list {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.capable-leaders-list h3 {
  margin-bottom: 8px;
}

.capable-leaders-list p {
  margin-bottom: 0;
  opacity: .85;
}

.scenario-step .primary-button {
  margin-top: 10px;
}

@media (max-width: 768px) {

  .scenario-experience-page .compare-hero,
  .scenario-stage {
    max-width: 100%;
  }

  .scenario-step h2 {
    font-size: 28px;
  }

  .scenario-results-grid {
    grid-template-columns: 1fr;
  }

  .scenario-textarea {
    min-height: 140px;
  }
}

/* ==========================================
   COMPANY SCOREBOARD
========================================== */

.company-scoreboard-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(134, 245, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(114,232,255,0.10), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.014)),
    #071014;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.07);
}

.scoreboard-divider {
  height: 1px;
  margin: 0;
  background: rgba(114,232,255,0.10);
}

.scoreboard-grid {
  display: grid;
  gap: 10px;
}

.business-outcomes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.readiness-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.scoreboard-grid > div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.business-outcomes-grid > div {
  min-height: 98px;
  background:
    linear-gradient(145deg, rgba(114,232,255,0.08), rgba(255,255,255,0.03)),
    rgba(114,232,255,0.035);
  border-color: rgba(114,232,255,0.16);
}

.scoreboard-grid > [data-scorecard-link] {
  cursor: pointer;
}

.scoreboard-grid > [data-scorecard-link]:hover,
.scoreboard-grid > [data-scorecard-link]:focus-visible {
  background: rgba(255,255,255,0.052);
  border-color: rgba(114,232,255,0.18);
}

.business-outcomes-grid > [data-scorecard-link]:hover,
.business-outcomes-grid > [data-scorecard-link]:focus-visible {
  background:
    linear-gradient(145deg, rgba(114,232,255,0.12), rgba(255,255,255,0.04)),
    rgba(114,232,255,0.048);
  border-color: rgba(114,232,255,0.24);
}

.readiness-grid > div {
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.024);
  border-color: rgba(255,255,255,0.06);
}

.readiness-grid > [data-scorecard-link]:hover,
.readiness-grid > [data-scorecard-link]:focus-visible {
  background: rgba(114,232,255,0.035);
  border-color: rgba(114,232,255,0.14);
}

.readiness-grid > div > span {
  font-size: 9px;
  letter-spacing: 0.13em;
}

.readiness-grid strong {
  margin-top: 7px;
  font-size: 18px;
}

.capability-drivers-grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.capability-drivers-grid > a {
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.016);
  border: 0;
  cursor: pointer;
}

.capability-drivers-grid > a:hover,
.capability-drivers-grid > a:focus-visible {
  background: rgba(114,232,255,0.035);
}

.scoreboard-grid span {
  display: block;
  color: #829198;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scoreboard-grid strong {
  display: block;
  margin-top: 8px;
  color: #f4f7f8;
  font-size: 22px;
  line-height: 1.05;
}

.business-outcomes-grid strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 28px;
}

.scoreboard-grid small {
  display: block;
  margin-top: 6px;
  color: #d8eef4;
  font-size: 13px;
  font-weight: 700;
}

.scoreboard-grid .warning strong {
  color: #ffbd68;
}

.scoreboard-grid .score-status-green,
.scoreboard-grid .score-status-yellow,
.scoreboard-grid .score-status-red {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.scoreboard-grid .score-status-green .score-value {
  color: #6fffb7;
}

.scoreboard-grid .score-status-yellow .score-value {
  color: #ffbd68;
}

.scoreboard-grid .score-status-red .score-value {
  color: #ff7d7d;
}

.scoreboard-grid .score-trend {
  color: #f4f7f8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.capability-drivers-grid span {
  font-size: 7px;
  line-height: 1.25;
  letter-spacing: 0.10em;
}

.capability-drivers-grid strong {
  margin-top: 5px;
  font-size: 13px;
}

.scoreboard-grid .score-value {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
}

.intelligence-promise {
  margin-top: 10px;
  color: #829198;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

/* ==========================================
   FOCUSED DRIVER PAGES
========================================== */

.driver-page {
  display: grid;
  gap: 18px;
}

.driver-focus-panel,
.driver-panel {
  border: 1px solid rgba(134, 245, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    #080a0c;
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.06);
}

.driver-focus-panel {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.driver-panel {
  padding: 22px;
}

.driver-explainer-panel h2 {
  margin-top: 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.driver-explainer-panel > p {
  max-width: 980px;
  margin-top: 12px;
  color: #aab7bc;
  font-size: 15px;
  line-height: 1.55;
}

.driver-explainer-panel .brief-grid,
.driver-evidence-panel .brief-grid {
  margin-top: 18px;
}

.driver-explainer-panel .brief-card,
.driver-evidence-panel .brief-card {
  border-radius: 12px;
}

.driver-influence-panel .readiness-grid {
  margin-top: 14px;
}

.driver-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.driver-title-line {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 10px;
}

.driver-title-line h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.driver-hero-row h1 {
  margin-top: 10px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.driver-hero-row p {
  max-width: 760px;
  margin-top: 16px;
  color: #aab7bc;
  font-size: 16px;
  line-height: 1.55;
}

.driver-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.driver-score .score-value {
  color: inherit;
  font-size: 54px;
  font-weight: 900;
  line-height: 0.95;
}

.driver-score .score-trend {
  color: #f4f7f8;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.driver-score.score-status-green .score-value,
.driver-chip .score-status-green .score-value {
  color: #6fffb7;
}

.driver-score.score-status-yellow .score-value,
.driver-chip .score-status-yellow .score-value {
  color: #ffbd68;
}

.driver-score.score-status-red .score-value,
.driver-chip .score-status-red .score-value {
  color: #ff7d7d;
}

.driver-intelligence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.driver-intelligence-grid .intelligence-block {
  min-height: 150px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.07);
}

.driver-intelligence-grid .intelligence-block strong {
  color: #f4f7f8;
}

.driver-intelligence-grid .driver-action-block {
  background:
    linear-gradient(145deg, rgba(114,232,255,0.055), rgba(255,255,255,0.022)),
    rgba(255,255,255,0.03);
  border-color: rgba(114,232,255,0.16);
}

.driver-relationship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.driver-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.driver-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f4f7f8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
}

.driver-chip:hover,
.driver-chip:focus-visible,
.active-driver-chip {
  background: rgba(114,232,255,0.04);
  outline: none;
}

.active-driver-chip {
  color: #72e8ff;
  box-shadow: inset 0 0 0 1px rgba(114,232,255,0.18);
}

.driver-action-block .primary-button {
  margin-top: 18px;
}

.driver-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.driver-chip strong {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0;
}

.driver-chip .score-trend {
  color: #f4f7f8;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.driver-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.driver-evidence-grid div {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.07);
}

.driver-evidence-grid span {
  display: block;
  color: #829198;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.driver-evidence-grid strong {
  display: block;
  margin-top: 8px;
  color: #f4f7f8;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .driver-intelligence-grid,
  .driver-relationship-grid {
    grid-template-columns: 1fr;
  }

  .driver-hero-row {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 620px) {
  .driver-focus-panel,
  .driver-panel {
    padding: 22px;
  }

  .driver-score .score-value {
    font-size: 42px;
  }
}

/* ==========================================
   DRIVER HISTORY + MEASUREMENT
========================================== */

.driver-change-stack {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}

.driver-change-stack small {
  color: #829198;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
}

.driver-history-panel,
.driver-measurement-panel,
.driver-related-panel {
  padding: 28px;
}

.history-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.history-panel-header p {
  margin-top: 8px;
  color: #64747b;
  font-size: 11px;
  font-weight: 700;
}

.history-ranges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
}

.history-ranges button {
  min-width: 48px;
  padding: 9px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #829198;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.history-ranges button:hover,
.history-ranges button:focus-visible {
  color: #f4f7f8;
  outline: 1px solid rgba(114,232,255,0.3);
}

.history-ranges .active-history-range {
  background: #72e8ff;
  color: #071014;
  box-shadow: 0 0 24px rgba(114,232,255,0.16);
}

.history-chart-wrap {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(114,232,255,0.05), transparent 34%),
    rgba(0,0,0,0.2);
}

.history-chart {
  display: block;
  width: 100%;
  min-height: 260px;
}

.history-band {
  opacity: 0.055;
}

.history-band-green {
  fill: #6fffb7;
}

.history-band-yellow {
  fill: #ffbd68;
}

.history-band-red {
  fill: #ff7d7d;
}

.history-grid-line {
  stroke: rgba(255,255,255,0.09);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

.history-axis-label,
.history-date-label {
  fill: #64747b;
  font-size: 10px;
  font-weight: 800;
}

.history-area {
  opacity: 0.12;
}

.history-area-green {
  fill: #6fffb7;
}

.history-area-yellow {
  fill: #ffbd68;
}

.history-area-red {
  fill: #ff7d7d;
}

.history-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-line-green {
  stroke: #6fffb7;
  filter: drop-shadow(0 0 8px rgba(111,255,183,0.25));
}

.history-line-yellow {
  stroke: #ffbd68;
  filter: drop-shadow(0 0 8px rgba(255,189,104,0.25));
}

.history-line-red {
  stroke: #ff7d7d;
  filter: drop-shadow(0 0 8px rgba(255,125,125,0.25));
}

.history-event line {
  stroke: rgba(114,232,255,0.24);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.history-event circle {
  fill: #72e8ff;
  stroke: #071014;
  stroke-width: 3;
}

.history-event text {
  fill: #72e8ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.history-endpoint {
  stroke: #071014;
  stroke-width: 3;
}

.history-endpoint-start {
  fill: #829198;
}

.history-endpoint-green {
  fill: #6fffb7;
}

.history-endpoint-yellow {
  fill: #ffbd68;
}

.history-endpoint-red {
  fill: #ff7d7d;
}

.history-value-label {
  fill: #aab7bc;
  font-size: 14px;
  font-weight: 900;
}

.history-value-current {
  fill: #f4f7f8;
  font-size: 18px;
}

.history-interpretation {
  margin-top: 16px;
  color: #d8eef4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.driver-measurement-panel h2 {
  margin-top: 10px;
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.driver-measurement-panel > p {
  max-width: 980px;
  margin-top: 12px;
  color: #aab7bc;
  font-size: 15px;
  line-height: 1.55;
}

.measurement-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.measurement-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  background: rgba(255,255,255,0.028);
}

.measurement-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(114,232,255,0.32);
  border-radius: 50%;
  background: rgba(114,232,255,0.09);
  color: #72e8ff;
  font-size: 11px;
  font-weight: 900;
}

.measurement-card strong {
  color: #f4f7f8;
  font-size: 13px;
  line-height: 1.3;
}

.measurement-card p {
  margin-top: 9px;
  color: #aab7bc;
  font-size: 13px;
  line-height: 1.5;
}

.driver-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.driver-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
}

.driver-related-card:hover,
.driver-related-card:focus-visible {
  border-color: rgba(114,232,255,0.22);
  background: rgba(114,232,255,0.035);
  outline: none;
}

.driver-related-card > span {
  color: #f4f7f8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.driver-related-card strong {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.driver-related-card em {
  color: #aab7bc;
  font-size: 10px;
  font-style: normal;
}

.driver-bottom-navigation {
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.015);
}

.driver-bottom-navigation > a {
  border: 1px solid transparent;
}

.driver-bottom-navigation > .active-driver-chip {
  border-color: rgba(114,232,255,0.24);
}

@media (max-width: 980px) {
  .measurement-flow,
  .driver-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .history-panel-header {
    flex-direction: column;
  }

  .history-ranges {
    width: 100%;
    overflow-x: auto;
  }

  .history-ranges button {
    flex: 1 0 48px;
  }

  .history-chart {
    min-width: 700px;
  }

  .history-chart-wrap {
    overflow-x: auto;
  }

  .measurement-flow,
  .driver-related-grid {
    grid-template-columns: 1fr;
  }

  .driver-history-panel,
  .driver-measurement-panel,
  .driver-related-panel {
    padding: 22px;
  }
}

/* Guided-demo continuous intelligence */
.individual-accordion {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(114, 232, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.individual-accordion-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 17px 18px;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.individual-accordion-toggle:hover,
.individual-accordion-toggle:focus-visible {
  background: rgba(114, 232, 255, 0.035);
  outline: none;
}

.individual-accordion-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.individual-accordion-heading small {
  color: #9aa8ae;
  font-size: 12px;
  line-height: 1.35;
}

.notification-count-summary {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  justify-content: flex-end;
  white-space: nowrap;
  color: #78868c;
}

.notification-count-summary strong,
.notification-count-summary span {
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.notification-count-summary #notificationUnreadCount {
  color: #78868c;
  font-size: 12px;
  letter-spacing: 0;
}

.notification-count-summary #notificationUnreadCount.has-unread {
  color: #ff6f76;
}

.manager-notes-count-summary #managerNotesUnreadCount {
  color: #78868c;
}

.manager-notes-count-summary #managerNotesUnreadCount.has-unread {
  color: #72e8ff;
}

.notification-count-summary.all-read,
.notification-count-summary.all-read strong,
.notification-count-summary.all-read span {
  color: #78868c;
}

.individual-accordion-chevron,
.notification-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid #7f9097;
  border-bottom: 2px solid #7f9097;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.individual-accordion-toggle[aria-expanded="true"] .individual-accordion-chevron,
.notification-incident-toggle[aria-expanded="true"] .notification-chevron,
.manager-note-toggle[aria-expanded="true"] .notification-chevron {
  transform: rotate(225deg);
}

.individual-accordion-panel {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.notification-period {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 14px 2px;
}

.notification-period span {
  color: #78868c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.notification-period p {
  margin: 0;
  color: #89979d;
  font-size: 11px;
}

.notification-incident {
  overflow: hidden;
  border: 1px solid rgba(255, 111, 118, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.notification-incident.is-unread {
  border-color: rgba(255, 111, 118, 0.36);
  background: rgba(255, 111, 118, 0.025);
}

.notification-incident.is-read {
  border-color: rgba(255, 255, 255, 0.08);
}

.notification-incident-toggle {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto 14px;
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 16px;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.notification-incident-toggle:hover,
.notification-incident-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.025);
  outline: none;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59666b;
}

.notification-incident.is-unread .notification-unread-dot {
  background: #ff6f76;
  box-shadow: 0 0 12px rgba(255, 111, 118, 0.45);
}

.notification-incident-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.notification-incident-eyebrow,
.notification-trigger-block > span,
.notification-detail-grid span {
  color: #72e8ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.notification-incident-summary > strong {
  color: #f4f7f8;
  font-size: 13px;
  line-height: 1.35;
}

.notification-incident-state {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  text-align: right;
}

.notification-incident-state > span {
  color: #ffbf5f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.notification-incident-state time {
  color: #78868c;
  font-size: 10px;
}

.notification-incident-detail {
  padding: 18px 18px 20px 41px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

.notification-trigger-block {
  margin-bottom: 14px;
  padding: 13px 14px;
  border-left: 2px solid rgba(255, 111, 118, 0.7);
  background: rgba(255, 111, 118, 0.035);
}

.notification-trigger-block p,
.notification-detail-grid p {
  margin: 5px 0 0;
  color: #b8c2c6;
  font-size: 12px;
  line-height: 1.55;
}

.notification-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.notification-detail-grid > div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
}

.notification-timeline {
  position: relative;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.notification-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 10px;
  left: 5px;
  width: 1px;
  background: rgba(255, 255, 255, 0.11);
  content: "";
}

.notification-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 17px;
}

.notification-timeline-item:last-child {
  padding-bottom: 0;
}

.notification-timeline-marker {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 3px;
  border: 2px solid #121719;
  border-radius: 50%;
  background: #ff6f76;
}

.timeline-complete .notification-timeline-marker {
  background: #6fffb7;
}

.timeline-current .notification-timeline-marker {
  background: #ffbf5f;
}

.notification-timeline-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.notification-timeline-heading strong {
  color: #f4f7f8;
  font-size: 11px;
}

.notification-timeline-heading time,
.notification-timeline-item small {
  color: #78868c;
  font-size: 10px;
}

.notification-timeline-item p {
  margin: 4px 0 3px;
  color: #b8c2c6;
  font-size: 11px;
  line-height: 1.5;
}

.notification-timeline-item small {
  display: block;
  line-height: 1.45;
}

.notification-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.notification-actions .primary-button {
  width: auto;
  min-height: 42px;
  padding: 0 18px;
  font-size: 10px;
}

.notification-actions .text-link {
  color: #72e8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manager-notes-panel {
  padding-top: 14px;
}

.manager-notes-disclosure {
  margin: 0 2px 12px;
  color: #89979d;
  font-size: 11px;
  line-height: 1.45;
}

#managerNotesList {
  display: grid;
  gap: 8px;
}

.manager-note {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.manager-note.is-unread {
  border-color: rgba(114, 232, 255, 0.3);
  background: rgba(114, 232, 255, 0.025);
}

.manager-note-toggle {
  display: grid;
  grid-template-columns: 10px 58px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.manager-note-toggle:hover,
.manager-note-toggle:focus-visible {
  background: rgba(114, 232, 255, 0.025);
  outline: none;
}

.manager-note-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59666b;
}

.manager-note.is-unread .manager-note-unread-dot {
  background: #72e8ff;
  box-shadow: 0 0 12px rgba(114, 232, 255, 0.42);
}

.manager-note-toggle time,
.manager-note-detail time {
  color: #78868c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.manager-note-preview {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #b8c2c6;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.manager-note-detail {
  padding: 15px 18px 17px 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

.manager-note-detail p {
  margin: 6px 0 0;
  color: #b8c2c6;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .individual-accordion-toggle {
    grid-template-columns: minmax(0, 1fr) auto 14px;
    gap: 10px;
    padding: 15px;
  }

  .individual-accordion-heading small {
    display: none;
  }

  .notification-count-summary {
    gap: 3px;
  }

  .notification-count-summary #notificationCountLabel,
  .notification-count-summary #managerNotesCountLabel {
    display: none;
  }

  .individual-accordion-panel {
    padding: 0 12px 12px;
  }

  .notification-period {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .notification-incident-toggle {
    grid-template-columns: 10px minmax(0, 1fr) 12px;
  }

  .notification-incident-state {
    grid-column: 2;
    align-items: flex-start;
    text-align: left;
  }

  .notification-chevron {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .notification-incident-detail {
    padding: 15px;
  }

  .notification-detail-grid {
    grid-template-columns: 1fr;
  }

  .notification-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .notification-actions .primary-button {
    justify-content: center;
  }

  .manager-note-toggle {
    grid-template-columns: 9px 50px minmax(0, 1fr) 12px;
    gap: 9px;
    padding: 13px 12px;
  }

  .manager-note-detail {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .individual-accordion-chevron,
  .notification-chevron {
    transition: none;
  }
}
