/* AlderCAD interaction kit: the silver theme (Tenis 2026-10-21, from his Pinterest screen recording: the silver "Astra" frame).
   A theme layer over theme.css, opt-in per page: load it after theme.css and put class="kit-silver" on <body>. Every token of
   the theme.css contract is set again for white type on clear glass over a lit silver scene, plus the glass, scene, caps and
   pill tokens below, so any host (AlderCAD, Chat, the Desk) takes the same look from one file. :root is left alone, so a 3D
   view that reads its colours from :root keeps theme.css's dark ink on light (AlderCAD's web/white.css sets its own there).
   Contrast: white type keeps 4.5:1 by a soft local shade around the letters where bright light shows through the glass
   (measured on AlderCAD screenshots with jobs/aldercad-white/tools/contrast.py; misses are reported, never loosened).
   Added tokens: --gl-fill --gl-tint --gl-blur --gl-ring --gl-line --gl-line-c --gl-shade --gl-solid (glass; --gl-tint --gl-rim --gl-slab --gl-drop --gl-edge are empty since 05:31, kept so hosts need no change) --scene (page ground)
   --ink-3 (large type only) --caps-font --caps-track (tracked caps) --pill-bg --pill-edge --pill-bevel --pill-on-bg
   --pill-on-ink (buttons and chips) --r-pill. Utilities: .kit-glass (a slab), .kit-caps, .kit-pill, .kit-pill-main.
   No decorative underline (Tenis 2026-10-21): the nav's stroke is hidden; the current place is white at 600. */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/kit/fonts/inter-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}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/kit/fonts/inter-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
