    :root {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color-scheme: dark;
    }

    body {
      margin: 0;
      padding: 24px;
      background: #020617;
      color: #e5e7eb;
    }

    .app {
      max-width: 1100px;
      margin: 0 auto 80px auto;
    }

    .badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border: 1px solid #1f2937;
      background: rgba(15, 23, 42, 0.9);
      color: #a5b4fc;
    }

    h1,
    h2,
    h3 {
      margin-top: 0;
    }

    .card {
      background: #020617;
      border-radius: 16px;
      border: 1px solid #1e293b;
      padding: 20px 22px;
      margin-bottom: 16px;
      box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
    }

    .hero-card {
      padding: 28px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 26px;
    }

    .hero-info h1 {
      font-size: 36px;
      margin: 8px 0 4px;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .chip-soft {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.3);
      padding: 4px 10px;
      font-size: 12px;
      color: #cbd5f5;
    }

    .hero-location {
      font-size: 16px;
      color: #cdd5f8;
      margin: 0;
    }

    .hero-meta {
      color: #94a3b8;
      margin-top: 4px;
      margin-bottom: 18px;
      font-size: 13px;
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
      margin-bottom: 14px;
    }

    .hero-metric {
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.1);
      background: rgba(15, 23, 42, 0.85);
    }

    .hero-metric strong {
      font-size: 22px;
      display: block;
      margin-top: 4px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 6px;
    }

    .hero-status-rail {
      border: 1px solid rgba(148, 163, 184, 0.15);
      border-radius: 22px;
      padding: 20px 18px;
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.9));
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .status-card {
      border-radius: 16px;
      border: 1px solid rgba(79, 124, 255, 0.15);
      padding: 14px;
      background: rgba(5, 8, 20, 0.85);
    }

    .status-label {
      margin: 0;
      font-size: 12px;
      text-transform: uppercase;
      color: #9ca3af;
      letter-spacing: 0.08em;
    }

    .status-value {
      font-size: 18px;
      font-weight: 600;
      margin: 4px 0;
      color: #f1f5f9;
    }

    .status-meta {
      margin: 0;
      font-size: 12px;
      color: #94a3b8;
    }

    .status-chip {
      display: inline-flex;
      margin-top: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: #f1f5f9;
    }

    .status-chip.ghost {
      background: transparent;
    }

    .breadcrumb {
      font-size: 12px;
      color: #a5b4fc;
      margin-bottom: 8px;
    }

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

    .breadcrumb a:hover {
      text-decoration: underline;
    }

    .card-header-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .card .grid {
      margin-top: 16px;
    }

    .grid.grid-split {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .structure-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
      margin-top: 8px;
    }

    .structure-card {
      padding: 14px 12px;
      border-radius: 14px;
      border: 1px solid rgba(79, 124, 255, 0.7);
      background: rgba(15, 23, 42, 0.85);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
      min-height: 140px;
      transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .structure-card:hover {
      border-color: #4f7cff;
      box-shadow: 0 0 0 1px rgba(79, 124, 255, 0.45), 0 12px 24px rgba(2, 6, 23, 0.45);
      transform: translateY(-1px);
    }

    .structure-content {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .structure-card .structure-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .structure-detail {
      margin: 0;
      font-size: 13px;
      color: #f8fafc;
      line-height: 1.35;
    }

    .structure-card .structure-detail:first-of-type {
      font-weight: 500;
    }

    .metric-stories-card {
      padding-bottom: 26px;
    }

    .story-scroller {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
    }

    .story-card {
      border-radius: 16px;
      border: 1px solid rgba(148, 163, 184, 0.15);
      padding: 14px;
      background: rgba(2, 6, 23, 0.8);
      min-height: 140px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .story-card header {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: #9ca3af;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .story-value {
      font-size: 24px;
      font-weight: 600;
    }

    .sparkline-up,
    .sparkline-down,
    .sparkline-flat {
      height: 32px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(79, 124, 255, 0.15), rgba(79, 124, 255, 0.6));
      margin-top: auto;
    }

    .sparkline-down {
      background: linear-gradient(90deg, rgba(248, 113, 113, 0.2), rgba(248, 113, 113, 0.6));
    }

    .sparkline-flat {
      background: linear-gradient(90deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.5));
    }

    .structure-navigator-card {
      padding-bottom: 28px;
    }

    .structure-layout {
      display: grid;
      grid-template-columns: minmax(220px, 280px) 1fr;
      gap: clamp(16px, 2vw, 28px);
    }

    .structure-rail {
      border: 1px solid #1e293b;
      border-radius: 18px;
      padding: 18px;
      background: rgba(2, 6, 23, 0.85);
      position: sticky;
      top: 40px;
      align-self: flex-start;
    }

    .rail-title {
      margin: 0;
      font-size: 14px;
      font-weight: 600;
    }

    .rail-meta {
      margin: 2px 0 0;
      font-size: 12px;
    }

    .rollup-chart {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      margin: 12px auto 18px;
      background: radial-gradient(circle at 30% 30%, rgba(79, 124, 255, 0.45), rgba(2, 6, 23, 0.7));
      border: 1px solid rgba(79, 124, 255, 0.35);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      box-shadow: inset 0 0 30px rgba(79, 124, 255, 0.25);
    }

    .rollup-total {
      font-size: 24px;
      font-weight: 600;
    }

    .rollup-sub {
      margin-top: 2px;
      font-size: 12px;
    }

    .rail-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .rail-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148, 163, 184, 0.15);
      font-size: 13px;
    }

    .rail-item.active {
      border-color: rgba(79, 124, 255, 0.45);
      background: rgba(79, 124, 255, 0.1);
    }

    .rail-actions {
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .structure-dossiers {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 16px;
    }

    @media (max-width: 1100px) {
      .structure-dossiers {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      }

      .dossier-content {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .dossier-nav {
        order: 1;
      }

      .dossier-metrics {
        order: 2;
      }
    }

    .subasset-dossier {
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      background: rgba(4, 10, 26, 0.9);
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.6);
    }

    .subasset-dossier[data-tone="accommodations"] {
      border-color: rgba(99, 102, 241, 0.45);
    }

    .subasset-dossier[data-tone="spa"] {
      border-color: rgba(110, 231, 183, 0.35);
    }

    .subasset-dossier[data-tone="fnb"] {
      border-color: rgba(251, 191, 36, 0.4);
    }

    .subasset-dossier[data-tone="events"] {
      border-color: rgba(248, 113, 113, 0.4);
    }

    .dossier-header {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .dossier-header h3 {
      margin: 2px 0 0;
      font-size: 18px;
    }

    .dossier-path {
      margin: 0;
      font-size: 12px;
      color: #9ca3af;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .trend-badge {
      border-radius: 12px;
      padding: 6px 10px;
      font-size: 12px;
      border: 1px solid rgba(148, 163, 184, 0.3);
      text-align: center;
      min-width: 70px;
    }

    .trend-badge small {
      display: block;
      font-size: 10px;
      color: #9ca3af;
    }

    .trend-up {
      border-color: rgba(34, 197, 94, 0.4);
      color: #86efac;
    }

    .trend-neutral {
      border-color: rgba(148, 163, 184, 0.4);
      color: #e5e7eb;
    }

    .trend-risk {
      border-color: rgba(248, 113, 113, 0.5);
      color: #fecaca;
    }

    .dossier-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .dossier-nav {
      border: 1px solid rgba(148, 163, 184, 0.15);
      border-radius: 14px;
      padding: 12px;
      background: rgba(2, 6, 23, 0.7);
      display: flex;
      flex-direction: column;
      gap: 10px;
      min-width: 0;
    }

    .nav-label {
      font-size: 12px;
      color: #9ca3af;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .nav-stack {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .nav-floor {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      border-radius: 12px;
      border: 1px solid rgba(79, 124, 255, 0.25);
      background: rgba(15, 23, 42, 0.8);
      padding: 8px 10px;
      font-size: 13px;
      color: #e5e7eb;
      text-decoration: none;
      cursor: pointer;
      text-align: left;
      font-family: inherit;
    }

    .nav-floor-inline {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .nav-floor.active {
      border-color: rgba(79, 124, 255, 0.6);
      box-shadow: 0 0 0 1px rgba(79, 124, 255, 0.3);
    }

    .nav-floor .floor-label {
      font-weight: 600;
      font-size: 13px;
    }

    .nav-floor .floor-meta,
    .nav-floor .floor-kpi {
      font-size: 12px;
      color: #9ca3af;
    }

    .floor-inline-label {
      font-weight: 600;
      font-size: 13px;
      color: #ffffff;
    }

    .floor-inline-detail {
      font-size: 12px;
      color: #9ca3af;
      white-space: nowrap;
    }

    .nav-stack.compact .nav-floor {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .nav-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .nav-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 999px;
      border: 1px solid rgba(79, 124, 255, 0.4);
      font-size: 12px;
      color: #cbd5f5;
      text-decoration: none;
      background: rgba(79, 124, 255, 0.15);
      min-height: 26px;
    }

    .nav-pill.ghost {
      background: transparent;
      border-color: rgba(148, 163, 184, 0.4);
      color: #e5e7eb;
    }

    .dossier-metrics {
      border: 1px solid rgba(148, 163, 184, 0.15);
      border-radius: 14px;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: rgba(2, 6, 23, 0.75);
      min-width: 0;
    }

    .dossier-headline {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }

    .headline-value {
      font-size: 28px;
      font-weight: 600;
    }

    .headline-period {
      font-size: 13px;
    }

    .metric-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
    }

    .dossier-metrics .metric-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (max-width: 640px) {
      .dossier-metrics .metric-grid {
        grid-template-columns: 1fr;
      }
    }

    .metric-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .metric-item .metric-value {
      font-size: 14px;
      font-weight: 500;
      color: #f8fafc;
    }

    .subtle {
      color: #9ca3af;
      font-size: 13px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
    }

    .grid.grid-three {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .key-metrics-card .card-header-row h2 {
      margin-bottom: 6px;
    }

    .ai-strip {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 16px 0 4px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .pill-soft {
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 12px;
      background: rgba(79, 124, 255, 0.2);
      color: #e5e7eb;
    }

    .operational-grid {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px;
    }

    .operational-health-card .card-header-row h2 {
      margin-bottom: 0;
    }

    .operational-health-card .metric {
      padding: 10px 12px;
      min-height: 90px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .operational-health-card .chip-row {
      margin-top: 6px;
    }

    .metric {
      background: #020617;
      border-radius: 12px;
      border: 1px solid #1f2937;
      padding: 12px;
    }

    .health-panel {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 14px;
    }

    .health-status-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
    }

    .health-status-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .health-status-item .metric-value {
      font-size: 18px;
      font-weight: 600;
    }

    .metric-label--small {
      font-size: 11px;
      margin-top: 4px;
    }

    .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .metric-label {
      font-size: 12px;
      color: #9ca3af;
      margin-bottom: 4px;
    }

    .metric-value {
      font-size: 20px;
      font-weight: 600;
    }

    .metric-sub {
      font-size: 11px;
      color: #9ca3af;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid #1f2937;
      font-size: 12px;
      margin: 2px 4px 2px 0;
      background: rgba(15, 23, 42, 0.9);
    }

    .pill.bad {
      border-color: #b91c1c;
      color: #fecaca;
    }

    .pill.good {
      border-color: #15803d;
      color: #bbf7d0;
    }

    .pill.neutral {
      border-color: #1d4ed8;
      color: #bfdbfe;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 12px;
      color: #e2e8f0;
      background: rgba(148, 163, 184, 0.12);
      margin: 2px 4px 2px 0;
    }

    .chip-risk {
      border-color: rgba(239, 68, 68, 0.45);
      color: #fca5a5;
      background: rgba(239, 68, 68, 0.15);
    }

    .chip-good {
      border-color: rgba(34, 197, 94, 0.45);
      color: #86efac;
      background: rgba(34, 197, 94, 0.15);
    }

    ul {
      padding-left: 18px;
      margin-top: 6px;
      margin-bottom: 6px;
    }

    li {
      margin-bottom: 3px;
    }

    .kpi-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    .kpi-controls {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .header-updated {
      margin-left: auto;
    }

    .kpi-row>div {
      min-width: 120px;
    }

    .time-select {
      border-radius: 999px;
      background: #051022;
      color: #e5e7eb;
      padding: 6px 10px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      min-width: 120px;
    }

    .chart-wrapper {
      margin-top: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .chart-row {
      width: 100%;
      display: flex;
      gap: 6px;
      align-items: flex-end;
      padding-top: 12px;
    }

    .chart-point {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      min-width: 40px;
    }

    .chart-bar {
      width: 100%;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(79, 124, 255, 0.9), rgba(79, 124, 255, 0.3));
      height: 48px;
      position: relative;
    }

    .chart-point .chart-label {
      font-size: 11px;
      color: #9ca3af;
    }

    .muted {
      color: #6b7280;
      font-size: 12px;
    }

    .forecast-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .forecast-chip {
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid #1f2937;
      font-size: 12px;
      background: rgba(15, 23, 42, 0.85);
    }

    a {
      color: #a5b4fc;
    }

    .floor-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
      margin-top: 12px;
    }

    /* Base card look for floor card AND room cards */
    .floor-card,
    .room-card {
      display: block;
      padding: 18px 22px;
      border-radius: 18px;
      background: radial-gradient(circle at top left, #111b3c, #050814);
      border: 1px solid rgba(115, 130, 255, 0.35);
      transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
      color: #e5e7eb;
      text-decoration: none;
    }

    /* Hover state for both */
    .floor-card:hover,
    .room-card:hover {
      border-color: #4f7cff;
      box-shadow: 0 0 0 1px rgba(79, 124, 255, 0.5);
      transform: translateY(-1px);
      text-decoration: none;
    }

    .floor-card:visited,
    .floor-card:active,
    .floor-card:focus,
    .room-card:visited,
    .room-card:active,
    .room-card:focus {
      color: #e5e7eb;
      text-decoration: none;
    }

    .floor-card h3,
    .floor-card .metric,
    .floor-card .metric-sub,
    .floor-card .metric-value {
      color: #e5e7eb;
    }


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

    .floor-title {
      font-weight: 600;
      font-size: 15px;
    }

    .ai-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border: 1px solid #1f2937;
      background: rgba(15, 23, 42, 0.9);
      color: #fbbf24;
      white-space: nowrap;
    }

    .ai-badge.stable {
      border-color: rgba(34, 197, 94, 0.4);
      color: #c4f1d0;
      background: rgba(34, 197, 94, 0.15);
    }

    .ai-badge.watch {
      border-color: rgba(245, 158, 11, 0.5);
      color: #fcd34d;
      background: rgba(245, 158, 11, 0.18);
    }

    .ai-badge.idle {
      border-color: rgba(56, 189, 248, 0.45);
      color: #bae6fd;
      background: rgba(56, 189, 248, 0.16);
    }

    .revenue-infographic .revenue-layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 20px;
      margin-top: 20px;
    }

    .revenue-radial {
      border: 1px solid rgba(79, 124, 255, 0.2);
      border-radius: 20px;
      padding: 20px;
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.85));
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .radial-ring {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      border: 2px solid rgba(79, 124, 255, 0.4);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 30px rgba(79, 124, 255, 0.25);
    }

    .radial-total {
      font-size: clamp(20px, 2.4vw, 28px);
      font-weight: 600;
      line-height: 1.2;
      text-align: center;
      max-width: 88%;
      overflow-wrap: anywhere;
      hyphens: auto;
      white-space: normal;
    }

    .radial-meta {
      width: 100%;
      text-align: center;
    }

    .radial-bars {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin: 8px 0;
    }

    .mix-bar {
      display: inline-block;
      width: 32px;
      height: 6px;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.4);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mix-bar.rooms {
      background: rgba(79, 124, 255, 0.8);
    }

    .mix-bar.ancillary {
      background: rgba(110, 231, 183, 0.8);
    }

    .mix-bar.ops {
      background: rgba(248, 113, 113, 0.7);
    }

    .mix-bar.active {
      transform: scaleY(1.7);
      box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    }

    .revenue-stream {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
    }

    .stream-card {
      border: 1px solid rgba(148, 163, 184, 0.15);
      border-radius: 16px;
      padding: 16px;
      background: rgba(2, 6, 23, 0.85);
    }

    .stream-card header {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: #94a3b8;
    }

    .stream-card .metric-value {
      font-size: 22px;
      margin: 6px 0;
    }

    .operational-band-card {
      padding-bottom: 24px;
    }

    .ops-pulse-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
      margin-bottom: 18px;
    }

    .ops-pulse-item {
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 14px;
      padding: 12px 34px 12px 12px;
      display: flex;
      flex-direction: column;
      background: rgba(2, 6, 23, 0.8);
      position: relative;
    }

    .pulse-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      position: absolute;
      right: 12px;
      top: 12px;
    }

    .pulse-dot.good {
      background: #34d399;
      box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    }

    .pulse-dot.watch {
      background: #fbbf24;
      box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    }

    .pulse-dot.risk {
      background: #f87171;
      box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
    }

    .pulse-label {
      font-size: 12px;
      text-transform: uppercase;
      color: #94a3b8;
      letter-spacing: 0.08em;
      margin: 0;
    }

    .pulse-value {
      margin: 2px 0 0;
      font-size: 18px;
      font-weight: 600;
    }

    .pulse-sub {
      margin: 0;
      font-size: 12px;
      color: #94a3b8;
    }

    .ops-table-wrap {
      overflow-x: auto;
    }

    .ops-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
      font-size: 13px;
    }

    .ops-table th,
    .ops-table td {
      padding: 10px 12px;
      border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .ops-table th {
      text-transform: uppercase;
      font-size: 11px;
      letter-spacing: 0.08em;
      color: #94a3b8;
      text-align: left;
    }

    .ops-table td {
      color: #e2e8f0;
    }

    .inline-pill {
      margin-left: 10px;
    }

    .ops-tag {
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 11px;
      border: 1px solid rgba(148, 163, 184, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .ops-tag.good {
      border-color: rgba(34, 197, 94, 0.45);
      color: #86efac;
    }

    .ops-tag.neutral {
      border-color: rgba(148, 163, 184, 0.45);
      color: #f1f5f9;
    }

    .ops-tag.ghost {
      border-color: rgba(79, 124, 255, 0.45);
      color: #cbd5f5;
    }

    .ai-playbook-card {
      padding: 28px;
    }

    .ai-playbook-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
      gap: 20px;
    }

    .ai-summary-panel,
    .ai-forecast-panel {
      border: 1px solid rgba(148, 163, 184, 0.15);
      border-radius: 18px;
      padding: 18px;
      background: rgba(2, 6, 23, 0.85);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .ai-summary-text {
      margin: 0;
      font-size: 14px;
      color: #f8fafc;
    }

    .ai-pill {
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(79, 124, 255, 0.6);
      color: #cbd5f5;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .ai-meta-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px;
      align-items: flex-start;
    }

    .ai-demand {
      font-size: 28px;
      font-weight: 600;
    }

    .ai-signal-list {
      margin: 0;
      padding-left: 16px;
      color: #94a3b8;
      font-size: 13px;
    }

    .ai-actions-panel ul {
      margin-top: 4px;
      margin-bottom: 8px;
    }

    .ai-action-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .ai-forecast-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
      gap: 8px;
    }

    .ai-forecast-grid .forecast-chip {
      display: flex;
      flex-direction: column;
      align-items: center;
      border: 1px solid rgba(79, 124, 255, 0.25);
      text-align: center;
      padding: 8px;
      background: rgba(5, 8, 20, 0.9);
      border-radius: 14px;
    }

    .ai-forecast-grid .forecast-chip.good {
      border-color: rgba(34, 197, 94, 0.5);
    }

    .ai-forecast-grid .forecast-chip.watch {
      border-color: rgba(251, 191, 36, 0.5);
    }

    .ai-forecast-grid .forecast-chip.risk {
      border-color: rgba(248, 113, 113, 0.5);
    }

    .forecast-day {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #94a3b8;
    }

    .forecast-date {
      font-size: 12px;
      color: #cbd5f5;
    }

    .forecast-value {
      font-size: 18px;
      font-weight: 600;
      margin-top: 4px;
      color: #f8fafc;
    }

    .ai-forecast-legend {
      display: flex;
      gap: 12px;
      font-size: 12px;
      color: #94a3b8;
    }

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

    .legend-dot.good {
      background: #34d399;
    }

    .legend-dot.watch {
      background: #fbbf24;
    }

    .legend-dot.risk {
      background: #f87171;
    }

    .ai-playbook-cta {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #94a3b8;
    }

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

      .structure-rail {
        position: static;
        max-width: 100%;
      }

      .dossier-content {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .dossier-nav {
        order: 1;
      }

      .dossier-metrics {
        order: 2;
      }

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

      .revenue-infographic .revenue-layout {
        grid-template-columns: 1fr;
      }

      .ai-playbook-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      body {
        padding: 16px;
      }

      .story-scroller,
      .ops-timeline,
      .ops-control-grid,
      .ai-forecast-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ROOM CARD - match Floor 1 card styling */
    .room-card {
      background: radial-gradient(circle at 10% 20%, rgba(23, 26, 54, 0.75), rgba(10, 12, 28, 0.92));
      border: 1px solid rgba(82, 109, 255, 0.15);
      border-radius: 14px;
      padding: 18px 22px;
      margin: 0;
      transition: all 0.25s ease;
    }

    /* Hover glow like Floor card */
    .room-card:hover {
      border-color: rgba(82, 109, 255, 0.35);
      box-shadow: 0 0 12px rgba(82, 109, 255, 0.25);
      cursor: pointer;
    }

    /* Title white */
    .room-card h3 {
      color: #ffffff;
      font-size: 1.15rem;
      margin-bottom: 8px;
    }

    /* Main telemetry numbers white */
    .room-card .metric-value {
      color: #ffffff;
    }

    /* Supporting text muted grey */
    .room-card .metric-sub,
    .room-card p,
    .room-card div {
      color: rgba(220, 225, 255, 0.65);
    }

    /* Remove link underline unless explicitly needed */
    .room-link {
      text-decoration: none;
    }

    .room-link,
    .room-link:visited,
    .room-link:hover,
    .room-link:focus {
      color: #e5e7eb;
      text-decoration: none;
    }

    .room-link h3,
    .room-link .metric-sub,
    .room-link .metric-value {
      color: #e5e7eb;
      text-decoration: none;
    }

    .room-card .room-description {
      margin: 6px 0 12px;
      font-size: 13px;
      color: rgba(226, 232, 240, 0.7);
    }

    .room-card .kpi-row {
      margin-bottom: 4px;
    }

    .room-card .kpi-row>div {
      min-width: 110px;
    }

    .room-card .chip-row {
      margin-top: 10px;
    }

    .room-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
      margin-top: 12px;
    }

    .room-grid.list-view {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .room-grid.list-view .room-card {
      padding: 12px 16px;
      border-radius: 12px;
      border-color: rgba(82, 109, 255, 0.35);
    }

    .room-grid.list-view .room-card .kpi-row {
      flex-wrap: wrap;
      gap: 10px;
    }

    .room-grid.list-view .room-card .chip-row {
      gap: 6px;
    }

    .room-view-toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 12px 0;
      flex-wrap: wrap;
    }

    .room-view-toggle span {
      font-size: 12px;
      color: #9ca3af;
    }

    .room-view-btn {
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: transparent;
      color: #e5e7eb;
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 12px;
      cursor: pointer;
      transition: border-color 120ms ease, background 120ms ease;
    }

    .room-view-btn.active {
      background: rgba(79, 124, 255, 0.2);
      border-color: rgba(79, 124, 255, 0.6);
    }

    .room-label {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .room-type {
      font-size: 0.9rem;
      color: rgba(226, 232, 240, 0.7);
      margin: 0;
    }

    .room-meta {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }

    .meta-block {
      min-width: 120px;
    }

    .room-meta .metric-sub {
      font-size: 11px;
    }

    .room-summary {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      font-size: 13px;
      margin-bottom: 8px;
    }

    .room-summary .metric-value {
      font-weight: 500;
    }

    /* --- STEALTH SECURITY GATE --- */
    #security-gate {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: #000000;
      z-index: 99999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-family: 'Courier New', Courier, monospace;
      color: #333;
      user-select: none;
      transition: opacity 1.5s ease-in-out;
    }

    #security-gate.unlocked {
      opacity: 0;
      pointer-events: none;
    }

    .gate-logo {
      font-size: 24px;
      font-weight: 800;
      letter-spacing: 0.3em;
      margin-bottom: 32px;
      opacity: 1;

      /* Liquid Chromatic Effect */
      background: linear-gradient(90deg,
          #4f46e5 0%,
          #06b6d4 25%,
          #ffffff 50%,
          #06b6d4 75%,
          #4f46e5 100%);
      background-size: 200% auto;
      color: transparent;
      -webkit-background-clip: text;
      background-clip: text;
      animation: chromatic-flow 8s linear infinite;
      text-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    }

    @keyframes chromatic-flow {
      0% {
        background-position: 0% center;
      }

      100% {
        background-position: 200% center;
      }
    }

    .gate-status {
      font-size: 10px;
      letter-spacing: 0.1em;
      padding: 4px 8px;
      border: 1px solid #111;
      /* Very subtle border */
      border-radius: 4px;
      cursor: default;
      transition: all 0.3s ease;
      opacity: 0.3;
      /* Match logo opacity */
    }

    /* Removed active state for stealth */
    .gate-status:hover {
      opacity: 0.5;
      /* Slight hint on hover only */
    }

    /* Hide scrollbar when locked */
    body.locked {
      overflow: hidden;
    }