:root{font:16px/1.5 system-ui,sans-serif;color:#17222c;background:#f3f4f7;color-scheme:light dark}
*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0}main{max-width:46rem;margin:auto;padding:clamp(12px,4vw,32px)}
header,.actions,.dates,.check,.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
header{justify-content:space-between}h1,h2{line-height:1.2;margin:12px 0}h2{font-size:1.15rem}
form,.row{background:white;border:1px solid #bac4ce;border-radius:10px;padding:14px;margin:10px 0}
label{display:grid;gap:3px;margin:8px 0;font-weight:600}.dates label{flex:1 1 10rem;min-width:0}
input,textarea,button,a{font:inherit}input,textarea{width:100%;min-width:0;border:1px solid #87939d;border-radius:6px;padding:7px}
input,button,a,.check{min-height:44px}input[type=checkbox]{width:20px;min-height:20px}
button,a{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;color:#124f85;cursor:pointer}
button{background:#eff5fa;border:1px solid #9eb3c4;border-radius:7px}button[type=submit]{background:#17568e;border-color:#17568e;color:white}
.row strong,.row p,#error{overflow-wrap:anywhere}.row strong{flex:1 1 16rem}.row p{width:100%;margin:0;white-space:pre-wrap}
#error{color:#a12a20}#status{color:#45576a}
@media(prefers-color-scheme:dark){:root{background:#17212a;color:#edf3f8}form,.row{background:#222e38}a,#status{color:#b7d9f5}#error{color:#ffb9a9}}
