:root{color-scheme:light dark;font-family:system-ui,sans-serif;background:#142238;color:#f4f6fa}*{box-sizing:border-box}body{margin:0;line-height:1.55}header,main,footer{max-width:72rem;margin:auto;padding:1rem}header{border-bottom:3px solid #e5bd43}nav{display:flex;flex-wrap:wrap;gap:.75rem}a{color:#aadaff;text-underline-offset:.2em}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #ffd95c;outline-offset:3px}h1{font-size:clamp(1.8rem,5vw,2.8rem);line-height:1.15}h2{line-height:1.25}section{margin:1.2rem 0;padding:1rem;border:1px solid #8797ac;border-radius:12px;background:#1d304b}label{display:block;font-weight:650;margin:.6rem 0 .2rem}input,select,button{font:inherit;min-height:46px;max-width:100%;padding:.55rem .7rem;border:1px solid #a9b6ca;border-radius:7px;background:#17253b;color:#fff}input,select{width:100%}button{cursor:pointer;background:#294d78}button:disabled{opacity:.65;cursor:default}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}.actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}#city-results{padding:0;list-style:none}#city-results button{width:100%;text-align:left;margin:.2rem 0}article{border:1px solid #8797ac;padding:1rem;border-radius:8px;overflow-wrap:anywhere}article p{margin:.6rem 0}.small{font-size:.9rem}.skip{position:absolute;left:-10000px}.skip:focus{left:1rem;background:#142238;padding:1rem}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #8797ac;text-align:left;padding:.65rem;vertical-align:top}button,a,input,select{touch-action:manipulation}@media(prefers-color-scheme:light){:root{background:#f5f7fb;color:#17253b}section,article{background:white}a{color:#164d86}input,select{background:white;color:#17253b}.skip:focus{background:white}}@media(max-width:600px){header,main,footer{padding:.75rem}section{padding:.75rem}table,tbody,tr,td{display:block}thead{display:none}td:first-child{font-weight:bold}td{padding:.4rem;border:0}tr{border-bottom:1px solid #8797ac;padding:.5rem 0}}

@media(prefers-color-scheme:light){a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline-color:#164d86}}
