:root { color-scheme: light; font-family: system-ui, -apple-system, sans-serif; color: #172c3c; background: #f3f6f8; }
* { box-sizing: border-box; }
body { max-width: 1100px; margin: auto; padding: 24px; line-height: 1.55; }
header { padding: 12px 0 24px; border-bottom: 1px solid #ccd8df; margin-bottom: 28px; }
header a { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: #174f54; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
h2 { font-size: 1.3rem; margin-top: 24px; }
a { color: #12616c; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { border: 1px solid #17636b; border-radius: 7px; background: #17636b; color: white; padding: 9px 16px; cursor: pointer; margin: 4px; }
button:hover { background: #114b52; }
button:disabled { opacity: .55; cursor: default; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border: 1px solid #9caebc; border-radius: 6px; background: white; padding: 10px; max-width: 100%; }
input[type=text], textarea { width: min(100%, 620px); }
label { display: block; margin: 8px 0; }
label input[type=checkbox], label input[type=radio] { margin-right: 8px; width: 18px; height: 18px; }
fieldset, section { border: 1px solid #d5dfe5; border-radius: 10px; background: white; padding: 20px; margin: 18px 0; min-width: 0; }
section section { padding: 12px; }
legend { padding: 0 6px; font-weight: 650; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid #d9e1e7; }
th { background: #e4edf0; font-weight: 650; }
td a { display: inline-block; margin: 4px; }
td p { font-size: .9rem; }
[role=status] { min-height: 1.5em; }
#remaining-time { position: sticky; top: 8px; background: #174f54; color: white; border-radius: 8px; padding: 12px 18px; font-weight: 700; z-index: 1; }
#remaining-time:empty { display: none; }
footer { color: #536877; font-size: .85rem; margin-top: 48px; padding-top: 16px; border-top: 1px solid #ccd8df; }
:focus-visible { outline: 3px solid #d98e1b; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 700px) { body { padding: 16px; } table { display: block; overflow-x: auto; } fieldset, section { padding: 14px; } button { min-height: 44px; } }
