/* The colours, type and surfaces of the contest's CTF site (https://gen.acdc2026.ai.kr), so that the
   submission portal reads as part of it: near-black page with a violet and a cyan glow, glass panels
   with a hairline border, light-cyan primary, mono small caps for labels. The values of :root are that
   site's design tokens. Pretendard is its typeface and is served from this portal (fonts/OFL.txt). */
@font-face {
  font-family: "Pretendard"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/PretendardVariable-1.3.9.woff2") format("woff2-variations");
}

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-deep: #080b10;
  --card: #11151a;
  --popover: #171d25;
  --control: #0f141b;
  --elevated: #1b222b;
  --secondary: #1a2029;
  --accent-surface: #202733;
  --text: #faf8ff;
  --text-2: #d1dce8;
  --muted: #a5b2c2;
  --muted-2: #7f8ea0;
  --line: #2a333e;
  --line-strong: #536878;
  --line-soft: #faf8ff1f;
  --input: #687e90;
  --primary: #8fdced;
  --primary-hover: #b3eaf5;
  --primary-ink: #09141c;
  --info-surface: #142630;
  --success: #85dbb1;
  --success-surface: #132920;
  --warning: #f0c77b;
  --warning-surface: #2c2418;
  --danger: #ff9bad;
  --danger-surface: #301c25;
  --highlight: #c6b0f0;
  --highlight-surface: #242033;
  --brand-purple: #230b4c;
  --brand-mint: #71e6ca;
  --radius: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --glass: #11151ae0;
  --panel-shadow: inset 0 1px 0 var(--line-soft);
  --font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --font-display: "Arial Black", "Pretendard", Arial, "Apple SD Gothic Neo", sans-serif;
  font-family: "Pretendard", Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg-deep); color: var(--text); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--primary); color: var(--primary-ink); }

