:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#15231d;background:#f3f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell,.auth{max-width:1060px;margin:auto;padding:24px 18px 48px}.auth{max-width:480px;padding-top:8vh}.top,.brand,.order-top,.order-bottom,.availability{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{justify-content:flex-start;font-size:19px}.brand small{display:block;font-size:12px;color:#78857c;font-weight:500}.mark{width:44px;height:44px;display:grid;place-items:center;background:#126b50;color:#cbf36a;font-size:25px;border-radius:14px;font-weight:800}.link{background:none;border:0;color:#126b50;font:inherit;font-weight:700;cursor:pointer}.panel{background:white;border:1px solid #e3eae3;border-radius:20px;padding:23px;margin:18px 0;box-shadow:0 8px 25px #14291b08}.welcome{background:#126b50;color:white;border-radius:22px;padding:25px 28px;margin:24px 0 16px}.welcome p{color:#d9e7de;margin:6px 0 0}.welcome h1,.panel h1{margin:11px 0 6px;font-size:clamp(25px,4vw,36px);line-height:1.15}.panel h2{margin:0 0 14px;font-size:20px}.tag{display:inline-block;background:#e9f3e7;color:#28603d;font-size:11px;font-weight:800;letter-spacing:.04em;padding:6px 10px;border-radius:999px}.tag.warn{background:#fff0d8;color:#82571e}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid .panel{margin:0}.panel label{display:block;font-size:13px;font-weight:700;margin:13px 0}.panel input,.panel textarea,.panel select{display:block;width:100%;margin-top:6px;border:1px solid #dce5dc;border-radius:11px;padding:12px 13px;font:inherit;background:#fff}.panel textarea{min-height:75px;resize:vertical}.primary,.secondary{background:#126b50;color:white;border:0;border-radius:11px;padding:12px 16px;font:inherit;font-weight:800;cursor:pointer}.primary{width:100%;margin-top:8px}.primary.compact,.secondary.compact{width:auto;margin:8px 0;padding:10px 14px}.secondary{background:#eaf2eb;color:#126b50}.switch{display:flex;gap:8px;margin-bottom:20px}.switch button{flex:1;background:#f0f4ef;border:0;border-radius:10px;padding:11px;font:inherit;font-weight:750;color:#607067;cursor:pointer}.switch .selected{background:#15231d;color:white}.hint,.muted,.auth-foot,footer{color:#718077;font-size:13px}.auth-foot{text-align:center}.order{border:1px solid #e3eae3;border-radius:14px;padding:14px;margin:11px 0}.order-top{font-size:14px}.badge{font-size:11px;padding:5px 8px;border-radius:99px;background:#edf3e9;color:#315d31;font-weight:800}.badge.open{background:#fff1d9;color:#81561b}.badge.accepted{background:#e9f0ff;color:#304f83}.badge.done{background:#e5f5e8;color:#216138}.route{font-size:13px;line-height:1.8;color:#36463c;margin:12px 0}.route span{display:inline-block;font-size:10px;font-weight:800;color:#126b50;width:76px;letter-spacing:.04em}.order-bottom{font-size:12px;color:#66746a;flex-wrap:wrap}.stack{max-height:620px;overflow:auto}.empty{padding:20px;border:1px dashed #ced9ce;border-radius:12px;text-align:center;color:#77847a;font-size:14px}.commission{display:grid;gap:4px;padding:14px;background:#edf5e9;border-radius:13px;margin:12px 0 16px}.commission small{color:#58715d;font-size:12px}.commission b{font-size:24px;color:#126b50}.availability{margin:16px 0}.availability h2{margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stats div{background:white;border:1px solid #e3eae3;border-radius:15px;padding:16px}.stats small,.stats b{display:block}.stats small{color:#718077;font-size:12px}.stats b{font-size:23px;margin-top:6px}.hidden{display:none!important}.loading{padding:35px;text-align:center;color:#126b50}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#15231d;color:white;padding:12px 16px;border-radius:12px;transition:.2s;max-width:90vw;z-index:5}.toast.show{opacity:1;transform:translate(-50%,0)}footer{text-align:center;margin-top:28px;font-size:12px}
@media(max-width:700px){.grid{grid-template-columns:1fr}.shell{padding:17px 13px 40px}.panel{padding:18px}.welcome{padding:22px}.stats{grid-template-columns:1fr}.availability{align-items:flex-start;flex-direction:column}.top{padding:2px}}

.fare-minimum{display:block;margin-top:7px;line-height:1.45}

