:root{font:16px/1.5 system-ui,sans-serif;color:#142541;background:#eef3f9;scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0}
header{padding:1rem max(1.2rem,calc((100% - 70rem)/2));background:#132d50;color:white;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.brand{font-weight:750}.brand span{font-weight:400;color:#c8d9ee;margin-left:.7rem}
.badge{display:inline-block;background:#ffdd93;color:#422600;border-radius:.4rem;padding:.22rem .65rem;width:max-content;font-weight:750}
main{max-width:72.4rem;margin:auto;padding:1.25rem}
.intro{display:flex;justify-content:space-between;align-items:center;gap:1rem}
h1,h2,h3{line-height:1.2;margin:0 0 .8rem}h1{font-size:clamp(1.8rem,5vw,2.75rem)}h2{font-size:1.45rem}h3{font-size:1.1rem}
p{margin:.65rem 0}
nav{display:flex;gap:.6rem 1.4rem;flex-wrap:wrap;padding:.7rem 0 1rem}
a{color:#145298}a:hover{text-decoration-thickness:2px}
section{margin:1rem 0 1.6rem}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
article{background:white;border:1px solid #d5e0ec;border-radius:.8rem;padding:1.2rem;overflow-wrap:anywhere}
.login{max-width:26rem;margin:3rem auto}
form{display:grid;gap:.7rem}
label{display:grid;gap:.25rem;font-weight:650}
input,select,textarea,button{font:inherit}
input,select,textarea{width:100%;min-width:0;padding:.5rem .65rem;border:1px solid #8ca0b9;border-radius:.35rem;background:white;color:inherit}
textarea{min-height:4rem;resize:vertical}
.check{display:flex;align-items:center;gap:.5rem}.check input{width:auto}
button{width:max-content;max-width:100%;cursor:pointer;border:1px solid #164a89;border-radius:.4rem;background:#164a89;color:white;padding:.45rem .8rem;font-weight:650}
button:hover{background:#103862}.secondary{color:#164a89;background:white}.secondary:hover{background:#e4edf7}
.record{border-top:1px solid #d5e0ec;padding:.65rem 0}.record label,.record form{margin-top:.4rem}
.total{font-size:1.35rem;font-weight:750}.alert,.notice{padding:.65rem;border-radius:.4rem}.alert{background:#ffe5e0;color:#802919}.notice{background:#d5f5e6;color:#125033}
@media(max-width:680px){.grid{grid-template-columns:1fr}.intro{align-items:flex-start;flex-direction:column}}
@media print{header,.no-print{display:none}main{padding:0}article{border:none}body{background:white}}