/* The page scene: violet from the lower left, a little cyan from the upper right. */
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 4% 90%, #230b4c9e, transparent 60%), radial-gradient(ellipse at 92% 8%, #8fdced14, transparent 52%), linear-gradient(160deg, var(--bg), var(--bg-deep)); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; text-decoration: none; }
.brand strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 900; line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 30%, var(--brand-mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand small { display: block; margin-top: 4px; color: var(--text-2); font-size: 9px; font-weight: 600; letter-spacing: .18em; line-height: 1; }
.brand-mark { width: 36px; height: 36px; display: block; background: url("/static/acdc2026-icon.png") center / contain no-repeat; }
.brand-mark span { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-family: var(--font-code); font-size: 11px; font-weight: 500; letter-spacing: .12em; line-height: 1.2; }
.signal-dot { width: 7px; height: 7px; border-radius: 100%; display: inline-block; background: var(--primary); box-shadow: 0 0 0 4px #8fdced1c, 0 0 14px #8fdced66; }
.signature-chart { display: block; width: 48px; height: 48px; background: url("/static/acdc2026-icon.png") center / contain no-repeat; }
.muted { color: var(--muted); }

.button { min-height: 40px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 0 16px; font-weight: 600; text-decoration: none; transition: background .16s, border-color .16s, color .16s, box-shadow .16s; }
.button-primary { background: var(--primary); color: var(--primary-ink); }
.button-primary:not(:disabled):hover { background: var(--primary-hover); box-shadow: 0 0 20px #8fdced1f; }
.button-secondary, .button:not(.button-primary):not(.button-ghost):not(.button-link) { background: var(--control); color: var(--text-2); border-color: var(--line); }
.button-secondary:not(:disabled):hover, .button:not(.button-primary):not(.button-ghost):not(.button-link):not(:disabled):hover { background: var(--elevated); color: var(--text); border-color: var(--line-strong); }
.button-ghost { background: transparent; color: var(--text-2); border-color: var(--line); }
.button-ghost:not(:disabled):hover { background: #faf8ff0d; color: var(--text); }
.button-small { min-height: 32px; font-size: 12px; padding: 0 12px; }
.button-full { width: 100%; }
.button-link { color: var(--primary); font-size: 12px; border: 0; background: none; padding: 0; font-weight: 600; text-decoration: none; }
.button-link:hover { color: var(--primary-hover); text-decoration: underline; }

/* The bar at the top: one floating glass panel, as on the contest site. */
.site-header { position: sticky; z-index: 20; top: 12px; width: min(100% - 40px, 1880px); height: 64px; margin: 16px auto 0; border: 1px solid var(--line-soft); border-radius: 12px; background: linear-gradient(115deg, #11151aeb, #142630eb); box-shadow: var(--panel-shadow), 0 12px 36px #03060999; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; padding: 0 22px; }
.header-center { margin: auto; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.header-event { color: var(--muted); font-family: var(--font-code); font-size: 10px; letter-spacing: .12em; }
.header-divider { width: 1px; height: 12px; background: var(--line-strong); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.login-view .header-actions { margin-left: auto; }
.account-chip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 5px 10px; color: var(--primary); background: var(--info-surface); font-family: var(--font-code); font-size: 11px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }

/* Login */
.login-view { min-height: 100vh; display: flex; flex-direction: column; }
.login-view::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 15% 70%, #230b4cd9, transparent 72%), radial-gradient(ellipse at 88% 42%, #8fdced26, transparent 46%), radial-gradient(ellipse at 70% 96%, #5a6edc2e, transparent 50%), var(--bg-deep); }
.login-stage { flex: 1; display: grid; place-items: center; padding: 40px 16px 64px; }
.login-box { width: min(100%, 448px); display: grid; gap: 30px; }
.login-heading { display: grid; justify-items: center; gap: 10px; text-align: center; }
.login-heading .signature-chart { margin-bottom: 12px; }
.login-heading h1 { margin: 0; font-size: clamp(36px, 4.5vw, 62px); font-weight: 650; letter-spacing: -.055em; line-height: 1.08; }
.login-heading .muted { margin: 0; font-size: 14px; }
.login-panel { border: 0; border-top: 1px solid #8fdced2e; border-radius: var(--radius-md); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: clamp(24px, 4vw, 40px); }
.login-panel label { display: block; margin: 0 0 8px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.login-panel input { width: 100%; height: 42px; margin-bottom: 22px; padding: 0 12px; color: var(--text); border: 1px solid transparent; border-radius: var(--radius-sm); background: #080b10b8; box-shadow: inset 0 -1px 0 #8fdced47; outline: none; transition: box-shadow .16s, border-color .16s; }
.login-panel input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px #8fdced40; }
.login-panel input::placeholder { color: var(--muted-2); }
.login-panel .button-full { height: 50px; margin-top: 4px; font-size: 15px; }
.login-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.note-icon { display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; border-radius: 50%; background: var(--info-surface); color: var(--primary); font-size: 10px; font-style: normal; font-weight: 700; }
.form-error { color: var(--danger); font-size: 13px; margin: -8px 0 16px; }

/* Main shell */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.workspace { width: min(100% - 40px, 1880px); flex: 1; display: flex; gap: 22px; margin: 0 auto; padding-top: 22px; }
.sidebar { position: sticky; top: 98px; align-self: flex-start; width: 212px; flex: 0 0 212px; display: flex; flex-direction: column; min-height: calc(100vh - 150px); padding: 18px 10px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--glass); box-shadow: var(--panel-shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sidebar-section { color: var(--muted-2); margin: 0 12px 10px; font-family: var(--font-code); letter-spacing: .14em; font-size: 10px; font-weight: 500; }
.main-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; width: 100%; height: 42px; gap: 11px; text-align: left; padding: 0 12px; background: none; border: 0; border-radius: var(--radius-sm); color: var(--text-2); font-size: 14px; font-weight: 500; transition: background .16s, color .16s; }
.nav-item small { margin-left: auto; color: var(--muted-2); font-size: 9px; }
.nav-item:hover { background: #faf8ff0d; color: var(--text); }
.nav-item.is-active { background: #8fdced1a; color: var(--primary); }
.nav-item.is-active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--primary); box-shadow: 0 0 12px #8fdced66; }
.nav-icon { width: 18px; text-align: center; font-size: 16px; line-height: 1; }
.sidebar-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 14px 8px 0; color: var(--muted-2); border-top: 1px solid var(--line); font-family: var(--font-code); font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
.sidebar-lamp { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px #85dbb199; }
.main-content { flex: 1; width: 100%; max-width: 1360px; min-width: 0; padding: 6px 0 58px; outline: none; }
.main-content.is-wide { max-width: none; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(28px, 2.6vw, 40px); margin: 8px 0 4px; font-weight: 650; letter-spacing: -.055em; line-height: 1.1; }
.page-subtitle { color: var(--muted); font-size: 13px; margin: 0; word-break: keep-all; }
/* The monitor names itself in its band and has no room to give away: twenty rows fit one screen. */
.is-wide .page-head { display: none; }
.refresh-state { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--muted); font-family: var(--font-code); font-size: 11px; white-space: nowrap; }
.refresh-state button { width: 30px; height: 30px; color: var(--text-2); background: var(--control); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 17px; line-height: 1; }
.refresh-state button:hover { color: var(--primary); border-color: var(--primary); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(100% - 40px, 1880px); margin: 0 auto; padding: 14px 4px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-family: var(--font-code); font-size: 10px; letter-spacing: .08em; }

/* Components */
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); box-shadow: var(--panel-shadow); }
.card-pad { padding: 22px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.card-heading h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.035em; }
.card-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.section-kicker { display: block; margin-bottom: 4px; color: var(--primary); font-family: var(--font-code); letter-spacing: .12em; font-size: 10px; font-weight: 500; }
.section-heading { margin: 30px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.section-heading h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.hero-card { overflow: hidden; padding: 28px; background: linear-gradient(115deg, #11151ae6, #142630e6 62%, #242033d9); border-color: #8fdced33; }
.hero-card::before, .stat-card::before { content: ""; position: absolute; top: 9px; left: 9px; width: 16px; height: 9px; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.hero-card h2 { margin: 13px 0 6px; font-size: clamp(24px, 2.5vw, 34px); font-weight: 650; letter-spacing: -.05em; }
.hero-card p { margin: 0; color: var(--text-2); font-size: 13px; }
.hero-metric { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; }
/* Child selectors: the countdown under the metric has a strong and spans of its own. */
.hero-metric > strong { font-family: var(--font-code); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero-metric > span { margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
.hero-main { min-width: 0; }
/* The tick's three times: the clock large, its minute from the tick's start small; the next one lit. */
.hero-times { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.hero-time { display: flex; flex-direction: column; gap: 2px; min-width: 118px; padding: 9px 14px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--control); }
/* "점수·LLM 사용량 공개" wraps in the narrow three-column strip: between words, never inside one. */
.hero-time span { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.3; word-break: keep-all; }
.hero-time strong { color: var(--text); font-family: var(--font-code); font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-time small { color: var(--muted-2); font-family: var(--font-code); font-size: 10px; letter-spacing: .08em; }
.hero-time.is-next { border-color: #8fdced66; background: var(--info-surface); box-shadow: inset 0 2px 0 var(--primary); }
.hero-time.is-next span { color: var(--text-2); }
.hero-time.is-next strong { color: var(--primary); }
.hero-time.is-done { opacity: .6; }
.hero-time.is-done strong { color: var(--text-2); }
/* The time left in the phase, directly under the tick number. */
.hero-countdown { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 176px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.hero-countdown-label { color: var(--text-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.hero-countdown-value { color: var(--primary); font-family: var(--font-code); font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-countdown.is-due .hero-countdown-value { color: var(--text); }
.hero-countdown.is-late .hero-countdown-value { color: var(--warning); }
.hero-countdown.is-stopped .hero-countdown-value { color: var(--danger); }
/* Read by screen readers, not shown. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 2px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.chip-good { color: var(--success); border-color: #85dbb14d; background: var(--success-surface); }
.chip-running { color: var(--primary); border-color: #8fdced4d; background: var(--info-surface); }
.chip-warn { color: var(--warning); border-color: #f0c77b4d; background: var(--warning-surface); }
.chip-bad { color: var(--danger); border-color: #ff9bad4d; background: var(--danger-surface); }
.chip-neutral { color: var(--muted); background: #faf8ff0a; }
.grid-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 18px; }
.grid-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.stat-card { padding: 20px 20px 18px; }
.stat-card .stat-label { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.stat-card strong { display: block; margin: 7px 0 2px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.stat-card small { color: var(--muted-2); font-size: 11px; }
.stat-card .small-value { font-size: 19px; letter-spacing: -.03em; }
.stat-card .button-link { display: inline-block; margin-top: 10px; }
.contest-flow { position: relative; z-index: 1; margin-top: 25px; border-top: 1px solid var(--line-soft); padding-top: 15px; }
.flow-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 18px; }
.flow-head span { color: var(--muted); font-family: var(--font-code); font-size: 10px; letter-spacing: .1em; }
.flow-head strong { color: var(--text); font-size: 12px; font-weight: 600; }
.flow-scroll { overflow-x: auto; overflow-y: hidden; margin-top: 18px; padding-bottom: 8px; scrollbar-color: var(--line-strong) transparent; }
.flow-steps { display: grid; grid-template-columns: repeat(6,minmax(155px,1fr)); min-width: 930px; list-style: none; margin: 0; padding: 0; }
.flow-step { position: relative; min-height: 75px; padding: 18px 12px 0 0; border-top: 2px solid var(--line); color: var(--muted); }
.flow-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); border: 2px solid var(--card); }
.flow-step.is-done { border-top-color: var(--success); color: var(--text-2); }
.flow-step.is-done::before { background: var(--success); }
.flow-step.is-current { border-top-color: var(--primary); color: var(--text); }
.flow-step.is-current::before { background: var(--primary); box-shadow: 0 0 0 5px #8fdced30, 0 0 12px #8fdced66; }
.flow-step.is-current.is-error { border-top-color: var(--danger); }
.flow-step.is-current.is-error::before { background: var(--danger); box-shadow: 0 0 0 5px #ff9bad2a; }
.flow-step .flow-number { display: block; color: var(--muted-2); font-family: var(--font-code); font-size: 10px; letter-spacing: .06em; }
.flow-step strong { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.flow-step small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.operator-flow .flow-head span { color: var(--highlight); }
.operator-flow .flow-steps { grid-template-columns: repeat(5,minmax(158px,1fr)); min-width: 790px; }
.operator-flow .flow-step { min-height: 88px; }
.operator-panel { margin-bottom: 20px; }
.operator-panel .card-heading + .contest-flow { margin-top: 8px; }
.usage-table { min-width: 770px; }
.usage-table.has-reasoning { min-width: 860px; }
.usage-table td .chip-neutral { margin-left: 4px; vertical-align: 1px; }
/* The operators' LLM usage view. */
.usage-toolbar { margin-bottom: 16px; }
.usage-summary { margin-bottom: 4px; }
.usage-summary .card-heading { margin-bottom: 14px; }
.usage-totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.usage-totals > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--control); }
.usage-totals span { color: var(--muted); font-size: 11px; font-weight: 600; }
.usage-totals strong { color: var(--text); font-family: var(--font-code); font-size: 17px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.usage-totals .is-key { border-color: #8fdced4d; background: var(--info-surface); }
.usage-totals .is-key strong { color: var(--primary); }
.usage-proxy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 0; }
/* A long value (the limits) must not squeeze its label onto two lines. */
.usage-proxy dt { flex: none; white-space: nowrap; }
.usage-proxy dd { min-width: 0; overflow-wrap: anywhere; }
.usage-proxy .usage-hash { font-size: 11px; font-weight: 500; }
.usage-proxy .usage-error { display: block; color: var(--danger); }
/* Twenty rows of twenty-one columns: denser than the other tables (.data-table's rules below are overridden).
   The wrapper scrolls sideways, so a narrow screen scrolls the table and never the page. */
.usage-live-table { min-width: 1040px; }
.usage-admin-table { min-width: 1720px; }
.data-table.usage-admin-table th, .data-table.usage-admin-table td { padding: 8px 10px; }
.data-table.usage-admin-table td { font-size: 12px; white-space: nowrap; }
.data-table.usage-admin-table td.num, .data-table.usage-live-table td.num { font-size: 12px; font-weight: 500; color: var(--text-2); }
.data-table.usage-admin-table td.num.is-key { color: var(--primary); font-weight: 700; }
.data-table.usage-admin-table tr.is-dim td { color: var(--muted-2); }
.upload-zone { display: block; padding: 27px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: #8fdced08; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--primary); background: #8fdced14; }
.upload-symbol { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 11px; border-radius: var(--radius-sm); border: 1px solid #8fdced4d; color: var(--primary); background: var(--info-surface); font-size: 22px; }
.upload-zone strong { display: block; font-size: 14px; font-weight: 600; }
.upload-zone small { color: var(--muted); font-size: 12px; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-selected { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--control); color: var(--text-2); font-size: 12px; }
.file-selected span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.upload-actions p { margin: 0; color: var(--muted); font-size: 12px; }
.status-stack { display: grid; gap: 0; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.status-row:last-child { border-bottom: 0; }
.status-row label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.status-row strong { font-size: 13px; font-weight: 600; word-break: break-word; }
.status-row .mono { font-size: 12px; }
.status-row .status-sub { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-family: var(--font-code); }
.mono { font-family: var(--font-code); }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #11151aeb; }
.data-table { border-collapse: collapse; width: 100%; min-width: 530px; }
.data-table th { padding: 12px 16px; background: var(--control); color: var(--muted); font-size: 11px; letter-spacing: .04em; text-align: left; font-weight: 600; white-space: nowrap; }
.data-table td { padding: 13px 16px; border-top: 1px solid var(--line-soft); color: var(--text-2); font-size: 13px; vertical-align: middle; }
.data-table tr:hover td { background: #1b222b99; }
.data-table tr.is-own td { background: #8fdced12; }
/* The build the team's newest tick ran. */
.data-table tr.is-executed td { background: #8fdced12; }
.data-table tr.is-executed td:first-child { box-shadow: inset 2px 0 0 var(--primary); }
.data-table td.num { font-family: var(--font-code); font-size: 15px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.data-table .timestamp { color: var(--muted); font-family: var(--font-code); font-size: 12px; white-space: nowrap; }
.round-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.round-tab { min-height: 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 10px 18px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); text-align: left; transition: background .16s, border-color .16s, color .16s; }
.round-tab:hover { background: #faf8ff0a; color: var(--text); }
.round-tab.is-active { border-bottom-color: var(--primary); color: var(--primary); }
.round-tab span { font-family: var(--font-code); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.round-tab small { color: var(--muted); font-size: 11px; }
.round-tab.is-active small { color: var(--text-2); }
.tick-picker { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.tick-picker > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 500; }
.tick-picker > div { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; padding: 2px; }
.tick-button { min-width: 76px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--control); color: var(--muted); font-family: var(--font-code); font-size: 11px; font-weight: 600; white-space: nowrap; }
.tick-button:hover { color: var(--text); border-color: var(--line-strong); }
.tick-button.is-active { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.score-result { min-height: 230px; }
.score-retry { display: flex; justify-content: center; margin-top: 15px; }
.score-result .capture-cell { width: 29px; height: 29px; border-radius: var(--radius-sm); font-size: 15px; line-height: 1; }
.score-result .capture-cell.is-missing { background: #ff9bad14; border-color: #ff9bad55; }
.empty-state { padding: 34px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #11151ab8; text-align: center; }
.empty-symbol { display: grid; place-items: center; margin: 0 auto 12px; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--primary); font-size: 21px; }
.empty-state strong { display: block; font-size: 14px; font-weight: 600; }
.empty-state p { margin: 5px auto 0; color: var(--muted); font-size: 12px; max-width: 380px; }
.notice { padding: 13px 16px; margin-top: 16px; border: 1px solid var(--line); border-left: 2px solid var(--primary); border-radius: var(--radius-sm); background: var(--info-surface); color: var(--text-2); font-size: 12px; }
.notice-warning { border-color: #f0c77b40; border-left-color: var(--warning); background: var(--warning-surface); color: #f7dca9; }
.notice-error { border-color: #ff9bad40; border-left-color: var(--danger); background: var(--danger-surface); color: #ffbdc9; }
.image-status, .output-lost { display: grid; gap: 6px; margin-bottom: 16px; }
.image-status .mono, .output-lost .mono { word-break: break-all; }
.log-list { display: grid; gap: 8px; }
.log-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #11151aeb; }
.log-item strong { display: block; font-size: 13px; font-weight: 600; }
.log-item small { color: var(--muted); font-size: 11px; }
.log-mark { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: var(--radius-sm); color: var(--primary); background: var(--info-surface); font-size: 17px; }
.log-item-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.log-item-main > div:last-child { min-width: 0; }
.log-item-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiny-meta { color: var(--muted-2); font-size: 11px; }
.tick-list { display: grid; gap: 0; }
.tick-list-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.tick-list-row:last-child { border: 0; }
.tick-list-marks { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 7px; flex: 0 1 auto; }
.hero-marks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.tick-list-row strong { font-size: 13px; font-weight: 600; }
.tick-list-row small { display: block; color: var(--muted); font-size: 11px; }
.admin-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.contest-schedule { margin: 20px 0; }
/* The current service's statement is its authors' text: shown as written, line breaks kept, never as markup. */
.brief-card { margin: 20px 0; }
.brief-card:first-child { margin-top: 0; }
.brief-card .card-heading { margin-bottom: 14px; }
.brief-text { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--control); color: var(--text-2); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.schedule-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
.schedule-grid > div { display: flex; flex-direction: column; gap: 4px; min-height: 62px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--control); }
.schedule-grid strong { color: var(--primary); font-family: var(--font-code); font-size: 12px; font-weight: 600; }
.schedule-grid span { color: var(--text-2); font-size: 12px; }
.manual-panel { margin-bottom: 20px; }
.manual-check { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; color: var(--text-2); font-size: 12px; }
.manual-check input { accent-color: var(--primary); }
.manual-panel .data-table-wrap { margin-top: 16px; }
/* The operators' table of tick start requests: denser rows; under a failed request's message stand the worker's reason line and the job's ID, and a request without a result has the job's ID alone. */
.data-table.start-table th, .data-table.start-table td { padding: 9px 14px; }
.start-log { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.field label { color: var(--muted); font-size: 12px; font-weight: 500; }
.field input, .field select { min-height: 38px; width: 100%; padding: 0 10px; background: var(--control); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.field input:focus, .field select:focus { outline: 2px solid #8fdced66; outline-offset: 1px; border-color: var(--primary); }
.field.wide { min-width: 180px; flex: 1; }
.capture-grid-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #11151aeb; }
.capture-grid { border-collapse: collapse; min-width: 680px; width: 100%; }
.capture-grid th, .capture-grid td { border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); padding: 10px 9px; text-align: center; font-size: 12px; }
.capture-grid th { color: var(--muted); background: var(--control); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.capture-grid th:first-child, .capture-grid td:first-child { text-align: left; padding-left: 16px; position: sticky; left: 0; background: var(--control); min-width: 120px; z-index: 1; }
.capture-grid td:first-child { background: var(--card); color: var(--text); font-weight: 600; }
.capture-grid th:last-child { border-right: 0; white-space: nowrap; }
.capture-grid td:last-child { border-right: 0; white-space: nowrap; }
.capture-grid tr:last-child td { border-bottom: 0; }
.capture-cell { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: var(--radius-sm); background: #faf8ff0a; border: 1px solid var(--line); color: var(--muted-2); font-size: 15px; font-weight: 700; line-height: 1; }
.capture-cell.is-captured { background: var(--success-surface); border-color: #85dbb180; color: var(--success); }
.capture-cell.is-missing { background: #ff9bad0f; border-color: #ff9bad40; color: var(--danger); }
.capture-grid-compact th, .capture-grid-compact td { padding: 6px 2px; white-space: nowrap; }
.capture-grid-compact th:first-child, .capture-grid-compact td:first-child { min-width: 96px; padding-right: 8px; }
.capture-grid-compact th:last-child, .capture-grid-compact td:last-child { position: sticky; right: 0; z-index: 1; padding: 6px 9px; }
.capture-grid-compact td:last-child { background: var(--card); }
.capture-grid-compact .capture-cell { width: 22px; height: 22px; border-radius: 3px; font-size: 11px; }
.capture-legend { display: flex; gap: 18px; margin-top: 13px; color: var(--muted); font-size: 12px; }
.capture-legend span { display: inline-flex; align-items: center; gap: 7px; }
.capture-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.capture-legend span:nth-child(2) i { background: var(--danger); }
.meta-pair { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.meta-pair:last-child { border-bottom: 0; }
.meta-pair dt { color: var(--muted); font-size: 12px; }
.meta-pair dd { margin: 0; text-align: right; font-weight: 600; font-size: 13px; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: min(430px, calc(100vw - 32px)); padding: 13px 17px; background: var(--popover); border: 1px solid #85dbb166; border-left: 2px solid var(--success); color: var(--text); border-radius: var(--radius-sm); box-shadow: 0 12px 32px #03060980; font-size: 13px; font-weight: 500; }
.toast.is-error { border-color: #ff9bad66; border-left-color: var(--danger); }

/* The operators' monitor: one state band, what needs a look, then every team of this division in rows. */
.mon { display: grid; gap: 10px; }
.mon-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 26px; padding: 9px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(115deg, #11151af2, #142630f2); box-shadow: var(--panel-shadow); }
.mon-band h2 { margin: 0; display: flex; align-items: baseline; gap: 14px; font-size: 27px; font-weight: 700; letter-spacing: -.05em; line-height: 1.15; }
.mon-band h2 small { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.mon-band.is-warn { border-color: #f0c77b99; background: var(--warning-surface); }
.mon-band.is-warn h2 { color: var(--warning); }
.mon-band.is-bad { border-color: var(--danger); background: linear-gradient(115deg, #4a1f2c, #301c25); }
.mon-band.is-bad h2 { color: #ffd9e0; }
.mon-facts { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--text-2); font-size: 13px; }
.mon-facts b { color: var(--text); font-family: var(--font-code); font-weight: 600; font-variant-numeric: tabular-nums; }
.mon-facts .is-stale b, .mon-facts .is-stale { color: var(--warning); }
.mon-alerts { display: grid; gap: 6px; }
.mon-alert { display: flex; align-items: center; gap: 12px; padding: 5px 14px 5px 12px; border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius-sm); font-size: 14px; }
.mon-alert.is-bad { border-color: #ff9bad40; border-left-color: var(--danger); background: var(--danger-surface); }
.mon-alert.is-warn { border-color: #f0c77b40; border-left-color: var(--warning); background: var(--warning-surface); }
.mon-alert p { flex: 1; min-width: 0; margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.mon-alert p b { color: var(--text); font-weight: 650; }
.mon-alert .mon-age { color: var(--text); font-family: var(--font-code); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mon-tag { flex: 0 0 auto; padding: 1px 8px; border: 1px solid currentColor; border-radius: 30px; font-size: 11px; font-weight: 600; }
.is-bad > .mon-tag { color: var(--danger); }
.is-warn > .mon-tag { color: var(--warning); }
.mon-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); font-size: 13px; color: var(--text-2); }
.mon-strip h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.mon-strip b { color: var(--text); font-family: var(--font-code); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mon-strip .mon-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.mon-round { border: 1px solid var(--line); border-radius: var(--radius); background: #11151aeb; overflow: hidden; }
.mon-round-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 7px 14px; border-bottom: 1px solid var(--line); background: var(--control); }
.mon-round.is-idle .mon-round-head { border-bottom: 0; }
.mon-round-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.mon-round-head h3 small { margin-left: 8px; color: var(--muted); font-family: var(--font-code); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.mon-round-head .mon-ticks { display: flex; gap: 4px; margin-left: auto; }
.mon-tick { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: none; color: var(--muted); font-family: var(--font-code); font-size: 11px; font-weight: 600; }
.mon-tick:hover { color: var(--text); border-color: var(--line-strong); }
.mon-tick.is-shown { border-color: var(--primary); color: var(--primary); background: #8fdced14; }
.mon-tick i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--line-strong); }
.mon-tick i.is-live { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 8px #8fdced99; }
.mon-tick i.is-over { border-color: var(--success); background: var(--success); }
.mon-tick i.is-failed { border-color: var(--danger); background: var(--danger); }
.mon-scroll { overflow-x: auto; }
.mon-table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mon-table th { padding: 5px 10px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .03em; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.mon-table td { padding: 2px 10px; height: 26px; border-top: 1px solid #faf8ff12; color: var(--text-2); white-space: nowrap; vertical-align: middle; }
.mon-table tbody tr:first-child td { border-top: 0; }
.mon-table tbody tr:hover td { background: #1b222b80; }
.mon-table .mon-num { width: 34px; color: var(--muted-2); font-family: var(--font-code); font-size: 12px; text-align: right; }
.mon-table .mon-team { color: var(--text); font-weight: 600; }
.mon-table th.is-right, .mon-table td.is-right { text-align: right; }
.mon-table td.is-code { font-family: var(--font-code); font-size: 12px; }
.mon-table tr.is-bad td { background: #ff9bad14; }
.mon-table tr.is-bad td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
.mon-table tr.is-warn td { background: #f0c77b12; }
.mon-table tr.is-warn td:first-child { box-shadow: inset 3px 0 0 var(--warning); }
.mon-table tr.is-bad .mon-team, .mon-table tr.is-warn .mon-team { font-weight: 700; }
.mon-sub { display: inline-flex; align-items: center; min-height: 19px; padding: 0 7px; border: 1px solid var(--line-strong); border-radius: 30px; color: var(--text); background: #faf8ff0f; font-size: 11px; font-weight: 600; }
.mon-sub.is-none { border-color: #ff9bad66; color: var(--danger); background: none; }
.mon-sub.is-wait { border-color: #f0c77b66; color: var(--warning); background: none; }
.mon-sub-note { margin-left: 6px; color: var(--muted); font-size: 11px; }
.mon-stage { display: flex; align-items: center; gap: 10px; }
.mon-bar { display: inline-flex; gap: 2px; flex: 0 0 auto; }
.mon-bar i { width: 9px; height: 9px; border-radius: 1px; background: #faf8ff1a; }
.mon-bar i.is-done { background: var(--text); }
.mon-bar i.is-now { background: none; box-shadow: inset 0 0 0 1.5px var(--primary); }
.mon-bar i.is-failed { background: var(--danger); }
.mon-bar i.is-none { background: none; box-shadow: inset 0 0 0 1px #faf8ff2e; }
.mon-words { color: var(--text); }
.mon-words small { margin-left: 6px; color: var(--muted); font-size: 12px; }
.mon-words.is-bad { color: var(--danger); font-weight: 650; }
.mon-words.is-warn { color: var(--warning); font-weight: 650; }
.mon-words.is-dim { color: var(--muted); }
.mon-calls b { color: var(--text); font-family: var(--font-code); font-weight: 600; }
.mon-calls small { margin-left: 6px; color: var(--danger); font-size: 12px; }
.mon-calls .mon-tokens { margin-left: 6px; color: var(--muted); font-family: var(--font-code); font-size: 11px; }
.mon-quiet { font-family: var(--font-code); font-size: 12px; }
.mon-quiet .is-long { color: var(--warning); font-weight: 700; }
.mon-result { display: inline-block; min-width: 34px; padding: 1px 5px; border-radius: 3px; background: #faf8ff0a; color: var(--muted-2); font-family: var(--font-code); font-size: 11px; text-align: center; }
.mon-result.is-some { background: var(--success-surface); color: var(--success); }
.mon-result.is-zero { color: var(--text-2); }
.mon-result.is-error { box-shadow: inset 0 -2px 0 var(--danger); }
.mon-result.is-live { background: var(--info-surface); color: var(--primary); }
.mon-result.is-shown { outline: 1px solid #8fdced66; }
.mon-notes { display: grid; gap: 5px; }
.mon-notes h4 { margin: 4px 0 0; font-size: 13px; font-weight: 700; }
.mon-notes h4 small { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
.mon-note { margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-left: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: #11151ab8; color: var(--muted); font-size: 13px; }
.mon-note b { color: var(--text-2); font-weight: 650; }
.mon-legend { margin: 2px 0 0; color: var(--muted-2); font-size: 12px; line-height: 1.6; }

@media (max-width: 1100px) {
  .header-center { display: none; }
  .header-actions { margin-left: auto; }
  .sidebar { width: 186px; flex-basis: 186px; }
  .grid-two { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .login-stage { padding: 28px 16px 40px; }
  .login-panel input { height: 44px; }
  .site-header { top: 8px; width: calc(100% - 20px); height: 58px; margin-top: 10px; }
  .header-inner { padding: 0 14px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .workspace { display: block; width: calc(100% - 20px); padding-top: 12px; }
  .sidebar { position: sticky; top: 74px; z-index: 18; width: 100%; min-height: 0; display: block; padding: 6px 8px; margin-bottom: 16px; overflow: auto; }
  .sidebar-section, .sidebar-bottom { display: none; }
  .main-nav { flex-direction: row; width: max-content; }
  .nav-item { width: auto; height: 36px; padding: 0 12px; gap: 7px; font-size: 12px; white-space: nowrap; }
  .nav-item.is-active::before { top: auto; bottom: 0; left: 10px; right: 10px; width: auto; height: 2px; }
  .nav-icon { font-size: 14px; width: 14px; }
  .main-content { padding: 0 0 45px; }
  .page-head { align-items: flex-start; }
  .page-head h1 { font-size: 27px; }
  .refresh-state > span:not(.signal-dot) { display: none; }
  .hero-card { padding: 22px; }
  .hero-metric > strong { font-size: 34px; }
  /* The metric and its countdown become one row under the title; the three times share its width. */
  .hero-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-metric { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
  .hero-metric > span { margin-top: 0; }
  .hero-countdown { flex: 1 0 100%; flex-direction: row; align-items: baseline; justify-content: space-between; min-width: 0; margin-top: 4px; }
  .hero-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-times.hero-times-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-time { min-width: 0; padding: 8px 10px; }
  .hero-time strong { font-size: 18px; }
  .usage-proxy { grid-template-columns: 1fr; }
  .grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-pad { padding: 18px; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .round-tab { min-height: 58px; padding: 9px 12px; }
  .round-tab span { font-size: 11px; }
  .tick-picker { display: block; }
  .tick-picker > span { display: block; margin-bottom: 7px; }
  .tick-picker > div { width: 100%; }
  .site-footer { width: calc(100% - 20px); }
  .site-footer span:last-child { display: none; }
  .mon-band h2 { font-size: 24px; }
}
@media (max-width: 440px) {
  .account-chip { display: none; }
  .hero-card p { max-width: 200px; }
  .hero-time strong { font-size: 16px; }
  .hero-time span { font-size: 10px; }
  .hero-countdown-value { font-size: 20px; }
  .grid-three { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 22px; }
  .flow-head strong { font-size: 11px; }
  .upload-actions { flex-direction: column; align-items: stretch; }
  .upload-actions .button { width: 100%; }
  .round-tab { padding: 8px; }
  .round-tab span { font-size: 10px; }
  .round-tab small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
