/* ═══════════════════════════════════════════════════════════════════════════════════════════
   CAPTEE — ONE DESIGN LANGUAGE, WRITTEN DOWN ONCE
   ═══════════════════════════════════════════════════════════════════════════════════════════
   Patrik, 2026-09-24: "I want to have same design across entire web from landing to edit tab,
   studio, etc." Before this file there were TWO products wearing different clothes:

     landing/next.css + web/start.css   warm  — #08070A ground, #FF8A3D amber, Space Grotesk
     web/index.html  + web/studio.html  cool  — #070609 ground, #8B5CF6 violet, #D9FF4B lime

   Four :root blocks, four sets of names for the same ideas, and Studio — the oldest of them —
   drifting furthest because nothing held it. Repainting them one by one would drift again inside
   a month, so the language lives HERE and every surface imports it.

   ── HOW THIS FILE IS MEANT TO BE USED ──────────────────────────────────────────────────────
   Two layers, and the second is why the editor can be re-skinned without moving a single node:

     1. THE LANGUAGE — the real tokens, named once, below.
     2. THE ALIASES — every name the four surfaces ALREADY use, pointed at a token. The editor
        routes 1,089 colours through var(); redefining what those names mean re-skins all of
        them and changes no rule, no class and no element. That is the whole trick.

   So a rule written as `background: var(--srf2)` in 2026-07 keeps working and simply comes out
   in the new language. Nothing is renamed. Nothing moves.

   ⚠ ADD A COLOUR HERE OR NOWHERE. A literal hex in a surface file is how the drift started.
   ═══════════════════════════════════════════════════════════════════════════════════════════ */

