html[data-theme=dark] .period-segments span{background:#22354c;color:#e4f0ff;border-color:#62758b}html[data-theme=dark] .period-segments input:checked+span{background:#145b94;color:#fff;border-color:#89baff}.period-segments input:focus-visible+span{outline:3px solid #f3cf48;outline-offset:3px}
.staff-toolbar,.export-tools,.staff-card-head,.save-bar957{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.staff-card-head{justify-content:space-between}.staff-card-head h2{margin:0}.staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px;align-content:start}#staff-layout{display:grid;grid-template-columns:270px 1fr;gap:20px;align-items:start}#staff-layout:has(#staff-pool[hidden]){grid-template-columns:1fr}#staff-pool{position:sticky;top:12px;max-height:80vh;overflow:auto}#staff-pool[hidden]{display:none}.staff-slot{padding:12px;margin:12px 0;border:1px solid var(--line);border-radius:10px;min-height:90px}.staff-slot select{margin-top:10px}.staff-person{padding:10px 12px;margin:8px 0;border:1px solid var(--line);border-left:4px solid #3a8ac4;border-radius:8px;background:var(--surface,var(--paper));display:flex;flex-wrap:wrap;gap:8px;align-items:center}.staff-person[draggable=true]{cursor:grab}.drop-target{outline:3px solid #258454;outline-offset:3px}.own-assignment{border:3px solid #299769;background:color-mix(in srgb,#299769 12%,transparent)}.staff-card>*{max-width:100%}.staff-card .staff-card-head button{min-width:44px}.staff-card{min-width:0}#staff-status.error{padding:12px;border-left:4px solid #bc3447}#staff-dialog input[type=number]{max-width:120px}#staff-dialog label{display:block;margin:12px 0}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:8px;background:transparent}.icon-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.export-tools{justify-content:flex-end;margin:10px 0}.export-xlsx{color:#137741}.export-pdf{color:#bb2539}html[data-theme=dark] .export-xlsx{color:#71e7a5}html[data-theme=dark] .export-pdf{color:#ff9aaa}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mobile-notices957{position:relative;z-index:3;color:inherit;text-decoration:none;flex-shrink:0}.mobile-notices957 span{position:absolute;right:-6px;top:-7px;background:#bc233b;color:#fff;border-radius:20px;min-width:22px;font-size:12px;text-align:center;padding:2px}.save-bar957{position:sticky;bottom:10px;background:var(--surface,var(--paper));border:1px solid var(--line);box-shadow:0 4px 18px #0002;padding:12px;z-index:5;border-radius:10px;margin-top:20px}.save-bar957 button{margin:0}.form-accordion957{margin:16px 0;border:1px solid var(--line);border-radius:10px;padding:14px;border-left:4px solid var(--accent)}.form-accordion957 summary{cursor:pointer;font-weight:750;font-size:1.1rem}.form-accordion957 summary small{display:block;font-size:.85rem;font-weight:400;margin-top:5px;color:var(--muted);overflow-wrap:normal;word-break:normal}.form-accordion957 .form-section-title{margin:0}.validation957{border:2px solid #b83245;padding:16px;border-radius:8px;margin:16px 0}.active-chips957{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.active-chips957 button{font-size:.85rem;padding:6px 10px;white-space:normal;word-break:normal;overflow-wrap:normal;min-height:44px}.statistics-filter .date-fields input[type=date]{font:inherit;min-height:44px}.statistics-filter fieldset label{word-break:normal;overflow-wrap:normal}.staffing-links{border-left:5px solid var(--accent)}
@media(max-width:760px){#staff-layout{grid-template-columns:1fr}#staff-pool{position:static;max-height:340px}.staff-toolbar>*{flex:1 1 145px}.staff-grid{grid-template-columns:1fr}.save-bar957{bottom:5px;padding:10px}.save-bar957 button{flex:1}.form-accordion957{padding:10px}.metric-grid{grid-template-columns:1fr!important}.metric-grid>div{min-width:0}.person-badge strong{word-break:normal!important;overflow-wrap:normal!important}.period-segments{display:flex;flex-wrap:nowrap;width:100%}.period-segments label{flex:1;min-width:0}.period-segments span{padding:10px 6px;text-align:center;font-size:.95rem}.mobile-notices957{margin-left:auto;margin-right:14px}}
@media(min-width:1000px){.mobile-notices957{display:none}}
.form-accordion957[hidden],.section-duties[hidden],.duty-group954[hidden]{display:none!important}
