*{box-sizing:border-box;margin:0;padding:0;font-family:"Salesforce Sans",-apple-system,"Segoe UI",Roboto,sans-serif}
body{background:#f3f7fb;color:#16325c}
.sf-header{background:#0176d3;display:flex;align-items:center;height:60px;padding:0 1.5rem;position:sticky;top:0;z-index:10}
.sf-brand{margin-right:2rem;display:flex;align-items:center}
.sf-brand .sub{background:rgba(255,255,255,.25);padding:.15rem .5rem;border-radius:4px;font-size:.65rem;margin-left:.4rem;vertical-align:middle}
.layout{display:flex;min-height:calc(100vh - 60px)}
.sidebar{width:230px;flex-shrink:0;background:#fff;border-right:1px solid #e5e9f0;padding:.8rem 0;position:sticky;top:60px;height:calc(100vh - 60px);overflow-y:auto}
.sidebar a{display:flex;align-items:center;gap:.6rem;padding:.65rem 1.2rem;color:#16325c;text-decoration:none;font-size:.9rem;font-weight:600;border-left:3px solid transparent}
.sidebar a:hover{background:#f0f6fd;color:#0176d3}
.sidebar a.on{background:#f0f6fd;color:#0176d3;border-left-color:#0176d3}
.sidebar .grp{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:#8ea3c0;padding:1rem 1.2rem .4rem}
#me{margin-left:auto;color:#fff;font-size:.85rem;display:flex;align-items:center;gap:.6rem}
#me img{width:32px;height:32px;border-radius:50%}
#main{padding:1.5rem;flex:1;min-width:0}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}
.kpi{background:#fff;border-radius:8px;box-shadow:0 2px 2px rgba(0,0,0,.07);padding:1.2rem;border-top:4px solid #0176d3}
.kpi b{font-size:2rem;color:#0176d3;display:block}
.kpi span{font-size:.8rem;color:#54698d;text-transform:uppercase;letter-spacing:.05em}
.panel{background:#fff;border-radius:8px;box-shadow:0 2px 2px rgba(0,0,0,.07);padding:1.4rem;margin-bottom:1.5rem}
.panel h2{font-size:1.05rem;margin-bottom:1rem;border-bottom:1px solid #e5e9f0;padding-bottom:.8rem}
table{width:100%;border-collapse:collapse;font-size:.88rem}
th{background:#fafbfe;text-align:left;padding:.65rem .8rem;border-bottom:2px solid #e5e9f0;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#54698d}
td{padding:.65rem .8rem;border-bottom:1px solid #eef1f6}
tr:hover td{background:#f0f6fd;cursor:pointer}
.pill{display:inline-block;padding:.15rem .7rem;border-radius:999px;font-size:.75rem;font-weight:700}
.pill.Neu,.pill.Offen{background:#fce9d6;color:#b35a00}
.pill.Angenommen{background:#d9f2e6;color:#0c7a43}
.pill.Abgelehnt,.pill.Geschlossen{background:#fbe3e5;color:#c22a33}
.pill.Whitelisted{background:#e0f2fd;color:#0176d3}
.pill.Mitglied{background:#e9eafc;color:#4a4ab8}
.detail{background:#fff;border-radius:8px;box-shadow:0 2px 2px rgba(0,0,0,.07);overflow:hidden}
.detail-head{padding:1.4rem;border-bottom:1px solid #e5e9f0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.detail-head h2{font-size:1.3rem}
.detail-body{display:grid;grid-template-columns:1fr 1fr;gap:0 2rem;padding:1.4rem}
.field{margin-bottom:1.1rem}
.field label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#54698d;margin-bottom:.25rem}
.field .val{white-space:pre-wrap;font-size:.93rem}
.btn{background:#0176d3;color:#fff;border:0;padding:.5rem 1.2rem;border-radius:5px;font-weight:600;cursor:pointer;font-size:.88rem}
.btn.ok{background:#2e844a}.btn.no{background:#c22a33}.btn.ghost{background:#e9eafc;color:#16325c}
.back{color:#0176d3;text-decoration:none;font-size:.9rem;display:inline-block;margin-bottom:1rem}
.act{font-size:.85rem;padding:.5rem 0;border-bottom:1px solid #eef1f6;color:#54698d}
@media(max-width:800px){.detail-body{grid-template-columns:1fr}.layout{flex-direction:column}.sidebar{width:100%;height:auto;position:static;display:flex;flex-wrap:wrap;border-right:0;border-bottom:1px solid #e5e9f0}.sidebar a{border-left:0;border-bottom:2px solid transparent}.sidebar a.on{border-bottom-color:#0176d3}}

.swatches{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.5rem}
.swatch{width:30px;height:30px;border-radius:8px;cursor:pointer;border:2px solid transparent;transition:transform .15s,border-color .15s}
.swatch:hover{transform:scale(1.15)}
.swatch.sel{border-color:#16325c}

body.dark{background:#1b1e26;color:#e8e9eb}
body.dark .panel,body.dark .detail,body.dark .box{background:#23272f;border-color:#31363f}
body.dark .detail-body .field label{color:#8ea3c0}
body.dark .field input,body.dark .field select,body.dark .field textarea{background:#1b1e26;color:#e8e9eb;border-color:#3a4048}
body.dark table td,body.dark table th{border-color:#31363f;color:#e8e9eb}
body.dark .grp{color:#5f728c}
body.dark .setnav,body.dark #nav{background:#23272f;border-color:#31363f}
body.dark .setnav a,body.dark #nav a{color:#b6c2d4}
body.dark .setnav a:hover,body.dark .setnav a.on,body.dark #nav a:hover,body.dark #nav a.on{background:#1a2433;color:#5fb2ff}
body.dark h2,body.dark .cardtitle{color:#e8e9eb}
body.dark .act,body.dark .back{color:#b6c2d4}
body.dark .sticky{background:#1b1e26}

.cpick{position:relative}
.cpick>input{width:100%;padding:.6rem;border:1px solid #c9d7e3;border-radius:6px;font-size:.9rem;cursor:pointer;background:#fff}
.cpick .drop{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #c9d7e3;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.15);z-index:50;max-height:240px;flex-direction:column}
.cpick.open .drop{display:flex}
.cpick .srch{padding:.6rem;border-bottom:1px solid #eef1f6}
.cpick .srch input{width:100%;padding:.5rem .7rem;border:1px solid #c9d7e3;border-radius:6px;font-size:.85rem}
.cpick .list{overflow-y:auto;padding:.3rem 0}
.cpick .opt{padding:.45rem .8rem;cursor:pointer;font-size:.85rem}
.cpick .opt:hover{background:#f0f6fd;color:#0176d3}
body.dark .cpick>input,body.dark .cpick .drop{background:#23272f;border-color:#3a4048;color:#e8e9eb}
.mwrap{position:fixed;inset:0;background:rgba(10,15,25,.55);backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center}
.mbox{background:#fff;border-radius:12px;padding:1.6rem;width:380px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.mbox h3{margin:0 0 1rem;font-size:1.05rem}
.mbox input{width:100%;padding:.7rem;border:1px solid #c9d7e3;border-radius:6px;font-size:.92rem}
.toast{position:fixed;bottom:1.4rem;left:50%;transform:translateX(-50%);background:#16325c;color:#fff;padding:.7rem 1.4rem;border-radius:999px;z-index:101;box-shadow:0 8px 24px rgba(0,0,0,.3);font-size:.88rem}
body.dark .mbox{background:#23272f;color:#e8e9eb}
body.dark .mbox input,body.dark .mbox select{background:#1b1e26;color:#e8e9eb;border-color:#3a4048}
.dpick{position:absolute;z-index:60;background:#fff;border:1px solid #c9d7e3;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:.8rem;width:250px;top:calc(100% + 4px)}
.dhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.dhead button{background:none;border:none;font-size:1.1rem;cursor:pointer;color:#0176d3}
.dgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ddow{font-size:.7rem;color:#54698d;text-align:center;padding:.2rem 0;font-weight:700}
.dcell{text-align:center;padding:.3rem 0;font-size:.8rem;cursor:pointer;border-radius:6px}
.dcell:hover{background:#e8f4fd;color:#0176d3}
.dtime{display:flex;gap:.3rem;align-items:center;justify-content:center;margin-top:.6rem}
.dtime select{padding:.3rem;border:1px solid #c9d7e3;border-radius:5px}
.dfoot{display:flex;justify-content:space-between;margin-top:.6rem}
body.dark .dpick{background:#23272f;border-color:#3a4048;color:#e8e9eb}
body.dark .dcell:hover{background:#1a2433}
.dcell:hover{background:#e8f4fd!important;color:#0176d3}
body.dark .dcell:hover{background:#1a2433!important}
/* ===== DARKMODE KOMPLETT ===== */
body.dark{background:#11141a;color:#e8e9eb}
body.dark .panel{background:#1b1e26;border-color:#2a2e38;box-shadow:0 2px 8px rgba(0,0,0,.3)}
body.dark .panel h2{color:#e8e9eb;border-color:#2a2e38}
body.dark .panel h3{color:#8ea3c0}
body.dark .detail,body.dark .detail-head,body.dark .detail-body{background:#1b1e26;border-color:#2a2e38}
body.dark .detail-head{background:#23272f;border-bottom-color:#2a2e38}
body.dark .detail-head h2{color:#e8e9eb}
body.dark table th{background:#23272f;color:#8ea3c0;border-color:#2a2e38}
body.dark table td{border-color:#23272f;color:#c8ccd2}
body.dark table tr:hover td{background:#23272f}
body.dark .field label{color:#8ea3c0}
body.dark .field .val{color:#e8e9eb}
body.dark input,body.dark select,body.dark textarea{background:#14171d!important;color:#e8e9eb!important;border-color:#3a4048!important}
body.dark input::placeholder,body.dark textarea::placeholder{color:#5a6472}
body.dark .act{background:#23272f;color:#c8ccd2;border-color:#2a2e38}
body.dark .act small,body.dark .act div{color:#8ea3c0}
body.dark .btn.ghost{background:#2a2e38;color:#c8ccd2;border-color:#3a4048}
body.dark .btn.ghost:hover{background:#3a4048}
body.dark .pill{background:#2a2e38;color:#8ea3c0}
body.dark .sidebar,body.dark .sf-header{background:#14171d;border-color:#23272f}
body.dark .nav a{color:#8ea3c0}
body.dark .nav a:hover,body.dark .nav a.sel{background:#23272f;color:#e8e9eb}
body.dark .swatch{border-color:#3a4048}
body.dark .swatch.sel{outline-color:#1fc8f0}
body.dark .mbox{background:#1b1e26;color:#e8e9eb;border:1px solid #3a4048}
body.dark .mbox h3{color:#e8e9eb}
body.dark .abox{background:#1b1e26;color:#e8e9eb}
body.dark .stat-card{background:#23272f;border-color:#2a2e38}
body.dark .stat-card b{color:#e8e9eb}
body.dark .catrow,body.dark .catcard{background:#23272f;border-color:#2a2e38}
body.dark .phl{background:#23272f;border-color:#2a2e38}
body.dark .phc{background:#2a2e38;color:#8ea3c0;border-color:#3a4048}
body.dark .phc:hover{background:#1fc8f0;color:#0a0e15}
body.dark .abtype{background:#23272f!important;border-color:#3a4048!important;color:#e8e9eb}
body.dark .abtype:hover{border-color:#1fc8f0!important}
body.dark .abtype.sel{background:#0d2740!important;border-color:#1fc8f0!important}
body.dark ::-webkit-scrollbar-thumb{background:#3a4048}
body.dark a{color:#1fc8f0}
body.dark .back{color:#1fc8f0}
body.dark hr{border-color:#2a2e38}

/* ===== CRM: Listen-Toolbar & 360-Akte ===== */
.lbar{display:flex;gap:.6rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap}
.lsearch{flex:1;min-width:220px;padding:.55rem .9rem;border:1px solid #c9d7e3;border-radius:6px;font-size:.88rem;background:#fff;color:#16325c}
.lsearch:focus{outline:none;border-color:#0176d3;box-shadow:0 0 0 3px rgba(1,118,211,.12)}
.lfilter{padding:.55rem .7rem;border:1px solid #c9d7e3;border-radius:6px;font-size:.85rem;background:#fff;color:#16325c;cursor:pointer}
.cnt{color:#8ea3c0;font-size:.8rem;white-space:nowrap}
th.sort{cursor:pointer;user-select:none}
th.sort:hover{color:#0176d3}
.twho{display:flex;align-items:center;gap:.65rem}
.tav{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#e5e9f0}
.tsub{font-size:.72rem;color:#8ea3c0}
.rchip{display:inline-block;padding:.1rem .55rem;border-radius:999px;background:#e9eafc;color:#4a4ab8;font-size:.72rem;font-weight:600;margin-right:.25rem}
.did{font-family:ui-monospace,Consolas,monospace;font-size:.75rem;color:#54698d;background:#f0f6fd;padding:.15rem .45rem;border-radius:4px}
.empty{color:#8ea3c0;font-size:.85rem;padding:.8rem 0}
.kchips{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.7rem;margin:0 1.4rem 1.4rem}
.kchip{background:#f8fafd;border:1px solid #e5e9f0;border-radius:8px;padding:.8rem .9rem;display:flex;gap:.7rem;align-items:center}
.kchip .ki{font-size:1.2rem}
.kchip b{font-size:1.15rem;display:block;color:#16325c;line-height:1.1}
.kchip i{font-style:normal;font-size:.7rem;color:#8ea3c0;text-transform:uppercase;letter-spacing:.04em}
body.dark .tav{background:#2a2e38}
body.dark .did{background:#23272f;color:#8ea3c0}
body.dark .rchip{background:#2a2e38;color:#b6c2d4}
body.dark .kchip{background:#23272f;border-color:#2a2e38}
body.dark .kchip b{color:#e8e9eb}

/* ===== Team-Karten ===== */
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.tcard{background:#fff;border:1px solid #e5e9f0;border-radius:10px;padding:1.1rem .9rem;text-align:center;display:flex;flex-direction:column;gap:.45rem;align-items:center;cursor:pointer;transition:box-shadow .15s,transform .15s}
.tcard:hover{box-shadow:0 8px 24px rgba(1,118,211,.13);transform:translateY(-2px)}
.tcard.locked{opacity:.55}
.tc-top{position:relative}
.tc-av{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#e5e9f0}
.tc-dot{position:absolute;bottom:2px;right:2px;width:14px;height:14px;border-radius:50%;border:2.5px solid #fff}
.tc-rank{font-size:.78rem;color:#0176d3;font-weight:700}
.tc-status{font-size:.72rem;font-weight:700;padding:.18rem .7rem;border-radius:999px}
.tc-susp{font-size:.72rem;font-weight:700;color:#c22a33}
.tc-duty{font-size:.72rem;color:#0c7a43}
.tc-meta{font-size:.68rem;color:#8ea3c0}
.tc-btn{font-size:.72rem;padding:.3rem .8rem;margin-top:.2rem}
body.dark .tcard{background:#1b1e26;border-color:#2a2e38}
body.dark .tc-av{background:#2a2e38}
body.dark .tc-dot{border-color:#1b1e26}

/* ===== Header Profil-Menü ===== */
.mebox{position:relative}
.me-pill{display:flex;align-items:center;gap:.55rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:.3rem .85rem .3rem .3rem;cursor:pointer;color:#fff;transition:background .15s;font-family:inherit}
.me-pill:hover{background:rgba(255,255,255,.22)}
.me-av{position:relative;display:inline-flex}
.me-av img{width:32px;height:32px;border-radius:50%;object-fit:cover;display:block}
.me-dot{position:absolute;bottom:-1px;right:-1px;width:11px;height:11px;border-radius:50%;border:2px solid #0176d3}
.me-txt{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.me-txt b{font-size:.82rem;color:#fff;font-weight:700}
.me-txt small{font-size:.66rem;color:rgba(255,255,255,.68)}
.me-chev{font-size:.62rem;color:rgba(255,255,255,.6);margin-left:.1rem}
.me-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);background:#fff;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.22);padding:.45rem;min-width:185px;z-index:60}
.me-menu.open{display:block}
.me-mtitle{font-size:.66rem;text-transform:uppercase;letter-spacing:.06em;color:#8ea3c0;font-weight:700;padding:.35rem .6rem .25rem}
.me-menu button{display:flex;align-items:center;gap:.55rem;width:100%;background:none;border:none;padding:.5rem .6rem;border-radius:8px;font-size:.85rem;color:#16325c;cursor:pointer;text-align:left;font-family:inherit}
.me-menu button:hover{background:#f0f6fd}
.me-menu button.on{background:#e8f4fd;font-weight:700}
.me-menu button i{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.me-mdiv{height:1px;background:#eef1f6;margin:.35rem 0}
.me-out{display:flex;align-items:center;gap:.55rem;padding:.5rem .6rem;border-radius:8px;font-size:.85rem;color:#c22a33;text-decoration:none}
.me-out:hover{background:#fbe3e5}
body.dark .me-menu{background:#23272f;border:1px solid #3a4048}
body.dark .me-menu button{color:#e8e9eb}
body.dark .me-menu button:hover{background:#2a2e38}
body.dark .me-menu button.on{background:#1a2433}
body.dark .me-mdiv{background:#2a2e38}

/* ===== Ticket-Chat ===== */
.chatbox{max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:.7rem;padding:.4rem .2rem}
.chatrow{display:flex;gap:.65rem;align-items:flex-start}
.chatrow.bot{background:#f0f6fd;border-radius:8px;padding:.5rem;margin:0 -.5rem}
.cav{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#e5e9f0}
.cmain{min-width:0}
.cmeta{display:flex;gap:.5rem;align-items:baseline}
.cmeta b{font-size:.85rem}
.cmeta span{font-size:.7rem;color:#8ea3c0}
.cb{font-size:.88rem;white-space:pre-wrap;word-break:break-word;margin-top:.1rem}
.cemb{color:#8ea3c0;font-size:.78rem;font-style:italic}
.catt{display:inline-block;font-size:.75rem;color:#0176d3;margin-right:.6rem}
.chatbar{border-top:1px solid #e5e9f0;margin-top:.8rem;padding-top:.8rem}
.chatbar textarea{width:100%;padding:.6rem;border:1px solid #c9d7e3;border-radius:6px;font-size:.88rem;font-family:inherit;resize:vertical;background:#fff;color:#16325c}
.psel{padding:.5rem .7rem;border:1px solid #c9d7e3;border-radius:5px;font-size:.82rem;background:#fff;cursor:pointer;color:#16325c}
.tscript{max-height:420px;overflow:auto;font-size:.75rem;white-space:pre-wrap;background:#f8fafd;padding:.8rem;border-radius:8px;font-family:ui-monospace,Consolas,monospace}
body.dark .chatrow.bot{background:#23272f}
body.dark .tscript{background:#23272f;color:#c8ccd2}
body.dark .chatbar{border-color:#2a2e38}
.swatch[data-v='ffffff'],.swatch[data-v='eceff1'],.swatch[data-v='b0bec5'],.swatch[data-v='ffd36a'],.swatch[data-v='ffdd59'],.swatch[data-v='ce93d8'],.swatch[data-v='4db6ac'],.swatch[data-v='81c784'],.swatch[data-v='7bed9f'],.swatch[data-v='f48fb1'],.swatch[data-v='a1887f'],.swatch[data-v='64b5f6'],.swatch[data-v='ffb347']{border-color:#c9d7e3}
.pill.Ermittlung{background:#e0f2fd;color:#0176d3}
.pill.Abgeschlossen{background:#d9f2e6;color:#0c7a43}

/* ===== Protokoll-Formular ===== */
.pform .psec{border-top:1px solid #eef1f6;padding-top:1rem;margin-top:1.2rem}
.psec-t{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#54698d;font-weight:700;margin-bottom:.9rem}
.pgrid2{display:grid;grid-template-columns:1fr 1fr;gap:0 1.4rem}
.pgrid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 1.4rem}
.pform .field input,.pform .field select,.pform .field textarea{width:100%;padding:.62rem .8rem;border:1px solid #c9d7e3;border-radius:7px;font-size:.9rem;font-family:inherit;background:#fff;color:#16325c}
.pform .field input:focus,.pform .field select:focus,.pform .field textarea:focus{outline:none;border-color:#0176d3;box-shadow:0 0 0 3px rgba(1,118,211,.1)}
.pform .field textarea{resize:vertical}
.dchips{display:flex;gap:.4rem;margin-top:.45rem}
.dchip{font-size:.72rem;font-weight:700;padding:.2rem .6rem;border-radius:999px;background:#e9eafc;color:#4a4ab8;cursor:pointer}
.dchip:hover{background:#0176d3;color:#fff}
@media(max-width:800px){.pgrid2,.pgrid3{grid-template-columns:1fr}}
.field input.locked{background:#f0f6fd!important;color:#54698d;cursor:not-allowed;border-style:dashed!important}
body.dark .field input.locked{background:#23272f!important;color:#8ea3c0}
.ticketline{display:flex;align-items:center;gap:.5rem;background:#fff8e6;border:1px dashed #e6b400;border-radius:8px;padding:.7rem .9rem;margin-top:.8rem;font-size:.85rem;cursor:pointer}
.ticketline input{width:auto!important;cursor:pointer}
body.dark .ticketline{background:#2a2410;border-color:#6b5a10}
.takechip{display:inline-flex;align-items:center;gap:.4rem;background:#fff8e6;color:#8a6100;border:1px solid #f0d48a;border-radius:999px;padding:.42rem .85rem;font-size:.78rem;font-weight:600}
body.dark .takechip{background:#2a2410;color:#e6c65c;border-color:#6b5a10}
.mepanel{border-left:4px solid #0176d3}
.me-head{display:flex;align-items:center;gap:.85rem;padding-bottom:.85rem;border-bottom:1px solid #eef1f6}
.me-sec{margin-top:.95rem}
.me-sec-t{font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;color:#54698d;font-weight:700;margin-bottom:.55rem}
.me-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.me-act{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border:1.5px solid #e5e9f0;border-radius:10px;background:#f8fafc;font-size:1.05rem;cursor:pointer;font-family:inherit;transition:all .15s}
.me-act span{font-size:.82rem;font-weight:600;color:#16325c}
.me-act:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(22,50,92,.12);border-color:#0176d3}
.me-act.ok{border-color:#1db954;background:#e9f9f0}.me-act.no{border-color:#e74c3c;background:#fdf0ef}
.me-act.off{border-color:#f0a500;background:#fff8e6}
body.dark .mepanel{border-left-color:#1fc8f0}
body.dark .me-head{border-color:#2a2e38}
body.dark .me-act{background:#23272f;border-color:#3a4048}
body.dark .me-act span{color:#e8e9eb}
.admwrap{display:grid;grid-template-columns:200px 1fr;gap:1rem;align-items:start}
.admnav{background:linear-gradient(180deg,#1a3560 0%,#12274a 100%);border:none;border-radius:14px;padding:.7rem .55rem;position:sticky;top:1rem;box-shadow:0 8px 24px rgba(18,39,74,.18)}
.admg{font-size:.64rem;text-transform:uppercase;letter-spacing:.1em;color:#7fa8d9;font-weight:700;padding:.8rem .75rem .3rem}
.admi{padding:.5rem .75rem;border-radius:9px;font-size:.84rem;color:#c9dcf5;cursor:pointer;margin-bottom:.15rem;display:flex;align-items:center;gap:.5rem;transition:all .12s}
a.admi{color:#c9dcf5}
.admi:hover{background:rgba(255,255,255,.1);color:#fff;text-decoration:none}
.admi.on{background:#0176d3;color:#fff;font-weight:600;box-shadow:0 4px 10px rgba(1,118,211,.35)}
body.dark .admnav{background:linear-gradient(180deg,#1a3560 0%,#12274a 100%)}
body.dark .admi{color:#c9dcf5}
body.dark .admi:hover{background:rgba(255,255,255,.1);color:#fff}
body.dark .admi.on{background:#0176d3;color:#fff}
@media(max-width:900px){.admwrap{grid-template-columns:1fr}.admnav{position:static;display:flex;flex-wrap:wrap}.admg{width:100%}}

/* Rechte-Matrix */
.pmleg{display:flex;gap:.9rem;flex-wrap:wrap;font-size:.72rem;color:#54698d;margin-bottom:.6rem}
.pmwrap{max-height:52vh;overflow-y:auto;border:1px solid #e5e9f0;border-radius:10px}
.pmtx{width:100%;border-collapse:collapse;font-size:.85rem}
.pmtx thead th{position:sticky;top:0;background:#f0f6fd;padding:.5rem .4rem;font-size:.85rem;z-index:2;border-bottom:1px solid #dbe7f5}
.pmtx td{padding:.4rem;border-bottom:1px solid #f0f3f8;text-align:center}
.pmtx .pmname{text-align:left;padding:.45rem .7rem;font-size:.82rem;color:#2f3a4a}
.pmgrp td{background:#f8fafc;font-weight:700;font-size:.75rem;color:#54698d;text-align:left;padding:.5rem .7rem;letter-spacing:.03em}
.pmtx tbody tr:hover td{background:#f8fafc}
.pmgrp td:hover{background:#f8fafc!important}
.pmc{position:relative;display:inline-flex;align-items:center;cursor:pointer}
.pmc input{position:absolute;opacity:0;width:0;height:0}
.pmcb{width:18px;height:18px;border:2px solid #c7d2e0;border-radius:5px;background:#fff;display:inline-block;position:relative;transition:all .12s}
.pmc:hover .pmcb{border-color:#0176d3}
.pmc input:checked+.pmcb{background:#0176d3;border-color:#0176d3}
.pmc input:checked+.pmcb::after{content:'';position:absolute;left:5px;top:1.5px;width:4px;height:8px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.pmone{display:inline-flex;align-items:center;gap:.5rem;font-size:.82rem}
html.dark .pmtx .pmname{color:#e8e9eb}
html.dark .pmwrap{border-color:#33405a}
html.dark .pmtx thead th{background:#1c2430;border-color:#33405a}
html.dark .pmtx td{border-color:#2a3446}
html.dark .pmgrp td,html.dark .pmtx tbody tr:hover td{background:#232a36}
html.dark .pmcb{background:#1c2430;border-color:#4a5a75}

/* Admin-Center Karten */
.admgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.8rem;margin-top:.8rem}
.admcard{display:flex;align-items:center;gap:.85rem;background:#fff;border:1px solid #e5e9f0;border-radius:12px;padding:.9rem 1rem;cursor:pointer;transition:all .15s}
.admcard:hover{border-color:#0176d3;box-shadow:0 6px 18px rgba(1,118,211,.12);transform:translateY(-2px)}
.admcard-ic{width:40px;height:40px;border-radius:10px;background:#f0f6fd;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}
.admcard:hover .admcard-ic{background:#e2effe}
.admcard-tx{flex:1;min-width:0}
.admcard-tx b{display:block;font-size:.88rem;color:#111c2e;font-weight:600}
.admcard-tx span{display:block;font-size:.72rem;color:#8ea3c0;margin-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admcard-ar{color:#b6c2d4;font-size:1.2rem;flex-shrink:0}
.admcard:hover .admcard-ar{color:#0176d3}
html.dark .admcard{background:#232a36;border-color:#33405a}
html.dark .admcard:hover{border-color:#0176d3}
html.dark .admcard-ic{background:#1c2430}
html.dark .admcard-tx b{color:#e8e9eb}

.admcard-tx b{overflow-wrap:break-word}
.admcard-tx span{white-space:normal;overflow:visible;text-overflow:clip}

/* Gruppen-Liste */
.glist{display:flex;flex-direction:column;gap:.6rem}
.grrow{display:flex;align-items:center;gap:.9rem;background:#fff;border:1px solid #e5e9f0;border-radius:10px;padding:.7rem 1rem}
.grdot{width:12px;height:12px;border-radius:50%;flex-shrink:0}
.grmain{flex:1;min-width:0}
.grmain b{display:block;font-size:.88rem;color:#111c2e}
.grmain span{font-size:.72rem;color:#8ea3c0}
.grmeta{text-align:center;min-width:70px;font-size:.7rem;color:#8ea3c0}
.grmeta b{display:block;font-size:1.05rem;color:#111c2e}
.gract{display:flex;gap:.4rem;flex-shrink:0}
.gract .btn{font-size:.74rem;padding:.35rem .7rem}
.grnew{border-style:dashed;justify-content:center;color:#0176d3;font-weight:600;font-size:.85rem;cursor:pointer;background:#f8fafc}
.grnew:hover{border-color:#0176d3;background:#f0f6fd}
html.dark .grrow{background:#232a36;border-color:#33405a}
html.dark .grmain b,html.dark .grmeta b{color:#e8e9eb}

/* Notifications */
.mebox{display:flex;align-items:center;gap:.6rem}
.bell{position:relative;background:#fff;border:1px solid #e0e5ec;border-radius:10px;width:38px;height:38px;font-size:1rem;cursor:pointer;color:#2f3a4a;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bell:hover{background:#f0f6fd;border-color:#c4d7f2}
.nbadge{position:absolute;top:-5px;right:-5px;background:#e5484d;color:#fff;font-size:.62rem;font-weight:700;min-width:17px;height:17px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #f8fafc}
.npanel{display:none;position:absolute;top:calc(100% + 8px);right:0;width:320px;max-height:420px;overflow-y:auto;background:#fff;border:1px solid #e0e5ec;border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.14);z-index:50;text-align:left}
.npanel.open{display:block}
.np-t{font-weight:700;font-size:.85rem;padding:.75rem 1rem;border-bottom:1px solid #eef1f6;color:#2f3a4a}
.np-it{display:flex;gap:.65rem;align-items:flex-start;padding:.65rem 1rem;border-bottom:1px solid #f4f6fa;font-size:.8rem;color:#3a4657}
.np-it:hover{background:#f8fafc}
.np-ic{font-size:.95rem;flex-shrink:0;margin-top:1px}
.np-tx{flex:1;line-height:1.35}
.np-ref{color:#0176d3;font-weight:600}
.np-tm{color:#8ea3c0;font-size:.68rem;flex-shrink:0;margin-top:2px}
html.dark .bell{background:#232a36;border-color:#33405a;color:#e8e9eb}
html.dark .npanel{background:#232a36;border-color:#33405a}
html.dark .np-t{color:#e8e9eb;border-color:#33405a}
html.dark .np-it{color:#c8d2e0;border-color:#2a3446}
html.dark .np-it:hover{background:#28303f}

.aso{padding:.55rem .8rem;font-size:.84rem;cursor:pointer;border-bottom:1px solid #f0f3f8;color:#2f3a4a}
.aso:last-child{border-bottom:none}
.aso:hover{background:#f0f6fd}
.aso.on{background:#0176d3;color:#fff;font-weight:600}
html.dark .aso{color:#e8e9eb;border-color:#2a3446}
html.dark .aso:hover{background:#28303f}
html.dark .aso.on{background:#0176d3}

/* Schichtplan */
.plan{width:100%;border-collapse:collapse;table-layout:fixed}
.plan th{font-size:.7rem;color:#8ea3c0;font-weight:600;padding:.4rem .3rem;border-bottom:2px solid #eef1f6;text-align:center;line-height:1.3}
.plan th:first-child{text-align:left;width:140px}
.plan td{padding:.45rem .3rem;border-bottom:1px solid #f0f3f8;font-size:.72rem;vertical-align:top}
.plan td:first-child{font-size:.8rem}
.plan td.today,.plan th.today{background:#f0f6fd}
.plwk{font-size:.68rem;color:#8ea3c0}
.shift{display:block;background:#e0f2fd;border-left:3px solid #0176d3;border-radius:4px;padding:.2rem .4rem;margin-bottom:.25rem;font-size:.68rem;color:#16325c;white-space:nowrap}
.shift.live{background:#d9f2e6;border-color:#0c7a43;color:#0c7a43;font-weight:700}
html.dark .plan td{border-color:#2a3446}
html.dark .plan th{border-color:#33405a}
html.dark .plan td.today,html.dark .plan th.today{background:#1c2430}
html.dark .shift{background:#1a3048;color:#c9dcf5}
html.dark .shift.live{background:#14352a;color:#5fd68f}

/* Schichtplan aplano-look */
.plan{border-collapse:separate;border-spacing:0}
.plan td{border-right:1px solid #f0f3f8}
.plan td:last-child{border-right:none}
.plan th{background:#f8fafc;border-right:1px solid #eef1f6}
.plan th:last-child{border-right:none}
.plan th.today{background:#e0f2fd;color:#0176d3}
.plan td.today{background:#f0f9ff}
.plmem{display:flex;align-items:center;gap:.6rem}
.plav{width:30px;height:30px;border-radius:50%;color:#fff;font-weight:700;font-size:.8rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.shift{border-radius:6px;padding:.3rem .45rem;font-size:.68rem;line-height:1.3}
.shift.live{background:#d9f2e6!important;color:#0c7a43!important;border-left-color:#0c7a43!important}

/* Schicht-Maske */
.shm-h{display:flex;align-items:center;gap:.8rem;padding-bottom:.9rem;border-bottom:1px solid #eef1f6}
.dchip{display:inline-block;padding:.35rem .7rem;border:1px solid #e0e5ec;border-radius:999px;font-size:.75rem;cursor:pointer;background:#fff;color:#3a4657;margin:0 .3rem .3rem 0}
.dchip:hover{border-color:#0176d3}
.dchip.on{background:#0176d3;border-color:#0176d3;color:#fff;font-weight:600}
html.dark .dchip{background:#232a36;border-color:#33405a;color:#c8d2e0}
html.dark .dchip.on{background:#0176d3;color:#fff}

/* Live-Status + Swap */
.livechip{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #dbe7f5;border-radius:999px;padding:.35rem .9rem;font-size:.8rem}
.lvdot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.lvtxt{color:#54698d;font-size:.72rem}
.shift.swp{background:#fff3e0!important;border-left-color:#f0a500!important;color:#b35a00!important}
.shift.swp::after{content:' ↔'}

/* Aplano-Schichtplan Redesign */
.plh{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.2rem;background:#f8fafc;border-bottom:1px solid #eef1f6}
.plh-d{color:#8ea3c0;font-size:.8rem;margin-left:.7rem;font-weight:400}
.plnav{background:#fff;border:1px solid #e0e5ec;border-radius:8px;padding:.35rem .8rem;font-size:.78rem;cursor:pointer;color:#3a4657}
.plnav:hover{border-color:#0176d3;color:#0176d3}
.plnav-on{background:#0176d3;color:#fff;border-color:#0176d3}
.plan{border-collapse:separate;border-spacing:0;width:100%}
.plan th{background:#fff;border-bottom:2px solid #eef1f6;border-right:1px solid #f0f3f8;padding:.55rem .3rem;font-size:.72rem;color:#8ea3c0;font-weight:600}
.plan th:first-child{background:#f8fafc;text-align:left;padding:.55rem .9rem;min-width:150px}
.plan td{border-right:1px solid #f0f3f8;border-bottom:1px solid #f0f3f8;padding:.4rem .3rem;vertical-align:top;min-width:90px}
.plan td:first-child{background:#f8fafc;padding:.4rem .9rem;border-right:1px solid #eef1f6}
.plan th.today{background:#e0f2fd!important;color:#0176d3!important}
.plan td.today{background:#f0f9ff}
.shift{display:block;border-radius:7px;padding:.35rem .5rem;margin-bottom:.3rem;font-size:.7rem;color:#fff;line-height:1.3;box-shadow:0 1px 3px rgba(0,0,0,.08);cursor:default}
.shift b{display:block;font-weight:600}
.shift.live{background:#0c7a43!important;color:#fff!important}
.shift.live::after{content:' ●'}
.shift.swp{background:#fff3e0!important;color:#b35a00!important;border:1px dashed #f0a500}
html.dark .plh{background:#1c2430;border-color:#33405a}
html.dark .plan td:first-child,html.dark .plan th{background:#1c2430}
html.dark .plan td.today{background:#1a2c40}

/* KI-Chat */
#kiBtn{position:fixed;bottom:1.3rem;right:1.3rem;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#0176d3,#015fa8);color:#fff;border:none;font-size:1.4rem;cursor:pointer;box-shadow:0 8px 24px rgba(1,118,211,.45);z-index:90;transition:.15s}
#kiBtn:hover{transform:scale(1.07)}
#kiP{position:fixed;bottom:5.5rem;right:1.3rem;width:340px;max-height:440px;background:#fff;border:1px solid #e0e5ec;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.22);display:none;flex-direction:column;z-index:90;overflow:hidden}
#kiP.open{display:flex}
.khead{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;background:linear-gradient(90deg,#16325c,#0176d3);color:#fff;font-size:.9rem}
.khead span{cursor:pointer;opacity:.8}
#kiLog{flex:1;overflow-y:auto;padding:.9rem;display:flex;flex-direction:column;gap:.55rem;min-height:220px}
.kmsg{max-width:85%;padding:.55rem .8rem;border-radius:12px;font-size:.82rem;line-height:1.45}
.kmsg.ai{background:#f0f6fd;color:#2f3a4a;align-self:flex-start;border-bottom-left-radius:4px}
.kmsg.me{background:#0176d3;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.kfoot{display:flex;gap:.5rem;padding:.7rem;border-top:1px solid #eef1f6}
.kfoot input{flex:1;padding:.55rem .8rem;border:1px solid #dbe5f0;border-radius:999px;font-size:.82rem}
.kfoot button{background:#0176d3;color:#fff;border:none;border-radius:999px;width:36px;cursor:pointer}
html.dark #kiP{background:#232a36;border-color:#33405a}
html.dark .kmsg.ai{background:#1c2430;color:#e8e9eb}
html.dark .kfoot{border-color:#33405a}
html.dark .kfoot input{background:#1c2430;border-color:#33405a;color:#e8e9eb}

/* User-Einstellungen Fenster */
.uset{display:flex;min-height:420px}
.usnav{width:190px;background:#f8fafc;border-right:1px solid #eef1f6;padding:1.2rem .8rem;flex-shrink:0;display:flex;flex-direction:column;gap:.15rem}
.usnav b{font-size:.95rem;color:#111c2e;padding:0 .5rem 1rem}
.usn{padding:.6rem .7rem;border-radius:8px;font-size:.82rem;cursor:pointer;color:#54698d}
.usn:hover{background:#eef2f8;color:#2f3a4a}
.usn.on{background:#0176d3;color:#fff;font-weight:600}
.usmain{flex:1;padding:1.4rem;overflow-y:auto;max-height:65vh}
.usmain h3{margin:0 0 1rem;font-size:1rem}
.usrow{display:flex;justify-content:space-between;align-items:center;padding:.8rem 0;border-bottom:1px solid #f0f3f8}
.usrow:last-of-type{border:none}
.usrow>div{display:flex;flex-direction:column}
.usrow b{font-size:.85rem}
.usrow span{font-size:.72rem;color:#8ea3c0}
.usw{width:18px;height:18px;cursor:pointer;accent-color:#0176d3}
html.dark .usnav{background:#1c2430;border-color:#33405a}
html.dark .usn{color:#8ea3c0}
html.dark .usn:hover{background:#28303f}
html.dark .usrow{border-color:#2a3446}

/* Multi-Teilnehmer */
.mpick{border:1px solid #c9d7e3;border-radius:6px;padding:.4rem;min-height:42px}
.mchip{display:inline-flex;align-items:center;gap:.3rem;background:#e0f2fd;color:#0176d3;border-radius:999px;padding:.2rem .6rem;font-size:.75rem;margin:0 .3rem .3rem 0}
.mchip i{cursor:pointer;font-style:normal;font-weight:700;margin-left:.2rem}
.mtxt{border:none;outline:none;font-size:.82rem;padding:.3rem;cursor:pointer}
html.dark .mpick{border-color:#33405a;background:#1c2430}
html.dark .mtxt{background:transparent;color:#e8e9eb}

/* Besprechungen */
.mtg{display:flex;align-items:center;gap:1rem;padding:.9rem;border-bottom:1px solid #f0f3f8}
.mtg:last-child{border:none}
.mtg-d{width:52px;height:52px;border-radius:10px;background:#e0f2fd;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;color:#0176d3}
.mtg-d b{font-size:1.15rem;line-height:1}
.mtg-d span{font-size:.62rem;font-weight:700;text-transform:uppercase}
.mtg-tx{flex:1;min-width:0}
.mtg-tx>b{font-size:.92rem}
.mtg-meta{font-size:.75rem;color:#8ea3c0;margin-top:.15rem}
.mtg-ag{font-size:.75rem;color:#54698d;margin-top:.3rem;background:#f8fafc;border-radius:6px;padding:.4rem .6rem}
.mtg-act{display:flex;align-items:center;gap:.35rem;flex-shrink:0}
html.dark .mtg{border-color:#2a3446}
html.dark .mtg-d{background:#1a3048}
html.dark .mtg-ag{background:#1c2430}

/* Besprechungs-Karten v2 */
.mtg{position:relative;display:flex;gap:1rem;padding:1rem 1rem 1rem 1.4rem;border:1px solid #e5e9f0;border-radius:12px;background:#fff;margin-bottom:.7rem;transition:.15s;overflow:hidden}
.mtg:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(15,23,42,.08);border-color:#c4d7f2}
.mtg-bar{position:absolute;left:0;top:0;bottom:0;width:4px}
.mtg-d{width:58px;height:62px;border-radius:10px;background:linear-gradient(160deg,#0176d3,#015fa8);display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;color:#fff;box-shadow:0 4px 12px rgba(1,118,211,.3)}
.mtg-d b{font-size:1.3rem;line-height:1.05}
.mtg-d span{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;opacity:.9}
.mtg-wd{font-size:.58rem!important;letter-spacing:.08em!important}
.mtg-tx{flex:1;min-width:0}
.mtg-tx>b{font-size:.95rem;color:#111c2e}
.mtg-meta{display:flex;flex-wrap:wrap;gap:.35rem .9rem;font-size:.75rem;color:#8ea3c0;margin-top:.25rem}
.mtg-ag{font-size:.75rem;color:#54698d;margin-top:.45rem;background:#f8fafc;border-radius:7px;padding:.45rem .65rem;border-left:3px solid #e0e5ec;line-height:1.45}
.mtg-act{display:flex;flex-direction:column;gap:.3rem;justify-content:center;flex-shrink:0}
.mtg-act .btn{padding:.3rem .5rem}
html.dark .mtg{background:#232a36;border-color:#33405a}
html.dark .mtg:hover{border-color:#0176d3}
html.dark .mtg-tx>b{color:#e8e9eb}
html.dark .mtg-ag{background:#1c2430;border-color:#33405a}

/* Rechtsklick-Menü */
.ctx{position:fixed;min-width:180px;background:#fff;border:1px solid #e0e5ec;border-radius:10px;box-shadow:0 14px 40px rgba(15,23,42,.2);padding:.3rem;z-index:200}
.cx-i{padding:.5rem .8rem;border-radius:7px;font-size:.82rem;cursor:pointer;color:#2f3a4a}
.cx-i:hover{background:#f0f6fd;color:#0176d3}
.cx-i.no{color:#b3261e}
.cx-i.no:hover{background:#fdecec}
html.dark .ctx{background:#232a36;border-color:#33405a}
html.dark .cx-i{color:#e8e9eb}
html.dark .cx-i:hover{background:#28303f}
html.dark .cx-i.no:hover{background:#3a1f1f}

/* Apple-Kalender */
.kgrid{border:1px solid #e5e9f0;border-radius:12px;overflow:hidden}
.krow{display:grid;grid-template-columns:repeat(7,1fr)}
.krow.kh{background:#f8fafc;border-bottom:1px solid #e5e9f0}
.kwd{padding:.55rem .7rem;font-size:.7rem;font-weight:700;color:#8ea3c0;text-transform:uppercase;letter-spacing:.04em}
.kcell{min-height:86px;padding:.4rem .5rem;border-right:1px solid #f0f3f8;border-bottom:1px solid #f0f3f8;cursor:pointer;transition:.1s;background:#fff}
.kcell:hover{background:#f8fafc}
.kcell.off{background:#fafbfc}
.kcell.today{background:#f0f9ff}
.knum{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;font-size:.82rem;font-weight:600;color:#3a4657}
.knum.tod{background:#0176d3;color:#fff}
.kev{font-size:.68rem;border-radius:5px;padding:2px 6px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
html.dark .kgrid{border-color:#33405a}
html.dark .kcell{background:#232a36;border-color:#2a3446}
html.dark .kcell:hover{background:#28303f}
html.dark .kcell.off{background:#1e2530}
html.dark .kcell.today{background:#1a2c40}
html.dark .knum{color:#e8e9eb}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
@media(max-width:480px){.grid2{grid-template-columns:1fr}}

.mx{position:absolute;top:.8rem;right:1rem;color:#8ea3c0;font-size:1.05rem;cursor:pointer;z-index:2;line-height:1}
.mx:hover{color:#c22a33}
.mbox{position:relative}

/* Statistik */
.chart{background:#f8fafc;border-radius:12px;padding:1.2rem;margin-top:1.2rem}
.bars{display:flex;align-items:flex-end;gap:5px;height:130px}
.bar{flex:1;background:linear-gradient(180deg,#0176d3,#015fa8);border-radius:4px 4px 0 0;position:relative;min-height:5px}
.bar span{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:.62rem;font-weight:700;color:#54698d}
.bdays{display:flex;gap:5px;margin-top:.4rem}
.bdays span{flex:1;text-align:center;font-size:.62rem;color:#8ea3c0}
.durow{display:flex;align-items:center;gap:.7rem;padding:.35rem 0;font-size:.8rem}
.dun{width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}
.dub{height:8px;background:#0176d3;border-radius:999px;min-width:3px}
.durow b{font-size:.75rem;margin-left:auto;flex-shrink:0}
html.dark .chart{background:#1c2430}
html.dark .bdays span,html.dark .bar span{color:#8ea3c0}

/* Schicht-Liste */
.shrow{display:flex;align-items:center;gap:.9rem;padding:.7rem .2rem;border-bottom:1px solid #f0f3f8}
.shrow:last-child{border:none}
.shd{width:44px;height:44px;border-radius:10px;background:#e0f2fd;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;color:#0176d3}
.shd b{font-size:1rem;line-height:1}
.shd span{font-size:.58rem;font-weight:700;text-transform:uppercase}
html.dark .shrow{border-color:#2a3446}
html.dark .shd{background:#1a3048}

/* Produkte */
.prods{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.prod{background:#fff;border:1px solid #e5e9f0;border-radius:14px;padding:1.2rem;transition:.15s}
.prod:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(15,23,42,.08)}
.prod-t{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.prod-t b{font-size:.98rem}
.prod-d{font-size:.8rem;color:#54698d;margin-bottom:.7rem;line-height:1.5}
.prod-l{display:flex;gap:1rem;font-size:.78rem;margin-bottom:.8rem}
.prod-l a{color:#0176d3}
.prod-a{display:flex;gap:.4rem}
html.dark .prod{background:#232a36;border-color:#33405a}
html.dark .prod-d{color:#8ea3c0}