:root {

  /* ── GROUND ──────────────────────────────────────────────────────────────────────────────
     Taken from the METALLIC GROUND the landing actually paints (landing/next.css ~line 2017),
     not from the --bg it declares near line 31, which is dead code overridden by an !important
     further down. Warm-neutral charcoal, darkening toward the foot, so a panel sits ABOVE the
     ground rather than below it. The old cool grounds (#070609, #08070A) were near-black and
     purple-biased; these are the same darkness with the blue taken out. */
  --bg:        #121213;
  --bg-top:    #1B1B1E;
  --bg-mid:    #161617;
  --bg-foot:   #0E0E0F;

  /* Surfaces: three steps above the ground, replacing the editor's --srf/--srf2/--srf3.
     Same lightness as the values they replace, warm-neutral instead of violet-tinted. */
  --panel:     #17161A;
  --panel-2:   #1D1C20;
  --panel-3:   #272529;
  --panel-hi:  #2F2D31;

  /* ── INK ─────────────────────────────────────────────────────────────────────────────────
     The warm family's ramp wins: it is already shared by the landing and the flow, and a warm
     white on a warm ground is the pairing the reference has. Four steps, each a real job. */
  --tx:        #F6F1EA;   /* headings, the thing you are reading                */
  --tx2:       #C9C0B4;   /* body, labels, anything secondary but still read    */
  --mut:       #9A9188;   /* hints, units, the quiet half of a pair             */
  --faint:     #6B635A;   /* disabled, watermarks, counts                       */

  /* ── THE ACCENT, AND IT MEANS ONE THING ──────────────────────────────────────────────────
     Amber is "act on this": the primary button, the playhead, the selected object, the cut a
     pass made. It is never decoration and never a category. The editor's lime (#D9FF4B) and
     violet (#8B5CF6) both meant "act" in different places, which is why nothing read as
     primary — three accents is no accent. */
  --acc:       #FF8A3D;
  --acc-l:     #FEB122;
  --acc-d:     #E4661B;
  --acc-rgb:   255,138,61;
  --acc-l-rgb: 254,177,34;
  --acc-tint:  rgba(255,138,61,.14);   /* the fill behind a selected thing      */
  --acc-line:  rgba(255,168,92,.75);   /* its edge                              */
  --acc-glow:  0 0 10px rgba(254,177,34,.55);

  /* ── NEUTRAL SELECTION (Patrik 2026-09-28, plan 2 item 3: "all orangy … good for one day then it's noise, I would
     have that in darker greyish colours"). A CONTROL's state — a toggle that is on, a slider's fill, the chosen tile,
     the active tab — is grey: a fill one step lighter than the panel, a light-grey edge, a light thumb. The amber
     above is kept for what it means: the playhead, the selected layer and the one primary action (Export). */
  --sig:       var(--acc);          /* the signal amber, named for the three places allowed to use it */
  --sig-l:     var(--acc-l);
  --sig-rgb:   var(--acc-rgb);
  --sig-l-rgb: var(--acc-l-rgb);
  --sel-rgb:   200,197,191;         /* a control's "on", in place of --acc-rgb                        */
  --sel-l-rgb: 236,232,226;         /* its light edge / thumb, in place of --acc-l-rgb                */
  --sel:       #C8C5BF;
  --sel-l:     #ECE8E2;
  --sel-d:     #9E9A94;
  --sel-fill:  rgba(236,232,226,.10);   /* one step lighter than the panel */
  --sel-line:  rgba(236,232,226,.42);

  /* ── KIND ────────────────────────────────────────────────────────────────────────────────
     Colour that answers WHAT SORT of thing this is — a graphics layer, a text layer, a caption,
     a sound. Never which one is selected; that is the accent's job and the two must not fight.
     No kind is amber, for exactly that reason. Each also differs in LIGHTNESS, so the set holds
     up for anyone who does not separate hues well, and in a greyscale screenshot.
     Given as raw triples: a kind is used at many strengths (a 3px cap at .85, a fill at .09). */
  /* ⚠ FIVE FAMILIES, NOT THIRTEEN. The editor's timeline had a hue for every lane — text, hook,
     graphic, picture, b-roll, audio, zoom, transition, re-center, background, captions, grade —
     and at that count colour stops being information: thirteen hues cannot be told apart, three
     of them collided in lightness, one was amber (which the language reserves for selection) and
     one was the lime this re-skin is retiring. The BROAD kind takes the colour; the specific kind
     is already carried by the glyph in each pill. */
  /* ⭐ SWAPPED, AND TURNED UP (Patrik 2026-09-24: "for our text and graphic layers — let's swap
     the colors. But also make them more colored. now it's all hard to see and hard to read for
     eyes"). Words are green and graphics are violet now, the opposite of what shipped this
     morning. Every kind also gains chroma: the first set was chosen to recede against the
     footage, and on a dark timeline at 9% fill they receded into it. */
  --k-vid:      82,196,180;   /* footage — b-roll, a picture: teal            */
  --k-txt:     132,214,106;   /* words — text, hook, captions: green          */
  --k-gfx:     172,126,255;   /* graphics: violet                             */
  --k-snd:     108,170,255;   /* anything you hear — audio, sfx, music: blue  */
  --k-adj:     190,180,166;   /* adjustments — zoom, transition, re-center,
                                 background, grade: warm grey. They change the
                                 picture rather than add to it, so they recede. */
  --k-cap:     110,205,205;   /* kept: the flow's strip and the timeline mock */
  --k-mus:     104,132,210;
  --k-wave:    255,176,116;   /* the waveform's warm tan, on the main track   */

  /* ── LINES ───────────────────────────────────────────────────────────────────────────────
     Hairlines and flat planes, not rounded cards. A border is a division; it is not there to
     make an object. Three weights is all this product needs. */
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);
  --line-warm: rgba(255,190,120,.10);

  /* ── STATES ──────────────────────────────────────────────────────────────────────────────
     One wash for hover, one for pressed, one ring for keyboard focus, everywhere. */
  --hover:     rgba(255,255,255,.055);
  --active:    rgba(255,255,255,.10);
  --focus:     0 0 0 2px rgba(254,177,34,.65);

  /* ── SEMANTIC ────────────────────────────────────────────────────────────────────────────
     Separate from the accent, because "this succeeded" and "act on this" are different
     sentences. Warned rather than red-alerted: this app tells you things, it does not alarm. */
  --ok:        #4ADE80;
  --warn:      #FFB454;
  --err:       #FF8A8A;

  /* ── TYPE ────────────────────────────────────────────────────────────────────────────────
     Space Grotesk carries the display voice, Inter does the work. Both already loaded by every
     surface, so this settles which does what rather than adding a face. */
  --disp: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ui:   'Inter', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* A scale, so a size is chosen from a set rather than typed. The four surfaces between them
     used 10, 10.5, 11, 11.5, 12, 12.5, 13, 13.5, 14 … — which is not a scale, it is a habit. */
  --f-xs:   10px;
  --f-sm:   11.5px;
  --f-md:   13px;
  --f-lg:   16px;
  --f-xl:   20px;
  --f-2xl:  28px;
  --f-3xl:  40px;
  --f-hero: 60px;

  /* ── SPACE ───────────────────────────────────────────────────────────────────────────────
     A 4px base. Gaps come from here so a row's rhythm is a decision, not an accident. */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* ── RADII ───────────────────────────────────────────────────────────────────────────────
     Tighter than either family used (the editor sat at 12/14/18). Flat planes with a softened
     corner, not cards: the bigger a radius gets the more a thing claims to be a separate
     object, and this product has too many objects already. --r-pill stays for real pills. */
  --r-xs:   4px;
  --r-sm:   8px;
  --r:      10px;
  --r-lg:   14px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;


  /* ═════════════════════════════════════════════════════════════════════════════════════════
     ALIASES — every name the four surfaces already use, pointed at the language above.
     Nothing below introduces a colour. This block exists so that not one rule, class or
     element has to change for a surface to come out in the new language.
     ═════════════════════════════════════════════════════════════════════════════════════════ */

  /* the editor + studio + styleguide chrome (web/index.html, web/studio.html) */
  --srf:         var(--panel);
  --srf2:        var(--panel-2);
  --srf3:        var(--panel-3);
  --panel2:      var(--panel-2);
  --panel3:      var(--panel-3);
  --text:        var(--tx);
  --muted:       var(--mut);
  --dim:         var(--faint);
  --rail-tx:     var(--tx2);
  --font-disp:   var(--disp);
  --font-ui:     var(--ui);

  /* ⚠ THE THREE THAT CARRIED THE OLD LOOK. brand/brand-2 were the violet pair and `accent` was
     the lime; the editor's own note called lime "ACTION ONLY, one per screen", which is exactly
     what amber is for now. Pointing them here is what turns the editor warm without touching a
     rule. The 152 places that wrote #8B5CF6 / #a98bff / #D9FF4B as literals are swept
     separately — a literal cannot be aliased. */
  --brand:       var(--acc);
  --brand-2:     var(--acc-l);
  --accent:      var(--acc-l);
  --accent-dim:  var(--acc-tint);
  --kp-purple:   var(--acc);
  --kp-purple2:  var(--acc-l);

  /* ⚠ STUDIO'S --lime / --violet / --violet2 / --cyan ARE NOT ALIASED HERE, on purpose. They
     read like category colours but Studio spends them on SELECTED states — .preset.on,
     .toggle.on, .motion.on, .category.on, the focus border, accent-color — and the language
     reserves that for amber. Pointing them at the KIND hues would have made the selected thing
     wear a category colour, which is the one thing colour must not say. Studio names them in
     its own :root instead, so the intent is visible where it is spent. */

  /* the landing + flow (landing/next.css, web/start.css) */
  --acc-dd:      #2A1608;
  --warm:        var(--acc-l);
  --warm-l:      #FFD37A;
  --R:           var(--acc-rgb);
  --L:           var(--acc-l-rgb);

  /* radii under the editor's older names */
  --r-sm-legacy: var(--r-sm);
  --r-md:        var(--r);
  --r-lg-legacy: var(--r-lg);
}

