/* Coach-Portal V0.15 (claude/plan-portal-admin.md): klare Rahmen, klare Knöpfe, Struktur auf den ersten Blick.
   Gilt nur im Portal (body.staff) – Spieler-Ansichten bleiben unverändert. Gleiche Farben und Schrift wie die App. */
body.staff{--p-line:#2e3238;--p-line2:#3a3f47;--p-head:#15181b;--p-hover:rgba(255,255,255,.035);--p-r:16px}
body.staff main,body.staff .top{max-width:1240px}
body.staff main{padding-top:20px}
body.staff .portal{display:flex;flex-direction:column;gap:18px}

/* Kopf oben rechts: Rolle + Name */
body.staff .role-chip{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:var(--pill);font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--text);background:#23272c;border:1px solid var(--p-line2);margin-right:8px}
body.staff .role-chip.admin{background:rgba(225,6,0,.14);border-color:#6b2626;color:#ffd0cc}
body.staff #top-actions{display:flex;align-items:center}

/* Navigation: gerahmte Leiste, aktiver Punkt rot */
body.staff .pnav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:6px;border:1px solid var(--p-line);border-radius:var(--p-r);background:var(--panel)}
body.staff .pn-g{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
body.staff .pn-admin{padding-left:12px;border-left:1px solid var(--p-line)}
body.staff .pn-l{font-size:10.5px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);margin:0 6px 0 2px}
body.staff .pn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:12px;color:var(--soft);text-decoration:none;font-weight:700;font-size:15px;transition:background .15s,color .15s}
body.staff .pn:hover{color:var(--text);background:var(--p-hover)}
body.staff .pn .n{min-width:24px;height:22px;padding:0 7px;border-radius:var(--pill);background:#23272c;color:var(--soft);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
body.staff .pn.on{background:var(--red);color:#fff;box-shadow:0 6px 18px rgba(225,6,0,.28)}
body.staff .pn.on .n{background:rgba(255,255,255,.22);color:#fff}

/* Seitenkopf */
body.staff .phead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
body.staff .phead .eyebrow{margin-bottom:6px}
body.staff .phead h1,body.staff .phero h1{margin:0;font-size:30px;line-height:1.1;font-weight:800;letter-spacing:-.4px}
body.staff .phead-a{gap:10px;flex-wrap:wrap}

/* Knöpfe im Portal: gleiche Höhe, klare Rahmen */
body.staff main button,body.staff dialog button{min-height:44px;border-radius:12px;padding:9px 18px;font-weight:700;font-size:15px}
body.staff main button.primary,body.staff dialog button.primary{border-radius:12px;padding:9px 20px;box-shadow:0 6px 18px rgba(225,6,0,.26);gap:8px}
body.staff main button.ghost,body.staff dialog button.ghost{background:#16191c;border:1px solid var(--p-line2);border-radius:12px;color:var(--text)}
body.staff main button.ghost:hover,body.staff dialog button.ghost:hover{border-color:#5a616b;background:#1b1f23}
body.staff main button.danger,body.staff dialog button.danger{background:rgba(225,6,0,.06);border:1px solid #6b2626;border-radius:12px;color:#ffb3b3}
body.staff main button.danger:hover,body.staff dialog button.danger:hover{border-color:#a33;background:rgba(225,6,0,.12)}
body.staff main button.danger.solid,body.staff dialog button.danger.solid{background:var(--red);border-color:var(--red);color:#fff}
body.staff main button.quiet,body.staff dialog button.quiet{min-height:40px;padding:8px 10px;color:var(--soft)}
body.staff main button.sm{min-height:36px;padding:6px 12px;font-size:13.5px;border-radius:10px}
body.staff main button.block,body.staff dialog button.block{width:100%;justify-content:center}
body.staff a.btn-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;border-radius:12px;border:1px solid var(--p-line2);background:#16191c;color:var(--text);text-decoration:none;font-weight:700;font-size:15px}
body.staff a.btn-link:hover{border-color:#5a616b}

/* Karte mit Titelzeile */
body.staff .pc{background:var(--panel);border:1px solid var(--p-line);border-radius:var(--p-r);overflow:hidden}
body.staff .pc-h{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid var(--p-line);background:var(--p-head);min-height:62px}
body.staff .pc-t{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
body.staff .pc-t h3{margin:0;font-size:16.5px;font-weight:800;letter-spacing:.1px}
body.staff .pc-sub{font-size:13px;color:var(--muted)}
body.staff .pc-a{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.staff .pc-b{padding:18px 20px;display:flex;flex-direction:column;gap:14px}
body.staff .pc-b.flush{padding:0}
body.staff .pc-b>p{margin:0}
body.staff .pc.st-off{border-color:#5c2222}
body.staff .pc.st-off>.pc-h{background:rgba(225,6,0,.07);border-bottom-color:#5c2222}
body.staff .pc .meta-line{font-size:13.5px;color:var(--muted);margin:0}
/* alte Karten im Portal (Plan, Verlauf …) im selben Rahmen */
body.staff main section.card,body.staff main details.card{border-radius:var(--p-r);border-color:var(--p-line)}

/* Status-Pillen: überall gleich */
body.staff .sp{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:var(--pill);font-size:12.5px;font-weight:700;white-space:nowrap;border:1px solid var(--p-line2);color:var(--soft);background:#16191c}
body.staff .sp i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
body.staff .sp-active{color:#d9f5e5;border-color:#2f6b4c;background:rgba(139,221,175,.07)}
body.staff .sp-active i{background:var(--green)}
body.staff .sp-off{color:#ffc4c4;border-color:#6b2626;background:rgba(225,6,0,.1)}
body.staff .sp-off i{background:#ff4d47}
body.staff .sp-none{border:none;background:none;color:#5f666e;padding:0 4px}
body.staff .sp-none i{display:none}
body.staff .sp-free{color:#d9f5e5;border-color:#2f6b4c;background:rgba(139,221,175,.07)}body.staff .sp-free i{background:var(--green)}
body.staff .sp-linked{color:var(--text);border-color:#4a5058}body.staff .sp-linked i{background:var(--blue)}
body.staff .sp-used{color:var(--muted)}body.staff .sp-used i{background:#5f666e}
body.staff .sp-warn{color:#f3dcb4;border-color:#6b5a2f;background:rgba(229,182,110,.08)}body.staff .sp-warn i{background:var(--amber)}
body.staff .hp{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:8px;font-size:12.5px;font-weight:600;white-space:nowrap}
body.staff .hp-warn{color:#f3dcb4;background:rgba(229,182,110,.1);border:1px solid #6b5a2f}
body.staff .hp-ok{color:#d9f5e5;background:rgba(139,221,175,.08);border:1px solid #2f6b4c}
body.staff .hp-new{color:#d6e6ff;background:rgba(120,165,255,.08);border:1px solid #34507e} /* V0.32: Neustart durch den Spieler */
body.staff .hp-more{color:var(--muted);font-size:12px;margin-left:6px}
body.staff .hps{display:flex;flex-wrap:wrap;gap:6px;align-items:center}

/* Initialen */
body.staff .av{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#23272c;border:1px solid var(--p-line2);font-size:13px;font-weight:800;letter-spacing:.5px;color:var(--soft)}
body.staff .av.xl{width:64px;height:64px;font-size:21px;color:var(--text);background:#1d2125}
body.staff .av.need{border-color:#8a7238}

/* Kennzahlen-Kacheln (gleichzeitig Filter) */
body.staff .ptiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.staff .ptile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:14px 18px!important;min-height:92px!important;border:1px solid var(--p-line)!important;border-radius:var(--p-r)!important;background:var(--panel)!important;color:var(--text);box-shadow:none!important}
body.staff button.ptile:hover{border-color:#4a5058!important}
body.staff .ptile .v{font-size:30px;font-weight:800;line-height:1.1;letter-spacing:-.5px}
body.staff .ptile .l{display:flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
body.staff .ptile .l i{width:8px;height:8px;border-radius:50%;background:#5f666e}
body.staff .ptile.t-warn .l i{background:var(--amber)}body.staff .ptile.t-off .l i{background:#ff4d47}body.staff .ptile.t-ok .l i{background:var(--green)}body.staff .ptile.t-all .l i{background:var(--text)}
body.staff .ptile.on{border-color:var(--red)!important;box-shadow:inset 0 0 0 1px var(--red)!important;background:linear-gradient(180deg,rgba(225,6,0,.1),var(--panel) 70%)!important}
body.staff div.ptile{cursor:default}

/* Werkzeugleiste */
body.staff .ptools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
body.staff .ptools .grow{display:flex;gap:10px;flex:1;min-width:260px;flex-wrap:wrap}
body.staff .ptools input,body.staff .ptools select{margin:0;min-height:46px;font-size:15px;border-radius:12px;background:var(--field);border-color:var(--p-line2)}
body.staff .ptools input[type=search]{flex:1;min-width:200px;max-width:380px;padding-left:40px;background-image:none}
body.staff .searchbox{position:relative;flex:1;min-width:200px;max-width:380px;display:flex}
body.staff .searchbox::before{content:'⌕';position:absolute;left:14px;top:50%;transform:translateY(-52%);font-size:19px;color:var(--muted);pointer-events:none}
body.staff .searchbox input{width:100%;max-width:none!important;margin:0!important}
body.staff .ptools select{width:auto;min-width:200px;padding-right:36px}

/* Tabellen */
body.staff .ptable-wrap{border:none;border-radius:0;background:none}
body.staff .ptable{font-size:15px}
body.staff .ptable th{background:var(--p-head);font-size:11px;letter-spacing:1.3px;padding:12px 16px;border-bottom:1px solid var(--p-line)}
body.staff .ptable td{padding:12px 16px;border-bottom:1px solid rgba(243,244,245,.07);height:64px}
body.staff .ptable tbody tr:not(.static):hover,body.staff .ptable tbody tr:not(.static):focus-visible{background:var(--p-hover)}
body.staff .ptable tr.need td:first-child{box-shadow:inset 3px 0 0 var(--amber)}
body.staff .ptable td.app,body.staff .ptable td.hint{font-weight:400;color:inherit;min-width:0}
body.staff .who-c{display:flex;align-items:center;gap:12px;min-width:180px}
body.staff .who-c strong{font-size:15.5px;font-weight:800;display:block;line-height:1.25}
body.staff .who-c .pp-sub{font-size:13px;color:var(--muted);display:block;line-height:1.3}
body.staff .ptable td.chev{width:36px;color:var(--muted);font-size:22px;text-align:right;padding-left:0}
body.staff .ptable td.mono,body.staff .mono{font-family:'Wizard Mono',ui-monospace,monospace;letter-spacing:.6px}
body.staff .ptable td.num{font-variant-numeric:tabular-nums}
body.staff .ptable td.act{text-align:right;white-space:nowrap}
body.staff .ptable .muted-c{color:#5f666e}

/* Spielerseite: Kopf, App-Kacheln, zwei Spalten */
body.staff .crumb{font-size:13px;color:var(--muted);margin-bottom:6px}
body.staff .crumb a{color:var(--muted);text-decoration:none}
body.staff .crumb a:hover{color:var(--text);text-decoration:underline;text-decoration-color:var(--flag)}
body.staff .phero{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:20px 22px}
body.staff .phero-m{display:flex;align-items:center;gap:18px;min-width:0}
body.staff .phero-a{display:flex;gap:10px;flex-wrap:wrap}
body.staff .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
body.staff .chip-i{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:8px;background:#1b1e22;border:1px solid var(--p-line);font-size:13px;color:var(--soft)}
body.staff .chip-i b{font-weight:600;color:var(--muted);font-size:11px;letter-spacing:1px;text-transform:uppercase}
body.staff .apptiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.staff .at{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border:1px solid var(--p-line);border-radius:var(--p-r);background:var(--panel);color:var(--text);text-decoration:none;transition:border-color .15s,background .15s;position:relative;min-height:96px}
body.staff .at:hover{border-color:#4a5058}
body.staff .at-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
body.staff .at-n{font-size:16px;font-weight:800}
body.staff .at-i{font-size:13.5px;color:var(--soft);line-height:1.35;min-height:18px}
body.staff .at.on{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:linear-gradient(180deg,rgba(225,6,0,.12),var(--panel) 75%)}
body.staff .at.on::after{content:'';position:absolute;left:50%;bottom:-8px;width:14px;height:14px;background:var(--panel);border-right:2px solid var(--red);border-bottom:2px solid var(--red);transform:translateX(-50%) rotate(45deg);border-radius:0 0 3px 0}
body.staff .at.st-none .at-n{color:var(--muted)}
body.staff .pp-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}
body.staff .pmain,body.staff .pside{display:flex;flex-direction:column;gap:16px;min-width:0}
body.staff .pside .pc-b{gap:12px}
body.staff .facts{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0;font-size:14px}
body.staff .facts dt{color:var(--muted)}
body.staff .facts dd{margin:0;text-align:right;color:var(--text);overflow-wrap:anywhere}
body.staff .facts.lft{grid-template-columns:140px 1fr}body.staff .facts.lft dd{text-align:left}
body.staff .facts dd.warn{color:var(--amber)}
body.staff .facts dd.bad{color:#ffb3b3}
body.staff .btn-col{display:flex;flex-direction:column;gap:8px}
body.staff .sep{border:none;border-top:1px solid var(--p-line);margin:2px 0}

/* Gruppen-Kacheln */
body.staff .gcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
body.staff .gcard{display:flex!important;flex-direction:column;align-items:stretch;gap:14px;text-align:left;padding:18px 20px!important;border:1px solid var(--p-line)!important;border-radius:var(--p-r)!important;background:var(--panel)!important;color:var(--text);min-height:150px!important;box-shadow:none!important}
body.staff .gcard:hover{border-color:#4a5058!important}
body.staff .gcard .g-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
body.staff .gcard h3{margin:0;font-size:19px;font-weight:800;line-height:1.2}
body.staff .gcard .g-coach{font-size:13px;color:var(--muted);font-weight:400}
body.staff .gstats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto}
body.staff .gstats div{border:1px solid var(--p-line);border-radius:12px;padding:8px 10px;background:#15181b}
body.staff .gstats b{display:block;font-size:20px;font-weight:800;line-height:1.1}
body.staff .gstats span{font-size:10.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
body.staff .pp-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}

/* Filter-Segmente */
body.staff .fsegs{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--p-line);border-radius:14px;background:var(--panel)}
body.staff .fsegs button{min-height:38px;padding:6px 14px;border:none;background:none;color:var(--soft);border-radius:10px;font-size:14px}
body.staff .fsegs button[aria-pressed=true]{background:#2a2e34;color:#fff}

/* Code-Auswahl */
body.staff .codegrid{display:flex;flex-wrap:wrap;gap:8px}
body.staff .codegrid button{font-family:'Wizard Mono',ui-monospace,monospace;letter-spacing:.8px;font-size:14px;font-weight:500;background:#16191c;border:1px solid var(--p-line2)}
body.staff .codegrid button:hover{border-color:var(--green)}
body.staff .pick{display:flex;flex-direction:column;gap:6px;max-height:min(52vh,460px);overflow:auto;margin:0 -4px;padding:0 4px}
body.staff .pick button{display:flex;align-items:center;gap:12px;text-align:left;background:#16191c;border:1px solid var(--p-line);font-weight:600;min-height:56px}
body.staff .pick button:hover{border-color:#5a616b}
body.staff .pick .pp-sub{display:block;font-size:12.5px;color:var(--muted);font-weight:400}
body.staff .empty-s{padding:26px 16px;text-align:center;color:var(--muted);border:1px dashed var(--p-line2);border-radius:12px}

/* Dialoge im Portal */
body.staff dialog{width:min(540px,calc(100% - 24px));border-radius:var(--p-r);border-color:var(--p-line2);padding:26px 24px}
body.staff dialog h2{font-size:22px;margin:0 0 4px}

/* Spieler-Status in der Gruppe / alte Listen */
body.staff .list .item{border:1px solid var(--p-line)}

/* iPad hochkant und kleiner */
@media (max-width:1060px){
 body.staff .pp-grid{grid-template-columns:1fr}
 body.staff .pside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media (max-width:820px){
 body.staff .ptiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.staff .pp-two{grid-template-columns:1fr}
 body.staff .pn-admin{border-left:none;padding-left:0}
}
@media (max-width:720px){
 body.staff main{padding-left:14px;padding-right:14px}
 body.staff .phead h1,body.staff .phero h1{font-size:25px}
 body.staff .apptiles{grid-template-columns:1fr;gap:8px}
 body.staff .at{min-height:0;padding:12px 14px;gap:6px}
 body.staff .at.on::after{display:none}
 body.staff .pside{display:flex;align-items:stretch}
 body.staff .pnav{gap:4px}body.staff .pn{padding:0 12px;font-size:14px}
 body.staff .searchbox,body.staff .ptools select{max-width:none;width:100%}
 body.staff .ptable thead{display:none}
 body.staff .ptable,body.staff .ptable tbody,body.staff .ptable tr,body.staff .ptable td{display:block;width:100%}
 body.staff .ptable tr{border-bottom:1px solid var(--p-line);padding:10px 0;position:relative}
 body.staff .ptable td{border:none;padding:4px 16px;height:auto}
 body.staff .ptable td[data-label]{display:flex;justify-content:space-between;align-items:center;gap:10px}
 body.staff .ptable td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:12.5px;min-width:0}
 body.staff .ptable td.chev{position:absolute;right:6px;top:14px;width:auto}
 body.staff .ptable td.act{text-align:left}
 body.staff #top-actions .role-chip{display:none}
}
/* Evaluation-Kennzahlen im Spieler-Reiter */
body.staff .ptiles.ev-k{grid-template-columns:repeat(3,minmax(0,1fr))}
body.staff .ptile.code .v{font-family:'Wizard Mono',ui-monospace,monospace;font-size:16px;font-weight:500;letter-spacing:1px;padding:8px 0 4px;overflow-wrap:anywhere}
body.staff .speed-line{margin:0;font-size:16px;font-weight:700}
@media (max-width:720px){body.staff .ptiles.ev-k{grid-template-columns:1fr}}
@media (max-width:720px){
 /* Spielertabelle auf dem Handy: eine kompakte Karte pro Spieler (Name, App-Pillen, Hinweis) */
 body.staff .ptable.players tr{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px 40px 12px 14px}
 body.staff .ptable.players td{display:inline-flex;align-items:center;gap:6px;width:auto;padding:0}
 body.staff .ptable.players td:first-child{flex:1 0 100%;margin-bottom:2px}
 body.staff .ptable.players td.opt,body.staff .ptable.players td.app.st-none,body.staff .ptable.players td.hint.is-empty{display:none}
 body.staff .ptable.players td.app::before{font-size:11.5px}
 body.staff .ptable.players td.hint::before{display:none}
 body.staff .ptable.players td.chev{top:22px;right:14px}
 body.staff .ptable.players td[data-label]{justify-content:flex-start}
}

/* ---------- Admin-Portal V0.17 (claude/plan-admin-portal.md) ---------- */
/* Zweite Zeile im Bereich Evaluation (gleich im Evaluation-Admin) */
body.staff .psub{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;margin-top:-6px}
body.staff .ps-g{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.staff .ps-g+.ps-g{padding-left:18px;border-left:1px solid var(--p-line)}
body.staff .ps-l{font-size:10.5px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-right:4px}
body.staff .ps{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--p-line2);background:#16191c;color:var(--soft);text-decoration:none;font-weight:700;font-size:14px;transition:border-color .15s,color .15s}
body.staff .ps:hover{color:var(--text);border-color:#4a5058}
body.staff .ps.on{color:#fff;border-color:var(--red);background:rgba(225,6,0,.14);box-shadow:inset 0 0 0 1px var(--red)}
@media(max-width:700px){body.staff .ps-g+.ps-g{padding-left:0;border-left:none}body.staff .psub{gap:8px}}
/* Übersicht */
body.staff .ov-apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:1000px){body.staff .ov-apps{grid-template-columns:1fr}}
body.staff .ov-card .pc-b{display:flex;flex-direction:column;gap:16px;height:100%}
body.staff .ov-card{display:flex;flex-direction:column}
body.staff .ov-card>.pc-b{flex:1}
body.staff .ov-k{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.staff .ov-n{border:1px solid var(--p-line);border-radius:12px;padding:12px 14px;background:#15181b;min-width:0}
body.staff .ov-n b{display:block;font-size:26px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
body.staff .ov-n span{display:block;font-size:11px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
body.staff .ov-n.warn b{color:var(--amber)}body.staff .ov-n.off b{color:#ff6b66}
body.staff .ov-a{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
body.staff .ov-a .btn-link{min-height:40px;padding:6px 14px;font-size:14px}
body.staff .ov-b{display:inline-flex;align-items:center;justify-content:center;width:30px;height:24px;border-radius:7px;font-size:10.5px;font-weight:800;letter-spacing:.8px;border:1px solid var(--p-line2);color:var(--soft);background:#1b1e22}
body.staff .ov-b.ov-speed{color:#ffcc2e;border-color:#5c4d1d}
body.staff .ov-b.ov-evaluation{color:#ffd0cc;border-color:#6b2626;background:rgba(225,6,0,.12)}
body.staff .todo{list-style:none;margin:0;padding:0}
body.staff .todo a{display:flex;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid var(--p-line);text-decoration:none;color:var(--text);min-height:62px}
body.staff .todo li:last-child a{border-bottom:none}
body.staff .todo a:hover{background:var(--p-hover)}
body.staff .tdot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--blue)}
body.staff .tdot.t-warn{background:var(--amber)}body.staff .tdot.t-off{background:#ff4d47}
body.staff .todo .tt{flex:1;font-weight:700;font-size:15.5px;min-width:0}
body.staff .todo .ts{display:block;font-weight:400;font-size:13px;color:var(--muted)}
body.staff .todo .go{flex:none;color:var(--soft);font-weight:700;font-size:14px;border:1px solid var(--p-line2);border-radius:10px;padding:8px 12px;background:#16191c}
body.staff .ov-ok{margin:0;padding:18px 20px;color:var(--green);font-weight:700}
body.staff .sp-line{font-size:13.5px;color:var(--soft)}
body.staff .ea-form{border-top:1px solid var(--p-line);padding-top:14px}
body.staff .ea-form select{flex:1;min-height:46px;margin:0}
body.staff .ea-form label{display:flex;flex-direction:column;gap:6px}
/* V0.17: Kopf auf dem Handy ohne Querscrollen (App-Wechsler nur Symbol, Name gekürzt) */
@media(max-width:560px){body.staff .mwa-btn .ml{display:none}body.staff .mwa-btn{padding-right:10px}body.staff #top-actions .pill{max-width:34vw;padding:6px 10px;font-size:13px}body.staff .top{gap:8px;padding-left:12px;padding-right:12px}}

/* V0.19 (Runde 3, Phase 2): Mehrfachauswahl, Sportart, Rechte */
.selbox{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;margin:-6px 0 -6px -8px;flex:none;cursor:pointer;border-radius:10px}
.selbox:hover{background:rgba(243,244,245,.06)}
.selbox input{width:20px;height:20px;margin:0;accent-color:var(--red);cursor:pointer}
.selbox.head{width:auto;height:auto;margin:0;gap:12px;justify-content:flex-start;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
body.staff .ptable tr.picked td{background:rgba(225,6,0,.07)}
.selbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:12px 16px;background:#1b1e22;border-bottom:1px solid var(--p-line);position:sticky;top:0;z-index:3}
.selbar .sb-n{font-weight:800;font-size:15px;white-space:nowrap}
.selbar .sb-a{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.selbar .link{background:none;border:none;color:var(--muted);text-decoration:underline;text-underline-offset:3px;min-height:36px;padding:6px 8px;cursor:pointer;font-size:13.5px}
.selbar .link:hover{color:var(--text)}
.sport-opts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.sport-opt{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;cursor:pointer;text-transform:none;letter-spacing:normal;margin:0}
.sport-opt input{position:absolute;opacity:0;pointer-events:none}
.sport-opt .so-n{font-weight:800;font-size:16px;color:var(--text)}
.sport-opt .so-s{font-size:12px;color:var(--muted);font-weight:600}
.sport-opt .so-s.ok{color:#8bddaf}
.sport-opt.on{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:rgba(225,6,0,.06)}
.sport-opt.soon{opacity:.5;cursor:not-allowed;border-style:dashed}
.sport-opt:focus-within{outline:3px solid #8fbfef;outline-offset:2px}
fieldset.rights{border:none;padding:0;margin:4px 0 0;display:flex;flex-direction:column;gap:4px}
fieldset.rights .check{margin:0;padding:8px 0}
fieldset.rights .check input{width:20px;height:20px;accent-color:var(--red);margin-top:2px;flex:none}
.rchips{display:inline-flex;flex-wrap:wrap;gap:4px}
body.staff .ptable td .rchips{flex-wrap:nowrap}
.rchip{font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;border:1px solid #3a3f46;color:var(--soft);white-space:nowrap}
.rchip.r-mental{border-color:#4f6a8a;color:#cfe0f5}
.rchip.r-speed{border-color:#7a2a26;color:#ffcfcc}
.rchip.r-eval{border-color:#56635a;color:#d4e8d9}
details.rights-edit{margin-top:4px}
.apptiles.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.apptiles.n1{grid-template-columns:minmax(0,1fr)}
@media (max-width:620px){.sport-opts{grid-template-columns:1fr}.apptiles.n2,.apptiles.n1{grid-template-columns:1fr}.selbar{position:static}}

/* V0.20 (Runde 3, Phase 3): Serien des Coaches, Dialog «Training planen» */
.series{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.series-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--p-line);border-radius:12px;background:#15181b}
.series-row .sr-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.series-row .meta{font-size:13px;color:var(--muted)}
.plan-dlg .segs .seg{flex:1 1 0}
.plan-dlg .segs.wd .seg{min-width:0;padding:6px 4px}
.ps-info{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:rgba(243,244,245,.03)}
.ps-info .meta{color:var(--muted);font-size:13.5px}
.plan-dlg input[type=date]{min-height:48px}
.sp-item .meta{color:var(--muted)}
.dlg-items .item.static{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dlg-items .item.static>button{width:auto;flex:none;margin:0}
/* V0.22 Import */
body.staff .imp-ta{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13.5px;line-height:1.5;white-space:pre;overflow:auto;min-height:170px}
body.staff .imp-file{display:none}
body.staff .imp-row{margin-top:10px}
body.staff .imp-fs{border:1px solid var(--p-line);border-radius:var(--p-r);padding:12px 14px;margin:14px 0 10px;display:flex;flex-direction:column;gap:10px}
body.staff .imp-opts{display:flex;gap:12px;flex-wrap:wrap}
body.staff .imp-opts[hidden]{display:none}
body.staff .imp-opts label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);min-width:140px}
body.staff .imp-opts label.grow{flex:1 1 220px}
body.staff .imp-opts select,body.staff .imp-opts input,body.staff .imp-fs>select{width:100%}
body.staff .imp-y{color:var(--green);font-weight:800}body.staff .imp-n{color:var(--muted)}
body.staff tr.imp-err td{background:rgba(225,6,0,.08)}
body.staff .imp-notes{font-size:12.5px;max-width:320px}
body.staff .imp-notes span{display:block}
body.staff .imp-e{color:#ffb3b3}body.staff .imp-n2{color:var(--muted)}
body.staff .pc-pad{padding:14px 18px 6px}
body.staff .imp-box{background:#16191c;border:1px solid var(--p-line);border-radius:12px;padding:12px 14px}
body.staff .imp-pre{margin:6px 0 10px;white-space:pre-wrap;font-size:13px;line-height:1.5;user-select:all}
body.staff .imp-gerr{padding:0 18px}
@media (max-width:720px){body.staff .imp-notes{max-width:none;flex-direction:column;align-items:flex-start!important}body.staff .imp-notes:empty{display:none}body.staff .ptiles.imp-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* V0.23 Admin › Testblätter: Auswahl, Vorgaben, Eingabeliste wie Excel */
body.staff .sh-root{display:flex;flex-direction:column;gap:18px}
body.staff .sh-pick .pc-b{display:flex;flex-direction:column;gap:12px}
body.staff .sh-count{color:var(--soft);font-weight:700;font-size:14px;white-space:nowrap}
body.staff .sh-segs{margin-top:6px}
body.staff .sh-lang{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
body.staff .sh-lang .sh-segs{margin-top:0}
body.staff .sh-place{margin-top:8px}
body.staff .sh-place input{width:180px;max-width:100%}
body.staff .sh-order{margin:0 0 4px;padding-left:20px;line-height:1.55}
body.staff .sh-segs .seg{min-height:42px;font-size:14.5px;flex:0 1 auto;padding:6px 18px}
body.staff .sh-defs{display:grid;grid-template-columns:repeat(4,minmax(0,auto));gap:10px 22px;align-items:start;justify-content:start;margin-bottom:14px}
body.staff .sh-defs .label{margin:0}
body.staff .sh-defs input[type=date]{min-height:42px;margin-top:6px;font-size:15px;width:auto;min-width:170px;border-color:var(--p-line2)}
body.staff .sh-defs .sh-segs .seg{min-height:38px;padding:4px 12px;font-size:14px}
body.staff .sh-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--p-line);border-radius:12px;margin-bottom:12px}
body.staff .sh-grid{border-collapse:collapse;width:100%;min-width:900px;font-size:14px}
body.staff .sh-grid th{font-size:11.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);padding:8px 4px 6px;text-align:center;white-space:nowrap;background:#16191c}
body.staff .sh-grid tr.g th{padding-bottom:0;color:var(--soft);font-size:11px}
body.staff .sh-grid th:nth-child(2){text-align:left}
body.staff .sh-grid td{padding:3px;border-top:1px solid var(--line2);text-align:center;vertical-align:middle}
body.staff .sh-grid .sep{border-left:1px solid var(--p-line2)}
body.staff .sh-grid .sh-id{color:var(--muted);font-size:12.5px;padding:0 8px;width:44px}
body.staff .sh-grid .sh-who{text-align:left;padding:4px 10px 4px 2px;min-width:130px;max-width:190px;line-height:1.2}
body.staff .sh-grid .sh-who strong{display:block;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.staff .sh-grid .sh-who .pp-sub{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.staff .sh-in{margin:0;min-height:38px;height:38px;width:64px;padding:0 6px;border-radius:8px;text-align:center;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;background:var(--field);border:1px solid #2c2f36}
body.staff .sh-in:focus{outline:none;border-color:var(--text);box-shadow:0 0 0 2px rgba(243,246,243,.18)}
body.staff .sh-in.bad{border-color:var(--red);background:rgba(225,6,0,.1)}
body.staff .sh-in::placeholder{color:#4b5158;font-weight:500;font-size:12.5px}
body.staff .sh-in.t-sit,body.staff .sh-in.t-dur{width:84px}
body.staff .sh-in.t-txt{width:220px;text-align:left;font-weight:500;font-size:14px} /* V0.37: Gefühl vom Blatt */
body.staff .sh-grid tr.saved td{background:rgba(139,221,175,.05)}
body.staff .sh-grid tr.saved .sh-in{color:var(--soft);border-color:transparent;background:none}
body.staff .sh-st{width:118px;text-align:left!important;padding-left:8px!important;white-space:nowrap;font-size:13px;font-weight:700}
body.staff .sh-ok{color:var(--green)}
body.staff .sh-bad{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--red);color:#fff;font-size:13px}
body.staff button.linkish{background:none;border:none;min-height:0;padding:2px 4px;color:var(--soft);font-size:12.5px;font-weight:600;text-decoration:underline;text-underline-offset:2px;border-radius:6px}
body.staff button.linkish:hover{color:var(--text)}
body.staff .sh-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
body.staff .sh-foot .row{margin:0;gap:8px;flex-wrap:wrap}
body.staff .sh-sum{color:var(--soft);font-size:14px;font-weight:600}
@media (max-width:820px){body.staff .sh-defs{grid-template-columns:1fr 1fr}}
@media (max-width:560px){body.staff .sh-defs{grid-template-columns:1fr}body.staff .sh-foot .row{width:100%}body.staff .sh-foot .row .primary{flex:1}}
body.staff .paper-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
body.staff .paper-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--p-line);border-radius:10px;background:#16191c}
body.staff .paper-list .pp-sub{display:block;font-size:13px;color:var(--muted)}
@media (max-width:560px){body.staff .sh-pick .sh-segs .seg{flex:1 1 0;padding:6px 8px}}
/* V0.23.1 Testblätter: Nummer im Kreis (wie auf dem Blatt), Titelblatt-Maske, Hinweis bei geänderter Liste */
body.staff .sh-grid .sh-seq{width:40px;padding:3px 2px 3px 8px}
body.staff .sh-grid .sh-seq span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:1.6px solid var(--text);font-weight:800;font-size:13px;font-variant-numeric:tabular-nums;color:var(--text)}
body.staff .sh-grid tr.saved .sh-seq span{border-color:var(--green);color:var(--green)}
body.staff .sh-cover{border:1px solid var(--p-line);border-radius:12px;padding:12px 14px;background:#16191c}
body.staff .sh-cover .check{margin:0}
body.staff .sh-cover .sh-con span{font-weight:700}
body.staff .sh-cfields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:14px}
body.staff .sh-cfields[hidden]{display:none}
body.staff .sh-cfields>label:not(.check){margin:0}
body.staff .sh-cfields input:not([type=checkbox]){min-height:46px;font-size:16px;max-width:520px;border-color:var(--p-line2)}
body.staff .sh-cfields textarea{min-height:0;font-size:16px;line-height:1.45;max-width:720px;border-color:var(--p-line2);font-weight:500}
body.staff .sh-cfields .check span{font-size:15px}
body.staff .sh-cfields .help{margin:0;font-size:13px;color:var(--muted)}
body.staff .sh-cnt{display:block;margin-top:6px;font-size:12.5px;font-weight:600;color:var(--muted);text-transform:none;letter-spacing:normal}
body.staff .sh-cnt.over{color:var(--red)}
body.staff .sh-warn{border:1px solid rgba(229,182,110,.45);background:rgba(229,182,110,.08);color:var(--soft);border-radius:12px;padding:10px 14px;margin:0 0 14px;font-size:14px;line-height:1.45}
body.staff .sh-warn strong{color:var(--amber)}
body.staff .pc .pc-a button.quiet{min-height:40px}
body.staff .sh-info{border:1px solid var(--p-line2);background:#16191c;color:var(--soft);border-radius:12px;padding:9px 14px;margin:0 0 14px;font-size:14px}
body.staff .sh-notoday{display:inline-block;margin-top:6px;padding:2px 9px;border-radius:999px;background:rgba(229,182,110,.14);color:var(--amber);font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}
body.staff .sh-grid .sh-seq i{color:var(--muted);font-style:normal;padding-left:10px}

/* V0.24 Gruppen-Dossier und Spieler-Verlauf (nur Admin) */
body.staff .ds-sec{display:flex;flex-direction:column;gap:16px;min-width:0}
body.staff .ds-head{margin:12px 0 -4px}body.staff .ds-head h2{margin:2px 0 0;font-size:24px}
body.staff .ds-form{display:grid;grid-template-columns:180px 180px minmax(0,1fr);gap:12px}
body.staff .ds-form label{margin:0}
@media (max-width:760px){body.staff .ds-form{grid-template-columns:1fr 1fr}body.staff .ds-form .wide{grid-column:1/-1}}
body.staff .ds-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
body.staff .ds-chips .seg small{color:var(--muted);font-size:11px}
body.staff .ds-up{display:flex;flex-direction:column;gap:8px}
body.staff .ds-drop{display:flex;align-items:center;gap:14px;padding:16px;border:1.5px dashed var(--p-line2);border-radius:14px;cursor:pointer;background:#111316;transition:border-color .15s,background .15s}
body.staff .ds-drop:hover,body.staff .ds-drop:focus-visible,body.staff .ds-drop.over{border-color:var(--red);background:rgba(225,6,0,.06);outline:none}
body.staff .ds-drop b{display:block;font-size:15px}body.staff .ds-drop span{font-size:13px;color:var(--muted)}
body.staff .ds-drop-i{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#1b1e22;font-size:22px;color:var(--soft);flex:none}
body.staff .ds-file{display:none}
body.staff .ds-date-l{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);margin:0}
body.staff .ds-date-l input{width:auto;min-height:34px;padding:4px 10px;font-size:14px}
body.staff .ds-state:empty{display:none}body.staff .ds-state{font-size:13px;color:var(--soft)}
body.staff .ds-docs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
body.staff .ds-doc{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--p-line)}
body.staff .ds-doc:first-child{border-top:none}
body.staff .ds-thumb{width:46px;height:46px;border-radius:8px;overflow:hidden;flex:none;display:grid;place-items:center;background:#1b1e22;border:1px solid var(--p-line);color:var(--red);font-size:10.5px;font-weight:700;letter-spacing:1px;text-decoration:none}
body.staff .ds-thumb img{width:100%;height:100%;object-fit:cover}
body.staff .ds-doc-m{flex:1;min-width:0}
body.staff .ds-doc-t{display:block;color:var(--text);font-weight:600;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.staff .ds-doc-t:hover{text-decoration:underline}
body.staff .ds-doc-s{font-size:12.5px;color:var(--muted);margin-top:2px}
body.staff .ds-doc-a{display:flex;gap:6px;flex:none}
body.staff a.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--text);border:1px solid var(--p-line2);min-height:36px;padding:6px 12px;border-radius:10px;font-size:13.5px}
body.staff a.btn:hover{background:var(--p-hover)}
body.staff .ds-folder{font-size:12px;word-break:break-all}
body.staff .ds-notes{display:flex;flex-direction:column;gap:12px}
body.staff .ds-notes ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
body.staff .ds-note-new{display:flex;flex-direction:column;gap:8px}
body.staff .ds-note{border:1px solid var(--p-line);border-radius:12px;padding:10px 12px;background:#111316;display:flex;flex-direction:column;gap:8px}
body.staff .ds-note-h{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--muted)}
body.staff .ds-note-a{display:flex;gap:12px}
body.staff .ds-note-t{margin:0;white-space:pre-wrap;font-size:14.5px;line-height:1.45}
body.staff button.linkish{background:none;border:none;padding:0;min-height:0;color:var(--soft);font-size:12.5px;text-decoration:underline;cursor:pointer}
body.staff .ds-groups{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
body.staff .ds-groups a{color:var(--text);font-weight:600}
body.staff .ds-cat{font-size:10.5px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
body.staff .ds-more summary{cursor:pointer;color:var(--soft);font-size:13.5px;margin:6px 0}
body.staff .g-ds{margin-top:2px}
.ds-dock{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-radius:14px;background:#1b1e22;border:1px solid #3a3f47;box-shadow:0 10px 30px rgba(0,0,0,.45);font-size:14px;max-width:calc(100vw - 32px)}
body.staff .ds-sec .segs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body.staff .ds-sec .segs .seg{padding-left:6px;padding-right:6px}
@media (max-width:520px){body.staff .ds-cat{display:none}}
/* V0.24.2 Mehrfach-Aktionen: Dropdowns Coach/Gruppe, Info, grosses Rückgängig */
.selbar .sb-pick{width:auto;min-height:36px;margin:0;padding:4px 30px 4px 12px;font-size:14px;font-weight:700;border-radius:10px;background-color:var(--field);border-color:var(--p-line2)}
.selbar .sb-info{flex:none}
.undobar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;background:rgba(139,221,175,.08);border-bottom:1px solid rgba(139,221,175,.35);font-weight:700;color:var(--text)}
.undobar span{flex:1;min-width:180px}
.undobar .primary{min-height:40px;padding:8px 20px;font-size:15px}
.undobar .link{background:none;border:none;color:var(--muted);min-height:36px;padding:4px 8px;cursor:pointer}
.sel-info{margin:0;display:grid;gap:4px 0}
.sel-info dt{font-weight:800;margin-top:8px}
.sel-info dd{margin:0;color:var(--soft);font-size:15px;line-height:1.45}
/* V0.25 Visualisieren: Eingabeliste mit 12 Spalten (Szene, Selbst, 10 Reihen) und Imagery */
body.staff .sh-vi .sh-in{width:52px}
body.staff .sh-vi .sh-in.t-sit{width:58px}
body.staff .sh-vi th{font-size:10px;letter-spacing:.2px;white-space:normal;max-width:70px;line-height:1.15}
body.staff .sh-vi .sh-tot{font-weight:800;font-size:15px;min-width:54px;font-variant-numeric:tabular-nums}

/* ---------- V0.30 (Entscheid Beat 21.10.2026): Info-Knöpfe, Namen direkt ändern, Dokumente als Sätze, Gruppenmodus-Auswahl ---------- */
body.staff .pc-t .pinfo{margin-left:2px}
body.staff .pinfo-s{margin:0;font-size:16px;font-weight:600;line-height:1.45}
body.staff .pinfo-d{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px;color:var(--soft);font-size:14px;line-height:1.5}
body.staff .inl{cursor:pointer;border-radius:8px;outline-offset:3px;display:inline-flex;align-items:baseline;gap:8px}
body.staff .inl:hover{background:rgba(255,255,255,.05)}
body.staff .inl-pen{font-size:.55em;color:var(--muted);opacity:0;transition:opacity .15s}
body.staff .inl:hover .inl-pen,body.staff .inl:focus-visible .inl-pen{opacity:1}
body.staff .inl-ph{color:var(--muted);font-weight:500}
body.staff .inl-edit{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}
body.staff .inl-edit .inl-in{display:inline-block;width:auto;min-width:200px;max-width:100%;margin:0;min-height:44px;font-size:inherit;font-weight:inherit}
body.staff h1 .inl-edit .inl-in{font-size:24px}
body.staff .chip-i.inl-chip{padding:0;height:auto;min-height:28px}
body.staff .chip-i.inl-chip .inl{padding:4px 10px}
body.staff .ds-sets{display:flex;flex-direction:column}
body.staff .ds-set{display:grid;grid-template-columns:minmax(0,1fr) auto 110px 44px;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--p-line)}
body.staff .ds-set-h{border-top:none;padding:0 0 6px;font-size:11px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}
body.staff .ds-ho-h{display:inline-flex;align-items:center;gap:6px}
body.staff .ds-set-m{min-width:0}
body.staff .ds-langs{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
body.staff .ds-lang{display:inline-flex;border:1px solid var(--p-line);border-radius:999px;overflow:hidden}
body.staff .ds-lang a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:40px;padding:0 10px;color:var(--text);text-decoration:none;font-weight:700;font-size:13px}
body.staff .ds-lang a.ds-dl{min-width:32px;padding:0 8px;border-left:1px solid var(--p-line);color:var(--muted);font-weight:500}
body.staff .ds-lang a:hover{background:rgba(255,255,255,.06)}
body.staff .ds-ho{display:flex;align-items:center;gap:8px;margin:0;font-size:12.5px;color:var(--muted);letter-spacing:0;text-transform:none;font-weight:500}
body.staff .ds-ho input{width:22px;height:22px;min-height:0;margin:0;accent-color:#8bddaf}
body.staff .gm-list{display:flex;flex-direction:column;gap:8px}
body.staff button.gm-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;width:100%;padding:14px 16px;border-radius:16px}
body.staff .gm-item strong{display:block;font-size:16px}
body.staff .gm-item small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
body.staff .gm-go{font-size:20px;color:var(--muted)}
@media (max-width:720px){
 body.staff .ds-set{grid-template-columns:minmax(0,1fr) 44px;row-gap:8px}
 body.staff .ds-set-h{display:none}
 body.staff .ds-set .ds-langs{grid-column:1;justify-content:flex-start}
 body.staff .ds-set .ds-ho{grid-column:2;grid-row:2;justify-self:end}
 body.staff .ds-set>button{grid-column:2;grid-row:1}
 body.staff .ds-set .ds-ho{grid-column:1/-1;grid-row:3;justify-self:start}
}
body.staff .ds-ho-l{display:none}
@media (max-width:720px){body.staff .ds-ho-l{display:inline}}
body.staff .ds-form>label{min-width:0}body.staff .ds-form input{min-width:0;width:100%;box-sizing:border-box}
@media (max-width:760px){body.staff .ds-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* V0.30 (Review): vertrauliche Zugangsliste ohne Haken; Haken auch im Spieler-Dossier */
body.staff .ds-conf{font-size:12px;color:#f0a0a0;font-weight:600;letter-spacing:.02em}
body.staff .ds-doc-m .ds-ho{margin-top:6px}
body.staff .ds-doc-m .ds-ho-l{display:inline}
