/* Approved T24 dispatcher workspace. Driver and public warehouse screens keep their own styles. */
.app.dispatch-redesign{--navy:#132945;--teal:#245bea;--paper:#f2f5f9;--ink:#182b46;--muted:#65768c;--line:#e1e7ef;--red:#cd3045;--green:#168061;--soft:#edf2ff;--shadow:none;grid-template-columns:236px minmax(0,1fr);min-height:100vh;background:var(--paper);color:var(--ink)}
.app.dispatch-redesign h1,.app.dispatch-redesign h2,.app.dispatch-redesign .number{font-family:'Segoe UI',Arial,sans-serif}
.app.dispatch-redesign h1{font-size:29px;font-weight:700;letter-spacing:-.7px}
.app.dispatch-redesign .sidebar{background:#132945;color:#e1e9f4;padding:24px 14px;height:100vh;overflow-y:auto}
.app.dispatch-redesign .brand{padding:0 12px}
.app.dispatch-redesign .t24-logo{background:#fff;border-radius:9px;padding:7px;width:88px;height:57px}
.app.dispatch-redesign .workspace{background:#ffffff07;border-color:#ffffff20;margin:24px 8px 20px}
.app.dispatch-redesign .workspace strong,.app.dispatch-redesign .profile b,.app.dispatch-redesign .planpill b{color:#fff}
.app.dispatch-redesign .workspace small,.app.dispatch-redesign .sidebarfoot small{color:#b8c8db}
.app.dispatch-redesign .navbtn{color:#c8d5e7;padding:11px 13px;font-size:13px}
.app.dispatch-redesign .navbtn.active{color:#fff;background:#245bea;box-shadow:none}
.app.dispatch-redesign .navbtn:hover{background:#ffffff15;color:#fff}
.app.dispatch-redesign .navbtn.active:hover{background:#245bea}
.app.dispatch-redesign .sidebar nav{gap:4px}
.app.dispatch-redesign .sidebarfoot{padding-top:24px}
.app.dispatch-redesign .planpill{border-color:#ffffff25}
.app.dispatch-redesign .sidebar .avatar{background:#344c6b;color:#fff}
.app.dispatch-redesign .topbar{height:76px;padding:0 30px;background:#fff}
.app.dispatch-redesign .content{max-width:1800px;padding:28px 30px 40px}
.app.dispatch-redesign .topright{gap:14px}
.app.dispatch-redesign .btn{border-radius:8px;box-shadow:none}
.app.dispatch-redesign .btn.primary{background:#245bea;border-color:#245bea;color:#fff}
.app.dispatch-redesign .do-tabs{gap:8px;padding-bottom:12px}
.app.dispatch-redesign .do-tabs .btn{padding:10px 16px;min-height:44px;border-bottom:0}
.app.dispatch-redesign .btn.primary:hover{background:#194aca}
.app.dispatch-redesign .panel{border-radius:12px;border-color:var(--line);box-shadow:none}
.app.dispatch-redesign .heading{margin-bottom:26px}
.app.dispatch-redesign .stats{border:0;background:transparent;border-radius:0;gap:24px;margin:0 0 26px}
.app.dispatch-redesign .stat{background:transparent;padding:0 22px 0 0;border-right:1px solid #d9e1eb}
.app.dispatch-redesign .stat:last-child{border:0}
.app.dispatch-redesign .stat .number{font-size:30px;font-weight:700;line-height:1.4}
.app.dispatch-redesign .stat.alert .number,.app.dispatch-redesign .stat.alert svg{color:#cd3045}
.app.dispatch-redesign .overview{grid-template-columns:minmax(0,1fr) 355px;gap:20px}
.app.dispatch-redesign .overview>.panel:last-child{display:block}
.app.dispatch-redesign .panelhead{padding:20px}
.app.dispatch-redesign .panelhead h2{font-size:16px;font-weight:700}
.app.dispatch-redesign th{background:#f7f9fc;color:#65768c;font-weight:600;padding:13px 16px}
.app.dispatch-redesign td{padding:19px 16px}
.app.dispatch-redesign .person strong{font-size:13px}
.app.dispatch-redesign .person small,.app.dispatch-redesign .statusline{font-size:11px}
.app.dispatch-redesign .driverrow.selected{background:#f0f4ff}
.app.dispatch-redesign .driverrow:hover{background:#f4f7fd}
.app.dispatch-redesign .driverrow.warning{background:#fff4f5;box-shadow:inset 3px 0 #ed3545}
.app.dispatch-redesign .chip.active{background:#edf2ff;color:#245bea;border-color:#b9cafa}
.app.dispatch-redesign .field input,.app.dispatch-redesign .field select,.app.dispatch-redesign .field textarea{border-color:#cfd9e6;border-radius:8px;min-height:44px}
.app.dispatch-redesign :is(button,a,input,select,textarea):focus-visible{outline:3px solid #7699fa;outline-offset:3px}
.app.dispatch-redesign .notification-panel h2{display:flex;align-items:center;gap:8px}
.app.dispatch-redesign .notification-count{margin-left:4px;background:#ed3545;color:#fff;border-radius:6px;padding:2px 6px;font-size:11px}
.app.dispatch-redesign .notification-list{border-top:1px solid var(--line)}
.app.dispatch-redesign .notification-row{width:100%;display:flex;align-items:flex-start;gap:12px;padding:18px;text-align:left;border-bottom:1px solid var(--line);background:#fff}
.app.dispatch-redesign .notification-row:last-child{border-bottom:0}
.app.dispatch-redesign .notification-row:hover{background:#f2f6ff}
.app.dispatch-redesign .notification-row.unread{background:#f7f9ff}
.app.dispatch-redesign .notification-row.urgent{background:#fff5f6;border-left:3px solid #ed3545}
.app.dispatch-redesign .notification-icon{display:grid;place-items:center;background:#edf2ff;color:#245bea;width:34px;height:34px;border-radius:8px;flex-shrink:0}
.app.dispatch-redesign .notification-row.urgent .notification-icon{background:#ffe1e6;color:#cd3045}
.app.dispatch-redesign .notification-copy{display:grid;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.5}
.app.dispatch-redesign .notification-copy strong{font-size:13px;font-weight:650}
.app.dispatch-redesign .notification-copy>span:not(.notification-meta){font-size:12px}
.app.dispatch-redesign .notification-meta{font-size:10px;color:#65768c}
.app.dispatch-redesign .unread-dot{width:7px;height:7px;background:#245bea;border-radius:50%;margin-top:6px;flex-shrink:0}
.app.dispatch-redesign .notification-page{max-width:1050px}
.app.dispatch-redesign .notification-filters{padding:18px 20px;justify-content:flex-start;flex-wrap:wrap}
.app.dispatch-redesign .notification-page .notification-row{padding:22px}
.app.dispatch-redesign .notification-bell{position:relative}
@media(max-width:1400px){.app.dispatch-redesign .overview{grid-template-columns:minmax(0,1fr)}.app.dispatch-redesign .notification-panel .notification-list{display:grid;grid-template-columns:1fr 1fr}.app.dispatch-redesign .notification-panel .notification-row{border-bottom:1px solid var(--line)}}
@media(max-width:800px){.app.dispatch-redesign{grid-template-columns:1fr}.app.dispatch-redesign .sidebar{height:auto;position:static;padding:14px 12px}.app.dispatch-redesign .brand{padding:0}.app.dispatch-redesign .t24-logo{width:70px;height:43px}.app.dispatch-redesign .workspace,.app.dispatch-redesign .sidebarfoot{display:none}.app.dispatch-redesign .sidebar nav{display:flex;overflow-x:auto;margin-top:14px}.app.dispatch-redesign .navbtn{flex-shrink:0;min-height:44px}.app.dispatch-redesign .topbar{height:58px;padding:0 16px}.app.dispatch-redesign .topright{display:flex}.app.dispatch-redesign .topright>span,.app.dispatch-redesign .topright>[data-action=logout],.app.dispatch-redesign .notification-bell>span:not(.notification-count){display:none}.app.dispatch-redesign .content{padding:22px 16px}.app.dispatch-redesign h1{font-size:25px}.app.dispatch-redesign .heading{flex-wrap:wrap;gap:14px}.app.dispatch-redesign .stats{grid-template-columns:1fr 1fr;gap:18px}.app.dispatch-redesign .stat{padding:0 8px;border:0}.app.dispatch-redesign .notification-panel .notification-list{display:block}.app.dispatch-redesign .notification-page .notification-row{padding:16px}.app.dispatch-redesign .overview>.panel:last-child{display:block}.app.dispatch-redesign .tablewrap{max-width:100%}.app.dispatch-redesign .notification-filters{gap:8px}.app.dispatch-redesign .notification-filters .chip{min-height:40px}}


.app.dispatch-redesign .dispatch-incident-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px;border-left:4px solid #ed3545;background:#fff3f5}
.app.dispatch-redesign .dispatch-incident-banner>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.app.dispatch-redesign .person .btn{display:flex;width:fit-content;margin:6px 0}
.app.dispatch-redesign .sidebar .planpill{background:#ffffff06;color:#e1e9f4;border-color:#ffffff25;border-radius:8px}
.app.dispatch-redesign .sidebar .workspace{color:#b8c8db}
@media(max-width:600px){
 .app.dispatch-redesign .overview table,.app.dispatch-redesign .overview tbody{display:block}
 .app.dispatch-redesign .overview thead{display:none}
 .app.dispatch-redesign .overview tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:12px}
 .app.dispatch-redesign .overview td{padding:8px;border:0;min-width:0}
 .app.dispatch-redesign .overview td:nth-child(-n+2){grid-column:1/-1}
 .app.dispatch-redesign .overview td:nth-child(3):before{content:'Termin';display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
 .app.dispatch-redesign .overview td:nth-child(4):before{content:'Status';display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
 .app.dispatch-redesign .overview td:last-child{grid-column:1/-1}
 .app.dispatch-redesign .overview .statusline{white-space:normal}
 .app.dispatch-redesign .overview .person{white-space:normal}
 .app.dispatch-redesign .overview .person .btn{font-size:10px;padding:6px;white-space:normal}
}
@media(max-width:800px){.app.dispatch-redesign .dispatch-incident-banner{flex-wrap:wrap}}
