.fl-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.fl-tabs a{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--line,#e5e5ea);font-weight:600;font-size:14px;color:inherit;text-decoration:none}.fl-tabs a.on{background:#111;color:#fff;border-color:#111}
.fl-board{display:grid;grid-template-columns:repeat(6,minmax(190px,1fr));gap:10px;overflow-x:auto;padding-bottom:6px}
.fl-col{background:#f4f4f6;border-radius:14px;padding:10px;min-height:120px}.fl-col h3{font-size:13px;margin:0 0 8px;display:flex;justify-content:space-between;align-items:center}
.fl-card{background:#fff;border-radius:10px;padding:9px 10px;margin-bottom:8px;box-shadow:0 1px 2px rgba(0,0,0,.06);cursor:pointer;display:block;color:inherit;text-decoration:none;border-left:4px solid #ccc}
.fl-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.12)}.fl-card .n{font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:700}
.fl-s-pending{border-left-color:#9a9aa6}.fl-s-assigned{border-left-color:#5b7cfa}.fl-s-loaded{border-left-color:#8b5cf6}.fl-s-out{border-left-color:#f59e0b}.fl-s-delivered{border-left-color:#16a34a}.fl-s-failed{border-left-color:#dc2626}
.fl-pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;color:#fff;background:#9a9aa6}.fl-pill.assigned{background:#5b7cfa}.fl-pill.loaded{background:#8b5cf6}.fl-pill.out{background:#f59e0b}.fl-pill.delivered{background:#16a34a}.fl-pill.failed{background:#dc2626}
.fl-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;align-items:center}.fl-filters input,.fl-filters select{width:auto;min-width:150px;margin:0}
.fl-map{height:560px;border-radius:14px;overflow:hidden;border:1px solid var(--line,#e5e5ea)}.fl-mapwrap{display:grid;grid-template-columns:1fr 320px;gap:12px}
.fl-prog{height:8px;background:#ececf0;border-radius:99px;overflow:hidden;margin:6px 0}.fl-prog i{display:block;height:100%;background:linear-gradient(90deg,#16a34a,#22c55e)}
.fl-stop{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #f0f0f3}.fl-stop .num{width:26px;height:26px;border-radius:50%;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex:none}
.fl-ev{border-left:2px solid #e5e5ea;padding:0 0 12px 14px;position:relative}.fl-ev:before{content:"";position:absolute;left:-6px;top:3px;width:10px;height:10px;border-radius:50%;background:#9a9aa6}
.fl-ev.delivered:before{background:#16a34a}.fl-ev.failed:before{background:#dc2626}.fl-ev.out:before{background:#f59e0b}.fl-ev.assigned:before{background:#5b7cfa}.fl-ev.loaded:before{background:#8b5cf6}
.fl-pod img{max-width:100%;max-height:180px;border:1px solid #eee;border-radius:10px;background:#fff}
.veh-ic{background:#111;color:#fff;border-radius:8px;padding:3px 7px;font:700 11px/1.2 system-ui;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.35);border:2px solid #f59e0b}
.stop-ic{width:22px;height:22px;border-radius:50%;color:#fff;font:700 11px/22px system-ui;text-align:center;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.4)}
.fl-chk{display:flex;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #f2f2f4;font-size:14px}.fl-chk input{width:auto;margin:0}
.fl-list{max-height:320px;overflow:auto;border:1px solid #eee;border-radius:10px;padding:0 10px;margin:8px 0}
@media(max-width:900px){.fl-mapwrap{grid-template-columns:1fr}.fl-map{height:380px}.fl-board{grid-template-columns:repeat(6,82vw);scroll-snap-type:x mandatory}.fl-col{scroll-snap-align:start}}
/* driver + tracking standalone */
body.drv{background:#0f0f12;color:#fff;margin:0;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif}
.drv-top{position:sticky;top:0;z-index:5;background:#0f0f12;padding:14px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #26262c}.drv-top img{height:30px}
.drv-wrap{padding:14px 14px 90px;max-width:560px;margin:0 auto}
.drv-card{background:#fff;color:#111;border-radius:16px;padding:14px;margin-bottom:12px}
.drv-card h3{margin:0 0 4px;font-size:17px}.drv-mut{color:#71717a;font-size:13px}
.drv-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.drv-btns .wide{grid-column:1/-1}
.dbtn{border:0;border-radius:12px;padding:13px 10px;font-weight:700;font-size:15px;cursor:pointer;background:#ececf0;color:#111;text-align:center;text-decoration:none;display:block}
.dbtn.go{background:#16a34a;color:#fff}.dbtn.warn{background:#f59e0b;color:#111}.dbtn.bad{background:#dc2626;color:#fff}.dbtn.dark{background:#111;color:#fff}.dbtn.red{background:#b3121b;color:#fff}
.drv-in{width:100%;box-sizing:border-box;padding:13px;border-radius:12px;border:1px solid #d4d4d8;font-size:16px;margin:4px 0 10px}
.sig{width:100%;height:170px;border:2px dashed #c4c4cc;border-radius:12px;touch-action:none;background:#fafafa;display:block}
.drv-sheet{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:20;display:flex;align-items:flex-end;justify-content:center}.drv-sheet>div{background:#fff;color:#111;width:100%;max-width:560px;border-radius:18px 18px 0 0;padding:18px;max-height:92vh;overflow:auto;box-sizing:border-box}
.gps{font-size:12px;padding:4px 10px;border-radius:99px;background:#26262c}.gps.on{background:#14532d;color:#bbf7d0}
.drv-toast{position:fixed;left:50%;top:76px;transform:translateX(-50%);pointer-events:none;max-width:86vw;text-align:center;background:#111;color:#fff;padding:10px 16px;border-radius:12px;z-index:30;border:1px solid #333}
.trk-map{height:300px;border-radius:14px;overflow:hidden;margin-top:10px}
.trk-eta{font-size:30px;font-weight:800}
/* fuel */
.fu-sub{margin-top:4px}.fu-chips{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 12px}.fu-chips a{padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #e6e6ea;font-size:13px;color:inherit;text-decoration:none}.fu-chips a.on{background:#111;color:#fff;border-color:#111}.fu-chips b{opacity:.6;margin-left:3px}
.fu-list{display:flex;flex-direction:column;gap:10px}.fu-row{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.fu-row.flag{border-left:4px solid #dc2626}.fu-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.fu-act{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.fu-flag{font-size:12px;color:#b91c1c;background:#fef2f2;border-radius:6px;padding:3px 8px;align-self:flex-start}
.fu-pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.fu-pill.pending{background:#fef3c7;color:#92400e}.fu-pill.approved{background:#dbeafe;color:#1e40af}.fu-pill.rejected{background:#fee2e2;color:#991b1b}.fu-pill.filled{background:#dcfce7;color:#166534}
.fu-tw{overflow-x:auto;margin-bottom:14px}.fu-tw table{min-width:640px}.fu-img{max-width:220px;max-height:260px;border-radius:8px;border:1px solid #eee}.mono{font-family:ui-monospace,monospace}
@media(max-width:640px){.fu-row{flex-direction:column}.fu-act{justify-content:flex-start}}
.drv-fuel{border-left:4px solid #f59e0b}.drv-st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700}.drv-st.pending{background:#fef3c7;color:#92400e}.drv-st.approved{background:#dbeafe;color:#1e40af}.drv-st.rejected{background:#fee2e2;color:#991b1b}.drv-st.filled{background:#dcfce7;color:#166534}
.drv-seg{display:flex;gap:6px;margin:4px 0}.drv-seg label{flex:1;display:flex;align-items:center;gap:6px;justify-content:center;border:1px solid #ddd;border-radius:10px;padding:10px;margin:0}
