* { box-sizing: border-box; }
:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #202b35; background: #f2f4f6; font-size: 16px; line-height: 1.75; }
body { margin: 0; }
a { color: #8c2028; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #50121a; }
a:focus-visible, button:focus-visible, .table-wrap:focus-visible { outline: 3px solid #b62335; outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 20px; background: white; padding: 12px; z-index: 4; }
.skip:focus { top: 12px; }
.toolbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px max(24px, calc((100vw - 1280px)/2)); background: #fff; border-bottom: 1px solid #d8dde2; }
.back { font-weight: 600; text-decoration: none; color: #202b35; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #b8c0c8; border-radius: 6px; padding: 9px 16px; background: white; color: #202b35; font: 600 14px/1.5 system-ui, sans-serif; cursor: pointer; }
[hidden] { display: none !important; }
.layout { display: grid; grid-template-columns: 230px minmax(0, 880px); gap: 40px; max-width: 1200px; margin: 40px auto 80px; padding: 0 24px; }
.contents { position: sticky; top: 105px; align-self: start; font-size: 13px; }
.contents > p { color: #63717e; letter-spacing: .12em; font-size: 11px; font-weight: 700; }
.contents ol { list-style: none; padding: 0; }
.contents li { margin: 0 0 12px; }
.contents a { display: block; color: #465460; text-decoration: none; }
.contents a:hover { color: #a52230; text-decoration: underline; }
main { min-width: 0; background: #fff; border: 1px solid #e0e4e8; border-radius: 10px; padding: 48px 52px; box-shadow: 0 8px 32px #202b3506; }
.eyebrow { margin: 0 0 14px; color: #962331; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
h1, h2, h3 { color: #101820; line-height: 1.25; }
h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; margin: 0 0 12px; }
.subtitle { font-size: 20px; color: #50606c; margin: 0 0 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 0; padding-bottom: 28px; border-bottom: 1px solid #dfe4e8; }
dt { font-size: 11px; font-weight: 700; color: #63717e; text-transform: uppercase; letter-spacing: .06em; }
dd { margin: 6px 0 0; font-size: 13px; line-height: 1.65; }
section { margin-top: 38px; scroll-margin-top: 110px; }
h2 { font-size: 23px; margin: 0 0 18px; letter-spacing: -.02em; }
h3 { font-size: 17px; margin: 24px 0 10px; }
p { margin: 0 0 18px; }
.callout { border-left: 3px solid #a52230; padding: 14px 20px; background: #f6f8fa; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid #d8dde2; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; table-layout: fixed; }
th, td { padding: 12px 14px; border-right: 1px solid #d8dde2; border-bottom: 1px solid #d8dde2; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
th { background: #e9edf1; color: #101820; font-weight: 700; }
tbody tr:nth-child(even) { background: #f7f9fb; }
.requirements, .clinics { padding-left: 24px; }
.clinics { list-style: none; padding-left: 0; }
li { margin-bottom: 10px; padding-left: 4px; }
.schedule { margin: 24px 0; }
.schedule > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e1e5e9; }
.schedule dt { text-transform: none; font-size: 13px; letter-spacing: 0; color: #202b35; }
.schedule dd { margin: 0; font-size: 14px; }
.muted { font-size: 13px; color: #53626f; }
.source { border-top: 1px solid #d8dde2; margin-top: 40px; padding-top: 24px; font-size: 12px; color: #63717e; overflow-wrap: anywhere; }
.source p { margin: 6px 0; }
pre { padding: 18px; background: #f1f4f7; border: 1px solid #d8dde2; border-radius: 5px; overflow-x: auto; max-width: 100%; font-size: 12px; line-height: 1.65; }
code { font-family: ui-monospace, Consolas, monospace; }
.guide-intro { margin-top: 28px; }
.contents { max-height: calc(100vh - 135px); overflow-y: auto; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; max-width: 820px; gap: 20px; margin-top: 24px; } .contents { position: static; } .contents ol { display: flex; flex-wrap: wrap; gap: 8px 20px; } .contents li { margin: 0; } }
@media (max-width: 600px) { .toolbar { position: static; align-items: flex-start; flex-direction: column; padding: 16px 20px; } .layout { padding: 0 12px; } main { padding: 28px 22px; } .facts { grid-template-columns: 1fr; gap: 16px; } .schedule > div { grid-template-columns: 1fr; gap: 4px; } .table-wrap { margin-inline: -8px; } th, td { padding: 10px; } h2 { font-size: 21px; } section { scroll-margin-top: 20px; } }
@page { size: A4; margin: 18mm 16mm; }
@media screen {
  :root.challenge-page { color-scheme: dark; background: #000; color: #f5f5f5; }
  body.challenge-page { background: #000; color: #f5f5f5; }
  .challenge-page main { background: #080808; border-color: #383838; box-shadow: none; }
  .challenge-page .toolbar { background: #000; border-color: #383838; }
  .challenge-page h1, .challenge-page h2, .challenge-page h3,
  .challenge-page .back, .challenge-page .eyebrow, .challenge-page .schedule dt { color: #fff; }
  .challenge-page a { color: #fff; }
  .challenge-page a:hover { color: #d9d9d9; }
  .challenge-page a:focus-visible, .challenge-page button:focus-visible,
  .challenge-page .table-wrap:focus-visible { outline-color: #fff; }
  .challenge-page button { background: #101010; border-color: #999; color: #fff; }
  .challenge-page button:hover { background: #252525; }
  .challenge-page .skip { background: #000; }
  .challenge-page .subtitle, .challenge-page .contents a { color: #ddd; }
  .challenge-page dt, .challenge-page .contents > p,
  .challenge-page .muted, .challenge-page .source { color: #bfbfbf; }
  .challenge-page .facts, .challenge-page .source,
  .challenge-page .schedule > div, .challenge-page .table-wrap,
  .challenge-page th, .challenge-page td { border-color: #484848; }
  .challenge-page .callout { background: #151515; border-left-color: #fff; }
  .challenge-page th { background: #242424; color: #fff; }
  .challenge-page tbody tr:nth-child(even) { background: #141414; }
}
@media print {
  :root { background: white; color: #17212a; font-size: 10pt; line-height: 1.5; }
  .toolbar, .contents, .skip { display: none !important; }
  .layout { display: block; max-width: none; margin: 0; padding: 0; }
  main { border: 0; border-radius: 0; padding: 0; box-shadow: none; }
  h1 { font-size: 29pt; } h2 { font-size: 17pt; margin-bottom: 10pt; } h3 { font-size: 12pt; }
  .subtitle { font-size: 15pt; }
  p { margin-bottom: 9pt; }
  section { margin-top: 20pt; }
  h1, h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; break-inside: avoid; }
  .submission-intro { break-after: avoid; }
  .challenge-page #section-5, .challenge-page #section-7 { break-before: page; }
  .document-links { display: none; }
  .facts, .callout, .schedule > div, tr { break-inside: avoid; }
  .facts, .muted, .source { font-size: 9pt; }
  .table-wrap { overflow: visible; border-radius: 0; margin: 12pt 0; }
  table { font-size: 9pt; } th, td { padding: 7pt 8pt; }
  thead { display: table-header-group; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 8pt; }
  .facts { gap: 15pt; margin-top: 18pt; padding-bottom: 16pt; }
  .facts dd, .schedule dd, .schedule dt { font-size: 9pt; }
  .schedule > div { grid-template-columns: 125pt 1fr; padding: 8pt 0; }
  .source { margin-top: 20pt; padding-top: 12pt; }
  a { color: #17212a; text-decoration: underline; }
  td a[href]::after { content: "\A" attr(href); white-space: pre-line; font-size: 7.5pt; color: #465460; }
}
