/* ELAIA — generated stylesheet. Do not edit.
   Assembled at startup by Elaia.Design/Styles/StyleSheet.cs from:
     1. the design-system token files (embedded, verbatim)
     2. every component's Css constant
     3. page-level layout CSS
   Source of truth for all visual values: _design-source/. */

/* ===== tokens/fonts.css ===== */
/* ELAIA webfonts — self-hosted.

   SUBSTITUTION, inherited from the design system and still flagged:
   no original font binaries came with the brand assets. The wordmark in
   "ELAIA THEME AND LOGO.PNG" is a high-contrast transitional serif with thin bracketed
   serifs and a pointed A apex; the nearest freely-licensed match is Cormorant Garamond
   (Light / Regular, wide tracking). Supply the original binary and this becomes exact.
   Instrument Sans and JetBrains Mono are original choices, not reconstructions.
   See _design-source/readme.md > Typography.

   DEVIATION from _design-source/tokens/fonts.css — deliberate:
   the design system @imports these three families from fonts.googleapis.com. CLAUDE.md § 2
   forbids runtime CDN requests, so the woff2 files are served from /fonts instead. Two
   consequences, both wanted: a cold page load makes zero third-party requests, and no visitor
   address reaches Google. The faces, weights and unicode-ranges are byte-identical to what the
   Google CSS declared.

   SUBSET: latin and latin-ext only. The store ships EN / USD for Lebanon, so the cyrillic,
   greek and vietnamese subsets Google also offers are not downloaded. Adding a locale means
   re-running the fetch documented in docs/RUNBOOK.md > Fonts.

   GENERATED FILE — regenerate with the runbook procedure, do not hand-edit.
*/