html:has(body.kit-silver){background:#5C6168;color-scheme:dark}
body.kit-silver{
 /* surfaces */
 --canvas:#454A51;--ground-lit:#6A7079;--ground-low:#33373D;
 --surface:#3B4047;--fill:rgba(255,255,255,.10);--fill-2:rgba(255,255,255,.17);
 --hair:rgba(255,255,255,.16);--hair-2:rgba(255,255,255,.55);   /* control edges: 3:1 and more on the glass */
 --edge:0 0 0 1px var(--hair);--shadow:none;
 --shadow-float:0 24px 60px -24px rgba(8,10,14,.6);
 /* text: white; --ink-2 nearly so (hierarchy by size and weight, not by grey) */
 --ink:#FFFFFF;--ink-2:#F4F6F8;--ink-3:rgba(255,255,255,.80);
 /* actions: the one next step a white pill */
 --action:#F4F5F7;--action-press:#DADDE2;--action-tint:rgba(255,255,255,.14);--on-action:#16191D;
 /* one accent, pale cool blue: selection and the current place. No green, no copper */
 --copper:#C9D2DD;--copper-ink:#F3F6F9;--select:#BCD2F0;
 --signal:var(--ink);--new:var(--signal);--new-dot:var(--signal);--new-tint:rgba(255,255,255,.10);--wait:var(--signal);--wait-bar:var(--signal);--wait-tint:rgba(255,255,255,.10);
 --ok:#BCD2F0;--ok-tint:rgba(188,210,240,.16);
 --danger:#FFC4B9;--danger-tint:rgba(255,140,120,.16);--on-danger:#1A1310;
 /* type and shape */
 --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
 --caps-font:500 10.5px/18px var(--sans);--caps-track:.3em;
 --r-card:26px;--r-ctl:14px;--r-xs:10px;--r-pill:999px;
 --r-s:var(--r-xs);--r-m:var(--r-ctl);--r-l:var(--r-card);
 /* glass (Tenis 05:31 and after, read off his sample frames hi-6.5 and hi-10.5): its depth is all light, no bulk. A white veil
    a little lighter than the scene, never darker; a faint sheen at the top; a medium blur so big shapes and colour bleed through
    softly; a 1 px edge that catches the light at the top left and fades along the bottom and right (--gl-ring, drawn by the
    .kit-glass ring; --gl-line-c gives the same light by side for a box that scrolls). No drop, no slab, no halo, no prism.
    Where type must read over bright light, the page puts a soft local shade around the letters (--gl-shade), never a darker card */
 --gl-fill:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 40%),linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08));
 --gl-tint:linear-gradient(transparent,transparent);
 --gl-blur:blur(14px) saturate(130%);
 --gl-ring:linear-gradient(135deg,rgba(255,255,255,.48),rgba(255,255,255,.18) 35%,rgba(255,255,255,.10) 70%,rgba(255,255,255,.14));
 --gl-line:rgba(255,255,255,.26);
 --gl-line-c:rgba(255,255,255,.42) rgba(255,255,255,.14) rgba(255,255,255,.10) rgba(255,255,255,.34);
 --gl-rim:0 0 0 0 transparent;
 --gl-slab:0 0 0 0 transparent;
 --gl-drop:0 0 0 0 transparent;
 --gl-edge:linear-gradient(transparent,transparent);
 --gl-shade:rgba(46,50,57,.45);
 --gl-solid:rgba(56,61,68,.97);   /* the glass without blur: html.no-glass, reduced transparency */
 /* pills: buttons and chips */
 --pill-bg:rgba(255,255,255,.08);--pill-edge:rgba(255,255,255,.30);--pill-bevel:0 0 0 0 transparent;
 --pill-on-bg:#FFFFFF;--pill-on-ink:#16191D;
 /* the scene: a silver ground, shaded where type sits (left, top right). No bloom, rim or streak (Tenis 2026-10-21: "we don't need that glow") */
 --scene-light:
  linear-gradient(90deg,rgba(52,56,63,.42) 0,rgba(52,56,63,.16) 34%,rgba(52,56,63,0) 52%),
  radial-gradient(32% 40% at 100% 0,rgba(50,54,61,.70),rgba(50,54,61,0));
 --scene-base:linear-gradient(180deg,#6C727B 0%,#62676F 52%,#555A61 100%);
 --scene:var(--scene-light),var(--scene-base);
 color:var(--ink);font-family:var(--sans);font-weight:400;letter-spacing:-.003em;
 background:var(--scene);background-attachment:fixed;
}
/* the living ground (scene/scene.js, opt-in): its canvas sits behind the page and the scene's light is laid over it, without the base */
html.kit-scene-on{background:#62676F}
html.kit-scene-on body.kit-silver{background:var(--scene-light);background-attachment:fixed}
/* utilities */
.kit-silver .kit-glass{position:relative;background:var(--gl-fill);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);
 border:1px solid transparent;border-radius:var(--r-card);color:var(--ink)}
.kit-silver .kit-glass::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:var(--gl-ring);pointer-events:none;
 -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html.no-glass .kit-silver .kit-glass{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--gl-solid)}
@media (prefers-reduced-transparency:reduce){.kit-silver .kit-glass{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--gl-solid)}}
.kit-silver .kit-caps{font:var(--caps-font);letter-spacing:var(--caps-track);text-transform:uppercase;color:var(--ink-2)}
.kit-silver .kit-pill{border-radius:var(--r-pill);border:1px solid var(--pill-edge);background:var(--pill-bg);box-shadow:var(--pill-bevel);color:var(--ink)}
.kit-silver .kit-pill[aria-pressed=true],.kit-silver .kit-pill-main{background:var(--pill-on-bg);border-color:var(--pill-on-bg);color:var(--pill-on-ink)}
/* the kit's own pieces in this theme */
.kit-silver .kit-stroke{display:none}
.kit-silver .bar [aria-current],.kit-silver .kit-sheet [aria-current],.kit-silver .kit-nav-in [aria-current]{font-weight:600;color:var(--ink)}
.kit-silver .kit-sheet{background:var(--gl-fill);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);
 border:1px solid;border-color:var(--gl-line-c);box-shadow:none;color:var(--ink)}
