:root{color-scheme:dark;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0b111c;color:#eaf0fa;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 0%,#1b3150 0,transparent 34%),#0b111c}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;padding:0 clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #28354b;background:#0d1522d9}.brand{display:flex;align-items:center;gap:13px;font-size:22px;letter-spacing:-.04em;font-weight:700}.brand strong{color:#5faafa}.brand small{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#8da4c2;margin-top:1px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#308fe5,#1162c2);font-size:24px;color:white}.text-button,.back{background:transparent;border:0;color:#bdd2ec}.text-button:hover,.back:hover{color:white}main{flex:1;width:100%;display:flex;align-items:center;justify-content:center;padding:28px}.card{background:#111c2d;border:1px solid #263a56;border-radius:20px;box-shadow:0 30px 70px #0004}.login,.setup{width:min(100%,440px);padding:35px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.15em;font-weight:700;color:#69b8ff}h1{font-size:clamp(25px,3vw,35px);line-height:1.13;letter-spacing:-.04em;margin:13px 0 9px}.muted,.setup p{color:#9fb0c8;line-height:1.5}.login form{display:flex;flex-direction:column;margin-top:29px}.login label{font-size:14px;color:#c5d3e5;margin:15px 0 7px}input,textarea{color:#f3f8ff;background:#0b1422;border:1px solid #30415b;border-radius:10px;outline:none}input:focus,textarea:focus{border-color:#5faafa;box-shadow:0 0 0 3px #308fe535}.login input{height:47px;padding:0 13px}.primary{border:1px solid #318ee5;color:white;background:#1976d2;border-radius:10px;font-weight:700;min-height:47px;padding:0 21px}.primary:hover{background:#2e8cea}.primary:disabled{opacity:.5;cursor:not-allowed}.login .primary{margin-top:25px}.error{color:#ff9d9d;font-size:14px;min-height:22px}.workspace{width:min(100%,1020px);align-self:flex-start;margin-top:clamp(20px,8vh,90px)}.section-heading{margin-bottom:27px}.agent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:16px}.agent-card{min-height:180px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:24px;background:#111c2d;border:1px solid #2c3e58;border-radius:17px;color:#edf4ff;transition:transform .15s,border-color .15s}.agent-card:hover{transform:translateY(-3px);border-color:#4b9ee7}.agent-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:#173c64;color:#7bc2ff;font-size:22px;font-weight:700}.agent-name{font-size:19px;font-weight:700;margin-top:18px}.agent-detail{font-size:13px;color:#87bdec;margin-top:6px}.chat-layout{height:min(790px,calc(100vh - 130px));width:min(100%,1080px);display:flex;flex-direction:column;background:#101a29;border:1px solid #2b3c56;border-radius:18px;overflow:hidden}.chat-head{display:flex;align-items:center;gap:16px;padding:17px 22px;border-bottom:1px solid #2b3c56}.chat-head h1{font-size:20px;margin:3px 0 0}.back{font-size:27px;width:36px;height:38px}.connection{margin-left:auto;color:#8db0d1;font-size:13px}.messages{flex:1;overflow-y:auto;padding:25px;display:flex;flex-direction:column;gap:18px}.message{max-width:min(82%,720px);display:flex;flex-direction:column;gap:5px}.message.mine{align-self:flex-end}.message.theirs{align-self:flex-start}.message-name{font-size:12px;color:#83a4c8;font-weight:700}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#1b2b40;border:1px solid #344a66;padding:14px 17px;border-radius:15px;line-height:1.5}.mine .message-text{background:#164780;border-color:#2d78c3}.message time{font-size:11px;color:#8295af}.mine time{text-align:right}.empty{margin:auto;color:#8195af;text-align:center}.composer{display:flex;align-items:end;gap:11px;border-top:1px solid #2b3c56;padding:16px}.composer textarea{resize:vertical;min-height:54px;max-height:180px;flex:1;padding:13px}.composer .primary{height:54px}.chat-layout>.error{margin:0;padding:0 18px 8px}@media(max-width:600px){.topbar{height:64px}.brand{font-size:19px}main{padding:12px;align-items:stretch}.login,.setup{margin:auto;padding:25px}.chat-layout{height:calc(100dvh - 90px);border-radius:13px}.chat-head{padding:12px}.chat-head h1{font-size:17px}.messages{padding:15px}.message{max-width:94%}.composer{padding:11px;gap:8px}.composer .primary{padding:0 13px}}
/* v118: Tagesnavigation, sichere Alarmfreigabe und mehrseitiger Druck */
.route-day-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.route-day-nav>button,.route-day-date{height:40px;border:0;border-radius:8px;background:#f0f0f0;color:#333;display:flex;align-items:center;justify-content:center}.route-day-nav>button{width:40px;padding:0}.route-day-nav>button:hover,.route-day-date:hover{background:#2c82d8;color:#fff}.route-day-nav>button:disabled{opacity:.35;cursor:not-allowed}.route-day-date{position:relative;padding:0 10px;gap:7px}.route-day-date input{width:126px;height:40px;padding:0;border:0;background:transparent;color:inherit;font-family:Montserrat,sans-serif;font-weight:600;outline:0;box-shadow:none}.route-share{height:40px;border:0;border-radius:8px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;background:#333;color:#fff;font-family:Montserrat,sans-serif;font-weight:700}.route-share:hover{background:#2c82d8}.route-share:disabled{opacity:.6}.route-share svg{flex:none}
@media(max-width:700px){.route-head{height:auto!important;min-height:60px;display:grid!important;grid-template-columns:38px minmax(0,1fr);align-items:center;padding-top:8px!important;padding-bottom:8px!important}.route-head-copy{min-width:0}.route-day-nav{grid-column:1/-1;width:100%;margin:7px 0 0;justify-content:flex-end}.route-day-date{flex:1;max-width:180px}.route-day-date input{width:100%;min-width:0}.route-map-actions{flex-wrap:wrap}.route-share{padding:0 10px}}
@media print{html,body{height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important}.shell,main,.chat-layout,.chat-layout.route-detail-open,.route-panel,.route-body{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;position:static!important;display:block!important;flex:none!important}.topbar,.topbar::before,.topbar::after,.brand-home,.brand-home::before,.brand-home::after,.brand,.brand::before,.brand::after{background:none!important;background-image:none!important;box-shadow:none!important}.topbar{border:0!important;border-bottom:1px solid #ddd!important}.route-day-nav,.route-share{display:none!important}.route-graph{break-inside:auto!important;page-break-inside:auto!important;overflow:visible!important}.route-graph[open]{display:block!important}.route-graph summary{break-after:avoid-page!important;page-break-after:avoid!important}.route-graph svg{break-inside:avoid-page!important;page-break-inside:avoid!important}.route-map-card{break-inside:avoid-page!important;page-break-inside:avoid!important}.route-note{break-before:avoid-page!important}.shared-alarm-view .route-panel{display:block!important}}

.route-towing-report{margin:14px 0;padding:16px 20px;border:1px solid #dbe5ee;border-radius:14px;background:#f7fbff;line-height:1.6}.route-towing-report ul{padding-left:20px}.route-towing-report li{margin:5px 0}.route-towing-report .route-section-title{margin-top:0}

.alarm-item-content > p:empty,#alarm-report-summary:empty,#alarm-report-assessment:empty{display:none}