/* Cormorant Garamond · latin-ext · italic 300 */
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:300;font-display:swap;
src:url("/fonts/cormorant-garamond-300-italic-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Cormorant Garamond · latin · italic 300 */
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:300;font-display:swap;
src:url("/fonts/cormorant-garamond-300-italic-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Cormorant Garamond · latin-ext · italic 400 */
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:400;font-display:swap;
src:url("/fonts/cormorant-garamond-400-italic-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Cormorant Garamond · latin · italic 400 */
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:400;font-display:swap;
src:url("/fonts/cormorant-garamond-400-italic-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Cormorant Garamond · latin-ext · 300 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:300;font-display:swap;
src:url("/fonts/cormorant-garamond-300-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Cormorant Garamond · latin · 300 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:300;font-display:swap;
src:url("/fonts/cormorant-garamond-300-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Cormorant Garamond · latin-ext · 400 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;
src:url("/fonts/cormorant-garamond-400-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Cormorant Garamond · latin · 400 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;
src:url("/fonts/cormorant-garamond-400-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Cormorant Garamond · latin-ext · 500 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;
src:url("/fonts/cormorant-garamond-500-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Cormorant Garamond · latin · 500 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;
src:url("/fonts/cormorant-garamond-500-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Cormorant Garamond · latin-ext · 600 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;
src:url("/fonts/cormorant-garamond-600-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Cormorant Garamond · latin · 600 */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;
src:url("/fonts/cormorant-garamond-600-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Instrument Sans · latin-ext · italic 400 */
@font-face{font-family:"Instrument Sans";font-style:italic;font-weight:400;font-display:swap;
src:url("/fonts/instrument-sans-400-italic-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Instrument Sans · latin · italic 400 */
@font-face{font-family:"Instrument Sans";font-style:italic;font-weight:400;font-display:swap;
src:url("/fonts/instrument-sans-400-italic-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Instrument Sans · latin-ext · 400 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400;font-display:swap;
src:url("/fonts/instrument-sans-400-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Instrument Sans · latin · 400 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400;font-display:swap;
src:url("/fonts/instrument-sans-400-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Instrument Sans · latin-ext · 500 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:500;font-display:swap;
src:url("/fonts/instrument-sans-500-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Instrument Sans · latin · 500 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:500;font-display:swap;
src:url("/fonts/instrument-sans-500-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Instrument Sans · latin-ext · 600 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600;font-display:swap;
src:url("/fonts/instrument-sans-600-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Instrument Sans · latin · 600 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600;font-display:swap;
src:url("/fonts/instrument-sans-600-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Instrument Sans · latin-ext · 700 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:700;font-display:swap;
src:url("/fonts/instrument-sans-700-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* Instrument Sans · latin · 700 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:700;font-display:swap;
src:url("/fonts/instrument-sans-700-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* JetBrains Mono · latin-ext · 400 */
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;
src:url("/fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* JetBrains Mono · latin · 400 */
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;
src:url("/fonts/jetbrains-mono-400-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* JetBrains Mono · latin-ext · 500 */
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;
src:url("/fonts/jetbrains-mono-500-latin-ext.woff2") format("woff2");
unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}

/* JetBrains Mono · latin · 500 */
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;
src:url("/fonts/jetbrains-mono-500-latin.woff2") format("woff2");
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}



/* ===== tokens/colors.css ===== */
:root{
/* ── Warm neutral ramp — sampled from the wordmark plate (#F8F4EB canvas, #3C3425 ink) ── */
--cream-50:#FDFBF6;--cream-100:#F8F4EB;--cream-200:#F2ECE0;--cream-300:#E8E0D0;
--sand-400:#D8CFBB;--sand-500:#BDB29A;--taupe-600:#9A907A;--taupe-650:#756C5A;--taupe-700:#6E6655;
--bark-800:#4A4234;--bark-900:#3C3425;--bark-950:#241E12;
--white:#FFFFFF;--black:#120E06;

/* ── Olive — the brand hue. Sampled from the leather outerwear and woven bag. ── */
--olive-50:#F2F2E7;--olive-100:#E2E2CE;--olive-200:#C8C6A8;--olive-300:#A6A37E;
--olive-400:#85815A;--olive-500:#67603F;--olive-600:#545033;--olive-700:#403D27;--olive-800:#2E2C1C;

/* ── Material accents — lifted from the lookbook, used for merchandising, never for UI chrome ── */
--camel-400:#D8BE9C;--camel-500:#C0A07A;--camel-600:#9E8158;
--brass-400:#C8A861;--brass-500:#A98742;--brass-600:#876B32;
--espresso-500:#3E312F;--espresso-700:#291E1D;
--burgundy-500:#5A3030;--burgundy-700:#3F2222;
--denim-400:#8F9BA2;--denim-500:#6E7A80;

/* ── Semantic status — warmed so nothing reads clinical next to the cream ── */
--success-50:#EBF1E9;--success-500:#4C7A4E;--success-700:#2F5331;
--warning-50:#F8F0DD;--warning-500:#B0802B;--warning-700:#7C591A;
--danger-50:#F8EAE6;--danger-500:#9B3B2E;--danger-700:#6E261C;
--info-50:#E9EEF1;--info-500:#4A5F6E;--info-700:#32434E;

/* ── Surfaces ── */
--surface-page:var(--cream-100);
--surface-page-alt:var(--cream-200);
--surface-card:var(--cream-50);
--surface-raised:var(--white);
--surface-sunken:var(--cream-300);
--surface-inverse:var(--bark-950);
--surface-brand:var(--olive-500);
--surface-brand-soft:var(--olive-50);
--surface-overlay:rgba(36,30,18,.52);
--surface-scrim:linear-gradient(180deg,rgba(36,30,18,0) 0%,rgba(36,30,18,.62) 100%);
--surface-veil:rgba(248,244,235,.76);

/* ── Text ── */
--text-primary:var(--bark-900);
--text-secondary:var(--taupe-700);
--text-muted:var(--taupe-650);
--text-inverse:var(--cream-100);
--text-inverse-muted:rgba(248,244,235,.66);
--text-brand:var(--olive-600);
--text-link:var(--bark-900);
--text-link-hover:var(--olive-500);
--text-on-brand:var(--cream-50);

/* ── Borders — hairlines are the brand's structural device ── */
--border-hairline:rgba(60,52,37,.14);
--border-subtle:rgba(60,52,37,.18);
--border-default:rgba(60,52,37,.28);
--border-strong:var(--bark-900);
--border-brand:var(--olive-500);
--border-inverse:rgba(248,244,235,.24);

/* ── Actions ── */
--action-primary-bg:var(--bark-900);
--action-primary-fg:var(--cream-50);
--action-primary-bg-hover:var(--olive-500);
--action-primary-bg-active:var(--olive-600);
--action-secondary-bg:transparent;
--action-secondary-fg:var(--bark-900);
--action-secondary-border:var(--bark-900);
--action-secondary-bg-hover:var(--bark-900);
--action-secondary-fg-hover:var(--cream-50);
--action-ghost-fg:var(--bark-900);
--action-ghost-bg-hover:rgba(60,52,37,.07);
--action-disabled-bg:var(--cream-300);
--action-disabled-fg:var(--taupe-600);

/* ── Commerce ── */
--price-regular:var(--bark-900);
--price-sale:var(--danger-500);
--price-struck:var(--taupe-650);
--badge-new-bg:var(--bark-900);
--badge-sale-bg:var(--danger-500);
--badge-soon-bg:var(--olive-500);
--swatch-ring:var(--bark-900);

/* ── Focus ── */
--focus-ring:var(--olive-500);
--focus-ring-offset:var(--cream-100);
}

/* Inverse scope — footers, campaign blocks, the admin command bar. Apply with class="elaia-inverse". */
.elaia-inverse{
--surface-page:var(--bark-950);--surface-page-alt:var(--espresso-700);
--surface-card:var(--bark-800);--surface-raised:var(--bark-800);--surface-sunken:var(--black);
--text-primary:var(--cream-100);--text-secondary:rgba(248,244,235,.72);--text-muted:rgba(248,244,235,.52);
--text-link:var(--cream-100);--text-link-hover:var(--olive-200);--text-brand:var(--olive-200);
--border-hairline:rgba(248,244,235,.14);--border-subtle:rgba(248,244,235,.20);
--border-default:rgba(248,244,235,.32);--border-strong:var(--cream-100);
--action-primary-bg:var(--cream-100);--action-primary-fg:var(--bark-950);
--action-primary-bg-hover:var(--olive-200);--action-primary-bg-active:var(--olive-300);
--action-secondary-fg:var(--cream-100);--action-secondary-border:var(--cream-100);
--action-secondary-bg-hover:var(--cream-100);--action-secondary-fg-hover:var(--bark-950);
--action-ghost-fg:var(--cream-100);--action-ghost-bg-hover:rgba(248,244,235,.10);
--price-regular:var(--cream-100);--focus-ring:var(--olive-200);--focus-ring-offset:var(--bark-950);
}


/* ===== tokens/typography.css ===== */
:root{
--font-display:"Cormorant Garamond","Hoefler Text","Times New Roman",serif;
--font-sans:"Instrument Sans","Helvetica Neue",Helvetica,system-ui,sans-serif;
--font-mono:"JetBrains Mono","SFMono-Regular",Menlo,monospace;

/* Size ramp. 15px body — the cream ground lets ELAIA run a notch smaller than a white site. */
--text-2xs:.6875rem;--text-xs:.75rem;--text-sm:.8125rem;--text-base:.9375rem;--text-md:1.0625rem;
--text-lg:1.25rem;--text-xl:1.5rem;--text-2xl:2rem;--text-3xl:2.75rem;--text-4xl:3.75rem;
--text-5xl:5rem;--text-6xl:7rem;

/* Fluid display sizes for campaign type */
--display-hero:clamp(2.75rem,7.5vw,7rem); /* @kind font */
--display-section:clamp(1.75rem,3.6vw,3.25rem); /* @kind font */
--display-card:clamp(1.25rem,2vw,1.75rem); /* @kind font */

--leading-none:1; /* @kind other */--leading-tight:1.08;--leading-snug:1.25;--leading-normal:1.5;--leading-relaxed:1.65;

--tracking-wordmark:.38em; /* @kind other */
--tracking-eyebrow:.18em;
--tracking-caps:.08em;
--tracking-normal:0em;
--tracking-tight:-.01em;
--tracking-tighter:-.025em;

--weight-light:300; /* @kind other */--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;

/* Named roles */
--type-wordmark:var(--weight-light) var(--text-xl)/var(--leading-none) var(--font-display);
--type-display:var(--weight-light) var(--display-hero)/var(--leading-tight) var(--font-display);
--type-section:var(--weight-light) var(--display-section)/var(--leading-tight) var(--font-display);
--type-eyebrow:var(--weight-medium) var(--text-2xs)/var(--leading-normal) var(--font-sans);
--type-nav:var(--weight-medium) var(--text-sm)/var(--leading-normal) var(--font-sans);
--type-body:var(--weight-regular) var(--text-base)/var(--leading-relaxed) var(--font-sans);
--type-body-sm:var(--weight-regular) var(--text-sm)/var(--leading-normal) var(--font-sans);
--type-label:var(--weight-medium) var(--text-xs)/var(--leading-normal) var(--font-sans);
--type-button:var(--weight-semibold) var(--text-xs)/1 var(--font-sans);
--type-price:var(--weight-medium) var(--text-base)/var(--leading-none) var(--font-sans);
--type-data:var(--weight-regular) var(--text-sm)/var(--leading-normal) var(--font-mono);
}


/* ===== tokens/spacing.css ===== */
:root{
/* 4px base */
--space-0:0px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;
--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;
--space-24:96px;--space-32:128px;--space-40:160px;

/* Layout */
--gutter-page:clamp(16px,4.5vw,72px); /* @kind spacing */
--gutter-grid:var(--space-4);
--gutter-grid-lg:var(--space-6);
--maxw-site:1600px;
--maxw-content:1360px;
--maxw-prose:66ch;
--maxw-form:420px;

/* Vertical rhythm between page sections */
--section-y-sm:var(--space-12);
--section-y:var(--space-20);
--section-y-lg:var(--space-32);

/* Fixed chrome */
--header-h:68px;
--header-h-compact:56px;
--promo-bar-h:36px;
--admin-sidebar-w:244px;
--admin-sidebar-w-collapsed:64px;
--admin-topbar-h:60px;

/* Control sizing */
--control-h-sm:32px;--control-h-md:40px;--control-h-lg:48px;--control-h-xl:56px;
--tap-min:44px;
}


/* ===== tokens/radius.css ===== */
:root{
/* ELAIA is a square-cornered brand. Radii exist to soften controls, never to round imagery. */
--radius-none:0px;
--radius-xs:2px;
--radius-sm:3px;
--radius-md:6px;
--radius-lg:10px;
--radius-xl:16px;
--radius-pill:999px;
--radius-circle:50%;

/* Roles */
--radius-button:var(--radius-xs);
--radius-input:var(--radius-xs);
--radius-card:var(--radius-none);
--radius-media:var(--radius-none);
--radius-badge:var(--radius-xs);
--radius-chip:var(--radius-pill);
--radius-dialog:var(--radius-sm);
--radius-swatch:var(--radius-circle);

--hairline:1px;
--rule-weight:1px;
--rule-weight-strong:2px;
}


/* ===== tokens/elevation.css ===== */
:root{
/* Shadows are warm-tinted (bark, never neutral grey) and used sparingly —
   ELAIA separates with hairlines first, elevation second. */
--shadow-none:none;
--shadow-xs:0 1px 2px rgba(60,52,37,.06);
--shadow-sm:0 2px 6px rgba(60,52,37,.07);
--shadow-md:0 8px 24px -8px rgba(60,52,37,.14);
--shadow-lg:0 24px 60px -20px rgba(36,30,18,.24);
--shadow-xl:0 40px 96px -32px rgba(36,30,18,.32);
--shadow-hairline:inset 0 0 0 1px var(--border-hairline);
--shadow-hairline-strong:inset 0 0 0 1px var(--border-default);
--shadow-focus:0 0 0 2px var(--focus-ring-offset),0 0 0 4px var(--focus-ring);
--shadow-swatch-selected:0 0 0 1px var(--surface-page),0 0 0 2px var(--swatch-ring);

/* Protection gradients — laid over photography so type stays legible */
--scrim-bottom:linear-gradient(180deg,rgba(36,30,18,0) 40%,rgba(36,30,18,.58) 100%); /* @kind color */
--scrim-top:linear-gradient(180deg,rgba(36,30,18,.42) 0%,rgba(36,30,18,0) 55%); /* @kind color */
--scrim-full:linear-gradient(180deg,rgba(36,30,18,.30) 0%,rgba(36,30,18,.08) 45%,rgba(36,30,18,.55) 100%); /* @kind color */

--blur-veil:saturate(1.1) blur(14px); /* @kind other */
--blur-overlay:blur(3px); /* @kind other */
}


/* ===== tokens/motion.css ===== */
:root{
--dur-instant:80ms; /* @kind other */
--dur-fast:160ms; /* @kind other */
--dur-base:240ms; /* @kind other */
--dur-slow:420ms; /* @kind other */
--dur-editorial:700ms; /* @kind other */
--dur-reveal:1100ms; /* @kind other */

--ease-standard:cubic-bezier(.4,0,.2,1); /* @kind other */
--ease-out-soft:cubic-bezier(.16,1,.3,1); /* @kind other */
--ease-in-out-editorial:cubic-bezier(.65,0,.35,1); /* @kind other */
--ease-exit:cubic-bezier(.4,0,1,1); /* @kind other */

/* Named transitions */
--t-color:color var(--dur-fast) var(--ease-standard),background-color var(--dur-fast) var(--ease-standard),border-color var(--dur-fast) var(--ease-standard); /* @kind other */
--t-control:all var(--dur-fast) var(--ease-standard); /* @kind other */
--t-media:transform var(--dur-editorial) var(--ease-out-soft),opacity var(--dur-base) var(--ease-standard); /* @kind other */
--t-panel:transform var(--dur-slow) var(--ease-out-soft),opacity var(--dur-base) var(--ease-standard); /* @kind other */

--press-scale:.985; /* @kind other */
--media-hover-scale:1.035; /* @kind other */
}
@media (prefers-reduced-motion:reduce){
:root{
--dur-instant:0ms; /* @kind other */
--dur-fast:0ms; /* @kind other */
--dur-base:0ms; /* @kind other */
--dur-slow:0ms; /* @kind other */
--dur-editorial:0ms; /* @kind other */
--dur-reveal:0ms; /* @kind other */
--press-scale:1; /* @kind other */
--media-hover-scale:1; /* @kind other */
}
}


/* ===== tokens/base.css ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--surface-page);color:var(--text-primary);font:var(--type-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,h5,h6{margin:0;font-family:var(--font-display);font-weight:var(--weight-light);line-height:var(--leading-tight);letter-spacing:var(--tracking-tight)}
p{margin:0;text-wrap:pretty}
img,video{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--text-link);text-decoration:none;transition:var(--t-color)}
a:hover{color:var(--text-link-hover)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:none;box-shadow:var(--shadow-focus)}
::selection{background:var(--olive-200);color:var(--bark-950)}
.elaia-eyebrow{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;color:var(--text-muted)}
.elaia-rule{height:var(--hairline);background:var(--border-hairline);border:0}


/* ===== utilities ===== */
/* `hidden` must actually hide.

   The design system's base.css already says [hidden]{display:none}, and it loses — not to
   specificity, but to source order. An attribute selector and a class selector both score
   0-1-0, so when two of them set `display` the later declaration wins, and component CSS
   is concatenated AFTER base (ARCHITECTURE.md § 3.8). Every component that sets `display`
   therefore opted itself out of being hideable without anyone choosing that.

   So an element the enhancement script hides stays exactly where it was, while the DOM
   cheerfully reports hidden === true.

   It had bitten three times by the time this rule was written, and the same way each
   time: the colourway filter set `hidden` on 93 of 120 rows and removed none of them from
   the screen (.el-cpk__row is flex); the promo rotator cannot hide the message it rotates
   away from (.el-promo__track is flex); and the bag bubble rendered "0" on every page
   with an empty bag (.el-iconbtn__count is grid).

   The `!important` is the point rather than a shortcut. `hidden` means "this element is
   not relevant", which is a stronger statement than any component's opinion about its own
   layout, and a component should not have to remember to opt in.

   NOTE FOR VERIFYING THIS: reading `element.hidden` back proves nothing — it is the
   property, not the computed style. Check getComputedStyle(el).display. */
[hidden]{display:none !important}

/* Visually hidden but available to assistive technology.
   Needed because several design-system components convey meaning through styling alone:
   a struck-through price means "was", a line-through size means "sold out", and an icon
   button's only label is its icon. The visual design is unchanged; this adds the words a
   screen reader needs. */
.el-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
clip-path:inset(50%);white-space:nowrap;border:0}

/* Skip link. Keyboard-only until focused, then it lands on cream with the standard focus
   ring. The storefront header carries a sticky promo bar and nav, so without this a
   keyboard user tabs through the whole header on every page. */
.el-skip{position:absolute;left:var(--space-4);top:-100px;z-index:100;
background:var(--surface-card);color:var(--text-primary);font:var(--type-nav);
padding:var(--space-3) var(--space-4);border-radius:var(--radius-button);
box-shadow:var(--shadow-md);transition:top var(--dur-fast) var(--ease-standard)}
.el-skip:focus{top:var(--space-4)}

/* The middot metadata separator. Typography, not iconography — the one unicode glyph the
   design system permits. Marked aria-hidden so it is not read aloud as "middle dot"
   between every value. */
.el-dot{color:var(--text-muted);padding:0 .4em}

/* Progressive enhancement switch. The enhancement script sets data-js="on" on <html> as
   its first act, so anything that only makes sense with scripting can hide itself by
   default and appear once scripting is confirmed. Everything essential works without it
   — see CLAUDE.md § 2, JavaScript budget. */
[data-js-only]{display:none}
html[data-js="on"] [data-js-only]{display:revert}
html[data-js="on"] [data-no-js-only]{display:none}

/* ─── Anchor hover-colour guard ───────────────────────────────────────────────────────
   The design system's base.css ships, correctly, `a:hover{color:var(--text-link-hover)}`
   so a TEXT link shifts bark to olive. But several components render as an <a> when
   given an href, and `a:hover` at specificity (0,1,1) outranks a component's own colour
   declaration at (0,1,0).

   On a filled button the result is not cosmetic. `--text-link-hover` and
   `--action-primary-bg-hover` are BOTH var(--olive-500) = #67603F, so hovering a primary
   CTA rendered as a link painted olive text on an olive background: a 1:1 contrast
   ratio and completely unreadable text on the brand's most important control.

   Only the variants whose own hover rule sets no colour need the guard. `--secondary`
   and `--link` already set one at (0,3,1) and are deliberately left alone — `--link` is
   a text link and SHOULD take the olive shift. Each rule below restates the component's
   own non-hover colour, using the same token, so nothing new is introduced here. */
a.el-btn--primary:hover{color:var(--action-primary-fg)}
a.el-btn--ghost:hover{color:var(--action-ghost-fg)}
a.el-btn--brand:hover{color:var(--text-on-brand)}
a.el-btn--danger:hover{color:var(--cream-50)}
a.el-iconbtn:hover{color:var(--action-ghost-fg)}
a.el-iconbtn--solid:hover{color:var(--action-primary-fg)}

/* Components whose colour is `inherit` by design: a dismiss glyph inside a Tag, a
   wordmark, a table cell made clickable. Without this they take the link hover colour
   and read as a stray link inside their container. */
a.el-tag__x:hover,a.el-logo:hover,a.el-tbl__rowlink:hover{color:inherit}

/* ─── Touch target floor ──────────────────────────────────────────────────────────────
   The mobile UI kit states the rule plainly: "Every tap target is at least 44px
   (--tap-min)". Measuring the rendered home page at 375px found the header utilities at
   40x40 and the promo bar's rotation arrows at 32x36 — both under, because they inherit
   control heights sized for a mouse.

   Raised only below the header's own 900px breakpoint. A 40px icon button is correct for
   a cursor, and growing every control on desktop would change spacing the design system
   specifies. The targets grow; the ICONS do not, so nothing looks different — the extra
   area is padding, which is exactly what a finger needs and an eye does not.

   Implemented with min-width/min-height rather than width/height so a control that is
   already larger is untouched. */
@media (max-width:900px){
.el-hdr__utils .el-iconbtn,.el-promo__nav,.el-pcard__wish{
min-width:var(--tap-min);min-height:var(--tap-min)}
}

/* ===== icon ===== */
.el-icon{display:inline-block;flex:none;vertical-align:middle;color:inherit}

/* ===== button ===== */
.el-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);position:relative;
border:1px solid transparent;border-radius:var(--radius-button);font:var(--type-button);
letter-spacing:var(--tracking-caps);text-transform:uppercase;cursor:pointer;white-space:nowrap;
text-decoration:none;transition:var(--t-color),transform var(--dur-fast) var(--ease-standard)}
.el-btn:active:not(:disabled){transform:scale(var(--press-scale))}
.el-btn:disabled{cursor:not-allowed;background:var(--action-disabled-bg);color:var(--action-disabled-fg);border-color:transparent}
.el-btn--sm{height:var(--control-h-sm);padding:0 var(--space-4);font-size:var(--text-2xs)}
.el-btn--md{height:var(--control-h-md);padding:0 var(--space-6)}
.el-btn--lg{height:var(--control-h-lg);padding:0 var(--space-8)}
.el-btn--xl{height:var(--control-h-xl);padding:0 var(--space-10);font-size:var(--text-sm)}
.el-btn--block{width:100%}
.el-btn--primary{background:var(--action-primary-bg);color:var(--action-primary-fg)}
.el-btn--primary:hover:not(:disabled){background:var(--action-primary-bg-hover)}
.el-btn--primary:active:not(:disabled){background:var(--action-primary-bg-active)}
.el-btn--secondary{background:var(--action-secondary-bg);color:var(--action-secondary-fg);border-color:var(--action-secondary-border)}
.el-btn--secondary:hover:not(:disabled){background:var(--action-secondary-bg-hover);color:var(--action-secondary-fg-hover)}
.el-btn--ghost{background:transparent;color:var(--action-ghost-fg)}
.el-btn--ghost:hover:not(:disabled){background:var(--action-ghost-bg-hover)}
.el-btn--brand{background:var(--surface-brand);color:var(--text-on-brand)}
.el-btn--brand:hover:not(:disabled){background:var(--olive-600)}
.el-btn--danger{background:var(--danger-500);color:var(--cream-50)}
.el-btn--danger:hover:not(:disabled){background:var(--danger-700)}
.el-btn--link{background:none;height:auto;padding:0;color:var(--text-link);text-transform:none;
letter-spacing:var(--tracking-normal);font:var(--type-body-sm);text-decoration:underline;text-underline-offset:3px;
text-decoration-thickness:1px;text-decoration-color:var(--border-default)}
.el-btn--link:hover:not(:disabled){color:var(--text-link-hover);text-decoration-color:currentColor}
.el-btn__spin{width:14px;height:14px;border:1.5px solid currentColor;border-right-color:transparent;
border-radius:50%;animation:el-spin .7s linear infinite}
@keyframes el-spin{to{transform:rotate(360deg)}}

/* ===== iconbutton ===== */
.el-iconbtn{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:none;
border:1px solid transparent;background:transparent;color:var(--action-ghost-fg);cursor:pointer;
border-radius:var(--radius-button);transition:var(--t-color),transform var(--dur-fast) var(--ease-standard)}
.el-iconbtn:hover:not(:disabled){background:var(--action-ghost-bg-hover)}
.el-iconbtn:active:not(:disabled){transform:scale(var(--press-scale))}
.el-iconbtn:disabled{color:var(--action-disabled-fg);cursor:not-allowed}
.el-iconbtn--sm{width:32px;height:32px}
.el-iconbtn--md{width:40px;height:40px}
.el-iconbtn--lg{width:44px;height:44px}
.el-iconbtn--outlined{border-color:var(--border-default)}
.el-iconbtn--outlined:hover:not(:disabled){border-color:var(--border-strong);background:transparent}
.el-iconbtn--solid{background:var(--action-primary-bg);color:var(--action-primary-fg)}
.el-iconbtn--solid:hover:not(:disabled){background:var(--action-primary-bg-hover)}
.el-iconbtn__count{position:absolute;top:3px;right:2px;min-width:16px;height:16px;padding:0 4px;
display:grid;place-items:center;background:var(--surface-brand);color:var(--text-on-brand);
border-radius:var(--radius-pill);font-family:var(--font-sans);font-size:9px;font-weight:var(--weight-semibold);
letter-spacing:0;line-height:1}

/* ===== floatingcontact ===== */
/* ── Floating contact ───────────────────────────────────────────────────────────────── */
/* #25D366 is WhatsApp's own green and the one literal hex in this repository's CSS.
   It is exempt from the no-literal-hex rule for the reason that rule exists: a brand
   colour must NOT follow the inverse scope and must NOT change when ELAIA's palette
   does. See DesignAdherenceTests.BrandColours. */
.el-fab{position:fixed;z-index:50;right:var(--space-6);bottom:var(--space-6);
width:56px;height:56px;display:grid;place-items:center;
background:#25D366;color:var(--cream-50);
border-radius:var(--radius-circle);box-shadow:var(--shadow-lg);
transition:filter var(--dur-fast) var(--ease-standard)}
.el-fab__mark{width:30px;height:30px;display:block;fill:currentColor}
.el-fab:focus-visible{box-shadow:var(--shadow-focus)}

/* Darkened rather than re-coloured: one brand colour, and no second green invented for
   a state WhatsApp has no published value for.

   ONLY where a pointer can actually hover. On a touchscreen :hover latches on after a
   tap and stays until something else is tapped, and this is the one control on the
   site you touch and then keep looking at. See the remarks. */
@media (hover:hover){
.el-fab:hover{filter:brightness(.93)}
.el-fab:active{filter:brightness(.87)}
}

/* The pressed state on touch is driven by the attribute the script adds and removes,
   not by :active, so it cannot outlive the gesture whatever the browser decides. */
.el-fab[data-fab-dragging]{filter:brightness(.87)}

/* No grey flash over a control whose whole purpose is being dragged around. */
.el-fab{-webkit-tap-highlight-color:transparent}

/* Only the script can drag it, so only the scripted document gives up the scroll
   gesture that starts on it. Same shape as PromoBar's html[data-js="on"] rule. */
html[data-js="on"] .el-fab{touch-action:none;cursor:grab}
html[data-js="on"] .el-fab[data-fab-dragging]{cursor:grabbing}

/* Once moved, the script writes left/top, so the corner anchoring has to let go. */
.el-fab[data-fab-moved]{right:auto;bottom:auto}

@media (max-width:700px){
.el-fab{width:48px;height:48px;right:var(--space-4);bottom:var(--space-4)}
.el-fab__mark{width:26px;height:26px}
}

/* ===== badge ===== */
.el-badge{display:inline-flex;align-items:center;height:20px;padding:0 var(--space-2);
border-radius:var(--radius-badge);font-family:var(--font-sans);font-size:var(--text-2xs);
font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;
line-height:1;white-space:nowrap}
.el-badge--new{background:var(--badge-new-bg);color:var(--cream-50)}
.el-badge--sale{background:var(--badge-sale-bg);color:var(--cream-50)}
.el-badge--soon{background:var(--badge-soon-bg);color:var(--cream-50)}
.el-badge--soldout{background:var(--cream-300);color:var(--taupe-700)}
.el-badge--outline{background:var(--cream-50);color:var(--text-primary);box-shadow:inset 0 0 0 1px var(--border-default)}
.el-badge--onmedia{background:var(--cream-50);color:var(--bark-900)}

/* ===== tag ===== */
.el-tag{display:inline-flex;align-items:center;gap:var(--space-2);height:28px;padding:0 var(--space-3);
border-radius:var(--radius-chip);background:var(--cream-200);color:var(--text-secondary);
font:var(--type-label);white-space:nowrap;border:1px solid transparent}
.el-tag--outline{background:transparent;border-color:var(--border-subtle)}
.el-tag--brand{background:var(--surface-brand-soft);color:var(--text-brand)}
.el-tag__x{display:grid;place-items:center;width:14px;height:14px;margin-right:-2px;border:0;padding:0;
background:none;color:inherit;cursor:pointer;opacity:.6;font-size:13px;line-height:1}
.el-tag__x:hover{opacity:1}

/* ===== logo ===== */
.el-logo{display:inline-block;line-height:1;text-decoration:none;color:inherit}
.el-logo__type{font-family:var(--font-display);font-weight:var(--weight-light);
letter-spacing:var(--tracking-wordmark);text-transform:uppercase;white-space:nowrap;
display:block;text-indent:var(--tracking-wordmark)}
.el-logo__img{display:block;height:100%;width:auto}

/* ===== field ===== */
.el-field{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}
.el-field__top{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-4)}
.el-field__label{font:var(--type-label);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--text-secondary)}
.el-field__req{color:var(--danger-500);margin-left:2px}
.el-field__aside{font:var(--type-body-sm);color:var(--text-muted)}
.el-field__hint{font:var(--type-body-sm);font-size:var(--text-xs);color:var(--text-muted)}
.el-field__err{font:var(--type-body-sm);font-size:var(--text-xs);color:var(--danger-500);display:flex;gap:var(--space-1)}

/* ===== input ===== */
.el-input{display:flex;align-items:center;gap:var(--space-2);width:100%;min-width:0;
background:var(--surface-raised);border:1px solid var(--border-subtle);border-radius:var(--radius-input);
color:var(--text-primary);transition:var(--t-color),box-shadow var(--dur-fast) var(--ease-standard)}
.el-input:hover:not(.el-input--disabled){border-color:var(--border-default)}
.el-input:focus-within{border-color:var(--border-strong);box-shadow:var(--shadow-focus)}
.el-input--sm{height:var(--control-h-sm);padding:0 var(--space-3)}
.el-input--md{height:var(--control-h-md);padding:0 var(--space-4)}
.el-input--lg{height:var(--control-h-lg);padding:0 var(--space-4)}
.el-input--invalid{border-color:var(--danger-500)}
.el-input--invalid:focus-within{box-shadow:0 0 0 2px var(--focus-ring-offset),0 0 0 4px var(--danger-500)}
.el-input--disabled{background:var(--cream-200);color:var(--text-muted);cursor:not-allowed}
.el-input--bare{background:transparent;border-width:0 0 1px 0;border-radius:0;padding-left:0;padding-right:0}
.el-input--bare:focus-within{box-shadow:none;border-bottom-color:var(--border-strong)}
.el-input__el{flex:1;min-width:0;border:0;outline:0;background:none;font:var(--type-body);color:inherit;padding:0}
.el-input__el::placeholder{color:var(--text-muted)}
.el-input__el:disabled{cursor:not-allowed}
.el-input__affix{display:flex;align-items:center;color:var(--text-muted);font:var(--type-body-sm);flex:none}
.el-textarea{width:100%;min-height:104px;padding:var(--space-3) var(--space-4);resize:vertical;
background:var(--surface-raised);border:1px solid var(--border-subtle);border-radius:var(--radius-input);
font:var(--type-body);color:var(--text-primary);transition:var(--t-color)}
.el-textarea::placeholder{color:var(--text-muted)}
.el-textarea:hover{border-color:var(--border-default)}
.el-textarea:focus{outline:0;border-color:var(--border-strong);box-shadow:var(--shadow-focus)}

/* ===== select ===== */
.el-select{position:relative;display:flex;align-items:center;width:100%;
background:var(--surface-raised);border:1px solid var(--border-subtle);border-radius:var(--radius-input);
transition:var(--t-color)}
.el-select:hover{border-color:var(--border-default)}
.el-select:focus-within{border-color:var(--border-strong);box-shadow:var(--shadow-focus)}
.el-select--sm{height:var(--control-h-sm)}
.el-select--md{height:var(--control-h-md)}
.el-select--lg{height:var(--control-h-lg)}
.el-select--bare{background:transparent;border-width:0 0 1px 0;border-radius:0}
.el-select__el{appearance:none;width:100%;height:100%;border:0;outline:0;background:none;cursor:pointer;
padding:0 calc(var(--space-8) + var(--space-1)) 0 var(--space-4);font:var(--type-body);color:var(--text-primary)}
.el-select--bare .el-select__el{padding-left:0}
.el-select__el:disabled{cursor:not-allowed;color:var(--text-muted)}
.el-select__caret{position:absolute;right:var(--space-4);pointer-events:none;width:9px;height:9px;
border-right:1px solid var(--text-secondary);border-bottom:1px solid var(--text-secondary);
transform:translateY(-2px) rotate(45deg)}
.el-select--bare .el-select__caret{right:0}

/* ===== choice ===== */
.el-choice{display:inline-flex;align-items:flex-start;gap:var(--space-3);cursor:pointer;
font:var(--type-body-sm);color:var(--text-primary);min-height:var(--space-5)}
.el-choice--disabled{cursor:not-allowed;color:var(--text-muted)}
.el-choice__box{flex:none;width:18px;height:18px;margin-top:1px;display:grid;place-items:center;
border:1px solid var(--border-default);background:var(--surface-raised);
transition:var(--t-color);position:relative}
.el-choice--check .el-choice__box{border-radius:var(--radius-xs)}
.el-choice--radio .el-choice__box{border-radius:var(--radius-circle)}
.el-choice:hover:not(.el-choice--disabled) .el-choice__box{border-color:var(--border-strong)}
.el-choice__input{position:absolute;opacity:0;width:0;height:0}
.el-choice__input:focus-visible+.el-choice__box{box-shadow:var(--shadow-focus)}
.el-choice__input:checked+.el-choice__box{background:var(--action-primary-bg);border-color:var(--action-primary-bg)}
.el-choice__mark{width:9px;height:5px;border-left:1.5px solid var(--cream-50);border-bottom:1.5px solid var(--cream-50);
transform:rotate(-45deg) translate(1px,-1px);opacity:0;transition:opacity var(--dur-fast) var(--ease-standard)}
.el-choice__input:checked+.el-choice__box .el-choice__mark{opacity:1}
.el-choice__dot{width:6px;height:6px;border-radius:50%;background:var(--cream-50);opacity:0;transition:opacity var(--dur-fast) var(--ease-standard)}
.el-choice__input:checked+.el-choice__box .el-choice__dot{opacity:1}
.el-choice__text{display:flex;flex-direction:column;gap:2px}
.el-choice__desc{font-size:var(--text-xs);color:var(--text-muted)}

/* PORT ADDITION - not in the design source. Two rules, no new values.
   TICKING A BOX SCROLLED THE PAGE. Measured on the console's size picker in session 054:
   one tick moved the page 52px, the next 74px. The owner reported it as the page jumping
   down when choosing sizes.

   The cause is above: the real input is kept in the DOM - which is what makes this control
   work with no JavaScript - and hidden with `position:absolute` at zero size. But nothing
   between it and the admin body was positioned, so THAT was its containing block: the
   measured offsetParent was `el-admin-body` and the computed top was 1056.67px. Clicking
   focuses the input, and the browser scrolls the page to reveal a zero-height box it
   believes is anchored a long way up the tree.

   Anchoring it to its own label is not enough on its own - tested, and still a 74px jump,
   because a zero-height target is still something a browser wants to reveal. The input has
   to BE the visible control: the same 18px square, in the same place, just transparent.
   Its rectangle is then identical to the box the operator can see and revealing it is a
   no-op. Measured after: the page moves 0px, and the dropdown's own list still scrolls to
   show a row at its edge, which is correct.

   18px and 1px are .el-choice__box's own measurements from the verbatim rule above, not
   new numbers. Nothing visual changes: the input is still opacity:0 and still sits under
   the box, so every :checked and :focus-visible sibling rule above is untouched. */
.el-choice{position:relative}
.el-choice__input{top:1px;left:0;width:18px;height:18px;margin:0}

/* ===== switch ===== */
.el-switch{display:inline-flex;align-items:center;gap:var(--space-3);cursor:pointer;font:var(--type-body-sm)}
.el-switch--disabled{cursor:not-allowed;color:var(--text-muted)}
.el-switch__track{flex:none;position:relative;width:38px;height:22px;border-radius:var(--radius-pill);
background:var(--sand-500);transition:background-color var(--dur-base) var(--ease-standard)}
.el-switch__input{position:absolute;opacity:0;width:0;height:0}
.el-switch__input:focus-visible+.el-switch__track{box-shadow:var(--shadow-focus)}
.el-switch__input:checked+.el-switch__track{background:var(--surface-brand)}
.el-switch__input:disabled+.el-switch__track{background:var(--cream-300)}
.el-switch__knob{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;
background:var(--cream-50);box-shadow:var(--shadow-xs);
transition:transform var(--dur-base) var(--ease-out-soft)}
.el-switch__input:checked+.el-switch__track .el-switch__knob{transform:translateX(16px)}

/* ===== price ===== */
.el-price{display:inline-flex;align-items:baseline;gap:var(--space-2);font-family:var(--font-sans);
font-variant-numeric:tabular-nums;white-space:nowrap}
.el-price__now{font-weight:var(--weight-medium);color:var(--price-regular)}
.el-price--sale .el-price__now{color:var(--price-sale)}
.el-price__was{color:var(--price-struck);text-decoration:line-through;text-decoration-thickness:1px;font-weight:var(--weight-regular)}
.el-price--sm{font-size:var(--text-sm)}
.el-price--md{font-size:var(--text-base)}
.el-price--lg{font-size:var(--text-md)}
.el-price--xl{font-size:var(--text-xl);font-weight:var(--weight-regular)}
.el-price--xl .el-price__was{font-size:var(--text-base)}

/* ===== sizeselector ===== */
.el-sizes{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.el-size{position:relative;min-width:52px;height:var(--control-h-md);padding:0 var(--space-3);
display:grid;place-items:center;background:var(--surface-raised);border:1px solid var(--border-subtle);
border-radius:var(--radius-button);font:var(--type-label);color:var(--text-primary);cursor:pointer;
transition:var(--t-color)}
.el-size:hover:not(.el-size--out){border-color:var(--border-strong)}
.el-size--on{background:var(--action-primary-bg);border-color:var(--action-primary-bg);color:var(--action-primary-fg)}
.el-size--out{color:var(--text-muted);cursor:not-allowed;background:var(--cream-200);border-color:transparent;overflow:hidden}
.el-size--out::after{content:"";position:absolute;left:-10%;right:-10%;top:50%;height:1px;background:var(--border-default);transform:rotate(-14deg)}
.el-size--low::before{content:"";position:absolute;top:4px;right:4px;width:4px;height:4px;border-radius:50%;background:var(--warning-500)}
.el-sizes--lg .el-size{height:var(--control-h-lg);min-width:60px}

/* PORT ADDITION — not in the design source.
   The source's option is a <button> whose selected state React paints. This port uses a
   real radio input so a size choice posts without scripting, which needs three things the
   source did not: the input hidden but still focusable and clickable, the checked state
   reaching the label that carries the appearance, and a focus ring on the label because
   the ring on a transparent 100%-of-the-label input would be invisible.

   No design value is introduced. The first rule is pure layout. The second repeats the
   three declarations of the verbatim `.el-size--on` rule above, token for token, because
   CSS has no way to alias one rule's declarations into another selector — if those tokens
   ever change, both rules change together. The third reuses --shadow-focus, the same ring
   base.css puts on every other focusable control. */
.el-size__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;appearance:none;cursor:inherit}
.el-size:has(>.el-size__input:checked){background:var(--action-primary-bg);border-color:var(--action-primary-bg);color:var(--action-primary-fg)}
.el-size:has(>.el-size__input:focus-visible){box-shadow:var(--shadow-focus)}

/* ===== swatchrow ===== */
.el-swatches{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.el-swatch{position:relative;width:26px;height:26px;padding:0;border:0;border-radius:var(--radius-swatch);
cursor:pointer;box-shadow:inset 0 0 0 1px rgba(60,52,37,.18);transition:box-shadow var(--dur-fast) var(--ease-standard)}
.el-swatch:hover{box-shadow:inset 0 0 0 1px rgba(60,52,37,.18),0 0 0 1px var(--surface-page),0 0 0 2px var(--border-default)}
.el-swatch--on{box-shadow:var(--shadow-swatch-selected)}
.el-swatch--out{cursor:not-allowed;opacity:.45}
.el-swatch--out::after{content:"";position:absolute;inset:0;border-radius:50%;
background:linear-gradient(to top left,transparent 46%,var(--bark-900) 46%,var(--bark-900) 54%,transparent 54%)}
.el-swatch--lg{width:34px;height:34px}
.el-swatches__name{font:var(--type-body-sm);color:var(--text-secondary);margin-left:var(--space-1)}

/* PORT ADDITION — not in the design source.
   The source's swatch is a <button>; this port uses a <label> wrapping a real radio input
   so a colourway choice posts without scripting. Three rules are needed for that, and
   none of them introduces a design value.

   The input is stretched transparently across the circle, which keeps the native hit area
   and arrow-key behaviour. `border-radius:inherit` only stops the hit area being a square
   over a circle. The checked rule repeats the single declaration of the verbatim
   `.el-swatch--on` rule above, token for token, because CSS cannot alias a rule into
   another selector; they change together. The focus rule reuses --shadow-focus, the same
   ring base.css gives every other focusable control — it has to live on the label because
   a ring drawn around a fully transparent input would not be seen. */
.el-swatch__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;appearance:none;border-radius:inherit;cursor:inherit}
.el-swatch:has(>.el-swatch__input:checked){box-shadow:var(--shadow-swatch-selected)}
.el-swatch:has(>.el-swatch__input:focus-visible){box-shadow:var(--shadow-focus)}

/* ===== qty ===== */
.el-qty{display:inline-flex;align-items:center;border:1px solid var(--border-subtle);
border-radius:var(--radius-button);background:var(--surface-raised);height:var(--control-h-md);overflow:hidden}
.el-qty--sm{height:var(--control-h-sm)}
.el-qty__btn{width:34px;height:100%;display:grid;place-items:center;border:0;background:none;
color:var(--text-primary);cursor:pointer;font-size:15px;line-height:1;transition:var(--t-color)}
.el-qty--sm .el-qty__btn{width:28px;font-size:13px}
.el-qty__btn:hover:not(:disabled){background:var(--action-ghost-bg-hover)}
.el-qty__btn:disabled{color:var(--text-muted);cursor:not-allowed}
.el-qty__val{min-width:30px;text-align:center;font:var(--type-body-sm);font-variant-numeric:tabular-nums;
font-weight:var(--weight-medium)}

/* PORT ADDITION — not in the design source.
   The source renders the value as a <span> because React owns the state. This port renders
   a real number input so a typed quantity posts without scripting, which means the
   browser's own input chrome has to be stripped for the control to look identical to the
   source's span. Nothing here is a design value: no colour, no radius, no duration. The
   width is in `ch` so it tracks the font rather than fixing a pixel size, and the verbatim
   `.el-qty__val` min-width above still governs the box. The two spin-button rules remove
   the native up/down arrows, which would not fit a 30px numeral box. */
.el-qty__input{width:3ch;border:0;background:none;padding:0;-moz-appearance:textfield;appearance:textfield}
.el-qty__input::-webkit-outer-spin-button,
.el-qty__input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}

/* ===== productcard ===== */
.el-pcard{display:flex;flex-direction:column;gap:var(--space-3);min-width:0;
text-decoration:none;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}
.el-pcard__frame{position:relative;overflow:hidden;background:var(--cream-200);
aspect-ratio:3/4;border-radius:var(--radius-media)}
.el-pcard__img{width:100%;height:100%;object-fit:cover;transition:var(--t-media);will-change:transform}
.el-pcard__img--alt{position:absolute;inset:0;opacity:0}
.el-pcard:hover .el-pcard__img{transform:scale(var(--media-hover-scale))}
.el-pcard:hover .el-pcard__img--alt{opacity:1}
.el-pcard__badge{position:absolute;top:var(--space-3);left:var(--space-3);z-index:2}
.el-pcard__wish{position:absolute;top:var(--space-2);right:var(--space-2);z-index:2;
width:32px;height:32px;display:grid;place-items:center;border:0;cursor:pointer;
background:var(--surface-veil);backdrop-filter:var(--blur-veil);-webkit-backdrop-filter:var(--blur-veil);
border-radius:var(--radius-circle);color:var(--text-primary);opacity:0;
transition:opacity var(--dur-fast) var(--ease-standard),background-color var(--dur-fast) var(--ease-standard)}
.el-pcard:hover .el-pcard__wish,.el-pcard__wish--on,.el-pcard__wish:focus-visible{opacity:1}
.el-pcard__wish--on{color:var(--danger-500)}
.el-pcard__sizes{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-wrap:wrap;gap:var(--space-1);
padding:var(--space-3);background:var(--surface-veil);backdrop-filter:var(--blur-veil);-webkit-backdrop-filter:var(--blur-veil);
transform:translateY(100%);transition:transform var(--dur-base) var(--ease-out-soft)}
.el-pcard:hover .el-pcard__sizes{transform:translateY(0)}
.el-pcard__size{min-width:26px;height:24px;padding:0 4px;display:grid;place-items:center;border:0;background:none;
font:var(--type-label);color:var(--text-primary);cursor:pointer;border-radius:var(--radius-xs)}
.el-pcard__size:hover{background:var(--action-ghost-bg-hover)}
.el-pcard__size--out{color:var(--text-muted);text-decoration:line-through;cursor:not-allowed}
.el-pcard__meta{display:flex;flex-direction:column;gap:var(--space-1);padding-right:var(--space-2)}
.el-pcard__name{font:var(--type-body-sm);font-weight:var(--weight-medium);color:var(--text-primary);
overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Unreachable since session 079 - the card draws no colourway line. Kept because this
   block is the source's text verbatim (ARCHITECTURE.md section 3.5). */
.el-pcard__sub{font-size:var(--text-xs);color:var(--text-secondary)}
.el-pcard__foot{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);margin-top:var(--space-1)}
.el-pcard__colors{display:flex;gap:5px;align-items:center}
.el-pcard__dot{width:9px;height:9px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(60,52,37,.22)}
.el-pcard__more{font-size:var(--text-2xs);font-weight:var(--weight-medium);color:var(--text-secondary)}
.el-pcard--compact .el-pcard__frame{aspect-ratio:1/1}

/* PORT ADDITION — not in the design source.
   Six rules, all consequences of moving the link out of the card root and of turning the
   source's inert controls into real ones. None introduces a design value: no colour, no
   size, no duration, no radius.

   `.el-pcard{position:relative}` gives the overlay something to resolve against — the
   source did not need it because the root element was itself the link.

   `.el-pcard__link` strips the link colour and underline that base.css puts on every
   anchor, so the product name looks exactly as the verbatim `.el-pcard__name` rule paints
   it. Its `::after` is the stretched hit area: z-index 1 puts it above the imagery and
   below the two controls, which the verbatim CSS already sets to z-index 2.

   `.el-pcard__badge{pointer-events:none}` restores source behaviour. In the source the
   badge sat inside the anchor, so clicking it opened the product; sitting above the
   overlay it would otherwise be a dead patch on a clickable card.

   `.el-pcard__sizes:not(form){pointer-events:none}` is the same repair for the degraded
   size strip. When no quick-add endpoint is supplied the strip is a div of plain spans —
   nothing to click — but the verbatim rule gives it z-index:2 and sits it over the
   bottom of the card, so without this it is a dead band across a clickable card for
   exactly as long as the visitor is hovering it. The interactive strip is a <form>, so
   the selector leaves it alone.

   `.el-pcard__sizes:focus-within{transform:translateY(0)}` is a port-introduced
   necessity, not a taste change. The source's size run was inert, so a keyboard user
   tabbing into it reached buttons that did nothing; this port makes them real submit
   buttons, which means focus can now land on a control that is translated 100% out of an
   overflow:hidden frame and cannot be seen. The strip has to come up for focus as well as
   hover. It mirrors the source's own `.el-pcard__wish:focus-visible{opacity:1}`, uses
   the same transform value as the verbatim hover rule, and introduces no new value. */
.el-pcard{position:relative}
.el-pcard__link{color:inherit;text-decoration:none}
.el-pcard__link::after{content:"";position:absolute;inset:0;z-index:1}
.el-pcard__badge{pointer-events:none}
.el-pcard__sizes:not(form){pointer-events:none}
.el-pcard__sizes:focus-within{transform:translateY(0)}

/* ===== cartline ===== */
.el-line{display:grid;grid-template-columns:72px 1fr auto;gap:var(--space-4);
padding:var(--space-4) 0;border-bottom:1px solid var(--border-hairline);align-items:start}
.el-line--lg{grid-template-columns:96px 1fr auto}
.el-line__img{width:100%;aspect-ratio:3/4;object-fit:cover;background:var(--cream-200)}
.el-line__body{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.el-line__name{font:var(--type-body-sm);font-weight:var(--weight-medium)}
.el-line__meta{font-size:var(--text-xs);color:var(--text-muted)}
.el-line__note{font-size:var(--text-xs);color:var(--warning-700);margin-top:2px}
.el-line__ctrls{display:flex;align-items:center;gap:var(--space-4);margin-top:var(--space-2)}
.el-line__rm{border:0;background:none;padding:0;cursor:pointer;font-size:var(--text-xs);
color:var(--text-muted);text-decoration:underline;text-underline-offset:2px}
.el-line__rm:hover{color:var(--text-primary)}
.el-line__price{text-align:right;padding-top:2px}

/* PORT ADDITION — not in the design source.
   The source prints the piece's name as a plain <span>. This port can link it to the
   product page, because a BagLine carries the slug to do so and a customer reviewing a
   bag reasonably wants to go back and look. base.css paints every anchor in
   --text-link, which would make bag names the only coloured text in the panel, so the
   link inherits the surrounding colour and earns its underline on hover instead. No
   design value is introduced; the name itself is still styled entirely by the verbatim
   .el-line__name rule above. */
.el-line__link{color:inherit;text-decoration:none}
.el-line__link:hover{text-decoration:underline}

/* ===== promobar ===== */
.el-promo{position:relative;height:var(--promo-bar-h);display:flex;align-items:center;justify-content:center;
gap:var(--space-3);padding:0 var(--space-10);overflow:hidden;
background:var(--bark-950);color:var(--cream-100);font:var(--type-eyebrow);
letter-spacing:var(--tracking-eyebrow);text-transform:uppercase}
.el-promo--olive{background:var(--olive-500)}
.el-promo--cream{background:var(--cream-300);color:var(--bark-900)}
.el-promo__track{display:flex;align-items:center;gap:var(--space-3);white-space:nowrap}
.el-promo__link{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.el-promo__nav{position:absolute;top:0;height:100%;width:32px;display:grid;place-items:center;border:0;
background:none;color:inherit;cursor:pointer;opacity:.6;font-size:12px}
.el-promo__nav:hover{opacity:1}
.el-promo__nav--prev{left:4px}.el-promo__nav--next{right:4px}

/* PORT ADDITION — not in the design source. Three rules, no design values.

   The source renders one message at a time. This port renders them all and hides the
   inactive ones with the `hidden` attribute, so rotation needs no fetch — but the
   verbatim `.el-promo__track{display:flex}` above beats the user agent's
   `[hidden]{display:none}`, so `hidden` would have no effect without this first rule.

   The same specificity collision applies to the arrows. Utilities' `[data-js-only]`
   rule and `.el-promo__nav` are both one selector of specificity (0,1,0), and the
   component CSS is concatenated after the utilities, so `display:grid` would win and the
   arrows would show with scripting off. These two rules restate the switch at a
   specificity that holds, and restore `display:grid` — not `revert` — because that is
   what the verbatim rule above sets. */
.el-promo__track[hidden]{display:none}
.el-promo__nav[data-js-only]{display:none}
html[data-js="on"] .el-promo__nav[data-js-only]{display:grid}

/* ===== siteheader ===== */
.el-hdr{position:sticky;top:0;z-index:40;background:var(--surface-page);
border-bottom:1px solid var(--border-hairline);transition:height var(--dur-base) var(--ease-standard),background-color var(--dur-base) var(--ease-standard)}
.el-hdr--veil{background:var(--surface-veil);backdrop-filter:var(--blur-veil);-webkit-backdrop-filter:var(--blur-veil);border-bottom-color:transparent}
.el-hdr__bar{height:var(--header-h);display:flex;align-items:center;gap:var(--space-6);
padding:0 var(--gutter-page);max-width:var(--maxw-site);margin:0 auto;transition:height var(--dur-base) var(--ease-standard)}
.el-hdr--compact .el-hdr__bar{height:var(--header-h-compact)}
.el-hdr__nav{display:flex;align-items:center;gap:var(--space-6);flex:1;min-width:0}
.el-hdr__utils{display:flex;align-items:center;gap:var(--space-1);margin-left:auto}
.el-hdr__burger{display:none}
.el-navlink{position:relative;font:var(--type-nav);color:var(--text-primary);padding:var(--space-2) 0;
background:none;border:0;cursor:pointer;white-space:nowrap;transition:var(--t-color)}
.el-navlink::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--rule-weight-strong);
background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform var(--dur-base) var(--ease-out-soft)}
.el-navlink:hover,.el-navlink--on{color:var(--text-link-hover)}
.el-navlink--on{color:var(--text-primary)}
.el-navlink:hover::after,.el-navlink--on::after{transform:scaleX(1)}
.el-navlink--sale{color:var(--danger-500)}
.el-mega{position:absolute;left:0;right:0;top:100%;background:var(--surface-page);
border-bottom:1px solid var(--border-hairline);box-shadow:var(--shadow-md);
display:grid;grid-template-columns:repeat(4,1fr) 300px;gap:var(--space-10);
padding:var(--space-10) var(--gutter-page) var(--space-12);max-width:var(--maxw-site);margin:0 auto;
animation:el-mega-in var(--dur-slow) var(--ease-out-soft)}
@keyframes el-mega-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.el-mega__col{display:flex;flex-direction:column;gap:var(--space-3);min-width:0}
.el-mega__h{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;
color:var(--text-muted);margin-bottom:var(--space-1)}
.el-mega__a{font:var(--type-body-sm);color:var(--text-primary)}
.el-mega__a:hover{color:var(--text-link-hover)}
/* The track count matches the columns actually rendered. The kit's own grid is the
   four-column case; a panel built from a category tree can have one, two or three, and a
   literal four would leave empty tracks pushing the feature photograph to the right
   (CLAUDE.md section 3's hairline-and-alignment rules, and the footer lesson from
   session 023). repeat(auto-fit, minmax(0,1fr)) is NOT the answer - auto-fit cannot
   count tracks from a zero minimum and collapses the row to one. */
.el-mega--1{grid-template-columns:1fr 300px}
.el-mega--2{grid-template-columns:repeat(2,1fr) 300px}
.el-mega--3{grid-template-columns:repeat(3,1fr) 300px}
.el-mega--4{grid-template-columns:repeat(4,1fr) 300px}

/* And the feature rail itself is a literal 300px track. A panel built from the console
   has no photograph - nothing there sets one - so without this the links sit beside
   300px of nothing. Same trap, one axis over. */
.el-mega--nofeat.el-mega--1{grid-template-columns:1fr}
.el-mega--nofeat.el-mega--2{grid-template-columns:repeat(2,1fr)}
.el-mega--nofeat.el-mega--3{grid-template-columns:repeat(3,1fr)}
.el-mega--nofeat.el-mega--4{grid-template-columns:repeat(4,1fr)}

.el-mega__feature{position:relative;overflow:hidden;aspect-ratio:4/5}
.el-mega__feature img{width:100%;height:100%;object-fit:cover;transition:var(--t-media)}
.el-mega__feature:hover img{transform:scale(var(--media-hover-scale))}
.el-mega__cap{position:absolute;left:0;right:0;bottom:0;padding:var(--space-5);background:var(--scrim-bottom);
color:var(--cream-100);font-family:var(--font-display);font-size:var(--text-lg);font-weight:var(--weight-light)}
@media (max-width:900px){.el-hdr__nav{display:none}.el-hdr__burger{display:inline-flex}.el-mega{display:none}
/* The mobile kit's bar carries burger, wordmark, search and bag. Account and wishlist
   move into the drawer, where this same component renders them, so nothing becomes
   unreachable — five controls in a 375px bar broke the "exactly four icons" rule and
   read as cramped. */
.el-hdr__util--wide{display:none}}

/* ===== DEVIATIONS. Everything above this line is the source block, verbatim. =====
   Added here because the source relied on React state for both of the header's
   disclosures, and the ports have to work with JavaScript disabled. Values are tokens
   only, and nothing above is edited or overridden except .el-mega's default
   visibility. See the DEVIATIONS list in the XML docs on SiteHeader. */

/* 1. CSS-only mega-menu. The wrapper stays position:static so .el-mega keeps resolving
      its left/right/top:100% against .el-hdr, which is the sticky positioned ancestor.
      That is what makes the panel span the full header width rather than the nav item.
      display:none rather than opacity, because opacity never signals state here.
      The 901px floor is the complement of the source's own 900px query above: without
      it the reveal rule, being more specific than that query's .el-mega{display:none},
      would open panels on touch-tap at mobile widths. There is no breakpoint token in
      _design-source/tokens/ (the design system writes breakpoints as literals), so
      this one literal is unavoidable and is paired to the source's.
      [data-open="on"] is a THIRD opener, never a replacement: elaia.js sets it on click
      so the panel stays open once asked for, and clears it on Escape or a click outside.
      Because it only ever adds to :hover, a script that never loads leaves the menu
      behaving exactly as it did before it existed. See adr/0008. */
.el-hdr__item{display:flex;align-items:center;position:static}
.el-hdr__item>.el-mega{display:none}
@media (min-width:901px){
.el-hdr__item:hover>.el-mega,.el-hdr__item:focus-within>.el-mega,
.el-hdr__item[data-open="on"]>.el-mega{display:grid}
}

/* 1b. The drawer's own nesting. A disclosure per category that has children, to any
      depth, added when the owner restructured the tree and a phone had no way to reach
      the second level. Hidden above the mobile breakpoint with the rest of the drawer,
      so none of it costs the desktop anything. */
.el-hdr__sub{display:block}
.el-hdr__subsum{display:flex;align-items:center;justify-content:space-between;
gap:var(--space-3);cursor:pointer;list-style:none;min-height:var(--tap-min);
font:var(--type-nav);color:var(--text-primary)}
.el-hdr__subsum::-webkit-details-marker{display:none}
.el-hdr__subname{min-width:0}
.el-hdr__sub[open]>.el-hdr__subsum>.el-hdr__subopen{display:none}
.el-hdr__sub:not([open])>.el-hdr__subsum>.el-hdr__subshut{display:none}

/* The chain, one step per level. --space-5 is the step the admin tree uses too. */
.el-hdr__sub>.el-navlink{padding-left:var(--space-5)}
.el-hdr__sub--1>.el-hdr__subsum{padding-left:var(--space-5)}
.el-hdr__sub--1>.el-navlink{padding-left:var(--space-10)}
.el-hdr__sub--2>.el-hdr__subsum{padding-left:var(--space-10)}
.el-hdr__sub--2>.el-navlink{padding-left:var(--space-12)}

/* 2. The <details> burger. The marker resets are what let a <summary> wear .el-iconbtn:
      display:inline-flex drops the triangle in Chrome and Firefox, and the -webkit
      pseudo-element is still needed for Safari. The drawer is anchored to .el-hdr
      exactly as .el-mega is, so the two panels sit at the same depth. */
.el-hdr__burger>summary{list-style:none}
.el-hdr__burger>summary::-webkit-details-marker{display:none}
/* The drawer takes the height it needs and scrolls INSIDE itself. Without the
   three properties below it was as tall as its links with no scroller of its
   own, so a flick inside the open menu was never scrolling the drawer — it was
   scrolling the storefront underneath, which is what the operator saw moving.

   dvh after vh, not instead of it: dvh tracks the phone browser’s collapsing
   toolbar, and a browser that does not know the unit keeps the vh line above.

   NO PAGE LOCK HERE, and that is deliberate rather than an omission. A rule of
   `html:has(.el-hdr__burger[open]){overflow:hidden}` looks like the obvious
   companion to this and froze the site in session 022: overflow:hidden on the
   root removes the scroll container that .el-hdr’s `position:sticky` depends on,
   so opening the menu after scrolling snapped the header back to its static
   position — measured at 864px above the viewport — taking the burger and this
   drawer with it. Menu open, page locked, nothing on screen to close it.
   `overscroll-behavior:contain` does not save it either: it governs a container
   that actually scrolls, and these links usually fit — so on touch a drag chains
   straight to the page. It was verified with a mouse wheel in a desktop browser,
   which is not touch, and the bug survived two “fixes” because of it.

   The page is therefore held by elaia.js, which pins the body at its current
   offset — the one approach iOS honours. The rules below are its other half: a
   pinned body would otherwise take the sticky header off screen with it, which is
   exactly the freeze described above, so the header is pinned too and the close
   button stays reachable. Scoped to the breakpoint, so a <details> left open and
   then widened past 900px cannot strand a desktop page. */
@media (max-width:900px){
body[data-nav-lock]{position:fixed;left:0;right:0}
body[data-nav-lock] .el-hdr{position:fixed;top:0;left:0;right:0}
}
.el-hdr__drawer{position:absolute;left:0;right:0;top:100%;
display:flex;flex-direction:column;gap:var(--space-2);
padding:var(--space-6) var(--gutter-page) var(--space-8);
max-width:var(--maxw-site);margin:0 auto;
max-height:calc(100vh - var(--header-h));
max-height:calc(100dvh - var(--header-h));
overflow-y:auto;overscroll-behavior:contain;
background:var(--surface-page);border-bottom:1px solid var(--border-hairline);box-shadow:var(--shadow-md);
animation:el-mega-in var(--dur-slow) var(--ease-out-soft)}

.el-hdr__drawer .el-navlink{display:flex;align-items:center;min-height:var(--tap-min)}

/* ===== breadcrumbs ===== */
.el-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);
font-size:var(--text-xs);color:var(--text-muted)}
.el-crumbs a{color:var(--text-muted)}
.el-crumbs a:hover{color:var(--text-primary)}
.el-crumbs__sep{opacity:.55}
.el-crumbs__now{color:var(--text-primary)}

/* ===== tabs ===== */
.el-tabs{display:flex;align-items:center;gap:var(--space-6);border-bottom:1px solid var(--border-hairline);overflow-x:auto;scrollbar-width:none}
.el-tabs::-webkit-scrollbar{display:none}
.el-tabs--plain{border-bottom:0}
.el-tab{position:relative;padding:var(--space-3) 0;border:0;background:none;cursor:pointer;white-space:nowrap;
font:var(--type-nav);color:var(--text-muted);transition:var(--t-color)}
.el-tab:hover{color:var(--text-primary)}
.el-tab--on{color:var(--text-primary)}
.el-tab::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:var(--rule-weight-strong);
background:var(--bark-900);transform:scaleX(0);transform-origin:left;transition:transform var(--dur-base) var(--ease-out-soft)}
.el-tab--on::after{transform:scaleX(1)}
.el-tab__count{margin-left:var(--space-2);font-size:var(--text-2xs);color:var(--text-muted);font-variant-numeric:tabular-nums}

/* ===== filterchip ===== */
.el-chip{display:inline-flex;align-items:center;gap:var(--space-2);height:34px;padding:0 var(--space-4);
border:1px solid var(--border-subtle);border-radius:var(--radius-chip);background:transparent;
font:var(--type-label);color:var(--text-primary);cursor:pointer;white-space:nowrap;transition:var(--t-color)}
.el-chip:hover{border-color:var(--border-strong)}
.el-chip--on{background:var(--action-primary-bg);border-color:var(--action-primary-bg);color:var(--action-primary-fg)}
.el-chip--on:hover{background:var(--action-primary-bg-hover);border-color:var(--action-primary-bg-hover)}
.el-chip__caret{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;
transform:translateY(-2px) rotate(45deg);opacity:.7}
.el-chip__n{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:var(--radius-pill);
background:currentColor;font-size:10px;line-height:1}
.el-chip__n span{color:var(--surface-page);font-weight:var(--weight-semibold)}

/* ===== pagination ===== */
.el-pag{display:flex;align-items:center;justify-content:center;gap:var(--space-1)}
.el-pag__b{min-width:36px;height:36px;padding:0 var(--space-2);display:grid;place-items:center;border:0;
background:none;cursor:pointer;font:var(--type-body-sm);color:var(--text-secondary);
border-radius:var(--radius-button);transition:var(--t-color);font-variant-numeric:tabular-nums}
.el-pag__b:hover:not(:disabled){background:var(--action-ghost-bg-hover);color:var(--text-primary)}
.el-pag__b:disabled{color:var(--text-muted);cursor:not-allowed}
.el-pag__b--on{background:var(--action-primary-bg);color:var(--action-primary-fg);font-weight:var(--weight-medium)}
.el-pag__b--on:hover{background:var(--action-primary-bg)}
.el-pag__gap{width:24px;text-align:center;color:var(--text-muted)}

/* ===== DEVIATION. Everything above this line is the source block, verbatim. =====
   :disabled cannot match the <span> that stands in for an unfollowable arrow, because
   an anchor has no disabled state. Same two declarations, same tokens. */
.el-pag__b--off{color:var(--text-muted);cursor:not-allowed}

/* ===== dialog ===== */
.el-scrim{position:fixed;inset:0;z-index:80;background:var(--surface-overlay);
display:flex;animation:el-fade var(--dur-base) var(--ease-standard)}
@keyframes el-fade{from{opacity:0}to{opacity:1}}
.el-scrim--center{align-items:center;justify-content:center;padding:var(--space-6)}
.el-scrim--right{justify-content:flex-end}
.el-scrim--bottom{align-items:flex-end}
.el-dlg{background:var(--surface-raised);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;
max-height:100%;min-width:0;border-radius:var(--radius-dialog)}
.el-dlg--center{width:100%;max-width:460px;animation:el-pop var(--dur-base) var(--ease-out-soft)}
.el-dlg--right{width:min(420px,100%);height:100%;border-radius:0;animation:el-slide-r var(--dur-slow) var(--ease-out-soft)}
.el-dlg--bottom{width:100%;max-height:86vh;border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;animation:el-slide-b var(--dur-slow) var(--ease-out-soft)}
@keyframes el-pop{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes el-slide-r{from{transform:translateX(100%)}to{transform:none}}
@keyframes el-slide-b{from{transform:translateY(100%)}to{transform:none}}
.el-dlg__hd{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-5) var(--space-6);
border-bottom:1px solid var(--border-hairline);flex:none}
.el-dlg__t{flex:1;min-width:0;font-family:var(--font-display);font-size:var(--text-lg);font-weight:var(--weight-regular)}
.el-dlg__t--caps{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;color:var(--text-secondary)}
.el-dlg__bd{padding:var(--space-6);overflow:auto;flex:1;min-height:0}
.el-dlg__ft{display:flex;gap:var(--space-3);justify-content:flex-end;padding:var(--space-5) var(--space-6);
border-top:1px solid var(--border-hairline);flex:none}
.el-dlg__ft--block{flex-direction:column}

/* ── Added by the port. Not in Dialog.jsx. ───────────────────────────────────────────
   The source's scrim is a <div>; this port emits <dialog> so the server can return a
   page with the overlay already open and so the browser supplies the dialog semantics.
   That swap drags in the UA stylesheet's dialog rules, which the source never had to
   fight: a medium border, 1em of padding, width/height:fit-content, margin:auto, a
   Canvas background, and — once showModal() is used — a dialog:modal max-width that
   would shrink a full-viewport scrim.

   Every declaration below resets a property to an initial/none value. There is no design
   value here, so the no-hard-coded-values rule is intact.

   The selector is the bare `dialog` type (specificity 0,0,1) deliberately: author origin
   beats the UA sheet, while every verbatim `.el-scrim*` rule above still beats this, so
   `.el-scrim--center`'s padding and `.el-scrim`'s fixed positioning and overlay fill all
   survive. The one intentionally stronger selector is `dialog:not([open])` (0,1,1),
   which outranks `.el-scrim{display:flex}` — that is what lets a closed overlay sit in
   the markup waiting for the enhancement script instead of flashing on load. */
dialog{margin:0;border:0;padding:0;width:auto;height:auto;max-width:none;max-height:none;
background:none;color:inherit;overflow:visible}
dialog:not([open]){display:none}
dialog::backdrop{background:transparent}

/* ===== toast ===== */
.el-toasts{position:fixed;z-index:90;bottom:var(--space-6);right:var(--space-6);
display:flex;flex-direction:column;gap:var(--space-2);max-width:min(380px,calc(100vw - 32px))}
.el-toast{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-4);
background:var(--surface-inverse);color:var(--cream-100);box-shadow:var(--shadow-lg);
border-radius:var(--radius-dialog);animation:el-toast-in var(--dur-slow) var(--ease-out-soft)}
@keyframes el-toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.el-toast--success{box-shadow:var(--shadow-lg),inset 2px 0 0 var(--success-500)}
.el-toast--warning{box-shadow:var(--shadow-lg),inset 2px 0 0 var(--warning-500)}
.el-toast--danger{box-shadow:var(--shadow-lg),inset 2px 0 0 var(--danger-500)}
.el-toast__icon{flex:none;margin-top:1px;opacity:.9}
.el-toast__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.el-toast__t{font:var(--type-body-sm);font-weight:var(--weight-medium)}
.el-toast__d{font-size:var(--text-xs);color:rgba(248,244,235,.66)}
.el-toast__a{align-self:flex-start;margin-top:var(--space-2);background:none;border:0;padding:0;cursor:pointer;
color:var(--olive-200);font:var(--type-label);letter-spacing:var(--tracking-caps);text-transform:uppercase}
.el-toast__a:hover{color:var(--cream-100)}
.el-toast__x{flex:none;background:none;border:0;padding:0;cursor:pointer;color:inherit;opacity:.5;line-height:1}
.el-toast__x:hover{opacity:1}

/* ── Added by the port. Not in Toast.jsx. ───────────────────────────────────────────
   The source's dismiss control is a <button>; the no-JS requirement makes it an <a>,
   which brings tokens/base.css's `a:hover{color:var(--text-link-hover)}` into play.
   That selector is (0,1,1) — stronger than `.el-toast__x{color:inherit}` at (0,1,0) —
   so hovering the × repainted it olive-500 on the bark card: 2.6:1 against
   --surface-inverse, where the inherited cream is 15:1. This restores the source's
   appearance. `inherit` is not a design value, and the selector ties with `a:hover`
   and wins only on order, so it cannot outrank anything verbatim above. */
.el-toast__x:hover{color:inherit}

/* ===== tooltip ===== */
.el-tip{position:relative;display:inline-flex}
.el-tip__pop{position:absolute;z-index:70;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);
padding:6px var(--space-3);background:var(--surface-inverse);color:var(--cream-100);
font-size:var(--text-xs);line-height:1.4;white-space:nowrap;border-radius:var(--radius-xs);
box-shadow:var(--shadow-sm);opacity:0;pointer-events:none;
transition:opacity var(--dur-fast) var(--ease-standard)}
.el-tip__pop--bottom{bottom:auto;top:calc(100% + 8px)}
.el-tip:hover .el-tip__pop,.el-tip:focus-within .el-tip__pop{opacity:1}

/* ===== emptystate ===== */
.el-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-3);
padding:var(--space-16) var(--space-6);color:var(--text-secondary)}
.el-empty--left{align-items:flex-start;text-align:left;padding-left:0;padding-right:0}
.el-empty__icon{color:var(--taupe-600);margin-bottom:var(--space-1)}
.el-empty__t{font-family:var(--font-display);font-size:var(--text-xl);font-weight:var(--weight-light);color:var(--text-primary)}
.el-empty__d{font:var(--type-body-sm);color:var(--text-muted);max-width:42ch}
.el-empty__a{margin-top:var(--space-3)}

/* ===== skeleton ===== */
.el-skel{display:block;background:var(--cream-200);position:relative;overflow:hidden;border-radius:var(--radius-xs)}
.el-skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);
background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
animation:el-shim 1.4s var(--ease-standard) infinite}
@keyframes el-shim{to{transform:translateX(100%)}}
.el-skel--text{height:.75em;border-radius:var(--radius-xs);margin:.25em 0}
.el-skel--media{border-radius:var(--radius-media);aspect-ratio:3/4;width:100%}
.el-skel--circle{border-radius:50%}
@media (prefers-reduced-motion:reduce){.el-skel::after{animation:none}}

/* ===== progress ===== */
.el-prog{display:flex;flex-direction:column;gap:var(--space-2)}
.el-prog[hidden]{display:none}
.el-prog__head{display:flex;align-items:baseline;justify-content:space-between;
gap:var(--space-3)}
.el-prog__state{font:var(--type-label);color:var(--text-secondary)}
.el-prog__pct{font:var(--type-data);font-size:var(--text-xs);color:var(--text-muted);
font-variant-numeric:tabular-nums}
.el-prog__track{height:var(--space-2);background:var(--surface-sunken);
border-radius:var(--radius-xs);overflow:hidden}
.el-prog__fill{display:block;height:100%;width:0;position:relative;
background:var(--action-primary-bg);border-radius:var(--radius-xs);
transition:width var(--dur-base) var(--ease-standard)}
.el-prog__note{font:var(--type-body-sm);color:var(--danger-700);margin:0}
.el-prog__note[hidden]{display:none}

/* Processing: the bytes have landed and the server is working with nothing to report.
   A full bar with a cream sweep over it.

   --dur-reveal (1100ms) rather than Skeleton's literal 1.4s. Skeleton keeps the literal
   because the source ships it and ARCHITECTURE section 3.5 says copy verbatim; this
   component has no source, so the standing rule applies instead and the duration is a
   token. The token is zeroed under prefers-reduced-motion, which on an INFINITE animation
   means repainting forever rather than stopping - the explicit animation:none below is
   what actually handles it, and is why using the token here is safe at all. */
.el-prog--busy .el-prog__fill{width:100%}
.el-prog--busy .el-prog__fill::after{content:"";position:absolute;inset:0;
transform:translateX(-100%);
background:linear-gradient(90deg,transparent,var(--cream-200),transparent);
animation:el-prog-shim var(--dur-reveal) var(--ease-standard) infinite}
@keyframes el-prog-shim{to{transform:translateX(100%)}}

/* The track is tinted too, not only the fill. A refusal caught before anything was sent
   leaves the fill at zero width, and an untinted track beside the message reads as idle
   rather than refused - the component has to carry the state at 0% as well as at 60%. */
.el-prog--failed .el-prog__track{background:var(--danger-50)}
.el-prog--failed .el-prog__fill{background:var(--danger-500)}

/* The sweep is removed outright rather than run in 0ms: a zeroed duration on an infinite
   animation still repaints forever. Same treatment as Skeleton. */
@media (prefers-reduced-motion:reduce){.el-prog--busy .el-prog__fill::after{animation:none}}

/* ===== statuspill ===== */
.el-pill{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 var(--space-3) 0 var(--space-2);
border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:var(--weight-medium);white-space:nowrap}
.el-pill__dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.el-pill--neutral{background:var(--cream-300);color:var(--taupe-700)}
.el-pill--success{background:var(--success-50);color:var(--success-700)}
.el-pill--warning{background:var(--warning-50);color:var(--warning-700)}
.el-pill--danger{background:var(--danger-50);color:var(--danger-700)}
.el-pill--info{background:var(--info-50);color:var(--info-700)}
.el-pill--brand{background:var(--surface-brand-soft);color:var(--olive-700)}

/* ===== statcard ===== */
.el-stat{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-5);
background:var(--surface-raised);border:1px solid var(--border-hairline);box-shadow:var(--shadow-xs);
border-radius:var(--radius-sm);min-width:0}
.el-stat__top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}
.el-stat__lbl{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;color:var(--text-muted)}
.el-stat__icon{color:var(--taupe-600)}
.el-stat__v{font-family:var(--font-display);font-size:var(--text-3xl);font-weight:var(--weight-light);
line-height:1;color:var(--text-primary);font-variant-numeric:tabular-nums;letter-spacing:var(--tracking-tight)}
.el-stat__row{display:flex;align-items:baseline;gap:var(--space-3);flex-wrap:wrap}
.el-stat__d{display:inline-flex;align-items:center;gap:3px;font-size:var(--text-xs);font-weight:var(--weight-medium)}
.el-stat__d--up{color:var(--success-500)}
.el-stat__d--down{color:var(--danger-500)}
.el-stat__d--flat{color:var(--text-muted)}
.el-stat__sub{font-size:var(--text-xs);color:var(--text-muted)}
.el-stat__spark{display:flex;align-items:flex-end;gap:2px;height:26px;margin-top:var(--space-2)}
.el-stat__bar{flex:1;background:var(--olive-200);border-radius:1px;min-height:2px}
.el-stat__bar:last-child{background:var(--olive-500)}

/* ADDED by the C# port, not present in the source component. The sparkline is a single
   stroke-only polyline rather than the source's row of bars — see the XML docs on
   StatCard for why. The colour is --olive-500, which is exactly what the source gave
   .el-stat__bar:last-child, and the stroke is picked up from currentColor.
   overflow:visible keeps the hairline from being clipped where the series touches the
   top or bottom of the box. */
.el-stat__sparkline{flex:1;width:100%;height:100%;color:var(--olive-500);overflow:visible}

/* ===== searchfield ===== */
.el-search{position:relative;display:flex;align-items:center;gap:var(--space-2);height:var(--control-h-md);padding:0 var(--space-3);
background:var(--surface-raised);border:1px solid var(--border-subtle);border-radius:var(--radius-input);
color:var(--text-muted);min-width:0;transition:var(--t-color)}
.el-search--sm{height:var(--control-h-sm)}
.el-search--bare{background:transparent;border-color:transparent;padding-left:0}
.el-search:hover{border-color:var(--border-default)}
.el-search:focus-within{border-color:var(--border-strong);box-shadow:var(--shadow-focus);color:var(--text-primary)}
.el-search__el{flex:1;min-width:0;border:0;outline:0;background:none;font:var(--type-body-sm);color:var(--text-primary)}
.el-search__el::placeholder{color:var(--text-muted)}
.el-search__x{border:0;background:none;padding:0;cursor:pointer;color:var(--text-muted);line-height:1;font-size:15px}
.el-search__x:hover{color:var(--text-primary)}
/* Type-ahead panel. Only rendered when a suggest endpoint was supplied, and hidden
   until the script has something to put in it. --shadow-md is the design system's
   dropdown elevation. */
.el-search__panel{position:absolute;top:calc(100% + var(--space-2));left:0;right:0;z-index:60;
background:var(--surface-raised);border:1px solid var(--border-hairline);
border-radius:var(--radius-sm);box-shadow:var(--shadow-md);padding:var(--space-3);
max-height:60vh;overflow-y:auto}
.el-search__panel[hidden]{display:none}
.el-search__kbd{font:var(--type-data);font-size:10px;color:var(--text-muted);border:1px solid var(--border-hairline);
border-radius:var(--radius-xs);padding:1px 5px;flex:none}

/* ADDED by the C# port, not present in the source component. The source's wrapper is a
   <div>; this port's is a <form> (see the XML docs on SearchField), and the HTML UA
   stylesheet gives every form `margin-block-end:1em`. base.css resets body, headings
   and p, but not form, so without this the field drags 16px of dead space below it —
   visible immediately in a DataTable toolbar, where .el-tbl__bar is an align-items:
   center flex row and the stray margin both grows the bar and knocks the field off
   centre against its siblings. No design value: it restores the source's own zero.
   Same shape as the dialog{margin:0;...} reset in Feedback/Dialog.cs. */
form.el-search{margin:0}

/* ===== choicepicker ===== */
.el-cpk{border:1px solid var(--border-hairline);background:var(--surface-raised)}
.el-cpk__sum{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);
cursor:pointer;font:var(--type-body-sm);color:var(--text-primary);list-style:none}
.el-cpk__sum::-webkit-details-marker{display:none}
.el-cpk__sum:focus-visible{box-shadow:var(--shadow-focus)}
.el-cpk__dots{display:flex;align-items:center;gap:var(--space-1);flex-wrap:wrap;min-width:0}
.el-cpk__count{color:var(--text-secondary);margin-left:auto;white-space:nowrap}
.el-cpk__caret{flex:none;color:var(--text-muted);transition:transform var(--dur-fast) var(--ease-standard)}
.el-cpk[open] .el-cpk__caret{transform:rotate(180deg)}
.el-cpk__panel{border-top:1px solid var(--border-hairline);padding:var(--space-3);
display:flex;flex-direction:column;gap:var(--space-3)}
.el-cpk__list{max-height:260px;overflow-y:auto;display:flex;flex-direction:column;
gap:var(--space-2);margin:0;padding:0;list-style:none}
.el-cpk__row{display:flex;align-items:center;gap:var(--space-3)}
.el-cpk__group{font:var(--type-eyebrow);color:var(--text-muted);margin:var(--space-2) 0 0}
.el-cpk__group:first-child{margin-top:0}
.el-cpk__dot{flex:none;width:18px;height:18px;border-radius:var(--radius-circle);
box-shadow:inset 0 0 0 1px var(--border-hairline)}
.el-cpk__none{font:var(--type-body-sm);color:var(--text-muted);margin:0}

/* The filter field and the control that empties it. A wrapper rather than a background
   image on the input, because the clear has to be a real focusable button: emptying a
   field is an action, and an operator on a keyboard needs to reach it. */
.el-cpk__find{position:relative;display:flex}
.el-cpk__find .el-cpk__q{flex:1;min-width:0;padding-right:var(--space-8)}

/* Both browsers' own clear affordances are suppressed. Chromium draws one inside a
   type=search and Edge draws a second; keeping either would put two crosses in the box
   on one browser and one on another. */
.el-cpk__q::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.el-cpk__q::-ms-clear{display:none}

.el-cpk__clear{position:absolute;top:0;right:0;bottom:0;width:var(--space-8);
display:flex;align-items:center;justify-content:center;padding:0;border:0;
background:transparent;color:var(--text-muted);cursor:pointer;
transition:var(--t-color)}
.el-cpk__clear:hover{color:var(--text-primary)}
.el-cpk__clear:focus-visible{box-shadow:var(--shadow-focus);border-radius:var(--radius-xs)}
.el-cpk__clear[hidden]{display:none}

/* ===== pageheader ===== */
.el-ph{display:flex;align-items:flex-start;gap:var(--space-6);flex-wrap:wrap;
padding-bottom:var(--space-5);border-bottom:1px solid var(--border-hairline);margin-bottom:var(--space-6)}
.el-ph--plain{border-bottom:0;padding-bottom:0}
/* flex-basis 16rem, not a bare flex:1. With flex:1 and min-width:0 the title column
   absorbed every pixel of shrinkage and the actions beside it never wrapped, so on a
   phone the h1 was squeezed to 89px and "Dashboard" was cut in half. A basis gives the
   flexbox a width to fall back to: below it the actions wrap underneath instead, and
   above it nothing changes at all - desktop is byte-identical (session 074).

   DEVIATION, flagged per CLAUDE.md 1.1: 16rem is a literal where the design system
   wants a var(--token). There is no token for it - the spacing scale stops at 160px and
   the maxw tokens are prose and form widths, neither of which this is. It is a wrap
   threshold, chosen as the width below which a title and a button stop fitting side by
   side, and measured rather than guessed. */
.el-ph__main{flex:1 1 16rem;min-width:0;display:flex;flex-direction:column;gap:var(--space-2)}
.el-ph__over{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;color:var(--text-muted)}
.el-ph__t{font-family:var(--font-display);font-size:var(--text-2xl);font-weight:var(--weight-light);
line-height:var(--leading-tight);letter-spacing:var(--tracking-tight);display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.el-ph__d{font:var(--type-body-sm);color:var(--text-muted);max-width:var(--maxw-prose)}
.el-ph__actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;padding-top:var(--space-1)}

/* ADDED by the C# port, not present in the source component: the breadcrumb slot. The
   admin's deep screens (a variant inside a product inside the catalogue) need an
   upward path, and the sidebar only ever marks the top level. Token-only, and it
   borrows the eyebrow's own gap so it sits on the same rhythm as the rest of the
   block. See the XML docs on PageHeader. */
.el-ph__crumb{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;
font:var(--type-body-sm);color:var(--text-muted)}

/* ===== datatable ===== */
.el-tblwrap{background:var(--surface-raised);border:1px solid var(--border-hairline);
box-shadow:var(--shadow-xs);border-radius:var(--radius-sm);overflow:hidden}
.el-tblscroll{overflow-x:auto}
.el-tbl{width:100%;border-collapse:collapse;font:var(--type-body-sm)}
.el-tbl th{text-align:left;font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);
text-transform:uppercase;color:var(--text-muted);padding:var(--space-3) var(--space-4);
border-bottom:1px solid var(--border-hairline);white-space:nowrap;background:var(--cream-50);position:sticky;top:0;z-index:1}
.el-tbl th.el-num,.el-tbl td.el-num{text-align:right;font-variant-numeric:tabular-nums}
.el-tbl th.el-sortable{cursor:pointer;user-select:none}
.el-tbl th.el-sortable:hover{color:var(--text-primary)}
.el-tbl__caret{margin-left:4px;opacity:.5;font-size:9px}
.el-tbl td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border-hairline);
color:var(--text-primary);vertical-align:middle}
.el-tbl tbody tr{transition:background-color var(--dur-fast) var(--ease-standard)}
.el-tbl tbody tr:hover{background:var(--cream-200)}
.el-tbl tbody tr:last-child td{border-bottom:0}
.el-tbl tbody tr.el-tbl__sel{background:var(--surface-brand-soft)}
.el-tbl__mono{font:var(--type-data);color:var(--text-secondary)}
.el-tbl__thumb{width:36px;height:48px;object-fit:cover;background:var(--cream-200);flex:none}
.el-tbl__cell{display:flex;align-items:center;gap:var(--space-3);min-width:0}
.el-tbl__stack{display:flex;flex-direction:column;gap:1px;min-width:0}
.el-tbl__sub{font-size:var(--text-xs);color:var(--text-muted)}
.el-tbl__bar{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);
border-bottom:1px solid var(--border-hairline);background:var(--cream-50);flex-wrap:wrap}
.el-tbl__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
padding:var(--space-3) var(--space-4);border-top:1px solid var(--border-hairline);
font-size:var(--text-xs);color:var(--text-muted);flex-wrap:wrap}

/* ADDED by the C# port, not present in the source component. The source needed none of
   these because sorting, row opening and bulk select were JS event handlers; here they
   are a link, a link and a checkbox, and those are elements that need styling. Every
   value is a token, a percentage or a layout keyword — no design values. See the XML
   docs on DataTable.

   The two anchors are deliberately selected through an ancestor class so they outrank
   base.css's a:hover colour, which would otherwise repaint them --text-link-hover and
   break both the muted header and the inherited cell colour. The row hover cue stays
   what the design system chose: the --cream-200 background, not an underline and not
   opacity.

   Known, accepted: .el-tbl th.el-sortable{cursor:pointer} is the source's own rule and
   is kept verbatim, but now only the inline <a> inside the header is clickable, so the
   cell's padding shows a pointer and does nothing. Stretching the anchor over the
   cell's padding would need offsets the design system does not define, so the source's
   rule stands. */
.el-tbl th .el-tbl__sort{display:inline-flex;align-items:center;color:inherit;text-decoration:none}
.el-tbl td .el-tbl__rowlink{display:block;min-width:0;color:inherit;text-decoration:none}
/* The pointer cursor is gated on data-js, because only the enhancement script widens
   the hit area from the first cell's link to the whole row. In the no-JS document the
   rest of the row is not clickable, and a pointer cursor over it would be a lie.
   Same shape as PromoBar's html[data-js="on"] arrow rule. */
/* width:1% makes the select column shrink to its checkbox instead of taking an equal
   share of the table, which is the table-layout idiom for a fixed-content column. */
.el-tbl th.el-tbl__pick,.el-tbl td.el-tbl__pick{width:1%;white-space:nowrap;text-align:center}
.el-tbl td.el-tbl__empty{padding:var(--space-8) var(--space-4);text-align:center;color:var(--text-muted)}

/* ===== sidebarnav ===== */
.el-side{width:var(--admin-sidebar-w);flex:none;display:flex;flex-direction:column;
background:var(--bark-950);color:var(--cream-100);height:100%;overflow:hidden;
transition:width var(--dur-base) var(--ease-standard)}
.el-side--collapsed{width:var(--admin-sidebar-w-collapsed)}
.el-side__brand{height:var(--admin-topbar-h);display:flex;align-items:center;gap:var(--space-3);
padding:0 var(--space-5);border-bottom:1px solid rgba(248,244,235,.12);flex:none;overflow:hidden}
.el-side__tagline{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;
color:rgba(248,244,235,.42);white-space:nowrap}
.el-side__scroll{flex:1;overflow-y:auto;padding:var(--space-4) var(--space-3) var(--space-6)}
.el-side__grp{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;
color:rgba(248,244,235,.38);padding:var(--space-5) var(--space-3) var(--space-2);white-space:nowrap}
.el-side__grp:first-child{padding-top:var(--space-1)}
.el-side__i{display:flex;align-items:center;gap:var(--space-3);width:100%;height:36px;padding:0 var(--space-3);
border:0;background:none;cursor:pointer;color:rgba(248,244,235,.74);font:var(--type-body-sm);
border-radius:var(--radius-sm);text-align:left;white-space:nowrap;transition:var(--t-color)}
.el-side__i:hover{background:rgba(248,244,235,.08);color:var(--cream-100)}
.el-side__i--on{background:rgba(248,244,235,.12);color:var(--cream-100);font-weight:var(--weight-medium)}
.el-side__lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.el-side__n{font-size:var(--text-2xs);font-variant-numeric:tabular-nums;color:var(--olive-200);
background:rgba(248,244,235,.10);padding:1px 6px;border-radius:var(--radius-pill)}
.el-side--collapsed .el-side__lbl,.el-side--collapsed .el-side__n,
.el-side--collapsed .el-side__grp,.el-side--collapsed .el-side__tagline{display:none}
.el-side--collapsed .el-side__i{justify-content:center;padding:0}
.el-side__foot{flex:none;padding:var(--space-3);border-top:1px solid rgba(248,244,235,.12)}

/* THE SAME COLLAPSE, KEYED ON WIDTH RATHER THAN ON THE CLASS.

   AdminLayout narrows the grid track to the collapsed width below 900px, but collapsing
   the rail itself was only ever a server decision: .el-side--collapsed is emitted when
   chrome.Collapsed is true, and the viewport cannot set that. So on a phone the track was
   64px and the rail inside it was still laid out at its full 244px - brand, group
   headings and every label - scrolling sideways inside the cell and sitting under the
   content. That is what the console looked like on an iPhone (session 075).

   The rules below are .el-side--collapsed's, applied by width. Two additions it does not
   need: the brand centres its wordmark where the expanded one left-aligns it, and the
   foot goes, because the only thing in it is the collapse toggle and at this width
   expanding is a no-op. */
@media (max-width:900px){
.el-side{width:var(--admin-sidebar-w-collapsed)}
.el-side__lbl,.el-side__n,.el-side__grp,.el-side__tagline{display:none}
.el-side__i{justify-content:center;padding:0}
.el-side__brand{padding:0;justify-content:center}
.el-side__foot{display:none}
}

/* ===== page-storefront ===== */
/* Page frame. The gutter is the design system's fluid clamp, so a phone gets 16px and a
   wide desktop 72px with no breakpoint logic anywhere. */
.el-page{min-height:100vh;display:flex;flex-direction:column}
.el-page__main{flex:1 0 auto}

/* Section rhythm is coarse on purpose: 48 / 80 / 128px. Fashion pages breathe. */
.el-section{padding:var(--section-y) var(--gutter-page);max-width:var(--maxw-site);margin:0 auto;width:100%}
.el-section--tight{padding-top:var(--section-y-sm);padding-bottom:var(--section-y-sm)}
.el-section--loose{padding-top:var(--section-y-lg);padding-bottom:var(--section-y-lg)}
.el-section--flush{padding-left:0;padding-right:0;max-width:none}

/* Section heading block: eyebrow over a serif title, with an optional link on the right. */
.el-sechead{display:flex;align-items:flex-end;justify-content:space-between;
gap:var(--space-6);margin-bottom:var(--space-8);flex-wrap:wrap}
.el-sechead__text{display:flex;flex-direction:column;gap:var(--space-2)}
.el-sechead__title{font-size:var(--display-section)}
.el-sechead__link{font:var(--type-nav);border-bottom:1px solid var(--border-default);padding-bottom:2px}

/* Product grid: 2-up mobile, 3-up tablet, 4-up desktop, gutter widening past 1200px. */
.el-grid{display:grid;gap:var(--gutter-grid);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:700px){.el-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1000px){.el-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1200px){.el-grid{gap:var(--gutter-grid-lg)}}
.el-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1000px){.el-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.el-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1000px){.el-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Horizontal rail. Bleeds to the screen edge by negating the gutter, so cards are
   visibly cut off — the affordance that there is more. Scroll-snaps, hides its bar. */
.el-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(66%,1fr);
gap:var(--gutter-grid);overflow-x:auto;scroll-snap-type:x mandatory;
scrollbar-width:none;-ms-overflow-style:none;
margin-inline:calc(var(--gutter-page) * -1);padding-inline:var(--gutter-page)}
.el-rail::-webkit-scrollbar{display:none}
.el-rail>*{scroll-snap-align:start}
@media (min-width:700px){.el-rail{grid-auto-columns:minmax(32%,1fr)}}
@media (min-width:1000px){.el-rail{grid-auto-columns:minmax(23%,1fr)}}

