.staff-shell { padding-block: 48px 72px; }
.staff-shell h1 { margin-bottom: 18px; font-family: var(--font-head); }
.staff-login { max-width: 440px; }
.staff-login form, .staff-dashboard-form { display: grid; gap: 12px; }
.staff-login label, .staff-dashboard-form label { display: block; font-weight: 600; }
.staff-login form input:not([type=checkbox]), .staff-dashboard-form input:not([type=checkbox]),
.staff-dashboard-form select, .staff-dashboard-form textarea { width: 100%; }
.staff-login form input:not([type=checkbox]), .staff-dashboard-form input:not([type=checkbox]),
.staff-dashboard-form select, .staff-dashboard-form textarea:not(.wp-editor-area) {
  margin-top: 4px; padding: 9px; border: 1px solid var(--hairline); border-radius: 6px; font: inherit;
}
.staff-toolbar, .staff-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.staff-signout { margin-left: auto; }
.staff-grid { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2.4fr); gap: 20px; align-items: start; }
.staff-items li { display: grid; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.staff-items li span { font-size: 12px; color: var(--soft); }
.staff-dashboard .info-card h2 { margin-bottom: 10px; }
@media (max-width: 720px) { .staff-grid { grid-template-columns: minmax(0, 1fr); } }
.staff-grid > *, .staff-dashboard-form > * { min-width: 0; }
.staff-items a { overflow-wrap: anywhere; }
.staff-dashboard-form .wp-editor-wrap { min-width: 0; }
.staff-dashboard-form .mce-toolbar-grp, .staff-dashboard-form .quicktags-toolbar {
  max-width: 100%; overflow-x: auto;
}
.staff-feature-preview { width: 140px; height: auto; margin-block: 8px; border-radius: 6px; }
.staff-feature-preview[hidden] { display: none; }
.staff-dashboard-form [data-bcr-choose-image] { background: var(--white); cursor: pointer; }
.staff-feature-field { padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 8px; min-width: 0; }
.staff-feature-field legend { padding-inline: 4px; font-weight: 700; }
.staff-feature-field [data-bcr-feature-message]:not(:empty) { margin-block: 4px; color: #a21a1a; }

.staff-dashboard, .staff-login {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: clip;
  background: #f7f7f8;
  color: #18181b;
}
.staff-login { max-width: 780px; margin-inline: auto; grid-template-columns: minmax(190px, 1fr) minmax(0, 1.5fr); }
.staff-sidebar, .staff-login-brand { padding: 24px; background: #18181b; color: #fff; }
.staff-logo { display: block; width: 136px; height: auto; }
.staff-login-brand p { margin-top: 24px; }
.staff-login-panel, .staff-workspace { padding: clamp(16px, 3vw, 30px); min-width: 0; }
.staff-login-panel { background: #fff; }
.staff-identity { display: flex; align-items: center; gap: 12px; margin-block: 28px 16px; overflow-wrap: anywhere; }
.staff-identity span:not(.staff-avatar) { display: block; color: #d4d4d8; font-size: .85rem; }
.staff-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.staff-initial { display: grid; place-items: center; background: #f5c5a3; color: #18181b; font-weight: 700; }
.staff-toolbar { display: grid; gap: 4px; }
.staff-toolbar a { color: #fff; border-radius: 7px; padding: 10px 12px; text-decoration: none; }
.staff-toolbar a:hover, .staff-toolbar a[aria-current=page] { background: #39393f; }
.staff-toolbar a[aria-current=page] { box-shadow: inset 3px 0 #ff9a55; }
.staff-signout { margin: 16px 0 0; border-top: 1px solid #55555c; }
.staff-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.staff-dashboard .info-card { background: #fff; min-width: 0; }
.staff-dashboard .info-card h3 { margin-bottom: 12px; }
.staff-dashboard input, .staff-dashboard select, .staff-login input { color: #18181b; background: #fff; }
.staff-dashboard :focus-visible, .staff-login :focus-visible { outline: 3px solid #4265d5; outline-offset: 3px; }
.staff-sidebar :focus-visible { outline-color: #ffbe91; }
.staff-separated { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.staff-notice { margin-bottom: 16px; padding: 12px; background: #fff; border-left: 4px solid #a74813; }
.staff-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1050px) { .staff-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 660px) {
  .staff-dashboard, .staff-login { grid-template-columns: minmax(0, 1fr); }
  .staff-sidebar, .staff-login-brand { padding: 16px; }
  .staff-identity { margin-block: 14px 8px; }
  .staff-toolbar { display: flex; margin-bottom: 0; }
  .staff-signout { margin: 0; border: 0; }
}

body:has(.staff-shell) { overflow-x: clip; }
.staff-shell.wrap { padding-block: 40px 64px; }
.staff-login-panel .bcr-form { padding: 0; border: 0; box-shadow: none; }
.staff-login-panel [role=alert], .staff-login-panel [role=status] { margin-bottom: 16px; }

.staff-article-top, .staff-article-results li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.staff-article-top p { font-weight: 700; }
.staff-article-filters {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  margin-block: 20px 12px;
}
.staff-article-filters .staff-actions { grid-column: 1 / -1; }
.staff-article-filters :is(select, input[type=search]) { min-height: 44px; }
.staff-article-results li { padding-block: 14px; border-bottom: 1px solid var(--hairline); }
.staff-article-summary { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.staff-article-summary span, .staff-article-page { color: #55565b; font-size: .875rem; }
.staff-article-actions { flex: none; }
.staff-article-browser :is(.page-btn, .page-numbers) {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: #fff;
  color: #18181b;
  font: inherit;
}
.staff-article-browser :is(.page-btn, a.page-numbers):hover { background: var(--offwhite); text-decoration: underline; }
.staff-article-browser .page-numbers.current { background: #18181b; color: #fff; }
.staff-article-page { margin-top: 14px; }
.staff-article-editor > p:first-child { margin-bottom: 12px; }
.staff-article-editor > p:first-child a { text-decoration: underline; }
.staff-article-editor .bcr-dashboard-form { max-width: none; border: 0; padding: 0; box-shadow: none; }
.staff-article-editor .wp-editor-wrap { min-width: 0; }
.staff-article-editor .mce-toolbar-grp, .staff-article-editor .quicktags-toolbar { max-width: 100%; overflow-x: auto; }

@media (max-width: 1050px) { .staff-article-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 570px) {
  .staff-article-results li { flex-direction: column; align-items: flex-start; }
  .staff-article-filters { grid-template-columns: minmax(0, 1fr); }
}
