:root { --pine: #0E3B2E; --holly: #B8202F; --gold: #D4A84B; --ink: #241D16; --soft: #6B5F52; --line: #E3D9C6; --bg: #FAF6EE; --card: #FFFFFF; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Figtree', system-ui, sans-serif; color: var(--ink); background: var(--bg); }
#admin { max-width: 860px; margin: 0 auto; padding: 16px 16px 120px; }
h1 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 32px; margin: 18px 0 4px; }
h2 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: 22px; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 0; }
p.lead { color: var(--soft); margin: 0 0 20px; }
section.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 16px 0; }
label.f { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 4px; }
.help { font-size: 13px; color: var(--soft); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=search], input[type=number], input[type=date], input[type=password], input[type=url], select, textarea {
  width: 100%; font: inherit; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .row, .row3 { grid-template-columns: 1fr; } }
button { font: inherit; cursor: pointer; }
.btn { border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; background: var(--pine); color: #fff; }
.btn.red { background: var(--holly); }
.btn.line { background: transparent; color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--pine); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
details.door { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; }
details.door > summary { list-style: none; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; }
details.door > summary::-webkit-details-marker { display: none; }
details.door > summary img { width: 56px; height: 56px; object-fit: contain; }
details.door .sum-sub { font-size: 13px; color: var(--soft); }
details.door .code-pill { font-family: 'Young Serif', serif; background: var(--pine); color: #fff; border-radius: 8px; padding: 4px 10px; letter-spacing: .15em; }
details.door .body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.warn { color: var(--holly); font-size: 13px; font-weight: 600; margin-top: 6px; }
.ok { color: #1B7A55; font-size: 13px; font-weight: 600; margin-top: 6px; }
.savebar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.savebar .status { font-size: 14px; color: var(--soft); }
.login { max-width: 360px; margin: 12vh auto 0; text-align: center; }
.login input { text-align: center; font-size: 24px; letter-spacing: .4em; }
.progress-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.progress-grid div { border-radius: 8px; padding: 6px; text-align: center; font-size: 12px; background: #EFE9DC; }
.progress-grid div.s { background: #F7E3A6; } .progress-grid div.r { background: #CDE7C3; }
.preview-img { max-width: 220px; max-height: 150px; border-radius: 8px; border: 1px solid var(--line); display: block; margin-top: 8px; }
.wgrid { font-family: ui-monospace, monospace; font-size: 15px; letter-spacing: .5em; line-height: 1.5; background: #F5EFE2; border-radius: 8px; padding: 8px 12px; display: inline-block; margin-top: 8px; }
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 20; font-weight: 600; }
.grp { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px 12px; margin-top: 10px; }

/* ---------- Set-up steps and summary ---------- */
a.btn { text-decoration: none; display: inline-block; }
.btns.center { justify-content: center; }
.btns.spread { justify-content: space-between; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.gold { background: var(--gold); color: var(--ink); }
.login input.otp { text-align: center; font-size: 24px; letter-spacing: .4em; }
.login input[type=email] { font-size: 18px; text-align: center; }
.wiz-top { display: flex; justify-content: space-between; padding-top: 8px; font-size: 14px; }
.wiz-top a { color: var(--pine); }
.stepper { display: flex; gap: 4px; overflow-x: auto; margin: 14px -4px 4px; padding: 4px; scrollbar-width: none; }
.stepper .st { flex: 1 0 auto; display: flex; align-items: center; gap: 6px; border: 0; background: #EFE9DC; color: var(--soft); border-radius: 999px; padding: 6px 10px 6px 6px; font-size: 13px; font-weight: 600; }
.stepper .st .num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12px; }
.stepper .st.done { background: #DCEBDD; color: #1B5E3F; }
.stepper .st.on { background: var(--pine); color: #fff; }
.stepper .st.on .num { color: var(--pine); }
@media (max-width: 700px) { .stepper .st:not(.on) .lab { display: none; } .stepper .st { padding-right: 6px; } }
.wiz-head .eyebrow { margin: 14px 0 0; color: var(--holly); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.wiz-head h1 { margin-top: 2px; }
.wiz-nav { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; background: linear-gradient(transparent, var(--bg) 30%); padding: 22px 0 14px; margin-top: 10px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.choice { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 6px; font-size: 15px; color: var(--ink); }
.choice strong { font-family: 'Young Serif', serif; font-weight: 400; font-size: 20px; }
.choice em { color: var(--soft); font-size: 13px; }
.choice.on { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); background: #F2F8F4; }
.datelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; margin-top: 12px; font-size: 13px; }
.datelist span { background: #F5EFE2; border-radius: 8px; padding: 5px 8px; }
.doorstrip { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.dchip { width: 38px; height: 38px; border-radius: 10px; border: 2px solid transparent; font-weight: 700; background: #EFE9DC; color: var(--ink); }
.dchip.green { background: #CDE7C3; } .dchip.red { background: #F6D1D1; color: var(--holly); } .dchip.grey { background: #EFE9DC; }
.dchip.on { border-color: var(--pine); }
.door-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.door-head h2 { margin: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #EFE9DC; border-radius: 12px; padding: 4px; margin: 12px 0 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 8px 12px; font-weight: 600; color: var(--soft); }
.seg button.on { background: #fff; color: var(--pine); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.note-warn { background: #FFF4E0; border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 12px 0 0; }
.row-inline { display: flex; gap: 8px; }
.row-inline input { flex: 1; }
.code-in { font-family: ui-monospace, monospace; }
.code-big { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 700; letter-spacing: .08em; background: #F5EFE2; border-radius: 10px; padding: 10px 12px; margin-top: 8px; word-break: break-all; }
.checkline { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 8px; }
.pitem { border-bottom: 1px solid var(--line); padding: 8px 0; }
.pitem:last-child { border-bottom: 0; }
.prow { display: grid; grid-template-columns: 80px 1fr auto; gap: 10px; align-items: center; }
.pday { font-weight: 700; } .ptype { color: var(--soft); }
.video-panel { margin-top: 12px; }
.vid { width: 100%; max-height: 420px; background: #000; border-radius: 12px; display: block; }
.vid.mirror { transform: scaleX(-1); }
.rec-time { align-self: center; font-variant-numeric: tabular-nums; font-weight: 700; }
progress { width: 100%; height: 10px; }
.checklist { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; background: #CFC6B4; }
.dot.green { background: #2E9A62; } .dot.amber { background: #E0A526; } .dot.red { background: var(--holly); } .dot.grey { background: #CFC6B4; }
.ready { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ready li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ready li:last-child { border-bottom: 0; }
.ready li div { display: grid; }
.card-head { display: flex; align-items: center; gap: 10px; }
.card-head h2 { margin: 0 0 8px; }
.share-main { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.share .qr { width: 140px; height: 140px; border-radius: 10px; border: 1px solid var(--line); }
.biglink { font-family: ui-monospace, monospace; font-size: 20px; font-weight: 700; margin: 0; word-break: break-all; }
.share h3 { margin: 18px 0 0; }
.progress-grid { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
.fld { margin-top: 4px; }
.scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 8px; }
.scene { border: 2px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; background: #fff; display: grid; text-align: left; }
.scene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.scene span { padding: 6px 8px; font-size: 13px; font-weight: 600; }
.scene.on { border-color: var(--pine); box-shadow: 0 0 0 2px var(--pine); }
.support-banner { position: sticky; top: 0; z-index: 30; background: var(--holly); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 0 0 10px 10px; margin: 0 -16px 8px; }
/* ---------- Admin console ---------- */
body.ops #admin { max-width: 1180px; }
.ops-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; }
.ops-top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.ops-top nav a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--pine); font-weight: 600; font-size: 14px; }
.ops-top nav a.on { background: var(--pine); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 26px; font-family: 'Young Serif', serif; font-weight: 400; }
.stat span { font-size: 13px; color: var(--soft); }
.stat.warn b { color: var(--holly); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.list th, table.list td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { background: #F5EFE2; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }
table.list tr.click { cursor: pointer; } table.list tr.click:hover td { background: #FBF7EE; }
.tablewrap { overflow-x: auto; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; background: #EFE9DC; }
.pill.live { background: #CDE7C3; } .pill.ready { background: #DCEBF6; } .pill.refunded { background: #F6D1D1; } .pill.finished { background: #E6E1F2; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.filters input { max-width: 320px; } .filters select { max-width: 200px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--soft); } .kv dd { margin: 0; word-break: break-word; }
.doorgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.doorgrid div { background: #F5EFE2; border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.doorgrid div.s { background: #F7E3A6; } .doorgrid div.r { background: #CDE7C3; }
.audit td { font-size: 13px; }
.sticker-row { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.sticker-row img { width: 96px; height: 96px; }
