:root { --ink: #213e68; --paper: #edf2f8 }
* { box-sizing: border-box }
[hidden] { display: none !important }
html { color-scheme: light; background: var(--paper); color: #20262a; font: 100%/1.55 system-ui, sans-serif }
body { margin: 0 }
main { max-width: 66rem; margin: auto; padding: clamp(1rem,4vw,3rem) }
header { display: flex; align-items: center; gap: .75rem; color: var(--ink); font-weight: 700; letter-spacing: .015em }
header svg { width: 2rem; height: 2rem; flex: none }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .85fr); align-items: start; gap: clamp(2rem,5vw,5rem); margin: clamp(2rem,9vh,6rem) 0 2rem }
h1, h2 { text-wrap: balance; line-height: 1.1; color: var(--ink); margin: 0 }
h1 { font: 500 clamp(2.25rem,5vw,4rem)/1.08 Georgia, serif; letter-spacing: -.038em }
h2 { font-size: 1.5rem; letter-spacing: -.025em }
p { margin: .85em 0 }
.intro { max-width: 42ch; font-size: 1.12rem }
.details { color: var(--ink); margin-top: 1.5rem; font-weight: 650 }
.panel { min-width: 0; padding: clamp(1.1rem,3vw,2rem); background: white; border-top: .3rem solid var(--ink); border-radius: .15rem .15rem .6rem .6rem }
.panel > :last-child, form > :last-child { margin-bottom: 0 }
.small { font-size: .93rem; color: #4c5558 }
a { color: var(--ink); text-underline-offset: .18em }
button, input, select { font: inherit; max-width: 100%; border: 1px solid #687371; border-radius: .3rem; min-height: 2.875rem; padding: .55rem .85rem }
button { font-weight: 630; cursor: pointer; color: var(--ink); background: white }
button:hover:not(:disabled) { background: var(--paper) }
button.primary, button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink) }
button.primary:hover:not(:disabled), button[aria-pressed="true"]:hover:not(:disabled) { background: #20262a }
button:disabled { cursor: wait; opacity: .7 }
:focus-visible { outline: 3px solid #275bb1; outline-offset: 3px }
label { display: block; margin: 1rem 0 .3rem; font-weight: 620 }
input, select { width: 100%; background: white; color: #20262a }
#times, .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem }
#times span { padding: .4rem .65rem; border: 1px solid #bdc9c6; border-radius: .3rem }
#times button { flex: 1 1 5rem }
form { margin-top: 1.5rem; border-top: 1px solid #c9d1cd; padding-top: .4rem }
.return { display: inline-flex; align-items: center; min-height: 2.875rem }
@media (max-width: 45rem) { .layout { grid-template-columns: minmax(0,1fr); gap: 1.2rem; margin-top: 1.75rem } .details { margin: .75rem 0 0 } }
