:root{color-scheme:light;background:#f5f7fa;color:#263747}
html,body{height:100%;overscroll-behavior:none}
body{background:#f5f7fa;color:#263747}
.shell{height:100dvh;min-height:0;overflow:hidden}
.topbar{height:72px;flex:none;background:#fff;border-bottom:1px solid #e0e6ed;box-shadow:0 2px 8px #203b5910;z-index:2}
.brand{color:#2c82d8}.brand strong{color:#2c82d8}.brand small{color:#78899a}.brand-mark{background:#2c82d8;box-shadow:0 3px 10px #2c82d850}
.text-button,.back{color:#587083}.text-button:hover,.back:hover{color:#2c82d8}
main{min-height:0;overflow:hidden;padding:18px}
.card,.chat-layout{background:#fff;border-color:#dce5ee;box-shadow:0 12px 32px #27466513}
.login,.setup{max-height:100%;overflow:auto}.eyebrow{color:#2c82d8}.muted,.setup p{color:#718293}.login label{color:#40566a}
input,textarea{color:#263747;background:#fff;border-color:#cbd8e4}input:focus,textarea:focus{border-color:#2c82d8;box-shadow:0 0 0 3px #2c82d822}
.primary{background:#2c82d8;border-color:#2c82d8}.primary:hover{background:#1d6dbb}.error{color:#bf4040}
.workspace{min-height:0;overflow:auto}.agent-card{background:#fff;border-color:#dce5ee;color:#293b4c;box-shadow:0 5px 16px #2847660d}.agent-card:hover{border-color:#2c82d8}.agent-icon{background:#e8f3ff;color:#2c82d8}.agent-detail{color:#2c82d8}
.chat-layout{height:100%;min-height:0;width:min(100%,1160px);border-radius:15px}
.chat-head{flex:none;min-height:76px;padding:12px 20px;background:#fff;border-bottom:1px solid #e1e8ef}.chat-head h1{color:#253b50}.back{flex:none}
.connection{margin-left:auto;display:flex;align-items:center;gap:9px;color:#748798;font-size:13px;white-space:nowrap}
.connection-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#aebbc7;box-shadow:0 0 0 3px #aebbc72b}
.connection.is-live{color:#247a4a}.connection.is-live .connection-dot{background:#26ba66;box-shadow:0 0 0 3px #26ba662a;animation:live-blink 2.2s ease-in-out infinite}
@keyframes live-blink{50%{box-shadow:0 0 0 7px #26ba660b;opacity:.55}}
.messages{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:24px clamp(16px,5vw,55px);background:#f7f9fc;scrollbar-color:#bfd0e2 transparent}
.message-name{color:#57748f}.message-text{background:#fff;border-color:#dce5ee;color:#263747;box-shadow:0 2px 8px #335a7e0b}.mine .message-text{background:#2c82d8;border-color:#2c82d8;color:#fff}.message time{color:#8192a3}.empty{color:#7b8d9e}
.composer{position:relative;flex:none;align-items:flex-end;z-index:1;margin-top:auto;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e0e7ef;background:#fff;box-shadow:0 -6px 18px #32567509}
.composer textarea{resize:none;min-height:54px;max-height:35dvh;background:#f8fafc;border-color:#cddbe8}.composer .primary{flex:none}.chat-layout>.error{background:#fff;color:#c14040}
.thinking{flex:none;background:linear-gradient(110deg,#eaf5ff,#f7fbff 60%,#e7f4ff);border-color:#b8d7f1;box-shadow:0 4px 15px #2c82d81a;margin:12px 20px}.thinking-copy strong{color:#2a587f}.thinking-copy>span:not(.thinking-dots){color:#6387a5}.thinking-orbit{border-color:#2c82d82a;border-top-color:#2c82d8}
.activity-panel{flex:none;margin:0 20px 12px;padding:10px 14px;border-left:3px solid #2c82d8;background:#f0f6fc;border-radius:8px;color:#486175;font-size:12px;max-height:120px;overflow:auto}.activity-heading{font-weight:700;color:#2c82d8}.activity-panel ol{margin:5px 0 0;padding-left:18px}.activity-panel li{padding:2px 0}
@media(max-width:600px){.topbar{height:60px;padding:0 15px}.brand{font-size:19px}main{flex:1;padding:0;min-height:0;align-items:stretch}.login,.setup{margin:auto 14px}.workspace{padding:22px 16px}.chat-layout{height:100%;width:100%;border:0;border-radius:0;box-shadow:none}.chat-head{min-height:64px;padding:8px 12px}.chat-head h1{font-size:16px}.chat-head .eyebrow{font-size:10px}.back{width:30px;font-size:25px}.connection{gap:6px;font-size:11px}.connection-dot{width:8px;height:8px}.messages{padding:17px 13px}.message{max-width:92%}.composer{padding:10px 11px calc(10px + env(safe-area-inset-bottom));gap:8px}.composer textarea{min-height:48px;max-height:30dvh}.composer .primary{height:48px;min-height:48px}.thinking{margin:8px 11px}.activity-panel{margin:0 11px 8px;max-height:90px}}
@media(prefers-reduced-motion:reduce){.connection.is-live .connection-dot{animation:none}}
html,body{height:100%;min-height:0;max-height:100%;overflow:hidden}
body{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh}
.shell{height:100%;max-height:100%;min-height:0}
main{flex:1;min-height:0;max-height:100%;overflow:hidden}
.chat-layout{min-height:0;max-height:100%;overflow:hidden}
.messages{-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:contain}
.composer{display:flex;flex-direction:column;align-items:stretch;gap:7px}
.composer-row{display:flex;align-items:stretch;gap:11px;width:100%}
.composer-row textarea{flex:1;width:0;height:54px;min-height:54px;max-height:54px}
.composer-row .primary{height:54px;min-height:54px;align-self:stretch}
.concise-option{display:inline-flex;align-items:center;align-self:flex-start;gap:7px;font-size:12px;color:#64798b;cursor:pointer}
.concise-option input{width:15px;height:15px;margin:0;accent-color:#2c82d8;box-shadow:none}
@media(max-width:600px){.composer-row{gap:8px}.composer-row textarea,.composer-row .primary{height:48px;min-height:48px;max-height:48px}}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400 800;font-display:swap;src:url('montserrat-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400 800;font-display:swap;src:url('montserrat-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root,body,button,input,textarea{font-family:Montserrat,Arial,sans-serif}
.brand small{letter-spacing:.02em;text-transform:none;font-size:11px;margin-top:0}
.agent-icon{width:45px;height:45px;border-radius:50%;overflow:hidden;background:transparent}
.agent-icon img,.chat-agent-avatar,.message-avatar{display:block;border-radius:50%;object-fit:cover;flex:none}
.chat-agent-avatar{box-shadow:0 0 0 2px #d5e8f8}
.message{position:relative}.message.theirs{padding-left:40px}.message.mine{padding-right:40px}
.message-avatar{position:absolute;bottom:19px;width:30px;height:30px}.message.theirs .message-avatar{left:0}.message.mine .message-avatar{right:0}
#chat-error:empty{display:none}
.composer{padding-bottom:max(3px,env(safe-area-inset-bottom));gap:5px}
.concise-option{line-height:17px}
@media(max-width:600px){.composer{padding-bottom:max(3px,env(safe-area-inset-bottom))}.message.theirs{padding-left:35px}.message.mine{padding-right:35px}.message-avatar{width:28px;height:28px}}
:root{font-size:14px}
.message-text{font-size:14px}
.composer-row textarea::placeholder{font-style:italic}
.composer{padding-bottom:max(5px,env(safe-area-inset-bottom))}
.chat-open main{padding:0}
.chat-open .chat-layout{width:100%;max-width:none;border-radius:0;border-left:0;border-right:0}
@media(max-width:600px){.composer{padding-bottom:max(5px,env(safe-area-inset-bottom))}}
.workspace{width:100%;max-width:none;margin-top:0;align-self:flex-start}
.section-heading{margin:2px 0 20px}.section-heading .eyebrow{letter-spacing:normal;text-transform:none}.section-heading h1{letter-spacing:normal;margin:6px 0}.section-heading .muted{margin:0}
.dashboard-status{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding:16px 20px;border:1px solid #dce9f4;border-radius:16px;background:linear-gradient(110deg,#fff,#f2f8fe);box-shadow:0 8px 24px #2c82d810}
.dashboard-status-main{display:flex;align-items:center;gap:14px;min-width:0}.dashboard-status-main strong{display:block;font-size:15px;color:#2c455d}.dashboard-status-main small{display:block;margin-top:3px;color:#718697;font-size:12px}
.dashboard-dot{display:block;flex:none;width:13px;height:13px;border-radius:50%;background:#aebbc7;box-shadow:0 0 0 5px #aebbc72b}.dashboard-dot.online{background:#28bb68;box-shadow:0 0 0 5px #28bb6825;animation:live-blink 2.2s ease-in-out infinite}
.dashboard-status-meta{display:flex;gap:18px;flex-wrap:wrap;color:#7890a3;font-size:12px;text-align:right}
@media(max-width:600px){input,textarea{font-size:16px!important}.workspace{padding:17px 15px}.section-heading{margin:0 0 15px}.section-heading h1{font-size:23px}.dashboard-status{align-items:flex-start;flex-direction:column;gap:9px;padding:14px 15px;margin-bottom:17px}.dashboard-status-meta{gap:12px;text-align:left}.composer-row textarea{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.dashboard-dot.online{animation:none}}
.login-open main{align-items:flex-start;padding-top:clamp(15px,3vh,32px)}
.login{padding:24px 30px 18px}
.login h1{margin:8px 0 5px}
.login .muted{margin:0}
.login form{margin-top:12px}
.login label{margin:12px 0 6px}
.login .primary{margin-top:17px}
#login-error:empty{display:none}
#login-error:not(:empty){min-height:0;margin:10px 0 0}
.fleet-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:-7px 0 22px}
.fleet-stat{display:flex;align-items:center;gap:13px;min-width:0;padding:14px 18px;border:1px solid #dce9f4;border-radius:14px;background:#fff;box-shadow:0 5px 16px #2847660d}
.fleet-stat strong{font-size:24px;color:#2c82d8;font-variant-numeric:tabular-nums}.fleet-stat span{font-size:13px;color:#5d7489}
@media(max-width:600px){.login-open main{align-items:flex-start;padding:16px 14px}.login{width:100%;margin:0;padding:20px 22px 16px}.fleet-stats{gap:9px;margin:-5px 0 17px}.fleet-stat{padding:11px;align-items:flex-start;flex-direction:column;gap:2px}.fleet-stat strong{font-size:22px}.fleet-stat span{font-size:11px}}
.topbar{width:100%;padding-left:20px;padding-right:20px}
.login form{margin-top:0}
.login form label:first-child{margin-top:0}
@media(max-width:600px){.topbar{padding-left:15px;padding-right:15px}}
.login{padding-top:14px}
.login h1{margin-top:0}
.login .muted{margin-bottom:8px}
.section-heading h1{margin-top:0}
.fleet-stat{flex-wrap:wrap}
@media(max-width:600px){.login{padding-top:14px}.fleet-stat{align-items:flex-start}}
@media(max-width:600px){.composer-row{align-items:flex-end}.composer-row textarea{height:88px;min-height:88px;max-height:168px;overflow-y:auto;line-height:1.4}.composer-row .primary{height:48px;min-height:48px;max-height:48px;align-self:flex-end}}
@media(max-width:600px){body{top:var(--app-visible-top,0px);bottom:auto;height:var(--app-visible-height,100dvh);max-height:var(--app-visible-height,100dvh)}.composer-row{align-items:stretch}.composer-row .primary{height:auto;min-height:88px;max-height:none;align-self:stretch}body.keyboard-open .composer{padding-bottom:0}}
.chat-layout{position:relative}
.route-open{align-self:flex-start;margin:4px 0 0 40px;padding:8px 12px;border:1px solid #bbd9f3;border-radius:9px;background:#eef7ff;color:#236fab;font-weight:700}
.route-open:hover{background:#e0f0ff}
.route-panel{position:absolute;inset:76px 0 92px;z-index:5;display:flex;flex-direction:column;background:#f7f9fc;border-top:1px solid #dce5ee;box-shadow:0 0 30px #294c7029}
.route-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none;padding:13px 22px;background:#fff;border-bottom:1px solid #dce5ee}
.route-head strong{display:block;font-size:18px;color:#2c455d}.route-head small{display:block;margin-top:3px;color:#74899c;font-size:12px}
.route-close{width:35px;height:35px;border:0;border-radius:8px;background:#eef4f9;color:#496277;font-size:25px;line-height:1}
.route-body{overflow:auto;padding:17px 22px 22px;overscroll-behavior:contain}
.route-map-card,.route-graph{padding:15px;background:#fff;border:1px solid #dce7f1;border-radius:12px;box-shadow:0 3px 12px #2c82d80b}
.route-map-card svg{display:block;width:100%;height:220px;border-radius:8px;background:#f5f9fc}
.route-map-card small{display:block;margin:8px 0 0;color:#71869a}.route-map-link{display:inline-block;margin-top:7px;color:#2c82d8;font-weight:700;text-decoration:none}.route-map-link:hover{text-decoration:underline}
.route-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.route-controls button{min-width:42px;min-height:36px;padding:0 11px;background:#fff;border:1px solid #c8d9e8;border-radius:8px;color:#2c82d8;font-weight:700}.route-controls button:hover{background:#e8f3ff}
.route-time{margin-left:auto;color:#526b80;font-variant-numeric:tabular-nums}
.route-facts{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.route-facts span{padding:6px 8px;border-radius:7px;background:#eaf4fd;color:#35556f;font-size:12px}
.route-graph{margin-top:12px}.route-graph summary{cursor:pointer;font-weight:700;color:#36516b}.route-graph svg{display:block;width:100%;height:150px;margin-top:6px}
.route-legend{display:flex;gap:15px;flex-wrap:wrap;margin:10px 0 0;color:#698096;font-size:12px}.route-legend span:before{content:'';display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:var(--series-color)}
.route-note,.route-empty{color:#6a8092;line-height:1.5}
@media(max-width:600px){.route-open{margin-left:35px}.route-panel{inset:64px 0 135px}.route-head{padding:10px 14px}.route-head strong{font-size:16px}.route-head small{font-size:11px}.route-body{padding:12px}.route-map-card svg{height:180px}.route-graph svg{height:125px}.route-time{width:100%;margin:0}}
.route-google-map{width:100%;height:320px;border-radius:8px;background:#dce6ed}
.route-address{margin-top:9px;color:#35546d;font-size:13px;font-weight:700}
@media(max-width:600px){.route-google-map{height:245px}}
.chat-layout.route-detail-open .composer,.chat-layout.route-detail-open>.thinking,.chat-layout.route-detail-open>.activity-panel,.chat-layout.route-detail-open>.error{display:none}
.route-panel{inset:76px 0 0;min-height:0}
.route-body{flex:1;min-height:0;overflow-y:auto}
.route-footer{flex:none;display:flex;flex-direction:column;gap:10px;padding:12px 22px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce5ee;box-shadow:0 -4px 14px #2c82d812}
.route-footer.hidden{display:none}
.route-footer .route-time{width:100%;margin:0;color:#2c455d;font-family:Montserrat,Arial,sans-serif;font-size:13px;font-weight:700}
.route-footer .route-facts{margin:0;gap:6px;max-height:72px;overflow-y:auto}
.route-footer .route-facts span{font-weight:700}
.route-timeline{display:block;width:100%;height:28px;margin:0;-webkit-appearance:none;appearance:none;border:0;border-radius:0;box-shadow:none;accent-color:#2c82d8;touch-action:none;background:transparent;cursor:pointer}
.route-timeline::-webkit-slider-runnable-track{height:6px;border-radius:9px;background:linear-gradient(to right,#2c82d8 var(--route-progress,0%),#d7e5f1 var(--route-progress,0%))}
.route-timeline::-webkit-slider-thumb{-webkit-appearance:none;width:21px;height:21px;margin-top:-8px;border:3px solid #fff;border-radius:50%;background:#2c82d8;box-shadow:0 1px 6px #32567577}
.route-controls{display:grid;grid-template-columns:1fr 2fr 1fr;gap:10px;width:100%;margin:0}
.route-controls button{width:100%;min-height:44px;font-family:Montserrat,Arial,sans-serif}
.route-map-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border-radius:8px;background:#2c82d8;color:#fff;font-size:12px;text-decoration:none}
.route-map-link:hover{background:#1d6dbb;color:#fff;text-decoration:none}
@media(max-width:600px){.route-panel{inset:64px 0 0}.route-body{padding:12px}.route-footer{gap:8px;padding:9px 11px max(5px,env(safe-area-inset-bottom))}.route-footer .route-facts{max-height:66px}.route-controls button{min-height:40px}.route-footer .route-time{font-size:12px}}
.route-section-title{margin:20px 0 3px;color:#2c455d;font-size:17px;letter-spacing:0}
.route-section-hint{margin:0 0 10px;color:#71869a;font-size:12px;line-height:1.4}
.route-graph{margin-top:8px;padding:12px 14px}
.route-graph summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:28px}
.route-graph summary::-webkit-details-marker{display:none}
.route-graph summary::after{content:'⌄';color:#2c82d8;font-size:20px;line-height:1}
.route-graph[open] summary::after{transform:rotate(180deg)}
.route-graph svg{height:180px;margin-top:4px}
@media(max-width:600px){.route-section-title{margin-top:16px;font-size:15px}.route-graph{padding:10px}.route-graph svg{height:170px}}
.chat-layout.route-detail-open>.chat-head{display:none}
.chat-layout.route-detail-open .route-panel{inset:0}
.route-head{justify-content:flex-start;gap:12px}
.route-close{flex:none;width:38px;height:38px;background:transparent;color:#587083;font-size:29px;font-weight:700}
.route-close:hover{background:#eef7ff;color:#2c82d8}
.route-graph{border-color:#dce7f1;box-shadow:0 3px 14px #2c82d80d}
.route-graph summary{font-family:Montserrat,Arial,sans-serif;font-size:14px;font-weight:700;outline:none}
.route-graph summary:focus-visible{outline:2px solid #2c82d8;outline-offset:3px;border-radius:4px}
.route-graph summary::after{content:'⌄';font-family:Arial,sans-serif;font-size:28px;font-weight:900;line-height:.8}
.route-graph svg{font-family:Montserrat,Arial,sans-serif}
@media(max-width:600px){.route-head{padding:10px 12px}.route-close{width:34px;height:34px;font-size:26px}.route-head strong{font-size:15px}}
.route-head-copy{flex:1;min-width:0}
.route-head .route-map-link{flex:none;gap:7px;margin:0;padding:7px 12px;white-space:nowrap}
.route-head .route-map-link svg{flex:none}
.route-close,.route-controls button,.route-graph summary,.route-map-link{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.route-close,.route-controls .route-step{display:inline-flex;align-items:center;justify-content:center}
.route-close svg,.route-controls .route-step svg{display:block}
.route-graph summary::after{content:'';display:block;flex:none;width:11px;height:11px;margin:0 6px 5px 10px;border-right:3px solid #172330;border-bottom:3px solid #172330;transform:rotate(45deg);align-self:center}
.route-graph[open] summary::after{transform:rotate(225deg);margin-top:8px;margin-bottom:0}
@media(max-width:600px){.route-head{gap:8px}.route-head .route-map-link{gap:4px;padding:7px 8px;font-size:11px}.route-head .route-map-link svg{width:15px;height:15px}}
.brand-avatar{display:block;flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #d5e8f8}
.chat-head .back{display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.chat-head .back svg{display:block}
.chat-head h1{margin:0;line-height:1.25;letter-spacing:0}
.message.theirs .route-open{margin-left:0}
.agent-card{min-height:112px}
.agent-card .agent-name{margin-top:0}
@media(max-width:600px){.brand-avatar{width:38px;height:38px}.chat-head .back{width:34px;height:38px}}
.topbar{height:80px;min-height:80px}
.chat-head,.route-head{height:60px;min-height:60px;box-sizing:border-box}
.chat-head{padding-top:8px;padding-bottom:8px}
.route-head{padding-top:6px;padding-bottom:6px}
.route-head-copy{overflow:hidden}
.route-head-copy strong,.route-head-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-graph summary{border-radius:6px;transition:background-color .15s,color .15s}
.route-graph summary:hover{background:#eef7ff;color:#2c82d8}
.route-graph summary::after{border-color:currentColor}
@media(max-width:600px){.topbar{height:80px;min-height:80px}.chat-head,.route-head{height:60px;min-height:60px;padding-top:6px;padding-bottom:6px}}
.chat-head,.route-head{padding-left:20px;padding-right:20px}
.chat-head .back,.route-head .route-close{width:38px;height:38px;justify-content:flex-start}
.chat-head .back svg,.route-head .route-close svg{margin-left:-4px}
.route-graph summary:hover{background:transparent;color:#36516b}
.route-graph summary::after,.route-graph summary:hover::after,.route-graph summary:focus-visible::after{border-color:#333333}
.route-graph summary,.route-graph summary:hover{color:#333333}
.route-footer .route-facts span.route-fact-alert{background:#fff0ed;color:#333333}
.route-graph svg{height:200px}
@media(max-width:600px){.chat-head,.route-head{padding-left:15px;padding-right:15px}.chat-head .back,.route-head .route-close{width:38px;height:38px}.route-graph svg{height:190px}}
.route-alert-legend{font-size:11px;line-height:1.35;color:#566b7d}
.route-graph summary:hover::after{border-color:#2c82d8}
.route-graph summary:hover{color:#2c82d8}
.route-head .route-close:hover{background:transparent;color:#2c82d8}
.alarm-entry,.alarm-list-item{font:inherit;text-align:left;border:1px solid #d4e4f4;background:#fff;color:#333;cursor:pointer;box-shadow:0 3px 14px rgba(27,67,106,.05)}
.alarm-entry{display:flex;flex-direction:column;gap:7px;width:100%;margin-top:16px;padding:20px;border-radius:16px}
.alarm-entry strong{font-size:18px}.alarm-entry span,.alarm-list-item small,.alarm-view-head p,.alarm-report-head p,.alarm-note{color:#65788c}
.alarm-entry:hover,.alarm-list-item:hover{border-color:#2c82d8;background:#f6fbff}
.alarm-workspace{padding:18px 24px;min-height:0;overflow:auto}.alarm-view-head,.alarm-report-head{display:flex;align-items:center;gap:16px}.alarm-view-head h1,.alarm-report-head h1{font-size:22px;margin:0;color:#333}.alarm-view-head p,.alarm-report-head p{margin:4px 0 0}.alarm-view-head .back,.alarm-report-head .back{font-size:26px;color:#333;background:none;border:0;cursor:pointer}.alarm-refresh{margin-left:auto;padding:9px 13px;border:1px solid #c7dcef;border-radius:9px;background:white;color:#2c82d8;font:inherit;font-weight:700;cursor:pointer}.alarm-note{margin:18px 0;font-size:13px}.alarm-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.alarm-list-item{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:12px}.alarm-list-item strong{color:#2c82d8}.alarm-list-item span{font-size:14px}
.chat-layout.report-open .chat-head,.chat-layout.report-open .messages,.chat-layout.report-open .thinking,.chat-layout.report-open .activity-panel,.chat-layout.report-open .composer,.chat-layout.report-open #chat-error{display:none!important}.chat-layout.report-open .alarm-report{display:block;overflow:auto;min-height:0;padding:20px 24px}.chat-layout.report-open.route-detail-open .alarm-report{display:none}.alarm-report-card{max-width:760px;margin:22px 0;padding:22px;border:1px solid #d4e4f4;border-radius:16px;background:white;color:#333;line-height:1.6}.alarm-report-card ul{padding-left:22px}.alarm-report-card .primary{margin-top:10px}.alarm-report-head p{font-size:13px}
@media(max-width:600px){.alarm-workspace,.chat-layout.report-open .alarm-report{padding:16px}.alarm-view-head h1,.alarm-report-head h1{font-size:17px}.alarm-refresh{font-size:12px;padding:8px}.alarm-report-card{padding:16px}}
.alarms-open main{align-items:stretch;justify-content:stretch;padding:0;min-height:0}
.alarm-workspace{display:flex;flex-direction:column;flex:1;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;padding:20px 24px 0}
.alarm-view-head,.alarm-toolbar,.alarm-note{flex:none}.alarm-view-head{width:min(100%,1100px);margin:0 auto}.alarm-toolbar{display:flex;gap:10px;width:min(100%,1100px);margin:20px auto 0}.alarm-toolbar input,.alarm-toolbar select{height:43px;min-width:0;padding:0 12px;background:#fff;border:1px solid #cbdbea;border-radius:9px;color:#333;font-size:14px}.alarm-toolbar input{flex:1}.alarm-toolbar select{max-width:210px}.alarm-toolbar input:focus,.alarm-toolbar select:focus{border-color:#2c82d8;outline:2px solid #2c82d833;box-shadow:none}
.alarm-note{width:min(100%,1100px);margin:12px auto;font-size:13px}.alarm-list{display:flex;flex-direction:column;gap:10px;width:min(100%,1100px);min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 2px 25px;margin:0 auto}
.alarm-list-item{display:block;flex:none;padding:0;cursor:default;overflow:hidden;border-radius:12px}.alarm-list-item summary{display:flex;align-items:center;gap:16px;padding:14px 18px;cursor:pointer;list-style:none}.alarm-list-item summary::-webkit-details-marker{display:none}.alarm-list-item summary:hover,.alarm-list-item summary:focus-visible{background:#f2f8ff}.alarm-item-heading{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.alarm-item-heading strong{color:#2c82d8;font-size:15px}.alarm-item-heading span{color:#333;font-size:14px;overflow-wrap:anywhere}.alarm-list-item time{color:#65788c;font-size:13px;white-space:nowrap}.alarm-chevron{width:11px;height:11px;flex:none;border-right:3px solid #333;border-bottom:3px solid #333;transform:rotate(45deg);margin:0 5px 5px}.alarm-list-item[open] .alarm-chevron{transform:rotate(225deg);margin:6px 5px 0}.alarm-item-content{border-top:1px solid #e0eaf3;padding:14px 18px 17px;color:#333;font-size:14px;line-height:1.5}.alarm-item-content p{margin:0 0 9px}.alarm-item-content ul{margin:8px 0;padding-left:20px}.alarm-detail-button{border:1px solid #2c82d8;border-radius:8px;background:#2c82d8;color:#fff;font-weight:700;padding:10px 14px;margin-top:4px}.alarm-detail-button:hover{background:#1d6fbe}
@media(max-width:700px){.alarm-workspace{padding:16px 14px 0}.alarm-toolbar{display:grid;grid-template-columns:1fr 1fr}.alarm-toolbar input{grid-column:1/-1;width:100%}.alarm-toolbar select{max-width:none;width:100%}.alarm-list-item summary{align-items:flex-start;gap:9px;padding:13px}.alarm-list-item time{font-size:11px}.alarm-item-content{padding:13px}.alarm-view-head{gap:8px}.alarm-view-head p{font-size:11px}}
.brand-home{border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer}.brand-home:hover{opacity:.88}.brand-home:focus-visible{outline:2px solid #2c82d8;outline-offset:5px;border-radius:6px}
.alarm-view-head .back,.alarm-report-head .back{display:inline-flex;align-items:center;justify-content:flex-start;width:38px;height:38px;flex:none;color:#333}.alarm-view-head .back svg,.alarm-report-head .back svg{display:block;margin-left:-4px}.alarm-view-head .back:hover,.alarm-report-head .back:hover{color:#2c82d8}
.alarm-chevron{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:0;transform:none;margin:0;color:#333}.alarm-chevron svg{display:block;width:20px;height:20px}.alarm-list-item[open] .alarm-chevron{transform:rotate(180deg);margin:0}.alarm-list-item summary:hover .alarm-chevron{color:#2c82d8}
.alarm-detail-button{display:inline-flex;align-items:center;justify-content:center;gap:9px}.alarm-detail-button svg{display:block;width:18px;height:18px;flex:none}
.alarm-ai-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;margin:12px 0 0 12px;padding:7px 15px 7px 8px;border:1px solid #8bb8e2;border-radius:10px;background:#f0f7ff;color:#205f9b;font:inherit;font-weight:700;text-align:left;vertical-align:middle;box-shadow:0 2px 9px rgba(32,95,155,.08)}.alarm-ai-button:hover{border-color:#2c82d8;background:#e2f0ff;color:#174d81}.alarm-ai-button:focus-visible{outline:3px solid #2c82d866;outline-offset:2px}.alarm-ai-button img{display:block;width:28px;height:28px;flex:none;border-radius:50%;background:#d8eaff}.alarm-report-card .alarm-ai-button{margin-top:12px}.alarm-item-content .alarm-ai-button{margin-top:12px}@media(max-width:700px){.alarm-ai-button,.alarm-report-card .alarm-ai-button{display:flex;width:fit-content;max-width:100%;margin-left:0}.alarm-ai-button{font-size:13px}}
.login-open .topbar{display:none}.login-open main{justify-content:center;align-items:flex-start;padding-top:clamp(20px,4vh,48px)}.login-entry{display:flex;flex-direction:column;align-items:center;width:min(100%,440px);margin:0 auto}.login-entry .login{width:100%;margin:0}.login-brand{display:flex;flex-direction:column;align-items:center;margin:0 0 20px;text-align:center}.login-brand-avatar{display:block;width:120px;height:120px;border-radius:50%;object-fit:cover;border:3px solid #d9eaf8;box-shadow:0 8px 25px #244a7020}.login-brand>strong{display:block;margin-top:13px;color:#2c82d8;font-size:27px;line-height:1.15;font-weight:800}.login-brand>span{display:flex;align-items:center;gap:6px;margin-top:5px;color:#6c7c8d;font-size:13px;font-weight:600}.login-brand>span img{display:block;width:90px;height:auto;object-fit:contain}@media(max-width:600px){.login-open main{padding:20px 14px}.login-brand{margin-bottom:17px}.login-brand-avatar{width:120px;height:120px}.login-entry .login{width:100%;margin:0}}
/* Flacher Form360-Stil: helle Arbeitsfläche, dezente Konturen und kompakte Ecken. */
:root,body{background:#f0f0f0}.messages,.route-panel{background:#f0f0f0}.login-brand>strong{color:#333333}.card,.agent-card,.dashboard-status,.fleet-stat,.alarm-entry,.alarm-list-item,.alarm-report-card,.route-map-card,.route-graph,.thinking{border-radius:7px;box-shadow:0 2px 8px rgba(25,44,62,.06)}.chat-layout{border-radius:7px;box-shadow:0 2px 8px rgba(25,44,62,.06)}.message-text{border-radius:7px;box-shadow:none}.primary,.alarm-refresh,.alarm-detail-button,.alarm-ai-button,.route-map-link,.route-controls button,.route-close,.route-open,.route-step{border-radius:5px;box-shadow:none}input,textarea,.alarm-toolbar input,.alarm-toolbar select,.composer textarea{border-radius:5px}.route-google-map,.route-map-card svg{border-radius:5px}.route-facts span{border-radius:4px}@media(max-width:600px){.chat-layout{border-radius:0}}
/* Neutrale Rahmen; nur die Fläche der auswählbaren Karten färbt sich beim Hover. */
:root,body,.workspace,.alarm-workspace,.chat-layout.report-open .alarm-report,.messages,.route-panel{background:#f5f5f5}.card,.chat-layout,.agent-card,.dashboard-status,.fleet-stat,.alarm-entry,.alarm-list-item,.alarm-report-card,.route-map-card,.route-graph,.thinking,.message.theirs .message-text{border-color:#dedede}.agent-card{transform:none;transition:background-color .16s ease,border-color .16s ease}.agent-card:hover,.agent-card:focus-visible{transform:none;border-color:#dedede;background:#edf5fc}.alarm-entry:hover,.alarm-list-item:hover{border-color:#dedede;background:#edf5fc}.login-brand-avatar{border-color:#d3d3d3;box-shadow:0 0 0 1px #d3d3d3}.brand-avatar,.chat-agent-avatar{box-shadow:0 0 0 2px #d3d3d3}.agent-icon img,.message-avatar,.alarm-ai-button img{border:1px solid #d3d3d3}.thinking-avatar{animation:none;box-shadow:0 0 0 2px #d3d3d3}
button{border:0!important}.route-map-link{border:0}.alarm-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;margin-top:12px}.alarm-actions>.primary,.alarm-actions>.alarm-detail-button,.alarm-actions>.alarm-ai-button{display:inline-flex;align-items:center;justify-content:center;height:52px;min-height:52px;max-height:52px;margin:0!important;padding:7px 14px;line-height:1.2;box-sizing:border-box}.alarm-actions>.alarm-ai-button{gap:10px;text-align:left}.alarm-actions>.alarm-ai-button img{width:28px;height:28px;flex:none}@media(max-width:700px){.alarm-actions{flex-direction:column}.alarm-actions>.primary,.alarm-actions>.alarm-detail-button,.alarm-actions>.alarm-ai-button{width:100%;max-width:100%}}
.login-brand-avatar,.login-brand .login-brand-avatar{width:160px;height:160px;border:0;box-shadow:none}.login-brand>strong{margin-top:16px;font-size:30px;line-height:1}.login-brand>span{gap:5px;color:#999999;font-size:10px}@media(max-width:600px){.login-brand-avatar,.login-brand .login-brand-avatar{width:160px;height:160px}}
.card,.chat-layout,.agent-card,.dashboard-status,.fleet-stat,.alarm-entry,.alarm-list-item,.alarm-report-card,.route-map-card,.route-graph,.thinking,.message.theirs .message-text{border:0}
.brand-avatar,.chat-agent-avatar{box-shadow:0 0 0 1px #f0f0f0}.brand small{display:flex;align-items:center;gap:5px;color:#999999;font-size:10px;line-height:1}.brand small img{display:block;width:72px;height:auto;object-fit:contain}.login-brand>strong span{color:#2c82d8}.composer textarea{background:#ffffff;border-color:#f0f0f0}.agent-icon img,.message-avatar,.alarm-ai-button img{border:0}.route-open{background:#2c82d8;color:#ffffff;border:0}.route-open:hover{background:#1d6dbb;color:#ffffff}.alarm-toolbar input,.alarm-toolbar select{border:0}
img[data-sandro-avatar]{animation:none;transform:none;will-change:auto}
.brand-avatar{width:60px;height:60px}
.login-brand>span{margin-top:15px;font-style:italic}
.login-brand>span img{width:120px}
.login h1{text-align:center}
.message-avatar{width:40px;height:40px}
.message.theirs{padding-left:48px}.message.mine{padding-right:48px}
@media(max-width:600px){.brand-avatar{width:60px;height:60px}.message-avatar{width:40px;height:40px}.message.theirs{padding-left:48px}.message.mine{padding-right:48px}}
.brand{font-size:24px;font-weight:800;letter-spacing:0}
.brand small{font-style:italic;font-weight:600;letter-spacing:0}
.brand small img{width:80px}
