/* GENERATED by design/tools/sync_id.py from design/tokens.css, design/base.css and id/assets/extra.css. Do not edit. */
/* prodbü design tokens – shared base for the label, flow, trace and later products.
   Neutrals and status colours come from the flow palette (2026-11-11); the soft blues are
   not part of the base. Accent = neon yellow. Products only set the --product-* tokens. */
:root, [data-theme="light"] {
  color-scheme: light dark;

  /* Neutrals (light) */
  --pb-bg: #fff;
  --pb-surface: #f4f4f4;
  --pb-field: #e7e7e7;
  --pb-line: #cfcfcf;
  --pb-control-edge: #767676;
  --pb-text: #000;
  --pb-muted: #5c5c5c;

  /* Accent and status (same in both modes). Text on these fills is always black. */
  --pb-accent: #e5ff00;
  --pb-accent-ink: #000;
  --pb-red: #ff2020;
  --pb-green: #20ff56;
  --pb-danger-text: #9b1616; /* red as text on light grounds */

  /* Keyboard focus: black ring with a neon halo on light, neon ring on dark. */
  --pb-focus: #000;
  --pb-focus-halo: #e5ff00;

  /* Typography: Inter for the interface, Courier Prime for the wordmark and large headings. */
  --pb-font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pb-font-display: "Courier Prime", "Courier New", monospace;

  /* Shape and spacing */
  --pb-radius: 4px;
  --pb-field-h: 2.75rem;
  --pb-wordmark-gap: .6em;

  /* Product layer: a product sets --pb-product (flow: #527FA5) to colour its product word;
     unset, the word takes the text colour. */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --pb-bg: #000; --pb-surface: #111; --pb-field: #222; --pb-line: #383838; --pb-control-edge: #777;
    --pb-text: #fff; --pb-muted: #a8a8a8; --pb-danger-text: #ff8383;
    --pb-focus: #e5ff00; --pb-focus-halo: transparent;
  }
}
[data-theme="dark"] {
  color-scheme: dark;
  --pb-bg: #000; --pb-surface: #111; --pb-field: #222; --pb-line: #383838; --pb-control-edge: #777;
  --pb-text: #fff; --pb-muted: #a8a8a8; --pb-danger-text: #ff8383;
  --pb-focus: #e5ff00; --pb-focus-halo: transparent;
}

