/* Seller Admin: base. Font faces, the reset, element defaults, scrollbars,
   icons and reduced motion. Everything here is var(--...) from tokens.css. */

/* Inter, self-hosted: one variable file per style covers 400/500/600, and no
   local() source, so rendering is the same on every machine. */
@font-face{font-family:Inter;src:url("/assets/InterVariable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("/assets/InterVariable-Italic.woff2") format("woff2");font-weight:100 900;font-style:italic;font-display:swap}

*,*:before,*:after{box-sizing:border-box}
[hidden]{display:none!important}
/* The page's own scrollbar track is reserved whether or not the page scrolls,
   so switching between a long and a short list never moves a column. */
html{overflow-y:scroll;font-family:var(--font-sans);line-height:var(--leading-sm);color:var(--ink);background:var(--bg-canvas);-webkit-text-size-adjust:100%}
body{margin:0;min-height:100dvh;background:var(--bg-canvas);font-size:var(--text-sm);line-height:var(--leading-sm);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,h4,h5,p{margin:0 0 var(--space-2)}
b,strong{font-weight:var(--weight-semibold)}
h1,h2,h3,h4,h5{color:var(--ink);font-weight:var(--weight-semibold)}
h1{font-size:var(--text-2xl);line-height:var(--leading-2xl);letter-spacing:var(--track-title)}
h2{font-size:var(--text-md);line-height:var(--leading-md)}
h3,h4,h5{font-size:var(--text-sm);line-height:var(--leading-sm)}
a{color:var(--accent-ink);text-decoration-thickness:var(--border-w);text-underline-offset:var(--space-1)}
a:hover{color:var(--accent-hover)}
code,pre,kbd,.mono{font-family:var(--font-mono)}
.mono{font-size:var(--text-xs);line-height:var(--leading-xs);color:var(--ink-secondary)}
.muted{color:var(--ink-muted)}
.spacer{flex:1}
fieldset{min-width:0}
::selection{background:var(--accent-subtle);color:var(--ink)}

/* Icons: one sprite (index.html), one 16px box, one 1.5px stroke, currentColor. */
.icon{width:var(--icon);height:var(--icon);flex:0 0 auto;vertical-align:-.18em;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.icon--lg{width:var(--icon-lg);height:var(--icon-lg)}
#icon-sprite{display:none}

/* Focus: ONE stroke on the control's own edge, the accent, never detached
   (operator rule 2026-08-28). Fields add their own (components.css). */
:focus-visible{outline:var(--focus-w) solid var(--focus);outline-offset:var(--focus-offset)}

/* Read by assistive technology, painted nowhere. */
.visually-hidden{position:absolute;width:var(--space-1);height:var(--space-1);margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;background:transparent}
.visually-hidden-field{position:fixed;inset:0 auto auto 0;width:var(--space-1);height:var(--space-1);padding:0;border:0;opacity:0;pointer-events:none}

/* Scrollbars. Chromium and Safari take the pseudo-elements; the standard
   properties are fenced to Firefox, because once scrollbar-width is set
   Chromium ignores the pseudo-elements and paints its own bar. */
::-webkit-scrollbar{width:var(--scrollbar);height:var(--scrollbar)}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
::-webkit-scrollbar-thumb{background:var(--scroll-thumb);background-clip:content-box;border:var(--space-1) solid transparent;border-radius:var(--radius-sm)}
::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover);background-clip:content-box}
@supports not selector(::-webkit-scrollbar){
  html{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after,::backdrop{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
