.people-page {
  --people-soft: #f7f9fc;
  --people-border: #e0e6ed;
  min-width: 0;
  font-size: 13px;
  line-height: 1.65;
}
.people-page [hidden] { display: none !important; }
.people-page h1 { margin-bottom: 8px; font-size: clamp(25px, 2.5vw, 32px); }
.people-page h2 { font-size: 19px; margin-bottom: 0; }
.people-page h3 { font-size: 16px; }
.people-page h4 { margin: 0 0 10px; font: 600 13px/1.6 "Be Vietnam Pro", sans-serif; }
.people-page button, .people-page .button { font-size: 13px; padding: 9px 14px; min-height: 44px; }
.people-page button[aria-busy="true"] { cursor: wait; }
.people-page button:disabled { cursor: default; }
.people-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.people-heading > div { min-width: 0; }
.people-heading .eyebrow { margin-bottom: 8px; }
.people-heading .muted { margin: 0; font-size: 13px; line-height: 1.75; }
.people-authority { flex-shrink: 0; margin-top: 6px; padding: 5px 10px; border: 1px solid #d9e6f0; border-radius: 6px; color: var(--action); background: #edf5fb; font-size: 11px; font-weight: 500; }
.people-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 24px; padding: 18px 0; border: 1px solid var(--people-border); border-radius: 10px; background: #fff; }
.people-summary > div { min-width: 0; display: flex; flex-direction: column-reverse; padding: 0 22px; }
.people-summary > div + div { border-left: 1px solid var(--people-border); }
.people-summary dt { color: var(--muted); font-size: 11px; line-height: 1.6; }
.people-summary dd { margin: 0 0 4px; font: 600 27px/1.2 "Montserrat", sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.people-tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--people-border); margin-bottom: 24px; }
.people-tabs .people-tab { flex-shrink: 0; gap: 8px; padding: 10px 2px 13px; min-height: 46px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.people-tabs .people-tab:hover { color: var(--action); background: transparent; }
.people-tabs .people-tab[aria-selected="true"] { color: var(--action); border-bottom-color: var(--action); font-weight: 600; }
.people-tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; min-height: 21px; padding: 1px 6px; border-radius: 5px; color: #647184; background: #e9eef4; font-size: 10px; font-variant-numeric: tabular-nums; }
.people-tab[aria-selected="true"] .people-tab-count { color: var(--action); background: #deedf8; }
.people-tabs .people-tab:focus-visible { outline-offset: -3px; }
.people-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.people-toolbar h2 { font-size: 18px; }
.people-toolbar-actions { display: flex; gap: 8px; }
.people-workspace { display: block; }
.people-listing { min-width: 0; }
.people-filters { display: grid; grid-template-columns: minmax(200px, 1.7fr) minmax(150px, 1fr) minmax(160px, 1fr); gap: 14px; padding: 18px 20px; border: 1px solid var(--people-border); border-radius: 10px; background: #fff; }
.people-filters-org { grid-template-columns: minmax(200px, 1.7fr) minmax(150px, 1fr) minmax(160px, 1fr); }
.people-field { min-width: 0; }
.people-field > label { margin: 0 0 7px; color: #526071; font-size: 12px; font-weight: 500; }
.people-field input, .people-field select, .people-field textarea { min-width: 0; width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #aab6c3; border-radius: 7px; font-size: 13px; }
.people-field input::placeholder { color: #7b8796; font-size: 12px; }
.people-field select { text-overflow: ellipsis; }
.people-field textarea { display: block; resize: vertical; min-height: 96px; background: #fff; color: var(--ink); font: inherit; }
.people-field input:focus, .people-field select:focus, .people-field textarea:focus { border-color: var(--action); }
.people-results { margin: 14px 0 10px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.people-directory, .people-org-list { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--people-border); border-radius: 10px; overflow: hidden; }
.people-list-head + .people-directory { border-top-left-radius: 0; border-top-right-radius: 0; }
.people-list-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 130px 20px; gap: 20px; padding: 11px 20px 11px 72px; background: #eef2f6; border: 1px solid var(--people-border); border-bottom: 0; border-radius: 9px 9px 0 0; color: #657184; font-size: 11px; font-weight: 500; }
.people-directory > li, .people-org-list > li { margin: 0; }
.people-directory > li + li, .people-org-list > li + li { border-top: 1px solid #edf0f4; }
.people-directory .people-person, .people-org-list .people-org-item { display: grid; grid-template-columns: 36px minmax(0, 1.5fr) minmax(0, 1fr) 130px 20px; align-items: center; gap: 16px; width: 100%; padding: 14px 20px 14px 17px; border: 0; border-left: 3px solid transparent; border-radius: 0; background: #fff; color: var(--ink); font-weight: 400; text-align: left; }
.people-directory .people-person:hover, .people-org-list .people-org-item:hover { background: #f6f9fc; }
.people-directory .people-person[aria-pressed="true"], .people-org-list .people-org-item[aria-pressed="true"] { border-left-color: var(--action); background: #edf5fb; }
.people-person:focus-visible, .people-org-item:focus-visible { outline-offset: -3px; }
.people-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e3e8ef; border-radius: 9px; color: #5d7287; background: #eef3f8; font: 600 11px/1 "Montserrat", sans-serif; }
.people-person-body, .people-person-organization { min-width: 0; }
.people-person-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 3px; }
.people-person-name strong, .people-org-item strong { font-size: 13px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.people-code { color: #7b8796; font-size: 10px; font-variant-numeric: tabular-nums; }
.people-person-email, .people-person-meta { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.people-person-organization > span:first-child { color: #536171; font-size: 12px; }
.people-status { display: inline-flex; align-items: center; justify-self: start; max-width: 100%; padding: 3px 8px; border: 1px solid #dbe9e0; border-radius: 5px; color: #38664d; background: #eff7f2; font-size: 10px; font-weight: 500; line-height: 1.65; white-space: nowrap; }
.people-status-on_leave { color: #785c21; border-color: #eadfbd; background: #faf5e9; }
.people-status-suspended { color: #a02a22; border-color: #eed2cd; background: #fcf0ee; }
.people-status-departed { color: #657184; border-color: #e0e5eb; background: #f1f4f7; }
.people-row-arrow { justify-self: end; color: #8d9baa; font-size: 20px; font-weight: 400; }
.people-person:hover .people-row-arrow, .people-org-item:hover .people-row-arrow { color: var(--action); }
.people-org-list .people-org-item { grid-template-columns: minmax(0, 1fr) 130px 20px; padding-block: 16px; }
.people-org-item > span:first-child { min-width: 0; }
.people-org-item strong { display: block; margin-bottom: 3px; }
.people-template-intro { max-width: 850px; margin: -3px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.people-page nav.people-pagination { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 0; border: 0; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.people-page-summary { margin: 0; }
.people-page-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.people-page-controls label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 11px; }
.people-page-controls select { width: 66px; min-height: 40px; padding: 7px 8px; border-color: #cbd5df; font-size: 12px; }
.people-page .people-page-controls button.secondary { min-height: 40px; margin: 0; padding: 7px 11px; flex-direction: row; font-size: 12px; border-color: #cbd3dd; background: #fff; }
.people-page-controls button:disabled { opacity: .4; }
.people-current-page { padding-inline: 5px; white-space: nowrap; }
/* Details occupy a separate, focused workspace; the directory keeps its place. */
.people-dialog { inset: 0 0 0 auto; width: min(760px, 100%); height: 100dvh; max-width: 100%; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--people-border); border-radius: 0; background: #fff; color: var(--ink); box-shadow: -16px 0 60px #1b2c4224; overflow: hidden; }
.people-dialog::backdrop { background: #172c4557; }
.people-dialog-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.people-dialog-header { display: flex; flex: 0 0 auto; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 28px; border-bottom: 1px solid var(--people-border); background: #fff; }
.people-dialog-header h2 { margin: 0; font-size: 17px; }
.people-dialog-header button { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 5px 10px; font-size: 22px; border-color: transparent; background: #f1f4f8; color: #5d6d7f; }
.people-dialog-header button:hover { border-color: #d8e3ed; background: #e8f1f8; color: var(--action); }
.people-dialog-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.people-editor { min-width: 0; background: #fff; }
.people-form { padding: 24px 28px 0; }
.people-section-heading { margin-bottom: 22px; }
.people-section-heading h2 { font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.people-section-heading .people-help { margin-top: 6px; }
.people-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.people-form > .people-field { margin-bottom: 18px; }
.people-form-section { margin: 0 0 24px; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--people-border); min-width: 0; }
.people-form-section > h3, .people-form-section > legend { display: block; width: 100%; margin: 0 0 16px; padding: 0; font: 600 13px/1.6 "Be Vietnam Pro", sans-serif; color: #394c60; }
.people-fields-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.people-field-wide { grid-column: 1 / -1; }
.people-identity-note { margin: -4px 0 18px; color: #80602b; font-size: 11px; line-height: 1.8; }
.people-impact { margin: 12px 0 18px; padding: 10px 12px; border-left: 2px solid #b8d6eb; background: #f5f9fc; color: #5c6c7c; font-size: 11px; line-height: 1.8; }
.people-form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--people-border); }
.people-form > .people-form-actions { position: sticky; z-index: 2; bottom: 0; margin: 24px -28px 0; padding: 16px 28px max(16px, env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px #23384c06; }
.people-form-actions > .secondary { order: -1; }
.people-detail-tabs { display: flex; gap: 24px; padding: 0 28px; border-bottom: 1px solid var(--people-border); background: #fff; }
.people-detail-tabs button { padding: 13px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; }
.people-detail-tabs button[aria-selected="true"] { color: var(--action); border-bottom-color: var(--action); }
.people-detail-tabs button:hover { color: var(--action); background: transparent; }
.people-discard-confirm { position: sticky; top: 0; z-index: 4; padding: 18px 28px; border-bottom: 1px solid #eadab8; background: #fffbf2; color: #725326; box-shadow: 0 6px 16px #7253260a; }
.people-discard-confirm p { margin: 0 0 12px; font-size: 12px; }
.people-discard-confirm button { margin-right: 8px; }
.people-team-picker, .people-grant-picker { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.people-team-picker legend, .people-grant-picker legend { margin-bottom: 10px; padding: 0; color: #526071; font-size: 12px; font-weight: 500; }
.people-team-select { position: relative; min-width: 0; }
.people-page .people-team-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #aab6c3; border-radius: 7px; background: #fff; color: #394c60; font-size: 13px; font-weight: 400; text-align: left; }
.people-page .people-team-trigger:hover { border-color: #657a8e; background: #fff; color: #394c60; }
.people-page .people-team-trigger[aria-expanded="true"] { border-color: var(--action); box-shadow: 0 0 0 3px #226fa610; }
.people-team-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people-team-chevron { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: #748394; }
.people-team-chevron::before { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.people-team-trigger[aria-expanded="true"] .people-team-chevron { transform: rotate(180deg); }
.people-team-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.people-team-chips:empty { display: none; }
.people-team-chip { display: inline-flex; align-items: center; max-width: 100%; min-height: 36px; padding-left: 10px; border: 1px solid #dce6ef; border-radius: 6px; background: #f1f6fa; color: #425b70; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.people-page .people-team-chip button { flex: 0 0 auto; width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0 5px 5px 0; background: transparent; color: #687c8f; font-size: 18px; font-weight: 400; }
.people-page .people-team-chip button:hover { background: #dfeaf3; color: #294e6b; }
.people-page .people-team-more { min-height: 44px; padding: 0 9px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--action); font-size: 12px; font-weight: 500; }
.people-page .people-team-more:hover { border-color: #dce6ef; background: #f1f6fa; }
/* Keep this disclosure in the form flow so the dialog never clips its options. */
.people-team-popover { position: relative; display: flex; flex-direction: column; min-width: 0; max-height: 320px; margin-top: 8px; scroll-margin-block: 12px 90px; border: 1px solid #cfdbe6; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px #213e5710; overflow: hidden; }
.people-team-toolbar { flex: 0 0 auto; padding: 12px; border-bottom: 1px solid #edf1f5; background: #fff; }
.people-team-toolbar > input[type="search"] { width: 100%; min-height: 44px; padding: 9px 12px; border-color: #b6c3cf; border-radius: 6px; font-size: 13px; }
.people-team-count { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.people-team-options { flex: 1 1 auto; display: block; min-height: 0; max-height: 176px; padding: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; background: #fff; }
.people-team-options > .people-help { padding: 16px 12px; margin: 0; }
.people-team-popover > .people-help { margin: 0; padding: 16px; }
.people-team-options > .people-check { align-items: center; min-height: 44px; padding: 9px 10px; border-radius: 5px; color: #425267; font-size: 13px; line-height: 1.7; }
.people-team-options > .people-check:hover { background: #f2f6fa; }
.people-team-options > .people-check:has(input:checked) { background: #edf5fb; color: #285c80; }
.people-team-options > .people-check:focus-within { outline: 2px solid var(--action); outline-offset: -2px; }
.people-team-options > .people-check input { margin: 0; }
.people-team-footer { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding: 6px 12px; border-top: 1px solid #edf1f5; background: #fbfcfe; }
.people-page .people-team-footer button { min-height: 44px; padding: 7px 12px; font-size: 12px; }
.people-page .people-team-footer button:first-child { padding-inline: 0; border-color: transparent; background: transparent; color: var(--muted); font-weight: 400; }
.people-page .people-team-footer button:first-child:hover { background: transparent; color: var(--action); }
.people-page .people-team-footer .people-team-done { border-color: var(--action); background: var(--action); color: #fff; }
.people-page .people-team-footer .people-team-done:hover { border-color: var(--action-hover); background: var(--action-hover); color: #fff; }
.people-team-footer .people-team-count { margin: 0; }
.people-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 0; padding: 10px 0; cursor: pointer; font-size: 12px; font-weight: 400; line-height: 1.75; }
.people-check input { flex: 0 0 17px; width: 17px; height: 17px; min-height: 17px; padding: 0; margin: 2px 0 0; accent-color: var(--action); }
.people-team-picker > .people-help { padding: 12px; border-radius: 7px; background: var(--people-soft); }
.people-empty { padding: 36px 24px 40px; text-align: center; }
.people-empty::before { content: ""; display: block; width: 32px; height: 3px; margin: 0 auto 16px; border-radius: 2px; background: #b9d7ed; }
.people-empty h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.5; }
.people-empty p { max-width: 410px; margin: 0 auto; font-size: 12px; }
.people-editor > .secondary { margin: 0 28px 24px; }
.people-editor > .people-section-heading, .people-editor > .people-help, .people-editor > .people-grants { margin: 24px 28px; }
.people-grant-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; margin: 0 0 12px; }
.people-grant-search { flex: 1 1 220px; }
.people-grant-count { flex: 0 0 auto; margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.people-grant-options { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 4px 12px; border: 1px solid var(--people-border); border-radius: 8px; background: #fff; }
.people-grant-options > .people-help { margin: 0; padding: 18px 0; }
.people-grant-option { padding: 14px 0; border-top: 1px solid var(--people-border); }
.people-grant-option:first-child { border-top: 0; }
.people-grant-option:last-child { border-bottom: 0; }
.people-grant-option .people-check { padding: 0; align-items: flex-start; }
.people-grant-option .people-check strong { font-size: 12px; font-weight: 600; }
.people-grant-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 12px 0 2px 27px; }
.people-grant-controls .people-field > label { font-size: 11px; }
.people-access { padding: 24px 28px; }
.people-access .people-section-heading h2 { font-size: 18px; }
.people-access > .button { margin-bottom: 22px; }
.people-access > .people-field { margin-bottom: 14px; }
.people-template-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.people-template-actions > button { min-height: 46px; }
.people-preview-container { margin-top: 18px; }
.people-preview { padding-top: 20px; border-top: 2px solid #b9d7ed; }
.people-preview h3 { font-size: 16px; }
.people-review-section { padding: 14px 0; border-bottom: 1px solid var(--people-border); }
.people-review-after { margin-inline: -12px; padding: 14px 12px; border-radius: 7px; background: #edf5fb; }
.people-review-summary { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0; color: #526071; font-size: 12px; line-height: 1.8; }
.people-review-table { max-height: 360px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid var(--people-border); border-radius: 8px; }
.people-grant-diff { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.7; text-align: left; }
.people-grant-diff th { padding: 10px 12px; border-bottom: 1px solid var(--people-border); color: #526071; font-size: 11px; font-weight: 500; }
.people-grant-diff thead th { position: sticky; z-index: 1; top: 0; background: #f2f5f9; }
.people-grant-diff tbody th { padding-block: 12px; vertical-align: top; overflow-wrap: anywhere; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }
.people-grant-diff td { padding: 12px; border-bottom: 1px solid #edf0f4; vertical-align: top; overflow-wrap: anywhere; }
.people-grant-diff tr:last-child td { border-bottom: 0; }
.people-grant-diff tbody tr:last-child th { border-bottom: 0; }
.people-grant-diff td:last-child { background: #f4f9fc; }
.people-grant-diff td strong { font-size: 12px; font-weight: 600; }
.people-grant-diff .people-person-meta { font-size: 10px; }
.people-grant-diff .is-removed td:last-child { background: #fdf4f2; color: #a33d33; }
.people-grants { padding: 0; margin: 0; list-style: none; }
.people-editor > .people-grants { max-height: 360px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--people-border); border-radius: 8px; }
.people-grants li + li { margin-top: 12px; }
.people-grants strong { font-size: 12px; font-weight: 600; }
.people-acknowledge { margin-top: 16px; font-size: 11px; }
.people-error { padding: 16px; margin: 0 0 20px; border: 1px solid #edcfc9; border-left: 3px solid var(--red); border-radius: 7px; background: #fdf5f4; overflow-wrap: anywhere; }
.people-error > strong { display: block; color: #912920; font-size: 13px; }
.people-error > p { margin: 8px 0 12px; font-size: 12px; }
.people-error > .people-help { color: #765b57; font-size: 11px; }
.people-error > button { margin-top: 2px; }
.people-loading { padding: 48px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .people-heading { gap: 16px; }
  .people-authority { display: none; }
  .people-filters, .people-filters-org { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .people-filters > .people-field:first-child { grid-column: 1 / -1; }
  .people-list-head { grid-template-columns: minmax(0, 1fr) 120px 16px; }
  .people-list-head > :nth-child(2) { display: none; }
  .people-directory .people-person { grid-template-columns: 36px minmax(0, 1fr) 120px 16px; gap: 12px; }
  .people-person-organization { display: none; }
  .people-page nav.people-pagination { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .people-form-section:has(.people-team-picker) > .people-fields-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .people-heading { margin-bottom: 18px; }
  .people-heading .muted { font-size: 12px; }
  .people-summary { padding-block: 15px; margin-bottom: 18px; }
  .people-summary > div { padding-inline: 12px; }
  .people-summary dt { font-size: 10px; }
  .people-summary dd { font-size: 24px; }
  .people-tabs { gap: 20px; margin-bottom: 20px; }
  .people-tabs .people-tab { font-size: 12px; gap: 6px; }
  .people-toolbar { align-items: flex-start; }
  .people-toolbar h2 { font-size: 16px; }
  .people-toolbar-actions { flex-shrink: 0; gap: 6px; }
  .people-toolbar-actions button { font-size: 11px; padding-inline: 10px; }
  .people-filters, .people-filters-org { gap: 12px; padding: 16px; }
  .people-field input:not([type="checkbox"]), .people-field select, .people-field textarea, .people-page-controls select, .people-team-toolbar > input[type="search"] { font-size: 16px; }
  .people-field input::placeholder { font-size: 13px; }
  .people-field > label { font-size: 11px; }
  .people-list-head { padding-left: 17px; grid-template-columns: minmax(0, 1fr) 110px 0; gap: 8px; }
  .people-directory .people-person { grid-template-columns: 32px minmax(0, 1fr) 16px; padding: 12px 14px 12px 11px; gap: 3px 10px; }
  .people-avatar { width: 32px; height: 32px; grid-row: 1 / 3; align-self: start; }
  .people-person-body { grid-column: 2; }
  .people-person > .people-status { grid-column: 2; margin-top: 2px; font-size: 10px; }
  .people-person > .people-row-arrow { grid-column: 3; grid-row: 1 / 3; }
  .people-list-head { display: none; }
  .people-person-name strong { font-size: 12px; }
  .people-person-email { font-size: 11px; }
  .people-person-name { gap: 1px 6px; margin-bottom: 1px; }
  .people-org-list .people-org-item { grid-template-columns: minmax(0, 1fr) 16px; gap: 4px 12px; padding: 14px; }
  .people-org-item > .people-status { grid-column: 1; }
  .people-org-item > .people-row-arrow { grid-column: 2; grid-row: 1 / 3; }
  .people-page nav.people-pagination { gap: 12px; }
  .people-page-controls { width: 100%; justify-content: flex-end; gap: 6px; }
  .people-page-controls select { width: 62px; }
  .people-page-controls label { margin-right: auto; }
  .people-page .people-page-controls button.secondary { font-size: 11px; padding-inline: 8px; }
  .people-dialog { border-left: 0; }
  .people-dialog-header { padding: 12px 18px; }
  .people-dialog-header h2 { font-size: 16px; }
  .people-form, .people-access { padding: 20px 18px 0; }
  .people-access { padding-bottom: 24px; }
  .people-template-actions { grid-template-columns: minmax(0, 1fr); }
  .people-template-actions > button { justify-self: start; }
  .people-form > .people-form-actions { margin-inline: -18px; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); }
  .people-form-actions { gap: 8px; }
  .people-form-actions > button { flex: 1; min-width: 0; }
  .people-fields-grid { gap: 16px; }
  .people-form-section { margin-bottom: 20px; padding-bottom: 20px; }
  .people-section-heading h2 { font-size: 20px; }
  .people-detail-tabs { padding-inline: 18px; }
  .people-discard-confirm { padding: 16px 18px; }
  .people-discard-confirm button { font-size: 11px; }
  .people-editor > .people-section-heading, .people-editor > .people-help, .people-editor > .people-grants { margin-inline: 18px; }
  .people-editor > .secondary { margin-inline: 18px; }
}
@media (max-width: 420px) {
  .people-toolbar { flex-wrap: wrap; gap: 12px; }
  .people-toolbar-actions { width: 100%; }
  .people-toolbar-actions > button { flex: 1; }
  .people-summary > div { padding-inline: 9px; }
  .people-summary dd { font-size: 23px; }
  .people-tabs { gap: 17px; }
  .people-fields-grid { grid-template-columns: minmax(0, 1fr); }
  .people-page-controls { flex-wrap: wrap; justify-content: space-between; }
  .people-page-controls label { width: 100%; justify-content: space-between; }
  .people-grant-controls { margin-left: 0; }
  .people-grant-toolbar { gap: 8px; }
  .people-grant-search { flex-basis: 100%; }
  .people-grant-count { margin: 0; }
  .people-grant-options { padding-inline: 10px; }
  .people-grant-diff th, .people-grant-diff td { padding: 9px 8px; }
  .people-grant-diff, .people-grant-diff td strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .people-page button, .people-page .button { transition: none; }
  .people-page button:active:not(:disabled) { transform: none; }
}
