:root{font:14px 'Segoe UI','Microsoft YaHei',sans-serif;color:#203d50;background:#f2f5f8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer;border:1px solid #cbd9e1;border-radius:7px;background:#fff;color:#204b64;padding:10px 15px;text-decoration:none}button.primary{background:#0879aa;color:white;border-color:#0879aa}button.danger{color:#b51c30}button:hover{filter:brightness(.95)}header{background:#14394d;color:white;padding:24px 4%;display:flex;align-items:center;gap:16px}header img{width:68px;height:66px;object-fit:contain;background:white;border-radius:10px;padding:4px}header h1{font-size:19px;margin:0 0 7px;letter-spacing:1px}header p{margin:0;color:#b9d3de;font-size:12px}header select{margin-left:auto;width:auto}main{max-width:1500px;margin:28px auto;padding:0 28px}h2{font-size:24px;margin:0 0 7px}h3{font-size:16px;margin:24px 0 14px}.hint{font-size:12px;color:#6a8190;line-height:1.8}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.toolbar .grow{flex:1}.panel{padding:24px;background:#fff;border:1px solid #e0e7ec;border-radius:12px;margin-bottom:20px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.card{background:white;border:1px solid #e0e7ec;border-radius:10px;padding:20px}.card small{color:#6a8190}.card strong{font-size:26px;display:block;margin-top:9px;letter-spacing:-.5px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}label{display:flex;flex-direction:column;gap:7px;font-size:12px}input,select,textarea{border:1px solid #c9d8e1;background:white;color:#203d50;border-radius:5px;padding:9px;min-width:0;width:100%}input[type=checkbox]{width:auto}textarea{min-height:75px}table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:12px 9px;text-align:left;border-bottom:1px solid #e6edf1}th{color:#657f8e;background:#f5f8fa;font-weight:500}td input,td select{min-width:90px}td small{display:block;color:#718693}.scroll{overflow:auto}.right{text-align:right}.fuel{display:inline-block;padding:3px 7px;border-radius:4px;font-size:11px;font-weight:700;white-space:nowrap;print-color-adjust:exact;-webkit-print-color-adjust:exact}.Premium{background:#cf2031;color:white}.Unleaded{background:#07864d;color:white}.Diesel{background:#f4d528;color:#273c47}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.error,.negative{color:#ba2534;font-weight:600}.success{color:#16865a}.empty{padding:38px;text-align:center;color:#728996}.notice{padding:14px;background:#edf6fa;border-radius:7px;line-height:1.8;font-size:12px}.reading-table{min-width:1080px}.reading-table .reason{min-width:140px}.reading-table td:nth-child(1){min-width:135px}.reading-table td:nth-child(6){min-width:115px}.reading-table button{padding:7px}footer{text-align:center;font-size:11px;color:#8398a4;padding:22px}#toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#14394d;color:white;padding:15px 22px;border-radius:8px;z-index:10}#toast.show{display:block}#print{display:none}.check{flex-direction:row;align-items:center}.saved{font-size:12px;color:#16865a}nav{display:flex;gap:8px;margin-bottom:24px}nav button.active{background:#dceef5;border-color:#a6cbdc}input[readonly]{background:#f1f5f7}@media(max-width:800px){.cards,.grid{grid-template-columns:repeat(2,1fr)}main{padding:0 12px}header{flex-wrap:wrap}.panel{padding:16px}}@media print{@page{size:A4 portrait;margin:10mm}body{background:white;color:#172e3b}#app,#toast{display:none!important}#print{display:block}.print-brand{display:flex;gap:14px;align-items:center;border-bottom:2px solid #146183;padding-bottom:10px;margin-bottom:14px}.print-brand img{width:60px;height:55px;object-fit:contain}.print-brand h1{font-size:16px;margin:0 0 6px}.print-brand h2{font-size:14px}.print-meta{font-size:11px;line-height:1.8}#print table{font-size:9px;margin:12px 0;table-layout:fixed}#print td,#print th{padding:6px 4px;word-wrap:break-word;border:1px solid #c1cbd1}thead{display:table-header-group}tr{break-inside:avoid}#print h3{font-size:12px;margin:15px 0 6px}#print p{font-size:10px}.fuel{font-size:9px;padding:2px 4px}.negative{print-color-adjust:exact;-webkit-print-color-adjust:exact}.signatures{margin-top:28px;display:flex;justify-content:space-between;font-size:11px;break-inside:avoid}.print-notes{white-space:pre-wrap;font-size:10px;overflow-wrap:anywhere}.notice{background:white;padding:4px;font-size:9px}}
.login{max-width:440px;margin:7vh auto;background:white;border:1px solid #dae5ec;padding:32px;border-radius:14px;text-align:center}.login img{width:100px;height:90px;object-fit:contain}.login h1{font-size:25px;margin:10px}.login h2{font-size:17px}.login form{text-align:left;display:grid;gap:16px;margin:24px 0}.account{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.account button{padding:7px 10px}.narrow{max-width:440px;display:grid;gap:16px}nav{flex-wrap:wrap}#tanks input,#guns input{min-width:90px}#deliveries input{min-width:100px}#deliveries select{min-width:130px}#stock-readings input{min-width:140px}.print-meta{overflow-wrap:anywhere}@media print{#print .scroll{overflow:visible}#print small{display:block;font-size:8px}.login{display:none}}
@media screen {
:root{font:13px 'Segoe UI','Microsoft YaHei',sans-serif;color:#29384d;background:#f6f8fb}body{background:#f6f8fb}button,a.button{font-size:12px;border-radius:6px;padding:8px 12px;border-color:#dce3ec;color:#485a70;transition:background .15s}button.primary{background:#2673dc;border-color:#2673dc}button:hover{background:#f0f5fc;filter:none}button.primary:hover{background:#1b60bd}.workspace{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:224px;background:#fff;border-right:1px solid #e4e9f1;z-index:20;display:flex;flex-direction:column;padding:26px 16px 16px}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:0 4px 29px;font-size:16px;font-weight:750;letter-spacing:.5px;color:#173a62}.sidebar-brand img{width:43px;height:44px;object-fit:contain}.sidebar-brand small{display:block;font-size:8px;letter-spacing:1.2px;color:#8190a3;margin-top:5px}.nav-caption{font-size:10px;letter-spacing:1.3px;color:#9aa8b9;margin:0 12px 12px}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin:0;overflow:auto;flex-wrap:nowrap}.sidebar nav button{border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:11px 12px;border-radius:7px;color:#64748b;min-height:49px;flex-shrink:0}.sidebar nav button i{font-size:19px;line-height:1;font-style:normal;width:20px;text-align:center;font-weight:400}.sidebar nav button span{font-size:13px;font-weight:550}.sidebar nav button small{font-size:10px;display:block;margin-top:3px;color:#98a5b7}.sidebar nav button.active{background:#edf4ff;color:#246bd0}.sidebar nav button.active small{color:#7e9cc7}.sidebar nav button:hover{background:#f3f6fa}.sidebar-bottom{margin-top:auto;padding:22px 10px 5px;color:#718196;font-size:11px}.sidebar-bottom small{display:block;font-size:9px;color:#a6b0bd;margin:7px 0 0 13px}.status-dot{display:inline-block;width:6px;height:6px;background:#43b489;border-radius:50%;margin-right:7px}.workspace-body{margin-left:224px}.topbar{background:#fff;color:#536177;min-height:74px;padding:14px 28px;display:flex;gap:16px;border-bottom:1px solid #e5eaf1}.breadcrumb{font-size:11px;letter-spacing:.4px;white-space:nowrap;color:#94a0b1}.breadcrumb span{margin:0 13px;color:#c0c8d2}.breadcrumb b{font-size:12px;font-weight:500;color:#4c5b70;letter-spacing:0}.topbar-tools{display:flex;align-items:center;gap:10px;margin-left:auto}.topbar select{font-size:11px;margin:0;width:104px;border-color:#e2e7ee;padding:7px}.topbar button{background:white;border:0;color:#7b899b;padding:7px;font-size:11px}.user-chip{display:flex;gap:8px;align-items:center;margin:0 6px;padding-left:14px;border-left:1px solid #e4e9f1;font-size:11px;color:#4b5d74}.user-chip small{display:block;color:#9aa5b4;font-size:9px;margin-top:2px}.avatar{display:grid;place-items:center;background:#eaf1fc;color:#3972bb;width:31px;height:31px;border-radius:50%;font-weight:700}.scope-bar{display:flex;align-items:center;gap:15px;padding:15px 28px;background:#fff;border-bottom:1px solid #e5eaf1;flex-wrap:wrap}.scope-bar label{display:flex;flex-direction:row;align-items:center;gap:10px;color:#8b98aa;font-size:11px}.scope-bar select{width:188px;padding:7px 9px;border-color:#e0e6ed;font-size:12px}.scope-divider{height:22px;width:1px;background:#e3e8ef}.date-pair{display:flex;align-items:center;gap:8px}.date-pair input{width:133px;font-size:11px;padding:7px;border-color:#e0e6ed}.date-pair span{color:#a3aebb}.scope-bar>button{background:#f1f5fc;border-color:#e0e8f6;color:#3d6da9}.period-buttons{margin-left:auto;display:flex;gap:4px}.period-buttons button{border-color:transparent;background:#f6f8fb;font-size:11px}main{max-width:none;margin:0;padding:25px 28px 0}h2{font-size:22px;color:#233a55;font-weight:650;letter-spacing:.1px}h3{font-size:14px;color:#374c65;font-weight:600}.hint{font-size:11px;color:#8b98ab;line-height:1.7}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}.page-heading h2{margin:5px 0 8px}.page-heading p{margin:0}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.7px;color:#9eacbf}.heading-actions{display:flex;gap:8px;flex-shrink:0}.panel{border-color:#e4eaf2;padding:20px;border-radius:9px;margin-bottom:20px;box-shadow:0 2px 5px #263d5610}.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{background:#fff;border:1px solid #e3eaf3;border-radius:9px;padding:19px 20px;position:relative;overflow:hidden}.metric:before{content:'';position:absolute;left:0;top:20px;width:3px;height:24px;background:#6b9de4;border-radius:2px}.metric.green:before{background:#64b897}.metric.amber:before{background:#e0ba60}.metric.red:before{background:#d88e91}.metric>span{font-size:11px;color:#8090a7}.metric strong{display:block;font-size:28px;font-weight:650;color:#263e5d;letter-spacing:-.5px;margin:13px 0 9px;font-variant-numeric:tabular-nums}.metric strong small{font-size:13px;font-weight:450;color:#9aa7b8}.metric>small{font-size:10px;color:#a0adbc;display:block;line-height:1.5}.overview-grid{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(230px,1fr);gap:20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.section-title h3{margin:0;font-size:14px}.section-title p{font-size:10px;color:#a2adbd;margin:5px 0 0}.section-title button{font-size:10px;border:0;background:transparent;color:#7290b7}.station-overview,.recent-panel{padding:20px 0 0;overflow:hidden}.station-overview .section-title,.recent-panel .section-title{padding:0 20px}.soft-tag{display:inline-block;font-size:10px;color:#6e91ac;background:#f0f6fa;padding:5px 8px;border-radius:4px;white-space:nowrap}.soft-tag.warn{color:#b88041;background:#fff6e9}.attention-dot{width:7px;height:7px;border-radius:50%;background:#d8b466}.attention-item{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #f0f3f7;gap:8px}.attention-item span{font-size:11px;color:#8090a7}.attention-item strong{font-size:16px;font-weight:600}.attention-panel>button{margin-top:5px;width:100%;background:#f7f9fc;border-color:#edf1f7;font-size:11px}.attention-panel>p{font-size:10px;margin:15px 0 10px}.station-link{border:0;background:transparent;padding:0;color:#3e648f;font-weight:600;font-size:12px}.number-cell{font-variant-numeric:tabular-nums;font-weight:500}.workspace table{font-size:11px}.workspace th{background:#f7f9fc;color:#91a0b3;font-weight:500;padding:12px 13px;border-bottom:1px solid #e9eef5;white-space:nowrap}.workspace td{padding:12px 13px;border-bottom:1px solid #edf1f6;color:#52657e}.workspace td.negative{color:#be6b73}.workspace td small{font-size:9px;color:#a0adbd;margin-top:5px}.workspace tbody tr:hover{background:#fbfcfe}.workspace .fuel{font-size:9px;padding:3px 6px}.workspace input,.workspace select,.workspace textarea{border-color:#dfe6ef;border-radius:5px;color:#4a607b;padding:8px;font-size:12px}.workspace input:focus,.workspace select:focus,.workspace textarea:focus{outline:2px solid #dceaff;border-color:#7dabdf}.workspace label{font-size:11px;color:#8090a7}.legacy-scope{display:none!important}.workspace .cards{gap:12px;margin:16px 0}.workspace .card{padding:14px 17px;border-color:#e7edf5;border-radius:7px;box-shadow:none}.workspace .card strong{font-size:23px;font-weight:600;color:#324e72}.workspace .card small{font-size:10px;color:#8fa0b5}.workspace .toolbar{margin-bottom:16px;gap:10px}.workspace .toolbar h2{font-size:21px}.workspace .toolbar .hint{max-width:720px}.workspace .records-panel{padding:0;overflow:hidden}.records-panel>h3{padding:0 20px;margin:19px 0}.workspace .sales-summary{padding-top:7px}.workspace .inventory-panel{padding:14px 0 0;overflow:hidden}.inventory-panel>.hint{padding:0 18px;margin:0 0 12px}.workspace #sync-status{font-size:9px;text-align:right;color:#a6b0bf;margin:7px 0}.workspace .notice{background:#f3f7fc;border:1px solid #e5edf7;color:#7890ac;border-radius:6px;font-size:10px;line-height:1.7;padding:10px 13px}.workspace .grid{gap:14px}.workspace .entry-page>.panel{padding:22px}.entry-page h3{padding:13px 0 9px;margin:15px 0 8px;border-bottom:1px solid #e9eef4;font-size:13px}.entry-page td{padding:8px 6px}.entry-page .actions{padding-top:14px;border-top:1px solid #edf1f6}.workspace footer{font-size:9px;color:#aab5c5;margin:0;padding:18px 28px}.report-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-options h3{font-size:17px}.report-options .panel{padding:28px}.report-icon{width:42px;height:42px;background:#edf4ff;color:#6190ce;display:grid;place-items:center;font-size:25px;border-radius:9px}.report-options p{min-height:48px;margin-bottom:22px}.login{margin:9vh auto;box-shadow:0 12px 50px #3049680a;border-color:#e3eaf3}.login h1{color:#31587f}.login h2{color:#7c8fa8;font-size:15px}.login input{padding:11px}.login form button{padding:12px}#toggle-nav{display:none}.negative{color:#bb6771}.empty{font-size:11px;padding:35px;color:#a1aebe}
@media(min-width:1650px){main{padding:30px 40px 0}.topbar,.scope-bar{padding-left:40px;padding-right:40px}.overview-grid{grid-template-columns:minmax(0,3fr) minmax(290px,1fr)}}
@media(max-width:1150px){.sidebar{width:195px;padding-left:12px;padding-right:12px}.workspace-body{margin-left:195px}.sidebar-brand{font-size:14px}.sidebar-brand img{width:36px}.topbar{padding:12px 18px}.breadcrumb{display:none}.topbar-tools{width:100%;justify-content:flex-end}.scope-bar{padding:12px 18px;gap:10px}.scope-bar label>span{display:none}.scope-bar select{width:160px}.period-buttons{margin-left:0}main{padding:22px 18px 0}.overview-grid{grid-template-columns:1fr}.attention-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.attention-panel .section-title{grid-column:1/-1;margin-bottom:0}.attention-panel>p{grid-column:1/3}.attention-item{display:block}.attention-item strong{display:block;margin-top:8px}.metric{padding:15px 13px}.metric strong{font-size:23px}.metric>span{font-size:10px}.metric>small{font-size:9px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:224px;box-shadow:10px 0 40px #31466115}.nav-open .sidebar{transform:translateX(0)}.workspace-body{margin-left:0}.nav-open .workspace-body{margin-left:224px;min-width:360px}.topbar{position:sticky;top:0;z-index:10;padding:10px 12px;min-height:58px;flex-wrap:nowrap}#toggle-nav{display:block}.topbar-tools{gap:5px}.user-chip{margin:0;padding-left:7px}.user-chip>div{display:none}.topbar select{width:92px}.topbar-tools button{font-size:10px}.scope-bar{padding:10px 12px}.scope-divider{display:none}.scope-bar select{width:145px}.date-pair input{width:118px}.scope-bar label{gap:5px}.period-buttons{display:none}main{padding:20px 12px 0}.overview-metrics{grid-template-columns:1fr 1fr;gap:10px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px}.heading-actions{justify-content:flex-start}.overview-grid{gap:0}.attention-panel{grid-template-columns:1fr}.attention-panel>p,.attention-panel .section-title{grid-column:auto}.attention-item{display:flex}.attention-item strong{margin:0}.report-options{grid-template-columns:1fr;gap:0}.workspace .cards{grid-template-columns:1fr 1fr}.workspace .grid{grid-template-columns:1fr 1fr}.workspace .toolbar{align-items:flex-start}.workspace th,.workspace td{padding:10px;white-space:nowrap}.metric strong{font-size:22px}.login{margin:5vh 16px;padding:25px}.reading-table{min-width:1000px}}
}
@media print{.workspace{display:none!important}}

[hidden]{display:none!important}

@media screen{
:root,body{background:#e2e6e9;color:#33495f}.sidebar{background:#d5dde3;border-color:#bac7d2}.sidebar-brand{color:#294863}.sidebar-brand small,.nav-caption,.sidebar-bottom,.sidebar-bottom small{color:#5a7187}.sidebar nav button{color:#476078}.sidebar nav button small{color:#60788f}.sidebar nav button.active{background:#bdcfdd;color:#285479}.sidebar nav button.active small{color:#4f7190}.sidebar nav button:hover{background:#c9d6df}.topbar{background:#e4e9ed;border-color:#c1ccd6;color:#4a6178}.breadcrumb,.breadcrumb b,.topbar button,.user-chip,.user-chip small{color:#506a81}.topbar button{background:transparent}.scope-bar{background:#dce4ea;border-color:#becbd6}.scope-bar label{color:#4f6a83}.period-buttons button,.scope-bar>button{background:#d1deea;color:#365f80;border-color:#b5c9d9}.workspace .panel,.metric,.workspace .card{background:#eaf0f4;border-color:#bfccd7}.workspace .hint,.page-heading p,.metric>span,.metric>small,.metric strong small,.eyebrow{color:#58728a}.workspace input,.workspace select,.workspace textarea{background:#f0f3f5;color:#304b64;border-color:#aebfcd}.workspace label{color:#45617a}.workspace input[readonly]{background:#dbe5ed}.workspace th{background:#d1dfe9;color:#405b74;border-color:#b8c9d6}.workspace td{color:#3e5a73;border-color:#c6d4df}.workspace td small{color:#658096}.workspace tbody tr:nth-child(even){background:#e0e9ef}.workspace tbody tr:hover{background:#d5e3ed}.workspace button,.workspace a.button{background:#e1ebf2;color:#3a5e7b;border-color:#b1c5d4}.workspace button.primary{background:#3b719d;color:white;border-color:#3b719d}.workspace .notice{background:#d5e2ec;color:#405f7c;border-color:#b6cada}.workspace .negative,.workspace td.negative,.workspace .card strong.negative{color:#ae3444}.workspace .warning{background:#efe3d7;border-color:#d9bfa6;color:#805d3b}.workspace footer{color:#607a92}.soft-tag{background:#d4e3ec;color:#466d87}.soft-tag.warn{background:#ead9c4;color:#825b30}.section-title p,.attention-item span,.attention-panel>p{color:#617b91}.attention-item{border-color:#c9d6df}.attention-panel>button{background:#dae5ed;color:#44657e;border-color:#bcccda}.avatar{background:#cadae8;color:#355d7b}.login{background:#e8eef2}.login .hint{color:#5a748b}.login input{background:#f0f3f5}.login h2{color:#4b6781}
#shift-form .panel{padding:21px;margin-bottom:18px}#shift-form .section-title{margin-bottom:17px}#shift-form .section-title h3{border:0;padding:0;margin:0;font-size:14px}#shift-form .section-title button{border:1px solid #b1c5d4;background:#dce7ef;font-size:11px}#shift-form .reading-table input{min-width:88px}#shift-form .reading-table select{min-width:150px}#shift-form .reading-table [name=reason]{min-width:140px}#shift-form .reading-table [name=manual]{min-width:auto}#shift-form .shift-config{display:flex;flex-direction:column;gap:6px;color:#526e86;font-size:11px}#shift-form .shift-config strong{font-size:18px;color:#305574}#shift-form .shift-config small{font-size:9px}.shift-formula{background:#cfdfeb;padding:12px;color:#355c7c;border-left:3px solid #749cbb;font-size:12px;line-height:1.7}.shift-tank-table{min-width:930px}#shift-readings input{min-width:105px;max-width:150px}#shift-readings td{font-variant-numeric:tabular-nums}#shift-deliveries input{min-width:105px}#shift-deliveries select{min-width:140px}.shift-savebar{position:sticky;bottom:0;background:#d6e1e9;border:1px solid #b6c8d7;border-radius:8px;padding:12px 18px;box-shadow:0 -3px 12px #23486112;z-index:5}.shift-savebar .actions{padding:0;margin:0;border:0}#shift-error:empty{display:none}#handover-source{margin-top:16px;margin-bottom:10px}#refresh-handover{font-size:11px}.shift-today-status{color:#5d758c;font-size:11px;margin:-9px 0 18px}#shift-handover-alert:empty{display:none}#shift-handover-alert .notice{margin:12px 0}#context-shift{width:130px}.shift-meta .grid{align-items:start}#shift-form .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shift-meta .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:850px){#shift-form .grid,.shift-meta .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#shift-form .panel{padding:14px}.shift-savebar{position:static}.shift-formula{font-size:11px}}
}
.reading-table tr[data-nozzle-fuel="Diesel"],#print tr[data-nozzle-fuel="Diesel"]{--nozzle-tint:#fff9d9;--nozzle-color:#d6ac00}
.reading-table tr[data-nozzle-fuel="Unleaded"],#print tr[data-nozzle-fuel="Unleaded"]{--nozzle-tint:#e6f5ed;--nozzle-color:#07864d}
.reading-table tr[data-nozzle-fuel="Premium"],#print tr[data-nozzle-fuel="Premium"]{--nozzle-tint:#fce9ec;--nozzle-color:#cf2031}
.reading-table tr[data-nozzle-fuel] td,#print tr[data-nozzle-fuel] td{background:var(--nozzle-tint);print-color-adjust:exact;-webkit-print-color-adjust:exact}
.reading-table tr[data-nozzle-fuel] td:first-child,#print tr[data-nozzle-fuel] td:first-child{border-left:4px solid var(--nozzle-color)}
.reading-table tr[data-nozzle-fuel] select[name="gunId"]{background:var(--nozzle-tint);border-color:var(--nozzle-color);font-weight:600}
.reading-table .nozzle-fixed{padding:8px 10px;background:var(--nozzle-tint);border:1px solid var(--nozzle-color);border-radius:5px;min-width:150px}
.reading-table .nozzle-fixed strong{font-size:15px;margin-right:6px}
.reading-table .nozzle-fixed small{margin-top:5px}
.reading-table [data-nozzle-segment]{font-size:10px;margin-top:5px;padding:4px 7px}
#manager-station-assignment[hidden],#accountant-station-assignment[hidden],#accountant-station-list[hidden]{display:none!important}
.shift-rate[hidden]{display:none!important}
.receipt-evidence{width:100%;padding:10px 0}.receipt-pictures{display:flex;flex-wrap:wrap;gap:12px}.receipt-picture{display:flex;flex-direction:column;gap:6px}.receipt-view img{width:120px;height:90px;object-fit:contain}.receipt-dialog{max-width:95vw;max-height:95vh;border:0;border-radius:12px}.receipt-dialog img{display:block;max-width:85vw;max-height:80vh;object-fit:contain}.receipt-dialog::backdrop{background:#0008}
.accountant-hidden{display:none!important}

.collection-entry{min-width:150px;margin:8px 0}.collection-entry>span{display:block;font-variant-numeric:tabular-nums}.collection-entry .receipt-view{display:inline-block;margin:4px;padding:3px}.collection-entry .receipt-view img{width:64px;height:48px;object-fit:cover}.collection-table td{vertical-align:top}

.workspace .collection-pending-banner{background:#fff0ef;border:2px solid #c33535;border-left-width:7px;color:#922020;padding:18px;margin:0 0 20px;border-radius:7px}.collection-pending-banner>strong{font-size:20px}.collection-pending-banner p{margin:8px 0}.workspace .collection-entry{padding:10px;border:1px solid #bccbd3;border-radius:6px;min-width:220px}.workspace .collection-entry-pending{background:#fff0ef;border:2px solid #c33535}.workspace .collection-entry-checked{background:#e5f2e7;border-color:#709c77}.workspace .collection-pending-text{color:#aa2222;font-weight:700}.collection-entry>strong{display:block;margin:6px 0}.collection-nav-pending{display:block!important;background:#b92c2c;color:white!important;padding:4px 7px;border-radius:4px;font-size:11px;margin-top:5px}
.report-review-badge{display:inline-block;white-space:nowrap;font-size:12px;font-weight:700;padding:6px 9px;border-radius:6px}.report-review-badge.review-locked{color:#166534;background:#dcfce7;border:1px solid #86efac}.report-review-badge.review-pending{color:#b42318;background:#fff1f0;border:1px solid #fda29b}
.missing-handover,.workspace .notice.handover-missing{background:#fff1f0;border:2px solid #fda29b;color:#b42318;padding:16px;border-radius:8px;margin:14px 0;font-size:13px}.missing-handover h3{margin:0 0 8px}.missing-handover li{padding:5px 0}.missing-handover summary{cursor:pointer;font-weight:700}.report-history-dialog{width:min(1050px,92vw);max-height:85vh;overflow:auto;border:1px solid #cbd9e1;border-radius:10px;padding:22px;color:#203d50}.report-history-dialog::backdrop{background:#14394d80}.history-event{border-top:1px solid #cbd9e1;padding:16px 0}.history-event td{white-space:pre-wrap;overflow-wrap:anywhere;max-width:380px}.history-event p{margin:8px 0}
.stock-surplus,.workspace td.stock-surplus,#print td.stock-surplus{color:#16865a;font-weight:600}.stock-shortage,.workspace td.stock-shortage,#print td.stock-shortage{color:#ba2534;font-weight:600}@media print{.stock-surplus,.stock-shortage{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.money-surplus,.workspace td.money-surplus,.workspace .card strong.money-surplus,.workspace strong.money-surplus,#print td.money-surplus,#print tr.money-surplus td{color:#16865a;font-weight:600}.money-shortage,.workspace td.money-shortage,.workspace .card strong.money-shortage,.workspace strong.money-shortage,#print td.money-shortage,#print tr.money-shortage td{color:#ba2534;font-weight:600}.workspace tr.money-surplus td{color:#16865a}.workspace tr.money-shortage td{color:#ba2534}@media print{.money-surplus,.money-shortage{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.owner-todo-shortcut{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#edf8ef;border:1px solid #86b990;padding:16px;border-radius:8px;margin:0 0 20px}.owner-todo-shortcut.has-pending{background:#fff1f0;border:2px solid #fda29b}.owner-todo-shortcut small{display:block;margin-top:6px}.owner-todo-cards button{text-align:left}.owner-todo-cards .todo-alert strong{color:#b42318}.owner-todo-cards button.card:hover{border-color:#0879aa}.todo-count{display:inline-block;border-radius:5px;padding:3px 8px;background:#fff1f0;color:#b42318}.todo-target{outline:3px solid #0879aa;outline-offset:3px;box-shadow:0 0 0 6px #cce9ff}.owner-todo-section{scroll-margin-top:20px}@media(max-width:800px){.owner-todo-shortcut{flex-wrap:wrap}}
.threshold-warning{background:#fff1f0;border:2px solid #fda29b;border-radius:8px;padding:14px;margin:14px 0;color:#b42318}.threshold-label,.workspace td .threshold-label,.workspace td.threshold-label{color:#b42318;font-weight:700}.threshold-exceeded{background:#fff1f0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.threshold-warning li{margin:5px 0}#todo-anomalies{scroll-margin-top:20px}@media print{.threshold-warning{break-inside:avoid;font-size:10px}}
.anomaly-confirmed,.workspace td .anomaly-confirmed{color:#16865a;font-weight:700}.threshold-reviewed{background:#edf8ef;border:1px solid #86b990;color:#166534}.threshold-reviewed-cell{background:#edf8ef!important}.threshold-reviewed-cell .threshold-label,.workspace td.threshold-reviewed-cell .threshold-label{color:#16865a}#todo-anomalies .check{margin:10px 0 16px}

#shift-saved,#shift-save-status{font-weight:700;padding:8px 12px;border-radius:6px} [data-status=unsaved]{color:#945600;background:#fff3cd} [data-status=saving]{color:#175f98;background:#e8f3ff} [data-status=saved]{color:#16865a;background:#e8f7ef} [data-status=failed]{color:#ba2534;background:#fdebed} #shift-save-status{margin:0 0 12px}@media print{#shift-save-status{display:none}}

:is(#todo-nozzleTests,#todo-reviewedNozzleTests) table{table-layout:fixed;width:100%;min-width:980px}
:is(#todo-nozzleTests,#todo-reviewedNozzleTests) th,:is(#todo-nozzleTests,#todo-reviewedNozzleTests) td{padding:10px 8px;white-space:normal;line-height:1.5;overflow-wrap:anywhere}
:is(#todo-nozzleTests,#todo-reviewedNozzleTests) td:nth-child(3),:is(#todo-nozzleTests,#todo-reviewedNozzleTests) td:nth-child(4),:is(#todo-nozzleTests,#todo-reviewedNozzleTests) td:nth-child(5){white-space:nowrap;font-variant-numeric:tabular-nums}
:is(#todo-nozzleTests,#todo-reviewedNozzleTests) td:last-child button{display:block;width:100%;min-width:0;padding:8px;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.4}
:is(#todo-nozzleTests,#todo-reviewedNozzleTests) td:last-child button+button{margin-top:6px}
#todo-nozzleTests th:nth-child(1){width:16%}#todo-nozzleTests th:nth-child(2){width:19%}#todo-nozzleTests th:nth-child(3),#todo-nozzleTests th:nth-child(4){width:8%}#todo-nozzleTests th:nth-child(5){width:10%}#todo-nozzleTests th:nth-child(6){width:16%}#todo-nozzleTests th:nth-child(7){width:23%}
#todo-nozzleTests [data-nozzle-test-note]{width:100%;min-width:0}#todo-nozzleTests .check{margin:10px 0 16px}
#todo-reviewedNozzleTests table{min-width:1080px}#todo-reviewedNozzleTests th:nth-child(1){width:14%}#todo-reviewedNozzleTests th:nth-child(2){width:18%}#todo-reviewedNozzleTests th:nth-child(3),#todo-reviewedNozzleTests th:nth-child(4){width:7%}#todo-reviewedNozzleTests th:nth-child(5){width:9%}#todo-reviewedNozzleTests th:nth-child(6){width:15%}#todo-reviewedNozzleTests th:nth-child(7){width:13%}#todo-reviewedNozzleTests th:nth-child(8){width:17%}
.financial-todo-section table{table-layout:fixed;min-width:1000px}.financial-todo-section th,.financial-todo-section td{white-space:normal;overflow-wrap:anywhere;line-height:1.5;padding:10px 8px;vertical-align:top}.financial-todo-section th:first-child{width:17%}.financial-todo-section th:nth-child(2){width:21%}.financial-todo-section th:nth-child(3){width:10%}.financial-todo-section th:last-child{width:19%}.financial-todo-section td:nth-child(3){white-space:nowrap;font-variant-numeric:tabular-nums}.financial-todo-section td:last-child>button{display:block;width:100%;padding:8px;white-space:normal;line-height:1.4}.financial-todo-section td:last-child>button+button{margin-top:6px}.financial-todo-section input[data-financial-note]{width:100%;min-width:0}.financial-todo-section .receipt-view{padding:3px;margin:3px}.financial-todo-section .receipt-view img{width:64px;height:48px;object-fit:cover}.financial-todo-section .check{margin:10px 0 16px}.report-schedule-table input,.report-schedule-table select{min-width:135px}
.shift-record-table{min-width:1850px}.shift-record-table th,.shift-record-table td{vertical-align:top}.shift-record-table .shift-review-cell{min-width:320px;white-space:normal}.shift-list-reviews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:350px}.shift-review-item{min-width:0}.shift-review-item>strong{display:block;font-size:11px;margin-bottom:4px}.shift-review-badge{display:inline-block;border-radius:5px;padding:4px 6px;font-size:11px;line-height:1.5;white-space:normal}.shift-review-complete{background:#dcfce7;color:#166534;border:1px solid #86efac}.shift-review-pending{background:#fff1f0;color:#b42318;border:1px solid #fda29b}.shift-review-partial{background:#fff4d6;color:#835100;border:1px solid #ddb960}.shift-review-none,.shift-review-unavailable{background:#e4ebf0;color:#526777;border:1px solid #bdccd6}.shift-record-table .shift-record-actions{position:sticky;right:0;min-width:130px;background:#eaf0f4;box-shadow:-3px 0 6px #28476115}.shift-record-table th.shift-record-actions{background:#d1dfe9;z-index:1}.shift-record-actions button{display:block;width:100%;margin:0 0 6px;white-space:normal;min-width:0}.shift-detail-meta{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:12px}.shift-detail-reviews{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.shift-detail-reviews .shift-review-item{border:1px solid #c6d4df;border-radius:7px;padding:12px}.shift-detail-reviews .shift-review-item>strong{font-size:13px}.shift-detail-notes{white-space:pre-wrap;overflow-wrap:anywhere}#shift-record-details td{white-space:normal;vertical-align:top;line-height:1.6}#shift-record-details td small{display:block;white-space:normal;overflow-wrap:anywhere}#shift-record-details table{font-size:12px}#shift-record-details th{font-size:11px;white-space:normal}#shift-record-details .receipt-view{display:inline-block;margin:4px;padding:3px}#shift-record-details .receipt-view img{width:86px;height:64px;object-fit:contain}#shift-detail-nozzles{min-width:1150px}#shift-detail-discounts{min-width:950px}#shift-detail-cash,#shift-detail-transfer,#shift-detail-expenses,#shift-detail-tests{min-width:730px}.shift-entry-reviewed{color:#16865a;font-weight:700}.shift-entry-pending{color:#b42318;font-weight:700}
.shift-record-table{min-width:1720px}.shift-record-table th:not(:nth-child(3)):not(:last-child){white-space:normal;min-width:75px;max-width:135px;font-size:11px;line-height:1.5}
@media(max-width:1100px){.shift-detail-reviews{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.shift-detail-reviews{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shift-detail-meta{display:block}.shift-record-table .shift-record-actions{min-width:110px}#shift-record-details .panel{padding:14px}.shift-detail-reviews .shift-review-item{padding:10px}}
.month-select{align-items:flex-end;flex-wrap:wrap}.month-select label{min-width:190px}.month-select input,.month-select select{width:100%}.month-review-progress{margin-top:22px}.month-warnings{padding-left:22px;line-height:1.9}.month-warnings li{overflow-wrap:anywhere;color:#a04b13}.month-lock-banner{border-left:4px solid #456795}.month-closed-label{color:#315986;font-weight:700}#month-result th,#month-result td{white-space:normal;vertical-align:top}#month-result td small{display:block}#month-actions textarea{max-width:800px;width:100%}#month-actions .check{margin:18px 0}#month-actions .check input{flex-shrink:0}#month-result details{margin:16px 0}#month-result summary{cursor:pointer;font-weight:700}#month-result .card strong{overflow-wrap:anywhere;font-size:23px}#month-result .card small{white-space:normal}@media(max-width:760px){.month-select label{width:100%;min-width:0}.month-select button{width:100%}.month-review-progress{grid-template-columns:repeat(2,minmax(0,1fr))}#month-result .panel{padding:14px}#month-result table{min-width:660px}}
.shift-record-table.shift-record-public-review .shift-review-cell{min-width:160px}.shift-record-public-review .shift-list-reviews{grid-template-columns:1fr;max-width:190px}.shift-detail-reviews.shift-detail-public-review{grid-template-columns:minmax(0,240px)}
.accountant-item-review{border-top:1px solid #bdccd6;margin-top:22px;padding-top:18px}.accountant-item-review table{min-width:950px}.accountant-item-review td{white-space:normal;vertical-align:top}.accountant-item-review td:first-child{min-width:310px;max-width:520px}.accountant-item-review td:nth-child(2){min-width:155px}.accountant-item-review textarea{min-width:190px;width:100%;resize:vertical}.accountant-item-review td small{display:block;margin-top:6px}.accountant-item-data span{display:block;margin-top:4px;overflow-wrap:anywhere}.accountant-item-images .receipt-view{display:inline-block;padding:3px;margin:6px 6px 0 0}.accountant-item-images img{width:80px;height:60px;object-fit:contain}.accountant-item-review .error{font-size:12px;margin:8px 0 0}.shift-detail-reviews{grid-template-columns:repeat(3,minmax(0,1fr))}.shift-detail-reviews.shift-detail-public-review{grid-template-columns:repeat(2,minmax(0,1fr))}
.accountant-module-details summary,.accountant-review-sources summary{cursor:pointer;color:#315986;margin:8px 0;font-size:12px}.accountant-module-row{padding:8px 0;border-top:1px solid #d4dee6}.accountant-no-activity{color:#607382;background:#f5f7f9}.accountant-review-sources small{white-space:normal;overflow-wrap:anywhere}
.accountant-review-summary{border-top:1px solid #bdccd6;margin-top:18px;padding-top:8px}.accountant-review-summary p{margin:8px 0}.accountant-inline-check{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;max-width:100%;font-size:12px}.accountant-inline-check .accountant-review-button{padding:6px 12px;min-width:64px;margin:0;white-space:nowrap;background:#fff4d6;border:1px solid #ddb960;color:#735000}.accountant-inline-check .accountant-reviewed{background:#dcfce7;border-color:#86efac;color:#166534}.accountant-inline-check .accountant-review-who{max-width:280px;overflow-wrap:anywhere}.accountant-inline-check small{font-size:11px;line-height:1.5}.accountant-inline-notes{min-width:0;max-width:290px}.accountant-inline-notes summary,.accountant-review-sources summary{font-size:11px;cursor:pointer;color:#526777;margin:0}.accountant-inline-notes textarea{display:block;width:250px;max-width:100%;font-size:12px;margin:6px 0 0;resize:vertical}.accountant-inline-notes .error{display:block;margin-top:6px}.accountant-field-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.accountant-field-wrap>label{width:100%}.accountant-settlement{margin:16px 0 8px}.section-title>.accountant-inline-check{margin-left:8px;flex:1}.toolbar>.accountant-inline-check{align-self:center}.accountant-inline-check details small{display:block}.accountant-inline-check [disabled]{cursor:default;opacity:.65}@media(max-width:760px){.accountant-inline-check{gap:6px}.section-title>.accountant-inline-check{margin-left:0;flex-basis:100%;margin-top:8px}.accountant-inline-notes textarea{width:220px}.toolbar>.accountant-inline-check{flex-basis:100%;margin:4px 0}.accountant-review-who{max-width:100%}}
#shift-form .accountant-inline-check .accountant-review-button{background:#fff4d6;border:1px solid #ddb960;color:#735000}#shift-form .accountant-inline-check .accountant-reviewed{background:#dcfce7;border-color:#86efac;color:#166534}@media(max-width:760px){#shift-form .section-title{flex-wrap:wrap}}
.accountant-lock-blockers{border:1px solid #ddb960;background:#fff8e6;border-radius:6px;padding:12px;margin:12px 0}.accountant-lock-blockers[hidden]{display:none}.accountant-lock-blockers ul{margin:8px 0 0;padding-left:20px;max-height:230px;overflow:auto}.accountant-lock-blockers li{margin:4px 0}.accountant-lock-blockers button{color:#735000;border:0;background:transparent;text-align:left;padding:4px;font-size:12px;white-space:normal}.accountant-recheck-reason{color:#a04b13;font-weight:700;flex-basis:100%}.accountant-jump-target{outline:2px solid #d4a42c;outline-offset:5px;border-radius:4px}.delivery-evidence-cell{min-width:200px;vertical-align:top}.delivery-evidence-cell .receipt-evidence{padding-top:0}.delivery-evidence-cell .receipt-evidence label{font-size:11px}.delivery-evidence-cell input[type=file]{max-width:210px}.delivery-evidence-cell .receipt-view img{width:86px;height:65px}.shift-detail-delivery-evidence{margin:14px 0}

.operating-owner-review{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:6px;white-space:normal}
.operating-owner-review-button{background:#fff4db;border-color:#dab266;color:#765412;font-size:12px}
.operating-owner-review-button.is-checked{background:#e5f5eb;border-color:#8ec6a1;color:#246c3d}
.operating-owner-review small{font-weight:400;font-size:11px;line-height:1.5}
.purchase-match-dialog{width:min(1180px,95vw);max-width:95vw;max-height:92vh;overflow:auto}
.purchase-match-dialog .scroll{max-height:44vh;overflow:auto}
.purchase-match-dialog input[type=checkbox]{width:20px;height:20px;cursor:pointer}
.purchase-match-dialog .toolbar{align-items:end;flex-wrap:wrap}
.purchase-match-dialog .actions{margin-top:16px}
.purchase-match-status{min-width:155px}
.purchase-match-status.balanced{color:#16865a}
.purchase-match-status.difference,.purchase-match-status.stale{color:#a85214}
.purchase-match-status small{color:#66758b}
.purchase-match-print h4{margin-top:20px}
@media(max-width:640px){.purchase-match-dialog{padding:14px}.purchase-match-filters label{width:100%}.purchase-match-dialog .scroll{max-height:42vh}}
.purchase-filter-controls label{min-width:190px;max-width:100%;flex:0 1 280px}
.purchase-match-overview{border-top:1px solid #e4e9f1;margin-top:18px;padding-top:4px}
.purchase-match-overview .cards{margin:8px 0;gap:8px}
.purchase-match-overview .card{padding:8px 12px;background:#f7f9fc}
.purchase-match-overview .card strong{font-size:18px;margin-top:3px}
@media(min-width:761px){.workspace th.purchase-row-actions,.workspace td.purchase-row-actions{position:sticky;right:0;min-width:270px;white-space:nowrap;background:#eaf0f4;box-shadow:-3px 0 5px #263d5610}.workspace th.purchase-row-actions{background:#d1deea}.purchase-row-actions button{white-space:nowrap}}

/* Automatic updates stay outside forms so drafts and uploads remain intact. */
#auto-sync-status{white-space:nowrap;color:#527366;font-size:12px}#auto-sync-status.sync-warning{color:#9a6500}.auto-sync-notice{display:flex;align-items:center;gap:16px;justify-content:space-between;margin:0 0 18px}.auto-sync-notice .auto-sync-message{flex:1}.auto-sync-notice button{flex:none}#auto-sync-retained-notes textarea{width:100%;min-height:100px;margin-top:12px}@media(max-width:700px){#auto-sync-status{display:none}.auto-sync-notice{align-items:stretch;flex-direction:column;gap:10px}}@media print{.auto-sync-notice,#auto-sync-status{display:none!important}}
