:root{font:15px/1.5 system-ui,sans-serif;color:#203a36;background:#f3f5f2;--green:#123b35;--muted:#6b7974}*{box-sizing:border-box}body{margin:0}header{height:82px;background:var(--green);color:white;padding:0 max(24px,calc((100% - 1200px)/2));display:flex;align-items:center;gap:12px}header small{display:block;color:#b5cbc4;font-size:12px}header button{margin-left:auto;color:white;border-color:#54736b;background:transparent}.brand{font-size:26px;font-weight:800;letter-spacing:-5px;width:44px}.brand span{color:#bfd49b}main{max-width:1200px;padding:36px 24px;margin:auto}h1{font-size:38px;line-height:1.15;letter-spacing:-1px;margin:10px 0 14px}h2{font-size:18px;margin:0 0 14px}p{color:var(--muted);margin:8px 0 22px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;color:#537669;font-weight:700}small{color:var(--muted)}button,input,select{font:inherit;border:1px solid #d3ddd7;border-radius:8px;padding:11px 13px;background:white;color:inherit}button{cursor:pointer;font-weight:600}button:hover{background:#eaf0e8}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9bb78b;outline-offset:2px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#20574c}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}input,select{width:100%}form{display:grid;gap:16px}.card{background:white;border:1px solid #dfe6df;border-radius:14px;padding:24px;margin-bottom:20px}.login{max-width:450px;margin:30px auto;padding:34px}.login form{margin:28px 0}.title,.sectionTitle{display:flex;justify-content:space-between;align-items:center;gap:20px}.title{margin-bottom:20px}.title p{margin-bottom:0}.filters{display:flex;gap:18px;align-items:end}.filters label{flex:1}.sectionTitle h2{margin:0}.sectionTitle>div:last-child{display:flex;gap:8px}.vehicles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:22px}.vehicle{display:flex;align-items:center;flex-direction:row;border:1px solid #dfe6df;border-radius:10px;padding:14px;gap:12px;cursor:pointer}.vehicle:has(input:checked){background:#eef4e8;border-color:#a5bc96}.vehicle input,.grants input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}.vehicle small{display:block;font-weight:400}.totals{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.total{padding:22px}.total strong{font-size:27px;letter-spacing:-.7px;display:block;margin-top:10px;white-space:nowrap}.total:first-child{background:var(--green);color:white}.total:first-child small{color:#d3e3db}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;margin-top:18px;font-size:13px;font-variant-numeric:tabular-nums}th,td{padding:12px;border-bottom:1px solid #e8ede8;text-align:right;white-space:nowrap}th:first-child,td:first-child{text-align:left}th{color:#718079;font-size:12px;font-weight:600;background:#f7f9f5}th:last-child,td:last-child{font-weight:700;background:#f3f7ee}tr:last-child td{border-bottom:0}tr.balance td{background:#eaf1e2;color:#123b35;font-weight:700}.adminGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.note{font-size:12px}.grants{max-height:250px;overflow:auto;margin-bottom:15px}.grants label{flex-direction:row;align-items:center;padding:7px 0}hr{border:0;border-top:1px solid #e1e6df;margin:26px 0}#message{white-space:pre-wrap;color:#8c3429;background:#fff1e9;padding:14px;border-radius:8px;margin-bottom:20px}#message:empty{display:none}#history{font-size:12px;color:var(--muted);margin-top:18px}footer{text-align:center;padding:28px;font-size:12px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:760px){header{height:70px;padding:0 18px}main{padding:24px 14px}h1{font-size:30px}.title{align-items:start}.title>button{font-size:12px}.card{padding:18px}.filters{flex-wrap:wrap;gap:10px}.filters label{min-width:110px}.sectionTitle{align-items:start;flex-direction:column;gap:12px}.totals{grid-template-columns:1fr 1fr;gap:10px}.total strong{font-size:22px}.total{padding:16px}.adminGrid{grid-template-columns:1fr}.vehicles{grid-template-columns:1fr}.login{margin:10px auto}}@media print{header,footer,.filters,.selection,#admin,#logout,#print,#message{display:none!important}main{max-width:none;padding:0}.card{break-inside:avoid;padding:8px;border:0}.scroll{overflow:visible}table{font-size:9px}th,td{padding:5px}.totals{display:flex}.total{flex:1}.total strong{font-size:18px}}

.yearScroll{max-height:78vh}#report th{position:sticky;top:0;z-index:2}#report th:first-child{left:0;z-index:3}#report td:first-child{position:sticky;left:0;background:#fff;z-index:1;min-width:200px}#report tr.balance td:first-child{background:#eaf1e2}#report th:not(:first-child),#report td:not(:first-child){min-width:115px}#reportNote{max-width:950px;margin-top:16px;margin-bottom:4px}@media print{@page{size:A4 landscape;margin:8mm}.yearScroll{max-height:none}#report th,#report td:first-child{position:static}#report th:not(:first-child),#report td:not(:first-child){min-width:0}#report td:first-child{min-width:0}#report{font-size:8px}#report th,#report td{padding:4px}}

.tabs{display:flex;gap:8px;margin:24px 0;flex-wrap:wrap}.tabs .active{background:#123b35;color:white;border-color:#123b35}.check{flex-direction:row;align-items:center;gap:12px}.check input{width:20px;height:20px;accent-color:#123b35}.fuelBalance{background:#eef4e8;border-radius:9px;padding:16px;font-weight:700}.fuelBalance:empty{display:none}#requests th,#requests td{text-align:left;vertical-align:top}#requests th:last-child,#requests td:last-child{font-weight:400;background:transparent}#batches a{color:#185d4b}#report th:last-child,#report td:last-child{font-weight:inherit;background:transparent}#report th:last-child{background:#f7f9f5}#report tr.balance td:last-child{background:#eaf1e2;font-weight:700}.total:last-child small{font-style:italic}.total strong{font-size:clamp(18px,2vw,27px)}@media print{.tabs,#fuelPanel,#admin,#noModules{display:none!important}}

/* Compact annual statement for desktop monitors. */
@media(min-width:1000px){main{max-width:1840px;padding:24px 18px}.yearScroll{max-height:none}#report{table-layout:fixed;min-width:980px;font-size:11px;line-height:1.25;margin-top:10px}#report th,#report td{padding:4px 5px;border-bottom:1px solid #dce4dc}#report th{font-size:10px}#report th:first-child,#report td:first-child{min-width:0;width:174px;white-space:normal}#report th:not(:first-child),#report td:not(:first-child){min-width:0}#report tbody tr:nth-child(even) td{background:#f0f4ef}#report tbody tr:nth-child(odd) td{background:white}#report tr.balance td,#report tr.balance td:first-child,#report tr.balance td:last-child{background:#dfead7;font-weight:700}#reportNote{font-size:11px;margin-top:8px}.total{padding:14px 18px}.total strong{margin-top:5px}.totals{gap:10px}#financePanel>.card{padding:16px;margin-bottom:14px}.adminGrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media print{#report{font-size:8px;min-width:0}#report th,#report td{padding:3px}#report tbody tr:nth-child(even) td{background:#f0f4ef;print-color-adjust:exact}}

#fuelPanel.exportOnly>.adminGrid{grid-template-columns:minmax(0,1fr)}