/* ==== INHERITED PALETTE ==============================================================
   Every colour that was still written as a literal in a stylesheet, moved here so that no
   surface carries a hex of its own. This is TIER 2 and it is not the language: the language is
   the block above, and new work uses that. These are the colours this product accumulated
   before it had one — 1121 of them across 9 files — kept at their own values so the re-skin did
   not become a redesign.

   HOW THEY WERE CHOSEN: grouped by hue family (n neutral, w warm, b cool, g green, r red),
   then a step kept for every colour more than deltaE 5 from an existing step, the most-used
   value winning each time. So every large flat area snapped to ITSELF at deltaE 0 and the
   worst shift anywhere is under 5, which is invisible on the hairlines, gradient stops and
   shadow tints that most of these are. The name carries the family and the L* value.

   ⚠ THIS LIST IS A DEBT, NOT A PALETTE. It should shrink every time a surface is touched.
   ======================================================================== */
:root {
  /* neutral */
  --p-n00: #000000; --p-n00-rgb: 0,0,0;
  --p-n01: #050506; --p-n01-rgb: 5,5,6;
  --p-n01a: #050507; --p-n01a-rgb: 5,5,7;
  --p-n02: #060608; --p-n02-rgb: 6,6,8;
  --p-n02a: #070609; --p-n02a-rgb: 7,6,9;
  --p-n02b: #08070a; --p-n02b-rgb: 8,7,10;
  --p-n02c: #09080c; --p-n02c-rgb: 9,8,12;
  --p-n02d: #09080d; --p-n02d-rgb: 9,8,13;
  --p-n03: #09090c; --p-n03-rgb: 9,9,12;
  --p-n03a: #0a090d; --p-n03a-rgb: 10,9,13;
  --p-n03b: #0a090e; --p-n03b-rgb: 10,9,14;
  --p-n03c: #0a0a0a; --p-n03c-rgb: 10,10,10;
  --p-n03d: #0b0a09; --p-n03d-rgb: 11,10,9;
  --p-n03e: #0b0a0a; --p-n03e-rgb: 11,10,10;
  --p-n03f: #0b0a0e; --p-n03f-rgb: 11,10,14;
  --p-n03g: #0b0a10; --p-n03g-rgb: 11,10,16;
  --p-n03h: #0b0a12; --p-n03h-rgb: 11,10,18;
  --p-n03i: #0c0a14; --p-n03i-rgb: 12,10,20;
  --p-n03j: #0c0b10; --p-n03j-rgb: 12,11,16;
  --p-n03k: #0c0b11; --p-n03k-rgb: 12,11,17;
  --p-n03l: #0c0b14; --p-n03l-rgb: 12,11,20;
  --p-n03m: #0d0b14; --p-n03m-rgb: 13,11,20;
  --p-n04: #0d0c11; --p-n04-rgb: 13,12,17;
  --p-n04a: #0d0c12; --p-n04a-rgb: 13,12,18;
  --p-n04b: #0d0d10; --p-n04b-rgb: 13,13,16;
  --p-n04c: #0d0d11; --p-n04c-rgb: 13,13,17;
  --p-n04d: #0d0d12; --p-n04d-rgb: 13,13,18;
  --p-n04e: #0e0d16; --p-n04e-rgb: 14,13,22;
  --p-n04f: #0f0d14; --p-n04f-rgb: 15,13,20;
  --p-n04g: #0e0e0f; --p-n04g-rgb: 14,14,15;
  --p-n04h: #0e0e13; --p-n04h-rgb: 14,14,19;
  --p-n04i: #100e15; --p-n04i-rgb: 16,14,21;
  --p-n05: #111010; --p-n05-rgb: 17,16,16;
  --p-n05a: #12100e; --p-n05a-rgb: 18,16,14;
  --p-n05b: #101014; --p-n05b-rgb: 16,16,20;
  --p-n05c: #101015; --p-n05c-rgb: 16,16,21;
  --p-n05d: #111017; --p-n05d-rgb: 17,16,23;
  --p-n05e: #111111; --p-n05e-rgb: 17,17,17;
  --p-n05f: #121017; --p-n05f-rgb: 18,16,23;
  --p-n05g: #111113; --p-n05g-rgb: 17,17,19;
  --p-n05h: #111117; --p-n05h-rgb: 17,17,23;
  --p-n05i: #121118; --p-n05i-rgb: 18,17,24;
  --p-n05j: #121213; --p-n05j-rgb: 18,18,19;
  --p-n06: #131119; --p-n06-rgb: 19,17,25;
  --p-n06a: #141210; --p-n06a-rgb: 20,18,16;
  --p-n06b: #12121a; --p-n06b-rgb: 18,18,26;
  --p-n06c: #171210; --p-n06c-rgb: 23,18,16;
  --p-n06d: #131314; --p-n06d-rgb: 19,19,20;
  --p-n06e: #14121a; --p-n06e-rgb: 20,18,26;
  --p-n06f: #131318; --p-n06f-rgb: 19,19,24;
  --p-n06g: #141415; --p-n06g-rgb: 20,20,21;
  --p-n06h: #141416; --p-n06h-rgb: 20,20,22;
  --p-n07: #171413; --p-n07-rgb: 23,20,19;
  --p-n07a: #15141c; --p-n07a-rgb: 21,20,28;
  --p-n07b: #151517; --p-n07b-rgb: 21,21,23;
  --p-n07c: #171512; --p-n07c-rgb: 23,21,18;
  --p-n07d: #161617; --p-n07d-rgb: 22,22,23;
  --p-n08: #17161c; --p-n08-rgb: 23,22,28;
  --p-n08a: #17161d; --p-n08a-rgb: 23,22,29;
  --p-n09: #1a1a1c; --p-n09-rgb: 26,26,28;
  --p-n09a: #1a1a1d; --p-n09a-rgb: 26,26,29;
  --p-n10: #1a1a22; --p-n10-rgb: 26,26,34;
  --p-n10a: #1b1b1e; --p-n10a-rgb: 27,27,30;
  --p-n10b: #221a16; --p-n10b-rgb: 34,26,22;
  --p-n14: #232326; --p-n14-rgb: 35,35,38;
  --p-n15: #26262a; --p-n15-rgb: 38,38,42;
  --p-n17: #2a2a2e; --p-n17-rgb: 42,42,46;
  --p-n25: #3a3a43; --p-n25-rgb: 58,58,67;
  --p-n42: #6b625c; --p-n42-rgb: 107,98,92;
  --p-n48: #7a716a; --p-n48-rgb: 122,113,106;
  --p-n55: #8c837c; --p-n55-rgb: 140,131,124;
  --p-n57: #888888; --p-n57-rgb: 136,136,136;
  --p-n60: #9a9089; --p-n60-rgb: 154,144,137;
  --p-n64: #9a9a9a; --p-n64-rgb: 154,154,154;
  --p-n66: #a79e96; --p-n66-rgb: 167,158,150;
  --p-n72: #b7aea6; --p-n72-rgb: 183,174,166;
  --p-n80: #c7c4cf; --p-n80-rgb: 199,196,207;
  --p-n81: #cfc7bf; --p-n81-rgb: 207,199,191;
  --p-n85: #d7d4de; --p-n85-rgb: 215,212,222;
  --p-n88: #dddddd; --p-n88-rgb: 221,221,221;
  --p-n92: #efe8e1; --p-n92-rgb: 239,232,225;
  --p-n94: #edecf2; --p-n94-rgb: 237,236,242;
  --p-n94a: #f3ece4; --p-n94a-rgb: 243,236,228;
  --p-n94b: #f4eee7; --p-n94b-rgb: 244,238,231;
  --p-n95: #f1eff7; --p-n95-rgb: 241,239,247;
  --p-n95a: #f6f0e9; --p-n95a-rgb: 246,240,233;
  --p-n96: #f7f2eb; --p-n96-rgb: 247,242,235;
  --p-n96a: #fbf3eb; --p-n96a-rgb: 251,243,235;
  --p-n97: #f7f5fb; --p-n97-rgb: 247,245,251;
  --p-n98: #fff8f0; --p-n98-rgb: 255,248,240;
  --p-n100: #ffffff; --p-n100-rgb: 255,255,255;
  --p-n100a: #ffffff; --p-n100a-rgb: 255,255,255;
  /* warm */
  --p-w06: #1b1007; --p-w06-rgb: 27,16,7;
  --p-w07: #2b0b0b; --p-w07-rgb: 43,11,11;
  --p-w14: #2b211a; --p-w14-rgb: 43,33,26;
  --p-w14a: #2a2410; --p-w14a-rgb: 42,36,16;
  --p-w19: #3a2c23; --p-w19-rgb: 58,44,35;
  --p-w49: #7c7368; --p-w49-rgb: 124,115,104;
  --p-w53: #ff0000; --p-w53-rgb: 255,0,0;
  --p-w55: #8b8178; --p-w55-rgb: 139,129,120;
  --p-w55a: #ef4444; --p-w55a-rgb: 239,68,68;
  --p-w58: #e0663c; --p-w58-rgb: 224,102,60;
  --p-w59: #ff4d4d; --p-w59-rgb: 255,77,77;
  --p-w60: #e06c6c; --p-w60-rgb: 224,108,108;
  --p-w60a: #ff5555; --p-w60a-rgb: 255,85,85;
  --p-w61: #9a9188; --p-w61-rgb: 154,145,136;
  --p-w62: #ff5f57; --p-w62-rgb: 255,95,87;
  --p-w64: #ff6b6b; --p-w64-rgb: 255,107,107;
  --p-w64a: #c98f6a; --p-w64a-rgb: 201,143,106;
  --p-w68: #b3a392; --p-w68-rgb: 179,163,146;
  --p-w68a: #ff8080; --p-w68a-rgb: 255,128,128;
  --p-w70: #ff8a80; --p-w70-rgb: 255,138,128;
  --p-w70a: #ff8a8a; --p-w70a-rgb: 255,138,138;
  --p-w71: #d8a63e; --p-w71-rgb: 216,166,62;
  --p-w71a: #b5ada2; --p-w71a-rgb: 181,173,162;
  --p-w71b: #ff8f8f; --p-w71b-rgb: 255,143,143;
  --p-w75: #ffa24f; --p-w75-rgb: 255,162,79;
  --p-w75a: #ff9d9d; --p-w75a-rgb: 255,157,157;
  --p-w75b: #e0b23c; --p-w75b-rgb: 224,178,60;
  --p-w75c: #f0a5a5; --p-w75c-rgb: 240,165,165;
  --p-w76: #e8b44a; --p-w76-rgb: 232,180,74;
  --p-w77: #f6b234; --p-w77-rgb: 246,178,52;
  --p-w78: #ffb122; --p-w78-rgb: 255,177,34;
  --p-w78a: #ffb169; --p-w78a-rgb: 255,177,105;
  --p-w78b: #f0b866; --p-w78b-rgb: 240,184,102;
  --p-w78c: #f5b75a; --p-w78c-rgb: 245,183,90;
  --p-w80: #ffb86b; --p-w80-rgb: 255,184,107;
  --p-w80a: #ffb870; --p-w80a-rgb: 255,184,112;
  --p-w80b: #ffb3b3; --p-w80b-rgb: 255,179,179;
  --p-w80c: #ffb877; --p-w80c-rgb: 255,184,119;
  --p-w80d: #cfc6ba; --p-w80d-rgb: 207,198,186;
  --p-w80e: #febc2e; --p-w80e-rgb: 254,188,46;
  --p-w82: #f5c542; --p-w82-rgb: 245,197,66;
  --p-w82a: #ffc07a; --p-w82a-rgb: 255,192,122;
  --p-w82b: #f7c295; --p-w82b-rgb: 247,194,149;
  --p-w82c: #ffc08c; --p-w82c-rgb: 255,192,140;
  --p-w83: #e6c9a8; --p-w83-rgb: 230,201,168;
  --p-w84: #d9cfc2; --p-w84-rgb: 217,207,194;
  --p-w84a: #ffcb00; --p-w84a-rgb: 255,203,0;
  --p-w84b: #ffc98a; --p-w84b-rgb: 255,201,138;
  --p-w85: #ffc9a6; --p-w85-rgb: 255,201,166;
  --p-w85a: #ffcf6b; --p-w85a-rgb: 255,207,107;
  --p-w86: #ffcf80; --p-w86-rgb: 255,207,128;
  --p-w86a: #ffd400; --p-w86a-rgb: 255,212,0;
  --p-w86b: #ffd0a0; --p-w86b-rgb: 255,208,160;
  --p-w88: #ffd79a; --p-w88-rgb: 255,215,154;
  --p-w88a: #ffd4d4; --p-w88a-rgb: 255,212,212;
  --p-w89: #ffd9a8; --p-w89-rgb: 255,217,168;
  --p-w89a: #ffd9b0; --p-w89a-rgb: 255,217,176;
  --p-w90: #f3dec8; --p-w90-rgb: 243,222,200;
  --p-w90a: #ffdbcf; --p-w90a-rgb: 255,219,207;
  --p-w91: #ffe0a8; --p-w91-rgb: 255,224,168;
  --p-w91a: #ffe0be; --p-w91a-rgb: 255,224,190;
  --p-w91b: #f6e3ce; --p-w91b-rgb: 246,227,206;
  --p-w92: #efe6dc; --p-w92-rgb: 239,230,220;
  --p-w92a: #ffe3c6; --p-w92a-rgb: 255,227,198;
  --p-w93: #ffe7c9; --p-w93-rgb: 255,231,201;
  --p-w93a: #ffe9c2; --p-w93a-rgb: 255,233,194;
  --p-w93b: #ffe9ce; --p-w93b-rgb: 255,233,206;
  --p-w94: #ffe9d2; --p-w94-rgb: 255,233,210;
  --p-w94a: #fcebd8; --p-w94a-rgb: 252,235,216;
  --p-w94b: #ffebd3; --p-w94b-rgb: 255,235,211;
  --p-w95: #fff2b8; --p-w95-rgb: 255,242,184;
  --p-w96: #fff1e2; --p-w96-rgb: 255,241,226;
  --p-w96a: #fff3e6; --p-w96a-rgb: 255,243,230;
  --p-w97: #fff4e4; --p-w97-rgb: 255,244,228;
  --p-w97a: #fff6ea; --p-w97a-rgb: 255,246,234;
  --p-w97b: #fff6ec; --p-w97b-rgb: 255,246,236;
  --p-w98: #fff7ec; --p-w98-rgb: 255,247,236;
  /* cool */
  --p-b03: #0c0a16; --p-b03-rgb: 12,10,22;
  --p-b05: #12101a; --p-b05-rgb: 18,16,26;
  --p-b06: #12111f; --p-b06-rgb: 18,17,31;
  --p-b06a: #131220; --p-b06a-rgb: 19,18,32;
  --p-b06b: #141221; --p-b06b-rgb: 20,18,33;
  --p-b06c: #15131c; --p-b06c-rgb: 21,19,28;
  --p-b06d: #141225; --p-b06d-rgb: 20,18,37;
  --p-b07: #17141e; --p-b07-rgb: 23,20,30;
  --p-b07a: #17151d; --p-b07a-rgb: 23,21,29;
  --p-b07b: #17151f; --p-b07b-rgb: 23,21,31;
  --p-b08: #191329; --p-b08-rgb: 25,19,41;
  --p-b08a: #171526; --p-b08a-rgb: 23,21,38;
  --p-b08b: #171622; --p-b08b-rgb: 23,22,34;
  --p-b09: #181820; --p-b09-rgb: 24,24,32;
  --p-b09a: #191922; --p-b09a-rgb: 25,25,34;
  --p-b09b: #1a1240; --p-b09b-rgb: 26,18,64;
  --p-b09c: #1b1538; --p-b09c-rgb: 27,21,56;
  --p-b10: #1b1a27; --p-b10-rgb: 27,26,39;
  --p-b10a: #1b1a2b; --p-b10a-rgb: 27,26,43;
  --p-b11: #1e1b25; --p-b11-rgb: 30,27,37;
  --p-b11a: #201c28; --p-b11a-rgb: 32,28,40;
  --p-b11b: #201d27; --p-b11b-rgb: 32,29,39;
  --p-b12: #1e1c33; --p-b12-rgb: 30,28,51;
  --p-b13: #20202a; --p-b13-rgb: 32,32,42;
  --p-b13a: #241d3f; --p-b13a-rgb: 36,29,63;
  --p-b15: #26232f; --p-b15-rgb: 38,35,47;
  --p-b15a: #1b2733; --p-b15a-rgb: 27,39,51;
  --p-b16: #292631; --p-b16-rgb: 41,38,49;
  --p-b16a: #2a2732; --p-b16a-rgb: 42,39,50;
  --p-b17: #2a2740; --p-b17-rgb: 42,39,64;
  --p-b18: #2a1c6e; --p-b18-rgb: 42,28,110;
  --p-b18a: #341a6a; --p-b18a-rgb: 52,26,106;
  --p-b19: #16286e; --p-b19-rgb: 22,40,110;
  --p-b25: #3a3a44; --p-b25-rgb: 58,58,68;
  --p-b30: #494553; --p-b30-rgb: 73,69,83;
  --p-b30a: #2f4a63; --p-b30a-rgb: 47,74,99;
  --p-b31: #4a4654; --p-b31-rgb: 74,70,84;
  --p-b31a: #4b4656; --p-b31a-rgb: 75,70,86;
  --p-b31b: #4c4754; --p-b31b-rgb: 76,71,84;
  --p-b32: #0000ff; --p-b32-rgb: 0,0,255;
  --p-b33: #504a59; --p-b33-rgb: 80,74,89;
  --p-b34: #4e38b8; --p-b34-rgb: 78,56,184;
  --p-b39: #5a3fd8; --p-b39-rgb: 90,63,216;
  --p-b39a: #5c5c68; --p-b39a-rgb: 92,92,104;
  --p-b42: #7a3fd0; --p-b42-rgb: 122,63,208;
  --p-b43: #2f5bd8; --p-b43-rgb: 47,91,216;
  --p-b45: #5a6a8a; --p-b45-rgb: 90,106,138;
  --p-b49: #635bff; --p-b49-rgb: 99,91,255;
  --p-b50: #777483; --p-b50-rgb: 119,116,131;
  --p-b52: #7b7a88; --p-b52-rgb: 123,122,136;
  --p-b52a: #8c5cff; --p-b52a-rgb: 140,92,255;
  --p-b53: #7e7c8a; --p-b53-rgb: 126,124,138;
  --p-b58: #8b8998; --p-b58-rgb: 139,137,152;
  --p-b58a: #8e78f4; --p-b58a-rgb: 142,120,244;
  --p-b58b: #8f88a6; --p-b58b-rgb: 143,136,166;
  --p-b60: #5b8cff; --p-b60-rgb: 91,140,255;
  --p-b60a: #ff00ff; --p-b60a-rgb: 255,0,255;
  --p-b60b: #8f80ff; --p-b60b-rgb: 143,128,255;
  --p-b66: #98a0ae; --p-b66-rgb: 152,160,174;
  --p-b67: #a49fc0; --p-b67-rgb: 164,159,192;
  --p-b67a: #7aa2ff; --p-b67a-rgb: 122,162,255;
  --p-b68: #a996ff; --p-b68-rgb: 169,150,255;
  --p-b69: #aaa7b3; --p-b69-rgb: 170,167,179;
  --p-b74: #b9b0dc; --p-b74-rgb: 185,176,220;
  --p-b74a: #b8b5c1; --p-b74a-rgb: 184,181,193;
  --p-b74b: #b9b3d0; --p-b74b-rgb: 185,179,208;
  --p-b76: #c3aeff; --p-b76-rgb: 195,174,255;
  --p-b77: #00d0ff; --p-b77-rgb: 0,208,255;
  --p-b78: #22d3ee; --p-b78-rgb: 34,211,238;
  --p-b79: #c7bdff; --p-b79-rgb: 199,189,255;
  --p-b80: #cbbcff; --p-b80-rgb: 203,188,255;
  --p-b80a: #cbbeff; --p-b80a-rgb: 203,190,255;
  --p-b81: #c9c7d4; --p-b81-rgb: 201,199,212;
  --p-b82: #cfc8ee; --p-b82-rgb: 207,200,238;
  --p-b84: #d8ccff; --p-b84-rgb: 216,204,255;
  --p-b86: #d8d4e8; --p-b86-rgb: 216,212,232;
  --p-b88: #8fe9ff; --p-b88-rgb: 143,233,255;
  --p-b88a: #bfe0ff; --p-b88a-rgb: 191,224,255;
  --p-b89: #d6dfff; --p-b89-rgb: 214,223,255;
  --p-b89a: #e4dcff; --p-b89a-rgb: 228,220,255;
  --p-b91: #00ffff; --p-b91-rgb: 0,255,255;
  --p-b92: #dfe8fb; --p-b92-rgb: 223,232,251;
  --p-b92a: #e9e7f3; --p-b92a-rgb: 233,231,243;
  --p-b93: #ede9ff; --p-b93-rgb: 237,233,255;
  --p-b94: #edebff; --p-b94-rgb: 237,235,255;
  --p-b94a: #ddf0ff; --p-b94a-rgb: 221,240,255;
  --p-b94b: #c9f5ff; --p-b94b-rgb: 201,245,255;
  --p-b94c: #efecff; --p-b94c-rgb: 239,236,255;
  --p-b94d: #f1edf9; --p-b94d-rgb: 241,237,249;
  /* green */
  --p-g08: #0f1a08; --p-g08-rgb: 15,26,8;
  --p-g10: #08210f; --p-g10-rgb: 8,33,15;
  --p-g11: #152000; --p-g11-rgb: 21,32,0;
  --p-g13: #1d2412; --p-g13-rgb: 29,36,18;
  --p-g16: #052e12; --p-g16-rgb: 5,46,18;
  --p-g71: #28c840; --p-g71-rgb: 40,200,64;
  --p-g71a: #34c759; --p-g71a-rgb: 52,199,89;
  --p-g76: #34d399; --p-g76-rgb: 52,211,153;
  --p-g78: #63d68b; --p-g78-rgb: 99,214,139;
  --p-g87: #7cf0b4; --p-g87-rgb: 124,240,180;
  --p-g88: #00ff00; --p-g88-rgb: 0,255,0;
  --p-g88a: #9cf0b4; --p-g88a-rgb: 156,240,180;
  --p-g88b: #4dff00; --p-g88b-rgb: 77,255,0;
  --p-g89: #c8f03f; --p-g89-rgb: 200,240,63;
  --p-g91: #bff0d4; --p-g91-rgb: 191,240,212;
  --p-g92: #c7f94a; --p-g92-rgb: 199,249,74;
  --p-g95: #dff6e8; --p-g95-rgb: 223,246,232;
  --p-g95a: #e2ff6b; --p-g95a-rgb: 226,255,107;
  --p-g96: #e7ff83; --p-g96-rgb: 231,255,131;
  --p-g96a: #ccfff7; --p-g96a-rgb: 204,255,247;
  --p-g97: #e9ffab; --p-g97-rgb: 233,255,171;
  --p-g97a: #edff9a; --p-g97a-rgb: 237,255,154;
  --p-g97b: #d9ffe9; --p-g97b-rgb: 217,255,233;
  --p-g97c: #ffff00; --p-g97c-rgb: 255,255,0;
  --p-g97d: #fff8d6; --p-g97d-rgb: 255,248,214;
  --p-g97e: #ecffc9; --p-g97e-rgb: 236,255,201;
  /* red */
  --p-r02: #1a0000; --p-r02-rgb: 26,0,0;
  --p-r63: #ff4dd8; --p-r63-rgb: 255,77,216;
  --p-r75: #ff9db4; --p-r75-rgb: 255,157,180;
  --p-r90: #ffd9ea; --p-r90-rgb: 255,217,234;
}

