:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#372528;background:#f5f3f3;font-synthesis:none;--ink:#372528;--muted:#776c6e;--accent:#381c21;--line:#e4dfe0;--lime:#d59ca5;--paper:#fff;--orange:#a54f28;--radius:18px}
/* Shared TEST connection controls stay outside the working forms. */
.sync-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 42px;border-bottom:1px solid var(--line);background:#f6f1f2;font-size:12px;line-height:1.5}.sync-bar #sync-status{min-width:0;overflow-wrap:anywhere}.sync-bar .text-button{flex-shrink:0;min-height:44px}.sync-bar [data-state="needs_review"]{color:#97432e;font-weight:650}.sync-bar [data-state="offline"],.sync-bar [data-state="pending"]{color:#80611f}.session-name{font-size:12px;color:#695b5d;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app-version{font-variant-numeric:tabular-nums}.login-page{min-height:100svh;display:grid;place-items:center;padding:28px 18px;background:linear-gradient(160deg,#eadee0,#f5f3f3 60%)}.login-page .login-card{width:min(100%,440px);padding:35px 30px;background:#fff;border:1px solid #dfd5d7;border-radius:20px;box-shadow:0 16px 50px #381c2110;margin:auto}.login-card h1{font-size:29px}.login-card form{margin-top:26px}.login-card .field{margin-bottom:18px}.login-card .field-note{margin:20px 0}.login-card .soft-panel{margin-top:20px;font-size:12px}.login-card .form-error{margin-bottom:14px}.login-card .subtitle{line-height:1.6}
@media(max-width:760px){.sync-bar{padding:3px 20px;font-size:11px;gap:12px}.session-name{max-width:105px;font-size:11px}.topbar .topbar-right{gap:10px}.topbar #signout-button{font-size:12px;min-height:44px}.login-page .login-card{padding:28px 23px}.page-footer #app-version{overflow-wrap:anywhere}}
@media print{.sync-bar{display:none!important}}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #9a6770;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #866a6f;outline-offset:1px}button{touch-action:manipulation}svg{width:21px;height:21px;flex-shrink:0;stroke-width:1.7}input,select,textarea{font-size:16px;width:100%;border:1px solid #d4cecf;background:#fff;color:var(--ink);border-radius:10px;padding:13px;min-height:49px}textarea{resize:vertical}label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--accent)}small{font-size:12px}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.16;font-weight:650}h2{font-size:22px;letter-spacing:-.5px;font-weight:650}h3{font-size:16px;font-weight:650}p{line-height:1.6}.app-layout{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;padding:34px 22px;background:var(--accent);color:#f2ebec;display:flex;flex-direction:column}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:18px;font-weight:750;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2.2px;margin-top:5px;color:#c7babc}.brand-mark{font-size:34px;letter-spacing:-7px;position:relative;margin-right:9px}.brand-mark span{position:absolute;color:var(--lime);font-size:10px;right:-9px;top:0}.nav-caption{font-size:10px;letter-spacing:1.6px;color:#b3a0a3;margin:56px 12px 16px}#desktop-nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:12px;padding:14px 13px;text-decoration:none;border-radius:10px;color:#cdc2c4;font-size:14px;min-height:49px}.nav-link.active{color:#fff;background:#4d3438}.nav-link.active:after{content:"";width:5px;height:5px;background:var(--lime);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.sidebar-bottom p{font-size:12px;color:#c6babc;margin-top:15px}.demo-pill{font-size:9px;letter-spacing:1.3px;border:1px solid #7d6c6f;border-radius:5px;padding:6px 8px;color:#ddc4c8}.text-button{border:0;background:none;color:var(--accent);font-size:13px;font-weight:600;padding:10px 0;min-height:40px;display:inline-flex;align-items:center;gap:15px}.text-button.light{color:#e7dedf}.workspace{margin-left:228px;flex:1;min-width:0}.topbar{height:78px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#faf8f8;border-bottom:1px solid var(--line)}.desktop-location{font-size:13px;color:#695b5d}.desktop-location span{margin:0 14px;color:#bab3b4}.topbar-right{display:flex;align-items:center;gap:24px}.sample-badge{font-size:12px;color:#7a6569;display:flex;align-items:center;gap:7px}.sample-badge i{display:block;width:6px;height:6px;background:#9d797f;border-radius:50%}.avatar{width:34px;height:34px;border-radius:50%;border:1px solid #dcd3d4;background:#efe9ea;color:#5c4b4e;font-size:12px}.demo-notice{font-size:11px;color:#6e6264;padding:10px 42px;background:#ede6e7;line-height:1.5}.demo-notice>span{font-size:9px;font-weight:800;letter-spacing:.6px;margin-right:9px}main{padding:36px 42px;max-width:1500px;margin:0 auto;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#8c797c;margin-bottom:9px}.subtitle{color:var(--muted);font-size:14px;margin-top:9px}.btn{border:1px solid transparent;border-radius:10px;font-weight:600;font-size:14px;padding:13px 18px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;transition:background .15s,transform .15s}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--accent);color:white}.btn.primary:hover{background:#4d2d32}.btn.secondary{background:#fff;border-color:#ddd5d6;color:var(--accent)}.btn.subtle{background:#ebe5e6;color:var(--accent)}.btn.danger{background:#a4422e;color:white}.btn.wide{width:100%}.actions{display:flex;gap:10px}.overview{display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:16px;margin-bottom:30px}.stat{padding:23px 25px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.stat.hero{background:#eadee0;border-color:#e2d5d7;position:relative;overflow:hidden}.stat-label{font-size:12px;color:#69585b;margin-bottom:13px;display:flex;align-items:center;gap:7px}.stat-value{font-size:35px;letter-spacing:-1.6px;font-weight:600;font-variant-numeric:tabular-nums}.stat-value small{font-size:13px;letter-spacing:0;color:#7e6e71;margin-left:6px;font-weight:400}.stat-note{font-size:11px;color:#817577;margin-top:9px}.stat-value.word{font-size:25px;letter-spacing:-.7px;padding-top:7px}.hero-art{position:absolute;right:20px;bottom:20px;display:flex;gap:6px;opacity:.38;align-items:flex-end}.hero-art i{display:block;border:1px solid #a18287;border-radius:8px 8px 5px 5px;width:19px;height:55px;background:linear-gradient(to top,#bc999f 68%,transparent 68%)}.hero-art i:nth-child(2){height:80px;background:linear-gradient(to top,#bc999f 72%,transparent 72%)}.hero-art i:nth-child(3){height:65px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 18px}.section-heading h2{font-size:19px}.section-heading .hint{color:var(--muted);font-size:12px}.segmented{display:inline-flex;background:#ebe5e6;border-radius:9px;padding:4px;gap:4px}.segmented button{border:0;background:none;color:#706365;padding:9px 15px;min-height:40px;border-radius:6px;font-size:12px;font-weight:600}.segmented button.active{background:#fff;box-shadow:0 1px 4px #37252810;color:#412b2f}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.chip{border:1px solid #e0d7d9;background:transparent;border-radius:25px;min-height:38px;padding:8px 16px;color:#746668;font-size:12px}.chip.active{background:var(--accent);color:white;border-color:var(--accent)}.tank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tank-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;cursor:pointer;text-align:left;color:var(--ink);min-width:0;transition:box-shadow .15s,transform .15s}.tank-card:hover{box-shadow:0 7px 24px #361e220b;transform:translateY(-2px);border-color:#bcaeb0}.tank-top{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:20px}.tank-name{font-size:15px;font-weight:700}.product-tag{font-size:10px;border-radius:5px;background:var(--tint,#f0e6e8);color:var(--color,#765157);padding:5px 7px;white-space:nowrap;font-weight:600}.gas{--color:#8b621b;--tint:#fbf0da;--fill:#d9b15c}.dyed{--color:#ac6447;--tint:#fbefe8;--fill:#d69e7d}.clear{--color:#356b93;--tint:#eaf1f9;--fill:#85aacc}.premium{--color:#7e7192;--tint:#f0edf6;--fill:#b3a2c8}.kero{--color:#95783f;--tint:#f7f1e3;--fill:#ccba86}.tank-content{display:flex;gap:17px;align-items:center;margin-bottom:19px}.vessel{width:45px;height:79px;flex-shrink:0;position:relative;border:1px solid #dbd2d4;border-radius:10px 10px 8px 8px;background:repeating-linear-gradient(to top,transparent 0,transparent 15px,#ebe6e7 15px,#ebe6e7 16px);overflow:hidden}.vessel-fill{position:absolute;left:0;right:0;bottom:0;height:var(--level);background:var(--fill);opacity:.8;border-top:2px solid var(--color)}.vessel:after{content:"";position:absolute;inset:5px auto 5px 7px;width:3px;background:#ffffff6b;border-radius:2px}.gallons{font-size:28px;letter-spacing:-1px;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}.gallons small{font-size:11px;letter-spacing:0;color:var(--muted);font-weight:400}.tank-detail{font-size:11px;color:#8e8284;margin-top:7px}.tank-metrics{display:flex;justify-content:space-between;gap:8px;padding-top:13px;border-top:1px solid #efeaeb;font-size:11px;color:#817476}.tank-metrics strong{color:#59474a;font-weight:600}.attention{color:#a56828;font-size:10px;background:#faf1df;padding:4px 6px;border-radius:4px;display:inline-block;margin-top:8px}.under-panel,.empty{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:35px;text-align:center;color:#76686a}.under-panel svg{height:38px;width:38px;color:#8f767a;margin-bottom:15px}.under-panel h2{color:var(--ink);margin-bottom:12px}.under-panel p{max-width:530px;margin:auto;font-size:14px}.under-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px;text-align:left}.under-item{padding:17px;border-radius:12px;background:#f6f2f3}.under-item strong{display:block;font-size:14px;margin-bottom:10px}.under-item span{font-size:12px}.history-preview{margin-top:30px}.activity-list{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.activity-row{display:flex;gap:14px;align-items:center;padding:18px 20px;border-bottom:1px solid #efeaeb;cursor:pointer;width:100%;text-align:left;background:transparent;border-left:0;border-right:0;border-top:0;color:var(--ink)}.activity-row:last-child{border-bottom:0}.activity-icon{width:39px;height:39px;border-radius:10px;background:#f0e9ea;color:#806468;display:flex;align-items:center;justify-content:center;flex-shrink:0}.activity-row.load .activity-icon{background:#edf1f4;color:#66818b}.activity-row.reconcile .activity-icon{background:#f3efe5;color:#968250}.activity-row.reversal .activity-icon{background:#f8eae4;color:#a06c55}.activity-text{flex:1;min-width:0}.activity-text strong{font-size:13px;font-weight:600;display:block}.activity-text small{display:block;color:#8e8183;font-size:11px;margin-top:5px}.activity-value{text-align:right;font-size:15px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.activity-value small{display:block;color:#978c8e;font-size:10px;font-weight:400;margin-top:5px}.page-footer{padding:10px 42px 28px;color:#95898b;font-size:10px;display:flex;justify-content:space-between;max-width:1500px;margin:auto}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:26px}.panel+.panel{margin-top:20px}.panel-header{display:flex;align-items:center;gap:10px;margin-bottom:25px}.step-dot{width:25px;height:25px;background:#ece2e4;border-radius:50%;font-size:12px;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.panel-header h2{font-size:17px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{min-width:0}.field.full{grid-column:1/-1}.field-note{font-size:11px;color:#88787b;margin-top:7px;line-height:1.5}.allocation{border:1px solid #e3dcdd;border-radius:12px;background:#f9f7f7;padding:17px;margin-top:12px}.allocation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:12px;font-weight:650;color:#7a6569}.icon-button{width:38px;height:38px;border-radius:8px;border:1px solid var(--line);background:#fff;color:#867578;display:inline-flex;align-items:center;justify-content:center}.allocation-fields{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:15px}.allocation-fields.load-fields{grid-template-columns:115px minmax(0,1fr) 110px}.allocation-hint{font-size:11px;color:#87787b;margin-top:9px}.dashed-button{margin-top:15px;border:1px dashed #c7b5b8;background:transparent;border-radius:10px;width:100%;min-height:47px;font-weight:600;color:#705358;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px}.form-summary{background:#ece2e4;border:1px solid #dfd0d3;border-radius:var(--radius);padding:24px;position:sticky;top:24px}.form-summary .stat-value{margin:18px 0 8px}.form-summary p{font-size:12px;color:#7a6669;margin-bottom:22px}.summary-rule{border-top:1px solid #d5c5c7;padding-top:16px;margin-top:18px}.summary-item{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:10px 0}.summary-item span{color:#7e6d70}.form-error{display:none;background:#fff0ea;color:#983f28;border:1px solid #ebc6b8;border-radius:10px;padding:13px 16px;font-size:13px;line-height:1.55;margin:0 0 20px}.form-error.visible{display:block}.truck-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.truck-option{border:1px solid #ddd4d5;background:#fff;border-radius:12px;padding:18px;text-align:left;min-height:110px;color:var(--ink)}.truck-option.selected{background:#f1e7e9;border:2px solid #886168;padding:17px}.truck-option svg{color:#8a6d72}.truck-option strong{display:block;margin:10px 0 4px;font-size:16px}.truck-option small{color:#86797b;font-size:11px}.truck-bars{display:flex;gap:5px;margin:18px 0 8px}.truck-bar{flex:1;background:#efe7e8;border:1px solid #dbcbce;border-radius:6px;padding:10px 2px;text-align:center;position:relative;overflow:hidden}.truck-bar>b{display:block;font-size:12px;position:relative}.truck-bar>small{display:block;font-size:9px;margin-top:4px;color:#877578;position:relative}.truck-bar>.bar-fill{position:absolute;bottom:0;left:0;right:0;height:var(--level);background:#cdadb3;opacity:.5}.choice{display:flex;gap:10px;margin:12px 0 0}.choice button{flex:1;border:1px solid #dad0d2;border-radius:9px;padding:13px 8px;background:#fff;color:#684f53;font-size:13px;min-height:48px}.choice button.selected{background:#eee4e6;border-color:#936f75;color:#4b2f33;font-weight:600}.aboard-row{display:grid;grid-template-columns:75px 110px 1fr;align-items:center;gap:12px;margin-top:12px;font-size:12px}.soft-note{background:#f4f2e8;border:1px solid #e7e2ce;border-radius:10px;padding:13px 15px;color:#87764d;font-size:12px;line-height:1.6;margin:18px 0}.reconcile-intro{max-width:760px;margin:auto}.check-progress{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#897579;margin-bottom:12px}.progress-track{height:5px;border-radius:5px;background:#e7dddf;overflow:hidden;margin-bottom:27px}.progress-track i{display:block;height:100%;background:#8e6b71;transition:width .3s}.reading-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px}.reading-heading h2{font-size:28px}.reading-balance{background:#f6f0f1;padding:16px 18px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.reading-balance strong{font-size:22px;font-weight:600}.height-inputs{display:grid;grid-template-columns:1fr 1fr;gap:15px}.big-input{font-size:28px;padding:14px 16px;font-variant-numeric:tabular-nums}.reading-footer{display:flex;justify-content:space-between;gap:15px;margin-top:25px}.reconcile-table{width:100%;border-collapse:collapse;font-size:13px}.reconcile-table th{text-align:right;font-size:10px;letter-spacing:.5px;color:#877578;font-weight:600;padding:12px 8px;border-bottom:1px solid var(--line)}.reconcile-table th:first-child,.reconcile-table td:first-child{text-align:left}.reconcile-table td{text-align:right;padding:13px 8px;border-bottom:1px solid #efeaeb;font-variant-numeric:tabular-nums}.reconcile-table td small{display:block;font-size:10px;color:#918285;margin-top:4px}.variance{color:#a1653f}.success-panel{text-align:center;padding:40px 25px}.success-circle{display:flex;align-items:center;justify-content:center;background:#ecdfe1;border-radius:50%;height:64px;width:64px;margin:0 auto 22px;color:#80575e}.success-circle svg{width:32px;height:32px}.success-panel h2{font-size:25px;margin-bottom:12px}.success-panel p{color:var(--muted);font-size:14px;margin-bottom:24px}.success-panel .actions{justify-content:center}.success-details{margin:25px auto;max-width:500px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.success-details .summary-item{font-size:14px;padding:4px 0}.empty p{font-size:14px;margin-top:10px}dialog{border:0;border-radius:22px;padding:0;width:min(580px,calc(100% - 30px));max-height:90dvh;color:var(--ink);box-shadow:0 30px 100px #092a3540}dialog::backdrop{background:#2815185e;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 26px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:22px}.modal-body{padding:24px 26px}.modal-body>p{font-size:14px;color:#7c6d70;margin-bottom:18px}.modal-footer{padding:18px 26px 24px;display:flex;justify-content:flex-end;gap:10px}.review-total{padding:23px;background:#f1e7e9;border-radius:12px;text-align:center;margin:17px 0}.review-total strong{font-size:35px;display:block;letter-spacing:-1px}.review-total span{font-size:12px;color:#7f6f72}.review-line{padding:14px 0;border-bottom:1px solid #ebe4e5;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}.review-line small{display:block;color:#8d7e81;font-size:11px;margin-top:5px}.review-line strong{white-space:nowrap}.detail-hero{display:flex;align-items:center;gap:25px;padding:5px 0 25px}.detail-hero .vessel{height:110px;width:65px}.detail-hero .gallons{font-size:38px}.detail-row{display:flex;justify-content:space-between;font-size:13px;padding:12px 0;border-bottom:1px solid #ede8e9}.detail-row>span{color:#8d7e81}.about-list{padding-left:19px;color:#79676a;font-size:13px;line-height:1.8}.badge{border:1px solid #e1d8d9;padding:4px 7px;border-radius:5px;font-size:10px;color:#857275}.activity-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.activity-tools select{width:auto;min-width:180px}.activity-tools .btn{margin-left:auto}#toast{position:fixed;bottom:28px;left:calc(50% + 114px);transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#381e22;color:#fff;padding:15px 22px;border-radius:12px;font-size:13px;box-shadow:0 6px 25px #37252825;transition:all .2s;z-index:9;max-width:85vw}#toast.visible{opacity:1;transform:translate(-50%,0)}#mobile-nav,.mobile-brand{display:none}.hidden{display:none!important}.check-label{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6;font-weight:400}.check-label input{flex-shrink:0;margin-top:1px}.muted{color:var(--muted)}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.soft-panel{border-radius:12px;padding:17px;background:#f6f0f1;margin-top:18px;font-size:12px;line-height:1.7;color:#7a676a}.link-row{margin-top:18px;display:flex;justify-content:center;gap:18px}.loading-save{opacity:.65;pointer-events:none}
@media(min-width:1500px){main{padding-top:42px}.tank-grid{gap:20px}.tank-card{padding:23px}.stat{padding:27px}.overview{gap:20px}}
@media(max-width:1150px){.sidebar{width:192px;padding:30px 15px}.workspace{margin-left:192px}main{padding:28px}.topbar{padding:0 28px}.demo-notice{padding:9px 28px}.brand{font-size:16px}.tank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-layout{grid-template-columns:1fr}.form-summary{position:static}.overview{grid-template-columns:1.3fr 1fr 1fr}.stat{padding:20px}.stat-value{font-size:29px}.hero-art{display:none}#toast{left:calc(50% + 96px)}}
@media(max-width:760px){body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:63px;padding:0 20px}.desktop-location{display:none}.mobile-brand{display:block;font-size:15px;text-decoration:none;font-weight:800;letter-spacing:1px}.mobile-brand span{color:#958185;font-size:10px;margin-left:4px;letter-spacing:1.4px}.topbar-right{gap:14px}.avatar{display:none}.sample-badge{font-size:10px}.demo-notice{padding:8px 20px;font-size:10px}.demo-notice>span{display:none}main{padding:25px 18px;max-width:580px}h1{font-size:30px}.page-heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:22px}.page-heading .actions{width:100%}.page-heading .actions .btn{flex:1}.subtitle{font-size:13px;line-height:1.6;max-width:320px}.eyebrow{font-size:9px}.overview{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:26px}.stat.hero{grid-column:1/-1;padding:20px 22px;min-height:130px}.hero-art{display:flex;right:25px;bottom:22px}.stat{padding:16px;border-radius:14px}.stat-label{font-size:11px;margin-bottom:10px}.stat-value{font-size:25px;letter-spacing:-.8px}.stat-value.word{font-size:21px}.stat-value small{font-size:10px;margin-left:3px}.stat.hero .stat-value{font-size:37px}.stat-note{font-size:10px;line-height:1.5}.section-heading{align-items:center;margin:17px 0 16px;flex-wrap:wrap}.section-heading h2{font-size:18px}.section-heading .hint{font-size:11px}.segmented{width:100%}.segmented button{flex:1;font-size:12px}.filter-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;margin:15px 0 10px;scrollbar-width:none}.chip{white-space:nowrap;padding:8px 13px}.tank-grid{gap:11px;grid-template-columns:1fr 1fr}.tank-card{padding:15px 13px;border-radius:14px}.tank-top{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:15px}.tank-name{font-size:14px}.product-tag{font-size:9px}.tank-content{gap:10px;margin-bottom:15px;align-items:center}.vessel{width:27px;height:60px;border-radius:7px 7px 5px 5px}.gallons{font-size:23px;letter-spacing:-.8px}.gallons small{display:block;font-size:10px;margin-top:4px}.tank-detail{font-size:9px}.tank-metrics{flex-direction:column;gap:6px;font-size:10px;padding-top:11px}.tank-metrics span{display:flex;justify-content:space-between;gap:5px}.attention{font-size:9px}.activity-row{padding:15px 13px;gap:11px}.activity-icon{height:34px;width:34px;border-radius:8px}.activity-icon svg{width:18px;height:18px}.activity-text strong{font-size:12px}.activity-text small{font-size:10px;line-height:1.5}.activity-value{font-size:13px}.page-footer{padding:0 20px 14px;font-size:9px;gap:10px}.page-footer span{font-size:8px}#mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fbf9f9;border-top:1px solid #e1d7d9;padding:9px 6px calc(9px + env(safe-area-inset-bottom));z-index:5;box-shadow:0 -4px 18px #381c2106}.mobile-link{text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#8f8083;font-size:10px;min-height:45px;border-radius:8px}.mobile-link.active{color:#432a2e;font-weight:700;background:#eee5e7}.mobile-link svg{width:21px;height:21px}.form-layout{gap:16px}.panel{padding:20px 16px;border-radius:14px}.panel-header{margin-bottom:22px}.panel-header h2{font-size:16px}.fields{gap:16px}.field.full-mobile{grid-column:1/-1}.allocation{padding:13px}.allocation-fields{grid-template-columns:1fr 100px;gap:10px}.allocation-fields.load-fields{grid-template-columns:1fr 100px}.load-fields .source-field{grid-column:1/-1;grid-row:1}.allocation-fields select{font-size:14px;padding:12px 8px}.allocation-fields input{padding:12px 8px}.form-summary{padding:21px;border-radius:14px}.form-summary .stat-value{font-size:30px;margin:10px 0}.form-summary .btn{min-height:53px}.truck-options{gap:10px}.truck-option{padding:15px 12px}.truck-option.selected{padding:14px 11px}.truck-option strong{font-size:15px}.truck-option small{font-size:10px}.aboard-row{grid-template-columns:60px 85px 1fr;gap:8px}.aboard-row input,.aboard-row select{font-size:14px;padding:11px 7px}.truck-bars{gap:4px}.truck-bar{padding:9px 2px}.truck-bar>b{font-size:11px}.truck-bar>small{font-size:8px}.reading-heading h2{font-size:25px}.reading-balance strong{font-size:21px}.reading-balance{font-size:12px;padding:15px}.reconcile-table{font-size:12px}.reconcile-table td,.reconcile-table th{padding:12px 4px}.reconcile-table th{font-size:9px;letter-spacing:0}.reconcile-table td small{font-size:9px}.reading-footer .btn{flex:1;padding:13px 12px}.under-panel{padding:26px 18px}.under-list{grid-template-columns:1fr 1fr;gap:10px}.under-item{padding:13px}.under-item strong{font-size:12px}.under-item span{font-size:11px}dialog{border-radius:20px;width:calc(100% - 22px);max-height:88dvh}.modal-head{padding:20px}.modal-head h2{font-size:20px}.modal-body{padding:20px}.modal-footer{padding:16px 20px 22px}.modal-footer .btn{flex:1}.success-panel{padding:30px 15px}.success-panel .actions{flex-direction:column}.success-panel h2{font-size:23px}#toast{left:50%;bottom:calc(88px + env(safe-area-inset-bottom));min-width:260px;text-align:center}.activity-tools{gap:8px}.activity-tools select{flex:1;min-width:0;width:auto;font-size:13px}.activity-tools .btn{padding:12px;font-size:12px}.soft-note{font-size:11px}.topbar-right{margin-left:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.site-tabs{display:flex;gap:10px;margin-bottom:23px}.site-tabs button{flex:1;min-height:46px;border:1px solid #dfdadb;background:white;border-radius:10px;font:inherit;cursor:pointer}.site-tabs button.active{background:#381f23;color:#fff;border-color:#381f23}.product-entry{border:1px solid #dfdadb;border-radius:14px;padding:19px;margin:20px 0}.product-fields{grid-template-columns:1.2fr 1fr 1fr}.dest-entry{border-top:1px solid #e8e3e4;padding-top:17px;margin-top:20px}.optional{margin-top:20px;border-top:1px solid #e8e3e4;padding-top:16px}.optional summary{cursor:pointer;font-size:13px;line-height:1.6}.optional[open] summary{margin-bottom:16px}.orders-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.orders-grid .panel{margin:0}.table-scroll{overflow-x:auto}.review-line small{display:block;font-size:12px;color:#706768;margin-top:6px}.field{min-width:0}.success-icon svg{width:40px;height:40px}.success-icon{color:#462b2f;margin:0 auto 20px}.text-button svg{width:16px;height:16px;vertical-align:middle}
.site-tabs small{display:block;font-size:10px;margin-top:3px;opacity:.7}.report-actions{display:flex;justify-content:space-between;margin-bottom:24px}.inventory-report{background:white;border:1px solid #dfdadb;border-radius:16px;padding:30px}.report-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.report-heading h1{font-size:30px}.report-demo{font-weight:800;font-size:11px;border:2px solid #947a42;padding:8px}.report-basis{font-size:13px;line-height:1.6;margin:15px 0}.inventory-report h2{margin:25px 0 12px;font-size:20px}.inventory-report table{border-collapse:collapse;width:100%;font-size:12px}.inventory-report th,.inventory-report td{padding:9px 10px;border-bottom:1px solid #e1dcdd;text-align:left}.inventory-report th{background:#efe9ea}.inventory-report .numeric{text-align:right;font-variant-numeric:tabular-nums}.inventory-report td small{display:block;font-size:10px;color:#615557}.inventory-report .report-total{font-weight:bold}.report-truck{break-inside:avoid}.report-truck .section-heading{margin:15px 0 8px;gap:12px}.report-truck .section-heading>span{font-size:11px}.truck-count-row{padding-bottom:14px}.report-reading-details{margin-top:25px}.report-reading-details summary{font-size:13px;font-weight:bold;cursor:pointer}
@media(max-width:760px){.inventory-report{padding:17px}.report-heading{display:block}.report-demo{display:inline-block;margin-top:10px}.inventory-report table{min-width:440px}.report-truck .section-heading{align-items:flex-start}.report-truck .section-heading .btn{min-height:40px}.page-heading .actions{flex-wrap:wrap}}
@media print{@page{size:letter portrait;margin:.45in}body{background:white!important;padding:0!important;color:#111!important;font-size:10pt}.sidebar,.topbar,.demo-notice,.page-footer,#mobile-nav,#toast,.no-print,dialog{display:none!important}.workspace{margin:0!important}main{max-width:none!important;margin:0!important;padding:0!important}.inventory-report{border:0;padding:0;border-radius:0}.inventory-report h1{font-size:20pt}.inventory-report h2{font-size:13pt;margin:16px 0 7px;break-after:avoid}.inventory-report table{font-size:9pt;min-width:0;width:100%}.inventory-report td,.inventory-report th{padding:5px;border-color:#aaa}.inventory-report tr{break-inside:avoid}.inventory-report thead{display:table-header-group}.table-scroll{overflow:visible}.report-demo{font-size:9pt;color:#111}.report-basis,.field-note{font-size:9pt!important;color:#333!important}.report-truck{break-inside:avoid}.report-reading-details{display:block}.report-reading-details>table{display:table}.report-reading-details summary{display:block}}
@media(max-width:760px){#mobile-nav{grid-template-columns:repeat(6,1fr)}.site-tabs{gap:5px}.site-tabs button{font-size:11px;padding:5px}.product-entry{padding:13px}.product-fields{grid-template-columns:1fr 1fr}.product-fields>.field:first-child{grid-column:1/-1}.dest-entry .fields{grid-template-columns:1fr}.orders-grid{grid-template-columns:1fr}.reconcile-table{min-width:420px}}
.cost-load{border-bottom:1px solid var(--line);padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cost-load:last-child{border:0}.cost-load p{font-size:12px;color:var(--muted);margin-top:5px}.cost-load>small{flex-basis:100%;font-size:11px;color:var(--muted)}.cost-load .actions{flex-wrap:wrap}.cost-load .btn{font-size:12px;min-height:42px}.cost-product h3{font-size:18px;margin-bottom:7px}.cost-product>.fields{margin-top:16px}.cost-total{font-size:19px;font-weight:650;color:var(--ink);margin-bottom:16px}#cost-invoice-form>.fields{margin-top:20px}#cost-invoice-form .check-label{margin-top:16px}dialog:has(#cost-invoice-form){width:min(820px,calc(100% - 30px))}.inventory-report .text-button{padding:6px 0;min-height:30px;font-size:11px;display:block;border:0;background:transparent}.report-actions{flex-wrap:wrap;gap:10px}
@media(max-width:760px){#cost-invoice-form .fields{grid-template-columns:1fr}.cost-load .actions{width:100%}.cost-load .actions .btn{flex:1}.cost-product{padding:14px}.out-row .fields{grid-template-columns:1fr}.out-row .field{grid-column:1/-1}.truck-bars{overflow-wrap:anywhere}}

.truck-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:900px}
.truck-action{display:flex;align-items:center;gap:20px;min-height:180px;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);text-decoration:none;transition:border-color .15s,background .15s}
.truck-action:hover{border-color:#9d8387;background:#fbf6f7}
.truck-action-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:64px;height:64px;border-radius:16px;background:#ece2e4;color:var(--accent)}
.truck-action-icon svg{width:34px;height:34px}
.truck-action-copy{flex:1;min-width:0}
.truck-action-copy strong{display:block;font-size:28px;font-weight:650;letter-spacing:-.6px;margin-bottom:8px}
.truck-action-copy>span{display:block;font-size:14px;line-height:1.6;color:var(--muted)}
.truck-action>svg{color:#886a6f}
@media(max-width:760px){.truck-actions{grid-template-columns:1fr;gap:14px}.truck-action{min-height:148px;padding:22px 20px;gap:17px}.truck-action-icon{width:56px;height:56px;border-radius:14px}.truck-action-icon svg{width:30px;height:30px}.truck-action-copy strong{font-size:27px}.truck-action-copy>span{font-size:13px}}
/* Onboard stock stays visible with the truck actions. */
.truck-actions{max-width:none;gap:16px}.truck-action{min-height:118px;padding:20px;gap:16px}.truck-action-icon{width:50px;height:50px;border-radius:12px}.truck-action-icon svg{width:28px;height:28px}.truck-action-copy strong{font-size:24px;margin-bottom:5px}
.onboard-section{margin-top:30px}.onboard-heading{margin-bottom:18px}.onboard-heading p{font-size:13px;color:var(--muted);margin-top:7px}.onboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.onboard-truck{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.onboard-truck-heading{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f0e8e9}.onboard-truck-heading h3{font-size:20px}.onboard-total{text-align:right;flex-shrink:0}.onboard-total>span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.onboard-total strong{font-size:24px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.onboard-total small{font-size:12px;font-weight:400;letter-spacing:0}.onboard-table{border-collapse:collapse;width:100%;font-size:14px}.onboard-table th,.onboard-table td{padding:15px 20px;border-bottom:1px solid var(--line);text-align:left}.onboard-table thead th{font-size:11px;color:var(--muted);font-weight:500;background:#faf8f8}.onboard-table th:first-child{width:24%}.onboard-table th:last-child,.onboard-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.onboard-table td:last-child{font-size:18px;font-weight:650;white-space:nowrap}.onboard-empty td{color:var(--muted)}.onboard-truck-footer{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.onboard-truck-footer p{font-size:11px;color:var(--muted)}.onboard-truck-footer .btn{font-size:12px;min-height:42px;padding:10px 14px}.onboard-note{margin-top:14px}
@media(max-width:1050px){.onboard-grid{grid-template-columns:1fr}}
@media(max-width:760px){.truck-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.truck-action{min-height:76px;padding:15px 12px;gap:8px}.truck-action-icon{width:30px;height:30px;background:none}.truck-action-icon svg{width:26px;height:26px}.truck-action-copy strong{font-size:20px;margin:0}.truck-action-copy>span,.truck-action>svg{display:none}.onboard-section{margin-top:24px}.onboard-truck-heading{padding:17px}.onboard-table th,.onboard-table td{padding:14px 12px}.onboard-table th:first-child{width:24%}.onboard-truck-footer{padding:15px 17px}.onboard-total strong{font-size:23px}.onboard-table{font-size:13px}}
/* Respect hidden controls even when component classes set display. */
[hidden] { display: none !important; }
.phone-only,.phone-inline{display:none!important}
.brand-mark{font-size:30px;letter-spacing:-3px}
@media(max-width:760px){
  .desktop-only{display:none!important}.phone-only{display:block!important}.phone-inline{display:inline!important}
  #mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mobile-link{font-size:12px;gap:5px}.mobile-link svg{width:25px;height:25px}
  #app-version{display:none}.page-heading{margin-bottom:20px}.page-heading .subtitle{font-size:13px}
  .demo-notice>span{display:inline!important}
  .phone-tanks-toolbar{display:flex;align-items:flex-end;gap:10px;margin-bottom:22px}.phone-tanks-toolbar .field{flex:1}.phone-tanks-toolbar select{font-size:16px;min-height:52px}.phone-tanks-toolbar .btn{min-height:52px}
  .phone-site-section{margin:0 0 24px}.phone-site-section h2{font-size:19px;margin:0 0 11px}.phone-tank-list{display:grid;gap:10px}
  .phone-tank-row{display:block;width:100%;text-align:left;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:15px;padding:17px;min-height:110px}
  .phone-tank-line{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.phone-tank-line>span:first-child{min-width:0}.phone-tank-line strong{font-size:17px;display:block;line-height:1.3}.phone-tank-line small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
  .phone-tank-quantity{text-align:right;flex-shrink:0}.phone-tank-quantity strong{font-size:26px;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
  .phone-tank-source,.phone-reading-time,.phone-book-quantity{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:8px}.phone-reading-time{font-size:10px;margin-top:2px}.phone-book-quantity{border-top:1px solid var(--line);padding-top:8px;margin-top:10px;color:var(--ink)}
  .phone-tank-source.reading-attention{color:#95651f}
  .phone-tanks-toolbar h2{flex:1;font-size:18px}.phone-locations{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 23px}.phone-location{border:1px solid var(--line);border-radius:10px;min-height:44px;padding:10px 13px;background:var(--paper);color:var(--ink);font-size:13px}.phone-location.selected{background:var(--accent);border-color:var(--accent);color:white}
  .phone-reading-picker{border:0;padding:0;margin:0;min-width:0}.phone-reading-picker legend{font-size:14px;font-weight:650;margin-bottom:12px}.phone-tank-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.phone-tank-pick{position:relative;min-height:62px;border:1px solid var(--line);border-radius:12px;background:#f8f4f5;color:var(--ink);padding:8px}.phone-tank-pick small{display:block;font-size:10px}.phone-tank-pick strong{display:block;font-size:23px;line-height:1.3}.phone-tank-pick.selected{background:var(--accent);color:white;border-color:var(--accent)}.phone-tank-saved{position:absolute;right:6px;top:5px;font-size:12px;color:#78474f}.phone-tank-pick.selected .phone-tank-saved{color:var(--lime)}
  .phone-height-control{margin:18px 0}.height-wheels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:13px}.height-wheel-label{display:block;text-align:center;font-size:13px;font-weight:650;margin-bottom:8px}.height-wheel-frame{position:relative;height:132px;background:#f6f2f3;border-radius:14px;overflow:hidden}.height-wheel{height:132px;padding:44px 0;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}.height-wheel::-webkit-scrollbar{display:none}.height-wheel-option{display:block;width:100%;height:44px;min-height:44px;border:0;background:transparent;color:#a2989a;font-size:27px;line-height:44px;padding:0;scroll-snap-align:center;touch-action:pan-y}.height-wheel-option[aria-selected=true]{color:var(--ink);font-weight:650}.height-wheel-window{position:absolute;pointer-events:none;top:44px;left:5px;right:5px;height:44px;border-top:1px solid #c1b0b3;border-bottom:1px solid #c1b0b3;background:rgba(179,34,50,.07)}.height-fractions{display:flex;align-items:center;gap:6px;margin-top:14px}.height-fractions>span{font-size:11px;color:var(--muted);margin-right:auto}.height-fraction{min-width:43px;min-height:44px;border:1px solid var(--line);border-radius:9px;background:white;font-size:20px;padding:5px 8px}.height-fraction:first-of-type{font-size:12px}.height-fraction[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.height-wheel-result{text-align:center;font-size:20px;font-weight:650;margin-top:13px}
  #main .manual-reading-table{width:100%;min-width:0}.manual-reading-table th,.manual-reading-table td{padding:12px 3px!important}.manual-reading-table th:nth-child(4),.manual-reading-table td:nth-child(4){display:none}.manual-reading-table td{font-size:12px}.manual-reading-table .btn{min-height:44px;padding:10px 12px;font-size:12px}
  .reading-separation{padding:0;background:none;font-size:11px;line-height:1.5;text-align:left;margin:0}
  #reading-form{margin-top:12px!important;padding:16px}#reading-form .reading-heading{margin-top:12px!important}#reading-form .reading-heading h2{font-size:21px}#reading-form .phone-tank-pick{min-height:56px;padding:6px}.phone-tank-buttons{gap:6px}
  #reading-form .phone-height-control{margin:12px 0}#reading-form .phone-height-control>.field-note{display:none}#reading-form .height-wheels{margin-top:0}#reading-form .height-fractions{margin-top:10px}#reading-form .height-wheel-result{margin-top:8px}
  #reading-form #chart-result{padding:13px}#reading-form .optional{margin-top:12px;padding-top:10px}#reading-form>.btn.primary{margin-top:8px;min-height:50px}
}
/* Measured inventory uses the existing tank cards on every site page. */
.page-heading{flex-wrap:wrap}.page-heading>div{min-width:0}.site-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.site-tabs button{min-width:0;padding:10px 8px}.site-tabs small{white-space:normal}.tank-top{flex-wrap:wrap}.tank-content>div{min-width:0}.tank-metrics{flex-wrap:wrap}.reading-time{font-size:10px;margin-top:6px}.reading-source{margin-bottom:10px}.reading-attention{color:#95651f}#tank-inventory-view .overview{grid-template-columns:repeat(3,minmax(0,1fr))}#tank-inventory-view .stat-value{font-size:30px}#tank-inventory-view .stat-value small{display:block;margin:7px 0 0;line-height:1.4}#tank-inventory-view .section-heading{flex-wrap:wrap}#tank-inventory-view .tank-grid{align-items:stretch}#tank-inventory-view .tank-content{min-height:102px}#sensor-panel .section-heading{flex-wrap:wrap}
@media(max-width:1100px){#tank-inventory-view .overview{grid-template-columns:repeat(2,minmax(0,1fr))}#tank-inventory-view .stat.hero{grid-column:1/-1}}
@media(max-width:560px){.site-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.site-tabs button{min-height:56px}#tank-inventory-view .tank-grid{grid-template-columns:1fr}#tank-inventory-view .tank-content{min-height:90px}#tank-inventory-view .stat{padding:18px}#tank-inventory-view .stat-value{font-size:29px}}
