@font-face { font-family: "Modern No. 20"; src: local("Modern No. 20"), url("/MOD20.TTF") format("truetype"); font-display: swap; }

/* Brand: navy #002047 on white. Navy = checked / filled, blue = sent and waiting, pale navy = missing.
   Modern No. 20 only for titles and the on-screen banner. Two layers: page, panel. Blue means "to check". */
:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --hover: #f1f5fa;
  --well: #fff;
  --line: rgb(0 32 71 / .1);
  --edge: rgb(0 32 71 / .14);
  --track: #dde5ef;
  --control: #9db0c9;
  --text: #002047;
  --muted: #4f6687;
  --blush: #002047;
  --wait: #2f7cf6;
  --bad: #b42318;
  --navy: #002047;
  --tint: #f5f8fc;
  --r: 14px;
  --rc: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --brand: "Modern No. 20", "Bodoni MT", Didot, serif;
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scrollbar-color: #b9c7d9 var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgb(0 32 71 / .07) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgb(0 32 71 / .07) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgb(0 32 71 / .03) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, rgb(0 32 71 / .03) 1px, transparent 1px) 0 0 / 8px 8px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); }
body { isolation: isolate; margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font: 400 1rem/1.5 var(--ui); font-variant-numeric: tabular-nums; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1 { font: 400 2.5rem/1.05 var(--brand); text-transform: uppercase; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; }
h3 { font-size: 1rem; line-height: 1.35; font-weight: 650; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #cfe0fd; color: var(--navy); }
:focus-visible { outline: 2px solid var(--wait); outline-offset: 3px; }
main:focus { outline: 0; }
[hidden] { display: none !important; }

.top a { display: flex; align-items: center; max-width: 72rem; min-height: 72px; margin: 0 auto; padding: 0 1.5rem; font: 400 1.125rem/1 var(--brand); text-transform: uppercase; text-decoration: none; }
main { max-width: 72rem; margin: 0 auto; padding: 1.5rem 1.5rem 6rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-bottom: .25rem; color: var(--muted); font-size: .875rem; }
.crumbs a { text-decoration: none; padding: .35rem 0; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.ic { flex: none; width: 14px; height: 14px; }
.head { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: center; margin-bottom: 2.25rem; }
.lead { color: var(--muted); max-width: 65ch; margin-top: .5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.panel { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: 0 1px 2px rgb(0 32 71 / .05), 0 12px 32px rgb(0 32 71 / .06); }
.empty { color: var(--muted); margin-bottom: 1.25rem; }
.empty a { color: var(--text); font-weight: 600; }
.error { color: var(--bad); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.125rem; border: 1px solid var(--navy); border-radius: var(--rc); background: var(--navy); color: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease); }
.btn:hover { background: #0b3266; border-color: #0b3266; }
.btn:active { background: #00163a; border-color: #00163a; }
.btn.alt { background: #fff; border-color: var(--edge); color: var(--text); }
.btn.alt:hover { background: var(--hover); border-color: var(--control); }
.btn.small { min-height: 40px; padding: 0 1rem; min-width: 5rem; }
.btn:disabled { opacity: .5; cursor: default; }

.dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wait); }
.todo { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: #1f5fc4; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: .375rem; }
.pill { border-radius: 6px; background: #e8eef6; padding: 0 .5rem; font-size: .875rem; font-weight: 600; line-height: 1.7; white-space: nowrap; }
.pill.off { margin-left: .5rem; background: #eceff3; color: #5b6b80; font-size: .75rem; vertical-align: 1px; }
li.off .grow { opacity: .55; }
li.off .grow:hover { opacity: .85; }
.pill.bad { background: #fde8e6; color: #9b1c14; }

.face { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hover); overflow: hidden; box-shadow: 0 0 0 2px var(--surface); }
.face b { font-size: .75rem; color: var(--muted); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.face.sm { width: 28px; height: 28px; }
.face.sm b { font-size: .625rem; }
.face.lg { width: 48px; height: 60px; border-radius: 8px; box-shadow: none; }
.face.lg b { font-size: 1rem; }
.faces { display: flex; align-items: center; padding-left: 6px; }
.faces .face { margin-left: -6px; }
.more { margin-left: .5rem; font-size: .8125rem; color: var(--muted); }

/* blush = checked, blue = sent and not checked, dark = missing */
.checked { background: var(--blush); }
.claimed { background: var(--wait); }
.missing { background: var(--track); }
.strip, .codes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.box { display: flex; gap: 2px; height: 10px; border-radius: 3px; overflow: hidden; }
.box > i { flex: 1; }
.codes { font-size: .8125rem; color: var(--muted); }
.codes span { background: none; }
.key { display: flex; flex-wrap: wrap; gap: .375rem 1.25rem; font-size: .8125rem; color: var(--muted); }
.key span { display: inline-flex; align-items: center; gap: .5rem; }
.sw { width: 10px; height: 10px; border-radius: 3px; }

/* home */
#find { width: 18rem; max-width: 100%; min-height: 44px; border: 1px solid var(--edge); border-radius: var(--rc); background: var(--well); padding: 0 .875rem; }
#find::placeholder { color: #7f93b0; opacity: 1; }
body.home .top { display: none; }
.hero { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6.5rem); text-align: center; }
.display { font: italic 400 min(7.4vw, 6.9rem)/.9 var(--brand); letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance; }
.tagline { margin: .3em auto 0; font: italic 400 min(3.7vw, 3.45rem)/.98 var(--brand); text-transform: uppercase; text-wrap: balance; }
@media (max-width: 46rem) { .display { font-size: 11.5vw; } .tagline { font-size: 6.4vw; } }
.hero { position: relative; }
.ecg { display: block; width: min(30rem, 78vw); height: clamp(36px, 4.5vw, 56px); margin: 0 auto clamp(1rem, 2.5vw, 2rem); overflow: visible; }
.ecg path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ecg .trace { stroke: rgb(0 32 71 / .4); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .2s forwards; }
.ecg .sweep { stroke: var(--wait); stroke-width: 2.5; stroke-dasharray: .12 .88; stroke-dashoffset: .12; filter: drop-shadow(0 0 6px rgb(47 124 246 / .55)); opacity: 0; animation: sweep 3.6s linear 1.6s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sweep { 0% { stroke-dashoffset: .12; opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: -.88; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ecg .trace { animation: none; stroke-dashoffset: 0; } .ecg .sweep { display: none; } }
.lib-head h2 { font-size: 1.25rem; }
.sec { margin-bottom: 1rem; font-size: 1rem; color: var(--muted); font-weight: 600; }
#lib section + section { margin-top: 3rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.cards.small { grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.25rem; }
.camp { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: 0 1px 2px rgb(0 32 71 / .05), 0 12px 32px rgb(0 32 71 / .07); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.camp:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(0 32 71 / .06), 0 20px 44px rgb(0 32 71 / .13); }
.cover { position: relative; display: flex; gap: 2px; height: 15rem; background: var(--navy); overflow: hidden; }
.small .cover { height: 11.5rem; }
.cover img { flex: 1; min-width: 0; height: 100%; object-fit: cover; object-position: 50% 26%; transition: transform .6s var(--ease); }
.camp:hover .cover img { transform: scale(1.04); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 32 71 / 0) 35%, rgb(0 32 71 / .88) 100%); pointer-events: none; }
.cover.blank { background:
    linear-gradient(rgb(255 255 255 / .09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(255 255 255 / .09) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(120% 100% at 80% 0%, #0d3d7a, var(--navy) 60%); }
.cover.blank::after { background: linear-gradient(180deg, transparent 50%, rgb(0 20 46 / .5)); }
.is-fin .cover img { filter: saturate(.75); }
.cover-title { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; color: #fff; }
.cover-title span { display: block; font-size: .8125rem; font-weight: 600; opacity: .8; margin-bottom: .2rem; }
.cover-title h2 { font: italic 400 2rem/1 var(--brand); text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 16px rgb(0 20 46 / .4); }
.small .cover-title h2 { font-size: 1.6rem; }
.chip { position: absolute; top: .875rem; left: .875rem; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem .3rem .55rem; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--navy); font-size: .75rem; font-weight: 700; box-shadow: 0 2px 10px rgb(0 20 46 / .2); }
.chip svg { width: 12px; height: 12px; }
.chip.fin { background: rgb(0 32 71 / .78); color: #fff; backdrop-filter: blur(6px); }
.camp-body { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem 1.25rem 1.25rem; }
.track { display: flex; align-items: center; gap: .875rem; }
.track i { flex: 1; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.track u { display: block; height: 100%; background: var(--navy); }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .75rem; margin: 0; }
.stats div { min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dt { color: var(--muted); font-size: .75rem; line-height: 1.3; }
.stats dd { margin: .15rem 0 0; font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.stats .wait dd { color: var(--wait); }
.updated { margin-top: -.25rem; color: var(--muted); font-size: .6875rem; opacity: .85; }
.stats .big dd { font: italic 400 1.5rem/1 var(--brand); }
@media (prefers-reduced-motion: reduce) { .camp:hover, .camp:hover .cover img { transform: none; } }

/* campaign and group */
.tools { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tools label { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 400; color: var(--muted); }
.tools select { min-height: 44px; border: 0; border-radius: var(--rc); background: transparent; color: var(--text); padding: 0 .25rem; cursor: pointer; }
.seg { display: flex; flex-wrap: wrap; gap: .25rem; margin-left: -.875rem; }
.seg button { border: 0; background: none; border-radius: var(--rc); padding: 0 .875rem; min-height: 44px; color: var(--muted); cursor: pointer; font-size: .9375rem; font-weight: 600; transition: background-color .16s var(--ease); }
.seg button span { font-weight: 400; margin-left: .125rem; }
.seg button:hover { color: var(--text); }
.seg [aria-pressed=true] { background: #e8eef6; color: var(--text); }
.ghead, .grow { display: grid; grid-template-columns: minmax(0, 14rem) 9rem minmax(0, 1fr) 3.5rem 6rem 14px; gap: 1.25rem; align-items: center; padding: 0 1.5rem; }
.ghead { padding-top: 1rem; padding-bottom: .5rem; }
.ghead .codes { grid-column: 3; }
.grow { min-height: 64px; text-decoration: none; border-top: 1px solid var(--line); transition: background-color .16s var(--ease); }
li:last-child > .grow { border-radius: 0 0 var(--r) var(--r); }
.grow:hover { background: var(--hover); }
.grow:focus-visible { outline-offset: -2px; }
.grow > .ic { color: var(--muted); }
.gname b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gsub { display: block; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.gsub::first-letter { text-transform: uppercase; }
.gsub:empty, .gmiss { display: none; }
.grow strong { text-align: right; font-weight: 650; }
#list > .key { margin-top: 1rem; }
.sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; margin-bottom: 2.25rem; }
.sum > strong { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.sum .box { height: 14px; }
.sum .codes { margin-top: .375rem; }
.people > li, .script > li { border-top: 1px solid var(--line); }
.people > li:first-child, .script > li:first-child { border-top: 0; }
.people > li { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) 7rem auto; gap: 1.25rem; align-items: center; padding: .875rem 1.5rem; }
#list .people > li:has([data-check]) { grid-template-columns: auto minmax(0, 1fr) auto; }
.people > li.none { display: block; color: var(--muted); padding: 1.25rem 1.5rem; }
.pinfo p { font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.pinfo p strong { color: var(--bad); }
.pstate { display: grid; font-size: .875rem; color: var(--muted); }
.script > li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); padding: 1.125rem 1.5rem; }
.code { justify-self: start; align-self: start; border-radius: 6px; padding: 0 .375rem; font-size: .875rem; font-weight: 700; line-height: 1.7; }
.code.complete { background: var(--navy); color: #fff; }
.code.partial { box-shadow: inset 0 0 0 1px var(--blush); }
.code.missing { background: var(--track); color: var(--muted); }
.part, .part.checked, .part.claimed, .part.missing { background: none; }
.part + .part { margin-top: .875rem; }
.part.same + .part.same { margin-top: 0; }
.part.missing > p { color: #7f93b0; }
.by { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .625rem; margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.by .faces { flex-wrap: wrap; row-gap: 4px; }

/* the on-screen banner from the videos */
.banner { display: flex; flex-direction: column; align-items: center; font: 400 1.125rem/1.1 var(--brand); text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }
.banner > * { padding: .3em .55em .26em; max-width: 100%; }
.banner > :first-child { background: var(--navy); color: #fff; font-size: 1.18em; }
.banner > :not(:first-child) { background: #fff; color: var(--navy); }
.frame, .rv-main .banner { padding: 1.5rem 1rem; background: #c9d6e6; border-radius: var(--rc); }

/* review */
dialog { border: 0; border-radius: var(--r); padding: 0; width: min(66rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); background: var(--surface); color: var(--text); box-shadow: 0 24px 64px rgb(0 32 71 / .25); }
dialog::backdrop { background: rgb(0 20 46 / .55); }
.rv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.rv-side { background: var(--tint); padding: 1.5rem; }
.rv-side video { display: block; width: 100%; max-height: 46vh; border-radius: var(--rc); background: #000a18; }
.rv-side figure { margin: 0 0 1.5rem; }
.rv-side figcaption { font-size: .875rem; color: var(--muted); margin-top: .5rem; overflow-wrap: anywhere; }
.rv-side a { color: var(--text); }
.rv-side blockquote { margin: .5rem 0 0; color: var(--text); font-size: .9375rem; }
.rv-main { padding: 1.5rem 1.75rem 0; }
.rv-main .banner { margin: 1rem 0 1.5rem; }
.sticky { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: .875rem 0; margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }

/* forms */
label, legend { font-weight: 600; padding: 0; }
.field { margin-bottom: 1.25rem; min-width: 0; }
.field small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; margin-top: .25rem; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; margin-top: .375rem; border: 1px solid var(--control); border-radius: var(--rc); background: var(--well); color: var(--text); padding: .625rem .875rem; font-weight: 400; caret-color: var(--wait); transition: border-color .16s var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field ::placeholder { color: #7f93b0; opacity: 1; }
.pair { display: grid; grid-template-columns: 2fr 1fr; gap: 0 1rem; }
fieldset { border: 0; min-width: 0; }
.tick { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: .75rem 0; border-top: 1px solid var(--line); font-weight: 400; cursor: pointer; align-items: start; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; appearance: none; border: 1.5px solid var(--control); border-radius: 6px; background: var(--well); cursor: pointer; }
.tick:hover input { border-color: var(--text); }
.tick input:checked { border-color: var(--wait); background: var(--wait) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tick small { display: block; color: var(--muted); font-size: .8125rem; }
.tick.sub { margin-left: 2rem; }

form.send { max-width: 44rem; }
form.login { max-width: 26rem; }
.linkish { border: 0; background: none; padding: .25rem 0; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.linkish:hover { color: var(--text); }
.foot { max-width: 72rem; margin: -4rem auto 0; padding: 0 1.5rem 2.5rem; text-align: right; }
.seg span { opacity: .7; margin-left: .15rem; }
.thread, .access { padding: 1.25rem 1.5rem 1.5rem; }
.thread ol li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.thread ol li:first-child { padding-top: 0; }
.thread ol li p { margin-top: .35rem; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 70ch; }
.kmeta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.kmeta span { color: var(--muted); font-size: .875rem; }
.kmeta .linkish { margin-left: auto; }
.none { color: var(--muted); }
.kform { margin-top: 1.25rem; }
.kform textarea, .mform input, .linkrow input { width: 100%; border: 1px solid var(--control); border-radius: var(--rc); background: var(--well); padding: .75rem .875rem; }
.kform .actions { margin-top: .75rem; align-items: center; }
.access ul { margin: 1.25rem 0; }
.access li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .875rem 0; border-top: 1px solid var(--line); }
.access li div { display: flex; flex-direction: column; }
.access li span { color: var(--muted); font-size: .875rem; }
.mform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; }
.mform .field { flex: 1 1 16rem; margin: 0; }
.mform .error { flex-basis: 100%; }
#newlink { margin-top: 1.25rem; padding: 1rem; border-radius: var(--rc); background: var(--tint); }
.linkrow { display: flex; gap: .625rem; margin-top: .75rem; }
.linkrow input { min-width: 0; flex: 1; font-size: .875rem; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-bottom: 1.25rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body.public .top a, body.public main { max-width: 44rem; }
.send { padding: 2rem; }
.send h2 { margin-bottom: 1rem; }
.send h2 + .lead { margin: -.75rem 0 1rem; }
.send .part-2 { margin-top: 2.5rem; }
.send .btn { width: 100%; min-height: 50px; margin-top: 1rem; }
.drop { border: 1px dashed var(--control); border-radius: var(--rc); padding: 1rem; margin-bottom: 1rem; }
.drop input { width: 100%; color: var(--muted); }
.drop input::file-selector-button { min-height: 40px; margin-right: .875rem; padding: 0 1rem; border: 1px solid var(--control); border-radius: 8px; background: transparent; color: var(--text); font: 600 .9375rem var(--ui); cursor: pointer; }
.drop input::file-selector-button:hover { background: var(--hover); }
.files li { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: .375rem 0; font-size: .9375rem; overflow-wrap: anywhere; }
.files button { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 40px; padding: 0 .5rem; }
.files button:hover { color: var(--text); }
progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 4px; overflow: hidden; background: var(--track); }
progress::-webkit-progress-bar { background: var(--track); }
progress::-webkit-progress-value { background: var(--wait); }
progress::-moz-progress-bar { background: var(--wait); }
#bar { margin-top: 1rem; }
#bar p { color: var(--muted); font-size: .875rem; margin: .375rem 0 0; }
#toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 5; max-width: 92vw; background: var(--navy); color: #fff; border-radius: var(--rc); padding: .75rem 1.25rem; font-weight: 600; box-shadow: 0 10px 30px rgb(0 32 71 / .25); }
#toast:empty { display: none; }

@media (max-width: 60rem) {
  .ghead { display: none; }
  li:first-child > .grow { border-top: 0; }
  .grow { grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem 1rem; padding: 1rem 1.25rem; }
  .grow .faces { display: none; }
  .grow > .ic { display: none; }
  .grow .gname { grid-area: 1 / 1; }
  .grow .gstate { grid-area: 1 / 2; }
  .grow strong { grid-area: 1 / 3; }
  .grow .gbar { grid-column: 1 / -1; }
  .gmiss { display: block; margin-top: .375rem; font-size: .875rem; color: var(--muted); }
  .people > li { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem 1rem; padding: 1rem 1.25rem; }
  .people .pills { grid-area: 2 / 2; }
  .people .pstate { grid-area: 3 / 2; }
  .people .face.lg { align-self: start; }
}
@media (max-width: 46rem) {
  main { padding: .75rem 1rem 4rem; }
  .top a { padding: 0 1rem; min-height: 60px; }
  h1 { font-size: 2rem; }
  .head { margin-bottom: 1.5rem; }
  .actions { width: 100%; }
  .actions .btn { flex: 1; padding: 0 .5rem; }
  #find { width: 100%; }
  .cards, .cards.small { grid-template-columns: minmax(0, 1fr); }
  .seg { margin: 0 -.5rem; }
  .seg button { padding: 0 .5rem; font-size: .875rem; }
  .sum { gap: 1.25rem; }
  .sum > strong { font-size: 2rem; }
  .codes { font-size: .75rem; }
  .script > li { padding: 1rem 1.25rem; grid-template-columns: 2.75rem minmax(0, 1fr); }
  .rv, .pair, .picks { grid-template-columns: minmax(0, 1fr); }
  .rv-main { padding: 1.25rem 1rem 0; }
  .rv-side { padding: 1rem; }
  .send { padding: 1.25rem; }
  .btn.small { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* access */
.usernav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem 1.25rem; font-size: .875rem; color: var(--muted); }
.usernav a { color: var(--muted); text-underline-offset: .2em; }
.usernav a:hover { color: var(--text); }
.notice { margin: 0 0 1.5rem; padding: .875rem 1.125rem; border: 1px solid var(--wait); border-radius: var(--rc); background: #eef4fe; font-size: .9375rem; }
.access li .row-actions { flex-direction: row; }
.access ul:first-child { margin-top: 0; }
.access ul:first-child > li:first-child { border-top: 0; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.row-actions select { border: 1px solid var(--control); border-radius: var(--rc); background: var(--surface); padding: .375rem .5rem; font-size: .875rem; }
.access li span + span { font-size: .8125rem; }
.uform { margin-top: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.uform h2, .login h2 { margin-bottom: 1rem; font-size: 1.125rem; }
.uform .btn { margin-right: .75rem; }
.newlink { margin-top: 1.25rem; padding: 1rem 1.125rem; border-radius: var(--rc); background: var(--tint); }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin: 0 0 1.25rem; }
.roles div { padding: .875rem 1rem; border: 1px solid var(--line); border-radius: var(--rc); background: var(--surface); }
.roles dt { font-weight: 600; }
.roles dd { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; }
.tag { font-size: .8125rem; color: var(--muted); }
.gone { margin-top: 1.25rem; color: var(--muted); }
.gone summary { cursor: pointer; font-size: .875rem; }
.drivebox p + p { margin-top: .5rem; }
.drive { display: block; margin-top: .25rem; color: var(--muted); font-size: .8125rem; }
.drive.bad { color: var(--bad); }
