:root {
  --bg: #0a0a0a; --panel: #141414; --panel2: #1c1c1c; --line: #2a2a2a; --text: #f4f1ea; --muted: #a39d92;
  --gold: #e7bb46; --gold-ink: #1a1306; --good: #3fbf7f; --warn: #e7a93b; --bad: #e5584f;
  --radius: 16px; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
a { color: var(--gold); }
h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.08; margin: 8px 0 12px; letter-spacing: -0.01em; text-transform: uppercase; font-weight: 900; }
h1 em { color: var(--gold); font-style: normal; }
h2 { font-size: 20px; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0 12px; }
.brand { font-weight: 900; letter-spacing: 0.02em; }
.brand b { color: var(--gold); }
.kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.card.gold { border-color: rgba(231, 187, 70, 0.55); }
.hello { display: flex; align-items: center; gap: 10px; background: var(--panel2); border-radius: 999px; padding: 6px 14px 6px 6px; width: fit-content; font-size: 14px; }
.hello span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--panel2); color: var(--text); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--gold); background: rgba(231, 187, 70, 0.14); color: var(--gold); }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 6px; }
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=search], input:not([type]) {
  width: 100%; font: inherit; font-size: 17px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231, 187, 70, 0.2); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row.plz { grid-template-columns: 110px 1fr; }
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } .row.plz { grid-template-columns: 100px 1fr; } }
.btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 16px 18px; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--gold); color: var(--gold-ink); }
.btn.ghost { background: var(--panel2); color: var(--text); border: 1px solid var(--line); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.small { width: auto; padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 0; }
.check input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }
.err { color: var(--bad); font-size: 14px; min-height: 1em; margin: 8px 0; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--muted); }
.steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 auto; }
.steps li.run { color: var(--text); }
.steps li.run::before { border-color: var(--gold); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.steps li.done { color: var(--text); }
.steps li.done::before { background: var(--good); border-color: var(--good); }
.steps li.skip::before { background: var(--line); }
@keyframes spin { to { transform: rotate(360deg); } }
.shots { display: grid; grid-template-columns: 1fr 2.4fr; gap: 10px; align-items: start; }
.shots figure { margin: 0; }
.shots img { width: 100%; display: block; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.shots figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.shot-wait { aspect-ratio: 9/16; border-radius: 10px; background: linear-gradient(90deg, var(--panel2), #232323, var(--panel2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.shot-wait.wide { aspect-ratio: 16/10; }
@keyframes shimmer { to { background-position: -200% 0; } }
.signals { list-style: none; padding: 0; margin: 0; }
.signals li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.signals li:last-child { border-bottom: 0; }
.signals b { font-weight: 600; text-align: right; }
.signals .good b { color: var(--good); } .signals .warn b { color: var(--warn); } .signals .bad b { color: var(--bad); }
.agents { columns: 2; column-gap: 16px; padding-left: 18px; margin: 8px 0 0; font-size: 15px; }
@media (max-width: 420px) { .agents { columns: 1; } }
.suggest { position: relative; }
.suggest ul { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; max-height: 300px; overflow: auto; }
.suggest li button { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font: inherit; padding: 10px; border-radius: 8px; cursor: pointer; }
.suggest li button:hover, .suggest li button:focus { background: rgba(231, 187, 70, 0.12); }
.suggest small { display: block; color: var(--muted); font-size: 12px; }
.picked { font-size: 13px; color: var(--muted); margin-top: 6px; }
.code { font-size: clamp(64px, 22vw, 120px); font-weight: 900; letter-spacing: 0.06em; color: var(--gold); text-align: center; line-height: 1; margin: 10px 0; }
.center { text-align: center; }
.notice { font-size: 12px; color: var(--muted); }
footer { text-align: center; font-size: 12px; color: var(--muted); padding: 24px 0 8px; }
footer a { color: var(--muted); margin: 0 6px; }
.hidden { display: none !important; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.open { background: rgba(231, 169, 59, 0.16); color: var(--warn); }
.badge.paid { background: rgba(63, 191, 127, 0.16); color: var(--good); }
.badge.cancelled { background: var(--panel2); color: var(--muted); }
.list-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0; }
.list-card .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.list-card .c { font-size: 26px; font-weight: 900; color: var(--gold); letter-spacing: 0.04em; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.wide-main { max-width: 1400px; }
.scroll-x { overflow-x: auto; }
.legal h2 { margin-top: 24px; }