/* Footer. Bark ground via the design system's inverse token scope. */
.el-foot{background:var(--bark-950);color:var(--cream-100)}
.el-foot__inner{max-width:var(--maxw-site);margin:0 auto;
padding:var(--space-20) var(--gutter-page) var(--space-10);
display:grid;gap:var(--space-16);grid-template-columns:1fr}
/* Brand block, then ONE TRACK PER NAV COLUMN — keep the count in step with
   StorefrontLayout’s footer table. It read repeat(3,1fr) until the ELAIA column was
   removed in session 023, which left four tracks for three items and a hole on the
   right. repeat(auto-fit,minmax(0,1fr)) is the obvious escape and does not work:
   auto-fit cannot count tracks from a zero minimum and collapses to one. */
@media (min-width:800px){.el-foot__inner{grid-template-columns:1.4fr repeat(2,1fr)}}
.el-foot__brand{display:flex;flex-direction:column;gap:var(--space-5)}
.el-foot__col{display:flex;flex-direction:column;gap:var(--space-3)}
/* The two social links. In the brand column under the wordmark, which is where the
   kit's own footer keeps everything that is about the shop rather than about a page. */
.el-foot__social{display:flex;gap:var(--space-4)}
.el-foot__soc{display:inline-flex;color:var(--text-secondary);
transition:color var(--dur-fast) var(--ease-standard)}
.el-foot__soc:hover{color:var(--text-primary)}
.el-foot__soc:focus-visible{box-shadow:var(--shadow-focus)}
.el-foot__link{font:var(--type-body-sm);color:var(--text-secondary)}
.el-foot__link:hover{color:var(--text-primary)}
.el-foot__base{max-width:var(--maxw-site);margin:0 auto;
padding:var(--space-5) var(--gutter-page) var(--space-10);
border-top:1px solid var(--border-hairline);display:flex;justify-content:space-between;
gap:var(--space-6);flex-wrap:wrap;font:var(--type-body-sm);color:var(--text-muted)}
.el-foot__meta{display:flex;gap:var(--space-6);flex-wrap:wrap}

