/* Call Time styles. Taken from design/prototype.html (the approved design); additions at the end. */
:root{
  --bg:#f5f6fa; --surface:#ffffff; --raised:#ffffff; --ink:#1b1d2e; --muted:#5c6079; --faint:#8c90a8; --line:#e2e4ee; --soft:#eef0f7;
  --accent:#3b37a3; --accent-ink:#ffffff; --accent-soft:#e8e7fb;
  --ok:#1d7a46; --ok-soft:#dff3e7; --late:#a8620a; --late-soft:#fcefd8; --abs:#b42323; --abs-soft:#fbe2e2; --exc:#4b6584; --exc-soft:#e3eaf3;
  --stage:#12131c; --stage-2:#1c1e2b; --stage-ink:#f2f2f8; --stage-muted:#9a9db5; --qr-ink:#12131c; --qr-paper:#ffffff;
  --f-display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body:"Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:"JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r:10px; --shadow:0 1px 2px rgba(20,22,50,.06), 0 4px 16px rgba(20,22,50,.06);
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#15161f; --surface:#1d1f2c; --raised:#252838; --ink:#e9eaf3; --muted:#a3a7c0; --faint:#7a7e98; --line:#33364b; --soft:#242738;
  --accent:#a9a5ff; --accent-ink:#15161f; --accent-soft:#2c2b52;
  --ok:#6fd49a; --ok-soft:#1d3a2a; --late:#f0b356; --late-soft:#3d2f17; --abs:#ff8f8f; --abs-soft:#432224; --exc:#9cb6d6; --exc-soft:#25303f;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); color-scheme:dark }}
:root[data-theme="dark"]{
  --bg:#15161f; --surface:#1d1f2c; --raised:#252838; --ink:#e9eaf3; --muted:#a3a7c0; --faint:#7a7e98; --line:#33364b; --soft:#242738;
  --accent:#a9a5ff; --accent-ink:#15161f; --accent-soft:#2c2b52;
  --ok:#6fd49a; --ok-soft:#1d3a2a; --late:#f0b356; --late-soft:#3d2f17; --abs:#ff8f8f; --abs-soft:#432224; --exc:#9cb6d6; --exc-soft:#25303f;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); color-scheme:dark }

*{box-sizing:border-box}
[hidden]{display:none!important}
body{background:var(--bg); color:var(--ink); font:15px/1.5 var(--f-body); -webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--f-display); text-wrap:balance; margin:0; letter-spacing:-.01em}
h1{font-size:1.9rem; font-weight:800; line-height:1.15}
h2{font-size:1.25rem; font-weight:700}
h3{font-size:1rem; font-weight:700}
p{margin:0}
button,input,select,textarea{font:inherit; color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.mono{font-family:var(--f-mono); font-variant-numeric:tabular-nums}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.eyebrow{font-size:.72rem; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); font-weight:600}

.seg{display:inline-flex; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:2px}
.seg button{border:0; background:none; padding:4px 12px; border-radius:999px; cursor:pointer; color:var(--muted); font-weight:600; font-size:.82rem}
.seg button[aria-pressed="true"]{background:var(--accent); color:var(--accent-ink)}

/* shell */
.shell{display:grid; grid-template-columns:220px minmax(0,1fr); min-height:100vh}
.rail{border-right:1px solid var(--line); background:var(--surface); padding:20px 12px; display:flex; flex-direction:column; gap:4px}
.brand{display:flex; align-items:center; gap:10px; padding:0 8px 18px}
.brand-mark{width:34px; height:34px; border-radius:9px; background:var(--accent); color:var(--accent-ink); display:grid; place-items:center}
.brand-name{font-family:var(--f-display); font-weight:800; font-size:1.15rem; line-height:1}
.brand-sub{font-size:.72rem; color:var(--muted)}
.nav a{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:8px; color:var(--muted); text-decoration:none; font-weight:600}
.nav a:hover{background:var(--soft); color:var(--ink)}
.nav a[aria-current="page"]{background:var(--accent-soft); color:var(--accent)}
.nav svg{width:18px; height:18px; flex:none}
.rail-foot{margin-top:auto; padding:12px 10px 0; border-top:1px solid var(--line); font-size:.8rem; color:var(--muted); display:flex; gap:10px; align-items:center}
.avatar{width:30px; height:30px; border-radius:50%; background:var(--soft); display:grid; place-items:center; font-weight:700; font-size:.78rem; color:var(--ink); flex:none}
main{min-width:0; padding-block:28px 60px; padding-left:max(16px, env(safe-area-inset-left,0px)); padding-right:max(16px, env(safe-area-inset-right,0px))}
.wrap{max-width:1120px; margin:0 auto; display:flex; flex-direction:column; gap:24px}
.head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap}
.head p{color:var(--muted); margin-top:4px}

