:root { color-scheme: light dark; font: 16px/1.5 system-ui, sans-serif; --text: #22233a; --surface: #fff; --edge: #dbdbe9; --detail: #575972; --accent: #5442a9; }
@media (prefers-color-scheme: dark) { :root { --text: #f4f2ff; --surface: #19182a; --edge: #41405b; --detail: #bbb8d5; --accent: #c8bcff; } }
body { margin: 0; color: var(--text); background: var(--surface); }
main { max-width: 48rem; margin: 0 auto; padding: clamp(1rem, 4vw, 2.5rem); }
header { padding: 0 0 .8rem; }
h1 { font-size: clamp(1.55rem, 5vw, 2.4rem); line-height: 1.14; margin: 0 0 .4rem; letter-spacing: -.035em; }
h2 { font-size: 1.25rem; margin: 0 0 .55rem; }
p { margin: .45rem 0; }
header p, small, .detail { color: var(--detail); }
form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: end; padding: 1rem; border: 1px solid var(--edge); border-radius: .8rem; }
label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
input, select, button { font: inherit; min-height: 2.65rem; padding: .4rem .65rem; color: var(--text); background: var(--surface); border: 1px solid var(--edge); border-radius: .45rem; }
input { min-width: 0; }
#country { text-transform: uppercase; }
button { color: var(--accent); border-color: var(--accent); font-weight: 650; cursor: pointer; }
button.secondary { color: var(--text); border-color: var(--edge); }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
small { grid-column: 2; font-size: .72rem; }
.actions { grid-column: 1/-1; display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .2rem; }
#status { min-height: 1.5em; margin: .65rem 0; }
section { margin: 1rem 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
li { border-top: 1px solid var(--edge); padding: .7rem .1rem; overflow-wrap: anywhere; }
li.show { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
li p { margin: 0; }
a { color: var(--accent); text-underline-offset: .15em; }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; margin: .8rem 0; }
.detail { font-size: .88rem; }
footer { display: flex; gap: 1rem; margin-top: 1.3rem; padding-top: .7rem; border-top: 1px solid var(--edge); font-size: .85rem; }
@media (max-width: 420px) { form { display: block; } form label { margin-bottom: .45rem; } li.show { align-items: start; flex-direction: column; } }