/* ===== page-admin ===== */
/* Shell. The sidebar is fixed and the content column scrolls, so the nav never moves. */
.el-admin{display:grid;min-height:100vh;grid-template-columns:var(--admin-sidebar-w) 1fr;
background:var(--surface-page)}
.el-admin--collapsed{grid-template-columns:var(--admin-sidebar-w-collapsed) 1fr}
.el-admin__side{position:sticky;top:0;height:100vh;overflow-y:auto}
.el-admin__col{display:flex;flex-direction:column;min-width:0}

/* On a narrow screen the sidebar becomes a strip rather than disappearing: an operator
   on a tablet in a stockroom still needs to navigate. */
@media (max-width:900px){
.el-admin{grid-template-columns:var(--admin-sidebar-w-collapsed) 1fr}
}

/* Top bar. Hairline under it, nothing else — elevation is for data panels. */
.el-admin__top{position:sticky;top:0;z-index:30;height:var(--admin-topbar-h);
display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
padding:0 var(--space-6);background:var(--surface-page);
border-bottom:1px solid var(--border-hairline)}
.el-admin__crumb{font:var(--type-body-sm);color:var(--text-muted);min-width:0;
overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.el-admin__tools{display:flex;align-items:center;gap:var(--space-2);flex:none}
.el-admin__who{display:flex;align-items:center;gap:var(--space-2);font:var(--type-body-sm);
color:var(--text-secondary);padding-left:var(--space-3);
border-left:1px solid var(--border-hairline)}

.el-admin__body{padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-6)}
@media (min-width:1200px){.el-admin__body{padding:var(--space-8)}}

