.staff-board,.staff-dialog-content{--staff-rule:#355363;--staff-muted:#adc4cf;--staff-bright:#94e4f7;overflow-wrap:anywhere}
.staff-owner-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;margin:12px 0;background:#112936;border-left:3px solid #55c6e6}
.staff-owner-entry p{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0}.staff-owner-entry p span{font-size:12px;color:#adc4cf}
.staff-owner-entry button{min-height:44px}
.hq-hero-actions:has([data-action="staff-open"]){flex-wrap:wrap}
.hq-hero-actions [data-action="staff-open"]{max-width:100%;overflow-wrap:anywhere}
.staff-board{scroll-margin-top:85px;margin:14px 0 24px;border:1px solid var(--staff-rule);background:#0c1b24;border-radius:6px;padding:clamp(14px,2vw,26px);color:#edf6fa}
.staff-board :is(h2,h3,h4,p,dl,dd,ul),.staff-dialog-content :is(h3,h4,dl,dd,ul){margin:0}
.staff-heading,.staff-market-head,.staff-current-head,.staff-dossier,.staff-terms,.staff-current h4{display:flex;align-items:center;justify-content:space-between;gap:12px}
.staff-board .upper,.staff-dialog-content .upper{color:#8ad2e6;font:700 10px/1.5 var(--font);letter-spacing:.13em}
.staff-heading h2{font-size:clamp(22px,2.2vw,32px);line-height:1.35}
#coach-staff-heading{scroll-margin-top:88px}
.staff-wallet{display:grid;justify-items:end;font-size:12px;color:var(--staff-muted)}
.staff-wallet strong{font:700 20px/1.4 var(--font);color:#f1f7fa}
.staff-vacant,.staff-current{margin-top:16px;border-left:3px solid #55c6e6;background:#142c38}
.staff-vacant{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 16px;padding:11px 16px}
.staff-vacant span,.staff-description,.staff-footnote,.staff-market-head>p,.staff-ranks p{font-size:13px;line-height:1.65;color:var(--staff-muted)}
.staff-market-head{align-items:end;margin-top:22px}.staff-board .staff-description{margin:6px 0 13px}
.staff-market-head h3,.staff-current h3,.staff-dialog-content h3{font-size:clamp(20px,1.8vw,26px);line-height:1.4}
.staff-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1vw,15px);align-items:stretch}
.staff-candidate{padding:clamp(12px,1.15vw,18px);background:#12242f;border:1px solid var(--staff-rule);border-top:3px solid #548ea4;border-radius:4px;min-width:0;display:flex;flex-direction:column}
.staff-candidate h4{font-size:clamp(19px,1.6vw,24px);margin:8px 0 10px;line-height:1.35;color:#fff}
.staff-dossier>span:first-child,.staff-player>small,.staff-effects li>div>small{font-size:11px;color:var(--staff-muted);font-weight:650}
.staff-style{display:inline-block;flex:none;font-size:12px;font-weight:700;border-radius:3px;padding:2px 8px}
.staff-zone{background:#173e51;color:#a6e9ff}.staff-edge{background:#463628;color:#f4d7ac}
.staff-skills>div,.staff-fit-list>div,.staff-money>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
.staff-skills>div{min-height:31px;border-top:1px solid #29404c}
.staff-skills dt,.staff-fit-list dt,.staff-terms span,.staff-money dt{font-size:13px;color:#c0d4de}
.staff-skills dd,.staff-fit-list dd{display:inline-flex;align-items:center;gap:3px}
.staff-skills .ability-letter,.staff-fit-list .ability-letter,.staff-effects .ability-letter,.staff-dialog-content .ability-letter{min-width:22px;width:22px;height:23px;font-size:17px;line-height:1.1}
.staff-board .ability-number,.staff-dialog-content .ability-number{font-size:13px}
.staff-board .staff-fit-title{margin:11px 0 4px;padding-top:9px;border-top:1px solid #456170;font-size:12px;font-weight:700;color:var(--staff-bright)}
.staff-fit-list>div{min-height:26px}.staff-fit-list dt{font-weight:650;color:#f0f5f7}
.staff-terms{margin-top:auto;padding-top:12px}
.staff-terms strong{font:700 19px/1.5 var(--font)}
.staff-review{width:100%;margin-top:5px;justify-content:space-between}
.staff-board button,.staff-dialog-content button,.staff-ranks summary{min-height:44px}
.staff-board .staff-policy,.staff-dialog-content .staff-policy{display:block;margin-top:8px;color:#f0d4ac;font-size:13px}
.staff-policy[hidden]{display:none!important}
.staff-ranks{border-top:1px solid var(--staff-rule);margin-top:13px}
.staff-ranks summary{align-content:center;cursor:pointer;color:var(--staff-muted);font-size:13px}
.staff-current{padding:14px 16px}.staff-current-head{margin-bottom:13px}
.staff-active-grid{display:grid;grid-template-columns:minmax(205px,.8fr) minmax(350px,2fr);gap:clamp(16px,2vw,30px)}
.staff-active-grid h4,.staff-dialog-content h4{font-size:15px;margin:0 0 5px;color:#f0f8fb}
.staff-active-grid h4>span{font-weight:500;font-size:12px;color:var(--staff-muted)}
.staff-active-grid .staff-footnote{margin-top:6px}
.staff-board .staff-effects,.staff-preview-effects{list-style:none;padding:0}
.staff-board .staff-effects{margin-top:8px}
.staff-effects li{display:grid;grid-template-columns:minmax(55px,1.4fr) repeat(3,minmax(45px,.75fr)) minmax(80px,auto);align-items:center;gap:6px;border-top:1px solid var(--staff-rule);padding:7px 0}
.staff-effects li>div{display:flex;flex-direction:column;align-items:start;gap:1px}
.staff-effects li>div>b{font-variant-numeric:tabular-nums}
.staff-player>span{font-size:12px;color:var(--staff-muted)}
.staff-effects button{padding:6px 9px;font-size:13px}
.staff-growth{color:#9bdfba;font-weight:700}
.staff-result{margin-top:15px;padding:12px 15px;border:1px solid #497788;border-radius:4px;background:#10212a;scroll-margin:95px 0 18px}
.staff-result h4{justify-content:start;margin:4px 0;font-size:16px}.staff-result p:last-child{font-size:13px;color:var(--staff-muted);margin-top:4px}
dialog.staff-dialog{width:min(540px,calc(100% - 24px));color:#eff8fc;background:#10212b;border:1px solid #507080}
.staff-dialog-content .modal-head{margin-bottom:14px}
.staff-dialog-content>p{margin:7px 0 12px;color:#c9dce6}
.staff-dialog-content>h3{margin:6px 0}.staff-dialog-content>h4{margin-top:15px}
.staff-money{background:#0b1921;border:1px solid var(--staff-rule);border-radius:4px;padding:6px 12px}
.staff-money>div{padding:4px 0}.staff-money>div:last-child{border-top:1px solid var(--staff-rule);font-weight:700}
.staff-preview-effects li{display:grid;grid-template-columns:minmax(60px,1fr) auto auto;gap:7px;padding:4px 0;border-top:1px solid var(--staff-rule);font-size:13px}
.staff-topics{padding:0;border:0;margin:15px 0}
.staff-topics legend{font-weight:700;padding:0 0 7px}.staff-topics label{display:flex;align-items:center;gap:10px;min-height:50px;margin-bottom:6px;padding:8px 12px;border:1px solid var(--staff-rule);border-radius:4px;cursor:pointer}
.staff-topics label:has(:checked){background:#153d50;border-color:#73cae5}
.staff-topics input{width:18px;height:18px;flex:none;accent-color:#66d1ee}
.staff-topics label span{display:grid}.staff-topics small{color:var(--staff-muted);line-height:1.5}
.staff-dialog-actions{display:flex;justify-content:end;align-items:stretch;gap:8px;margin-top:18px}
.staff-dialog-actions button{width:auto;flex:0 1 auto}
dialog.staff-dialog .staff-dialog-actions .primary:disabled{background:#29373e;color:#c0cdd3;border:1px dashed #73858d;box-shadow:none;opacity:1;cursor:default}
.staff-topics label:has(input:disabled){cursor:default}
.staff-board :focus-visible,.staff-dialog-content :focus-visible{outline:3px solid #a2eaff;outline-offset:2px}
@media(max-width:850px){
 .staff-active-grid{grid-template-columns:1fr;gap:14px}
}
@media(max-width:680px){
 .staff-board{padding:12px;scroll-margin-top:65px}.staff-candidates{grid-template-columns:1fr}.staff-candidate{padding:14px}.staff-current{padding:12px}
 .staff-heading,.staff-market-head{align-items:start}.staff-market-head{flex-direction:column;gap:2px}
 .staff-active-grid h4{flex-wrap:wrap;gap:3px 8px}
 .staff-effects li{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));gap:4px 8px;padding:10px 0}
 .staff-effects li>.staff-player{grid-column:1 / 3;grid-row:1}.staff-effects li>button{grid-column:3;grid-row:1;min-width:0;padding:4px}
 .staff-player{max-width:100%}.staff-terms{padding-top:8px}
 .staff-preview-effects li{grid-template-columns:1fr 1fr}.staff-preview-effects li strong{grid-column:1/-1}
 .staff-dialog-actions{flex-wrap:wrap}.staff-dialog-actions button{flex:auto}
}
