/* novikit design tokens, version B (showroom). Single source of colour, type, space, shape and motion.
   Light and dark are two scopes of the same names. Dark follows the system unless data-theme is set (manual choice).
   Every other stylesheet reads these names and holds no colour literals. 4 px grid. */
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/fira-sans-latin-400-normal.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: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/fira-sans-latin-500-normal.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: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fira-sans-latin-600-normal.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: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fira-sans-latin-700-normal.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: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/fira-sans-latin-ext-400-normal.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; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/fira-sans-latin-ext-500-normal.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; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fira-sans-latin-ext-600-normal.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; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fira-sans-latin-ext-700-normal.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; }

:root {
  --font-ui: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: var(--font-ui);

  /* 4 px grid */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 28px; --s8: 32px; --s10: 40px; --s12: 48px; --s14: 56px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* shape */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 28px; --r-pill: 999px;

  /* type scale (sentence case, no tracking except the tight display sizes) */
  --t-hero: 600 64px/68px var(--font-ui);
  --t-h2: 600 40px/44px var(--font-ui);
  --t-large: 600 32px/36px var(--font-ui);
  --t-title: 600 20px/24px var(--font-ui);
  --t-body: 400 16px/24px var(--font-ui);
  --t-sec: 400 14px/20px var(--font-ui);
  --t-cap: 400 12px/16px var(--font-ui);
  --t-lab: 500 13px/16px var(--font-ui);

  /* motion: restrained */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 320ms;

  /* ink that stays dark in both themes (text on light surfaces, device bezels) */
  --ink-fixed: #171A19; --bezel: #16191A; --on-dark: #F1F1EA; --on-dark-2: #B9BCB3; --dark-surface: #16191A; --dark-raised: #22262A;
  --m-white: #F7F7F5; --m-oak: #B98A55; --m-steel: #AEB4BC;

  color-scheme: light;
  --bg: #F4F4EF; --surface: #FFFFFF; --raised: #FFFFFF; --sunken: #EBEBE4; --line: #DADBD2; --line-strong: #85877E;
  --text: #171A19; --text2: #585B54; --accent: #0A6F6A; --on-accent: #FFFFFF; --accent-soft: #DAEDEA; --on-accent-soft: #084A46;
  --err: #B3261E; --err-soft: #FBE8E5; --warn: #7A4E00; --warn-soft: #F7EAD0; --ok: #1F6B3A; --ok-soft: #DFF0E3;
  --glass: rgba(255, 255, 255, .74); --shadow: 0 1px 2px rgba(23, 26, 25, .08), 0 8px 24px rgba(23, 26, 25, .08);
  --scrim: rgba(23, 26, 25, .42);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1110; --surface: #171A18; --raised: #1F2321; --sunken: #0A0C0B; --line: #2C302D; --line-strong: #7C8178;
  --text: #EEEFE9; --text2: #A6AAA0; --accent: #53CFC1; --on-accent: #04211E; --accent-soft: #12302D; --on-accent-soft: #A6E8E0;
  --err: #FF9A90; --err-soft: #3A1B18; --warn: #F2BE5C; --warn-soft: #352709; --ok: #7FD39A; --ok-soft: #14301D;
  --glass: rgba(23, 26, 24, .72); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --scrim: rgba(0, 0, 0, .62);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0F1110; --surface: #171A18; --raised: #1F2321; --sunken: #0A0C0B; --line: #2C302D; --line-strong: #7C8178;
    --text: #EEEFE9; --text2: #A6AAA0; --accent: #53CFC1; --on-accent: #04211E; --accent-soft: #12302D; --on-accent-soft: #A6E8E0;
    --err: #FF9A90; --err-soft: #3A1B18; --warn: #F2BE5C; --warn-soft: #352709; --ok: #7FD39A; --ok-soft: #14301D;
    --glass: rgba(23, 26, 24, .72); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --scrim: rgba(0, 0, 0, .62);
  }
}

/* Button system (design B). One set of sizes for every control, used by novikit-ui.css and kitchen.css.
   lg 48 primary action in a dock or footer, md 44 default, sm 36 on desktop and 44 on touch screens.
   Icon buttons are 44 square or round. Segmented and tool bars use the same radius and icon size. */
:root {
  --btn-h-lg: 48px; --btn-h-md: 44px; --btn-h-sm: 36px; --btn-hit: 44px; --btn-tool-h: 52px; --btn-tool-w: 46px;
  --btn-r: var(--r-md); --btn-r-seg: var(--r-lg); --btn-r-round: 50%; --btn-r-pill: var(--r-pill);
  --btn-px: 20px; --btn-px-sm: 14px; --btn-gap: 8px; --btn-icon: 20px;
  --btn-fs: 16px; --btn-fs-sm: 14px; --btn-fw: 500;
  --btn-ring: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);
}
@media (pointer: coarse), (max-width: 768px) { :root { --btn-h-sm: 44px; } }

/* novikit logo (2026-11-26). The brand mark is the logo (assets/brand/novikit-logo-*.svg), shown wherever a surface has the element
   .wordmark (not a shop's own .bm), .tv-wm, the screen page's .wm or the catalogue's .rd-logo. The text inside stays for screen readers.
   Size it with font-size as before: the logo is .88em high. Dark ink follows the theme; set --nk-logo on a dark surface for the white one. */
:root { --nk-logo: url("/assets/brand/novikit-logo-black.svg"); }
:root[data-theme="dark"] { --nk-logo: url("/assets/brand/novikit-logo-white.svg"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --nk-logo: url("/assets/brand/novikit-logo-white.svg"); } }
.wordmark:not(.bm), .tv-wm, body:not(.branded) .dtop .wm, .rd-logo {
  display: inline-block; box-sizing: content-box; width: 3.81em; height: .88em; vertical-align: -.1em; padding: 0; overflow: hidden; white-space: nowrap;
  text-indent: -9999em; color: transparent; letter-spacing: 0; background: var(--nk-logo) no-repeat left center / contain;
}
.abhero .wordmark { --nk-logo: url("/assets/brand/novikit-logo-white.svg"); }