/* prodbü base styles on top of tokens.css: type, fields, buttons, notices, wordmark. */
@font-face { font-family: "Courier Prime"; src: url("/CourierPrime-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/Inter-subset.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--pb-bg); color: var(--pb-text); font: 16px/1.55 var(--pb-font-ui); }
h1, h2 { font-family: var(--pb-font-display); font-weight: 400; margin: 0; }
h1 { font-size: 2rem; line-height: 1.2; margin-bottom: .5rem; }
h2 { font-size: 1.25rem; margin-bottom: 1rem; }
p { margin: 0 0 1rem; }
a { color: var(--pb-text); text-underline-offset: .2em; }
.muted, small { color: var(--pb-muted); }

/* Wordmark as live text. "bü" is neon on dark; on light it is black on a tilted neon highlight
   (0.15 em above the umlaut dots, 0.18 em below the baseline). .wordmark--mark forces the highlight on dark grounds too. */
.wordmark { display: inline-flex; align-items: baseline; gap: var(--pb-wordmark-gap); font-family: var(--pb-font-display); font-size: 1.5rem; line-height: 1.25; color: var(--pb-text); text-decoration: none; white-space: nowrap; letter-spacing: 0; font-kerning: none; font-variant-ligatures: none; }
.wordmark .label { display: inline-flex; }
.wordmark .product { color: var(--pb-product, var(--pb-text)); }
.wordmark .bue { position: relative; display: inline-block; z-index: 0; color: var(--bue-ink, var(--pb-accent)); }
.wordmark .bue::before { content: ""; position: absolute; z-index: -1; left: 0; right: -.09em; top: .03em; bottom: .225em; background: var(--bue-mark, transparent); transform: rotate(-0.5deg); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .wordmark { --bue-ink: #000; --bue-mark: var(--pb-accent); } }
:root [data-theme="light"] .wordmark, .wordmark--mark { --bue-ink: #000; --bue-mark: var(--pb-accent); }
:root [data-theme="dark"] .wordmark:not(.wordmark--mark) { --bue-ink: var(--pb-accent); --bue-mark: transparent; }
@media (forced-colors: active) { .wordmark .bue { color: LinkText; } .wordmark .bue::before { display: none; } }

/* Fields: text inputs and selects share one height. */
.field { display: block; margin: 0 0 1.25rem; }
.field > span { display: block; margin-bottom: .35rem; }
.field small { display: block; margin-top: .3rem; font-size: .875rem; }
input[type=text], input[type=email], input[type=password], input:not([type]), select {
  width: 100%; height: var(--pb-field-h); padding: 0 .75rem; font: inherit; color: inherit;
  background-color: var(--pb-bg); border: 1px solid var(--pb-control-edge); border-radius: var(--pb-radius);
}
input:hover, select:hover { border-color: var(--pb-text); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: .75rem;
}
input[type=file] { width: 100%; padding: .5rem 0; font: inherit; color: inherit; }
input[type=file]::file-selector-button { font: inherit; color: var(--pb-text); background: transparent; border: 1px solid var(--pb-control-edge); border-radius: var(--pb-radius); padding: .4rem .8rem; margin-right: .75rem; cursor: pointer; }
input[type=checkbox] { accent-color: var(--pb-text); width: 1.1rem; height: 1.1rem; vertical-align: -.2rem; margin-right: .4rem; }
:is(input, select, button, a, [tabindex]):focus-visible { outline: 2px solid var(--pb-focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--pb-focus-halo); }
:disabled, [aria-disabled=true] { opacity: .45; cursor: not-allowed; }

/* Buttons. Primary: neon on dark, black on light. Secondary: outline. Link: text. */
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--pb-field-h); padding: 0 1.25rem; font: inherit; font-weight: 600; border: 1px solid var(--pb-control-edge); border-radius: var(--pb-radius); background: transparent; color: var(--pb-text); cursor: pointer; text-decoration: none; }
:is(button:not(.secondary, .link), .button) { background: var(--pb-accent); color: var(--pb-accent-ink); border-color: var(--pb-accent); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) :is(button:not(.secondary, .link), .button) { background: #000; color: #fff; border-color: #000; } }
:root [data-theme="light"] :is(button:not(.secondary, .link), .button) { background: #000; color: #fff; border-color: #000; }
:root [data-theme="dark"] :is(button:not(.secondary, .link), .button) { background: var(--pb-accent); color: var(--pb-accent-ink); border-color: var(--pb-accent); }
:is(button:not(.secondary, .link), .button):hover { filter: brightness(.92); box-shadow: 0 0 0 2px var(--pb-accent); }
button.secondary:hover { border-color: var(--pb-text); }
button.link { display: inline; min-height: 0; padding: 0; background: none; border: 0; font-weight: 400; text-decoration: underline; text-underline-offset: .2em; }
button.link:hover { text-decoration-color: var(--pb-accent); text-decoration-thickness: 2px; }
button:disabled:hover { filter: none; box-shadow: none; }

/* Messages: a tinted bar with an edge, clearly not an input field. Status always also in text. */
.notice { margin: 0 0 1.25rem; padding: .75rem 1rem; border-left: 4px solid var(--pb-accent); border-radius: 0 var(--pb-radius) var(--pb-radius) 0; background: var(--pb-surface); }
.notice p { margin: 0; }
.notice.error { border-left-color: var(--pb-red); color: var(--pb-danger-text); }

@media (forced-colors: active) { .notice { border: 1px solid CanvasText; } }

/* id.prodbue.com specifics: header, layout, tables, lists. */
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--pb-line); }
nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
main { max-width: 36rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
section { margin: 2.5rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--pb-line); }
section.notice { margin: 2rem 0 0; padding: .75rem 1rem; border-top: 0; border-left: 4px solid var(--pb-accent); }
.check { display: block; margin: 0 0 1.25rem; }
form.inline { display: inline; } form + form { margin-top: .75rem; }
td button, td .button { min-height: 2.25rem; padding: 0 .8rem; font-size: .9rem; }
.avatar { border-radius: 50%; object-fit: cover; display: block; margin-bottom: 1rem; }
.key, .codes code { font-family: var(--pb-font-display); letter-spacing: .05em; }
.codes { columns: 2; padding-left: 1.25rem; }
table { width: 100%; border-collapse: collapse; } td { padding: .6rem .25rem; border-bottom: 1px solid var(--pb-line); vertical-align: top; }
table + form { margin-top: 1rem; }
ul { padding-left: 1.25rem; }
@media (max-width: 30rem) { h1 { font-size: 1.6rem; } header { padding: .75rem 1rem; } main { padding-inline: 1rem; } .codes { columns: 1; } }
