/* Gather Lakes. Event pages take --primary / --accent from the event's theme. */
:root { --ink: #0c1230; --muted: #5d6585; --line: #e2e6f0; --bg: #f4f6fb; --card: #fff; --ok: #12a150; --bad: #d92d3f; --warn: #e8a400; --radius: 16px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--primary); }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 14px 20px; font-weight: 800; font-size: 1rem;
  background: var(--primary); color: #fff; text-decoration: none; transition: transform .08s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--primary); border: 2px solid var(--line); }
.btn.big { width: 100%; padding: 18px; font-size: 1.1rem; }
.link { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link.danger { color: var(--bad); }
label { display: block; font-weight: 700; font-size: .9rem; margin: 0 0 12px; }
label small { font-weight: 500; color: var(--muted); }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; font-weight: 500; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); }
input.bad { border-color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.switch input { width: 22px; height: 22px; margin: 0; }
.inline { display: flex; gap: 8px; }
.inline input, .inline select { margin-top: 6px; }

/* ---------- event hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 34px 0 40px;
  background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--primary) 55%, #4f8cff) 0%, transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--primary) 70%, #000) 0%, var(--primary) 55%, color-mix(in srgb, var(--primary) 80%, #3d7cff) 100%); }
.hero-in { position: relative; z-index: 1; }
.hero-logo { display: block; width: 260px; height: auto; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.eyebrow { display: inline-block; margin-top: 22px; padding: 6px 12px; border-radius: 6px; background: rgba(0,0,0,.28); font-size: .78rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
.hero h1 { margin: 12px 0 8px; font-size: clamp(2rem, 6.5vw, 3.4rem); line-height: 1; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 em { font-family: "Playfair Display", Georgia, serif; font-weight: 600; text-transform: none; color: var(--accent); white-space: nowrap; }
.lead { max-width: 640px; font-size: 1.05rem; opacity: .92; margin: 0 0 22px; }
.lead.dark { color: var(--muted); opacity: 1; }
.facts { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 10px; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } .facts .fact:last-child { grid-column: 1 / -1; } }
.fact { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; backdrop-filter: blur(6px); }
.fact .k { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.fact .v { font-size: 1.15rem; font-weight: 800; margin-top: 2px; }
.fact .s { font-size: .82rem; opacity: .85; }
a.fact:hover { background: rgba(255,255,255,.2); }
.star { position: absolute; fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2.5; }
.star.s1 { width: 420px; right: -90px; top: -60px; }
.star.s2 { width: 120px; right: 22%; bottom: 10px; stroke: var(--accent); opacity: .5; }
.star.s3 { width: 60px; left: 55%; top: 30px; stroke: rgba(255,255,255,.3); }

/* ---------- buying ---------- */
.buy { padding-top: 22px; padding-bottom: 30px; display: grid; gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(12,18,48,.05), 0 8px 24px rgba(12,18,48,.06); }
.card h2 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 800; }
.hint { margin: 0 0 16px; color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 12px; background: #eef4ff; border: 1px solid #cddcff; font-weight: 600; }
.notice.warn { background: #fff7e0; border-color: #f6dd8b; }
.tiers { display: grid; gap: 12px; margin-top: 14px; }
.tier { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
.tier.picked { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 4%, #fff); }
.tier.out { opacity: .55; }
.tier-name { font-weight: 800; font-size: 1.1rem; }
.tier-desc { color: var(--muted); font-size: .9rem; }
.tier-price { margin-top: 4px; font-weight: 900; font-size: 1.35rem; color: var(--primary); }
.tier-price span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.tier-left { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 800; color: #9a5b00; background: #fff3d1; padding: 2px 8px; border-radius: 6px; }
.tier-left.out { color: #fff; background: var(--bad); }
.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--primary); }
.stepper button:disabled { opacity: .35; }
.stepper output { min-width: 34px; text-align: center; font-size: 1.3rem; font-weight: 900; }
.summary { margin: 6px 0 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.summary .row { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 900; font-size: 1.2rem; }
.form-msg { min-height: 1.2em; color: var(--bad); font-weight: 700; margin: 0 0 10px; }
#pay { width: 100%; padding: 17px; font-size: 1.08rem; }
.fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 980px; margin: 0 auto; padding: 18px 16px 34px; font-size: .82rem; color: var(--muted); }
.foot a { color: var(--muted); }

/* ---------- order / e-tickets ---------- */
.bar { background: #fff; border-bottom: 1px solid var(--line); }
.bar-in { padding-top: 10px; padding-bottom: 10px; }
.order { padding-top: 26px; padding-bottom: 20px; }
.ok-head { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.ok-head h1 { margin: 8px 0 6px; font-size: 2rem; font-weight: 900; }
.check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ok); color: #fff; font-size: 2rem; font-weight: 900; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.actions .btn { padding: 10px 14px; font-size: .9rem; }
.spinner { width: 48px; height: 48px; margin: 10px auto; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tickets { display: grid; gap: 16px; }
.eticket { display: grid; grid-template-columns: 1fr 230px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(12,18,48,.12); break-inside: avoid; }
.et-main { padding: 20px 22px; background: linear-gradient(135deg, #fff 0%, #eef4ff 100%); }
.et-logo { height: 44px; width: auto; }
.et-title { margin: 10px 0 12px; font-weight: 900; font-size: 1.3rem; text-transform: uppercase; color: var(--primary); }
.et-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.et-grid .wide { grid-column: 1 / -1; }
.et-grid .k { display: block; font-size: .65rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.et-grid .v { display: block; font-weight: 800; }
.et-grid .s { display: block; font-size: .8rem; color: var(--muted); }
.et-stub { padding: 18px 16px; text-align: center; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 80%, #000), var(--primary)); border-left: 2px dashed rgba(255,255,255,.55); }
.eticket.vip .et-stub { background: linear-gradient(160deg, #0a0a0a, #1d1a10); border-left-color: var(--accent); }
.eticket.vip .et-tier { background: var(--accent); color: #0a0a0a; }
.et-tier { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #fff; color: var(--primary); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }
.et-admit { margin-top: 6px; font-weight: 900; font-size: 1.1rem; }
.et-qr { margin: 10px auto 6px; width: 170px; height: 170px; padding: 8px; background: #fff; border-radius: 10px; color: var(--bad); display: flex; align-items: center; justify-content: center; }
.et-qr svg { width: 100%; height: 100%; display: block; }
.et-serial { font-weight: 800; letter-spacing: .06em; }
.et-note { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.eticket.void { opacity: .5; }
/* On phones the QR comes first, so guests don't scroll at the door. */
@media (max-width: 640px) { .eticket { grid-template-columns: 1fr; } .et-stub { order: -1; border-left: 0; border-bottom: 2px dashed rgba(255,255,255,.55); } .eticket.vip .et-stub { border-bottom-color: var(--accent); } .et-qr { width: 230px; height: 230px; } }
@media print { .bar, .actions, .foot { display: none; } body { background: #fff; } .eticket { box-shadow: none; border: 1px solid #ccc; } }

/* ---------- simple pages ---------- */
body.plain { background: #fff; }
.home, .text { padding-top: 40px; padding-bottom: 30px; max-width: 760px; }
.brand-mark { font-weight: 900; letter-spacing: .02em; color: #1b6f86; }
.home h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; margin: 8px 0 10px; }
.ev-list { display: grid; gap: 10px; }
.ev-item { display: flex; flex-direction: column; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.ev-item span { color: var(--muted); }

/* ---------- organizer dashboard ---------- */
body.staff { --primary: #1b2a6b; background: var(--bg); }
.login { margin-top: 60px; }
.login h1 { margin: 4px 0 18px; }
.a-top { background: #fff; border-bottom: 1px solid var(--line); }
.a-top-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.a-links { display: flex; gap: 16px; align-items: center; font-weight: 700; }
.a-tabs { display: flex; gap: 6px; overflow-x: auto; padding-top: 14px; padding-bottom: 4px; }
.a-tabs button { flex: none; border: 0; background: transparent; padding: 9px 14px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.a-tabs button.on { background: var(--primary); color: #fff; }
.a-main { padding-top: 14px; padding-bottom: 40px; display: grid; gap: 16px; }
.panel { display: grid; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(12,18,48,.05); }
.stat .k { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat b { font-size: 1.6rem; font-weight: 900; }
.stat .s { font-size: .8rem; color: var(--muted); }
.tier-bar { margin-top: 14px; }
.tb-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pbar { position: relative; display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #e8ecf5; margin: 6px 0 4px; }
.seg.online { background: var(--primary); } .seg.paper { background: #f5b905; } .seg.held { background: #9fb1e8; }
.legend { font-size: .8rem; color: var(--muted); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.toolbar input { flex: 1; min-width: 220px; margin: 0; }
.toolbar select { width: auto; margin: 0; }
.toolbar .btn { padding: 12px 16px; }
.scroll { overflow-x: auto; background: #fff; border-radius: 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
.t th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.t td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t tr.void td { opacity: .45; text-decoration: line-through; }
.row-act { display: flex; gap: 12px; flex-wrap: wrap; }
.tier-edit { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 12px 0; border-top: 1px solid var(--line); }
.tier-edit label { margin: 0; }
.tier-edit label.wide { grid-column: 1 / -2; }
@media (max-width: 760px) { .tier-edit { grid-template-columns: 1fr 1fr; } .tier-edit label.wide { grid-column: 1 / -1; } }
.pin { font-size: 2.6rem; font-weight: 900; letter-spacing: .2em; margin: 8px 0 14px; }
.dlg { border: 0; border-radius: 16px; padding: 22px; width: min(480px, calc(100% - 32px)); }
.dlg::backdrop { background: rgba(12,18,48,.45); }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: #0c1230; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; transition: .25s; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.bad { background: var(--bad); }
p.bad { color: var(--bad); font-weight: 700; }

/* ---------- door app ---------- */
body.door-body { background: #070b1e; color: #fff; }
.door { min-height: 100dvh; display: flex; flex-direction: column; }
.door-login { max-width: 420px; width: 100%; margin: auto; padding: 24px 18px; }
.door-login h1 { margin: 4px 0 18px; }
.door-brand { color: var(--accent); font-weight: 800; }
.door-login label { color: #cfd6f3; }
.door-login input { background: #121937; border-color: #26305e; color: #fff; font-size: 1.15rem; }
.door-err { color: #ff8c97; font-weight: 700; min-height: 1.2em; }
.door-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; background: #0d1430; }
.door-top b { display: block; }
.door-top span { font-size: .85rem; color: #aeb8e6; }
.door-top .link { color: #aeb8e6; }
.cam { position: relative; flex: 1; min-height: 52dvh; background: #000; overflow: hidden; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam .frame { position: absolute; left: 50%; top: 50%; width: min(64vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 4px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
.cam-msg { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; margin: 0; padding: 0 16px; font-weight: 700; text-shadow: 0 1px 4px #000; }
.cam.off .frame { display: none; }
.cam.off .cam-msg { top: 40%; bottom: auto; }
.manual { display: flex; gap: 8px; padding: 12px; background: #0d1430; }
.manual input { margin: 0; background: #121937; border-color: #26305e; color: #fff; }
.manual .btn { flex: none; }
.result { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 6px; }
.result.ok { background: #0b8a43; } .result.bad { background: #c0182b; } .result.warn { background: #b87400; }
.r-icon { width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 4rem; font-weight: 900; }
.r-head { font-size: 2.2rem; font-weight: 900; }
.r-name { font-size: 1.6rem; font-weight: 800; margin-top: 8px; }
.r-tier { display: inline-block; padding: 6px 16px; border-radius: 8px; background: #fff; color: #0c1230; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.r-tier.vip { background: var(--accent); }
.r-meta { opacity: .9; }
.r-msg { font-weight: 600; max-width: 420px; }
.r-actions { width: 100%; max-width: 420px; display: grid; gap: 10px; margin-top: 16px; }
.result .btn { background: #fff; color: #0c1230; }
.result .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.t td.mono { white-space: nowrap; }

/* ---------- seller app ---------- */
.sell-body { padding: 14px; display: grid; gap: 14px; }
.sell-body h2 { margin: 8px 0 0; font-size: 1.05rem; color: #cfd6f3; }
.sell-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sell-stats div { background: #111a3d; border: 1px solid #222c5a; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.sell-stats span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9fb0e8; }
.sell-stats b { font-size: 1.7rem; font-weight: 900; }
.sell-stats small { color: #aeb8e6; font-size: .78rem; overflow-wrap: anywhere; }
.sell-stats .cash { background: #0f3b26; border-color: #1c6b44; }
.sales { display: grid; gap: 8px; }
.sale { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #0d1430; border: 1px solid #1d2650; }
.sale b { display: block; }
.sale span { font-size: .82rem; color: #aeb8e6; }
.sale-act { display: flex; align-items: center; gap: 12px; flex: none; }
.sale-act .link { color: #ff9aa5; }
.btn.small { padding: 8px 12px; font-size: .85rem; }
.door-body .btn.ghost { background: transparent; color: #fff; border-color: #3a4680; }
.muted-d { color: #8f9bd0; }
.sell-err { color: #ff8c97; font-weight: 700; min-height: 1.2em; margin: 8px 14px; }
.sell-form { padding: 14px; display: grid; gap: 2px; max-width: 520px; width: 100%; margin: 0 auto; }
.sell-form label { color: #cfd6f3; }
.sell-form label small { color: #8f9bd0; }
.sell-form input { background: #121937; border-color: #26305e; color: #fff; font-size: 1.05rem; }
.sell-form .sell-err { margin: 6px 0; }
.sell-ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, #1f5fae, #0d3b7a); }
.sell-ticket.vip { background: linear-gradient(135deg, #1d1a10, #0a0a0a); border: 2px solid var(--accent); }
.sell-ticket span { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.sell-ticket b { font-size: 1.15rem; }
.sell-ticket em { font-style: normal; font-weight: 900; font-size: 1.2rem; color: var(--accent); }
.lbl { font-weight: 700; font-size: .9rem; color: #cfd6f3; margin: 4px 0 6px; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.methods .m { margin: 0; }
.methods input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.methods span { display: block; text-align: center; padding: 12px 6px; border-radius: 12px; border: 2px solid #26305e; background: #121937; font-weight: 800; }
.methods input:checked + span { border-color: var(--accent); background: #2a2410; color: var(--accent); }
.methods input:focus-visible + span { outline: 3px solid #fff; }

/* ---------- organizer: sellers ---------- */
.seller-card { display: grid; gap: 10px; }
.seller-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.seller-head b { font-size: 1.1rem; }
.seller-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.seller-nums div { background: var(--bg); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.seller-nums span { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.seller-nums b { font-size: 1.15rem; }
.seller-nums .owed b { color: var(--bad); }
.seller-nums .clear b { color: var(--ok); }
@media (max-width: 760px) { .seller-nums { grid-template-columns: 1fr 1fr; } }
.seller-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seller-forms form { display: flex; gap: 8px; align-items: end; }
.seller-forms label { margin: 0; flex: 1; }
@media (max-width: 760px) { .seller-forms { grid-template-columns: 1fr; } }
.newpin { padding: 14px; border-radius: 12px; background: #eefaf2; border: 1px solid #bfe6cc; }
.newpin .pin { font-size: 2rem; margin: 4px 0; }
.sell-ticket b { white-space: nowrap; }

/* Payment approver app */
.ap-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 1.05rem; }
.ap-head b { font-size: 1.6rem; font-weight: 900; }
.ap-help { margin: 0; color: #aeb8e6; font-size: .9rem; }
.ap-help a { color: var(--accent); }
.ap-card { background: #111a3d; border: 1px solid #26305e; border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.ap-card.old { opacity: .75; border-style: dashed; }
.ap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ap-name { font-size: 1.2rem; }
.ap-amt { font-size: 1.35rem; font-weight: 900; color: var(--accent); }
.ap-what { font-weight: 700; }
.ap-meta { color: #aeb8e6; font-size: .88rem; overflow-wrap: anywhere; }
.ap-meta a { color: #cfd6f3; }
.ap-btns { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 10px; }
.door-body .btn.ok { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.ap-empty { text-align: center; padding: 30px 10px; color: #aeb8e6; background: #0d1430; border-radius: 16px; }
.ap-done { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #1d2650; font-size: .92rem; }
.ap-done small { display: block; color: #8f9bd0; font-size: .75rem; text-align: right; }
.ap-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #1f9d55; color: #fff; font-weight: 700; padding: 12px 16px; border-radius: 12px; z-index: 9; max-width: 92vw; }
.ap-toast.bad { background: #c0392b; }
.ap-admin { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
