/* Student Upload — the family's phone screens (design draft, 2026-11-02).
   Same look as the front office and the Stanford tree: cardinal, gold, ivory, Cormorant serif titles, paper grain.
   Frank's words for the look: "credibility and professionalism over cute or clever design" (2026-10-24);
   "premium and luxury ... and professional" (2026-10-26); "tasteful" (2026-10-28). */
@import url("cormorant.css");

:root {
  --cardinal: #8C1515; --cardinal-deep: #5e0e0e; --gold: #b8975a; --gold-text: #806126; --ivory: #faf7f2;
  --ink: #2b2522; --muted: #6b5d52; --navy: #121A36; --navy-soft: #2b3560; --green: #2f6b3a;
  --line: rgba(184,151,90,.45); --paper: rgba(255,255,255,.94);
  --serif: "Cormorant Garamond", Garamond, Georgia, "Liberation Serif", serif;
  --sans: "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  width: 390px; height: 844px; overflow: hidden; position: relative;
  color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.4;
  background: radial-gradient(ellipse at 50% 20%, #ffffff 0%, var(--ivory) 55%, #efe8dc 100%);
}
/* fine grain, the paper finish of the front office */
body::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; z-index: 0;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 3px 3px;
}

/* ---------- phone chrome ---------- */
.status {
  position: absolute; top: 0; left: 0; right: 0; height: 44px; z-index: 6;
  display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0 30px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink);
}
.status .icons { display: flex; gap: 6px; align-items: center; }
.homebar {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 134px; height: 5px; border-radius: 3px; background: rgba(43,37,34,.55);
}

/* ---------- page frame ---------- */
.screen { position: relative; z-index: 1; height: 844px; padding: 58px 20px 0; display: flex; flex-direction: column; }
.screen > * { flex-shrink: 0; }   /* a long list runs off the bottom like a real phone; nothing squeezes */
.fade { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; z-index: 5; pointer-events: none;
  background: linear-gradient(180deg, rgba(250,247,242,0), rgba(239,232,220,.96)); }
