/* Created: Monday 2026-09-28
   Last updated: Wednesday 2026-09-30

   The Life Hub design system tokens, from the official design system of
   September 2026 (OFFICIAL_LIFEHUB-DESIGN-SYSTEM-SEPT-2026, the standalone
   screens Home, Learn, Edu-Jobs and Life-Points share one token set).

   new/base.html loads this file after fresh-app.css, so every /new/ page that
   extends it takes these values. The Feed, the story page, the Learning Library
   and the Library rail also link it directly.

   .lh-design-tokens repeats the values on the page wrapper, because in the side
   menu layout the site shell sets its own --fs-* values on an outer element. */
:root,
.lh-design-tokens {
  /* The official design system tokens. */
  --fs-bg: #ffffff;
  --fs-surface: #ffffff;
  --fs-surface-muted: #f4f1ff;
  --fs-surface-paper: #fffdf3;
  --fs-text: #140442;
  --fs-muted: #4a4560;
  --fs-muted-2: #6b6a85;
  --fs-primary: #5a49f8;
  --fs-primary-hover: #4a3ad8;
  --fs-primary-200: #c6cdef;
  --fs-primary-100: #eceeff;
  --fs-primary-050: #f5f6ff;
  --fs-accent: #12fea2;
  --fs-accent-200: #bffae5;
  --fs-accent-100: #e7fbf4;
  --fs-periwinkle: #8aa6ff;
  --fs-lilac-glow: #c09cff;
  --fs-success-text: #0a8f5b;
  --fs-border: #ece9fb;
  --fs-protect-story: linear-gradient(to top,rgba(20,4,66,.94) 0%,rgba(20,4,66,.70) 30%,rgba(90,73,248,.28) 58%,rgba(90,73,248,0) 80%);
  --fs-protect-hero: linear-gradient(to top,rgba(20,4,66,.95) 0%,rgba(20,4,66,.66) 34%,rgba(90,73,248,.24) 62%,rgba(90,73,248,0) 82%);
  --fs-scrim: rgba(20,4,66,.55);
  --fs-glass: rgba(255,255,255,.74);
  --fs-glass-on-photo: rgba(255,255,255,.2);
  --fs-aurora-a: rgba(214,220,236,.34);
  --fs-aurora-b: rgba(226,230,242,.30);
  --fs-aurora-c: rgba(232,226,240,.26);
  --fs-aurora-iris: linear-gradient(120deg,rgba(191,250,229,.55),rgba(201,216,255,.55),rgba(226,211,255,.5),rgba(255,226,240,.45));
  --fs-aurora-iris-color-alpha: .30;
  --fs-aurora-sparkle: rgba(198,205,239,.6);
  --lh-sherbet-mint: #d8fff0;
  --lh-sherbet-mint-dot: #12fea2;
  --lh-sherbet-lemon: #f8ffbf;
  --lh-sherbet-lemon-dot: #e4f53a;
  --lh-sherbet-pink: #ffcaee;
  --lh-sherbet-pink-dot: #ff5cc8;
  /* Neon pastels: the blobs behind editor icons (cms_social/_icon.html). */
  --lh-neon-pink: #ffbdf5;
  --lh-neon-chartreuse: #efff99;
  --lh-neon-mint: #a8ffdc;
  --lh-neon-orange: #ffc49c;
  --lh-neon-grape: #e2b3ff;
  /* The lines of an icon drawn without its blob, for the two neon pastels too light on white (squares.css). */
  --lh-neon-orange-line: #ff8f4a;
  --lh-neon-grape-line: #b06bff;
  --lh-sherbet-lilac: #e5e1ff;
  --lh-sherbet-lilac-dot: #9b8cff;
  --lh-status-good: var(--lh-sherbet-mint);
  --lh-status-good-dot: var(--lh-sherbet-mint-dot);
  --lh-status-wait: var(--lh-sherbet-lemon);
  --lh-status-wait-dot: var(--lh-sherbet-lemon-dot);
  --lh-status-alert: var(--lh-sherbet-pink);
  --lh-status-alert-dot: var(--lh-sherbet-pink-dot);
  --lh-status-paused: var(--lh-sherbet-lilac);
  --lh-status-paused-dot: var(--lh-sherbet-lilac-dot);
  --lh-chart-1: var(--lh-sherbet-mint-dot);
  --lh-chart-2: var(--lh-sherbet-lilac-dot);
  --lh-chart-3: var(--lh-sherbet-lemon-dot);
  --lh-chart-4: var(--lh-sherbet-pink-dot);
  --lh-chart-track: #f1efff;
  --text-heading: var(--fs-text);
  --text-body: var(--fs-text);
  --text-secondary: var(--fs-muted);
  --text-tertiary: var(--fs-muted-2);
  --text-link: var(--fs-primary);
  --text-on-primary: #ffffff;
  --surface-page: var(--fs-bg);
  --surface-card: var(--fs-surface);
  --surface-inset: var(--fs-surface-muted);
  --surface-row: var(--fs-primary-050);
  --surface-tile: var(--fs-primary-100);
  --action-primary: var(--fs-primary);
  --action-primary-hover: var(--fs-primary-hover);
  --progress-fill: var(--fs-accent);
  --progress-track: var(--fs-primary-100);
  --fs-font-display: 'Fredoka',sans-serif;
  --fs-font-body: 'Mulish',sans-serif;
  --fs-weight-regular: 400;
  --fs-weight-semibold: 600;
  --fs-weight-bold: 700;
  --fs-type-hero: clamp(54px,9vw,118px);
  --fs-type-article: clamp(40px,6.4vw,92px);
  --fs-type-display: clamp(30px,3.2vw,42px);
  --fs-type-h1: 30px;
  --fs-type-h2: 26px;
  --fs-type-h3: 22px;
  --fs-type-h4: 18px;
  --fs-type-label: 16px;
  --fs-type-label-sm: 15px;
  --fs-type-body-lg: 17px;
  --fs-type-body: 16px;
  --fs-type-small: 14px;
  --fs-type-meta: 13px;
  --fs-type-micro: 12px;
  --fs-type-tiny: 11px;
  --fs-leading-tight: .95;
  --fs-leading-display: 1.02;
  --fs-leading-snug: 1.2;
  --fs-leading-body: 1.45;
  --fs-leading-read: 1.7;
  --fs-tracking-hero: -.035em;
  --fs-tracking-display: -.02em;
  --fs-tracking-caps: .08em;
  --fs-radius-bar: 3px;
  --fs-radius-xs: 4px;
  --fs-radius-sm: 6px;
  --fs-radius-lg: 8px;
  --fs-radius-md: 10px;
  --fs-radius-tile: 12px;
  --fs-radius-panel: 14px;
  --fs-radius-card: 24px;
  --fs-radius-round: 999px;
  --fs-shadow-sm: inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(236,233,251,.7),0 1px 2px rgba(20,4,66,.04),0 8px 20px -10px rgba(20,4,66,.14);
  --fs-shadow-md: inset 0 1px 0 #ffffff,inset 0 0 0 1px rgba(236,233,251,.65),0 2px 4px rgba(20,4,66,.03),0 16px 36px -18px rgba(20,4,66,.18),0 40px 80px -40px rgba(90,73,248,.22);
  --fs-shadow-lift: inset 0 1px 0 #ffffff,inset 0 0 0 1px rgba(236,233,251,.6),0 4px 10px rgba(20,4,66,.04),0 28px 60px -24px rgba(20,4,66,.24),0 70px 120px -50px rgba(90,73,248,.30);
  --fs-shadow-overlay: 0 40px 100px -20px rgba(20,4,66,.5);
  --fs-shadow-primary: 0 14px 40px -12px #5a49f859;
  --fs-shadow-float: 0 20px 40px -10px rgba(20,4,66,.5);
  --fs-space-1: 4px;
  --fs-space-2: 8px;
  --fs-space-3: 10px;
  --fs-space-4: 14px;
  --fs-space-5: 20px;
  --fs-space-6: 24px;
  --fs-space-7: 32px;
  --fs-space-8: 48px;
  --fs-space-9: 80px;
  --fs-grid-gap: 20px;
  --fs-page-max: 100%;
  --fs-page-pad: clamp(18px,3vw,48px);
  --fs-blur-glass: blur(18px) saturate(1.3);
  --fs-blur-scrim: blur(10px);
  --fs-ease: cubic-bezier(.22,1,.36,1);
  --fs-ease-spring: cubic-bezier(.34,1.56,.64,1);
  --fs-dur-fast: .2s;
  --fs-dur-base: .3s;
  --fs-dur-slow: .45s;
  --fs-dur-enter: .8s;
  --fs-sparkle-clip: polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
  --fs-holo-orb: radial-gradient(circle at 30% 24%,rgba(255,255,255,.95) 0,rgba(255,255,255,0) 42%),conic-gradient(from 210deg,#a9f5d6,#d6f9ec,#c9d8ff,#e2d3ff,#b3f7dc,#dffcf1,#a9f5d6);
  --fs-holo-orb-shadow: inset 0 0 0 1.5px rgba(255,255,255,.95),inset 0 -4px 8px rgba(18,190,130,.18),0 6px 14px -6px rgba(14,138,97,.45);
  --fs-holo-foil: linear-gradient(115deg,rgba(255,255,255,0) 36%,rgba(255,176,232,.26) 42%,rgba(166,208,255,.32) 47%,rgba(170,255,218,.32) 52%,rgba(255,238,170,.24) 57%,rgba(255,255,255,0) 64%);
  --fs-holo-ring: conic-gradient(from 200deg,#5a49f8,#c6cdef,#8aa6ff,#5a49f8);
  --fs-holo-panel: radial-gradient(#c6cdef 1.2px,transparent 1.4px) 0 0/16px 16px,radial-gradient(110% 90% at 88% 8%,rgba(138,166,255,.35),transparent 60%),radial-gradient(90% 90% at 8% 100%,rgba(90,73,248,.22),transparent 62%),linear-gradient(135deg,#eceeff,#f5f6ff);
  --fs-holo-chip: linear-gradient(135deg,#e9e6f5,#c6cdef);
  --fs-velvet-top: #241070;
  --fs-velvet-bottom: #10053a;
  --fs-velvet-sparkles: radial-gradient(circle at 14% 28%,rgba(255,255,255,.9) 0 .8px,transparent 1.4px),radial-gradient(circle at 78% 22%,rgba(255,255,255,.75) 0 .7px,transparent 1.3px),radial-gradient(circle at 62% 78%,rgba(198,205,239,.85) 0 .8px,transparent 1.4px),radial-gradient(circle at 92% 64%,rgba(255,255,255,.6) 0 .6px,transparent 1.2px);
  --fs-velvet-sheen: radial-gradient(120% 90% at 50% -25%,rgba(138,120,255,.50),rgba(138,120,255,0) 62%);
  --fs-velvet-glow: radial-gradient(70% 70% at 96% 115%,rgba(18,254,162,.20),rgba(18,254,162,0) 70%);
  --fs-velvet: var(--fs-velvet-sparkles),var(--fs-velvet-sheen),var(--fs-velvet-glow),linear-gradient(180deg,#241070 0%,#10053a 100%);
  --fs-velvet-plain: var(--fs-velvet-sparkles),var(--fs-velvet-sheen),linear-gradient(180deg,#241070 0%,#10053a 100%);
  --fs-velvet-shadow: inset 0 1px 0 rgba(255,255,255,.18),inset 0 0 0 1px rgba(138,120,255,.16),inset 0 -3px 8px rgba(6,0,30,.45),0 12px 28px -12px rgba(16,5,58,.65);
  --fs-banner: var(--fs-velvet-sparkles),radial-gradient(80% 120% at 0% 0%,rgba(255,255,255,.22),rgba(255,255,255,0) 55%),radial-gradient(60% 90% at 100% 100%,rgba(18,254,162,.16),rgba(18,254,162,0) 65%),linear-gradient(120deg,#3a26c8 0%,#5a49f8 55%,#8b7bff 100%);
  --fs-banner-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 30px 60px -30px rgba(58,38,200,.45);
  --fs-velvet-text: #ffffff;
  --fs-velvet-muted: rgba(255,255,255,.72);
  --lh-row: 220px;

  /* The brand palette's tints and shades, for the Command Center's Design
     Settings (common/ui/design.py lists every colour token as a choice).
     Each family is one brand colour (named in its comment). Steps 100 to 400
     mix that colour with white: 20%, 40%, 60%, 80% of the colour, as
     color-mix(in srgb, <colour> N%, #fff). Steps 600 to 800 mix it with black:
     80%, 60%, 40% of the colour. Written as hex so Chart.js can draw them;
     test_design_settings.py recomputes each value from its brand colour. */
  /* primary: --fs-primary */
  --lh-palette-primary-100: #dedbfe;
  --lh-palette-primary-200: #bdb6fc;
  --lh-palette-primary-300: #9c92fb;
  --lh-palette-primary-400: #7b6df9;
  --lh-palette-primary-600: #483ac6;
  --lh-palette-primary-700: #362c95;
  --lh-palette-primary-800: #241d63;
  /* periwinkle: --fs-periwinkle */
  --lh-palette-periwinkle-100: #e8edff;
  --lh-palette-periwinkle-200: #d0dbff;
  --lh-palette-periwinkle-300: #b9caff;
  --lh-palette-periwinkle-400: #a1b8ff;
  --lh-palette-periwinkle-600: #6e85cc;
  --lh-palette-periwinkle-700: #536499;
  --lh-palette-periwinkle-800: #374266;
  /* lilac-glow: --fs-lilac-glow */
  --lh-palette-lilac-glow-100: #f2ebff;
  --lh-palette-lilac-glow-200: #e6d7ff;
  --lh-palette-lilac-glow-300: #d9c4ff;
  --lh-palette-lilac-glow-400: #cdb0ff;
  --lh-palette-lilac-glow-600: #9a7dcc;
  --lh-palette-lilac-glow-700: #735e99;
  --lh-palette-lilac-glow-800: #4d3e66;
  /* lilac: --lh-sherbet-lilac-dot */
  --lh-palette-lilac-100: #ebe8ff;
  --lh-palette-lilac-200: #d7d1ff;
  --lh-palette-lilac-300: #c3baff;
  --lh-palette-lilac-400: #afa3ff;
  --lh-palette-lilac-600: #7c70cc;
  --lh-palette-lilac-700: #5d5499;
  --lh-palette-lilac-800: #3e3866;
  /* mint: --fs-accent */
  --lh-palette-mint-100: #d0ffec;
  --lh-palette-mint-200: #a0ffda;
  --lh-palette-mint-300: #71fec7;
  --lh-palette-mint-400: #41feb5;
  --lh-palette-mint-600: #0ecb82;
  --lh-palette-mint-700: #0b9861;
  --lh-palette-mint-800: #076641;
  /* lemon: --lh-sherbet-lemon-dot */
  --lh-palette-lemon-100: #fafdd8;
  --lh-palette-lemon-200: #f4fbb0;
  --lh-palette-lemon-300: #eff989;
  --lh-palette-lemon-400: #e9f761;
  --lh-palette-lemon-600: #b6c42e;
  --lh-palette-lemon-700: #899323;
  --lh-palette-lemon-800: #5b6217;
  /* pink: --lh-sherbet-pink-dot */
  --lh-palette-pink-100: #ffdef4;
  --lh-palette-pink-200: #ffbee9;
  --lh-palette-pink-300: #ff9dde;
  --lh-palette-pink-400: #ff7dd3;
  --lh-palette-pink-600: #cc4aa0;
  --lh-palette-pink-700: #993778;
  --lh-palette-pink-800: #662550;
  /* ink: --fs-text */
  --lh-palette-ink-100: #d0cdd9;
  --lh-palette-ink-200: #a19bb3;
  --lh-palette-ink-300: #72688e;
  --lh-palette-ink-400: #433668;
  --lh-palette-ink-600: #100335;
  --lh-palette-ink-700: #0c0228;
  --lh-palette-ink-800: #08021a;

  /* Colours the design file wrote as raw hex codes, with no --fs-* name. */
  --fs-black: #000;
  --fs-error: #b00020;
  /* The photo slot: its highlight, error text and empty state. */
  --fs-slot-accent: #c96442;
  --fs-slot-error: #b3261e;
  --fs-slot-empty-bg: #f2f1ef;
  --fs-slot-empty-text: #6e6c66;
  /* The toast notice styles in the design file. */
  --fs-toast-dark: #121212;
  --fs-toast-info: #3498db;
  --fs-toast-success: #07bc0c;
  --fs-toast-warning: #f1c40f;
  --fs-toast-text: #757575;
  --fs-toast-spinner: #616161;
  --fs-toast-spinner-empty: #e0e0e0;
  --fs-toast-progress-dark: #bb86fc;
  --fs-toast-rainbow-1: #4cd964;
  --fs-toast-rainbow-2: #5ac8fa;
  --fs-toast-rainbow-3: #007aff;
  --fs-toast-rainbow-4: #34aadc;
  --fs-toast-rainbow-5: #5856d6;
  --fs-toast-rainbow-6: #ff2d55;
  /* Beach Island (new/world/beach/): the golden-hour sky, sea, lagoon and sun of the 3D scene (beach.js), used by its controls. */
  --lh-beach-sky: #ffb48a;
  --lh-beach-sea: #0b5a78;
  --lh-beach-sea-hi: #13839c;
  --lh-beach-sea-mid: #0f7290;
  --lh-beach-sea-deep: #06324a;
  --lh-beach-lagoon: #33e6d2;
  --lh-beach-foam: #c8fff4;
  --lh-beach-lagoon-deep: #0aa8a0;
  --lh-beach-lagoon-edge: #077a78;
  --lh-beach-sun: #ffd23f;
  --lh-beach-sun-hi: #fff0a8;
  --lh-beach-sun-lo: #d9a21e;
  --lh-beach-sun-edge: #9c6e0a;
}
