/* Rise Above: crimson and gold from the mask logo on a clean white house.
   Layout idea: phone-first single column, sticky logo header with a gold rule, bottom tab bar, one card per call/post. */
:root {
  --paper: #ffffff;
  --wash: #f7f4f1;
  --ink: #241a1c;
  --muted: #6e6366;
  --line: #e8e0da;
  --crimson: #b0101c;
  --crimson-deep: #7a0c16;
  --gold: #b98a2e;
  --gold-soft: #f6ead0;
  --t-rehearsal: #b98a2e;
  --t-tech: #1f7d85;
  --t-performance: #b0101c;
  --t-build: #b35c16;
  --t-costume: #8a3f9e;
  --t-meeting: #4b5bb3;
  --t-other: #6e6366;
  --ok: #217a3c;
  --danger: #c0262d;
  --display: "Marcellus", "Cinzel", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--wash); color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: var(--crimson); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h3 { font-size: 17px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: var(--paper); padding-top: env(safe-area-inset-top); box-shadow: 0 1px 0 var(--line); }
.toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.brand img { height: 42px; width: auto; display: block; }
.prodpick { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 0; max-width: 52%; }
.prodpick label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prodpick select { padding: 5px 28px 5px 10px; font-weight: 600; font-size: 14px; max-width: 100%; }
.goldrule { height: 3px; background: linear-gradient(90deg, transparent, var(--gold) 20%, #f3d989 50%, var(--gold) 80%, transparent); }

main { padding: 16px 0 calc(96px + env(safe-area-inset-bottom)); }
.view { display: flex; flex-direction: column; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack.tight { gap: 6px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.spacer { flex: 1; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .two { grid-template-columns: 1fr; } }
.indent { padding-left: 28px; }
.center { text-align: center; }
.small { font-size: 13px; }
.block { display: block; }
.tnum { font-variant-numeric: tabular-nums; }
.tright { text-align: right; }

.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sechead h2, .display { font: 400 26px/1.15 var(--display); letter-spacing: .01em; }
.sub { color: var(--muted); font-size: 14px; }
p.sub, p { margin: 0; }
.kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); }
.hello { font: 400 20px/1.2 var(--display); color: var(--crimson-deep); }
.back { text-decoration: none; font-weight: 600; font-size: 14px; }

/* cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.linkcard { text-decoration: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.linkcard:hover { border-color: var(--gold); }
.linkcard.admin { border-left: 4px solid var(--crimson); }
.notice.linkcard { display: block; }
.etitle { font-weight: 700; font-size: 17px; }
.meta { color: var(--muted); font-size: 14px; display: flex; gap: 2px 14px; flex-wrap: wrap; }
.meta strong { color: var(--ink); font-weight: 600; }
.meta .you { color: var(--ok); font-weight: 600; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; }
.pill.t-rehearsal, .pill.n-director { color: var(--t-rehearsal); }
.pill.t-tech, .pill.n-tech { color: var(--t-tech); }
.pill.t-performance { color: var(--t-performance); }
.pill.t-build, .pill.n-choreo { color: var(--t-build); }
.pill.t-costume, .pill.n-costume { color: var(--t-costume); }
.pill.t-meeting, .pill.n-music { color: var(--t-meeting); }
.pill.t-other, .pill.gray { color: var(--t-other); }
.pill.pin { color: var(--gold); }
.pill.new { color: #fff; background: var(--crimson); border-color: var(--crimson); }
.pill.changed { color: #fff; background: var(--gold); border-color: var(--gold); }
.pill.danger { color: #fff; background: var(--danger); border-color: var(--danger); }

.event { border-left: 5px solid var(--c, var(--line)); }
.event.t-rehearsal { --c: var(--t-rehearsal); } .event.t-tech { --c: var(--t-tech); } .event.t-performance { --c: var(--t-performance); }
.event.t-build { --c: var(--t-build); } .event.t-costume { --c: var(--t-costume); } .event.t-meeting { --c: var(--t-meeting); } .event.t-other { --c: var(--t-other); }
.event.past { opacity: .55; }
.event.cancelled .etitle, .event.cancelled .meta strong { text-decoration: line-through; color: var(--muted); }
.changenote { background: var(--gold-soft); border-radius: 8px; padding: 6px 10px; font-size: 14px; font-weight: 600; }
.mine { color: var(--danger); font-size: 14px; font-weight: 600; }
.okline { color: var(--ok); font-size: 14px; font-weight: 600; }
.daygroup { display: flex; flex-direction: column; gap: 8px; }
.dayhead { display: flex; align-items: baseline; gap: 10px; padding: 6px 2px 0; }
.dayhead b { font: 400 20px/1.2 var(--display); }
.dayhead span { font-size: 13px; color: var(--muted); }

.hero { background: radial-gradient(130% 120% at 100% 0%, var(--gold-soft), transparent 60%), var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--crimson); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.hero h2.display { font-size: 28px; color: var(--crimson-deep); }
.when { font-size: 18px; font-weight: 600; }
.count { color: var(--crimson); font-weight: 700; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.tile:hover { border-color: var(--gold); }
.tile b { font: 400 30px/1 var(--display); color: var(--crimson); font-variant-numeric: tabular-nums; }
.tile span { font-size: 13px; color: var(--muted); }
.post h3 { font-size: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; font-size: 14px; text-decoration: none; color: var(--ink); }
.btn:hover { border-color: var(--gold); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.btn.primary:hover { background: var(--crimson-deep); }
.btn.warn { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn.ghost { background: transparent; }
.btn.small { padding: 5px 12px; font-size: 13px; }
.btn.big { width: 100%; padding: 12px 18px; font-size: 16px; }
.btn.google .g { font-weight: 800; color: #4285f4; font-size: 18px; }
.linkbtn { background: none; border: none; color: var(--crimson); cursor: pointer; font-size: 13px; font-weight: 600; padding: 4px 6px; text-decoration: underline; }
.adminbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--paper); border: 1px dashed var(--gold); border-radius: 12px; padding: 8px 12px; }

/* segmented control */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: none; background: none; border-radius: 999px; padding: 7px 10px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--crimson); color: #fff; }

/* meters & lists */
.meter { height: 8px; background: var(--wash); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.meter.full i { background: var(--ok); }
.names { font-size: 14px; color: var(--muted); }
.names b { color: var(--ink); font-weight: 600; }
.notice { background: var(--gold-soft); border: 1px solid #ead19a; border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--ink); text-decoration: none; }
.empty { border: 1px dashed var(--line); border-radius: 14px; padding: 22px 16px; text-align: center; color: var(--muted); background: var(--paper); }
.empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* run notes */
details.noteset { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
details.noteset > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
details.noteset > summary::-webkit-details-marker { display: none; }
.chev { color: var(--crimson); font-size: 13px; font-weight: 600; }
details.noteset[open] .chev::after { content: "Hide"; }
details.noteset:not([open]) .chev::after { content: "Open notes"; }
.nbody { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.note { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 8px 0; border-top: 1px dashed var(--line); }
.num { min-width: 46px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.num[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.note .who { grid-column: 2; font-size: 13px; color: var(--muted); }
.note.hit .pre { font-weight: 600; }
details.mini summary { cursor: pointer; font-size: 13px; color: var(--crimson); font-weight: 600; }

.thread { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 8px; }
.cmt { font-size: 14px; }
.cmt b { font-weight: 700; }
.cmt .when { color: var(--muted); font-size: 12px; margin-left: 6px; }

/* cast */
.castgroup h3 { font: 400 20px/1.2 var(--display); color: var(--crimson-deep); }
.castrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.castrow:last-child { border-bottom: none; }
.castrow .role { color: var(--muted); }
.castrow .who { font-weight: 600; text-align: right; }
.castrow.me .who { color: var(--crimson); }
.personrow { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px dashed var(--line); padding: 10px 0; cursor: pointer; }
.personrow:last-child { border-bottom: none; }
.pname { font-weight: 600; }
.dotok { color: var(--ok); font-size: 11px; }
.rosterrow input[type=text] { padding: 7px 10px; }

/* forms */
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #d6ccc4; border-radius: 10px; padding: 10px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--crimson); flex: none; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); }
.checkrow { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkrow.small { font-size: 14px; color: var(--muted); align-items: center; }
.fs { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.fs legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 8px; cursor: pointer; font-size: 14px; background: var(--paper); }
.chip:has(input:checked) { border-color: var(--crimson); background: #fbeeee; }
.chip input { width: 16px; height: 16px; }
.pplist { max-height: 240px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.pprow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--wash); cursor: pointer; }
.pprow .sub { margin-left: auto; font-size: 12px; }
.err { color: var(--danger); font-size: 14px; min-height: 1em; }

/* sign-in */
.auth { max-width: 420px; margin: 0 auto; padding: 12px 0 40px; display: flex; flex-direction: column; gap: 16px; }
.authlogo { mix-blend-mode: multiply; width: 240px; max-width: 70%; align-self: center; }
.auth h1.display { text-align: center; color: var(--crimson-deep); }
.or { text-align: center; color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 10px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* bottom nav */
nav.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(8px); }
nav.tabs .wrap { display: grid; grid-template-columns: repeat(6, 1fr); padding: 0 4px; }
nav.tabs a { position: relative; color: var(--muted); text-decoration: none; text-align: center; padding: 8px 0 9px; font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; }
nav.tabs svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
nav.tabs a[aria-current="page"] { color: var(--crimson); }
nav.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
nav.tabs .dot { position: absolute; top: 6px; left: calc(50% + 7px); width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); border: 2px solid #fff; }

/* modal sheet */
.scrim { position: fixed; inset: 0; background: rgba(36,26,28,.5); z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--paper); border-radius: 18px 18px 0 0; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.sheet.wide { max-width: 640px; }
@media (min-width: 640px) { .scrim { align-items: center; } .sheet { border-radius: 18px; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 8px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font: 400 22px/1.2 var(--display); color: var(--crimson-deep); }
.x { background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.sheet-body { padding: 14px 18px; overflow: auto; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 40; max-width: 90%; text-align: center; }
@media (prefers-reduced-motion: no-preference) { .card, .tile, .btn { transition: border-color .15s, background .15s; } }
.post.member { border-left: 4px solid var(--gold); }

/* v5 */
.urgent { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: #fff; background: var(--crimson); border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(176,16,28,.25); }
.urgent.gold { background: #8a5d12; box-shadow: 0 4px 14px rgba(138,93,18,.25); }
.urgent .big { font-weight: 800; font-size: 18px; }
.urgent .go { font-weight: 700; margin-top: 4px; text-decoration: underline; }
.weekcard { gap: 4px; }
.weekday + .weekday { border-top: 1px dashed var(--line); padding-top: 6px; }
.callrow { display: grid; grid-template-columns: 118px 1fr; gap: 10px; padding: 8px 0 8px 10px; text-decoration: none; color: inherit; border-left: 4px solid var(--c, var(--line)); margin: 4px 0; }
.callrow.t-rehearsal { --c: var(--t-rehearsal); } .callrow.t-tech { --c: var(--t-tech); } .callrow.t-performance { --c: var(--t-performance); }
.callrow.t-build { --c: var(--t-build); } .callrow.t-costume { --c: var(--t-costume); } .callrow.t-meeting { --c: var(--t-meeting); } .callrow.t-other { --c: var(--t-other); }
.callrow.cancelled .ctitle { text-decoration: line-through; color: var(--muted); }
.ctime { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.ctitle { font-weight: 600; }
@media (max-width: 380px) { .callrow { grid-template-columns: 1fr; gap: 0; } }
nav.tabs .badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--crimson); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; border: 2px solid #fff; }
.costume { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.costume:last-child { border-bottom: none; }
.showlinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.showlink { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 12px 14px; }
.showlink:hover { border-color: var(--gold); }
.showlink strong { font: 400 20px/1.2 var(--display); color: var(--crimson-deep); }

/* v8: stage management */
.leadbox { border: 1px dashed var(--gold, #b98a2e); border-radius: 10px; padding: 8px 10px; background: #fffaf0; display: grid; gap: 4px; }
ul.conflicts { margin: 2px 0 0; padding-left: 18px; font-size: 14px; }
ul.conflicts li.out { color: var(--crimson, #b0101c); font-weight: 600; }
ul.conflicts li.part { color: #8a5a00; }
.seg.small button { padding: 4px 10px; font-size: 13px; }
.bookrow { display: grid; gap: 6px; }
.bookcell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bookcell.has strong { color: var(--crimson, #b0101c); }
.bookcell input { padding: 6px 8px; }
.colmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.colmapitem { display: grid; gap: 2px; font-size: 13px; }
.colmapitem .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* v9: auditions & texts */
.aud { max-width: 720px; margin: 0 auto; padding: 8px 0 48px; display: flex; flex-direction: column; gap: 14px; }
.aud h1.display { color: var(--crimson-deep, #7d0a13); margin: 4px 0 0; }
.slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.slotbtn { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #e5ddd2; background: #fff; cursor: pointer; font: inherit; }
.slotbtn:hover:not(:disabled) { border-color: var(--crimson, #b0101c); }
.slotbtn.on { border-color: var(--crimson, #b0101c); background: #fff4f4; box-shadow: 0 0 0 2px #b0101c33; }
.slotbtn.full { background: #f6f3ee; }
.slotbtn:disabled { opacity: .55; cursor: not-allowed; }
.contract .pre { max-height: 260px; overflow: auto; background: #faf8f5; padding: 10px; border-radius: 8px; }
.checkrow { display: flex; gap: 10px; align-items: flex-start; }
.checkrow input { margin-top: 3px; }
.audrow { gap: 4px; }
.audrow.dim { opacity: .55; }
.checkin { width: 30px; height: 30px; border-radius: 8px; border: 2px solid #c9bfb2; background: #fff; font-weight: 700; color: #fff; cursor: pointer; flex: none; }
.checkin.on { background: #2e7d32; border-color: #2e7d32; }
.linkbtn.strong { font-weight: 700; color: inherit; text-decoration: none; }
.textreply.unread { border-left: 4px solid var(--crimson, #b0101c); }
.textreply .answer { padding-left: 10px; }
details.textreplies { background: #fffaf0; border: 1px dashed #b98a2e; border-radius: 8px; padding: 6px 10px; margin-bottom: 6px; }
.printonly { display: none; }
@media print {
  header.top, nav.tabs, .noprint, .toast { display: none !important; }
  .printonly { display: block; }
  body, main { background: #fff !important; }
  .card { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .audrow .linkbtn { color: #000; }
}
.audlinks { display: grid; gap: 4px; margin: -4px 0 6px; }
.audlink { font-size: 14px; color: inherit; text-decoration: none; padding: 4px 2px; }
.audlink strong { color: var(--crimson, #b0101c); font-weight: 600; }
/* v12: store & Rise Above Bill */
.storeitem .row .field { min-width: 90px; }
.storephoto { width: 100%; max-height: 260px; object-fit: contain; border-radius: 8px; background: #faf8f5; }
.sizegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-top: 6px; }
.sizecell { border: 1px solid #e5ddd2; border-radius: 8px; padding: 6px; text-align: center; display: grid; }
.sizecell b { font-size: 20px; color: var(--crimson, #b0101c); }
.sizecell.total { background: #fff4f4; }
.billprev img { max-width: 180px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; }
/* classes & events */
.slotbtn.wide { width: 100%; align-items: flex-start; text-align: left; }
.namelist { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.namelist .chip { font-size: 12px; padding: 2px 8px; }
/* get the app */
.getlogo { border-radius: 20px; margin-top: 8px; }
.getsteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.getstep { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.getnum { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red, #b0101c); color: #fff; display: grid; place-items: center; font-weight: 700; }
.shareglyph { display: inline-flex; vertical-align: middle; color: #1a73e8; }
.getarrow { position: fixed; bottom: 12px; left: 28%; font-size: 40px; transform-origin: center; color: #1a73e8; animation: getbob 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes getbob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, 10px); } }
.getqr { width: 240px; height: 240px; margin: 0 auto; display: block; }
.notifbanner { display: flex; flex-direction: column; gap: 8px; }
/* team messages, alerts */
.teammsg { padding: 8px 10px; border-radius: 10px; background: #f7f3ee; }
.teammsg.fromteam { background: #fbecec; }
.linkrow { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; }
.alertline summary { cursor: pointer; }
.updbar { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; background: #7d0a13; color: #fff; border: 0; border-radius: 12px; padding: 12px 14px; font: inherit; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.notesection { margin: 14px 0 4px; padding-bottom: 4px; border-bottom: 2px solid #b98a2e; font-weight: 700; letter-spacing: .02em; color: #7d0a13; }

.showmain { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; }
.showmsg { font-size: 14px; font-weight: 600; color: var(--crimson-deep); text-decoration: none; border-top: 1px solid var(--line); padding-top: 6px; }

/* Video auditions */
.upbar { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.upfill { height: 100%; width: 0; background: var(--red, #b0101c); transition: width .3s; }
.videocard .videohead { display: flex; gap: 12px; align-items: flex-start; }
.audphoto { width: 84px; height: 105px; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; flex: none; }
.videogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.videowrap { background: #111; border-radius: 8px; overflow: hidden; }
.videowrap.novideo { background: #f3f1ee; padding: 30px 10px; text-align: center; }
.audvideo { display: block; width: 100%; max-height: 420px; background: #000; }
.videowrap .vnote { background: #fff; padding: 4px 8px; }
.audnotes { width: 100%; min-height: 70px; }

/* Audition day: check-in, audition room, callbacks */
.audthumb { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; background: #f3f1ee; flex: none; }
.audthumb.sm { width: 36px; height: 45px; border-radius: 4px; }
.audthumb.noimg, .audface.noimg { background: #f3f1ee; }
.audface { width: 132px; height: 165px; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; background: #f3f1ee; display: block; }
.facebtn { padding: 0; border: 0; background: none; cursor: zoom-in; flex: none; }
.viewimg { width: 100%; height: auto; border: 1px solid #ddd; border-radius: 6px; }
.cirow, .cbrow { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.cbrow:last-child, .cirow:last-child { border-bottom: 0; }
.ciopen { padding: 8px 4px 14px; border-bottom: 1px solid #eee; }
.thumbx { position: relative; }
.thumbx .x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #b0101c; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.roomnav { display: flex; gap: 8px; align-items: center; position: sticky; top: 0; z-index: 5; background: var(--bg, #f6f2ee); padding: 6px 0; }
.roomnav select { flex: 1; min-width: 0; }
.roomhead { display: flex; gap: 14px; align-items: flex-start; }
.roomcard.seen { opacity: .75; }
.chip.pick { cursor: pointer; border: 1px solid #ccc; background: #fff; }
.chip.pick.yes { background: #e5f4e4; border-color: #3f8f3a; color: #1f5e1b; font-weight: 600; }
.chip.pick.maybe { background: #f9eeda; border-color: #c99a2e; color: #7a5a10; }
.paneltools { border-top: 1px solid #eee; padding-top: 8px; }
@media (max-width: 520px) { .audface { width: 96px; height: 120px; } }
.castpreview { white-space: pre-wrap; font-family: inherit; font-size: 13px; background: #faf8f5; border: 1px solid #eee; border-radius: 6px; padding: 10px; max-height: 420px; overflow: auto; margin: 0; }
.castedit { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 6px; align-items: center; }
.castedit .cbhint { grid-column: 1 / 3; margin-top: -4px; }
.castedit .x { border: 0; background: none; font-size: 18px; color: #999; cursor: pointer; }
.profrow { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid #eee; }
.getwhere { margin: 6px 0 0 0; padding-left: 18px; }
.getwhere li { margin: 4px 0; }
.ratings { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.raterow { display: flex; align-items: center; gap: 4px; }
.ratelabel { font-weight: 600; font-size: 13px; min-width: 54px; }
.rate { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ccc; background: #fff; font-weight: 600; cursor: pointer; }
.rate.on { background: #b0101c; border-color: #b0101c; color: #fff; }
.avgline b { color: #7a5a10; }
.invitelist { max-height: 50vh; overflow: auto; padding: 4px 10px; }
.inviterow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eee; cursor: pointer; }
.inviterow:last-child { border-bottom: 0; }
.rateinput { width: 74px; text-align: center; font-weight: 600; }
.voterow { display: flex; gap: 10px; align-items: center; padding: 10px 8px; border: 1px solid #eee; border-radius: 8px; cursor: pointer; }
.voterow.on { border-color: #b0101c; background: #fbebeb; }
.nomrow { padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.resrow { display: grid; grid-template-columns: minmax(110px, 1.2fr) 2fr 36px; gap: 10px; align-items: center; padding: 3px 0; }
.resbar { background: #f0efec; border-radius: 4px; height: 14px; overflow: hidden; }
.resfill { display: block; height: 100%; background: #b98a2e; }
.rescount { text-align: right; }
