/* Tenant-neutral delivery workspace and driver view. */
.dispatch426{--dispatch-accent:var(--brand,#e72f3d);--dispatch-bg:#151a1b;--dispatch-line:#394346;color:#edf1f2;min-width:0;font:14px/1.5 Inter,Arial,sans-serif}.dispatch426 *{box-sizing:border-box}.dispatch426 h1,.dispatch426 h2,.dispatch426 h3,.dispatch426 p{margin:0}.dispatch426 h1{font-size:25px}.dispatch426 h2{font-size:25px;line-height:1.3}.dispatch426 h3{font-size:17px}.dispatch426 p,.dispatch426 small{color:#bfc9cd}.dispatch426 p{margin-top:7px}.dispatch426 svg.icon{width:21px;height:21px;flex:none;vertical-align:middle}.dispatch426 h2,.dispatch426 h3{display:flex;align-items:center;gap:9px}.dispatch426 .card{padding:18px;border:1px solid var(--dispatch-line);border-radius:12px;background:var(--dispatch-bg);min-width:0;box-shadow:none;margin:0}.dispatch-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.dispatch-title .eyebrow{font-size:11px;letter-spacing:.1em;color:#bac4c8}.dispatch-title h2{margin-top:5px;font-size:30px}.dispatch426 button,.dispatch426 .button,.dispatch-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border-radius:8px;border:1px solid var(--dispatch-accent);background:var(--dispatch-accent);color:#fff;font:600 13px/1.4 Inter,Arial,sans-serif;text-decoration:none;cursor:pointer;max-width:100%;white-space:normal}.dispatch426 .secondary,.dispatch-tabs a{background:#222a2d;border-color:#414d52;color:#edf1f2}.dispatch426 button:hover,.dispatch426 .button:hover{filter:brightness(1.12)}.dispatch426 button:disabled{opacity:.65;cursor:wait}.dispatch426 :is(a,button,input,select,summary):focus-visible{outline:2px solid #f4bd5e;outline-offset:3px}.dispatch-tabs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.dispatch-tabs a[aria-current=page]{background:var(--dispatch-accent);border-color:var(--dispatch-accent)}.dispatch-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.dispatch-kpis>.card{display:flex;align-items:center;gap:12px;color:#c6d0d3;text-decoration:none;padding:15px}.dispatch-kpis strong{display:block;font-size:26px;color:#fff;line-height:1.2}.dispatch-kpi-icon{display:grid;place-items:center;flex:0 0 43px;height:43px;background:#263334;border:1px solid #3b5657;border-radius:10px}.dispatch-search{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}.dispatch426 input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.dispatch426 select{display:block;width:100%;min-width:0;height:42px;padding:9px 11px;border:1px solid #445156;border-radius:8px;background:#101617;color:#edf1f2;font:inherit}.dispatch-search input{flex:1 1 230px}.dispatch-list{display:grid;gap:12px}.dispatch-order-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:7px;flex-wrap:wrap}.dispatch-order-head h3,.dispatch-order-head h2{font-size:19px}.dispatch-badges{display:flex;gap:6px;flex-wrap:wrap}.dispatch-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;background:#2c3538;border:1px solid #465258;border-radius:7px;font-size:12px;font-weight:600}.dispatch426 .is-open{background:#352b18;border-color:#9b783a;color:#f7c469}.dispatch426 .is-paid{background:#153326;border-color:#367f53;color:#75e2a4}.dispatch-line{display:flex;align-items:start;gap:8px;overflow-wrap:anywhere;font-size:13px}.dispatch-line svg{margin-top:1px}.dispatch-assign{display:flex;align-items:end;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--dispatch-line)}.dispatch-assign label{flex:1;min-width:0;font-size:12px;font-weight:600}.dispatch-assign select{margin-top:4px}.dispatch-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.dispatch426 form{margin-bottom:0}.dispatch426 details{min-width:0}.dispatch426 summary{color:#c3cdd0;cursor:pointer;font-size:13px;padding:8px 0}.dispatch-history{padding-left:16px;color:#bdc9cc;font-size:12px;margin:8px 0}.dispatch-history li{margin-bottom:6px;overflow-wrap:anywhere}.dispatch-history time{color:#edf1f2}.dispatch-staff{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:16px;align-items:start}.dispatch-form{display:grid;gap:12px;margin-top:14px}.dispatch-form label{display:grid;gap:5px;font-size:13px;font-weight:500}.dispatch-form input{font-size:14px}.dispatch-driver h3{flex-wrap:wrap}.dispatch-driver h3 .dispatch-badge{margin-left:auto}.dispatch426 .dispatch-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:24px}.dispatch-empty>.icon{height:32px!important;width:32px!important;color:#98b1b9}.dispatch-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.dispatch-notice{padding:12px;border:1px solid #417457;background:#183125;color:#bdedcf;border-radius:8px;margin-bottom:14px}.dispatch-notice.is-error{background:#391d22;border-color:#ae515e;color:#ffd4db}.dispatch-bon{padding:18px;margin-top:15px;background:#fff;color:#111;border-radius:8px}.dispatch-bon h3,.dispatch-bon p{color:#111}.dispatch-bon [data-dispatch-qr] svg{display:block;width:200px;height:200px;max-width:100%}.dispatch-print-code{display:grid;justify-items:center;text-align:center;gap:5px;margin-top:15px;color:#111}.dispatch-print-code svg{width:145px;height:145px}.dispatch-print-code small{display:block}
.dispatch-driver-body{margin:0;background:#0c1112;color:#edf1f2}.dispatch-mobile{max-width:540px;margin:0 auto;padding:16px 16px 32px;--dispatch-accent:#e72f3d}.dispatch-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 16px;margin-bottom:10px;border-bottom:1px solid #303b3f}.dispatch-wordmark{color:#fff;font-size:25px;font-weight:800;text-decoration:none;line-height:1.1}.dispatch-wordmark>span{color:#f33946}.dispatch-wordmark small{display:block;font-size:11px;font-weight:400;letter-spacing:.06em;color:#b8c5ca;margin-top:4px}.dispatch-mobile-title{margin:12px 0 15px}.dispatch-mobile-title small{font-size:12px}.dispatch-mobile-title h1{margin-top:5px}.dispatch-mobile .dispatch-tabs>a{flex:1}.dispatch-mobile .card{padding:16px}.dispatch-mobile .dispatch-order-head h2{font-size:17px}.dispatch-mobile .dispatch-order>h3{font-size:16px;margin:8px 0}.dispatch-address{margin:12px 0;padding:13px;border:1px solid #38464c;border-radius:9px;background:#1b2326}.dispatch-address h3{font-size:13px}.dispatch-address p{font-size:14px;color:#edf1f2;overflow-wrap:anywhere}.dispatch-address .dispatch-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dispatch-address .button{padding:9px;font-size:12px}.dispatch-payment{padding:15px;border:1px solid;border-radius:10px;display:grid;gap:5px;margin:12px 0}.dispatch-payment>span{font-weight:700;display:flex;align-items:center;gap:8px}.dispatch-payment>strong{font-size:32px;line-height:1.3}.dispatch-payment>small{color:inherit}.dispatch-pay-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dispatch-pay-choices label{display:flex;align-items:center;gap:7px;padding:12px 9px;border:1px solid #556168;border-radius:8px;cursor:pointer}.dispatch-pay-choices label:has(:checked){border-color:#ef3c49;background:#402027}.dispatch426 input:is([type=radio],[type=checkbox]){width:18px;height:18px;flex:none;margin:0;accent-color:#ee3340}.dispatch426 .dispatch-check{display:flex;align-items:start;gap:9px;font-size:13px;line-height:1.5}.dispatch-check input{margin-top:1px!important}.dispatch-form fieldset{border:0;margin:0;padding:0;min-width:0}.dispatch-form legend{font-size:13px;margin-bottom:8px;padding:0}.dispatch-form output{display:block;color:#77dca2;margin:8px 0 0;font-weight:600}.dispatch-mobile .dispatch-form>button,.dispatch-mobile .dispatch-order>form>button,.dispatch-scan-panel>button{width:100%;min-height:46px}.dispatch-mobile .dispatch-scan-panel{margin-bottom:14px}.dispatch-scan-panel video{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:8px;background:#000;margin:12px 0}.dispatch-scan-panel p{font-size:13px;margin:12px 0}.dispatch-scan-panel small{display:block;font-size:12px}.dispatch-scan-panel .dispatch-search{margin-top:12px;flex-wrap:nowrap}.dispatch-scan-panel .dispatch-search input{flex:1;min-width:0}.dispatch-scan-panel .dispatch-search button{flex:none;padding:10px}.dispatch-refresh{width:100%;margin-top:16px}.dispatch426 [hidden]{display:none!important}.dispatch426 .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1000px){.dispatch-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-staff{grid-template-columns:1fr}.dispatch-title{align-items:start;flex-wrap:wrap}}@media(max-width:540px){.dispatch426 .card{padding:14px}.dispatch-title h2{font-size:25px}.dispatch426 .dispatch-kpis{gap:8px}.dispatch-kpis>.card{padding:12px;gap:9px}.dispatch-kpi-icon{flex-basis:34px;height:34px}.dispatch-assign{flex-wrap:wrap}.dispatch-assign label{flex-basis:100%}.dispatch-assign>button{width:100%}.dispatch-badges{max-width:100%}}
@media print{.dispatch-print-code svg{width:130px;height:130px}body:has(.dispatch-bon) .sidebar,body:has(.dispatch-bon) .mobile-header,body:has(.dispatch-bon) .premium-topbar,body:has(.dispatch-bon) .dispatch426>:not(.dispatch-list),body:has(.dispatch-bon) .dispatch-list>.dispatch-order:not(:has(.dispatch-bon)),body:has(.dispatch-bon) .dispatch-order:has(.dispatch-bon)>:not(.dispatch-bon),.dispatch-bon button{display:none!important}body:has(.dispatch-bon) .app-shell,body:has(.dispatch-bon) main.main,body:has(.dispatch-bon) .content{display:block!important;width:100%!important;margin:0!important;padding:0!important;min-height:0!important}body:has(.dispatch-bon){background:white!important;color:black!important}.dispatch-bon{margin:0;padding:0}.dispatch426 .dispatch-order:has(.dispatch-bon){border:0!important;background:white!important}}

.dispatch-detail-link{margin:14px 0!important}.dispatch-detail-link a{display:inline-flex;align-items:center;gap:8px;font-size:13px}

.dispatch426 .dispatch-items>div{padding:9px 0;border-top:1px solid #38464c}.dispatch426 .dispatch-items small,.dispatch426 .dispatch-items small>span{display:block;font-size:12px;line-height:1.6}.dispatch426 .dispatch-items small b{color:#edf1f2}
body .dispatch426 .dispatch-tabs{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:0 0 16px!important;padding:0!important;border:0!important;background:none!important}body .dispatch426 .dispatch-tabs>a{width:auto!important;flex:0 0 auto!important;margin:0!important}body .dispatch426 .dispatch-tabs>a::before,body .dispatch426 .dispatch-tabs>a::after{display:none!important}.dispatch-mobile .dispatch-tabs>a{flex:1 1 0!important}body .dispatch426 .dispatch-pagination{display:flex!important;gap:6px!important;flex-wrap:wrap!important}

body .dispatch426 .dispatch-kpis>a[aria-current=page]{border-color:var(--dispatch-accent)}.dispatch-assign label>small{display:block;margin-top:6px}.dispatch-assign label>small a{color:#f3c169}
@media print{body:has(.dispatch-bon) #page-notices,body:has(.dispatch-bon) .ho-fixed-savebar,body:has(.dispatch-bon) .skip-link{display:none!important}}
@media print{body:has(.dispatch-bon) .dispatch-bon,body:has(.dispatch-bon) .dispatch-bon *{visibility:visible!important;color:#111!important;text-shadow:none!important;box-shadow:none!important}body:has(.dispatch-bon) .dispatch-bon{display:block!important}}

/* v427: heading matches orders; compact spacing in staff forms. */
body .dispatch426 .dispatch-title{align-items:flex-end;gap:24px;margin:0 0 24px;padding:0}
body .dispatch426 .dispatch-title .ho122-eyebrow{display:block;margin-bottom:7px;color:#c6d0da;font-size:11px;font-weight:750;letter-spacing:.105em}
body .dispatch426 .dispatch-title h2{display:block!important;margin:0!important;color:#f3f6f9;font-size:clamp(30px,2.4vw,42px)!important;line-height:1.05!important;font-weight:760!important;letter-spacing:-.045em!important}
body .dispatch426 .dispatch-title .ho-title-dot{color:var(--accent,#e72f3d)}
body .dispatch426 .dispatch-title p{margin:9px 0 0;font-size:14px;line-height:1.45}
body .dispatch426 .dispatch-staff .dispatch-form{display:grid!important;gap:12px!important;margin:14px 0 12px!important;align-content:start!important}
body .dispatch426 .dispatch-staff .dispatch-form>label{display:grid!important;gap:5px!important;margin:0!important;padding:0!important;min-height:0!important}
body .dispatch426 .dispatch-staff .dispatch-form input{height:42px!important;margin:0!important}
body .dispatch426 .dispatch-staff .dispatch-form>button{margin:0!important}
.dispatch426 [data-driver-pin]{letter-spacing:.25em;font-variant-numeric:tabular-nums}
.dispatch-login-switch{margin:14px 0!important;font-size:12px}.dispatch-login-switch a{color:#c3ced3}
@media(max-width:700px){body .dispatch426 .dispatch-title{align-items:flex-start;flex-direction:column;margin-bottom:18px}body .dispatch426 .dispatch-title h2{font-size:31px!important}body .dispatch426 .dispatch-title p{font-size:12.5px}}

/* 1.3.429: Fahrerauswahl und Aktion auf gleicher Höhe. */
.dispatch426 .dispatch-assign{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.dispatch426 .dispatch-assign>label{margin:0;padding:0}.dispatch426 .dispatch-assign>button{margin:0;align-self:end;min-height:44px}.dispatch426 .dispatch-assign select{min-height:44px;margin-bottom:0}@media(max-width:540px){.dispatch426 .dispatch-assign{grid-template-columns:1fr}}

.dispatch-detail-qr{margin:14px 0;padding:14px;border:1px solid #445156;border-radius:10px}.dispatch-detail-qr summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600}.dispatch-detail-qr .dispatch-print-code{background:#fff;border-radius:8px;padding:12px;color:#111}.dispatch-detail-qr .dispatch-print-code strong,.dispatch-detail-qr .dispatch-print-code small{color:#111}.dispatch-detail-qr p,.dispatch-detail-qr form>small{display:block;font-size:12px;margin-top:8px;color:var(--muted,#aab5ba)}@media print{.dispatch-detail-qr{display:none!important}}

/* 1.3.431: kompakte Fahrerbestellungen */
.dispatch426 .dispatch-driver-order{padding:0;overflow:hidden}.dispatch426 .dispatch-driver-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;list-style:none;color:#edf1f2;min-height:76px}.dispatch-driver-summary::-webkit-details-marker{display:none}.dispatch-driver-summary>span{display:grid;gap:5px;min-width:0}.dispatch-driver-summary strong{font-size:16px;overflow-wrap:anywhere}.dispatch-driver-summary span span{font-size:14px;font-weight:400;overflow-wrap:anywhere}.dispatch-driver-summary>svg{flex-shrink:0;transition:transform .15s}.dispatch-driver-order[open]>.dispatch-driver-summary>svg{transform:rotate(180deg)}.dispatch-driver-order[open]>.dispatch-driver-summary{border-bottom:1px solid #354246}.dispatch-driver-content{padding:18px}.dispatch-sync-note{display:block;margin-top:10px;font-size:12px;color:#aab5ba;line-height:1.5}
/* 1.3.432: Lieferverlauf und Tour-Rücknahme */
.dispatch426 .dispatch-management{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;align-items:start}.dispatch426 .dispatch-history-panel,.dispatch426 .dispatch-recall{margin:0;border:1px solid #3a484d;border-radius:11px;background:#182023;overflow:hidden}.dispatch426 .dispatch-recall{border-color:#76603b;background:#252117}.dispatch426 .dispatch-management>details>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:14px;font-size:13px;min-height:72px;color:#edf1f2}.dispatch-management>details>summary::-webkit-details-marker{display:none}.dispatch-management summary>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.dispatch-management summary strong{font-size:13px;line-height:1.4}.dispatch-management summary small{font-size:11px;line-height:1.4;font-weight:400;color:#b1bdc2}.dispatch-section-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;background:#26363a;border-radius:9px;color:#92c7d4}.dispatch-recall .dispatch-section-icon{background:#40331f;color:#f2be60}.dispatch-management summary>svg{flex:0 0 17px;width:17px!important;height:17px!important}.dispatch-management details[open]>summary>svg{transform:rotate(180deg)}.dispatch-management details[open]>summary{border-bottom:1px solid #3a484d}.dispatch426 .dispatch-history{list-style:none;margin:0;padding:14px;max-height:330px;overflow:auto;display:grid;gap:0}.dispatch426 .dispatch-history li{position:relative;display:flex;align-items:start;gap:10px;padding:0 0 16px;margin:0;min-width:0}.dispatch426 .dispatch-history li:last-child{padding-bottom:0}.dispatch-event-dot{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#26383b;color:#9cd1db;position:relative;z-index:1}.dispatch-event-dot svg{width:15px!important;height:15px!important}.dispatch-history li:not(:last-child):before{content:'';position:absolute;top:28px;bottom:0;left:13px;border-left:1px solid #45545a}.dispatch-history li>div{display:grid;gap:3px;min-width:0}.dispatch-history time{font-size:10px;color:#aab9c0}.dispatch-history strong{font-size:13px;color:#f0f4f5}.dispatch-history li>div>span,.dispatch-history p{font-size:12px;color:#bac8ce;margin:0}.dispatch426 .dispatch-recall-help{font-size:12px;line-height:1.5;margin:12px 14px 0;color:#d8c49c}.dispatch426 .dispatch-recall>.dispatch-form{display:grid;gap:12px;margin:0;padding:14px;background:transparent;border:0}.dispatch426 .dispatch-recall .dispatch-form>label{margin:0;padding:0;gap:6px;font-size:12px}.dispatch426 .dispatch-recall .dispatch-check{display:flex;align-items:flex-start;gap:8px;line-height:1.5}.dispatch426 .dispatch-recall .dispatch-check input{flex:0 0 18px;width:18px;height:18px;margin:0}.dispatch-recall-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dispatch-recall-footer>small{flex:1 1 140px;font-size:11px;line-height:1.5;color:#c6b897}.dispatch426 .dispatch-recall-footer>button{width:auto;min-height:40px;margin:0;padding:9px 12px;font-size:12px;background:#66502c;border-color:#a58144}.dispatch426 .dispatch-management:has(>details:only-child){grid-template-columns:1fr}.dispatch426 .dispatch-history-panel:only-child{max-width:760px}
#orders-ajax-root.ho-orders-122 .ho122-status-filter.is-delivery{--filter-color:#ed5ad2}.ho269-order-group.is-delivery_ready>.ho269-group-title>i{background:#ed5ad2}.ho269-order-group.is-delivery_ready>.ho269-group-title{color:inherit}
@media(min-width:1400px){#orders-ajax-root.ho-orders-122 .ho122-status-nav:has(.is-delivery){grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){.dispatch426 .dispatch-management{grid-template-columns:1fr}.dispatch426 .dispatch-history-panel:only-child{max-width:none}.dispatch426 .dispatch-management>details>summary{padding:12px}.dispatch-recall-footer{align-items:stretch}.dispatch426 .dispatch-recall-footer>button{justify-content:center}}
body.theme-light .dispatch426 .dispatch-history-panel{background:#f6f9fa;border-color:#c8d4d9}body.theme-light .dispatch426 .dispatch-recall{background:#fff9ed;border-color:#d8bd80}body.theme-light .dispatch426 .dispatch-management summary,body.theme-light .dispatch426 .dispatch-history strong{color:#243238}body.theme-light .dispatch426 .dispatch-management summary small,body.theme-light .dispatch426 .dispatch-history time,body.theme-light .dispatch426 .dispatch-history li>div>span,body.theme-light .dispatch426 .dispatch-history p{color:#58686f}body.theme-light .dispatch426 .dispatch-recall-help,body.theme-light .dispatch426 .dispatch-recall-footer>small{color:#745826}

body #orders-ajax-root#orders-ajax-root .ho-ticket.is-delivery-ready{--ticket-tone:#ed5ad2!important}@media(min-width:1400px){body #orders-ajax-root.ho-orders-122 .ho122-status-nav:has(.is-delivery){grid-template-columns:repeat(6,minmax(0,1fr))!important}}

body #orders-ajax-root .ho-board-group.is-status-delivery_ready .ho346-group-heading{background:#ed5ad2!important;color:#182024!important}body #orders-ajax-root .ho-board-group.is-status-delivery_ready .ho346-group-heading :is(h3,p,span,b){color:#182024!important}body #orders-ajax-root .ho122-status-filter.is-delivery{--filter-color:#ed5ad2!important}body #orders-ajax-root .ho269-order-group.is-delivery_ready>.ho269-group-title>i{background:#ed5ad2!important}
