/* ΔMBI theme: the one AmbientOS stylesheet. Generated from ambi-bar/src/tokens.css by ambi-bar/tools/build.mjs; never edited by hand.
   Copyright © 2026 Slate HQ Ltd. All rights reserved and asserted. */
/* AmbientOS canonical tokens, draft 1 (12 Nov 2026). Web side of Tokens.swift: same names, same values.
   Sources per token are in brand-spec.md. Abbreviations used below:
     FTW  = aos1-t0-integration/fourth-take/wordpress/themes/fourth-take
     BAR  = aos1-t0-integration/ambi-bar/src/ui
     SH   = fourth-take/apple/Packages/AmbientShell/Sources/AmbientShell (aos1-healthi-multiplatform-watch, newest)
     FTA  = aos1-t0-integration/fourth-take/apple/App
   Scope: put these on :root of any AmbientOS web surface. A Multitude sets data-multitude, the shell sets
   data-hub on <html> as context changes, and the canvas re-tints. Theme follows the system unless data-theme is set.
   Copyright © 2026 Slate HQ Ltd. All rights reserved and asserted. */

/* ---- The AmbientOS system font: Allo 1.0.1 (npm allo-font; https://allo.joshpuckett.me), SIL Open Font License 1.1
   (fonts/OFL.txt). Variable in optical size (automatic), weight 100 to 900 and roundness (ROND 0 to 100).
   This is Slate HQ's build: Allo ships without Δ, so Δ (U+0394, U+2206) is drawn into it from Allo's own A at every master
   of the variable font and slanted into each oblique (ambi-bar/tools/allo-delta.py). Mo, 17 Nov 2026: "System font for
   AmbientOS" / "npm i allo-font" / "Yes draw the Delta" "And have it for us". ---- */