/* Panel — AdminShared.jsx's helper. A hairline and --shadow-xs, on white rather than
   cream, because a data surface needs to beat the page.

   min-width:0 IS LOAD-BEARING, and is the port's addition. A panel is a grid item of
   .el-panels, and a grid item defaults to min-width:auto - it refuses to shrink below the
   min-content width of what is inside it. A panel holding a table therefore took the
   table's natural width, pushed the grid wider than its column, and pushed the DOCUMENT
   wider than the viewport: the dashboard measured 587px inside a 375px phone, so the
   whole console scrolled sideways and the sidebar and top bar slid off with it. That is
   what the owner was looking at when he called the console chaos on mobile (session 074).

   The table was never the problem - .el-tblscroll already scrolls it. The panel simply
   has to be allowed to be narrower than its contents. */
.el-panel{background:var(--surface-raised);border:1px solid var(--border-hairline);
box-shadow:var(--shadow-xs);border-radius:var(--radius-sm);min-width:0}
.el-panel__head{display:flex;align-items:center;justify-content:space-between;
gap:var(--space-3);padding:14px var(--space-4);border-bottom:1px solid var(--border-hairline)}
.el-panel__title{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);
text-transform:uppercase;color:var(--text-primary)}
.el-panel__body{padding:var(--space-4)}
.el-panel__body--flush{padding:0}

/* Panel grids. Admin screens are two or three panels wide at desktop, one on a tablet. */
.el-panels{display:grid;gap:var(--space-6);grid-template-columns:1fr}
@media (min-width:1000px){
.el-panels--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.el-panels--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.el-panels--main{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
}
.el-panels--stats{grid-template-columns:repeat(2,minmax(0,1fr))}

@media (min-width:1000px){.el-panels--stats{grid-template-columns:repeat(4,minmax(0,1fr))}}



/* One stat per row below the tablet rung. Two-up left each card 119px on a phone, and the
   figures are set in the display serif: "$4,506.40" needs 163px and was cut off inside
   its own card - the first thing visible in the owner's screenshot (session 075).

   700px, which is the ladder's existing rung and where .el-fields--2 already goes
   two-up, rather than the ~530px the measurement actually calls for. A bespoke number
   would be a px value the design system has never used, and DesignAdherenceTests is
   right to ask for one of the four the port already declares. The cost is that a 600px
   tablet shows one stat per row where two would have fitted; the gain is that the stats
   reflow where the field rows do, which is the rule the ladder exists to keep. */
@media (max-width:700px){.el-panels--stats{grid-template-columns:1fr}}

/* Field rows inside a panel. */
.el-fields{display:grid;gap:var(--space-4);grid-template-columns:1fr}
@media (min-width:700px){.el-fields--2{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Labelled placeholder for the areas the design system deliberately did not design. */
.el-admin__stub{display:flex;flex-direction:column;align-items:flex-start;
gap:var(--space-4);padding:var(--space-20) var(--space-6);max-width:var(--maxw-prose)}

/* ===== page-home ===== */
/* ── Hero ──────────────────────────────────────────────────────────────────────────
   Full-bleed photograph, headline on cream underneath it. No scrim and no absolute
   positioning: nothing sits over the image, which is the whole point of this treatment.
   The frame height is the kit's own min(84vh,760px); below 720px the 16:9 campaign crop
   would be a letterbox strip on a phone, so the frame falls back to the 4:5 editorial
   crop the design system permits. */
.el-hero__frame{overflow:hidden;background:var(--cream-200);height:min(84vh,760px);
border-radius:var(--radius-media)}
.el-hero__img{width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.el-hero__body{max-width:var(--maxw-site);margin:0 auto;
padding:var(--space-10) var(--gutter-page) var(--space-16);
display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-4)}
.el-hero__h{font-size:var(--display-hero);max-width:14ch}
.el-hero__p{font:var(--type-body);color:var(--text-secondary);max-width:46ch}
.el-hero__acts{display:flex;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-4)}
@media (max-width:720px){.el-hero__frame{height:auto;aspect-ratio:4/5}}

/* ── Category strip ────────────────────────────────────────────────────────────────
   Each tile wears .el-pcard so the verbatim product-card hover — image scale inside a
   fixed frame — applies without a second copy of those rules. Only the crop changes:
   4:5 editorial rather than the card's 3:4. This is the kit's own technique. */
.el-cat__frame{aspect-ratio:4/5}
.el-cat__meta{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}
.el-cat__label{font:var(--type-nav)}
.el-cat__n{font-size:var(--text-xs);color:var(--text-muted)}

/* ── Editorial split ───────────────────────────────────────────────────────────────
   Photograph slightly wider than the text, on the alternate cream so the band reads as
   a block without a border. Stacks below the header's own 900px breakpoint. */
.el-ed{display:grid;grid-template-columns:1.15fr 1fr;align-items:stretch;
background:var(--surface-page-alt)}
.el-ed__media{overflow:hidden;aspect-ratio:4/5}
.el-ed__img{width:100%;height:100%;object-fit:cover}
.el-ed__body{display:flex;flex-direction:column;justify-content:center;gap:var(--space-5);
padding:var(--space-20) clamp(32px,6vw,96px)}
.el-ed__h{font-size:var(--display-section)}
.el-ed__p{font:var(--type-body);color:var(--text-secondary);max-width:46ch}
.el-ed__acts{display:flex;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-2)}
@media (max-width:900px){.el-ed{grid-template-columns:minmax(0,1fr)}}

/* ── Drop band ─────────────────────────────────────────────────────────────────────
   The one place the brand hue fills a section. .elaia-inverse flips every token inside,
   so the primary button comes out cream-on-bark with nothing named here — which is
   exactly what the kit achieved with two inline colour overrides. */
.el-drop{background:var(--surface-brand);color:var(--text-inverse)}
.el-drop__inner{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-16) var(--gutter-page);
display:flex;align-items:center;justify-content:space-between;
gap:var(--space-10);flex-wrap:wrap}
.el-drop__text{display:flex;flex-direction:column;gap:var(--space-3)}
.el-drop__text .elaia-eyebrow{color:var(--text-secondary)}
.el-drop__h{font-size:var(--display-section)}

