/* Scoped staff composition using Axis controls and Mindedly brand tokens. */
.md-staff-page { gap: 1.25rem; }
.md-staff-page > h2 { margin: 0; font-size: 1.5rem; }
.md-staff-page h3 { font-size: 1.125rem; margin: 0 0 1rem; }
.md-staff-form { display: grid; gap: 1rem; max-width: 36rem; margin-top: 1rem; }
.md-staff-field { min-width: 0; }
.md-staff-page > .md-staff-field { max-width: 40rem; }
.md-staff-field label { display: block; margin-bottom: .4rem; font-weight: 600; }
.md-staff-field .form-control, .md-staff-field .form-select { min-height: 44px; width: 100%; }
.md-staff-form > .btn { justify-self: start; min-height: 44px; white-space: normal; }
.md-staff-hint { margin-top: .4rem; }
.md-staff-row-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.md-staff-row-actions .btn { min-height: 44px; white-space: normal; text-align: left; }
.md-staff-table { margin-top: 1rem; }
.md-staff-table caption { caption-side: top; color: var(--hs-muted-text); }
.md-staff-table th, .md-staff-table td { min-width: 8rem; white-space: normal; overflow-wrap: anywhere; }
.md-staff-table td { vertical-align: top; }
.md-staff-table th:last-child, .md-staff-table td:last-child { min-width: 15rem; }
.md-staff-table:focus-visible, .md-staff-disclosure > summary:focus-visible { outline: 3px solid var(--hs-accent); outline-offset: 3px; }
.md-staff-disclosure { margin-bottom: 1.25rem; }
.md-staff-page > .md-staff-disclosure { margin-bottom: 0; }
.md-staff-feedback:empty { display: none; }
.md-staff-disclosure > summary { min-height: 44px; padding: .65rem 0; font-weight: 600; cursor: pointer; }
.md-staff-disclosure[open] > summary { margin-bottom: .5rem; }
.md-staff-invitation-panel { border: 1px solid var(--hs-border); border-radius: .5rem; padding: .25rem 1rem; }
.md-staff-invitation-panel + .md-staff-invitation-panel, .md-staff-invitation-panel + .md-provider-note { margin-top: 1rem; }
.md-staff-invitation-panel:last-child { margin-bottom: 0; }
.md-staff-invitation-panel[open] { padding-bottom: 1rem; }
.md-staff-invitation-state { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.md-staff-page .md-actions { margin-top: 0; }
@media (min-width: 720px) {
  .md-staff-invitation { max-width: 48rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-staff-invitation > :nth-child(3), .md-staff-invitation > button { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .md-staff-form > .btn, .md-staff-row-actions > .btn { width: 100%; } }
.md-policy-editor, .md-policy-settings { display: grid; gap: 1rem; min-width: 0; }
.md-policy-role { margin-bottom: 0; border: 1px solid var(--hs-border); border-radius: .5rem; padding: .25rem 1rem 1rem; }
.md-policy-role > fieldset { display: grid; gap: .75rem; margin-top: .75rem; }
.md-policy-action, .md-policy-options { border: 0; min-width: 0; padding: 0; margin: 0; }
.md-policy-action legend, .md-policy-options legend { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; }
.md-policy-editor .form-check { gap: .65rem; }
.md-policy-editor .form-check-label { font-weight: 400; margin-bottom: 0; }
.md-policy-options > .md-provider-note { margin-top: .5rem; }
.md-staff-member-options { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; }
.md-staff-member-options legend { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.md-staff-member-department { border: 1px solid var(--hs-border); border-radius: .5rem; padding: .75rem 1rem; display: grid; gap: .5rem; }
.md-staff-member-form .form-check-label { font-weight: 400; margin-bottom: 0; }
.md-patient-filters-simple { grid-template-columns: minmax(0, 1fr); }
.md-patient-more-filters { margin-bottom: 0; }
.md-patient-filter-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 720px) { .md-patient-filter-fields { grid-template-columns: minmax(0, 1fr); } }
