/* Account, settings and the local dispatcher/driver dialogue. */
.account-btn{position:relative;flex-shrink:0}
.account-btn .icon{width:21px;height:21px}
.account-unread,.crew-unread{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:var(--action);color:var(--action-text);font-size:10px;font-weight:700}
.account-unread{position:absolute;right:-4px;top:-4px;border:2px solid var(--bg)}
.account-card{display:flex;align-items:center;gap:14px;padding:22px 0 14px}
.account-avatar{width:56px;height:56px;display:grid;place-items:center;background:#b5e036;color:#14210c;font-size:25px;border-radius:18px;flex-shrink:0}
.account-card b{font-size:19px;overflow-wrap:anywhere}
.account-card p{font-size:12px;color:var(--muted);margin:5px 0 10px}
.crew-form{display:grid;gap:16px;margin-top:20px;min-width:0}
.crew-form h2{font-size:21px;margin:0 0 4px;font-weight:400}
.crew-form label{display:grid;gap:7px;color:var(--muted);font-size:12px;min-width:0}
.crew-form input:not([type=checkbox]),.crew-form select,.crew-form textarea{display:block;width:100%;box-sizing:border-box;min-height:46px;background-color:var(--card2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:11px 12px;font:inherit;font-size:14px;min-width:0}
.crew-form textarea{resize:vertical;line-height:1.6;min-height:95px}
.crew-form :is(input,select,textarea):focus-visible{outline:2px solid var(--action-readable);outline-offset:3px}
.crew-form fieldset{border:1px solid var(--line);border-radius:12px;margin:0;padding:17px 14px 3px;min-width:0}
.crew-form legend{font-size:12px;color:var(--text);padding:0 6px}
.crew-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px}
.crew-form .crew-toggle{display:flex;align-items:flex-start;gap:11px;line-height:1.6}
.crew-toggle input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--action);flex-shrink:0}
.crew-toggle small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.settings-layout{display:grid;gap:18px;align-items:start}
.settings-layout .crew-form{margin-top:0}
.crew-route-link,.crew-role-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:14px;padding:17px;margin:0 0 18px;background:var(--card)}
.crew-route-link>div,.crew-role-banner>div{display:grid;gap:7px;min-width:0}
.crew-route-link b,.crew-role-banner b{font-size:16px;font-weight:500;overflow-wrap:anywhere}
.crew-route-link small,.crew-role-banner small{font-size:11px;color:var(--muted)}
.crew-role-banner{border-left:4px solid #b5e036}
.crew-workspace{display:grid;gap:16px;min-width:0}
.crew-trucks{display:flex;gap:8px;overflow-x:auto;padding:2px 0 5px;scrollbar-width:thin}
.crew-trucks>.notice{display:none}
.crew-truck{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:13px;padding:12px;text-align:left;flex:1;min-width:125px;min-height:65px;cursor:pointer}
.crew-truck.active{border-color:var(--action-readable);box-shadow:inset 0 0 0 1px var(--action-readable)}
.crew-truck-icon{font-size:20px;color:var(--action-readable)}
.crew-truck b,.crew-truck small{display:block;font-size:12px;white-space:nowrap}
.crew-truck small{color:var(--muted);font-size:10px;margin-top:4px}
.crew-unread{margin-left:auto;flex-shrink:0}
.crew-conversation{min-width:0;overflow:hidden}
.crew-thread-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px;border-bottom:1px solid var(--line)}
.crew-thread-head h2{font-size:19px;font-weight:400;margin:0 0 5px}
.crew-thread-head p{font-size:11px;color:var(--muted);margin:0}
.crew-thread-head .tag{font-size:8px;max-width:105px;text-align:center;white-space:normal;line-height:1.5}
.crew-thread{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:20px 16px;min-height:180px;max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-padding:16px}
.crew-empty{margin:auto;text-align:center;max-width:320px;padding:15px 5px;color:var(--muted)}
.crew-empty>span{font-size:38px;color:var(--action-readable)}
.crew-empty h3{color:var(--text);font-size:19px;line-height:1.3;font-weight:400;margin:14px 0 9px}
.crew-empty p{font-size:12px;line-height:1.8;margin:0}
.crew-bubble{width:fit-content;max-width:92%;background:var(--card2);border:1px solid var(--line);padding:14px;border-radius:14px 14px 14px 3px;box-sizing:border-box;flex-shrink:0;overflow-wrap:anywhere}
.crew-bubble.own{align-self:flex-end;background:color-mix(in srgb,#b5e036 11%,var(--card));border-radius:14px 14px 3px 14px}
.crew-bubble.urgent{border-left:3px solid #f17460}
.crew-bubble-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:10px;color:var(--muted);margin-bottom:9px}
.crew-bubble-meta b{font-weight:500;color:var(--text)}
.crew-bubble-meta time{font-size:9px;margin-left:auto}
.crew-bubble>.tag{margin-bottom:9px}
.crew-bubble p{white-space:pre-wrap;font-size:14px;line-height:1.7;margin:7px 0 8px}
.crew-context{display:block;max-width:100%;background:transparent;border:0;border-left:2px solid var(--action-readable);color:var(--action-readable);padding:5px 8px;font:inherit;font-size:11px;text-align:left;line-height:1.7;cursor:pointer;overflow-wrap:anywhere}
.crew-message-state{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:10px;color:var(--muted)}
.crew-message-state .text-btn{min-height:36px;padding:4px 0;font-size:11px}
.crew-composer{padding:19px;border-top:1px solid var(--line);margin:0;background:var(--card)}
.crew-local-note{font-size:10px;color:var(--muted);line-height:1.7;margin:0;padding:0 19px 18px}
.crew-welcome h2{font-family:Bandeins,Arial,sans-serif;font-size:31px;line-height:1.1;font-weight:400;margin:15px 0}
.crew-welcome>p{font-size:13px;line-height:1.8;max-width:620px}
@media(min-width:900px){
 .settings-layout{grid-template-columns:minmax(240px,1fr) minmax(0,1.6fr);gap:24px}
 .crew-workspace{grid-template-columns:210px minmax(0,1fr);gap:22px}
 .crew-trucks{display:flex;flex-direction:column;overflow:visible}
 .crew-truck{flex:0;min-height:75px}
 .crew-trucks>.notice{display:block;padding:5px 10px}
 .crew-thread{max-height:460px;padding:24px;min-height:230px}
 .crew-bubble{max-width:80%}
 .crew-route-link{padding:18px 23px}
 .crew-form .crew-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:480px){
 .crew-route-link,.crew-role-banner{align-items:stretch;flex-direction:column;gap:13px;padding:16px}
 .crew-route-link .btn,.crew-role-banner .btn{width:100%;min-height:44px}
 .crew-role-banner .planner-step{font-size:9px}
 .crew-thread-head{padding:16px}
 .crew-thread{padding:16px 12px;max-height:350px}
 .crew-composer{padding:16px;gap:14px}
 .crew-bubble{max-width:96%;padding:12px}
 .crew-bubble p{font-size:13px}
 .crew-composer .crew-fields{grid-template-columns:minmax(0,1fr)}
 .crew-fields{gap:10px}
 .crew-form input:not([type=checkbox]),.crew-form select,.crew-form textarea{font-size:16px}
 .crew-local-note{padding:0 16px 16px}
 .top-actions{gap:5px}
 .top-actions .icon-btn{width:40px;height:42px}
}
@media(max-width:359px){.top-actions .demo-badge{display:none}}
/* Fleet profiles and the route workspace share one vehicle selection. */
.fleet-selector,.home-material-picker{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;border:1px solid var(--line);background:var(--card);border-radius:15px;padding:17px;margin:0 0 20px}
.fleet-selector label,.home-material-picker label{display:grid;gap:8px;font-size:12px;color:var(--muted);flex:1;min-width:0}
.fleet-selector select,.home-material-picker select{width:100%;max-width:100%;min-width:0;min-height:46px;background-color:var(--card2);color:var(--text);border:1px solid var(--line);border-radius:10px;font:inherit;font-size:14px}
.fleet-selector p,.home-material-picker small{margin:0;flex-basis:100%;font-size:11px;line-height:1.7;color:var(--muted)}
.fleet-settings{margin:30px 0 10px}.fleet-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fleet-card{min-width:0}.fleet-card-head{display:flex;justify-content:space-between;gap:8px}.fleet-card h3{font-size:20px;line-height:1.3;font-weight:400;overflow-wrap:anywhere;margin:18px 0 8px}.fleet-card p{color:var(--muted);font-size:12px;line-height:1.8}.fleet-tour{display:grid;gap:7px;padding:16px 0;border-block:1px solid var(--line);margin-top:16px}.fleet-tour b{font-weight:500;overflow-wrap:anywhere}.fleet-tour small{color:var(--muted);font-size:11px;line-height:1.7}.fleet-card .action-row{margin-bottom:0}
.route-crew-dialog{margin-bottom:20px!important;overflow:hidden}.route-crew-dialog>summary{font-size:14px}.route-crew-dialog>.crew-role-banner{margin:0 16px 16px}.route-crew-dialog>.crew-workspace{padding:0 16px 16px}.crew-inline{grid-template-columns:minmax(0,1fr)!important}.crew-inline>.crew-trucks{display:none}.crew-inline .crew-thread{min-height:150px;max-height:330px}
@media(max-width:900px){.fleet-cards{grid-template-columns:minmax(0,1fr)}.fleet-selector{gap:10px}.fleet-selector label{flex-basis:100%}.fleet-card .action-row{display:flex}.fleet-card .action-row .btn{flex:1}.fleet-selector select,.home-material-picker select{font-size:16px}.top-actions .demo-badge{display:none}}
@media(max-width:359px){.topbar .mobile-brand{width:135px}.top-actions{gap:3px}.top-actions .icon-btn{width:37px;min-width:37px}.route-crew-dialog>.crew-workspace{padding:0 8px 8px}.route-crew-dialog>.crew-role-banner{margin:0 8px 12px}}
.binai-contact{margin:24px 0 12px}.binai-contact h2{font-size:24px;font-weight:400;margin:14px 0 8px}.binai-contact p{font-size:12px;color:var(--muted);line-height:1.8}.contact-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:19px}.contact-links a{overflow-wrap:anywhere}.app-footer>[data-action=binai-contact]{margin-right:16px}dialog .binai-contact{border:0;padding:0;margin:20px 0 0}
@media(max-width:480px){.contact-links{display:grid;grid-template-columns:minmax(0,1fr)}.contact-links a{width:100%}.app-footer>[data-action=binai-contact]{margin:0 0 10px;display:block;width:100%;min-height:40px}}
.home-material-picker{border-color:var(--action);padding:20px;gap:14px}.waste-choice-head{flex-basis:100%}.waste-choice-head h2{margin:7px 0 0;font-size:25px}.waste-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;flex-basis:100%}.waste-choices button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:49px;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--card2);color:var(--text);font:inherit;font-size:13px;cursor:pointer}.waste-choices button span{width:10px;height:10px;flex-shrink:0;border-radius:50%;background:var(--waste-color)}.waste-choices button[aria-pressed=true]{border-color:var(--action);box-shadow:inset 0 0 0 1px var(--action)}.waste-choices button:focus-visible{outline:3px solid var(--action);outline-offset:2px}.home-material-picker label{flex-basis:100%}@media(max-width:600px){.waste-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.home-material-picker{padding:16px}.waste-choices button{font-size:14px}}
/* Compact working area for Route Engine. */
body[data-section=routes] .fleet-selector{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 14px;padding:12px 16px;margin-bottom:10px}body[data-section=routes] .fleet-selector label{gap:5px;font-size:10px}body[data-section=routes] .fleet-selector select{min-height:42px;font-size:13px}body[data-section=routes] .fleet-selector>.text-btn{font-size:11px;max-width:150px;line-height:1.5;white-space:normal}body[data-section=routes] .fleet-selector>p{grid-column:1/-1;font-size:10px;line-height:1.4}
.route-workspace-head.route-workspace-compact{padding:12px 17px;gap:12px;margin:0 0 10px;border-radius:12px}.route-workspace-compact h1{font-size:24px;line-height:1.15;margin:5px 0;letter-spacing:-.5px}.route-workspace-compact .planner-step{font-size:9px}.route-workspace-compact p{font-size:11px}.route-workspace-head.route-workspace-compact img{width:38px;height:52px}
.route-at-a-glance{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:12px;padding:13px 16px;margin:0 0 6px;background:var(--card);border:1px solid var(--line);border-radius:12px}.route-at-a-glance>span{display:grid;align-content:center;gap:5px;min-width:0}.route-at-a-glance b{font-size:19px;font-weight:500;overflow-wrap:anywhere}.route-at-a-glance>span:first-child b{font-size:15px}.route-at-a-glance small{font-size:10px;color:var(--muted);line-height:1.4}
.material-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);margin:0 0 14px}.material-context b{font-weight:500;color:var(--text)}.material-context .text-btn{font-size:12px;min-height:36px}.waste-choices button[data-value=Alle]{grid-column:1/-1;min-height:42px}.home-material-picker #home-waste-choices{outline:none}
.route-change-summary{padding:18px;border:1px solid var(--action);border-left:4px solid var(--action);border-radius:12px;margin:0 0 20px;background:var(--card);min-width:0}.route-change-summary h3{font-size:21px;font-weight:500;margin:7px 0}.route-change-summary p{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0}.plan-change-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:13px 0 16px}.plan-change-metrics>span{display:grid;gap:7px;min-width:0}.plan-change-metrics small,.change-model-note{font-size:10px;color:var(--muted);line-height:1.4}.plan-change-metrics b{font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}.change-model-note{display:block;margin-top:10px}.plan-change-table{width:100%;font-size:12px;border-collapse:collapse;margin:18px 0}.plan-change-table caption{text-align:left;color:var(--muted);font-size:11px;margin-bottom:10px}.plan-change-table th,.plan-change-table td{padding:10px 7px;text-align:left;border-bottom:1px solid var(--line);font-weight:400}.plan-change-table td{font-variant-numeric:tabular-nums}.plan-change-table thead th{color:var(--muted)}
@media(max-width:600px){body[data-section=routes] .fleet-selector{padding:10px 12px;gap:5px 8px;grid-template-columns:minmax(0,1fr) 90px}body[data-section=routes] .fleet-selector>.text-btn{font-size:10px}body[data-section=routes] .fleet-selector select{font-size:16px}body[data-section=routes] .fleet-selector>p{font-size:9px}.route-workspace-head.route-workspace-compact{padding:11px 13px}.route-workspace-compact h1{font-size:21px}.route-workspace-compact p{display:none}.route-workspace-head.route-workspace-compact img{width:30px;height:42px}.route-at-a-glance{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 8px;padding:11px 13px}.route-at-a-glance>span:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}.route-at-a-glance b{font-size:17px}.route-at-a-glance small{font-size:9px}.route-change-summary{padding:13px}.route-change-summary h3{font-size:19px}.plan-change-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-change-metrics>span:last-child{grid-column:1/-1}.plan-change-metrics b{font-size:17px}.route-change-summary .btn{width:100%;min-height:44px}.plan-change-table{font-size:11px}}
/* One brand typeface for every app headline. */
@font-face{font-family:'Bandeins Strange';src:url(assets/display.woff2) format('woff2');font-style:normal;font-weight:600;font-display:swap}
:is(h1,h2,h3,h4,h5,h6,[role=heading]),.topic-card b{font-family:'Bandeins Strange',Bandeins,Arial,sans-serif!important;font-weight:600!important;font-synthesis:none;text-transform:uppercase!important;overflow-wrap:anywhere}
/* Language and demo geography stay separate from operational route state. */
.locale-bar{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:14px;padding:8px 30px;border-bottom:1px solid var(--line);background:var(--bg)}.locale-bar label{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.locale-bar select{font:inherit;color:var(--text);background-color:var(--card);border:1px solid var(--line);border-radius:7px;padding:6px 9px;min-height:32px}.locale-bar #app-language{display:flex;gap:5px}.locale-bar button{border:1px solid var(--line);border-radius:6px;min-width:38px;min-height:32px;background:transparent;color:var(--muted);font:600 11px Arial,sans-serif}.locale-bar button[aria-pressed=true]{background:var(--accent,#b5e036);color:#111;border-color:transparent}.locale-bar button:focus-visible{outline:2px solid var(--accent,#b5e036);outline-offset:2px}@media(max-width:899px){.locale-bar{padding:6px 15px}.locale-bar label{font-size:10px}.locale-bar select{max-width:145px}}
/* Bare header icons, centred within the full header height. */
.topbar{align-items:center}.topbar .top-actions{display:flex;align-items:center;align-self:stretch;margin-top:0;margin-bottom:0}.topbar .icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;margin:0;padding:0;line-height:1;align-self:center}.topbar .icon-btn .icon{display:block;margin:0}.topbar .icon-btn:focus-visible{outline:2px solid var(--accent,#b5e036);outline-offset:3px}@media(max-width:899px){.topbar .icon-btn[data-action=guide]{display:none}}
.home-scenarios{border:1px solid var(--line);border-radius:15px;background:var(--card);padding:17px;margin-bottom:18px}.home-scenarios>.kicker{font-size:9px;letter-spacing:1px;color:var(--muted)}.home-scenarios h2{font-size:22px;margin:7px 0 14px}.home-scenarios>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.home-scenarios button{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;min-height:78px;padding:14px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);cursor:pointer}.home-scenarios button b{font:600 17px 'Bandeins Strange',Bandeins,Arial,sans-serif;text-transform:uppercase;overflow-wrap:anywhere}.home-scenarios button small{font:11px/1.4 Arial,sans-serif;color:var(--muted)}.home-scenarios button[aria-pressed=true]{border-color:#b5e036;background:#b5e036;color:#111}.home-scenarios button[aria-pressed=true] small{color:#253000}.home-scenarios button:focus-visible{outline:2px solid #b5e036;outline-offset:3px}.home-scenarios button:disabled{cursor:default;opacity:.7}.home-scenarios>p,.home-scenarios>small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin:10px 0 0}@media(max-width:399px){.home-scenarios{padding:14px}.home-scenarios button{padding:11px}.home-scenarios button b{font-size:14px}.home-scenarios button small{font-size:10px}}

.locale-bar{justify-content:flex-start}.locale-bar #app-language{margin-left:auto}.locale-bar select{padding-inline-end:34px;background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}
@media(max-width:899px){.locale-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:7px;align-items:end}.locale-bar label{min-width:0;align-items:stretch;flex-direction:column;gap:3px;font-size:9px}.locale-bar select{width:100%;max-width:none;min-width:0;padding-inline-start:7px;padding-inline-end:26px;background-position:right 8px center}.locale-bar #app-language{gap:3px}.locale-bar button{min-width:31px}}

@media(max-width:420px){.locale-bar{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.locale-bar #app-language{grid-column:1/-1;justify-self:end;margin-top:2px}.locale-bar #app-language button{min-width:36px}}
