/* MTA v2 design system: https://claude.ai/artifact/PetJMwHDH7NcrsHjFXvvG2
   Flat surface or a real photo with a scrim. Rubik for everything, Playfair for a man's own words.
   Bone ink on near-black (or black on bone paper in .light). Rust is the one accent: one rust thing per screen area.
   Square corners. No textures, gradients behind text (except the photo scrim), shadows or left-border cards. */
:root {
  --surface: #1c1c1d;
  --surface-raised: #262625;
  --ink: #e8e1d3;
  --ink-muted: #a8a196;
  --rust: #9a4a2e;
  --rust-hover: #84402a;
  --rust-text: #d07a57;
  --on-rust: #e8e1d3;
  --photo-ink: #e8e1d3;
  --scrim: 28, 28, 29;
  --line: #e8e1d329;
  --line-strong: #e8e1d359;
  --focus-ring: #e8e1d3;
  --danger: #e5484d;
  --ok: #3fb27f;
  --font-sans: "Rubik", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* Bone paper. Everything inside re-reads the tokens, so cards, forms and buttons flip with it. */
.light {
  --surface: #ece6da;
  --surface-raised: #e2dccf;
  --ink: #1c1c1d;
  --ink-muted: #5a554c;
  --rust-text: #8a3f25;
  --line: #1c1c1d29;
  --line-strong: #1c1c1d59;
  --focus-ring: #1c1c1d;
  background: var(--surface);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/26px var(--font-sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-text); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Headlines: Rubik italic 800, uppercase. */
h1, h2, h3, .head {
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(52px, 10vw, 104px); }
h2 { font-size: clamp(36px, 5.6vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* The small line above a headline (label style). */
.kicker {
  font: 600 13px/18px var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
  display: block;
}
.lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink); max-width: 640px; }
.muted { color: var(--ink-muted); }
.accent { color: var(--rust-text); }

/* Buttons. The filled one is rust: use one per screen area. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border: 2px solid var(--rust);
  background: var(--rust);
  color: var(--on-rust);
  font: 600 14px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--rust-hover); border-color: var(--rust-hover); color: var(--on-rust); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--surface); }
.btn.small { padding: 10px 16px; font-size: 12px; }
.btn.block { width: 100%; }
.btn.danger { background: transparent; border-color: var(--danger); color: var(--danger); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { height: 44px; width: 44px; object-fit: contain; }
.brand span { font: italic 800 17px/1 var(--font-sans); text-transform: uppercase; letter-spacing: 0; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font: 600 13px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-toggle { display: none; }
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--ink-muted); }
  .nav .btn { margin-top: 16px; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .menu-label { display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .menu-label i { display: block; width: 24px; height: 2px; background: var(--ink); }
}
@media (min-width: 821px) { .menu-label { display: none; } }

/* Hero: a real photo, full bleed, with the scrim under the text. Text is always photo-ink. */
.hero { min-height: min(88vh, 860px); display: flex; align-items: flex-end; position: relative; overflow: hidden; color: var(--photo-ink); background: var(--surface); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(var(--scrim), 0.3) 0%, rgba(var(--scrim), 0) 18%, rgba(var(--scrim), 0.55) 45%, rgba(var(--scrim), 0.88) 68%, rgb(var(--scrim)) 100%);
}

.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 72px; width: 100%; }
.hero h1 { color: var(--photo-ink); max-width: 11ch; }
.hero .kicker, .hero .lede { color: var(--photo-ink); }
.hero .btn.ghost { color: var(--photo-ink); border-color: var(--photo-ink); }
.hero .btn.ghost:hover { background: var(--photo-ink); color: rgb(var(--scrim)); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
/* Phone: the photo sits on top, uncovered, and the words go below it on the flat surface. */
@media (max-width: 640px) {
  .hero { display: block; min-height: 0 !important; }
  .hero-bg { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero-bg::after { background: linear-gradient(to bottom, rgba(var(--scrim), 0) 82%, rgb(var(--scrim)) 100%); }
  .hero .wrap { padding-top: 20px; padding-bottom: 56px; }
}
/* Sections: flat surfaces. Alternate dark, raised and bone paper (.light). */
.section { padding: clamp(64px, 9vw, 96px) 0; border-top: 1px solid var(--line); background: var(--surface); }
.section.alt { background: var(--surface-raised); }
.section.light { border-top: 0; }
.section.light + .section, .hero + .section { border-top: 0; }
.section-head { margin-bottom: 40px; max-width: 760px; }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card { background: var(--surface-raised); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.section.alt .card { background: var(--surface); }
.card .meta { font: 600 13px/18px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.card .where { color: var(--ink); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-media { aspect-ratio: 16 / 9; background-size: cover; background-position: center; margin: -28px -28px 12px; }

.workout-card .when { font: italic 800 clamp(30px, 4vw, 42px)/0.98 var(--font-sans); text-transform: uppercase; }
.workout-card .next { color: var(--ink-muted); font-size: 14px; }
.cal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.cal-actions .btn { margin-top: 0; }

.pillar { background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pillar .bg { aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform 0.6s; }
.pillar:hover .bg { transform: scale(1.03); }
.pillar .body { position: relative; z-index: 1; padding: 20px 20px 24px; background: var(--surface); }
.pillar h3 { color: var(--ink); }

/* A man's own words: Playfair italic. */
.quote { font: italic 400 clamp(26px, 3.4vw, 40px)/1.22 var(--font-serif); color: var(--ink); }
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 820px) { .spotlight.has-photo { grid-template-columns: 2fr 3fr; } }
.spotlight .photo { aspect-ratio: 4 / 5; background: var(--surface-raised) center/cover; }
.spotlight .tagline { font: 600 13px/18px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-text); }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 600 19px/1.35 var(--font-sans); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-muted); font-size: 26px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink); margin-top: 12px; max-width: 760px; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.logos a, .logos span { display: block; }
.logos img { height: 40px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1) brightness(0) invert(0.9); opacity: 0.85; transition: 0.2s; }
.light .logos img { filter: grayscale(1) brightness(0); }
.logos img:hover { opacity: 1; }
.sponsor-logo { height: 72px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) brightness(0) invert(0.9); }

