/* Shell: three columns (journeys nav | device stage | notes). Device contents use the fixed Juice brand
   palette (--j-*), the shell chrome follows the viewer's theme. */
:root {
  --j-orange: #fc4f0e;
  --j-orange-300: #fd895e;
  --j-orange-100: #fec8b4;
  --j-lime: #b4ef03;
  --j-lime-soft: #ebfeb1;
  --j-navy: #1e394a;
  --j-navy-2: #284758;
  --j-navy-3: #3a5a6b;
  --j-sand: #f5f5f5;
  --j-pearl: #ede8de;
  --j-cream: #faf8f5;
  --j-white: #ffffff;
  --j-ink-2: #4d5b66;
  --j-line: #d9d2c4;
  --j-danger: #dc3545;

  --bg: #f1eee7;
  --panel: #fbfaf7;
  --fg: #1e394a;
  --muted: #5b6a74;
  --line: #e0dacd;
  --accent: #e5480d;
  --stage: #e6e1d6;
  --chip: #ede8de;
  --focus: #fc4f0e;

  --font: "Epilogue", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1a21; --panel: #13232c; --fg: #e9eef1; --muted: #9db0bb; --line: #24404e; --accent: #fd723e; --stage: #0a141a; --chip: #1c3340; --focus: #fd895e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1a21; --panel: #13232c; --fg: #e9eef1; --muted: #9db0bb; --line: #24404e; --accent: #fd723e; --stage: #0a141a; --chip: #1c3340; --focus: #fd895e;
  color-scheme: dark;
}

