*{box-sizing:border-box}
body{margin:0;background:#f0f4f8;color:#142d47;font:18px/1.55 system-ui,sans-serif}
header{padding:32px max(20px,calc((100% - 900px)/2));background:#142d47;color:#fff}
header a{color:inherit}
header h1{font-size:clamp(32px,6vw,46px);margin:.4em 0}
main{max-width:940px;margin:auto;padding:20px}
section{background:#fff;border:1px solid #dbe4ec;border-radius:16px;margin-bottom:20px;padding:clamp(16px,4vw,28px)}
h2{font-size:24px;margin-top:0}
form,dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}
label{display:grid;grid-template-rows:1fr auto;gap:4px}
input,button{font:inherit;min-height:48px;padding:8px 12px;width:100%;min-width:0;border:1px solid #a6b8c9;border-radius:8px}
button{grid-column:1/-1;color:white;background:#246b78;border:0;cursor:pointer;font-weight:650}
:focus-visible{outline:3px solid #a36212;outline-offset:3px}
dl div{background:#edf4f7;border-radius:10px;padding:12px}
dd{margin:4px 0 0;font-size:25px;overflow-wrap:anywhere;font-weight:700}
summary{cursor:pointer;font-weight:650}
.housing-field{min-width:0;padding:10px;border:1px solid #dbe4ec;border-radius:10px}
.housing-field details{margin-top:6px;font-size:15px}
.housing-field p{margin:8px 0 0}
#history select{width:100%;padding:10px;font:inherit;border:1px solid #a6b8c9;border-radius:8px}
#run-history{margin:12px 0}
.history-table{overflow:auto}
.history-table table{width:100%;border-collapse:collapse;font-size:15px}
.history-table th,.history-table td{padding:8px;border-bottom:1px solid #dbe4ec;text-align:right}
.history-table th:first-child{text-align:left}
#fixed-windows select{width:100%;padding:10px;font:inherit;border:1px solid #a6b8c9;border-radius:8px}
#compare-windows{margin:12px 0}
