:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172554; background: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.staff-main { max-width: 1120px; margin: auto; padding: 24px 16px 64px; }
.staff-main a { color: #1e40af; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; overflow-wrap: anywhere; }
.staff-main h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); }
.staff-main h1, .staff-main h2, .staff-main h3, .staff-main p, .staff-main pre, .staff-main dd { overflow-wrap: anywhere; }
.staff-header, .staff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.staff-header { justify-content: space-between; }
.staff-card { background: white; border: 1px solid #bfdbfe; border-radius: 12px; margin-block: 20px; padding: 20px; min-width: 0; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.staff-main label { display: flex; flex-direction: column; gap: 6px; margin-block: 10px; font-weight: 600; min-width: 0; }
.staff-main input, .staff-main select, .staff-main textarea, .staff-main button { font: inherit; min-height: 44px; border: 1px solid #64748b; border-radius: 6px; padding: 10px; max-width: 100%; min-width: 0; }
.staff-main input, .staff-main select, .staff-main textarea { width: 100%; color: #172554; background: white; }
.staff-main textarea { resize: vertical; }
.staff-main button { background: #1e40af; color: white; cursor: pointer; }
.staff-main button.secondary { background: white; color: #1e40af; }
.staff-main button:disabled { opacity: .6; cursor: not-allowed; }
.staff-main :focus-visible { outline: 3px solid #9a3412; outline-offset: 3px; }
.staff-main fieldset { min-width: 0; margin: 12px 0; border: 1px solid #bfdbfe; padding: 12px; }
.staff-main legend { font-weight: 700; }
.staff-status { padding: 14px; border-left: 5px solid #1e40af; background: #dbeafe; overflow-wrap: anywhere; }
.staff-status.error { background: #fff7ed; border-color: #b91c1c; color: #7b2411; }
.staff-note { color: #39594b; line-height: 1.6; }
.staff-table { overflow-x: auto; max-width: 100%; border: 1px solid #bfdbfe; border-radius: 6px; }
.staff-main table { border-collapse: collapse; width: 100%; }
.staff-main caption { text-align: left; padding: 12px; font-weight: 700; }
.staff-main td, .staff-main th { text-align: left; padding: 12px; border-bottom: 1px solid #dce8e1; overflow-wrap: anywhere; }
.staff-main th { background: #eff6ff; }
.staff-main pre { white-space: pre-wrap; max-width: 100%; font-size: .875rem; background: #eff6ff; padding: 12px; }
.staff-main summary { cursor: pointer; padding: 12px 0; min-height: 44px; font-weight: 600; }
.staff-skip { display: inline-block; padding: 12px; min-height: 44px; }
.staff-metrics { display: flex; flex-wrap: wrap; gap: 20px; }
.staff-metrics p { flex: 1; min-width: 150px; }
.staff-metrics strong { display: block; font-size: 1.8rem; }
@media (max-width: 400px) { .staff-card { padding: 12px; } .staff-main { padding-inline: 12px; } }
