:root{color:#17352d;font-synthesis:none;background:#f4f7f5;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f4f7f5;min-width:320px;margin:0}button,input{font:inherit}.app-shell{min-height:100vh;padding-bottom:88px}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;border-bottom:1px solid #dfe8e3;align-items:center;gap:12px;height:72px;padding:12px max(18px,50vw - 550px);display:flex;position:sticky;top:0}.brandmark{color:#fff;background:#0b5c46;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.topbar div:nth-child(2){flex-direction:column;display:flex}.topbar span{color:#6c8078;font-size:12px}.driver-chip{color:#0b5c46;background:#e8f2ed;border-radius:999px;margin-left:auto;padding:8px 12px;font-size:13px;font-weight:700}.page{max-width:1100px;margin:auto;padding:28px 18px 32px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.page-heading h1{letter-spacing:-.04em;margin:0;font-size:clamp(27px,5vw,38px);line-height:1.05}.page-heading p{color:#6c8078;margin:8px 0 0}.progress-ring{background:#e7f0ec;border:7px solid #1b8063;border-radius:50%;place-items:center;width:62px;height:62px;font-weight:800;display:grid}.summary-strip{background:#dfe8e3;border:1px solid #dfe8e3;border-radius:18px;grid-template-columns:repeat(3,1fr);gap:1px;margin-bottom:20px;display:grid;overflow:hidden}.summary-strip>div{background:#fff;padding:16px}.summary-strip span,.summary-strip strong{display:block}.summary-strip span{color:#6c8078;margin-bottom:6px;font-size:12px}.summary-strip strong{font-size:18px}.list{flex-direction:column;gap:10px;display:flex}.stop-row{text-align:left;color:inherit;background:#fff;border:1px solid #dfe8e3;border-radius:17px;grid-template-columns:44px 1fr auto 20px;align-items:center;gap:12px;padding:14px;display:grid;box-shadow:0 3px 12px #1b42360a}.stop-number{background:#eef3f0;border-radius:13px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.stop-number.done{color:#0b6d50;background:#daf0e6}.stop-content,.stop-total{flex-direction:column;gap:4px;display:flex}.stop-content span,.stop-total span{color:#6c8078;font-size:12px}.stop-total{text-align:right}.bottom-nav{z-index:30;left:50%;bottom:max(12px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;border:1px solid #d9e4df;border-radius:22px;grid-template-columns:repeat(4,1fr);width:min(94%,560px);height:68px;padding:7px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 14px 50px #143a2f2e}.nav-button{color:#73867f;background:0 0;border:0;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:700;display:flex}.nav-button svg{width:21px}.nav-button.active{color:#0b5c46;background:#eaf3ef}.nav-button.emphasized{color:#fff;background:#0b5c46}.camera-drop{color:#0b5c46;cursor:pointer;background:#fff;border:2px dashed #a9bcb4;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:280px;display:flex;overflow:hidden}.camera-drop input{display:none}.camera-drop span{color:#6c8078;font-size:13px}.camera-drop img{object-fit:contain;background:#18231f;width:100%;height:100%}.ocr-status{color:#0b5c46;justify-content:center;align-items:center;gap:10px;padding:14px;font-weight:700;display:flex}.spinner{border:3px solid #d5e6df;border-top-color:#0b5c46;border-radius:50%;width:20px;height:20px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sample-button{margin:10px auto;display:block}.form-grid{grid-template-columns:repeat(2,1fr);gap:14px;margin:12px 0 20px;display:grid}.form-grid label{flex-direction:column;gap:7px;display:flex}.form-grid label.wide{grid-column:1/-1}.form-grid label span{font-size:13px;font-weight:750}.form-grid input{color:#17352d;background:#fff;border:1px solid #cedcd5;border-radius:13px;outline:none;height:48px;padding:0 13px}.form-grid input:focus{border-color:#0b5c46;box-shadow:0 0 0 3px #dceee7}.primary-button{color:#fff;background:#0b5c46;border:0;border-radius:15px;width:100%;min-height:52px;padding:0 18px;font-weight:800}.primary-button:disabled{opacity:.45}.text-button{color:#0b5c46;background:0 0;border:0;padding:8px;font-weight:750}.modal-backdrop{z-index:50;background:#081a147a;justify-content:center;align-items:flex-end;padding-top:40px;display:flex;position:fixed;inset:0}.modal{width:min(100%,620px);max-height:92vh;padding:25px 20px max(28px,env(safe-area-inset-bottom));background:#fff;border-radius:28px 28px 0 0;position:relative;overflow:auto;box-shadow:0 -15px 60px #00000040}.modal h2{margin:0;font-size:26px}.modal h3{margin:20px 0 10px}.modal-close{background:#eef3f0;border:0;border-radius:50%;width:38px;height:38px;font-size:24px;position:absolute;top:15px;right:16px}.muted{color:#6c8078;margin-top:5px}.invoice-mini-list{border:1px solid #dfe8e3;border-radius:15px;overflow:hidden}.invoice-mini-list div{border-bottom:1px solid #edf2ef;justify-content:space-between;padding:13px;display:flex}.invoice-mini-list div:last-child{border:0}.signature-wrap{position:relative}.signature{touch-action:none;background:linear-gradient(#fff,#fbfdfc);border:1px solid #cddbd4;border-radius:14px;width:100%;height:180px}.delivered-panel{color:#0b6d50;background:#e8f4ee;border-radius:16px;align-items:center;gap:12px;margin-top:18px;padding:18px;display:flex}.delivered-panel div{flex-direction:column;display:flex}.delivered-panel img{object-fit:contain;width:110px;height:50px;margin-left:auto}.search-box{background:#fff;border:1px solid #dfe8e3;border-radius:15px;align-items:center;gap:9px;margin-bottom:14px;padding:0 14px;display:flex}.search-box input{background:0 0;border:0;outline:0;width:100%;height:50px}.history-table,.panel{background:#fff;border:1px solid #dfe8e3;border-radius:18px;overflow:hidden}.history-row{border-bottom:1px solid #edf2ef;justify-content:space-between;align-items:center;padding:15px;display:flex}.history-row:last-child{border:0}.history-row>div{flex-direction:column;gap:4px;display:flex}.history-row>div:last-child{text-align:right}.history-row span{color:#6c8078;font-size:12px}.management-cards{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px;display:grid}.metric{background:#fff;border:1px solid #dfe8e3;border-radius:18px;flex-direction:column;align-items:flex-start;gap:7px;min-height:135px;padding:16px;display:flex}.metric svg{color:#0b5c46}.metric span{color:#6c8078;margin-top:auto;font-size:12px}.metric strong{font-size:22px}.panel{padding:18px}.panel-title{justify-content:space-between;align-items:center;display:flex}.panel-title h2{margin:0}.panel-title span{color:#6c8078;font-size:12px}.driver-row{grid-template-columns:44px 1fr minmax(120px,38%);align-items:center;gap:12px;margin-top:22px;display:grid}.avatar{color:#0b5c46;background:#e5f1ec;border-radius:14px;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.driver-row>div:nth-child(2){flex-direction:column;display:flex}.driver-row span{color:#6c8078;font-size:12px}.bar{background:#e8efec;border-radius:99px;height:9px;overflow:hidden}.bar i{background:#1b8063;border-radius:99px;height:100%;display:block}@media (width>=760px){.bottom-nav{float:left;grid-template-columns:1fr;gap:8px;width:76px;height:auto;margin-left:max(18px,50vw - 642px);padding:8px;position:sticky;top:88px;bottom:auto;left:auto;transform:none}.page{padding-top:36px}.modal-backdrop{align-items:center;padding:24px}.modal{border-radius:28px;max-height:90vh}.camera-drop{height:360px}.scan-page{max-width:760px}}@media (width<=700px){.management-cards{grid-template-columns:repeat(2,1fr)}.driver-row{grid-template-columns:44px 1fr}.driver-row .bar{grid-column:1/-1}.summary-strip strong{font-size:15px}.stop-row{grid-template-columns:42px 1fr 20px}.stop-total{text-align:left;grid-column:2/3}.stop-row>svg{grid-area:1/3/3}.form-grid{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}}.bottom-nav.six{grid-template-columns:repeat(6,1fr);width:min(97%,760px)}.action-row{gap:10px;margin-bottom:16px;display:flex}.secondary-button,.primary-inline{border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:11px 14px;font-weight:800;display:flex}.secondary-button{color:#0b5c46;background:#fff;border:1px solid #cfded7}.primary-inline{color:#fff;background:#0b5c46;border:0}.form-grid select{color:#17352d;background:#fff;border:1px solid #cedcd5;border-radius:13px;height:48px;padding:0 13px}.route-map{text-align:center;background:linear-gradient(135deg,#dcebe5,#f8fbf9);border:1px solid #cfe0d8;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:180px;margin:15px 0 18px;padding:20px;display:flex}.route-map span{color:#6c8078;font-size:13px}.route-row{background:#fff;border:1px solid #dfe8e3;border-radius:17px;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.route-row>button{text-align:left;color:inherit;background:0 0;border:0;align-items:center;gap:12px;display:flex}.route-row span,.route-row>div{flex-direction:column;display:flex}.route-row small{color:#6c8078}.route-order{background:#eaf3ef;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:800;display:grid!important}.navigate-link{color:#fff;background:#0b5c46;border-radius:12px;align-items:center;gap:6px;padding:10px;font-weight:750;text-decoration:none;display:flex}.link-button{justify-content:center;align-items:center;gap:8px;margin:14px 0;text-decoration:none;display:flex}.notice{background:#fff7df;border:1px solid #ead79b;border-radius:16px;flex-direction:column;gap:5px;margin-top:18px;padding:16px;display:flex}.notice span{color:#6c6858}.customer-form{background:#fff;border:1px solid #dfe8e3;border-radius:18px;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:18px;padding:18px;display:grid}.customer-form label{flex-direction:column;gap:7px;display:flex}.customer-form label.wide{grid-column:1/-1}.customer-form input[type=text],.customer-form input:not([type]){border:1px solid #cedcd5;border-radius:13px;height:48px;padding:0 13px}.customer-form .primary-button{grid-column:1/-1}.check-label{justify-content:center}.customer-list{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.customer-list>div{background:#fff;border:1px solid #dfe8e3;border-radius:16px;padding:15px}.customer-list>div>div{justify-content:space-between;gap:10px;display:flex}.customer-list span,.customer-list p{color:#6c8078;font-size:12px}.error{color:#9a3328}.scan-page .form-grid label.wide select{width:100%}@media (width<=700px){.bottom-nav.six{grid-template-columns:repeat(6,1fr);height:72px}.bottom-nav.six .nav-button{font-size:9px}.bottom-nav.six .nav-button svg{width:18px}.route-row{grid-template-columns:1fr auto}.navigate-link{grid-column:1/-1;justify-content:center}.customer-form,.customer-list{grid-template-columns:1fr}.customer-form label.wide,.customer-form .primary-button{grid-column:auto}}.action-row-wrap{flex-wrap:wrap}.payment-button{color:#fff;background:#17352d;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:800;display:flex}.payment-heading{align-items:center;gap:12px;margin-bottom:20px;display:flex}.payment-heading h2{margin:0}.payment-icon{color:#0b5c46;background:#e5f1ec;border-radius:15px;place-items:center;width:48px;height:48px;display:grid}.payment-form{gap:14px;margin-bottom:20px;display:grid}.payment-form>label,.payment-form fieldset{flex-direction:column;gap:7px;display:flex}.payment-form label>span,.payment-form legend{font-size:13px;font-weight:750}.payment-form select,.payment-form input[type=text],.payment-form input[type=number],.payment-form textarea{color:#17352d;background:#fff;border:1px solid #cedcd5;border-radius:13px;width:100%;padding:0 13px}.payment-form select,.payment-form input{height:48px}.payment-form textarea{resize:vertical;min-height:88px;padding-top:12px}.payment-form fieldset{border:0;margin:0;padding:0}.payment-methods{grid-template-columns:1fr 1fr;gap:10px;display:grid}.payment-methods label{text-align:center;background:#fff;border:1px solid #cedcd5;border-radius:13px;padding:14px;font-weight:800;position:relative}.payment-methods label.selected{color:#0b5c46;background:#eaf3ef;border-color:#0b5c46}.payment-methods input{opacity:0;position:absolute}.management-cards-five{grid-template-columns:repeat(5,1fr)}.payments-panel{margin-top:18px}.payment-list{margin-top:14px}.payment-row{border-top:1px solid #edf2ef;justify-content:space-between;align-items:center;padding:13px 0;display:flex}.payment-row>div{flex-direction:column;gap:4px;display:flex}.payment-row>div:last-child{text-align:right}.payment-row span{color:#6c8078;font-size:12px}@media (width<=900px){.management-cards-five{grid-template-columns:repeat(3,1fr)}}@media (width<=700px){.management-cards-five{grid-template-columns:repeat(2,1fr)}.action-row-wrap>*{flex:calc(50% - 8px)}.action-row-wrap .payment-button{flex-basis:100%}}.auth-shell{background:radial-gradient(circle at top,#e3f0eb,#f4f7f5 48%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #d9e5df;border-radius:26px;gap:18px;width:min(100%,430px);padding:28px;display:grid;box-shadow:0 24px 70px #143a2f24}.auth-card label{gap:7px;display:grid}.auth-card label span{font-size:13px;font-weight:800}.auth-card input{border:1px solid #cbdad3;border-radius:14px;outline:0;height:52px;padding:0 14px}.auth-card input:focus{border-color:#0b5c46;box-shadow:0 0 0 3px #dceee7}.auth-brand{align-items:center;gap:14px;margin-bottom:4px;display:flex}.auth-brand h1{letter-spacing:-.04em;margin:0;font-size:28px}.auth-brand p{color:#6c8078;margin:4px 0 0}.auth-error{color:#9a3328;background:#fff0ed;border-radius:12px;padding:12px 14px;font-weight:700}.auth-security{color:#6c8078;justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex}.auth-loading{justify-items:center}.user-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.logout-button{color:#0b5c46;background:#fff;border:1px solid #d6e2dc;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.topbar .user-actions{margin-left:auto}.topbar .user-actions .driver-chip{margin-left:0}
