#staff-panel { color: var(--ink,#222); }
#staff-panel :is(.sf-toolbar,.sf-tools,.sf-actions,header,footer) { display:flex; align-items:center; gap:16px; }
#staff-panel .sf-toolbar, #staff-panel header { justify-content:space-between; }
#staff-panel .sf-toolbar { flex-wrap:wrap; align-items:flex-end; margin:24px 0 20px; }
#staff-panel .sf-groups { display:flex; gap:24px; margin-top:24px; border-bottom:1px solid var(--divider); }
#staff-panel .sf-groups button { appearance:none; border:0; border-bottom:2px solid transparent; margin:0 0 -1px; padding:8px 0 12px; background:none; color:var(--muted); font-size:16px; font-weight:600; }
#staff-panel .sf-groups button[aria-pressed=true] { color:var(--ink); border-bottom-color:currentColor; }
#staff-panel .sf-groups button:hover { color:var(--ink); }
#staff-panel h1 { margin:0; font-size:40px; line-height:1.2; letter-spacing:-.025em; }
#staff-panel .sf-toolbar a { display:inline-block; color:#476653; text-decoration:none; font-size:14px; }
#staff-panel .sf-toolbar a:hover { text-decoration:underline; }
#staff-panel .sf-tools { align-items:flex-end; flex-wrap:wrap; }
#staff-panel :is(.sf-tools,.sf-fields)>label { display:grid; gap:6px; font-size:14px; font-weight:600; }
#staff-panel :is(input:not([type=checkbox]),textarea,select) { width:100%; padding:10px 12px; border:1px solid #d0d3e5; border-radius:8px; color:inherit; background:white; font-weight:400; }
#staff-panel .sf-tools input { width:min(300px,100%); }
#staff-panel .sf-message:not(:empty) { margin:10px 0; font-size:14px; color:#566076; }
#staff-panel .sf-table-wrap { overflow-x:auto; border:1px solid #d0d3e5; border-radius:12px; }
#staff-panel table { width:100%; min-width:610px; border-collapse:collapse; font-size:14px; text-align:left; }
#staff-panel th,#staff-panel td { padding:16px; border-bottom:1px solid #e1e5ed; max-width:290px; white-space:normal; overflow-wrap:anywhere; }
#staff-panel th { background:white; color:#707695; font-size:13px; }
#staff-panel td small { display:block; color:#707695; }
#staff-panel tbody tr:last-child td { border-bottom:0; }
#staff-panel .sf-empty { height:125px; text-align:center; color:#707695; }
#staff-panel .sf-link { padding:4px; border:0; background:transparent; color:#245f3f; font-size:14px; font-weight:600; }
#staff-panel .sf-link:hover { text-decoration:underline; }
#staff-panel .sf-pill { display:inline-block; white-space:nowrap; border-radius:5px; padding:2px 7px; color:#5b6271; background:#f2f4f6; font-size:12px; }
#staff-panel .sf-ok { background:#ebfaef; color:#18753b; }
#staff-panel .sf-dialog { width:min(490px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; overflow:auto; border:1px solid #d0d3e5; border-radius:16px; color:#222; }
#staff-panel .sf-dialog::backdrop { background:rgb(63 69 91 / 43%); }
#staff-panel .sf-dialog header,#staff-panel .sf-dialog footer { padding:20px 24px; }
#staff-panel .sf-dialog h2 { margin:0; font-size:21px; }
#staff-panel .sf-dialog header button { border:0; background:none; font-size:24px; color:#707695; }
#staff-panel .sf-fields { padding:0 24px; display:grid; gap:14px; }
#staff-panel .sf-fields small { color:#707695; font-size:12px; font-weight:400; }
#staff-panel textarea { resize:vertical; }
#staff-panel .sf-options { display:grid; gap:8px; padding-top:6px; font-size:14px; }
#staff-panel .sf-options label { display:flex; align-items:center; gap:8px; }
#staff-panel .sf-options input { accent-color:#246741; width:16px; height:16px; margin:0; }
#staff-panel .sf-dialog footer { justify-content:flex-end; gap:10px; }
#staff-panel .sf-error { color:#a8323e; font-size:14px; }
@media(max-width:640px) { #staff-panel h1 { font-size:29px; } #staff-panel .sf-toolbar { gap:16px; } #staff-panel .sf-groups { gap:18px; } #staff-panel .sf-tools, #staff-panel .sf-actions { flex-wrap:wrap; } }

#staff-panel .sf-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#staff-panel .sf-row-actions button { white-space: nowrap; }
