/* Scannly Badge Studio. Scannly black and yellow, Inter, light and dark. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/organizers/vendor/inter-5.3.0/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/organizers/vendor/inter-5.3.0/inter-latin-wght-normal.woff2') format('woff2-variations');
  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;
}

:root {
  --ink: #11110F;
  --yellow: #FFD21F;
  --yellow-press: #F2C200;
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --text: #11110F;
  --text-2: #4A483F;
  --muted: #6B6960;
  --border: #DEDBD2;
  --border-strong: #BFBBAF;
  --tint: #FFF6CC;
  --focus: #11110F;
  --ok: #15803D;
  --ok-bg: #DCFCE7;
  --warn: #8A4106;
  --warn-bg: #FEF3C7;
  --bad: #B91C1C;
  --bad-bg: #FEE2E2;
  --table: #ECEAE3;
  --shadow: 0 1px 2px rgba(17, 17, 15, .06), 0 8px 24px -12px rgba(17, 17, 15, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0A;
    --surface: #1A1A17;
    --surface-2: #151513;
    --text: #F5F4EF;
    --text-2: #D3D1C7;
    --muted: #A3A196;
    --border: #33322C;
    --border-strong: #4A4840;
    --tint: rgba(255, 210, 31, .12);
    --focus: #FFD21F;
    --ok: #4ADE80;
    --ok-bg: rgba(74, 222, 128, .12);
    --warn: #FBBF24;
    --warn-bg: rgba(251, 191, 36, .12);
    --bad: #F87171;
    --bad-bg: rgba(248, 113, 113, .12);
    --table: #24231E;
    --ink-card: #1F1E1A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01';
}
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--yellow); color: var(--ink);
  padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- header */
.top { background: var(--ink); color: #F5F4EF; }
.top-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: #11110F url('/mark.svg') center / 82% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 210, 31, .35);
}
.brand-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-name b { color: var(--yellow); font-weight: 800; }
.top .brand:focus-visible { outline-color: var(--yellow); }
.top-tag {
  font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--yellow);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* ---- sticky steps */
.steps {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.steps ol {
  list-style: none; margin: 0 auto; padding: 10px 16px; max-width: 1120px;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.steps ol::-webkit-scrollbar { display: none; }
.steps a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none;
  padding: 6px 12px 6px 6px; border-radius: 999px; color: var(--text-2); font-size: .9rem; font-weight: 600;
  border: 1px solid transparent; min-height: 40px;
}
.steps a:hover { background: var(--surface); border-color: var(--border); }
.steps .num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: .8rem; font-weight: 800; background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text-2);
}
.steps a[aria-current='step'] { background: var(--ink); color: #F5F4EF; border-color: var(--ink); }
.steps a[aria-current='step'] .num { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.steps a.done .num { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.steps a.done .num::before { content: '✓'; }
.steps a.done .num { font-size: 0; }
.steps a.done .num::before { font-size: .85rem; }
@media (prefers-color-scheme: dark) {
  .steps a[aria-current='step'] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
  .steps a[aria-current='step'] .num { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
}

/* ---- layout */
main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
main:focus { outline: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: stretch; padding: 12px 0 6px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; }
.hero .lede { margin-top: 14px; font-size: 1.12rem; color: var(--text-2); max-width: 36em; }
.privacy {
  background: var(--ink-card, var(--ink)); color: #F5F4EF; border-radius: var(--radius); padding: 22px 22px 18px;
  box-shadow: var(--shadow); border: 1px solid rgba(255, 210, 31, .25);
}
.privacy h2 { font-size: 1.08rem; display: flex; gap: 10px; align-items: center; color: var(--yellow); letter-spacing: -0.01em; }
.privacy ul { margin: 12px 0 16px; padding-left: 20px; color: #D9D7CE; font-size: .95rem; }
.privacy li + li { margin-top: 4px; }
.privacy b { color: #fff; }
.privacy .hint { color: #BDBBB1; margin-top: 8px; }
.privacy :focus-visible { outline-color: var(--yellow); }
.privacy .btn-secondary { background: transparent; color: #F5F4EF; border-color: rgba(245, 244, 239, .35); }
.privacy .btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.privacy .btn-ghost { color: #D9D7CE; }
.save-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--tint); border: 1px solid var(--yellow); border-radius: var(--radius-sm); padding: 12px 16px;
}
.banner-ok { background: var(--ok-bg); border-color: var(--ok); }
.banner-actions { display: flex; gap: 8px; }

/* ---- step cards */
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0;
}
#mapping-area { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
#mapping-area h3 { margin-top: 8px; }
.step-head { display: flex; gap: 14px; align-items: flex-start; }
.step-head h2 { font-size: 1.45rem; font-weight: 800; }
.step-head p { color: var(--text-2); margin-top: 4px; }
.step-num {
  width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 1.05rem;
}
.step-foot { display: flex; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 16px; }
.step h3 { font-size: 1.05rem; font-weight: 750; margin-top: 4px; }
.opt { font-weight: 500; color: var(--muted); font-size: .9em; }

/* ---- forms */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; position: relative; }
.field-check { align-content: end; }
.field > .btn { justify-self: start; }
label, .label, legend { font-weight: 600; font-size: .92rem; }
.hint { font-size: .86rem; color: var(--muted); }
input[type='text'], input[type='search'], input[type='email'], input[type='url'], input[type='number'], input[type='date'], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.45; font-size: .92rem; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--focus); outline-offset: 1px; }
input[type='checkbox'] { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
@media (prefers-color-scheme: dark) { input[type='checkbox'] { accent-color: var(--yellow); } }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 32px; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-size: 1rem; font-weight: 750; }

/* ---- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-press); border-color: var(--yellow-press); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--tint); }
.btn-sm { min-height: 38px; padding: 7px 12px; font-size: .9rem; }
.link {
  font: inherit; color: var(--text); background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600;
}
.links { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }

/* ---- messages */
.msg:empty { display: none; }
.msg { font-size: .95rem; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.msg.ok { background: var(--ok-bg); border-color: var(--ok); }
.msg.warn { background: var(--warn-bg); border-color: var(--warn); }
.msg.bad { background: var(--bad-bg); border-color: var(--bad); }
.note { font-size: .9rem; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--tint); border-left: 4px solid var(--yellow); color: var(--text); }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--yellow); }
.callout-quiet { background: var(--surface-2); border-color: var(--border); }

/* ---- show search */
.combo-list {
  list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; top: 100%; left: 0; right: 0; z-index: 15;
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  max-height: 340px; overflow-y: auto;
}
.combo-list li { padding: 9px 10px; border-radius: 8px; cursor: pointer; display: grid; gap: 1px; }
.combo-list li .t { font-weight: 650; }
.combo-list li .s { font-size: .84rem; color: var(--muted); }
.combo-list li[aria-selected='true'], .combo-list li:hover { background: var(--tint); }
.combo-list li.empty { cursor: default; color: var(--muted); }
.linked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--yellow); }
.linked-text { font-size: .93rem; }

