@font-face{font-family:AlarmDoc;src:url('./DejaVuSans.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:AlarmDoc;src:url('./DejaVuSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ad-navy:#10243a;--ad-signal:#e54743;--ad-ice:#eaf1f6;--ad-bg:#f8fafc;--ad-panel:#fff;--ad-soft:#eaf1f6;--ad-text:#10243a;--ad-muted:#54677a;--ad-line:#d8e2ea;--ad-input:#fff;--ad-link:#174d77;--ad-success:#146c43;--ad-danger:#b93230;--ad-shadow:0 6px 24px #10243a06;color-scheme:light}
:root[data-ad-theme=dark]{--ad-bg:#091522;--ad-panel:#14283c;--ad-soft:#1c354d;--ad-text:#f0f5fb;--ad-muted:#b2c5d8;--ad-line:#36516b;--ad-input:#102136;--ad-link:#9ed7ff;--ad-success:#8be0b2;--ad-danger:#ffaaa6;--ad-shadow:none;color-scheme:dark}
html[data-ad-theme] body{background:var(--ad-bg);color:var(--ad-text);font:400 15px/1.5 AlarmDoc,Arial,sans-serif}
html[data-ad-theme] a{color:var(--ad-link)}
html[data-ad-theme] .ad-header{background:var(--ad-navy);border-bottom:1px solid #284760;min-height:76px;display:flex;align-items:center;padding:12px max(22px,3vw);gap:26px;flex-wrap:wrap}
.ad-brand{display:inline-flex;align-items:center;text-decoration:none;flex:0 0 auto}.ad-brand img{width:184px;height:44px;object-fit:contain;display:block}
.ad-header nav{display:flex;flex:1;gap:24px}.ad-header nav a{margin:0!important;color:#e5edf6!important;font-size:13px;font-weight:700;text-decoration:none}
html[data-ad-theme] .ad-header button{background:transparent;color:#fff;border:1px solid #526a80;box-shadow:none;margin:0;font-size:12px}
.ad-theme-controls{margin-left:auto}.ad-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:38px;cursor:pointer}.ad-theme-symbol{font:20px/1 Arial,sans-serif}.ad-release-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:#fff;background:#96382f;border:1px solid #df6b61;border-radius:5px;padding:3px 7px}
html[data-ad-theme] main{max-width:1600px;margin:24px auto;padding:0 24px}
html[data-ad-theme] .admin-shell{grid-template-columns:268px minmax(0,1fr);gap:28px}
html[data-ad-theme] .sidebar{background:var(--ad-navy);color:#e6f0fa;border:1px solid #29445d;border-radius:12px;padding:15px;top:18px}
html[data-ad-theme] .sidebar-heading{color:#a9c0d5;letter-spacing:.1em;font-size:10px;margin:5px 10px 14px}
html[data-ad-theme] .side-link{color:#e2edf7;font-size:13px;line-height:1.5;padding:11px 10px;border-radius:7px;min-height:43px}
html[data-ad-theme] .side-link:hover{background:#203e58;color:white}
html[data-ad-theme] .side-link.selected{background:#24445f;box-shadow:inset 3px 0 var(--ad-signal);color:white}
html[data-ad-theme] .side-icon{color:#c6dae9}.side-group-title{font-weight:700}.side-submenu{border-color:#3e5a74!important}.side-sub-link{font-size:12px!important}
html[data-ad-theme] .side-bottom{border-color:#3e5a74}.side-bottom a{color:#dbe8f4!important}
html[data-ad-theme] .content>h1{font-size:clamp(23px,2.3vw,33px);font-weight:700;line-height:1.22;letter-spacing:-.025em;margin-bottom:22px}
html[data-ad-theme] .breadcrumbs,html[data-ad-theme] .breadcrumbs a{color:var(--ad-muted);font-size:12px}
html[data-ad-theme] section,html[data-ad-theme] .panel,html[data-ad-theme] .ad-card,html[data-ad-theme] .department-card,html[data-ad-theme] .metric{background:var(--ad-panel);border:1px solid var(--ad-line);border-radius:12px;color:var(--ad-text);box-shadow:var(--ad-shadow)}
html[data-ad-theme] section,html[data-ad-theme] .panel,html[data-ad-theme] .ad-card{padding:24px;margin:18px 0}
html[data-ad-theme] h2{font-size:20px;letter-spacing:-.02em;line-height:1.3;color:var(--ad-text)}
html[data-ad-theme] h3{color:var(--ad-text)}
html[data-ad-theme] small,html[data-ad-theme] .ad-muted,html[data-ad-theme] .toolbar p,html[data-ad-theme] .metric span,html[data-ad-theme] .department-list-name>div{color:var(--ad-muted)}
html[data-ad-theme] input,html[data-ad-theme] select,html[data-ad-theme] textarea{background:var(--ad-input);color:var(--ad-text);border:1px solid var(--ad-line);border-radius:8px;padding:11px 12px;font:inherit;accent-color:var(--ad-navy)}
html[data-ad-theme] input:focus-visible,html[data-ad-theme] select:focus-visible,html[data-ad-theme] textarea:focus-visible{outline:2px solid #4185b5;outline-offset:2px}
html[data-ad-theme] button,html[data-ad-theme] .button-link{background:var(--ad-navy);color:white;border:1px solid #284d6e;border-radius:8px;padding:10px 15px;font:700 13px/1.5 AlarmDoc,Arial,sans-serif;text-decoration:none;box-shadow:none}
html[data-ad-theme] button:focus-visible,html[data-ad-theme] a:focus-visible{outline:3px solid var(--ad-signal);outline-offset:3px}
html[data-ad-theme] .btn-muted,html[data-ad-theme] .navbutton{background:var(--ad-soft);border:1px solid var(--ad-line);color:var(--ad-text)}
html[data-ad-theme] .danger{background:#b93230!important;color:white!important;border-color:#b93230!important}
html[data-ad-theme] th{background:var(--ad-soft);color:var(--ad-muted);font-size:11px;letter-spacing:.03em;text-transform:none}
html[data-ad-theme] td,html[data-ad-theme] th{border-bottom:1px solid var(--ad-line);padding:14px 16px}
html[data-ad-theme] .metric{padding:24px}.metric strong{font-size:34px!important;line-height:1.2}.metric-grid{gap:16px!important}
html[data-ad-theme] .page-note{background:var(--ad-soft);border-color:var(--ad-line);color:var(--ad-text);font-size:13px}
html[data-ad-theme] .department-list{border-color:var(--ad-line)}html[data-ad-theme] .department-row{background:var(--ad-panel);border-color:var(--ad-line);padding:20px}
html[data-ad-theme] .department-list-logo{background:var(--ad-soft)}
html[data-ad-theme] .modal-dialog,html[data-ad-theme] .ad-modal-panel{background:var(--ad-panel);color:var(--ad-text);border-color:var(--ad-line)}
html[data-ad-theme] .ad-row:not(.ad-monitor-preview){background:var(--ad-soft);border-color:var(--ad-line);color:var(--ad-text)}
html[data-ad-theme] .ad-row button{background:var(--ad-panel);color:var(--ad-text);border-color:var(--ad-line)}
html[data-ad-theme] .ad-number{background:var(--ad-panel);color:var(--ad-text);border:1px solid var(--ad-line)}
html[data-ad-theme] .ad-pill{color:var(--ad-muted);border-color:var(--ad-line);background:var(--ad-soft)}
html[data-ad-theme] .ad-filters{gap:20px}.ad-radio,.ad-type{color:#f0f6ff!important}
html[data-ad-theme=light] .error{color:#a72424}
html[data-ad-theme] [style*="background:#182438"],html[data-ad-theme] [style*="background:#1e293b"],html[data-ad-theme] [style*="background:#0f172a"]{background:var(--ad-panel)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
html[data-ad-theme=light] .content [style*="color:#a9b3c7"],html[data-ad-theme=light] .content [style*="color:#94a3b8"]{color:var(--ad-muted)!important}
html[data-ad-theme=light] #divera-status [style*="color:#55cf91"],html[data-ad-theme=light] .content [style*="color:#55cf91"]{color:#146c43!important}
html[data-ad-theme] .ad-public-page{max-width:720px;margin:40px auto}.ad-public-brand{display:flex;align-items:center;gap:12px;justify-content:space-between;background:var(--ad-navy);padding:15px 22px;border-radius:12px;margin-bottom:18px}.ad-public-brand .ad-theme-toggle{background:transparent;color:white;border-color:#526a80}
.ad-public-page .hint{color:var(--ad-muted)!important}.ad-public-page input{width:100%}.ad-public-page .button{display:inline-block;background:var(--ad-navy);color:white;padding:12px 18px;text-decoration:none;border-radius:8px}
@media(max-width:1000px){html[data-ad-theme] .admin-shell{grid-template-columns:230px minmax(0,1fr);gap:18px}.ad-header nav{gap:12px}.ad-brand img{width:154px}.ad-header{gap:15px!important}}
@media(max-width:850px){html[data-ad-theme] .admin-shell{grid-template-columns:1fr}html[data-ad-theme] .sidebar{position:static}.ad-theme-controls{margin-left:0}html[data-ad-theme] main{padding:0 14px}html[data-ad-theme] .ad-header{gap:12px;padding:12px 14px}.ad-header nav{flex-wrap:wrap}html[data-ad-theme] section,html[data-ad-theme] .ad-card{padding:18px}.ad-public-brand .ad-brand img{width:135px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Typography 2: shared text roles for every administration component.
   Actual monitor pages do not load this stylesheet; status colors stay intact. */
:root{--ad-font:AlarmDoc,Arial,sans-serif;--ad-body-size:15px;--ad-small-size:13px;--ad-control-size:14px;--ad-h1-size:32px;--ad-h2-size:20px;--ad-h3-size:17px;--ad-warning:#805200;--ad-warning-bg:#fff4d6;--ad-ok-bg:#e6f4ec;--ad-error-bg:#fcebea}
:root[data-ad-theme=dark]{--ad-warning:#ffe0a0;--ad-warning-bg:#443519;--ad-ok-bg:#153e31;--ad-error-bg:#462d39}
html[data-ad-theme] body{font-family:var(--ad-font);font-size:var(--ad-body-size);font-weight:400;line-height:1.5}
html[data-ad-theme] :is(button,input,select,textarea,option,optgroup){font-family:var(--ad-font)}
html[data-ad-theme] :is(.content,.ad-public-page) :is(h1,h2,h3,h4){font-family:var(--ad-font);font-weight:700;color:var(--ad-text);line-height:1.3}
html[data-ad-theme] :is(.content,.ad-public-page) h1{font-size:var(--ad-h1-size);letter-spacing:-.025em}
html[data-ad-theme] :is(.content,.ad-public-page) h2{font-size:var(--ad-h2-size);letter-spacing:-.02em}
html[data-ad-theme] :is(.content,.ad-public-page) h3{font-size:var(--ad-h3-size);letter-spacing:normal}
html[data-ad-theme] :is(.content,.ad-public-page) h4{font-size:var(--ad-body-size);letter-spacing:normal}
html[data-ad-theme] :is(.content,.ad-public-page) :is(p,label,li,td){font-family:var(--ad-font);font-size:var(--ad-body-size);line-height:1.5;color:var(--ad-text)}
html[data-ad-theme] :is(.content,.ad-public-page) :is(input,select,textarea){font-size:var(--ad-body-size);line-height:1.5}
html[data-ad-theme] :is(.content,.ad-public-page) :is(button,.button,.button-link,.navbutton){font-size:var(--ad-control-size);line-height:1.5;font-weight:700;font-family:var(--ad-font)}
html[data-ad-theme] :is(.content,.ad-public-page) :is(small,th){font-family:var(--ad-font);font-size:var(--ad-small-size);line-height:1.5;color:var(--ad-muted)}
html[data-ad-theme] .side-sub-link{font-size:13px!important}
html[data-ad-theme] input::placeholder,html[data-ad-theme] textarea::placeholder{color:var(--ad-muted);opacity:1}
/* Explanations use the same primary text color as ordinary form descriptions. */
html[data-ad-theme] .content :is(.mo-intro,.audio-page-intro,.city-admin-panel-head p,.city-monitor-editor-head p,.mh-heading p){color:var(--ad-text);font-size:var(--ad-body-size);line-height:1.5}
/* Secondary text has one readable, theme-aware color rather than pale legacy blue. */
html[data-ad-theme] :is(.content,.ad-public-page) :is(.ad-muted,.hint,.mo-status,.cq-note,.cq-empty,.cq-number,.city-muted,.city-visual-info,.city-visual-note,.audio-helper,.audio-eyebrow,.audio-file-meta,.audio-file-assigned,.audio-monitor-state,.audio-empty,.mh-explain,.mh-stat span,.mh-help p,.mh-panel details p,.mh-panel details,.mh-scroll small,.unit-save-state){color:var(--ad-muted);font-size:var(--ad-small-size);line-height:1.5}
html[data-ad-theme] .content :is(.mo-status,.ad-pill,.cq-count,.mh-badge){background:var(--ad-soft);border-color:var(--ad-line);color:var(--ad-muted);font-size:var(--ad-small-size);font-family:var(--ad-font)}
html[data-ad-theme] .content .audio-library-ui{--audio-muted:var(--ad-muted);--audio-border:var(--ad-line)}
/* Neutral editor surfaces follow the selected theme. */
html[data-ad-theme] .content :is(.cq-card,.cq-row,.cq-count,.audio-tabs,.audio-upload-panel,.audio-manage-dialog,.audio-monitor-card,.city-monitor-tile,.city-admin-empty,.city-monitor-edit-panel,.city-admin-unit,.city-personnel-unit,.city-admin-card,.city-layout-tile,.mh-stat,.mh-help,.demo-car){background:var(--ad-panel);border-color:var(--ad-line);color:var(--ad-text)}
html[data-ad-theme] .content :is(.cq-row,.cq-count,.audio-tabs,.city-admin-unit,.city-personnel-unit[open]>summary,.mh-stat){background:var(--ad-soft)}
html[data-ad-theme] .content :is(.audio-upload-panel>summary,.audio-history>summary,.audio-check-live,.city-personnel-unit>summary,.mh-stat strong){color:var(--ad-text)}
html[data-ad-theme] .content :is(.audio-tabs,.city-admin-tabs,.city-admin-main-tabs) button{background:var(--ad-soft);color:var(--ad-text);border-color:var(--ad-line)}
html[data-ad-theme] .content :is(.audio-tabs,.city-admin-tabs,.city-admin-main-tabs) button[aria-selected=true]{background:var(--ad-navy);color:#fff;border-color:#526a80}
html[data-ad-theme] .content .city-primary{background:var(--ad-navy)!important;color:#fff!important;border-color:#526a80!important}
html[data-ad-theme] .content :is(.audio-button-muted,.cq-tools button){background:var(--ad-soft);color:var(--ad-text);border-color:var(--ad-line)}
html[data-ad-theme] .content .audio-danger-zone{background:var(--ad-error-bg)}
html[data-ad-theme] .content .audio-files-table th{background:var(--ad-soft);color:var(--ad-muted);font-size:var(--ad-small-size)}
/* Dark monitor-like previews retain their own readable text and FMS palette. */
html[data-ad-theme] .content :is(.mo-unit,.ad-monitor-preview,.city-visual-wrap){--ad-text:#f0f5fb;--ad-muted:#b2c5d8;--ad-link:#9ed7ff;--ad-input:#102136;--ad-line:#36516b}
html[data-ad-theme] .content :is(.mo-unithead strong,.mo-radio,.mo-type,.ad-radio,.ad-type){font-family:var(--ad-font);font-weight:700;color:#f0f5fb}
html[data-ad-theme] .content .mo-unithead strong{font-size:var(--ad-h3-size)}
html[data-ad-theme] .content :is(.mo-radio,.mo-type,.ad-radio,.ad-type){font-size:var(--ad-control-size)}
html[data-ad-theme] .content :is(.mo-unitcount,.mo-empty,.mo-add-details summary){font-family:var(--ad-font);font-size:var(--ad-small-size);color:var(--ad-muted)}
html[data-ad-theme] .content .mo-status.error{background:var(--ad-error-bg);color:var(--ad-danger);border-color:var(--ad-danger)}
html[data-ad-theme] .content .mo-status.saving{color:var(--ad-warning);background:var(--ad-warning-bg);border-color:var(--ad-warning)}
/* Errors, confirmations and warnings remain distinct but readable in both themes. */
html[data-ad-theme] :is(.content,.ad-public-page) :is(.error,.audio-error-note,#demo-error,#city-feedback.error){color:var(--ad-danger)}
html[data-ad-theme] .content :is(.audio-notice-error){background:var(--ad-error-bg);color:var(--ad-danger);border-color:var(--ad-danger)}
html[data-ad-theme] .content :is(.audio-notice-ok,.mh-good){background:var(--ad-ok-bg);color:var(--ad-success);border-color:var(--ad-success)}
html[data-ad-theme] .content :is(.demo-banner,.mh-warn){background:var(--ad-warning-bg);color:var(--ad-warning);border-color:var(--ad-warning)}
html[data-ad-theme] .content :is(#demo-mode,#city-feedback){color:var(--ad-muted)}
html[data-ad-theme] .content :is(.mh-live){color:var(--ad-success)}
html[data-ad-theme] .content .mh-warning{color:var(--ad-warning)}
html[data-ad-theme] :is(.content,.ad-public-page) [style*="color:#fca5a5"],html[data-ad-theme] .content [style*="color:#ff9292"]{color:var(--ad-danger)!important}
html[data-ad-theme] .content [style*="color:#fbbf24"]{color:var(--ad-warning)!important}
html[data-ad-theme] .content [style*="color:#d0e7fa"]{color:var(--ad-muted)!important}
@media(max-width:600px){html[data-ad-theme] :is(.content,.ad-public-page) h1{font-size:26px}}
html[data-ad-theme] .content .audio-library-ui section[data-audio-pane]{background:var(--ad-panel);border-color:var(--ad-line);color:var(--ad-text)}
html[data-ad-theme] .content #classic-qualification-cards .cq-card{background:var(--ad-panel);border-color:var(--ad-line);color:var(--ad-text)}
html[data-ad-theme] .content :is(.unit-card,.unit-counts){background:var(--ad-panel);color:var(--ad-text);border-color:var(--ad-line)}
html[data-ad-theme] .content .unit-counts{background:var(--ad-soft);font-size:var(--ad-small-size)}
html[data-ad-theme] .content .unit-location{color:var(--ad-text);font-size:var(--ad-body-size)}
html[data-ad-theme] .content :is(.unit-card-identity>strong,.department-list-name>strong,.audio-monitor-title){font-family:var(--ad-font);font-size:var(--ad-h3-size);font-weight:700;line-height:1.3;color:var(--ad-text)}
html[data-ad-theme] .content .city-overview-units{font-size:var(--ad-body-size);color:var(--ad-text)}

/* Administration shell follows its own light/dark preference. */
:root{--ad-shell:#fff;--ad-shell-text:#10243a;--ad-shell-muted:#54677a;--ad-shell-line:#d8e2ea;--ad-shell-hover:#eaf1f6;--ad-shell-selected:#dfe9f1}
:root[data-ad-theme=dark]{--ad-shell:#10243a;--ad-shell-text:#e2edf7;--ad-shell-muted:#a9c0d5;--ad-shell-line:#3e5a74;--ad-shell-hover:#203e58;--ad-shell-selected:#24445f}
html[data-ad-theme] :is(.ad-header,.ad-public-brand,.sidebar){background:var(--ad-shell);color:var(--ad-shell-text);border-color:var(--ad-shell-line)}
html[data-ad-theme] .ad-header nav a,html[data-ad-theme] .side-bottom a{color:var(--ad-shell-text)!important}
html[data-ad-theme] :is(.ad-header button,.ad-public-brand .ad-theme-toggle){background:transparent;color:var(--ad-shell-text);border-color:var(--ad-shell-line)}
html[data-ad-theme] :is(.side-link,.side-icon){color:var(--ad-shell-text)}
html[data-ad-theme] .sidebar-heading{color:var(--ad-shell-muted)}
html[data-ad-theme] .side-link:hover{background:var(--ad-shell-hover);color:var(--ad-shell-text)}
html[data-ad-theme] .side-link.selected{background:var(--ad-shell-selected);color:var(--ad-shell-text)}
html[data-ad-theme] :is(.side-submenu,.side-bottom){border-color:var(--ad-shell-line)!important}
html[data-ad-theme] .content [style*="border-bottom:1px solid #40516b"],html[data-ad-theme] .content [style*="border-top:1px solid #64748b"]{border-color:var(--ad-line)!important}
html[data-ad-theme] .content [style*="color:#22c55e"],html[data-ad-theme] .content [style*="color:#4ade80"]{color:var(--ad-success)!important}

/* Light administration actions share one palette, including link-buttons and overrides. */
html:root[data-ad-theme=light] :is(button,input[type=submit],input[type=button],.button-link,.navbutton,.button,.btn,.city-primary):not(.danger):not(.dangerbtn){background:transparent!important;color:#10243a!important;border-color:#7a8b9c!important;box-shadow:none}
html:root[data-ad-theme=light] :is(button,input[type=submit],input[type=button],.button-link,.navbutton,.button,.btn,.city-primary):not(.danger):not(.dangerbtn):hover{background:#eaf1f6!important;border-color:#10243a!important}
html:root[data-ad-theme=light] :is(button,input[type=submit],input[type=button],.button-link,.navbutton,.button,.btn,.city-primary):not(.danger):not(.dangerbtn):active{background:#dfe9f1!important}
html:root[data-ad-theme=light] :is(button[aria-selected=true],button[aria-pressed=true]):not(.ad-theme-toggle):not(.danger):not(.dangerbtn){background:#eaf1f6!important;border-color:#10243a!important;box-shadow:inset 0 -3px #e54743}

/* Only the exact current menu destination is bold; ancestor groups stay normal. */
html[data-ad-theme] :is(.side-link,.side-group-title,.side-sub-link,.side-bottom a,.ad-header nav a){font-weight:400!important}
html[data-ad-theme] .side-link.selected,html[data-ad-theme] .ad-header nav a[aria-current=page]{font-weight:700!important}

.ad-form-feedback{padding:12px;border:1px solid var(--ad-line);border-radius:8px;margin-bottom:16px;color:var(--ad-text);background:var(--ad-soft)}.ad-form-feedback.error{border-color:var(--ad-danger)}html[data-ad-theme] [aria-invalid=true]{outline:2px solid var(--ad-danger);outline-offset:2px}
/* Release 60: Navigation am Handy, Übersichten, Listen */
.side-toggle{display:none}
@media(max-width:850px){html[data-ad-theme] .sidebar .side-toggle{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;box-shadow:none;color:#fff;font:700 15px AlarmDoc,Arial,sans-serif;padding:6px 8px;margin:0;min-height:42px;cursor:pointer}html[data-ad-theme] .sidebar .side-toggle svg{width:20px;height:20px}html[data-ad-theme] .sidebar{display:block;padding:8px}html[data-ad-theme] .sidebar:not(.open)>:not(.side-toggle){display:none!important}html[data-ad-theme] .sidebar.open .side-toggle{margin-bottom:8px;border-bottom:1px solid #3e5a74;border-radius:0}}
a.metric-link{display:block;text-decoration:none;transition:border-color .15s,transform .15s}a.metric-link:hover{border-color:var(--ad-signal);transform:translateY(-1px)}a.metric-link span{color:var(--ad-muted)}a.metric-link strong{color:var(--ad-text)}
.attention-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.attention-list a{display:grid;grid-template-columns:minmax(200px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--ad-line);border-left:5px solid #d99a1e;border-radius:9px;text-decoration:none;color:var(--ad-text);background:var(--ad-panel)}.attention-list .attention-rot a{border-left-color:var(--ad-signal)}.attention-list a:hover{background:var(--ad-soft)}.attention-list small{color:var(--ad-muted)}
@media(max-width:700px){.attention-list a{grid-template-columns:1fr}}
.ok-note{padding:12px 14px;border-radius:9px;border:1px solid var(--ad-line);border-left:5px solid var(--ad-success);background:var(--ad-panel)}
.monitor-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:14px;margin:10px 0 22px}.monitor-tile{display:flex;flex-direction:column;gap:6px;min-height:104px;justify-content:center;padding:18px 20px;border:1px solid var(--ad-line);border-radius:12px;background:var(--ad-panel);text-decoration:none;color:var(--ad-text);box-shadow:var(--ad-shadow);transition:border-color .15s,transform .15s}.monitor-tile:hover,.monitor-tile:focus-visible{border-color:var(--ad-signal);transform:translateY(-1px)}.monitor-tile small{color:var(--ad-muted);font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:700}.monitor-tile strong{font-size:20px}
.setup-progress{height:10px;border-radius:6px;background:var(--ad-soft);overflow:hidden;margin:6px 0 14px}.setup-progress span{display:block;height:100%;background:var(--ad-success);border-radius:6px}.setup-steps{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:6px}.setup-steps li{display:flex;gap:10px;align-items:center}.setup-steps li::before{content:'';width:18px;height:18px;border-radius:50%;border:2px solid var(--ad-line);flex:0 0 18px;box-sizing:border-box}.setup-steps li.done::before{border-color:var(--ad-success);background:var(--ad-success)}.setup-steps li.done a{color:var(--ad-muted);text-decoration:line-through}.setup-steps small{color:var(--ad-muted)}
.filter-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(160px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:end}.filter-row label{margin:0}.filter-actions{display:flex;gap:12px;align-items:center;padding-bottom:2px}.filter-actions button{margin:0}
@media(max-width:900px){.filter-row{grid-template-columns:1fr}}
.contract-entry{border:1px solid var(--ad-line);border-radius:10px;margin:8px 0;background:var(--ad-panel)}.contract-entry>summary.contract-row{display:grid;grid-template-columns:minmax(200px,2fr) auto minmax(160px,1fr);gap:14px;align-items:center;padding:12px 16px;cursor:pointer;list-style:none}.contract-entry>summary::-webkit-details-marker{display:none}.contract-name,.contract-access{display:flex;flex-direction:column}.contract-name small,.contract-access small{color:var(--ad-muted)}.contract-entry[open]>summary{border-bottom:1px solid var(--ad-line)}.contract-entry>.panel{margin:0;border:0}
@media(max-width:700px){.contract-entry>summary.contract-row{grid-template-columns:1fr}}
.status-pill.warn{background:#7a4b0f;color:#ffe2b0}
html[data-ad-theme] input[type=checkbox]{width:20px;height:20px;accent-color:var(--ad-navy);margin:0 10px 0 0;vertical-align:middle;flex:0 0 20px}:root[data-ad-theme=dark] input[type=checkbox]{accent-color:#9ed7ff}html[data-ad-theme] label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:0;line-height:1.45;margin:12px 0}
/* Release 62: AlarmDoc im Design-System BOSDoc. Farben, Schriften und Bedienelemente aus den BOSDoc-Tokens.
   Keine Schatten, keine Verläufe; Fokus 3 px massiv mit 3 px Versatz; Bedienelemente mindestens 44 px. */
@font-face{font-family:Poppins;src:url('./fonts/Poppins-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('./fonts/Poppins-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Atkinson Hyperlegible Next';src:url('./fonts/AtkinsonHyperlegibleNext-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Atkinson Hyperlegible Next';src:url('./fonts/AtkinsonHyperlegibleNext-600.woff2') format('woff2');font-weight:600 700;font-style:normal;font-display:swap}
@font-face{font-family:'Atkinson Hyperlegible Mono';src:url('./fonts/AtkinsonHyperlegibleMono-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Atkinson Hyperlegible Mono';src:url('./fonts/AtkinsonHyperlegibleMono-600.woff2') format('woff2');font-weight:600 700;font-style:normal;font-display:swap}
:root{--ad-navy:#10243a;--ad-signal:#e54743;--ad-ice:#eaf1f6;--ad-bg:#f8fafc;--ad-panel:#fff;--ad-soft:#eaf1f6;--ad-text:#10243a;--ad-muted:#54677a;--ad-line:#d8e2ea;--ad-line-strong:#7a8b9c;--ad-input:#fff;--ad-link:#10243a;--ad-success:#1b6b38;--ad-danger:#b93230;--ad-warning:#7a5200;--ad-focus:#e54743;--ad-action:#10243a;--ad-on-action:#fff;--ad-shadow:none;
 --ad-font:'Atkinson Hyperlegible Next',Arial,sans-serif;--ad-title-font:Poppins,Arial,sans-serif;--ad-data-font:'Atkinson Hyperlegible Mono',Consolas,monospace;
 --ad-body-size:16px;--ad-small-size:14px;--ad-control-size:15px;--ad-h1-size:36px;--ad-h2-size:24px;--ad-h3-size:17px}
:root[data-ad-theme=dark]{--ad-bg:#0b1a2b;--ad-panel:#10243a;--ad-soft:#1b3350;--ad-text:#fff;--ad-muted:#b3c3d3;--ad-line:#2c4663;--ad-line-strong:#7f96ad;--ad-input:#0b1a2b;--ad-link:#fff;--ad-success:#6fcf8e;--ad-danger:#ff8a84;--ad-warning:#f2b84b;--ad-focus:#fff;--ad-action:#fff;--ad-on-action:#10243a;--ad-shadow:none}
html[data-ad-theme] body{font-family:var(--ad-font);font-size:var(--ad-body-size);line-height:1.5;-webkit-font-smoothing:antialiased}
html[data-ad-theme] a{color:var(--ad-link);text-decoration-thickness:1px;text-underline-offset:3px}
html[data-ad-theme] :is(h1,h2,h3,h4,.content>h1,.sidebar-heading,.metric strong,.monitor-tile strong){font-family:var(--ad-title-font);letter-spacing:0}
html[data-ad-theme] :is(.content,.ad-public-page) :is(h1,h2){font-family:var(--ad-title-font);font-weight:700;letter-spacing:0}
html[data-ad-theme] :is(.content,.ad-public-page) :is(h3,h4){font-family:var(--ad-title-font);font-weight:600;letter-spacing:0}
html[data-ad-theme] :is(.content,.ad-public-page) h1{font-size:var(--ad-h1-size);line-height:1.15}
html[data-ad-theme] :is(.content,main,.ad-public-page)>h1::before{content:'';display:block;width:32px;height:4px;background:var(--ad-signal);margin-bottom:14px}
html[data-ad-theme] :is(.content,.ad-public-page) h2{font-size:var(--ad-h2-size);line-height:1.25}
html[data-ad-theme] :is(.content,.ad-public-page) :is(small,th){font-size:var(--ad-small-size)}
html[data-ad-theme] th{font-family:var(--ad-title-font);font-weight:600;font-size:13px;color:var(--ad-muted)}
html[data-ad-theme] :is(code,kbd,samp,pre,time,.mono,.dtg){font-family:var(--ad-data-font)}
html[data-ad-theme] :is(section,.panel,.ad-card,.department-card,.metric,.monitor-tile,.contract-entry,.sidebar){box-shadow:none}
html[data-ad-theme] :is(button,.button,.button-link,.navbutton,.btn-muted){min-height:44px;border-radius:8px;font-family:var(--ad-title-font);font-weight:600;font-size:var(--ad-control-size);letter-spacing:0;box-shadow:none;border-width:2px}
html[data-ad-theme] :is(a.button-link,a.navbutton,a.button){display:inline-flex;align-items:center;justify-content:center;gap:8px}
html[data-ad-theme] :is(.content,.ad-public-page) :is(button,.button,.button-link,.navbutton){font-family:var(--ad-title-font);font-weight:600}
/* Nebenschaltfläche (Standard): transparent mit kräftigem Rahmen. Dunkles Design wie im hellen. */
html:root[data-ad-theme=dark] :is(button,input[type=submit],input[type=button],.button-link,.navbutton,.button,.btn,.city-primary):not(.danger):not(.dangerbtn):not(.side-toggle){background:transparent!important;color:#fff!important;border-color:#7f96ad!important;box-shadow:none}
html:root[data-ad-theme=dark] :is(button,input[type=submit],input[type=button],.button-link,.navbutton,.button,.btn,.city-primary):not(.danger):not(.dangerbtn):not(.side-toggle):hover{background:#1b3350!important;border-color:#fff!important}
html:root[data-ad-theme=dark] :is(button[aria-selected=true],button[aria-pressed=true]):not(.ad-theme-toggle):not(.danger):not(.dangerbtn){background:#1b3350!important;border-color:#fff!important;box-shadow:inset 0 -3px #e54743}
/* Hauptschaltfläche: die einzige Absende-Schaltfläche eines Formulars, gefüllt in der Aktionsfarbe. */
html:root[data-ad-theme][data-ad-theme] main form:not(.inline)>:is(button:not([type=button]):not(.danger):not(.dangerbtn):not(.btn-muted),input[type=submit]):only-of-type{background:var(--ad-action)!important;color:var(--ad-on-action)!important;border-color:var(--ad-action)!important}
html:root[data-ad-theme][data-ad-theme] main form:not(.inline)>:is(button:not([type=button]):not(.danger):not(.dangerbtn):not(.btn-muted),input[type=submit]):only-of-type:hover{box-shadow:0 0 0 2px var(--ad-signal)!important}
html[data-ad-theme] .danger:hover{text-decoration:underline}
html[data-ad-theme] :is(button,input,select,textarea)[disabled]{background:transparent!important;color:var(--ad-muted)!important;border-color:var(--ad-line)!important;cursor:not-allowed}
html[data-ad-theme] :is(input:not([type=checkbox],[type=radio],[type=range],[type=color]),select){min-height:44px}
html[data-ad-theme] :is(input,select,textarea){border:1px solid var(--ad-line-strong);border-radius:8px}
html[data-ad-theme] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--ad-focus);outline-offset:3px}
html[data-ad-theme] input[type=checkbox]{accent-color:var(--ad-action)}:root[data-ad-theme=dark] input[type=checkbox]{accent-color:#fff}
html[data-ad-theme] .side-link.selected{box-shadow:inset 3px 0 var(--ad-signal)}
html[data-ad-theme] .monitor-tile{transition:border-color .15s}html[data-ad-theme] .monitor-tile:hover,html[data-ad-theme] .monitor-tile:focus-visible{transform:none}
html[data-ad-theme] .ad-brand img{width:199px;height:32px}
@media(max-width:850px){html[data-ad-theme] .ad-brand img{width:150px;height:24px}}
.ad-public-brand .ad-brand img{width:175px;height:28px}
.ad-brand-note{display:block;margin:28px 0 8px;color:var(--ad-muted);font-size:13px;text-align:center}
@media(prefers-reduced-motion:reduce){html[data-ad-theme] *{transition:none!important;animation:none!important}}
/* Release 66: gebuchtes Paket in der Vertragsliste */
.contract-entry>summary.contract-row{grid-template-columns:minmax(200px,2fr) auto minmax(150px,1fr) minmax(170px,1fr)}
.contract-plan{display:flex;flex-direction:column}.contract-plan small{color:var(--ad-muted)}
@media (max-width:760px){.contract-entry>summary.contract-row{grid-template-columns:1fr}}
