@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#243b36;background:#f5f7f6;font-synthesis:none;line-height:1.55;font-size:15px;--green:#126252;--green-dark:#0c4c40;--line:#e3eae6;--muted:#71817b;--soft:#eaf3ee;--shadow:0 6px 24px #163c2e06}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #79b9a6;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #71a997;outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.3}h2{font-size:19px;line-height:1.4}h3{font-size:16px}small{font-size:12px}p{overflow-wrap:anywhere}strong{font-weight:650}[hidden]{display:none!important}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:9px;background:white;color:#344b43;font-weight:600;line-height:1.35;white-space:normal;text-align:center;transition:background .15s,box-shadow .15s}.button:hover{background:#f0f5f2}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:var(--green-dark)}.button.danger{background:#b9473e;color:white;border-color:#b9473e}.button.danger-outline{color:#a3433b;background:#fff;border-color:#ead5d0}.button.text-button{border:0;background:transparent;color:var(--green);padding:8px 10px}.button.icon-button{width:44px;padding:0;border:0;background:transparent;font-size:25px;font-weight:400;flex-shrink:0}.button.full{width:100%}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.button-row.centered{justify-content:center}.subtle{color:var(--muted);font-size:13px}.eyebrow{display:block;color:#638275;font-size:12px;font-weight:650;letter-spacing:2px;margin-bottom:10px}.badge{display:inline-flex;align-items:center;align-self:center;white-space:nowrap;font-size:11px;font-weight:600;padding:4px 9px;border-radius:5px;background:#edf1ed;color:#627c6e}.badge.green{background:#e7f3eb;color:#27744f}.badge.amber{background:#fbf1df;color:#986423}.badge.muted{background:#eff0ef;color:#7d8581}.brand{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:700;letter-spacing:3px}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;border-radius:12px;width:42px;height:42px;font-size:29px;letter-spacing:0;line-height:1}.brand small{display:block;letter-spacing:1.5px;font-weight:400;font-size:10px;color:#779286;line-height:1.15;margin-top:1px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.page-description{color:#74837b;font-size:14px;margin:9px 0 18px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 14px}.source-note{font-size:11px;color:#819087;line-height:1.7;text-align:center;padding:18px 0}.update-bar{display:flex;align-items:center;gap:7px;color:#7b8b82;font-size:11px;min-height:44px;margin-bottom:12px}.update-bar>span:nth-child(2){flex:1}.update-bar .button{font-size:12px;flex-shrink:0}.live-dot{width:6px;height:6px;border-radius:50%;background:#64a18c;flex-shrink:0}.update-bar.has-error{color:#a45d2d;background:#fff7e9;border-radius:8px;padding:0 8px}.has-error .live-dot{background:#d39b44}.inline-note{background:#edf5f0;color:#527161;border-radius:8px;padding:13px;font-size:13px}.form-error{background:#fff1ed;border:1px solid #f0d4cc;color:#a34436;border-radius:8px;padding:12px;font-size:13px;line-height:1.6}.form-error .button{margin-top:10px}.spinner{display:inline-block;width:25px;height:25px;border:2px solid #d4e3db;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.gate{position:fixed;inset:0;z-index:100;background:#f5f7f6;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px;gap:18px}.gate h1{font-size:24px}.gate p{max-width:370px;color:var(--muted)}.gate-symbol{display:grid;place-items:center;background:var(--green);color:white;width:54px;height:54px;border-radius:16px;font-size:36px}.toast{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);z-index:500;background:#173e34;color:white;border-radius:10px;padding:13px 20px;max-width:min(480px,90vw);width:max-content;box-shadow:0 5px 30px #0002;font-size:14px}.empty{border:1px dashed #d5e2d9;border-radius:14px;text-align:center;padding:44px 22px;background:#ffffff82}.empty-mark{display:grid;place-items:center;margin:0 auto 18px;background:#e9f1eb;color:#759780;border-radius:50%;height:50px;width:50px;font-size:25px}.empty h3{font-size:17px}.empty p{color:var(--muted);font-size:13px;margin:10px auto 18px;max-width:350px}
/* Sign in */
.auth-layout{display:grid;grid-template-columns:minmax(360px,.95fr) 1.05fr;min-height:100dvh;background:#fafbf9}.auth-story{background:#123f35;color:#f8fcf6;padding:54px 10%;position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-story .brand-mark{background:#edf3cf;color:#294d39}.auth-story .brand small{color:#a9c3b5}.story-copy{margin-top:100px;position:relative;z-index:1}.story-copy h1{font-size:52px;white-space:pre-line;line-height:1.4;letter-spacing:1px;font-weight:550}.story-copy .eyebrow{color:#b3c891;margin-bottom:22px}.story-copy p{white-space:pre-line;color:#b4c9bf;font-size:15px;line-height:1.9;margin-top:22px}.story-footer{margin-top:auto;color:#73998a;font-size:12px;padding-top:200px}.road-art{position:absolute;width:430px;height:270px;bottom:90px;left:23%;border:1px solid #91ae712d;border-radius:110px;transform:rotate(-22deg)}.road-art:before,.road-art:after{content:"";position:absolute;inset:33px;border:1px dashed #bbc89a50;border-radius:100px}.road-art:after{inset:65px;border:1px solid #91ae7133}.road-art i{position:absolute;left:28px;top:10px;width:16px;height:16px;border:4px solid #b2ca8e;border-radius:50%;background:#123f35;box-shadow:0 0 0 10px #91ae711c}.road-art i:nth-child(2){left:auto;right:25px;top:auto;bottom:15px}.road-art span{position:absolute;top:-20px;left:55px;font-size:11px;color:#b0c596;transform:rotate(22deg)}.road-art span:last-child{top:auto;left:auto;right:55px;bottom:-12px}.auth-panel{display:flex;justify-content:center;align-items:center;padding:44px}.auth-card{width:100%;max-width:370px}.auth-card h2{font-size:30px}.auth-intro{color:var(--muted);font-size:13px;line-height:1.8;margin:12px 0 25px}.auth-form{display:flex;flex-direction:column;gap:18px;margin-top:25px}.auth-form>.button{margin-top:6px;min-height:48px}.segmented{display:flex;background:#edf1ed;padding:4px;border-radius:10px;gap:3px}.segmented .button{border:0;background:transparent;flex:1;font-size:13px;min-height:38px;padding:9px}.segmented .selected{background:white;box-shadow:0 2px 6px #18382a09;color:var(--green)}.auth-help{font-size:12px;color:#7a8a81;text-align:center;margin-top:25px}.mobile-brand{display:none}
/* Shared fields and dialogs */
.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field-label{font-size:13px;color:#405a4d;font-weight:550}.required{color:#9ba99e}.field input,.field textarea,.field select{min-width:0;max-width:100%;width:100%;border:1px solid #dbe4dd;border-radius:8px;padding:11px 12px;background:white;color:#263f31;min-height:46px;user-select:text;-webkit-user-select:text}.field input::placeholder,.field textarea::placeholder{color:#a0aaa3;font-size:13px}.field textarea{resize:vertical;line-height:1.7}.field-hint{font-size:11px;color:#8a958d;line-height:1.6}.field.wide{grid-column:1/-1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dialog-form{padding:22px;display:flex;flex-direction:column;gap:19px}.dialog-form fieldset{border:0;border-bottom:1px solid var(--line);padding:0 0 23px;margin:0;min-width:0}.dialog-form fieldset:last-of-type{border:0;padding:0}.dialog-form legend{padding:0 0 16px;font-size:14px;font-weight:650;color:#285644}.dialog-form fieldset>.field+.field{margin-top:18px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding-top:15px;border-top:1px solid var(--line);margin-top:4px}.order-form .dialog-actions{position:sticky;bottom:-1px;background:#fff;padding:16px 0;margin-bottom:-14px;z-index:2}.dialog-header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:23px 22px 18px;border-bottom:1px solid var(--line);background:#fff}.dialog-header h2{font-size:21px}.dialog-header p{color:var(--muted);font-size:12px;margin-top:6px}.dialog-header .icon-button{margin:-10px -12px 0 0;color:#748379}.modal-loading{display:flex;gap:14px;align-items:center;justify-content:center;padding:60px 20px;color:var(--muted);font-size:13px}dialog{border:1px solid #dae5dc;border-radius:16px;padding:0;color:inherit;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);box-shadow:0 24px 80px #112d3429;background:white}dialog::backdrop{background:#142b2bcc;backdrop-filter:blur(3px)}dialog.wide-dialog{width:min(740px,calc(100% - 32px))}.detail-actions{padding:20px 22px;background:#f8faf7;border-top:1px solid var(--line)}.detail-actions .button.primary{width:100%;min-height:48px}.detail-actions .button-row .button.primary{width:auto}.intent-copy{font-size:13px;color:#68816f;margin-bottom:16px}.detail-actions .form-error{margin-bottom:15px}.confirmation-note{color:var(--green)}.confirmation-note p{font-size:13px;margin-top:5px;color:#698672}
/* Driver orders */
.driver-header{height:88px;max-width:1000px;margin:auto;padding:20px 26px;display:flex;justify-content:space-between;align-items:center}.driver-header .brand{font-size:24px}.account-button{font-size:11px;font-weight:500;border:0;color:#638272;max-width:54%;padding:8px;background:transparent}.driver-main{max-width:948px;margin:0 auto;padding:24px 24px 12px}.driver-main>.page-heading{margin-top:12px}.count-bubble{background:#e7efe7;color:#547253;font-size:13px;border-radius:8px;padding:9px 13px;white-space:nowrap}.date-nav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 0 13px}.date-nav::-webkit-scrollbar{display:none}.button.date-chip{flex:0 0 auto;display:flex;flex-direction:column;gap:2px;min-width:81px;padding:10px 14px;border-color:transparent;color:#6e8175;background:#fff}.date-chip strong{font-size:13px}.date-chip small{font-size:10px;font-weight:400}.button.date-chip.selected{background:#175e4e;color:white}.info-strip{display:flex;gap:8px;align-items:center;color:#829082;font-size:11px;margin:4px 0 17px}.info-strip span{font-size:14px;color:#8f9d76}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.order-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:var(--shadow);min-width:0;position:relative}.order-body{padding:22px;overflow-wrap:anywhere}.order-top{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-bottom:15px}.order-number{color:#6e8179;letter-spacing:.3px;font-size:12px;overflow-wrap:anywhere;min-width:0}.service-date{display:flex;gap:13px;align-items:baseline;color:#263e32;font-size:18px}.service-time{font-size:22px;letter-spacing:.3px}.timezone{font-size:10px;color:#88968b;margin-top:3px;margin-bottom:22px;overflow-wrap:anywhere}.route{position:relative}.route:before{content:"";position:absolute;width:1px;top:14px;bottom:29px;left:5px;background:#dee6dc}.route-row{display:flex;gap:14px;position:relative;padding-bottom:19px;align-items:flex-start}.route-row:last-child{padding-bottom:0}.route-dot{width:11px;height:11px;flex:0 0 11px;border:3px solid #6c9b7b;border-radius:50%;margin-top:4px;background:#fff}.dropoff .route-dot{border-color:#b5a878}.route-label{font-size:10px;color:#8c998f;display:block;line-height:1.5}.route-row p{font-size:15px;line-height:1.65;font-weight:500;margin-top:2px}.order-meta{display:flex;gap:0;align-items:center;margin:20px 0 0;font-size:12px;color:#788576}.order-meta span+span{border-left:1px solid #dce4d9;margin-left:13px;padding-left:13px}.order-notes{margin-top:17px;border-top:1px solid #edf0e9;padding-top:13px;font-size:12px;line-height:1.8;white-space:pre-wrap}.order-notes>span{color:#84917f;font-size:10px}.order-notes p{color:#6e7e6a;margin-top:2px}.order-notes.compact p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.order-card-footer{border-top:1px solid #edf0e9;padding:13px 19px;display:flex;gap:6px;align-items:center;justify-content:space-between}.order-card-footer .button{font-size:12px;padding:10px 13px}.order-card-footer>.subtle{font-size:10px}.order-card-footer>.badge{font-size:10px;padding:5px 7px}.protected-orders{position:relative;isolation:isolate;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.watermarks{position:absolute;inset:0;z-index:5;overflow:hidden;pointer-events:none;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:115px;align-items:center;opacity:.085;color:#274d34}.watermarks span{font-size:10px;white-space:nowrap;transform:rotate(-22deg);text-align:center;letter-spacing:.2px;pointer-events:none}.bottom-nav{display:flex;justify-content:center;gap:50px;width:100%;background:#fff;border-top:1px solid #e6ebe4;position:fixed;bottom:0;z-index:10;padding:8px 12px max(8px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px #25432803}.bottom-nav .button{flex-direction:column;gap:1px;font-size:11px;border:0;border-radius:8px;min-width:82px;color:#96a097;font-weight:500;background:transparent;padding:4px}.bottom-nav .button.active{color:var(--green)}.nav-icon{font-size:24px;line-height:1.25;font-family:Arial,sans-serif}.driver-footer{margin:auto;text-align:center;padding:10px 20px 110px;font-size:10px;color:#a0aa9e}.calendar-layout{display:grid;grid-template-columns:310px 1fr;gap:24px;align-items:start}.calendar-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px 15px 0}.calendar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.calendar-heading h2{font-size:16px}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-week{text-align:center;color:#9ca797;font-size:11px;padding:0 0 8px}.calendar-day.button{padding:6px 0 3px;border:0;min-height:47px;flex-direction:column;gap:0;font-size:13px;border-radius:7px;font-weight:500;background:transparent}.calendar-day small{font-size:9px;color:#bcc5b5;line-height:1.5}.calendar-day.has-orders{background:#edf4e9;color:#3b7047}.calendar-day.has-orders small{color:#6d975d}.calendar-day.selected.button{background:var(--green);color:white}.calendar-day.selected small{color:#d9e6c9}.calendar-summary{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e7;margin-top:13px;padding-top:6px;font-size:11px;color:#809077}.calendar-summary .button{font-size:11px}.calendar-card .source-note{font-size:10px;padding:4px 0 14px}.calendar-orders>.section-heading{margin:0 0 14px}.calendar-orders h2{font-size:16px}.day-group{margin-bottom:24px}.day-group h3{display:flex;justify-content:space-between;margin-bottom:10px;color:#6e836a;font-size:12px;font-weight:500}.day-group h3 span{font-weight:400;color:#9aa892}.day-group .order-card+.order-card{margin-top:14px}.profile-card{padding:30px 24px;border:1px solid var(--line);border-radius:14px;background:#fff;max-width:520px;margin:24px auto;text-align:center}.avatar{display:grid;place-items:center;height:64px;width:64px;border-radius:50%;background:#e9f0dd;color:#627b43;font-size:24px;margin:0 auto 14px}.avatar.small{height:40px;width:40px;font-size:17px;margin:0;flex-shrink:0}.profile-card h2{margin-bottom:8px}.profile-facts{display:grid;grid-template-columns:auto 1fr;gap:15px;text-align:left;font-size:13px;padding:25px 0;margin:15px 0 0;border-top:1px solid var(--line)}.profile-facts dt{color:#91a087}.profile-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.privacy-note{max-width:520px;margin:24px auto;color:#839176;font-size:12px}.privacy-note h3{font-size:13px;color:#5f7953;margin-bottom:9px}.privacy-note+.button{max-width:520px;display:flex;margin:auto}
/* Admin workspace */
.admin-shell{min-height:100dvh;display:grid;grid-template-columns:216px minmax(0,1fr)}.admin-sidebar{background:#fcfdfb;border-right:1px solid var(--line);padding:32px 20px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.admin-sidebar>.brand{padding:2px 9px}.workspace-label{font-size:10px;color:#9ba58f;margin:32px 14px 13px;letter-spacing:1px}.admin-sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar-link.button{justify-content:flex-start;gap:14px;border:0;background:transparent;color:#7c8c71;font-size:13px;padding:13px 15px}.sidebar-link>span{font-size:20px;line-height:1}.sidebar-link.active.button{background:#eaf2e7;color:#326845}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;border-top:1px solid var(--line);padding:23px 9px 0;align-items:flex-start;font-size:13px}.sidebar-bottom .subtle{font-size:11px;margin-bottom:12px}.sidebar-bottom .button{min-height:35px;padding-left:0;font-size:12px}.admin-main{padding:0 44px;max-width:1500px;width:100%;margin:auto}.admin-topbar{height:84px;border-bottom:1px solid var(--line);margin-bottom:36px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8a967e}.admin-main h1{font-size:31px}.admin-main .page-description{margin-bottom:0}.admin-main .page-heading{margin-bottom:27px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px}.stat-card{background:#fff;padding:21px 24px;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:7px}.stat-card>span{font-size:12px;color:#7b8f71}.stat-card strong{font-size:34px;line-height:1.25;color:#315b37;font-weight:600}.stat-card small{color:#a0aa94;font-size:10px}.admin-main .update-bar{margin-bottom:5px}.filters-heading{margin-top:17px}.filter-tabs{display:flex;flex-wrap:wrap;gap:2px}.filter-tabs .button{min-height:38px;font-size:11px;background:transparent;border-color:transparent;padding:8px 13px;color:#8d9a7c}.filter-tabs .selected.button{color:#48723c;background:#e9f0df}.admin-order-list{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.admin-order-row{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:24px;align-items:center;padding:25px 23px;border-bottom:1px solid #e9eee3}.admin-order-row:last-child{border-bottom:0}.admin-order-date{display:flex;flex-direction:column;gap:3px;border-right:1px solid #e7ece0}.admin-order-date strong{font-size:14px}.admin-order-date>span{font-size:22px;font-weight:500;line-height:1.3}.admin-order-date small{font-size:10px;color:#919e81}.admin-order-info{min-width:0}.admin-order-info .order-top{justify-content:flex-start;margin-bottom:9px;gap:13px}.admin-order-info .order-number{font-size:11px}.admin-route{font-size:14px;line-height:1.75;font-weight:550;margin-bottom:6px}.admin-route>span{color:#aab79a;font-weight:400;margin:0 6px}.admin-order-row>.button{font-size:12px}.admin-order-info>.subtle{font-size:11px}.admin-footer{text-align:center;font-size:10px;color:#a0aa96;padding:36px 0}.driver-list{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.driver-row{display:flex;align-items:center;gap:15px;padding:22px;border-bottom:1px solid var(--line)}.driver-row:last-child{border:0}.driver-row-info{flex:1;min-width:0}.driver-row-info .subtle{font-size:12px;margin-top:4px}.driver-row>.button-row .button{font-size:12px}.audit-list{list-style:none;margin:25px 0 0;padding:24px 28px;background:white;border:1px solid var(--line);border-radius:13px}.audit-event{display:flex;gap:18px;padding:0 0 25px;position:relative}.audit-event:last-child{padding-bottom:0}.audit-event:before{content:"";position:absolute;top:13px;bottom:0;left:4px;width:1px;background:#e0e8d8}.audit-event:last-child:before{display:none}.audit-dot{width:9px;height:9px;background:#99b281;border:2px solid #f0f5ea;flex-shrink:0;border-radius:50%;margin-top:7px;position:relative}.audit-event>div{flex:1;min-width:0}.audit-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.audit-heading strong{font-size:13px}.audit-heading time{font-size:10px;color:#99a389;white-space:nowrap}.audit-event p{font-size:12px;margin:6px 0;color:#80906c}.audit-event small{font-size:10px}.interest-list{display:flex;flex-direction:column;gap:16px}.interest-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.interest-person{flex:1;min-width:120px;display:flex;flex-direction:column;gap:5px}.interest-person .subtle{font-size:10px}.interest-person .badge{align-self:flex-start}.interest-row>.button{font-size:11px}.assignment-person{display:flex;align-items:baseline;gap:12px;background:#eef4e8;padding:20px;border-radius:10px}.assignment-person strong{font-size:23px}.assignment-person span{font-size:12px;color:#869977}
@media(min-width:1400px){.admin-main{padding:0 64px}.admin-order-row{grid-template-columns:165px minmax(0,1fr) auto}.auth-story{padding-left:15%}}
@media(max-width:1000px){.admin-shell{grid-template-columns:180px minmax(0,1fr)}.admin-sidebar{padding:26px 13px}.admin-main{padding:0 25px}.admin-order-row{gap:18px;grid-template-columns:112px minmax(0,1fr) auto;padding:20px 17px}.filters-heading{flex-wrap:wrap}.calendar-layout{grid-template-columns:280px 1fr;gap:18px}.auth-story{padding:42px 12%}.story-copy h1{font-size:43px}.auth-panel{padding:35px}}
@media(max-width:700px){:root{font-size:15px}.auth-layout{display:block;background:#f7f9f5;min-height:100dvh}.auth-story{display:none}.auth-panel{padding:35px 26px;display:block}.auth-card{margin:auto}.mobile-brand{display:block;margin-bottom:50px}.auth-card h2{font-size:28px}.auth-card>.eyebrow{font-size:10px}.auth-intro{font-size:12px}.auth-form{gap:19px}.auth-card .source-note{margin-top:15px}.driver-header{height:76px;padding:18px 20px}.driver-header .brand{font-size:23px;gap:10px}.driver-header .brand-mark{height:37px;width:37px;border-radius:11px;font-size:26px}.driver-header .brand small{font-size:8px}.account-button{max-width:51%;font-size:10px;padding:7px 0 7px 8px}.driver-main{padding:21px 19px 0}h1{font-size:28px}.page-heading{margin-bottom:8px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:7px}.page-description{font-size:12px;line-height:1.8;margin:10px 0 8px}.count-bubble{font-size:11px;padding:8px 11px}.update-bar{font-size:10px;margin-bottom:7px}.order-grid{grid-template-columns:1fr;gap:16px}.order-body{padding:20px}.service-date{font-size:17px}.service-time{font-size:21px}.order-number{font-size:11px}.order-top .badge{font-size:10px}.timezone{font-size:9px;margin-bottom:19px}.route-row p{font-size:14px}.order-meta{font-size:11px}.order-notes{font-size:11px}.order-card-footer{padding:12px 16px}.date-nav{padding-bottom:12px;gap:7px}.button.date-chip{min-width:75px;padding:10px 13px}.date-chip strong{font-size:12px}.date-chip small{font-size:9px}.info-strip{font-size:10px;gap:6px;margin:3px 0 15px;align-items:flex-start}.bottom-nav{justify-content:space-around;gap:0;padding:8px 18px max(8px,env(safe-area-inset-bottom))}.bottom-nav .button{min-width:70px;font-size:10px}.nav-icon{font-size:23px}.driver-footer{padding-bottom:102px}.watermarks{opacity:.09}.watermarks span{font-size:8px}.calendar-layout{display:flex;flex-direction:column;gap:25px}.calendar-card,.calendar-orders{width:100%}.calendar-card{padding:13px 17px 0}.calendar-day.button{min-height:46px}.calendar-orders>.section-heading{margin-bottom:18px}.calendar-card .source-note{font-size:9px}.calendar-summary{font-size:10px}.driver-main .page-heading>.badge{font-size:9px;padding:5px 7px}.profile-card{margin-top:25px}.form-grid{grid-template-columns:1fr;gap:18px}.dialog-form{padding:20px}.dialog-header{padding:22px 20px 17px}.dialog-header h2{font-size:20px}.dialog-header p{font-size:11px}.dialog-actions .button{font-size:13px}.field input,.field select,.field textarea{font-size:16px}.field-label{font-size:12px}.field-hint{font-size:10px}dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:14px}dialog.wide-dialog{width:calc(100% - 24px)}.order-form .dialog-actions{margin-bottom:-14px}.detail-actions{padding:19px 20px}.intent-copy{font-size:12px}.detail-content .order-body{padding:22px 20px}.detail-content .order-notes{font-size:13px}.detail-content .source-note{font-size:9px;padding:2px 20px 17px}.admin-shell{display:block}.admin-sidebar{position:static;width:100%;height:auto;padding:18px 20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:15px}.admin-sidebar>.brand{padding:0;font-size:21px}.admin-sidebar .brand-mark{width:35px;height:35px;font-size:25px}.workspace-label{margin:0;font-size:10px}.admin-sidebar nav{grid-column:1/-1;flex-direction:row;gap:4px}.sidebar-link.button{flex:1;padding:9px 7px;justify-content:center;font-size:11px;gap:6px}.sidebar-link>span{font-size:17px}.sidebar-bottom{grid-column:1/-1;flex-direction:row;gap:12px;padding:10px 0 0;align-items:center;flex-wrap:wrap;font-size:11px}.sidebar-bottom .subtle{margin:0;font-size:9px}.sidebar-bottom .button{font-size:10px;min-height:34px;padding:6px}.admin-main{padding:0 19px}.admin-topbar{height:57px;margin-bottom:25px;font-size:9px}.admin-topbar>.badge{font-size:9px}.admin-main h1{font-size:26px}.admin-main .page-heading{align-items:flex-start;gap:10px;margin-bottom:21px}.admin-main .page-heading>.button{font-size:11px;white-space:nowrap;padding:10px 12px;margin-top:17px}.admin-main .page-description{font-size:10px}.stats-grid{gap:8px;margin-bottom:8px}.stat-card{padding:14px 12px;gap:6px;border-radius:9px}.stat-card>span{font-size:10px}.stat-card strong{font-size:27px}.stat-card small{font-size:8px}.filters-heading{margin-top:18px;gap:10px}.filters-heading h2{font-size:16px}.filter-tabs{width:100%}.filter-tabs .button{font-size:10px;padding:8px 12px;min-height:38px}.admin-order-row{grid-template-columns:84px minmax(0,1fr);gap:13px;padding:18px 15px}.admin-order-date strong{font-size:12px}.admin-order-date>span{font-size:19px}.admin-order-date small{font-size:8px}.admin-order-info .order-top{gap:8px;flex-wrap:wrap;margin-bottom:8px}.admin-order-info .order-number{font-size:9px}.admin-order-info .badge{font-size:8px;padding:3px 6px}.admin-route{font-size:12px}.admin-order-info>.subtle{font-size:10px}.admin-order-row>.button{grid-column:2;justify-self:end;font-size:10px;min-height:40px;padding:9px 15px}.driver-row{padding:18px 15px;flex-wrap:wrap;gap:10px}.driver-row-info .subtle{font-size:10px}.driver-row-info strong{font-size:13px}.driver-row>.button-row{width:100%;justify-content:flex-end}.driver-row>.button-row .button{font-size:11px;min-height:40px}.audit-list{padding:21px 17px}.audit-event{gap:12px}.audit-heading strong{font-size:12px}.audit-heading time{font-size:9px}.audit-event p{font-size:11px}.interest-row>.button{width:100%;margin-top:5px}.toast{font-size:12px;padding:12px 16px;bottom:100px}.profile-facts{font-size:12px}.privacy-note{font-size:11px}}
/* Keep the information drivers act on readable at the smallest supported width. */
@media(max-width:700px){.order-number{font-size:12px}.route-row p{font-size:15px}.order-meta{font-size:13px}.order-notes{font-size:13px}.order-notes>span,.route-label{font-size:11px}.order-top .badge,.order-card-footer>.badge{font-size:11px}.account-button{font-size:11px}.segmented .button,.filter-tabs .button,.sidebar-bottom .button,.driver-row>.button-row .button,.admin-order-row>.button{min-height:44px}.admin-order-info .order-number{font-size:11px}.admin-route{font-size:13px}.admin-order-info>.subtle{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{body>*{display:none!important}body:after{display:block;content:"订单仅供本人在线查看，请勿打印或转发。";padding:50px;color:#243b36;font-size:18px}}

/* Compact driver workspace. Keep 44px controls and the established private DOM. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.driver-header{height:56px;padding:6px 24px;max-width:948px;border-bottom:1px solid var(--line)}
.driver-title{font-size:17px;font-weight:700;letter-spacing:.3px}.driver-header .account-button{font-size:12px;max-width:65%;min-height:44px}
.driver-main{padding:16px 24px 12px}.home-heading{font-size:22px;letter-spacing:0;margin-bottom:10px}.compact-home .section-heading{margin:17px 0 5px}.compact-home h2{font-size:18px}
.agenda{border:1px solid #dce7de;border-radius:12px;background:white;overflow:hidden}.agenda-heading{display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:13px}.agenda-heading .button{font-size:12px;min-height:40px;padding:6px}
.agenda-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0 10px 8px}.agenda-tabs .button{border:0;background:#f3f5f1;justify-content:space-between;padding:8px 11px;font-size:13px;min-height:44px}.agenda-tabs .selected{background:#e5f1e8;color:var(--green)}.agenda-tabs strong{font-size:18px;font-variant-numeric:tabular-nums}
.agenda-list{max-height:232px;overflow-y:auto;overscroll-behavior:contain}.agenda-trip.button{display:flex;width:100%;gap:12px;border:0;border-top:1px solid #edf0e9;border-radius:0;text-align:left;justify-content:flex-start;padding:10px 12px;font-weight:400;background:#fff}.agenda-time{display:flex;flex-direction:column;flex-shrink:0;min-width:47px}.agenda-time strong{font-size:17px;color:#174c3c}.agenda-time small{font-size:11px;color:#758479}.agenda-route{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.agenda-route strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agenda-route small{font-size:11px;overflow-wrap:anywhere;color:#718276}.agenda-empty{font-size:13px;color:#7a887e;padding:10px 12px 14px;text-align:center}
.notification-panel{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid #d8e6db;background:#eef5ef;border-radius:10px;padding:10px 12px;margin:12px 0}.notification-copy{flex:1;min-width:0}.notification-copy strong{font-size:13px}.notification-copy p{font-size:12px;color:#5e7566;margin-top:3px;line-height:1.5}.notification-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.notification-actions .button{font-size:12px;min-height:44px;padding:8px 10px}.profile-card~.notification-panel{max-width:520px;margin:16px auto}
.dispatch-toolbar{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:7px}.dispatch-toolbar>.subtle{flex-shrink:0;font-size:12px;font-weight:600}.dispatch-toolbar .update-bar{margin:0;min-height:40px;font-size:10px}.dispatch-toolbar .update-bar .button{min-height:44px}.compact-home .date-nav{padding:1px 0 4px;gap:6px}.compact-home .date-chip.button{flex-direction:row;gap:6px;min-width:65px;min-height:44px;padding:8px 10px}.compact-home .date-chip strong{font-size:12px}.compact-home .date-chip small{font-size:11px}
.dispatch-hint{font-size:12px;color:#78867b;margin:0 0 10px}.dispatch-section.credit{border-top:1px solid #dfe5d9;margin-top:16px}.dispatch-section.credit h2{color:#756331}.compact-empty{padding:14px;background:#ffffff90;border:1px dashed #dce4db;border-radius:10px;font-size:13px;color:#7b887a;text-align:center}.compact-home .order-grid{gap:12px}.compact-home .order-body{padding:14px 15px}.compact-home .order-top{margin-bottom:9px}.compact-home .service-date{font-size:15px;gap:10px}.compact-home .service-time{font-size:20px}.compact-home .timezone{font-size:11px;margin:2px 0 10px}.compact-home .route-row{padding-bottom:9px;gap:10px}.compact-home .route-row:last-child{padding-bottom:0}.compact-home .route-row p{font-size:14px;line-height:1.5;margin:0}.compact-home .route-label{font-size:11px}.compact-home .order-meta{font-size:12px;margin-top:10px}.compact-home .order-notes{margin-top:9px;padding-top:7px;font-size:12px}.compact-home .order-card-footer{padding:7px 12px}.compact-home .order-card-footer .button{min-height:44px}.compact-home .source-note{font-size:11px;padding:12px 0}
.bottom-nav{gap:22px;padding:6px 12px max(6px,env(safe-area-inset-bottom));min-height:66px}.bottom-nav .button{min-height:48px;min-width:90px;color:#718176;font-size:12px}.bottom-nav .contact-support{color:var(--green);background:#eaf3ed;border:1px solid #d9e9dd}.contact-support .nav-icon{font-family:inherit}.driver-footer{padding-bottom:calc(94px + env(safe-area-inset-bottom));font-size:11px}
/* Private asynchronous chat: composer remains stable while orders/messages poll. */
.chat-dialog{width:min(540px,calc(100% - 24px));height:min(780px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden}.chat-dialog[open]{display:flex;flex-direction:column}.chat-dialog .dialog-header{padding:14px 16px 10px;flex-shrink:0}.chat-dialog .dialog-header h2{font-size:19px}.chat-dialog .dialog-header p{font-size:12px}.chat-content{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 14px max(12px,env(safe-area-inset-bottom))}.chat-status-row{display:flex;align-items:center;gap:7px;flex-shrink:0}.chat-status{flex:1;font-size:11px;line-height:1.45;color:#718575}.chat-status.has-error{color:#a44335}.chat-status-row .button{padding:6px;min-height:40px;flex-shrink:0;font-size:11px}.chat-log{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:6px 0 12px;display:flex;flex-direction:column;gap:12px;border-block:1px solid #ebefe9}.chat-empty{text-align:center;color:#85927f;font-size:13px;padding:25px 8px}.chat-message{align-self:flex-start;max-width:91%;border-radius:11px 11px 11px 2px;border:1px solid #e3e9df;background:#f3f6ef;padding:9px 11px;min-width:65px}.chat-message.own{align-self:flex-end;background:#e5f2e8;border-color:#d6e8d9;border-radius:11px 11px 2px 11px}.chat-message-meta{display:flex;gap:16px;justify-content:space-between;font-size:10px;color:#778970;margin-bottom:4px}.chat-message-meta time{white-space:nowrap}.chat-text{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}.chat-message.failed{background:#fff3ee;border-color:#eecfc3}.send-status{font-size:11px;color:#667960;margin-top:6px}.failed .send-status{color:#a24231}.chat-message .button{font-size:12px;min-height:44px;margin-top:5px}.chat-audio{display:flex;flex-direction:column;gap:5px;max-width:100%}.chat-audio audio{width:265px;max-width:100%;height:42px}.chat-audio .button{align-self:flex-end;min-height:32px;padding:3px 6px;margin:0}.chat-privacy{font-size:11px;color:#76836d;line-height:1.5;margin:8px 0}.chat-compose{display:flex;align-items:stretch;gap:8px}.chat-compose textarea{width:100%;min-width:0;resize:none;min-height:51px;max-height:110px;border:1px solid #d7e1d2;border-radius:9px;padding:9px;font-size:16px;line-height:1.4}.chat-compose>.button{flex-shrink:0;min-width:61px;font-size:13px}.voice-compose{position:relative;display:flex;flex-direction:column;flex-shrink:0}.voice-compose>.text-button{font-size:12px;align-self:flex-start;min-height:38px;padding:5px 0}.hold-to-talk.button{width:100%;min-height:48px;background:#f0f4ec;border-color:#d4dfce;color:#2f5133;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer}.hold-to-talk:active{background:#dcebd8}.voice-hint{font-size:11px;color:#71806a;text-align:center;margin-top:6px;min-height:17px}.record-indicator{position:absolute;z-index:4;bottom:100%;left:0;right:0;margin-bottom:8px;background:#1e5b42;color:white;padding:20px 14px;border-radius:12px;text-align:center;font-size:14px;box-shadow:0 8px 30px #12362330;pointer-events:none}.record-indicator.cancel-recording{background:#ad4235}
@media(max-width:700px){.driver-header{height:52px;padding:4px 16px}.driver-main{padding:12px 14px 0}.driver-main>.page-heading{margin-top:0}.driver-main .page-heading .eyebrow{display:none}.home-heading{font-size:20px;margin-bottom:8px}.notification-panel{flex-wrap:wrap;gap:6px;padding:9px 10px;margin:10px 0}.notification-copy{flex-basis:100%}.notification-actions{width:100%}.notification-actions .button{flex:1;padding:7px;font-size:12px}.notification-actions .text-button{flex:0 0 auto;padding-inline:8px}.dispatch-toolbar{gap:4px}.dispatch-toolbar .update-bar{font-size:10px;gap:5px}.dispatch-toolbar .update-bar .button{font-size:11px;padding:6px}.bottom-nav{gap:5px;justify-content:space-between;padding:5px 10px max(5px,env(safe-area-inset-bottom))}.bottom-nav .button{min-width:0;flex:1;font-size:11px;min-height:50px}.nav-icon{font-size:21px}.bottom-nav .contact-support{flex:1.35}.driver-footer{padding-top:12px}.profile-card{margin-top:16px;padding:22px 18px}.agenda-tabs .button{padding-inline:9px}.chat-dialog{width:calc(100% - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.chat-content{padding-inline:12px}.chat-message{max-width:95%}.chat-audio audio{width:250px}}
@media(max-width:360px){.driver-header .account-button{font-size:11px}.notification-actions .button{font-size:11px}.dispatch-toolbar>.subtle{display:none}.dispatch-toolbar .update-bar{width:100%}.agenda-route small{font-size:10px}.chat-audio audio{width:225px}}

/* Phase A: 72px opportunities, with full private details on row activation. */
.compact-order-list{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.compact-order-row.button{display:flex;width:100%;height:72px;min-height:72px;gap:10px;padding:9px 11px;border:0;border-bottom:1px solid #e9eee5;border-radius:0;background:#fff;text-align:left;justify-content:flex-start;font-weight:400;overflow:hidden}
.compact-order-row:last-child{border-bottom:0}.compact-order-row:hover{background:#f1f7f1}.compact-order-row:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
.compact-order-date{display:flex;flex-direction:column;gap:2px;flex:0 0 65px}.compact-order-date strong{font-size:19px;line-height:1.3;font-variant-numeric:tabular-nums;color:#24573e}.compact-order-date small{font-size:11px;white-space:nowrap;color:#738273}
.compact-order-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.compact-order-top,.compact-order-meta{display:flex;align-items:center;gap:7px;min-width:0;line-height:1.4}.compact-order-top>strong{font-size:13px;white-space:nowrap}.compact-order-top .driver-payout{margin-left:auto;color:#285b40;font-size:14px;overflow:hidden;text-overflow:ellipsis}.compact-order-meta{font-size:12px;color:#6e7e6d;white-space:nowrap}.compact-luggage{overflow:hidden;text-overflow:ellipsis}.consent-label{font-size:10px;color:#896629;flex-shrink:0;margin-left:auto}.row-chevron{font-size:19px;color:#81907d;flex-shrink:0}
.badge.urgent-badge{padding:1px 4px;min-width:18px;line-height:16px;font-size:10px;color:#a63829;background:#fff0e8;border:1px solid #eecac0;border-radius:4px}
.compact-home .section-heading{margin:9px 0 5px;min-height:24px}.compact-home h2{font-size:15px}.compact-home .section-heading>.subtle{font-size:12px}.dispatch-section.credit{margin-top:10px}.dispatch-counts{font-size:12px;white-space:nowrap;color:#536c55}.compact-date-filter{height:34px;max-width:100%;font:inherit;font-size:13px;border:1px solid #dce4d8;border-radius:7px;background:#fff;color:#39533d;padding:4px 9px}.compact-home .compact-empty{padding:9px;font-size:12px}
.compact-home .agenda-heading{height:32px}.compact-home .agenda-heading .button{min-height:32px}.compact-home .agenda-tabs{padding-bottom:6px}.compact-home .agenda-tabs .button{min-height:38px;padding-block:5px}.compact-home .agenda-tabs strong{font-size:16px}.compact-home .agenda-list{max-height:72px}.compact-home .agenda-empty{padding:5px 10px 9px;font-size:12px}.compact-home .source-note{padding:9px 0;font-size:10px}
.home-notification-slot[hidden]{display:none}.home-notification-hint.button{display:block;min-height:32px;padding:5px 0;margin:0;border:0;background:none;font-size:11px;color:#687e62;text-align:left}
@media(max-width:360px){.compact-order-row.button{gap:7px;padding-inline:8px}.compact-order-date{flex-basis:59px}.compact-order-top{gap:4px}.compact-order-top>strong{font-size:12px}.compact-order-top .driver-payout{font-size:12px}.compact-order-meta{gap:5px;font-size:11px}}
/* ASR adds text below the same playable voice bubble. Private drafts live in
   the composer, never in the conversation log. */
.message-transcription { margin-top: .6rem; padding-top: .5rem; border-top: 1px solid #cbd5e1; }
.message-transcription small { color: #52636d; }
.private-draft { display: grid; gap: .6rem; padding: 1rem; margin-top: .7rem; border: 1px solid #b4c8ba; border-radius: 12px; background: #f5faf6; }
.private-draft textarea { width: 100%; min-height: 90px; box-sizing: border-box; font: inherit; padding: .6rem; }
.voice-compose select { max-width: 100%; padding: .5rem; font: inherit; }

/* 0.4.1: scope all viewport/composer changes to chat, leaving other dialogs alone. */
dialog.chat-dialog{position:fixed;inset:auto;margin:0;top:calc(var(--chat-top,0px) + max(0px,(var(--chat-height,100dvh) - 780px)/2));left:calc(var(--chat-left,0px) + var(--chat-width,100vw)/2);transform:translateX(-50%);width:min(540px,var(--chat-width,100vw));height:min(780px,var(--chat-height,100dvh));max-height:var(--chat-height,100dvh);overflow:hidden;overscroll-behavior:none}
.chat-dialog .dialog-header{padding-top:max(10px,env(safe-area-inset-top));padding-inline:16px;min-height:52px;align-items:center}
.chat-dialog .dialog-header .icon-button{margin:0;align-self:flex-start}
.chat-dialog .chat-content{min-height:0;overflow:hidden;padding:0 max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
.chat-dialog.chat-keyboard .chat-content{padding-bottom:6px}
.chat-dialog .chat-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:12px}
.chat-dialog .chat-log{flex:none;min-height:0;overflow:visible;border-bottom:0}
.chat-dialog .chat-message{flex-shrink:0}
.chat-dialog .chat-tools{flex:0 0 auto;padding-top:6px;border-top:1px solid var(--line);background:#fff}
.chat-dialog .chat-compose{flex-shrink:0}
.chat-dialog .chat-compose textarea{height:58px;min-height:48px;overflow-y:auto}
.chat-enter-option{display:flex;align-items:center;gap:5px;min-height:26px;font-size:10px;color:#64766a}
.chat-enter-option input{margin:0;width:16px;height:16px;flex-shrink:0}
.chat-dialog .voice-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}
.chat-dialog .voice-compose select{grid-area:1/1;min-width:0;width:100%;height:38px;padding:4px 8px;font-size:16px;border:1px solid #d7e1d2;border-radius:8px;background:#fff;color:inherit}
.chat-dialog .voice-compose>.text-button{grid-area:1/2;min-height:38px;padding:4px 0;font-size:11px}
.chat-dialog .hold-to-talk{grid-area:2/1/3/-1;min-height:44px;padding-block:8px}
.chat-dialog .voice-hint{grid-area:3/1/4/-1;margin:0;font-size:10px;line-height:1.4;min-height:0}
.chat-dialog .transcription-hint{grid-area:4/1/5/-1;font-size:10px;line-height:1.4}
.chat-dialog .transcription-hint:empty{display:none}
.chat-dialog .private-draft{padding:10px;margin:8px 0;gap:8px}
.chat-dialog .private-draft textarea{font-size:16px;resize:vertical}
.chat-dialog.chat-short .dialog-header p{display:none}
.chat-dialog.chat-short .dialog-header{padding-block:4px;padding-top:max(4px,env(safe-area-inset-top))}
.chat-dialog.chat-short .chat-status-row .button{min-height:32px}
.chat-dialog.chat-short .chat-compose textarea{height:48px}
@media(max-width:700px){dialog.chat-dialog{border-radius:0;border:0}.chat-dialog .dialog-header h2{font-size:18px}}

/* Three compact text lines retain the existing 72px row height. */
.compact-order-row .compact-order-info{gap:2px}
.compact-order-identity{display:flex;gap:7px;min-width:0;font-size:11px;line-height:1.3;color:#405f50}
.compact-order-number,.compact-order-vehicle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.compact-order-vehicle{text-align:right}
.compact-order-row .compact-order-meta{font-size:11px;line-height:1.3}
.address-copy-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.address-copy-row .address-copy{font-size:12px;min-height:36px;padding:6px 0}
.address-copy-feedback{font-size:11px;color:#405f50}

/* Shared history/picker presentation; the header entry is styled below. */
.dispatch-results-entry.button{width:100%;justify-content:flex-start;min-height:34px;padding:6px 2px;border:0;background:none;font-size:12px;color:#547063}
.dispatch-results-entry.has-results{color:var(--green);font-weight:700}
.dispatch-results-panel{display:flex;flex-direction:column;gap:12px;padding:16px 20px}
.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.results-toolbar .button{flex-shrink:0}
.results-status{font-size:12px;line-height:1.5;color:#64796e}
.results-list{display:flex;flex-direction:column;gap:10px}
.dispatch-result{border:1px solid var(--line);border-radius:10px;padding:12px;background:#f8faf7}
.dispatch-result>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.dispatch-result strong{font-size:16px;overflow-wrap:anywhere;min-width:0}
.dispatch-result span{font-size:12px;color:#8b602a}
.dispatch-result.confirmed span{color:var(--green)}
.dispatch-result.withdrawn span{color:#a44335}
.dispatch-result p{font-size:12px;color:#64796e;margin-top:7px;line-height:1.5}
.dispatch-result time{display:block;font-size:11px;color:#7e8d83;margin-top:6px}
.chat-order-picker{padding:10px;margin:4px 0 10px;border:1px solid #d6e3d7;background:#f6f9f3;border-radius:10px;display:flex;flex-direction:column;gap:8px}
.chat-order-picker select{width:100%;min-width:0;min-height:42px;font-size:16px;border:1px solid #d7e1d2;border-radius:8px;padding:6px;background:#fff}
.chat-order-picker .button{font-size:12px;min-height:38px;padding:6px 9px}
.reference-selection{font-size:12px;overflow-wrap:anywhere}
.reference-selection span{color:#a44335}
.chat-order-reference{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:100%;padding:5px 0}
.chat-order-reference small{font-size:10px;color:#64796e}
.chat-order-reference strong{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.chat-order-reference span{font-size:11px;color:#64796e;line-height:1.4}
.chat-status-row .chat-status{min-width:0}

/* 0.6: a persistent header entry and independently dismissible message history. */
.driver-header{position:sticky;top:0;z-index:8;background:#f5f7f6}
.driver-header .dispatch-results-entry.button,.chat-reading-row .dispatch-results-entry.button{width:auto;min-height:44px;padding:7px 11px;gap:7px;border:1px solid #b7d5c4;border-radius:9px;background:#e4f1e9;color:#145441;font-size:14px;font-weight:700;flex-shrink:0;justify-content:center}
.notice-icon{font-size:10px;color:#226348}.notice-unread{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#c82e36;color:#fff;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1}
.order-notices-dialog{overscroll-behavior:contain}.order-notices-dialog .dialog-header{position:sticky;top:0;z-index:2;padding:13px 16px;background:#fff}.order-notices-dialog .dialog-header .icon-button{margin:0}.order-notices-dialog .dispatch-results-panel{padding:12px 16px;gap:10px}.notice-changes{margin:9px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:7px;font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.dispatch-result .notice-new{color:#b4212d;font-size:11px}.notice-read-actions{position:sticky;bottom:-12px;background:#fff;padding:10px 0 max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.notice-read-actions .button{width:100%;min-height:46px}.dispatch-result.order-updated>div>span{font-weight:650}.portal-version{text-align:center;font-size:11px;color:#829087;margin-top:22px}
.password-gate-form{width:100%;max-width:390px;text-align:left;margin-top:0;gap:13px}.gate:has(.password-gate-form){justify-content:flex-start;overflow-y:auto;padding-top:max(30px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.password-gate-form input{font-size:16px}.password-gate-form p{max-width:none}.password-gate-form .field-hint{font-size:12px}.field input[data-once-secret]{font-size:16px;font-family:ui-monospace,monospace;letter-spacing:.4px}
.chat-reading-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;margin-bottom:4px}.chat-reading-row .dispatch-results-entry.button{font-size:12px;min-height:36px;padding:5px 8px}.chat-reading-row .notice-unread{height:20px;min-width:20px;font-size:11px}.chat-reading-row .chat-jump{font-size:12px;min-height:36px;padding:5px 7px}.chat-unread-boundary{display:flex;align-items:center;gap:9px;flex-shrink:0;color:#a34f2c;font-size:12px;padding:6px 0}.chat-unread-boundary:before,.chat-unread-boundary:after{content:"";height:1px;background:#e6c7ad;flex:1}.chat-older,.chat-newer{width:100%;font-size:12px;min-height:40px}
@media(max-width:700px){.driver-header{padding-inline:14px}.order-notices-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.order-notices-dialog h2{font-size:19px}.order-notices-dialog .dispatch-results-panel{padding-inline:12px}.notice-changes{font-size:14px}.chat-dialog.chat-short .chat-reading-row .button{min-height:32px}.admin-main .page-heading>.button-row{justify-content:flex-start}}