/* controls */
.btn{display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--surface); padding:8px 14px; border-radius:8px; font-weight:600; cursor:pointer; text-decoration:none; color:var(--ink); white-space:nowrap}
.btn:hover{border-color:var(--faint)}
.btn.primary{background:var(--accent); border-color:var(--accent); color:var(--accent-ink)}
.btn.primary:hover{filter:brightness(1.08)}
.btn.ghost{border-color:transparent; background:none; color:var(--muted)}
.btn.sm{padding:5px 10px; font-size:.85rem}
.btn svg{width:16px; height:16px}
.chips{display:flex; gap:6px; flex-wrap:wrap}
.chip{border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:5px 12px; font-weight:600; font-size:.85rem; cursor:pointer; display:inline-flex; align-items:center; gap:7px; color:var(--muted)}
.chip[aria-pressed="true"]{border-color:var(--accent); color:var(--accent); background:var(--accent-soft)}
.dot{width:9px; height:9px; border-radius:50%; display:inline-block; flex:none}
.field{display:flex; flex-direction:column; gap:5px; font-size:.82rem; font-weight:600; color:var(--muted)}
.field input,.field select,.field textarea{border:1px solid var(--line); background:var(--surface); border-radius:8px; padding:8px 10px; font-weight:500; color:var(--ink); font-size:.92rem}
textarea{resize:vertical; font-family:var(--f-mono)!important; font-size:.82rem!important; line-height:1.6}

.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--r)}
.panel-h{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); flex-wrap:wrap}
.panel-b{padding:18px}

/* status pills */
.pill{display:inline-flex; align-items:center; gap:6px; font-size:.76rem; font-weight:700; padding:3px 9px; border-radius:999px; white-space:nowrap}
.pill.open{background:var(--ok-soft); color:var(--ok)}
.pill.open::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor; animation:pulse 1.6s infinite}
.pill.late{background:var(--late-soft); color:var(--late)}
.pill.wait{background:var(--soft); color:var(--muted)}
.pill.done{background:var(--exc-soft); color:var(--exc)}
@keyframes pulse{50%{opacity:.35}}

