/* SKYROOK's look in one place, for you and every page: the navy and gold colours, the glass panels, sizes, type and
   motion of the command center. The Agent system loads it as gateway/tokens.css, every gateway page and the website as
   /gateway/static/tokens.css, and the 3D view uses the same names with its own fallbacks. High contrast (your setting
   in Training, or your computer's) makes every panel solid, with no blur and no glow. Nothing here is loaded from
   outside: the technical typeface is your device's own monospace font. */
:root{color-scheme:dark;
  /* the palette: champagne accent with navy ink, gold for lines, a faint gold for frames, amber warnings kept apart */
  --bg:#0B1118;--panel:#121A24;--panel2:#0D141C;--line:#1E2B3A;--line2:#2A3A4F;--text:#E6EDF5;--muted:#9AABBE;
  --accent:#EEE3BD;--accentHi:#F7F0D6;--accentInk:#0B1F3A;--gold:#C9A24A;--goldLine:#6B5A33;--navy:#10294C;--ivory:#F4EBD8;
  --warn:#F2B544;--warnInk:#1A1406;--ok:#3DD68C;--okInk:#062014;--bad:#FF6B6B;--deep:#05080E;--scene:#0F1720;--idle:#5B6B7E;
  /* text beside the main colour: labels, softer body text, and the words on tinted chips and strips */
  --label:#C9D6E3;--soft:#D5DFEA;--goldText:#E2CFA4;--warmLink:#F2D9A0;--warnText:#F2C66B;--okText:#6EE7A8;--badText:#FFB4B4;
  /* tints behind chips, notes and strips, and their frames */
  --infoBg:#12213A;--infoLine:#2C3F5F;--warnBg:#2A2213;--warnBg2:#17140D;--warnLine:#4A3B1C;--okBg:#10301F;--okLine:#1E5A3A;
  --badBg:#2A1717;--badLine:#5A2626;--selNavy:#13243A;--bubble:#0E151E;--axis:#3A4D66;
  /* the board's and the Growth wing's colour on the org chart, and the dark writing on a department's own colour */
  --board:#C9D3DE;--wing:#E8C547;--onColor:#0B1118;
  /* the plans' own colours, used by every plan card and plan chip (plancard.css): Spark blue, Engine gold, Empire black
     with gold lines. Each has its dark-surface variant (Bg behind, Line for frames, Text for words on Bg, at least 7:1)
     and its light-surface variant (LightBg, LightText, at least 7:1), and Ink for words on the plan colour itself. */
  --spark:#5B9BFF;--sparkInk:#061530;--sparkBg:#0E1F3D;--sparkLine:#4F8FF7;--sparkText:#B9D5FF;--sparkLightBg:#E8F0FF;--sparkLightText:#0B3A8C;
  --engine:#C9A24A;--engineInk:#1A1406;--engineBg:#261D0B;--engineLine:#C9A24A;--engineText:#F4DC9E;--engineLightBg:#FBF3DF;--engineLightText:#5A4210;
  --empire:#050608;--empireInk:#E2CFA4;--empireBg:#050608;--empireLine:#C9A24A;--empireText:#E9D9B0;--empireLightBg:#15171C;--empireLightText:#F2E3BC;
  /* chart colours (checked for colour blindness on this dark surface) and status colours */
  --s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d55181;--s6:#008300;--s7:#9085e9;--s8:#e66767;
  --good:#0ca30c;--warning:#fab219;--serious:#ec835a;--critical:#d03b3b;--neutral:#898781;
  /* glass: at least 92% solid wherever text sits on it, so words stay readable over a light picture behind */
  --glass:rgba(18,26,36,.94);--glass2:rgba(13,20,28,.95);--glassTop:rgba(11,17,24,.94);--blur:blur(12px) saturate(140%);
  --sheen:linear-gradient(180deg,rgba(238,227,189,.045),rgba(238,227,189,0) 46%);
  --edge:linear-gradient(90deg,rgba(201,162,74,0),rgba(201,162,74,.7),rgba(201,162,74,0));
  --glow:0 0 0 1px rgba(201,162,74,.05),0 0 24px rgba(201,162,74,.07);--glowHi:0 0 0 1px rgba(201,162,74,.35),0 0 16px rgba(201,162,74,.22);
  --gridLine:rgba(201,162,74,.045);
  --page:radial-gradient(1100px 520px at 50% -140px,rgba(16,41,76,.6),rgba(16,41,76,0) 72%) no-repeat,var(--bg);
  /* one focus ring everywhere: bright yellow on dark surfaces, navy ink inside champagne and light surfaces */
  --focus:#FFD54F;--focusInk:#0B1F3A;--focusW:3px;
  /* corners, spacing and depth */
  --r1:6px;--r2:8px;--r3:10px;--r4:14px;--r5:18px;--r6:24px;--rPill:999px;
  --sp1:4px;--sp2:8px;--sp3:12px;--sp4:16px;--sp5:24px;--sp6:32px;--sp7:48px;--sp8:64px;--sp9:96px;
  --e1:inset 0 1px 0 rgba(255,255,255,.03),0 6px 18px rgba(0,0,0,.28);--e2:0 14px 40px rgba(0,0,0,.5);
  /* type: your device's own fonts; numbers in its monospace font with figures of equal width */
  --font:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --mono:ui-monospace,'Cascadia Mono','Cascadia Code','SF Mono',Menlo,Consolas,'DejaVu Sans Mono','Liberation Mono',monospace;
  --fs1:11px;--fs2:12.5px;--fs3:13.5px;--fs4:15px;--fs5:17px;--fs6:22px;--fs7:28px;--fs8:40px;--fsHero:clamp(40px,6.2vw,80px);
  /* the clean look (owner, 2026-11-22): display type is tighter and heavier, body text on the website is 16px */
  --display:650;--track:-.02em;--body:16px;--wrap:1120px;
  /* the website's one main button: the brand's gold with navy ink (8:1), the same in dark and light mode */
  --cta:#D8B766;--ctaHi:#E5C67A;--ctaInk:#0B1F3A;--ctaLine:#A8853A;
  /* motion: soft and short, and none at all when your computer asks for reduced motion */
  --t1:150ms;--t2:200ms;--t3:250ms;--ease:cubic-bezier(.2,.7,.2,1);
  /* the satisfying moments' curves (motion.js, idea 5): a strong ease-out for what arrives or leaves, a strong ease-in-out
     for what moves on screen */
  --easeOut:cubic-bezier(.23,1,.32,1);--easeInOut:cubic-bezier(.77,0,.175,1);
  /* a soft tint behind whatever the pointer is over */
  --hover:rgba(255,255,255,.05);
  /* big figures: the counters in the office top bar, the tiles on the dashboards */
  --figure:#F4EBD8}
/* Light mode (owner, 2026-11-15: "dark and light mode", everywhere): the same navy and gold on warm ivory and white
   panels. theme.js sets data-theme from your choice (the sun and moon button), else from your computer's setting; the
   media query does the same when scripts are off. Body text is at least 7:1, small labels at least 4.5:1, on every
   panel. The 3D city keeps the real sky; high contrast (Training) stays dark. The chart colours --s1 to --s8 pass the
   colour-blindness checks on white too, so they stay. */
:root[data-theme="light"]:not(.high-contrast){color-scheme:light;
  --bg:#F3F0E8;--panel:#FFFFFF;--panel2:#F8F6F0;--line:#DDD6C7;--line2:#A99F8A;--text:#0E1A2B;--muted:#4A5768;
  --accent:#123A6B;--accentHi:#1A4A85;--accentInk:#FFFFFF;--gold:#7A5C16;--goldLine:#C9B68A;--navy:#10294C;--ivory:#F4EBD8;
  --warn:#F2B544;--warnInk:#1A1406;--ok:#1B7A47;--okInk:#FFFFFF;--bad:#B42323;--deep:#E6E1D5;--scene:#E4E9EF;--idle:#6B7A8C;
  --label:#23344A;--soft:#1C2938;--goldText:#6B5012;--warmLink:#7A4E0A;--warnText:#7A4A00;--okText:#13603A;--badText:#A11D1D;
  --infoBg:#E5ECF6;--infoLine:#A9BCD6;--warnBg:#FBEFD6;--warnBg2:#FDF6E6;--warnLine:#D2AE62;--okBg:#E1F2E8;--okLine:#8CC7A5;
  --badBg:#FBE3E3;--badLine:#E0A0A0;--selNavy:#E5ECF6;--bubble:#FFFFFF;--axis:#9AA8B8;
  --board:#3A4A5C;--wing:#7F6106;--onColor:#0B1118;
  --sparkBg:#E8F0FF;--sparkLine:#4F8FF7;--sparkText:#0B3A8C;--engineBg:#FBF3DF;--engineLine:#C9A24A;--engineText:#5A4210;
  --glass:rgba(255,255,255,.95);--glass2:rgba(248,246,240,.96);--glassTop:rgba(255,255,255,.95);
  --sheen:linear-gradient(180deg,rgba(201,162,74,.05),rgba(201,162,74,0) 46%);
  --glow:0 0 0 1px rgba(122,92,22,.06),0 2px 14px rgba(16,41,76,.06);--glowHi:0 0 0 1px rgba(122,92,22,.45),0 0 12px rgba(201,162,74,.25);
  --gridLine:rgba(16,41,76,.045);
  --page:radial-gradient(1100px 520px at 50% -140px,rgba(201,162,74,.16),rgba(201,162,74,0) 72%) no-repeat,var(--bg);
  --focus:#0B1F3A;--focusInk:#FFD54F;
  --e1:0 1px 2px rgba(16,41,76,.06),0 6px 18px rgba(16,41,76,.07);--e2:0 14px 40px rgba(16,41,76,.18);
  --hover:rgba(16,41,76,.06);--figure:#0E1A2B}
/* Without scripts, your computer's setting decides. */
@media (prefers-color-scheme:light){:root:not([data-theme]):not(.high-contrast){color-scheme:light;
  --bg:#F3F0E8;--panel:#FFFFFF;--panel2:#F8F6F0;--line:#DDD6C7;--line2:#A99F8A;--text:#0E1A2B;--muted:#4A5768;
  --accent:#123A6B;--accentHi:#1A4A85;--accentInk:#FFFFFF;--gold:#7A5C16;--goldLine:#C9B68A;
  --ok:#1B7A47;--okInk:#FFFFFF;--bad:#B42323;--deep:#E6E1D5;--scene:#E4E9EF;
  --label:#23344A;--soft:#1C2938;--goldText:#6B5012;--warmLink:#7A4E0A;--warnText:#7A4A00;--okText:#13603A;--badText:#A11D1D;
  --infoBg:#E5ECF6;--infoLine:#A9BCD6;--warnBg:#FBEFD6;--warnBg2:#FDF6E6;--warnLine:#D2AE62;--okBg:#E1F2E8;--okLine:#8CC7A5;
  --badBg:#FBE3E3;--badLine:#E0A0A0;--selNavy:#E5ECF6;--bubble:#FFFFFF;--board:#3A4A5C;--wing:#7F6106;
  --sparkBg:#E8F0FF;--sparkText:#0B3A8C;--engineBg:#FBF3DF;--engineText:#5A4210;
  --glass:rgba(255,255,255,.95);--glass2:rgba(248,246,240,.96);--glassTop:rgba(255,255,255,.95);--gridLine:rgba(16,41,76,.045);
  --page:radial-gradient(1100px 520px at 50% -140px,rgba(201,162,74,.16),rgba(201,162,74,0) 72%) no-repeat,var(--bg);
  --focus:#0B1F3A;--focusInk:#FFD54F;--e1:0 1px 2px rgba(16,41,76,.06),0 6px 18px rgba(16,41,76,.07);--hover:rgba(16,41,76,.06);--figure:#0E1A2B}}
/* Light mode when your computer asks for more contrast: black writing and darker frames. */
@media (prefers-contrast:more){:root[data-theme="light"]:not(.high-contrast){--text:#000000;--muted:#2A3442;--label:#000000;--soft:#000000;--line:#8E8572;--line2:#4A4436;--goldLine:#7A5C16;--glass:#FFFFFF;--glass2:#FFFFFF;--glassTop:#FFFFFF;--blur:none;--sheen:none;--glow:none;--gridLine:transparent;--page:#FFFFFF}}
/* The sun and moon button (theme.js): the same size as the other small buttons. */
.skyTheme{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 auto;padding:0;border:1px solid var(--line2);border-radius:var(--r2);background:var(--panel2);color:var(--text);cursor:pointer}
@media (hover:hover) and (pointer:fine){.skyTheme:hover{border-color:var(--gold);background:var(--hover)}}
.skyTheme{transition:border-color var(--t1) var(--ease),background-color var(--t1) var(--ease),transform 160ms var(--easeOut);touch-action:manipulation}
.skyTheme:active{transform:scale(.97)}
.skyTheme:focus-visible{outline:var(--focusW) solid var(--focus);outline-offset:2px}
.skyTheme svg{width:20px;height:20px}
.skyTheme.corner{position:fixed;top:12px;right:12px;z-index:9997;box-shadow:var(--e1)}
/* High contrast (Training > The office): white writing, brighter frames, solid panels, no blur, no glow, no grid. */
html.high-contrast{--sparkText:#FFFFFF;--engineText:#FFFFFF;--empireText:#FFFFFF;--text:#FFFFFF;--muted:#D5E0EC;--line:#5A7090;--line2:#8AA0BA;--panel:#0C121A;--panel2:#070B10;--label:#FFFFFF;--soft:#FFFFFF;--scene:#070B10;--bubble:#000000;
  --goldLine:#C9A24A;--glass:#0C121A;--glass2:#070B10;--glassTop:#070B10;--blur:none;--sheen:none;--edge:none;--glow:none;--glowHi:0 0 0 2px #FFFFFF;--gridLine:transparent;--page:#000000}
/* The same when your computer asks for more contrast, so the gateway pages and the website get it too. */
@media (prefers-contrast:more){:root{--sparkText:#FFFFFF;--engineText:#FFFFFF;--empireText:#FFFFFF;--text:#FFFFFF;--muted:#D5E0EC;--line:#5A7090;--line2:#8AA0BA;--panel:#0C121A;--panel2:#070B10;--label:#FFFFFF;--soft:#FFFFFF;--scene:#070B10;--bubble:#000000;
  --goldLine:#C9A24A;--glass:#0C121A;--glass2:#070B10;--glassTop:#070B10;--blur:none;--sheen:none;--edge:none;--glow:none;--glowHi:0 0 0 2px #FFFFFF;--gridLine:transparent;--page:#000000}}
/* Windows' own contrast themes pick the colours themselves: no glass, glow or grid gets in their way. */
@media (forced-colors:active){:root{--blur:none;--sheen:none;--edge:none;--glow:none;--glowHi:none;--gridLine:transparent;--page:Canvas}}
/* A browser without the blur shows the panels solid. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--glass:#121A24;--glass2:#0D141C;--glassTop:#0B1118}}
/* Reduced motion: no transitions, no highlights, no animation and no smooth scrolling, on every page. */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Satisfying moments (gateway/motion.js, the owner's idea 5, 2026-11-22), shared by every page: a step that is newly
   done draws its check in once (mo-fresh, 280 ms, after the circle fills), and the Inbox badge swaps its number. A check
   already done on the first paint is simply there. Reduced motion: the rule above makes all of it instant. */
.mo-check{display:block;flex:0 0 auto}
.mo-check path{stroke-dasharray:1;stroke-dashoffset:0}
.mo-fresh .mo-check path{animation:mo-draw 280ms var(--easeOut) 60ms both}
@keyframes mo-draw{from{stroke-dashoffset:1}}
@keyframes mo-fill{from{background-color:transparent;border-color:currentColor}}
.mo-tick-new,.mo-tick-old{display:inline-block}
.mo-tick-old{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
@media (prefers-reduced-motion:reduce){.mo-fresh .mo-check path,.mo-fresh{animation:none!important}}
/* Shared by every page: thin gold scrollbars and a gold text selection. */
html{scrollbar-color:var(--goldLine) var(--panel2);scrollbar-width:thin}
::selection{background:rgba(201,162,74,.38);color:#FFFFFF}
/* light mode: a gold text selection that keeps dark words readable */
:root[data-theme="light"] ::selection{background:rgba(201,162,74,.35);color:#0E1A2B}
