/* Desktop visual finish. No mobile declarations, business state or continuous loop. */
@media (min-width: 901px) {
  .gc-shell {
    --gc-panel: #132938;
    --gc-panel-2: #193344;
    --gc-line: #345267;
    --gc-ink: #eff6f5;
    --gc-muted: #afc3cf;
    --gc-copper: #dfbd80;
    --gc-green: #86ddcc;
    background: #091925;
  }

  .gc-content.main-content {
    background:
      radial-gradient(ellipse 880px 520px at 62% 0, #29577530, transparent 80%),
      radial-gradient(ellipse 560px 700px at 0 60%, #245a5920, transparent 85%),
      linear-gradient(160deg, #102331 0, #0b1a27 44%, #0a1722 100%) !important; /* Existing art layer locks this background. */
  }
  .gc-sidebar {
    background: linear-gradient(166deg, #162d3d 0, #102432 25%, #0b1b28 100%) !important;
    border-right-color: #56798e55 !important;
    box-shadow: 12px 0 38px #020a121c, inset -1px 0 #97d2f509 !important;
  }
  .gc-brand { padding-top: 26px; padding-bottom: 26px; }
  .gc-brand img { filter: drop-shadow(0 0 10px #8dd5ef35); }
  .gc-brand small { color: #a9bfcc; letter-spacing: 1.2px; }
  .gc-nav-search { background: #08192580; border-color: #799bbb40; border-radius: 8px; }
  .gc-nav-search:focus-within { border-color: #86d4d4; box-shadow: 0 0 0 3px #86d4d412; }
  .gc-nav-heading { border-radius: 9px; transition: color .18s, background-color .18s; }
  .gc-nav-heading .gc-icon { color: #90b6c9; }
  .gc-nav-heading:hover { background: #36576b4d; }
  .gc-nav-group.is-current > .gc-nav-heading { color: #edf6f4; background: linear-gradient(95deg, #45758b40, #29495e15); }
  .gc-nav-group.is-current > .gc-nav-heading .gc-icon { color: #9de3d6; }
  .gc-nav-children { padding-top: 7px; padding-bottom: 9px; }
  .gc-nav-children button { border-left-color: #486379; transition: background-color .18s, color .18s; }
  .gc-nav-children button.is-active {
    border-left-color: #9de3d6;
    color: #e2fff5;
    background: linear-gradient(90deg, #69bfbb22, #63a6d408);
    border-radius: 0 7px 7px 0;
    box-shadow: inset 1px 0 #9de3d640;
  }
  .gc-sidebar-footer { background: #0b1b28bb; border-top-color: #53718555; }
  .gc-hud {
    background: linear-gradient(100deg, #173142f5, #102330f2);
    border-bottom-color: #86c7d83d;
    box-shadow: 0 8px 28px #000b161f, inset 0 -1px #99d2ec0a;
  }
  .gc-hud-stat { border-left-color: #597c905e; }
  .gc-hud-stat strong { font-variant-numeric: tabular-nums; }
  .gc-hud-advisor { background: #cfab6d12; border-color: #d8b57565; box-shadow: inset 0 1px #ffe8b90d; border-radius: 8px; }
  .gc-hud-advisor:hover { background: #cfab6d25; border-color: #dfbd80; }
  .gc-page-heading { padding-bottom: 16px; border-bottom: 1px solid #8eb5c620; }
  .gc-page-heading h1 { letter-spacing: -.035em; font-weight: 650; }
  .gc-office > .gc-page-heading h1 { font-size: 30px; margin-top: 4px; }
  .gc-office > .gc-page-heading { margin-bottom: 14px; }
  .gc-eyebrow { color: #c8bc9e; letter-spacing: 1.5px; }
  .gc-button { border-radius: 8px; background: #213e50; border-color: #7aadc34d; box-shadow: inset 0 1px #d5f1ff0c; }
  .gc-button:hover { background: #2b4c60; border-color: #9acbddaa; }
  #app .gc-shell .gc-button-primary {
    background: linear-gradient(115deg, #edcf98, #d5b174) !important;
    color: #172b36 !important; border-color: #f3d89e !important;
    box-shadow: inset 0 1px #fff6db75, 0 4px 16px #d9ae6920 !important;
  }
  #app .gc-shell .gc-button-primary:hover { background: linear-gradient(115deg, #f6deb0, #dfbd80) !important; border-color: #fff0c9 !important; }
  .gc-button:active:not(:disabled) { box-shadow: inset 0 2px 7px #07172130; }
  .gc-shell :is(button, a, select):focus-visible { outline-color: #a5eedf !important; outline-offset: 4px; }

  /* The collapsed route guide stays readable without competing with the headquarters. */
  .gc-first-session:has(> header:only-child) {
    padding: 8px 18px; margin-bottom: 12px;
    background: linear-gradient(100deg, #244254, #1a3040);
    border-color: #6696a55c; border-radius: 10px;
    color: #e1eef0; box-shadow: inset 0 1px #ceecf308;
  }
  .gc-first-session:has(> header:only-child) h2 { color: #e1eef0; font-weight: 500; font-size: 14px; }
  .gc-first-session:has(> header:only-child) .gc-button { padding: 7px 12px; font-size: 12px; }
  .gc-office .gc-goal-strip {
    padding: 10px 18px; margin-bottom: 12px;
    border: 1px solid #aa95785c; border-left: 3px solid #dfbd80;
    background: linear-gradient(110deg, #35403c66, #1b3443 55%, #173040);
    border-radius: 4px 12px 12px 4px; box-shadow: 0 8px 26px #000b141c, inset 0 1px #fff1d208;
  }
  .gc-office .gc-goal-strip h2 { margin: 2px 0; line-height: 1.4; }
  .gc-office .gc-goal-strip p { margin: 3px 0; line-height: 1.6; }
  .gc-office .gc-next-step-explanation { margin-top: 4px; }
  .gc-office .v2-appearance { background: linear-gradient(100deg, #1d3c48, #18303f); border-color: #87b8bb4d; border-radius: 10px; }
  .gc-office .v2-appearance:not(:has(.v2-appearance-panel)) { padding: 5px 15px; margin-bottom: 12px; }
  #app .gc-shell .gc-card { border-color: #62899d50 !important; background: linear-gradient(145deg, #1a3343, #122836 72%) !important; box-shadow: 0 12px 30px #000b171c, inset 0 1px #bfebff0a !important; }
  #app .gc-shell .gc-office-scene.gc-card { border-radius: 16px; border-color: #83b0c773 !important; box-shadow: 0 18px 48px #020e1b50, inset 0 1px #c3f0ff1c !important; }
  .gc-office .gc-scene-toolbar { padding: 12px 20px 8px; }
  .gc-office .gc-scene-toolbar h2 { font-size: 17px; }
  .gc-scene-toolbar .gc-eyebrow { color: #90b9c9; font-size: 9px; }
  .gc-view-switch { border-color: #638da15c; border-radius: 7px; background: #0c2130; }
  .gc-view-switch button.is-active { background: #375c70; color: #e6fbff; border-radius: 5px; box-shadow: inset 0 1px #c9f3ff19; }
  .gc-layer-tabs { gap: 9px; }
  .gc-layer-tabs button { padding: 7px 9px; }
  .gc-layer-tabs button.is-active { color: #c4fff0; border-bottom-color: #86ddcc; background: linear-gradient(0deg, #86ddcc12, transparent); }
  .gc-office-stage { isolation: isolate; border-color: #8dbbcd44; border-radius: 0; box-shadow: inset 0 0 0 1px #9dddeb08; }
  .gc-office-stage::after {
    content: ''; position: absolute; z-index: 2; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 65% 26% at 50% 0, #a7e5fc12, transparent), linear-gradient(0deg, #091d2c66, transparent 23%, transparent 80%, #091d2c20);
    box-shadow: inset 0 1px #b3f0f220, inset 0 -1px #8dd9e62b;
  }
  .gc-office-stage .gc-scene { border: 0; border-radius: 0; box-shadow: none; }
  .gc-office-hotspot { border-radius: 6px; border-color: #c9dfcd70; background: #0f2a3aeb; color: #edf3dc; box-shadow: 0 4px 14px #03101e66, inset 0 1px #d4f2f41a; }
  .gc-office-hotspot:hover, .gc-office-hotspot.is-active { background: #254b59; border-color: #a3e9d9; color: #e2fff5; box-shadow: 0 0 0 2px #9ce9dc18, 0 4px 20px #86ddcc22; }
  .gc-camera-controls { z-index: 6; }
  .gc-camera-controls button { border-radius: 6px; border-color: #7ca9ba80; background: #153040f2; }
  .gc-layer-caption { background: linear-gradient(100deg, #183546, #15303e); border-top-color: #78a4b544; }
  .gc-layer-caption b { color: #bce7e0; }
  .gc-zone-nav { background: #10273588; border-top-color: #84b3c52b; }
  .gc-zone-nav button { border-radius: 6px; }
  .gc-zone-nav button.is-active { border-color: #8edccb66; background: #86ddcc12; color: #c4f6e9; }
  #app .gc-shell .gc-office-grid > .gc-inspector { border-radius: 14px; background: radial-gradient(ellipse at 100% 0, #52748a25, transparent 70%), linear-gradient(150deg, #1b3746, #142a39) !important; border-color: #789aad55 !important; padding-top: 20px; }
  .gc-inspector .gc-big-number { color: #edce96; font-size: 35px; letter-spacing: -.025em; }
  .gc-inspector .gc-big-number small { letter-spacing: 0; }
  .gc-mini-metrics { border-color: #7096a644; }
  .gc-entity-list > button:hover { color: #b4f0e2; background: #86ddcc08; }
  .gc-bottom-grid .gc-card { border-radius: 12px; }
  .gc-activity-dot.income { box-shadow: 0 0 0 3px #86ddcc12; }
  .gc-settings { border-radius: 12px; background: #173141fa; border-color: #81bac478; box-shadow: 0 18px 55px #010a1466, inset 0 1px #c3f0ff19; }
  .gc-shell :is(.opc-cockpit, .gc-card, .gc-goal-strip) { scroll-margin-top: 96px; }
}

@media (min-width: 1300px) {
  .gc-office-scene { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; }
  .gc-office-scene > * { grid-column: 1 / -1; }
  .gc-office-scene > .gc-layer-tabs { grid-column: 1; align-items: center; padding: 0 10px 8px 18px; gap: 2px; }
  .gc-office-scene > .gc-lighting-controls { grid-column: 2; grid-row: 2; padding: 0 15px 8px 4px; gap: 10px; }
  .gc-office-scene .gc-lighting-controls label { gap: 6px; }
  .gc-office-scene .gc-lighting-controls small { max-width: 104px; line-height: 1.5; font-size: 10px; }
  .gc-office-scene .gc-lighting-controls select { max-width: 120px; font-size: 11px; }
}

@media (min-width: 1700px) {
  .gc-office .gc-office-stage { height: clamp(380px, 42vh, 525px); }
  .gc-office .gc-office-list { min-height: clamp(380px, 42vh, 525px); }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .gc-brand { gap: 8px; padding-left: 16px; padding-right: 12px; font-size: 16px; letter-spacing: .4px; }
}

@media (min-width: 1101px) and (max-width: 1599px) {
  .gc-office .gc-office-stage { height: 365px; }
  .gc-office .gc-office-list { min-height: 365px; }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .gc-shell .gc-nav-heading, .gc-shell .gc-nav-children button { transition: none; }
}
