:root{--ink:#352f2b;--muted:#857c74;--paper:#f8f6f2;--white:#fff;--line:#eae5de;--brand:#765b50;--brand-dark:#503c34;--rose:#b17568;--rose-light:#f3e8e2;--green:#44745d;--green-light:#edf4ef;--orange:#a46b24;--orange-light:#fcf2e2;--blue:#557589;--blue-light:#ebf1f5;--radius:16px;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bb9383;outline-offset:3px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:36px;letter-spacing:-1.1px}h2{font-size:25px;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}p{line-height:1.65}.muted,.hint{color:var(--muted)}.hint{font-size:12px;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--rose)}.hidden{display:none!important}.flex{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between;gap:14px}.stack{display:grid;gap:18px}.nowrap{white-space:nowrap}.w-full{width:100%}.small{font-size:12px}.mt{margin-top:20px}.mb{margin-bottom:18px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;width:36px;height:36px;border-radius:9px;color:var(--muted)}.icon-button:hover{background:var(--rose-light);color:var(--brand)}.btn{border:1px solid var(--line);border-radius:9px;min-height:42px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;background:#fff;color:var(--ink);line-height:1.3}.btn:hover{background:#f6f2ed;border-color:#d8c8bc}.btn.primary{background:var(--brand);border-color:var(--brand);color:white}.btn.primary:hover{background:var(--brand-dark)}.btn.soft{background:var(--rose-light);color:var(--brand);border-color:transparent}.btn.success{background:var(--green);color:#fff;border-color:var(--green)}.btn.danger{color:#ae4d43;border-color:#eed4cf}.btn.compact{min-height:34px;padding:7px 10px;font-size:12px}.btn svg{width:17px;height:17px}.text-button{background:none;border:0;color:var(--brand);font-weight:600;font-size:12px;display:inline-flex;align-items:center;gap:5px;padding:6px 0}.text-button:hover{text-decoration:underline}.pill{border-radius:6px;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;font-size:10px;font-weight:650;white-space:nowrap;background:#f1eeea;color:#786d62}.pill:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.pill.PRONTO{background:var(--orange-light);color:var(--orange)}.pill.RECOLHIDO,.pill.RECOLHIDA{background:#f0ebf6;color:#856699}.pill.EM_TRANSITO{background:var(--blue-light);color:var(--blue)}.pill.ENTREGUE,.pill.CONCLUIDA{background:var(--green-light);color:var(--green)}.pill.NAO_ENTREGUE,.pill.CANCELADO{background:#faeeeb;color:#ac6055}.pill.RETORNANDO{background:var(--rose-light);color:var(--brand)}.priority{color:var(--rose);display:inline-flex;gap:4px;align-items:center;font-size:11px;font-weight:600}.priority .icon{width:13px;height:13px}.badge{border:1px solid var(--line);padding:3px 7px;border-radius:5px;font-size:10px;color:var(--muted)}
.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#fff;border-right:1px solid var(--line);padding:28px 20px 20px;z-index:20;display:flex;flex-direction:column}.brand-lockup{display:flex;gap:11px;align-items:center;margin:1px 2px 34px}.brand-mark{background:var(--brand);width:43px;height:47px;border-radius:14px 14px 4px 4px;display:grid;place-items:center;font-family:Georgia,serif;color:#f9eee3;font-size:29px}.brand-name{font-family:Georgia,serif;letter-spacing:1.1px;font-size:14px;line-height:1.35}.brand-name small{font-family:"Segoe UI",sans-serif;font-size:9px;text-transform:uppercase;letter-spacing:2.8px;color:var(--muted)}.nav-label{color:#aaa098;font-size:9px;text-transform:uppercase;letter-spacing:1.8px;font-weight:650;margin:0 14px 12px}.nav-items{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;font-size:13px;color:#8b8179;background:none;border:0;width:100%;text-align:left}.nav-item.active{color:var(--brand);background:var(--rose-light);font-weight:650}.nav-item:hover{background:#f7f3ef}.nav-item .icon{width:19px;height:19px}.nav-count{margin-left:auto;background:#fff;padding:2px 6px;border-radius:5px;font-size:10px}.sidebar-note{margin-top:auto;background:var(--paper);padding:16px;border-radius:12px;color:#9b877c;font-size:11px;line-height:1.8}.sidebar-note .icon{margin-bottom:8px;color:var(--rose)}.sidebar-note strong{display:block;color:var(--brand);font-size:12px;font-weight:600;margin-bottom:3px}.profile{border-top:1px solid var(--line);margin-top:22px;padding:20px 2px 0;display:flex;align-items:center;gap:9px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-family:Georgia,serif;font-size:15px;color:var(--brand);background:var(--rose-light)}.profile-name{font-size:11px;font-weight:650;max-width:108px;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:10px;color:var(--muted)}.profile .icon-button{margin-left:auto}.main{margin-left:226px;min-height:100vh}.topbar{height:76px;padding:0 38px;background:rgba(255,255,255,.7);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px}.breadcrumb .icon{width:15px;height:15px}.breadcrumb strong{color:var(--ink);font-weight:500}.sync{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--green)}.sync-dot{height:6px;width:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px var(--green-light)}.sync.offline{color:#ac6055}.sync.offline .sync-dot{background:#ac6055;box-shadow:0 0 0 3px #faeeeb}.content{max-width:1550px;margin:auto;padding:33px 38px 30px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:27px}.page-heading p{font-size:12px;color:var(--muted);margin-top:8px}.page-heading .eyebrow{margin-bottom:9px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.day-control{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:23px}.date-picker{display:flex;gap:3px;align-items:center;background:white;border:1px solid var(--line);border-radius:9px;padding:2px 4px}.date-picker input{border:0!important;box-shadow:none!important;background:transparent;font-weight:600;font-size:12px;width:143px;padding:9px 6px;min-height:34px}.day-links{display:flex;gap:4px;align-items:center}.day-links button{background:transparent;border:0;border-radius:7px;color:var(--muted);font-size:11px;padding:8px 11px}.day-links button.selected{background:var(--rose-light);color:var(--brand);font-weight:600}.date-description{font-size:12px;color:var(--muted);text-transform:capitalize}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 17px;position:relative;overflow:hidden}.stat-label{font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:center;justify-content:space-between}.stat-label .icon{width:17px;height:17px;color:#b5a697}.stat-number{font-family:Georgia,serif;font-size:32px;line-height:1.1;margin-top:12px}.stat-sub{font-size:10px;color:#a0968c;margin-top:8px}.stat.stat-finished{background:#f0f5ef;border-color:#dfe9de}.stat.stat-finished .stat-number,.stat.stat-finished .stat-label .icon{color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;align-items:start;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.panel-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:20px}.panel-head p{font-size:11px;color:var(--muted);margin-top:4px}.panel-body{padding:22px}.filterbar{padding:15px 20px;display:flex;gap:10px;border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center}.search-field{display:flex;align-items:center;gap:7px;flex:1;min-width:130px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:#fff}.search-field .icon{width:16px;height:16px;color:#a29990}.search-field input{border:0;min-width:0;width:100%;outline:none;padding:9px 0;font-size:11px}.filterbar select{max-width:185px;font-size:11px;min-height:35px;padding:7px 25px 7px 10px}.view-switch{display:flex;gap:2px;border:1px solid var(--line);border-radius:7px;padding:2px}.view-switch .icon-button{width:28px;height:28px;border-radius:5px}.view-switch .active{background:var(--rose-light);color:var(--brand)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:12px 20px;background:#fcfbf9;font-weight:500;font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:#9a9188;white-space:nowrap}td{padding:17px 20px;border-top:1px solid #f1ede8;font-size:12px;vertical-align:middle}td .sub{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5}tr.order-row{cursor:pointer}tr.order-row:hover{background:#fdfbf8}.order-customer{display:flex;align-items:center;gap:10px}.order-customer .avatar{font-family:inherit;font-size:11px;background:#f6f1eb;width:31px;height:34px;border-radius:8px}.order-customer strong{font-size:12px;font-weight:600}.table-footer{border-top:1px solid var(--line);padding:13px 20px;color:var(--muted);font-size:10px;display:flex;justify-content:space-between;gap:10px}.empty{padding:44px 25px;text-align:center}.empty-icon{width:58px;height:58px;border-radius:19px;background:var(--paper);color:#b59d8c;display:grid;place-items:center;margin:0 auto 17px}.empty-icon .icon{width:27px;height:27px}.empty h3{font-family:Georgia,serif;font-size:21px;font-weight:400}.empty p{font-size:12px;color:var(--muted);max-width:330px;margin:10px auto 20px}.empty.compact{padding:27px 20px}.empty.compact h3{font-size:17px}.empty.compact p{font-size:11px}.empty.compact .empty-icon{width:42px;height:42px;margin-bottom:13px;border-radius:13px}.route-summary{padding:18px 20px;border-bottom:1px solid var(--line)}.route-summary:last-child{border:0}.route-summary h3{font-size:12px}.route-summary .hint{font-size:10px}.load-bar{height:5px;border-radius:10px;background:#eee8df;overflow:hidden;display:flex;margin:12px 0 7px;gap:3px}.load-bar span{flex:1;border-radius:3px;background:#ede7df}.load-bar span.filled{background:#b5957f}.section-label{font-size:11px;color:var(--muted);margin:19px 0 10px}.tip-card{padding:21px;background:#eee5da;border:1px solid #e6dbce;border-radius:14px;position:relative;overflow:hidden}.tip-card:after{content:'✳';position:absolute;right:-12px;bottom:-40px;font-size:130px;color:#e4d7c8;font-family:Georgia;pointer-events:none}.tip-card .eyebrow{font-size:9px;position:relative;z-index:1}.tip-card h2{font-size:22px;color:#79614e;line-height:1.3;margin:9px 0}.tip-card p{font-size:11px;color:#9a8068;max-width:205px;position:relative;z-index:1}.bottom-note{display:flex;justify-content:space-between;gap:12px;color:#b2a69a;font-size:9px;margin-top:26px;letter-spacing:.3px}.notice{background:var(--orange-light);border:1px solid #f1e0c5;color:#88672f;padding:13px 16px;border-radius:10px;font-size:12px;line-height:1.65;display:flex;align-items:flex-start;gap:10px}.notice .icon{margin-top:2px;width:17px;height:17px}.notice.info{background:#f3efea;border-color:#e7ded3;color:#8e7564}.onboarding{padding:18px 22px;background:#faf7f2;border-bottom:1px solid var(--line)}.onboarding-title{font-size:12px;font-weight:600;margin-bottom:11px}.onboarding-steps{display:flex;gap:18px;flex-wrap:wrap}.step{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.step-number{width:20px;height:20px;display:grid;place-items:center;background:#e9dfd1;border-radius:50%;font-size:10px;color:#8b725a}.step.done .step-number{background:var(--green-light);color:var(--green)}.board{display:grid;grid-template-columns:repeat(4,minmax(215px,1fr));gap:14px;overflow:auto;padding:20px;background:#fcfbf9}.board-column{min-width:0}.board-title{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:600;margin-bottom:13px;color:var(--muted)}.board-title span{background:#eee9e2;border-radius:5px;padding:1px 5px;font-size:10px}.order-card{background:#fff;border:1px solid var(--line);padding:15px;border-radius:10px;margin-bottom:10px;cursor:pointer}.order-card:hover{border-color:#cdb6a8}.order-card h3{font-size:12px;margin:9px 0 5px}.order-card p{font-size:11px;color:var(--muted);margin-bottom:12px}.order-card .small{color:#a29486;font-size:10px}.board-empty{font-size:11px;color:#b2a89e;text-align:center;border:1px dashed var(--line);padding:30px 10px;border-radius:10px}
.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.route-card-head{padding:21px 24px;border-bottom:1px solid var(--line)}.route-card-head h2{font-size:23px}.route-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:12px}.route-meta span{display:flex;gap:5px;align-items:center}.route-meta .icon{width:14px;height:14px}.route-stops{padding:10px 24px}.stop{position:relative;padding:16px 0 16px 35px;border-bottom:1px solid #f2eee9}.stop:last-child{border-bottom:0}.stop:before{content:'';position:absolute;left:11px;top:37px;bottom:-15px;width:1px;background:var(--line)}.stop:last-child:before{display:none}.stop-index{position:absolute;left:0;top:17px;width:23px;height:23px;display:grid;place-items:center;background:var(--paper);border:1px solid var(--line);border-radius:50%;color:var(--brand);font-size:10px}.stop.done .stop-index{background:var(--green-light);color:var(--green);border-color:#d7e7db}.stop h3{font-size:12px;margin-bottom:5px}.stop p{font-size:11px;color:var(--muted)}.stop .pill{margin-top:7px}.stop.origin h3{color:var(--muted);font-weight:500}.stop.origin .stop-index .icon{width:13px;height:13px}.route-footer{padding:16px 24px;border-top:1px solid var(--line);background:#fdfbf8;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.driver-container{max-width:720px;margin:auto}.driver-hero{padding:24px;background:var(--brand);color:#fff;border-radius:15px;margin-bottom:20px}.driver-hero .eyebrow{color:#dbc5b5}.driver-hero h1{font-size:30px;margin:9px 0}.driver-hero p{font-size:12px;color:#e1d1c5}.driver-progress{height:5px;background:#9a8173;border-radius:6px;margin-top:20px;overflow:hidden}.driver-progress span{height:100%;display:block;background:#ecded0}.driver-hero .between{margin-top:9px;font-size:10px;color:#dfcdbf}.next-stop{border:1px solid #d7c3b3;border-radius:14px;background:#fff;overflow:hidden;margin-bottom:22px}.next-stop-head{padding:15px 22px;background:#f4ebe1;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--brand)}.next-stop-body{padding:24px}.next-stop-body h2{font-size:29px}.next-stop-body p{font-size:13px;color:var(--muted);margin-top:8px}.delivery-items{padding:14px 16px;background:var(--paper);border-radius:9px;font-size:13px;margin:18px 0;line-height:1.6;white-space:pre-wrap}.driver-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.driver-actions .btn{min-height:47px}.driver-actions .wide{grid-column:1/-1}.driver-route{margin-bottom:20px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px}.settings-section h3{font-size:13px;margin-bottom:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.field>label{font-size:11px;font-weight:600;color:#74675c}.field small{font-size:10px;color:var(--muted);line-height:1.6}input:not([type=checkbox]),select,textarea{border:1px solid #e2dbd1;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);min-height:41px;width:100%;font-size:12px}input::placeholder,textarea::placeholder{color:#b5aaa0}textarea{resize:vertical;min-height:85px;line-height:1.6}input[type=checkbox]{accent-color:var(--brand);width:16px;height:16px}.check-field{display:flex;gap:8px;align-items:center;font-size:12px}.form-divider{height:1px;background:var(--line);margin:23px 0}.form-section-title{font-family:Georgia,serif;font-size:19px;margin-bottom:15px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.inline-form{display:flex;gap:8px;align-items:end}.inline-form .field{flex:1}.coordinate-fields{border:1px solid var(--line);border-radius:9px;padding:13px 15px;background:#fdfbf8;margin-top:14px}.coordinate-fields summary{cursor:pointer;color:var(--muted);font-size:11px}.coordinate-fields .form-grid{margin-top:14px}.geocode-results{display:grid;gap:7px;margin-top:10px}.geocode-result{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:11px;text-align:left;line-height:1.6;color:var(--brand)}.geocode-result:hover{background:var(--rose-light)}.user-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:17px 0}.user-row:first-child{padding-top:0}.user-row:last-child{border:0;padding-bottom:0}.user-row .user-info{flex:1}.user-row strong{font-size:12px}.user-row p{font-size:10px;color:var(--muted);margin-top:4px}.user-actions{display:flex;gap:4px}.settings-help{background:#f5f0e9;padding:18px;border-radius:11px;margin-top:20px}.settings-help h3{font-size:12px;margin-bottom:7px}.settings-help p{font-size:11px;color:#93806e}.modal-overlay{position:fixed;inset:0;background:rgba(39,30,24,.4);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.modal{background:#fff;border-radius:17px;width:720px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;box-shadow:0 20px 100px #36271b30}.modal.wide{width:950px}.modal.narrow{width:460px}.modal-header{padding:23px 27px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-header h2{font-size:26px}.modal-header p{font-size:11px;color:var(--muted);margin-top:6px}.modal-body{padding:25px 27px;overflow:auto;overscroll-behavior:contain}.modal-footer{padding:16px 27px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#fdfbf8;border-radius:0 0 17px 17px}.modal-footer .hint{margin-right:auto;max-width:350px;font-size:10px}.form-error{background:#faeeeb;color:#a05245;border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.6;margin:12px 0}.form-error:empty{display:none}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin:24px 0}.detail-label{color:#a09589;font-size:10px;letter-spacing:.6px;text-transform:uppercase;margin-bottom:6px}.detail-value{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.timeline{padding-left:17px;border-left:1px solid var(--line);display:grid;gap:20px;margin:20px 0 0 7px}.timeline-item{position:relative;font-size:11px;line-height:1.6}.timeline-item:before{content:'';position:absolute;left:-21px;top:5px;width:7px;height:7px;background:#b79c88;border:2px solid #fff;border-radius:50%}.timeline-item strong{font-size:11px;font-weight:600}.timeline-item p{color:var(--muted);font-size:10px}.preview-summary{display:flex;gap:20px;font-size:12px;color:var(--muted);margin-bottom:20px}.preview-summary strong{color:var(--brand)}.preview-route{border:1px solid var(--line);border-radius:12px;padding:17px 20px;margin:14px 0}.preview-route h3{font-size:13px}.preview-stop{display:flex;gap:10px;align-items:flex-start;padding-top:12px;font-size:11px}.preview-stop .badge{min-width:22px;text-align:center}.preview-stop p{color:var(--muted);font-size:10px}.modal-open{overflow:hidden}#toast-root{position:fixed;bottom:24px;right:24px;z-index:200;display:grid;gap:10px;max-width:400px}.toast{background:var(--brand-dark);color:white;border-radius:11px;padding:15px 20px;font-size:12px;line-height:1.6;box-shadow:0 10px 40px #36271b20;animation:appear .2s ease}.toast.error{background:#9e5648}.auth-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-art{background:var(--brand);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#f7ecdf;position:relative;overflow:hidden}.auth-art:before,.auth-art:after{content:'';position:absolute;border:1px solid #9c8171;border-radius:50%;width:540px;height:540px;left:-330px;top:-200px}.auth-art:after{left:auto;top:auto;bottom:-260px;right:-200px;width:640px;height:640px}.auth-logo{width:260px;height:260px;object-fit:contain;position:relative;z-index:1;mix-blend-mode:lighten}.auth-art h2{font-size:43px;line-height:1.22;max-width:360px;text-align:center;margin:14px 0 20px}.auth-art p{text-align:center;font-size:13px;color:#d6c3b5;max-width:315px}.auth-art .auth-foot{position:absolute;bottom:30px;font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#c9b3a4}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form{width:350px;max-width:100%}.auth-form h1{margin-top:12px;font-size:35px}.auth-form>p{font-size:12px;color:var(--muted);margin:13px 0 29px}.auth-form form{display:grid;gap:17px}.auth-form .btn{margin-top:5px;min-height:45px}.auth-caption{font-size:10px;color:#a99c8f;border-top:1px solid var(--line);padding-top:18px;margin-top:26px;line-height:1.7}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px}.loading-screen img{width:100px;border-radius:20px}.loading-screen p{font-size:13px;color:var(--muted)}.mobile-nav{display:none}.network-banner{background:#faeeeb;color:#a05245;padding:10px 18px;font-size:12px;text-align:center}.print-only{display:none}@keyframes appear{from{transform:translateY(7px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1600px){.content{padding-top:40px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 325px}.stat-grid{gap:19px}.stat{padding:22px}.page-heading{margin-bottom:30px}}
@media(max-width:1200px){.sidebar{width:192px;padding:25px 14px}.main{margin-left:192px}.content{padding:28px 24px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.stat-grid{gap:9px}.stat{padding:15px 12px}.stat-label{font-size:10px}.stat-label .icon{display:none}td,th{padding-left:14px;padding-right:14px}.destination-col{display:none}.settings-grid{gap:17px}.heading-actions .btn{padding:10px 12px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:start}.destination-col{display:table-cell}.settings-grid{grid-template-columns:1fr}.route-grid{gap:15px}.route-stops{padding:8px 17px}.route-card-head,.route-footer{padding:17px}.page-heading{align-items:flex-start}.page-heading h1{font-size:32px}.heading-actions{justify-content:flex-end;max-width:240px}.stat-sub{font-size:9px}.auth-art{padding:35px}.auth-art h2{font-size:36px}}
@media(max-width:760px){.sidebar{display:none}.main{margin-left:0}.topbar{height:57px;padding:0 18px}.breadcrumb{font-size:11px}.topbar .topbar-place{display:none}.content{padding:24px 17px 90px}.page-heading{margin-bottom:21px}.page-heading h1{font-size:30px}.page-heading p{font-size:11px}.heading-actions{max-width:150px}.heading-actions .secondary-action{display:none}.heading-actions .btn{font-size:11px;padding:10px 12px}.day-control{gap:10px;flex-wrap:wrap;margin-bottom:18px}.date-description{display:none}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:19px}.stat{padding:13px 11px}.stat:nth-child(4),.stat:nth-child(5){grid-column:auto}.stat-label{font-size:9px}.stat-number{font-size:26px;margin-top:9px}.stat-sub{font-size:8px}.stat-grid .stat:first-child{grid-row:auto;display:flex;flex-direction:column;justify-content:center;background:#f0e8dd;border-color:#e8dbcc}.stat:first-child .stat-number{font-size:26px}.stat:first-child .stat-label{font-size:10px}.dashboard-aside{grid-template-columns:1fr}.tip-card{display:none}.panel-head{padding:18px}.panel-head h2{font-size:19px}.filterbar{padding:12px 14px;gap:7px}.filterbar select{max-width:140px}.filterbar .view-switch{display:none}.table-wrap table{min-width:0}.destination-col,.items-col{display:none}.table-wrap th,.table-wrap td{padding:14px 12px}.table-wrap th{font-size:8px}.order-customer{gap:8px}.order-customer .avatar{display:none}.order-customer strong{font-size:11px}.order-customer .sub{font-size:9px}.table-wrap .pill{font-size:9px;white-space:normal}.table-footer{padding:12px 14px;font-size:9px}.table-footer span:last-child{display:none}.onboarding{padding:16px}.onboarding-steps{display:grid;gap:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:flex;z-index:30;justify-content:space-around;padding:9px 7px max(9px,env(safe-area-inset-bottom))}.mobile-nav button{background:none;border:0;display:flex;flex-direction:column;gap:4px;align-items:center;color:#a0958a;font-size:9px;padding:3px 10px;border-radius:9px;min-width:58px}.mobile-nav button.active{color:var(--brand);background:var(--rose-light)}.mobile-nav .icon{width:19px;height:19px}.bottom-note{display:none}.route-grid{grid-template-columns:1fr}.route-card-head,.route-footer{padding:18px}.route-stops{padding:7px 18px}.modal-overlay{padding:10px;align-items:center}.modal{max-height:calc(100dvh - 20px);border-radius:13px}.modal-header{padding:18px}.modal-header h2{font-size:23px}.modal-body{padding:19px 18px}.modal-footer{padding:14px 18px;flex-wrap:wrap}.modal-footer .hint{width:100%;max-width:none}.form-grid{gap:14px}.form-grid .mobile-full{grid-column:1/-1}.detail-grid{gap:16px}.detail-value{font-size:12px}.auth-screen{grid-template-columns:1fr}.auth-art{display:none}.auth-form-wrap{padding:35px 25px}.auth-form-wrap:before{content:'S';position:absolute;top:35px;left:25px;width:41px;height:45px;display:grid;place-items:center;background:var(--brand);color:white;font-family:Georgia,serif;font-size:28px;border-radius:13px 13px 3px 3px}.auth-form{padding-top:60px}.auth-form h1{font-size:33px}.user-row{flex-wrap:wrap}.user-actions{margin-left:auto}.driver-hero{padding:22px}.driver-hero h1{font-size:28px}.next-stop-body{padding:21px}.driver-actions .btn{font-size:12px}.driver-container .page-heading{flex-wrap:wrap}.driver-container .page-heading .heading-actions{max-width:none}.driver-container .date-picker{max-width:100%}#toast-root{bottom:82px;left:16px;right:16px;max-width:none}.preview-summary{gap:10px;font-size:11px;flex-wrap:wrap}.preview-route{padding:15px}.board{padding:14px}.network-banner{font-size:11px}.sync{font-size:10px}.settings-help p{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,.heading-actions,.day-control,.route-footer,.bottom-note,.btn,.icon-button,.sync,.modal-overlay,#toast-root{display:none!important}.main{margin:0}.content{padding:0}.route-grid{display:block}.route-grid>.panel{break-inside:avoid;margin-bottom:20px}.route-stops{padding:10px 20px}.page-heading{margin-bottom:18px}.print-only{display:block}body{background:#fff}.panel{box-shadow:none}}
/* Mensagens não bloqueiam a operação, inclusive em telas pequenas. */
#toast-root{pointer-events:none}
.search-field input[type=search]{border:0;box-shadow:none;padding:9px 0;background:transparent;font-size:11px;min-height:35px}
.import-order{border:1px solid var(--line);border-radius:12px;padding:16px;margin:14px 0;background:#fdfbf8}.import-select{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.route-map-panel{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;min-height:520px}.route-map-head{padding:17px 18px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center;justify-content:space-between}.route-map-panel iframe{display:block;border:0;width:100%;height:465px}.map-setup{padding:24px}.map-setup p{font-size:12px;color:var(--muted);margin:10px 0 18px}
.editable-stop,.sequence-row{align-items:center}.preview-stop-main{flex:1;min-width:0}.sequence-buttons{margin-left:auto;display:flex;gap:2px}.sequence-buttons .icon-button{width:32px;height:32px;border:1px solid var(--line);background:#fff}.sequence-buttons .icon-button:disabled{opacity:.3}.sequence-editor{display:grid;gap:8px}.sequence-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fdfbf8}.sequence-row strong{font-size:12px}.sequence-row p{font-size:10px;color:var(--muted);margin-top:3px}
.pill.PRONTO.pickup-ready{background:#e7e0f5!important;color:#62468c!important}.pill.PRONTO.delivery-ready{background:#dcefe2!important;color:#267044!important}.stat-filter{font:inherit;text-align:left;cursor:pointer}.stat-filter.pickup{background:#f3eff9}.stat-filter.delivery{background:#eef7f1}
.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;overflow:hidden;padding:14px}.board-title{margin-bottom:9px}.order-card{padding:11px;margin-bottom:7px;min-width:0}.order-card h3{font-size:11px;margin:6px 0 3px;overflow-wrap:anywhere}.order-card p{font-size:10px;margin-bottom:8px;overflow-wrap:anywhere}.order-card .small{font-size:9px;overflow-wrap:anywhere}.order-card .pill{font-size:9px;padding:4px 6px;white-space:normal}.board-empty{padding:20px 8px;font-size:10px}@media(max-width:1350px){.board{grid-template-columns:repeat(3,minmax(0,1fr))}}
.order-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.route-badge{display:inline-flex;align-items:center;gap:4px;background:#e8eef8;color:#3f628f;border-radius:6px;padding:3px 6px;font-size:9px;font-weight:700;white-space:nowrap}.route-badge .icon{width:11px;height:11px}
.workspace-tabs{height:52px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:end;padding:0 38px;gap:4px;overflow-x:auto}.workspace-tab{display:inline-flex;align-items:center;gap:7px;border:1px solid transparent;border-bottom:0;background:transparent;color:#8b8179;padding:13px 15px 12px;border-radius:9px 9px 0 0;font-size:12px;white-space:nowrap}.workspace-tab:hover{background:#f8f4f0}.workspace-tab.active{background:var(--paper);border-color:var(--line);color:var(--brand);font-weight:700;position:relative}.workspace-tab.active:after{content:'';position:absolute;height:2px;left:11px;right:11px;bottom:-1px;background:var(--brand)}.workspace-tab .icon{width:15px;height:15px}.workspace-tab small{font-size:8px;border-radius:5px;padding:2px 4px;background:#f2ede7;color:#9c8e81}.module-side-note{display:grid;gap:8px;background:var(--paper);border-radius:10px;padding:15px 14px;font-size:11px;color:var(--muted);line-height:1.5}.module-side-note .icon{color:var(--brand);width:21px;height:21px}.module-side-note strong{color:var(--brand);font-size:13px}.module-intro{max-width:760px;padding:26px 0 30px}.module-intro .module-icon{width:49px;height:49px;border-radius:14px;background:var(--rose-light);display:grid;place-items:center;color:var(--brand);margin-bottom:19px}.module-intro .module-icon .icon{width:25px;height:25px}.module-intro h1{font-size:42px;margin:9px 0 12px}.module-intro p{font-size:14px;line-height:1.75;color:var(--muted);max-width:650px}.module-roadmap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.module-roadmap article{border:1px solid var(--line);background:#fff;border-radius:13px;padding:21px}.module-roadmap span{font-family:Georgia,serif;color:#b89b88;font-size:18px}.module-roadmap h2{font-size:16px;margin:18px 0 7px}.module-roadmap p,.module-next p{font-size:11px;line-height:1.6;color:var(--muted)}.module-next{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:18px}.module-next h2{font-size:17px;margin-bottom:7px}
@media(max-width:760px){.workspace-tabs{height:45px;padding:0 14px;align-items:end}.workspace-tab{padding:10px 11px 9px;font-size:10px}.workspace-tab small{display:none}.workspace-tab .icon{width:13px;height:13px}.module-intro{padding:14px 0 22px}.module-intro h1{font-size:34px}.module-intro p{font-size:12px}.module-roadmap{grid-template-columns:1fr;gap:9px}.module-roadmap article{padding:16px}.module-roadmap h2{margin:9px 0 4px}.module-next{padding:18px;align-items:start;flex-direction:column}}

.stat-grid.route-stat-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.route-stat-grid .stat-number{font-size:32px}

.preparation-reminder{margin-bottom:25px;border-color:#e8d9bb;background:#fffdf8}.preparation-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;padding:12px 20px 16px}.preparation-day{min-width:0;border-bottom:1px solid var(--line)}.preparation-day:last-child{border-bottom:0}.preparation-day>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;padding:12px 0;color:var(--ink)}.preparation-day>summary::-webkit-details-marker{display:none}.preparation-day>summary>span:first-child{display:flex;align-items:baseline;gap:12px;min-width:0}.preparation-day>summary strong{font-size:14px}.preparation-summary{font-size:12px;color:var(--muted)}.preparation-summary-right{display:flex;align-items:center;gap:10px;flex-shrink:0}.preparation-chevron{font-size:22px;line-height:14px;color:var(--muted);transition:transform .15s ease}.preparation-day[open] .preparation-chevron{transform:rotate(180deg)}.preparation-details{padding:0 0 14px}.preparation-orders{max-height:320px;overflow:auto;margin:4px 0 12px}.preparation-order{padding:12px 0;border-bottom:1px solid var(--line)}.preparation-order .between{flex-wrap:wrap;gap:8px}.preparation-items{white-space:pre-line;font-size:12px;margin:8px 0}.preparation-order .notice{margin-top:8px}@media(max-width:760px){.preparation-days{grid-template-columns:minmax(0,1fr);padding:8px 16px 12px}.preparation-reminder .panel-head h2{font-size:19px}.preparation-day>summary>span:first-child{display:block}.preparation-summary{display:block;margin-top:4px}.preparation-summary-right .badge{font-size:11px}}

/* Wedding orders: the floral accent stays clear of the primary text. */
tr.wedding-order,.order-card.wedding-order{background-image:url('/static/img/wedding-florals.svg'),linear-gradient(105deg,#fffaf3,#f8ece8);background-position:right top,center;background-size:125px 98px,cover;background-repeat:no-repeat;}
tr.wedding-order>td{background-color:transparent;}
tr.wedding-order:hover{background-color:#f4e6de;}
.order-card.wedding-order{border-color:#dfc9bb;box-shadow:inset 3px 0 #c7a38b;background-size:88px 69px,cover;}
.order-card.wedding-order h3{padding-right:42px;}
.wedding-badge{display:inline-flex;align-items:center;border:1px solid #d9bda7;border-radius:20px;background:#fff8ee;color:#86604c;padding:3px 9px;font-size:10px;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;font-weight:700;}
.duplicate-note{display:block;color:#8b7b70;font-size:11px;line-height:1.4;margin-top:5px;max-width:240px;}
@media(max-width:700px){tr.wedding-order{background-size:78px 61px,cover;}}
.search-panel{margin-bottom:18px}.search-form{padding:20px}.search-form .form-grid{align-items:end}.search-submit{justify-content:flex-end}.search-submit .btn{min-height:41px}.search-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}.search-stats .stat{min-height:112px}.search-results{margin-top:22px}.reveal-order{background-image:url('/static/img/reveal-pastels.svg'),linear-gradient(105deg,#fffafd,#f5f4ff)!important;background-position:right top,center!important;background-size:150px 105px,cover!important;background-repeat:no-repeat!important;border-color:#d9d2eb!important}.reveal-badge{display:inline-flex;align-items:center;border:1px solid #c8c8e2;border-radius:20px;background:linear-gradient(90deg,#f2ddea,#e3edfb);color:#756c91;padding:3px 9px;font-size:10px;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;font-weight:700;margin-left:6px}.search-results .reveal-badge{display:inline-flex}@media(max-width:760px){.search-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.search-form{padding:16px}}.search-history-field{max-width:640px;margin:0 auto;padding:3px 6px 3px 12px}.search-history-field input{font-size:12px;padding:9px 5px}.search-history-field .icon-button{width:32px;height:32px;color:var(--brand);flex-shrink:0}.search-help{text-align:center;margin-top:8px;font-size:10px}
.search-fields{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 150px 1.7fr;gap:9px;align-items:end}.search-mini{display:flex;flex-direction:column;gap:5px;min-width:0}.search-mini>span{font-size:10px;color:var(--muted);font-weight:600}.search-mini input{min-height:35px;padding:7px 9px;font-size:11px}.search-keywords .search-field{min-width:0;padding:0 4px 0 8px}.search-keywords .search-field input{border:0;padding-left:5px}.search-keywords .search-field .icon{width:14px}.search-keywords .icon-button{width:29px;height:29px}.search-form .search-help{margin-bottom:0}@media(max-width:1100px){.search-fields{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.search-fields{grid-template-columns:1fr 1fr}.search-keywords{grid-column:1/-1}}

button.pickup-complete{font:inherit;cursor:pointer;border:1px solid currentColor}button.pickup-complete:hover{filter:brightness(.94)}button.pickup-complete:focus-visible{outline:3px solid #74519c;outline-offset:3px}button.pickup-complete:disabled{opacity:.6;cursor:wait}
