[hidden] { display: none !important; }
#staff-status { padding: 12px 22px; font: 500 13px/1.5 Inter, sans-serif; background: var(--surface, #eef5fa); color: var(--ink, #1e293b); }
#staff-status.staff-fatal { margin: 12vh auto; max-width: 580px; border-radius: 12px; padding: 28px; }
.psearch { display: none !important; }
.staff-thread { margin: 16px 0; border: 1px solid var(--line, #cbd5e1); border-radius: 12px; padding: 18px; background: var(--surface, #fff); color: var(--ink, #1e293b); font: 13px/1.5 Inter, sans-serif; }
.staff-thread h3 { margin: 0 0 6px; font-size: 16px; }
.staff-thread p { margin: 6px 0; }
.staff-help { color: var(--muted, #64748b); font-size: 12px; }
.staff-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.staff-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; }
.staff-form input, .staff-form select, .staff-form textarea { width: 100%; min-width: 0; box-sizing: border-box; color: inherit; background: var(--bg, #fff); border: 1px solid var(--line-2, #94a3b8); border-radius: 6px; padding: 9px; font: inherit; }
.staff-form textarea { resize: vertical; min-height: 72px; }
.staff-wide { grid-column: 1 / -1; }
.staff-error { color: var(--rose, #b91c1c); min-height: 1.4em; }
.staff-entry { padding: 12px 0; border-bottom: 1px solid var(--line, #cbd5e1); overflow-wrap: anywhere; }
.staff-entry p { white-space: pre-wrap; }
.staff-entry small { display: block; color: var(--muted, #64748b); }
.staff-last { font-weight: 600; }
.staff-row-status { display: block; margin-top: 5px; font-size: 11px; color: var(--blue, #2563eb); }
#staff-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink, #1e293b); color: var(--bg, white); padding: 10px 16px; border-radius: 10px; font: 600 13px/1.4 Inter, sans-serif; z-index: 99999; max-width: min(620px, 92vw); }
/* Keep the owner dossier intact; let its action bar and composer scroll together. */
#dn-drawer.staff-drawer { overflow-y: auto; }
#dn-drawer.staff-drawer > .dn-db { flex: none; overflow: visible; padding-bottom: 16px; }
#dn-drawer.staff-drawer > .dn-actions { position: static; flex: none; }
#dn-drawer > .staff-thread { margin: 12px 16px 24px; }
.rnav-brand[href] { color: inherit; text-decoration: none; }
.rnav-items a { text-decoration: none; }
.rnav-theme { flex: none; }
.staff-lane-picker:focus-within { outline: 2px solid var(--blue, #2563eb); outline-offset: 2px; }
.staff-lane-picker select:disabled { cursor: wait; }
@media (max-width: 540px) { .staff-form { grid-template-columns: 1fr; } }

.staff-diag{margin-top:8px;font-size:11.5px;color:#7a5a00;font-family:ui-monospace,Menlo,monospace;white-space:pre-wrap}
