/* ============================================================
   Effects Shelf — the shelf.
   One theme only: a pure developer dark. Near-black canvas, raised
   graphite cards, hairline rules, crisp type. There is no light
   theme and no warm paper tone left anywhere in the chrome.

   The paper a component is previewed on is dark too (--paper), so
   the specimens sit in the same world as the shelf. A component
   that ships its own light surface keeps it; the stage around it
   stays black.
   ============================================================ */
:root{
  color-scheme:dark;

  /* ground and surfaces */
  --bg:#09090b;
  --bg-2:#0a0a0c;
  --surface:#111114;
  --surface-2:#141418;
  --surface-3:#1a1a1f;
  --mat:#0c0c0f;
  --mat-2:#060608;

  /* type */
  --ink:#f4f4f5;
  --ink-2:#d4d4d8;
  --muted:#a1a1aa;

  /* rules */
  --line:#1f1f24;
  --line-2:#2e2e36;

  /* the stage a component is shown on — dark, the same everywhere */
  --paper:#0b0b0e;
  --paper-line:#22222a;
  --paper-warm:#0b0b0e;
  --checker-a:#15151a;
  --checker-b:#0c0c10;
  --stage-dark:#050506;
  --stage-dark-line:#1c1c22;

  /* chrome accent (active pills, links, small marks) */
  --accent:#e4e4e7;
  --accent-dark:#ffffff;
  --accent-soft:#1f1f24;
  --accent-glow:rgba(244,244,245,.14);
  --accent-ink:#0a0a0c;
  --accent-hover:#d4d4d8;

  /* preview stage */
  --preview-bg:var(--paper);
  --preview-line:var(--paper-line);

  /* supporting bits */
  --topbar-bg:rgba(9,9,11,.82);
  --hover:#17171c;
  --hover-line:#2b2b33;
  --switch-off:#2a2a32;
  --switch-knob:#f4f4f5;
  --range:#2e2e36;
  --toast-bg:#f4f4f5;
  --toast-ink:#09090b;
  --badge-js-ink:#7ee2b0;
  --badge-js-bg:#0b2a20;
  --badge-js-line:#1b4a37;
  --live:#34d399;
  --live-glow:rgba(52,211,153,.18);
  --veil:rgba(0,0,0,.74);
  --veil-soft:rgba(0,0,0,.6);

  /* code panes */
  --code-bg:#0b0b10;
  --code-ink:#e4e4e7;
  --code-line:#1c1c24;

  --radius:12px;
  --r-card:14px;
  --shadow:0 1px 2px rgba(0,0,0,.5),0 10px 28px -18px rgba(0,0,0,.9);
  --shadow-lg:0 2px 4px rgba(0,0,0,.55),0 24px 52px -28px rgba(0,0,0,1);

  /* surface character */
  --hair:rgba(255,255,255,.055);
  --sheen:linear-gradient(155deg,rgba(255,255,255,.045),rgba(255,255,255,0) 46%);
  --sheen-edge:rgba(255,255,255,.16);
  --sheen-op:.35;
  --grain:.5;
  --grid-x:rgba(255,255,255,.045);
  --sc-glow:rgba(99,102,241,.13);
  --disp-ls:-.04em;
  --disp-w:700;
  --eyebrow-ls:.13em;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:15px;line-height:1.55;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
button{font:inherit;cursor:pointer;color:inherit}
a{color:var(--ink)}
::selection{background:var(--ink);color:var(--bg)}
code,pre{font-family:var(--mono)}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
input,select,textarea{color:var(--ink)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important}
  body{transition:none}
}
