:root { color-scheme: light; --blue: #003399; --ink: #17243c; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 16px/1.65 system-ui, sans-serif; color: var(--ink); background: #f8fafc; }
header, main, footer { max-width: 1040px; margin: auto; padding: 24px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid #d7dfeb; }
.brand { font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 8px; }
nav button { background: white; color: var(--blue); padding: 6px 12px; }
nav button[aria-pressed="true"] { background: var(--blue); color: white; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.2; margin: 16px 0; }
h2 { font-size: 23px; line-height: 1.35; margin-top: 0; }
h3 { font-size: 19px; line-height: 1.4; }
section { margin: 40px 0; }
p, li { margin-top: 0; margin-bottom: 12px; }
a { color: var(--blue); }
.lead { font-size: 19px; color: #42516b; }
.notice { background: #edf3fc; border-left: 4px solid var(--blue); padding: 20px; border-radius: 0 10px 10px 0; }
.notice :last-child, article :last-child { margin-bottom: 0; }
.notice h2 { font-size: 20px; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
article { padding: 24px; background: white; border: 1px solid #d7dfeb; border-radius: 12px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
.shop-input { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
input { flex: 1 1 290px; min-width: 0; max-width: 100%; padding: 12px; font: inherit; border: 1px solid #72829e; border-radius: 6px; }
button, .button { display: inline-block; border: 1px solid var(--blue); border-radius: 6px; padding: 12px 16px; background: var(--blue); color: white; font: inherit; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; }
.button { margin: 4px 0 16px; }
button:disabled, a[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
a[aria-disabled="true"]:not(.button) { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid #b26700; outline-offset: 4px; }
.small { font-size: 14px; color: #42516b; }
.error { padding: 12px; color: #8f1515; background: #fff1f1; border-left: 4px solid #8f1515; }
input[aria-invalid="true"] { border-color: #8f1515; }
#links-ready { color: #195b36; overflow-wrap: anywhere; }
footer { border-top: 1px solid #d7dfeb; display: flex; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 720px) { .routes { grid-template-columns: 1fr; } header, main, footer { padding: 20px; } article { padding: 20px; } }
