/* Arbiter design system (29 Nov): white cards on a light grey canvas, indigo and green, our own lettering for titles,
   the Arbiter emblem and the sword seal as the only drawings. Rule: colour and space carry the page, never ornament. */
:root{
  --paper:#F1E8DB; --paper-deep:#E6E9EE; --card:#FFFFFF;
  --ink:#16181D; --ink-2:#3B3F47; --muted:#767B85; --faint:#B4B9C2;
  --line:#E4E7EC; --hair:#F1E8DB;
  --accent:#7A1E2C; --accent-2:#5E1622; --accent-soft:#F6E9EB;
  --deco:#B8913A; --deco-soft:rgba(184,145,58,.3);
  --gold:#C9A043; --gold-deep:#8C6A1E;
  --green:#3E8E5E; --green-ink:#2C7A4B; --green-soft:#E6F2EA;
  --slate:#5F636A; --orange:#C9761E; --orange-soft:#FBF0E2; --red:#C2413F; --red-soft:#FBEAEA;
  --pass:#2C7A4B; --partial:#B26A12; --fail:#C2413F;
  --display:"Arbiter Display", "Plus Jakarta Sans", system-ui, sans-serif;   /* our own lettering: page and section titles */
  --serif:"Plus Jakarta Sans", Inter, system-ui, sans-serif;                 /* everything people read */
  --label:"TechGates Display", "Plus Jakarta Sans", system-ui, sans-serif;  /* small capitals */
  --sans:"Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, monospace;
  --shadow:0 1px 2px rgba(20,24,40,.04), 0 10px 30px -16px rgba(20,24,40,.12);
  --radius:22px;
  --hatch-accent:repeating-linear-gradient(135deg, rgba(122,30,44,.9) 0 2px, transparent 2px 9px);
  --hatch-gold:repeating-linear-gradient(135deg, rgba(184,145,58,.95) 0 2px, transparent 2px 9px);
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:var(--sans); color:var(--ink); font-size:15px; line-height:1.6; min-height:100vh; font-variant-numeric:lining-nums;
  background:var(--paper); -webkit-font-smoothing:antialiased}
@font-face{font-family:"Arbiter Display"; src:url("fonts/ArbiterDisplay.woff2?v=2") format("woff2"); font-display:swap}
@font-face{font-family:"TechGates Display"; src:url("fonts/TechGatesDisplay.woff2") format("woff2"); font-display:swap}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px; border-radius:6px}
.frame,.corner,.rain{display:none !important}

/* layout */
.app{position:relative; display:grid; grid-template-columns:232px 1fr; min-height:100vh; padding:24px; overflow-x:clip}
.app > *{min-width:0}
.app.solo{grid-template-columns:1fr}
.side{padding:26px 18px; display:flex; flex-direction:column; gap:30px}
.brand{display:flex; flex-direction:column; align-items:center; text-align:center; text-decoration:none}
.brand img{width:112px; margin-bottom:8px}
.brand b{font-family:var(--serif); font-weight:700; font-size:22px; letter-spacing:.1em}
.brand span{font-family:var(--serif); font-weight:500; font-size:17px; color:var(--accent); line-height:1.2}
.nav{display:flex; flex-direction:column; gap:2px}
.nav a{padding:9px 14px; border-radius:8px; color:var(--ink-2); text-decoration:none; font-weight:500; font-size:14px; display:flex; justify-content:space-between}
.nav a:hover{background:rgba(255,255,255,.45)}
.nav a.on{color:var(--ink); background:rgba(255,255,255,.6); box-shadow:inset 2px 0 0 var(--accent)}
.nav small{color:var(--faint); font-weight:400}
.who{margin-top:auto; font-size:13px; color:var(--muted); text-align:center; border-top:1px solid var(--hair); padding-top:16px}
.who b{display:block; color:var(--ink-2); font-weight:500}
.who form{margin-top:8px}
main{position:relative; padding:22px 40px 60px; max-width:1060px; width:100%}
.narrow{max-width:640px; margin:0 auto}
.view{animation:rise .45s ease both}
@keyframes rise{from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none}}
@media (prefers-reduced-motion:reduce){.view{animation:none}}

/* type */
.over{font-size:11px; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); font-weight:600}
h1{font-family:var(--serif); font-weight:600; font-size:52px; line-height:1.04; margin:14px 0 14px; letter-spacing:.005em}
h2{font-family:var(--serif); font-weight:600; font-size:28px; line-height:1.15; margin:0 0 6px}
h3{font-family:var(--serif); font-weight:600; font-size:22px; margin:0 0 4px}
.lede{font-size:16px; color:var(--ink-2); margin:0}
.accent{font-family:var(--serif); font-weight:600; color:var(--accent); font-size:1.18em}
.muted{color:var(--muted)}
.small{font-size:13px}

/* the decorative bits */
.rule{display:flex; align-items:center; gap:14px; margin:20px 0 26px; color:var(--faint)}
.rule::before,.rule::after{content:""; flex:1; height:1px; background:linear-gradient(to right, transparent, var(--line), transparent)}
.rule svg{width:46px; height:12px}
/* the drawing on every page. The two angels are reliefs carved into the page itself (their wall is see-through, made by
   tools/blend_art.py). The woman angel is the main one: on most pages and the biggest; the man with the sword ~10% smaller.
   Both sit fully inside the page: never cut off. */
.page-art{position:absolute; top:-6px; right:0; width:min(1000px,86%); pointer-events:none; z-index:0; user-select:none}
.page-art.art-guardian{width:min(880px,76%); opacity:.92}
.page-art.art-wing{width:min(560px,54%); right:-40px; top:-10px; opacity:.9}
.page-art.art-seal,.page-art.art-emblem{width:min(360px,36%); right:6px; top:4px; opacity:.85}
.page-art.quiet{opacity:.55}
.page-art.art-guardian.quiet{opacity:.5}
@media (max-width:900px){
  .page-art{width:150%; right:-6%; top:-4px; opacity:.6}
  .page-art.art-guardian{width:135%; opacity:.55}
  .page-art.art-wing,.page-art.art-seal,.page-art.art-emblem{width:70%; right:-14%; opacity:.5}
}
main > *:not(.page-art){position:relative; z-index:1}
main > .topbar{z-index:8}             /* 27 Nov: the account menu opens over the page below it, so its links can be clicked */
.topbar{display:flex; justify-content:space-between; align-items:center; gap:12px; margin:4px 0 6px; min-height:30px}
.back{display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 10px; border:1px solid var(--line); border-radius:20px;
  background:rgba(255,255,255,.72); color:var(--ink-2); text-decoration:none; font-size:13.5px; font-weight:500; box-shadow:var(--shadow)}
.back:hover{border-color:var(--faint); color:var(--ink)}
.back span{color:var(--accent); font-size:15px}
.viewer{font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); font-weight:600; background:var(--accent-soft);
  border:1px solid #EBCFD3; padding:4px 12px; border-radius:20px}
/* step-by-step guidance */
.steps{list-style:none; counter-reset:step; margin:0; padding:0}
.steps li{counter-increment:step; display:grid; grid-template-columns:34px 1fr auto; gap:14px; align-items:start; padding:14px 0; border-top:1px solid var(--hair)}
.steps li:first-child{border-top:0}
.steps li::before{content:counter(step); width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-family:var(--serif);
  font-weight:700; font-size:17px; border:1px solid var(--faint); color:var(--ink-2); background:rgba(255,255,255,.7)}