@font-face { font-family: "Allo"; src: url("fonts/AlloVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-ThinOblique.woff2") format("woff2"); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-ExtraLightOblique.woff2") format("woff2"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-LightOblique.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-Oblique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-MediumOblique.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-SemiBoldOblique.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-BoldOblique.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-ExtraBoldOblique.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Allo"; src: url("fonts/Allo-BlackOblique.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  /* ---- Base: Slate HQ Native Light (BAR/tokens.js NATIVE.light; FTW/assets/native-theme.css:5-8) ---- */
  --aos-ground: #fdfdfd;
  --aos-ink: #171a20;
  --aos-ink-2: #52565e;
  --aos-ink-3: #626771;
  --aos-sep: rgba(34, 39, 51, .13);
  --aos-fill: rgba(65, 70, 90, .055);
  --aos-fill-2: rgba(65, 70, 90, .09);
  --aos-link: #25374b;
  --aos-navy: #1b2a41;           /* Fourth Take navy: logo, links, sparse accent only */
  --aos-navy-ink: #fff;          /* text and icons on navy */
  --aos-logo-take: #324a5f;

  /* ---- Glass (BAR/tokens.js surface/capsule/menu; FTW/assets/native-theme.css:24-26; SH/Bar/FloatingBar.swift plate) ---- */
  --aos-glass-chrome: rgba(255, 255, 255, .80);   /* bar objects, edge tabs: FloatingBarGlass plate .80 light */
  --aos-glass-dock: rgba(255, 255, 255, .93);     /* web dock: dense so text never reads through */
  --aos-glass-tile: rgba(255, 255, 255, .35);     /* content tile plate: HPGlassTile light plate .35 */
  --aos-glass-sheet: rgba(255, 255, 255, .72);    /* sheets and platters */
  --aos-glass-menu: rgba(255, 255, 255, .97);
  --aos-glass-blur: 24px;
  --aos-glass-saturate: 1.4;
  --aos-glass-rim: linear-gradient(to bottom, rgba(255, 255, 255, .28), rgba(255, 255, 255, .02));
  --aos-glass-rim-width: .75px;
  --aos-scrim: rgba(253, 253, 253, .22);

  /* ---- Elevation: fill over ground, no border; floating chrome alone carries a soft shadow ---- */
  --aos-shadow-float: 0 4px 20px rgba(30, 36, 50, .07), 0 24px 70px rgba(30, 36, 50, .14);
  --aos-shadow-none: none;
  --aos-shadow-lift: 0 14px 34px -16px rgba(18, 22, 40, .34), 0 2px 8px -3px rgba(18, 22, 40, .12);  /* chrome lifted off the page (Fourth Take chrome) */
  --aos-shadow-bar: 0 8px 24px rgba(23, 26, 32, .10), 0 1px 3px rgba(23, 26, 32, .06);  /* the ΔMBI bar in a page's dock */

  /* ---- Fourth Take hubs (decision.fourth-take-relaunch D40; FTW/style.css:17,978) ---- */
  --aos-hub-entertainment: #c8102e;
  --aos-hub-technology: #00875a;
  --aos-hub-politics: #5b2c83;
  --aos-hub-entertainment-ink: #c8102e;
  --aos-hub-technology-ink: #00875a;
  --aos-hub-politics-ink: #5b2c83;
  /* Text and marks in a hub's colour, solved against the resting gradient and every hub glow (text 4.5:1, marks 3:1;
     Fourth Take feed headers and card strips, 12 Oct 2026). --aos-on-accent is text on a hub or accent fill. */
  --aos-hub-entertainment-text: #a10d25;
  --aos-hub-technology-text: #005c3e;
  --aos-hub-politics-text: #5b2c83;
  --aos-hub-entertainment-mark: #c8102e;
  --aos-hub-technology-mark: #007a51;
  --aos-hub-politics-mark: #5b2c83;
  --aos-on-accent: #fff;

  /* ---- HEΔLTHi hubs (SH/Tokens/HPTokens.swift:285-289; healthi/ios/Sources/HealthiExperience.swift:243-250) ---- */
  --aos-hub-nutrition: #2f7e70;
  --aos-hub-movement: #2475c8;
  --aos-hub-biochemistry: #b04f55;
  --aos-hub-body-mind: #a3682f;
  --aos-hub-sleep: #4a55c0;
  --aos-healthi: #5b50c8;         /* HEΔLTHi's own accent: actions, links and the tint in HEΔLTHi web */

  /* ---- Home is iridescent, never a flat colour (decision.fourth-take-relaunch; FTW/style.css:18) ---- */
  --aos-home: linear-gradient(105deg, #e9e1e5 0%, #e6e4ec 52%, #dfeae4 100%);
  --aos-home-ink: #171a20;
  /* The ΔMBI iridescent ring (BAR ft-ambi-ring conic; SH AmbiBarIridescence): saturated wheel, closed loop */
  --aos-iridescent: conic-gradient(from var(--aos-turn, 0deg),
      hsl(330 90% 58%), hsl(30 92% 55%), hsl(60 90% 50%), hsl(90 75% 48%), hsl(150 75% 45%),
      hsl(180 80% 45%), hsl(210 85% 55%), hsl(270 80% 62%), hsl(300 80% 58%), hsl(330 90% 58%));

  /* ---- Status (system semantic; always with a glyph and a word) ---- */
  --aos-ok: #34c759;
  --aos-warn: #ff9500;
  --aos-alert: #ff3b30;

  /* ---- ΔMBIfeed badges: V verified publisher, H human author, A AI-generated by ΔMBI (ambientos-feed badges.css) ---- */
  --aos-badge-verified: #0a58ca;
  --aos-badge-human: #0a58ca;
  --aos-badge-ai: #0b7a3b;

  /* ---- Opaque surfaces and controls: the Studio desk, slate-hq.uk content, forms (unify-web2, 17 Nov 2026) ---- */
  --aos-card: #fff;                  /* an opaque card, field or sheet that holds content */
  --aos-panel: #f4f5f7;              /* an opaque panel set into a surface: plots, formulas, quiet blocks */
  --aos-input-border: #868a93;       /* field boundaries meet 3:1 on every surface */
  --aos-good: #2f7a4f;               /* success text, always with a glyph or a word */
  --aos-bad: #b3261e;                /* error and destructive text */
  --aos-scrim-modal: rgba(10, 12, 16, .32);  /* behind a modal sheet */
  --aos-navy-deep: #1b2a41;          /* a navy field that stays navy in dark (Studio field, creator buttons) */
  --aos-navy-deep-ink: #fff;
  /* The inverse plate: a panel in the other mode's colours (the ΔMBI memory cloud on slate-hq.uk). */
  --aos-inverse-ground: #111315;
  --aos-inverse-ink: #f2f2f4;
  --aos-inverse-ink-2: #c0c2c8;
  --aos-inverse-sep: rgba(238, 240, 245, .17);
  --aos-inverse-fill: rgba(230, 233, 243, .12);
  --aos-inverse-glass: rgba(29, 31, 36, .88);
  --aos-inverse-glass-quiet: rgba(29, 31, 36, .72);
  --aos-inverse-shell: rgba(17, 19, 21, .84);
  --aos-inverse-stroke: rgba(242, 242, 244, .90);
  /* Data marks: the ΔMBI memory cloud (notes, stores, strands) and the research model charts. */
  --aos-cloud-note: #bdf6db;
  --aos-cloud-cyan: #8ce7ee;
  --aos-cloud-violet: #bbadf2;
  --aos-cloud-strand-a: #a8c3bd;
  --aos-cloud-strand-b: #bcb5c7;
  --aos-chart-green: #5d9b82;
  --aos-chart-gold: #bd945b;
  /* Fourth Take creator public pages: the creator picks paper or night for their page (constant in either mode). */
  --aos-page-paper: #f5f5f1;
  --aos-page-paper-ink: #101820;
  --aos-page-paper-muted: #4f5d68;
  --aos-page-paper-line: #8a9aa7;
  --aos-page-night: #0c1821;
  --aos-page-night-ink: #fff;
  --aos-page-night-muted: #a9b4c2;
  --aos-page-night-line: #324a5f;

  /* ---- Canvas: canonical gradient = the resting state (FTA/Slacom/Theme/FTCanvasGradient.swift:51; BAR/tokens.js GRADIENTS.reference) ---- */
  --aos-canvas-a: #d9f5fa;
  --aos-canvas-b: #f7f7fa;
  --aos-canvas-c: #fad9e6;
  --aos-canvas: linear-gradient(135deg, var(--aos-canvas-a), var(--aos-canvas-b), var(--aos-canvas-c));
  /* The hub's angle over the resting gradient (ContextBackground BG1: lens mix .35). Set --aos-hub on context change. */
  --aos-hub: transparent;
  --aos-canvas-angle-opacity: .16;
  --aos-canvas-grain-opacity: .05;
  --aos-canvas-blur: 60px;

  /* ---- Type (HPFont; FTW/style.css:39-40). Allo, then the system stack while it loads or where it is absent. ---- */
  --aos-font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --aos-font: "Allo", var(--aos-font-system);
  --aos-font-round: 50;      /* Allo ROND, 0 to 100: one setting per Multitude when Mo sets it */
  --aos-font-rounded: var(--aos-font);  /* stat numerals: Allo's roundness already carries what SF Pro Rounded did */
  --aos-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;  /* code and payloads only */
  --aos-text-body: 17px;
  --aos-leading-body: 1.45;
  --aos-tracking-body: -.01em;
  --aos-tracking-head: -.025em;
  --aos-leading-head: 1.12;
  --aos-text-large-title: 34px;
  --aos-text-title-1: 28px;
  --aos-text-title-2: 22px;
  --aos-text-title-3: 20px;
  --aos-text-headline: 17px;
  --aos-text-callout: 16px;
  --aos-text-subhead: 15px;
  --aos-text-footnote: 13px;
  --aos-text-caption: 12px;
  --aos-text-caption-2: 11px;
  --aos-numeral-hero: 52px;   /* rounded semibold, tabular */
  --aos-numeral-stat: 32px;

  /* ---- Spacing (HPSpace; HPTile) ---- */
  --aos-space-1: 4px;
  --aos-space-2: 8px;
  --aos-space-3: 12px;
  --aos-space-4: 16px;
  --aos-space-6: 24px;
  --aos-space-8: 32px;
  --aos-tile-gap: 10px;
  --aos-tile-pad: 20px;
  --aos-touch: 44px;

  /* ---- Radii: continuous, generous. Nothing below 12px on a surface that holds content. ---- */
  --aos-radius-tile: 24px;        /* HPRadius.tile: hero and full-width tiles */
  --aos-radius-tile-small: 18px;  /* HPRadius.tileSmall: half-width tiles */
  --aos-radius-input: 18px;       /* HPRadius.input */
  --aos-radius-sheet: 28px;       /* sheets, platters, ΔMBI panel (web panel is 24px today) */
  --aos-radius-thumb: 16px;       /* image and thumbnail corners */
  --aos-radius-capsule: 999px;    /* bar capsule, chips, buttons: height / 2 */
  --aos-radius-mark: 3px;         /* data marks only: bars in a graph */

  /* ---- ΔMBI bar (SH/Navigation/CanvasNavigation.swift BarGeometry; BAR/tokens.js BAR_HEIGHT_PX) ---- */
  --aos-bar-height: 48px;
  --aos-bar-gap: 12px;
  --aos-bar-inset: 28px;
  --aos-bar-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  --aos-bar-max: 560px;
  --aos-bar-compact-scale: .84;

  /* ---- Rails: below 860 the shell's rails fold into edge tabs on both screen edges (shell/ambientos-chrome.js .edge,
     about 30px wide). Page content keeps this inset from each screen edge there, so no text runs under a tab. ---- */
  --aos-rail-inset: 42px;
  --aos-bar-rebound-scale: 1.04;
  --aos-bar-tint: rgba(27, 42, 65, .06);  /* hpAccent at .06 over B */
  --aos-ring-width: 2px;
  --aos-ring-glow-blur: 5px;
  --aos-ring-glow-opacity: .38;
  --aos-ring-period: 3s;

  /* ---- Motion (SH/Motion/Motion.swift; FloatingBarScroll; CanvasRevealTiming) ---- */
  --aos-ease-spring: linear(0, .2 6%, .58 14%, .86 23%, 1.01 33%, 1.04 41%, 1.02 52%, 1 65%, 1);  /* ~ spring .42 / .78 */
  --aos-ease-smooth: cubic-bezier(.32, .72, 0, 1);  /* drawers and sheets: travel and stop, no bounce */
  --aos-dur-control: 280ms;
  --aos-dur-bubble: 420ms;
  --aos-dur-panel: 500ms;
  --aos-dur-drawer: 320ms;
  --aos-dur-canvas: 450ms;   /* hub change cross-fades the canvas angle */
  --aos-dur-reveal: 550ms;
  --aos-stagger-chip: 30ms;
  --aos-dim-reveal: .06;

  color-scheme: light dark;
  font-family: var(--aos-font);
  font-optical-sizing: auto;
  font-variation-settings: "ROND" var(--aos-font-round);
  color: var(--aos-ink);
}

/* ---- Dark: Slate HQ Native Dark (BAR/tokens.js NATIVE.dark; FTW/assets/native-theme.css:30-33) ---- */
:root[data-theme="dark"] {
  --aos-ground: #111315;
  --aos-ink: #f2f2f4;
  --aos-ink-2: #c0c2c8;
  --aos-ink-3: #a5a9b0;
  --aos-sep: rgba(238, 240, 245, .17);
  --aos-fill: rgba(230, 233, 243, .07);
  --aos-fill-2: rgba(230, 233, 243, .12);
  --aos-link: #e2e7f0;
  --aos-navy: #afcbe8;
  --aos-navy-ink: #171a20;
  --aos-logo-take: #a9b4c2;
  --aos-badge-verified: #7fb2ff; --aos-badge-human: #7fb2ff; --aos-badge-ai: #5fd38d;
  --aos-glass-chrome: rgba(29, 31, 36, .72);
  --aos-glass-dock: rgba(29, 31, 36, .94);
  --aos-glass-tile: rgba(29, 31, 36, .55);
  --aos-glass-sheet: rgba(29, 31, 36, .78);
  --aos-glass-menu: rgba(29, 31, 36, .97);
  --aos-scrim: rgba(17, 19, 21, .34);
  --aos-shadow-float: 0 4px 20px rgba(0, 0, 0, .25), 0 24px 70px rgba(0, 0, 0, .45);
  --aos-shadow-lift: 0 16px 36px -16px rgba(0, 0, 0, .6), 0 2px 8px -3px rgba(0, 0, 0, .35);
  --aos-shadow-bar: 0 10px 28px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
  --aos-hub-entertainment-ink: #ff6b7d;
  --aos-hub-technology-ink: #3dd39b;
  --aos-hub-politics-ink: #b58be0;
  --aos-hub-entertainment-text: #ffb2bb; --aos-hub-technology-text: #63dcaf; --aos-hub-politics-text: #d5bded; --aos-hub-entertainment-mark: #ff7889; --aos-hub-technology-mark: #3dd39b; --aos-hub-politics-mark: #ba93e2; --aos-on-accent: #171a20;
  --aos-hub-nutrition: #72c3b2;
  --aos-hub-movement: #72b3f2;
  --aos-hub-biochemistry: #d98f8f;
  --aos-hub-body-mind: #d6a368;
  --aos-hub-sleep: #8f97e6;
  --aos-healthi: #ada4f2;
  --aos-home: linear-gradient(105deg, #322a30 0%, #2c2a36 52%, #24342c 100%);
  --aos-home-ink: #f2f2f4;
  --aos-canvas-a: #243a43;
  --aos-canvas-b: #212430;
  --aos-canvas-c: #452e40;
  --aos-canvas-angle-opacity: .20;
  --aos-bar-tint: rgba(175, 203, 232, .06);
  --aos-ring-glow-opacity: .55;
  --aos-card: #1d1f24; --aos-panel: #1b1d22; --aos-input-border: #858a94; --aos-good: #6fcf97; --aos-bad: #ff8a80; --aos-scrim-modal: rgba(0, 0, 0, .5);
  --aos-inverse-ground: #fdfdfd; --aos-inverse-ink: #171a20; --aos-inverse-ink-2: #52565e; --aos-inverse-sep: rgba(34, 39, 51, .18); --aos-inverse-fill: rgba(65, 70, 90, .10);
  --aos-inverse-glass: rgba(255, 255, 255, .88); --aos-inverse-glass-quiet: rgba(255, 255, 255, .72); --aos-inverse-shell: rgba(253, 253, 253, .88); --aos-inverse-stroke: rgba(23, 26, 32, .84);
  --aos-cloud-note: #3d7267; --aos-cloud-cyan: #007e89; --aos-cloud-violet: #7652a8; --aos-cloud-strand-a: #3d7267; --aos-cloud-strand-b: #765d8a;
  --aos-chart-green: #85c5a3; --aos-chart-gold: #d8af6c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --aos-ground: #111315; --aos-ink: #f2f2f4; --aos-ink-2: #c0c2c8; --aos-ink-3: #a5a9b0;
    --aos-sep: rgba(238, 240, 245, .17); --aos-fill: rgba(230, 233, 243, .07); --aos-fill-2: rgba(230, 233, 243, .12);
    --aos-link: #e2e7f0; --aos-navy: #afcbe8; --aos-navy-ink: #171a20; --aos-logo-take: #a9b4c2;
    --aos-badge-verified: #7fb2ff; --aos-badge-human: #7fb2ff; --aos-badge-ai: #5fd38d;
    --aos-glass-chrome: rgba(29, 31, 36, .72); --aos-glass-dock: rgba(29, 31, 36, .94); --aos-glass-tile: rgba(29, 31, 36, .55);
    --aos-glass-sheet: rgba(29, 31, 36, .78); --aos-glass-menu: rgba(29, 31, 36, .97); --aos-scrim: rgba(17, 19, 21, .34);
    --aos-shadow-float: 0 4px 20px rgba(0, 0, 0, .25), 0 24px 70px rgba(0, 0, 0, .45);
    --aos-shadow-lift: 0 16px 36px -16px rgba(0, 0, 0, .6), 0 2px 8px -3px rgba(0, 0, 0, .35);
    --aos-shadow-bar: 0 10px 28px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
    --aos-hub-entertainment-ink: #ff6b7d; --aos-hub-technology-ink: #3dd39b; --aos-hub-politics-ink: #b58be0;
    --aos-hub-entertainment-text: #ffb2bb; --aos-hub-technology-text: #63dcaf; --aos-hub-politics-text: #d5bded; --aos-hub-entertainment-mark: #ff7889; --aos-hub-technology-mark: #3dd39b; --aos-hub-politics-mark: #ba93e2; --aos-on-accent: #171a20;
    --aos-hub-nutrition: #72c3b2; --aos-hub-movement: #72b3f2; --aos-hub-biochemistry: #d98f8f;
    --aos-hub-body-mind: #d6a368; --aos-hub-sleep: #8f97e6; --aos-healthi: #ada4f2;
    --aos-home: linear-gradient(105deg, #322a30 0%, #2c2a36 52%, #24342c 100%); --aos-home-ink: #f2f2f4;
    --aos-canvas-a: #243a43; --aos-canvas-b: #212430; --aos-canvas-c: #452e40; --aos-canvas-angle-opacity: .20;
    --aos-bar-tint: rgba(175, 203, 232, .06); --aos-ring-glow-opacity: .55;
    --aos-card: #1d1f24; --aos-panel: #1b1d22; --aos-input-border: #858a94; --aos-good: #6fcf97; --aos-bad: #ff8a80; --aos-scrim-modal: rgba(0, 0, 0, .5);
    --aos-inverse-ground: #fdfdfd; --aos-inverse-ink: #171a20; --aos-inverse-ink-2: #52565e; --aos-inverse-sep: rgba(34, 39, 51, .18); --aos-inverse-fill: rgba(65, 70, 90, .10);
    --aos-inverse-glass: rgba(255, 255, 255, .88); --aos-inverse-glass-quiet: rgba(255, 255, 255, .72); --aos-inverse-shell: rgba(253, 253, 253, .88); --aos-inverse-stroke: rgba(23, 26, 32, .84);
    --aos-cloud-note: #3d7267; --aos-cloud-cyan: #007e89; --aos-cloud-violet: #7652a8; --aos-cloud-strand-a: #3d7267; --aos-cloud-strand-b: #765d8a;
    --aos-chart-green: #85c5a3; --aos-chart-gold: #d8af6c;
  }
}

/* ---- 90s Hacker (configure.slate appearance.theme hacker_90s; data-skin="hacker" on <html>). Dark unless the person
   chooses light, then a light phosphor. The palette Fourth Take and the AmbientOS theme carried (assets/native-theme.css),
   held here so every surface takes it from the one sheet. ---- */
:root[data-skin="hacker"] {
  --aos-ground: #030805; --aos-ink: #d3ffd0; --aos-ink-2: #9defa5; --aos-ink-3: #74c980;
  --aos-sep: rgba(93, 219, 114, .36); --aos-fill: rgba(74, 255, 116, .10); --aos-fill-2: rgba(74, 255, 116, .18);
  --aos-navy: #82ff98; --aos-navy-ink: #031006; --aos-link: #9affaa; --aos-logo-take: #9affaa;
  --aos-glass-chrome: #061309; --aos-glass-dock: #061309; --aos-glass-tile: #09190d; --aos-glass-sheet: #09190d; --aos-glass-menu: #09190d;
  --aos-card: #09190d; --aos-panel: #061309; --aos-input-border: #479d58; --aos-navy-deep: #0d4d23;
  color-scheme: dark;
}
:root[data-skin="hacker"][data-theme="light"] {
  --aos-ground: #f3f7f0; --aos-ink: #18251b; --aos-ink-2: #385442; --aos-ink-3: #4b6752;
  --aos-sep: rgba(30, 76, 40, .22); --aos-fill: rgba(15, 100, 43, .08); --aos-fill-2: rgba(15, 100, 43, .14);
  --aos-navy: #146b36; --aos-navy-ink: #fff; --aos-link: #0b6630; --aos-logo-take: #146b36;
  --aos-glass-chrome: #fff; --aos-glass-dock: #fff; --aos-glass-tile: #fff; --aos-glass-sheet: #fff; --aos-glass-menu: #fff;
  --aos-card: #fff; --aos-panel: #fff; --aos-input-border: #868a93; --aos-sep: #7d9683;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root[data-skin="hacker"]:not([data-theme]) {
    --aos-ground: #f3f7f0; --aos-ink: #18251b; --aos-ink-2: #385442; --aos-ink-3: #4b6752;
    --aos-sep: rgba(30, 76, 40, .22); --aos-fill: rgba(15, 100, 43, .08); --aos-fill-2: rgba(15, 100, 43, .14);
    --aos-navy: #146b36; --aos-navy-ink: #fff; --aos-link: #0b6630; --aos-logo-take: #146b36;
    --aos-glass-chrome: #fff; --aos-glass-dock: #fff; --aos-glass-tile: #fff; --aos-glass-sheet: #fff; --aos-glass-menu: #fff;
    --aos-card: #fff; --aos-panel: #fff; --aos-input-border: #868a93; --aos-sep: #7d9683;
    color-scheme: light;
  }
}

/* ---- System Native (configure.slate appearance.theme system; data-skin="system" on <html>): black ink on the
   canonical gradient, the platform's own greys in dark. The skin Fourth Take Studio carried, held here. ---- */
:root[data-skin="system"] { --aos-ink: #000; --aos-ink-2: #555; --aos-ink-3: #5c5c5c; }
:root[data-skin="system"][data-theme="dark"] { --aos-card: #1c1c1e; --aos-ink: #fff; --aos-ink-2: #c7c7cc; --aos-ink-3: #aeaeb2; }
@media (prefers-color-scheme: dark) {
  :root[data-skin="system"]:not([data-theme="light"]) { --aos-card: #1c1c1e; --aos-ink: #fff; --aos-ink-2: #c7c7cc; --aos-ink-3: #aeaeb2; }
}

/* ---- Hub context: the shell sets data-hub; the canvas angles towards it ---- */
:root[data-hub="entertainment"] { --aos-hub: var(--aos-hub-entertainment); }
:root[data-hub="technology"]    { --aos-hub: var(--aos-hub-technology); }
:root[data-hub="politics"]      { --aos-hub: var(--aos-hub-politics); }
:root[data-hub="nutrition"]     { --aos-hub: var(--aos-hub-nutrition); }
:root[data-hub="movement"]      { --aos-hub: var(--aos-hub-movement); }
:root[data-hub="biochemistry"]  { --aos-hub: var(--aos-hub-biochemistry); }
:root[data-hub="body-mind"]     { --aos-hub: var(--aos-hub-body-mind); }
:root[data-hub="home"], :root:not([data-hub]) { --aos-hub: transparent; }  /* Home: unangled iridescence */

/* ---- The dynamic canvas: resting gradient, the hub angle over it, the grain. It spans the whole document (the root is
   its containing block, ambi-theme.css), so it sizes with and follows the window and runs top to footer in every
   capture; it is never a fixed box one viewport tall (OS-53). ---- */
@property --aos-turn { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.aos-canvas {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 85% 15%, color-mix(in oklab, var(--aos-hub) calc(var(--aos-canvas-angle-opacity) * 100%), transparent), transparent 70%),
    radial-gradient(110% 80% at 10% 95%, color-mix(in oklab, var(--aos-hub) calc(var(--aos-canvas-angle-opacity) * 60%), transparent), transparent 70%),
    var(--aos-canvas);
  transition: background var(--aos-dur-canvas) ease-in-out;
}
.aos-canvas::after {
  content: ""; position: absolute; inset: 0; opacity: var(--aos-canvas-grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Surfaces: the only four. No bordered card exists. ---- */
.aos-tile {            /* tappable content: score, stat, graph, briefing item */
  border-radius: var(--aos-radius-tile); padding: var(--aos-tile-pad);
  background: var(--aos-glass-tile);
  -webkit-backdrop-filter: blur(var(--aos-glass-blur)) saturate(var(--aos-glass-saturate));
  backdrop-filter: blur(var(--aos-glass-blur)) saturate(var(--aos-glass-saturate));
  box-shadow: var(--aos-shadow-none); border: 0;
}
.aos-tile--half { border-radius: var(--aos-radius-tile-small); }
.aos-flat { background: none; border: 0; padding-block: var(--aos-space-2); }  /* prose, rows, lists: on the canvas */
.aos-chrome {          /* bar objects, edge tabs, chips */
  border-radius: var(--aos-radius-capsule); background: var(--aos-glass-chrome);
  -webkit-backdrop-filter: blur(var(--aos-glass-blur)) saturate(var(--aos-glass-saturate));
  backdrop-filter: blur(var(--aos-glass-blur)) saturate(var(--aos-glass-saturate));
  box-shadow: var(--aos-shadow-float);
}
.aos-sheet {           /* fluid sheet: rises from the bar, borrows the canvas */
  border-radius: var(--aos-radius-sheet) var(--aos-radius-sheet) 0 0; background: var(--aos-glass-sheet);
  -webkit-backdrop-filter: blur(var(--aos-glass-blur)) saturate(var(--aos-glass-saturate));
  backdrop-filter: blur(var(--aos-glass-blur)) saturate(var(--aos-glass-saturate));
  box-shadow: var(--aos-shadow-float);
}
@supports (corner-shape: squircle) {
  .aos-tile, .aos-sheet, .aos-chrome { corner-shape: squircle; }  /* continuous corners where the engine has them */
}

/* ---- Accessibility: opaque, and still. ---- */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root { --aos-glass-chrome: #fff; --aos-glass-dock: #fff; --aos-glass-tile: #fff; --aos-glass-sheet: #fff; --aos-glass-menu: #fff;
          --aos-ink-2: #353941; --aos-ink-3: #454a53; --aos-sep: rgba(34, 39, 51, .32); --aos-canvas-grain-opacity: 0; }
  :root[data-theme="dark"] { --aos-glass-chrome: #1d1f24; --aos-glass-dock: #1d1f24; --aos-glass-tile: #1d1f24;
          --aos-glass-sheet: #1d1f24; --aos-glass-menu: #1d1f24; --aos-ink-2: #e0e2e7; --aos-ink-3: #cfd3da; --aos-sep: rgba(238, 240, 245, .4); }
  .aos-tile, .aos-chrome, .aos-sheet { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --aos-dur-control: 1ms; --aos-dur-bubble: 1ms; --aos-dur-panel: 1ms; --aos-dur-drawer: 1ms; --aos-dur-canvas: 200ms; --aos-dur-reveal: 1ms; }
}
@media (forced-colors: active) { .aos-canvas { display: none; } }

/* ==== The plane (neuron.decision.plane-runs-the-whole-page). Generated by ambi-bar/tools/theme-sheet.mjs. ==== */
/* Multitude and context tints laid over the resting canvas. Values are the ones each surface carried before. */
:root {
  /* Slate HQ (slate-hq.uk) field: four soft hub washes over the ground (graphux redesign.css). */
  --aos-field-red: rgba(200, 16, 46, .055);
  --aos-field-purple: rgba(91, 44, 131, .075);
  --aos-field-green: rgba(0, 135, 90, .055);
  --aos-field-blue: rgba(94, 134, 182, .045);
  /* The operation in scope shifts the canvas (amBE operations; set data-aos-op on <html>). */
  --aos-op-tint: transparent;
  /* Slate HQ scroll stories (.sx pages on slate-hq.uk; ambientos-slate-hq slate-hq-content.css). */
  --aos-story: linear-gradient(135deg, #f8eff4 0%, #f1eff9 28%, #ebf3f8 52%, #edf7f2 76%, #f8f4ec 100%);
  /* The document space ground (ΔMBIenterprise documents). */
  --aos-documents: radial-gradient(circle at 7% 0%, #d9f5fa, transparent 48%), radial-gradient(circle at 92% 8%, #fad9e6, transparent 43%), linear-gradient(150deg, #f7f7fa, #d9f5fa);
}
:root[data-theme="dark"] {
  --aos-field-red: rgba(200, 16, 46, .07);
  --aos-field-purple: rgba(137, 102, 171, .10);
  --aos-field-green: rgba(0, 135, 90, .08);
  --aos-field-blue: rgba(94, 134, 182, .065);
  --aos-story: linear-gradient(135deg, #1a161d 0%, #14161c 30%, #121a1a 60%, #1a1719 100%);
  --aos-documents: radial-gradient(circle at 10% 0%, #243a43, transparent 46%), radial-gradient(circle at 86% 10%, #452e40, transparent 43%), linear-gradient(145deg, #212430, #243a43);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --aos-field-red: rgba(200, 16, 46, .07); --aos-field-purple: rgba(137, 102, 171, .10);
    --aos-field-green: rgba(0, 135, 90, .08); --aos-field-blue: rgba(94, 134, 182, .065);
    --aos-story: linear-gradient(135deg, #1a161d 0%, #14161c 30%, #121a1a 60%, #1a1719 100%);
    --aos-documents: radial-gradient(circle at 10% 0%, #243a43, transparent 46%), radial-gradient(circle at 86% 10%, #452e40, transparent 43%), linear-gradient(145deg, #212430, #243a43);
  }
}
:root[data-aos-op="document"], :root[data-aos-op="draft"]  { --aos-op-tint: rgba(36, 117, 200, .10); }
:root[data-aos-op="record"] { --aos-op-tint: rgba(47, 126, 112, .11); }
:root[data-aos-op="update"] { --aos-op-tint: rgba(163, 104, 47, .10); }
:root[data-aos-op="remove"] { --aos-op-tint: rgba(176, 79, 85, .10); }
:root[data-aos-op="share"]  { --aos-op-tint: rgba(91, 91, 184, .10); }

/* What the plane paints. Default: the hub and operation washes over the resting canvas. */
:root {
  --aos-plane-ground: var(--aos-ground);
  --aos-plane-tint:
    radial-gradient(120% 90% at 30% 10%, var(--aos-op-tint), transparent 70%),
    radial-gradient(120% 90% at 85% 15%, color-mix(in oklab, var(--aos-hub) calc(var(--aos-canvas-angle-opacity) * 100%), transparent), transparent 70%),
    radial-gradient(110% 80% at 10% 95%, color-mix(in oklab, var(--aos-hub) calc(var(--aos-canvas-angle-opacity) * 60%), transparent), transparent 70%);
  --aos-plane: var(--aos-plane-tint), var(--aos-canvas);
}
/* Named planes. A surface picks one with data-multitude or data-plane on <html>, or by setting --aos-plane to it. */
:root {
  --aos-field: radial-gradient(ellipse at 0% 0%, var(--aos-field-red), transparent 58%), radial-gradient(ellipse at 100% 18%, var(--aos-field-purple), transparent 62%),
    radial-gradient(ellipse at 82% 100%, var(--aos-field-green), transparent 64%), radial-gradient(ellipse at 8% 85%, var(--aos-field-blue), transparent 56%), var(--aos-plane-ground);
}
:root[data-multitude="slate-hq"] { --aos-plane: var(--aos-field); }
:root[data-plane="home"] { --aos-plane: var(--aos-home); }
:root[data-plane="documents"] { --aos-plane: var(--aos-documents); }
:root[data-plane="story"] { --aos-plane: var(--aos-story); }
:root[data-plane="ground"] { --aos-plane: var(--aos-plane-ground); }
/* 90s Hacker (configure.slate appearance.theme hacker_90s), dark: scan lines over the ground. */
:root[data-skin="hacker"][data-theme="dark"] {
  --aos-plane: repeating-linear-gradient(to bottom, rgba(95, 255, 120, .035) 0 1px, transparent 1px 4px), radial-gradient(ellipse at 50% 0%, rgba(24, 99, 40, .25), transparent 70%), var(--aos-plane-ground);
}
@media (prefers-color-scheme: dark) {
  :root[data-skin="hacker"]:not([data-theme]) {
    --aos-plane: repeating-linear-gradient(to bottom, rgba(95, 255, 120, .035) 0 1px, transparent 1px 4px), radial-gradient(ellipse at 50% 0%, rgba(24, 99, 40, .25), transparent 70%), var(--aos-plane-ground);
  }
}

/* Laid down once, on the root: <html> is at least one window tall and grows with the content, and its background (the
   plane, with the ground as its colour) is painted across the whole document and the overscroll beyond it, so the plane
   runs top to footer at every width and height and in every capture. body stays transparent; no layer is fixed. */
html {
  position: relative; /* the containing block of the canvas layer (tokens.css .aos-canvas): the whole document */
  min-height: 100%;
  background: var(--aos-plane);
  background-color: var(--aos-plane-ground);
}
body { min-height: 100dvh; background-color: transparent; }
@media print { html { background: none; } }
@media (forced-colors: active) { html { background: Canvas; } }
