* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #14263b; --muted: #506477; --line: #d6e1ec; --blue: #13528d; }
body { margin: 0; background: #eff5fa; color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
.wrap { width: min(69rem, 100% - 2rem); margin-inline: auto; }
.bar { background: #14263b; color: #fff; padding: 1rem 0; font-weight: 650; }
main { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.04; letter-spacing: -.055em; }
.intro { color: var(--muted); margin-top: 1rem; max-width: 40rem; }
.search { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.75rem); margin: 1.65rem 0; }
label { display: block; margin-bottom: .45rem; font-weight: 650; }
.input-row { display: flex; gap: .6rem; }
input, button { font: inherit; border-radius: .55rem; padding: .7rem .9rem; }
input { flex: 1; min-width: 0; border: 1px solid #8da2b7; color: var(--ink); }
button { border: 1px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; font-weight: 650; }
button:hover { background: #103e6b; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #a04b0b; outline-offset: 3px; }
.result-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; margin: 2.1rem 0 .7rem; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.55rem, 5vw, 2.15rem); }
.panel { background: #fff; padding: 1.15rem; border: 1px solid var(--line); border-radius: .9rem; margin-top: 1rem; min-width: 0; overflow-wrap: anywhere; }
h3 { font-size: 1.15rem; margin-bottom: .65rem; }
.address-heading { font-size: 1.3rem; margin: 1.55rem 0 0; overflow-wrap: anywhere; }
.address-heading span { color: var(--muted); font-size: .89rem; margin-left: .35rem; }
.address-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: .65rem 0; }
.address, .secondary { color: var(--blue); background: #fff; }
.address { font: .93rem/1.35 ui-monospace, monospace; overflow-wrap: anywhere; max-width: 100%; }
.address:hover, .secondary:hover { background: #e4effa; }
.address[aria-current] { background: var(--blue); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .8rem; }
.grid .panel { margin: 0; }
dl { margin: 0; display: grid; grid-template-columns: 2fr 3fr; gap: .45rem .7rem; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 550; }
.note, .source { color: var(--muted); }
.source { font-size: .88rem; margin-top: .8rem; }
.ptr { padding-left: 1.3rem; }
.alert { background: #fff5e5; border: 1px solid #d4ad73; padding: .85rem 1rem; border-radius: .65rem; margin-top: 1rem; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .55rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eff5fa; white-space: nowrap; }
td:nth-child(3) { min-width: 10rem; }
@media (max-width: 40rem) { .grid { grid-template-columns: 1fr; } }
@media (max-width: 25rem) { .input-row { flex-direction: column; } }
