/* CodenameMatrix consolidated application stylesheet.
   Generated from style.css and ui2.css–ui17.css in the established cascade order.
   Do not edit this file directly. Run: php tools/build-css.php */

/* ===== SOURCE: style.css ===== */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;background:#f7f9fc;line-height:1.5;--blue:#0867d7;--blue-dark:#0758bb;--blue-soft:#eaf3ff;--border:#dfe5ec;--muted:#64748b;--sidebar:#fff;--shadow:0 4px 18px rgba(15,23,42,.06)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{min-height:100vh;background:#f7f9fc}a{color:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);grid-template-rows:68px minmax(calc(100vh - 108px),auto) 40px}.sidebar{grid-row:1/4;background:#fff;border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;width:250px;z-index:1000;overflow-y:auto}.sidebar-brand{height:68px;display:flex;align-items:center;gap:10px;padding:0 20px;text-decoration:none;border-bottom:1px solid var(--border);font-weight:800;font-size:17px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,#0b1f3a,#173b68);color:#fff;font-size:10px;letter-spacing:.03em;box-shadow:inset 0 0 0 1px #ffffff24}.sidebar-nav{padding:20px 8px;display:grid;gap:4px}.nav-section-label{padding:12px 13px 6px;color:#6b7280;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.045em}.sidebar-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 13px;border-radius:8px;text-decoration:none;color:#172033;font-weight:600;border:0;background:transparent;width:100%;font:inherit;text-align:left;cursor:pointer}.sidebar-link:hover{background:#f1f5f9}.sidebar-link.active{background:var(--blue-soft);color:var(--blue)}.nav-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px}.nav-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-group-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center}.sidebar-group-row .group-main{border-radius:8px 0 0 8px}.sidebar-group-toggle{width:38px;height:46px;padding:0;border:0;border-radius:0 8px 8px 0;background:transparent;color:#334155;cursor:pointer;font-size:20px;display:grid;place-items:center}.sidebar-group-toggle:hover{background:#f1f5f9}.sidebar-group-toggle span{transition:transform .18s ease}.sidebar-group.open .sidebar-group-toggle span{transform:rotate(180deg)}.button-link{appearance:none}.sidebar-submenu{display:none;padding:1px 0 4px 45px}.sidebar-group.open .sidebar-submenu{display:grid}.sidebar-submenu a{display:block;padding:9px 12px;border-radius:7px;text-decoration:none;color:#374151;font-size:14px}.sidebar-submenu a:hover,.sidebar-submenu a.active{background:#f1f5f9;color:var(--blue)}.app-topbar{grid-column:2;display:flex;align-items:center;position:sticky;top:0;z-index:800;background:#fff;border-bottom:1px solid var(--border);padding:0 28px;box-shadow:0 1px 5px rgba(15,23,42,.03)}.sidebar-mobile-toggle{display:none;width:40px;height:40px;padding:0;background:transparent;color:#111827;border:0;font-size:22px}.topbar-spacer{flex:1}.topbar-user{display:flex;align-items:center;gap:10px}.topbar-user div{display:grid;line-height:1.2}.topbar-user strong{font-size:14px}.topbar-user span{font-size:12px;color:var(--muted)}.avatar{object-fit:cover;border-radius:50%;background:#e8eef4;display:inline-grid;place-items:center;font-weight:800;color:#526777}.topbar-avatar{width:38px;height:38px}.placeholder{border:1px solid #d6e0e8}.app-main{grid-column:2;padding:26px 28px 38px;min-width:0}.app-footer{grid-column:2;display:flex;align-items:center;padding:0 28px;border-top:1px solid var(--border);background:#fff;color:#475569;font-size:13px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px}.page-heading h1{margin:0;font-size:28px;letter-spacing:-.025em}.muted{color:var(--muted);font-size:14px;margin:4px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.card,.panel{background:#fff;border:1px solid var(--border);border-radius:10px;padding:20px;box-shadow:var(--shadow)}.metrics .card span{display:block;color:#66788a}.metrics .card strong{display:block;font-size:34px;margin-top:7px}.two-column{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-top:18px}.list-item{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #edf1f5}.list-item:last-child{border-bottom:0}.list-item span{display:block;color:#66788a;font-size:14px}.stack{display:grid;gap:9px}.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:7px;padding:10px 14px;background:var(--blue);color:#fff;text-decoration:none;cursor:pointer;font:inherit;font-weight:650}.btn:hover,button:hover{background:var(--blue-dark)}.btn.secondary{background:#fff;color:#334155;border:1px solid #cfd8e3}.btn.secondary:hover{background:#f8fafc}.danger{background:#b42318}.small{padding:7px 10px;font-size:13px}.inline{display:inline}.table-wrap{overflow:auto;border-radius:10px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;background:#fff;min-width:720px}th,td{padding:14px 15px;border-bottom:1px solid #e7ecf0;text-align:left;vertical-align:middle}th{background:#fbfcfe;color:#334155;font-size:13px;text-transform:none;letter-spacing:0;font-weight:700}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdff}.form-card,form.panel{max-width:760px}fieldset{border:1px solid #dce4ec;border-radius:9px;padding:16px;margin:18px 0}legend{font-weight:800;padding:0 6px}label{display:block;font-weight:650;margin:13px 0 6px;color:#1f2937}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;color:#111827}input:focus,select:focus,textarea:focus{outline:3px solid #0867d71c;border-color:var(--blue)}.check{display:flex;gap:8px;align-items:center}.check input{width:auto}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}.flash{padding:12px 15px;border-radius:8px;margin-bottom:18px}.success{background:#dcfce7;color:#166534}.error{background:#fee2e2;color:#991b1b}.badge{display:inline-block;padding:4px 8px;border-radius:6px;background:#e8f1f8;font-size:12px}.badge.ok{background:#d1fae5;color:#166534}.badge.off{background:#e5e7eb;color:#4b5563}.empty{color:#66788a}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.wide-form{max-width:1100px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.search-form{display:flex;gap:8px;flex:1;justify-content:flex-end}.search-form input{max-width:360px}.search-form button{width:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:8px;overflow:auto}.calendar-day{min-height:180px;background:#fff;border:1px solid var(--border);border-radius:9px;padding:10px}.calendar-day.today{outline:2px solid var(--blue)}.calendar-day>header{display:flex;align-items:center;gap:7px;border-bottom:1px solid #edf1f5;padding-bottom:8px;margin-bottom:8px}.calendar-day>header span{color:#66788a}.calendar-day>header a{margin-left:auto;text-decoration:none;font-size:20px}.shift-card{border-left:4px solid var(--blue);background:#f8fafc;border-radius:7px;padding:8px;margin:7px 0;display:grid;gap:3px;font-size:13px}.shift-card span,.shift-card small{color:#526777}.shift-actions{display:flex;gap:5px;margin-top:5px}.shift-actions form{margin:0}.shift-actions button{padding:4px 7px;font-size:11px}.account-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px}.profile-panel{text-align:center}.profile-panel form{text-align:left}.avatar.large{width:180px;height:180px;font-size:48px;margin:8px auto 18px}.avatar.tiny{width:28px;height:28px;margin-right:8px;vertical-align:middle}.account-line{display:flex;align-items:center}.address-search-wrap{position:relative}.address-results{position:absolute;z-index:1001;left:0;right:0;top:100%;background:#fff;border:1px solid #cfd7df;border-radius:9px;box-shadow:0 10px 24px rgba(0,0,0,.12);max-height:320px;overflow:auto}.address-result{display:block;width:100%;text-align:left;background:#fff;color:#17212b;border:0;border-bottom:1px solid #e7ebef;border-radius:0;padding:11px 13px;cursor:pointer}.address-result:hover,.address-result:focus{background:#f2f6fa}.address-result strong,.address-result span{display:block}.address-result span{font-size:.88rem;color:#5e6b78;margin-top:3px}.address-map{height:360px;border-radius:10px;margin:14px 0;background:#edf1f4;overflow:hidden}.audit-change{display:grid;grid-template-columns:minmax(130px,220px) 1fr;gap:.35rem 1rem}.audit-values{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.audit-old,.audit-new{padding:.2rem .45rem;border-radius:.3rem;background:#f2f4f7;word-break:break-word}.audit-meta{font-size:.86rem;color:#667085}.assignment-dropdown,.panel-section{border:1px solid #d8dee8;border-radius:8px;background:#fff;margin:.55rem 0}.assignment-dropdown summary,.panel-section>summary{cursor:pointer;padding:.85rem 1rem;font-weight:600;list-style:none}.assignment-dropdown summary::-webkit-details-marker{display:none}.assignment-dropdown summary:after{content:'⌄';float:right}.assignment-dropdown[open] summary:after{content:'⌃'}.assignment-options{max-height:320px;overflow:auto;border-top:1px solid #e5e9f0;padding:.75rem .9rem}.assignment-options .form-check{display:block;margin:.35rem 0}.assignment-tools{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.65rem;position:sticky;top:-.75rem;background:#fff;padding:.4rem 0;z-index:1}.panel-section[open]>summary{border-bottom:1px solid #e5eaf0}.details-body{padding:1rem}.auth-body{background:#f4f7fb}.auth-header{height:68px;background:#fff;border-bottom:1px solid var(--border)}.auth-header .sidebar-brand{border:0;width:max-content}.auth-main{min-height:calc(100vh - 108px);display:grid;place-items:center;padding:30px}.auth-wrap{display:grid;place-items:center;width:100%}.auth-card{width:min(100%,440px)}.auth-footer{height:40px;display:grid;place-items:center;color:#64748b;font-size:13px}.installer{max-width:760px}code{background:#eef2f6;padding:2px 5px;border-radius:5px}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:transform .2s ease;box-shadow:12px 0 30px rgba(15,23,42,.18)}body.sidebar-open .sidebar{transform:translateX(0)}.app-topbar,.app-main,.app-footer{grid-column:1}.sidebar-mobile-toggle{display:inline-grid}.app-main{padding:22px 18px}.app-topbar{padding:0 18px}.app-footer{padding:0 18px}.two-column,.account-grid{grid-template-columns:1fr}}@media(max-width:760px){.form-grid,.form-grid.three{grid-template-columns:1fr}.search-form{width:100%;justify-content:stretch}.search-form input{max-width:none}.toolbar{align-items:stretch}.calendar-grid{grid-template-columns:repeat(7,minmax(220px,1fr))}.page-heading h1{font-size:24px}.brand-text{font-size:15px}}

