:root{--ink:#21352e;--muted:#7c8780;--green:#163c31;--deep:#102b25;--lime:#d3f270;--paper:#f5f6f3;--line:#e8ece5;--white:#fff;--red:#a64e42;--amber:#9a6c20;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,tr:focus-visible{outline:3px solid #9abf4f;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.2px;font-weight:650;line-height:1.2}h2{font-size:17px;font-weight:650;letter-spacing:-.35px}h3{font-size:14px;font-weight:650}small{font-size:11px}svg{flex-shrink:0;vertical-align:middle}button{border:0}button.primary,button.secondary,button.danger,a.secondary,.hero-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:7px;padding:11px 15px;font-size:12px;font-weight:600;min-height:40px;text-decoration:none;white-space:nowrap}.primary{background:var(--green);color:white;border:1px solid var(--green)!important}.primary:hover{background:#245443}.secondary{background:white;color:var(--ink);border:1px solid #dce3d8!important}.secondary:hover{background:#f0f4eb}.danger{background:#fff4f0;color:var(--red);border:1px solid #efdad3!important}.text-button{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-weight:600;font-size:12px;background:none;padding:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;min-width:32px;border-radius:6px;background:transparent;color:inherit}.icon-button:hover{background:#ffffff18}.wide{width:100%}.initial{padding:15vh;text-align:center}.shell{display:flex;min-height:100vh}.sidebar{width:246px;min-width:246px;background:var(--deep);color:#bdccc0;position:fixed;inset:0 auto 0 0;padding:32px 20px 17px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:10px;align-items:center;color:white;text-decoration:none;width:max-content}.brand img{width:40px;height:40px;border-radius:11px}.brand>div{font-size:27px;letter-spacing:-1.1px;font-weight:750;line-height:1}.brand span{display:block;font-size:9px;letter-spacing:3.3px;font-weight:500;margin-top:7px}.workspace-pill{display:flex;align-items:center;gap:8px;border:1px solid #315046;border-radius:6px;padding:10px;font-size:10px;margin:34px 0 28px;color:#deeadf}.workspace-pill small{margin-left:auto;color:#839c90}.live-dot{display:inline-block;background:#badf75;border-radius:50%;width:6px;height:6px;flex-shrink:0}.nav-label{font-size:9px;letter-spacing:1.7px;color:#738f80;padding-left:12px;margin-bottom:10px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;background:none;color:#aabfb2;font-size:12px;padding:12px 13px;margin-bottom:5px;border-radius:6px;text-align:left;min-height:42px}.nav-item:hover{background:#1e3e33}.nav-item.active{background:var(--lime);color:#183428;font-weight:650}.nav-item b{margin-left:auto;border-radius:4px;font-size:10px;background:#cbe764;color:#183428;padding:1px 5px}.sidebar-bottom{margin-top:auto;padding-top:30px}.fleet{border:1px solid #2c483c;border-radius:8px;padding:15px 12px;margin-bottom:24px;background:linear-gradient(135deg,#1d3e32,#143027)}.fleet>span{font-size:7px;letter-spacing:.7px;display:flex;align-items:center;gap:6px;color:#a9c38f;margin-bottom:12px}.fleet strong{display:block;font-size:12px;color:#e2e9dd}.fleet p{font-size:10px;margin-top:5px;color:#87a392}.profile{border-top:1px solid #294439;padding-top:17px;display:flex;align-items:center;gap:9px}.avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;color:#dbd7be;background:#586651;font-weight:600}.profile strong{display:block;font-size:12px;color:#e1e8df}.profile small{display:block;font-size:9px;color:#96ac9e}.profile button{margin-left:auto}.main{margin-left:246px;width:calc(100% - 246px);min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{font-size:11px;color:#949b94;display:flex;gap:12px}.breadcrumb strong{font-weight:500;color:#425449}.topbar-right{display:flex;align-items:center;gap:20px}.demo-label{display:inline-flex;background:#eff2e8;color:#607245;letter-spacing:1.2px;font-size:8px;font-weight:700;border:1px solid #dde5d3;border-radius:4px;padding:5px 7px}.connection{font-size:10px;color:#6f7e71;display:flex;align-items:center;gap:6px}.connection i{width:5px;height:5px;border-radius:50%;background:#648f55}.connection.offline{color:#ab6b13}.connection.offline i{background:#ca8929}.content{padding:32px 36px 18px;max-width:1800px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:25px}.eyebrow{font-size:8px;letter-spacing:1.5px;color:#77877b;font-weight:700}.eyebrow span{margin:0 9px}.page-heading .eyebrow{margin-bottom:9px}.page-heading p{color:#7c877f;font-size:12px;margin-top:10px}.filters{display:flex;align-items:center;justify-content:space-between;padding:12px 0 18px;gap:12px}.filter-left{display:flex;align-items:center;gap:10px;color:#758271}.filters select,.filters input{border:1px solid #dfe5dc;background:#fff;color:#4b5b4d;border-radius:5px;padding:7px 9px;max-width:180px;font-size:10px;height:33px}.filter-left>svg{margin-right:3px}.subtle{color:var(--muted);font-size:10px;display:inline-flex;align-items:center;gap:5px}.hero-band{position:relative;display:flex;align-items:center;gap:26px;overflow:hidden;border-radius:10px;background:#eaf0df;min-height:147px;padding:26px 28px;margin-bottom:20px;border:1px solid #e1e8d4}.hero-band .eyebrow{color:#76835b;font-size:8px}.hero-band h2{font-size:23px;letter-spacing:-.8px;color:#294631;margin-top:8px}.hero-band p{font-size:11px;color:#7b886e;margin-top:8px}.hero-band p span{margin:0 10px}.hero-button{background:white;color:#314c35;border:1px solid #dce4d1;margin-left:auto;margin-right:150px;z-index:1}.route-art{position:absolute;right:-22px;top:-20px;width:195px;height:210px;transform:rotate(-10deg)}.route-parcel{position:absolute;top:73px;left:40px;width:85px;height:85px;border:1px solid #bccd9d;background:#d3e2ba;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#698b4d;transform:rotate(8deg);box-shadow:9px 10px 0 #dce6cd}.route-line{position:absolute;width:180px;height:230px;border:1.5px dashed #b6c99b;border-radius:95px;top:-22px;left:23px;transform:rotate(28deg)}.route-dot{width:18px;height:18px;position:absolute;left:12px;top:23px;background:#bdce9c;border:5px solid #e1e9d3;border-radius:50%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat{border:1px solid var(--line);background:white;border-radius:9px;padding:18px 19px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#768174;font-size:10px;gap:6px}.stat-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;background:#f4f6ef;border-radius:7px;color:#839077}.stat>strong{display:block;margin-top:12px;font-size:29px;letter-spacing:-1.2px;line-height:1.3;font-weight:630;white-space:nowrap}.stat p{font-size:9px;color:#91a08d;margin-top:7px}.stat.accent{background:#f3f7e9;border-color:#e2eacd}.stat.accent .stat-icon{background:#e8f0d6}.overview-grid{display:grid;grid-template-columns:minmax(0,2.9fr) minmax(245px,1fr);gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-head{min-height:73px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 21px;border-bottom:1px solid #edf0e9}.panel-head h2{font-size:14px}.panel-head p{font-size:10px;color:#8a9488;margin-top:4px}.panel-body{padding:24px}.panel-body p{font-size:12px;color:#75816f;margin-top:10px;line-height:1.8}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;font-weight:500;color:#929b91;background:#fbfcf9;white-space:nowrap;padding:12px 16px;border-bottom:1px solid #edf0e9}td{padding:16px;font-size:10px;border-bottom:1px solid #edf0e9;white-space:nowrap;color:#596754}tr:last-child td{border-bottom:0}td strong{font-size:10px;color:#3b4c3e;font-weight:600}td small{display:block;font-size:8px;color:#9aa294;margin-top:4px}.table-wrap tr[data-action]{cursor:pointer}.table-wrap tr[data-action]:hover{background:#f9fbf5}.seller-name{display:inline-flex;align-items:center;gap:7px;font-size:9px}.seller-mark{width:20px;height:20px;border-radius:5px;font-style:normal;background:#edf1e4;color:#73835b;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:9px}.seller-mark.ama{background:#f2ebe3;color:#a28a67}.seller-mark.kofi{background:#eaf0f2;color:#6f8c97}.money-cell{text-align:right;color:#40543e}.badge{font-size:8px;padding:4px 6px;border-radius:4px;display:inline-flex;gap:4px;align-items:center;background:#f0f1ed;color:#7e8779;line-height:1.4;white-space:nowrap}.badge>span{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.dispatched,.badge.station_sent,.badge.pending{background:#edf3f8;color:#6990ac}.badge.delivered,.badge.received,.badge.paid,.badge.resolved,.badge.received_ok{background:#edf4e6;color:#77935f}.badge.ready{background:#e9f2df;color:#709050}.badge.assigned,.badge.submitted,.badge.awaiting_quote,.badge.awaiting_payment{background:#fbf3e4;color:#b29459}.badge.failed,.badge.conflict,.badge.review,.badge.refund_needed,.badge.issue_open{background:#faeae5;color:#bb7a64}.badge.cancelled{background:#eeeae9;color:#8d7c77}.count{font-size:9px;padding:3px 6px;background:#f3f5ed;border-radius:4px;color:#829076}.attention .panel-head{border-bottom:0;padding-bottom:8px}.attention-row{display:flex;align-items:center;width:100%;gap:10px;padding:16px 17px;background:none;text-align:left}.attention-row:hover{background:#fafbf7}.attention-icon{width:31px;height:31px;border-radius:7px;display:flex;align-items:center;justify-content:center}.amber{background:#fbf4e9;color:#b49a60}.blue{background:#edf2f5;color:#82a0b4}.rose{background:#f8eeea;color:#b99182}.attention-row div{min-width:0}.attention-row strong{font-size:10px;color:#52614b;display:block}.attention-row small{display:block;font-size:8px;margin-top:4px;color:#9ba394}.attention-row>b{margin-left:auto;font-size:12px;color:#58654f}.attention-row>svg{color:#aab3a3}.attention-note{border:1px solid #edf0e7;margin:16px;border-radius:6px;background:#f9faf6;padding:15px}.attention-note .eyebrow{font-size:7px;letter-spacing:.7px}.attention-note p{font-size:10px;color:#8b9782;line-height:1.7;margin-top:7px}.seller-dots{display:flex;align-items:center;margin-top:14px}.seller-dots>span{border:2px solid #f9faf6;display:inline-flex;width:25px;height:25px;border-radius:50%;background:#e3eace;color:#7c9065;margin-left:-4px;align-items:center;justify-content:center;font-size:8px}.seller-dots>span:nth-child(2){background:#f0e6d5;color:#ad9874}.seller-dots>span:nth-child(3){background:#e0eaf0;color:#809dab}.seller-dots small{font-size:8px;color:#8f9a85;margin-left:7px}.bottom-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:20px;margin-top:20px}.bottom-grid .panel-head{border:0;min-height:60px;padding-bottom:8px}.pipeline{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;padding:8px 22px 22px}.pipeline span{font-size:22px;font-weight:600;letter-spacing:-.6px}.pipeline small{font-size:8px;color:#8c9784;display:block;margin:5px 0 12px}.pipeline-track{height:4px;background:#f1f3ec;border-radius:3px;overflow:hidden}.pipeline-track i{width:65%;height:100%;display:block;background:#b7c99c}.pipeline-track i[data-count="0"]{width:0}.pipeline-track .stage-failed{background:#d7b09d}.pipeline-track .stage-dispatched{background:#a5bac8}.fee-summary{display:flex;align-items:center;justify-content:space-between;padding:26px;background:#f8faf3}.fee-summary .eyebrow{font-size:7px;letter-spacing:.7px}.fee-summary h2{font-size:27px;margin-top:9px;font-weight:600;letter-spacing:-1px}.fee-summary p{font-size:8px;color:#8e9b83;margin-top:9px}.fee-icon{color:#98ad7c;border:1px solid #e4ecd5;background:#f1f6e8;padding:13px;border-radius:12px}.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a0a99a;font-size:8px;padding-top:27px}.footer span:first-child{display:flex;align-items:center;gap:6px}.footer b{font-weight:400;margin:0 7px}.tabs{display:flex;gap:15px;flex-wrap:wrap}.tabs button{font-size:10px;color:#9aa18f;background:none;padding:9px 0}.tabs button.active{color:#314c2c;border-bottom:2px solid #a5bf7e;font-weight:600}.search{display:flex;align-items:center;gap:7px;color:#9aa18f;border:1px solid #e5e9df;border-radius:6px;padding:6px 9px}.search input{border:0;width:135px;outline:none;font-size:10px}.notice{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #e3e8d9;border-radius:7px;background:#f0f4e8;color:#74855d;font-size:11px;line-height:1.7;margin-bottom:20px}.notice svg{margin-top:2px}.notice.warn{background:#fff7e9;border-color:#efdfc4;color:#a08350}.notice ul{margin:6px 0;padding-left:17px}.notice p{margin:6px 0}.kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.kanban-col{background:#edf0e9;border-radius:9px;padding:14px;min-height:330px}.kanban-col>h2{display:flex;justify-content:space-between;font-size:11px;margin-bottom:16px;color:#6f7e61}.kanban-col>h2 span{font-size:9px;background:#dfe6d5;border-radius:4px;padding:1px 5px}.dispatch-card{background:white;width:100%;border:1px solid #e3e8db;border-radius:8px;padding:15px;text-align:left;margin-bottom:12px;color:var(--ink)}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}.seller-tag{font-size:9px;border-radius:4px;padding:4px 6px;background:#f2f4ec;color:#7c8b6e;display:inline-flex}.card-top>small{font-size:7px;color:#a1a893;letter-spacing:.7px}.dispatch-card h3{font-size:13px;margin-bottom:8px}.dispatch-card p{display:flex;gap:5px;font-size:10px;color:#98a088}.card-line{display:flex;justify-content:space-between;font-size:10px;padding:15px 0 12px;color:#a0a790}.card-line strong{color:#526748}.card-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#93a181;border-top:1px solid #f0f2ea;padding-top:10px;gap:7px}.kanban-empty{font-size:10px;text-align:center;border:1px dashed #d5ddc9;border-radius:7px;padding:20px;color:#9ca88c}.low-stock{background:#fbefdd;color:#b39655;padding:5px 7px;border-radius:4px}.section-gap{margin-top:22px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-top:1px solid var(--line);font-size:12px}.settings-row>span{font-size:10px;color:#8a9681}.settings-row small{display:block;color:#8a9681;margin-top:5px}.empty{text-align:center;padding:45px 20px;color:#a4b295}.empty>svg{margin-bottom:15px}.empty h3{font-size:14px;color:#748667}.empty p{margin-top:8px;font-size:11px;color:#9ba88e}.queue-row{padding:20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:15px}.queue-row>div{flex:1;min-width:0}.queue-row p{font-size:11px;color:#829172;margin:7px 0}.queue-row small{font-size:9px;color:#a1ad93}.button-row{display:flex;gap:7px}.pending-text{color:#b08238!important}.offline-banner,.queue-banner{padding:13px 36px;background:#fff0cf;color:#96722f;font-size:11px;display:flex;align-items:center;gap:10px}.queue-banner{background:#e7eef4;color:#708aa0}.rider-summary{display:flex;gap:20px;margin-bottom:20px;background:#eaf0df;padding:22px;border-radius:8px;color:#819967}.rider-summary>span{display:flex;align-items:center;gap:10px;font-size:11px}.rider-summary strong{font-size:23px;color:#315434;letter-spacing:-.6px}.rider-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.rider-card{background:white;border:1px solid var(--line);border-radius:10px;padding:22px}.rider-card h2{font-size:21px}.rider-card .address{font-size:13px;color:#657b55;margin:9px 0}.rider-card>small{font-size:11px;color:#9da98e}.rider-items{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:16px 0}.rider-items div{display:flex;justify-content:space-between;font-size:12px}.rider-due{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;color:#859773;font-size:11px}.rider-due strong{color:#315434;font-size:24px;letter-spacing:-.6px}.rider-actions{display:flex;gap:8px;flex-wrap:wrap}.rider-actions .primary{margin-left:auto}.map-note{display:block;margin-top:12px;line-height:1.5}.overlay-backdrop{position:fixed;inset:0;background:#10271e60;z-index:30;backdrop-filter:blur(2px)}.drawer{position:fixed;right:0;top:0;bottom:0;width:550px;max-width:100%;background:white;z-index:31;box-shadow:-10px 0 50px #15281a1a;display:flex;flex-direction:column}.drawer-head{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding:23px 25px;background:#fff}.drawer-head h2{font-size:23px;margin-top:5px}.drawer-head p{font-size:11px;margin-top:7px;color:#89967c}.drawer-body{padding:24px 25px 45px;overflow:auto;flex:1}.drawer-body h3{margin:23px 0 12px;font-size:12px}.detail-status{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.detail-amount{padding:22px;background:#edf3e4;border-radius:8px;display:flex;flex-direction:column;gap:5px;color:#7c9167;margin-bottom:20px}.detail-amount>span{font-size:10px}.detail-amount strong{font-size:32px;font-weight:600;letter-spacing:-1px;color:#2f4f2c}.detail-amount small{font-size:10px}.drawer-body dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;margin:0;font-size:11px}.drawer-body dt{color:#96a18c}.drawer-body dd{margin:0;color:#52674a;overflow-wrap:anywhere}.drawer-body dd small{display:block;font-size:9px;color:#97a28c;margin-top:4px}.map-link{margin-top:17px}.help{font-size:10px;color:#9aa68c;line-height:1.7;margin-top:9px}.items-list{border:1px solid var(--line);border-radius:7px}.items-list>div{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;gap:10px;border-bottom:1px solid var(--line);font-size:12px}.items-list>div:last-child{border:0}.items-list small{display:block;color:#9ca88e;font-size:9px;margin-top:5px}.action-area{border-top:1px solid var(--line);margin-top:25px}.action-grid{display:flex;gap:8px;flex-wrap:wrap}.action-grid button{font-size:10px;padding:9px 12px}.timeline{padding-left:8px;border-left:1px solid #dde7d0;margin:18px 0 0 6px}.timeline>div{position:relative;padding:0 0 19px 14px}.timeline span{position:absolute;left:-12px;top:4px;width:7px;height:7px;background:#becfa8;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #c6d4b4}.timeline strong{font-size:10px;color:#60764e;display:block;font-weight:500}.timeline small{display:block;margin-top:4px;font-size:9px;color:#a4af94}.record{border:1px solid var(--line);padding:12px;border-radius:5px;margin-bottom:8px}.record strong{font-size:11px}.record small{display:block;font-size:10px;color:#98a58a;margin-top:5px}.modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:560px;max-width:calc(100% - 24px);max-height:92vh;background:white;border-radius:12px;z-index:32;display:flex;flex-direction:column;overflow:hidden}.modal .drawer-head h2{font-size:21px}.modal form{display:flex;flex-direction:column;overflow:hidden}.modal-body{padding:24px;overflow:auto}.modal-body h3{margin:15px 0 8px}.modal-footer{border-top:1px solid var(--line);padding:17px 24px;display:flex;justify-content:flex-end;gap:9px}.field{display:flex;flex-direction:column;margin-bottom:15px;gap:7px}.field>span{font-size:10px;font-weight:600;color:#6e825c}.field input,.field select,.field textarea{border:1px solid #dfe6d7;border-radius:6px;padding:10px 11px;font-size:12px;min-height:40px;width:100%;background:#fff;color:#3b5332}.field textarea{resize:vertical;line-height:1.7}.field input::placeholder{color:#b2bca6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.checkbox{display:flex;align-items:flex-start;gap:10px;margin:15px 0;font-size:11px;color:#7d9069}.checkbox input{accent-color:var(--green);width:16px;height:16px;flex-shrink:0}.quantity-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:5px;margin-bottom:8px;padding:10px 12px;font-size:11px}.quantity-row small{display:block;color:#9aa88a;margin-top:3px;font-size:9px}.quantity-row input{width:65px;border:1px solid #dfe5d7;border-radius:4px;padding:6px}.form-error{font-size:12px;color:#ad6049;margin-top:12px}.checkout-total{font-size:40px;font-weight:600;letter-spacing:-1.5px;color:#2e512a;margin:20px 0}.checkout-total+p{font-size:12px;color:#758b62;margin-bottom:12px}pre{white-space:pre-wrap;word-break:break-word;font-size:10px;color:#849774;background:#f7faf1;border-radius:5px;padding:10px}details{font-size:10px;color:#94a480;margin-top:12px}summary{cursor:pointer}.audit-row{display:flex;align-items:flex-start;gap:13px;border-top:1px solid var(--line);padding:20px 24px}.audit-dot{width:8px;height:8px;background:#becfa6;border-radius:50%;margin-top:6px}.audit-row>div{flex:1;min-width:0}.audit-row strong{font-size:12px}.audit-row p{font-size:10px;color:#95a382;margin-top:4px}.audit-row time{font-size:9px;color:#a8b397}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-story{background:var(--deep);color:#f1f5e7;padding:50px 62px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:550px;height:550px;border:1px dashed #36533f;border-radius:50%;right:-300px;bottom:-190px}.story-copy{margin:auto 0;padding:70px 0;z-index:1}.story-copy .eyebrow{color:#98b16e;letter-spacing:2px;font-size:9px}.story-copy h1{font-size:65px;line-height:1.14;font-weight:550;letter-spacing:-2.7px;margin:24px 0;color:#e8f0de}.story-copy p{max-width:310px;color:#98b29d;font-size:14px;line-height:1.9}.login-route{display:flex;align-items:center;gap:15px;margin-top:40px;font-size:11px;color:#bdd098;max-width:300px}.login-route i{border-top:1px dashed #6b8555;flex:1;position:relative}.login-route i:before,.login-route i:after{content:'';width:6px;height:6px;border-radius:50%;background:#b9ce82;position:absolute;top:-3px;left:0}.login-route i:after{left:auto;right:0}.login-foot{font-size:10px;color:#76967b}.login-foot span{margin:0 12px}.login-form{max-width:480px;width:100%;margin:auto;padding:45px}.login-form h2{font-size:27px;letter-spacing:-1px;margin:22px 0 10px}.login-form>p{font-size:12px;color:#9aa88b;line-height:1.8;margin-bottom:30px}.login-form form .primary{margin-top:8px}.demo-note{display:flex;gap:11px;background:#f6f8ef;border:1px solid #e6ebda;border-radius:7px;padding:14px;margin-top:25px;color:#91a179}.demo-note p{font-size:10px;line-height:1.8}.demo-note svg{margin-top:3px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:100;background:#254c36;color:#fff;border:1px solid #476d49;border-radius:8px;box-shadow:0 8px 30px #14291e33;padding:13px 20px;max-width:min(600px,90%);font-size:12px;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#914f37;border-color:#ab6b4e}
@media(min-width:1500px){.content{padding:38px 44px}.overview-grid{grid-template-columns:minmax(0,3fr) minmax(280px,1fr)}td{font-size:12px;padding:19px}td strong{font-size:12px}td small{font-size:9px}.seller-name{font-size:10px}.badge{font-size:9px}.stat>strong{font-size:33px}.hero-band{min-height:157px}.hero-band h2{font-size:26px}.attention-row strong{font-size:12px}.attention-row small{font-size:9px}.attention-note p{font-size:12px}}
@media(max-width:1200px){.sidebar{width:210px;min-width:210px;padding:27px 15px 15px}.main{margin-left:210px;width:calc(100% - 210px)}.content{padding:25px}.topbar{padding:0 25px}.overview-grid{grid-template-columns:minmax(0,1fr)}.attention{display:none}.hero-button{margin-right:105px}.hero-band h2{font-size:21px}.route-art{right:-55px}.stat{padding:15px}.stat>strong{font-size:24px}.kanban{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:10px}.stat-top{font-size:9px}.filters .subtle{display:none}.rider-actions .primary{margin-left:0}.page-heading h1{font-size:29px}.topbar-right{gap:14px}}
@media(max-width:850px){.sidebar{width:72px;min-width:72px;padding:22px 10px 15px;align-items:center}.brand>div,.workspace-pill,.nav-label,.nav-item span,.sidebar-bottom .fleet,.profile>div,.profile>.avatar{display:none}.sidebar .brand img{width:37px;height:37px}.sidebar nav{margin-top:35px;width:100%}.nav-item{justify-content:center;padding:12px}.nav-item b{position:absolute;margin-left:22px;font-size:8px}.main{margin-left:72px;width:calc(100% - 72px)}.sidebar-bottom{margin-top:auto;width:100%}.profile{justify-content:center}.profile button{margin:0}.content{padding:25px 22px}.topbar{padding:0 22px;height:62px}.hero-button{margin-right:0}.route-art{display:none}.hero-band{padding:23px}.hero-band h2{font-size:20px}.stats{grid-template-columns:repeat(2,1fr);gap:13px}.stat>strong{font-size:29px}.bottom-grid{grid-template-columns:1fr}.page-heading h1{font-size:26px}.eyebrow{font-size:7px}.rider-cards{grid-template-columns:1fr}.login-story{padding:40px}.story-copy h1{font-size:48px}.login-form{padding:30px}.rider-summary{flex-direction:column;gap:12px}.topbar-right .demo-label{display:none}.panel-head{flex-wrap:wrap}.login{grid-template-columns:.85fr 1fr}}
@media(max-width:600px){body{font-size:13px}.sidebar{width:100%;height:64px;inset:auto 0 0;min-width:0;flex-direction:row;padding:0 5px;z-index:20;border-top:1px solid #335042;overflow-x:auto}.sidebar>.brand,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin:0;gap:0;width:100%;justify-content:flex-start;min-width:max-content}.nav-item{width:56px;margin:0;padding:10px;min-height:44px}.main{margin-left:0;width:100%;padding-bottom:64px}.topbar{height:54px;padding:0 18px}.breadcrumb{font-size:10px;gap:8px}.connection{font-size:9px}.content{padding:24px 16px 20px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:16px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;max-width:320px;line-height:1.7}.page-heading>.primary{padding:9px 12px;font-size:11px;min-height:38px}.filters{padding:0 0 16px}.filter-left{flex-wrap:wrap;gap:7px}.filter-left>svg{display:none}.filters select{max-width:160px}.filters input{max-width:134px}.hero-band{min-height:175px;align-items:flex-start;flex-direction:column;gap:15px;padding:21px;margin-bottom:16px}.hero-band h2{font-size:20px}.hero-band p{font-size:10px}.hero-button{margin-left:0;font-size:10px;min-height:35px;padding:8px 11px}.stats{gap:10px;margin-bottom:16px}.stat{padding:14px}.stat-top{font-size:9px}.stat-icon{width:24px;height:24px}.stat-icon svg{width:17px;height:17px}.stat>strong{font-size:25px}.stat p{font-size:8px;line-height:1.7;min-height:26px}.overview-grid{gap:16px}.panel-head{padding:16px;min-height:63px}.panel-head h2{font-size:13px}.bottom-grid{margin-top:16px;gap:16px}.pipeline{gap:10px;padding:6px 16px 18px}.pipeline span{font-size:20px}.pipeline small{font-size:7px}.footer{flex-direction:column;align-items:flex-start;gap:8px;font-size:8px}.fee-summary{padding:20px}.tabs{gap:12px}.tabs button{font-size:9px}.search{width:100%}.search input{width:100%}.kanban{grid-template-columns:1fr}.kanban-col{min-height:140px}.notice{font-size:10px;padding:12px;line-height:1.7}.rider-card{padding:19px}.rider-card .rider-actions{display:grid;grid-template-columns:1fr 1fr}.rider-card .rider-actions .primary{grid-column:span 2}.rider-actions a{min-height:44px}.drawer-head{padding:18px}.drawer-body{padding:20px 18px 35px}.drawer-head h2{font-size:22px}.drawer-body dl{grid-template-columns:103px minmax(0,1fr);font-size:11px;gap:13px}.drawer-body h3{font-size:13px}.action-grid button{min-height:44px;white-space:normal;text-align:center;font-size:11px}.modal{max-height:95dvh}.modal .drawer-head{padding:18px}.modal-body{padding:18px}.modal-footer{padding:14px 18px}.form-grid{grid-template-columns:1fr}.field input,.field select,.field textarea{font-size:16px}.field>span{font-size:11px}.offline-banner,.queue-banner{padding:12px 16px;font-size:10px;flex-wrap:wrap}.queue-row{flex-wrap:wrap;padding:17px}.queue-row>div{flex-basis:100%}.queue-row small{overflow-wrap:anywhere}.settings-row{padding:17px;align-items:flex-start;flex-wrap:wrap}.settings-row small{font-size:10px}.audit-row{padding:16px;flex-wrap:wrap}.audit-row time{padding-left:20px}.login{grid-template-columns:1fr}.login-story{padding:25px 28px;min-height:280px}.story-copy{padding:30px 0 10px}.story-copy h1{font-size:38px;line-height:1.1;margin:12px 0;letter-spacing:-1.5px}.story-copy h1 br{display:none}.story-copy p{font-size:11px;max-width:280px}.login-story .brand img{width:32px;height:32px}.login-story .brand>div{display:block;font-size:24px}.login-story .brand span{font-size:7px}.login-route,.login-foot{display:none}.login-form{padding:30px 28px}.login-form h2{font-size:25px}.login-form>p{font-size:11px;margin-bottom:22px}.login-story:after{width:320px;height:320px;right:-210px;bottom:-90px}.topbar-right{gap:9px}.topbar-right .icon-button{min-width:30px}.badge{font-size:9px}.items-list small{font-size:10px}.quantity-row input{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.mobile-logout{display:none}@media(max-width:600px){.mobile-logout{display:inline-flex}}

.stock-overview{display:flex;flex-wrap:wrap}.stock-overview button{flex:1;min-width:125px;padding:19px 22px;text-align:left;background:white;color:#8c9b7a;border-right:1px solid var(--line)}.stock-overview strong{display:block;font-size:25px;color:#3e5734;font-weight:600}.stock-overview span{display:block;font-size:9px;margin:5px 0 9px}.stock-overview button:hover{background:#f8faf3}

.website-request,.website-source{padding:22px;border-bottom:1px solid var(--line)}.website-request-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.website-request-head h3{font-size:14px;margin:8px 0}.website-request-head small{font-size:10px;color:var(--muted)}.website-request-body{padding-top:14px}.website-request p,.website-source p{font-size:12px;color:#74816e;margin:8px 0}.website-request .notice{margin:12px 0}.website-source>h3{margin-top:17px;font-size:11px}.credential-row{display:flex;gap:10px;align-items:center;padding-top:16px;flex-wrap:wrap}.credential-row>span{margin-right:auto;font-size:11px}.credential-row small{display:block;color:var(--muted);margin-top:4px}.website-source .button-row{margin-top:14px;flex-wrap:wrap}
/* Keep all expanded navigation reachable without pushing sign-out off screen. */
@media(min-width:601px){.sidebar nav{min-height:0;overflow-y:auto;flex:1}.sidebar>.brand,.sidebar>.workspace-pill,.sidebar>.nav-label,.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-top:12px}@media(max-height:950px){.sidebar .fleet{display:none}.workspace-pill{margin:22px 0 18px}}}
#reports-body .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}#reports-body>h2{margin-top:28px;margin-bottom:10px}#reports-body .stat p{font-size:11px}#reports-body td{white-space:normal;min-width:100px}#reports-body .table-wrap{margin-top:12px}.website-request-body dl{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;margin:16px 0}.website-request-body dt{font-size:11px;color:var(--muted)}.website-request-body dd{margin:0;overflow-wrap:anywhere}.website-request-body dd small{display:block;margin-top:7px}.modal .notice{display:block}.modal .table-wrap{max-width:100%}.modal td{white-space:normal;min-width:90px}
@media(min-width:1500px){#reports-body .stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){#reports-body{padding:14px}#reports-body .stats{grid-template-columns:1fr}.website-request-body dl{grid-template-columns:1fr;gap:6px}.website-request-body dd{margin-bottom:10px}.website-request-head{flex-wrap:wrap}.website-request-body .button-row{flex-wrap:wrap}.website-request-head small{overflow-wrap:anywhere}}
.review-banner{background:#173b31;color:#f4f6e8;padding:26px 30px;border-radius:16px;margin-bottom:20px}.review-banner>div{display:flex;align-items:center;gap:12px;font-size:20px}.review-banner p{max-width:880px;line-height:1.6}.review-banner small{color:#d0d9c3}.review-toolbar{margin:20px 0}.review-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:22px 28px;border-bottom:1px solid var(--border,#e3e6dc)}.review-card{padding:28px;border-bottom:1px solid #e3e6dc}.review-card:last-child{border:0}.review-card>p{line-height:1.7;max-width:900px}.review-card details{margin:15px 0}.review-card summary,.review-coverage summary{cursor:pointer;color:#254c3f;font-weight:600}.review-card pre{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.review-calculation{background:#f6f7f1;border:1px solid #e3e6dc;border-radius:10px;padding:20px;margin:20px 0}.review-calculation>p{line-height:1.65;font-size:13px}.review-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 0}.review-values>div{min-width:0}.review-values dt{font-size:11px;color:#637265}.review-values dd{margin:5px 0 0;font-weight:600;font-size:13px;overflow-wrap:anywhere}.review-mock{background:#f1f4e2;border-left:3px solid #819646;padding:20px;margin:18px 0}.review-mock p,.review-mock li{line-height:1.65}.review-coverage{padding:16px 0;border-bottom:1px solid #e3e6dc}.review-coverage li{line-height:1.7;margin:8px 0;overflow-wrap:anywhere}.review-stats{margin:24px 0}.review-card .notice{display:block}@media(max-width:760px){.review-filters,.review-values{grid-template-columns:1fr}.review-card,.review-banner{padding:20px}.review-card .website-request-head{flex-wrap:wrap}.review-toolbar .button-row{flex-wrap:wrap}.review-toolbar button{flex:1 1 180px}}
.review-toolbar .button-row{flex-wrap:wrap}

/* Touch-friendly order quantities; stock confirmation still gates selection. */
.quantity-row{gap:12px;flex-wrap:wrap}
.quantity-row>span{flex:1 1 180px;min-width:0}
.quantity-controls{display:flex;align-items:center;gap:4px;flex:0 0 auto;margin-left:auto}
.quantity-controls .quantity-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #dfe5d7;border-radius:5px;background:#f7faf1;color:var(--deep);font-size:22px;font-weight:600;line-height:1;touch-action:manipulation}
.quantity-controls .quantity-button:hover:not(:disabled){background:#eaf1df;border-color:#a8b897}
.quantity-controls .quantity-button:disabled{opacity:.4;cursor:not-allowed}
.quantity-controls .quantity-button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.quantity-controls input{width:56px;height:44px;padding:6px 2px;text-align:center;font-size:16px;appearance:textfield;-moz-appearance:textfield}
.quantity-controls input::-webkit-inner-spin-button,.quantity-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* Delivery date groups keep the existing order table and actions intact. */
.order-date-group{margin:0;color:inherit;font-size:inherit}
.order-date-group+.order-date-group{border-top:1px solid var(--line)}
.order-date-group>summary{display:flex;align-items:center;gap:12px;min-height:58px;padding:16px 22px;cursor:pointer;list-style:none;background:#f4f7ed;color:#314c2c;font-size:13px;font-weight:600}
.order-date-group>summary::-webkit-details-marker{display:none}
.order-date-group>summary:hover{background:#edf3e3}
.order-date-group>summary:focus-visible{outline:3px solid #91b75a;outline-offset:-3px}
.order-date-chevron{display:inline-flex;flex:none;transition:transform .15s ease}
.order-date-group[open]>summary .order-date-chevron{transform:rotate(90deg)}
.order-date-title{flex:1;min-width:0}
.order-date-count{flex:none;font-size:11px;font-weight:500;color:#647555;background:#e5edda;border-radius:20px;padding:4px 10px}
.order-date-group[open]>summary{border-bottom:1px solid var(--line)}
@media(max-width:600px){.order-date-group>summary{min-height:54px;padding:15px 16px;gap:9px;font-size:12px}.order-date-count{font-size:10px;padding:4px 8px}}