/* ---- logo + colors */
.logo-row { display: flex; gap: 14px; align-items: flex-start; }
.logo-box {
  width: 132px; height: 72px; border-radius: var(--radius-sm); border: 1.5px dashed var(--border-strong); flex: none;
  display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: .8rem;
  background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 14px 14px;
}
.logo-box img { max-width: 92%; max-height: 86%; object-fit: contain; }
.logo-actions { display: grid; gap: 6px; justify-items: start; }
.colors { display: flex; flex-wrap: wrap; gap: 12px; }
.color { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .88rem; cursor: pointer; }
.color input[type='color'] { width: 48px; height: 44px; padding: 3px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }

/* ---- import */
.drop {
  border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 26px 18px; text-align: center;
  display: grid; justify-items: center; gap: 6px; background: var(--surface-2); transition: background .15s, border-color .15s;
}
.drop.over { border-color: var(--ink); background: var(--tint); }
@media (prefers-color-scheme: dark) { .drop.over { border-color: var(--yellow); } }
.drop-ico { width: 44px; height: 44px; fill: none; stroke: var(--text-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.drop-title { font-weight: 750; font-size: 1.08rem; }
.drop-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.paste { display: grid; gap: 8px; }
.sheet-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mapping { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 14px; }
.mapping .field label { font-size: .86rem; }
.mapping select.unmapped { color: var(--muted); }
.summary { display: grid; gap: 10px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .86rem; font-weight: 600; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px var(--border-strong); }
.big-count { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); max-height: 320px; }
.preview-table { border-collapse: collapse; width: 100%; font-size: .86rem; }
.preview-table th, .preview-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.preview-table th { position: sticky; top: 0; background: var(--surface-2); font-weight: 700; }
.preview-table td.empty { color: var(--muted); }

/* ---- design */
.design-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.design-controls { display: grid; gap: 22px; }
.choices { display: grid; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice .box {
  display: grid; gap: 2px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: var(--surface-2);
}
.choice .box b { font-size: .95rem; }
.choice .box span { font-size: .84rem; color: var(--muted); }
.choice input:checked + .box { border-color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ink); }
@media (prefers-color-scheme: dark) { .choice input:checked + .box { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); } }
.choice input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.role-color { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; padding: 4px; border-radius: 8px; }
.role-color input[type='color'] { width: 38px; height: 32px; padding: 2px; border: 1.5px solid var(--border-strong); border-radius: 8px; background: var(--surface); cursor: pointer; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.design-preview { background: var(--table); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; min-width: 0; }
.preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.pager { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-2); }
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-items: start; }
.badges.wide { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.badge-canvas { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 10px 26px -12px rgba(0, 0, 0, .45); background: #fff; }

/* ---- print */
.layouts { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.layouts legend { grid-column: 1 / -1; }
.layout-group { grid-column: 1 / -1; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.choice .box.layout { grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center; }
.choice .box.layout svg { grid-row: span 2; width: 56px; height: 56px; }
.sheet-paper { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }
.sheet-badge { fill: var(--yellow); stroke: var(--ink); stroke-width: 1; }
.print-opts { align-items: end; }
.progress { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.progress progress { width: 100%; height: 14px; grid-column: 1; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; background: var(--table); overflow: hidden; }
.progress progress::-webkit-progress-bar { background: var(--table); border-radius: 999px; }
.progress progress::-webkit-progress-value { background: var(--yellow); border-radius: 999px; }
.progress progress::-moz-progress-bar { background: var(--yellow); border-radius: 999px; }
.progress p { grid-column: 1; font-size: .92rem; color: var(--text-2); }
.progress button { grid-column: 2; grid-row: 1 / span 2; }
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.downloads:empty { display: none; }
.downloads a { justify-content: flex-start; width: 100%; }
.downloads .meta { font-weight: 500; color: var(--muted); font-size: .88rem; }

/* ---- kit */
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--surface-2); }
.kit-card p { color: var(--text-2); font-size: .92rem; }
.kit-card .copy { justify-self: start; }

/* ---- registration */
.reg-step { display: grid; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); }
.reg-done { padding: 18px; border-radius: var(--radius-sm); background: var(--ink); color: #F5F4EF; display: grid; gap: 8px; }
.reg-done .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.6rem; font-weight: 800; color: var(--yellow); letter-spacing: .04em; }

/* ---- show report */
.report-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.report-tile { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 4px; background: var(--surface-2); min-width: 0; }
.report-tile .big-count { font-size: 1.5rem; }
.report-tile .hint { margin: 0; }
.report-charts { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.report-chart { display: grid; gap: 8px; min-width: 0; }
.report-chart h3, .report-breakdown h3 { font-size: .95rem; font-weight: 750; }
.report-breakdowns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.report-bars li { display: grid; grid-template-columns: 84px 1fr 68px; align-items: center; gap: 10px; font-size: .88rem; min-width: 0; }
.report-bars .bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-bars .bar-track { height: 10px; border-radius: 999px; background: var(--table); overflow: hidden; }
.report-bars .bar-fill { height: 100%; border-radius: 999px; background: var(--yellow); }
.report-bars .bar-fill.suppressed { background-image: repeating-linear-gradient(45deg, var(--border-strong) 0 4px, var(--surface) 4px 8px); }
.report-bars .bar-value { text-align: right; font-weight: 700; white-space: nowrap; }
#report-day-chart svg, #report-hour-chart svg { display: block; }

/* ---- revenue share */
.report-share { display: grid; gap: 10px; margin: 18px 0; }
.report-share h3 { font-size: .95rem; font-weight: 750; margin: 0; }
.share-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.share-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .88rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.share-rows li:last-child { border-bottom: none; }
.share-rows .share-month { color: var(--text-2); }
.share-rows .share-status { color: var(--muted); font-size: .8rem; }
.share-rows .share-status.Due { color: var(--warn); font-weight: 700; }
.share-rows .share-amount { font-weight: 700; white-space: nowrap; }

/* ---- footer */
.foot { max-width: 1120px; margin: 0 auto; padding: 8px 20px 40px; color: var(--muted); font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---- small screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .design-grid { grid-template-columns: minmax(0, 1fr); }
  .kit { grid-template-columns: minmax(0, 1fr); }
  .report-charts, .report-breakdowns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 116px; }
  main { padding: 18px 16px 32px; gap: 16px; }
  .step { padding: 18px 16px; border-radius: 14px; }
  .grid-2, .sheet-meta { grid-template-columns: minmax(0, 1fr); }
  .step-head h2 { font-size: 1.25rem; }
  .top-tag { display: none; }
  .steps .lbl { display: none; }
  .steps a[aria-current='step'] .lbl { display: inline; }
  .logo-row { flex-direction: column; }
  .badges, .badges.wide { grid-template-columns: 1fr; }
  .step-foot .btn, .actions .btn { flex: 1 1 auto; }
  .inline { flex-direction: column; }
  .report-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-bars li { grid-template-columns: 64px 1fr 54px; font-size: .82rem; }
}