/* today */
.rehearsals{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:16px}
.rh{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px; display:flex; flex-direction:column; gap:14px; cursor:pointer; text-align:left}
.rh[aria-selected="true"]{border-color:var(--accent); box-shadow:0 0 0 1px var(--accent)}
.rh-top{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
.rh-name{display:flex; align-items:center; gap:8px}
.rh-time{font-family:var(--f-mono); font-size:1.5rem; font-weight:600; letter-spacing:-.02em}
.rh-time small{font-size:.8rem; color:var(--muted); font-weight:500; letter-spacing:0}
.meter{height:8px; border-radius:99px; background:var(--soft); display:flex; overflow:hidden}
.meter i{display:block; height:100%; transition:width .5s}
.rh-stats{display:flex; gap:16px; font-size:.84rem; color:var(--muted)}
.rh-stats b{color:var(--ink); font-variant-numeric:tabular-nums}
.rh-actions{display:flex; gap:8px; flex-wrap:wrap}
.live{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0}
.live > div{min-width:0}
.live > div + div{border-left:1px solid var(--line)}
.people{list-style:none; margin:0; padding:6px 0; max-height:420px; overflow:auto}
.people li{display:flex; align-items:center; gap:10px; padding:7px 18px}
.people li .who{flex:1; min-width:0}
.people .nm{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.people .sub{font-size:.78rem; color:var(--muted)}
.part{font-family:var(--f-mono); font-size:.72rem; font-weight:600; color:var(--muted); background:var(--soft); border-radius:5px; padding:1px 6px; flex:none}
.tag{font-size:.75rem; font-weight:700; padding:2px 8px; border-radius:6px; white-space:nowrap}
.tag.ok{background:var(--ok-soft); color:var(--ok)}
.tag.late{background:var(--late-soft); color:var(--late)}
.tag.abs{background:var(--abs-soft); color:var(--abs)}
.tag.exc{background:var(--exc-soft); color:var(--exc)}
.new{animation:arrive .9s ease-out}
@keyframes arrive{from{background:var(--accent-soft)}}
.col-h{padding:12px 18px 4px; display:flex; justify-content:space-between; align-items:baseline}

/* projector */
.stage{position:fixed; inset:0; background:var(--stage); color:var(--stage-ink); z-index:50; display:grid; grid-template-rows:auto 1fr auto; padding:calc(20px + env(safe-area-inset-top,0px)) max(28px, env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(28px, env(safe-area-inset-left,0px)); overflow:auto}
.stage-bar{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.stage .btn{background:var(--stage-2); border-color:#34374a; color:var(--stage-ink)}
.stage-main{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:5vw; align-items:center; max-width:1400px; width:100%; margin:0 auto; padding-block:20px}
.stage-qr{background:var(--qr-paper); border-radius:20px; padding:2.2vmin; width:min(68vmin,100%); aspect-ratio:1; justify-self:center; max-width:100%}
.stage-qr svg{width:100%; height:100%; display:block}
.stage-info{display:flex; flex-direction:column; gap:3vh; min-width:0}
.stage-ens{font-family:var(--f-display); font-weight:800; font-size:clamp(2rem,5.4vw,5rem); line-height:1}
.stage-date{font-size:clamp(1rem,1.9vw,1.6rem); color:var(--stage-muted)}
.stage-scan{font-size:clamp(1.1rem,2.2vw,1.9rem); font-weight:600}
.clock{font-family:var(--f-mono); font-size:clamp(2.4rem,6vw,5.6rem); font-weight:600; line-height:1; letter-spacing:-.03em}
.clock-label{font-size:clamp(.9rem,1.4vw,1.2rem); color:var(--stage-muted); font-weight:600}
.clock-label.is-late{color:#f5b452}
.stage-count{display:flex; align-items:baseline; gap:14px; font-size:clamp(1rem,1.6vw,1.4rem); color:var(--stage-muted)}
.stage-count b{font-family:var(--f-mono); font-size:clamp(2rem,4vw,3.4rem); color:var(--stage-ink)}
.stage-meter{height:10px; background:#2a2d3e; border-radius:99px; overflow:hidden; display:flex}
.stage-meter i{display:block; transition:width .5s}
.stage-code{font-size:clamp(.85rem,1.2vw,1.05rem); color:var(--stage-muted)}
.stage-code b{font-family:var(--f-mono); color:var(--stage-ink); letter-spacing:.12em}
.ticker{display:flex; gap:8px; flex-wrap:wrap; min-height:32px}
.ticker span{background:var(--stage-2); border-radius:999px; padding:4px 12px; font-size:.9rem; animation:arrive2 .7s ease-out}
@keyframes arrive2{from{transform:translateY(6px); opacity:0}}

/* print */
.print-grid{display:grid; grid-template-columns:280px minmax(0,1fr); gap:24px; align-items:start}
.sheets{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:18px}
.sheet{background:var(--qr-paper); color:var(--qr-ink); aspect-ratio:8.5/11; border-radius:4px; box-shadow:var(--shadow); padding:9% 9% 7%; display:flex; flex-direction:column; align-items:center; text-align:center; gap:4%; max-width:100%; border:1px solid var(--line)}
.sheet .s-ens{font-family:var(--f-display); font-weight:800; font-size:1.05rem; line-height:1.1}
.sheet .s-date{font-size:.72rem; font-weight:600}
.sheet .s-qr{width:78%; aspect-ratio:1}
.sheet .s-qr svg{width:100%; height:100%}
.sheet .s-note{font-size:.6rem; line-height:1.4; color:#40435a}
.sheet .s-code{font-family:var(--f-mono); font-size:.62rem; margin-top:auto; color:#40435a}
.sheet.four{display:grid; grid-template-columns:1fr 1fr; gap:6%; padding:7%}
.sheet.four > div{display:flex; flex-direction:column; align-items:center; gap:3px; border:1px dashed #c9cbd8; padding:6px; text-align:center}
.sheet.four .s-ens{font-size:.62rem}
.sheet.four .s-date{font-size:.5rem}
.sheet.four .s-qr{width:84%}
.more{display:grid; place-items:center; color:var(--muted); font-weight:600; border:1px dashed var(--line); border-radius:4px; aspect-ratio:8.5/11}

/* schedule */
.sched{display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:20px; align-items:start}
.rule{display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:16px 18px; border-bottom:1px solid var(--line)}
.rule:last-child{border-bottom:0}
.rule-top{display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap}
.days{display:flex; gap:4px; flex-wrap:wrap}
.days button{width:40px; height:32px; border-radius:7px; border:1px solid var(--line); background:var(--surface); font-weight:700; font-size:.78rem; color:var(--muted); cursor:pointer}
.days button[aria-pressed="true"]{background:var(--accent); border-color:var(--accent); color:var(--accent-ink)}
.rule-times{display:flex; gap:10px; flex-wrap:wrap; align-items:end}
.rule-times .field{width:130px}
.offs{list-style:none; margin:0; padding:0}
.offs li{display:flex; justify-content:space-between; gap:12px; padding:9px 18px; border-bottom:1px solid var(--line); font-size:.9rem}
.offs li:last-child{border-bottom:0}
.months{display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:8px}
.month{background:var(--soft); border-radius:8px; padding:8px 10px}
.month b{font-family:var(--f-mono); font-size:1.1rem; display:block}
.month span{font-size:.75rem; color:var(--muted); font-weight:600}
.big{font-family:var(--f-display); font-size:2.6rem; font-weight:800; line-height:1}

/* rosters + sheet tables */
.tbl-wrap{overflow-x:auto}
table{border-collapse:collapse; width:100%; font-size:.88rem}
th{font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:600; text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); white-space:nowrap; background:var(--surface)}
td{padding:8px 12px; border-bottom:1px solid var(--line); white-space:nowrap}
tbody tr:hover td{background:var(--soft)}
th.r,td.r{text-align:right}
.parts{display:flex; gap:8px; flex-wrap:wrap}
.parts span{background:var(--soft); border-radius:7px; padding:4px 10px; font-size:.82rem; font-weight:600}
.parts b{font-family:var(--f-mono)}

.att th, .att td{padding:6px 6px}
.att .stick{position:sticky; left:0; background:var(--surface); z-index:1; padding-left:16px; min-width:170px}
.att tbody tr:hover .stick{background:var(--soft)}
.att th.d{text-align:center; font-family:var(--f-mono); font-size:.66rem; letter-spacing:0; line-height:1.2}
.att td.c{text-align:center; padding:4px 2px}
.cell{width:28px; height:26px; border-radius:6px; border:0; font-family:var(--f-mono); font-size:.72rem; font-weight:600; cursor:pointer; display:inline-grid; place-items:center}
.cell.ok{background:transparent; color:var(--ok)}
.cell.late{background:var(--late-soft); color:var(--late)}
.cell.abs{background:var(--abs-soft); color:var(--abs)}
.cell.exc{background:var(--exc-soft); color:var(--exc)}
.bar{display:inline-block; height:6px; border-radius:3px; background:var(--late); vertical-align:middle; margin-right:8px}
.att td.sum{font-variant-numeric:tabular-nums; text-align:right; padding-inline:10px}
.att td.sum.hot{color:var(--late); font-weight:700}
.legend{display:flex; gap:14px; flex-wrap:wrap; font-size:.82rem; color:var(--muted); align-items:center}
.legend .cell{cursor:default; width:24px; height:22px}
.summary{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px}
.stat{padding:16px 18px}
.stat .v{font-family:var(--f-display); font-size:2rem; font-weight:800; line-height:1.1}
.stat .l{font-size:.82rem; color:var(--muted)}
@media (min-width:1000px){.summary{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.8fr)}}
.toplate{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; font-size:.88rem}
.toplate li{display:grid; grid-template-columns:minmax(0,1fr) 110px 54px; gap:10px; align-items:center}
.toplate .track{height:7px; background:var(--soft); border-radius:4px; overflow:hidden}
.toplate .track i{display:block; height:100%; background:var(--late)}
.popover{position:fixed; z-index:60; background:var(--raised); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); padding:6px; display:flex; flex-direction:column; min-width:190px}
.popover .ph{font-size:.75rem; color:var(--muted); padding:6px 8px 4px}
.popover button{border:0; background:none; text-align:left; padding:7px 8px; border-radius:6px; cursor:pointer; display:flex; gap:8px; align-items:center; font-weight:600}
.popover button:hover{background:var(--soft)}

/* singer phone */
.phone-stage{display:grid; grid-template-columns:auto minmax(0,1fr); gap:40px; align-items:start}
.phone{width:340px; max-width:100%; border-radius:44px; background:#0e0f16; padding:12px; box-shadow:var(--shadow)}
.screen{background:var(--bg); border-radius:34px; min-height:640px; overflow:hidden; display:flex; flex-direction:column}
.notch{height:30px; display:flex; justify-content:center; align-items:center}
.notch i{width:90px; height:22px; background:#0e0f16; border-radius:0 0 14px 14px; margin-top:-8px}
.sc{flex:1; padding:22px 22px 28px; display:flex; flex-direction:column; gap:18px}
.sc .ens-badge{display:flex; align-items:center; gap:8px; font-weight:700}
.sc .when{font-family:var(--f-mono); font-size:.9rem; color:var(--muted)}
.gbtn{display:flex; align-items:center; justify-content:center; gap:10px; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:12px; font-weight:700; cursor:pointer; width:100%}
.gbtn .g{width:22px; height:22px; border-radius:50%; border:2px solid var(--ink); display:grid; place-items:center; font-size:.75rem; font-weight:800}
.result{display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; padding-top:30px}
.result .ring{width:120px; height:120px; border-radius:50%; display:grid; place-items:center}
.result .ring svg{width:56px; height:56px}
.result .ring.ok{background:var(--ok-soft); color:var(--ok)}
.result .ring.late{background:var(--late-soft); color:var(--late)}
.result .ring.bad{background:var(--abs-soft); color:var(--abs)}
.result .ring.info{background:var(--exc-soft); color:var(--exc)}
.result h2{font-size:1.5rem}
.result .t{font-family:var(--f-mono); font-size:2rem; font-weight:600}
.small-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 14px; font-size:.85rem; display:flex; justify-content:space-between; gap:10px}
.states{display:flex; flex-direction:column; gap:8px}
.states button{text-align:left; border:1px solid var(--line); background:var(--surface); border-radius:9px; padding:10px 14px; cursor:pointer; display:flex; flex-direction:column; gap:2px}
.states button b{font-weight:700}
.states button span{font-size:.82rem; color:var(--muted)}
.states button[aria-pressed="true"]{border-color:var(--accent); box-shadow:0 0 0 1px var(--accent)}
.rules{font-size:.9rem; color:var(--muted); display:flex; flex-direction:column; gap:8px; max-width:62ch}
.rules b{color:var(--ink)}

.toast{position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); background:var(--ink); color:var(--bg); padding:10px 18px; border-radius:10px; font-weight:600; font-size:.9rem; z-index:80; box-shadow:var(--shadow); max-width:calc(100% - 32px)}

@media (max-width: 900px){
  .shell{grid-template-columns:minmax(0,1fr)}
  .rail{flex-direction:row; overflow-x:auto; padding:8px 12px; border-right:0; border-bottom:1px solid var(--line); align-items:center}
  .brand{padding:0 10px 0 0}
  .brand-sub,.rail-foot{display:none}
  .nav{display:flex; gap:2px}
  .nav a{white-space:nowrap}
  .sched,.print-grid,.phone-stage,.live{grid-template-columns:minmax(0,1fr)}
  .live > div + div{border-left:0; border-top:1px solid var(--line)}
  .stage-main{grid-template-columns:minmax(0,1fr)}
  .stage-qr{width:min(80vw,60vh)}
}
@media (max-width: 480px){ .brand-name{display:none} h1{font-size:1.5rem} .phone{width:100%} .screen{min-height:560px} }
@media (prefers-reduced-motion: reduce){ *{animation:none!important; transition:none!important} }

/* ---------- additions for the real site ---------- */
body{margin:0}
a{color:var(--accent)}
.rail-foot a{color:var(--muted); font-size:.78rem}
.nav a .pill{margin-left:auto}
.empty{padding:28px 18px; text-align:center; color:var(--muted); display:flex; flex-direction:column; gap:10px; align-items:center}
.loading{padding:40px; text-align:center; color:var(--muted)}
.err{background:var(--abs-soft); color:var(--abs); border-radius:8px; padding:10px 14px; font-weight:600; font-size:.9rem}
.row-actions{display:flex; gap:6px; justify-content:flex-end}
.inline-form{display:flex; gap:10px; flex-wrap:wrap; align-items:end}
.inline-form .field{min-width:140px}
.rule .rule-foot{display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap}
.rule.dirty{background:var(--accent-soft)}
.offs .x{border:0; background:none; color:var(--faint); cursor:pointer; padding:0 4px; font-size:1rem}
.offs .x:hover{color:var(--abs)}
.cell.none{background:transparent; color:var(--faint); cursor:default}
.cell.wait{background:transparent; color:var(--faint)}
.popover .pm{display:flex; gap:6px; align-items:center; padding:4px 8px 6px 40px; font-size:.8rem; color:var(--muted)}
.popover .pm input{width:60px; border:1px solid var(--line); background:var(--surface); border-radius:6px; padding:3px 6px}

/* sign-in gate + small public pages */
.center{min-height:100vh; display:grid; place-items:center; padding:24px 16px}
.card{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:28px 24px; width:100%; max-width:420px; display:flex; flex-direction:column; gap:18px; box-shadow:var(--shadow)}
.card .brand{padding:0}
.gsi-slot{min-height:44px; display:flex; justify-content:center}
.code-in{font-family:var(--f-mono); font-size:1.8rem; letter-spacing:.3em; text-transform:uppercase; text-align:center; border:1px solid var(--line); background:var(--bg); border-radius:10px; padding:12px; width:100%; color:var(--ink)}
.prose{max-width:68ch; margin:0 auto; padding:40px 16px 80px; display:flex; flex-direction:column; gap:14px}
.prose h2{margin-top:14px}

/* singer page: the prototype's phone screen, full width on a real phone */
.singer{max-width:440px; margin:0 auto; min-height:100vh; display:flex; flex-direction:column}
.singer .sc{padding:28px 22px calc(28px + env(safe-area-inset-bottom,0px))}
.cands{display:flex; flex-direction:column; gap:10px}
.cands button{text-align:left; cursor:pointer; color:inherit; font:inherit; width:100%}

/* printing */
.print-only{display:none}
@media print{
  @page{size:letter; margin:0}
  body{background:#fff}
  body > *:not(.print-only){display:none!important}
  .print-only{display:block!important}
  .print-only .sheet{box-shadow:none; border:0; border-radius:0; width:8.5in; height:11in; max-width:none; aspect-ratio:auto; page-break-after:always; break-after:page; padding:.9in .8in .7in; gap:.25in}
  .print-only .sheet .s-ens{font-size:34pt}
  .print-only .sheet .s-date{font-size:16pt}
  .print-only .sheet .s-qr{width:5.6in}
  .print-only .sheet .s-note{font-size:13pt}
  .print-only .sheet .s-code{font-size:12pt}
  .print-only .sheet.four{padding:.45in; gap:.3in}
  .print-only .sheet.four > div{gap:.08in; padding:.15in}
  .print-only .sheet.four .s-ens{font-size:15pt}
  .print-only .sheet.four .s-date{font-size:10pt}
  .print-only .sheet.four .s-qr{width:2.9in}
  .print-only .sheet.four .s-code{font-size:9pt; margin-top:0}
}