/* ===== page-listing ===== */
/* ── Page container ────────────────────────────────────────────────────────────────
   The kit's own frame: site max-width, fluid gutter, a tight lead-in above the
   breadcrumbs and a deep run-out below the pagination. */
.el-list{max-width:var(--maxw-site);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}

.el-list__head{display:flex;align-items:flex-end;justify-content:space-between;
gap:var(--space-6);flex-wrap:wrap;margin:var(--space-5) 0 var(--space-6)}
.el-list__title{display:flex;align-items:baseline;gap:var(--space-4);flex-wrap:wrap;min-width:0}
.el-list__h{font-size:var(--text-3xl)}
.el-list__n{font:var(--type-body-sm);color:var(--text-muted)}
.el-list__blurb{font:var(--type-body-sm);color:var(--text-secondary);
max-width:var(--maxw-prose);margin:0 0 var(--space-6)}

/* Sort cluster. The field is 200px — the kit's own width for this control. */
.el-list__sort{display:flex;align-items:center;gap:var(--space-3)}
.el-list__sortlab{font:var(--type-body-sm);color:var(--text-muted)}
.el-list__sortfield{width:200px}

/* Applied-filter row, over the hairline that separates the head from the body. */
.el-list__applied{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;
padding-bottom:var(--space-5);border-bottom:1px solid var(--border-hairline)}
.el-list__clear{margin-left:auto;font:var(--type-body-sm);color:var(--text-muted);
text-decoration:underline;text-underline-offset:3px}

/* ── Body: rail beside grid ────────────────────────────────────────────────────────
   200px rather than the kit's 216: the adherence test only sanctions px values that
   appear with a unit somewhere in _design-source, and the kit writes this width as a
   bare JSX number. 200px is the nearest width the design system states outright — the
   same one this page's sort field uses. A 16px difference in one column, flagged here
   and in the class remarks rather than smuggled past the test. */
.el-list__body{display:grid;grid-template-columns:200px minmax(0,1fr);
gap:var(--space-12);margin-top:var(--space-8);align-items:start}
.el-list__results{min-width:0}

/* The grid is 2-up / 3-up from .el-grid--3; a wide desktop takes a fourth column, which
   is the density the design system's listing guidance asks for. */
@media (min-width:1280px){.el-list__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.el-list__foot{margin-top:var(--space-16);display:flex;flex-direction:column;
align-items:center;gap:var(--space-5)}
.el-list__showing{font:var(--type-body-sm);color:var(--text-muted);
font-variant-numeric:tabular-nums}

/* ── Facet rail ────────────────────────────────────────────────────────────────────
   Sticky under the header, scrolling inside itself when the facet list is long. */
.el-facets{position:sticky;top:calc(var(--header-h) + var(--space-6));align-self:start;
max-height:calc(100vh - var(--header-h) - var(--space-10));overflow-y:auto;min-width:0;
scrollbar-gutter:stable;padding-right:var(--space-3);
scrollbar-width:thin;scrollbar-color:var(--border-default) transparent}

/* The scrollbar, two ways: the standard properties above for engines that have them, and
   the WebKit pseudo-elements for the ones that do not. A hairline-weight thumb in the
   system's own border colour, square like every other surface that is not a pill.

   DEVIATION, and a deliberate one. The design system hides scrollbars outright wherever it
   meets them - Tabs, the product gallery, the phone frame - but all three are HORIZONTAL
   swipe surfaces whose content visibly continues past the edge. This is a vertical column
   that gets clipped by a max-height, with nothing else on screen to say so, so hiding the
   bar here would hide the fact that there is more rail. Styling it is the smaller
   departure.

   TWO separate properties are doing two separate jobs here, and the first attempt only
   had one of them. scrollbar-gutter reserves the track so the content box never extends
   under the bar; padding-right puts a GAP between the two. Reserving alone left the
   disclosure glyph flush against the thumb, touching it - which is what the bar covering
   the plus actually was. Padding on a scroll container sits between the content and the
   scrollbar, so the gap holds in engines that do not support scrollbar-gutter at all.

   The thumb is --border-default and not --border-strong: strong is var(--bark-900), a
   solid dark fill, which put a heavy black bar down the side of a cream column. Default
   is rgba(60,52,37,.28) - warm, present, not shouting. Warm, because neutral grey turns
   blue against cream (CLAUDE.md section 3). */
.el-facets::-webkit-scrollbar{width:6px}
.el-facets::-webkit-scrollbar-track{background:transparent}
.el-facets::-webkit-scrollbar-thumb{background:var(--border-default)}
/* Hidden on desktop, where the rail is simply the left column — but every layout
   property stays here so only `display` ever changes. */
.el-facets__sum{display:none;align-items:center;gap:var(--space-2);cursor:pointer;
list-style:none;min-height:var(--tap-min);font:var(--type-nav)}
.el-facets__sum::-webkit-details-marker{display:none}

/* SAFETY NET, and the reason this rule is not redundant. The rail is closed on a phone
   by elaia.js, and at this width the summary is hidden — so anything that left the
   rail closed up here would hide the filters outright, with nothing on screen to say
   they exist. That can happen without the script being broken: a browser that does not
   dispatch the breakpoint change on resize leaves a rail closed on a phone still closed
   after it is widened. One selector turns a disappearance into one extra click. */
.el-facets:not([open])>.el-facets__sum{display:flex}
.el-facets__n{font:var(--type-label);color:var(--text-muted)}

.el-facet{border-bottom:1px solid var(--border-hairline);padding:var(--space-5) 0}
.el-facet__sum{display:flex;align-items:center;justify-content:space-between;
gap:var(--space-3);cursor:pointer;list-style:none;color:var(--text-primary)}
.el-facet__sum::-webkit-details-marker{display:none}
.el-facet__sum .elaia-eyebrow{color:var(--text-primary)}
.el-facet__vals{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-4)}
.el-facet__row{display:flex;align-items:flex-start;gap:var(--space-2);min-width:0}
.el-facet__dot{flex:none;width:14px;height:14px;margin-top:2px;
border-radius:var(--radius-swatch);box-shadow:var(--shadow-hairline-strong)}
.el-facet__price{display:flex;gap:var(--space-3)}
.el-facet__apply{margin-top:var(--space-6)}

/* The disclosure glyph. Both are in the summary and [open] picks one, so the state is
   the element's, not a script's.

   The two rules were the wrong way round until session 032: an expanded group showed a
   plus and a collapsed one showed a minus, which is each glyph promising the opposite of
   what clicking it does. It read as a quirk while the kit's first three groups opened by
   default and the rest did not; with every group now collapsed until asked for, the whole
   rail would have been a column of minus signs on closed groups. The class names were
   always right - __shut is the control that shuts it, shown while it is open. */
.el-facet[open] .el-facet__open{display:none}
.el-facet:not([open]) .el-facet__shut{display:none}

/* ── Below the header's own breakpoint ─────────────────────────────────────────────
   The rail stops being a column and becomes the disclosure its summary advertises. */
@media (max-width:900px){
.el-list__body{grid-template-columns:minmax(0,1fr)}
.el-facets{position:static;max-height:none;overflow:visible;padding-right:0;
border-bottom:1px solid var(--border-hairline);padding-bottom:var(--space-4)}
.el-facets__sum{display:flex}
.el-list__sortfield{width:160px}
}

/* ===== page-search ===== */
/* ── Full page ─────────────────────────────────────────────────────────────────────
   Narrower than a listing: this page is a field and a result, not a merchandised
   grid, so it sits on the content width rather than the site width. */
.el-srch{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-12) var(--gutter-page) var(--space-24)}
.el-srch__h{font-size:var(--text-3xl)}
.el-srch__field{max-width:var(--maxw-form);margin-top:var(--space-5)}
.el-srch__pop{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-10)}
.el-srch__chips{display:flex;gap:var(--space-2);flex-wrap:wrap}
.el-srch__n{font:var(--type-body-sm);color:var(--text-muted);
font-variant-numeric:tabular-nums;margin:var(--space-10) 0 var(--space-6)}
.el-srch__foot{margin-top:var(--space-16);display:flex;justify-content:center}

/* ── Type-ahead fragment ───────────────────────────────────────────────────────────
   The panel's contents only: no shell and no chrome, because the script inserts this
   into a panel it already owns. Two-up on a phone, the kit's four-up above it. */
.el-sugg{display:flex;flex-direction:column;gap:var(--space-4)}
.el-sugg__grid{display:grid;gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:720px){.el-sugg__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.el-sugg__all{font:var(--type-nav);align-self:flex-start;
border-bottom:1px solid var(--border-default);padding-bottom:2px}

/* ===== page-product ===== */
/* Page container. --maxw-content (1360px), not --maxw-site: the kit's product screen is
   the narrower of the two measures, because a buy column tracking a 1600px gallery would
   pull the eye across the whole screen. */
.el-pdp{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}

/* Gallery beside buy column. One breakpoint, 900px — the design system's own, from
   SiteHeader. Below it the two stack and the buy column stops sticking, because a
   sticky element taller than the viewport cannot scroll on a phone. */
.el-pdp__top{display:flex;flex-direction:column;align-items:flex-start;
gap:var(--space-8);margin-top:var(--space-6)}
@media (min-width:900px){
.el-pdp__top{flex-direction:row;gap:clamp(32px,5vw,80px)}
}

/* Scroll-snap gallery. Swipes with no script; hides its scrollbar in every engine. */
/* Gallery arrows: a bare chevron on the photograph, nothing behind it.

   Three passes. A cream box with a hairline read as a button dropped on the picture; a
   cream chevron on a scrimmed edge read as a shadow the owner did not want. The scrim is
   gone at their call, which leaves the glyph to carry itself — and ELAIA's product
   photography is shot on pale backgrounds, where bark reads cleanly.

   THE RISK, STATED: with no scrim behind it, a bark chevron will be hard to see on a
   genuinely dark photograph. That is a photography constraint now, not a styling one.

   Hover moves it 2px toward where it goes, rather than fading it in. CLAUDE.md § 3:
   "Opacity never signals hover" — and a fade-in hides the control on touch, where there
   is no hover to give. */
.el-pdp__frame{position:relative;min-width:0}
.el-pdp__nav{position:absolute;inset:0;pointer-events:none;z-index:1}
.el-pdp__arrow{position:absolute;top:0;bottom:0;width:72px;pointer-events:auto;
display:grid;place-items:center;color:var(--text-primary)}
.el-pdp__arrow>*{transition:transform var(--dur-fast) var(--ease-out-soft)}
.el-pdp__arrow--prev{left:0}
.el-pdp__arrow--next{right:0}
.el-pdp__arrow--prev:hover>*{transform:translateX(-2px)}
.el-pdp__arrow--next:hover>*{transform:translateX(2px)}
.el-pdp__arrow:focus-visible{box-shadow:var(--shadow-focus)}

/* A finger has no hover, and a 72px invisible strip either side of a swipeable photo is
   a trap on a phone: the arrows are for pointers. The strip still swipes. */
@media (hover:none){.el-pdp__nav{display:none}}

.el-pdp__gallery{width:100%;flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-3)}
.el-pdp__strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
background:var(--cream-200);scrollbar-width:none;-ms-overflow-style:none}
.el-pdp__strip::-webkit-scrollbar{display:none}
.el-pdp__shot{flex:none;width:100%;aspect-ratio:3/4;scroll-snap-align:center;background:var(--cream-200)}
.el-pdp__img{width:100%;height:100%;object-fit:cover}

/* Dot indicators. The pill is drawn as ::before so the anchor itself can carry padding
   and be a usable target; a bare 5px dot is not. Active width and fill both animate on
   motion tokens, so prefers-reduced-motion zeroes them. */
.el-pdp__dots{display:flex;justify-content:center}
.el-pdp__dot{display:grid;place-items:center;padding:var(--space-3) var(--space-2)}
/* Not dots — segmented hairlines.

   They were 5px circles with the active one stretched to a 16px bar, then 7px circles
   with the active one filled. Circles are the one shape this design system reserves:
   "Swatches are the ONLY circles in the design system" (SwatchRow), and three of them
   under a photograph were competing with the swatches above it for the same meaning.

   A row of 1px rules is the design system's own device — "hairlines before elevation" —
   and reads as a measure of the gallery rather than as decoration. The active segment is
   bark; the rest are the default border. Nothing changes size between states, so the row
   does not twitch as it advances. */
.el-pdp__dot::before{content:"";display:block;width:28px;height:1px;
background:var(--border-default);transition:var(--t-color)}
.el-pdp__dot[data-active="on"]::before{background:var(--bark-900)}
.el-pdp__dot:hover::before{background:var(--text-secondary)}

/* Buy column. --maxw-form is 420px, the measure the design system already reserves for a
   single column of controls; the kit's 400 is the same intent without a token. */
.el-pdp__buy{width:100%;flex:none;display:flex;flex-direction:column;gap:var(--space-5)}
@media (min-width:900px){
.el-pdp__buy{width:var(--maxw-form);position:sticky;top:calc(var(--header-h) + var(--space-6))}
}
.el-pdp__head{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-3)}
.el-pdp__name{font-size:var(--text-2xl)}
.el-pdp__meta{font:var(--type-body-sm);color:var(--text-muted)}

/* A labelled group inside the buy column: eyebrow (plus optional link) over a control. */
.el-pdp__block{display:flex;flex-direction:column;gap:var(--space-3)}
.el-pdp__blockhd{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-4)}
.el-pdp__add{display:flex;flex-direction:column;gap:var(--space-5)}

/* The buy decision as one block. The add form and the Save form are siblings because a
   form cannot nest inside a form, and they still belong together on the screen.
   --space-4 between them is closer than the buy column's own --space-5, so Save reads as
   part of this block rather than as the start of the reassurance run beneath it.

   .el-pdp__cta is tighter again: Add to bag and Order now are two answers to the same
   question, so --space-2.

   --on is the design source's own .el-pcard__wish--on colour, so a filled heart means the
   same thing here as it does on a card. It beats .el-btn--link's text-link at equal
   specificity because page CSS is concatenated after component CSS (_PageStyles). */
.el-pdp__buybox{display:flex;flex-direction:column;gap:var(--space-4)}
.el-pdp__cta{display:flex;flex-direction:column;gap:var(--space-2)}
.el-pdp__save--on{color:var(--danger-500)}
.el-pdp__err{font:var(--type-body-sm);font-size:var(--text-xs);color:var(--danger-500)}
.el-pdp__low{font:var(--type-body-sm);font-size:var(--text-xs);color:var(--warning-700)}

/* Reassurance run. A list, because it is three parallel facts, not a sentence. */
/* The pre-order condition, directly under the buttons. Warm rather than red: it is a
   condition of the purchase, not a fault (session 085). */
.el-pdp__preorder{display:flex;align-items:flex-start;gap:6px;margin:0;
font:var(--type-body-sm);color:var(--warning-700)}
.el-pdp__assure{display:flex;flex-wrap:wrap;gap:var(--space-5);
margin:0;padding:var(--space-1) 0 0;list-style:none;
font:var(--type-body-sm);color:var(--text-secondary)}
.el-pdp__assure li{display:inline-flex;align-items:center;gap:6px}

/* Accordions. Native <details>, so they open with no script. The marker is suppressed in
   both engines and replaced by the icon set's plus/minus, toggled on [open] — the
   design system's icons are stroke-only, so a text "+" would be the wrong device. */
.el-pdp__accs{margin-top:var(--space-2);border-bottom:1px solid var(--border-hairline)}
.el-pdp__acc{border-top:1px solid var(--border-hairline)}
.el-pdp__acc>summary{display:flex;align-items:center;justify-content:space-between;
gap:var(--space-4);padding:var(--space-4) 0;cursor:pointer;list-style:none;
font:var(--type-nav);color:var(--text-primary)}
.el-pdp__acc>summary::-webkit-details-marker{display:none}
.el-pdp__acc>summary::marker{content:""}
.el-pdp__acc .el-pdp__acc-on{display:none}
.el-pdp__acc[open] .el-pdp__acc-on{display:block}
.el-pdp__acc[open] .el-pdp__acc-off{display:none}
.el-pdp__accbd{display:flex;flex-direction:column;gap:var(--space-2);
padding-bottom:var(--space-5);font:var(--type-body-sm);color:var(--text-secondary)}
.el-pdp__accbd ul{margin:0;padding-left:1.1em;display:flex;flex-direction:column;gap:4px}

.el-pdp__also{margin-top:var(--space-24)}

/* ===== page-bag ===== */
/* Page container. --maxw-content, matching the kit's bag screen. */
.el-bag{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}
.el-bag__title{font-size:var(--text-3xl);margin:var(--space-5) 0 var(--space-2)}
.el-bag__count{font:var(--type-body-sm);color:var(--text-muted);display:block;margin-bottom:var(--space-8)}

/* Lines beside summary. Single column until 900px — the design system's own breakpoint. */
.el-bag__grid{display:grid;gap:var(--space-10);align-items:start;grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.el-bag__grid{grid-template-columns:minmax(0,1fr) 380px;gap:clamp(32px,5vw,80px)}
}

/* The top hairline closes the first line's open edge; CartLine draws only its bottom
   border, which is the design system's "hairlines before elevation" rule as written. */
.el-bag__lines{border-top:1px solid var(--border-hairline)}

/* A line plus the two forms the page owns rather than CartLine — see the flagged
   deviation on BagPage. The row takes over the hairline so the line and its controls
   read as one unit, and the controls are indented to the line's body column: 96px is
   `.el-line--lg`'s thumbnail column and --space-4 its gap, both copied from CartLine's
   own verbatim CSS rather than chosen here. The drawer's lines are 72px, so the
   --sm variant mirrors `.el-line`'s default column. */
.el-bag__row{border-bottom:1px solid var(--border-hairline)}
.el-bag__row>.el-line{border-bottom:0;padding-bottom:0}
.el-bag__ctrls{display:flex;align-items:center;gap:var(--space-4);
padding:var(--space-2) 0 var(--space-4) calc(96px + var(--space-4))}
.el-bag__ctrls--sm{padding-left:calc(72px + var(--space-4))}

/* Empty bag. --maxw-form centres the single message at a readable measure. */
.el-bag__empty{max-width:var(--maxw-form);margin:0 auto;padding:var(--space-24) 0}

/* ── Shared money summary ────────────────────────────────────────────────────────────
   Used by the bag page, the mini-bag drawer, the checkout aside and the order
   confirmation. One definition, because all four print the same PriceBreakdown.
   Raised white on the hairline is the design system's only permitted use of
   --surface-card in this context. */
.el-sum{background:var(--surface-card);border:1px solid var(--border-hairline);
padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4)}
@media (min-width:900px){
.el-sum--sticky{position:sticky;top:calc(var(--header-h) + var(--space-6))}
}
.el-sum__rows{display:flex;flex-direction:column;gap:var(--space-3)}
.el-sum__row{display:flex;justify-content:space-between;gap:var(--space-4);
font:var(--type-body-sm);color:var(--text-primary)}
.el-sum__row--muted{color:var(--text-muted)}
.el-sum__row--strong{font:var(--type-body);font-weight:var(--weight-medium)}
/* Tabular figures so a column of amounts aligns on the decimal, the kit's own rule. */
.el-sum__val{font-variant-numeric:tabular-nums}
.el-sum__note{font:var(--type-body-sm);font-size:var(--text-xs);color:var(--text-muted)}
.el-sum__note--bad{color:var(--danger-500)}
.el-sum__note--good{color:var(--warning-700)}

/* The pre-order deposit. Warm rather than red: it is a condition of the order,

   not a fault, and the design system keeps --danger for things that went wrong. */

.el-sum__note--warn{color:var(--warning-700);font-weight:var(--weight-medium)}
.el-sum__total{border-top:1px solid var(--border-hairline);padding-top:var(--space-4)}
.el-sum__promo{display:flex;gap:var(--space-2)}
.el-sum__fine{display:flex;flex-direction:column;gap:var(--space-2);
font:var(--type-body-sm);font-size:var(--text-xs);color:var(--text-muted)}
.el-sum__fine li{display:flex;align-items:center;gap:6px}
.el-sum__fine ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}

/* ── Mini-bag drawer ─────────────────────────────────────────────────────────────────
   The lines live in Dialog's scrolling body; the footer is pinned by Dialog's own CSS. */
.el-minibag__sub{display:flex;justify-content:space-between;gap:var(--space-4);
padding-top:var(--space-4);border-top:1px solid var(--border-hairline);font:var(--type-body-sm)}
.el-minibag__ft{display:flex;flex-direction:column;gap:var(--space-3);width:100%}

/* ===== page-checkout ===== */
.el-co{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}
.el-co__title{font-size:var(--text-3xl);margin:var(--space-5) 0 var(--space-8)}

