:root{color-scheme:light;font:16px/1.5 system-ui,sans-serif;background:#f1f4fa;color:#172a45}
*{box-sizing:border-box}
body{margin:0}a{color:#1651aa;text-underline-offset:3px}
header{padding:1rem clamp(1rem,5vw,4rem);display:flex;align-items:center;justify-content:space-between;background:#142846;color:#fff}
header a{display:flex;gap:1rem;align-items:center;color:inherit;text-decoration:none}
header strong{font-size:1.3rem}header small{letter-spacing:.09em;color:#bccde7}
main{max-width:1200px;padding:clamp(1rem,4vw,3rem);margin:auto}
h1,h2,h3{line-height:1.15;margin:0 0 .8rem}
h1{font-size:clamp(1.65rem,4vw,2.65rem)}h2{font-size:1.3rem}
nav{display:flex;gap:1.25rem;margin-bottom:1.15rem;flex-wrap:wrap}
section{padding:clamp(1rem,2.5vw,1.5rem);border:1px solid #d8e1ef;border-radius:14px;background:#fff;margin:0 0 1rem;min-width:0}
.login{max-width:460px;margin:5vh auto}.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
label{display:block;font-weight:600;margin-bottom:.8rem}
input,select,textarea{display:block;width:100%;border:1px solid #aebdd3;padding:.62rem;border-radius:7px;font:inherit;margin-top:.25rem;background:white;color:inherit}
textarea{min-height:5rem;resize:vertical}
button{font:inherit;font-weight:650;color:white;background:#1856b1;border:0;border-radius:7px;padding:.58rem .85rem;cursor:pointer}
button:hover{background:#103c80}button:focus-visible,a:focus-visible{outline:3px solid #b66710;outline-offset:3px}
form+form{margin-top:1rem}
.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;margin-bottom:.75rem}
th,td{text-align:left;padding:.65rem .75rem;border-bottom:1px solid #dce4ef}
th{background:#eaf0fa}td:first-child{white-space:nowrap}
.notice{padding:.8rem 1rem;background:#deebfc;border-radius:8px}.total{font-size:1.6rem;font-weight:700}
@media print{header form,main>a,.actions,.notice,button{display:none}body,header,section{background:#fff;color:#000}header small{color:#000}main{padding:1rem 0}section{border:0}}
