/* BlazeHub design system, shared by the store and the dashboard.
   Palette: pine night greens, the logo's volt lime for actions, amber for prices, keys and stars.
   Shape: rounded squares everywhere (8 / 10 / 14 / 20 / 28 px), never pills.
   Type: Saira (variable width; headings run wider), JetBrains Mono for keys and order numbers. */

@font-face { font-family: 'Saira'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 50% 125%; src: url(/fonts/saira/saira-latin-standard-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: 'Saira'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 50% 125%; src: url(/fonts/saira/saira-latin-ext-standard-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: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/jbm/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --bg: #090e0a; --bg2: #0c140e; --surface: #101911; --surface2: #152117; --raise: #1a291d;
  --line: #1d2d21; --line2: #2a3f2e;
  --text: #ecf5e9; --muted: #9bb299; --faint: #687f68;
  --accent: #86e01e; --accent-ink: #0b1902; --accent-text: #a4ef4f; --accent-soft: rgba(134, 224, 30, .13);
  --copper: #f4b740; --copper-text: #f6c869; --copper-soft: rgba(244, 183, 64, .14);
  --danger: #ff6d5e; --danger-soft: rgba(255, 109, 94, .13);
  --warn: #f2c94c; --warn-soft: rgba(242, 201, 76, .13);
  --info: #74b9ff; --info-soft: rgba(116, 185, 255, .13);
  --r-xs: 8px; --r-s: 10px; --r: 14px; --r-l: 20px; --r-xl: 28px;
  --font: 'Saira', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Saira', ui-sans-serif, system-ui, sans-serif;
  --wide: 112%;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --focus: 0 0 0 3px color-mix(in srgb, var(--accent) 50%, transparent);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
html[data-mode="light"] {
  --bg: #f3f7f1; --bg2: #ebf1e8; --surface: #ffffff; --surface2: #f5f9f3; --raise: #eef4eb;
  --line: #dbe5d6; --line2: #c3d2bd;
  --text: #0e1a0f; --muted: #4c614c; --faint: #869884;
  --danger: #c93a2c; --warn: #9a7413; --info: #2468b8;
  --shadow: 0 18px 50px -28px rgba(20, 50, 20, .35);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html[data-mode="auto"] {
    --bg: #f3f7f1; --bg2: #ebf1e8; --surface: #ffffff; --surface2: #f5f9f3; --raise: #eef4eb;
    --line: #dbe5d6; --line2: #c3d2bd;
    --text: #0e1a0f; --muted: #4c614c; --faint: #869884;
    --danger: #c93a2c; --warn: #9a7413; --info: #2468b8;
    --shadow: 0 18px 50px -28px rgba(20, 50, 20, .35);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
/* No scrollbars on the page, menus or strips (they still scroll). Text boxes keep a thin, quiet one. */
html, body, * { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; background: transparent; }
textarea, .scroll-thin { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
textarea::-webkit-scrollbar, .scroll-thin::-webkit-scrollbar { width: 8px; height: 8px; }
textarea::-webkit-scrollbar-thumb, .scroll-thin::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
/* Number boxes without the up and down arrows */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ficon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 650; letter-spacing: -.005em; }
h1 { font-size: 1.95rem; font-stretch: var(--wide); font-weight: 750; }
h2 { font-size: 1.4rem; font-stretch: var(--wide); font-weight: 700; }
h3 { font-size: 1.1rem; } h4 { font-size: 1rem; }
p { margin: 0 0 .9em; }
small, .small { font-size: .84rem; }
code, .mono { font-family: var(--mono); font-size: .88em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
::selection { background: color-mix(in srgb, var(--accent) 38%, transparent); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-xs); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .5rem .9rem; border-radius: var(--r-s); font-weight: 650; }
.skip:focus { top: 12px; }
.ico { display: inline-block; vertical-align: -0.2em; width: 1.15em; height: 1.15em; flex: none; stroke-width: 2; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .copper { color: var(--copper-text); }
.display { font-family: var(--display); font-stretch: var(--wide); font-weight: 750; letter-spacing: -.01em; line-height: 1.02; }
.row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 1rem; }
.stack-s > * + * { margin-top: .55rem; }
.grow { flex: 1 1 auto; min-width: 0; }
.right { text-align: right; } .center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.narrow-wide { max-width: 960px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ---------- buttons ---------- */
.btn { --b: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .55em 1.1em;
  border-radius: 12px; border: 1px solid transparent; background: var(--b); color: var(--accent-ink); font: 650 .96rem/1.1 var(--font);
  cursor: pointer; text-decoration: none !important; transition: filter .12s, background-color .12s, border-color .12s, transform .12s; white-space: nowrap; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn.ghost:hover { background: var(--surface2); border-color: color-mix(in srgb, var(--accent) 35%, var(--line2)); filter: none; }
.btn.quiet { background: transparent; color: var(--muted); border-color: transparent; padding-inline: .65em; }
.btn.quiet:hover { color: var(--text); background: var(--surface2); filter: none; }
.btn.danger { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn.danger:hover { background: var(--danger-soft); filter: none; }
.btn.copper { --b: var(--copper); color: #241700; }
.btn.sm { min-height: 36px; padding: .38em .8em; font-size: .88rem; border-radius: var(--r-s); }
.btn.lg { min-height: 52px; padding: .7em 1.4em; font-size: 1.04rem; border-radius: var(--r); }
.btn.block { width: 100%; }
.btn .ico { width: 1.1em; height: 1.1em; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-text); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- forms ---------- */
.field { display: block; min-width: 0; }
.field + .field { margin-top: 1rem; }
.row > .field + .field { margin-top: 0; }
.row > .field { align-self: flex-start; }
.field > span, .label { display: block; font-size: .88rem; font-weight: 550; color: var(--text); margin-bottom: .35rem; }
.field .hint, .hint { display: block; font-size: .82rem; color: var(--muted); margin-top: .3rem; font-weight: 400; }
.input, .input-static, input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=datetime-local], input[type=date], input[type=color], select, textarea {
  width: 100%; min-height: 44px; padding: .55rem .8rem; border-radius: var(--r-s); border: 1px solid var(--line2);
  background: var(--bg2); color: var(--text); font: 400 .96rem/1.4 var(--font); transition: border-color .12s, box-shadow .12s; }
.input-static { display: flex; align-items: center; font-family: var(--mono); font-size: .9rem; color: var(--muted); background: var(--surface2); }
input[type=color] { padding: 4px; width: 56px; cursor: pointer; }
textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
textarea.code, input.code { font-family: var(--mono); font-size: .86rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
input::placeholder, textarea::placeholder { color: var(--faint); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-size: .94rem; }
.check input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--accent); flex: none; }
.check + .check { margin-top: .6rem; }
.switch { position: relative; display: inline-flex; align-items: center; gap: .65rem; cursor: pointer; font-size: .94rem; }
.stack > .switch, .stack-s > .switch { display: flex; width: fit-content; max-width: 100%; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { width: 42px; height: 24px; border-radius: 8px; background: var(--line2); position: relative; transition: background .15s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 6px; background: #fff; transition: transform .15s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--accent-ink); }
.switch input:focus-visible + i { box-shadow: var(--focus); }
.inline-form { display: inline; }
.fieldgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.fieldgrid .field + .field { margin-top: 0; }

/* ---------- surfaces ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.3rem; }
.panel.tight { padding: .9rem 1rem; }
.panel.flush { padding: 0; overflow: hidden; }
.panel > h2:first-child, .panel > h3:first-child { margin-bottom: .9rem; }
.panel h2 { font-size: 1.15rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1.02rem; }
.panel-body { padding: 1.3rem; }
.divide > * + * { border-top: 1px solid var(--line); }
.notice { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r); background: var(--info-soft); color: var(--text); font-size: .94rem; border: 1px solid color-mix(in srgb, var(--info) 30%, transparent); }
.notice .ico { color: var(--info); margin-top: .18rem; }
.notice.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); } .notice.warn .ico { color: var(--warn); }
.notice.ok { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); } .notice.ok .ico { color: var(--accent-text); }
.notice.bad { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 35%, transparent); } .notice.bad .ico { color: var(--danger); }
.notice p:last-child { margin: 0; }
.flashes { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 90; width: min(520px, calc(100% - 24px)); display: grid; gap: 8px; }
.flash { padding: .8rem 1rem; border-radius: var(--r); background: var(--raise); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: .94rem; display: flex; gap: .6rem; align-items: center; animation: flashIn .25s ease-out; }
.flash.ok .ico { color: var(--accent-text); } .flash.bad .ico { color: var(--danger); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } }
.empty { text-align: center; padding: 2.6rem 1rem; color: var(--muted); }
.empty .ico { width: 34px; height: 34px; margin: 0 auto .8rem; color: var(--faint); }
.empty h3 { color: var(--text); }

/* ---------- badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .16em .55em; border-radius: 7px; font-size: .78rem; font-weight: 600; line-height: 1.45;
  background: var(--surface2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .9; }
.badge.plain::before { display: none; }
.badge.ok { color: var(--accent-text); background: var(--accent-soft); border-color: transparent; }
.badge.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.badge.bad { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
.badge.info { color: var(--info); background: var(--info-soft); border-color: transparent; }
.badge.copper { color: var(--copper-text); background: var(--copper-soft); border-color: transparent; }
.pill { display: inline-flex; align-items: center; padding: .22em .65em; border-radius: var(--r-xs); background: var(--accent-soft); color: var(--accent-text); font-size: .8rem; font-weight: 650; margin-bottom: .7rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .65rem; border-radius: var(--r-s); border: 1px solid var(--line2); font-size: .84rem; color: var(--text); background: var(--surface); cursor: default; }
button.chip { cursor: pointer; font: inherit; font-size: .84rem; }
.chip .ico { width: 15px; height: 15px; color: var(--muted); }
.chip .sw { width: 14px; height: 14px; border-radius: 4px; }
.coin { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 700 .58rem/1 var(--mono); letter-spacing: -.02em;
  background: var(--coin, var(--surface2)); color: var(--coin-ink, var(--text)); flex: none; }
.coin.lg { width: 40px; height: 40px; font-size: .72rem; }
/* stock words: a dot plus "12 in stock", "Unlimited stock", "Sold out" */
.stock { font-size: .82rem; color: var(--muted); display: inline-flex; gap: .4rem; align-items: center; }
.stock.out { color: var(--danger); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); flex: none; }
.stock.low::before { background: var(--warn); } .stock.out::before { background: var(--danger); }
.stock.inf::before { border-radius: 50%; box-shadow: 0 0 0 3px var(--accent-soft); }
img.coin { display: inline-block; padding: 0; object-fit: cover; vertical-align: middle; }
/* payment logos: 36x24 tiles with a hairline so white tiles keep their edge on light pages */
img.brand { display: inline-block; width: 36px; height: 24px; border-radius: 5px; flex: none; vertical-align: middle;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 13%, transparent); }
.brands { display: inline-flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.stackcoins { display: inline-flex; flex: none; }
.stackcoins .coin { margin-left: -5px; box-shadow: 0 0 0 2px var(--surface); }
.stackcoins .coin:first-child { margin-left: 0; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-weight: 550; color: var(--muted); font-size: .82rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .1s; }
.tbl tbody tr.link { cursor: pointer; }
.tbl tbody tr.link:hover { background: var(--surface2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl a.rowlink { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .tbl.cards thead { display: none; }
  .tbl.cards, .tbl.cards tbody, .tbl.cards tr, .tbl.cards td { display: block; width: 100%; }
  .tbl.cards tr { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
  .tbl.cards td { border: 0; padding: .15rem 0; display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
  .tbl.cards td::before { content: attr(data-label); color: var(--muted); font-size: .82rem; text-align: left; }
  .tbl.cards td.primary { font-weight: 600; text-align: left; }
  .tbl.cards td.primary::before { display: none; }
}

/* ---------- the key tag (delivered licence keys) ---------- */
.keytag { --tag: var(--copper); position: relative; display: flex; align-items: center; gap: .9rem; padding: .9rem .9rem .9rem 3.1rem;
  background: linear-gradient(100deg, color-mix(in srgb, var(--tag) 14%, var(--surface)) 0%, var(--surface) 72%);
  border: 1px solid color-mix(in srgb, var(--tag) 40%, var(--line)); border-radius: var(--r); }
.keytag::before { content: ''; position: absolute; left: 15px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tag) 65%, transparent); }
.keytag::after { content: ''; position: absolute; left: 38px; top: 10px; bottom: 10px; border-left: 1.5px dashed color-mix(in srgb, var(--tag) 45%, transparent); }
.keytag .k { font: 500 1rem/1.35 var(--mono); letter-spacing: .02em; color: var(--text); overflow-wrap: anywhere; flex: 1; min-width: 0; user-select: all; }
.keytag .lbl { font-size: .76rem; color: var(--copper-text); display: block; margin-bottom: .12rem; font-family: var(--font); letter-spacing: 0; user-select: none; font-weight: 600; }
.keytag .iconbtn { flex: none; }
.keytag + .keytag { margin-top: .6rem; }
.keytag.revealing { animation: tagIn .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tagIn { from { opacity: 0; transform: translateX(-10px); } }

/* ---------- prose (descriptions, policies) ---------- */
.prose { line-height: 1.7; max-width: 72ch; }
.prose h3, .prose h4, .prose h5 { margin: 1.5em 0 .5em; font-stretch: var(--wide); }
.prose h3 { font-size: 1.15rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--accent-text); }
.prose pre { background: var(--bg2); border: 1px solid var(--line); padding: .8rem 1rem; border-radius: var(--r-s); overflow-x: auto; font-size: .86rem; }
.prose code { background: var(--surface2); padding: .1em .4em; border-radius: 6px; border: 1px solid var(--line); }
.prose pre code { background: none; padding: 0; border: 0; }
.prose blockquote { margin: 0 0 1em; padding: .4em 1em; border-left: 3px solid var(--accent); background: var(--surface2); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--muted); }
.prose em:only-child { color: var(--muted); }

/* ---------- misc ---------- */
.copyable { display: flex; align-items: center; gap: .5rem; }
.copyable .val { flex: 1; min-width: 0; font-family: var(--mono); font-size: .92rem; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .9rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
input[type=file] { font: 400 .86rem var(--font); color: var(--muted); max-width: 100%; }
input[type=file]::file-selector-button { font: 600 .84rem var(--font); color: var(--text); background: var(--surface2); border: 1px solid var(--line2); border-radius: var(--r-xs); padding: .45rem .85rem; margin-right: .7rem; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--raise); }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-s); border: 1px solid var(--line2); background: transparent; color: var(--muted); cursor: pointer; flex: none; text-decoration: none !important; }
.iconbtn:hover { color: var(--text); background: var(--surface2); }
.iconbtn[disabled] { opacity: .35; pointer-events: none; }
.iconbtn.done { color: var(--accent-text); border-color: var(--accent); }
.steps { display: flex; gap: 0; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { flex: 1; position: relative; padding-top: 1.8rem; font-size: .84rem; color: var(--faint); text-align: center; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center; font: 650 .74rem/1 var(--font); background: var(--surface2); border: 1px solid var(--line2); color: var(--muted); z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::after { display: none; }
.steps li.done, .steps li.now { color: var(--text); }
.steps li.done::before { content: '\2713'; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps li.done::after, .steps li.now::after { background: var(--accent); }
.steps li.now::before { border-color: var(--accent); color: var(--accent-text); box-shadow: 0 0 0 4px var(--accent-soft); }
.pulse { width: 9px; height: 9px; border-radius: 3px; background: var(--warn); box-shadow: 0 0 0 0 color-mix(in srgb, var(--warn) 60%, transparent); animation: pulse 1.6s infinite; flex: none; }
.pulse.ok { background: var(--accent); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.kbd { font: 500 .78rem var(--mono); padding: .1em .4em; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 6px; color: var(--muted); }
.qr { background: #fff; padding: 12px; border-radius: var(--r); width: 200px; height: 200px; }
.qr svg { width: 100%; height: 100%; }
details.disclose > summary { cursor: pointer; color: var(--accent-text); list-style: none; display: inline-flex; gap: .55rem; align-items: center; font-weight: 600; user-select: none; }
details.disclose > summary::-webkit-details-marker { display: none; }
details.disclose > summary::after { content: ''; width: 18px; height: 18px; border-radius: 6px; flex: none;
  background: linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 8px no-repeat, var(--accent-soft); }
details.disclose[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat, var(--accent-soft); }
.stars { display: inline-flex; gap: 2px; color: var(--copper); }
.stars .ico { width: 15px; height: 15px; }
.stars span:not(.off) svg { fill: currentColor; }
.stars .off { color: var(--line2); }
.avatar { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--line2); font: 650 .76rem var(--font); color: var(--muted); flex: none; }
.avatar.ai { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.avatar.staff { background: var(--copper-soft); color: var(--copper-text); border-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* compact lists of orders and tickets (dashboard and the buyer's account page) */
.mini-list > * { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.mini-list > *:last-child { border-bottom: 0; }
.mini-list > a:hover { background: var(--surface2); }
.mini-list .t { flex: 1; min-width: 0; }
.mini-list .t b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .t small { color: var(--muted); }
@media (max-width: 640px) { .mini-list > * { flex-wrap: wrap; row-gap: .35rem; } .mini-list .t { flex-basis: 100%; } .mini-list .t b { white-space: normal; } }

/* download rows (order page and the product editor) */
.dl { display: flex; gap: .8rem; align-items: center; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface2); }
.dl + .dl { margin-top: .5rem; }
.dl .ico { color: var(--accent-text); }
.dl .fn { font-weight: 600; overflow-wrap: anywhere; }
.dl .fs { color: var(--muted); font-size: .82rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
