:root { color-scheme: dark; font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e7ebe7; background: #121a1b; --muted: #9baaa7; --line: #354340; --accent: #b7d5a7; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 90% 0, #24312c 0, transparent 48%); min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select, textarea { border: 1px solid var(--line); border-radius: 6px; background: #1a2525; color: inherit; }
button { min-height: 44px; padding: 9px 15px; transition: background .12s, border-color .12s; }
button:hover:not(:disabled) { border-color: #8ca194; background: #2c3b35; }
button:disabled { cursor: default; opacity: .38; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid #c6dfa8; outline-offset: 4px; }
input, select, textarea { padding: 11px 13px; min-height: 44px; }
input::placeholder, textarea::placeholder { color: #92a09b; opacity: 1; }
a { color: #bfcfbd; text-underline-offset: 5px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(32px, 4vw, 38px); letter-spacing: -.055em; line-height: 1.1; font-weight: 550; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.035em; line-height: 1.2; font-weight: 550; overflow-wrap: anywhere; }
.workspace { max-width: 1260px; margin: 0 auto; padding: 22px 38px 28px; }
.masthead, .intro, .toolbar, .view-heading, .caption, .review-controls, .notes-row, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .16em; color: var(--accent); margin-bottom: 10px; }
.back-link { font-size: 12px; white-space: nowrap; }
.intro { margin: 13px 0 15px; align-items: baseline; }
.intro > p:first-child { font-size: 18px; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.intro .muted { font-size: 13px; }
.toolbar { gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.search-field { flex: 1; max-width: 310px; min-width: 160px; }
.search-field input { width: 100%; }
.toolbar select { max-width: 270px; }
.progress { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.viewer { padding-top: 15px; }
.view-heading { min-height: 60px; margin-bottom: 13px; }
.view-heading .eyebrow { margin-bottom: 6px; }
.view-heading .muted { margin-top: 6px; font-size: 13px; }
.view-options { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.display-modes { display: flex; border: 1px solid var(--line); border-radius: 6px; padding: 3px; background: #0e1919; }
.display-modes button { border: 0; background: transparent; color: var(--muted); font-size: 11px; padding: 8px 12px; min-height: 36px; white-space: nowrap; }
.display-modes button[aria-pressed="true"] { background: #344638; color: #e2edda; }
.verdict { padding: 6px 14px; border: 1px solid #75956c; border-radius: 30px; color: var(--accent); font-size: 12px; }
.image-stage { position: relative; aspect-ratio: 16 / 9; width: min(100%, 85.333vh, 960px); margin: 0 auto; background: #0c1318; border: 1px solid #40504d; border-radius: 8px; overflow: hidden; }
.image-stage img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
[hidden], .image-stage img[hidden] { display: none !important; }
.preview-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 30px; text-align: center; color: #a7b9b2; background: linear-gradient(150deg, #1b2b2c, #101b20); }
.preview-empty p { max-width: 380px; }
.compass { font-size: 50px; font-weight: 200; color: #708b83; }
.preview-label { position: absolute; top: 15px; left: 15px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; padding: 7px 9px; color: #dbe7dc; background: #102022d9; border: 1px solid #d4e6db26; border-radius: 4px; pointer-events: none; }
.compare { position: absolute; right: 15px; bottom: 15px; background: #132326e8; color: #e0ebdd; font-size: 12px; }
.compare[aria-pressed="true"] { border-color: var(--accent); }
.caption { align-items: baseline; margin: 9px 0 15px; color: var(--muted); font-size: 12px; }
.position { white-space: nowrap; font-variant-numeric: tabular-nums; }
.warning { color: #ddc497; background: #bd8f3020; border-left: 2px solid #b5945a; padding: 8px 12px; margin: -8px 0 20px; font-size: 12px; }
.warning.informational { color: var(--muted); background: transparent; border: 0; padding: 0; margin: -6px 0 13px; font-size: 11px; }
.review-controls { margin: 0 0 14px; }
.decisions { display: flex; gap: 10px; }
.choice { min-width: 130px; font-weight: 550; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
kbd { font: 10px/1.4 inherit; border: 1px solid currentColor; border-radius: 3px; padding: 1px 5px; opacity: .65; }
.keep { color: #17271c; background: #b7d5a7; border-color: #b7d5a7; }
.keep:hover:not(:disabled) { background: #cee4be; border-color: #d8eccb; }
.maybe { color: #e1cca4; border-color: #6f6248; }
.pass { color: #c1ccc6; }
.nav { color: #c1ccc6; background: transparent; border-color: transparent; min-width: 105px; }
.notes-row { font-size: 12px; margin-top: 6px; }
.notes-row .muted { margin-left: 7px; }
.text-button { color: #b4c3b9; border: 0; min-height: 36px; font-size: 12px; padding: 5px 0 5px 12px; background: transparent; }
.text-button:hover:not(:disabled) { background: transparent; color: #e9f3df; }
textarea { resize: vertical; width: 100%; min-height: 75px; margin-top: 3px; font-size: 13px; }
.footer { padding: 22px 0 19px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.save-state { color: var(--muted); font-size: 11px; max-width: 420px; }
.save-state .unsaved { color: #edcb9c; }
#announcement { color: #c0d6b3; margin-top: 4px; }
.file-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.file-actions button { font-size: 11px; background: transparent; min-height: 40px; }
.file-actions button:last-of-type { border-color: #6d826a; color: #d4e2c8; }
.fine-print { color: #84958e; font-size: 11px; max-width: 760px; margin-top: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .workspace { padding: 24px 17px; }
  .masthead { align-items: flex-start; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .back-link { font-size: 10px; margin-top: 7px; }
  .intro { display: block; margin: 19px 0; }
  .intro .muted { margin-top: 5px; }
  .toolbar { gap: 8px; }
  .search-field { max-width: none; width: 100%; flex-basis: 100%; }
  .toolbar > label:not(.search-field) { flex: 1; min-width: 0; }
  .toolbar select { width: 100%; max-width: none; font-size: 12px; }
  .progress { margin: 3px 0 0; width: 100%; }
  .viewer { padding-top: 20px; }
  .view-heading { min-height: 70px; margin-bottom: 16px; flex-wrap: wrap; gap: 11px; }
  .view-options { width: 100%; justify-content: space-between; }
  .display-modes button { min-height: 40px; }
  .image-stage { margin: 0 -6px; width: calc(100% + 12px); }
  .preview-label { top: 8px; left: 8px; font-size: 8px; padding: 5px; }
  .compare { right: 8px; bottom: 8px; min-height: 36px; font-size: 10px; padding: 6px 9px; }
  .caption { gap: 12px; font-size: 10px; margin-bottom: 18px; align-items: flex-start; }
  .review-controls { flex-wrap: wrap; gap: 6px; }
  .decisions { width: 100%; order: -1; gap: 8px; }
  .choice { min-width: 0; flex: 1; gap: 4px; padding: 11px 14px; }
  .nav { min-width: 0; padding: 6px 10px; font-size: 12px; }
  .notes-row { gap: 8px; }
  .footer { gap: 14px; }
  .file-actions { width: 100%; gap: 6px; }
  .file-actions button { padding: 9px; flex: 1; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