/* Form beside summary. One breakpoint, 900px — the design system's own. */
.el-co__grid{display:grid;gap:var(--space-10);align-items:start;grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.el-co__grid{grid-template-columns:minmax(0,1fr) 380px;gap:clamp(32px,5vw,80px)}
}
.el-co__main{display:flex;flex-direction:column;gap:var(--space-10);min-width:0}
.el-co__step{display:flex;flex-direction:column;gap:var(--space-5)}
.el-co__stephd{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-4)}
.el-co__steptitle{font-size:var(--text-xl)}

/* The bag, read-only. Same top hairline as the bag page, for the same reason. */
.el-co__lines{border-top:1px solid var(--border-hairline)}

/* Delivery fields. Two columns past the breakpoint; --span2 is for the fields that
   always run the full width, such as the street address. */
.el-co__fields{display:grid;gap:var(--space-4);grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.el-co__fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.el-co__fields .el-co__span2{grid-column:1 / -1}
}

/* Shipping option rows. The border strengthens on the checked row through :has(), which
   is how the kit's selected state is expressed without a click handler. The kit nests a
   Radio inside a <label>; two nested labels is invalid HTML, so the row is a <div> and
   the Radio brings its own label. */
.el-co__ships{display:flex;flex-direction:column;gap:var(--space-3)}
.el-co__ship{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
padding:var(--space-4);background:var(--surface-raised);
border:1px solid var(--border-subtle);border-radius:var(--radius-input);
transition:var(--t-color)}
.el-co__ship:hover{border-color:var(--border-default)}
.el-co__ship:has(.el-choice__input:checked){border-color:var(--bark-900)}
.el-co__ship:has(.el-choice__input:focus-visible){box-shadow:var(--shadow-focus)}
.el-co__shipprice{font:var(--type-body-sm);font-weight:var(--weight-medium);flex:none}

/* Whole-form failure. Terracotta hairline on the danger wash, not a filled alert bar:
   the design system has no filled status band. */
.el-co__alert{display:flex;gap:var(--space-3);padding:var(--space-4);
background:var(--danger-50);border:1px solid var(--danger-500);border-radius:var(--radius-input);
font:var(--type-body-sm);color:var(--text-primary)}

/* Empty bag. --maxw-form centres the single message, as the bag page's own empty state
   does, so the two screens' empty states are the same shape. */
.el-co__empty{max-width:var(--maxw-form);margin:0 auto;padding:var(--space-24) 0}

.el-co__pay{display:flex;gap:6px;align-items:flex-start;
font:var(--type-body-sm);font-size:var(--text-xs);color:var(--text-muted)}

/* ===== page-confirmation ===== */
/* Narrower than the bag: this page is read once, start to finish, so it is set at a
   reading measure rather than at the catalogue's width. */
.el-conf{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}
.el-conf__title{font-size:var(--text-3xl);margin:var(--space-5) 0 var(--space-3)}
.el-conf__lede{font:var(--type-body);color:var(--text-secondary);max-width:var(--maxw-prose)}

/* The reference. Mono everywhere an order id appears (docs/DOMAIN.md § 6), on the
   sunken ground so it reads as a value to copy rather than as prose. */
/* The WhatsApp handoff. Full width and directly under the reference, because it is
   the only thing still required of the customer (session 083). */
.el-conf__wa{display:flex;flex-direction:column;gap:var(--space-3);
max-width:var(--maxw-prose);margin-top:var(--space-6)}
.el-conf__wanote{margin:0;font:var(--type-body-sm);color:var(--warning-700)}
.el-conf__ref{display:inline-flex;align-items:baseline;gap:var(--space-3);
margin-top:var(--space-6);padding:var(--space-3) var(--space-4);
background:var(--surface-sunken);border:1px solid var(--border-hairline)}
.el-conf__refid{font:var(--type-data);font-size:var(--text-md);color:var(--text-primary)}

.el-conf__grid{display:grid;gap:var(--space-10);align-items:start;
grid-template-columns:minmax(0,1fr);margin-top:var(--space-12)}
@media (min-width:900px){
.el-conf__grid{grid-template-columns:minmax(0,1fr) 380px;gap:clamp(32px,5vw,80px)}
}
.el-conf__main{display:flex;flex-direction:column;gap:var(--space-10);min-width:0}
.el-conf__block{display:flex;flex-direction:column;gap:var(--space-4)}
.el-conf__blocktitle{font-size:var(--text-xl)}
.el-conf__lines{border-top:1px solid var(--border-hairline)}

