/* Interface web da equipe da SESP. Fontes servidas pelo próprio portal. */
@font-face {
  font-family: "Bolsa Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/barlow-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Bolsa Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/barlow-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Bolsa Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/barlow-condensed-700-normal.woff2") format("woff2");
}
body.bstaff-page {
  --staff-navy: #142f46;
  --staff-deep: #102b40;
  --staff-blue: #215581;
  --staff-lime: #d6e954;
  --staff-ink: #182f40;
  --staff-text: #344e5f;
  --staff-muted: #4e626f;
  --staff-line: #ccd6d9;
  --staff-line-soft: #dfe6e6;
  --staff-paper: #f4f6f4;
  --staff-field: #899ca6;
  --staff-radius: 10px;
  --staff-body-font: "Bolsa Barlow", Barlow, "Segoe UI", Roboto, Arial, sans-serif;
  --staff-heading-font: "Bolsa Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  min-width: 0;
  margin: 0;
  color: var(--staff-ink);
  background: var(--staff-paper);
  font: 400 16px/1.46 var(--staff-body-font);
  text-align: left;
  text-rendering: optimizeLegibility;
}
.bstaff-page *, .bstaff-page *::before, .bstaff-page *::after {box-sizing: border-box}
.bstaff-page :where(h1,h2,h3,h4,p,ol,ul,dl,fieldset) {margin: 0}
.bstaff-page :where(h1,h2,h3,h4) {color: inherit; font-family: var(--staff-body-font); text-transform: none}
.bstaff-page img {max-width: 100%; height: auto}
.bstaff-page a {color: var(--staff-blue); text-decoration-thickness: .08em; text-underline-offset: .19em}
.bstaff-page a:hover {color: #163a5b}
.bstaff-page :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline: 3px solid #c36c00; outline-offset: 3px}
.bstaff-page .screen-reader-text, .bstaff-page .bstaff-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.bstaff-page .bstaff-skip {position:absolute; top:6px; left:8px; z-index:20; transform:translateY(-160%); background:white; padding:8px 14px; border-radius:4px; font-weight:700}
.bstaff-page .bstaff-skip:focus {transform:none}
.bstaff-shell {display:grid; grid-template-columns: clamp(216px,18vw,265px) minmax(0,1fr); min-height:100vh; min-height:100svh}
.bstaff-sidebar {
  position: sticky; top:0; align-self:start; z-index:2; display:flex; flex-direction:column;
  height:100vh; height:100dvh; min-width:0; overflow-y:auto; color: #f3f7f6;
  background: linear-gradient(165deg,#173950 0%, #122d43 46%, #102739 100%);
  border-right:1px solid #203d50; padding:clamp(20px,2.1vw,32px) clamp(14px,1.3vw,22px) 20px;
}
.bstaff-sidebar .bstaff-brand {
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:#f7f9f6;
  padding:0 7px 26px; border-bottom:1px solid #3a5261; margin:0 0 20px; text-decoration:none;
}
.bstaff-brand img {
  display:block; width:152px; height:auto; max-width:100%; padding:8px 12px;
  background:white; border-radius:5px;
}
.bstaff-brand :is(strong,small,span) {display:block}
.bstaff-brand small {color:#bed0d7; font-size:12px}
.bstaff-nav {display:grid; gap:6px}
.bstaff-sidebar .bstaff-nav > :where(h2,h3,p,small) {font:700 11px/1.25 var(--staff-body-font); letter-spacing:.12em; text-transform:uppercase; color:#c2d2d7; padding:7px 10px}
.bstaff-sidebar .bstaff-nav a {
  position:relative; display:flex; align-items:center; gap:11px; min-width:0; min-height:43px;
  color:#e7f0f2; font-weight:700; font-size:15px; text-decoration:none; padding:10px 13px;
  line-height:1.25; border-radius:5px; border:1px solid transparent;
}
.bstaff-sidebar .bstaff-nav a:hover {color:white; background:#274656}
.bstaff-sidebar .bstaff-nav a[aria-current="page"] {background:#284959; border-color:#42616a; color:white}
.bstaff-sidebar .bstaff-nav a[aria-current="page"]::before {
  content:""; position:absolute; left:-1px; top:8px; bottom:8px; width:3px; border-radius:2px; background:var(--staff-lime);
}
.bstaff-nav :is(svg,.bstaff-nav-icon,.dashicons) {flex:0 0 20px; width:20px; height:20px; color:#b8ccd2; font-size:19px}
.bstaff-nav a[aria-current] :is(svg,.bstaff-nav-icon,.dashicons) {color:var(--staff-lime)}
.bstaff-sidebar .bstaff-staffcard {
  display:grid; gap:4px; margin-top:auto; padding:18px 10px 0; border-top:1px solid #3b5361; font-size:14px; overflow-wrap:anywhere;
}
.bstaff-staffcard strong {color:white; font-weight:700}
.bstaff-staffcard :is(small,p) {color:#c2d3d9}
.bstaff-staffcard a {color:#e3edcf}
.bstaff-staffcard a:hover {color:#fff}
.bstaff-main {display:flex; flex-direction:column; min-width:0}
.bstaff-topbar {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 20px;
  background:white; padding:14px clamp(18px,3.3vw,62px); min-height:62px; color:var(--staff-text); border-bottom:1px solid var(--staff-line-soft);
}
.bstaff-crumb {display:flex; flex-wrap:wrap; align-items:center; gap:9px; font-size:14px; color:var(--staff-muted)}
.bstaff-crumb :is(b,strong,[aria-current]) {color:var(--staff-ink)}
.bstaff-identity {display:flex; gap:8px 12px; align-items:center; font-size:14px; overflow-wrap:anywhere}
.bstaff-identity strong {color:var(--staff-ink)}
.bstaff-content {width:100%; max-width:1510px; min-width:0; margin:0 auto; padding:clamp(23px,3.2vw,51px) clamp(18px,3.3vw,62px) clamp(32px,5vw,78px); flex:1 0 auto}
.bstaff-foot {display:flex; flex-wrap:wrap; align-items:center; gap:5px 17px; justify-content:space-between; padding:15px clamp(18px,3.3vw,62px); font-size:13px; color:var(--staff-muted); border-top:1px solid var(--staff-line-soft)}
.bstaff-content :where(.bsc-dashboard,.bsc-detail,.bsu,.bemr,.wrap) {width:100%; min-width:0; margin:0}
.bstaff-content h1 {
  font:700 clamp(32px,3.3vw,52px)/1.04 var(--staff-heading-font); letter-spacing:-.017em; margin:0; color:var(--staff-navy); overflow-wrap:anywhere;
}
.bstaff-content h2 {font:700 clamp(22px,2.1vw,30px)/1.15 var(--staff-heading-font); color:var(--staff-ink); letter-spacing:-.01em}
.bstaff-content h3 {font:700 18px/1.24 var(--staff-body-font); color:var(--staff-ink)}
.bsc-heading,.bsu-heading,.bstaff-content .bemr-title {
  display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:12px 20px; margin:0 0 22px;
}
.bsc-heading p,.bsu-heading p {font-size:16px; color:var(--staff-muted); margin-top:6px}
.bsc-heading > div:first-child,.bsu-heading > div:first-child {min-width:0}
.bsc-actions,.bsu-actions {display:flex; flex-wrap:wrap; align-items:center; gap:8px}
.bstaff-content .bsu-back {display:inline-flex; align-items:center; margin:0 0 12px; font-size:14px; font-weight:700}
.bstaff-content :is(.button,.bsu-button,.bsu-secondary,.bstaff-btn,button,input[type=submit]) {
  display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px;
  padding:8px 14px; border:1px solid #a9bac1; border-radius:5px; color:#234b66; background:white;
  font:700 14px/1.3 var(--staff-body-font); text-decoration:none; white-space:normal; cursor:pointer;
}
.bstaff-content :is(.button,.bsu-button,.bsu-secondary,.bstaff-btn,button,input[type=submit]):hover {background:#eff4f5; color:#163751; border-color:#7391a1}
.bstaff-content :is(.button-primary,.bsu-button,.bstaff-btn-primary) {background:#1e4d70; border-color:#1e4d70; color:white}
.bstaff-content :is(.button-primary,.bsu-button,.bstaff-btn-primary):hover {background:#163b58; border-color:#163b58; color:white}
.bstaff-content :is(.bsu-secondary,.bsu-button.bsu-secondary,.bstaff-btn-secondary) {color:var(--staff-blue); background:white; border-color:#a9bac1}
.bstaff-content :is(button,input,select,textarea):disabled {cursor:not-allowed; opacity:.65}
.bsc-metrics {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(125px,100%),1fr)); align-items:stretch;
  gap:clamp(8px,1vw,14px); margin:0 0 clamp(19px,2vw,30px);
}
.bstaff-content .bsc-metric {
  --metric-color:#536e7d; --metric-wash:#f0f4f5; display:flex; flex-direction:column; justify-content:space-between; gap:6px;
  background:white; min-width:0; padding:15px 16px 12px; color:var(--staff-text); text-decoration:none;
  border:1px solid var(--staff-line); border-top:3px solid var(--metric-color); border-radius:7px;
}
.bstaff-content .bsc-metric[data-tone="amber"] {--metric-color:#995909; --metric-wash:#fff5df}
.bstaff-content .bsc-metric[data-tone="blue"] {--metric-color:#245e92; --metric-wash:#eff5fc}
.bstaff-content .bsc-metric[data-tone="purple"] {--metric-color:#72538c; --metric-wash:#f4eff9}
.bstaff-content .bsc-metric[data-tone="green"] {--metric-color:#2b7050; --metric-wash:#edf7ee}
.bstaff-content .bsc-metric[data-tone="red"] {--metric-color:#a04b42; --metric-wash:#fff0ed}
.bstaff-content .bsc-metric:hover,.bstaff-content .bsc-metric[aria-current="page"] {border-color:var(--metric-color); background:var(--metric-wash)}
.bsc-metric-label {font-size:14px; line-height:1.22; font-weight:700; color:var(--staff-text)}
.bsc-metric-value {font:700 38px/.99 var(--staff-heading-font); color:var(--metric-color); font-variant-numeric:tabular-nums}
.bsc-queue,.bstaff-content .bemr-panel,.bsu-panel {
  background:white; border:1px solid var(--staff-line); border-radius:var(--staff-radius);
  box-shadow:0 2px 5px rgba(21,45,55,.045); min-width:0;
}
.bsc-queue,.bsu-panel,.bstaff-content .bemr-panel {padding:clamp(17px,2vw,28px)}
.bstaff-content .bemr-panel,.bsu-panel {margin:0 0 17px}
.bstaff-content .bemr-panel > h2,.bsu-panel > h2 {margin:0 0 12px}
.bsc-queue-heading {display:flex; justify-content:space-between; align-items:center; gap:8px 16px; flex-wrap:wrap; margin-bottom:14px}
.bsc-queue-heading :is(small,span,p) {font-size:14px; color:var(--staff-muted)}
.bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar,.bemr-fields,.bsu-row,.bsu-fields) {
  display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px 14px; min-width:0;
}
.bsc-filters,.bsu-toolbar {border-top:1px solid var(--staff-line-soft); border-bottom:1px solid var(--staff-line-soft); padding:14px 0; margin:0 0 14px}
.bstaff-content .bsu-fields {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); align-items:start}
.bstaff-content :is(label,.bsu-field) {min-width:0}
.bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar,.bemr-fields,.bsu-field) label,
.bstaff-content .bsu-field,.bstaff-content .bemr label {font-size:14px; font-weight:700; color:var(--staff-text)}
.bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar) > label {flex:1 1 135px}
.bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar) > label:has(input[type="search"]) {flex:2 1 215px}
.bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar,.bemr-fields) label > :is(select,textarea,input:not([type=checkbox],[type=radio])) {display:block; margin-top:4px; width:100%}
.bstaff-content :where(.bsu-field) :is(select,textarea,input:not([type=checkbox],[type=radio])) {display:block; margin-top:4px; width:100%}
.bstaff-content :is(input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="button"],[type="submit"]),select,textarea) {
  font:400 15px/1.35 var(--staff-body-font); border:1px solid var(--staff-field); color:var(--staff-ink);
  background-color:#fff; border-radius:5px; padding:8px 10px; min-height:38px; max-width:100%;
}
.bstaff-content :is(input,textarea)::placeholder {color:#596d78}
.bstaff-content textarea {width:100%; min-height:78px; resize:vertical}
.bstaff-content :is(input[type="checkbox"],input[type="radio"]) {accent-color:#22557a; height:16px; width:16px; vertical-align:middle}
.bstaff-content :where(.bsc-filters,.bsu-toolbar) button[type=submit] {background:#224e6d; border-color:#224e6d; color:#fff}
.bstaff-content :where(.bsc-filters,.bsu-toolbar) button[type=submit]:hover {background:#173a55}
.bstaff-content :where(.bsc-table-scroll,.bemr-scroll,.bsu-table-wrap) {overflow-x:auto; width:100%; scrollbar-color:#95aab5 #edf2f2; border-radius:4px}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) {width:100%; border:0; border-collapse:collapse; border-spacing:0; font-size:15px; text-align:left}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) :where(th,td) {vertical-align:middle; padding:12px 10px; border:0; border-bottom:1px solid var(--staff-line-soft); color:var(--staff-text)}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) th {background:#edf2f2; color:#3a5261; font:700 12px/1.35 var(--staff-body-font); letter-spacing:.045em; text-transform:uppercase}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) tbody tr:hover {background:#f6f9f7}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) td :where(strong,a) {color:var(--staff-blue)}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) td small {display:block; font-size:13px; color:var(--staff-muted); overflow-wrap:anywhere}
.bstaff-content :where(.bsc-table,.bsu-table,.widefat) td:last-child a {font-weight:700}
.bsc-status,.bsu-status,.bstaff-content .bemr-status {
  display:inline-block; border:1px solid #d4dfdf; border-radius:4px; padding:3px 7px 4px;
  font:700 12px/1.25 var(--staff-body-font); color:#385465; background:#eef3f4;
}
.bsc-status:is([data-status="submitted"],[data-status="resubmitted"]) {color:#744906; background:#fff2d6; border-color:#efdaa5}
.bsc-status[data-status="analysis"] {color:#215689; background:#eaf2ff; border-color:#cddff2}
.bsc-status[data-status="correction"] {color:#69447e; background:#f3eaf7; border-color:#e1d2e7}
.bsc-status[data-status="approved"],.bsu-status {color:#236248; background:#e9f5ed; border-color:#c8dfcd}
.bsc-status:is([data-status="rejected"],[data-status="extinct"],[data-status="suspended"]),.bsu-status.bsu-paused,.bsu-paused {color:#8a4136; background:#fff0eb; border-color:#efd1c8}
.bsc-pagination,.bsu-pagination,.bstaff-content .bemr-pagination {display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:16px; font-size:14px}
.bsc-pagination a,.bsu-pagination a,.bstaff-content .bemr-pagination a {display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:5px 10px; border:1px solid var(--staff-line); border-radius:4px; text-decoration:none; font-weight:700}
.bstaff-content :where(.notice,.bemr-alert,.bsu-alert,.bsu-note,.bemr-help,.description) {font-size:15px; line-height:1.45}
.bstaff-content :is(.notice,.bemr-alert,.bsu-alert,.bsu-note) {
  border:1px solid #d0e0e5; border-left:4px solid #5894ad; border-radius:5px; background:#f0f7fb; padding:11px 14px;
  margin:8px 0 16px; color:#294d61;
}
.bstaff-content :is(.notice-warning,.bemr-alert) {color:#65491e; border-color:#e6c88a; border-left-color:#bc7b1d; background:#fff7e7}
.bstaff-content .notice-success {color:#214f35; border-color:#a3c7ab; border-left-color:#367747; background:#eef8ee}
.bstaff-content :is(.notice-error,.bsu-alert) {color:#743e38; border-color:#e2bab1; border-left-color:#a55347; background:#fff2ed}
.bstaff-content .notice :is(p,ul) {margin:0}
.bstaff-content :is(.bemr-help,.description) {color:var(--staff-muted)}
.bstaff-content .bemr dl {display:grid; grid-template-columns:minmax(150px,1fr) minmax(0,2.6fr); row-gap:0; column-gap:14px; margin:0; align-items:baseline}
.bemr dl :is(dt,dd) {border-bottom:1px solid var(--staff-line-soft); padding:8px 0}
.bstaff-content .bemr dt {font-size:14px; color:var(--staff-muted); font-weight:700}
.bstaff-content .bemr dd {margin:0; overflow-wrap:anywhere; white-space:pre-line}
.bstaff-content .bemr-panel details.bemr-action {margin:0; border:0; border-top:1px solid var(--staff-line-soft); padding:0}
.bstaff-content .bemr-action summary {cursor:pointer; font-size:16px; font-weight:700; color:#234d68; padding:13px 2px; line-height:1.3}
.bstaff-content .bemr-action[open] {padding-bottom:15px}
.bstaff-content .bemr-action form {margin:0 0 8px}
.bstaff-content .bemr-fields {margin:8px 0}
.bstaff-content .bemr-check {display:block; margin:10px 0}
.bstaff-content .bemr-note {white-space:pre-line; overflow-wrap:anywhere}
.bstaff-content .bemr-panel ol {padding-inline-start:22px}
.bstaff-content .bemr-panel li {padding:6px 0}
.bstaff-content .bemr-panel li::marker {font-weight:700; color:#3b627a}
@media (min-width:1550px) {
  .bstaff-shell {grid-template-columns:270px minmax(0,1fr)}
}
@media (max-width:1020px) {
  .bstaff-shell {grid-template-columns:195px minmax(0,1fr)}
  .bstaff-sidebar {padding-inline:11px}
  .bstaff-content {padding-inline:23px}
  .bsc-metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
  .bsc-metric-value {font-size:34px}
  .bstaff-content :where(.bsc-table,.bsu-table,.widefat) :where(th,td) {padding:11px 8px}
}
@media (max-width:780px) {
  .bstaff-shell {display:block}
  .bstaff-sidebar {
    position:static; height:auto; overflow:visible; padding:12px 20px 11px;
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px 15px; border-right:0;
  }
  .bstaff-sidebar .bstaff-brand {margin:0; padding:0; gap:8px; border:0}
  .bstaff-brand img {width:111px; padding:5px 8px}
  .bstaff-sidebar .bstaff-nav {grid-column:1/-1; grid-row:2; display:flex; flex-wrap:wrap; gap:5px}
  .bstaff-sidebar .bstaff-nav a {font-size:14px; min-height:36px; padding:7px 10px; gap:6px}
  .bstaff-sidebar .bstaff-nav > :is(h2,h3,p,small) {width:100%; padding:0}
  .bstaff-nav :is(svg,.bstaff-nav-icon,.dashicons) {width:16px; height:16px; flex-basis:16px; font-size:16px}
  .bstaff-sidebar .bstaff-staffcard {grid-column:2; grid-row:1; margin:0; padding:0; border:0; align-self:center; font-size:12px; max-width:22ch; text-align:right}
  .bstaff-topbar {min-height:43px; padding:9px 20px}
  .bstaff-content {padding:23px 20px 36px}
  .bstaff-foot {padding:12px 20px}
  .bstaff-content h1 {font-size:38px}
}
@media (max-width:620px) {
  .bstaff-sidebar {padding-inline:14px}
  .bstaff-topbar,.bstaff-foot {padding-inline:14px}
  .bstaff-content {padding:19px 14px 29px}
  .bstaff-content h1 {font-size:34px}
  .bstaff-content :is(.bsc-heading,.bsu-heading,.bemr-title) {align-items:flex-start; margin-bottom:15px}
  .bsc-metrics {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
  .bstaff-content .bsc-metric {padding:11px 12px 9px; min-height:74px}
  .bsc-metric-label {font-size:13px}
  .bsc-metric-value {font-size:31px}
  .bsc-queue,.bsu-panel,.bstaff-content .bemr-panel {padding:14px; border-radius:7px}
  .bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar,.bemr-fields) {gap:9px; margin:10px 0 13px}
  .bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar) > label {flex:1 1 min(120px,100%)}
  .bstaff-content :where(.bsc-filters,.bsu-toolbar,.bemr-toolbar) > label:has(input[type="search"]) {flex-basis:100%}
  .bstaff-content :is(input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="submit"]),select,textarea) {font-size:16px}
  .bstaff-content .bemr dl {grid-template-columns:1fr; gap:0}
  .bemr dl dt {border:0; padding:7px 0 0}
  .bemr dl dd {padding:0 0 7px}
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) {display:block; min-width:0; font-size:14px}
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) thead {
    position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
  }
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) tbody {display:grid; gap:10px}
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) tbody tr {display:block; background:#fbfcfb; border:1px solid var(--staff-line); border-radius:6px; padding:7px 10px}
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) tbody td {display:block; border:0; padding:3px 0; line-height:1.35}
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) td[data-label]::before {
    content:attr(data-label); display:block; font:700 11px/1.35 var(--staff-body-font); color:var(--staff-muted); letter-spacing:.03em;
  }
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) td[data-label]+td[data-label] {margin-top:3px}
  .bstaff-content :is(.bsc-table,.bsu-table):has(td[data-label]) td:last-child a {display:inline-flex; align-items:center; min-height:32px}
}
@media (max-width:375px) {
  .bstaff-sidebar {padding:10px 11px}
  .bstaff-content {padding-inline:10px}
  .bstaff-sidebar .bstaff-nav {gap:4px}
  .bstaff-sidebar .bstaff-nav a {font-size:13px; padding:6px 7px}
  .bstaff-identity,.bstaff-crumb {font-size:12px}
  .bstaff-sidebar .bstaff-staffcard {max-width:17ch}
}
@media print {
  body.bstaff-page {background:white; color:#162d37}
  .bstaff-shell,.bstaff-main {display:block}
  .bstaff-sidebar,.bstaff-topbar,.bstaff-foot,.bstaff-skip,.bsc-actions,.bsu-actions,.bsc-filters,.bsu-toolbar,.bsc-pagination,.bsu-pagination {display:none}
  .bstaff-content {padding:0; max-width:none}
  .bsc-queue,.bsu-panel,.bstaff-content .bemr-panel,.bsc-metrics {box-shadow:none}
}
/* Os cadastros e as configurações compartilham os formulários também disponíveis no WordPress. */
.bstaff-identity > span {font-size:12px; font-weight:700; border:1px solid #d4dfd4; border-radius:12px; color:#3d5f47; background:#f1f5e9; padding:2px 8px}
.bstaff-sidebar .bstaff-staffcard a {display:inline-flex; align-items:center; gap:9px; min-height:34px; width:fit-content; text-decoration:none; font-weight:700; color:#e3edec}
.bstaff-staffcard a:hover {text-decoration:underline}
.bstaff-staffcard .dashicons {color:#b9ced3; width:17px; height:17px; font-size:17px}
.bstaff-content :is(.wrap:not(.bemr),.bem-staff-roster) > h2 {margin:23px 0 8px}
.bstaff-content .bem-staff-roster > h2:first-child {font:700 clamp(32px,3.3vw,52px)/1.04 var(--staff-heading-font); margin:0 0 20px}
.bstaff-content :is(.wrap:not(.bemr),.bem-staff-roster) > p {margin:7px 0 13px; color:var(--staff-text)}
.bstaff-content .wrap:not(.bemr) > ul {display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:12px 0 23px}
.bstaff-content .wrap:not(.bemr) > ul a {display:inline-flex; align-items:center; min-height:36px; font-weight:700; font-size:14px; padding:6px 12px; border:1px solid var(--staff-line); background:white; border-radius:5px}
.bstaff-content .form-table {width:100%; border-spacing:0; border-collapse:collapse}
.bstaff-content .form-table :is(th,td) {vertical-align:top; text-align:left; padding:14px 12px; background:white; border-bottom:1px solid var(--staff-line-soft)}
.bstaff-content .form-table th {width:clamp(145px,23%,270px); font-size:15px; color:var(--staff-text)}
.bstaff-content .form-table .large-text, .bstaff-content .form-table .regular-text {width:100%; max-width:670px}
.bstaff-content .form-table .description {margin:5px 0 0; font-size:13px}
.bstaff-content .submit {margin:14px 0 0}
.bstaff-content .bem-staff-roster > form,.bstaff-content .wrap:not(.bemr) > form {background:white; border:1px solid var(--staff-line); border-radius:8px; padding:clamp(14px,1.8vw,22px); margin:13px 0}
.bstaff-content .bem-staff-roster > form > label {display:inline-flex; flex-direction:column; vertical-align:bottom; font:700 14px/1.35 var(--staff-body-font); margin:0 8px 7px 0; gap:3px; max-width:100%}
.bstaff-content .bem-staff-roster > form > .button {vertical-align:bottom; margin-bottom:7px}
.bstaff-content .bem-staff-roster > form p {margin:9px 0}
.bstaff-content .bem-staff-roster > p > .large-text {width:min(100%,640px)}
.bstaff-content .bem-staff-roster details {background:white; padding:0 15px; border:1px solid var(--staff-line); border-radius:6px; margin:8px 0}
.bstaff-content .bem-staff-roster summary {font-weight:700; color:var(--staff-blue); cursor:pointer; padding:11px 0}
.bstaff-content .bem-staff-roster details form > p {margin:9px 0}
.bstaff-content .bem-staff-roster .widefat {background:white}
.bstaff-content .bem-staff-roster > form .widefat {min-width:580px}
.bstaff-content fieldset.bsu-fields {min-width:0; padding:14px 12px; margin:15px 0; border:1px solid var(--staff-line); border-radius:5px}
.bstaff-content .bsu-fields legend {font-size:14px; font-weight:700; padding:0 5px}
.bstaff-content .bsu-actions {margin-top:14px}
.bstaff-content .bsu-panel > :is(p,ol,ul) {margin-block:8px}
.bstaff-content .bsu-panel ul {padding-inline-start:20px}
@media (max-width:1020px) and (min-width:621px) {
  .bsc-metrics {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:780px) {
  .bstaff-sidebar .bstaff-staffcard {display:flex; gap:5px 12px; flex-wrap:wrap; justify-content:flex-end; max-width:initial}
  .bstaff-sidebar .bstaff-staffcard a {font-size:12px; min-height:28px; gap:4px}
}
@media (max-width:620px) {
  .bstaff-content .form-table :is(tbody,tr,th,td) {display:block; width:100%}
  .bstaff-content .form-table th {padding:9px 0 4px; border-bottom:0}
  .bstaff-content .form-table td {padding:0 0 10px}
  .bstaff-content .bem-staff-roster > form > label {display:flex; margin:0 0 8px}
  .bstaff-content .bem-staff-roster > .widefat :is(th,td) {font-size:12px; padding:8px 4px; overflow-wrap:normal}
  .bstaff-content .bem-staff-roster > .widefat th {font-family:var(--staff-heading-font); text-transform:none; letter-spacing:0; line-height:1.25}
}
@media (max-width:410px) {
  .bstaff-sidebar .bstaff-staffcard {display:grid; gap:1px; justify-items:end}
  .bstaff-sidebar .bstaff-staffcard a {min-height:23px}
}

.bstaff-content .bsc-open {display:inline-flex; align-items:center; min-height:32px; font-size:14px; font-weight:700; white-space:nowrap}
.bsc-empty {padding:21px 12px; background:#f4f7f6; border:1px dashed var(--staff-line); border-radius:5px; color:var(--staff-muted)}
.bsc-queue-heading > span {display:inline-flex; align-items:center; padding:3px 9px; border-radius:3px; background:#eef3f4; font-weight:700; font-size:13px}
.bsu > .bsu-heading h2,.bsu > h2:first-of-type {font:700 clamp(32px,3.3vw,52px)/1.04 var(--staff-heading-font)}
.bsu > .bsu-table-wrap {background:white; border:1px solid var(--staff-line); border-radius:8px; margin:10px 0 17px}
@media (max-width:620px) {
  .bsu > .bsu-table-wrap {background:transparent; border:0}
  .bstaff-content :is(.bsu-table,.bsc-table) td {overflow-wrap:anywhere}
}

.bsc-sections {display:flex; flex-wrap:wrap; align-items:center; gap:5px 18px; margin:12px 0 22px}
.bsc-sections a {display:inline-flex; align-items:center; min-height:34px; color:var(--staff-blue,#15527c); font-weight:700; text-underline-offset:3px}
.bsc-detail section[id] {scroll-margin-top:18px}
@media print {.bsc-sections {display:none}}