/* ══ OUR SCROLLBAR, EVERYWHERE (Patrik 2026-09-28, plan 2 item 6: "I want our own design for that in every section
   where scroll is needed") ══════════════════════════════════════════════════════════════════════════════════════
   ⚠ Chromium IGNORES ::-webkit-scrollbar on any element whose standard scrollbar-width / scrollbar-color is not
   `auto`, and draws the platform bar instead — a white track and a grey thumb. 35 declarations across the app, the
   Studio, /start and the landing set them, each one beating the app-wide rule on its own element. So in Chromium
   both are forced back to `auto` here, once, for every page that loads tokens.css; a scroller that should show no
   bar keeps its own ::-webkit-scrollbar{display:none}. Firefox, which has no ::-webkit-scrollbar, keeps the
   standard properties. tools/scrollbar_check.py fails on any scroller that draws the platform bar.
   One design, both axes: an 8px vertical bar on a transparent track; a 6px horizontal one (style rails,
   galleries) that shows only while the pointer is over the rail, where the edge fade already says "more". */
@supports selector(::-webkit-scrollbar){
  *{scrollbar-width:auto !important;scrollbar-color:auto !important;}
}
*::-webkit-scrollbar{width:8px;height:6px;}
*::-webkit-scrollbar-track{background:transparent;}
*::-webkit-scrollbar-thumb{background-color:rgba(255,255,255,.14);border-radius:99px;}
*::-webkit-scrollbar-thumb:hover{background-color:rgba(255,255,255,.28);}
*::-webkit-scrollbar-thumb:horizontal{background-color:transparent;}
*:hover::-webkit-scrollbar-thumb:horizontal{background-color:rgba(255,255,255,.2);}
*::-webkit-scrollbar-corner{background:transparent;}
@supports not selector(::-webkit-scrollbar){
  *{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent;}
}