.screen.center-col { justify-content: center; align-items: center; text-align: center; padding-bottom: 64px; }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; margin-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { height: 30px; }
.brand .word { font-weight: 500; font-size: 15px; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--cardinal); }
.link { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); text-decoration: none; }
.link.center { display: block; text-align: center; }
.eyebrow { display: block; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }
h1 { margin: 4px 0 0; font-weight: 500; font-size: 34px; line-height: 1.1; letter-spacing: .04em; color: var(--cardinal); }
h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.rule { width: 56px; height: 1px; margin: 12px 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule.mid { margin-left: auto; margin-right: auto; }
.lead { margin: 0; font-size: 18px; line-height: 1.5; font-style: italic; color: #3d342f; }
.body { margin: 10px 0 0; font-size: 17px; }
.fine { margin: 18px 0 0; font-family: var(--sans); font-size: 11px; line-height: 1.55; color: var(--muted); letter-spacing: .02em; }
.fine.left { text-align: left; margin-top: 10px; }

/* ---------- the title box (the Stanford box) ---------- */
.hero {
  position: relative; width: 100%; padding: 34px 24px 28px; text-align: center;
  border: 1px solid rgba(184,151,90,.55); border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -20px rgba(94,14,14,.25), 0 12px 24px -12px rgba(0,0,0,.15);
}
.hero::after { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(184,151,90,.35); border-radius: 2px; }
.hero .logo { height: 64px; }
.hero .h1 { margin: 14px 0 6px; font-weight: 500; font-size: 34px; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--cardinal); }
.hero .sub { font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); line-height: 1.8; }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--cardinal); border-radius: 3px;
  padding: 16px 18px 16px; box-shadow: 0 18px 34px -24px rgba(94,14,14,.3), 0 6px 14px -8px rgba(0,0,0,.1);
}
.card + .card { margin-top: 14px; }
.card.navy { border-top-color: var(--navy); }
.card .eyebrow { margin-bottom: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px;
  border: 0; border-radius: 3px; background: var(--cardinal); color: #fff;
  font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  box-shadow: 0 14px 26px -14px rgba(94,14,14,.55);
}
.btn.big { height: 66px; margin-top: 18px; font-size: 13px; }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy-soft); box-shadow: none; }
.btn.white { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 22px -16px rgba(0,0,0,.35); }
.btn .g { font-family: var(--sans); font-weight: 700; font-size: 18px; color: #4285F4; letter-spacing: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 28px; }
.card .btn { margin-top: 12px; height: 52px; }

/* ---------- the file list ---------- */
.day { margin-top: 18px; }
.dayhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.count { font-family: var(--sans); font-size: 11px; color: var(--muted); flex: 1; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid.small { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.grid.three { gap: 10px; margin: 14px 0 16px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: #cfc6b8; border: 1px solid rgba(0,0,0,.06); }
/* a photo of a handout: paper on a desk */
.tile .paper { position: absolute; left: 12%; top: 8%; width: 76%; height: 96%; background: #fdfcf9; box-shadow: 0 2px 6px rgba(0,0,0,.28); transform: rotate(-3deg); padding: 10% 9%; }
.tile .paper i { display: block; height: 3px; margin: 0 0 5px; background: #bdb6aa; border-radius: 2px; }
.tile .paper i.h { height: 5px; width: 60%; background: #8a8378; margin-bottom: 7px; }
.tile .paper i.s { width: 70%; }
.tile.b { background: #c1b7a7; } .tile.b .paper { transform: rotate(2.5deg); }
.tile.c { background: #d9d2c6; } .tile.c .paper { transform: rotate(-1deg) translateY(4%); }
/* a document: flat paper with a type label */
.tile.pdf, .tile.doc { background: #ffffff; }
.tile.pdf .paper, .tile.doc .paper { transform: none; left: 18%; top: 10%; width: 64%; height: 80%; box-shadow: 0 1px 3px rgba(0,0,0,.15); border: 1px solid #e6e0d6; }
.tile .tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font-family: var(--sans); font-size: 9px; letter-spacing: .03em; color: #fff; background: rgba(43,37,34,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.pdf .tag { background: var(--cardinal); } .tile.doc .tag { background: var(--navy); }
/* a screenshot of a school site */
.tile.shot { background: #2a2a2a; }
.tile.shot .ui { position: absolute; inset: 10% 14%; background: #fff; border-radius: 3px; overflow: hidden; }
.tile.shot .ui::before { content: ""; display: block; height: 18%; background: var(--navy); }
.tile.shot .ui i { display: block; height: 3px; margin: 6px 8px 0; background: #cfc8bd; border-radius: 2px; }
.tile.shot .ui i.r { background: var(--cardinal); width: 40%; }
/* marks */
.tile .ck { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--cardinal); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gold); }
.tile .ck::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tile .spin { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.75); border: 2px solid rgba(184,151,90,.35); border-top-color: var(--gold); }
.tile .o { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(43,37,34,.25); }
.tile.sel { outline: 2px solid var(--cardinal); outline-offset: -2px; }
.tile.sel:focus:not(:focus-visible) { outline: 2px solid var(--cardinal); outline-offset: -2px; } /* a tapped tile keeps its ring */
.tile.dimmed { opacity: .7; }

/* ---------- sheets ---------- */
.dim { position: absolute; inset: 0; z-index: 3; background: rgba(43,37,34,.3); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: #fff; border-radius: 16px 16px 0 0;
  padding: 10px 20px 40px; box-shadow: 0 -20px 50px rgba(43,37,34,.25);
}
.grab { width: 36px; height: 4px; border-radius: 2px; background: rgba(43,37,34,.2); margin: 0 auto 14px; }
.sheet h2 { font-size: 26px; font-weight: 500; color: var(--cardinal); letter-spacing: .02em; }
.bar { height: 4px; border-radius: 2px; background: rgba(184,151,90,.3); margin-top: 14px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--cardinal); }
.meta { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 11px; color: var(--muted); margin: 8px 0 14px; }
.sheet .stack { margin-top: 16px; }

/* ---------- captured ---------- */
.ring { width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--gold); background: #fff; display: grid; place-items: center; box-shadow: 0 24px 44px -26px rgba(94,14,14,.45); margin-bottom: 24px; }
.ring .check { width: 26px; height: 50px; border: solid var(--cardinal); border-width: 0 4px 4px 0; transform: rotate(45deg) translate(-5px, -8px); }
.bignum { font-size: 58px; line-height: 1; color: var(--cardinal); font-weight: 500; margin-top: 8px; }

/* ---------- people ---------- */
.people { list-style: none; margin: 8px 0 0; padding: 0; }
.people li { position: relative; display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: 0; padding-bottom: 2px; }
.people b { font-weight: 600; font-size: 18px; }
.people span { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.people .link { position: absolute; right: 0; top: 14px; }
.field { margin-top: 12px; height: 50px; border: 1px solid var(--line); border-radius: 3px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-family: var(--sans); font-size: 14px; color: #9a8f85; }
.selh { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); }
/* Live responsive pages; the approved mocks above supply the visual tokens. */
body { width:auto; height:auto; min-height:100dvh; overflow:visible; }
body::before { position:fixed; }
.screen { height:auto; min-height:100dvh; max-width:760px; margin:auto; padding:28px 20px 40px; }
.screen.center-col { max-width:430px; padding-top:60px; padding-bottom:60px; }
.top a, .link, button { min-height:44px; display:inline-flex; align-items:center; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button,a { cursor:pointer; }
a { color:var(--gold-text); }
button { font:inherit; }
.btn { text-decoration:none; min-height:56px; height:auto; padding:15px; }
button:disabled { opacity:.55; cursor:default; }
:focus:not(:focus-visible) { outline:none; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
[hidden] { display:none !important; }
label { display:block; margin:12px 0 4px; }
input:not([type=file]),select { width:100%; padding:13px; border:1px solid var(--gold); border-radius:3px; background:white; color:var(--ink); font:16px var(--sans); min-height:48px; }
form { width:100%; }
.entry-form { display:flex; flex-direction:column; gap:12px; margin:20px 0; }
.entry-form label, .entry-form .fine { margin:0; }
.or { display:flex; align-items:center; gap:12px; margin:6px 0; font-family:var(--sans); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-text); }
.or::before, .or::after { content:''; flex:1; height:1px; background:var(--line); }
.entry-form .g_id_signin { display:flex; justify-content:center; }
.signin-email { margin-top:24px; width:100%; }
.signin-email summary { justify-content:center; }
.card { margin-top:18px; }
.fine { font-size:12px; }
.top { gap:12px; }
.top .links { display:flex; gap:16px; }
.link { font-size:11px; letter-spacing:.12em; background:none; border:0; padding:6px 0; }
.tools { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-top:12px; flex-wrap:wrap; }
.grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tile { display:block; color:var(--ink); text-decoration:none; min-width:0; background:#fff; padding:0; }
.tile img { width:100%; height:100%; object-fit:cover; }
.tile .filename { padding:15px 8px; display:flex; align-items:center; justify-content:center; height:100%; font:12px var(--sans); overflow-wrap:break-word; word-break:normal; hyphens:auto; text-align:center; }
.tile .tag { font-size:10px; }
.tile .ck { z-index:1; }
.file-caption { font:12px var(--sans); overflow-wrap:anywhere; }
.dropzone { display:none; }
dialog { border:1px solid var(--line); color:var(--ink); background:#fff; max-width:560px; width:calc(100% - 32px); max-height:90dvh; padding:24px; border-radius:10px; }
dialog:modal { overscroll-behavior:contain; }
dialog::backdrop { background:rgba(43,37,34,.4); overflow:hidden; overscroll-behavior:contain; }
dialog h2 { font-size:28px; color:var(--cardinal); }
dialog .grid { margin:18px 0; max-height:40dvh; overflow:auto; padding:3px; }
dialog .stack { margin-top:20px; }
progress { appearance:none; border:0; border-radius:3px; width:100%; height:5px; background:#e6decc; margin-top:18px; }
progress::-webkit-progress-bar { background:#e6decc; border-radius:3px; }
progress::-webkit-progress-value { background:var(--cardinal); border-radius:3px; }
progress::-moz-progress-bar { background:var(--cardinal); border-radius:3px; }
.captured { text-align:center; }
.captured .ring { margin:24px auto; }
.captured .bignum { margin:12px auto; }
.error { color:var(--cardinal); font:14px var(--sans); }
.test-box { border:2px dashed var(--gold); padding:12px; margin-top:20px; font:14px var(--sans); }
.people li { gap:3px; }
.people-actions { display:flex; gap:20px; }
.people-actions form { width:auto; }
.people-actions .link { position:static; }
.file-heading, #failed-files { overflow-wrap:anywhere; }
button.tile { border:0; font:inherit; text-align:inherit; }
button.tile:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.viewer-image { width:100%; max-height:65dvh; object-fit:contain; margin:24px 0; }
.bin-grid { margin-top:20px; }
.bin-item { min-width:0; }
.bin-item .fine { margin:10px 0; }
.bin-item .btn { width:100%; padding:10px 4px; font-size:10px; letter-spacing:.08em; }
.capture-actions { display:flex; flex-direction:column; gap:12px; }
@media (min-width:700px) {
 .screen { padding-top:40px; }
 .grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
 dialog .grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .dropzone { display:block; border:1px dashed var(--gold); padding:22px; text-align:center; margin-top:16px; color:var(--muted); }
 .dropzone.over { background:#fff; border-color:var(--cardinal); }
}
@media (max-width:699px) {
 dialog { margin:auto 0 0; width:100%; max-width:none; max-height:88dvh; border-radius:16px 16px 0 0; padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }
.brand { text-decoration:none; }
.tile img { object-position:top; }
.captured > .brand { text-align:left; }
.captured h2 { font:500 11px var(--sans); letter-spacing:.32em; text-transform:uppercase; color:var(--gold-text); }
@media (max-width:699px) {
 dialog.capture-complete { height:100dvh; max-height:100dvh; margin:0; border:0; border-radius:0; padding:28px 20px; }
 .capture-complete .captured { min-height:calc(100dvh - 56px); display:flex; flex-direction:column; justify-content:center; }
 .capture-complete .captured > .brand { margin-bottom:auto; }
 .capture-complete .captured > .ring { margin-top:28px; }
 .capture-complete .captured > :last-child { margin-bottom:auto; }
}
/* School-day reminders use the existing card and cardinal/gold palette. */
.reminder-row {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line,#e5d9c5)}
.reminder-row>span,.reminder-row>div {min-width:0;flex:1}
.reminder-row .fine {display:block;margin:6px 0 0}
.reminder-row select {width:auto;max-width:52%;margin:0}
.reminder-row input[type=checkbox] {appearance:none;flex:0 0 42px;width:42px;height:26px;min-height:26px;padding:0;margin:0;border-radius:20px;background:#aaa;position:relative;cursor:pointer;border:0}
.reminder-row input[type=checkbox]:checked {background:#9b1c20}
.reminder-row input[type=checkbox]::after {content:'';position:absolute;width:20px;height:20px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 1px 3px #0003}
.reminder-row input[type=checkbox]:checked::after {left:19px}
.reminder-row input:focus-visible {outline:2px solid #9b1c20;outline-offset:4px}
.reminder-state {font-size:13px;margin-top:16px}
.reminder-steps {padding-left:24px}
.reminder-steps li {padding:12px 0;border-bottom:1px solid #e5d9c5}
.reminder-form+form {margin:16px 0 24px}
#reminder-feedback {font-size:14px}

/* Staff readings: existing paper/card style, no change to family tiles. */
.reading { margin-top: 24px; overflow-wrap: anywhere; }
.reading-warning { color: var(--cardinal); font-weight: 600; }
.reading-questions { list-style: none; padding: 0; }
.reading-questions li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.reading-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 7px;
  background: var(--ivory); color: var(--cardinal); font-size: 12px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }

/* The counselor's pages (/staff): the laptop layout of docs/design/invite-mocks, same tokens. */
.screen.staff { max-width:1240px; padding-top:24px; }
.staff-top { flex-wrap:wrap; gap:16px; padding-bottom:14px; border-bottom:1px solid var(--line); margin-bottom:26px; }
.staff-top .brand img { height:34px; }
.staff-tag { font-family:var(--sans); font-size:10px; letter-spacing:.3em; text-transform:uppercase; color:var(--gold-text); margin-left:6px; padding-left:12px; border-left:1px solid var(--line); }
.staff-nav { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.staff-nav form { width:auto; }
.staff-nav .fine { margin:0; font-size:12px; }
.staff-grid { display:grid; grid-template-columns:1fr; gap:28px; align-items:start; }
@media (min-width:1000px) { .staff-grid { grid-template-columns:1fr 400px; } }
.screen.staff h1 { font-size:38px; }
.screen.staff .card { padding:20px 24px; }
.screen.staff .card .btn { height:auto; }
.grid2 { display:grid; grid-template-columns:1fr; gap:4px 22px; margin-top:8px; }
@media (min-width:700px) { .grid2 { grid-template-columns:1fr 1fr; } .grid2 .wide { grid-column:1 / -1; } }
label.f { position:relative; margin:0; }
label.f span { display:block; font-family:var(--sans); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin:14px 0 6px; }
label.f input, label.f select { margin:0; }
label.f .hint { position:absolute; right:10px; bottom:12px; font:10px var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-text); background:rgba(184,151,90,.12); padding:4px 8px; border-radius:2px; pointer-events:none; }
.actions { display:flex; align-items:center; gap:18px; margin-top:20px; flex-wrap:wrap; }
.actions .fine { margin:0; }
.screen.staff .btn { width:auto; min-height:52px; padding:14px 30px; }
.btn.small { min-height:44px; padding:10px 18px; }
.lead.small { font-size:17px; }
.steps { list-style:none; margin:10px 0 0; padding:0; counter-reset:s; }
.steps li { position:relative; padding:9px 0 9px 36px; border-bottom:1px solid var(--line); line-height:1.4; }
.steps li:last-child { border-bottom:0; }
.steps li::before { counter-increment:s; content:counter(s); position:absolute; left:0; top:9px; width:24px; height:24px; border-radius:50%; border:1px solid var(--gold); color:var(--gold-text); font:11px var(--sans); display:grid; place-items:center; }
.steps li small { display:block; font:11.5px var(--sans); color:var(--muted); margin-top:2px; }
.card.gold { border-top-color:var(--gold); }
dialog.confirm { max-width:720px; }
dialog.confirm .people li { flex-direction:row; align-items:center; gap:14px; flex-wrap:wrap; }
dialog.confirm .people b { min-width:220px; overflow-wrap:anywhere; }
.who { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.st { display:inline-flex; align-items:center; gap:7px; font:11px var(--sans); letter-spacing:.16em; text-transform:uppercase; padding:5px 10px; border-radius:2px; white-space:nowrap; }
.st::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.st.ok { color:var(--green); background:rgba(47,107,58,.1); }
.st.wait { color:var(--gold-text); background:rgba(184,151,90,.14); }
.st.sent { color:var(--navy); background:rgba(18,26,54,.08); }
.code-row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-top:12px; }
.code-row form { width:auto; }
.code { font:600 34px var(--sans); letter-spacing:.22em; margin:6px 0 2px; }
.timeline { list-style:none; margin:10px 0 0; padding:0 0 0 14px; border-left:1px solid var(--line); }
.timeline li { position:relative; padding:6px 0 6px 18px; }
.timeline li::before { content:""; position:absolute; left:-18px; top:14px; width:8px; height:8px; border-radius:50%; background:var(--gold); border:2px solid #fff; box-shadow:0 0 0 1px var(--gold); }
.timeline li.done::before { background:var(--green); box-shadow:0 0 0 1px var(--green); }
.timeline li.wait { color:var(--muted); font-style:italic; }
.timeline li.wait::before { background:#fff; }
.timeline time { font:11px var(--sans); color:var(--muted); margin-left:8px; }
.thumb { display:flex; gap:14px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); }
.thumb .small-tile { width:64px; height:64px; flex-shrink:0; aspect-ratio:auto; }
.thumb b { display:block; font-weight:600; overflow-wrap:anywhere; }
.thumb span { font:11.5px var(--sans); color:var(--muted); }
table.acc { width:100%; border-collapse:collapse; margin-top:10px; font:13.5px var(--sans); }
table.acc th { text-align:left; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); font-weight:500; padding:10px 8px; border-bottom:1px solid var(--line); }
table.acc td { padding:12px 8px; border-bottom:1px solid var(--line); vertical-align:middle; }
table.acc td.name { font:600 18px var(--serif); }
table.acc td.name small { display:block; font:11.5px var(--sans); color:var(--muted); font-weight:400; margin-top:2px; }
table.acc tr.off td.name { color:var(--muted); }
table.acc form { width:auto; }
.tg { display:inline-block; width:40px; height:22px; min-height:22px; border-radius:11px; background:#d9d2c6; position:relative; border:0; padding:0; }
.tg::after { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); }
.tg.on { background:var(--cardinal); }
.tg.on::after { left:21px; }
.tg.lock { background:#b9b2a6; }
.add-staff { display:flex; gap:16px; align-items:flex-end; margin-top:18px; flex-wrap:wrap; }
.add-staff label { flex:1; min-width:240px; }
