:root {
    color-scheme: light;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #102d48;
    background: #eef5fa;
    line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: #125489; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #227db5; outline-offset: 3px; }
.wrap { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
header { background: white; border-bottom: 1px solid #d6e3ec; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; width: clamp(92px, 21vw, 120px); height: auto; }
.call-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 4px; background: #145487; color: white; font-size: .875rem; font-weight: 650; text-decoration: none; }
.call-button:hover { background: #102d48; }
footer { font-size: .875rem; }
.card { display: grid; grid-template-columns: .88fr 1.12fr; margin-block: clamp(24px, 7vw, 84px) 32px; background: white; box-shadow: 0 16px 60px #102d4812; }
.intro { background: #102d48; color: white; position: relative; border-top: 5px solid #55bde8; }
.intro, .scheduler { padding: clamp(22px, 4vw, 48px); min-width: 0; }
.kicker { text-transform: uppercase; letter-spacing: .12em; color: #a5def5; font-size: .75rem; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); letter-spacing: -.06em; line-height: 1.03; margin: 24px 0; }
h2 { margin-top: 0; font-size: 1.75rem; letter-spacing: -.035em; }
.intro > p:not(.kicker) { max-width: 30ch; }
.duration { border-top: 1px solid #698196; padding-top: 16px; margin-top: 30px; font-weight: 650; }
.test-note { color: #c7dce9; font-size: .875rem; }
label { display: block; font-weight: 650; margin: 14px 0 5px; }
input, select, button { font: inherit; min-height: 44px; }
input:not([type=hidden]), select { width: 100%; min-width: 0; border: 1px solid #829aac; border-radius: 4px; background: white; color: #102d48; padding: 8px 10px; }
button { cursor: pointer; padding: 8px 16px; border-radius: 4px; font-weight: 650; }
.primary { margin-top: 20px; background: #145487; color: white; border: 1px solid #145487; }
.secondary { color: #145487; background: white; border: 1px solid #829aac; }
.scheduler > form:not(.zone) > .secondary { margin-top: 10px; }
.zone-controls { display: flex; gap: 8px; }
.dates { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.dates a { background: #edf5fa; padding: 10px 12px; border-radius: 4px; text-decoration: none; font-size: .875rem; }
.dates a[aria-current=date] { background: #145487; color: white; font-weight: 650; }
.error { padding: 12px; border-left: 4px solid #a23726; background: #fff1ed; color: #772518; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 30px; }
@media (max-width: 680px) {
    .card { grid-template-columns: 1fr; }
}

.login-card { width: min(480px, calc(100% - 36px)); margin-block: 48px; background: white; padding: clamp(22px, 5vw, 40px); border-top: 5px solid #55bde8; box-shadow: 0 16px 60px #102d4812; }
.login-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 0; }
.login-card button { margin-top: 20px; }
footer.wrap { align-items: center; }

.admin-card { margin-block: 36px; background: white; padding: clamp(18px, 4vw, 40px); border-top: 5px solid #55bde8; }
.admin-card h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3rem); }
.booking-table { overflow-x: auto; }
.booking-table table { width: 100%; border-collapse: collapse; text-align: left; }
.booking-table td, .booking-table th { border-bottom: 1px solid #d6e3ec; padding: 12px; vertical-align: top; overflow-wrap: anywhere; }
.booking-table td:first-child { min-width: 160px; }
.admin-pages { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