.customer-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.danger{background:#b7352d;color:white;border:0;border-radius:11px;padding:10px 14px;font:inherit;font-weight:800;cursor:pointer;margin:8px 0;width:auto}.danger:hover{background:#932a24}



.availability-actions{display:flex;gap:8px;flex-wrap:wrap}.availability-actions button{white-space:nowrap}@media(max-width:640px){.availability-actions{width:100%}.availability-actions button{flex:1}}

.top-actions{display:flex;align-items:center;gap:10px}.app-qr-button{width:42px;height:42px;padding:0;display:grid;place-items:center;border:1px solid #dce5dc;border-radius:12px;background:#fff;color:#126b50;cursor:pointer}.app-qr-button:hover,.app-qr-button:focus-visible{background:#edf5e9;outline:2px solid #126b50;outline-offset:2px}.app-qr-icon{width:22px;height:22px}.qr-dialog{width:min(92vw,360px);max-width:360px;padding:0;border:0;border-radius:22px;color:#15231d;box-shadow:0 20px 60px #09140d55}.qr-dialog::backdrop{background:#101d15aa}.qr-dialog-inner{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 24px 24px}.qr-dialog h2{margin:14px 0 6px;font-size:22px}.qr-dialog p{margin:0;color:#718077;font-size:14px}.qr-image{display:block;width:min(72vw,240px);height:auto;margin:16px auto;border:8px solid #fff;background:#fff;image-rendering:pixelated}.qr-close{position:absolute;top:10px;right:13px;border:0;background:transparent;color:#526057;font-size:28px;line-height:1;cursor:pointer}.qr-link{display:inline-block;padding:11px 18px;border-radius:11px;background:#126b50;color:#fff;text-decoration:none;font-weight:800}

.theme-toggle{width:38px;height:38px;flex:0 0 38px;padding:0;display:grid;place-items:center;border:1px solid #dce5dc;border-radius:12px;background:#fff;color:#126b50;cursor:pointer}.theme-toggle svg{width:19px;height:19px}.theme-toggle:hover,.theme-toggle:focus-visible{background:#edf5e9;outline:2px solid #126b50;outline-offset:2px}.top-actions{gap:6px}.app-qr-button{width:38px;height:38px;flex:0 0 38px}
:root[data-theme="dark"]{color-scheme:dark;color:#e6eee8;background:#101713}
:root[data-theme="dark"] body{background:#101713;color:#e6eee8}
:root[data-theme="dark"] .panel,:root[data-theme="dark"] .stats div,:root[data-theme="dark"] .order{background:#18231d;border-color:#34443a;color:#e6eee8;box-shadow:none}
:root[data-theme="dark"] .welcome{background:#174b39;color:#eff8f1}
:root[data-theme="dark"] .welcome p{color:#d0e5d7}
:root[data-theme="dark"] .brand small{color:#aab8ae}
:root[data-theme="dark"] .link{color:#a9e8bd}
:root[data-theme="dark"] .tag{background:#294537;color:#d0ead8}
:root[data-theme="dark"] .tag.warn{background:#594520;color:#ffe2a9}
:root[data-theme="dark"] .panel input,:root[data-theme="dark"] .panel textarea,:root[data-theme="dark"] .panel select{background:#101a14;color:#edf4ef;border-color:#394b40}
:root[data-theme="dark"] .panel input::placeholder,:root[data-theme="dark"] .panel textarea::placeholder{color:#9caca1}
:root[data-theme="dark"] .secondary{background:#2a3a30;color:#dcece0}
:root[data-theme="dark"] .switch button{background:#27372d;color:#c3d0c7}
:root[data-theme="dark"] .switch .selected{background:#d7ebdd;color:#153d2c}
:root[data-theme="dark"] .hint,:root[data-theme="dark"] .muted,:root[data-theme="dark"] .auth-foot,:root[data-theme="dark"] footer,:root[data-theme="dark"] .stats small{color:#aab8ae}
:root[data-theme="dark"] .badge{background:#2a3a30;color:#d8e8dd}
:root[data-theme="dark"] .badge.open{background:#493a20;color:#ffe0a0}
:root[data-theme="dark"] .badge.accepted{background:#293957;color:#cbdcff}
:root[data-theme="dark"] .badge.done{background:#24452e;color:#c4f0ce}
:root[data-theme="dark"] .route{color:#d7e2da}
:root[data-theme="dark"] .route span{color:#8bd7a6}
:root[data-theme="dark"] .order-bottom{color:#b6c3ba}
:root[data-theme="dark"] .empty{border-color:#3b4b40;color:#aebbb2}
:root[data-theme="dark"] .commission{background:#1d3527}
:root[data-theme="dark"] .commission small{color:#c0d6c6}
:root[data-theme="dark"] .commission b{color:#9ee0b5}
:root[data-theme="dark"] .loading{color:#9ee0b5}
:root[data-theme="dark"] .theme-toggle,:root[data-theme="dark"] .app-qr-button{background:#1b2921;color:#e2eee6;border-color:#394b40}
:root[data-theme="dark"] .theme-toggle:hover,:root[data-theme="dark"] .app-qr-button:hover{background:#26392d}
:root[data-theme="dark"] .qr-dialog{background:#18231d;color:#e6eee8}
:root[data-theme="dark"] .qr-dialog p,:root[data-theme="dark"] .qr-close{color:#b5c4b9}
:root[data-theme="dark"] .qr-image{background:#fff;border-color:#fff}

.customer-list-scroll{max-height:360px;overflow-y:scroll;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#126b50 #edf3ed;-webkit-overflow-scrolling:touch}.customer-list-scroll::-webkit-scrollbar{width:10px}.customer-list-scroll::-webkit-scrollbar-track{background:#edf3ed;border-radius:8px}.customer-list-scroll::-webkit-scrollbar-thumb{background:#126b50;border:2px solid #edf3ed;border-radius:8px}.customer-phone{margin:6px 0 0}.customer-list-scroll .customer-actions{justify-content:flex-end}
:root[data-theme="dark"] .customer-list-scroll{scrollbar-color:#6ba984 #1c2c22}:root[data-theme="dark"] .customer-list-scroll::-webkit-scrollbar-track{background:#1c2c22}:root[data-theme="dark"] .customer-list-scroll::-webkit-scrollbar-thumb{background:#6ba984;border-color:#1c2c22}

.app-brand-icon{width:44px;height:44px;display:block;flex:0 0 44px;object-fit:cover;border-radius:14px;background:#126b50}

/* Aviso público configurado pela administração */
.customer-notice{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0 0 16px;border-radius:12px;background:#dff6e7;color:#124c34;overflow:hidden}
.customer-notice strong{flex:none}
.notice-window{overflow:hidden;flex:1;min-width:0;white-space:nowrap}
.notice-window span{display:inline-block;min-width:100%;padding-left:100%;animation:notice-scroll 18s linear infinite}
@keyframes notice-scroll{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.notice-window{white-space:normal}.notice-window span{animation:none;padding-left:0;min-width:0}}