html, body { height: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 14px; }
*, *::before, *::after { box-sizing: border-box; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.app {
  display: grid; height: 100%;
  grid-template: "top top top" auto "nav stage notes" minmax(0, 1fr) / 264px minmax(0, 1fr) 312px;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.topbar { grid-area: top; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo { height: 26px; width: auto; }
.brand-sub { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 600; }
.tb-btn:hover { background: var(--chip); }
.tb-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fae2e; box-shadow: 0 0 0 3px rgba(95, 174, 46, 0.2); }
.tb-btn.is-off .dot { background: var(--j-danger); box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2); }
.tb-btn--primary { background: var(--j-orange); color: #fff; border-color: var(--j-orange); }
.tb-btn--primary:hover { background: #e5480d; }

.sidebar { grid-area: nav; overflow-y: auto; padding: 16px 12px 32px; border-right: 1px solid var(--line); background: var(--panel); }
.nav-group + .nav-group { margin-top: 18px; }
.nav-group h3 { margin: 0 8px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.nav-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; font-size: 13.5px; line-height: 1.25; }
.nav-item:hover { background: var(--chip); }
.nav-item[aria-current="page"] { background: var(--fg); color: var(--panel); }
.nav-item[aria-current="page"] .nav-tag { background: transparent; color: inherit; border-color: currentColor; }
.nav-title { min-width: 0; }
.nav-tag { flex: none; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.nav-tag--kiosk { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.nav-select { display: none; }

.stage { grid-area: stage; position: relative; overflow: hidden; background: var(--stage); display: flex; }
.stage-inner { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.stage--doc { overflow-y: auto; }
.stage--doc .stage-inner { align-items: flex-start; padding: 0; }
.frame-wrap { position: relative; flex: none; }
.frame-wrap > .dev { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

.notes { grid-area: notes; overflow-y: auto; padding: 20px 20px 40px; border-left: 1px solid var(--line); background: var(--panel); }
.notes-kind { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.notes-title { margin: 6px 0 4px; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.notes-url { font-family: var(--mono); font-size: 12px; color: var(--muted); word-break: break-all; }
.notes-tickets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ticket { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--fg); text-decoration: none; }
.ticket:hover { text-decoration: underline; }
.pri { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pri--must { background: var(--j-lime); color: var(--j-navy); }
.pri--stretch { border: 1px dashed var(--muted); color: var(--muted); }
.notes-summary { font-size: 14.5px; line-height: 1.5; margin: 14px 0 0; }
.notes h3 { margin: 20px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.notes-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.5; }
.notes-list--open li::marker { content: "? "; color: var(--accent); font-weight: 700; }
.notes-small { margin: 0; font-size: 13.5px; line-height: 1.5; }
.notes-next { display: grid; gap: 6px; }
.next-btn { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; text-align: left; font-size: 13.5px; font-weight: 600; }
.next-btn:hover { border-color: var(--accent); color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: 0.25s ease; background: var(--j-navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 50; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.render-error { padding: 40px; font-size: 20px; color: var(--j-danger); background: #fff; height: 100%; overflow: auto; }
.render-error pre { font-size: 14px; white-space: pre-wrap; color: #333; }

.exit-present { display: none; }
.app.presenting { grid-template: "stage" 1fr / 1fr; padding: 0; }
.app.presenting .topbar, .app.presenting .sidebar, .app.presenting .notes, .app.presenting .nav-select { display: none; }
.app.presenting .stage { background: #000; }
.app.presenting .stage-inner { padding: 0; }
.app.presenting .exit-present { display: inline-flex; position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); z-index: 60; opacity: 0.15; background: #000; color: #fff; border-color: #444; }
.app.presenting .exit-present:hover { opacity: 1; }
.app.presenting .dev-kiosk { padding: 0; border-radius: 0; box-shadow: none; }

@media (max-width: 1180px) {
  .app { grid-template: "top top" auto "nav stage" minmax(0, 1fr) "nav notes" auto / 240px minmax(0, 1fr); }
  .notes { border-left: 0; border-top: 1px solid var(--line); max-height: 34vh; }
}
@media (max-width: 900px) {
  html, body { height: auto; }
  .app { height: auto; grid-template: "top" auto "select" auto "stage" auto "notes" auto / minmax(0, 1fr); padding-left: max(0px, env(safe-area-inset-left, 0px)); }
  .sidebar { display: none; }
  .nav-select { display: block; grid-area: select; margin: 12px max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: 600 15px var(--font); }
  .topbar { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .stage { overflow: visible; }
  .stage-inner { padding: 16px max(16px, env(safe-area-inset-left, 0px)); }
  .notes { max-height: none; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- device frames ---------- */
.dev { background: #111; color: var(--j-navy); }
.dev-kiosk { padding: 28px; border-radius: 34px; background: #121416; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #2a2d30; }
.dev-kiosk > .dev-screen { position: relative; overflow: hidden; border-radius: 6px; background: var(--j-cream); font-family: var(--font); }
.dev-phone { padding: 14px; border-radius: 60px; background: #121416; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #2a2d30; }
.dev-phone > .dev-screen { width: 390px; height: 844px; border-radius: 46px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-family: var(--font); }
.fp-status { flex: none; height: 47px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px; font-size: 15px; font-weight: 700; color: var(--j-navy); background: inherit; }
.fp-notch { width: 120px; height: 34px; border-radius: 20px; background: #111; }
.fp-icons { justify-self: end; font-size: 11px; letter-spacing: 1px; }
.fp-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; position: relative; }
.dev-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); display: flex; flex-direction: column; }
.fb-bar { flex: none; height: 52px; display: flex; align-items: center; gap: 18px; padding: 0 18px; background: #eceae6; border-bottom: 1px solid #d8d4cc; }
.fb-dots { display: flex; gap: 8px; }
.fb-dots i { width: 12px; height: 12px; border-radius: 50%; background: #d0ccc4; }
.fb-dots i:first-child { background: #ff6159; } .fb-dots i:nth-child(2) { background: #ffbd2e; } .fb-dots i:nth-child(3) { background: #28c941; }
.fb-url { flex: 1; max-width: 720px; margin: 0 auto; height: 32px; border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 16px; font: 14px var(--font); color: #444; overflow: hidden; white-space: nowrap; }
.fb-lock { color: #28a745; font-size: 9px; }
.fb-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; position: relative; font-family: var(--font); background: var(--j-sand); }
.dev-email { border-radius: 14px; overflow: hidden; background: #f4f3f0; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); display: flex; flex-direction: column; font-family: var(--font); }
.fe-head { flex: none; background: #fff; border-bottom: 1px solid #e6e2da; padding: 22px 32px; }
.fe-subject { font-size: 24px; font-weight: 700; color: #1d1d1f; margin-bottom: 16px; }
.fe-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #333; }
.fe-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--j-orange); color: #fff; display: grid; place-items: center; font-weight: 800; }
.fe-addr, .fe-to, .fe-time { color: #777; }
.fe-time { margin-left: auto; font-size: 13px; }
.fe-body { flex: 1; min-height: 0; overflow-y: auto; padding: 32px 0 48px; }
.fe-col { width: 640px; margin: 0 auto; background: #fff; border-radius: 8px; overflow: hidden; color: var(--j-navy); font-size: 16px; line-height: 1.55; }

/* ---------- overview doc ---------- */
.page-doc { width: 100%; }
.ov { max-width: 1180px; margin: 0 auto; padding: 40px max(16px, env(safe-area-inset-left, 0px)) 64px; }
.ov-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.ov-title { margin: 12px 0 14px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; max-width: 20ch; }
.ov-title span { color: var(--accent); }
.ov-lede { max-width: 68ch; font-size: 17px; line-height: 1.55; margin: 0; }
.ov-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 20px; }
.ov-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.ov-stats b { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ov-stats span { font-size: 13px; color: var(--muted); }
.ov-how { font-size: 14.5px; line-height: 1.55; max-width: 90ch; color: var(--muted); }
.ov-how b { color: var(--fg); }
.ov-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 32px; }
.ov-col { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; min-width: 0; }
.ov-col h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.ov-col ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 6px; }
.ov-col li { counter-increment: s; }
.ov-step { width: 100%; text-align: left; display: grid; gap: 6px; padding: 10px 12px 10px 40px; position: relative; border: 1px solid transparent; border-radius: 12px; background: var(--bg); }
.ov-step::before { content: counter(s); position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); color: var(--panel); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ov-step:hover { border-color: var(--accent); }
.ov-step-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ov-step-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ov-k { font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 700px) { .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- kiosk primitives (drawn at 1920 × 1080) ---------- */
.k-screen { position: absolute; inset: 0; overflow: hidden; font-family: var(--font); background: var(--k-bg); color: var(--k-ink); -webkit-font-smoothing: antialiased; user-select: none; }
.k-theme-cream { --k-bg: var(--j-cream); --k-ink: var(--j-navy); --k-sub: var(--j-ink-2); --k-panel: var(--j-pearl); --k-line: var(--j-line); --k-accent: var(--j-orange); --k-accent-ink: #fff; --k-chip-on: var(--j-navy); --k-chip-on-ink: #fff; --k-eyebrow: var(--j-orange); }
.k-theme-navy { --k-bg: var(--j-navy); --k-ink: #fff; --k-sub: #b9c7cf; --k-panel: var(--j-navy-2); --k-line: var(--j-navy-3); --k-accent: var(--j-orange); --k-accent-ink: #fff; --k-chip-on: var(--j-lime); --k-chip-on-ink: var(--j-navy); --k-eyebrow: var(--j-lime); }
.k-theme-orange { --k-bg: var(--j-orange); --k-ink: #fff; --k-sub: #ffe3d8; --k-panel: rgba(255, 255, 255, 0.14); --k-line: rgba(255, 255, 255, 0.45); --k-accent: var(--j-navy); --k-accent-ink: #fff; --k-chip-on: #fff; --k-chip-on-ink: var(--j-navy); --k-eyebrow: var(--j-lime); }
.k-theme-lime { --k-bg: var(--j-lime); --k-ink: var(--j-navy); --k-sub: #3d5a2a; --k-panel: rgba(30, 57, 74, 0.08); --k-line: rgba(30, 57, 74, 0.3); --k-accent: var(--j-orange); --k-accent-ink: #fff; --k-chip-on: var(--j-navy); --k-chip-on-ink: #fff; --k-eyebrow: var(--j-navy); }

.k-bar { position: absolute; left: 0; right: 0; top: 0; height: 120px; padding: 0 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; z-index: 5; color: var(--k-ink); }
.k-logo { height: 52px; width: auto; }
.k-logo--white { filter: brightness(0) invert(1); }
.k-steps { display: flex; gap: 12px; }
.k-steps span { width: 56px; height: 10px; border-radius: 999px; background: var(--k-line); }
.k-steps span.done { background: var(--k-ink); }
.k-steps span.on { background: var(--k-accent); }
.k-theme-orange .k-steps span.on { background: var(--j-lime); }
.k-bar-right { justify-self: end; display: flex; align-items: center; gap: 20px; font-size: 24px; font-weight: 700; }
.k-wifi { width: 14px; height: 14px; border-radius: 50%; background: #5fae2e; }
.k-wifi.is-off { background: var(--j-danger); animation: k-blink 1.2s infinite; }
@keyframes k-blink { 50% { opacity: 0.3; } }
.k-home { height: 64px; padding: 0 30px; border-radius: 999px; border: 3px solid currentColor; background: transparent; font-size: 22px; font-weight: 700; color: inherit; }

.k-eyebrow { font-size: 30px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--k-eyebrow); }
.k-h1 { font-size: 124px; line-height: 0.94; letter-spacing: -0.04em; font-weight: 800; margin: 0; text-wrap: balance; }
.k-h2 { font-size: 84px; line-height: 1; letter-spacing: -0.03em; font-weight: 800; margin: 0; text-wrap: balance; }
.k-h3 { font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; margin: 0; }
.k-body { font-size: 34px; line-height: 1.4; margin: 0; color: var(--k-sub); max-width: 30ch; }
.k-sub { font-size: 28px; line-height: 1.4; margin: 0; color: var(--k-sub); }
.k-num { font-variant-numeric: tabular-nums; letter-spacing: -0.04em; font-weight: 800; }
.k-small { font-size: 22px; color: var(--k-sub); }

.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; height: 112px; padding: 0 64px; border: 0; border-radius: 999px; background: var(--k-accent); color: var(--k-accent-ink); font-size: 38px; font-weight: 800; letter-spacing: -0.01em; transition: transform 0.15s ease, filter 0.15s ease; }
.k-btn:active { transform: scale(0.97); }
.k-btn:hover { filter: brightness(1.06); }
.k-btn--reward { background: var(--j-lime); color: var(--j-navy); }
.k-btn--ghost { background: transparent; color: var(--k-ink); box-shadow: inset 0 0 0 4px currentColor; }
.k-btn--sm { height: 84px; padding: 0 44px; font-size: 30px; }

.k-offer { display: inline-flex; align-items: center; gap: 14px; padding: 14px 28px; border-radius: 999px; background: var(--j-lime); color: var(--j-navy); font-size: 28px; font-weight: 600; }
.k-offer b { font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: 0.08em; }
.k-offer code { font-family: var(--mono); font-weight: 600; background: var(--j-navy); color: var(--j-lime); padding: 4px 12px; border-radius: 10px; }
.k-offer--navy { background: var(--j-navy); color: #fff; }
.k-offer--navy code { background: var(--j-lime); color: var(--j-navy); }

.k-form { display: grid; gap: 40px; }
.k-form--compact { gap: 28px; }
.k-field { display: grid; gap: 16px; }
.k-label { font-size: 24px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-sub); }
.k-turnover { font-size: 96px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.k-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; border-radius: 999px; background: linear-gradient(90deg, var(--k-accent) var(--fill, 50%), var(--k-line) var(--fill, 50%)); outline: none; }
.k-range::-webkit-slider-thumb { -webkit-appearance: none; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 8px solid var(--k-accent); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.k-range::-moz-range-thumb { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 8px solid var(--k-accent); }
.k-presets { display: flex; gap: 12px; flex-wrap: wrap; }
.k-preset { height: 60px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--k-line); background: transparent; font-size: 24px; font-weight: 700; color: var(--k-ink); }
.k-chips { display: flex; gap: 14px; }
.k-chips--wrap { flex-wrap: wrap; }
.k-chip { height: 80px; padding: 0 34px; border-radius: 999px; border: 3px solid var(--k-line); background: transparent; color: var(--k-ink); font-size: 28px; font-weight: 700; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.k-chip[aria-checked="true"] { background: var(--k-chip-on); color: var(--k-chip-on-ink); border-color: var(--k-chip-on); }

.k-lead { gap: 24px; }
.k-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.k-in { display: grid; gap: 10px; }
.k-in span { font-size: 22px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--k-sub); }
.k-in em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; opacity: 0.8; }
.k-in input { width: 100%; min-width: 0; height: 96px; border-radius: 16px; border: 3px solid var(--k-line); background: #fff; color: var(--j-navy); padding: 0 28px; font: 600 34px var(--font); user-select: text; }
.k-in input:focus { outline: none; border-color: var(--k-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--j-orange) 25%, transparent); }
.k-consent { margin: 0; font-size: 20px; line-height: 1.4; color: var(--k-sub); max-width: 60ch; }
.k-lead-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.k-proto-fill { height: 64px; padding: 0 26px; border-radius: 999px; border: 2px dashed var(--k-line); background: transparent; color: var(--k-sub); font-size: 22px; font-weight: 700; }
.k-error { margin: 0; font-size: 24px; font-weight: 700; color: var(--j-danger); background: #fff; padding: 12px 20px; border-radius: 12px; justify-self: start; }

.k-qr { background: #fff; padding: 16px; border-radius: 20px; box-sizing: content-box; }
.k-qr img, .k-qr canvas { display: block; width: 100% !important; height: 100% !important; }
.k-qr--missing { display: grid; place-items: center; font-size: 40px; font-weight: 800; color: var(--j-navy); }
.k-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }

.k-done { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 96px; align-items: center; }
.k-done-copy { display: grid; gap: 28px; justify-items: start; }
.k-done-actions { display: flex; align-items: center; gap: 28px; }
.k-count { font-size: 22px; color: var(--k-sub); }
.k-done-qr { display: grid; justify-items: center; gap: 14px; }
.k-qr-label { font-size: 26px; font-weight: 800; }
.k-qr-url { font-family: var(--mono); font-size: 20px; color: var(--k-sub); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