.steps li.done::before{content:"✓"; background:#E5F7EA; border-color:#BDE8C9; color:var(--pass); font-family:var(--sans); font-size:14px}
.steps li.next::before{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.steps b{display:block; font-weight:600}
.steps p b{display:inline}
.steps p{margin:2px 0 0; color:var(--muted); font-size:13.5px}
.steps .act{white-space:nowrap; align-self:center}
.code-card{display:grid; grid-template-columns:auto 1fr; gap:6px 28px; align-items:center}
.code{font-family:var(--mono); font-size:34px; letter-spacing:.18em; color:var(--accent); background:var(--card); border:1px dashed #E3C2C8;
  border-radius:12px; padding:10px 18px; line-height:1}
.code-card .link{font-family:var(--mono); font-size:13px; color:var(--ink-2); word-break:break-all}
.who-for{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.who-for .panel{margin:0}
.who-for h3{display:flex; justify-content:space-between; align-items:baseline}
.who-for small{font-family:var(--sans); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.hero{position:relative; padding:40px 0 34px; min-height:320px}
.hero > *{position:relative; max-width:500px}

/* surfaces */
.panel{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:26px 30px; margin-bottom:20px}
.panel .hint{font-size:13.5px; color:var(--muted); margin:0 0 16px}
.list{list-style:none; margin:0; padding:0; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.list li + li{border-top:1px solid var(--hair)}
.list .row{display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; padding:18px 24px; text-decoration:none}
a.row:hover{background:rgba(255,255,255,.7)}
.row b{font-family:var(--serif); font-weight:600; font-size:21px}
.row .meta{font-size:13px; color:var(--muted)}
.empty{text-align:center; padding:40px 20px; color:var(--muted)}
.empty h3{color:var(--ink)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.figures{display:flex; flex-wrap:wrap; row-gap:16px; margin-top:26px}
.figures span{white-space:nowrap}
.figures div{padding:0 26px; border-left:1px solid var(--line)}
.figures div:first-child{padding-left:0; border-left:0}
.figures b{display:block; font-family:var(--serif); font-weight:600; font-size:30px; line-height:1}
.figures span{font-size:12.5px; color:var(--muted)}

/* controls */
.btn{display:inline-block; font:500 14px var(--sans); padding:11px 20px; border-radius:10px; border:1px solid #5E1622; background:var(--accent);
  color:#FFFFFF; cursor:pointer; text-decoration:none; box-shadow:0 1px 0 rgba(255,255,255,.18) inset, 0 8px 18px -10px rgba(122,30,44,.7)}
.btn:hover{background:var(--accent-2)}
.btn.quiet{background:rgba(255,255,255,.7); color:var(--ink); border-color:var(--line); box-shadow:var(--shadow)}
.btn.quiet:hover{border-color:var(--faint)}
.btn.link{background:none; border:0; box-shadow:none; color:var(--muted); padding:0; font-size:13px; text-decoration:underline}
.btn.google{display:inline-flex; align-items:center; gap:12px; background:var(--card); color:var(--ink); border-color:var(--line); box-shadow:var(--shadow)}
.btn.google:hover{border-color:var(--faint)}
.field{margin-bottom:16px}
.field label{display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:6px}
.field small{display:block; color:var(--muted); font-size:12.5px; margin-top:4px}
input[type=text],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=date],input[type=datetime-local],select,textarea{
  width:100%; font:inherit; color:var(--ink); background:rgba(255,255,255,.75); border:1px solid var(--line); border-radius:10px; padding:10px 12px}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(122,30,44,.12)}
textarea{min-height:96px; resize:vertical}
.pill{font-size:12px; padding:2px 10px; border-radius:20px; font-weight:500; white-space:nowrap}
.pill.ok{background:#E5F7EA; color:var(--pass)} .pill.wait{background:#F4EBD8; color:var(--partial)} .pill.off{background:#FCEBEC; color:var(--fail)}
.flash{background:var(--accent-soft); border:1px solid #EBCFD3; color:var(--accent); padding:10px 14px; border-radius:10px; margin-bottom:18px}
table.plain{width:100%; border-collapse:collapse}
table.plain th{font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:600; text-align:left; padding:10px 14px; border-bottom:1px solid var(--line)}
table.plain td{padding:12px 14px; border-bottom:1px solid var(--hair); vertical-align:middle}
.inline{display:inline}

@media (max-width:900px){
  .app{grid-template-columns:1fr; padding:10px}
  .side{padding:14px 8px 0; gap:16px} .brand img{width:76px} .nav{flex-direction:row; flex-wrap:wrap; justify-content:center} .who{display:flex; flex-wrap:wrap; gap:4px 10px; align-items:center; justify-content:center; margin:0; padding-top:10px; font-size:12px} .who b{display:inline} .who form{margin:0}
  main{padding:8px 14px 40px} h1{font-size:40px} .hero{min-height:0; padding-top:20px}
  .who-for{grid-template-columns:1fr} .code-card{grid-template-columns:1fr}
  .panel{padding:20px 18px} .grid2{grid-template-columns:1fr} .corner{display:none} .frame{inset:5px}
  .table-wrap{overflow-x:auto}
}

/* ---------- reports (judging room and organizer views) ---------- */
.picks{list-style:none; margin:0; padding:0; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.picks li + li{border-top:1px solid var(--hair)}
.picks a{display:grid; grid-template-columns:54px 1fr auto 22px; gap:18px; align-items:center; padding:18px 24px; text-decoration:none; transition:background .2s}
.picks a:hover{background:rgba(255,255,255,.7)}
.picks a:hover .go{transform:translateX(3px); color:var(--accent)}
.num{font-family:var(--serif); font-weight:600; font-size:22px; color:var(--accent); text-align:center}
.pname{font-family:var(--serif); font-weight:600; font-size:22px; line-height:1.15}
.pmeta{font-size:13px; color:var(--muted)}
.why{display:block; font-size:13.5px; color:var(--ink-2); margin-top:3px}
.score{text-align:right}
.score b{display:block; font-size:18px; font-weight:600}
.score small{font-size:12px; color:var(--muted)}
.score small.done{color:var(--pass)}
.go{color:var(--faint); transition:.2s; font-size:18px}
.tbar{display:flex; align-items:center; gap:14px; margin-top:22px; flex-wrap:wrap}
.tbar b{font-family:var(--serif); font-size:40px; font-weight:600; line-height:1; color:var(--accent)}
.tbar small{font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-right:12px}
.ask{list-style:none; margin:0; padding:0; counter-reset:q}
.ask li{counter-increment:q; display:grid; grid-template-columns:40px 1fr; padding:12px 0; font-size:16px; line-height:1.55}
.ask li + li{border-top:1px solid var(--hair)}
.ask li::before{content:counter(q, upper-roman) "."; font-family:var(--serif); font-weight:700; color:var(--accent); font-size:19px; line-height:1.3}
.checks{list-style:none; margin:0; padding:0}
.checks li{display:grid; grid-template-columns:110px 1fr; gap:16px; padding:11px 0; align-items:baseline}
.checks li + li{border-top:1px solid var(--hair)}
.state{font-size:12.5px; font-weight:600; display:flex; align-items:center; gap:7px}
.state::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor}
.state.pass,.state.confirmed,.state.ok{color:var(--pass)} .state.partial,.state.partly,.state.unknown,.state.na{color:var(--partial)}
.state.fail,.state.not_found,.state.contradicted,.state.concern{color:var(--fail)}
.ev{display:block; font-size:13px; color:var(--muted)}
code{font-family:var(--mono); font-size:12px; color:var(--ink-2); background:var(--card); padding:1px 5px; border-radius:4px}
.claim{padding:14px 0} .claim + .claim{border-top:1px solid var(--hair)}
.claim q{font-family:var(--serif); font-size:19px}
.claim p{margin:4px 0 0; color:var(--ink-2); font-size:14.5px}
.brief{font-family:var(--serif); font-size:19px; line-height:1.55; color:var(--ink)}
.brief p{margin:0 0 12px}
details.more{border:1px solid var(--line); border-radius:var(--radius); padding:0 30px; margin-bottom:20px}
details.more summary{cursor:pointer; list-style:none; padding:18px 0; display:flex; justify-content:space-between; align-items:center; font-family:var(--serif); font-size:22px; font-weight:600}
details.more summary::-webkit-details-marker{display:none}
details.more summary span{font-family:var(--sans); font-size:13px; font-weight:400; color:var(--muted)}
.more-body{padding:0 0 24px; display:grid; gap:26px}
.more-body h3{font-family:var(--sans); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin:0 0 10px; font-weight:600}
.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{font-size:13px; padding:4px 11px; border-radius:20px; background:rgba(255,255,255,.6); border:1px solid var(--line)}
.arch svg{width:100%; height:auto; display:block}
.bars{display:flex; align-items:flex-end; gap:3px; height:64px; max-width:620px}
.bars i{flex:1; background:var(--accent); border-radius:3px 3px 0 0; min-height:2px}
.ppl{display:grid; gap:8px; max-width:560px}
.ppl div{display:grid; grid-template-columns:150px 1fr 44px; gap:12px; align-items:center; font-size:13.5px}
.ppl i{display:block; height:5px; border-radius:3px; background:var(--paper-deep); overflow:hidden}
.ppl i::after{content:""; display:block; height:100%; width:var(--w); background:var(--ink-2); opacity:.45}
.ppl em{font-style:normal; color:var(--muted); text-align:right}
.shots{display:grid; grid-template-columns:3fr 1fr; gap:14px; align-items:start}
.shots img{width:100%; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow)}
.flagline{display:flex; gap:10px; padding:10px 0; border-top:1px solid var(--hair)}
.flagline:first-child{border-top:0}
.scoregrid{display:grid; grid-template-columns:1.2fr 110px 2fr; gap:10px 16px; align-items:center}
@media (max-width:900px){
  .picks a{grid-template-columns:36px 1fr auto; padding:15px 16px; gap:12px} .go{display:none}
  details.more{padding:0 18px} .checks li{grid-template-columns:1fr; gap:2px} .shots{grid-template-columns:1fr}
  .scoregrid{grid-template-columns:1fr 1fr} .scoregrid .note{grid-column:1 / -1}
}

/* ---------- public gallery and project pages ---------- */
.gallery{display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:20px}
.gcard{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; text-decoration:none; display:flex; flex-direction:column; transition:transform .2s}
.gcard:hover{transform:translateY(-2px)}
.gcard .cover{aspect-ratio:16/10; background:var(--paper-deep) center/cover no-repeat; border-bottom:1px solid var(--line); display:grid; place-items:center}
.gcard .cover img{width:64px; opacity:.35}
.gcard .body{padding:16px 18px}
.gcard b{font-family:var(--serif); font-size:21px; font-weight:600; display:block}
.award{display:inline-block; font-size:11.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#7A5A1E; background:#F6EBD3; border:1px solid #E6D3A8; border-radius:20px; padding:2px 10px; margin:6px 6px 0 0}

/* ---------- the score, and why (23 Nov) ---------- */
.score-head{display:flex; justify-content:space-between; align-items:baseline; gap:12px}
.score-head .total b{font-family:var(--serif); font-size:44px; font-weight:600; color:var(--accent); line-height:1}
.score-head .total small{font-size:12px; color:var(--muted); margin-left:6px}
.sb{list-style:none; margin:0; padding:0}
.sb li{padding:12px 0; border-top:1px solid var(--hair)}
.sb li:first-child{border-top:0}
.sb-top{display:flex; justify-content:space-between; align-items:baseline; gap:12px}
.sb-top b{font-weight:600; font-size:14.5px}
.sb-num{font-family:var(--serif); font-weight:600; font-size:22px; color:var(--ink); white-space:nowrap}
.sb-num small{font-family:var(--sans); font-size:12px; color:var(--muted); font-weight:400}
.sb-bar{height:5px; border-radius:3px; background:var(--paper-deep); margin:6px 0 7px; overflow:hidden}
.sb-bar i{display:block; height:100%; background:var(--accent); opacity:.7; border-radius:3px}
.sb-why{font-size:14px; color:var(--ink-2); line-height:1.5}
.sb-w{font-size:12px; color:var(--muted); margin-top:3px}
.sb.compact li{padding:8px 0} .sb.compact .sb-num{font-size:18px} .sb.compact .sb-why{font-size:13px}

/* the five-minute brief, in four parts */
.brief4{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.brief4 section{background:rgba(255,255,255,.55); border:1px solid var(--hair); border-radius:12px; padding:14px 18px}
.brief4 h3{font-family:var(--sans); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); font-weight:600; margin:0 0 8px}
.brief4 .good h3{color:var(--pass)} .brief4 .bad h3{color:var(--fail)} .brief4 .askit h3{color:var(--accent)}
.brief4 ul{margin:0; padding-left:18px} .brief4 li{margin:0 0 6px; line-height:1.5; font-size:14.5px}
.brief4 .ask li{font-size:14.5px; padding:6px 0; grid-template-columns:30px 1fr} .brief4 .ask li::before{font-size:16px}
.brief4.compact{margin-top:12px} .brief4.compact section{padding:10px 14px} .brief4.compact li{font-size:13.5px}
.gloss{margin-top:18px} .gloss h3{font-family:var(--sans); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); font-weight:600; margin:0 0 8px}
.gloss dl{display:grid; grid-template-columns:max-content 1fr; gap:6px 16px; margin:0; font-size:14px}
.gloss dt{font-weight:600} .gloss dd{margin:0; color:var(--ink-2)}

/* how someone uses it: numbered steps, with the live site beside the first ones */
.journey{list-style:none; margin:0; padding:0; display:grid; gap:4px}
.journey li{display:grid; grid-template-columns:38px 1fr; gap:14px; align-items:start; padding:10px 0; position:relative}
.journey li:not(:last-child)::after{content:""; position:absolute; left:18px; top:44px; bottom:-6px; width:1px; background:var(--line)}
.jn{width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font-family:var(--serif); font-weight:700; font-size:17px;
 background:var(--accent); color:#FFFFFF}
.journey p{margin:5px 0 0; font-size:15px}
.jshot{display:block; margin-top:10px; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); width:100%; max-width:400px}
.jshot.mobile{max-width:150px}

/* the judging room: every team, ranked, each a row that folds open */
.tier-head{display:flex; justify-content:space-between; align-items:baseline; gap:10px; flex-wrap:wrap; margin:26px 0 8px}
.tier{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.tier.picks-tier{border-color:#D9C2BB; box-shadow:0 0 0 3px rgba(122,30,44,.06), var(--shadow)}
.tier.deep-tier{background:var(--card)}
details.trow + details.trow{border-top:1px solid var(--hair)}
details.trow > summary{list-style:none; cursor:pointer; display:grid; grid-template-columns:44px 1fr auto; gap:16px; align-items:center; padding:16px 22px}
details.trow > summary::-webkit-details-marker{display:none}
details.trow > summary:hover{background:rgba(255,255,255,.6)}
details.trow[open] > summary{background:rgba(255,255,255,.55)}
.rk{font-family:var(--serif); font-weight:700; font-size:22px; color:var(--accent); text-align:center}
.trow.top .rk{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:#FFFFFF; font-size:19px; justify-self:center}
.tmain b{font-family:var(--serif); font-weight:600; font-size:21px; line-height:1.15}
.tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:6px}
.tag{font-style:normal; font-size:11.5px; padding:1px 9px; border-radius:20px; background:var(--card); color:var(--ink-2)}
.tag.deep{background:var(--accent-soft); color:var(--accent)} .tag.ok{background:#E5F7EA; color:var(--pass)} .tag.warn{background:#FCEBEC; color:var(--fail)}
.tscore{text-align:right; white-space:nowrap}
.tscore b{display:block; font-family:var(--serif); font-size:28px; font-weight:600; line-height:1}
.tscore small{font-size:11px; color:var(--muted)}
.tscore::after{content:"Open ▾"; display:block; font-size:11.5px; color:var(--faint); margin-top:4px}
details.trow[open] .tscore::after{content:"Close ▴"}
.tbody{padding:4px 22px 20px 82px; animation:rise .3s ease both}
.tact{display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; margin-top:16px}
.move{display:inline-flex; gap:8px; align-items:center; font-size:13px; color:var(--muted)}
.move input{width:76px; padding:8px 10px} .move .btn.quiet{padding:8px 14px}
.tbar-score{display:inline-flex; align-items:center; gap:14px; text-decoration:none}
@media (max-width:900px){
 .brief4{grid-template-columns:1fr}
 details.trow > summary{grid-template-columns:30px 1fr auto; gap:10px; padding:14px 14px}
 .tmain b{font-size:19px} .tscore b{font-size:24px} .rk{font-size:19px}
 .trow.top .rk{width:30px; height:30px; font-size:16px}
 .tbody{padding:4px 14px 18px}
 .gloss dl{grid-template-columns:1fr} .gloss dd{margin-bottom:6px}
}
.trow .why{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
details.trow[open] .why{-webkit-line-clamp:unset; display:block}
/* the sidebar stays in view on wide screens, so Sign out is always there */
@media (min-width:901px){ .side{position:sticky; top:24px; height:calc(100vh - 48px); overflow-y:auto} }
.arch-links{margin:14px auto 0; max-width:560px; padding-left:18px; font-size:13.5px; color:var(--ink-2); columns:2; column-gap:28px}
.arch-links li{margin:0 0 5px; break-inside:avoid}
@media (max-width:900px){ .arch-links{columns:1} }

/* ---------- the live judging progress board ---------- */
.live-dot{font-family:var(--sans); font-size:12px; font-weight:600; color:var(--pass); white-space:nowrap; margin-left:6px}
.live-dot[data-state="off"]{color:var(--partial)}
.pb-top{display:flex; justify-content:space-between; align-items:flex-end; gap:18px; flex-wrap:wrap}
.pb-pct b{font-family:var(--serif); font-size:52px; font-weight:600; line-height:1; color:var(--accent); margin-right:10px}
.pb-pct span,.pb-eta span{font-size:13px; color:var(--muted)}
.pb-eta{text-align:right} .pb-eta b{display:block; font-family:var(--serif); font-size:26px; font-weight:600; line-height:1.1}
.pb-bar{height:10px; border-radius:6px; background:var(--paper-deep); margin:18px 0 6px; overflow:hidden; position:relative}
.pb-bar i{display:block; height:100%; border-radius:6px; background:linear-gradient(90deg, #5E1622, var(--accent)); transition:width .8s ease}
.pb-bar.moving i{background:linear-gradient(90deg, #5E1622 0%, #B0675C 45%, #5E1622 60%, var(--accent) 100%); background-size:220% 100%; animation:pb-sheen 2.4s linear infinite}
@keyframes pb-sheen{from{background-position:120% 0} to{background-position:-100% 0}}
.pb-figs{margin-top:16px}
/* the flow: how many teams stand at each step, with markers moving along the arrows where work is happening */
.flow{list-style:none; margin:0 0 20px; padding:0; display:grid; grid-template-columns:repeat(7, 1fr); gap:0}
.flow li{position:relative; text-align:center; padding:12px 4px 10px}
.flow li:not(.end)::after{content:""; position:absolute; top:27px; right:-14%; width:28%; height:1px; background:var(--faint)}
.flow li:not(.end)::before{content:"›"; position:absolute; top:15px; right:-6px; color:var(--faint); font-size:16px}
.flow li.busy::after{background:linear-gradient(90deg, transparent 0 40%, var(--accent) 40% 60%, transparent 60%); background-size:300% 100%;
 height:2px; animation:flow-run 1.4s linear infinite}
@keyframes flow-run{from{background-position:100% 0} to{background-position:0 0}}
.fl-n{display:grid; place-items:center; width:32px; height:32px; margin:0 auto 6px; border-radius:50%; border:1px solid var(--line);
 background:rgba(255,255,255,.75); font-weight:600; font-size:14px; position:relative; z-index:1}
.flow li.busy .fl-n{border-color:var(--accent); color:var(--accent); animation:ring 1.8s ease-out infinite}
.flow li.end .fl-n{background:#E5F7EA; border-color:#BDE8C9; color:var(--pass)}
.fl-l{font-size:11.5px; color:var(--muted); line-height:1.25; display:block}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(122,30,44,.35)} 70%,100%{box-shadow:0 0 0 9px rgba(122,30,44,0)}}
/* one row per team */
.pb-rows{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.pb-legend,.pb-row{display:grid; grid-template-columns:minmax(180px, 1.1fr) 2fr; gap:16px; align-items:center; padding:12px 22px}
.pb-legend{grid-template-columns:minmax(180px, 1.1fr) repeat(7, 1fr); padding-top:14px; padding-bottom:6px; gap:0 4px}
.pb-legend span{font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); text-align:center; line-height:1.2}
.pb-row{border-top:1px solid var(--hair)}
.pb-row.failed{background:var(--card)}
.pb-name b{font-family:var(--serif); font-size:18px; font-weight:600} .pb-name small{font-size:11.5px; color:var(--muted); margin-left:6px}
.pb-line{display:block; font-size:12.5px; color:var(--muted); line-height:1.4}
.pb-row.active .pb-line{color:var(--accent)} .pb-row.failed .pb-line{color:var(--fail)} .pb-row.done .pb-line{color:var(--pass)}
.track{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(7, 1fr); gap:4px; align-items:center}
.track li{position:relative; display:grid; place-items:center; height:26px}
.track li:not(:last-child)::after{content:""; position:absolute; left:calc(50% + 12px); right:calc(-50% + 10px); top:50%; height:2px; background:var(--hair)}
.track li.s-done:not(:last-child)::after,.track li.s-skipped:not(:last-child)::after{background:#EBCFD3}
.track i{font-style:normal; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:700;
 border:1px solid var(--line); background:var(--card); color:var(--faint); position:relative; z-index:1}
.track .s-done i{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.track .s-skipped i{background:var(--paper-deep); border-color:var(--paper-deep); color:var(--muted)}
.track .s-failed i{background:var(--fail); border-color:var(--fail); color:#fff; font-size:15px}
.track .s-queued i{border-color:#EBCFD3}
.track .s-active i{border:2px solid var(--accent); animation:ring 1.6s ease-out infinite}
.track .s-active i::after{content:""; width:8px; height:8px; border-radius:50%; background:var(--accent); animation:beat 1.6s ease-in-out infinite}
@keyframes beat{50%{transform:scale(.5); opacity:.5}}
/* a marker running along the line into the step that is being worked on */
.track li:has(+ li.s-active)::after{background:linear-gradient(90deg, #EBCFD3 0 35%, var(--accent) 35% 65%, #EBCFD3 65%); background-size:300% 100%;
 animation:flow-run 1.2s linear infinite}
@media (prefers-reduced-motion:reduce){ .pb-bar.moving i,.flow li.busy::after,.flow li.busy .fl-n,.track .s-active i,.track .s-active i::after,.track li::after{animation:none} }
@media (max-width:900px){
 .flow{grid-template-columns:repeat(4, 1fr); row-gap:4px} .flow li:nth-child(4)::after,.flow li:nth-child(4)::before{display:none}
 .pb-legend{display:none}
 .pb-row{grid-template-columns:1fr; gap:8px; padding:12px 14px}
 .pb-eta{text-align:left} .pb-pct b{font-size:42px}
}

/* ---------------------------------------------------------------- 27 Nov: a real website frame
   Public pages: a top bar (Product / Company menus, Sign in, Host a hackathon). Signed-in pages: back on the left, your
   account (with Sign out) on the right of every page. A footer on every page. Menus are <details>, so they work without JS. */
.app.site{grid-template-columns:1fr; padding-top:0}
.app.site main{max-width:1120px; margin:0 auto; padding-top:10px}
.site-head{position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:14px clamp(16px,4vw,48px); background:var(--card); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--hair)}
.site-brand{display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink)}
.site-brand img{width:38px; height:auto}
.site-brand span{display:flex; flex-direction:column; line-height:1.05}
.site-brand b{font-family:var(--serif); font-weight:700; font-size:20px; letter-spacing:.12em}
.site-brand i{font-family:var(--serif); font-size:14px; color:var(--accent)}
.site-menu{display:none}
.site-menu > summary::-webkit-details-marker,.drop > summary::-webkit-details-marker,.acct > summary::-webkit-details-marker{display:none}
.site-nav{display:flex; align-items:center; gap:6px}
.site-nav > a.plain,.drop > summary{padding:8px 12px; border-radius:8px; color:var(--ink-2); text-decoration:none; font-weight:500; font-size:14.5px; cursor:pointer; list-style:none}
.site-nav > a.plain:hover,.drop > summary:hover{background:rgba(255,255,255,.55); color:var(--ink)}
.site-nav > a.plain{display:none}
.drop,.acct{position:relative}
.caret{font-size:10px; color:var(--muted); margin-left:2px}
.menu{position:absolute; top:calc(100% + 8px); right:0; min-width:250px; background:var(--card); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 18px 44px -16px rgba(20,24,40,.32); padding:8px; display:flex; flex-direction:column; z-index:30}
.drop .menu{left:0; right:auto; min-width:300px}
.menu a{display:block; padding:10px 12px; border-radius:9px; text-decoration:none; color:var(--ink); font-size:14px}
.menu a:hover{background:var(--accent-soft)}
.menu a b{display:block; font-weight:600}
.menu a span{display:block; color:var(--muted); font-size:12.5px; margin-top:2px}
.site-actions{display:flex; align-items:center; gap:10px; margin-left:14px}
.site-signin{color:var(--ink); text-decoration:none; font-weight:500; padding:8px 12px; border-radius:8px}
.site-signin:hover{background:rgba(255,255,255,.55)}
.site-actions .btn{padding:9px 16px}
/* the account menu */
.topbar-r{display:flex; align-items:center; gap:10px}
.acct > summary{list-style:none; display:inline-flex; align-items:center; gap:8px; padding:4px 10px 4px 4px; border:1px solid var(--line);
  border-radius:22px; background:rgba(255,255,255,.72); cursor:pointer; box-shadow:var(--shadow); font-size:13.5px; color:var(--ink-2)}
.acct > summary:hover{border-color:var(--faint)}
.acct-dot{width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:#FFFFFF; font-weight:600; font-size:13px}
.acct-name{max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.menu-who{padding:10px 12px 12px; border-bottom:1px solid var(--hair); margin-bottom:6px; font-size:13px; color:var(--muted)}
.menu-who b{display:block; color:var(--ink); font-size:14px}
.menu-who span{display:block; overflow:hidden; text-overflow:ellipsis}
.menu form{margin:6px 0 0; border-top:1px solid var(--hair); padding-top:6px}
.menu-out{width:100%; text-align:left; background:none; border:0; padding:10px 12px; border-radius:9px; font:600 14px var(--sans); color:var(--accent); cursor:pointer}
.menu-out:hover{background:var(--accent-soft)}
/* the footer */
.site-foot{position:relative; z-index:1; margin:30px clamp(16px,4vw,48px) 22px; padding:34px 0 0; border-top:1px solid var(--line); color:var(--ink-2)}
.foot-grid{display:grid; grid-template-columns:1.6fr repeat(4,1fr); gap:28px; max-width:1120px; margin:0 auto}
.foot-grid h4{font:600 11px var(--sans); letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin:6px 0 12px}
.foot-grid a{display:block; color:var(--ink-2); text-decoration:none; font-size:14px; padding:4px 0}
.foot-grid a:hover{color:var(--accent)}
.foot-brand p{font-size:14px; color:var(--muted); max-width:280px; margin:12px 0 0}
.foot-out{background:none; border:0; padding:4px 0; font:500 14px var(--sans); color:var(--accent); cursor:pointer}
.foot-note{max-width:1120px; margin:26px auto 0; font-size:12.5px; color:var(--muted)}
@media (min-width:1100px){ .site-nav > a.plain{display:inline-block} }
@media (max-width:900px){
  .site-head{padding:10px 16px}
  .site-menu > summary{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--line); border-radius:10px;
    background:rgba(255,255,255,.7); cursor:pointer; font-weight:500; font-size:14px; list-style:none}
  .burger,.burger::before,.burger::after{display:block; width:16px; height:2px; background:var(--ink-2); border-radius:2px; position:relative; content:""}
  .burger::before{position:absolute; top:-5px} .burger::after{position:absolute; top:5px}
  .site-wide{display:none} .site-menu{display:block} .site-menu .site-nav{display:none}
  .site-menu .drop > summary{pointer-events:none; color:var(--muted); font-size:12px; letter-spacing:.14em; text-transform:uppercase; padding:10px 12px 2px}
  .site-menu .drop .caret{display:none}
  .site-menu[open] .site-nav{display:flex; flex-direction:column; align-items:stretch; position:fixed; left:12px; right:12px; top:64px;
    background:var(--card); border:1px solid var(--line); border-radius:16px; padding:10px; box-shadow:0 24px 50px -18px rgba(20,24,40,.4); gap:2px;
    max-height:calc(100vh - 80px); overflow-y:auto}
  .site-menu[open] .drop[open] .menu,.site-menu[open] .drop .menu{position:static; box-shadow:none; border:0; padding:0 0 6px 8px; min-width:0}
  .site-menu .drop{position:static}
  .site-actions{margin:8px 0 0; padding-top:10px; border-top:1px solid var(--hair); flex-wrap:wrap}
  .site-actions .btn{flex:1; text-align:center}
  .acct .menu{right:0; min-width:230px}
  .acct-name{display:none}
  .foot-grid{grid-template-columns:1fr 1fr; gap:20px}
  .foot-brand{grid-column:1 / -1}
  .topbar{flex-wrap:wrap}
}
/* public pages: sections, cards, founders, questions, legal text */
.hero-home{min-height:440px; padding-top:70px}
.hero-home > *{max-width:560px}
.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
.sec{position:relative; z-index:1; margin:54px 0}
.sec-head{max-width:640px; margin-bottom:22px}
.sec-head h2{font-size:34px}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.grid3 .panel,.grid2 .panel{margin:0}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.grid2.tight{gap:12px}
.steps.big li{grid-template-columns:40px 1fr; padding:18px 0}
.steps.big li::before{width:36px; height:36px; font-size:19px}
.steps.big b{font-size:16.5px; margin-bottom:3px}
.steps.big span{display:block}
.cta-band{display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; padding:30px 34px}
.cta-band .cta-row{margin:0}
.cta-band h2{margin-bottom:4px}
.big-price{font-family:var(--serif); font-size:46px; font-weight:600; margin:8px 0 6px}
.big-price small{font-family:var(--sans); font-size:14px; color:var(--muted); font-weight:400}
.ticks{list-style:none; padding:0; margin:18px 0 22px}
.ticks li{padding:7px 0 7px 26px; position:relative; border-top:1px solid var(--hair)}
.ticks li::before{content:"✓"; position:absolute; left:2px; color:var(--pass); font-weight:600}
.plain-list{padding-left:20px} .plain-list li{margin:10px 0}
.founders{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.founder{margin:0; display:flex; flex-direction:column}
.founder-top{display:flex; align-items:center; gap:18px; margin-bottom:14px}
.founder-top img{width:96px; height:96px; border-radius:50%; object-fit:cover; border:3px solid #FFFFFF; box-shadow:0 0 0 1px var(--line), var(--shadow)}
.founder-top h2{margin:0 0 4px}
.founder-role{font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); font-weight:600}
.founder p{color:var(--ink-2); line-height:1.65}
.founder-links{display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:14px; border-top:1px solid var(--hair)}
.founder-links .btn{padding:7px 14px; font-size:13px}
.faq{max-width:820px}
.qa{padding:0; margin-bottom:12px}
.qa summary{list-style:none; cursor:pointer; padding:20px 26px; display:flex; justify-content:space-between; align-items:center; gap:14px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+"; font-size:22px; color:var(--accent); font-weight:300}
.qa[open] summary::after{content:"–"}
.qa summary h3{margin:0; font-size:20px}
.qa p{margin:0; padding:0 26px 22px}
.prose{max-width:820px; line-height:1.7; position:relative; z-index:1}
.prose h2{font-size:22px; margin:22px 0 6px} .prose h2:first-child{margin-top:0}
.prose ul{padding-left:20px}
.hp{position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden}
.video{padding:10px}
.video video{display:block; width:100%; border-radius:10px; background:#1d1814}
.contact select,.contact textarea{width:100%}
@media (max-width:900px){
  .grid3,.grid2,.founders{grid-template-columns:1fr}
  .hero-home{min-height:0; padding-top:30px}
  .sec{margin:38px 0} .sec-head h2{font-size:28px}
  .cta-band{padding:22px 20px}
  .big-price{font-size:38px}
}

/* 27 Nov: things you can press look pressable. Rows in a list show an arrow and lift on hover; the next thing to do is marked. */
.list.go .row{position:relative; padding-right:52px; transition:background .15s}
.list.go .row::after{content:"›"; position:absolute; right:22px; top:50%; transform:translateY(-50%); font-size:26px; line-height:1;
  color:var(--faint); transition:transform .15s, color .15s}
.list.go .row:hover{background:rgba(255,255,255,.65)}
.list.go .row:hover::after{color:var(--accent); transform:translate(3px,-50%)}
.list.go .row.next{background:var(--accent-soft); box-shadow:inset 3px 0 0 var(--accent)}
.list.go .row.next::after{color:var(--accent)}
.pill.next{background:var(--accent); color:#FFFFFF; border-color:var(--accent)}
.tap-hint{font-size:14px; color:var(--ink-2); margin:6px 0 12px}
.steps li.next{background:linear-gradient(to right, var(--accent-soft), transparent); border-radius:10px}
.steps li.next .act{animation:nudge 2.4s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateX(0)} 50%{transform:translateX(4px)}}
@media (prefers-reduced-motion:reduce){ .steps li.next .act{animation:none} }
/* the organizer sign-up page */
.mini-steps{display:flex; gap:10px; list-style:none; padding:0; margin:22px 0 0; counter-reset:ms; flex-wrap:wrap}
.mini-steps li{counter-increment:ms; font-size:13px; color:var(--ink-2); background:rgba(255,255,255,.7); border:1px solid var(--line);
  border-radius:20px; padding:5px 14px 5px 6px}
.mini-steps li::before{content:counter(ms); display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%;
  background:var(--accent); color:#FFFFFF; font-size:11px; font-weight:600; margin-right:8px}
.org-form{position:relative; z-index:1; max-width:880px}
.org-form .panel{margin-bottom:20px}
.part{display:flex; gap:16px; align-items:flex-start; margin-bottom:16px}
.part-n{flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:#FFFFFF;
  font-family:var(--serif); font-weight:700; font-size:19px}
.part h2{margin:2px 0 2px}
.req{color:var(--accent); font-style:normal}
.judge-card{position:relative; border:1px solid var(--line); border-radius:14px; padding:18px 20px 4px; margin:0 0 14px; background:rgba(255,255,255,.55)}
.judge-card legend{font-family:var(--serif); font-weight:600; font-size:18px; padding:0 8px; color:var(--ink)}
.judge-remove{position:absolute; top:-12px; right:14px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:3px 12px;
  font:500 12.5px var(--sans); color:var(--fail); cursor:pointer}
.judge-remove:hover{border-color:var(--fail)}
.add-judge{width:100%; border-style:dashed !important; padding:13px}
.form-end{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin:6px 0 40px}
.btn.big{padding:14px 26px; font-size:15.5px}
.plain-ticks{padding-left:18px; margin:4px 0 16px}
input:disabled{opacity:.7}
.add-teams summary{list-style:none; cursor:pointer; display:flex; gap:10px; align-items:baseline; flex-wrap:wrap}
.add-teams summary::-webkit-details-marker{display:none}
.add-teams[open] summary{margin-bottom:14px}
.big-num{display:block; font-family:var(--serif); font-weight:600; font-size:30px; line-height:1.1}

/* 27 Nov: the progress board. Headings and every team row share ONE grid, so each bubble sits exactly under its heading. */
.pb-rows .pb-grid{display:grid; grid-template-columns:minmax(210px,1.6fr) repeat(7, minmax(0,1fr)); column-gap:6px; align-items:center;
  padding:12px 22px}
.pb-rows .pb-legend{padding-top:16px; padding-bottom:8px; border-bottom:1px solid var(--hair)}
.pb-rows .pb-legend span{font-size:10.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); text-align:center; line-height:1.25}
.pb-rows .pb-legend .pb-name{text-align:left}
.pb-item{display:block; border-top:1px solid var(--hair)}
.pb-item:first-of-type{border-top:0}
.pb-item.failed{background:var(--card)}
.pb-item > summary{list-style:none; cursor:pointer}
.pb-item > summary::-webkit-details-marker{display:none}
.pb-item[open] > summary{background:rgba(255,255,255,.5)}
.pb-row .pb-name b{font-family:var(--serif); font-size:18px; font-weight:600}
.pb-row .pb-name small{font-size:11.5px; color:var(--muted); margin-left:6px}
.pb-item.active .pb-line{color:var(--accent)} .pb-item.failed .pb-line{color:var(--fail)} .pb-item.done .pb-line{color:var(--pass)}
.pb-cost{display:block; font-size:12px; color:var(--muted); margin-top:2px}
.pb-step{position:relative; display:grid; place-items:center; height:28px}
.pb-step:not(:last-child)::after{content:""; position:absolute; left:calc(50% + 13px); right:calc(-50% + 7px); top:50%; height:2px; background:var(--hair)}
.pb-step.s-done:not(:last-child)::after,.pb-step.s-skipped:not(:last-child)::after{background:#EBCFD3}
.pb-step i{font-style:normal; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:700;
  border:1.5px solid var(--line); background:var(--card); color:var(--muted); position:relative; z-index:1}
.pb-step.s-done i{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.pb-step.s-skipped i{background:var(--paper-deep); border-color:var(--paper-deep); color:var(--muted)}
.pb-step.s-failed i{background:var(--fail); border-color:var(--fail); color:#fff; font-size:15px}
.pb-step.s-queued i{border-color:#EBCFD3}
.pb-step.s-active i{border:2px solid var(--accent); animation:ring 1.6s ease-out infinite}
.pb-step.s-active i::after{content:""; width:8px; height:8px; border-radius:50%; background:var(--accent); animation:beat 1.6s ease-in-out infinite}
.pb-step-name{display:none}
.pb-detail{display:grid; grid-template-columns:1fr 1fr; gap:18px; padding:4px 22px 18px}
.pb-detail h4{font:600 11px var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:8px 0 6px}
.pb-detail table,.pb-problems table{width:100%}
.mono-ish{font-family:var(--mono); font-size:11.5px; word-break:break-word}
.pb-when{font-size:13px; color:var(--ink-2); margin:8px 0 0}
.pb-eta-label{display:block; font:600 11px var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}
.pb-eta .countdown{font-family:var(--serif); font-size:40px; font-weight:600; line-height:1.05; color:var(--accent); font-variant-numeric:tabular-nums}
.pb-note{display:block; font-size:12px; color:var(--partial); margin-top:4px}
.pb-money{border-top:1px dashed var(--line); padding-top:14px; margin-top:14px}
.pb-explain h3,.pb-problems h3{margin-bottom:8px}
@media (prefers-reduced-motion:reduce){ .pb-step.s-active i,.pb-step.s-active i::after{animation:none} }
@media (max-width:900px){
  .pb-rows .pb-legend{display:none}
  .pb-rows .pb-grid{grid-template-columns:repeat(7, minmax(0,1fr)); row-gap:10px; padding:12px 14px}
  .pb-rows .pb-grid .pb-name{grid-column:1 / -1}
  .pb-detail{grid-template-columns:1fr; padding:4px 14px 14px; overflow-x:auto}
  .pb-eta .countdown{font-size:34px}
}
.share-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
/* 27 Nov: the founders' price calculator and the organizer's price card */
.calc{position:relative; z-index:1}
.calc-step{display:flex; gap:16px; align-items:flex-start; margin-bottom:14px}
.calc-step h2,.calc-step h3{margin:2px 0 2px}
.told{display:grid; grid-template-columns:repeat(4, 1fr); gap:0; margin:0; border:1px solid var(--hair); border-radius:12px; overflow:hidden}
.told > div{padding:12px 16px; border-right:1px solid var(--hair); border-bottom:1px solid var(--hair); background:rgba(255,255,255,.5)}
.told dt{font:600 10.5px var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:4px}
.told dd{margin:0; font-family:var(--serif); font-size:20px; font-weight:600; color:var(--ink)}
.told dd small{display:block; font-family:var(--sans); font-size:12px; font-weight:400; color:var(--muted)}
.told dd.long{font-family:var(--sans); font-size:14px; font-weight:400; line-height:1.45}
.told > div:nth-child(n+7){grid-column:span 2}
.calc-table{width:100%}
.calc-table .num{text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums}
.calc-table tfoot td{border-top:2px solid var(--line); padding-top:12px; font-size:15px}
.calc-table small{color:var(--muted); font-size:11.5px}
.price-math{display:flex; align-items:stretch; gap:10px; flex-wrap:wrap; margin:6px 0 20px}
.price-math > div{background:rgba(255,255,255,.6); border:1px solid var(--line); border-radius:12px; padding:12px 16px; min-width:130px}
.price-math > div span{display:block; font-size:12px; color:var(--muted)}
.price-math > div b{font-family:var(--serif); font-size:26px; font-weight:600}
.price-math > .op{background:none; border:0; min-width:0; padding:0 2px; display:grid; place-items:center; color:var(--muted); font-size:15px}
.price-math > .final{background:var(--accent); border-color:var(--accent)}
.price-math > .final span,.price-math > .final b{color:#FFFFFF}
.check-line{font-weight:400; display:flex; gap:10px; align-items:flex-start; margin:0 0 6px; font-size:14px}
.check-line input{margin-top:4px}
.calc-warn{color:var(--fail); font-weight:600; margin:10px 0 0}
.message-box{width:100%; font:14px/1.55 var(--sans); min-height:320px}
.price-card{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:6px}
.price-card > div{background:rgba(255,255,255,.65); border:1px solid var(--line); border-radius:14px; padding:16px 20px}
.price-card b{display:block; font-family:var(--serif); font-size:38px; font-weight:600; color:var(--accent); line-height:1.1}
.price-card small{color:var(--muted); font-size:13px}
.pay-note{margin:4px 0 0; padding:12px 16px; border-radius:12px; background:var(--accent-soft); color:var(--ink-2); font-size:14px; line-height:1.5}
@media (max-width:900px){ .told{grid-template-columns:1fr 1fr} .told > div:nth-child(n+7){grid-column:1 / -1} .price-card{grid-template-columns:1fr} .price-math > .op{display:none} }
.calc-table tr.loss td[data-k=keep],.calc-table tr.loss td[data-k=margin]{color:var(--fail)}
.founders-only{display:inline-block; margin:12px 0 0; padding:6px 12px; border-radius:20px; background:var(--accent-soft); border:1px solid #EBCFD3; color:var(--accent); font-size:13px; font-weight:500}

/* 27 Nov: the judges' explanation. A reading column: generous type, room to breathe, one idea per block. */
.story{position:relative; z-index:1; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:38px clamp(20px, 5vw, 64px) 30px; margin-bottom:22px}
.story p{font-size:16.5px; line-height:1.75; color:var(--ink); margin:0 0 14px; max-width:72ch}
.story-head{border-bottom:1px solid var(--hair); padding-bottom:24px; margin-bottom:8px}
.story-verdict{font-family:var(--serif); font-size:23px; line-height:1.55; color:var(--ink); margin:10px 0 0; max-width:62ch}
.story-sec{padding:26px 0 8px; border-bottom:1px solid var(--hair)}
.story-sec:last-child{border-bottom:0}
.story-sec h2{font-size:27px; margin:0 0 14px}
.story-sec h3{font-family:var(--serif); font-size:19px; font-weight:600; margin:0 0 6px}
.story-shots{display:flex; gap:16px; flex-wrap:wrap; margin:4px 0 18px}
.story-shots figure{margin:0; flex:1 1 260px; max-width:420px}
.story-shots img{width:100%; border-radius:10px; border:1px solid var(--line); box-shadow:var(--shadow); display:block}
.story-shots figcaption{font-size:12.5px; color:var(--muted); margin-top:6px}
.story-steps{list-style:none; counter-reset:st; padding:0; margin:0}
.story-steps li{counter-increment:st; position:relative; padding:4px 0 8px 52px}
.story-steps li::before{content:counter(st); position:absolute; left:0; top:2px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
  background:var(--accent); color:#FFFFFF; font-family:var(--serif); font-weight:700; font-size:17px}
.story-checks{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.story-check{border:1px solid var(--hair); border-radius:14px; padding:16px 18px; background:rgba(255,255,255,.55)}
.story-check dl{margin:6px 0 0; display:grid; grid-template-columns:auto 1fr; gap:6px 12px; font-size:15px; line-height:1.55}
.story-check dt{font:600 11px var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--muted); padding-top:3px}
.story-check dd{margin:0; color:var(--ink)}
.story-claim{display:grid; grid-template-columns:auto 1fr; gap:14px; padding:12px 0; border-top:1px solid var(--hair)}
.story-claim:first-of-type{border-top:0}
.story-claim b{display:block; font-size:16px; margin-bottom:4px}
.claim-pill{font:600 11.5px var(--sans); padding:5px 10px; border-radius:20px; white-space:nowrap; align-self:start}
.claim-pill.ok{background:#E5F7EA; color:var(--pass)} .claim-pill.part{background:#FDF1E4; color:var(--partial)}
.claim-pill.no{background:#FCEBEC; color:var(--fail)} .claim-pill.unknown{background:var(--paper-deep); color:var(--muted)}
.story-aside{background:var(--accent-soft); border-radius:14px; padding:14px 18px 2px; margin:0 0 16px}
.story-aside p{font-size:15px}
.story-timeline{list-style:none; margin:8px 0 0; padding:0 0 0 18px; border-left:2px solid #E2D3CB}
.story-timeline li{position:relative; padding:0 0 14px 12px}
.story-timeline li::before{content:""; position:absolute; left:-25px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--accent); border:2px solid #FFFFFF}
.tl-when{font-weight:600; font-size:14px; color:var(--ink)} .tl-who{font-size:13px; color:var(--muted); margin-left:10px}
.story-timeline p{font-size:15px; margin:2px 0 0}
.story-score{padding:12px 0; border-top:1px solid var(--hair)}
.story-score:first-of-type{border-top:0}
.ss-head{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin-bottom:6px}
.ss-head h3{margin:0}
.ss-num{font-family:var(--serif); font-size:26px; font-weight:600; color:var(--accent)} .ss-num small{font-size:14px; color:var(--muted)}
.ss-weight{font-size:13px; color:var(--muted)}
.story-two{display:grid; grid-template-columns:1fr 1fr; gap:28px}
.story-two ul{margin:0; padding-left:20px} .story-two li{font-size:15.5px; line-height:1.65; margin-bottom:10px}
.story-questions{padding-left:22px; margin:0} .story-questions li{margin-bottom:14px; font-size:16px}
.story-questions p{font-size:15px; color:var(--ink-2); margin:4px 0 0}
.story-glossary{display:grid; grid-template-columns:minmax(140px, auto) 1fr; gap:8px 18px; margin:0}
.story-glossary dt{font-weight:600} .story-glossary dd{margin:0; color:var(--ink-2); line-height:1.55}
.story-findings > summary{cursor:pointer; list-style:none}
.story-findings > summary::-webkit-details-marker{display:none}
.writer-tabs{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.writer-tabs form{display:flex; align-items:center; gap:6px}
@media (max-width:900px){ .story{padding:24px 18px} .story-verdict{font-size:20px} .story-checks,.story-two{grid-template-columns:1fr} .story-glossary{grid-template-columns:1fr} .story-claim{grid-template-columns:1fr} }

/* 27 Nov: working pages. A page head that says what the page is for; blocks with titles; cards for things to act on. */
@media (min-width:901px){ .side{position:sticky; top:24px; height:auto; max-height:none; overflow:visible; align-self:start} }
.page-head{min-height:0; padding-bottom:6px}
.block{position:relative; z-index:1; margin:26px 0 34px}
.block-title{font-size:26px; margin:0 0 14px; display:flex; align-items:baseline; gap:10px}
.block-title small{font:500 14px var(--sans); color:var(--muted)}
.todo-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:16px}
.todo-card{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px 20px; box-shadow:var(--shadow);
  border-left:4px solid var(--faint); display:flex; flex-direction:column; gap:6px}
.todo-card.urgent{border-left-color:var(--fail); background:#FBF4F5} .todo-card.act{border-left-color:var(--accent)}
.todo-card.warn{border-left-color:var(--partial)} .todo-card.info{border-left-color:var(--pass)}
.todo-kind{font:600 10.5px var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}
.todo-card h3{margin:0; font-size:20px}
.todo-card p{margin:0 0 8px; color:var(--ink-2); font-size:14.5px; line-height:1.55}
.todo-card .btn,.todo-card form{align-self:flex-start}
.todo-card form + .btn{margin-top:6px}
.all-clear{display:flex; gap:14px; align-items:flex-start; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px 20px}
.all-clear > span{width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#E5F7EA; color:var(--pass); font-weight:700; flex:none}
.all-clear p{margin:4px 0 0; color:var(--muted); font-size:14px}
.stat-row{display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:12px}
.stat{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 18px}
.stat b{display:block; font-family:var(--serif); font-size:32px; font-weight:600; line-height:1.1}
.stat span{font-size:13px; color:var(--muted)}
.org-cards{display:grid; grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)); gap:16px}
.org-card{background:var(--card); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:18px 20px; display:flex; flex-direction:column; gap:12px}
.org-card header{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.org-card h3{margin:0 0 2px; font-size:21px}
.org-facts{display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; margin:0}
.org-facts dt{font:600 10.5px var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.org-facts dd{margin:2px 0 0; font-size:14px; word-break:break-word}
.org-facts dd small{display:block; color:var(--muted)}
.org-card footer{display:flex; gap:10px; align-items:center; flex-wrap:wrap; border-top:1px solid var(--hair); padding-top:12px; margin-top:auto}
.more-menu{position:relative; margin-left:auto}
.more-menu > summary{list-style:none; cursor:pointer; font-size:13.5px; color:var(--muted); padding:8px 10px; border-radius:8px}
.more-menu > summary::-webkit-details-marker{display:none}
.more-menu > summary:hover{background:rgba(255,255,255,.6); color:var(--ink)}
.more-body{position:absolute; right:0; bottom:calc(100% + 6px); width:300px; background:var(--card); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 18px 44px -16px rgba(20,24,40,.32); padding:14px; z-index:30; display:flex; flex-direction:column; gap:14px}
.more-body form{display:flex; flex-direction:column; gap:8px}
.more-body p{margin:0}
.btn.danger{background:var(--card); color:var(--fail); border-color:#E2B9B0}
.btn.danger:hover{background:#FBF4F5}
main .page-art.quiet{opacity:.32; width:min(620px, 46%)}
@media (max-width:900px){ .org-facts{grid-template-columns:1fr} .more-body{right:auto; left:0; width:min(300px, 80vw)} }
.issue-list{display:flex; flex-direction:column; gap:12px}
.issue{display:flex; justify-content:space-between; gap:18px; align-items:flex-start; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 18px; border-left:4px solid var(--partial)}
.issue h3{margin:2px 0 4px; font-size:19px} .issue p{margin:0 0 6px; color:var(--ink-2)}
.issue form{display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex:none}
.issue-code{display:block; white-space:pre-wrap; font-family:var(--mono); font-size:12px; margin-top:6px; color:var(--muted)}
.mail-list{display:flex; flex-direction:column; gap:8px}
.mail{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px 18px}
.mail > summary{list-style:none; cursor:pointer; display:flex; align-items:center; gap:14px}
.mail > summary::-webkit-details-marker{display:none}
.mail-main{display:flex; flex-direction:column; flex:1; min-width:0} .mail-main b{font-weight:600}
.mail-pill{font:600 11px var(--sans); padding:4px 10px; border-radius:20px; white-space:nowrap}
.mail-pill.sent{background:#E5F7EA; color:var(--pass)} .mail-pill.local{background:#FCEBEC; color:var(--fail)}
.mail-pill.failed{background:#FCEBEC; color:var(--fail)} .mail-pill.queued{background:#FDF1E4; color:var(--partial)}
.mail-body{white-space:pre-wrap; font-family:var(--sans); font-size:14px; color:var(--ink-2); margin:12px 0 4px; border-top:1px solid var(--hair); padding-top:12px}
.ev-cards{display:grid; grid-template-columns:repeat(auto-fill, minmax(380px, 1fr)); gap:16px}
.ev-card{background:var(--card); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:18px 20px; display:flex; flex-direction:column; gap:14px}
.ev-card header{display:flex; justify-content:space-between; gap:12px; align-items:flex-start} .ev-card h3{margin:0 0 2px; font-size:21px}
.ev-card footer{display:flex; gap:8px; flex-wrap:wrap; align-items:center; border-top:1px solid var(--hair); padding-top:12px; margin-top:auto}
.stage-line{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(7, 1fr); gap:3px}
.stage-line li{height:6px; border-radius:3px; background:var(--paper-deep); position:relative}
.stage-line li.done{background:#EBCFD3} .stage-line li.now{background:var(--accent)}
.stage-line li span{position:absolute; left:-9999px}
.ev-facts{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.ev-facts b{display:block; font-family:var(--serif); font-size:22px; font-weight:600}
.ev-facts small{display:block; color:var(--muted); font-size:12.5px}
.mini-bar{height:5px; border-radius:3px; background:var(--paper-deep); margin-top:6px; overflow:hidden} .mini-bar i{display:block; height:100%}
@media (max-width:900px){ .ev-cards{grid-template-columns:1fr} .issue{flex-direction:column} .issue form{align-items:flex-start} }
.stage-caption{margin:-6px 0 0; font-size:13px; color:var(--muted)} .stage-caption b{color:var(--ink-2); font-weight:600}

/* 27 Nov: the judge's team page */
.team-card{position:relative; z-index:1; display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; background:var(--card);
  border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); padding:28px 32px; margin:6px 0 18px}
.tc-place{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.place-badge{font:600 12px var(--sans); letter-spacing:.1em; text-transform:uppercase; background:var(--ink); color:#FFFFFF; padding:5px 12px; border-radius:20px}
.tag-pick{font:600 12px var(--sans); background:var(--accent); color:#FFFFFF; padding:5px 12px; border-radius:20px}
.tag-deep,.tag-soft{font:500 12px var(--sans); background:var(--accent-soft); color:var(--accent); padding:5px 12px; border-radius:20px; border:1px solid #EBCFD3}
.team-card h1{font-size:46px; margin:0 0 4px}
.tc-team{margin:0; color:var(--muted); font-size:14.5px}
.tc-line{margin:12px 0 0; font-size:17px; color:var(--ink-2); line-height:1.55; max-width:62ch}
.tc-links{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; align-items:center}
.link-btn{display:inline-flex; gap:8px; align-items:center; padding:10px 16px; border-radius:10px; border:1px solid var(--line); background:var(--card);
  color:var(--ink); text-decoration:none; font-size:14px; font-weight:500; box-shadow:var(--shadow)}
.link-btn:hover{border-color:var(--accent); color:var(--accent)}
.link-btn span{color:var(--accent)}
.tc-score{display:grid; justify-items:center; gap:6px; text-decoration:none; color:var(--ink); position:relative}
.ring{width:150px; height:150px; transform:rotate(-90deg)}
.ring circle{fill:none; stroke-width:10}
.ring-bg{stroke:var(--paper-deep)} .ring-fg{stroke:var(--accent); stroke-linecap:round; transition:stroke-dasharray 1s ease}
.ring-num{position:absolute; top:0; left:0; right:0; height:150px; display:grid; place-content:center; text-align:center}
.ring-num b{font-family:var(--serif); font-size:48px; font-weight:600; line-height:1} .ring-num small{font-size:12px; color:var(--muted)}
.ring-label{text-align:center; font-weight:600; font-size:13px} .ring-label small{display:block; font-weight:400; color:var(--muted); font-size:11.5px}
.how-to{position:relative; z-index:1; background:var(--accent-soft); border:1px solid #EBCFD3; border-radius:16px; padding:14px 20px; margin-bottom:18px}
.how-to > summary{cursor:pointer; list-style:none} .how-to > summary::-webkit-details-marker{display:none}
.how-steps{list-style:none; counter-reset:hs; display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin:12px 0 4px; padding:0}
.how-steps li{counter-increment:hs; display:flex; flex-direction:column; gap:2px; font-size:13.5px; color:var(--ink-2); padding-left:34px; position:relative}
.how-steps li::before{content:counter(hs); position:absolute; left:0; top:0; width:24px; height:24px; border-radius:50%; background:var(--accent); color:#FFFFFF;
  display:grid; place-items:center; font-weight:700; font-size:12px}
.how-steps b{color:var(--ink); font-size:14.5px}
.glance{position:relative; z-index:1; display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-bottom:22px}
.glance-tile{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px 16px; border-top:4px solid var(--faint)}
.glance-tile.good{border-top-color:var(--pass)} .glance-tile.mixed{border-top-color:var(--partial)} .glance-tile.bad{border-top-color:var(--fail)}
.gl-label{display:block; font:600 11px var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--muted)}
.glance-tile b{display:block; font-family:var(--serif); font-size:22px; font-weight:600; margin:4px 0 2px}
.glance-tile.good b{color:var(--pass)} .glance-tile.mixed b{color:var(--partial)} .glance-tile.bad b{color:var(--fail)}
.glance-tile p{margin:0; font-size:13.5px; color:var(--ink-2); line-height:1.5}
.tabbar{position:sticky; top:0; z-index:12; display:flex; gap:4px; overflow-x:auto; background:var(--card); backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px); border-bottom:1px solid var(--line); padding:10px 2px 0; margin-bottom:18px; scrollbar-width:none}
.tabbar::-webkit-scrollbar{display:none}
.tab{white-space:nowrap; padding:10px 14px; border-radius:10px 10px 0 0; text-decoration:none; color:var(--ink-2); font-weight:500; font-size:14.5px;
  border-bottom:2px solid transparent}
.tab:hover{color:var(--ink); background:rgba(255,255,255,.5)}
.tab.on{color:var(--accent); border-bottom-color:var(--accent); background:rgba(255,255,255,.6)}
.tabs > .tabpanel{position:relative; z-index:1}
.tabpanel:not(.story){background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:30px clamp(20px, 4vw, 48px); margin-bottom:22px}
.tabpanel h2{font-size:28px; margin:0 0 12px}
.good-box,.weigh-box{border-radius:14px; padding:16px 20px} .good-box{background:#E5F7EA} .weigh-box{background:#F5F6F8}
.good-box h3,.weigh-box h3{margin:0 0 8px}
.stack{display:flex; height:14px; border-radius:8px; overflow:hidden; background:var(--paper-deep); margin:8px 0 22px}
.stack i{display:block; height:100%; border-right:2px solid #FFFFFF}
.stack i:nth-child(6n+1){background:#7A3B33} .stack i:nth-child(6n+2){background:#5E1622} .stack i:nth-child(6n+3){background:#B97F72}
.stack i:nth-child(6n+4){background:#C9A18F} .stack i:nth-child(6n+5){background:#8E7F72} .stack i:nth-child(6n+6){background:#BCAE9F}
.score-list{display:flex; flex-direction:column; gap:18px}
.score-item{padding:4px 0 14px; border-bottom:1px solid var(--hair)}
.si-head{display:flex; justify-content:space-between; align-items:baseline} .si-head h3{margin:0; font-size:21px}
.si-num{font-family:var(--serif); font-size:30px; font-weight:600; color:var(--accent)} .si-num small{font-size:14px; color:var(--muted)}
.si-bar{height:8px; border-radius:5px; background:var(--paper-deep); overflow:hidden; margin:6px 0 8px}
.si-bar i{display:block; height:100%; background:linear-gradient(90deg, #5E1622, var(--accent)); border-radius:5px}
.si-meta{font-size:13px; color:var(--muted); margin:0 0 8px}
.q-intro p{color:var(--ink-2); max-width:70ch; line-height:1.6}
.q-filters{display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 6px}
.chip{font:500 13px var(--sans); padding:7px 13px; border-radius:20px; border:1px solid var(--line); background:var(--card); color:var(--ink-2); cursor:pointer}
.chip.on{background:var(--ink); color:#FFFFFF; border-color:var(--ink)} .chip.mine{border-color:var(--accent); color:var(--accent)}
.chip.mine.on{background:var(--accent); color:#FFFFFF}
.q-list{list-style:none; padding:0; margin:16px 0 0; display:flex; flex-direction:column; gap:14px}
.q-card{border:1px solid var(--line); border-radius:16px; padding:18px 20px; background:var(--card); transition:border-color .15s, box-shadow .15s}
.q-card.picked{border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft)}
.q-top{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.q-cat{font:600 11px var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--accent)}
.q-level{font:500 11.5px var(--sans); padding:3px 9px; border-radius:12px; background:var(--paper-deep); color:var(--ink-2)}
.q-level.warmup{background:#E5F7EA; color:var(--pass)} .q-level.deep{background:#FCEBEC; color:var(--fail)}
.q-pick{margin-left:auto; display:flex; gap:6px; align-items:center; font-size:13px; color:var(--ink-2); cursor:pointer}
.q-ask{font-family:var(--serif); font-size:21px; line-height:1.4; margin:10px 0 8px; color:var(--ink)}
.q-why{margin:0 0 12px; font-size:15px; color:var(--ink-2); line-height:1.6}
.q-answers{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.q-strong,.q-weak{border-radius:12px; padding:12px 14px; font-size:14px; line-height:1.55}
.q-strong{background:#E5F7EA} .q-weak{background:#F5F6F8}
.q-strong b{color:var(--pass)} .q-weak b{color:var(--fail)}
.q-strong p,.q-weak p{margin:4px 0 0; color:var(--ink-2)}
.sub-links,.sub-answers{display:grid; grid-template-columns:1fr; gap:0; margin:12px 0 20px}
.sub-links > div,.sub-answers > div{display:grid; grid-template-columns:220px 1fr; gap:16px; padding:12px 0; border-top:1px solid var(--hair)}
.sub-links dt,.sub-answers dt{font-weight:600; color:var(--ink-2)} .sub-links dd,.sub-answers dd{margin:0; white-space:pre-wrap; word-break:break-word}
.sub-round h3{margin:20px 0 4px; font-size:21px}
.your-scores{position:relative; z-index:1; margin-top:28px}
.score-form{display:flex; flex-direction:column; gap:20px; margin:16px 0 20px}
.sf-row{display:grid; grid-template-columns:minmax(220px, 1fr) auto; gap:10px 20px; align-items:center; padding-bottom:18px; border-bottom:1px solid var(--hair)}
.sf-label{display:flex; flex-direction:column; gap:2px} .sf-label b{font-size:17px} .sf-label span{font-size:13.5px; color:var(--ink-2)}
.sf-label small{font-size:12.5px; color:var(--muted)}
.sf-scale{display:flex; gap:4px; flex-wrap:wrap}
.sf-scale label{position:relative; cursor:pointer}
.sf-scale input{position:absolute; opacity:0}
.sf-scale span{display:grid; place-items:center; width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:var(--card); font-weight:600; font-size:14px}
.sf-scale input:checked + span{background:var(--accent); color:#FFFFFF; border-color:var(--accent)}
.sf-scale input:focus-visible + span{outline:2px solid var(--accent); outline-offset:2px}
.sf-row .note{grid-column:1 / -1}
.has-tabs .tabpanel[hidden]{display:none}
@media (max-width:900px){
  .team-card{grid-template-columns:1fr; padding:22px 18px} .team-card h1{font-size:34px} .tc-score{justify-self:start; grid-template-columns:auto 1fr; align-items:center}
  .ring{width:110px; height:110px} .ring-num{height:110px; width:110px; right:auto} .ring-num b{font-size:36px}
  .how-steps,.glance{grid-template-columns:1fr} .q-answers{grid-template-columns:1fr} .sub-links > div,.sub-answers > div{grid-template-columns:1fr; gap:4px}
  .sf-row{grid-template-columns:1fr} .sf-scale span{width:30px; height:30px}
}

/* ---- 27 Nov: the judging room's first page: the job in four steps, progress, the next team, calm team rows */
.jhero{min-height:0; padding-bottom:22px}
.job{position:relative; z-index:1; display:grid; grid-template-columns:1.5fr 1fr; gap:30px; align-items:center; background:var(--card); border:1px solid var(--line);
  border-radius:20px; box-shadow:var(--shadow); padding:26px 30px; margin-bottom:10px}
.job h2{font-size:24px; margin:0 0 12px}
.job-steps ol{list-style:none; counter-reset:js; margin:0; padding:0; display:grid; gap:10px}
.job-steps li{counter-increment:js; position:relative; padding-left:38px; display:flex; flex-direction:column; font-size:13.5px; color:var(--ink-2); line-height:1.5}
.job-steps li::before{content:counter(js); position:absolute; left:0; top:1px; width:26px; height:26px; border-radius:50%; background:var(--accent); color:#FFFFFF;
  display:grid; place-content:center; font:600 13px var(--sans)}
.job-steps li b{color:var(--ink); font-size:14.5px}
.job-next{display:grid; gap:12px; padding-left:28px; border-left:1px solid var(--line)}
.job-count{font-size:14px; color:var(--ink-2)} .job-count b{font-family:var(--serif); font-size:40px; font-weight:600; color:var(--ink); margin-right:4px}
.job-bar{height:10px; border-radius:6px; background:var(--paper-deep); overflow:hidden}
.job-bar i{display:block; height:100%; background:var(--accent); border-radius:6px; transition:width .6s ease}
.job-next .btn.big{justify-self:start; text-align:left; max-width:100%}
.job-next p{margin:0} .job-done{font-family:var(--serif); font-size:22px; color:var(--pass)}
.org-note{grid-template-columns:1fr auto} .org-note h2{font-size:21px; margin:0 0 4px} .org-note p{margin:0}
.jlist{display:grid; gap:10px}
.jrow{position:relative; z-index:1; display:grid; grid-template-columns:auto 1fr auto auto auto; gap:18px; align-items:center; background:var(--card);
  border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:16px 20px; transition:border-color .2s}
.jrow:hover{border-color:#D9C2B9}
.jrow.pick{border-left:4px solid var(--accent)}
.jrow.done{background:var(--card)}
.jr-rank{width:38px; height:38px; border-radius:50%; display:grid; place-content:center; background:var(--paper-deep); font:600 15px var(--sans); color:var(--ink)}
.jrow.pick .jr-rank{background:var(--ink); color:#FFFFFF}
.jr-main{display:grid; gap:3px; text-decoration:none; color:var(--ink); min-width:0}
.jr-name b{font-family:var(--serif); font-size:22px; font-weight:600}
.jr-name .muted{font-size:13.5px}
.jr-line{font-size:14px; color:var(--ink-2); line-height:1.55; max-width:72ch}
.jr-tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:4px} .jr-tags i{font-style:normal} .jr-tags:empty{display:none}
.jr-tags .tag-pick,.jr-tags .tag-deep,.jr-tags .tag-soft{font-size:11.5px; padding:3px 10px}
.jr-flag{font:500 11.5px var(--sans); color:var(--fail); background:#F6E9EB; border:1px solid #EBCFD3; padding:3px 10px; border-radius:20px}
.jr-score{position:relative; width:52px; height:52px; display:grid; place-content:center}
.jr-score svg{position:absolute; inset:0; width:52px; height:52px; transform:rotate(-90deg)}
.jr-score circle{fill:none; stroke-width:4}
.jr-score b{position:relative; font-family:var(--serif); font-size:19px; font-weight:600}
.jr-state{font:600 12px var(--sans); padding:5px 12px; border-radius:20px; white-space:nowrap}
.jr-state.ok{color:var(--pass); background:#E5F7EA} .jr-state.todo{color:var(--muted); background:var(--paper-deep)}
.jr-act{display:flex; align-items:center; gap:8px}
.jr-act .btn{white-space:nowrap}
.jr-move{position:relative}
.jr-move > summary{list-style:none; cursor:pointer; font-size:13px; color:var(--muted); padding:8px 6px; text-decoration:underline; text-underline-offset:3px}
.jr-move > summary::-webkit-details-marker{display:none}
.jr-move form{position:absolute; right:0; top:100%; z-index:20; display:flex; gap:8px; align-items:center; background:var(--card); border:1px solid var(--line);
  border-radius:12px; box-shadow:var(--shadow); padding:12px 14px; white-space:nowrap; font-size:13px}
.jr-move input[type=number]{width:64px}
.arbiter-did{margin-top:26px} .arbiter-did > summary{cursor:pointer} .arbiter-did ul{margin:14px 0 8px; padding-left:20px; color:var(--ink-2)} .arbiter-did li{margin:4px 0}
@media (max-width:820px){
  .job{grid-template-columns:1fr; padding:22px 18px} .job-next{order:-1; padding-left:0; border-left:0; border-bottom:1px solid var(--line); padding-bottom:18px}
  .org-note{grid-template-columns:1fr}
  .jrow{grid-template-columns:auto 1fr auto; gap:10px 14px; padding:14px} .jr-state{grid-column:2} .jr-act{grid-column:1 / -1; justify-content:flex-end}
}

.story-use{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px} .story-use p{margin:0}

.tc-warn{margin:14px 0 0; padding:10px 14px; border-radius:10px; background:#F6E9EB; border:1px solid #EBCFD3; color:#6E2F27; font-size:14px; line-height:1.5; max-width:62ch}

.mine-row{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--hair); text-decoration:none; color:var(--ink)}
.mine-row > span:last-child{color:var(--accent); font-weight:600; white-space:nowrap}
.code-first{max-width:560px}

/* ---- 27 Nov: students */
.chipset{display:flex; flex-wrap:wrap; gap:8px}
.chip-pick{font-weight:400; cursor:pointer; margin:0}
.chip-pick input{position:absolute; opacity:0; pointer-events:none}
.chip-pick span{display:inline-block; padding:6px 13px; border:1px solid var(--line); border-radius:20px; background:var(--card); font-size:13.5px; color:var(--ink-2)}
.chip-pick input:checked + span{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.chip-pick input:focus-visible + span{outline:2px solid var(--accent); outline-offset:2px}
.judged-links h3{margin:0 0 10px} .jl-row{display:grid; grid-template-columns:150px 1fr; gap:10px; padding:6px 0; border-top:1px solid var(--hair); font-size:14px}
.jl-row a{word-break:break-all} .jl-missing{color:var(--fail)}
.submit-bar{display:flex; flex-wrap:wrap; gap:10px; align-items:center} .submit-bar p{flex-basis:100%; margin:0 0 4px}
.field.has-error input{border-color:var(--fail); background:#FBF4F5} .field small.err,.err{display:block; color:var(--fail); font-weight:500}
.ev-info{display:grid; grid-template-columns:1fr 1fr; gap:0 20px; align-items:start}
.ev-row{display:flex; justify-content:space-between; gap:14px; padding:8px 0; border-top:1px solid var(--hair); font-size:14px}
.ev-row span{color:var(--ink-2); text-align:right}
.ev-crit .sb-bar{margin:2px 0 4px} .ev-crit p{margin:0 0 6px}
.student-door{margin-top:16px; padding:12px 16px; border-radius:12px; background:rgba(255,255,255,.7); border:1px solid var(--line); font-size:14.5px; display:inline-block}
@media (max-width:900px){ .ev-info{grid-template-columns:1fr} .jl-row{grid-template-columns:1fr; gap:2px} }
@media (max-width:600px){                 /* phones: the header takes a line, not half the screen */
  .side{flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px 14px; padding:8px 4px 0}
  .brand{flex-direction:row; gap:10px; text-align:left} .brand img{width:38px; margin:0} .brand b{font-size:18px}
  .brand span{font-size:14px; margin-left:4px} .who{padding-top:2px; font-size:11.5px}
  .nav a{padding:6px 10px; font-size:13.5px}
  .hero{padding-top:8px} h1{font-size:34px}
}

/* ---- 27 Nov: judges compare, see their own scores, read warnings in words */
.jr-move-why{margin:0 0 8px; white-space:normal; max-width:260px}
.jr-move form{flex-wrap:wrap; white-space:normal; width:280px}
.my-scores > summary{cursor:pointer} .my-table{width:100%; border-collapse:collapse; margin-top:12px; font-size:14px}
.my-table th{text-align:left; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); padding:6px 8px; border-bottom:1px solid var(--line)}
.my-table td{padding:8px; border-bottom:1px solid var(--hair)}
.top-shots{margin:6px 0 20px}
.cmp-pick{display:flex; flex-wrap:wrap; gap:10px; align-items:end; margin-bottom:18px} .cmp-pick .field{margin:0; min-width:220px; flex:1}
.cmp{width:100%; border-collapse:separate; border-spacing:0; background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow)}
.cmp th,.cmp td{padding:12px 16px; vertical-align:top; border-bottom:1px solid var(--hair); font-size:14px; text-align:left}
.cmp thead th{background:#FBF8F3} .cmp thead th h2{margin:0 0 4px; font-size:24px} .cmp thead th p{margin:0; font-weight:400; color:var(--ink-2)}
.cmp th[scope=row]{width:22%; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:600}
.cmp td{width:39%} .cmp .big{font-family:var(--serif); font-size:30px; font-weight:600} .cmp ul{margin:0; padding-left:18px}
.cmp .tone-good{color:var(--pass)} .cmp .tone-mixed{color:var(--partial)} .cmp .tone-bad{color:var(--fail)}
.cmp .sec td,.cmp .sec th{background:#F7F2EA; font-weight:600; color:var(--ink)}
@media (max-width:820px){ .cmp th[scope=row]{width:auto} .cmp th,.cmp td{padding:10px} }

.top-shots{display:grid; grid-template-columns:2fr 1fr; gap:16px; align-items:start}
.top-shots img{width:100%; max-height:300px; object-fit:cover; object-position:top; border-radius:12px; border:1px solid var(--line)}
.top-shots .shot-mobile img{max-height:300px}
@media (max-width:700px){ .top-shots{grid-template-columns:1fr 1fr} .top-shots img{max-height:220px} }

.mail-tools{display:grid; gap:12px} .mail-counts{display:flex; flex-wrap:wrap; gap:8px 22px; align-items:baseline; font-size:14px}
.mail-counts b{font-family:var(--serif); font-size:22px}
.mail-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center} .mail-search{flex:1; min-width:220px} .mail-search input{width:100%}
.mail-again{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:10px}

.pay-panel{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; border-left:4px solid var(--accent)}
.pay-panel h3{margin:0 0 4px} .pay-panel p{margin:0} .pay-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.ok-flash{background:#E5F7EA; border-color:#CFDDC6; color:#3F5A37}
.pay-wait{text-align:center; padding:40px 20px}

.mail-write > summary{cursor:pointer} .mail-write form{margin-top:14px}


/* ==== 28 Nov layer (colours now from the 29 Nov dashboard skin at the end of this file) ==== */
html{background:#F1E8DB}
body{background:transparent; font-family:var(--serif); font-size:16.5px; line-height:1.72}
/* headings: Arbiter Display for titles; everything read in Literata; controls in Inter */
h1{font-family:var(--display); font-weight:400; letter-spacing:.005em}
h2{font-family:var(--display); font-weight:400}
h3{font-family:var(--serif); font-weight:650; font-size:20px}
.brand b,.site-brand b{font-family:var(--display)}
button,input,select,textarea,.btn,.nav a,.pill,.tag-pick,.tag-deep,.tag-soft,.jr-flag,.jr-state,.chip,.chip-pick span,.tab,
table th,.viewer,.back,.small,.field label,.field small,.hint,.foot-grid,.site-nav,.site-head{font-family:var(--sans)}
.over,.viewer,.tile span,.gl-label,.founder-role,.site-foot h4{font-family:var(--label); letter-spacing:.2em}
.over{color:var(--accent)}
.lede{font-size:17px; color:var(--ink-2)}
.panel p,.story p,.story li{line-height:1.78}
.q-card .q-ask,.q-ask{font-family:var(--serif); font-weight:600; font-size:18px; line-height:1.5}
.tc-line{font-family:var(--serif)}
.accent{font-family:var(--serif); font-style:normal; font-weight:700; font-size:1em; color:var(--accent)}
/* public pages: the text lines up with the ARBITER name in the header */
@media (min-width:901px){
  .app.site main{max-width:1240px; margin:0; padding-left:calc(clamp(16px,4vw,48px) + 24px); padding-right:clamp(16px,4vw,48px)}
  .app.site .hero > *{max-width:640px}
}
/* the two wordmarks */
.arb-word{display:block; width:auto; height:22px}
.site-brand .arb-word,.brand .arb-word{width:auto; height:22px; margin:0}
.brand .arb-word{height:27px; margin:0 auto 2px}
.site-brand b{line-height:0}
.site-brand span{gap:5px}
.site-brand i,.brand span{font-family:var(--label); font-style:normal; font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}
.tg-word{display:inline-block; height:.78em; width:auto; vertical-align:-.04em; margin:0 .08em}
.site-brand .tg-word,.brand .tg-word{width:auto; height:10px; vertical-align:-1px; margin-left:4px}
.made-by{display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:14px; color:var(--muted); font-size:13.5px; font-family:var(--sans)}
.made-by img{height:34px; width:auto} .made-by .tg-word{height:11px} .foot-note .tg-word{height:9px}
.tg-hero{height:78px; width:auto; margin:6px 0 16px}
@media (max-width:600px){ .brand .arb-word{height:20px} }
/* founders */
.founder-top img{width:120px; height:120px; border-radius:18px; object-position:center 22%}
.founder-lines{margin:4px 0 12px; padding-left:18px; color:var(--ink-2)} .founder-lines li{margin:3px 0}
/* accents: wine for action and emphasis, near-black for weight, brass for the small engraved details */
.btn{background:var(--accent); border-color:#5A2225; color:#FFFFFF}
.btn:hover{background:var(--accent-2)}
.btn.dark{background:var(--ink); border-color:var(--ink); color:#F1E8DB}
.hero h1::after{content:""; display:block; width:84px; height:2px; margin-top:16px; background:linear-gradient(90deg, var(--deco), transparent)}
.tier-head h2::after{content:""; display:block; width:56px; height:2px; margin-top:8px; background:linear-gradient(90deg, var(--deco), transparent)}
.figures b,.job-count b,.ring-num b,.cmp .big,.mail-counts b{color:var(--ink)}
.jr-rank{background:var(--ink); color:#F1E8DB}
.jrow.pick{border-left-color:var(--accent)} .jrow.pick .jr-rank{background:var(--accent)}
.steps li::before,.job-steps li::before,.how-steps li::before{background:var(--card); border:1.5px solid var(--deco); color:var(--ink)}
.steps li.next::before{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
table th,.my-table th,table.plain th{color:var(--accent)}
.site-foot h4{color:var(--accent)}
.chip.on,.q-filters .chip.on,.chip-pick input:checked + span{background:var(--ink); border-color:var(--ink); color:#F1E8DB}
.tab.on{color:var(--ink); border-bottom-color:var(--accent)}
.tag-pick{background:var(--accent); color:#FFFFFF}
.place-badge{background:var(--ink); color:#F1E8DB}
.sb-bar i,.job-bar i{background:linear-gradient(90deg, var(--accent), #B4545F)}
main a:not(.btn):not(.tab):not(.row):not(.jr-main):not(.link-btn):not(.back){text-decoration-color:var(--deco-soft)}
main a:not(.btn):not(.tab):not(.row):not(.jr-main):not(.link-btn):not(.back):hover{color:var(--accent)}
.panel{background:var(--card)}
.about-marks{display:flex; align-items:flex-end; gap:18px; flex-wrap:wrap; margin:10px 0 18px}
.about-arb{height:38px; width:auto} .about-by{font-family:var(--label); letter-spacing:.2em; text-transform:uppercase; font-size:12px; color:var(--muted); padding-bottom:4px}
.about-marks .tg-hero{margin:0}

/* ==== 28 Nov: the student journey ==== */
.next-step{border-left:4px solid var(--accent)}
.ns-label{font-family:var(--label); font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); margin-bottom:6px}
.ns-body{display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap}
.ns-body h2{margin:0 0 4px} .ns-body p{margin:0; color:var(--ink-2)}
.journey{list-style:none; margin:6px 0 0; padding:0}
.journey li{display:grid; grid-template-columns:40px 1fr auto; gap:16px; align-items:center; padding:16px 0; border-top:1px solid var(--hair)}
.journey li:first-child{border-top:0}
.js-dot{width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font:600 15px var(--sans); border:1.5px solid var(--deco); color:var(--ink); background:var(--card)}
.js-done .js-dot{background:#E5F7EA; border-color:#BDE8C9; color:var(--pass)}
.js-todo .js-dot{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.js-now .js-dot{background:var(--ink); border-color:var(--ink); color:#F1E8DB}
.js-later{opacity:.62}
.js-warn .js-dot{background:#F6E9EB; border-color:var(--fail); color:var(--fail)}
.js-text b{font-family:var(--serif); font-size:17px} .js-text p{margin:3px 0 0; color:var(--ink-2); font-size:14.5px}
.js-tag{font:600 11px var(--sans); letter-spacing:.06em; text-transform:uppercase; padding:2px 8px; border-radius:20px; background:var(--paper-deep); color:var(--muted); margin-left:6px}
.js-tag.now{background:var(--ink); color:#F1E8DB}
.js-act{white-space:nowrap}
.code-inline{font-family:var(--mono); color:var(--accent); letter-spacing:.06em}
.project-grid{align-items:start; grid-template-columns:1.5fr 1fr}
.link-check h3{margin-bottom:2px}
.lc-row{display:grid; grid-template-columns:30px 1fr; gap:12px; padding:12px 0; border-top:1px solid var(--hair)}
.lc-row p{margin:2px 0 0; font-size:14px; color:var(--ink-2)}
.lc-ic{width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font:700 14px var(--sans); background:var(--paper-deep); color:var(--muted)}
.lc-row.ok .lc-ic{background:#E5F7EA; color:var(--pass)} .lc-row.bad .lc-ic{background:#F6E9EB; color:var(--fail)}
.lc-row.bad b{color:var(--fail)}
.share-grid{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:20px; align-items:start}
.share-card img{width:100%; height:auto; border-radius:14px; border:1px solid var(--line); box-shadow:var(--shadow); display:block}
.share-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:14px}
.share-url{font-family:var(--mono); font-size:13px; word-break:break-all; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin:6px 0 0}
.step-n{float:right; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; border:1.5px solid var(--deco); font:600 14px var(--sans); color:var(--ink)}
.pp-state{margin:0 0 12px; font-weight:600; color:var(--muted)} .pp-state.on{color:var(--pass)}
.result-award{display:flex; gap:22px; align-items:center; border-left:4px solid var(--accent)}
.ra-medal{width:64px; height:64px; border-radius:50%; display:grid; place-items:center; font-size:28px; color:#FFFFFF; background:var(--accent); flex:none}
.result-award h2{margin:0 0 4px}
.cert-panel{display:flex; justify-content:space-between; gap:20px; align-items:center; flex-wrap:wrap}
.cert-panel h2{margin:0 0 4px} .cert-panel .share-actions{margin:0}
.cert-check{max-width:620px; margin-top:20px}
.cc-row{display:grid; grid-template-columns:150px 1fr; gap:14px; padding:10px 0; border-top:1px solid var(--hair)} .cc-row:first-child{border-top:0}
.cc-row span{color:var(--muted); font-size:14px}
.upload-row{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.cert-preview{position:relative; margin:10px 0 16px; border-radius:12px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); max-width:900px}
.cert-preview img{display:block; width:100%; height:auto}
.cert-preview.placeable{cursor:crosshair}
.cert-pin{position:absolute; width:22px; height:22px; margin:-11px 0 0 -11px; border-radius:50%; border:3px solid var(--accent); background:var(--card); box-shadow:0 0 0 4px rgba(110,43,46,.18); pointer-events:none}
.cert-layout{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px 18px; align-items:end; max-width:900px}
.cert-layout .check,.cert-layout .btn{grid-column:1 / -1; justify-self:start}
.check{display:flex; gap:8px; align-items:center; font-weight:400}
.toggle-row{display:flex; justify-content:space-between; align-items:center; gap:20px; padding:14px 0; border-top:1px solid var(--hair)}
.toggle-row:first-of-type{border-top:0} .toggle-row p{margin:2px 0 0}
@media (max-width:900px){ .project-grid,.share-grid{grid-template-columns:1fr} .cert-layout{grid-template-columns:1fr}
  .journey li{grid-template-columns:36px 1fr} .js-act{grid-column:2; justify-self:start} .result-award{align-items:flex-start} }
.toggle-row .btn{white-space:nowrap}

.join-steps{list-style:none; display:flex; gap:10px; flex-wrap:wrap; padding:0; margin:0 0 18px}
.join-steps li{display:flex; align-items:center; gap:10px; padding:8px 16px 8px 8px; border-radius:30px; background:var(--card); border:1px solid var(--line); font:600 14px var(--sans); color:var(--muted)}
.join-steps span{width:26px; height:26px; border-radius:50%; display:grid; place-items:center; border:1.5px solid var(--deco); font-size:13px}
.join-steps li.now{color:var(--ink); border-color:var(--accent)} .join-steps li.now span{background:var(--accent); border-color:var(--accent); color:#FFFFFF}
.join-steps li.done{color:var(--pass)} .join-steps li.done span{background:#E5F7EA; border-color:#BDE8C9; color:var(--pass)}
.cert-panel.comp{border-left:4px solid var(--deco)}
.btn[disabled]{opacity:.45; cursor:not-allowed}

/* ==== 28 Nov: the leaderboard and podium ==== */
.lb-pre{text-align:center}
.lb-count .ns-label{margin-bottom:10px}
.lb-clock{display:flex; justify-content:center; align-items:baseline; gap:6px 10px; flex-wrap:wrap}
.lb-clock b{font-family:var(--display); font-size:58px; line-height:1; color:var(--ink); min-width:1.6ch} .lb-clock span{font-size:13px; color:var(--muted); margin-right:14px}
.lb-figures{display:flex; justify-content:center; gap:44px; margin-top:22px; flex-wrap:wrap}
.lb-figures b{display:block; font-family:var(--display); font-size:40px; color:var(--accent); line-height:1.1} .lb-figures span{font-size:13px; color:var(--muted)}
.choice{display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; font-weight:400; padding:10px 0; border-top:1px solid var(--hair)}
.choice input{margin-top:4px}
/* the big screen */
body.screen{min-height:100vh}
.scr{max-width:1400px; margin:0 auto; padding:40px 56px}
.scr-head{display:flex; align-items:center; gap:28px; margin-bottom:30px} .scr-word{height:44px} .scr-head h1{font-size:54px; margin:0}
.scr-list li{background:var(--card); border-radius:12px; margin-bottom:8px; border:0}
.screen .lb-clock b{font-size:120px}

/* the leaderboard (28 Nov, second pass): gold, silver and bronze; the place first, then the prizes */
:root{--silver:#A3A8B0; --silver-deep:#5F646C; --bronze:#B87336; --bronze-deep:#7E4A1F}
.podium{display:flex; justify-content:center; align-items:flex-end; gap:18px; max-width:880px; margin:18px auto 34px; padding:0 4px;
  border-bottom:4px solid var(--ink)}
.pd{flex:1 1 0; min-width:0; max-width:290px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px}
.pd-medal{width:62px; height:62px; border-radius:50%; display:grid; place-items:center; font:700 26px/1 var(--display); margin-bottom:6px;
  color:#3B2A0C; background:radial-gradient(circle at 34% 28%, #FFF5D6 0, #E8C66A 34%, var(--gold) 62%, var(--gold-deep) 100%);
  box-shadow:0 6px 16px rgba(20,24,40,.22), inset 0 0 0 3px rgba(255,255,255,.4)}
.pd-1 .pd-medal{width:84px; height:84px; font-size:36px}
.pd-2 .pd-medal{color:#262A30; background:radial-gradient(circle at 34% 28%, #FFFFFF 0, #DADDE2 38%, var(--silver) 70%, var(--silver-deep) 100%)}
.pd-3 .pd-medal{color:#33190A; background:radial-gradient(circle at 34% 28%, #FFE8D2 0, #E2A46C 36%, var(--bronze) 68%, var(--bronze-deep) 100%)}
.pd-place{font:600 12px var(--label); letter-spacing:.2em; text-transform:uppercase; color:var(--gold-deep)}
.pd-2 .pd-place{color:var(--silver-deep)} .pd-3 .pd-place{color:var(--bronze-deep)}
.pd-name{font-family:var(--display); font-size:26px; line-height:1.15; color:var(--ink); overflow-wrap:break-word; hyphens:manual} .pd-1 .pd-name{font-size:34px}
.pd-name a{color:inherit; text-decoration:none} .pd-name a:hover{text-decoration:underline}
.pd-team{font-size:14px; color:var(--muted)} .pd-team b{color:var(--accent)}
.pd-awards{display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:4px}
.pd-step{width:100%; margin-top:14px; border-radius:16px 16px 0 0; display:grid; place-items:center; position:relative; overflow:hidden}
.pd-step b{font-family:var(--display); font-size:56px; line-height:1; font-weight:400} .pd-step sup{font-size:.42em; margin-left:2px}
.pd-1 .pd-step{height:178px; background:linear-gradient(180deg, #84353A 0, #5A2125 100%); box-shadow:inset 0 5px 0 var(--gold)} .pd-1 .pd-step b{color:#F0D383}
.pd-2 .pd-step{height:132px; background:linear-gradient(180deg, #3A322E 0, #16181D 100%); box-shadow:inset 0 5px 0 var(--silver)} .pd-2 .pd-step b{color:#E6E8EC}
.pd-3 .pd-step{height:100px; background:linear-gradient(180deg, #B98A4E 0, #8A6330 100%); box-shadow:inset 0 5px 0 var(--bronze)} .pd-3 .pd-step b{color:#FFF4E4}
.pd.mine .pd-step::after{content:"Your team"; position:absolute; bottom:12px; font:600 11px var(--label); letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.85)}
.award{display:inline-flex; align-items:center; gap:6px; font:600 12.5px var(--sans); background:var(--accent); color:#FFFFFF; padding:5px 12px 5px 9px;
  border-radius:20px; white-space:nowrap}
.award svg{width:12px; height:12px; fill:#E8C66A; flex:none}
.lb-panel{padding:22px 24px}
.lb-head{display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; margin-bottom:16px} .lb-head h2{margin:0}
.lb-cols{display:grid; grid-template-columns:72px 1fr auto; gap:18px; padding:0 14px 8px; font:600 11px var(--label); letter-spacing:.16em;
  text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--line)}
.lb-list{list-style:none; margin:0; padding:0}
.lb-list li{display:grid; grid-template-columns:72px 1fr auto; gap:18px; align-items:center; padding:16px 14px; border-bottom:1px solid var(--hair)}
.lb-list li:last-child{border-bottom:0}
.lb-rank{width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font:700 18px/1 var(--sans); background:var(--paper-deep); color:var(--ink)}
.lb-rank sup{font-size:.55em; margin-left:1px}
.lb-list li.top1 .lb-rank{background:radial-gradient(circle at 34% 28%, #FFF5D6 0, #E8C66A 34%, var(--gold) 62%, var(--gold-deep) 100%); color:#3B2A0C}
.lb-list li.top2 .lb-rank{background:radial-gradient(circle at 34% 28%, #FFFFFF 0, #DADDE2 38%, var(--silver) 70%, var(--silver-deep) 100%); color:#262A30}
.lb-list li.top3 .lb-rank{background:radial-gradient(circle at 34% 28%, #FFE8D2 0, #E2A46C 36%, var(--bronze) 68%, var(--bronze-deep) 100%); color:#33190A}
.lb-list li.top1{box-shadow:inset 4px 0 0 var(--gold)} .lb-list li.top2{box-shadow:inset 4px 0 0 var(--silver)} .lb-list li.top3{box-shadow:inset 4px 0 0 var(--bronze)}
.lb-list li.mine{background:var(--accent-soft); border-radius:12px}
.lb-who b{display:block; font-family:var(--serif); font-size:19px; line-height:1.3} .lb-who b a{text-decoration:none} .lb-who span{font-size:14px; color:var(--muted)}
.you{font-style:normal; font:600 11px var(--sans); background:var(--accent); color:#FFFFFF; padding:2px 8px; border-radius:10px; margin-left:6px}
.lb-awards{display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end}
.screen .pd-name{font-size:40px} .screen .pd-1 .pd-name{font-size:52px} .screen .pd-medal{width:80px; height:80px; font-size:34px}
.screen .pd-1 .pd-medal{width:110px; height:110px; font-size:48px} .screen .pd-step b{font-size:84px} .screen .podium{max-width:1200px}
.screen .pd{max-width:400px; background:var(--card); border-radius:24px 24px 0 0; padding:22px 16px 0; box-shadow:0 10px 30px rgba(20,24,40,.08)}
.screen .pd .pd-step{width:calc(100% + 32px)} .screen .pd-place{font-size:16px} .screen .pd-team{font-size:20px}
.screen .pd-1 .pd-step{height:240px} .screen .pd-2 .pd-step{height:176px} .screen .pd-3 .pd-step{height:128px} .screen .award{font-size:16px; padding:7px 16px 7px 12px}
@media (max-width:700px){
  .podium{gap:8px} .pd-medal{width:44px; height:44px; font-size:19px} .pd-1 .pd-medal{width:56px; height:56px; font-size:24px}
  .pd-place{font-size:9.5px; letter-spacing:.12em} .pd-name{font-size:15px} .pd-1 .pd-name{font-size:17px} .pd-team{font-size:12px} .pd-awards{display:none}
  .pd-step b{font-size:34px} .pd-1 .pd-step{height:108px} .pd-2 .pd-step{height:80px} .pd-3 .pd-step{height:60px}
  .award{font-size:11px; padding:4px 9px 4px 7px; white-space:normal}
  .lb-panel{padding:16px 12px} .lb-cols{display:none}
  .lb-list li{grid-template-columns:48px 1fr; gap:12px; padding:14px 6px} .lb-rank{width:42px; height:42px; font-size:15px}
  .lb-awards{grid-column:2; justify-content:flex-start}
}

/* ===================================================================================================================
   The dashboard skin (29 Nov). Light grey canvas, white rounded cards, a white sidebar with icons, indigo and green.
   No ornaments: colour and space carry the page.
   =================================================================================================================== */
.app{grid-template-columns:252px minmax(0,1fr); gap:22px; padding:20px}
.side{background:var(--card); border-radius:28px; padding:28px 16px 20px; gap:26px; position:sticky; top:20px; align-self:start;
  min-height:calc(100vh - 40px); box-shadow:var(--shadow)}
.brand{flex-direction:row; align-items:center; gap:11px; text-align:left; padding:0 10px}
.brand img.mark{width:54px; height:auto; margin:0; flex:none}
.brand b{display:block; line-height:1; letter-spacing:0} .brand b .arb-word{height:19px; width:auto; display:block}
.brand span{font-size:11.5px; color:var(--muted); font-weight:600; margin-top:5px; display:flex; align-items:center; gap:5px; line-height:1.2;
  letter-spacing:.02em}
.brand span .tg-word{height:10px; width:auto}
.nav{gap:4px}
.nav a{position:relative; padding:11px 14px 11px 46px; border-radius:14px; color:var(--ink-2); font-weight:500; font-size:14.5px; box-shadow:none;
  --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E")}
.nav a::before{content:""; position:absolute; left:16px; top:50%; width:19px; height:19px; transform:translateY(-50%); background:currentColor;
  -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; opacity:.85}
.nav a:hover{background:#F3EADD; color:var(--ink)}
.nav a.on{background:var(--accent-soft); color:var(--accent); font-weight:600; box-shadow:none}
.nav a.on::after{content:""; position:absolute; left:-16px; top:50%; width:7px; height:22px; transform:translateY(-50%); border-radius:0 8px 8px 0; background:var(--accent)}
.nav a.on::before{opacity:1}
/* icons, by where the link goes */
.nav a[href$="/team"],.nav a[href$="/teams"],.nav a[href$="/members"],.nav a[href*="/judges"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.8c2 .7 3.2 2.5 3.6 5.2'/%3E%3C/svg%3E")}
.nav a[href$="/team"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3C/svg%3E")}
.nav a[href$="/setup"],.nav a[href="/home"],.nav a[href="/welcome"],.nav a[href="/"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3C/svg%3E")}
.nav a[href*="/setup/"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4L19 7'/%3E%3C/svg%3E")}
.nav a[href$="/project"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")}
.nav a[href$="/share"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E")}
.nav a[href$="/results"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4M12 14v4M8 21h8'/%3E%3C/svg%3E")}
.nav a[href$="/leaderboard"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V11M12 20V4M19 20v-6M2 20h20'/%3E%3C/svg%3E")}
.nav a[href$="/certificates"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14 7 22l5-3 5 3-1.5-8'/%3E%3C/svg%3E")}
.nav a[href^="/progress"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E")}
.nav a[href^="/g/"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E")}
.nav a[href^="/judge/"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M5 7h14M5 7l-3 7a3 3 0 0 0 6 0zM19 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E")}
.nav a[href^="/org/"]:not([href*="/e/"]),.nav a[href="/choose"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.nav a[href^="/e/"]:not([href*="/team"]):not([href*="/leaderboard"]){--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h11l-2 4 2 4H5'/%3E%3C/svg%3E")}
.nav a[href^="/founders"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3C/svg%3E")}
.nav a[href*="outbox"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")}
.nav small{color:var(--faint); font-weight:500}
.who{border-top:1px solid var(--line); text-align:left; padding:16px 10px 0}
.who b{color:var(--ink); font-weight:600}

main{padding:6px 6px 60px; max-width:1200px}
.topbar{margin:6px 0 10px}
.back{background:var(--card); border:0; box-shadow:var(--shadow); padding:8px 16px 8px 12px; font-weight:600; color:var(--ink-2)}
.back span{color:var(--accent)}
.viewer{background:var(--accent-soft); border:0; color:var(--accent); letter-spacing:.12em}

/* type */
h1{font-family:var(--display); font-weight:400; font-size:46px; line-height:1.08; letter-spacing:0; margin:10px 0 10px}
h2{font-family:var(--display); font-weight:400; font-size:25px; line-height:1.25; letter-spacing:0}
h3{font-family:var(--serif); font-weight:700; font-size:17px; letter-spacing:-.01em}
.over{font-family:var(--label); font-size:12px; letter-spacing:.16em; color:var(--accent); font-weight:400}
.lede{font-size:15.5px; color:var(--muted); line-height:1.6}
.accent{color:var(--accent); font-size:1em; font-weight:700}
.hero{min-height:0; padding:18px 0 26px}
.hero > *{max-width:640px}
.rule{display:none}

/* surfaces: white rounded cards, no borders */
.panel,.list,.picks{background:var(--card); border:0; border-radius:24px; box-shadow:var(--shadow)}
.panel{padding:26px 28px}
.panel h2:first-child{margin-top:0}
.list .row{padding:18px 24px}
a.row:hover,.picks a:hover{background:#F6EEE2}
.row b{font-size:17px; font-weight:650}
.flash{background:var(--card); border:0; border-left:4px solid var(--accent); color:var(--ink-2); border-radius:14px; box-shadow:var(--shadow); padding:12px 16px}

/* controls */
.btn{font:600 14px var(--sans); padding:11px 20px; border-radius:14px; border:0; background:var(--accent); color:#fff;
  box-shadow:0 8px 18px -10px rgba(122,30,44,.9)}
.btn:hover{background:var(--accent-2)}
.btn.quiet{background:var(--card); color:var(--ink); border:1px solid var(--line); box-shadow:none}
.btn.quiet:hover{border-color:var(--faint); background:#F8F1E7}
.btn.link{color:var(--accent); text-decoration:none; font-weight:600}
.btn.link:hover{text-decoration:underline}
.btn.google{background:var(--card); border:1px solid var(--line); box-shadow:none}
input[type=text],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=date],input[type=datetime-local],select,textarea{
  background:#FFFBF5; border:1px solid transparent; border-radius:12px; padding:11px 14px}
input:focus,select:focus,textarea:focus{background:var(--card); border-color:var(--accent); box-shadow:0 0 0 4px rgba(122,30,44,.12)}
.field label{color:var(--ink); font-weight:600}

/* status: coloured words with a mark, like the reference's table */
.pill{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; padding:4px 11px; border-radius:20px; background:#F1F2F5; color:var(--ink-2)}
.pill.ok{background:var(--green-soft); color:var(--green-ink)}
.pill.wait{background:var(--orange-soft); color:var(--partial)}
.pill.off{background:var(--red-soft); color:var(--fail)}
.pill.next{background:var(--accent-soft); color:var(--accent)}
.pill.ok::before{content:"✓"; font-size:11px}
.pill.wait::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor}

/* tables: airy rows, quiet headings */
table.plain th{font-size:12px; letter-spacing:0; text-transform:none; color:var(--muted); font-weight:500; padding:12px 14px; border-bottom:1px solid var(--line)}
table.plain td{padding:16px 14px; border-bottom:1px solid var(--hair)}
table.plain tr:last-child td{border-bottom:0}

/* stat cards: the first in indigo, the second in slate, the rest white */
.figures{display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:14px; margin-top:22px}
.figures div{position:relative; overflow:hidden; padding:18px 20px; border:0; border-radius:22px; background:var(--card); box-shadow:var(--shadow)}
.figures div:first-child{padding-left:20px; background:var(--accent); color:#fff}
.figures div:nth-child(2){background:var(--slate); color:#fff}
.figures b{font-family:var(--serif); font-weight:800; font-size:34px; letter-spacing:-.02em}
.figures span{font-size:12.5px; color:var(--muted); white-space:normal}
.figures div:first-child span,.figures div:nth-child(2) span{color:rgba(255,255,255,.78)}
.figures div:first-child::after{content:""; position:absolute; right:14px; top:14px; width:70px; height:46px; opacity:.55;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 3px, transparent 3px 9px);
  -webkit-mask:linear-gradient(180deg, #000, transparent); mask:linear-gradient(180deg, #000, transparent)}
.figures div:nth-child(2)::after{content:""; position:absolute; right:16px; top:16px; width:62px; height:40px; opacity:.6;
  background:radial-gradient(circle, #fff 0 3.5px, transparent 4px) 0 0/16px 14px, repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 2px, transparent 2px 16px) 7px 0/100% 100%}
.stat,.glance-tile{background:var(--card); border:0; border-radius:22px; box-shadow:var(--shadow)}

/* steps */
.steps li::before{border:0; background:#F1F2F5; color:var(--ink-2); font-family:var(--sans); font-size:14px; font-weight:700}
.steps li.next::before{background:var(--accent); color:#fff}
.steps li.done::before{background:var(--green-soft); color:var(--green-ink)}

/* the public site */
.site-head{background:var(--card); border-radius:22px; box-shadow:var(--shadow)}
.site-brand img.mark{width:44px; height:auto}
.site-brand b .arb-word{height:18px; width:auto}
.site-foot{background:transparent}

/* the leaderboard steps, in the reference's hatched bars */
.pd-1 .pd-step{background:var(--accent); box-shadow:none}
.pd-2 .pd-step{background:var(--card) var(--hatch-accent); box-shadow:inset 0 0 0 2px rgba(122,30,44,.55)} .pd-2 .pd-step b{color:var(--accent)}
.pd-3 .pd-step{background:var(--card) var(--hatch-gold); box-shadow:inset 0 0 0 2px rgba(184,145,58,.6)} .pd-3 .pd-step b{color:var(--gold-deep)}
.pd-1 .pd-step b{color:#fff}
.pd-step b{font-family:var(--display); font-weight:400}
.pd-step b{text-shadow:0 0 12px #fff} .pd-1 .pd-step b{text-shadow:none}
.pd-name{font-family:var(--display); font-weight:400}
.podium{border-bottom:3px solid var(--ink)}
.screen .pd{background:var(--card)}
body.screen{background:var(--paper)}
.lb-list li.mine{background:var(--accent-soft)}
.award{background:var(--accent)}
.award svg{fill:#FFD66B}

@media (max-width:900px){
  .app{grid-template-columns:1fr; padding:10px; gap:12px}
  .side{position:static; min-height:0; border-radius:22px; padding:16px 12px; gap:12px}
  .brand{justify-content:center}
  .nav{flex-direction:row; flex-wrap:wrap; justify-content:center; gap:4px}
  .nav a{padding:8px 12px 8px 36px; font-size:13.5px} .nav a::before{left:11px; width:16px; height:16px} .nav a.on::after{display:none}
  .who{text-align:center; border-top:0; padding-top:0}
  h1{font-size:32px}
  .figures{grid-template-columns:1fr 1fr}
}

/* the two drawings: the Arbiter emblem (large on first-look pages) and the sword seal; sepia sketches, top right, behind the words */
main .page-art{display:block; position:absolute; top:0; right:6px; width:min(300px,30%); opacity:.9; z-index:0; pointer-events:none}
main .page-art.big{width:min(400px,36%); top:-6px; opacity:1}
main .page-art.quiet{width:min(220px,22%); opacity:.42}
@media (max-width:900px){ main .page-art,main .page-art.big{width:42%; opacity:.35} main .page-art.quiet{display:none} }

/* sidebar brand: the emblem, then the lettering over the hackathon's name */
.brand{display:grid; grid-template-columns:52px minmax(0,1fr); column-gap:10px; align-items:center}
.brand img.mark{grid-row:1 / span 2; width:52px}
.brand b{grid-column:2; align-self:end}
.brand span{grid-column:2; align-self:start; margin-top:4px; font-size:9.5px; letter-spacing:.12em; line-height:1.35; overflow-wrap:anywhere}
.site-head{margin:14px 14px 0; border-radius:20px}
/* judge links: their own icons */
.nav a[href^="/judge/"][href$="/teams"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")}
.nav a[href$="/compare"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='7' height='16' rx='2'/%3E%3Crect x='14' y='4' width='7' height='16' rx='2'/%3E%3C/svg%3E")}
.nav a[href$="/flags"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E")}
/* stat cards: the two coloured ones are wider, like the reference */
.figures{grid-template-columns:repeat(auto-fill, minmax(140px, 1fr))}
.figures div:first-child,.figures div:nth-child(2){grid-column:span 2; min-height:112px; display:flex; flex-direction:column; justify-content:flex-end}
.figures div:first-child b,.figures div:nth-child(2) b{font-size:40px}
@media (max-width:900px){ .figures div:first-child,.figures div:nth-child(2){grid-column:span 2} }
/* the hatched two-colour bar chart */
.chart-head{display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; margin-bottom:18px}
.legend{display:flex; gap:16px; font-size:12.5px; color:var(--muted)}
.legend span::before{content:""; display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; vertical-align:-1px}
.lg-ai::before{background:var(--gold)} .lg-jd::before{background:var(--accent)}
.hchart{display:grid; grid-template-columns:34px 1fr; gap:10px; height:250px}
.hc-axis{display:flex; flex-direction:column; justify-content:space-between; font-size:11.5px; color:var(--faint); text-align:right; padding-bottom:26px}
.hc-cols{display:flex; gap:12px; align-items:stretch; border-bottom:1px dashed var(--line);
  background:repeating-linear-gradient(180deg, transparent 0 calc(25% - 1px), var(--hair) calc(25% - 1px) 25%) top/100% calc(100% - 26px) no-repeat}
.hc-col{flex:1 1 0; min-width:0; display:flex; flex-direction:column}
.hc-bars{flex:1; display:flex; align-items:flex-end; justify-content:center; gap:5px}
.hb{display:block; width:min(30px, 40%); min-height:4px; border-radius:10px 10px 4px 4px}
.hb.ai{background:var(--card) var(--hatch-gold); box-shadow:inset 0 0 0 2px rgba(184,145,58,.75)}
.hb.jd{background:var(--card) var(--hatch-accent); box-shadow:inset 0 0 0 2px rgba(122,30,44,.8)}
.hc-col:first-child .hb.ai{background:var(--gold); box-shadow:none} .hc-col:first-child .hb.jd{background:var(--accent); box-shadow:none}
.hc-label{height:26px; padding-top:7px; font-size:11.5px; color:var(--muted); text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.brand b .arb-word{margin:0}
@media (max-width:700px){ main .page-art,main .page-art.big{display:none} }
.pd-2 .pd-step b,.pd-3 .pd-step b{background:var(--card); padding:2px 14px 0; border-radius:14px; text-shadow:none; line-height:1.1}

/* the landing showcase: the reference's stat cards, hatched chart and status table */
.show-grid{display:grid; grid-template-columns:1.25fr 1fr; grid-template-areas:"chart a" "chart b" "table table"; gap:18px}
.show-chart{grid-area:chart; margin:0} .show-table{grid-area:table; margin:0}
.show-stat{position:relative; overflow:hidden; border-radius:26px; padding:24px 26px; color:#fff; display:flex; flex-direction:column; min-height:170px}
.s-accent{grid-area:a; background:var(--accent)} .s-slate{grid-area:b; background:var(--slate)}
.ss-l{font-size:20px; font-weight:700; letter-spacing:-.01em} .ss-sub{font-size:12.5px; opacity:.75}
.show-stat b{margin-top:auto; font-size:54px; font-weight:800; letter-spacing:-.03em; line-height:1}
.ss-bars{position:absolute; right:22px; top:58px; width:130px; height:70px;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 4px, transparent 4px 13px);
  -webkit-mask:linear-gradient(180deg, transparent 0, #000 30%, #000 60%, transparent), linear-gradient(90deg, transparent, #000 40%);
  -webkit-mask-composite:source-in; mask:linear-gradient(180deg, transparent 0, #000 30%, #000 60%, transparent)}
.ss-dots{position:absolute; right:24px; top:56px; width:120px; height:76px;
  background:radial-gradient(circle, #fff 0 5px, transparent 5.5px) 0 0/20px 38px, repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 2px, transparent 2px 20px) 9px 0/100% 100% no-repeat}
@media (max-width:900px){ .show-grid{grid-template-columns:1fr 1fr; grid-template-areas:"a b" "chart chart" "table table"} .show-stat{min-height:150px}
  .ss-bars,.ss-dots{width:70px; right:14px} .show-stat b{font-size:40px} }
main:has(.podium) .page-art{width:min(240px,22%); opacity:.35}
@media (max-width:600px){ .ss-bars,.ss-dots,.figures div:first-child::after,.figures div:nth-child(2)::after{display:none} }

/* ==== 29 Nov: the landing page, with ideas from Harvey, Stripe and Ramp ==== */
.hero-split{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:24px 56px; align-items:end; padding:34px 0 34px}
.hero-split > *{max-width:none}
.hero-split h1{font-size:60px; margin-bottom:0}
.hero-split .lede{font-size:16.5px; color:var(--ink-2)}
main:has(.hero-frame) > .page-art{display:none}
.hero-frame{position:relative; overflow:hidden; border-radius:30px; padding:44px 46px 0; margin:6px 0 30px;
  background:radial-gradient(120% 90% at 85% 0%, #8E2A38 0%, #5A1520 45%, #2A0D12 100%)}
.hf-emblem{position:absolute; right:-40px; top:-30px; width:440px; opacity:.16; filter:invert(1) sepia(1) saturate(1.6) brightness(1.15); pointer-events:none}
.app-win{position:relative; background:#F1E8DB; border-radius:18px 18px 0 0; box-shadow:0 30px 60px -20px rgba(0,0,0,.55); overflow:hidden}
.aw-bar{display:flex; align-items:center; gap:7px; padding:11px 16px; background:var(--card); border-bottom:1px solid var(--line)}
.aw-bar i{width:10px; height:10px; border-radius:50%; background:#E1E3E8} .aw-bar span{margin-left:10px; font-size:12px; color:var(--muted)}
.aw-body{display:grid; grid-template-columns:190px minmax(0,1fr)}
.aw-side{background:var(--card); padding:18px 14px; display:flex; flex-direction:column; gap:4px; border-right:1px solid var(--line)}
.aw-side img{width:44px; margin:0 0 4px 8px} .aw-side .aw-word{width:auto; height:14px; margin:0 0 14px 10px}
.aw-side span{font-size:13px; color:var(--ink-2); padding:8px 10px; border-radius:10px}
.aw-side span.on{background:var(--accent-soft); color:var(--accent); font-weight:600}
.aw-main{padding:20px 22px 24px}
.aw-title{display:flex; align-items:center; gap:12px; margin-bottom:14px} .aw-title b{font-size:20px; letter-spacing:-.01em}
.aw-main .show-grid{gap:14px}
.aw-main .show-stat{min-height:140px}
/* Stripe: a dark band of big figures */
.band-dark{border-radius:30px; padding:46px 48px; margin:10px 0 44px; color:#fff;
  background:radial-gradient(90% 120% at 0% 100%, #6A1A26 0%, #2A0D12 55%, #150709 100%)}
.band-dark .over{color:var(--gold)} .band-dark h2{color:#fff; font-size:34px; margin:4px 0 26px}
.bd-figs{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:26px}
.bd-figs div{border-top:1px solid rgba(201,160,67,.45); padding-top:16px}
.bd-figs b{display:block; font-size:44px; font-weight:800; letter-spacing:-.03em; line-height:1.05; color:#fff}
.bd-figs span{display:block; margin-top:8px; font-size:14px; line-height:1.5; color:rgba(255,255,255,.72)}
/* Harvey: dark cards for each kind of person */
.who-dark{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px}
.wd{position:relative; display:flex; flex-direction:column; min-height:270px; padding:26px 26px 22px; border-radius:24px; text-decoration:none; color:#fff;
  background:linear-gradient(160deg, #2B2F36 0%, #16181D 100%); overflow:hidden; transition:transform .2s}
.wd:nth-child(2){background:linear-gradient(160deg, #8A2433 0%, #4E1119 100%)}
.wd:nth-child(3){background:linear-gradient(160deg, #5F636A 0%, #33363B 100%)}
.wd:hover{transform:translateY(-3px)}
.wd small{font-family:var(--label); letter-spacing:.16em; text-transform:uppercase; font-size:11px; color:var(--gold)}
.wd h3{color:#fff; font-family:var(--display); font-weight:400; font-size:26px; margin:10px 0 8px}
.wd p{color:rgba(255,255,255,.76); font-size:14.5px; line-height:1.6; margin:0}
.wd-go{margin-top:auto; padding-top:18px; font-weight:600; font-size:14px; color:#fff}
/* Ramp: cards with an arrow in the corner */
.arrow-cards{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px}
.ac{position:relative; display:flex; flex-direction:column; gap:6px; min-height:150px; padding:22px 50px 22px 22px; background:var(--card); border-radius:22px;
  box-shadow:var(--shadow); text-decoration:none; color:var(--ink); transition:transform .2s, box-shadow .2s}
.ac b{font-size:17px} .ac span{font-size:13.5px; color:var(--muted); line-height:1.55}
.ac::after{content:"↗"; position:absolute; right:16px; top:16px; width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent); font-size:14px; font-weight:700}
.ac:hover{transform:translateY(-3px); box-shadow:0 18px 40px -20px rgba(122,30,44,.45)} .ac:hover::after{background:var(--accent); color:#fff}
/* the closing band, in oxblood */
.cta-dark{display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; padding:38px 42px; border-radius:30px; color:#fff;
  background:linear-gradient(120deg, #7A1E2C 0%, #4E1119 100%)}
.cta-dark h2{color:#fff} .cta-dark .muted{color:rgba(255,255,255,.75)}
.cta-dark .btn{background:var(--card); color:var(--accent); box-shadow:none} .cta-dark .btn:hover{background:#F6E9EB}
.cta-dark .btn.quiet{background:transparent; color:#fff; border:1px solid rgba(255,255,255,.45)}
@media (max-width:900px){
  .hero-split{grid-template-columns:1fr; gap:14px} .hero-split h1{font-size:40px}
  .hero-frame{padding:22px 14px 0; border-radius:22px} .hf-emblem{width:240px}
  .aw-body{grid-template-columns:1fr} .aw-side{display:none} .aw-main{padding:14px}
  .band-dark{padding:30px 22px; border-radius:22px} .band-dark h2{font-size:26px} .bd-figs{grid-template-columns:1fr 1fr; gap:20px} .bd-figs b{font-size:32px}
  .who-dark,.arrow-cards{grid-template-columns:1fr} .wd{min-height:0}
  .cta-dark{padding:28px 22px}
}
.hero-split{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)} .hero-split h1{font-size:56px; white-space:nowrap}
.hf-emblem{opacity:.24}
.ss-bars,.ss-dots{top:auto; bottom:24px}
@media (max-width:900px){ .hero-split h1{font-size:38px; white-space:normal} }
.hero-split{align-items:center}
.aw-main .ss-sub{max-width:52%}
@media (max-width:900px){ .hero-split{grid-template-columns:1fr; align-items:start} .aw-main .ss-sub{max-width:none} }
@media (max-width:600px){ .aw-main table.plain th,.aw-main table.plain td{padding:10px 5px; font-size:12px} .aw-main .pill{font-size:10.5px; padding:3px 7px} .show-table{overflow-x:auto} }

/* =====================================================================================================================
   29 Nov: the wine canvas. Red behind everything, cream cards with a gold edge. The variables flip by context:
   on the wine, text is light and the accent is gold; inside a cream card, text is dark and the accent is oxblood.
   ===================================================================================================================== */
:root{
  --card:#FBF5EC; --gold:#C9A043; --gold-deep:#8C6A1E; --deco:#C9A043; --deco-soft:rgba(201,160,67,.35);
  --green:#2F6B45; --green-ink:#1E5233; --green-soft:#E0EBDC; --pass:#1E5233;
  --ink:#FBF3EA; --ink-2:rgba(251,243,234,.88); --muted:rgba(251,243,234,.68); --faint:rgba(251,243,234,.42);
  --line:rgba(232,198,106,.3); --hair:rgba(255,255,255,.1);
  --accent:#E3BF6A; --accent-2:#F0D08A; --accent-soft:rgba(227,191,106,.16); --on-accent:#3A0E15;
  --paper:#F1E8DB; --paper-deep:#E9DECD;
  --shadow:0 1px 2px rgba(20,4,8,.12), 0 14px 34px -18px rgba(20,4,8,.55);
}
html{background:#4A111A}
body,body.screen{background:radial-gradient(1500px 1100px at 85% -12%, #922C3B 0%, #6E1A27 42%, #4A111A 100%) no-repeat, #4A111A; color:var(--ink)}
.panel,.list,.picks,.ac,.all-clear,.app-win,.back,.btn.quiet,.btn.google,.cert-pin,.cmp,.code,.ev-card,.figures div,.flash,.gcard,.glance-tile,.issue,.job,.join-steps li,.jrow,.mail,.menu,.more-body,.org-card,.pb-rows,.q-card,.scr-list li,.screen .pd,.share-url,.site-menu[open] .site-nav,.stat,.story,.tabbar,.tabpanel,.team-card,.tier,.todo-card,.acct > summary,.student-door,details.trow,.lb-panel{
  --ink:#1C1714; --ink-2:#3E3530; --muted:#74675D; --faint:#B5A797; --line:#E6D9C4; --hair:#EFE5D5;
  --accent:#7A1E2C; --accent-2:#5E1622; --accent-soft:#F3E3E2; --on-accent:#FFFFFF; color:var(--ink)}
.panel,.list,.picks,.ac,.gcard,.stat,.glance-tile,.org-card,.team-card,.ev-card,.todo-card,.q-card,.tier,.story,.jrow,.figures div,.cmp,.mail,.app-win{border:1px solid rgba(201,160,67,.5) !important}
.figures div:first-child,.figures div:nth-child(2){border-color:transparent !important}
.panel:hover > .ac,.ac:hover{border-color:var(--gold) !important}
/* buttons: gold on the wine, oxblood in a card */
.btn{background:var(--accent); color:var(--on-accent); box-shadow:0 10px 22px -12px rgba(0,0,0,.55)}
.btn:hover{background:var(--accent-2)}
.btn.quiet{background:var(--card); color:var(--ink); border:1px solid var(--line)}
.btn.link{color:var(--accent)}
input:focus,select:focus,textarea:focus{border-color:#7A1E2C; box-shadow:0 0 0 4px rgba(122,30,44,.14)}
input[type=text],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=date],input[type=datetime-local],select,textarea{
  border:1px solid #E6D9C4; color:#1C1714}
/* the frame of every page: the sidebar and the top bar sit on the wine, the logos in light gold and white */
.side{background:transparent; box-shadow:none; border:0 !important}
.side .brand img.mark,.site-head img.mark,.site-foot img.mark,.aw-side img:not(.aw-word),main > .page-art{filter:invert(1) sepia(1) saturate(1.7) brightness(1.18)}
main > .page-art{opacity:.32} main > .page-art.big{opacity:.5} main > .page-art.quiet{opacity:.2}
.side .arb-word,.site-head .arb-word,.site-foot .arb-word,.side .tg-word,.site-head .tg-word,.site-foot .tg-word,.site-foot .tg-hero{filter:brightness(0) invert(1)}
.nav a.on{background:rgba(227,191,106,.16); color:var(--accent)} .nav a.on::after{background:var(--gold)}
.nav a:hover{background:rgba(255,255,255,.07)}
.who{border-top-color:rgba(255,255,255,.14)}
.site-head{background:rgba(20,4,8,.18); border:1px solid rgba(232,198,106,.25); box-shadow:none}
.site-foot{border-top:1px solid rgba(232,198,106,.2)}
.aw-side{background:var(--card)} .aw-side img:not(.aw-word){filter:none}
/* the leaderboard on the wine */
.pd-1 .pd-step{background:var(--gold)} .pd-1 .pd-step b{color:#3A0E15} .pd.mine .pd-step::after{color:#3A0E15}
.podium{border-bottom-color:rgba(251,243,234,.85)}
/* the landing page's dark pieces sit on the wine */
.hero-frame{background:linear-gradient(180deg, rgba(20,4,8,.35), rgba(20,4,8,.15)); border:1px solid rgba(232,198,106,.35)}
.band-dark{background:rgba(20,4,8,.32); border:1px solid rgba(232,198,106,.3)}
.cta-dark{background:linear-gradient(120deg, rgba(20,4,8,.42), rgba(20,4,8,.2)); border:1px solid rgba(232,198,106,.35)}
.cta-dark .btn{background:var(--gold); color:#3A0E15}
.wd{border:1px solid rgba(232,198,106,.3)}
.wd:nth-child(2){background:linear-gradient(160deg, #C9A043 0%, #8C6A1E 100%)} .wd:nth-child(2) small{color:#3A0E15} .wd:nth-child(2) p{color:rgba(30,10,10,.8)}
.wd:nth-child(2) h3,.wd:nth-child(2) .wd-go{color:#24070C}
.hero .accent,.hs-right .accent{color:var(--accent)}
.student-door{border:1px solid rgba(201,160,67,.5)}
.hero h1::after{background:linear-gradient(90deg, var(--gold), transparent)}
/* small surfaces that sit inside cards or float on the wine: dark text on cream */
.tag,.chip,.chip-pick span,.link-btn,.js-dot,.sf-scale span,.judge-remove,.btn.danger,.issue,.pb-step i,.track i,.jr-move form,code,.aw-bar,.aw-side,.student-door{
  --ink:#1C1714; --ink-2:#3E3530; --muted:#74675D; --faint:#B5A797; --line:#E6D9C4; --hair:#EFE5D5;
  --accent:#7A1E2C; --accent-2:#5E1622; --accent-soft:#F3E3E2; --on-accent:#FFFFFF; color:var(--ink)}
.student-door{background:var(--card)}
/* logos on the wine: white lettering */
.site-foot img:not(.mark),.about-arb,.about-marks .tg-hero,.scr-word{filter:brightness(0) invert(1)}
/* the podium on the wine: light place names, cream award pills */
.pd-place{color:var(--gold)} .pd-2 .pd-place{color:#DADDE2} .pd-3 .pd-place{color:#E7AE79}
.award{background:#7A1E2C; color:#fff} .award svg{fill:#E8C66A}
.podium .award{background:var(--card); color:#7A1E2C} .podium .award svg{fill:#C9A043}
.lb-list li.mine{background:#F3E3E2}
.hero .tg-word,.lede .tg-word,.sec-head .tg-word{filter:brightness(0) invert(1)}
.site-menu > summary{background:rgba(255,255,255,.1); color:var(--ink); border-color:rgba(232,198,106,.35)}
