:root{color:#f3f6fb;background:#10131a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#10131a}button{font:inherit}.app-shell{width:min(100%,560px);min-height:100dvh;margin:0 auto;padding:max(24px,env(safe-area-inset-top)) 20px calc(190px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.topbar.compact{align-items:center}.topbar.compact h1{font-size:1.55rem}.eyebrow{margin:0 0 5px;color:#9ca7b8;font-size:.9rem}h1{margin:0;font-size:2rem;letter-spacing:-.04em}.icon-button{width:52px;height:52px;border:1px solid #303946;border-radius:15px;color:#f3f6fb;background:#1a202a;font-size:1.35rem}.back-button{min-height:44px;padding:0;border:0;color:#a6f5c9;background:transparent;font-weight:800}.summary{display:flex;align-items:baseline;gap:8px;margin:28px 0 20px;padding:18px;border-radius:18px;background:#192c29;color:#b9f2d4}.summary strong{font-size:1.7rem}.summary span{font-weight:600}.delivery-list{display:grid;gap:12px}.delivery-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:112px;padding:16px;border:1px solid #303946;border-radius:18px;background:#1a202a}.delivery-card.delivered{opacity:.72;border-color:#285a48}.delivery-order{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#2b3544;color:#dce5f4;font-weight:800}.delivery-info h2{margin:0;font-size:1.05rem;line-height:1.2}.delivery-info p{margin:7px 0 0;color:#aeb8c8;font-size:.9rem}.delivery-info .reference{color:#d8e0ec}.status{display:inline-block;margin-top:8px;color:#8ce3b7;font-size:.84rem;font-weight:700}.status-incident{color:#f0c77d}.status-pending{color:#c7d1df}.cargo-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.cargo-tag{display:inline-block;padding:4px 7px;border-radius:7px;font-size:.72rem;font-weight:900}.cargo-tag.dry{color:#dfe7f2;background:#37445a}.cargo-tag.chilled{color:#052a40;background:#80d1f5}.cargo-tag.frozen{color:#e8eeff;background:#526bc5}.deliver-button{display:grid;place-items:center;gap:2px;min-width:74px;min-height:76px;padding:8px;border:0;border-radius:14px;color:#062718;background:#8ce3b7;font-size:1.45rem;font-weight:800}.deliver-button span{font-size:.72rem}.done-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#062718;background:#8ce3b7;font-size:1.4rem;font-weight:800}.add-delivery{position:fixed;right:max(20px,calc((100vw - 560px)/2 + 20px));bottom:calc(88px + env(safe-area-inset-bottom));min-height:58px;padding:0 22px;border:0;border-radius:18px;color:#071d12;background:#a6f5c9;box-shadow:0 10px 30px #0008;font-weight:800}.add-delivery span{font-size:1.35rem;vertical-align:-1px}.screen-description{margin:22px 0;color:#aeb8c8}.customer-list{display:grid;gap:12px}.customer-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border:1px solid #303946;border-radius:18px;background:#1a202a}.customer-card h2{margin:0;font-size:1.05rem}.customer-card p{margin:7px 0 10px;color:#aeb8c8;font-size:.9rem}.gps-tag,.link-tag{font-size:.78rem;font-weight:800}.gps-tag{color:#8ce3b7}.link-tag{color:#f0c77d}.navigate-button{flex:0 0 auto;min-height:46px;display:grid;place-items:center;padding:0 12px;border-radius:12px;color:#071d12;background:#a6f5c9;font-size:.82rem;font-weight:900;text-decoration:none}.customer-card-actions{display:grid;gap:7px;flex:0 0 auto}.edit-button{min-height:39px;border:1px solid #49576c;border-radius:11px;color:#dce5f1;background:transparent;font-size:.8rem;font-weight:800}.search-field{display:flex;align-items:center;gap:10px;min-height:52px;margin:18px 0;padding:0 14px;border:1px solid #3a4555;border-radius:14px;background:#1a202a;color:#a6f5c9}.search-field input{width:100%;border:0;outline:0;color:#f3f6fb;background:transparent;font:inherit}.empty-state{margin:28px 0;padding:34px 22px;border:1px dashed #3d4858;border-radius:20px;color:#aeb8c8;text-align:center}.empty-state>span{display:block;margin-bottom:10px;color:#a6f5c9;font-size:2.2rem}.empty-state h2{margin:0;color:#f3f6fb;font-size:1.2rem}.empty-state p{margin:10px auto 0;max-width:300px;line-height:1.45}.route-empty{margin-top:42px}.secondary-button{min-height:48px;margin-top:20px;padding:0 16px;border:1px solid #a6f5c9;border-radius:13px;color:#a6f5c9;background:transparent;font-weight:800}.customer-form{display:grid;gap:20px;margin-top:26px}.customer-form label{display:grid;gap:9px;color:#dfe7f2;font-weight:700}.customer-form input,.customer-form textarea{width:100%;border:1px solid #3a4555;border-radius:14px;padding:14px;color:#f3f6fb;background:#1a202a;font:inherit;font-weight:400;resize:vertical}.customer-form select{width:100%;min-height:52px;border:1px solid #3a4555;border-radius:14px;padding:0 14px;color:#f3f6fb;background:#1a202a;font:inherit;font-weight:400}.customer-form input:focus,.customer-form textarea:focus,.customer-form select:focus{outline:2px solid #8ce3b7;outline-offset:2px}.location-ok,.location-warning,.form-error{margin:-8px 0 0;line-height:1.35;font-size:.9rem}.location-ok{color:#8ce3b7}.location-warning{color:#f0c77d}.form-error{color:#ffaaa4;font-weight:700}.primary-button{min-height:58px;border:0;border-radius:16px;color:#071d12;background:#a6f5c9;font-weight:900}.primary-button:disabled{opacity:.7}.location-button{min-height:50px;border:1px solid #80d1f5;border-radius:13px;color:#80d1f5;background:#142532;font-weight:800}.location-button:disabled{opacity:.7}.muted{color:#aeb8c8}.section-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#a6f5c9;background:#1a202a;font-size:1.25rem}.data-card{margin-top:16px;padding:18px;border:1px solid #303946;border-radius:18px;background:#1a202a}.data-card h2{margin:0;font-size:1.05rem}.data-card p{margin:8px 0 16px;color:#aeb8c8;font-size:.9rem;line-height:1.4}.data-card .primary-button,.data-card .secondary-button{width:100%}.warning-card{border-color:#765f32}.file-input,.restore-input{display:none}.restore-label{display:grid;place-items:center;min-height:48px;border:1px solid #f0c77d;border-radius:13px;color:#f0c77d;font-weight:800;cursor:pointer}.data-message{margin:16px 0;color:#a6f5c9;font-weight:700}.bottom-nav{position:fixed;z-index:5;bottom:0;left:50%;display:grid;grid-template-columns:repeat(3,1fr);width:min(100%,560px);padding:9px 14px calc(9px + env(safe-area-inset-bottom));transform:translate(-50%);border-top:1px solid #303946;background:#141a23f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-nav button{display:grid;place-items:center;gap:2px;min-height:50px;border:0;border-radius:13px;color:#98a5b7;background:transparent;font-size:.73rem;font-weight:800}.bottom-nav button span{font-size:1.25rem;line-height:1}.bottom-nav button.active{color:#071d12;background:#a6f5c9}.bottom-nav.four-items{grid-template-columns:repeat(4,1fr);padding-inline:8px}.bottom-nav.four-items button{font-size:.67rem}.finish-route{width:100%;min-height:56px;margin:18px 0 0;border:1px solid #f0c77d;border-radius:16px;color:#f0c77d;background:#2b2518;font-weight:900}.history-list{display:grid;gap:11px}.history-card{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;width:100%;padding:16px;border:1px solid #303946;border-radius:17px;color:#f3f6fb;background:#1a202a;text-align:left}.history-card span{color:#aeb8c8;font-size:.82rem}.history-card strong{font-size:1.05rem}.history-card small{color:#8ce3b7;font-weight:800}.history-card b{grid-column:2;grid-row:1 / span 3;color:#a6f5c9;font-size:1.7rem}.clear-history{width:100%;min-height:50px;margin-top:20px;border:1px solid #9d5252;border-radius:14px;color:#ffaaa4;background:#2b1c20;font-weight:800}.cargo-picker{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;border:0}.cargo-picker legend{width:100%;margin-bottom:3px;color:#dfe7f2;font-weight:700}.cargo-option{min-height:50px;flex:1;min-width:88px;border:1px solid #3a4555;border-radius:13px;color:#cad4e2;background:#1a202a;font-weight:800}.cargo-option.selected.dry{border-color:#7f96ba;color:#fff;background:#37445a}.cargo-option.selected.chilled{border-color:#80d1f5;color:#052a40;background:#80d1f5}.cargo-option.selected.frozen{border-color:#728beb;color:#e8eeff;background:#526bc5}.client-picker{display:grid;gap:7px;margin-top:-8px}.client-picker button{min-height:47px;padding:10px 14px;border:1px solid #3a4555;border-radius:12px;color:#edf3fb;background:#1a202a;font:inherit;font-weight:700;text-align:left}.client-picker p{margin:0;color:#aeb8c8}.chosen-customer{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin-top:-8px;padding:13px;border:1px solid #a6f5c9;border-radius:13px;background:#192c29}.chosen-customer span{color:#a6f5c9;font-size:.78rem;font-weight:800}.chosen-customer strong{align-self:center}.chosen-customer button{grid-column:2;grid-row:1 / span 2;min-height:38px;border:1px solid #a6f5c9;border-radius:10px;color:#a6f5c9;background:transparent;font-weight:800}.field-group{display:grid;gap:9px;color:#dfe7f2;font-weight:700}.picker-trigger{min-height:54px;padding:0 15px;border:1px solid #3a4555;border-radius:14px;color:#aeb8c8;background:#1a202a;font:inherit;text-align:left}.picker-popover{display:grid;gap:11px;padding:12px;border:1px solid #566980;border-radius:15px;background:#151c26;box-shadow:0 14px 30px #0006}.picker-popover .client-picker{max-height:310px;margin-top:0;overflow-y:auto;padding-right:3px}.picker-search{display:flex;align-items:center;gap:9px;min-height:49px;padding:0 12px;border:1px solid #80d1f5;border-radius:12px;color:#80d1f5;background:#1a202a}.picker-search input{width:100%;border:0;outline:0;color:#f3f6fb;background:transparent;font:inherit}.picker-popover>p{margin:0;color:#aeb8c8;font-weight:400}.close-picker{justify-self:start;min-height:37px;padding:0 5px;border:0;color:#aeb8c8;background:transparent;font-weight:800}.loading-plan{margin:0 0 20px;padding:17px;border:1px solid #303946;border-radius:18px;background:#171e28}.loading-plan h2{margin:0;font-size:1rem}.loading-plan>p{margin:7px 0 14px;color:#aeb8c8;font-size:.85rem;line-height:1.35}.load-group{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;margin-top:9px}.load-group span{color:#dce5f1;font-size:.8rem;line-height:1.35}.route-tools{display:grid;grid-template-columns:1fr auto;gap:10px;margin:0 0 16px}.optimize-button{min-height:53px;border:0;border-radius:15px;color:#071d12;background:#a6f5c9;font-weight:900}.optimize-button:disabled{opacity:.7}.loading-toggle{min-height:53px;padding:0 14px;border:1px solid #44546b;border-radius:15px;color:#dce5f1;background:#1a202a;font-weight:800}.route-message{margin:-4px 0 16px;color:#a6f5c9;font-size:.9rem;font-weight:700;line-height:1.35}.origin-options{display:grid;gap:12px;margin-top:25px}.origin-option{display:grid;gap:7px;min-height:92px;padding:16px;border:1px solid #3a4555;border-radius:17px;color:#f3f6fb;background:#1a202a;text-align:left}.origin-option strong{color:#a6f5c9;font-size:1rem}.origin-option span{color:#aeb8c8;font-size:.87rem;line-height:1.35}.origin-option:disabled{opacity:.5}.origin-link{display:grid;gap:11px;margin-top:20px;padding:17px;border:1px solid #303946;border-radius:17px;background:#1a202a}.origin-link h2{margin:0;font-size:1rem}.origin-link p{margin:0;color:#aeb8c8;font-size:.87rem;line-height:1.35}.origin-link textarea{width:100%;border:1px solid #3a4555;border-radius:12px;padding:12px;color:#f3f6fb;background:#10131a;font:inherit;resize:vertical}.delivery-actions{display:grid;gap:7px;justify-items:end}.small-action{min-height:34px;min-width:80px;padding:7px 9px;border:0;border-radius:10px;color:#e9f8ef;background:#2b3544;font-size:.76rem;font-weight:800;text-align:center;text-decoration:none}.delivered-action{color:#062718;background:#8ce3b7}.incident-action{color:#2f1c00;background:#f0c77d}.order-actions{display:flex;gap:6px}.order-actions button{width:37px;height:34px;border:1px solid #3a4555;border-radius:9px;color:#edf3fb;background:#202937;font-size:1rem}@media(max-width:390px){.app-shell{padding-inline:14px}.delivery-card{grid-template-columns:32px minmax(0,1fr)}.delivery-actions{grid-column:2;justify-items:start;grid-template-columns:repeat(3,auto)}.deliver-button,.done-mark{grid-column:2;justify-self:start;width:auto;min-height:44px;padding:7px 12px}.deliver-button{display:flex;gap:6px}.deliver-button span{font-size:.8rem}}