.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats-strip > div { background: var(--surface); padding: 24px; }
.stats-strip strong { display: block; font: italic 800 clamp(40px, 5vw, 60px)/1 var(--font-sans); color: var(--ink); }
.stats-strip span { font: 600 13px/18px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }

/* Footer: bone paper, black logo. */
.site-footer { padding: 64px 0 40px; }
.site-footer .quote { max-width: 760px; margin-bottom: 32px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .links a { color: var(--ink); text-decoration: none; font-size: 14px; }
.site-footer .links a:hover { text-decoration: underline; }
.site-footer small { color: var(--ink-muted); display: block; margin-top: 18px; font-size: 14px; line-height: 22px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
label { display: grid; gap: 6px; font: 600 13px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
label .hint { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-muted); }
input, select, textarea {
  width: 100%;
  font: 16px/1.4 var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 14px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 0; border-color: var(--focus-ring); }
input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--rust); }
.check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; }
.alert { padding: 14px 16px; border: 1px solid var(--danger); color: #ffb4b6; background: rgba(229, 72, 77, 0.08); }
.light .alert { color: #8f1d21; }
.notice { padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--surface-raised); }

/* Check-in */
.checkin { min-height: 100vh; display: flex; align-items: center; padding: 32px 0; }
.checkin .panel { max-width: 520px; margin: 0 auto; width: 100%; }
.checkin .logo { width: 96px; height: 96px; margin-bottom: 20px; }
.checkin h1 { font-size: clamp(44px, 11vw, 72px); color: var(--ink); }
.box-tight { background: var(--surface-raised); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
.h-small { font: italic 800 22px/1.05 var(--font-sans); text-transform: uppercase; color: var(--ink); margin: 0; }
.or { text-align: center; color: var(--ink-muted); font: 600 13px/18px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; margin: 18px 0; }
.pass-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.pass-kpis .kpi { background: var(--surface-raised); border: 1px solid var(--line); padding: 16px; }
.pass-kpis .kpi strong { display: block; font: italic 800 40px/1 var(--font-sans); color: var(--ink); }
.pass-kpis .kpi span { font: 600 12px/16px var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.rsvp-box { max-width: 560px; }
.big-check { width: 120px; height: 120px; background: var(--rust); display: grid; place-items: center; font: italic 800 72px/1 var(--font-sans); color: var(--on-rust); margin-bottom: 24px; }

/* Utilities */
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* MTA pass: his QR for the lead to scan. White card so any camera reads it in sun or at dusk. */
.pass-qr { margin-top: 20px; background: #fff; color: #1c1c1d; padding: 18px 18px 14px; text-align: center; }
.pass-qr-code svg { width: min(68vw, 260px); height: auto; display: block; margin: 0 auto; }
.pass-qr-id { margin: 10px 0 2px; font: italic 800 22px/1.2 var(--font-sans); letter-spacing: 0.12em; }
.pass-qr-hint { margin: 0; font-size: 13px; color: #5a554c; }

/* "You're coming" page, from the day-before email button. */
.going-hero { min-height: min(52vh, 520px); }
.going-hero h1 { max-width: 14ch; font-size: clamp(48px, 8vw, 96px); margin-bottom: 0; }
.section.going .rsvp-box { max-width: var(--max); }
.section.going .rsvp-box > * { max-width: 560px; }
.section.going { border-top: 0; padding-top: 8px; }
.going-hero .wrap { padding-bottom: 24px; }
.going-tag { display: inline-block; background: var(--rust); color: var(--on-rust); font: 600 13px/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 14px; margin-bottom: 16px; }
@media (max-width: 640px) { .going-hero .wrap { padding-bottom: 16px; } }
.going-details { gap: 4px; margin: 8px 0 24px; }
.going-confirm { margin: 0 0 16px; }
.going-confirm[hidden] { display: none; }
.going-cal { padding: 20px; }
.going-note { font-size: 14px; line-height: 22px; margin-top: 12px; }
.going-more { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* One main action per workout: "I'm in". The calendar is a quiet text link. */
.cal-actions .cal-link { align-self: center; color: var(--ink-muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cal-actions .cal-link:hover { color: var(--ink); }

/* Challenges (Miles in the Arena): board, badges, his page. */
.draft-bar { background: var(--surface-raised); border-bottom: 1px solid var(--line); color: var(--ink-muted); font: 600 12px/1.4 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding: 10px var(--gutter); }
.ch-hero { border-top: 0; padding-bottom: clamp(40px, 6vw, 64px); }
.ch-hero h1 { max-width: 12ch; }
.ch-tagline { font: italic 800 clamp(22px, 3vw, 30px)/1.1 var(--font-sans); text-transform: uppercase; color: var(--rust-text); margin: 0 0 16px; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ch-board-sec { padding-top: clamp(40px, 6vw, 64px); }
.ch-board-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 860px) { .ch-board-grid { grid-template-columns: 1fr; } }
.ch-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ch-totals > div, .ch-you-nums > div { background: var(--surface); border: 1px solid var(--line); padding: 16px; }
.ch-totals strong, .ch-you-nums strong { display: block; font: italic 800 clamp(32px, 4vw, 44px)/1 var(--font-sans); }
.ch-totals span, .ch-you-nums span { font: 600 11px/16px var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.ch-you { margin-bottom: 16px; background: var(--surface); }
.ch-you-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch-you .ch-you-nums > div { background: var(--surface-raised); padding: 12px; }
.ch-you-nums.big > div { padding: 16px; background: var(--surface-raised); }
.lb-how { font-size: 14px; margin-top: -6px; }
.leaderboard { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.leaderboard li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.leaderboard li.me { background: var(--surface); outline: 1px solid var(--rust-text); outline-offset: -1px; }
.lb-rank { font: italic 800 24px/1 var(--font-sans); color: var(--ink-muted); text-align: center; }
.leaderboard li:nth-child(-n + 3) .lb-rank { color: var(--ink); }
.lb-name { font-weight: 600; min-width: 0; }
.lb-name em { font-style: normal; color: var(--rust-text); font-weight: 600; }
.lb-name small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-muted); line-height: 18px; }
.lb-score { font: italic 800 28px/1 var(--font-sans); text-align: right; }
.lb-score small { font: 600 10px/1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-left: 4px; font-style: normal; }
.lb-note { font-size: 13px; margin-top: 12px; }

.badge-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.badge-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.badge-grid strong { font: italic 800 17px/1.1 var(--font-sans); text-transform: uppercase; margin-top: 8px; }
.bg-pts { font: 600 11px/1.3 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.bg-desc { font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 22ch; }
.bg-prog { font-size: 13px; color: var(--ink-muted); }
.is-earned .bg-prog { color: var(--rust-text); font-weight: 600; }
.ch-me .badge-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); margin-bottom: 24px; }
.ch-me .badge-grid strong { font-size: 14px; }
.ch-me .badge-grid svg { width: 88px; height: auto; }

/* The badge itself is a struck challenge coin; its colours live in the SVG (views/challenge.tsx). Not earned yet = faded. */
.badge-mark.locked { opacity: 0.28; filter: grayscale(1); }
.badge-grid .bg-pts { border: 1px solid var(--line-strong); padding: 4px 10px; }

.tier-bar { margin-top: 16px; }
.tb-track { position: relative; height: 10px; background: var(--surface-raised); border: 1px solid var(--line); }
.ch-you .tb-track { background: var(--surface-raised); }
.tb-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.tb-track b { position: absolute; top: -5px; width: 2px; height: 18px; margin-left: -1px; background: var(--line-strong); }
.tb-track b.hit { background: var(--rust-text); }
.tb-label { margin: 10px 0 0; font-size: 14px; color: var(--ink-muted); }
.tb-label strong { color: var(--ink); }

.ch-me { border-top: 0; padding-top: clamp(28px, 5vw, 48px); }
.ch-me h1 { margin-bottom: 20px; }
.ch-back { font-size: 14px; text-decoration: none; }
.ch-back::before { content: "← "; }
.ch-me-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .ch-me-grid { grid-template-columns: 1fr; } }
.ch-break { font-size: 13px; margin: 8px 0 24px; }
.ch-log { margin-top: 8px; }
.ch-period-now { margin: 0; }
.ch-coros { display: grid; gap: 12px; margin-bottom: 16px; }
.ch-coros .hint { display: block; margin-top: 4px; }
.ch-period-now .hint { display: block; margin-top: 4px; }
.ch-periods { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-periods a { padding: 8px 10px; border: 1px solid var(--line-strong); font: 600 12px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.ch-periods a.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.ch-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-chip { display: inline-flex; cursor: pointer; }
.ch-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch-chip span { padding: 10px 14px; border: 1px solid var(--line-strong); font: 600 12px/1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.ch-chip input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.ch-chip input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ch-entries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ch-entries li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ch-entries li.rejected { opacity: 0.5; text-decoration: line-through; }
.ch-entries small { display: block; color: var(--ink-muted); font-size: 13px; }
.ch-entries form { margin: 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--ink-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
