*{box-sizing:border-box}body{margin:0;background:#f0f7fc;color:#344d68;font:15px/1.5 system-ui,sans-serif}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0 0 12px}h1{font-size:28px}h2{font-size:21px}small,footer{color:#617b94}aside{position:fixed;inset:0 auto 0 0;width:240px;padding:28px 20px;background:white;border-right:1px solid #dce9f2;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:19px}.brand small{display:block;font-size:11px;font-weight:400}.logo{display:grid;place-items:center;background:#344d68;color:white;width:44px;height:44px;border-radius:14px;font-weight:800}nav{display:grid;gap:8px}nav a{padding:12px 14px;border-radius:10px}nav a.active,nav a:hover{background:#c7dfef;font-weight:650}aside footer{margin-top:auto;font-size:12px}.content{margin-left:240px;padding:32px;max-width:1600px}header,.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}header small{letter-spacing:1.4px;font-size:10px}.pill{background:white;border:1px solid #c7dfef;padding:8px 16px;border-radius:30px}.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0 24px}label{display:block;font-size:13px;font-weight:600}input,select{display:block;width:100%;padding:11px;border:1px solid #c5d9e8;border-radius:9px;font:inherit;color:inherit;background:white;margin-top:5px}button,.btn{display:inline-block;border:0;border-radius:9px;padding:12px 18px;background:#344d68;color:white;font:600 14px system-ui;cursor:pointer;text-align:center}.secondary{background:#e1edf5;color:#344d68}.hero{padding:30px;border-radius:20px;background:linear-gradient(115deg,#c7dfef,#95bbd9);margin-bottom:20px}.hero h2{font-size:28px;margin-top:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stats article,.panel{background:white;border:1px solid #dce9f2;border-radius:16px;padding:20px}.stats strong{display:block;font-size:32px}.panel{margin-bottom:20px}.bars{display:flex;height:180px;align-items:end;gap:4px;padding-bottom:24px}.bars div{position:relative;flex:1;height:100%;display:flex;align-items:end;justify-content:center}.bars span{width:75%;background:#95bbd9;border-radius:5px 5px 0 0}.bars small{position:absolute;bottom:-20px;font-size:9px}.tablewrap{overflow:auto;margin:15px 0}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:10px;border-bottom:1px solid #e1edf5;text-align:left}th{background:#e8f2fa;white-space:nowrap}td input{margin:0;min-width:100px}.monthly th,.monthly td{min-width:65px;text-align:center}.monthly th:first-child,.monthly td:first-child{position:sticky;left:0;min-width:42px;width:42px;background:#f0f7fc}.monthly th:nth-child(2),.monthly td:nth-child(2){position:sticky;left:42px;min-width:140px;background:#f0f7fc;text-align:left}.savebar{position:sticky;bottom:0;background:white;padding:10px 0}.savebar button{width:100%}.success,.error{padding:12px;border-radius:9px;background:#e2f2e9;color:#246047}.error{background:#ffe8e8;color:#983c3c}footer{text-align:center;font-size:12px;margin:22px 0}.login{min-height:100vh;display:grid;place-items:center;padding:18px}.login .panel{width:min(100%,420px);padding:30px}.login label,.panel form>label{margin-bottom:14px}.login button{width:100%}.login .logo{margin-bottom:15px}@media(max-width:750px){aside{position:static;width:100%;padding:14px;gap:12px}aside nav{display:flex;overflow:auto;white-space:nowrap}aside nav a{padding:9px;font-size:13px}aside footer{display:none}aside form{position:absolute;right:14px;top:14px}.content{margin:0;padding:16px}.stats{grid-template-columns:repeat(2,1fr)}.hero{padding:20px}.hero h2{font-size:23px}.panel{padding:12px}th,td{padding:8px}.bars{gap:1px}.bars small{font-size:7px}}@media print{aside,header,.filters,button,.btn,footer{display:none!important}.content{margin:0;padding:0}.panel{border:0;padding:0}.tablewrap{overflow:visible}table{font-size:9px}.monthly th,.monthly td{position:static!important;min-width:0!important;padding:3px}h3{break-before:page}h3:first-of-type{break-before:auto}}
.saleform{max-width:650px;margin-top:20px}.saleform button{width:100%;margin-top:18px}.saleform input{font-size:17px;padding:14px}.saleform details{color:#617b94;font-size:13px}.stats strong{font-size:clamp(16px,2vw,25px);overflow-wrap:anywhere}.danger{background:#fbe4e4;color:#923b3b}.total td{background:#c7dfef!important;font-weight:700}.monthly td{white-space:nowrap}.monthly th:nth-child(2),.monthly td:nth-child(2){min-width:160px}.monthly th,.monthly td{min-width:90px}.monthly th:first-child,.monthly td:first-child{min-width:42px}.panel form input[type=hidden]{display:none}@media print{@page{size:A4 landscape;margin:8mm}.monthly td{white-space:normal}.monthly td,.monthly th{font-size:8px}}

.void-label{color:#a33b35;background:#fce7e5;border-radius:5px;padding:3px 7px}.void-info{display:block;max-width:260px;white-space:normal;margin-top:5px}td details{margin:6px 0;min-width:100px}td details input{min-width:140px}
