/* Tokens copied unchanged from the Alofted app, apps/desktop/live/city.css (design system 0.10.2). Do not edit here: change the app, then copy again. */
:root{
  /* Spacing: a 4 px base. */
  --space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;
  /* Readable at default zoom on a 1080p laptop. Windows display scaling is applied once by Electron. */
  --text-body:17px;
  --text-small:max(15px,calc(var(--text-body) * .875));
  --text-district:16px;
  --text-title:calc(var(--text-body) * 1.25);
  --text-heading:calc(var(--text-body) * 1.5625);
  --text-display:calc(var(--text-body) * 1.953125);
  /* Corners (8 Nov): controls 8, cards and panels 14. Continuous where the browser can draw it. */
  --r-sm:6px;--r-md:8px;--r-lg:12px;--r-xl:14px;
  /* Controls. */
  --control-h:44px;--control-h-sm:40px;--icon-sm:20px;--icon-md:24px;
  /* Motion: short ease-out, never a bounce. */
  --dur-1:150ms;--dur-2:200ms;--dur-3:250ms;--ease-out:cubic-bezier(.2,.7,.2,1);
  --chat-width:560px;

  color-scheme:light;
  /* Neutral ramp. */
  --n-0:oklch(99.6% 0.001 95);--n-1:oklch(97.8% 0.003 95);--n-2:oklch(96.2% 0.004 95);--n-3:oklch(94.4% 0.005 95);
  --n-4:oklch(91.5% 0.005 95);--n-5:oklch(86.5% 0.006 95);--n-6:oklch(72% 0.008 95);--n-7:oklch(60% 0.009 95);
  --n-8:oklch(52% 0.01 95);--n-9:oklch(44% 0.01 95);--n-10:oklch(34% 0.01 95);--n-11:oklch(27% 0.009 95);--n-12:oklch(21% 0.008 95);
  /* The one accent. */
  --a-1:oklch(97.5% 0.014 148);--a-2:oklch(95.5% 0.028 148);--a-3:oklch(87% 0.06 148);--a-5:oklch(46.4% 0.116 148);--a-6:oklch(40.5% 0.105 148);--a-text:oklch(44% 0.11 148);--a-on:oklch(99.5% 0.003 148);
  /* Four verdicts: Works, Fails, Not fully checked, Couldn't tell. Solid mark, text and tint. */
  --works:oklch(60% 0.13 150);--works-text:oklch(46% 0.11 150);--works-tint:oklch(95.5% 0.03 150);
  --fails:oklch(54% 0.125 33);--fails-text:oklch(45% 0.115 33);--fails-tint:oklch(95.5% 0.02 38);
  --changed:oklch(74% 0.115 68);--affected:oklch(66% 0.085 68);
  --partial:oklch(76% 0.14 75);--partial-text:oklch(48% 0.1 65);--partial-tint:oklch(96.5% 0.035 85);
  --unknown:oklch(60% 0.009 95);--unknown-text:oklch(45% 0.008 95);--unknown-tint:oklch(95% 0.004 95);
  /* Roles. */
  --bg:var(--n-1);--surface:var(--n-0);--side:var(--n-2);--hover-bg:var(--n-3);--press-bg:var(--n-4);
  --line:oklch(93% 0.005 95);--line-2:oklch(89.5% 0.006 95);--line-3:var(--n-6);
  --text:var(--n-12);--text-2:var(--n-9);--text-3:var(--n-8);
  --halo:oklch(99.6% 0.001 95 / .92);
  --accent:var(--a-5);--accent-hover:var(--a-6);--accent-text:var(--a-text);--accent-tint:var(--a-2);--accent-line:var(--a-3);--on-accent:var(--a-on);
  --focus:var(--a-5);
  /* Two shadow levels, soft and short: raised (cards) and floating (menus, dialogs, tips). */
  --shadow-1:0 1px 2px oklch(21% 0.008 95 / .05),0 2px 8px oklch(21% 0.008 95 / .05);
  --shadow-2:0 6px 12px oklch(21% 0.008 95 / .09),0 1px 3px oklch(21% 0.008 95 / .06);
  --scrim:oklch(21% 0.008 95 / .28);

  /* The city: one platform, plots, streets and buildings by kind. Three tones come from one light (scene.ts). */
  --city-ground:var(--n-1);--city-platform:oklch(95.2% 0.004 95);--city-platform-side:oklch(84% 0.006 95);
  --city-plot:oklch(98.4% 0.002 95);--city-plot-line:oklch(88% 0.005 95);--city-street:oklch(90.5% 0.005 95);
  --city-road:oklch(64% 0.012 95);--city-edge:oklch(30% 0.01 95);--city-shadow:oklch(20% 0.01 95);--city-light-k:1;
  /* Kind colours: muted mid tones, at least 3:1 against the platform at the lightest (roof) tone. */
  --kind-entry:oklch(46% 0.1 148);--kind-service:oklch(53% 0.075 150);--kind-model:oklch(60% 0.06 142);--kind-store:oklch(50% 0.06 160);
  --kind-helper:oklch(58% 0.025 145);--kind-config:oklch(55% 0.045 152);--kind-test:oklch(59% 0.07 148);--kind-outside:oklch(57% 0.012 145);
  --kind-floor:oklch(30% 0.01 95);
  /* Inside a part: read from the code is a calm muted line. */
  --cn-read:var(--n-6);
  /* Focus: the selected journey in full colour, everything else muted by this one amount. */
  --focus-mute:.08;

  /* Older names, kept so every screen reads the same tokens. */
  --g:var(--accent);--g-3:var(--accent-hover);--g-light:var(--accent-line);--g-tint:var(--accent-tint);--g-text:var(--accent-text);--on-g:var(--on-accent);--gd:var(--accent);--btn:var(--accent);--btn-hover:var(--accent-hover);
  --red:var(--fails);--red-text:var(--fails-text);--halo:var(--surface);--clear:transparent;
  --glass-bg:var(--surface);--glass-bg-hi:var(--surface);--glass-line:var(--line);--shadow:var(--shadow-2);
  --run-rim:var(--accent);--stop-rim:var(--fails);--minimap-fill:var(--accent-tint);
  --c-ground:var(--city-ground);--c-water:var(--city-street);--c-base:var(--city-platform);--c-plinth-screen:var(--city-plot);--c-plinth-door:var(--city-plot);--c-plinth-rule:var(--city-plot);--c-plinth-data:var(--city-plot);--c-plinth-other:var(--city-plot);
  --c-road:var(--city-road);--c-screen:var(--kind-service);--c-glass:var(--kind-service);--c-door:var(--kind-service);--c-window:var(--kind-floor);--c-rule:var(--kind-entry);--c-roof:var(--kind-entry);--c-data:var(--kind-store);--c-band:var(--kind-floor);
  --c-lit:var(--accent);--c-lit-window:var(--accent-hover);--c-lit-glass:var(--accent);--c-outline:var(--city-edge);--c-out-fill:var(--kind-outside);--c-core:var(--surface);--c-sun:var(--n-0);--c-sky-light:var(--n-0);--c-sky-ground:var(--n-4);--c-light-k:var(--city-light-k);--c-spark:var(--surface);--c-route:var(--accent);
  --font:'Urbanist',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --n-0:oklch(21% 0.005 95);--n-1:oklch(17.5% 0.004 95);--n-2:oklch(19% 0.004 95);--n-3:oklch(25.5% 0.006 95);
  --n-4:oklch(28% 0.006 95);--n-5:oklch(33% 0.007 95);--n-6:oklch(48% 0.008 95);--n-7:oklch(58% 0.008 95);
  --n-8:oklch(68% 0.008 95);--n-9:oklch(76% 0.008 95);--n-10:oklch(84% 0.006 95);--n-11:oklch(90% 0.005 95);--n-12:oklch(94% 0.004 95);
  --a-1:oklch(24% 0.03 148);--a-2:oklch(28.5% 0.05 148);--a-3:oklch(39% 0.08 148);--a-5:oklch(50% 0.125 148);--a-6:oklch(45% 0.115 148);--a-text:oklch(78% 0.12 148);--a-on:oklch(99% 0.003 148);
  --works:oklch(70% 0.14 150);--works-text:oklch(80% 0.13 150);--works-tint:oklch(28% 0.05 150);
  --fails:oklch(62% 0.12 33);--fails-text:oklch(78% 0.1 35);--fails-tint:oklch(29% 0.05 33);
  --changed:oklch(76% 0.11 68);--affected:oklch(70% 0.08 68);
  --partial:oklch(78% 0.14 75);--partial-text:oklch(84% 0.12 80);--partial-tint:oklch(30% 0.05 75);
  --unknown:oklch(58% 0.008 95);--unknown-text:oklch(76% 0.008 95);--unknown-tint:oklch(26% 0.005 95);
  --line:oklch(26.5% 0.006 95);--line-2:oklch(30.5% 0.007 95);--halo:oklch(17.5% 0.004 95 / .9);
  --shadow-1:0 1px 2px oklch(0% 0 0 / .3),0 2px 8px oklch(0% 0 0 / .2);
  --shadow-2:0 6px 12px oklch(0% 0 0 / .4),0 1px 3px oklch(0% 0 0 / .28);
  --scrim:oklch(0% 0 0 / .5);
  --city-ground:var(--n-1);--city-platform:oklch(25% 0.005 95);--city-platform-side:oklch(13% 0.004 95);
  --city-plot:oklch(30.5% 0.005 95);--city-plot-line:oklch(40% 0.006 95);--city-street:oklch(22.5% 0.005 95);
  --city-road:oklch(58% 0.01 95);--city-edge:oklch(12% 0.004 95);--city-shadow:oklch(5% 0 0);--city-light-k:.9;
  --kind-entry:oklch(60% 0.1 148);--kind-service:oklch(57% 0.07 150);--kind-model:oklch(68% 0.055 142);--kind-store:oklch(55% 0.055 160);
  --kind-helper:oklch(60% 0.022 145);--kind-config:oklch(58% 0.04 152);--kind-test:oklch(64% 0.065 148);--kind-outside:oklch(63% 0.01 145);
  --kind-floor:oklch(14% 0.004 95);
}