/* Two hairline-separated panels side by side: delivery and contact. */
.el-conf__panels{display:grid;gap:var(--space-6);grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.el-conf__panels{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.el-conf__panel{display:flex;flex-direction:column;gap:var(--space-2);
font:var(--type-body-sm);color:var(--text-secondary)}

/* What happens next. A numbered list, because the steps are ordered in time. The indent
   is 1.1em — the one list indent that appears in _design-source, in ProductScreen's own
   spec list — not a number chosen here. */
.el-conf__steps{margin:0;padding-left:1.1em;display:flex;flex-direction:column;
gap:var(--space-3);font:var(--type-body-sm);color:var(--text-secondary)}

/* ===== page-account ===== */
/* ── The centred auth column: sign up, sign in, verify ───────────────────────────────
   --maxw-form is the design system's own form measure, the same one the bag and the
   checkout centre their empty states at, so a signed-out visitor meets the same width
   wherever the site has one thing to say to them. */
.el-auth{max-width:var(--maxw-form);margin:0 auto;
padding:var(--space-16) var(--gutter-page) var(--space-24);
display:flex;flex-direction:column;gap:var(--space-5)}
.el-auth__title{font-size:var(--text-3xl)}
.el-auth__lede{font:var(--type-body);color:var(--text-secondary)}
.el-auth__form{display:flex;flex-direction:column;gap:var(--space-5);margin-top:var(--space-3)}
.el-auth__fields{display:flex;flex-direction:column;gap:var(--space-4)}
.el-auth__alt{font:var(--type-body-sm);color:var(--text-muted)}
.el-auth__actions{display:flex;flex-direction:column;gap:var(--space-3)}

/* Whole-form failure. Terracotta hairline on the danger wash, matching the checkout's
   own alert exactly — the design system has no filled status band, and inventing one
   here would make this the loudest surface on the site. */
.el-auth__alert{display:flex;gap:var(--space-3);padding:var(--space-4);
background:var(--danger-50);border:1px solid var(--danger-500);
border-radius:var(--radius-input);font:var(--type-body-sm);color:var(--text-primary)}

/* ── The account dashboard ───────────────────────────────────────────────────────────
   Same two-column frame as the bag and the checkout, switching at the design system's
   own 900px breakpoint, so the three signed-in screens reflow together. */
.el-acct{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}
.el-acct__title{font-size:var(--text-3xl);margin:var(--space-5) 0 var(--space-2)}
.el-acct__lede{font:var(--type-body-sm);color:var(--text-muted);display:block;
margin-bottom:var(--space-8)}
.el-acct__grid{display:grid;gap:var(--space-10);align-items:start;
grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.el-acct__grid{grid-template-columns:minmax(0,1fr) 380px;gap:clamp(32px,5vw,80px)}
}
.el-acct__main{display:flex;flex-direction:column;gap:var(--space-10);min-width:0}
.el-acct__block{display:flex;flex-direction:column;gap:var(--space-4)}
.el-acct__blocktitle{font-size:var(--text-xl)}
.el-acct__details{display:flex;flex-direction:column;gap:var(--space-2);
font:var(--type-body-sm);color:var(--text-secondary)}
.el-acct__side{display:flex;flex-direction:column;gap:var(--space-5)}
.el-acct__panel{background:var(--surface-card);border:1px solid var(--border-hairline);
padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4)}

/* The verification notice. Quiet by construction: the sunken page ground, a hairline,
   muted text, and no status colour of any kind. Verification is optional (ADR 0003), so
   a warning wash or a danger border would be a falsehood told in colour — the one thing
   a customer reads before the sentence. */
.el-acct__notice{display:flex;flex-direction:column;gap:var(--space-3);
padding:var(--space-4);background:var(--surface-sunken);
border:1px solid var(--border-hairline);font:var(--type-body-sm);color:var(--text-secondary)}
.el-acct__noticehd{display:flex;align-items:center;gap:var(--space-2);color:var(--text-primary)}
.el-acct__noticeact{display:flex;gap:var(--space-3);align-items:center;flex-wrap:wrap}

/* Verified, said once. A line of muted text with the icon the rest of the site uses for
   a settled state, and nothing more — a confirmed address is not an achievement. */
.el-acct__verified{display:flex;align-items:center;gap:6px;
font:var(--type-body-sm);font-size:var(--text-xs);color:var(--text-muted)}

/* Order history. Hairline-separated rows, the admin list's structure without the admin's
   density: an order id, when it was placed, and what it came to. */
.el-acct__orders{display:flex;flex-direction:column;
border-top:1px solid var(--border-hairline)}
.el-acct__order{display:flex;align-items:baseline;justify-content:space-between;
gap:var(--space-4);flex-wrap:wrap;padding:var(--space-4) 0;
border-bottom:1px solid var(--border-hairline)}
.el-acct__ordermain{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.el-acct__orderid{font:var(--type-data);color:var(--text-primary)}
.el-acct__ordermeta{font:var(--type-body-sm);font-size:var(--text-xs);color:var(--text-muted)}
.el-acct__ordertotal{font:var(--type-body-sm);font-weight:var(--weight-medium);
font-variant-numeric:tabular-nums;flex:none}

/* ===== page-service ===== */
.el-svc{max-width:var(--maxw-content);margin:0 auto;
padding:var(--space-6) var(--gutter-page) var(--space-24)}

/* Index beside prose. 240px is the design system's own narrow-column width, and the
   index only sticks past the breakpoint — below it the nav sits above the article,
   which is the right reading order on a phone. */
.el-svc__grid{display:grid;gap:var(--space-10);align-items:start;
grid-template-columns:minmax(0,1fr);margin-top:var(--space-6)}
@media (min-width:900px){
.el-svc__grid{grid-template-columns:240px minmax(0,1fr);gap:clamp(32px,5vw,80px)}
.el-svc__nav{position:sticky;top:calc(var(--header-h) + var(--space-6))}
}

.el-svc__nav{display:flex;flex-direction:column;gap:var(--space-3)}
.el-svc__link{font:var(--type-body-sm);color:var(--text-secondary)}
.el-svc__link:hover{color:var(--text-primary)}
/* The active entry is marked by weight and colour, not by a bar: the design system's
   structural device is the hairline, and a nav of eleven items does not need eleven. */
.el-svc__link[aria-current="page"]{color:var(--text-primary);font-weight:var(--weight-medium)}

/* Prose column, held to the design system's reading measure. */
.el-svc__body{max-width:var(--maxw-prose);display:flex;flex-direction:column;gap:var(--space-5)}
.el-svc__title{font-size:var(--text-3xl);margin-bottom:var(--space-2)}
.el-svc__lede{font:var(--type-body);color:var(--text-primary)}
.el-svc__h2{font-size:var(--text-lg);margin-top:var(--space-5)}
.el-svc__p{font:var(--type-body);color:var(--text-secondary)}
/* 1.1em is the one list indent _design-source uses — ProductScreen's spec list — rather
   than a number chosen here. */
.el-svc__list{margin:0;padding-left:1.1em;display:flex;flex-direction:column;gap:var(--space-2);
font:var(--type-body);color:var(--text-secondary)}

/* Definition run — a label and its value, for contact details and opening hours. */
.el-svc__defs{margin:0;display:grid;gap:var(--space-3);grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.el-svc__defs{grid-template-columns:160px minmax(0,1fr);gap:var(--space-3) var(--space-6)}
}
.el-svc__dt{font:var(--type-label);letter-spacing:var(--tracking-caps);text-transform:uppercase;
color:var(--text-muted)}
.el-svc__dd{margin:0;font:var(--type-body);color:var(--text-secondary)}

/* Size table. Hairlines only — no zebra striping, no outer border, no cell fills. */
.el-svc__table{width:100%;border-collapse:collapse;font:var(--type-body-sm)}
.el-svc__table caption{text-align:left;font:var(--type-body-sm);color:var(--text-muted);
padding-bottom:var(--space-3)}
.el-svc__table th,.el-svc__table td{text-align:left;
padding:var(--space-3) var(--space-4) var(--space-3) 0;
border-bottom:1px solid var(--border-hairline)}
.el-svc__table thead th{font:var(--type-label);letter-spacing:var(--tracking-caps);
text-transform:uppercase;color:var(--text-muted)}
.el-svc__table tbody th{font-weight:var(--weight-medium);color:var(--text-primary)}
.el-svc__table td{color:var(--text-secondary);font-variant-numeric:tabular-nums}

/* ===== page-error ===== */
/* A single centred message. --maxw-form holds it to a sensible measure, and the generous
   vertical rhythm is what stops an error reading as a crash: the page still breathes
   the way every other ELAIA page does. */
.el-err{max-width:var(--maxw-form);margin:0 auto;
padding:var(--section-y-lg) var(--gutter-page)}

/* ===== page-admin-parts ===== */
/* Vertical stack. The kit writes {display:flex, flexDirection:column, gap:14} inline in
   eleven places; --space-4 is the nearest token and is what the panel grid already uses. */
.el-ap-stack{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.el-ap-stack--tight{gap:var(--space-3)}
.el-ap-stack--loose{gap:var(--space-6)}

/* A screen whose whole body is one <form>. The form becomes a single flex child of
   .el-admin__body, which would otherwise collapse the gap between the page header and the
   panels under it, so the form restates the body's own rhythm. */
.el-ap-form{display:flex;flex-direction:column;gap:var(--space-6);min-width:0}

/* Table-cell text treatments. The kit sets these as inline colours on a <span> per cell. */
.el-ap-muted{color:var(--text-muted)}
.el-ap-strong{font-weight:var(--weight-medium)}
.el-ap-num{font-variant-numeric:tabular-nums}

/* Toolbar pieces. The kit wraps each SearchField in a fixed-width div (300px on the
   product, order and inventory tables, 260px on the narrower ones) and pushes the bulk
   block right with marginLeft:auto. */
.el-ap-search{width:100%;max-width:300px;min-width:0}
.el-ap-search--narrow{max-width:260px}
.el-ap-push{margin-left:auto}
.el-ap-chips{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}

/* Filter strip sitting above a table, for the screens whose rows are inside a page POST
   form and which therefore cannot host a second form in the table toolbar. See the note
   on AdminParts.FilterStrip. */
.el-ap-filters{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;min-width:0}

/* Bulk action block inside a DataTable toolbar. Always present, never conditional — see
   the no-JS note on AdminParts.BulkBar. */
/* flex-end, not center: the inventory screen's adjustment controls are labelled fields and
   are therefore taller than a button, and the selection count has to sit on the same line
   as the controls rather than halfway up them. On the product screen, where the block is
   buttons of one height, flex-end and center are the same thing. */
.el-ap-bulk{display:flex;align-items:flex-end;gap:var(--space-3);flex-wrap:wrap}
.el-ap-bulk__count{font:var(--type-body-sm);color:var(--text-secondary)}

/* Row actions, right-aligned in the last column. The kit uses gap:2. */
.el-ap-acts{display:flex;align-items:center;justify-content:flex-end;gap:2px}

/* Label-and-value rows: a panel's read-only detail list, and the totals block. */
.el-ap-kv{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);
font:var(--type-body-sm)}
.el-ap-kv__k{color:var(--text-secondary)}
.el-ap-kv__v{color:var(--text-primary);font-variant-numeric:tabular-nums;text-align:right}
.el-ap-kv--total{border-top:1px solid var(--border-hairline);padding-top:var(--space-2);
font:var(--type-body);font-weight:var(--weight-medium)}
.el-ap-kv--total .el-ap-kv__k{color:var(--text-primary)}

/* Tab row. The kit puts marginBottom:16 on a wrapper div under every Tabs instance; here
   the admin body's own --space-6 gap already separates blocks, so the wrapper exists only
   to let a tab row sit flush above the panel that follows it. */
.el-ap-tabs{min-width:0}

/* One line of page copy under a table or inside a panel. Not prose: a count, a contract,
   a stated limitation. */
.el-ap-note{font:var(--type-body-sm);color:var(--text-muted);max-width:var(--maxw-prose)}

/* A rejected save's reason. PORT ADDITION — the admin kit has no error state at all, and
   an earlier draft of these screens rendered a validation message through .el-ap-note,
   which is muted grey and therefore indistinguishable from the explanatory notes sitting
   next to it. Tones are StatusPill's danger pair, so the console has one danger colour
   and not two, and the hairline is the system's structural device rather than elevation
   (CLAUDE.md § 3). Square corners, like every surface that is not a pill. */
.el-ap-problem{font:var(--type-body-sm);color:var(--danger-700);background:var(--danger-50);
border:1px solid var(--border-hairline);padding:var(--space-3) var(--space-4);
max-width:var(--maxw-prose)}

/* Standing advice about what the screen currently describes, as opposed to a rejected
   save. Same shape as .el-ap-problem, in the warning pair rather than the danger pair:
   nothing failed, and colouring it danger would make the one sentence that does mean a
   failure indistinguishable from the one that means "look at this". */
.el-ap-caution{font:var(--type-body-sm);color:var(--warning-700);background:var(--warning-50);
border:1px solid var(--border-hairline);padding:var(--space-3) var(--space-4);
max-width:var(--maxw-prose)}

/* A row of controls that are not all buttons: a destructive submit beside a cancel link,
   or the two select-all links above a table. Wraps, because the labels name what they
   will do to how many and that is not a fixed width. */
.el-ap-row{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;
margin-top:var(--space-4)}

/* Cancelling mutates nothing, so it is a link and is typed as one - not a ghost button
   competing with the submit beside it.

   .el-ap-selectall was here too, and that was the bug: select-all DOES mutate the
   selection, it sat beside four filled buttons, and styled as link text it read as a
   caption for them. Session 043 made it a button; the class is gone with it. */
.el-ap-cancel{font:var(--type-body-sm);color:var(--text-secondary);
text-underline-offset:3px}

/* Stock figures. The kit colours these inline: 0 is danger, below the reorder point is
   warning, healthy inherits. Colour is never the only signal: on the inventory table and
   the variants tab the row also carries a health StatusPill, and on the product table —
   whose Status column is lifecycle, not stock — the cell carries the severity in words
   for assistive technology. See AdminParts.StockLabel. */
.el-ap-stock--out{color:var(--danger-500);font-weight:var(--weight-medium)}
.el-ap-stock--low{color:var(--warning-700);font-weight:var(--weight-medium)}

/* Icon tints for the dashboard's needs-attention list and anywhere else a leading glyph
   carries a severity. Tones are the StatusPill vocabulary so the two cannot drift. */
.el-ap-tone--neutral{color:var(--taupe-600)}
.el-ap-tone--success{color:var(--success-500)}
.el-ap-tone--warning{color:var(--warning-500)}
.el-ap-tone--danger{color:var(--danger-500)}
.el-ap-tone--info{color:var(--info-500)}
.el-ap-tone--brand{color:var(--text-brand)}

/* ===== page-admin-dashboard ===== */
/* The kit's dashboard body is a 1.6fr / 1fr split: the recent-orders table beside a
   narrow column of two panels. AdminLayout's .el-panels--main is 2fr / 1fr, which is a
   different proportion, so this screen states its own — flagged here rather than
   silently reusing a grid that would re-weight the kit's layout. One column until the
   console is wide enough for a table and a sidebar to coexist. */
.el-dash{display:grid;gap:var(--space-6);grid-template-columns:1fr;align-items:start}
@media (min-width:1000px){.el-dash{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}

/* Needs attention. Each row is an anchor, so the reset is on .el-dash__attn and not on a
   button: no underline, inherited colour, and the whole row is the hit area. */
.el-dash__attn{display:flex;align-items:flex-start;gap:var(--space-3);
color:var(--text-primary);text-decoration:none;transition:var(--t-color)}
.el-dash__attn:hover{color:var(--text-primary)}
.el-dash__attn:hover .el-dash__attn-t{text-decoration:underline;
text-underline-offset:3px;text-decoration-thickness:1px}
.el-dash__attn-i{flex:none;margin-top:1px}
.el-dash__attn-x{display:flex;flex-direction:column;gap:2px;min-width:0}
.el-dash__attn-t{font:var(--type-body-sm);font-weight:var(--weight-medium)}
.el-dash__attn-d{font-size:var(--text-xs);color:var(--text-muted)}

/* Top pieces. Rank, thumbnail, name, units. The kit sizes the thumbnail 28x37 inline;
   here the height is expressed as the catalogue's own 3:4 crop instead, so there is one
   fewer invented pixel value and the shot cannot be subtly letterboxed. */
.el-dash__top{display:flex;align-items:center;gap:var(--space-3);
color:var(--text-primary);text-decoration:none}
.el-dash__top:hover .el-dash__top-n{text-decoration:underline;
text-underline-offset:3px;text-decoration-thickness:1px}
.el-dash__top-r{font:var(--type-data);font-size:var(--text-xs);color:var(--text-muted);
width:var(--space-4);flex:none;text-align:right}
.el-dash__top-i{width:28px;aspect-ratio:3/4;object-fit:cover;background:var(--cream-200);flex:none}
.el-dash__top-n{flex:1;min-width:0;font:var(--type-body-sm);
overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.el-dash__top-u{font:var(--type-body-sm);font-variant-numeric:tabular-nums;
color:var(--text-secondary);flex:none}

/* ===== page-admin-products ===== */
/* The toolbar is a flex row from DataTable's own .el-tbl__bar; this screen only needs the
   search box and the chip group to share a baseline and the bulk block to be pushed
   right, both of which live in the shared admin page CSS. What is left is the one thing
   specific to this table: the category cell, which the kit colours --text-secondary
   rather than the --text-muted every other secondary cell uses, because a category is a
   real value an operator scans for and not metadata. */
/* Select-all and its undo, above the table and left-aligned against it. Session 043
   turned these from bare links into buttons; the gap matches .el-ap-acts so the two
   control groups on this screen space their buttons the same way. */
.el-prods__selectall{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}

.el-prods__cat{color:var(--text-secondary)}

/* ===== page-admin-product ===== */
/* Media grid. The kit draws six columns of 3:4 shots with the cover carrying an inset
   2px bark ring and an "onmedia" badge. Square corners and no shadow, like every other
   piece of media in the system (CLAUDE.md § 3). */
.el-pdet__media{display:grid;gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr))}
@media (min-width:700px){.el-pdet__media{grid-template-columns:repeat(6,minmax(0,1fr))}}
.el-pdet__shot{position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--cream-200);
display:flex;flex-direction:column;justify-content:flex-end;gap:var(--space-2)}
.el-pdet__shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.el-pdet__shot--cover{box-shadow:inset 0 0 0 var(--rule-weight-strong) var(--bark-900)}
.el-pdet__pick{position:relative;padding:var(--space-2);display:flex;align-items:center;
gap:var(--space-2);background:var(--surface-veil);backdrop-filter:var(--blur-veil);
font:var(--type-label);color:var(--text-primary)}
.el-pdet__badge{position:absolute;left:var(--space-1);top:var(--space-1);z-index:1}

/* Alt-text field under the grid. Describing the garment is not optional for accessibility,
   so each shot gets a real labelled input rather than a tooltip. */
.el-pdet__cell{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}
.el-pdet__shotmeta{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.el-pdet__alts{display:flex;flex-direction:column;gap:var(--space-4)}

/* The aside's read-only placement list. */
.el-pdet__slots{display:flex;flex-direction:column;gap:var(--space-3)}

/* ===== page-admin-orders ===== */
/* The customer cell carries a name over a city. DataTable.Cell's own .el-tbl__sub is the
   right treatment for an identifier in the mono face — a SKU, an order id — and a city is
   neither, so it takes the muted size without the mono family. That one distinction is
   all this screen needs beyond the shared admin page CSS: everything else on it is a
   DataTable column spec. */
.el-ord__where{font-size:var(--text-xs);color:var(--text-muted)}

/* ===== page-admin-order ===== */
/* Totals block: right-aligned under the line items, capped so the figures sit near the
   money column rather than stretching the width of the panel. */
.el-odet__totals{display:flex;flex-direction:column;gap:var(--space-2);
max-width:300px;margin-left:auto;padding-top:var(--space-4)}

/* Timeline. A dot per event with a hairline running between them, which is the kit's
   construction: the rail is a 1px column, not a border on the row, so the last entry
   has no tail hanging off it. The list is a real <ol> because the order carries meaning,
   and the design system's base.css resets no list, so the markers go here. */
.el-odet__time{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}
.el-odet__ev{display:flex;gap:var(--space-3)}
.el-odet__rail{display:flex;flex-direction:column;align-items:center;flex:none;width:10px}
.el-odet__dot{width:7px;height:7px;border-radius:var(--radius-circle);
background:var(--sand-400);margin-top:6px;flex:none}
.el-odet__ev--latest .el-odet__dot{background:var(--olive-500)}
.el-odet__line{flex:1;width:1px;background:var(--border-hairline)}
.el-odet__body{display:flex;flex-direction:column;gap:2px;padding-bottom:var(--space-4);min-width:0}
.el-odet__ev:last-child .el-odet__body{padding-bottom:0}
.el-odet__t{font:var(--type-body-sm);font-weight:var(--weight-medium)}
.el-odet__d{font-size:var(--text-xs);color:var(--text-muted)}
.el-odet__at{font:var(--type-data);font-size:var(--text-xs);color:var(--text-muted)}

/* Customer and delivery panels: a short run of facts, one per line. */
.el-odet__facts{display:flex;flex-direction:column;gap:var(--space-2);font:var(--type-body-sm)}
.el-odet__facts--muted{color:var(--text-muted)}

/* ===== page-admin-discounts ===== */
/* The create form. Four columns on a wide console, two on a tablet, one on a phone —
   the kit's repeat(4,1fr), made responsive because AdminLayout.Fields only does one or
   two and this form genuinely has eight short fields. */
.el-disc__form{display:grid;gap:var(--space-4);grid-template-columns:1fr}
@media (min-width:700px){.el-disc__form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1200px){.el-disc__form{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* The submit row spans the whole grid and pushes its buttons right. */
.el-disc__submit{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;
justify-content:flex-end;grid-column:1/-1}

/* A code is an identifier the customer types, so it is set in the mono face at full
   strength rather than the muted treatment DataTable gives a SKU sub-line. */
.el-disc__code{font:var(--type-data);color:var(--text-primary);font-weight:var(--weight-medium)}

/* The scope cell: a real value an operator scans, so --text-secondary and not muted. */
.el-disc__scope{color:var(--text-secondary)}

/* ===== page-admin-categories ===== */
.el-cat{display:grid;gap:var(--space-6);align-items:start}
/* 1000, matching the placements screen: same layout, same job, same breakpoint.
   1024 was the first guess and DesignAdherenceTests refused it - that value appears
   nowhere in _design-source, so the port would have invented a breakpoint. */
@media (min-width:1000px){.el-cat{grid-template-columns:minmax(0,340px) minmax(0,1fr)}}

.el-cat__list{list-style:none;margin:0;padding:0}
.el-cat__row{display:flex;align-items:center;gap:var(--space-2);
border-bottom:1px solid var(--border-hairline)}
.el-cat__row:last-child{border-bottom:0}
.el-cat__row--on{background:var(--cream-200)}

.el-cat__pick{display:flex;align-items:center;gap:var(--space-3);flex:1;min-width:0;
padding:var(--space-4) var(--space-5);text-decoration:none;color:inherit}
.el-cat__text{display:flex;flex-direction:column;gap:2px;min-width:0}
.el-cat__name{font:var(--type-body);color:var(--text-primary)}
.el-cat__meta{font:var(--type-label);color:var(--text-muted)}

/* The chain, drawn rather than described: one rule per level of depth. A tree this
   shallow does not need a connector grid, and an indent an operator can count is worth
   more than a drawing. */
/* The scale is 0 1 2 3 4 5 6 8 10 12 16 20 24 32 40 - there is no --space-14, and the
   first cut used one. A missing custom property resolves to nothing and the indent just
   disappears, which no test here would have caught. */
.el-cat__in{flex:none;display:block}
.el-cat__in--1{width:var(--space-5)}
.el-cat__in--2{width:var(--space-10)}
.el-cat__in--3{width:var(--space-16)}
.el-cat__in--4{width:var(--space-20)}

.el-cat__move{display:flex;flex-direction:column;padding-left:var(--space-3)}
.el-cat__del{display:flex;align-items:center;padding-right:var(--space-3)}
.el-cat__add{display:flex;flex-direction:column;gap:var(--space-3);
padding:var(--space-5);border-top:1px solid var(--border-hairline)}
.el-cat__foot{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;
grid-column:1/-1}

/* ===== page-admin-media ===== */
.el-med{display:grid;gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:700px){.el-med{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1200px){.el-med{grid-template-columns:repeat(4,minmax(0,1fr))}}

.el-med__card{display:flex;flex-direction:column;gap:var(--space-3);
border:1px solid var(--border-hairline);background:var(--surface-raised);
padding:var(--space-4)}

/* Square corners and no shadow, like every card in this system. */
.el-med__frame{position:relative;aspect-ratio:4/5;background:var(--cream-200);
overflow:hidden}
.el-med__img{width:100%;height:100%;object-fit:cover;display:block}

.el-med__name{font:var(--type-data);color:var(--text-primary);
overflow-wrap:anywhere}
.el-med__meta{font:var(--type-label);color:var(--text-muted)}
.el-med__use{font:var(--type-label);color:var(--text-secondary);
display:flex;flex-direction:column;gap:2px}
.el-med__foot{display:flex;align-items:center;gap:var(--space-2);margin-top:auto}

.el-med__upload{display:flex;flex-direction:column;gap:var(--space-4);
max-width:var(--maxw-prose)}
.el-med__file{font:var(--type-body-sm);color:var(--text-primary)}

/* Upload and Cancel on one row. Cancel is rendered hidden and unhidden by the script
   for the duration of a transfer, so with scripting off there is no control that
   cannot do anything. */
.el-med__actions{display:flex;align-items:center;gap:var(--space-3)}

/* The two radios. A fieldset so the legend names the group for a screen reader, with the
   browser's own border and padding reset away - the design system has no fieldset
   treatment and a default one would be the only chrome of its kind on the screen. */
.el-med__fit{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--space-3)}

/* ===== page-admin-placements ===== */
/* The kit's layout is a 340px slot list beside the editor. AdminLayout's .el-panels--main
   puts the wide column first, which is the opposite arrangement, so this screen states
   its own grid — flagged here rather than silently reusing a grid that would flip the
   kit's reading order. One column until there is room for both. */
.el-plc{display:grid;gap:var(--space-6);grid-template-columns:1fr;align-items:start}
@media (min-width:1000px){.el-plc{grid-template-columns:minmax(0,340px) minmax(0,1fr)}}

/* Slot list. Hairline between rows, no border on the last — the design system's
   structural device, applied to a list rather than a card. */
.el-plc__list{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}
.el-plc__row{display:flex;align-items:center;gap:var(--space-2);
padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border-hairline)}
.el-plc__row:last-child{border-bottom:0}
.el-plc__row--on{background:var(--surface-brand-soft)}

/* The row's own link: name over kind, with the state pill at the end. */
.el-plc__pick{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-3);
color:var(--text-primary);text-decoration:none}
.el-plc__pick:hover{color:var(--text-primary)}
.el-plc__pick:hover .el-plc__name{text-decoration:underline;text-underline-offset:3px;
text-decoration-thickness:1px}
.el-plc__text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.el-plc__name{font:var(--type-body-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.el-plc__row--on .el-plc__name{font-weight:var(--weight-medium)}
.el-plc__kind{font-size:var(--text-xs);color:var(--text-muted)}

/* The two move controls. Each is its own single-button form, so the pair is a flex column
   of two forms rather than one control with two halves. */
.el-plc__move{display:flex;flex-direction:column;gap:2px;flex:none}

/* Slot editor: the preview beside its fields, as the kit arranges it — but only once the
   console is genuinely wide. The fields inside are AdminLayout.Fields, which goes two-up
   at 700px against the *viewport*, not against this column; put the preview beside them
   any earlier and those two field columns land in about 150px each. So the editor stacks
   until 1200px, where the slot list, the preview and two field columns all fit. */
.el-plc__edit{display:grid;gap:var(--space-5);grid-template-columns:1fr;align-items:start}
@media (min-width:1200px){.el-plc__edit{grid-template-columns:minmax(0,260px) minmax(0,1fr)}}

/* The preview frame. 16:11, square-cornered, with the scrim and the headline the hero
   slot will actually render — this is a picture of the storefront, not admin chrome. */
.el-plc__prev{position:relative;aspect-ratio:16/11;overflow:hidden;background:var(--cream-200)}
.el-plc__prev img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.el-plc__scrim{position:absolute;inset:0;background:var(--scrim-full)}
.el-plc__band{position:absolute;inset:0;background:var(--surface-brand);
display:grid;place-items:center;padding:var(--space-4)}
.el-plc__copy{position:absolute;left:var(--space-3);right:var(--space-3);bottom:var(--space-3);
display:flex;flex-direction:column;gap:var(--space-1);color:var(--cream-100)}
.el-plc__eyebrow{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);
text-transform:uppercase;color:var(--cream-100)}
.el-plc__head{font-family:var(--font-display);font-size:var(--text-xl);
font-weight:var(--weight-light);line-height:var(--leading-tight)}
.el-plc__band .el-plc__copy{position:static;left:auto;right:auto;bottom:auto;text-align:center;
align-items:center}
.el-plc__empty{position:absolute;inset:0;display:grid;place-items:center;
font:var(--type-body-sm);color:var(--text-muted);padding:var(--space-4);text-align:center}

/* Add-a-slot, at the foot of the list. Stacked, because the list column is narrow. */
.el-plc__add{display:flex;flex-direction:column;gap:var(--space-3);
padding:var(--space-5);border-top:1px solid var(--border-hairline)}

/* Delete, at the end of a row. Sits outside the pick link, never inside it: a button
   inside an anchor is invalid, and a mis-click would select the slot rather than act. */
.el-plc__del{display:flex;align-items:center;padding-right:var(--space-3)}

/* The save row at the foot of a form. Spans whatever grid it is in, so it works inside
   AdminLayout.Fields' two columns. */
.el-plc__foot{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;
grid-column:1/-1}

/* ===== page-admin-promo-bar ===== */
.el-pb__list{display:flex;flex-direction:column;gap:var(--space-5)}
.el-pb__row{display:grid;gap:var(--space-4);grid-template-columns:1fr;
padding-bottom:var(--space-5);border-bottom:1px solid var(--border-hairline)}
.el-pb__row:last-child{padding-bottom:0;border-bottom:0}
@media (min-width:700px){.el-pb__row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The save row at the foot of a message. Spans the row's grid whatever the breakpoint. */
.el-pb__foot{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;
grid-column:1/-1}

/* ===== page-admin-search ===== */
/* One row per term. Hairlines, not cards — the design system's structural device, and
   the same shape the Telegram screen uses for its switches. */
.el-st__row{display:flex;align-items:center;justify-content:space-between;
gap:var(--space-6);padding:var(--space-3) 0;border-bottom:1px solid var(--border-hairline)}
.el-st__row:last-of-type{border-bottom:0}
.el-st__text{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.el-st__term{font:var(--type-body);color:var(--text-primary)}
.el-st__meta{font:var(--type-body-sm);color:var(--text-muted);font-variant-numeric:tabular-nums}
.el-st__ticks{flex:none;display:flex;gap:var(--space-6);align-items:center}

/* A blocked term stays on the screen so it can be unblocked, and reads as inert. This is
   the disabled treatment, which is the one opacity-ish state the design system allows
   (CLAUDE.md § 3) — it marks a row that is switched off, not a hover. */
.el-st__row--off .el-st__term,.el-st__row--off .el-st__meta{color:var(--text-muted)}

.el-st__add{display:flex;gap:var(--space-3);align-items:flex-end;
padding:var(--space-5) 0;border-bottom:1px solid var(--border-hairline)}
.el-st__add>:first-child{flex:1 1 auto;max-width:var(--maxw-form)}
.el-st__actions{display:flex;justify-content:flex-end;padding-top:var(--space-5)}

@media (max-width:40rem){
.el-st__row{flex-direction:column;align-items:flex-start;gap:var(--space-2)}
.el-st__add{flex-direction:column;align-items:stretch}
}

/* ===== admin-customers ===== */
.el-cust__who{display:flex;flex-direction:column;gap:2px;min-width:0}
.el-cust__email{font:var(--type-body-sm);color:var(--text-primary);overflow-wrap:anywhere}
.el-cust__name{font:var(--type-label);color:var(--text-muted)}
.el-cust__trace{display:flex;flex-direction:column;gap:2px;min-width:0}
.el-cust__ip{font:var(--type-data);font-size:var(--text-xs);color:var(--text-primary)}

/* The user agent is long and nobody reads all of it. Two lines, then it stops; the title
   attribute carries the whole string for the one time somebody needs it. */
.el-cust__ua{font:var(--type-label);color:var(--text-muted);display:-webkit-box;
-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.el-cust__none{font:var(--type-label);color:var(--text-muted)}
.el-cust__acts{display:flex;align-items:center;gap:var(--space-2);justify-content:flex-end}

/* ===== page-admin-telegram ===== */
/* One row per switch: text on the left, control on the right, hairline between.
   Hairlines before elevation — the design system's structural device, not a card. */
.el-tg__row{display:flex;align-items:flex-start;justify-content:space-between;
gap:var(--space-6);padding:var(--space-4) 0;border-bottom:1px solid var(--border-hairline)}
.el-tg__row:last-of-type{border-bottom:0}
.el-tg__text{display:flex;flex-direction:column;gap:var(--space-1);max-width:52ch}
.el-tg__label{font:var(--type-body);color:var(--text-primary)}
.el-tg__desc{font:var(--type-body-sm);color:var(--text-secondary)}
.el-tg__why{font:var(--type-body-sm);color:var(--text-muted)}
.el-tg__control{flex:none;padding-top:var(--space-1)}
.el-tg__actions{display:flex;justify-content:flex-end;padding-top:var(--space-5)}

/* Stacks on a narrow screen: the control belongs under its own label, not beside a
   wrapped one. */
@media (max-width:40rem){
.el-tg__row{flex-direction:column;gap:var(--space-2)}
.el-tg__control{padding-top:0}
}

/* ===== page-admin-tracking ===== */
/* Same row shape as the Telegram screen: text left, control right, hairline between.
   Hairlines before elevation - the structural device, not a card. */
.el-trk__row{display:flex;align-items:flex-start;justify-content:space-between;
gap:var(--space-6);padding:var(--space-4) 0;border-bottom:1px solid var(--border-hairline)}
.el-trk__row:last-of-type{border-bottom:0}
.el-trk__text{display:flex;flex-direction:column;gap:var(--space-1);max-width:52ch}
.el-trk__label{font:var(--type-body);color:var(--text-primary)}
.el-trk__desc{font:var(--type-body-sm);color:var(--text-secondary)}
.el-trk__control{flex:none;padding-top:var(--space-1)}
.el-trk__field{max-width:28ch}
.el-trk__actions{display:flex;justify-content:flex-end;padding-top:var(--space-5)}

/* The event list is reference material, not a control: what the shop reports and when,
   so an operator reading Events Manager knows what to expect to see there. */
.el-trk__events{display:flex;flex-direction:column;gap:var(--space-2);
padding:var(--space-4) 0 0;margin:0;list-style:none}
.el-trk__event{display:flex;gap:var(--space-3);align-items:baseline;
font:var(--type-body-sm);color:var(--text-secondary)}
.el-trk__event-name{font:var(--type-mono-sm);color:var(--text-primary);flex:none;
min-width:13ch}

@media (max-width:40rem){
.el-trk__row{flex-direction:column;gap:var(--space-2)}
.el-trk__control{padding-top:0}
.el-trk__event{flex-direction:column;gap:var(--space-1)}
}

/* ===== page-admin-visitors ===== */
.el-vis__tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4);
padding-bottom:var(--space-6)}

/* Three lists side by side: pages, sources, devices. Hairlines, never cards. */
.el-vis__lists{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6);
padding-bottom:var(--space-8)}
.el-vis__list{display:flex;flex-direction:column;gap:var(--space-2)}
.el-vis__list h3{font:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);
text-transform:uppercase;color:var(--text-secondary);margin:0 0 var(--space-2)}
.el-vis__li{display:flex;align-items:baseline;justify-content:space-between;
gap:var(--space-3);padding:var(--space-2) 0;
border-bottom:1px solid var(--border-hairline);font:var(--type-body-sm)}
.el-vis__li:last-child{border-bottom:0}
.el-vis__li-label{color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;
white-space:nowrap}
.el-vis__li-count{color:var(--text-secondary);flex:none;font:var(--type-mono-sm)}

/* The bar under each list item carries the proportion, so the eye reads the shape
   before the number. Bark at low opacity - a tint of the ink, not a new colour. */
.el-vis__bar{height:2px;background:var(--border-hairline);margin-top:2px}
.el-vis__bar span{display:block;height:2px;background:var(--text-primary)}

.el-vis__sess{font:var(--type-mono-sm);color:var(--text-secondary)}
.el-vis__ip{font:var(--type-mono-sm);color:var(--text-primary)}

/* The agent is reference material, not a column to read across. Wrapped, muted and
   small: present when an operator looks for it, quiet when they are scanning. */
.el-vis__on{display:flex;flex-direction:column;gap:2px}
.el-vis__ua{font:var(--type-mono-sm);color:var(--text-muted);
overflow-wrap:anywhere;line-height:1.35}
.el-vis__path{font:var(--type-mono-sm);color:var(--text-primary)}
.el-vis__foot{padding-top:var(--space-6);max-width:68ch}

@media (max-width:60rem){
.el-vis__tiles{grid-template-columns:repeat(2,1fr)}
.el-vis__lists{grid-template-columns:1fr;gap:var(--space-5)}
}
@media (max-width:40rem){
.el-vis__tiles{grid-template-columns:1fr}
}

/* ===== page-admin-placeholder ===== */
/* The "will hold" list. A real <ul>, because it is a list and base.css resets none, with
   the middot as its marker — the one standing glyph the design system permits
   (CLAUDE.md § 3), so no bullet character has to be invented. */
.el-stub__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;
gap:var(--space-2);font:var(--type-body-sm);color:var(--text-secondary)}
.el-stub__item{display:flex;gap:var(--space-2)}
.el-stub__item::before{content:"·";color:var(--text-muted);flex:none}
