/* How the sheets stack: Basecoat's reset and components are the base, and every rule in app.css, ui.css and guide.css is written on top of them.
   A page rule therefore always beats Basecoat, whatever their specificity; the other way round it loses silently wherever Basecoat sets the same property.
   Rules in those sheets that name a bare element keep off Basecoat's controls with :where(:not(.btn)). Loaded first: the first @layer line fixes the order. */
@layer properties, theme, base, components, legacy, prism, utilities;

/* Basecoat's tokens filled with the Prism palette (app.css). html-qualified, so they outrank its own :root and .dark wherever it loads. */
html:root,html.dark{
 --background:var(--bg);--foreground:var(--ink);--card:var(--panel);--card-foreground:var(--ink);--popover:var(--raise);--popover-foreground:var(--ink);
 --primary:var(--ink);--primary-foreground:var(--on-ink);--secondary:var(--raise);--secondary-foreground:var(--ink);
 --muted:var(--raise);--muted-foreground:var(--dim);--accent:var(--raise);--accent-foreground:var(--ink);--destructive:var(--red);
 --border:var(--line);--input:var(--line-2);--ring:var(--ink);--radius:.625rem;
 --sidebar:var(--bg);--sidebar-foreground:var(--ink);--sidebar-accent:var(--raise);--sidebar-accent-foreground:var(--ink);--sidebar-border:var(--line);--sidebar-ring:var(--ink);
 --font-sans:var(--sans);--font-mono:var(--mono);
 /* Its data: icons are blocked by img-src 'self', and a blocked mask paints nothing: a ticked box would look unticked. Same-origin files instead. */
 --check-icon:url(/static/icons/check.svg);
 --chevron-down-icon:url(/static/icons/chevron-light.svg);--chevron-down-icon-50:url(/static/icons/chevron-light.svg);
}
html.dark{--chevron-down-icon:url(/static/icons/chevron-dark.svg);--chevron-down-icon-50:url(/static/icons/chevron-dark.svg)}
html{scroll-behavior:auto}  /* Basecoat scrolls smoothly; a page that moves while it is being clicked or tabbed through helps nobody here */
@media(prefers-reduced-motion:reduce){*,::before,::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