/* 0.8.18.2 – dunkles EMS-Layout */
:root{--blue:#2d7ef7;--blue-dark:#1f6de0;--blue-soft:rgba(45,126,247,.18);--sidebar:#071426;--sidebar-2:#0b1d34;--topbar:#0a1729;--border:#dce3ec;--shadow:0 8px 24px rgba(15,23,42,.08)}
body{background:#f4f6f9;color:#152033}
.sidebar{background:linear-gradient(180deg,var(--sidebar) 0%,var(--sidebar-2) 100%);border-right:1px solid rgba(255,255,255,.08);color:#d9e5f4}
.sidebar-brand{border-bottom:1px solid rgba(255,255,255,.09);color:#fff;background:rgba(0,0,0,.08)}
.brand-mark{background:linear-gradient(145deg,#2979ef,#1558b7);box-shadow:0 7px 18px rgba(16,96,215,.35),inset 0 0 0 1px rgba(255,255,255,.24)}
.nav-section-label{color:#6f87a4}
.sidebar-link{color:#c8d5e5}
.sidebar-link:hover,.sidebar-group-toggle:hover{background:rgba(255,255,255,.07)}
.sidebar-link.active{background:linear-gradient(90deg,rgba(45,126,247,.28),rgba(45,126,247,.12));color:#fff;box-shadow:inset 3px 0 0 #4b91ff}
.sidebar-group-toggle{color:#9fb2c8}
.sidebar-submenu a{color:#aebed1}
.sidebar-submenu a:hover,.sidebar-submenu a.active{background:rgba(45,126,247,.17);color:#fff}
.app-topbar{background:var(--topbar);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 3px 14px rgba(3,12,24,.2);color:#fff}
.topbar-user span{color:#9fb2c8}.placeholder{border-color:#45617e;background:#16304d;color:#dcecff}
.sidebar-mobile-toggle{color:#fff}
.app-main{background:#f4f6f9}
.app-footer{background:#071426;color:#9fb2c8;border-color:#14263c}
.card,.panel,.table-wrap{border-color:#dfe5ec;box-shadow:0 5px 18px rgba(15,23,42,.07)}
.page-heading h1{color:#102038}
.btn,button{box-shadow:0 2px 6px rgba(30,105,213,.16)}
.btn.secondary{box-shadow:none}
.address-map{background:#dfe7ef;min-height:360px;border:1px solid #c8d3df;border-radius:9px;overflow:hidden;position:relative;z-index:1}
.address-error{color:#b42318!important;font-weight:650}
.map-loading-note{padding:12px 14px;border-radius:8px;background:#fff3cd;color:#795d00;margin:10px 0}

.shift-card-link{display:flex;text-decoration:none;color:inherit;cursor:pointer}.shift-card-link:hover{transform:translateY(-1px);filter:brightness(1.06)}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.detail-grid>div{padding:14px;border:1px solid var(--border,#334155);border-radius:10px}@media(max-width:700px){.detail-grid{grid-template-columns:1fr}}

/* 0.8.18.11 – größere, besser lesbare EsM-Navigation */
.app-shell{grid-template-columns:290px minmax(0,1fr)}
.sidebar{width:290px}
.sidebar-brand{height:74px;padding:0 22px;gap:12px;font-size:18px;line-height:1.2}
.brand-mark{width:38px;height:38px;flex:0 0 38px;border-radius:10px;font-size:12px;font-weight:800;text-transform:none}
.brand-text{white-space:normal}
.sidebar-nav{padding:22px 12px;gap:7px}
.nav-section-label{padding:14px 14px 7px;font-size:12.5px}
.sidebar-link{min-height:54px;padding:13px 15px;gap:13px;border-radius:10px;font-size:16px;line-height:1.3}
.nav-icon{width:24px;height:24px;flex-basis:24px}
.nav-icon svg{width:23px;height:23px;stroke-width:1.9}
.sidebar-group-row{grid-template-columns:minmax(0,1fr) 46px}
.sidebar-group-toggle{width:46px;height:54px;font-size:22px}
.sidebar-submenu{padding:4px 0 7px 53px;gap:4px}
.sidebar-submenu a{padding:11px 13px;border-radius:8px;font-size:15px;line-height:1.35}
.app-topbar{min-height:74px}
@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{width:min(88vw,310px)}}

/* Dashboard 0.8.18.12 */
a.card.metric-link{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
a.card.metric-link:hover{transform:translateY(-2px);border-color:var(--primary);box-shadow:0 10px 28px rgba(0,0,0,.18)}
.metric-link small{margin-top:.35rem;color:var(--muted)}
.create-shift-card strong{font-size:2.2rem;line-height:1}
a.dashboard-link{text-decoration:none;color:inherit;transition:background .15s ease,border-color .15s ease}
a.dashboard-link:hover{background:rgba(51,130,246,.08);border-color:var(--primary)}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.panel-heading h2{margin-bottom:.25rem}
.filter-note{padding:.75rem 1rem;border:1px solid var(--border);border-radius:10px;background:rgba(51,130,246,.08)}
@media(max-width:760px){.panel-heading{flex-direction:column}.dashboard-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.dashboard-metrics{grid-template-columns:1fr}}

/* 0.8.18.14 – breitere Navigation und Personalbesetzung */
.app-shell{grid-template-columns:320px minmax(0,1fr)}
.sidebar{width:320px}
.sidebar-brand{padding-left:24px;padding-right:24px}
.sidebar-link{padding-left:17px;padding-right:17px}
.external-staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.staffing-summary,.staffing-detail{padding:14px 16px;border:1px solid var(--border);border-radius:9px;background:#f8fafc;font-weight:700}
.staffing-detail{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:18px 0}
@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{width:min(90vw,330px)}}
@media(max-width:760px){.external-staff-grid{grid-template-columns:1fr}.staffing-detail{align-items:flex-start;flex-direction:column;gap:4px}}

/* 0.8.18.15 – mobile Kalender-Listenansicht */
.calendar-mobile-list{display:none}
@media(max-width:760px){
  .calendar-desktop{display:none!important}
  .calendar-mobile-list{display:grid;gap:14px}
  .mobile-calendar-day{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
  .mobile-calendar-day.today{outline:2px solid var(--blue);outline-offset:1px}
  .mobile-calendar-day>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;background:#f8fafc;border-bottom:1px solid var(--border)}
  .mobile-calendar-day>header strong{font-size:15px}
  .mobile-shift-stack{display:grid;gap:10px;padding:11px}
  .mobile-shift-card{display:grid;gap:8px;padding:13px 14px;border:1px solid var(--border);border-left:5px solid var(--blue);border-radius:10px;background:#fff;text-decoration:none;color:inherit;min-height:48px}
  .mobile-shift-card:active{background:#f1f5f9}
  .mobile-shift-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
  .mobile-shift-card-head strong{font-size:16px;line-height:1.3}
  .mobile-shift-card-head span{white-space:nowrap;color:var(--muted);font-size:14px}
  .mobile-shift-location{font-size:14px;color:#475569}
  .mobile-shift-staff{font-size:13px;font-weight:700;padding:7px 9px;border-radius:7px;background:#eef2f6}
  .mobile-shift-staff.is-open{background:#fff1f2;color:#b42318}
  .mobile-shift-staff.is-complete{background:#ecfdf3;color:#166534}
}


/* 0.8.18.17 – reduzierte Kalendereinträge und reine mobile Listenansicht */
.shift-title-only{display:block;line-height:1.35;padding:9px 10px}
.shift-title-only strong{display:block;overflow-wrap:anywhere}
@media(max-width:980px){
  .calendar-desktop{display:none!important}
  .calendar-mobile-list{display:grid!important;gap:14px}
}
.mobile-shift-title-only{display:block;min-height:48px;padding:14px 15px;line-height:1.35}
.mobile-shift-title-only strong{display:block;font-size:16px;overflow-wrap:anywhere}

/* Mehrfachzuweisung von Mitarbeitenden in Einsätzen */
.employee-assignment-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:10px}
.employee-checkbox-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;max-height:420px;overflow:auto;padding:10px;border:1px solid var(--border,#334155);border-radius:10px;background:rgba(255,255,255,.02)}
.employee-checkbox-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:8px;cursor:pointer}
.employee-checkbox-item:hover{background:rgba(255,255,255,.05)}
.employee-checkbox-item:has(input:checked){border-color:var(--accent,#4ea1ff);background:rgba(78,161,255,.12)}
.employee-checkbox-item.recommended span::after{content:' ★ empfohlen';font-size:.85em;opacity:.8}
.employee-checkbox-item input{width:19px;height:19px;flex:0 0 auto}
@media(max-width:700px){.employee-assignment-head{display:block}.employee-assignment-head .actions{margin:8px 0}.employee-checkbox-list{grid-template-columns:1fr;max-height:none}}

/* 0.8.18.19 – mobile Kalenderansicht ausschließlich als Liste */
@media screen and (max-width:980px){
  body .calendar-grid.calendar-desktop,
  body .calendar-desktop{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}
  body .calendar-mobile-list{display:grid!important;visibility:visible!important;gap:14px}
}
@media screen and (min-width:981px){
  body .calendar-grid.calendar-desktop{display:grid!important;visibility:visible!important}
  body .calendar-mobile-list{display:none!important}
}

/* Dashboard-Reihenfolge 0.8.18.21 */
.dashboard-home{display:flex;flex-direction:column;gap:20px}
.dashboard-home .dashboard-metrics{order:1}
.dashboard-home .dashboard-next{order:2;margin:0}
@media (max-width:980px){
  .dashboard-home .dashboard-next{order:1}
  .dashboard-home .dashboard-metrics{order:2}
}


/* 0.8.18.22 – Leitstellen-Dashboard und zentrale Einsatzdetailseite */
.dashboard-command{gap:18px}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px;border-radius:14px;background:linear-gradient(125deg,#0a1b31,#123f72);color:#fff;box-shadow:0 12px 30px rgba(8,32,62,.18)}.dashboard-welcome h2{margin:3px 0 4px;font-size:25px}.dashboard-welcome p{margin:0;color:#bed0e5}.dashboard-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#83b9ff;font-weight:800}.dashboard-primary-action{white-space:nowrap;background:#fff;color:#114b84;box-shadow:none}.dashboard-primary-action:hover{background:#edf6ff}.dashboard-kpis{grid-template-columns:repeat(4,minmax(170px,1fr))}.dashboard-kpi{position:relative;overflow:hidden}.dashboard-kpi:after{content:'';position:absolute;inset:auto -24px -30px auto;width:90px;height:90px;border-radius:50%;background:rgba(45,126,247,.08)}.dashboard-kpi.needs-attention{border-left:4px solid #f59e0b}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:18px}.dashboard-operation-list .list-item{align-items:center;padding:15px 4px}.dashboard-list-meta{display:grid;justify-items:end;gap:5px}.dashboard-list-meta time{font-size:13px;color:var(--muted);white-space:nowrap}.staff-pill{display:inline-flex;padding:4px 8px;border-radius:99px;font-size:12px;font-weight:800;background:#ecfdf3;color:#166534}.staff-pill.is-open{background:#fff1f2;color:#b42318}.dashboard-today-stack{display:grid;gap:10px}.dashboard-today-card{display:grid;gap:3px;padding:13px;border:1px solid var(--border);border-radius:10px;text-decoration:none}.dashboard-today-card:hover{background:#f8fbff;border-color:#a9cfff}.dashboard-today-card span{color:#31506f;font-size:13px}.dashboard-today-card small{color:var(--muted)}
.deployment-detail{display:grid;gap:18px}.deployment-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px}.deployment-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.deployment-title-row h2{margin:0;font-size:27px}.deployment-hero-meta{display:flex;gap:8px 18px;flex-wrap:wrap;margin-top:10px;color:#526777}.deployment-hero-meta span{display:inline-flex;align-items:center}.status-text{font-weight:750;color:#244d77}.deployment-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.deployment-status-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:14px}.deployment-status-card{background:#fff;border:1px solid var(--border);border-radius:11px;padding:17px 19px;box-shadow:var(--shadow)}.deployment-status-card span{display:block;color:var(--muted);font-size:13px}.deployment-status-card strong{display:block;font-size:27px;margin-top:4px}.deployment-status-card .status-value{font-size:18px;margin-top:10px}.deployment-status-card.is-warning{border-left:5px solid #f59e0b}.deployment-status-card.is-warning strong{color:#b45309}.deployment-status-card.is-success{border-left:5px solid #16a34a}.deployment-status-card.is-success strong{color:#15803d}.deployment-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.deployment-card{margin:0}.deployment-card-title{display:flex;align-items:center;gap:10px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #edf1f5}.deployment-card-title h3{margin:0}.deployment-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf5ff;font-size:18px}.deployment-card h4{margin:15px 0 7px;color:#334155}.deployment-data{display:grid;gap:11px;margin:0 0 14px}.deployment-data div{display:grid;grid-template-columns:110px 1fr;gap:12px}.deployment-data dt{color:var(--muted);font-size:13px}.deployment-data dd{margin:0;font-weight:600}.deployment-person-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;margin:0;padding:0;list-style:none}.deployment-person-list li{padding:8px 10px;border-radius:8px;background:#f6f8fb;border:1px solid #e8edf3}.contact-block{display:grid;gap:2px;padding:9px 0}.contact-block span{color:#526777;font-size:14px}.info-block{padding:10px 0;border-bottom:1px solid #edf1f5}.info-block:last-child{border-bottom:0}.info-block p{margin:4px 0}.info-block.internal{padding:10px 12px;border-radius:8px;background:#fff8e7;border:1px solid #f5dc9a}.deployment-actions{padding:4px 20px}.deployment-actions .actions{margin:13px 0}
@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(180px,1fr))}.dashboard-columns{grid-template-columns:1fr}.deployment-status-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}
@media(max-width:700px){.dashboard-welcome,.deployment-hero{align-items:stretch;flex-direction:column}.dashboard-primary-action{width:100%}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-list-meta{justify-items:start}.dashboard-operation-list .list-item{align-items:flex-start;flex-direction:column;gap:8px}.deployment-card-grid{grid-template-columns:1fr}.deployment-status-grid{grid-template-columns:1fr 1fr}.deployment-title-row h2{font-size:23px}.deployment-data div{grid-template-columns:1fr;gap:2px}}
@media(max-width:430px){.dashboard-kpis,.deployment-status-grid{grid-template-columns:1fr}}

/* 0.8.18.27 – einheitliche Ausrichtung von Checkboxen und Optionsfeldern */
input[type="checkbox"],
input[type="radio"]{
  width:18px;
  height:18px;
  min-width:18px;
  flex:0 0 18px;
  margin:0;
  padding:0;
  vertical-align:middle;
  accent-color:var(--blue);
}
label.check,
label.form-check,
.checkbox-grid label,
.assignment-options label,
.employee-checkbox-item{
  display:flex;
  align-items:flex-start;
  gap:9px;
  min-width:0;
  line-height:1.4;
}
label.check,
label.form-check{
  width:fit-content;
  max-width:100%;
}
label.check input[type="checkbox"],
label.check input[type="radio"],
label.form-check input[type="checkbox"],
label.form-check input[type="radio"],
.checkbox-grid input[type="checkbox"],
.checkbox-grid input[type="radio"],
.assignment-options input[type="checkbox"],
.assignment-options input[type="radio"],
.employee-checkbox-item input[type="checkbox"],
.employee-checkbox-item input[type="radio"]{
  margin-top:.12em;
}
.checkbox-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:9px 16px;
  align-items:start;
}
.checkbox-grid label{
  margin:0;
  padding:7px 9px;
  border-radius:7px;
}
.checkbox-grid label:hover{
  background:#f8fafc;
}
@media(max-width:600px){
  .checkbox-grid{grid-template-columns:1fr}
}

/* 0.8.18.28 – systemweite Vereinheitlichung von Formularen, Filtern, Tabellen und Aktionen */
:root{
  --control-height:44px;
  --control-radius:8px;
  --control-border:#cbd5e1;
  --control-bg:#fff;
  --focus-ring:0 0 0 3px rgba(8,103,215,.12);
}

/* Überschriften und Panels */
.panel>h2:first-child,.panel>h3:first-child,.card>h2:first-child,.card>h3:first-child{margin-top:0}
.panel>h2,.card>h2{line-height:1.25}
.panel+.panel{margin-top:18px}

/* Einheitliche Formularfelder */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea{
  min-height:var(--control-height);
  border-radius:var(--control-radius);
  border-color:var(--control-border);
  background:var(--control-bg);
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
textarea{min-height:110px;resize:vertical;line-height:1.45}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,
select:hover,
textarea:hover{border-color:#aebdce}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
select:focus,
textarea:focus{outline:0;border-color:var(--blue);box-shadow:var(--focus-ring)}
input:disabled,select:disabled,textarea:disabled,button:disabled,.btn[aria-disabled="true"]{opacity:.6;cursor:not-allowed}
input[readonly],textarea[readonly]{background:#f8fafc;color:#475569}

/* Einheitliche Beschriftungen und Hilfetexte */
label{line-height:1.35}
label+small.muted,.form-grid small.muted{display:block;margin-top:5px;line-height:1.4}
fieldset{padding:18px;margin:20px 0;border-radius:10px}
legend{font-size:15px}
.form-grid{align-items:start}
.form-grid>div{min-width:0}
.form-grid>div>label:first-child{margin-top:0}

/* Einheitliche Filter- und Werkzeugleisten */
.toolbar{padding:0 0 14px;align-items:center}
.toolbar>h2,.toolbar>h3{margin:0}
.search-form{align-items:center;min-width:min(100%,320px)}
.search-form input,.search-form select{margin:0}
.search-form .btn,.search-form button{flex:0 0 auto}

/* Einheitliche Buttons */
.btn,button{
  min-height:40px;
  padding:9px 14px;
  border-radius:var(--control-radius);
  line-height:1.2;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .05s ease;
}
.btn:focus-visible,button:focus-visible{outline:0;box-shadow:var(--focus-ring)}
.btn:active,button:active{transform:translateY(1px)}
.btn.small,button.small,.small.btn{min-height:34px;padding:7px 10px}
.actions{align-items:center}
.actions form{margin:0}
.actions .btn,.actions button{margin:0}

/* Einheitliche Tabellen */
.table-wrap{width:100%}
th{white-space:nowrap}
td{line-height:1.4}
td>.actions{margin:0}
td form{margin:0}
td form select,td form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){min-width:120px}
td .btn,td button{vertical-align:middle}
.table-wrap table tr:focus-within{background:#f8fbff}

/* Einheitliche Auswahlflächen */
label.check,label.form-check{min-height:34px;padding:6px 8px;margin:6px 0;border-radius:7px}
label.check:hover,label.form-check:hover{background:#f8fafc}
label.check:has(input:focus-visible),label.form-check:has(input:focus-visible),.checkbox-grid label:has(input:focus-visible){outline:0;box-shadow:var(--focus-ring)}
.checkbox-grid label:has(input:checked),label.form-check:has(input:checked){background:#eef6ff}

/* Einheitliche aufklappbare Bereiche */
.assignment-dropdown,.panel-section{overflow:hidden;border-radius:10px;margin:14px 0}
.assignment-dropdown summary,.panel-section>summary{min-height:48px;display:flex;align-items:center;gap:8px}
.assignment-dropdown summary:after{margin-left:auto;float:none}
.details-body{background:#fff}

/* Mobile Anpassungen */
@media(max-width:700px){
  .app-main{padding-left:16px;padding-right:16px}
  .page-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .page-heading h1{font-size:24px}
  .toolbar{align-items:stretch;flex-direction:column}
  .toolbar>.actions,.toolbar>.search-form{width:100%}
  .search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:stretch}
  .search-form input,.search-form select{max-width:none}
  .form-grid,.form-grid.three{grid-template-columns:1fr}
  .actions{width:100%}
  .actions>.btn,.actions>button,.actions>form{flex:1 1 auto}
  .actions>form>button{width:100%}
  .panel,.card{padding:16px}
  fieldset{padding:14px}
}
@media(max-width:460px){
  .search-form{grid-template-columns:1fr}
  .search-form button,.search-form .btn{width:100%}
  .actions{display:grid;grid-template-columns:1fr}
  .actions>.btn,.actions>button,.actions>form{width:100%}
}

/* EsM 0.8.18.32 – projektweite UI-Standards */
:root{
  --surface:#fff;
  --surface-subtle:#f8fafc;
  --surface-hover:#f3f7fb;
  --text:#172033;
  --success-bg:#dcfce7;
  --success-text:#166534;
  --warning-bg:#fef3c7;
  --warning-text:#92400e;
  --danger-bg:#fee2e2;
  --danger-text:#991b1b;
  --info-bg:#dbeafe;
  --info-text:#1d4ed8;
  --radius-card:12px;
  --space-card:20px;
}

/* Seitenköpfe und Inhaltsrhythmus */
.page-heading{
  min-height:44px;
  align-items:center;
  gap:16px;
  padding-bottom:16px;
  margin-bottom:20px;
  border-bottom:1px solid var(--border);
}
.page-heading>div{min-width:0}
.page-heading h1{line-height:1.15}
.app-main>.toolbar:first-of-type{margin-top:0}
.app-main>section+section,.app-main>.panel+.toolbar,.app-main>.table-wrap+.panel{margin-top:18px}

/* Karten und Bereiche */
.card,.panel,.table-wrap{
  border-radius:var(--radius-card);
}
.card,.panel{padding:var(--space-card)}
.card>header:first-child,.panel>header:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.panel h2,.card h2{font-size:19px;letter-spacing:-.01em}
.panel h3,.card h3{font-size:16px}
.panel h2,.panel h3,.card h2,.card h3{color:var(--text)}

/* Werkzeug- und Filterleisten */
.toolbar{
  min-height:48px;
  padding:0;
  margin-bottom:16px;
}
.toolbar>.actions{margin:0}
.toolbar strong{color:var(--text)}
.search-form{
  padding:6px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
}
.search-form input,.search-form select{
  min-height:38px;
  border-color:transparent;
  background:var(--surface-subtle);
}
.search-form input:focus,.search-form select:focus{border-color:var(--blue)}
.filter-note{
  margin:0 0 16px;
  padding:10px 12px;
  border-left:3px solid var(--blue);
  border-radius:0 8px 8px 0;
  background:var(--blue-soft);
  color:#334155;
  font-size:14px;
}

/* Standardisierte Aktionsgruppen */
.actions{gap:8px}
td:last-child>.btn,td:last-child>form,td:last-child>.actions{margin-top:2px;margin-bottom:2px}
.btn.danger,a.btn.danger,button.danger{background:#b42318;color:#fff;border-color:#b42318}
.btn.danger:hover,a.btn.danger:hover,button.danger:hover{background:#8f1d14}
.btn.secondary.danger{background:#fff;color:#b42318;border-color:#e4a6a1}
.btn.secondary.danger:hover{background:#fff5f4}

/* Einheitliche Tabellen */
.table-wrap{box-shadow:var(--shadow)}
thead th,table>tbody:first-child>tr:first-child>th,table>tr:first-child>th{
  height:46px;
  background:#f8fafc;
  color:#334155;
  border-bottom:1px solid #dbe3eb;
}
tbody td{min-height:52px}
tbody tr{transition:background .12s ease}
tbody tr:nth-child(even){background:#fcfdff}
tbody tr:nth-child(even):hover,tbody tr:hover{background:#f5f9fd}
td:last-child{white-space:normal}
td:last-child .actions{justify-content:flex-end}

/* Einheitliche Statusdarstellung */
.badge{
  min-height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:4px 9px;
  border-radius:999px;
  font-weight:700;
  line-height:1.1;
  background:var(--info-bg);
  color:var(--info-text);
}
.badge.ok,.badge.success{background:var(--success-bg);color:var(--success-text)}
.badge.warn,.badge.warning{background:var(--warning-bg);color:var(--warning-text)}
.badge.off,.badge.error,.badge.danger{background:var(--danger-bg);color:var(--danger-text)}

/* Einheitliche Meldungen */
.flash{
  border:1px solid transparent;
  border-radius:10px;
  font-weight:600;
  box-shadow:0 2px 10px rgba(15,23,42,.04);
}
.flash.success{background:var(--success-bg);color:var(--success-text);border-color:#a7e8bd}
.flash.error{background:var(--danger-bg);color:var(--danger-text);border-color:#f6b9b4}
.flash.warn,.flash.warning{background:var(--warning-bg);color:var(--warning-text);border-color:#f5d783}
.flash.info{background:var(--info-bg);color:var(--info-text);border-color:#a9c8fa}

/* Formulare und Formularaktionen */
form.panel,.form-card{width:100%}
form>.actions:last-child,.form-card>.actions:last-child{padding-top:4px;margin-bottom:0}
fieldset>label.check:last-child,fieldset>label.form-check:last-child{margin-bottom:0}
input::placeholder,textarea::placeholder{color:#8a98a9;opacity:1}
select:invalid{color:#64748b}

/* Einheitliche leere Zustände */
.empty{
  padding:18px;
  text-align:center;
  color:#64748b;
}
section.empty{border:1px dashed #cbd5e1;background:#fbfdff}

/* Aktionszellen auf kleineren Bildschirmen lesbar halten */
@media(max-width:900px){
  .toolbar{align-items:stretch}
  .toolbar>.actions{flex:1 1 auto}
  td:last-child .actions{justify-content:flex-start}
}
@media(max-width:700px){
  :root{--space-card:16px}
  .page-heading{min-height:0;padding-bottom:13px}
  .search-form{padding:0;border:0;background:transparent}
  .table-wrap{border-radius:10px}
  .badge{white-space:nowrap}
}

/* EsM 0.8.18.33 – einheitliches Bedienkonzept */
.page-heading{display:flex;justify-content:space-between}
.page-back{margin-left:auto;flex:0 0 auto}

/* Formularaktionen stehen auf jeder Formularseite an derselben Stelle. */
.form-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-top:22px;
  padding-top:16px!important;
  border-top:1px solid var(--border);
}
.form-actions .danger{margin-right:auto}

/* Wiederkehrende Aktionen erhalten eine konsistente Symbolposition. */
.action-with-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.action-with-icon:before{content:attr(data-action-icon);font-size:1.05em;line-height:1;font-weight:800}
.table-actions{justify-content:flex-end;flex-wrap:wrap;margin:0}
.table-actions form{display:inline-flex}

/* Einheitlicher, zugänglicher Bestätigungsdialog statt wechselnder Browserdialoge. */
.confirm-dialog{
  width:min(460px,calc(100vw - 32px));
  padding:24px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  color:var(--text);
  box-shadow:0 24px 70px rgba(15,23,42,.24);
}
.confirm-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}
.confirm-dialog-icon{
  width:38px;height:38px;display:grid;place-items:center;
  margin-bottom:14px;border-radius:50%;background:var(--warning-bg);color:var(--warning-text);
  font-size:22px;font-weight:800
}
.confirm-dialog h2{margin:0 0 8px;font-size:20px}
.confirm-dialog p{margin:0;color:#475569;white-space:pre-line}
.confirm-dialog-actions{justify-content:flex-end;margin:22px 0 0}

/* Standard für zukünftige Seitennavigation. */
.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.pagination{display:flex;align-items:center;gap:6px}
.pagination a,.pagination span{min-width:36px;min-height:36px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:#fff;text-decoration:none}
.pagination .active{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700}
.page-size{display:flex;align-items:center;gap:8px}
.page-size select{width:auto;min-width:80px}

@media(max-width:700px){
  .page-heading{flex-direction:row;align-items:center}
  .page-back{width:auto!important;margin-left:auto}
  .form-actions{display:flex;flex-direction:column-reverse;align-items:stretch}
  .form-actions>.btn,.form-actions>button,.form-actions>form{width:100%;flex:none}
  .form-actions>form>button{width:100%}
  .table-actions{justify-content:flex-start}
  .pagination-bar{align-items:stretch;flex-direction:column}
  .pagination{flex-wrap:wrap}
}

/* EsM 0.9.0 – finales dunkles UI/UX-Theme */
:root{
  color-scheme:dark;
  --blue:#3b82f6;
  --blue-dark:#2563eb;
  --blue-soft:rgba(59,130,246,.14);
  --border:#334155;
  --muted:#94a3b8;
  --sidebar:#0b1220;
  --shadow:0 14px 34px rgba(0,0,0,.24);
  --surface:#1e293b;
  --surface-subtle:#172033;
  --surface-hover:#263449;
  --text:#e5edf7;
  --success-bg:rgba(34,197,94,.13);
  --success-text:#86efac;
  --warning-bg:rgba(245,158,11,.14);
  --warning-text:#fcd34d;
  --danger-bg:rgba(239,68,68,.13);
  --danger-text:#fca5a5;
  --info-bg:rgba(59,130,246,.14);
  --info-text:#93c5fd;
  --control-bg:#172033;
  --control-border:#3a4a60;
  --focus-ring:0 0 0 3px rgba(59,130,246,.23);
  --radius-card:13px;
}
html,body{background:#0f172a;color:var(--text)}
body{background:radial-gradient(circle at 75% -20%,rgba(59,130,246,.08),transparent 32rem),#0f172a}
a{color:inherit}

/* Grundlayout */
.sidebar{background:#0b1220;border-right-color:#223047;box-shadow:10px 0 32px rgba(0,0,0,.16)}
.sidebar-brand{border-bottom-color:#223047;color:#f8fafc}
.brand-mark{background:linear-gradient(145deg,#2563eb,#1d4ed8);box-shadow:0 8px 24px rgba(37,99,235,.25),inset 0 0 0 1px rgba(255,255,255,.2)}
.nav-section-label{color:#64748b}
.sidebar-link{position:relative;color:#cbd5e1;transition:background .16s ease,color .16s ease,transform .16s ease}
.sidebar-link:hover{background:#162238;color:#f8fafc;transform:translateX(1px)}
.sidebar-link.active{background:rgba(59,130,246,.14);color:#bfdbfe}
.sidebar-link.active:before{content:"";position:absolute;left:-8px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:#60a5fa;box-shadow:0 0 14px rgba(96,165,250,.5)}
.sidebar-group-toggle{color:#94a3b8}
.sidebar-group-toggle:hover{background:#162238;color:#fff}
.sidebar-submenu a{color:#94a3b8}
.sidebar-submenu a:hover,.sidebar-submenu a.active{background:#162238;color:#bfdbfe}
.app-topbar{background:rgba(15,23,42,.9);border-bottom-color:#263449;box-shadow:0 8px 24px rgba(0,0,0,.12);backdrop-filter:blur(14px)}
.sidebar-mobile-toggle{color:#e2e8f0}
.topbar-user span{color:var(--muted)}
.avatar{background:#263449;color:#bfdbfe}
.placeholder{border-color:#3a4a60}
.app-main{background:transparent}
.app-footer{background:#0b1220;border-top-color:#223047;color:#64748b}
.page-heading{border-bottom-color:#263449}
.page-heading h1{color:#f8fafc}
.muted,.empty{color:var(--muted)}

/* Karten, Panels und Dashboard */
.card,.panel,.table-wrap{background:#1e293b;border-color:#334155;box-shadow:var(--shadow)}
.card,.panel{transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.card:hover{border-color:#40536c}
.panel h2,.panel h3,.card h2,.card h3,.toolbar strong{color:#f1f5f9}
.metrics .card span,.metrics .card small,.list-item span{color:#94a3b8}
.metrics .card strong{color:#f8fafc}
.dashboard-welcome{background:linear-gradient(135deg,#1e293b,#172033);border:1px solid #334155;box-shadow:var(--shadow)}
.dashboard-welcome h2,.dashboard-welcome p{color:#f8fafc}
.dashboard-eyebrow{color:#60a5fa}
.dashboard-kpi{background:linear-gradient(160deg,#1e293b,#192438)}
.dashboard-kpi:hover,.metric-link:hover{transform:translateY(-2px);border-color:#4b6380;box-shadow:0 18px 38px rgba(0,0,0,.28)}
.dashboard-kpi.needs-attention{border-color:rgba(245,158,11,.5);box-shadow:inset 0 0 0 1px rgba(245,158,11,.08),var(--shadow)}
.dashboard-link,.dashboard-today-card{color:inherit}
.dashboard-link:hover,.dashboard-today-card:hover{background:#263449}
.dashboard-today-card{background:#172033;border-color:#334155}
.staff-pill{border-color:#40536c;background:#172033;color:#cbd5e1}
.staff-pill.is-open{background:rgba(245,158,11,.12);color:#fcd34d;border-color:rgba(245,158,11,.35)}
.staff-pill.is-complete{background:rgba(34,197,94,.11);color:#86efac;border-color:rgba(34,197,94,.3)}
.list-item{border-bottom-color:#334155}
.list-item:hover{background:#263449}

/* Buttons */
.btn,button{box-shadow:0 7px 18px rgba(37,99,235,.16)}
.btn:hover,button:hover{box-shadow:0 9px 22px rgba(37,99,235,.24)}
.btn.secondary,button.secondary{background:#172033;color:#dbeafe;border-color:#3a4a60;box-shadow:none}
.btn.secondary:hover,button.secondary:hover{background:#263449;border-color:#536987;color:#fff}
.btn.danger,a.btn.danger,button.danger{background:#dc2626;border-color:#dc2626}
.btn.secondary.danger{background:rgba(239,68,68,.07);color:#fca5a5;border-color:rgba(239,68,68,.35)}
.btn.secondary.danger:hover{background:rgba(239,68,68,.14)}

/* Formulare */
label{color:#dbe3ee}
fieldset{border-color:#3a4a60;background:rgba(15,23,42,.2)}
legend{color:#f1f5f9}
input,select,textarea{background:#172033;color:#e5edf7;border-color:#3a4a60}
input:hover,select:hover,textarea:hover{border-color:#536987}
input:focus,select:focus,textarea:focus{border-color:#60a5fa;box-shadow:var(--focus-ring);background:#19263b}
input::placeholder,textarea::placeholder{color:#718096}
input[readonly],textarea[readonly]{background:#111a2a;color:#94a3b8}
select option{background:#172033;color:#e5edf7}
label.check:hover,label.form-check:hover{background:#263449}
.checkbox-grid label:has(input:checked),label.form-check:has(input:checked){background:rgba(59,130,246,.13)}
.assignment-dropdown,.panel-section{background:#1e293b;border-color:#3a4a60}
.assignment-options{border-top-color:#334155}
.assignment-tools{background:#1e293b}
.panel-section[open]>summary{border-bottom-color:#334155}
.details-body{background:#172033}
.form-actions{border-top-color:#334155}
.search-form{background:#1e293b;border-color:#334155}
.search-form input,.search-form select{background:#172033}
.filter-note{background:rgba(59,130,246,.11);color:#bfdbfe}

/* Tabellen */
.table-wrap,table{background:#1e293b}
thead th,table>tbody:first-child>tr:first-child>th,table>tr:first-child>th,th{background:#172033;color:#cbd5e1;border-bottom-color:#3a4a60}
th,td{border-bottom-color:#334155}
tbody tr:nth-child(even){background:#1b2739}
tbody tr:nth-child(even):hover,tbody tr:hover,.table-wrap table tr:focus-within{background:#263449}

/* Status und Meldungen */
.badge{border:1px solid rgba(147,197,253,.25);background:var(--info-bg);color:var(--info-text)}
.badge.ok,.badge.success{border-color:rgba(134,239,172,.25)}
.badge.warn,.badge.warning{border-color:rgba(252,211,77,.25)}
.badge.off,.badge.error,.badge.danger{border-color:rgba(252,165,165,.25)}
.flash{box-shadow:0 10px 26px rgba(0,0,0,.16)}
.flash.success{border-color:rgba(34,197,94,.35)}
.flash.error{border-color:rgba(239,68,68,.35)}
.flash.warn,.flash.warning{border-color:rgba(245,158,11,.35)}
.flash.info{border-color:rgba(59,130,246,.35)}
section.empty{border-color:#40536c;background:#172033}

/* Kalender – Monatsansicht Desktop, Listenansicht mobil */
.calendar-grid{gap:10px;grid-template-columns:repeat(7,minmax(142px,1fr))}
.calendar-day{position:relative;min-height:205px;background:#1a2638;border-color:#334155;border-radius:12px;padding:11px;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.calendar-day:hover{background:#1f2d42;border-color:#4b6380;transform:translateY(-1px)}
.calendar-day:nth-child(7n+6),.calendar-day:nth-child(7n){background:#151f30}
.calendar-day:nth-child(7n+6):hover,.calendar-day:nth-child(7n):hover{background:#1b293d}
.calendar-day.today{outline:0;border-color:#60a5fa;box-shadow:inset 0 0 0 1px rgba(96,165,250,.35),0 0 0 3px rgba(59,130,246,.08)}
.calendar-day.today:after{content:"Heute";position:absolute;right:10px;top:10px;padding:2px 7px;border-radius:999px;background:rgba(59,130,246,.18);color:#93c5fd;font-size:10px;font-weight:800;letter-spacing:.03em}
.calendar-day>header{border-bottom-color:#334155;padding-bottom:9px;margin-bottom:9px}
.calendar-day>header strong{color:#e2e8f0}
.calendar-day>header span{color:#94a3b8}
.calendar-day.today>header{padding-right:45px}
.shift-card{border-left-width:3px;background:#243247;border:1px solid #34465f;border-left-color:var(--blue);color:#edf4ff;padding:9px 10px;margin:7px 0;border-radius:8px;box-shadow:0 5px 14px rgba(0,0,0,.12);transition:transform .14s ease,background .14s ease,border-color .14s ease}
.shift-card:hover{background:#2b3c54;transform:translateY(-1px);border-top-color:#4b6380;border-right-color:#4b6380;border-bottom-color:#4b6380}
.shift-card strong{font-size:13px;line-height:1.3}
.calendar-mobile-list{gap:12px}
.mobile-calendar-day{background:#1e293b;border-color:#334155;box-shadow:var(--shadow)}
.mobile-calendar-day.today{border-color:#60a5fa}
.mobile-calendar-day>header{border-bottom-color:#334155}
.mobile-shift-card{background:#172033;border-color:#334155;color:#edf4ff}
.mobile-shift-card:hover{background:#263449}

/* Karten/Geodaten und Dialoge */
.address-results{background:#172033;border-color:#3a4a60;box-shadow:0 16px 40px rgba(0,0,0,.38)}
.address-result{background:#172033;color:#e5edf7;border-bottom-color:#334155}
.address-result:hover,.address-result:focus{background:#263449}
.address-result span{color:#94a3b8}
.address-map{background:#111827;border:1px solid #334155}
.audit-old,.audit-new{background:#172033}
.audit-meta{color:#94a3b8}
.confirm-dialog{background:#1e293b;color:#e5edf7;border-color:#40536c}
.confirm-dialog::backdrop{background:rgba(2,6,23,.72)}
.confirm-dialog p{color:#aebccd}
.pagination a,.pagination span{background:#172033;border-color:#3a4a60}
.auth-body{background:#0f172a}
.auth-header{background:#0b1220;border-bottom-color:#223047}
.auth-card{background:#1e293b;border-color:#334155;box-shadow:0 22px 55px rgba(0,0,0,.34)}
.auth-footer{color:#64748b}

@media(max-width:980px){
  .sidebar{box-shadow:18px 0 42px rgba(0,0,0,.38)}
}
@media(max-width:700px){
  .app-topbar{background:rgba(15,23,42,.96)}
  .card:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* EsM 0.9.0.1 – dunkle Einsatzdetails vollständig angleichen */
.deployment-status-card{
  background:linear-gradient(160deg,#1e293b,#192438);
  border-color:#334155;
  color:var(--text);
  box-shadow:var(--shadow);
}
.deployment-status-card:hover{border-color:#40536c}
.deployment-status-card span{color:#94a3b8}
.deployment-status-card strong{color:#f8fafc}
.deployment-status-card.is-warning{border-left-color:#f59e0b;background:linear-gradient(160deg,#1e293b,rgba(245,158,11,.08))}
.deployment-status-card.is-warning strong{color:#fcd34d}
.deployment-status-card.is-success{border-left-color:#22c55e;background:linear-gradient(160deg,#1e293b,rgba(34,197,94,.07))}
.deployment-status-card.is-success strong{color:#86efac}
.deployment-status-card .status-value{color:#dbeafe}
.deployment-card-title{border-bottom-color:#334155}
.deployment-card-icon{background:rgba(59,130,246,.14);color:#93c5fd}
.deployment-card h4{color:#dbe3ee}
.deployment-person-list li{
  background:#172033;
  border-color:#334155;
  color:#e5edf7;
}
.deployment-person-list li:hover{background:#263449;border-color:#40536c}
.deployment-hero-meta,.contact-block span{color:#94a3b8}
.status-text{color:#93c5fd}
.info-block{border-bottom-color:#334155}
.info-block.internal{background:rgba(245,158,11,.08);border-color:rgba(245,158,11,.3);color:#fde68a}

/* EsM 0.9.0.2 – projektweite Bereinigung verbliebener heller Oberflächen */
.staffing-summary,.staffing-detail{
  background:#172033;
  border-color:#3a4a60;
  color:#e5edf7;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015);
}
.staffing-summary strong,.staffing-detail strong{color:#f8fafc}
.staffing-summary .muted,.staffing-detail .muted{color:#94a3b8}

.checkbox-grid label{
  background:#172033;
  border-color:#334155;
  color:#e5edf7;
}
.checkbox-grid label:hover{background:#263449;border-color:#40536c}
.checkbox-grid label:has(input:checked),label.form-check:has(input:checked){
  background:rgba(59,130,246,.13);
  border-color:rgba(96,165,250,.38);
}

.map-loading-note{
  background:rgba(245,158,11,.12);
  color:#fcd34d;
  border:1px solid rgba(245,158,11,.3);
}
code{background:#172033;color:#bfdbfe;border:1px solid #334155}

.mobile-calendar-day>header{background:#172033}
.mobile-shift-card:active{background:#263449}
.mobile-shift-staff{background:#172033;color:#cbd5e1;border:1px solid #334155}
.mobile-shift-staff.is-open{background:rgba(245,158,11,.12);color:#fcd34d;border-color:rgba(245,158,11,.35)}
.mobile-shift-staff.is-complete{background:rgba(34,197,94,.11);color:#86efac;border-color:rgba(34,197,94,.3)}

.dashboard-primary-action{background:#dbeafe;color:#173a63}
.dashboard-primary-action:hover{background:#bfdbfe;color:#102d4d}
.dashboard-today-card span{color:#bfdbfe}

.assignment-summary{color:#dbeafe}
.category-filter summary,.category-filter-box{
  background:#172033!important;
  color:#e5edf7!important;
  border-color:#3a4a60!important;
}
.category-filter[open] summary{border-color:#60a5fa!important}
.category-filter-box{box-shadow:0 16px 40px rgba(0,0,0,.38)!important}
.category-filter-box label:hover{background:#263449}
.time-avatar{background:#263449!important;border:1px solid #3a4a60}

.install-card,.clock-metric,.clock-confirm{
  background:#1e293b!important;
  color:#e5edf7!important;
  border-color:#3a4a60!important;
}
.install-help{color:#94a3b8!important}

/* Absicherung für generische, verschachtelte Inhaltsflächen */
.panel .card,.panel .panel,.card .card,.card .panel{background:#172033;border-color:#334155}
.panel-section .details-body,.assignment-dropdown .details-body{background:#172033}

@media(max-width:700px){
  .staffing-summary,.staffing-detail{padding:13px 14px}
}

/* Materialverwaltung 0.9.1 */
.page-toolbar{display:flex;justify-content:flex-end;gap:.75rem;margin:-.25rem 0 1rem}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.detail-header h2{margin:0 0 .5rem}.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.25rem}.detail-grid>div{padding:1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2)}.detail-label{display:block;color:var(--muted);font-size:.82rem;margin-bottom:.35rem}.material-stats{margin-top:.5rem}.material-movement-form .movement-target[hidden]{display:none!important}.material-movement-form{display:grid;gap:1rem}.badge.neutral{background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.35);color:#cbd5e1}.btn.small{min-height:34px;padding:.4rem .65rem;font-size:.82rem}.table-actions{display:flex;gap:.45rem;flex-wrap:wrap}.filter-bar{align-items:end}
@media(max-width:900px){.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-toolbar{justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:560px){.detail-grid{grid-template-columns:1fr}.material-stats{grid-template-columns:1fr 1fr}.table-actions{min-width:170px}}


/* Materialverwaltung 0.9.2 */
.material-title-wrap{display:flex;align-items:center;gap:1rem}.material-image{width:92px;height:92px;object-fit:cover;border-radius:14px;border:1px solid var(--border-color,#334155);background:#0f172a}.material-image.preview{margin-top:.75rem;width:140px;height:140px}.material-stats{margin-bottom:1rem}.material-movement-form .movement-target[hidden]{display:none!important}@media(max-width:700px){.material-title-wrap{align-items:flex-start}.material-image{width:72px;height:72px}}
.notification-item.is-unread{border-left:3px solid var(--accent,#38bdf8);background:rgba(56,189,248,.06)}
.notification-item time{white-space:nowrap}.notification-list .list-item span{display:block;margin-top:.25rem;color:var(--muted,#94a3b8)}
table td small{display:block;color:var(--muted,#94a3b8);margin-top:.2rem}

/* Wachbuch 0.9.5 */
.watchbook-feed{display:grid;gap:12px}.watchbook-card{display:grid;grid-template-columns:92px 1fr;gap:16px;padding:16px;border:1px solid var(--border);border-left:4px solid var(--border);border-radius:14px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none;transition:.18s ease}.watchbook-card:hover{transform:translateY(-1px);border-color:var(--primary)}.watchbook-card.priority-high{border-left-color:#f59e0b}.watchbook-card.priority-critical{border-left-color:#ef4444}.watchbook-card-time{display:flex;flex-direction:column;align-items:flex-start;border-right:1px solid var(--border);padding-right:12px}.watchbook-card-time strong{font-size:1.35rem}.watchbook-card-time span,.watchbook-card-body small{color:var(--muted)}.watchbook-card-body h3{margin:8px 0 4px}.watchbook-card-body p{margin:0 0 8px;color:var(--text-soft)}.watchbook-content{font-size:1.05rem;line-height:1.7;padding:18px 0;white-space:normal}.watchbook-links{margin-top:14px}.watchbook-timeline{display:grid;gap:12px;margin-bottom:18px}.watchbook-timeline article{padding:14px;border-left:3px solid var(--primary);background:rgba(255,255,255,.025);border-radius:0 12px 12px 0}.watchbook-timeline article>div{display:flex;justify-content:space-between;gap:12px}.watchbook-timeline time{color:var(--muted);font-size:.85rem}.watchbook-timeline p{margin:8px 0 0}.badge.danger{background:rgba(239,68,68,.15);color:#fecaca;border-color:rgba(239,68,68,.35)}@media(max-width:700px){.watchbook-card{grid-template-columns:1fr}.watchbook-card-time{border-right:0;border-bottom:1px solid var(--border);padding:0 0 10px;flex-direction:row;gap:8px;align-items:baseline}}

/* Vorkommnisprotokoll 0.9.6 */
.incident-fields{padding:18px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.025)}
.incident-fields[hidden]{display:none}.incident-fields h2{margin-top:0}.incident-fields .muted{color:var(--muted);margin-top:-6px}
.incident-summary,.incident-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.incident-summary>div,.incident-answers>div{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.025)}
.incident-summary small,.incident-answers span,.incident-answers small{color:var(--muted)}
@media(max-width:700px){.incident-summary,.incident-answers{grid-template-columns:1fr}}


/* Wachbuch Professional 0.9.7 */
.inline-form{display:inline-flex;margin:0}.inline-form button{margin:0}.watchbook-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:16px 0 22px}.watchbook-gallery a{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none}.watchbook-gallery img{width:100%;height:150px;object-fit:cover;background:#0f172a}.watchbook-gallery span{padding:9px 11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-check{display:flex;align-items:center;gap:7px;min-height:42px;padding:0 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);white-space:nowrap}.filter-check input{width:auto}.watchbook-card:has(h3:first-child){position:relative}.watchbook-card.priority-low{border-left-color:#64748b}.watchbook-card.priority-normal{border-left-color:#3b82f6}@media(max-width:700px){.watchbook-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.watchbook-gallery img{height:120px}.filter-check{width:100%}}

/* EsM 1.0 – einheitliche Aktivitäts- und Einsatzakten-Komponenten */
.dashboard-activity-columns{margin-top:1rem}.activity-list,.record-list{display:grid;gap:.55rem}.activity-item,.record-item{display:flex;align-items:center;gap:.75rem;padding:.8rem .9rem;border:1px solid var(--border,#273449);border-radius:12px;background:rgba(255,255,255,.025);text-decoration:none;color:inherit}.activity-item:hover,.record-item:hover{background:rgba(255,255,255,.055);border-color:rgba(148,163,184,.45)}.activity-item>div,.record-item>div{display:grid;gap:.18rem;min-width:0;flex:1}.activity-item strong,.record-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-item small,.record-item small{color:var(--muted,#94a3b8)}.activity-item.is-unread{box-shadow:inset 3px 0 0 #38bdf8}.activity-marker{width:.65rem;height:.65rem;border-radius:999px;background:#64748b;flex:0 0 auto}.activity-marker.priority-high,.activity-marker.level-warning{background:#f59e0b}.activity-marker.priority-critical,.activity-marker.level-error{background:#ef4444}.activity-marker.priority-low,.activity-marker.level-success{background:#22c55e}.activity-marker.level-info{background:#38bdf8}.deployment-record-grid{margin-top:1rem}.deployment-record-wide{grid-column:span 2}.deployment-record-wide .actions{margin-top:1rem}@media(max-width:900px){.deployment-record-wide{grid-column:span 1}}
@media print{.sidebar,.app-topbar,.page-heading,.deployment-hero-actions,.deployment-actions,.app-footer{display:none!important}.app-main{margin:0!important;padding:0!important}.panel{break-inside:avoid;box-shadow:none!important}}

/* Persönliches Dashboard 1.1 */
.personal-dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start}.dashboard-widget{position:relative;min-width:0}.dashboard-widget.size-small{grid-column:span 3}.dashboard-widget.size-medium{grid-column:span 4}.dashboard-widget.size-wide{grid-column:span 6}.dashboard-widget.size-full{grid-column:1/-1}.dashboard-widget>.card,.dashboard-widget>.panel{height:100%;box-sizing:border-box}.dashboard-drag-handle{display:none;position:absolute;z-index:5;right:10px;top:9px;border:0;background:rgba(20,28,38,.88);color:#d8e1eb;border-radius:7px;padding:4px 8px;cursor:grab;font-size:16px;line-height:1}.dashboard-home.is-editing .dashboard-drag-handle{display:block}.dashboard-home.is-editing .dashboard-widget{outline:1px dashed rgba(119,185,255,.58);outline-offset:4px;border-radius:12px;cursor:grab}.dashboard-widget.is-dragging{opacity:.48}.dashboard-config{margin-bottom:18px}.dashboard-widget-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:16px 0}.dashboard-picker-row{display:grid;grid-template-columns:auto 1fr 130px;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--border,#2c3948);border-radius:10px}.dashboard-picker-row select{margin:0}.dashboard-config .actions form{margin:0}.dashboard-quick-actions .actions{display:flex;flex-wrap:wrap;gap:10px}@media(max-width:1100px){.dashboard-widget.size-small{grid-column:span 6}.dashboard-widget.size-medium,.dashboard-widget.size-wide{grid-column:span 6}}@media(max-width:720px){.personal-dashboard-grid{grid-template-columns:1fr}.dashboard-widget.size-small,.dashboard-widget.size-medium,.dashboard-widget.size-wide,.dashboard-widget.size-full{grid-column:1}.dashboard-widget-picker{grid-template-columns:1fr}.dashboard-picker-row{grid-template-columns:auto 1fr}.dashboard-picker-row select{grid-column:2}}

/* EsM 1.2 Leitstellenmodus */
.topbar-global-search{display:flex;align-items:center;gap:8px;width:min(520px,42vw);padding:7px 10px;border:1px solid #334155;border-radius:10px;background:#172033}.topbar-global-search input{width:100%;margin:0;border:0;background:transparent;padding:2px;color:var(--text);outline:0}.topbar-global-search kbd{padding:2px 6px;border:1px solid #475569;border-radius:5px;color:var(--muted);font-size:11px}.topbar-search-icon{color:var(--muted);font-size:18px}.global-search-page{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.global-search-page input{margin:0}.search-result-group{margin-top:16px}.favorite-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.favorite-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.025)}.favorite-card>a{display:grid;gap:3px;min-width:0;flex:1;text-decoration:none;color:inherit}.favorite-card small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-profile-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.dashboard-profile-bar label{min-width:220px}.dashboard-profile-bar select{margin:0}.dashboard-live-status{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.dashboard-live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.dashboard-profile-create{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;gap:10px;align-items:end}.dashboard-kpi strong[data-live-value]{transition:opacity .2s}.dashboard-kpi strong.is-updating{opacity:.45}
@media(max-width:900px){.topbar-global-search{width:min(440px,55vw)}.favorite-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.topbar-global-search{display:none}.favorite-grid{grid-template-columns:1fr}.dashboard-profile-create{grid-template-columns:1fr}.global-search-page{grid-template-columns:1fr}}

/* Version 1.3 – einheitliche Listen und Detailnavigation */
.table-tools{display:flex;gap:.65rem;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin:.75rem 0}.table-tools-search{min-width:min(100%,320px);margin:0}.table-tools-size{width:auto;margin:0}.table-tools-columns{position:relative}.table-tools-columns summary{cursor:pointer;list-style:none;border:1px solid var(--border,#334155);border-radius:.55rem;padding:.62rem .8rem;background:var(--panel,#111827)}.table-tools-column-menu{position:absolute;right:0;z-index:20;min-width:220px;max-height:320px;overflow:auto;padding:.75rem;margin-top:.35rem;border:1px solid var(--border,#334155);border-radius:.65rem;background:var(--panel,#111827);box-shadow:0 16px 40px rgba(0,0,0,.28)}.table-tools-column-menu label{display:block;padding:.35rem}.table-pager{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.7rem 0 1rem;color:var(--muted,#94a3b8);font-size:.9rem}.table-pager>div{display:flex;align-items:center;gap:.55rem}.detail-tabs{display:flex;gap:.35rem;flex-wrap:wrap;margin:0 0 1rem;padding:.35rem;border:1px solid var(--border,#334155);border-radius:.75rem;background:var(--panel,#111827);position:sticky;top:76px;z-index:8}.detail-tabs a{padding:.6rem .85rem;border-radius:.55rem;text-decoration:none;color:inherit}.detail-tabs a:hover,.detail-tabs a:focus{background:rgba(148,163,184,.14)}.role-presets{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1rem}.role-presets .btn{margin:0}@media(max-width:700px){.table-tools{align-items:stretch}.table-tools-search,.table-tools-size,.table-tools-columns{width:100%}.table-tools-columns summary{width:100%}.table-tools-column-menu{left:0;right:auto;width:100%}.table-pager{align-items:flex-start;flex-direction:column}.detail-tabs{top:64px;overflow:auto;flex-wrap:nowrap}.detail-tabs a{white-space:nowrap}}


/* EsM 1.3.1 – interaktive Einsatzakte */
.operation-tabs{position:sticky;top:0;z-index:15;background:var(--surface,#fff);padding:8px;border:1px solid var(--border);border-radius:12px;box-shadow:0 5px 18px rgba(15,40,70,.07);overflow-x:auto}.operation-tabs a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.operation-tabs a.is-active{background:var(--primary,#1769aa);color:#fff}.tab-count{min-width:21px;height:21px;padding:0 6px;border-radius:99px;background:rgba(23,105,170,.1);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}.operation-tabs a.is-active .tab-count{background:rgba(255,255,255,.22)}.operation-tab-panel{display:none;scroll-margin-top:90px}.operation-tab-panel.is-active{display:block}.operation-full-card{width:100%}.deployment-status-grid.compact{margin:12px 0 20px}.operation-full-card .deployment-card-grid{margin-top:12px}.operation-full-card .record-list{margin-bottom:14px}@media(max-width:700px){.operation-tabs{top:0}.operation-tabs a{padding:9px 10px}.operation-full-card .deployment-card-grid{grid-template-columns:1fr}}

/* 1.3.4 – optionale Leitstellen-Widgets */
.dashboard-picker-row.is-new-widget{border-color:rgba(37,99,235,.22);background:rgba(37,99,235,.035)}
.dashboard-picker-row>span{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.dashboard-new-badge{display:inline-flex;padding:.15rem .45rem;border-radius:999px;background:#e8eefc;color:#244b91;font-size:.68rem;font-weight:700;letter-spacing:.01em}
.control-widget-placeholder{height:100%}
.dashboard-panel-link{display:block;color:inherit;text-decoration:none}
.dashboard-inline-value{font-size:2rem;line-height:1}

/* Dashboard 1.3.5: kompakte Widget-Steuerung */
.dashboard-widget-tools{position:absolute;z-index:8;right:9px;top:9px;display:flex;gap:5px;opacity:0;transition:opacity .16s ease}.dashboard-widget:hover .dashboard-widget-tools,.dashboard-widget:focus-within .dashboard-widget-tools,.dashboard-home.is-editing .dashboard-widget-tools{opacity:1}.dashboard-widget-tools button{border:0;background:rgba(20,28,38,.86);color:#e7eef6;border-radius:7px;min-width:29px;height:28px;padding:0 7px;cursor:pointer;font-size:15px;line-height:1}.dashboard-widget-tools button:hover{background:#0f65ad}.dashboard-widget-tools .dashboard-drag-handle{display:none;position:static}.dashboard-home.is-editing .dashboard-widget-tools .dashboard-drag-handle{display:inline-flex;align-items:center;justify-content:center}.dashboard-widget.is-collapsed .dashboard-widget-content{display:none}.dashboard-widget.is-collapsed{min-height:50px;border:1px solid #334155;border-radius:13px;background:var(--surface,#1e293b);box-shadow:var(--shadow);overflow:hidden}.dashboard-widget.is-collapsed.is-card-widget{background:linear-gradient(160deg,#1e293b,#192438)}.dashboard-widget.is-collapsed.is-panel-widget{background:var(--surface,#1e293b)}.dashboard-widget.is-collapsed.needs-attention-widget{border-color:rgba(245,158,11,.5);box-shadow:inset 4px 0 0 rgba(245,158,11,.72),var(--shadow)}.dashboard-widget.is-collapsed:before{content:attr(data-widget-title);display:block;padding:14px 98px 13px 16px;font-weight:800;color:var(--text,#e5edf7)}.dashboard-widget.is-collapsed .dashboard-widget-tools{opacity:1}.dashboard-widget.is-fullscreen{position:fixed!important;inset:18px!important;z-index:1200!important;grid-column:auto!important;background:var(--bg,#f5f7fa);border-radius:14px;padding:42px 14px 14px;overflow:auto;box-shadow:0 22px 70px rgba(0,0,0,.35)}body.dashboard-widget-fullscreen{overflow:hidden}.dashboard-widget.is-fullscreen .dashboard-widget-tools{opacity:1;top:8px;right:10px}.dashboard-widget.is-loading .dashboard-widget-content{opacity:.55;pointer-events:none}.dashboard-widget.is-loading:after{content:'';position:absolute;z-index:9;left:50%;top:50%;width:24px;height:24px;margin:-12px;border:3px solid rgba(30,91,150,.22);border-top-color:#1e5b96;border-radius:50%;animation:dashboardSpin .75s linear infinite}@keyframes dashboardSpin{to{transform:rotate(360deg)}}.dashboard-refresh-button.is-loading{pointer-events:none;opacity:.7}@media(max-width:720px){.dashboard-widget-tools{opacity:1}.dashboard-widget.is-fullscreen{inset:6px!important}}


/* Version 1.3.7: kompakte Symbolaktionen im Dashboard */
.dashboard-symbol-toolbar{display:flex;align-items:center;gap:6px;flex:0 0 auto}.dashboard-symbol-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid #475569;border-radius:9px;background:#172033;color:#e5edf7;text-decoration:none;font-size:18px;line-height:1;cursor:pointer;box-shadow:none}.dashboard-symbol-button:hover,.dashboard-symbol-button:focus-visible{background:#263449;border-color:#60a5fa;color:#fff;outline:none}.dashboard-symbol-button.is-loading{pointer-events:none;opacity:.65}.dashboard-quick-menu{position:relative}.dashboard-quick-menu-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:190px;padding:7px;border:1px solid #334155;border-radius:11px;background:#172033;box-shadow:0 16px 40px rgba(0,0,0,.35)}.dashboard-quick-menu-popover[hidden]{display:none}.dashboard-quick-menu-popover a{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:8px 9px;border-radius:8px;color:#e5edf7;text-decoration:none;font-size:13px}.dashboard-quick-menu-popover a:hover{background:#263449}.dashboard-quick-menu-popover a>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:#243349;color:#93c5fd;font-weight:800}.dashboard-icon-actions{display:flex;flex-wrap:wrap;gap:8px}.dashboard-icon-actions a{display:inline-grid;place-items:center;gap:3px;min-width:58px;padding:8px 7px;border:1px solid #334155;border-radius:10px;background:#172033;color:#e5edf7;text-decoration:none}.dashboard-icon-actions a:hover{background:#263449;border-color:#60a5fa}.dashboard-icon-actions a>span{font-size:18px;line-height:1;color:#93c5fd}.dashboard-icon-actions small{font-size:10px;color:#b8c4d3}.dashboard-home.is-editing #dashboardEditToggle{background:#0f65ad;border-color:#60a5fa}.dashboard-welcome .dashboard-primary-action{display:none}@media(max-width:700px){.dashboard-welcome{gap:12px}.dashboard-symbol-toolbar{align-self:flex-end}.dashboard-symbol-button{width:32px;height:32px}.dashboard-quick-menu-popover{right:0}}

/* Version 1.3.8: professioneller Dashboard-Editor */
.dashboard-config-pro{overflow:hidden}.dashboard-config-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.dashboard-widget-search{flex:1;max-width:420px;margin:0}.dashboard-widget-search input{margin:0}.dashboard-config-count{color:var(--muted,#94a3b8);font-size:.84rem;white-space:nowrap}.dashboard-widget-groups{display:grid;gap:18px}.dashboard-widget-group{border-top:1px solid var(--border,#334155);padding-top:14px}.dashboard-widget-group:first-child{border-top:0;padding-top:0}.dashboard-widget-group h3{margin:0 0 9px;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#94a3b8)}.dashboard-config-pro .dashboard-widget-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-config-pro .dashboard-picker-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:11px 12px;border:1px solid var(--border,#334155);border-radius:11px;background:rgba(148,163,184,.035)}.dashboard-picker-main{display:flex;align-items:flex-start;gap:10px;min-width:0}.dashboard-picker-icon,.dashboard-title-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;border-radius:7px;background:rgba(96,165,250,.12);color:#93c5fd;font-size:13px;font-weight:900;line-height:1}.dashboard-picker-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.dashboard-picker-copy strong{font-size:.9rem}.dashboard-picker-copy small{color:var(--muted,#94a3b8);font-size:.76rem;line-height:1.35}.dashboard-picker-copy .dashboard-new-badge{align-self:flex-start;font-style:normal;margin-top:3px}.dashboard-picker-controls{display:flex;align-items:center;gap:9px;flex:0 0 auto}.dashboard-picker-controls select{width:112px;margin:0;padding:.48rem .55rem;font-size:.8rem}.dashboard-switch{position:relative;display:inline-flex;width:38px;height:22px}.dashboard-switch input{position:absolute;opacity:0;pointer-events:none}.dashboard-switch>span[aria-hidden]{position:absolute;inset:0;border-radius:999px;background:#475569;transition:.18s;cursor:pointer}.dashboard-switch>span[aria-hidden]:before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3);transition:.18s}.dashboard-switch input:checked+span[aria-hidden]{background:#0f65ad}.dashboard-switch input:checked+span[aria-hidden]:before{transform:translateX(16px)}.dashboard-switch input:focus-visible+span[aria-hidden]{outline:2px solid #60a5fa;outline-offset:2px}.dashboard-title-icon{margin-right:7px;vertical-align:-4px}.dashboard-kpi>span{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.dashboard-value-badge{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:rgba(96,165,250,.14);color:#bfdbfe;font-size:.7rem;font-weight:800}.dashboard-kpi.needs-attention .dashboard-value-badge{background:rgba(245,158,11,.18);color:#fcd34d}.dashboard-widget.is-collapsed:before{content:attr(data-widget-icon) '  ' attr(data-widget-title)}
@media(max-width:900px){.dashboard-config-pro .dashboard-widget-picker{grid-template-columns:1fr}}@media(max-width:620px){.dashboard-config-toolbar{align-items:stretch;flex-direction:column}.dashboard-widget-search{max-width:none}.dashboard-config-pro .dashboard-picker-row{align-items:flex-start;flex-direction:column}.dashboard-picker-controls{width:100%;justify-content:space-between}.dashboard-picker-controls select{flex:1}}

/* Zeiterfassung 1.4.0 */
.time-status-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.time-status-tabs a{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .8rem;border:1px solid var(--border);border-radius:.65rem;text-decoration:none;color:inherit;background:var(--surface-2)}.time-status-tabs a.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.time-status-tabs a span{min-width:1.5rem;padding:.05rem .35rem;border-radius:999px;text-align:center;background:rgba(255,255,255,.08);font-size:.8rem}.inline-approval{min-width:220px;margin-top:.55rem}.inline-approval textarea{min-height:58px;margin-bottom:.45rem}.actions.compact{gap:.35rem;flex-wrap:wrap}.badge.status-approved{border-color:#2e9b61}.badge.status-rejected{border-color:#b94b55}.badge.status-pending{border-color:#c9982d}.badge.status-open{border-color:#5086c7}

/* Persönliches Cockpit 1.6.2 */
.dashboard-cockpit-header{align-items:stretch}
.dashboard-cockpit-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.dashboard-cockpit-datetime{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:5px 0 4px}
.dashboard-cockpit-datetime strong{font-size:clamp(22px,2.4vw,31px);line-height:1.15;color:#fff;text-transform:capitalize}
.dashboard-cockpit-datetime time{font-size:clamp(18px,2vw,25px);font-weight:750;color:#dbeafe;font-variant-numeric:tabular-nums}
.dashboard-cockpit-datetime>span{color:#6f89aa;font-weight:800}
.dashboard-cockpit-side{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.dashboard-weather{display:grid;grid-template-columns:auto minmax(150px,1fr) auto;align-items:center;gap:10px;min-width:330px;padding:10px 11px;border:1px solid #3c5069;border-radius:12px;background:rgba(15,31,51,.72);color:#fff}
.dashboard-weather-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#263b55;font-size:23px}
.dashboard-weather-copy{display:grid;gap:1px;min-width:0}
.dashboard-weather-copy strong{color:#fff;font-size:16px}
.dashboard-weather-copy span{overflow:hidden;color:#c9d8e9;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-weather-copy small{color:#8299b5;font-size:9px}
.dashboard-weather-button{width:auto;margin:0;padding:7px 9px;border:1px solid #537196;border-radius:8px;background:#233a56;color:#fff;font-size:11px;box-shadow:none}
.dashboard-weather-button:hover{background:#315070}.dashboard-weather-button:disabled{cursor:wait;opacity:.65}
.dashboard-weather[data-state="ready"]{border-color:#326c54}.dashboard-weather[data-state="error"]{border-color:#8c4b52}
@media(max-width:950px){.dashboard-cockpit-side{width:100%;justify-content:space-between}.dashboard-weather{flex:1;min-width:280px}}
@media(max-width:700px){.dashboard-cockpit-datetime{gap:6px}.dashboard-cockpit-datetime>span{display:none}.dashboard-cockpit-datetime time{width:100%}.dashboard-cockpit-side{align-items:stretch}.dashboard-weather{min-width:0;width:100%;grid-template-columns:auto minmax(0,1fr) auto}.dashboard-symbol-toolbar{margin-left:auto}}

/* CodenameMatrix 1.6.3 – profilbasierter Wetterstandort */
.weather-profile-settings{margin-top:1.25rem}
.weather-profile-settings .check{display:flex;align-items:flex-start;gap:.55rem;margin:.65rem 0}
.weather-profile-settings .check small{display:block;margin-left:.35rem;color:var(--muted,#667085)}
.weather-profile-settings .form-hint{margin-top:0;color:var(--muted,#667085)}
#customWeatherFields{transition:opacity .2s ease}
#customWeatherFields.is-disabled{opacity:.48}
.dashboard-weather[data-state="loading"]{opacity:.72}
.dashboard-weather[data-state="error"] .dashboard-weather-icon{filter:grayscale(1)}

/* ==========================================================================\n   CodenameMatrix UI 2.0 · Phase 1\n   Ruhiges, luftiges SaaS-Grundlayout nach modernen Workforce-Planning-Prinzipien\n   ========================================================================== */
:root{
  --cm-bg:#f5f7fa;
  --cm-surface:#ffffff;
  --cm-surface-soft:#f8fafc;
  --cm-text:#1f2937;
  --cm-muted:#6b7280;
  --cm-border:#e5e9ef;
  --cm-primary:#2563eb;
  --cm-primary-hover:#1d4ed8;
  --cm-primary-soft:#eff6ff;
  --cm-radius-sm:10px;
  --cm-radius:14px;
  --cm-radius-lg:18px;
  --cm-shadow:0 1px 2px rgba(15,23,42,.03),0 10px 28px rgba(15,23,42,.05);
  --cm-sidebar-width:280px;
  --cm-topbar-height:76px;
  --blue:var(--cm-primary);
  --blue-dark:var(--cm-primary-hover);
  --blue-soft:var(--cm-primary-soft);
  --border:var(--cm-border);
  --muted:var(--cm-muted);
  --shadow:var(--cm-shadow);
  --control-height:48px;
  --control-radius:10px;
}

html{background:var(--cm-bg)}
body{background:var(--cm-bg);color:var(--cm-text);font-size:15px}
.app-shell{
  grid-template-columns:var(--cm-sidebar-width) minmax(0,1fr);
  grid-template-rows:var(--cm-topbar-height) minmax(calc(100vh - 122px),auto) 46px;
}
.sidebar{
  width:var(--cm-sidebar-width);
  background:var(--cm-surface);
  border-right:1px solid var(--cm-border);
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}
.sidebar-brand{
  height:var(--cm-topbar-height);
  padding:0 24px;
  gap:12px;
  border-bottom:1px solid #edf0f4;
}
.brand-mark{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-size:14px;
  letter-spacing:.02em;
  box-shadow:0 8px 18px rgba(37,99,235,.18);
}
.brand-text{font-size:14px;font-weight:750;line-height:1.25;letter-spacing:-.01em}
.sidebar-nav{padding:22px 14px 28px}
.nav-section-label{
  margin:20px 12px 8px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
  color:#94a3b8;
  text-transform:uppercase;
}
.nav-section-label:first-child{margin-top:2px}
.sidebar-link{
  min-height:46px;
  margin:3px 0;
  padding:0 13px;
  gap:12px;
  border-radius:11px;
  color:#526071;
  font-size:14px;
  font-weight:600;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.sidebar-link:hover{background:#f4f7fb;color:#1f2937;transform:translateX(1px)}
.sidebar-link.active{
  background:var(--cm-primary-soft);
  color:var(--cm-primary);
  box-shadow:inset 3px 0 0 var(--cm-primary);
}
.nav-icon{width:20px;height:20px;opacity:.84}
.sidebar-link.active .nav-icon{opacity:1}

.app-topbar{
  left:var(--cm-sidebar-width);
  height:var(--cm-topbar-height);
  padding:0 36px;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--cm-border);
  backdrop-filter:saturate(150%) blur(14px);
}
.topbar-global-search{
  width:min(440px,45vw);
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--cm-border);
  border-radius:12px;
  background:#f8fafc;
  box-shadow:none;
}
.topbar-global-search:focus-within{background:#fff;border-color:#a8c3f7;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
.topbar-global-search input{font-size:14px}
.topbar-global-search kbd{border:0;background:#e9eef5;color:#64748b;border-radius:6px;padding:2px 7px}
.topbar-user{gap:11px;padding:6px 8px 6px 6px;border-radius:12px}
.topbar-user:hover{background:#f6f8fb}
.topbar-user strong{font-size:14px}
.topbar-user span{font-size:12px;color:var(--cm-muted)}
.topbar-avatar{width:38px;height:38px}

.app-main{
  grid-column:2;
  padding:38px clamp(28px,4vw,64px) 56px;
  width:100%;
  max-width:1680px;
  margin:0 auto;
}
.page-heading{margin:0 0 30px;min-height:auto}
.page-heading h1{
  margin:0;
  font-size:clamp(27px,2vw,34px);
  line-height:1.2;
  letter-spacing:-.035em;
  font-weight:750;
  color:#172033;
}
.page-heading h1:after{
  content:"";
  display:block;
  width:36px;
  height:3px;
  margin-top:12px;
  border-radius:99px;
  background:var(--cm-primary);
  opacity:.85;
}

.panel,.card,.widget,.content-card{
  background:var(--cm-surface);
  border:1px solid var(--cm-border);
  border-radius:var(--cm-radius-lg);
  box-shadow:var(--cm-shadow);
  padding:26px 28px;
}
.panel+.panel,.card+.card{margin-top:24px}
.panel>h2,.card>h2{font-size:21px;letter-spacing:-.02em;margin-bottom:20px}
.panel>h3,.card>h3{font-size:17px;letter-spacing:-.015em;margin-bottom:16px}

.toolbar{
  gap:14px;
  padding:0 0 20px;
  margin-bottom:4px;
}
.actions{gap:10px}
.btn,button{
  min-height:42px;
  padding:10px 16px;
  border-radius:10px;
  font-weight:650;
  box-shadow:none;
}
.btn:not(.secondary):not(.danger):not(.warning),button:not(.secondary):not(.danger):not(.warning){background:var(--cm-primary);border-color:var(--cm-primary)}
.btn:not(.secondary):not(.danger):not(.warning):hover,button:not(.secondary):not(.danger):not(.warning):hover{background:var(--cm-primary-hover);border-color:var(--cm-primary-hover)}
.btn.secondary,button.secondary{background:#fff;color:#475569;border-color:#d8dee7}
.btn.secondary:hover,button.secondary:hover{background:#f8fafc;border-color:#c5ceda}

.form-grid{gap:22px 24px}
.form-grid.three{gap:22px}
label{font-size:13px;font-weight:700;color:#435064;margin-bottom:8px}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{
  min-height:48px;
  padding:11px 13px;
  border:1px solid #d7dee8;
  border-radius:10px;
  background:#fff;
  color:#1f2937;
  font-size:14px;
}
textarea{min-height:128px;padding-top:13px}
input::placeholder,textarea::placeholder{color:#9aa5b3}
fieldset{border:1px solid var(--cm-border);border-radius:14px;padding:22px 24px;margin:26px 0}
legend{padding:0 9px;font-weight:750;color:#334155}

.table-wrap{
  border:1px solid var(--cm-border);
  border-radius:14px;
  background:#fff;
  overflow:auto;
  box-shadow:0 1px 2px rgba(15,23,42,.02);
}
table{border-collapse:separate;border-spacing:0}
th{
  height:50px;
  padding:13px 17px;
  background:#f8fafc;
  color:#64748b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-bottom:1px solid var(--cm-border);
}
td{
  min-height:62px;
  padding:16px 17px;
  border-bottom:1px solid #edf0f4;
  vertical-align:middle;
  color:#334155;
}
tbody tr:last-child td{border-bottom:0}
tbody tr{transition:background .14s ease}
tbody tr:hover{background:#fafcff}
.badge,.status-badge,.pill{border-radius:999px;padding:5px 10px;font-size:12px;font-weight:750}

.flash{border-radius:12px;padding:14px 16px;margin:0 0 22px;border-width:1px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.app-footer{grid-column:2;padding:0 clamp(28px,4vw,64px);color:#94a3b8;background:transparent;border:0}

/* Aufklappbare Bereiche wirken wie ruhige Sektionen statt technische Boxen. */
.assignment-dropdown,.panel-section,details{
  border:1px solid var(--cm-border);
  border-radius:14px;
  background:#fff;
}
.assignment-dropdown summary,.panel-section>summary,details>summary{
  min-height:54px;
  padding:14px 18px;
  font-weight:700;
  color:#334155;
}
.details-body{padding:22px 20px;border-top:1px solid #edf0f4}

@media(max-width:1100px){
  :root{--cm-sidebar-width:250px}
  .app-topbar{padding:0 24px}
  .app-main{padding:32px 28px 48px}
}
@media(max-width:900px){
  .app-shell{display:block}
  .sidebar{width:280px;transform:translateX(-102%);box-shadow:20px 0 40px rgba(15,23,42,.14);transition:transform .2s ease}
  body.sidebar-open .sidebar{transform:translateX(0)}
  .app-topbar{left:0;padding:0 18px;height:68px}
  .app-main{padding:28px 20px 44px;max-width:none}
  .app-footer{padding:0 20px}
  .topbar-global-search{width:min(420px,55vw)}
}
@media(max-width:700px){
  .app-main{padding:24px 16px 38px}
  .page-heading{margin-bottom:24px}
  .page-heading h1{font-size:26px}
  .panel,.card,.widget,.content-card{padding:20px;border-radius:15px}
  .topbar-global-search{display:none}
  .app-topbar{gap:12px}
  .form-grid{gap:18px}
  th,td{padding-left:14px;padding-right:14px}
}

/* ===== SOURCE: ui2.css ===== */
/* CodenameMatrix UI 2.0 · Phase 2
   Ruhige, großzügige Arbeitsoberfläche mit Staffomatic-inspirierten UX-Prinzipien. */
:root{
  --ui-bg:#f5f7fa;
  --ui-surface:#ffffff;
  --ui-surface-soft:#f8fafc;
  --ui-text:#172033;
  --ui-muted:#6b778c;
  --ui-line:#e6eaf0;
  --ui-primary:#1769e0;
  --ui-primary-hover:#0e59c6;
  --ui-primary-soft:#edf4ff;
  --ui-success:#16835b;
  --ui-danger:#c43d3d;
  --ui-radius:14px;
  --ui-radius-sm:10px;
  --ui-shadow:0 7px 24px rgba(30,45,70,.055);
  --ui-content:1480px;
}
html{background:var(--ui-bg)}
body{background:var(--ui-bg);color:var(--ui-text)}
.app-shell{grid-template-columns:272px minmax(0,1fr);grid-template-rows:76px minmax(calc(100vh - 120px),auto) 44px}
.sidebar{width:272px;border-right:1px solid var(--ui-line);box-shadow:4px 0 20px rgba(31,45,61,.025)}
.sidebar-brand{height:76px;padding:0 24px;border-bottom:1px solid var(--ui-line);font-size:16px;letter-spacing:-.01em}
.brand-mark{width:36px;height:36px;border-radius:11px;background:#172b4d;box-shadow:none}
.sidebar-nav{padding:24px 14px 34px;gap:5px}
.nav-section-label{padding:18px 12px 7px;color:#8a94a6;font-size:10px;letter-spacing:.105em}
.sidebar-link{min-height:48px;padding:11px 12px;border-radius:10px;color:#344054;font-weight:600;transition:background .16s,color .16s,transform .16s}
.sidebar-link:hover{background:#f4f6f9;color:#172033;transform:translateX(1px)}
.sidebar-link.active{background:var(--ui-primary-soft);color:var(--ui-primary);box-shadow:inset 3px 0 0 var(--ui-primary)}
.nav-icon{width:23px;height:23px;flex-basis:23px;opacity:.9}
.app-topbar{height:76px;padding:0 38px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--ui-line);box-shadow:none;backdrop-filter:blur(10px)}
.topbar-global-search{max-width:460px;min-width:290px;height:42px;background:#f5f7fa;border:1px solid transparent;border-radius:11px;transition:border-color .15s,background .15s,box-shadow .15s}
.topbar-global-search:focus-within{background:#fff;border-color:#b9d1f6;box-shadow:0 0 0 4px rgba(23,105,224,.08)}
.topbar-global-search input{font-size:14px}
.topbar-user{gap:12px;padding:6px 8px 6px 6px;border-radius:12px}
.topbar-user:hover{background:#f6f8fb}
.topbar-avatar{width:40px;height:40px}
.app-main{padding:38px 42px 56px;min-width:0}
.app-main>*{max-width:var(--ui-content);margin-left:auto;margin-right:auto}
.app-main>.flash{margin-bottom:18px}
.page-heading{align-items:flex-start;margin-bottom:28px;padding-bottom:0}
.page-heading h1{font-size:30px;line-height:1.18;letter-spacing:-.035em;color:#172033}
.page-heading .page-eyebrow{margin:0 0 7px;color:var(--ui-primary);font-size:11px;font-weight:800;letter-spacing:.095em;text-transform:uppercase}
.page-heading .page-description{max-width:760px;margin:8px 0 0;color:var(--ui-muted);font-size:15px;line-height:1.55}
.app-footer{padding:0 42px;border-color:var(--ui-line);color:#8a94a6;background:#fff;font-size:12px}
.card,.panel{border:1px solid var(--ui-line);border-radius:var(--ui-radius);padding:25px 27px;box-shadow:var(--ui-shadow)}
.panel+.panel{margin-top:22px}
.card h2,.panel h2{letter-spacing:-.018em}
.grid{gap:20px}.two-column{gap:22px;margin-top:22px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 20px;padding:16px 18px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-radius);box-shadow:0 3px 14px rgba(30,45,70,.035)}
.toolbar .actions{margin:0}.toolbar form{margin:0}.toolbar .search-form{display:flex;gap:9px;align-items:center;flex:1;justify-content:flex-end}.toolbar .search-form input{max-width:340px}
.actions{gap:10px;margin:20px 0}
.btn,button{min-height:42px;border-radius:10px;padding:10px 16px;background:var(--ui-primary);font-weight:700;box-shadow:none;transition:background .15s,border-color .15s,transform .08s,box-shadow .15s}
.btn:hover,button:hover{background:var(--ui-primary-hover);box-shadow:0 5px 14px rgba(23,105,224,.16)}
.btn:active,button:active{transform:translateY(1px)}
.btn.secondary{background:#fff;color:#344054;border:1px solid #d7dde5}
.btn.secondary:hover{background:#f8fafc;border-color:#bcc5d1;box-shadow:none}
.btn.small,.small{min-height:35px;padding:7px 11px;border-radius:8px;font-size:12px}
.table-wrap{border:1px solid var(--ui-line);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow);background:#fff}
table{background:#fff}
th,td{padding:17px 19px;border-bottom:1px solid #edf0f4}
th{position:sticky;top:0;z-index:2;background:#f9fafc;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.055em;font-weight:800}
tbody tr{transition:background .14s}
tbody tr:hover{background:#f8fbff}
td{color:#344054;font-size:14px;line-height:1.45}
td strong{color:#172033}
td:last-child{text-align:right;white-space:nowrap}
.badge{padding:5px 9px;border-radius:999px;background:#eef2f6;color:#526174;font-size:11px;font-weight:750;letter-spacing:.01em}
.badge.ok{background:#e8f7f0;color:#137051}.badge.off{background:#f0f2f5;color:#697386}
fieldset{border:1px solid var(--ui-line);border-radius:var(--ui-radius);padding:23px 24px 25px;margin:24px 0;background:#fff}
legend{padding:0 9px;font-size:16px;color:#25324a;letter-spacing:-.01em}
label{margin:17px 0 7px;color:#344054;font-size:13px;font-weight:700}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{min-height:47px;padding:11px 13px;border:1px solid #d5dbe4;border-radius:10px;background:#fff;color:#172033;transition:border-color .15s,box-shadow .15s,background .15s}
textarea{padding-top:13px}
input:hover,select:hover,textarea:hover{border-color:#b9c3d0}
input:focus,select:focus,textarea:focus{outline:none;border-color:#73a5ed;box-shadow:0 0 0 4px rgba(23,105,224,.09)}
.form-grid{gap:18px 20px}.form-grid.three{gap:18px 20px}
.form-card,form.panel{max-width:960px}
.wide-form{max-width:none!important}
.details-body{padding-top:12px}
details.panel-section{border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:#fff;overflow:hidden;margin:24px 0}
details.panel-section>summary{padding:18px 22px;cursor:pointer;list-style:none;background:#fbfcfd}
details.panel-section>summary::-webkit-details-marker{display:none}
details.panel-section[open]>summary{border-bottom:1px solid var(--ui-line)}
.flash{border-radius:11px;padding:14px 17px;border:1px solid transparent}
.flash.success{background:#edf9f3;border-color:#caeadb;color:#176b4e}.flash.error{background:#fff1f1;border-color:#f0cece;color:#9f2f2f}
.list-item{padding:16px 0;border-color:#edf0f4}
.metrics .card strong{font-size:36px;letter-spacing:-.04em}
.empty{padding:24px;color:var(--ui-muted);text-align:center}
.confirm-dialog{border:0;border-radius:18px;padding:28px;box-shadow:0 24px 70px rgba(15,23,42,.25)}
@media(max-width:1100px){.app-main{padding:32px 28px 48px}.app-topbar{padding:0 28px}}
@media(max-width:900px){.app-shell{display:block}.sidebar{width:286px}.app-topbar{height:66px;padding:0 18px}.app-main{padding:26px 18px 42px}.app-footer{padding:0 18px}.topbar-global-search{min-width:0;max-width:none;flex:1}.page-heading h1{font-size:27px}.toolbar{align-items:stretch}.toolbar .search-form{justify-content:stretch}.toolbar .search-form input{max-width:none}.form-grid,.form-grid.three{grid-template-columns:1fr}}
@media(max-width:600px){.app-main{padding:22px 14px 36px}.card,.panel{padding:20px 18px;border-radius:12px}.toolbar{padding:13px;display:grid}.toolbar .actions,.toolbar .search-form{width:100%}.toolbar .actions>*{flex:1}.toolbar .search-form{display:grid;grid-template-columns:1fr auto}.page-heading{margin-bottom:22px}.page-heading h1{font-size:25px}th,td{padding:14px 15px}.topbar-global-search kbd{display:none}.topbar-user div{display:none}}

/* ===== SOURCE: ui3.css ===== */
/* CodenameMatrix UI 2.0 · v1.7.2 */
:root{--ui-page-gap:32px;--ui-section-gap:26px;--ui-control:46px;--ui-sidebar-compact:86px;--ui-focus:0 0 0 4px rgba(23,105,224,.10)}
.sidebar-density-toggle{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:#526174;box-shadow:none}
.sidebar-density-toggle:hover{background:#f4f6f9;color:#172033;box-shadow:none}.sidebar-density-toggle .nav-icon{width:20px;height:20px;flex-basis:20px}.sidebar-density-toggle svg{width:20px;height:20px}
@media(min-width:901px){body.sidebar-compact .app-shell{grid-template-columns:var(--ui-sidebar-compact) minmax(0,1fr)}body.sidebar-compact .sidebar{width:var(--ui-sidebar-compact);overflow-x:hidden}body.sidebar-compact .sidebar-brand{justify-content:center;padding-inline:12px}body.sidebar-compact .brand-text,body.sidebar-compact .nav-section-label,body.sidebar-compact .sidebar-link>span:not(.nav-icon){display:none}body.sidebar-compact .sidebar-nav{padding-inline:12px}body.sidebar-compact .sidebar-link{justify-content:center;padding-inline:10px;position:relative}body.sidebar-compact .sidebar-link.active{box-shadow:none}body.sidebar-compact .sidebar-link.active:before{content:"";position:absolute;left:5px;width:3px;height:24px;border-radius:99px;background:var(--ui-primary)}}
.app-main{display:block}.page-heading{position:relative;min-height:96px;margin-bottom:var(--ui-page-gap);padding:4px 0 27px;border-bottom:1px solid var(--ui-line)}.page-heading h1{font-size:32px;max-width:900px}.page-heading .page-description{font-size:15px;max-width:820px}.page-heading:after{content:"";position:absolute;left:0;bottom:-1px;width:52px;height:2px;border-radius:99px;background:var(--ui-primary)}.panel,.card,.table-wrap,.toolbar,fieldset,details.panel-section{scroll-margin-top:100px}.panel>h2:first-child,.card>h2:first-child{margin-top:0}.panel>p:last-child,.card>p:last-child{margin-bottom:0}
.toolbar{min-height:72px;padding:14px 16px;margin-bottom:22px}.toolbar:before{content:"";width:4px;height:28px;border-radius:99px;background:#d9e6f8;flex:0 0 auto}.toolbar>.actions{margin-right:auto}.toolbar .search-form{max-width:520px}.toolbar .search-form input{min-width:240px;background:#f8fafc}.toolbar .search-form input:focus{background:#fff}.toolbar .search-form button{min-width:92px}.actions{align-items:center}
form.panel{padding:0;background:transparent;border:0;box-shadow:none}form.panel>fieldset,form.panel>details.panel-section{box-shadow:var(--ui-shadow)}fieldset{position:relative;padding:30px 28px 29px;margin:0 0 var(--ui-section-gap)}legend{font-size:17px;font-weight:800;background:#fff;border-radius:8px;padding:0 10px;margin-left:-10px}fieldset>.form-grid:first-of-type{margin-top:4px}.form-grid{row-gap:22px;column-gap:24px}label{margin-top:5px;margin-bottom:8px}.form-grid>div>label:first-child{margin-top:0}input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{min-height:var(--ui-control)}.check,.form-check{min-height:36px;padding:7px 9px;border-radius:9px;font-weight:600}.check:hover,.form-check:hover{background:#f7f9fc}.check input,.form-check input{accent-color:var(--ui-primary)}.checkbox-grid{gap:8px 12px}form.panel>.actions:last-child{position:sticky;bottom:14px;z-index:10;margin:8px 0 0;padding:14px 16px;background:rgba(255,255,255,.94);border:1px solid var(--ui-line);border-radius:14px;box-shadow:0 12px 34px rgba(30,45,70,.13);backdrop-filter:blur(12px)}
.table-wrap{overflow:auto}.table-wrap table{min-width:760px}.table-wrap thead th,.table-wrap table>tbody:first-child>tr:first-child>th{top:0}th{height:48px;padding-block:14px}td{height:66px;padding-block:16px}td:first-child,th:first-child{padding-left:22px}td:last-child,th:last-child{padding-right:22px}td:last-child .btn,td:last-child button{margin:2px}td:last-child .btn.secondary{background:#fff}tbody tr:last-child td{border-bottom:0}tbody tr:focus-within{background:#f5f9ff}.table-wrap.is-empty{min-height:170px;display:grid;place-items:center}.table-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;color:var(--ui-muted);font-size:13px}.table-count{display:inline-flex;align-items:center;gap:7px}.table-count:before{content:"";width:7px;height:7px;border-radius:50%;background:#90a4bd}
.btn,.btn.secondary,button{white-space:nowrap}.btn:focus-visible,button:focus-visible,a:focus-visible{outline:none;box-shadow:var(--ui-focus)}.badge{line-height:1.3}.muted{line-height:1.55}.empty{padding:38px 24px}.details-body{padding:22px 24px 25px}details.panel-section>summary{min-height:58px;display:flex;align-items:center;gap:8px}
@media(max-width:900px){.sidebar-density-toggle{display:none}.page-heading{min-height:auto}.toolbar:before{display:none}}@media(max-width:700px){.page-heading{padding-bottom:22px;margin-bottom:24px}.page-heading h1{font-size:27px}.toolbar{display:grid;grid-template-columns:1fr;padding:14px}.toolbar>.actions,.toolbar .search-form{max-width:none;width:100%}.toolbar .search-form input{min-width:0}fieldset{padding:24px 18px}.form-grid{gap:18px}form.panel>.actions:last-child{bottom:8px}}

/* ===== SOURCE: ui4.css ===== */
/* CodenameMatrix v1.7.3 · UI Audit & Light-Theme-Konsolidierung */
:root{
  color-scheme:light;
  --bg:#f5f7fa;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --text:#1f2937;
  --text-soft:#526174;
  --muted:#6b7280;
  --border:#e5e9ef;
  --primary:#2563eb;
  --accent:#2563eb;
  --ui-bg:#f5f7fa;
  --ui-surface:#ffffff;
  --ui-surface-soft:#f8fafc;
  --ui-text:#1f2937;
  --ui-muted:#6b7280;
  --ui-line:#e5e9ef;
}
html,body,.app-body,.app-shell,.app-main{background:#f5f7fa;color:#1f2937}
.app-main{color:#1f2937}

/* Universelle Inhaltsflächen */
.card,.panel,.table-wrap,fieldset,details.panel-section,.assignment-dropdown,
.detail-grid>div,.incident-fields,.incident-summary>div,.incident-answers>div,
.watchbook-card,.watchbook-gallery a,.activity-item,.record-item,
.dashboard-widget>.card,.dashboard-widget>.panel,.dashboard-config-pro .dashboard-picker-row,
.install-card,.clock-metric,.clock-confirm{
  background:#fff!important;
  color:#1f2937!important;
  border-color:#e5e9ef!important;
}
.panel .card,.panel .panel,.card .card,.card .panel,
.panel-section .details-body,.assignment-dropdown .details-body{
  background:#fff!important;
  color:#1f2937!important;
  border-color:#e5e9ef!important;
}

/* Typografie: kein weißer Text auf hellen Flächen */
.card h1,.card h2,.card h3,.card h4,.card strong,
.panel h1,.panel h2,.panel h3,.panel h4,.panel strong,
.detail-grid strong,.dashboard-widget strong,.dashboard-config strong,
.activity-item strong,.record-item strong,.watchbook-card h3{
  color:#1f2937;
}
.card p,.panel p,.card span,.panel span,.card small,.panel small,
.activity-item small,.record-item small,.watchbook-card-body p,.watchbook-card-body small,
.dashboard-picker-copy small,.dashboard-config-count{
  color:#64748b;
}

/* Formulare und Browser-Nativelemente */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea,
.category-filter summary,.category-filter-box,.filter-check{
  color:#1f2937!important;
  background:#fff!important;
  border-color:#cfd8e3!important;
  color-scheme:light;
}
input::placeholder,textarea::placeholder{color:#94a3b8!important;opacity:1}
option,optgroup{background:#fff;color:#1f2937}
.category-filter-box{box-shadow:0 16px 38px rgba(15,23,42,.12)!important}
.category-filter-box label:hover{background:#f3f6fa!important}
.time-avatar{background:#eef2f7!important;border-color:#dce4ed!important}

/* Tabellen */
table,thead,tbody,tr,td{color:#1f2937}
table,tbody td{background:#fff}
th{background:#f8fafc!important;color:#475569!important;border-color:#e5e9ef!important}
td{border-color:#edf0f4!important}
tbody tr:hover td{background:#f8fbff!important}

/* Kalender, Einsätze und mobile Ansichten */
.calendar-day,.mobile-calendar-day,.week-day,.planning-card,.shift-card,.mobile-shift-card{
  background:#fff!important;color:#1f2937!important;border-color:#e5e9ef;
}
.mobile-calendar-day>header{background:#f8fafc!important;color:#1f2937!important}
.mobile-shift-card:active{background:#f1f5f9!important}
.mobile-shift-staff{background:#f1f5f9!important;color:#475569!important;border-color:#dbe3ec!important}
.assignment-summary{color:#2563eb!important}
.map-loading-note{background:#fffbeb!important;color:#92400e!important;border-color:#fde68a!important}

/* Dashboard und Cockpit: dunkle Alt-Komponenten in helle Karten überführen */
.dashboard-cockpit-datetime strong{color:#1f2937!important}
.dashboard-cockpit-datetime time{color:#2563eb!important}
.dashboard-cockpit-datetime>span{color:#94a3b8!important}
.dashboard-weather{
  background:linear-gradient(135deg,#eff6ff,#f8fbff)!important;
  color:#1f2937!important;border-color:#bfdbfe!important;
}
.dashboard-weather-icon{background:#dbeafe!important;color:#1d4ed8!important}
.dashboard-weather-copy strong{color:#1f2937!important}
.dashboard-weather-copy span{color:#475569!important}
.dashboard-weather-copy small{color:#64748b!important}
.dashboard-weather-button{background:#fff!important;color:#1d4ed8!important;border-color:#bfdbfe!important}
.dashboard-weather-button:hover{background:#eff6ff!important}
.dashboard-today-card span{color:#475569!important}
.dashboard-symbol-button,.dashboard-icon-actions a{
  background:#fff!important;color:#334155!important;border-color:#dce4ed!important;box-shadow:none!important;
}
.dashboard-symbol-button:hover,.dashboard-symbol-button:focus-visible,.dashboard-icon-actions a:hover{
  background:#eff6ff!important;color:#1d4ed8!important;border-color:#93c5fd!important;
}
.dashboard-icon-actions a>span{color:#2563eb!important}.dashboard-icon-actions small{color:#64748b!important}
.dashboard-quick-menu-popover{background:#fff!important;border-color:#dce4ed!important;box-shadow:0 18px 42px rgba(15,23,42,.16)!important}
.dashboard-quick-menu-popover a{color:#334155!important}.dashboard-quick-menu-popover a:hover{background:#f1f5f9!important}
.dashboard-quick-menu-popover a>span:first-child{background:#eff6ff!important;color:#2563eb!important}
.dashboard-widget-tools button,.dashboard-drag-handle{background:#eef2f7!important;color:#334155!important;border:1px solid #dce4ed!important}
.dashboard-widget-tools button:hover,.dashboard-drag-handle:hover{background:#dbeafe!important;color:#1d4ed8!important}
.dashboard-widget.is-collapsed,.dashboard-widget.is-collapsed.is-card-widget,.dashboard-widget.is-collapsed.is-panel-widget{
  background:#fff!important;border-color:#e5e9ef!important;
}
.dashboard-widget.is-collapsed:before{color:#1f2937!important}
.dashboard-widget.is-fullscreen{background:#f5f7fa!important}
.dashboard-value-badge{background:#eff6ff!important;color:#1d4ed8!important}
.dashboard-picker-icon,.dashboard-title-icon{background:#eff6ff!important;color:#2563eb!important}
.dashboard-switch>span[aria-hidden]{background:#cbd5e1!important}
.dashboard-switch input:checked+span[aria-hidden]{background:#2563eb!important}
.time-status-tabs a span{background:#eef2f7!important;color:#475569!important}

/* Erweiterungen */
.material-image,.watchbook-gallery img{background:#f1f5f9!important;border-color:#dce4ed!important}
.badge.neutral{background:#f1f5f9!important;color:#475569!important;border-color:#dce4ed!important}
.watchbook-timeline article{background:#f8fafc!important}
.notification-item.is-unread{background:#eff6ff!important}
code{background:#f1f5f9!important;color:#334155!important;border:1px solid #e2e8f0!important}
pre.diagnostic-log{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;color:#334155;border:1px solid #e2e8f0;padding:16px;border-radius:12px;max-height:420px;overflow:auto}

/* Semantische Meldungen und Status bleiben kontrastreich */
.flash.success,.success{background:#ecfdf3!important;color:#166534!important;border-color:#bbf7d0!important}
.flash.error,.error{background:#fff1f2!important;color:#9f1239!important;border-color:#fecdd3!important}
.badge.ok{background:#ecfdf3!important;color:#166534!important}
.badge.off{background:#f1f5f9!important;color:#475569!important}
.badge.danger{background:#fff1f2!important;color:#be123c!important;border-color:#fecdd3!important}

/* Fokus und Auswahl */
::selection{background:#bfdbfe;color:#172033}
:focus-visible{outline-color:#2563eb}

@media(max-width:700px){
  .dashboard-weather{min-width:0!important}
  .card,.panel{color:#1f2937!important}
}

/* ===== SOURCE: ui5.css ===== */
/* CodenameMatrix v1.8.0 — Calm SaaS UI */
:root{
  color-scheme:light;
  --cm-bg:#f8fafc;--cm-surface:#fff;--cm-soft:#f5f8fd;--cm-line:#e4eaf2;
  --cm-text:#17233a;--cm-text-2:#53627a;--cm-muted:#8190a7;--cm-blue:#1769ff;
  --cm-blue-2:#0d5be7;--cm-blue-soft:#edf4ff;--cm-green:#22b765;--cm-orange:#ff9800;
  --cm-purple:#8b5cf6;--cm-radius:14px;--cm-shadow:0 8px 28px rgba(22,42,76,.055);
  --cm-sidebar:340px;--cm-topbar:80px;
}
*{scrollbar-color:#cfd8e6 transparent}
html,body,.app-body,.app-shell,.app-main{background:var(--cm-bg)!important;color:var(--cm-text)!important}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}
a{text-underline-offset:3px}
.app-shell{grid-template-columns:var(--cm-sidebar) minmax(0,1fr)!important;grid-template-rows:var(--cm-topbar) minmax(calc(100vh - var(--cm-topbar)),auto)!important}
.sidebar{width:var(--cm-sidebar)!important;background:#fff!important;border-right:1px solid var(--cm-line)!important;box-shadow:none!important;display:flex;flex-direction:column;overflow:hidden!important}
.sidebar-brand{height:var(--cm-topbar)!important;padding:0 23px!important;border-bottom:1px solid var(--cm-line)!important;gap:13px!important;font-size:18px!important;color:var(--cm-text)!important}
.brand-mark{width:42px!important;height:42px!important;background:transparent!important;box-shadow:none!important;color:var(--cm-blue)!important;border-radius:0!important}
.brand-mark svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.brand-text{letter-spacing:.015em;font-weight:800!important}.brand-text span{color:var(--cm-blue)}
.sidebar-nav{padding:14px 14px 170px!important;display:block!important;overflow-y:auto;flex:1}
.nav-section-label{font-size:10px!important;letter-spacing:.09em!important;padding:16px 14px 7px!important;color:#9aa6b8!important}
.sidebar-link{min-height:44px!important;padding:10px 13px!important;margin:2px 0;border-radius:9px!important;color:#26344d!important;font-weight:520!important;gap:14px!important;transition:.16s ease}
.sidebar-link:hover{background:#f5f8fc!important;color:#143668!important;transform:none!important}
.sidebar-link.active{background:var(--cm-blue-soft)!important;color:var(--cm-blue)!important;font-weight:700!important;box-shadow:none!important}
.nav-icon{width:22px!important;height:22px!important}.nav-icon svg{width:19px!important;height:19px!important;stroke-width:1.8!important}
.sidebar-bottom{position:absolute;left:0;right:0;bottom:0;padding:10px 14px 14px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 16%);display:grid;gap:8px}
.sidebar-collapse-action{height:38px!important;background:transparent!important;color:#61718a!important;border:0!important;justify-content:flex-start!important;padding:0 15px!important;font-size:13px!important;font-weight:500!important}
.sidebar-collapse-action:hover{background:#f6f8fc!important;color:var(--cm-blue)!important}
.sidebar-profile-card{min-height:68px;border:1px solid var(--cm-line);border-radius:11px;background:#fff;text-decoration:none;padding:10px;display:flex;align-items:center;gap:11px;box-shadow:0 3px 12px rgba(30,52,82,.025)}
.sidebar-profile-card .avatar{width:40px;height:40px;flex:0 0 40px}.sidebar-profile-copy{display:grid;min-width:0;flex:1}.sidebar-profile-copy strong{color:var(--cm-text);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile-copy small{color:var(--cm-muted);font-size:12px}.sidebar-profile-chevron{color:#59708f}
.app-topbar{grid-column:2!important;height:var(--cm-topbar)!important;padding:0 36px!important;border-bottom:1px solid var(--cm-line)!important;background:rgba(255,255,255,.96)!important;box-shadow:none!important;backdrop-filter:blur(12px);gap:18px}
.topbar-global-search{width:min(540px,48vw)!important;max-width:none!important;min-height:46px!important;border:1px solid #dfe6ef!important;border-radius:9px!important;background:#fff!important;padding:0 11px!important;box-shadow:0 2px 8px rgba(30,52,82,.025)!important}
.topbar-global-search input{min-height:42px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0 8px!important;color:var(--cm-text)!important}
.topbar-global-search kbd{white-space:nowrap;background:#f7f9fc!important;color:#53627a!important;border:0!important;border-radius:6px!important;padding:5px 8px!important;font-size:12px!important;box-shadow:none!important}
.topbar-search-icon .nav-icon{color:#5c6e89}.topbar-actions{display:flex;align-items:center;gap:12px}.topbar-new-wrap{position:relative}.topbar-new-button{height:44px!important;border-radius:8px!important;padding:0 16px!important;background:linear-gradient(180deg,#2374ff,#0c60ef)!important;color:#fff!important;box-shadow:0 6px 15px rgba(23,105,255,.18)!important}.topbar-new-button:hover{background:var(--cm-blue-2)!important}.topbar-new-button .chevron{margin-left:5px}.topbar-new-menu{display:none;position:absolute;right:0;top:52px;width:190px;background:#fff;border:1px solid var(--cm-line);border-radius:10px;padding:7px;box-shadow:0 18px 44px rgba(25,48,83,.15);z-index:100}.topbar-new-wrap.open .topbar-new-menu{display:grid}.topbar-new-menu a{padding:10px 11px;border-radius:7px;text-decoration:none;color:var(--cm-text)}.topbar-new-menu a:hover{background:var(--cm-blue-soft);color:var(--cm-blue)}
.topbar-icon-button{width:40px;height:40px;display:grid;place-items:center;text-decoration:none;color:#42536f;font-size:19px;border-radius:9px}.topbar-icon-button:hover{background:#f4f7fb;color:var(--cm-blue)}
.topbar-user{padding-left:4px!important}.topbar-user div{display:none!important}.topbar-avatar{width:42px!important;height:42px!important;background:#f0f3f8!important;color:#26344d!important;border:0!important}
.app-main{grid-column:2!important;padding:26px 36px 60px!important;max-width:none!important}.app-footer{display:none!important}
.page-heading{align-items:flex-start!important;margin:0 auto 18px!important;max-width:1500px!important;padding-bottom:15px!important;border-bottom:0!important;position:relative}
.page-heading:after{content:"";position:absolute;left:0;bottom:0;width:39px;height:2px;border-radius:5px;background:var(--cm-blue)}
.page-eyebrow{display:none!important}.page-heading h1{font-size:30px!important;line-height:1.2!important;letter-spacing:-.03em!important;color:var(--cm-text)!important;font-weight:760!important}.page-description{font-size:14px!important;color:#65748c!important;margin-top:7px!important}
.app-main>*:not(.page-heading):not(.flash){max-width:1500px;margin-left:auto;margin-right:auto}
.card,.panel,.table-wrap,fieldset,details.panel-section,.assignment-dropdown,.calendar-day,.mobile-calendar-day,.week-day,.planning-card,.shift-card,.mobile-shift-card{background:#fff!important;color:var(--cm-text)!important;border:1px solid var(--cm-line)!important;border-radius:var(--cm-radius)!important;box-shadow:var(--cm-shadow)!important}
.card,.panel{padding:22px!important}.panel-heading{margin-bottom:18px!important}.panel-heading h2,.panel-heading h3,.card h2,.card h3{color:var(--cm-text)!important;letter-spacing:-.015em}.panel-heading p,.card p,.panel p{color:var(--cm-text-2)!important}
.toolbar{padding:14px 0!important;gap:12px!important}.btn,button{border-radius:8px!important;min-height:40px!important;font-size:13px!important;font-weight:650!important;box-shadow:none!important}.btn.secondary,button.secondary{background:#fff!important;color:#33445f!important;border:1px solid #dce4ee!important}.btn.secondary:hover,button.secondary:hover{background:#f7f9fc!important;color:var(--cm-blue)!important;border-color:#bfd0e8!important}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{min-height:46px!important;border-radius:8px!important;border:1px solid #d6deea!important;background:#fff!important;color:var(--cm-text)!important;padding:11px 13px!important;box-shadow:none!important}input:focus,select:focus,textarea:focus{border-color:#8bb5ff!important;box-shadow:0 0 0 3px rgba(23,105,255,.1)!important;outline:none!important}label{color:#33425c!important;font-size:13px!important;margin-bottom:7px!important}
.table-wrap{overflow:auto!important}table{min-width:720px!important;background:#fff!important}th{height:48px!important;padding:13px 16px!important;background:#fafbfd!important;color:#69778d!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.055em!important;border-bottom:1px solid var(--cm-line)!important}td{padding:16px!important;color:#26344d!important;border-bottom:1px solid #edf1f5!important}tbody tr:hover td{background:#f9fbfe!important}.badge{border-radius:999px!important;padding:5px 9px!important;font-weight:650!important}
/* Cockpit exactly follows the new light visual language */
.dashboard-home{gap:22px!important}.dashboard-welcome{background:#fff!important;color:var(--cm-text)!important;border:1px solid var(--cm-line)!important;border-radius:14px!important;box-shadow:var(--cm-shadow)!important;padding:27px 24px!important;min-height:244px!important}.dashboard-cockpit-header{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(430px,.92fr)!important;align-items:center!important}.dashboard-eyebrow{color:var(--cm-blue)!important;font-size:12px!important;letter-spacing:.075em!important}.dashboard-cockpit-datetime{margin-top:17px!important;display:grid!important;gap:12px!important}.dashboard-cockpit-datetime strong{font-size:27px!important;color:var(--cm-text)!important;line-height:1.2}.dashboard-cockpit-datetime>span{display:none!important}.dashboard-cockpit-datetime time{font-size:28px!important;color:var(--cm-blue)!important;font-weight:780!important}.dashboard-cockpit-copy p{font-size:14px!important;color:#34445f!important;margin:13px 0 7px!important}.dashboard-live-status{color:var(--cm-green)!important;font-size:12px!important}.dashboard-live-dot{background:var(--cm-green)!important;box-shadow:0 0 0 4px rgba(34,183,101,.1)!important}.dashboard-cockpit-side{display:grid!important;gap:17px!important}.dashboard-weather{min-height:116px!important;background:#fbfdff!important;border:1px solid #dfe7f1!important;border-radius:11px!important;padding:20px!important;box-shadow:none!important}.dashboard-weather-icon{width:55px!important;height:55px!important;border-radius:12px!important;background:#edf4ff!important;color:var(--cm-blue)!important}.dashboard-weather-copy strong{font-size:20px!important;color:var(--cm-text)!important}.dashboard-weather-copy span{font-size:13px!important;color:#35455f!important}.dashboard-weather-copy small{font-size:11px!important;color:#7c8ba2!important}.dashboard-weather-button{min-height:44px!important;background:#fff!important;border:1px solid #bcd1f3!important;color:var(--cm-blue)!important}.dashboard-symbol-toolbar{justify-content:flex-end!important}.dashboard-symbol-button{width:50px!important;height:50px!important;border-radius:10px!important;background:#fff!important;border:1px solid #dfe6ef!important;color:#33455f!important;font-size:21px!important}.dashboard-symbol-button:hover{background:var(--cm-blue-soft)!important;color:var(--cm-blue)!important;border-color:#bad0f4!important}
.personal-dashboard-grid{gap:18px!important}.dashboard-widget>.card,.dashboard-widget>.panel{height:100%;margin:0!important}.dashboard-widget-tools{opacity:0;transition:.15s}.dashboard-widget:hover .dashboard-widget-tools,.dashboard-edit-mode .dashboard-widget-tools{opacity:1}.dashboard-kpi{min-height:148px!important;padding:22px!important}.dashboard-kpi span{color:#3f4f68!important}.dashboard-kpi strong{font-size:26px!important;color:var(--cm-text)!important;margin:8px 0!important}.dashboard-kpi small{color:var(--cm-muted)!important}.metric-link{text-decoration:none!important}.metric-link:after{content:"Details anzeigen  →";display:block;margin-top:16px;padding-top:13px;border-top:1px solid #edf1f5;color:var(--cm-blue);font-size:12px;font-weight:650}
.dashboard-columns,.two-column{gap:18px!important}.activity-item,.list-item{padding:15px 0!important}.dashboard-today-card{border:0!important;border-bottom:1px solid #edf1f5!important;border-radius:0!important;padding:13px 2px!important;box-shadow:none!important}.dashboard-today-card:last-child{border-bottom:0!important}.dashboard-today-card:hover{background:#fbfdff!important}
/* Prevent legacy dark and low-contrast fragments across all modules */
[style*="background:#0"],[style*="background: #0"],[style*="background:black"],[style*="background: black"],[style*="background-color:#0"],[style*="background-color: #0"]{background:#fff!important;color:var(--cm-text)!important}
.card *,.panel *,.table-wrap *,.dashboard-widget *{text-shadow:none!important}.card :is(h1,h2,h3,h4,h5,h6,strong),.panel :is(h1,h2,h3,h4,h5,h6,strong){color:var(--cm-text)}.card :is(p,small,.muted),.panel :is(p,small,.muted){color:var(--cm-text-2)}
.empty{color:#8290a5!important}.flash{border-radius:10px!important;border:1px solid transparent!important}.flash.success{background:#ecfdf3!important;color:#166534!important;border-color:#bdeecf!important}.flash.error{background:#fff1f2!important;color:#9f1239!important;border-color:#fecdd3!important}
@media(max-width:1180px){:root{--cm-sidebar:280px}.dashboard-cockpit-header{grid-template-columns:1fr!important}.dashboard-cockpit-side{margin-top:8px}.topbar-global-search{width:min(460px,45vw)!important}}
@media(max-width:900px){.app-shell{display:block!important}.sidebar{transform:translateX(-100%);transition:.2s}.sidebar-open .sidebar{transform:translateX(0)}.app-topbar{margin-left:0!important;padding:0 16px!important}.app-main{padding:22px 16px 46px!important}.sidebar-mobile-toggle{display:inline-grid!important}.topbar-actions{display:none}.topbar-global-search{width:auto!important;flex:1}.dashboard-cockpit-header{padding:22px!important}.dashboard-weather{min-width:0!important}}
@media(max-width:620px){.brand-text{font-size:15px}.topbar-global-search kbd{display:none}.page-heading h1{font-size:26px!important}.dashboard-cockpit-datetime strong,.dashboard-cockpit-datetime time{font-size:23px!important}.dashboard-weather{grid-template-columns:auto 1fr!important}.dashboard-weather-button{grid-column:1/-1;width:100%}.dashboard-symbol-toolbar{justify-content:flex-start!important}.form-grid,.form-grid.three{grid-template-columns:1fr!important}}

/* ===== SOURCE: ui6.css ===== */
/* CodenameMatrix v1.8.1 — Dynamic Company Branding */
:root{--cm-blue:var(--cm-brand-primary,#1769ff);--cm-blue-2:var(--cm-brand-primary,#0d5be7)}
.sidebar-company-brand{min-height:80px;padding:13px 18px;display:flex;align-items:center;gap:12px;text-decoration:none;background:#fff;border-bottom:1px solid var(--cm-line);color:var(--cm-text);overflow:hidden}
.company-brand-logo{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px}.company-brand-logo img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.company-brand-monogram{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:12px;background:color-mix(in srgb,var(--cm-brand-primary) 11%,#fff);color:var(--cm-brand-primary);font-size:14px;font-weight:850;letter-spacing:.04em}
.company-brand-copy{min-width:0;display:grid;gap:3px}.company-brand-copy strong{font-size:14px;line-height:1.25;color:var(--cm-text);white-space:normal}.company-brand-copy small{font-size:11px;color:var(--cm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-company-brand.brand-style-logo{justify-content:center}.brand-style-logo .company-brand-logo{width:100%;height:54px;flex-basis:auto}.brand-style-logo .company-brand-logo img{max-width:190px}.brand-style-logo .company-brand-copy{display:none}
.sidebar-company-brand.brand-style-card{margin:12px 12px 2px;min-height:106px;border:1px solid var(--cm-line);border-radius:14px;box-shadow:var(--cm-shadow);align-items:flex-start}.brand-style-card .company-brand-logo,.brand-style-card .company-brand-monogram{margin-top:2px}.brand-style-card .company-brand-copy strong{font-size:15px}.brand-style-card .company-brand-copy small{white-space:normal}
.header-style-accent .app-topbar{border-top:3px solid var(--cm-brand-primary)}
.sidebar-link.active,.topbar-new-button,button:not(.secondary):not(.danger),.btn:not(.secondary):not(.danger){background-color:var(--cm-brand-primary)!important}.sidebar-link.active{background:color-mix(in srgb,var(--cm-brand-primary) 9%,#fff)!important;color:var(--cm-brand-primary)!important}.sidebar-link:hover{color:var(--cm-brand-primary)!important}.page-heading:after{background:var(--cm-brand-primary)!important}
.auth-body[style*="--cm-login-background"]{background-image:linear-gradient(rgba(248,250,252,.88),rgba(248,250,252,.88)),var(--cm-login-background)!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important}
.branding-upload-preview{display:block;max-width:260px;max-height:110px;margin-top:10px;background:#fff;padding:8px;border:1px solid var(--cm-line);border-radius:10px;object-fit:contain}.branding-upload-preview.favicon-preview{width:64px;height:64px}.branding-upload-preview.wide-preview{width:100%;max-width:420px;height:150px;max-height:150px;object-fit:cover}.branding-settings-panel .section-kicker{margin:0 0 5px;color:var(--cm-brand-primary)!important;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:900px){.sidebar-company-brand{min-height:72px}.sidebar-company-brand.brand-style-card{margin:10px}}
.dashboard-welcome.has-company-image{position:relative;overflow:hidden}.dashboard-welcome.has-company-image:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 48%,rgba(255,255,255,.75) 100%),var(--cm-dashboard-image);background-size:cover;background-position:center;pointer-events:none}.dashboard-welcome.has-company-image>*{position:relative;z-index:1}

/* ===== SOURCE: ui7.css ===== */
/* CodenameMatrix v1.8.2 — fixed navigation, calendar refresh and deployment editor */
body.sidebar-compact .app-shell{grid-template-columns:286px minmax(0,1fr)!important}
body.sidebar-compact .sidebar{width:286px!important}
body.sidebar-compact .app-topbar,body.sidebar-compact .app-main,body.sidebar-compact .app-footer{grid-column:2!important}
body.sidebar-compact .sidebar-link span,body.sidebar-compact .nav-section-label,body.sidebar-compact .company-brand-copy,body.sidebar-compact .sidebar-profile-copy,body.sidebar-compact .sidebar-profile-chevron{display:initial!important}
.sidebar-bottom{padding:12px 14px 18px!important}
.sidebar-profile-card{margin:0!important}
.sidebar-collapse-action{display:none!important}

/* Calendar */
.calendar-toolbar,.toolbar.calendar-toolbar{background:#fff!important;border:1px solid var(--cm-line,#e6eaf0)!important;border-radius:16px!important;padding:14px 16px!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important;margin-bottom:18px!important}
.calendar-grid.month{grid-template-columns:repeat(7,minmax(148px,1fr))!important;gap:10px!important;padding:2px!important}
.calendar-day{min-height:176px!important;border:1px solid #e6eaf0!important;border-radius:14px!important;padding:12px!important;background:#fff!important;box-shadow:0 4px 14px rgba(15,23,42,.035)!important;color:#17233a!important}
.calendar-day:hover{border-color:#cdd8ea!important;box-shadow:0 10px 26px rgba(15,23,42,.07)!important;transform:translateY(-1px)}
.calendar-day.today{outline:0!important;border-color:var(--cm-brand-primary,#1769ff)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--cm-brand-primary,#1769ff) 12%,transparent)!important}
.calendar-day>header{border-bottom:1px solid #edf0f5!important;padding-bottom:10px!important;margin-bottom:10px!important;color:#17233a!important}
.calendar-day>header strong{font-size:13px!important}.calendar-day>header span{color:#7a879b!important;font-size:12px!important}
.shift-card,.shift-card-link{border:0!important;border-left:4px solid var(--cm-brand-primary,#1769ff)!important;background:#f7f9fc!important;color:#17233a!important;border-radius:10px!important;padding:9px 10px!important;text-decoration:none!important;box-shadow:none!important}
.shift-card:hover,.shift-card-link:hover{background:#f0f5ff!important;color:#0f5fe5!important}
.mobile-calendar-day{background:#fff!important;border:1px solid #e6eaf0!important;border-radius:14px!important;padding:14px!important;color:#17233a!important}
.mobile-shift-card{background:#f7f9fc!important;color:#17233a!important;border-radius:10px!important}

/* Deployment editor */
.deployment-editor{max-width:1180px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.deployment-form-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 18px!important;padding:18px 20px!important;background:#fff!important;border:1px solid #e6eaf0!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important}
.deployment-form-heading h2{margin:0!important;font-size:22px!important;color:#17233a!important}
.deployment-editor>.form-grid{background:#fff!important;border:1px solid #e6eaf0!important;border-radius:16px!important;padding:20px!important;margin-bottom:16px!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important}
.deployment-editor details.deployment-collapsible{background:#fff!important;border:1px solid #e6eaf0!important;border-radius:16px!important;margin:0 0 16px!important;padding:0!important;overflow:hidden!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important;color:#17233a!important}
.deployment-editor details.deployment-collapsible>summary{list-style:none!important;cursor:pointer!important;padding:18px 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#fff!important;color:#17233a!important;font-size:15px!important}
.deployment-editor details.deployment-collapsible>summary::-webkit-details-marker{display:none}
.deployment-editor details.deployment-collapsible>summary:after{content:'⌄';font-size:20px;color:#75839a;transition:transform .18s ease}
.deployment-editor details[open]>summary{border-bottom:1px solid #edf0f5!important}
.deployment-editor details[open]>summary:after{transform:rotate(180deg)}
.deployment-editor .details-body{padding:20px!important;background:#fff!important;color:#17233a!important}
.deployment-editor fieldset{border:0!important;padding:0!important;margin:0!important;background:transparent!important}
.deployment-editor h3{font-size:14px!important;margin:4px 0 12px!important;color:#17233a!important}
.deployment-editor label{font-size:13px!important;color:#344158!important;margin:0 0 7px!important}
.deployment-editor input,.deployment-editor select,.deployment-editor textarea{min-height:46px!important;border:1px solid #d9e0ea!important;border-radius:10px!important;background:#fff!important;color:#17233a!important;padding:11px 13px!important}
.deployment-editor textarea{min-height:110px!important;resize:vertical!important}
.deployment-editor input::placeholder,.deployment-editor textarea::placeholder{color:#9aa5b6!important}
.deployment-editor input:focus,.deployment-editor select:focus,.deployment-editor textarea:focus{border-color:var(--cm-brand-primary,#1769ff)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--cm-brand-primary,#1769ff) 12%,transparent)!important;outline:0!important}
.deployment-editor .form-grid{gap:18px!important}
.deployment-editor .employee-checkbox-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;max-height:310px!important;overflow:auto!important;padding:4px!important}
.deployment-editor .employee-checkbox-item{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:11px 12px!important;border:1px solid #e4e9f0!important;border-radius:10px!important;background:#fafbfd!important;color:#243147!important}
.deployment-editor .employee-checkbox-item:hover{border-color:#cbd7e8!important;background:#f5f8fd!important}
.deployment-editor .employee-checkbox-item input{width:17px!important;height:17px!important;min-height:0!important}
.deployment-editor .staffing-summary,.deployment-editor #shift-leader-contact,.deployment-editor #location-defaults{background:#f7f9fc!important;border:1px solid #e6eaf0!important;border-radius:10px!important;padding:12px 14px!important;color:#5c6b80!important}
.deployment-savebar{position:sticky!important;bottom:0!important;z-index:20!important;margin:18px 0 0!important;padding:16px 20px!important;background:rgba(255,255,255,.96)!important;border:1px solid #e6eaf0!important;border-radius:16px!important;box-shadow:0 -8px 28px rgba(15,23,42,.08)!important;backdrop-filter:blur(10px)!important}
.deployment-savebar button,.deployment-savebar .btn{min-height:44px!important;border-radius:10px!important;padding:0 18px!important}
@media(max-width:980px){.deployment-editor .employee-checkbox-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.calendar-grid.month{grid-template-columns:repeat(7,minmax(130px,1fr))!important}}
@media(max-width:720px){.deployment-form-heading{align-items:flex-start!important;flex-direction:column!important}.deployment-editor>.form-grid,.deployment-editor .form-grid{grid-template-columns:1fr!important}.deployment-editor .employee-checkbox-list{grid-template-columns:1fr!important}.deployment-savebar{border-radius:12px!important}.calendar-grid.month{display:none!important}}

/* ===== SOURCE: ui8.css ===== */
/* CodenameMatrix v1.8.3 — dashboard cockpit and editor correction */

/* Dashboard cockpit: one calm, light visual language */
.dashboard-home{gap:28px!important}
.dashboard-cockpit-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(420px,0.9fr)!important;
  gap:40px!important;
  align-items:center!important;
  min-height:0!important;
  padding:36px 32px!important;
  background:#fff!important;
  color:#17233a!important;
  border:1px solid #e3e9f1!important;
  border-radius:18px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.045)!important;
  overflow:visible!important;
}
.dashboard-cockpit-copy,.dashboard-cockpit-side{min-width:0!important}
.dashboard-eyebrow{color:#0f63d8!important;font-size:12px!important;line-height:1.3!important;letter-spacing:.08em!important;font-weight:800!important}
.dashboard-cockpit-datetime{display:grid!important;gap:14px!important;margin:24px 0 0!important}
.dashboard-cockpit-datetime strong{font-size:32px!important;line-height:1.15!important;color:#17233a!important;font-weight:780!important;overflow-wrap:anywhere}
.dashboard-cockpit-datetime time{font-size:32px!important;line-height:1.1!important;color:#1269bd!important;font-weight:780!important}
.dashboard-cockpit-copy p{margin:26px 0 10px!important;color:#344158!important;font-size:15px!important;line-height:1.55!important}
.dashboard-live-status{display:inline-flex!important;align-items:center!important;gap:8px!important;color:#16a765!important;font-size:13px!important}
.dashboard-live-dot{width:9px!important;height:9px!important;flex:0 0 9px!important}
.dashboard-cockpit-side{display:grid!important;gap:18px!important;align-self:stretch!important;align-content:center!important}
.dashboard-weather{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) auto!important;
  gap:16px!important;
  align-items:center!important;
  min-width:0!important;
  width:100%!important;
  min-height:122px!important;
  padding:22px 20px!important;
  background:#fbfdff!important;
  color:#17233a!important;
  border:1px solid #dce5f0!important;
  border-radius:15px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.dashboard-weather-icon{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;border-radius:14px!important;background:#eaf3ff!important;color:#1269bd!important;font-size:27px!important}
.dashboard-weather-copy{display:grid!important;gap:5px!important;min-width:0!important}
.dashboard-weather-copy strong{color:#17233a!important;font-size:21px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere}
.dashboard-weather-copy span{display:block!important;color:#344158!important;font-size:13px!important;line-height:1.45!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
.dashboard-weather-copy small{color:#7a879a!important;font-size:11px!important;line-height:1.35!important}
.dashboard-weather-button{
  width:auto!important;
  min-width:118px!important;
  min-height:46px!important;
  padding:0 16px!important;
  margin:0!important;
  border:1px solid #bfd2ee!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#0f63d8!important;
  font-size:13px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
.dashboard-weather-button:hover{background:#eef5ff!important;border-color:#9fbee8!important}
.dashboard-symbol-toolbar{display:flex!important;justify-content:flex-end!important;gap:10px!important;position:relative!important}
.dashboard-symbol-button{display:inline-grid!important;place-items:center!important;width:48px!important;height:48px!important;padding:0!important;border:1px solid #dce4ef!important;border-radius:11px!important;background:#fff!important;color:#263750!important;font-size:20px!important;line-height:1!important;box-shadow:none!important}
.dashboard-symbol-button:hover,.dashboard-symbol-button:focus-visible{background:#eef5ff!important;border-color:#b8cdec!important;color:#0f63d8!important}

/* Dashboard editor: self-contained cards, no overlapping labels or controls */
.dashboard-config-pro{
  padding:28px!important;
  background:#fff!important;
  border:1px solid #e3e9f1!important;
  border-radius:18px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.045)!important;
  color:#17233a!important;
  overflow:visible!important;
}
.dashboard-config-pro .panel-heading{margin:0 0 22px!important;padding:0 0 20px!important;border-bottom:1px solid #e8edf4!important}
.dashboard-config-pro .panel-heading h2{margin:0 0 7px!important;color:#17233a!important;font-size:24px!important;line-height:1.2!important}
.dashboard-config-pro .panel-heading p{margin:0!important;color:#66758b!important;line-height:1.5!important}
.dashboard-config-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 26px!important}
.dashboard-widget-search{display:block!important;flex:1 1 440px!important;max-width:580px!important;min-width:0!important}
.dashboard-widget-search input{width:100%!important;min-height:46px!important;margin:0!important;background:#fff!important;color:#17233a!important;border:1px solid #d8e0eb!important;border-radius:11px!important;padding:0 14px!important}
.dashboard-config-count{flex:0 0 auto!important;color:#65748a!important;font-size:13px!important;white-space:nowrap!important}
.dashboard-widget-groups{display:grid!important;gap:28px!important}
.dashboard-widget-group{margin:0!important;padding:0!important;border:0!important;min-width:0!important}
.dashboard-widget-group h3{margin:0 0 14px!important;color:#17233a!important;font-size:12px!important;line-height:1.3!important;letter-spacing:.09em!important;text-transform:uppercase!important}
.dashboard-config-pro .dashboard-widget-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.dashboard-config-pro .dashboard-picker-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:'main controls'!important;
  gap:18px!important;
  align-items:center!important;
  min-width:0!important;
  margin:0!important;
  padding:18px!important;
  background:#fff!important;
  color:#17233a!important;
  border:1px solid #e0e7f0!important;
  border-radius:15px!important;
  box-shadow:none!important;
  cursor:default!important;
}
.dashboard-config-pro .dashboard-picker-row:hover{border-color:#c6d5e8!important;background:#fbfdff!important}
.dashboard-picker-main{grid-area:main!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;min-width:0!important}
.dashboard-picker-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:10px!important;background:#edf4ff!important;color:#1769df!important;font-size:14px!important}
.dashboard-picker-copy{display:grid!important;gap:5px!important;min-width:0!important}
.dashboard-picker-copy strong{display:block!important;color:#17233a!important;font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere}
.dashboard-picker-copy small{display:block!important;color:#586981!important;font-size:12px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere}
.dashboard-new-badge{display:inline-flex!important;width:max-content!important;max-width:100%!important;margin-top:2px!important;padding:4px 8px!important;border-radius:999px!important;background:#edf3ff!important;color:#2558aa!important;font-size:11px!important;line-height:1.2!important;font-style:normal!important;font-weight:700!important}
.dashboard-picker-controls{grid-area:controls!important;display:grid!important;grid-template-columns:auto 126px!important;gap:12px!important;align-items:center!important;justify-content:end!important;min-width:0!important}
.dashboard-picker-controls select{width:126px!important;min-width:126px!important;min-height:44px!important;margin:0!important;padding:0 34px 0 12px!important;background:#fff!important;color:#17233a!important;border:1px solid #d5dfeb!important;border-radius:10px!important;font-size:13px!important;line-height:1.2!important}
.dashboard-switch{position:relative!important;display:inline-flex!important;width:44px!important;height:24px!important;flex:0 0 44px!important}
.dashboard-switch>span[aria-hidden]{background:#b8c3d1!important}
.dashboard-switch>span[aria-hidden]:before{width:18px!important;height:18px!important;left:3px!important;top:3px!important;box-shadow:0 1px 4px rgba(15,23,42,.25)!important}
.dashboard-switch input:checked+span[aria-hidden]{background:#1769df!important}
.dashboard-switch input:checked+span[aria-hidden]:before{transform:translateX(20px)!important}
.dashboard-config-pro>.actions{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;margin-top:28px!important;padding-top:22px!important;border-top:1px solid #e8edf4!important}
.dashboard-config-pro>.actions form{display:flex!important;align-items:flex-end!important;gap:12px!important;flex-wrap:wrap!important;margin:0!important}
.dashboard-refresh-field{display:grid!important;gap:7px!important;margin:0!important;color:#344158!important;font-size:12px!important;font-weight:700!important}
.dashboard-refresh-field select{min-width:160px!important;min-height:44px!important;margin:0!important}
.dashboard-config-pro>.actions button{min-height:44px!important;border-radius:10px!important}

@media(max-width:1100px){
  .dashboard-cockpit-header{grid-template-columns:1fr!important;gap:26px!important}
  .dashboard-config-pro .dashboard-widget-picker{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  .dashboard-cockpit-header{padding:24px 20px!important;border-radius:14px!important}
  .dashboard-cockpit-datetime strong,.dashboard-cockpit-datetime time{font-size:25px!important}
  .dashboard-weather{grid-template-columns:54px minmax(0,1fr)!important;padding:16px!important}
  .dashboard-weather-icon{width:54px!important;height:54px!important}
  .dashboard-weather-button{grid-column:1/-1!important;width:100%!important}
  .dashboard-symbol-toolbar{justify-content:flex-start!important}
  .dashboard-config-pro{padding:20px!important}
  .dashboard-config-toolbar{align-items:stretch!important;flex-direction:column!important}
  .dashboard-config-count{white-space:normal!important}
  .dashboard-config-pro .dashboard-picker-row{grid-template-columns:1fr!important;grid-template-areas:'main' 'controls'!important;align-items:start!important}
  .dashboard-picker-controls{justify-content:space-between!important;width:100%!important;grid-template-columns:auto minmax(130px,1fr)!important}
  .dashboard-picker-controls select{width:100%!important;min-width:0!important}
  .dashboard-config-pro>.actions,.dashboard-config-pro>.actions form{align-items:stretch!important;flex-direction:column!important;width:100%!important}
  .dashboard-config-pro>.actions form button,.dashboard-refresh-field select{width:100%!important}
}

/* ===== SOURCE: ui9.css ===== */
/* CodenameMatrix v1.8.4 — Einsatzeditor und intelligente Disposition */
.deployment-editor{max-width:1280px!important}
.deployment-form-heading{padding:22px 24px!important;border-radius:18px!important}
.deployment-form-heading h2{font-size:25px!important;letter-spacing:-.02em!important}
.deployment-editor>.form-grid{padding:24px!important;border-radius:18px!important;gap:22px!important}
.deployment-editor details.deployment-collapsible{border-radius:18px!important}
.deployment-editor details.deployment-collapsible>summary{padding:21px 24px!important;font-size:16px!important}
.deployment-editor .details-body{padding:24px!important}
.assignment-help{margin:5px 0 0!important;max-width:720px!important;font-size:12px!important;line-height:1.5!important}
.employee-assignment-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 14px}
.employee-search{position:relative;display:flex!important;align-items:center;flex:1;max-width:440px;margin:0!important}
.employee-search>span{position:absolute;left:14px;color:#718096;font-size:20px;z-index:1}
.employee-search input{padding-left:42px!important;width:100%!important}
.assignment-legend{display:flex;flex-wrap:wrap;gap:14px;color:#66758b;font-size:12px}
.assignment-legend span{display:flex;align-items:center;gap:6px}
.availability-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.13)}
.availability-dot.available{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.13)}
.availability-dot.warning{background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.14)}
.availability-dot.blocked{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.13)}
.deployment-editor .employee-checkbox-list.employee-disposition-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;max-height:620px!important;padding:2px!important}
.deployment-editor .employee-checkbox-item.employee-disposition-card{position:relative!important;display:block!important;padding:0!important;border:1px solid #e2e8f0!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important;transition:border-color .15s,box-shadow .15s,transform .15s!important;cursor:pointer!important}
.deployment-editor .employee-checkbox-item.employee-disposition-card:hover{transform:translateY(-1px)!important;border-color:#bfd2ef!important;box-shadow:0 10px 28px rgba(30,64,175,.08)!important}
.deployment-editor .employee-disposition-card.is-selected{border-color:var(--cm-brand-primary,#1769ff)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--cm-brand-primary,#1769ff) 12%,transparent)!important}
.deployment-editor .employee-disposition-card.is-blocked{border-left:4px solid #ef4444!important}
.deployment-editor .employee-disposition-card.is-warning{border-left:4px solid #f59e0b!important}
.deployment-editor .employee-disposition-card.is-available{border-left:4px solid #22c55e!important}
.deployment-editor .employee-disposition-card>input{position:absolute!important;right:18px!important;top:18px!important;width:20px!important;height:20px!important;z-index:2!important;accent-color:var(--cm-brand-primary,#1769ff)!important}
.employee-card-content{display:block;padding:17px 18px 16px}
.employee-card-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding-right:34px}
.employee-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eef4ff;color:#1769d2;font-size:13px;font-weight:800}
.employee-identity{display:grid;gap:4px;min-width:0}
.employee-identity strong{color:#17233a;font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.employee-identity small{display:flex;align-items:center;gap:7px;color:#627087;font-size:12px}
.employee-select-label{color:#1769d2;font-size:12px;font-weight:700;opacity:0}
.employee-disposition-card:hover .employee-select-label,.employee-disposition-card.is-selected .employee-select-label{opacity:1}
.employee-hours-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:15px}
.employee-hours-grid>span{display:grid;gap:4px;padding:10px;border-radius:10px;background:#f7f9fc;border:1px solid #edf1f6}
.employee-hours-grid small{color:#718096;font-size:10px;line-height:1.2}
.employee-hours-grid strong{color:#1e293b;font-size:13px}
.employee-qualification-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.qualification-chip{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eefbf3;color:#16803d;font-size:10px;font-weight:700}
.employee-warning-text,.employee-rest-text{display:block;margin-top:11px;padding-top:10px;border-top:1px solid #edf1f5;font-size:11px;line-height:1.4}
.employee-warning-text{color:#b42318}.employee-rest-text{color:#66758b}
.deployment-editor .staffing-summary{min-height:46px;display:flex;align-items:center;font-weight:700;color:#334155!important}
@media(max-width:1050px){.deployment-editor .employee-checkbox-list.employee-disposition-list{grid-template-columns:1fr!important}.employee-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.employee-assignment-toolbar{align-items:stretch;flex-direction:column}.employee-search{max-width:none}.employee-card-head{grid-template-columns:40px minmax(0,1fr)}.employee-select-label{display:none}.employee-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== SOURCE: ui10.css ===== */

/* CodenameMatrix v1.9.0 – UX foundation */
.calendar-detail-drawer{position:fixed;z-index:1200;top:0;right:0;width:min(430px,94vw);height:100vh;background:#fff;border-left:1px solid #e5eaf1;box-shadow:-24px 0 60px rgba(15,23,42,.12);padding:34px;transform:translateX(105%);transition:transform .24s ease;overflow:auto;color:#172033}.calendar-detail-drawer.open{transform:none}.calendar-drawer-backdrop{position:fixed;z-index:1190;inset:0;background:rgba(15,23,42,.18);opacity:0;pointer-events:none;transition:.2s}.calendar-drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer-close{position:absolute;right:20px;top:18px;border:0;background:#f2f5f9;color:#334155;width:38px;height:38px;border-radius:12px;font-size:24px}.drawer-kicker,.profile-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--primary,#2563eb)}.calendar-detail-drawer h2{font-size:26px;margin:9px 44px 5px 0}.drawer-location{color:#64748b;margin:0 0 25px}.drawer-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.drawer-facts div{background:#f7f9fc;border:1px solid #e8edf4;padding:15px;border-radius:15px}.drawer-facts span{display:block;color:#78869a;font-size:12px;margin-bottom:5px}.drawer-section{margin-top:26px}.drawer-section h3{font-size:15px}.drawer-people{display:flex;flex-wrap:wrap;gap:8px}.drawer-person{padding:8px 11px;border-radius:999px;background:#edf4ff;color:#2357a5;font-size:13px;font-weight:700}.drawer-actions{position:sticky;bottom:-34px;background:#fff;padding:22px 0 34px;margin-top:35px;display:flex;gap:10px}.shift-card{cursor:pointer}
.employee-profile-page{max-width:1500px;margin:auto}.employee-profile-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid #e7ebf1;border-radius:22px;padding:26px 30px;margin-bottom:22px;box-shadow:0 8px 30px rgba(15,23,42,.04)}.employee-identity{display:flex;align-items:center;gap:20px}.employee-profile-avatar{width:82px;height:82px;object-fit:cover;border-radius:22px;background:#eaf2ff;color:#2866c7;display:grid;place-items:center;font-size:27px;font-weight:800}.employee-profile-hero h1{margin:5px 0 3px;font-size:28px}.employee-profile-hero p{margin:0 0 10px;color:#64748b}.employee-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.employee-stat-grid article{background:#fff;border:1px solid #e7ebf1;border-radius:18px;padding:20px}.employee-stat-grid span,.employee-stat-grid small{display:block;color:#738096}.employee-stat-grid strong{display:block;font-size:27px;color:#152039;margin:7px 0}.employee-profile-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,.75fr);gap:22px}.employee-profile-grid main,.employee-profile-grid aside{display:flex;flex-direction:column;gap:22px}.profile-section,.profile-contact-card{margin:0!important;border-radius:20px!important;padding:25px!important}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2{margin:4px 0 0}.profile-timeline{display:flex;flex-direction:column}.profile-timeline a{display:grid;grid-template-columns:58px 1fr 20px;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f4;color:inherit;text-decoration:none}.profile-timeline a:last-child{border:0}.profile-timeline time{font-weight:800;color:#245eb9}.profile-timeline time small{display:block;color:#7b8799;font-weight:600}.profile-timeline a div span{display:block;color:#748095;font-size:13px;margin-top:3px}.qualification-cloud{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.qualification-pill{background:#eef7f1;color:#25804c;border:1px solid #d8ecdf;padding:8px 11px;border-radius:999px;font-weight:700;font-size:13px}.profile-editor{border:1px solid #e8edf3;border-radius:14px;padding:13px 15px;margin:16px 0}.profile-editor summary{font-weight:750;cursor:pointer}.profile-contact-card dl{margin:0}.profile-contact-card dt{color:#8590a2;font-size:12px;margin-top:16px}.profile-contact-card dd{margin:3px 0 0;color:#263247;overflow-wrap:anywhere}.document-list>div{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #edf0f4;padding:13px 0}.document-list a{color:inherit;text-decoration:none}.document-list a span{display:block;color:#7b8799;font-size:12px;margin-top:3px}.mini-audit div{padding:11px 0;border-bottom:1px solid #edf0f4}.mini-audit span,.mini-audit small{display:block;color:#8190a3;font-size:11px}.mini-audit strong{font-size:13px}.btn.full{display:block;text-align:center;margin-top:16px}
@media(max-width:1000px){.employee-stat-grid{grid-template-columns:1fr 1fr}.employee-profile-grid{grid-template-columns:1fr}.employee-profile-hero{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.employee-stat-grid{grid-template-columns:1fr}.employee-identity{align-items:flex-start}.employee-profile-avatar{width:62px;height:62px;border-radius:17px}.employee-profile-hero{padding:20px}.drawer-facts{grid-template-columns:1fr}}

/* ===== SOURCE: ui11.css ===== */
/* CodenameMatrix v2.0.0 – Einsatzakte / UI 3.0 phase 1 */
.deployment-detail{max-width:1500px;margin:0 auto;gap:22px;color:#172033}
.deployment-detail,.deployment-detail *{color-scheme:light}
.deployment-detail .panel,
.deployment-detail .deployment-card,
.deployment-detail .deployment-hero,
.deployment-detail .deployment-actions{background:#fff!important;color:#172033!important;border:1px solid #e5eaf1!important;box-shadow:0 8px 28px rgba(15,23,42,.045)!important}
.deployment-hero{border-radius:22px!important;padding:28px 30px!important;align-items:center!important}
.deployment-title-row{gap:14px!important}
.deployment-title-row h2{font-size:30px!important;line-height:1.15!important;letter-spacing:-.03em!important;color:#142039!important}
.deployment-category-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#f4f7fb!important;border:1px solid #dfe6ef!important;color:#40506a!important;font-size:12px;font-weight:750;line-height:1.2}
.deployment-category-badge:before{content:'';width:8px;height:8px;border-radius:999px;background:var(--deployment-category-color,var(--cm-brand-primary,#2563eb));box-shadow:0 0 0 3px color-mix(in srgb,var(--deployment-category-color,var(--cm-brand-primary,#2563eb)) 14%,transparent)}
.deployment-hero-meta{margin-top:13px!important;gap:9px 20px!important;color:#66758a!important;font-size:14px!important}
.deployment-hero-meta span{color:#66758a!important}
.deployment-hero-meta span:not(:last-child):before{content:'';width:7px;height:7px;margin-right:8px;border-radius:50%;background:#d3dbe6}
.deployment-hero-meta .status-text{padding:6px 10px;border-radius:999px;background:#eef5ff!important;color:#235da8!important;font-weight:750!important}
.deployment-hero-meta .status-text:before{display:none}
.deployment-hero-actions{align-items:center!important}
.deployment-hero-actions .btn,.deployment-hero-actions button{min-height:42px!important;border-radius:11px!important}

.operation-tabs{position:sticky!important;top:76px!important;display:flex!important;gap:5px!important;padding:7px!important;border-radius:15px!important;background:rgba(255,255,255,.96)!important;border:1px solid #e4eaf1!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important;backdrop-filter:blur(12px)}
.operation-tabs a{padding:10px 14px!important;border-radius:10px!important;color:#5b687c!important;font-weight:700!important;text-decoration:none!important;background:transparent!important}
.operation-tabs a:hover{background:#f4f7fb!important;color:#22314a!important}
.operation-tabs a.is-active{background:#edf4ff!important;color:#1e5eb8!important;box-shadow:none!important}
.operation-tabs .tab-count{background:#e7edf5!important;color:#617086!important}
.operation-tabs a.is-active .tab-count{background:#d9e8ff!important;color:#1e5eb8!important}

.deployment-status-grid{gap:16px!important}
.deployment-status-card{min-height:126px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;padding:20px 22px!important;border-radius:18px!important;background:#fff!important;border:1px solid #e5eaf1!important;box-shadow:0 7px 23px rgba(15,23,42,.04)!important;overflow:hidden!important;position:relative!important}
.deployment-status-card:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:#dfe7f1}
.deployment-status-card span{color:#748196!important;font-size:12px!important;font-weight:700!important;letter-spacing:.025em!important;text-transform:none!important}
.deployment-status-card strong{color:#16223a!important;font-size:30px!important;line-height:1!important;margin-top:18px!important}
.deployment-status-card .status-value{font-size:18px!important;line-height:1.25!important;color:#24364f!important}
.deployment-status-card.is-warning{border-left:1px solid #e5eaf1!important;background:#fff!important}
.deployment-status-card.is-warning:after{background:#f3b13f}
.deployment-status-card.is-warning strong{color:#a86108!important}
.deployment-status-card.is-success{border-left:1px solid #e5eaf1!important;background:#fff!important}
.deployment-status-card.is-success:after{background:#36a96d}
.deployment-status-card.is-success strong{color:#247a4d!important}

.deployment-card-grid{gap:20px!important}
.deployment-card{border-radius:20px!important;padding:24px!important}
.deployment-card-title{padding:0 0 16px!important;margin:0 0 18px!important;border-bottom:1px solid #edf1f5!important}
.deployment-card-title h3{font-size:18px!important;color:#18253d!important;letter-spacing:-.01em!important}
.deployment-card-icon{width:38px!important;height:38px!important;border-radius:12px!important;background:#edf4ff!important;color:#2864bd!important}
.deployment-card h4{color:#2a3950!important;font-size:14px!important;margin:18px 0 8px!important}
.deployment-data{gap:0!important}
.deployment-data div{grid-template-columns:minmax(105px,130px) minmax(0,1fr)!important;padding:11px 0!important;border-bottom:1px solid #f0f3f7!important}
.deployment-data div:last-child{border-bottom:0!important}
.deployment-data dt{color:#7a8799!important;font-size:12px!important}
.deployment-data dd{color:#243247!important;font-weight:650!important;overflow-wrap:anywhere}
.contact-block{padding:12px 0!important;border-bottom:1px solid #f0f3f7!important}
.contact-block:last-child{border-bottom:0!important}
.contact-block strong{color:#243247!important}
.contact-block span,.contact-block a{color:#64748b!important}
.info-block{padding:14px 0!important;border-bottom:1px solid #edf1f5!important}
.info-block strong{color:#26354c!important}
.info-block p{color:#59687d!important;line-height:1.65!important}
.info-block.internal{background:#fff9e9!important;border:1px solid #f4dda4!important;border-radius:13px!important;padding:14px 16px!important}
.deployment-person-list{gap:9px!important}
.deployment-person-list li{background:#f7f9fc!important;border:1px solid #e7ecf3!important;border-radius:11px!important;padding:10px 12px!important;color:#314158!important}
.deployment-person-list a{color:#285fae!important;text-decoration:none!important;font-weight:700!important}
.record-item{background:#fff!important;color:#25344a!important;border-color:#e8edf3!important}
.record-item strong{color:#25344a!important}.record-item small{color:#758297!important}
.deployment-actions{border-radius:18px!important;padding:7px 20px!important}
.deployment-actions .actions{align-items:center!important}
.operation-tab-panel{animation:cmPanelIn .18s ease}
@keyframes cmPanelIn{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Last-resort contrast protection inside the operation file. */
.deployment-detail h1,.deployment-detail h2,.deployment-detail h3,.deployment-detail h4,.deployment-detail strong,.deployment-detail dt,.deployment-detail dd,.deployment-detail p,.deployment-detail li{opacity:1}
.deployment-detail [style*="color:#fff"],.deployment-detail [style*="color: #fff"],.deployment-detail [style*="color:white"],.deployment-detail [style*="color: white"]{color:#172033!important}
.deployment-detail [style*="background:#0"],.deployment-detail [style*="background: #0"],.deployment-detail [style*="background-color:#0"],.deployment-detail [style*="background-color: #0"]{background:#fff!important;color:#172033!important}

@media(max-width:900px){.deployment-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.deployment-card-grid{grid-template-columns:1fr!important}.operation-tabs{top:66px!important}.deployment-hero{align-items:stretch!important;flex-direction:column!important}}
@media(max-width:600px){.deployment-hero{padding:21px!important}.deployment-title-row h2{font-size:25px!important}.deployment-status-grid{grid-template-columns:1fr!important}.deployment-status-card{min-height:105px!important}.deployment-data div{grid-template-columns:1fr!important;gap:4px!important}.operation-tabs a{padding:9px 11px!important}}

/* ===== SOURCE: ui12.css ===== */
/* CodenameMatrix v2.0.1 – project-wide UI consolidation */
:root{color-scheme:light}
html,body,.app-shell,.app-main{background:#f7f9fc;color:#172033}

/* Native selects and all popover/dropdown surfaces */
select{appearance:auto;background-color:#fff!important;color:#172033!important;border-color:#d7dee8!important;color-scheme:light!important}
select:hover{background-color:#fff!important;color:#172033!important;border-color:#bfc9d6!important}
select:focus{background-color:#fff!important;color:#172033!important;border-color:var(--cm-primary,#2563eb)!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important}
select:disabled{background:#f1f5f9!important;color:#94a3b8!important}
select option,select optgroup{background:#fff!important;color:#172033!important}
select option:checked{background:#eaf2ff!important;color:#174f9f!important}
.dashboard-quick-menu-popover,.topbar-new-menu,[role="menu"],.dropdown-menu,.menu-popover,.popover-menu{
  background:#fff!important;color:#172033!important;border:1px solid #dfe6ef!important;border-radius:12px!important;box-shadow:0 18px 42px rgba(15,23,42,.14)!important
}
.dashboard-quick-menu-popover a,.topbar-new-menu a,[role="menu"] a,.dropdown-menu a,.menu-popover a,.popover-menu a{color:#334155!important;background:transparent!important}
.dashboard-quick-menu-popover a:hover,.topbar-new-menu a:hover,[role="menu"] a:hover,.dropdown-menu a:hover,.menu-popover a:hover,.popover-menu a:hover{background:#f1f5f9!important;color:#172033!important}
.dashboard-symbol-button{background:#fff!important;color:#475569!important;border-color:#d9e1eb!important}
.dashboard-symbol-button:hover,.dashboard-symbol-button:focus-visible{background:#f8fafc!important;color:#1d4f91!important;border-color:#b8c8dd!important}

/* Global light component fallback: prevents legacy dark rules winning on untouched modules. */
.app-main .panel,.app-main .card,.app-main .widget,.app-main .content-card,.app-main .list-item,.app-main .record-item{
  background:#fff;color:#172033;border-color:#e3e9f1;box-shadow:0 7px 24px rgba(15,23,42,.04)
}
.app-main .panel h1,.app-main .panel h2,.app-main .panel h3,.app-main .panel h4,
.app-main .card h1,.app-main .card h2,.app-main .card h3,.app-main .card h4{color:#172033}
.app-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.app-main textarea{
  background:#fff!important;color:#172033!important;border-color:#d7dee8!important;color-scheme:light
}
.app-main input::placeholder,.app-main textarea::placeholder{color:#98a4b3!important}
.app-main input:focus,.app-main textarea:focus{background:#fff!important;border-color:var(--cm-primary,#2563eb)!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important}
.app-main table{background:#fff;color:#334155}
.app-main th{background:#f8fafc!important;color:#64748b!important;border-color:#e5eaf1!important}
.app-main td{background:#fff;color:#334155;border-color:#edf1f5}
.app-main tbody tr:hover td{background:#fafcff!important}
.app-main details,.app-main .assignment-dropdown,.app-main .panel-section{background:#fff!important;color:#172033!important;border-color:#e3e9f1!important}
.app-main details>summary,.app-main .assignment-dropdown summary,.app-main .panel-section>summary{background:#fff!important;color:#334155!important}
.app-main .details-body{background:#fff!important;color:#334155!important;border-color:#edf1f5!important}

/* Reusable status field and destructive actions */
.cm-static-field{min-height:48px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:9px 13px;border:1px solid #cfe0f6;border-radius:10px;background:#f3f8ff;color:#1e4f8d}
.cm-static-field strong{font-size:14px;color:#1e4f8d}.cm-static-field span{font-size:12px;color:#60738e}
.cm-static-field.is-cancelled{background:#fff5f5;border-color:#f3c8c8}.cm-static-field.is-cancelled strong{color:#a12b2b}.cm-static-field.is-cancelled span{color:#8b5c5c}
button.ghost-danger,.btn.ghost-danger{background:#fff!important;color:#b42323!important;border-color:#efcaca!important}
button.ghost-danger:hover,.btn.ghost-danger:hover{background:#fff5f5!important;border-color:#e7adad!important}

/* Status is clearly distinguished in the operation file. */
.deployment-detail .status-text{background:#eef5ff!important;color:#235da8!important}
.deployment-detail .status-text:where(:not(:empty)){border:1px solid #d6e6fb}

/* Legacy contrast safeguard, intentionally scoped to content only. */
.app-main [class~="bg-dark"],.app-main [class~="bg-primary"],.app-main [class~="text-bg-dark"]{background:#fff!important;color:#172033!important;border-color:#e3e9f1!important}
.app-main [class~="text-white"]:not(.btn):not(button){color:#172033!important}

/* ===== SOURCE: ui13.css ===== */
/* CodenameMatrix UI 3.1 – dashboard and menu consolidation */
body.app-body{background:#f6f8fb!important;color:#10213c!important}
.app-main>.page-heading{margin-bottom:22px!important}
.page-heading .page-eyebrow{display:none!important}
.page-heading h1{margin:0 0 8px!important;color:#10213c!important;font-size:32px!important;line-height:1.15!important;letter-spacing:-.035em!important}
.page-heading .page-description{margin:0!important;color:#60708a!important;font-size:15px!important;line-height:1.5!important}

/* Employee cockpit: same spacing, cards and colors as the approved design */
#personalDashboard.dashboard-home{display:grid!important;gap:26px!important;width:100%!important}
#personalDashboard .dashboard-cockpit-header{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(420px,.86fr)!important;gap:44px!important;align-items:center!important;min-height:0!important;margin:0!important;padding:38px 40px!important;background:#fff!important;border:1px solid #dce5f0!important;border-radius:20px!important;box-shadow:0 14px 38px rgba(15,35,65,.055)!important;color:#10213c!important}
#personalDashboard .dashboard-eyebrow{display:block!important;margin:0 0 24px!important;color:#0967df!important;font-size:12px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important}
#personalDashboard .dashboard-cockpit-datetime{display:grid!important;gap:12px!important;margin:0!important}
#personalDashboard .dashboard-cockpit-datetime strong{margin:0!important;color:#10213c!important;font-size:32px!important;font-weight:800!important;line-height:1.15!important;letter-spacing:-.025em!important}
#personalDashboard .dashboard-cockpit-datetime time{color:#0967df!important;font-size:32px!important;font-weight:800!important;line-height:1.1!important}
#personalDashboard .dashboard-cockpit-copy p{margin:28px 0 0!important;color:#354761!important;font-size:15px!important;line-height:1.55!important}
#personalDashboard .dashboard-weather{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;min-width:0!important;min-height:132px!important;padding:22px 24px!important;background:#fbfdff!important;border:1px solid #dbe5f1!important;border-radius:16px!important;box-shadow:none!important}
#personalDashboard .dashboard-weather-icon{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;border-radius:15px!important;background:#eaf3ff!important;color:#0967df!important;font-size:25px!important}
#personalDashboard .dashboard-weather-copy{display:grid!important;gap:5px!important;min-width:0!important}
#personalDashboard .dashboard-weather-copy strong{color:#10213c!important;font-size:21px!important;font-weight:800!important;line-height:1.2!important}
#personalDashboard .dashboard-weather-copy span{color:#354761!important;font-size:13px!important;line-height:1.5!important}
#personalDashboard .dashboard-weather-copy small{color:#7a899f!important;font-size:11px!important}
body.app-body #personalDashboard button.dashboard-weather-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:126px!important;min-height:46px!important;margin:0!important;padding:0 18px!important;background:#0967df!important;color:#fff!important;border:1px solid #0967df!important;border-radius:10px!important;box-shadow:none!important;font-size:13px!important;font-weight:750!important}
body.app-body #personalDashboard button.dashboard-weather-button:hover{background:#0758bf!important;border-color:#0758bf!important;color:#fff!important}
#personalDashboard .personal-dashboard-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget{grid-column:auto!important;min-height:238px!important;margin:0!important;padding:28px!important;background:#fff!important;border:1px solid #dce5f0!important;border-radius:18px!important;box-shadow:0 12px 32px rgba(15,35,65,.05)!important;color:#10213c!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget h2{margin:0 0 24px!important;color:#10213c!important;font-size:20px!important;font-weight:800!important;line-height:1.25!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget .empty{display:grid!important;place-items:center!important;min-height:125px!important;margin:0!important;padding:24px!important;color:#60708a!important;text-align:center!important;line-height:1.55!important;background:#fbfdff!important;border:1px solid #e7edf5!important;border-radius:13px!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget .list{margin:0!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget .list-item{padding:14px 0!important;border-bottom:1px solid #edf1f6!important;color:#10213c!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget .list-item:last-child{border-bottom:0!important}
#personalDashboard .personal-dashboard-grid>.dashboard-widget .list-item span,#personalDashboard .personal-dashboard-grid>.dashboard-widget .list-item time{color:#60708a!important}

/* Dropdowns: force the light palette in all menus and selects. */
body.app-body select,body.app-body select option{background:#fff!important;color:#17233a!important}
body.app-body .dropdown-menu,body.app-body [role="menu"],body.app-body .topbar-new-menu,body.app-body .dashboard-quick-menu-popover{background:#fff!important;color:#17233a!important;border-color:#dbe4ef!important}
body.app-body .dropdown-menu a,body.app-body [role="menu"] a,body.app-body .topbar-new-menu a,body.app-body .dashboard-quick-menu-popover a{background:#fff!important;color:#263750!important}
body.app-body .dropdown-menu a:hover,body.app-body [role="menu"] a:hover,body.app-body .topbar-new-menu a:hover,body.app-body .dashboard-quick-menu-popover a:hover{background:#edf4ff!important;color:#075fcf!important}

@media(max-width:1120px){
 #personalDashboard .dashboard-cockpit-header{grid-template-columns:1fr!important;gap:28px!important}
}
@media(max-width:760px){
 .app-main>.page-heading{margin-bottom:18px!important}
 #personalDashboard .dashboard-cockpit-header{padding:26px 22px!important;border-radius:16px!important}
 #personalDashboard .dashboard-cockpit-datetime strong,#personalDashboard .dashboard-cockpit-datetime time{font-size:25px!important}
 #personalDashboard .dashboard-weather{grid-template-columns:56px minmax(0,1fr)!important;padding:18px!important}
 #personalDashboard .dashboard-weather-icon{width:56px!important;height:56px!important}
 body.app-body #personalDashboard button.dashboard-weather-button{grid-column:1/-1!important;width:100%!important}
 #personalDashboard .personal-dashboard-grid{grid-template-columns:1fr!important}
 #personalDashboard .personal-dashboard-grid>.dashboard-widget{min-height:210px!important;padding:22px!important}
}

/* ===== SOURCE: ui14.css ===== */
/* CodenameMatrix UI 3.1.1 – final dashboard action button palette */
body.app-body #personalDashboard .dashboard-symbol-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
}
body.app-body #personalDashboard .dashboard-symbol-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:21px!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important;
}
/* Primary dashboard actions: refresh, create and configure. */
body.app-body #personalDashboard #dashboardRefreshNow,
body.app-body #personalDashboard #dashboardQuickMenuToggle,
body.app-body #personalDashboard #dashboardEditToggle{
  background:#0967df!important;
  border:1px solid #0967df!important;
  color:#fff!important;
}
body.app-body #personalDashboard #dashboardRefreshNow:hover,
body.app-body #personalDashboard #dashboardRefreshNow:focus-visible,
body.app-body #personalDashboard #dashboardQuickMenuToggle:hover,
body.app-body #personalDashboard #dashboardQuickMenuToggle:focus-visible,
body.app-body #personalDashboard #dashboardEditToggle:hover,
body.app-body #personalDashboard #dashboardEditToggle:focus-visible{
  background:#0758bf!important;
  border-color:#0758bf!important;
  color:#fff!important;
  outline:3px solid rgba(9,103,223,.16)!important;
  outline-offset:2px!important;
}
/* Search remains the single light secondary action, as in the approved layout. */
body.app-body #personalDashboard .dashboard-symbol-toolbar > a.dashboard-symbol-button{
  background:#fff!important;
  border:1px solid #d8e2ee!important;
  color:#10213c!important;
}
body.app-body #personalDashboard .dashboard-symbol-toolbar > a.dashboard-symbol-button:hover,
body.app-body #personalDashboard .dashboard-symbol-toolbar > a.dashboard-symbol-button:focus-visible{
  background:#edf4ff!important;
  border-color:#b8cdec!important;
  color:#0967df!important;
  outline:3px solid rgba(9,103,223,.12)!important;
  outline-offset:2px!important;
}
body.app-body #personalDashboard .dashboard-symbol-button:disabled,
body.app-body #personalDashboard .dashboard-symbol-button.is-loading{
  opacity:.65!important;
}
@media(max-width:760px){
  body.app-body #personalDashboard .dashboard-symbol-toolbar{justify-content:flex-start!important;gap:10px!important}
}

/* ===== SOURCE: ui15.css ===== */
/* CodenameMatrix v2.0.4 – Dashboard final polish */
body.app-body #personalDashboard{
  --dash-blue:#0967df;
  --dash-blue-hover:#0759c2;
  --dash-ink:#10213c;
  --dash-muted:#52647d;
  --dash-line:#dce5f0;
  --dash-soft:#f7faff;
  gap:28px!important;
}
body.app-body #personalDashboard .dashboard-cockpit-header{
  grid-template-columns:minmax(0,1fr) minmax(440px,.88fr)!important;
  gap:48px!important;
  padding:40px!important;
}
body.app-body #personalDashboard .dashboard-cockpit-copy{align-self:center!important}
body.app-body #personalDashboard .dashboard-cockpit-side{align-self:center!important;gap:18px!important}
body.app-body #personalDashboard .dashboard-weather{width:100%!important;min-height:132px!important;padding:20px 24px!important;gap:18px!important}
body.app-body #personalDashboard .dashboard-weather-button{background:var(--dash-blue)!important;color:#fff!important;border-color:var(--dash-blue)!important;font-weight:750!important;box-shadow:0 5px 12px rgba(9,103,223,.14)!important}
body.app-body #personalDashboard .dashboard-weather-button:hover,
body.app-body #personalDashboard .dashboard-weather-button:focus-visible{background:var(--dash-blue-hover)!important;border-color:var(--dash-blue-hover)!important;color:#fff!important}
body.app-body #personalDashboard .personal-dashboard-grid{gap:22px!important;align-items:stretch!important}
body.app-body #personalDashboard .personal-dashboard-grid>.dashboard-widget,
body.app-body #personalDashboard .personal-dashboard-grid>.panel{
  min-width:0!important;
}
body.app-body #personalDashboard .dashboard-widget>.dashboard-widget-content,
body.app-body #personalDashboard .dashboard-widget>.dashboard-widget-content>.panel,
body.app-body #personalDashboard.employee-dashboard .panel{
  height:100%!important;
}

/* Employee dashboard: balanced card rhythm and deliberately no time/absence shortcuts. */
body.app-body #personalDashboard[data-editable="0"] .personal-dashboard-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget{
  min-height:236px!important;
  padding:0!important;
  border:1px solid var(--dash-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(15,35,65,.055)!important;
  overflow:hidden!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>h2{
  margin:0!important;
  padding:28px 28px 0!important;
  color:var(--dash-ink)!important;
  font-size:21px!important;
  line-height:1.25!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.empty,
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.list,
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>ul,
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>p:not(.empty){
  margin:0!important;
  padding:26px 28px 28px!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.empty{
  min-height:155px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  color:var(--dash-muted)!important;
  line-height:1.65!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item{
  margin:0 28px!important;
  padding:15px 0!important;
  border-bottom:1px solid #edf2f7!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item:last-child{border-bottom:0!important}

/* Dashboard configurator: no overlapping controls, labels or descriptions. */
body.app-body #dashboardConfig{
  padding:28px!important;
  border:1px solid var(--dash-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(15,35,65,.06)!important;
}
body.app-body #dashboardConfig .dashboard-config-toolbar{display:flex!important;align-items:center!important;gap:16px!important;margin:22px 0 26px!important}
body.app-body #dashboardConfig .dashboard-widget-search{flex:1 1 360px!important;min-width:0!important}
body.app-body #dashboardConfig .dashboard-widget-search input{width:100%!important;min-height:46px!important;background:#fff!important;color:var(--dash-ink)!important;border:1px solid var(--dash-line)!important;border-radius:12px!important}
body.app-body #dashboardConfig .dashboard-widget-groups{display:grid!important;gap:30px!important}
body.app-body #dashboardConfig .dashboard-widget-group h3{margin:0 0 14px!important;color:var(--dash-ink)!important;font-size:13px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.app-body #dashboardConfig .dashboard-widget-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.app-body #dashboardConfig .dashboard-picker-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:20px!important;
  min-height:122px!important;
  padding:20px 22px!important;
  border:1px solid var(--dash-line)!important;
  border-radius:16px!important;
  background:#fff!important;
}
body.app-body #dashboardConfig .dashboard-picker-main{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:start!important;gap:16px!important;min-width:0!important}
body.app-body #dashboardConfig .dashboard-picker-icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#eef5ff!important;color:var(--dash-blue)!important;font-weight:800!important}
body.app-body #dashboardConfig .dashboard-picker-copy{display:grid!important;gap:6px!important;min-width:0!important}
body.app-body #dashboardConfig .dashboard-picker-copy strong{color:var(--dash-ink)!important;font-size:16px!important;line-height:1.3!important}
body.app-body #dashboardConfig .dashboard-picker-copy small{color:var(--dash-muted)!important;font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
body.app-body #dashboardConfig .dashboard-picker-controls{display:grid!important;grid-template-columns:auto 158px!important;align-items:center!important;gap:16px!important;min-width:228px!important}
body.app-body #dashboardConfig .dashboard-picker-controls select{width:158px!important;min-width:158px!important;min-height:44px!important;background:#fff!important;color:var(--dash-ink)!important;border:1px solid var(--dash-line)!important;border-radius:11px!important;padding:0 38px 0 14px!important}
body.app-body #dashboardConfig .dashboard-switch{flex:0 0 auto!important}
body.app-body #dashboardConfig .actions{display:flex!important;justify-content:space-between!important;align-items:end!important;gap:20px!important;flex-wrap:wrap!important;margin-top:28px!important;padding-top:24px!important;border-top:1px solid #edf2f7!important}
body.app-body #dashboardConfig .actions form{display:flex!important;align-items:end!important;gap:14px!important;flex-wrap:wrap!important}

@media(max-width:1180px){
 body.app-body #personalDashboard .dashboard-cockpit-header{grid-template-columns:1fr!important;gap:28px!important}
 body.app-body #dashboardConfig .dashboard-widget-picker{grid-template-columns:1fr!important}
}
@media(max-width:760px){
 body.app-body #personalDashboard .dashboard-cockpit-header{padding:26px 22px!important}
 body.app-body #personalDashboard[data-editable="0"] .personal-dashboard-grid{grid-template-columns:1fr!important}
 body.app-body #dashboardConfig{padding:20px!important}
 body.app-body #dashboardConfig .dashboard-picker-row{grid-template-columns:1fr!important;align-items:start!important}
 body.app-body #dashboardConfig .dashboard-picker-controls{grid-template-columns:auto minmax(0,1fr)!important;min-width:0!important;width:100%!important}
 body.app-body #dashboardConfig .dashboard-picker-controls select{width:100%!important;min-width:0!important}
}

/* Phase 7 – persönliches Cockpit: robuste Eintragsformatierung ohne Überlagerungen */
body.app-body #personalDashboard[data-editable="0"] .personal-dashboard-grid{
  align-items:start!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget{
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>h2{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.list{
  display:grid!important;
  gap:0!important;
  min-width:0!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item,
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget a.list-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:10px 18px!important;
  min-width:0!important;
  width:auto!important;
  text-decoration:none!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item>div{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item strong,
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item span{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item strong{
  line-height:1.35!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item span{
  line-height:1.45!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item time{
  display:block!important;
  min-width:max-content!important;
  white-space:nowrap!important;
  text-align:right!important;
  line-height:1.4!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>ul{
  display:grid!important;
  gap:10px!important;
  list-style:none!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>ul li{
  min-width:0!important;
  padding:10px 0!important;
  border-bottom:1px solid #edf2f7!important;
  line-height:1.5!important;
  overflow-wrap:anywhere!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>ul li:last-child{
  border-bottom:0!important;
}
body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.btn{
  margin:0 28px 28px!important;
  max-width:calc(100% - 56px)!important;
  white-space:normal!important;
  text-align:center!important;
}
body.app-body #personalDashboard .dashboard-cockpit-datetime{
  grid-template-columns:auto auto!important;
  justify-content:start!important;
  align-items:baseline!important;
  column-gap:14px!important;
  row-gap:8px!important;
}
body.app-body #personalDashboard .dashboard-cockpit-datetime>span[aria-hidden]{
  display:none!important;
}
body.app-body #personalDashboard .dashboard-cockpit-copy,
body.app-body #personalDashboard .dashboard-cockpit-side,
body.app-body #personalDashboard .dashboard-weather,
body.app-body #personalDashboard .dashboard-weather-copy{
  min-width:0!important;
}

@media(max-width:900px){
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item,
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget a.list-item{
    grid-template-columns:1fr!important;
  }
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item time{
    min-width:0!important;
    white-space:normal!important;
    text-align:left!important;
  }
}
@media(max-width:520px){
  body.app-body #personalDashboard .dashboard-cockpit-datetime{
    grid-template-columns:1fr!important;
  }
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>h2{
    padding:22px 20px 0!important;
  }
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.empty,
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.list,
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>ul,
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>p:not(.empty){
    padding:20px!important;
  }
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget .list-item{
    margin:0 20px!important;
  }
  body.app-body #personalDashboard[data-editable="0"] .dashboard-widget>.btn{
    width:calc(100% - 40px)!important;
    max-width:none!important;
    margin:0 20px 20px!important;
  }
}

/* ===== SOURCE: ui16.css ===== */
/* CodenameMatrix v2.1.0 – Einsatzverwaltung Complete */
:root{--cm-blue:#0967df;--cm-blue-hover:#0758c2;--cm-ink:#172033;--cm-muted:#667085;--cm-line:#e6ebf2;--cm-soft:#f7f9fc;--cm-danger:#d92d20;--cm-success:#067647;--cm-warning:#b54708}
.cm-shift-toolbar{padding:24px;margin-bottom:22px;border:1px solid var(--cm-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(16,24,40,.05)}
.cm-shift-toolbar-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.cm-shift-toolbar-main h2{margin:3px 0 0;font-size:24px;color:var(--cm-ink)}.cm-kicker{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--cm-blue)}
.cm-shift-filters{display:grid;grid-template-columns:minmax(240px,2fr) minmax(170px,1fr) minmax(190px,1fr) auto;gap:14px;align-items:end;padding:18px;border:1px solid var(--cm-line);border-radius:14px;background:var(--cm-soft)}
.cm-shift-filters label{display:grid;gap:7px;margin:0}.cm-shift-filters label>span{font-size:12px;font-weight:750;color:#475467}.cm-shift-filters input,.cm-shift-filters select{height:42px;background:#fff!important;color:var(--cm-ink)!important;border:1px solid #d0d7e2!important;border-radius:10px!important;box-shadow:none!important}.cm-shift-filters input:focus,.cm-shift-filters select:focus{border-color:var(--cm-blue)!important;box-shadow:0 0 0 3px rgba(9,103,223,.12)!important}
.cm-filter-actions{display:flex;gap:8px}.cm-filter-actions>*{height:42px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.cm-month-nav{display:flex;align-items:center;gap:9px;margin-top:14px}.cm-icon-btn{min-width:42px;padding-left:0!important;padding-right:0!important}.cm-result-count{margin-left:auto;font-size:13px;color:var(--cm-muted);font-weight:650}
.cm-deployment-calendar{gap:12px}.cm-deployment-calendar .calendar-day{min-height:150px;padding:0 10px 10px;border:1px solid var(--cm-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 16px rgba(16,24,40,.035)}.cm-deployment-calendar .calendar-day>header{margin:0 -10px 9px;padding:10px 11px;border-bottom:1px solid #eef2f6;background:#fbfcfe;border-radius:14px 14px 0 0;color:#344054}.cm-deployment-calendar .calendar-day.today{border-color:#9ec5ff!important;box-shadow:0 0 0 3px rgba(9,103,223,.08)}.cm-deployment-calendar .calendar-day.today>header{background:#eff6ff;color:#0758c2}
.cm-deployment-event{display:block;margin:7px 0;padding:9px 10px!important;border:1px solid #e4eaf2!important;border-left:4px solid var(--cm-blue)!important;border-radius:9px!important;background:#fff!important;color:var(--cm-ink)!important;box-shadow:0 2px 8px rgba(16,24,40,.05);line-height:1.25;transition:.16s ease}.cm-deployment-event:hover{transform:translateY(-1px);border-color:#b9c9df!important;box-shadow:0 7px 18px rgba(16,24,40,.09);text-decoration:none}.cm-deployment-event strong{font-size:12.5px;color:var(--cm-ink)!important}
.deployment-form-heading,.deployment-hero,.deployment-card,.employee-disposition-card,.assignment-dropdown{border-color:var(--cm-line)!important;background:#fff!important;box-shadow:0 8px 24px rgba(16,24,40,.045)!important}.deployment-form-heading{padding:22px!important;border-radius:16px!important}.deployment-collapsible{border-radius:16px!important;overflow:hidden}.deployment-collapsible>summary{padding:18px 20px!important;background:#fbfcfe!important;color:var(--cm-ink)!important;border-bottom:1px solid transparent}.deployment-collapsible[open]>summary{border-bottom-color:var(--cm-line)}.deployment-collapsible .details-body{padding:22px!important}
.employee-disposition-list{gap:14px!important}.employee-disposition-card{border-radius:14px!important;transition:.16s ease}.employee-disposition-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(16,24,40,.08)!important}.employee-disposition-card.is-available{border-left:4px solid #12b76a!important}.employee-disposition-card.is-warning{border-left:4px solid #f79009!important}.employee-disposition-card.is-blocked{border-left:4px solid #f04438!important;background:#fffafa!important}.qualification-chip{background:#eff6ff!important;color:#0758c2!important;border:1px solid #cfe1ff!important}
.deployment-savebar{position:sticky;bottom:12px;z-index:8;padding:14px 16px!important;border:1px solid var(--cm-line);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(16,24,40,.12);backdrop-filter:blur(10px)}
.deployment-hero{border-radius:18px!important}.deployment-category-badge,.badge{border-radius:999px!important}.operation-tabs{padding:6px!important;border:1px solid var(--cm-line);border-radius:13px;background:#fff}.operation-tabs a{border-radius:9px!important;color:#475467!important}.operation-tabs a.active,.operation-tabs a:hover{background:#eff6ff!important;color:#0758c2!important}
.deployment-card{border-radius:16px!important}.deployment-card-title h3{color:var(--cm-ink)!important}.deployment-data dt{color:var(--cm-muted)!important}.deployment-data dd{color:var(--cm-ink)!important}
body select,body select option{background:#fff!important;color:var(--cm-ink)!important}
@media(max-width:1050px){.cm-shift-filters{grid-template-columns:1fr 1fr}.cm-filter-actions{grid-column:1/-1}}
@media(max-width:680px){.cm-shift-toolbar{padding:16px}.cm-shift-toolbar-main{align-items:stretch;flex-direction:column}.cm-shift-toolbar-main .actions,.cm-shift-toolbar-main .btn{width:100%}.cm-shift-filters{grid-template-columns:1fr;padding:14px}.cm-filter-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.cm-month-nav{flex-wrap:wrap}.cm-result-count{width:100%;margin:4px 0 0}.cm-deployment-mobile{gap:12px}.mobile-calendar-day{border:1px solid var(--cm-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 18px rgba(16,24,40,.05)}}

/* ===== SOURCE: ui17.css ===== */
/* v2.1.1 – mobile Navigation, Kalenderkopf und ausgeblendete Zeittickets */
.sidebar-mobile-close,.sidebar-backdrop{display:none}
@media(max-width:980px){
  .sidebar{position:fixed!important;inset:0 auto 0 0!important;z-index:1002!important;padding-top:58px!important;overflow-y:auto!important}
  .sidebar-mobile-close{display:grid;place-items:center;position:absolute;top:12px;right:12px;width:40px;height:40px;border:1px solid #d9e2ec;border-radius:11px;background:#fff;color:#24324a;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.08);z-index:2}
  .sidebar-mobile-close:hover,.sidebar-mobile-close:focus-visible{background:#f4f7fb;color:#0758c2;border-color:#b9d2fb;outline:none}
  .sidebar-backdrop{display:block;position:fixed;inset:0;z-index:1001;border:0;background:rgba(15,23,42,.36);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
  body.sidebar-open{overflow:hidden}
  body.sidebar-open .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto}
}
.calendar-controls .calendar-nav{display:grid!important;grid-template-columns:auto auto minmax(180px,1fr) auto;align-items:center;width:100%;gap:10px}
.calendar-period-title{justify-self:center;text-align:center;color:#17233a!important;font-size:18px;font-weight:750;letter-spacing:-.015em;white-space:nowrap}
@media(max-width:680px){
  .calendar-controls .calendar-nav{grid-template-columns:auto 1fr auto}
  .calendar-controls .calendar-nav>a:nth-child(2){grid-column:1/-1;grid-row:2;justify-self:center}
  .calendar-period-title{grid-column:2;grid-row:1;font-size:17px;white-space:normal}
  .calendar-controls .calendar-nav>a:first-child{grid-column:1;grid-row:1}
  .calendar-controls .calendar-nav>a:last-child{grid-column:3;grid-row:1}
}

/* Phase 9 – Cockpit-Konfiguration: klare Aktivierungsfelder statt Schieberegler */
#personalDashboard .dashboard-config-pro .dashboard-picker-row{
  grid-template-columns:minmax(0,1fr) 84px!important;
  min-height:146px!important;
  padding:22px 24px!important;
  gap:24px!important;
}
#personalDashboard .dashboard-config-pro .dashboard-picker-main{
  grid-template-columns:56px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}
#personalDashboard .dashboard-config-pro .dashboard-picker-icon{
  width:56px!important;
  height:56px!important;
  border-radius:15px!important;
  font-size:22px!important;
}
#personalDashboard .dashboard-config-pro .dashboard-picker-copy{
  gap:8px!important;
  padding-top:2px!important;
}
#personalDashboard .dashboard-config-pro .dashboard-picker-copy strong{
  font-size:19px!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
}
#personalDashboard .dashboard-config-pro .dashboard-picker-copy small{
  max-width:44ch!important;
  font-size:14px!important;
  line-height:1.55!important;
}
#personalDashboard .dashboard-config-pro .dashboard-picker-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:84px!important;
  min-width:84px!important;
  align-self:stretch!important;
}
#personalDashboard .dashboard-checkbox-control{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:76px!important;
  min-width:76px!important;
  cursor:pointer!important;
  user-select:none!important;
}
#personalDashboard .dashboard-checkbox-control input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
#personalDashboard .dashboard-checkbox-box{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  border:2px solid #b7c6d9!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
#personalDashboard .dashboard-checkbox-control input:checked + .dashboard-checkbox-box{
  border-color:#1769df!important;
  background:#1769df!important;
  box-shadow:0 5px 13px rgba(23,105,223,.22)!important;
}
#personalDashboard .dashboard-checkbox-control input:checked + .dashboard-checkbox-box::after{
  content:'✓'!important;
  color:#fff!important;
  font-size:24px!important;
  font-weight:800!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
}
#personalDashboard .dashboard-checkbox-control input:focus-visible + .dashboard-checkbox-box{
  outline:3px solid rgba(23,105,223,.24)!important;
  outline-offset:3px!important;
}
#personalDashboard .dashboard-checkbox-control:hover .dashboard-checkbox-box{
  border-color:#1769df!important;
}
#personalDashboard .dashboard-checkbox-label{
  color:#42516a!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
@media(max-width:720px){
  #personalDashboard .dashboard-config-pro .dashboard-picker-row{
    grid-template-columns:minmax(0,1fr) 72px!important;
    grid-template-areas:'main controls'!important;
    min-height:132px!important;
    padding:18px!important;
    gap:14px!important;
  }
  #personalDashboard .dashboard-config-pro .dashboard-picker-main{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:13px!important;
  }
  #personalDashboard .dashboard-config-pro .dashboard-picker-icon{
    width:48px!important;
    height:48px!important;
    font-size:19px!important;
  }
  #personalDashboard .dashboard-config-pro .dashboard-picker-copy strong{font-size:17px!important}
  #personalDashboard .dashboard-config-pro .dashboard-picker-copy small{font-size:13px!important;line-height:1.45!important}
  #personalDashboard .dashboard-config-pro .dashboard-picker-controls{width:72px!important;min-width:72px!important}
  #personalDashboard .dashboard-checkbox-control{width:68px!important;min-width:68px!important}
}

/* Phase 10 – Korrektur der Cockpit-Konfigurationskarten */
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 64px!important;
  align-items:center!important;
  column-gap:24px!important;
  min-height:146px!important;
  padding:22px 24px!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-main{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  min-width:0!important;
  width:100%!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:7px!important;
  min-width:0!important;
  width:100%!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-copy strong,
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-copy small{
  width:100%!important;
  max-width:none!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-copy strong{
  font-size:19px!important;
  line-height:1.25!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-copy small{
  font-size:14px!important;
  line-height:1.5!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-picker-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-template-columns:none!important;
  gap:0!important;
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  align-self:stretch!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-checkbox-control{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
body.app-body #personalDashboard #dashboardConfig .dashboard-checkbox-label{
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.2!important;
}
@media(max-width:720px){
  body.app-body #personalDashboard #dashboardConfig .dashboard-picker-row{
    grid-template-columns:minmax(0,1fr) 56px!important;
    grid-template-areas:none!important;
    column-gap:14px!important;
    padding:18px!important;
  }
  body.app-body #personalDashboard #dashboardConfig .dashboard-picker-main{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:13px!important;
  }
  body.app-body #personalDashboard #dashboardConfig .dashboard-picker-controls,
  body.app-body #personalDashboard #dashboardConfig .dashboard-checkbox-control{
    width:56px!important;
    min-width:56px!important;
    max-width:56px!important;
  }
}


/* Phase 16 – Personalstammdaten: helle Auswahlfelder für Qualifikationen und Führerscheine */
body.app-body .employee-master-form .checkbox-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:10px 12px;
}
body.app-body .employee-master-form .checkbox-grid label.form-check{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  margin:0;
  padding:10px 12px;
  border:1px solid #d8e1eb!important;
  border-radius:10px;
  background:#fff!important;
  color:#253247!important;
  font-weight:650;
  line-height:1.35;
  box-shadow:none;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
body.app-body .employee-master-form .checkbox-grid label.form-check:hover{
  background:#f7faff!important;
  border-color:#b8c9dd!important;
}
body.app-body .employee-master-form .checkbox-grid label.form-check:has(input:checked){
  background:#eef6ff!important;
  border-color:#73a8e8!important;
  color:#174f93!important;
  box-shadow:inset 0 0 0 1px rgba(8,103,215,.08);
}
body.app-body .employee-master-form .checkbox-grid label.form-check input[type="checkbox"]{
  flex:0 0 auto;
  width:18px!important;
  height:18px!important;
  margin:0;
  accent-color:#0867d7;
}
body.app-body .employee-master-form fieldset>label:not(.check):not(.form-check){
  color:#253247;
}
body.app-body .employee-profile-page .qualification-pill{
  background:#eef7f1!important;
  color:#207342!important;
  border-color:#cfe7d8!important;
  box-shadow:none!important;
}
@media(max-width:700px){
  body.app-body .employee-master-form .checkbox-grid{grid-template-columns:1fr}
}
