:root {
  color-scheme: light;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: #f2f5f9;
  --ink: #1c2e4a;
  --muted: #52647b;
  --line: #d8e2ef;
  --control-line: #b9c8db;
  --accent: #2b507d;
  --accent-strong: #203c5f;
  --tint: #e7eef8;
  --wash: #f4f7fc;
  --sidebar: #1c2e4a;
  --brand-accent: #c9d9f0;
}
* { box-sizing: border-box; }
.layout.public-declaration { display: block; }
.public-declaration .sidebar, .public-declaration .topbar { display: none; }
.public-declaration .workspace { max-width: 820px; margin: auto; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid #446fa9; outline-offset: 3px; }
[hidden] { display: none !important; }
.layout { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 26px 14px 18px; background: var(--sidebar); color: #f5f8fd; overflow: auto; }
.sidebar :focus-visible { outline-color: var(--brand-accent); }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 22px; }
.sidebar-header .brand { padding-inline: 0; }
.brand { display: flex; gap: 11px; align-items: center; padding: 2px 8px; color: inherit; text-decoration: none; line-height: 1.1; }
.brand-mark { display: block; flex: 0 0 46px; height: 46px; padding: 1px; border: 1px solid #d8e2ef;
  border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 2px 7px #101d312b; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-wordmark { display: block; font-size: 27px; font-weight: 650; letter-spacing: -.035em; }
.brand small, .sidebar-note small { display: block; margin-top: 5px; color: #cbd8e9; font-size: 13px; font-weight: 400; }
.nav-item { display: flex; gap: 10px; align-items: center; min-height: 43px; margin: 3px 0; padding: 9px 11px; border-radius: 8px; color: #f5f8fd; font-size: 14px; text-decoration: none; }
.nav-item > span { flex: 0 0 20px; text-align: center; font-size: 17px; }
a.nav-item:hover { background: #ffffff16; }
.nav-group { --nav-icon-width: 20px; --nav-icon-gap: 10px; }
.nav-group > summary {
  display: flex;
  gap: var(--nav-icon-gap);
  cursor: pointer;
  list-style: none;
}
.nav-group > summary > span { flex-basis: var(--nav-icon-width); }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary:hover { background: #ffffff16; }
.nav-group summary::after {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: .85;
}
.nav-group[open] summary::after { transform: rotate(45deg); }
a.nav-item.current { color: var(--ink); background: #dbe7f7; box-shadow: inset 3px 0 #9eb8dc; font-weight: 690; }
.nav-children .nav-item {
  min-height: 33px;
  padding-block: 7px;
  padding-inline-start: calc(11px + var(--nav-icon-width) + var(--nav-icon-gap));
  border-radius: 6px;
  font-size: 13px;
}
.nav-children .nav-item.current {
  color: #f5f8fd;
  background: #ffffff29;
  box-shadow: none;
  font-weight: inherit;
}
.workspace { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 14px; min-height: 69px; padding: 10px 28px; background: #f9fbff; border-bottom: 1px solid var(--line); }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.scope, .account { line-height: 1.3; }
.scope span, .account small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.scope .scope-title-emphasis { font-size: clamp(17px, 2vw, 21px); font-weight: 750; }
.congregation-logo { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; }
#system-navigation select, #system-workspace { max-width: min(100%, 290px); min-height: 36px; }
.system-home-link { margin-bottom: 12px; }
#shared-sign-in .auth-fields { margin-top: 15px; }
#platform-message:empty { display: none; }
.guest-tool { max-width: 800px; margin-inline: auto; }
.guest-actions { margin-top: 16px; }
@media (max-width: 700px) {
  .topbar:has(#system-navigation, #system-workspace) { flex-wrap: wrap; }
  #system-navigation select, #system-workspace { max-width: 100%; }
}
.account { display: flex; align-items: center; gap: 9px; margin-left: auto; font-size: 14px; }
.account-mark, .avatar { display: inline-grid; flex-shrink: 0; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--tint); color: var(--accent); font-size: 13px; font-weight: 700; }
main { max-width: 1670px; margin: 0 auto; padding: 28px; }
main:focus { outline: none; }
.page-heading p { margin: 6px 0 0; color: var(--muted); }
.section-label { margin: 0; color: var(--accent); font-size: 14px; font-weight: 700; }
h1 { margin: 5px 0 0; font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.16; letter-spacing: -.025em; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 21px 0; }
.summary div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.summary span { color: var(--muted); font-size: 14px; }
.summary strong { color: var(--accent); font-size: 24px; font-variant-numeric: tabular-nums; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; }
.filters label { display: grid; gap: 6px; font-size: 14px; font-weight: 620; }
.search-label { flex: 1 1 230px; }
.filters input, .filters select { width: 100%; min-height: 41px; padding: 8px 11px; border: 1px solid var(--control-line); border-radius: 7px; color: var(--ink); background: #fff; font-weight: 400; }
.filters select { appearance: none; padding-right: 29px; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 15px center / 5px 5px no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 10px center / 5px 5px no-repeat; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; font-weight: 620; text-decoration: none; cursor: pointer; }
.button.muted { background: var(--wash); color: var(--accent); }
.button.secondary { background: #fff; color: var(--accent); }
.button.primary { min-height: 40px; padding-inline: 15px; background: var(--accent); border-color: var(--accent); color: #fff; }
.button.muted:hover:not(:disabled), .button.secondary:hover:not(:disabled) { background: var(--tint); }
.button.primary:hover:not(:disabled) { background: var(--accent-strong); }
.button.compact { min-height: 32px; padding: 4px 9px; }
.button:disabled { opacity: .52; cursor: default; }
.filters .button { min-height: 41px; }
.table-scroll { max-height: max(285px, calc(100dvh - 370px)); overflow: auto; border-block: 1px solid var(--line); }
table { width: 100%; border-spacing: 0; white-space: nowrap; text-align: left; }
th { position: sticky; z-index: 1; top: 0; background: var(--tint); color: var(--accent-strong); font-weight: 670; }
th, td { padding: 10px 14px; border-bottom: 1px solid #e6edf6; font-size: 14px; }
th:first-child, td:first-child { padding-left: 16px; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--wash); }
.person-link { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.person-link:hover strong { text-decoration: underline; }
.person-link small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }

.sidebar-header { margin-bottom: 32px; }
.brand-wordmark { font-size: 21px; }
a.button { white-space: nowrap; }
.page-heading { margin-bottom: 22px; }
.heading-row, .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.heading-row { justify-content: space-between; gap: 16px; }
.breadcrumb { display: inline-block; margin-bottom: 14px; font-size: 14px; text-decoration: none; }
.breadcrumb:hover { text-decoration: underline; }
.filters > .button { margin-inline-start: auto; }
.pagination, .pagination div { display: flex; align-items: center; gap: 10px; }
.pagination { flex-wrap: wrap; justify-content: space-between; padding: 12px 16px; color: var(--muted); font-size: 14px; }
.sister-list table, .community-list table { min-width: 1200px; table-layout: fixed; }
.sister-list th, .sister-list td, .community-list th, .community-list td { padding: 13px 16px; }
.sister-list th, .community-list th { white-space: normal; }
.sister-list td, .community-list td { white-space: normal; overflow-wrap: anywhere; }
.sister-list th:first-child, .community-list th:first-child { width: 5%; }
:is(.sister-list, .community-list) :is(th, td):first-child:not([colspan]) {
  padding-inline: 8px; text-align: center; font-variant-numeric: tabular-nums;
}
.sister-list th:nth-child(2) { width: 15%; }
.sister-list th:nth-child(3), .sister-list th:nth-child(6) { width: 8%; }
.sister-list th:nth-child(4) { width: 11%; }
.sister-list th:nth-child(5), .sister-list th:nth-child(9) { width: 10%; }
.sister-list th:nth-child(7) { width: 9%; }
.sister-list th:nth-child(8), .sister-list th:nth-child(10) { width: 12%; }
.community-list th:nth-child(2) { width: 16%; }
.community-list th:nth-child(3), .community-list th:nth-child(8) { width: 15%; }
.community-list th:nth-child(4), .community-list th:nth-child(7) { width: 8%; }
.community-list th:nth-child(5), .community-list th:nth-child(6) { width: 7%; }
.community-list th:nth-child(9) { width: 9%; }
.community-list th:nth-child(10) { width: 10%; }
.sister-list td:nth-child(3), .sister-list td:nth-child(6),
.community-list td:nth-child(5), .community-list td:nth-child(6) {
  padding-inline: 8px; white-space: nowrap;
}
.empty { padding: 35px 16px; text-align: center; color: var(--muted); white-space: normal; }
.row-actions { text-align: right; }
.community-caption { display: block; margin-top: 4px; color: var(--muted); }
.mission-summary span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; white-space: pre-line; }
.tabs { display: flex; gap: 5px; flex-wrap: wrap; padding: 0 14px; border-bottom: 1px solid var(--line); }
.tabs a { display: block; padding: 12px 10px; border-bottom: 2px solid transparent; text-decoration: none; font-size: 14px; }
.tabs a[aria-current] { border-color: var(--accent); font-weight: 700; }
.tabs a:hover { background: var(--wash); }
.panel-body { padding: 20px; }
.panel-body > h2:first-child, .panel-body > .heading-row:first-child h2 { margin-top: 0; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
.info-grid, .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.info-grid { margin: 12px 0 22px; }
.info-grid div { min-width: 0; }
.info-grid dt { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.info-grid dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.wide { grid-column: 1 / -1; }
.record-toolbar { justify-content: flex-end; margin-bottom: 14px; }
.record-hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 14px; padding: 20px;
}
.record-hero .avatar { width: 58px; height: 58px; font-size: 19px; }
.record-identity { overflow-wrap: anywhere; }
.record-identity .section-label { margin: 0 0 5px; }
.record-identity .record-subtitle { margin: 7px 0 0; color: var(--muted); }
.record-verification { align-self: start; }
.record-tabs { margin-top: 14px; }
.record-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; margin-top: 14px;
}
.record-card { padding: 18px; }
.record-card h2 { margin: 0; }
.record-card .info-grid { margin: 14px 0 0; }
.record-card dd { font-weight: 550; line-height: 1.45; }
.record-card dd.muted-text { font-weight: 400; }
.sister-overview-cards .info-grid { gap: 0 22px; }
.sister-overview-cards .info-grid > div { border-top: 1px solid var(--line); padding: 10px 0; }
.record-tab-panel { margin-top: 14px; }
.record-tab-panel > .heading-row { margin-bottom: 10px; }
.transfer-list table { table-layout: fixed; min-width: 780px; }
.transfer-list th:first-child, .transfer-list td:first-child { width: 62px; text-align: center; }
.transfer-list th:last-child { width: 145px; }
.transfer-list td { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .record-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .record-hero { grid-template-columns: auto minmax(0, 1fr); padding: 15px; }
  .record-hero .avatar { width: 48px; height: 48px; font-size: 16px; }
  .record-verification { grid-column: 2; }
}
.nested-table { border: 1px solid var(--line); border-radius: 8px; }
.nested-table td:first-child { white-space: normal; }
.community-members-table .table-scroll { scrollbar-gutter: stable; }
.community-members-table table { min-width: 1160px; table-layout: fixed; }
.community-members-table th, .community-members-table td { padding-inline: 12px; }
.community-members-table th:nth-child(1) { width: 5%; }
.community-members-table th:nth-child(2), .community-members-table th:nth-child(3) { width: 18%; }
.community-members-table th:nth-child(4), .community-members-table th:nth-child(5) { width: 8%; }
.community-members-table th:nth-child(6) { width: 20%; }
.community-members-table th:nth-child(7) { width: 10%; }
.community-members-table th:nth-child(8) { width: 13%; text-align: right; }
.community-members-table td { vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.community-members-table th:first-child, .community-members-table td:first-child { text-align: center; }
.community-members-table td:first-child { line-height: 32px; font-variant-numeric: tabular-nums; }
.community-members-table .person-link { min-height: 32px; }
.community-members-table .avatar { width: 32px; height: 32px; }
.community-members-table .status { white-space: nowrap; }
.member-absence-notes { display: grid; gap: 6px; white-space: pre-line; }
.member-absence-notes small { color: var(--muted); font-weight: 620; }
.member-row-actions { justify-content: flex-end; flex-wrap: nowrap; gap: 6px; }
.member-edit-name, .member-edit-heading { margin: 0; }
.sister-detail-table table { min-width: 850px; table-layout: fixed; }
.sister-detail-table th, .sister-detail-table td { padding: 11px 12px; }
.sister-detail-table td { white-space: normal; overflow-wrap: anywhere; }
.sister-detail-table th:first-child { width: 6%; }
.sister-detail-table :is(th, td):first-child:not([colspan]) { text-align: center; font-variant-numeric: tabular-nums; }
.sister-detail-table th:last-child { text-align: right; }
.sister-missions-table table { min-width: 960px; }
.sister-missions-table th:nth-child(2) { width: 18%; }
.sister-missions-table th:nth-child(3) { width: 17%; }
.sister-missions-table th:nth-child(4), .sister-missions-table th:nth-child(5) { width: 10%; }
.sister-missions-table th:nth-child(6) { width: 11%; }
.sister-missions-table th:nth-child(7) { width: 12%; }
.sister-missions-table th:nth-child(8) { width: 17%; }
.mission-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.mission-row-actions { justify-content: flex-end; gap: 6px; }
.sister-relatives-table th:nth-child(2) { width: 11%; }
.sister-relatives-table th:nth-child(3) { width: 17%; }
.sister-relatives-table th:nth-child(4) { width: 10%; }
.sister-relatives-table th:nth-child(5), .sister-relatives-table th:nth-child(9) { width: 8%; }
.sister-relatives-table th:nth-child(6) { width: 14%; }
.sister-relatives-table th:nth-child(7) { width: 11%; }
.sister-relatives-table th:nth-child(8) { width: 16%; }
.status { display: inline-block; color: var(--accent-strong); background: var(--tint); padding: 4px 8px; border-radius: 12px; font-size: 12px; }
.status.closed { color: var(--muted); background: var(--wash); }
.verification { white-space: nowrap; }
.verification::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-end: 5px;
  border-radius: 50%; vertical-align: middle; background: currentColor; }
.verification.verified { color: var(--accent-strong); background: var(--tint); }
.verification.pending { color: #72470a; background: #fff0d4; }
.muted-text { color: var(--muted); }
.note { margin: 10px 0; font-size: 13px; color: var(--muted); }
dialog { width: min(710px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); box-shadow: 0 20px 65px #1c2e4a38; }
.audit-detail { width: min(960px, calc(100% - 24px)); }
.audit-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 24px; margin: 0 0 20px; }
.audit-meta dt { font-weight: 650; }
.audit-meta dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.audit-detail table { width: 100%; min-width: 0; table-layout: fixed; }
.audit-detail th:first-child { width: 28%; }
.audit-detail :is(th, td) { vertical-align: top; white-space: pre-wrap; overflow-wrap: anywhere; }
.audit-detail section + section { margin-top: 16px; }
dialog::backdrop { background: #13274380; }
.dialog-heading, .dialog-body, .dialog-footer { padding: 15px 20px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { margin: 0; }
.dialog-footer { display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--line); }
.form-error { color: #a12626; margin: 8px 0; }
.form-error:empty { display: none; }
.required-mark { color: #a12626; font-weight: 700; }
.system-field-error { color: #a12626; font-size: 13px; margin: 0; }
#management [aria-invalid="true"], #workspace-password [aria-invalid="true"] { border-color: #a12626; }
.form-section { margin: 20px 0 8px; }
.form-section:first-child { margin-top: 0; }
.record-form .form-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.record-form .form-group { padding: 17px; }
.record-form .field-grid { gap: 13px; }
.record-form .form-section { font-size: 18px; margin-bottom: 15px; }
.record-form .form-error { grid-column: 1 / -1; }
.import-form { max-width: 700px; }
.import-review { grid-column: 1 / -1; }
.import-review .heading-row .form-section { margin: 0; }
.import-related { padding: 8px 0; }
.import-related summary { font-weight: 650; cursor: pointer; }
.import-picks { display: grid; gap: 7px; margin-top: 8px; }
.import-picks label { display: flex; align-items: flex-start; gap: 7px; }
.import-picks small { display: block; color: var(--muted); }
.record-form .dialog-footer { position: sticky; bottom: 0; z-index: 2; margin-top: 14px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.workbench-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.workbench-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .workbench-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.workbench-card { position: relative; display: grid; gap: 6px; padding: 17px 40px 17px 17px; color: var(--ink); text-decoration: none; }
.workbench-card:hover { border-color: var(--control-line); background: var(--wash); }
.workbench-card strong { font-size: 28px; line-height: 1.15; }
.workbench-card span { color: var(--muted); font-size: 14px; }
.workbench-card .workbench-card-arrow { position: absolute; right: 16px; bottom: 15px; color: var(--accent); font-size: 20px; }
.workbench-task { margin-bottom: 18px; }
.workbench-task .heading-row { gap: 8px; padding: 14px 17px; }
.workbench-task .heading-row h2 { margin: 0; }
.workbench-task td:first-child { width: 1%; }
.sister-list-queue { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--accent-strong); font-weight: 650; }
@media (max-width: 950px) {
  .record-form .form-content { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 5px; min-width: 0; align-content: start; font-size: 14px; }
.password-field { min-width: 0; }
.password-visibility { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--muted); font-size: 13px; }
.password-visibility input { width: 14px; height: 14px; margin: 0; }
.password-field:has(> .field[hidden]) .password-visibility { display: none; }
.field > label { font-weight: 620; }
.field input, .field select, .field textarea { width: 100%; min-height: 39px; border: 1px solid var(--control-line); background: #fff; color: var(--ink); border-radius: 7px; padding: 7px 9px; font: inherit; }
.field textarea { min-height: 72px; resize: vertical; }
.suggestion-box { position: relative; }
.suggestion-box input[role=combobox] { padding-inline-end: 38px; }
.suggestion-toggle { position: absolute; inset: 1px 1px 1px auto; width: 34px;
  border: 0; border-inline-start: 1px solid var(--line); border-radius: 0 6px 6px 0;
  background: var(--wash); color: var(--accent); cursor: pointer; }
.suggestion-list { position: absolute; inset: calc(100% + 4px) 0 auto; z-index: 4; max-height: 180px;
  overflow: auto; margin: 0; padding: 4px; list-style: none; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; box-shadow: 0 6px 14px #1c2e4a24; }
.suggestion-list li { padding: 7px 9px; border-radius: 4px; cursor: pointer; }
.suggestion-list li:hover, .suggestion-list [aria-selected=true] { background: var(--tint); }
.profile-photo { display: block; width: 88px; height: 106px; object-fit: contain; margin-bottom: 12px; border: 1px solid var(--line); }
.sister-avatar { object-fit: cover; object-position: center 30%; }
.photo-remove { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; }
.date-inputs { display: grid; gap: 6px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.member-add-form .form-content { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
.pick-list { margin-top: 14px; max-height: min(52dvh, 490px); overflow: auto; border: 1px solid var(--line); border-radius: 7px; }
.pick-list label, .pick-list p { margin: 0; display: flex; align-items: center; padding: 8px 10px; gap: 8px; border-bottom: 1px solid var(--line); }
.pick-list label:last-child, .pick-list p:last-child { border-bottom: 0; }
.pick-list label { min-height: 53px; cursor: pointer; }
.pick-list label:hover, .pick-list label:has(input:checked) { background: var(--wash); }
.pick-list input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0 5px 0 0; accent-color: var(--accent); }
.member-pick-name { min-width: 0; overflow-wrap: anywhere; }
.member-pick-name small { display: block; margin-top: 2px; color: var(--muted); }
.picked { margin: 12px 0 0; display: grid; gap: 10px; }
.picked fieldset { margin: 0; min-inline-size: 0; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; }
.picked legend { font-weight: 650; }
.member-unpick { justify-content: flex-end; margin-top: 10px; }
@media (max-width: 1000px) {
  .member-add-form .form-content { grid-template-columns: 1fr; }
  .member-add-form .pick-list { max-height: min(36dvh, 350px); }
}
.notice { position: fixed; z-index: 5; bottom: 16px; right: 16px; max-width: min(430px, calc(100vw - 32px)); background: var(--ink); color: white; padding: 10px 15px; border-radius: 8px; box-shadow: 0 4px 15px #1c2e4a38; }
.profile-print h3 { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.profile-family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-family-person { display: grid; align-content: start; gap: 7px; margin: 0; padding: 12px;
  border: 1px solid var(--line); border-radius: 7px; }
.profile-family-person dt { margin: 0 0 2px; color: var(--muted); font-size: 13px; }
.profile-family-person dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-family-person div:first-child dd { font-weight: 650; }
.profile-missions { table-layout: fixed; border-collapse: collapse; white-space: normal; }
.profile-missions .mission-date { width: 15%; }
.profile-missions .mission-community { width: 28%; }
.profile-missions th, .profile-missions td { padding: 7px 8px; border: 1px solid var(--control-line);
  vertical-align: top; overflow-wrap: anywhere; }
.profile-missions th { position: static; }
.profile-missions tr:last-child td { border-bottom: 1px solid var(--control-line); }
.profile-document-heading { display: grid; grid-template-columns: 95px minmax(0, 1fr) 95px;
  align-items: start; font-family: "Times New Roman", serif; text-align: center; }
.profile-document-title { grid-column: 2; color: #111; line-height: 1.25; }
.profile-document-title strong { display: block; font-size: 18px; }
.profile-document-title h2 { margin: 12px 0 0; font-size: 21px; }
.profile-document-heading .profile-photo { grid-column: 3; justify-self: end; }
.print-only { display: none; }
.word-preview { width: min(1100px, 94vw); max-width: none; padding: 16px; }
.word-preview h2 { margin: 0; }
.word-preview iframe { display: block; width: 100%; height: 72vh; border: 1px solid var(--line); }
.sister-profile-print-only { display: none; }
.community-gallery { display: grid; gap: 14px; margin-top: 12px; }
.gallery-group { padding: 16px; }
.gallery-group h3 { margin: 0 0 12px; }
.gallery-upload { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.gallery-upload .field { flex: 0 1 370px; }
.gallery-upload .form-error { flex-basis: 100%; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 12px; }
.gallery-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; }
.gallery-grid small { overflow-wrap: anywhere; color: var(--muted); }
@media (max-width: 760px) {
  .layout { display: block; }
  .sidebar { position: static; height: auto; padding: 13px 16px; }
  .sidebar-header { margin-bottom: 8px; }
  .nav-children { display: flex; flex-wrap: wrap; gap: 5px; }
  .nav-children .nav-item { padding-inline: 10px; }
  .topbar { min-height: 44px; padding-inline: 16px; }
  main { padding: 18px 14px; }
}
@media (max-width: 540px) {
  .info-grid, .field-grid { grid-template-columns: 1fr; }
  .profile-family-grid { grid-template-columns: 1fr; }
  .filters > .button { margin-inline-start: 0; }
  .panel-body { padding: 14px; }
  .summary { grid-template-columns: 1fr; gap: 6px; }
  .workbench-grid { grid-template-columns: 1fr; gap: 8px; }
  .profile-document-heading { grid-template-columns: minmax(0, 1fr) 75px; gap: 8px; }
  .profile-document-title { grid-column: 1; }
  .profile-document-heading .profile-photo { grid-column: 2; width: 72px; height: 88px; }
}
@media print {
  @page { margin: 16mm; }
  @page sister-profile {
    size: A4 portrait;
    margin: 13mm 16mm 18mm;
    @bottom-center {
      content: "Trang " counter(page);
      text-align: center;
      font: 9pt Arial, sans-serif;
    }
  }
  @page community-report {
    size: A4 landscape;
    margin: 25mm 20mm 16mm;
    @top-center {
      content: "HỘI DÒNG THÁNH PHAOLÔ THÀNH CHARTRES\A TỈNH DÒNG PHAOLÔ HÀ NỘI";
      white-space: pre;
      text-align: center;
      font: bold 13pt/1.35 "Times New Roman", serif;
    }
    @bottom-center {
      content: "Trang " counter(page);
      text-align: center;
      font: 9pt Arial, sans-serif;
    }
  }
  @page record-directory {
    size: A4 landscape;
    margin: 11mm 10mm 16mm;
    @bottom-center {
      content: "Trang " counter(page);
      text-align: center;
      font: 9pt Arial, sans-serif;
    }
  }
  @page congregation-report {
    size: A4 landscape;
    margin: 14mm 15mm 16mm;
    @bottom-center {
      content: "Trang " counter(page);
      text-align: center;
      font: 9pt Arial, sans-serif;
    }
  }
  :root, body { min-width: 0; color: #111; background: #fff; }
  .layout { display: block; }
  .sidebar, .topbar, .breadcrumb, .page-heading, .tabs, .no-print, #notice, dialog { display: none !important; }
  main, .panel-body { padding: 0; }
  .panel { border: 0; }
  .record-tab-panel { margin: 0; }
  .sister-profile-print-only { display: block; }
  .info-grid div, .profile-print li, .profile-print h3 { break-inside: avoid; }
  .profile-print { page: sister-profile; font: 10.5pt/1.2 Arial, sans-serif; }
  .profile-print .info-grid { gap: 5px 16px; margin: 7px 0 10px; }
  .profile-print .info-grid dt { font-size: 9.5pt; }
  .profile-print h3 { margin: 10px 0 6px; padding-bottom: 3px; font-size: 12pt; }
  .profile-print h3 { break-after: avoid; }
  .profile-document-heading { break-inside: avoid; }
  .profile-family-section { break-before: page; }
  .profile-family-section > h3 { margin-top: 0; }
  .profile-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .profile-family-person { gap: 4px; padding: 7px; border-radius: 3px; }
  .profile-family-person dt { margin-bottom: 1px; font-size: 9pt; }
  .profile-family-person, .profile-missions tr { break-inside: avoid; }
  .profile-missions th, .profile-missions td { padding: 5px 7px; font-size: 10.5pt; }
  .profile-missions thead { display: table-header-group; }
  .profile-missions th { color: #111; print-color-adjust: exact; }
  .community-screen { display: none !important; }
  .community-document.print-only { display: block; page: community-report; font: 10.5pt/1.25 Arial, sans-serif; }
  .community-document.congregation-report { display: block; page: congregation-report; font: 10.5pt/1.25 Arial, sans-serif; }
  .community-document h2 { text-align: center; margin: 0 0 14px; font: bold 19pt/1.15 "Times New Roman", serif; }
  .community-document h3 { margin: 14px 0 5px; font-size: 11.5pt; break-after: avoid; }
  .community-document .report-section-title { text-align: center; font-size: 12.5pt; }
  .community-document p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .community-roster { table-layout: fixed; border-collapse: collapse; white-space: pre-line; }
  .community-roster thead { display: table-header-group; }
  .community-roster th, .community-roster td { position: static; padding: 5px 6px; border: 1px solid #9aa5ad;
    vertical-align: top; color: #111; font-size: 10pt; overflow-wrap: anywhere; }
  .community-roster tr:last-child td { border-bottom: 1px solid #9aa5ad; }
  .community-roster tr { break-inside: avoid; }
  .community-roster th:first-child { width: 6%; }
  .community-roster th:nth-child(2) { width: 21%; }
  .community-roster th:nth-child(3), .community-roster th:nth-child(4) { width: 13%; }
  .community-roster th:nth-child(5) { width: 22%; }
  .report-photo-group h4 { margin: 12px 0 6px; font-size: 10.5pt; break-after: avoid; }
  .report-photo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8mm;
    margin-bottom: 4mm; break-inside: avoid; }
  .report-photo-row figure { margin: 0; text-align: center; }
  .report-photo-row img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72mm; margin: auto; }
  .directory-document.print-only { display: block; page: record-directory; font: 10pt/1.22 Arial, sans-serif; }
  .directory-document header { margin-bottom: 11px; text-align: center; font: bold 12pt/1.35 "Times New Roman", serif; }
  .directory-table { table-layout: fixed; border-collapse: collapse; white-space: pre-line; }
  .directory-table thead { display: table-header-group; }
  .directory-table th, .directory-table td { position: static; padding: 5px 6px; border: 1px solid #777;
    font-size: 10pt; color: #111; vertical-align: top; overflow-wrap: anywhere; }
  .directory-table thead th { text-align: center; background: #f0f0f0; print-color-adjust: exact; }
  .directory-table tr:last-child td { border-bottom: 1px solid #777; }
  .directory-table tr { break-inside: avoid; }
  .directory-group, .directory-document header { break-after: avoid; }
  .directory-group :is(td, th) { padding-block: 4px; background: #e7e7e7; print-color-adjust: exact; }
  .directory-table:not(.sister-directory-table) thead th:nth-child(1) { width: 6.6%; }
  .directory-table:not(.sister-directory-table) thead th:nth-child(2) { width: 24.5%; }
  .directory-table:not(.sister-directory-table) thead th:nth-child(3) { width: 7.6%; }
  .directory-table:not(.sister-directory-table) thead th:nth-child(4) { width: 8.3%; }
  .directory-table:not(.sister-directory-table) thead th:nth-child(5) { width: 53%; }
  .sister-directory-table thead th:nth-child(1) { width: 4.4%; }
  .sister-directory-table thead th:nth-child(2) { width: 18%; }
  .sister-directory-table thead :is(th:nth-child(3), th:nth-child(6)) { width: 8.5%; }
  .sister-directory-table thead :is(th:nth-child(4), th:nth-child(8)) { width: 14.4%; }
  .sister-directory-table thead th:nth-child(5) { width: 14.7%; }
  .sister-directory-table thead th:nth-child(7) { width: 8.3%; }
  .sister-directory-table thead th:nth-child(9) { width: 8.8%; }
  .directory-table td:first-child, .directory-table td:nth-child(3),
  .directory-table:not(.sister-directory-table) td:nth-child(4), .sister-directory-table td:nth-child(6) {
    text-align: center; font-variant-numeric: tabular-nums;
  }
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
  text-align: center;
}
.sidebar-sign-out { margin-bottom: 12px; background: #ffffff10; color: #f5f8fd; border-color: #ffffff45; }
.sidebar-sign-out:hover:not(:disabled) { background: #ffffff27; }
.sidebar-support {
  padding: 16px 4px 0;
  border-top: 1px solid #ffffff3d;
  text-align: center;
  font-size: 13px;
}
.sidebar-support > strong { display: flex; justify-content: center; align-items: center; gap: 8px; }
.support-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); }
.account-menu { position: relative; }
.account-menu > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > div {
  position: absolute; z-index: 5; top: 100%; right: 0; min-width: 235px;
  display: grid; gap: 13px; overflow-wrap: anywhere; box-shadow: 0 6px 23px #172b4626;
}
.account-menu > div .button { justify-self: start; }
.account-menu-name { font-size: 15px; font-weight: 750; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.topbar-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.notice-bell { position: relative; }
.notice-bell > summary {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); cursor: pointer; list-style: none;
}
.notice-bell > summary::-webkit-details-marker { display: none; }
.notice-bell[open] > summary, .notice-bell > summary:hover { background: #e8eef8; }
.notice-count {
  position: absolute; top: -6px; right: -7px; min-width: 19px; padding: 2px 4px; border-radius: 12px;
  background: #a12937; color: white; font-size: 11px; text-align: center;
}
.notice-popup {
  position: absolute; top: calc(100% + 9px); right: 0; z-index: 15; width: min(340px, calc(100vw - 32px));
  padding: 14px; box-shadow: 0 12px 28px #152a4b26;
}
#notice-preview { margin-block: 8px; }
.notice-preview-item { display: grid; gap: 3px; padding: 9px 8px; border-top: 1px solid var(--line); text-decoration: none; overflow-wrap: anywhere; }
.notice-preview-item.unread { background: #edf3fc; font-weight: 650; }
.notice-preview-item small { font-weight: 400; }
.notice-compose, .notice-detail { max-width: 820px; }
.notice-compose { display: grid; gap: 14px; }
.notice-detail h2 { margin: 16px 0 4px; overflow-wrap: anywhere; }
.notice-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 20px; }
.sister-status-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.button.danger { color: #8b2534; background: #fff5f6; border-color: #e6b9c0; }
.button.danger:hover:not(:disabled) { background: #fbe5e9; }
@media (max-width: 640px) {
  .topbar-actions { gap: 10px; }
  .notice-popup { position: fixed; top: auto; right: 16px; margin-top: 8px; }
}
.account-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px 24px; margin: 0; }
.account-info dt { color: var(--muted); font-size: 13px; }
.account-info dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.account-photo { object-fit: cover; }
.account-profile, .accounts-form { max-width: 760px; }
.account-profile .account-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-profile-avatar { width: 58px; height: 58px; margin-bottom: 18px; font-size: 18px; }
.account-profile-scope { margin: 18px 0 13px; padding-top: 16px; border-top: 1px solid var(--line); }
.account-profile-scope h2 { margin: 0 0 14px; font-size: 18px; }
.accounts-heading { margin-bottom: 14px; }
.accounts-tabs { padding: 0 4px 4px; }
.accounts-tabs a { padding: 9px 12px; border: 0; border-radius: 8px; color: var(--muted); font-weight: 650; }
.accounts-tabs a[aria-current] { background: var(--tint); color: var(--accent); }
.accounts-list .filters { padding: 12px 0 14px; }
.accounts-list .filters label { min-width: 0; }
.accounts-list .filters input { width: 180px; max-width: 100%; }
.accounts-list th { white-space: nowrap; }
.accounts-list td:nth-child(2) { min-width: 180px; }
.accounts-list td:last-child { min-width: 270px; }
.accounts-list .account-grants { vertical-align: top; white-space: nowrap; }
.account-grants span { display: block; line-height: 1.5; }
.accounts-list .avatar { width: 29px; height: 29px; }
.accounts-count { margin: 10px 0 0; }
.accounts-form .panel { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.accounts-form .dialog-footer { background: #fff; border: 1px solid var(--line);
  border-top: 0; border-radius: 0 0 12px 12px; padding-top: 0; flex-direction: row-reverse; justify-content: flex-end; }
.account-permissions { margin-top: 22px; }
.account-permissions h3 { margin: 0 0 10px; }
.account-permissions .note { margin-bottom: 0; }
.account-permissions .credential-note { margin-bottom: 14px; }
.account-rights { margin-top: 14px; }
.account-financial-assignment { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto;
  gap: 12px; align-items: end; margin: 12px 0; }
[data-financial-section] > .actions { margin-top: 12px; }
@media (max-width: 560px) {
  .account-financial-assignment { grid-template-columns: minmax(0,1fr); }
  .account-financial-assignment button { justify-self: start; }
}
.public-header { background: #fff; color: var(--accent-strong); }
.public-inner { width: min(1100px, calc(100% - 56px)); margin-inline: auto; }
.public-header .public-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.public-header .brand { padding: 0; }
.public-header .brand-wordmark { font-size: 24px; }
.rcms-symbol {
  position: relative; display: grid; place-items: center; flex: 0 0 42px; height: 42px;
  border-radius: 11px; background: #1b526a; color: #fff;
}
.rcms-symbol span {
  position: relative; width: 20px; height: 25px; border: 1.5px solid currentColor;
  border-radius: 10px 10px 3px 3px;
}
.rcms-symbol span::before, .rcms-symbol span::after {
  position: absolute; top: 7px; left: 50%; width: 1.5px; height: 12px;
  transform: translateX(-50%); border-radius: 1px; background: currentColor; content: "";
}
.rcms-symbol span::after { top: 10.5px; width: 8px; height: 1.5px; }
.rcms-brand-text strong { display: block; font-size: 25px; font-weight: 750; letter-spacing: .045em; }
.brand.rcms-brand .rcms-brand-text small {
  display: block; margin: 3px 0 0; color: inherit; font-size: 12px; line-height: 1.3;
}
.sidebar .rcms-brand-text small { color: #cbd8e9; }
.public-header nav { display: flex; flex-wrap: wrap; gap: 18px; }
.public-header nav a { font-size: 14px; text-decoration: none; }
.public-header nav a:hover { text-decoration: underline; }
.layout.public-declaration { min-height: calc(100vh - 70px); }
.layout.public-login .workspace, .public-login main { max-width: none; padding: 0; }
.auth-banner { background: linear-gradient(24deg, #385f75 0, transparent 49%), linear-gradient(112deg, #142443, #1b6570); }
.auth-banner .public-inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center;
  gap: clamp(32px, 8vw, 150px); min-height: 600px; padding-block: 68px;
}
.auth-intro { color: #fff; }
.auth-identity { margin: 0 0 24px; color: #d5e9f0; font-size: 15px; line-height: 1.6; }
.auth-identity strong, .auth-identity span { display: block; }
.auth-intro h1 { font-size: clamp(38px, 4.25vw, 61px); font-weight: 680; letter-spacing: -.035em; line-height: 1.1; }
.auth-intro .rcms-login-title { font-size: clamp(24px, 3.8vw, 46px); line-height: 1.16; }
.auth-intro h1 + p { max-width: 410px; margin: 19px 0 0; color: #e5f2f6; line-height: 1.65; }
.auth-intro .auth-demo { margin: 16px 0 0; color: #e5f2f6; line-height: 1.65; }
.auth-card {
  padding: 34px 36px 38px; border: 1px solid #d8e2ef; border-radius: 13px; background: #fff;
  box-shadow: 0 10px 30px #12213c24;
}
.auth-card h2 { margin: 0 0 16px; font-size: clamp(21px, 2vw, 25px); line-height: 1.2; }
.auth-congregation { display: grid; gap: 4px; margin: 0 0 16px; }
.auth-congregation span { color: var(--muted); font-size: 13px; }
.auth-card .auth-fields { grid-template-columns: 1fr; }
.auth-card .admin-form > .panel, .auth-card .admin-form > .dialog-footer { padding: 0; border: 0; }
.auth-card .admin-form > .dialog-footer { position: static; margin-top: 14px; }
.auth-card .dialog-footer .button { width: 100%; }
.password-help { margin-top: 16px; font-size: 14px; color: var(--accent); }
.password-help summary { cursor: pointer; text-decoration: underline; list-style: none; }
.password-help p { margin-bottom: 0; }
.admin-form { margin-top: 14px; }
.admin-form .form-error:empty { display: none; }
.admin-form .dialog-footer { justify-content: flex-end; }
.admin-form input { min-width: 0; }
.admin-result { margin-top: 16px; }
.admin-result > input { width: 100%; margin-block: 8px 14px; }
.account-actions { justify-content: flex-start; flex-wrap: wrap; }
.review-body { padding-bottom: 16px; }
.review-body form { display: grid; gap: 8px; margin-top: 14px; }
.review-body > .field, .review-detail-actions { margin-top: 14px; }
.review-change { color: #a31c17; font-weight: 750; }
.review-photos { display: flex; margin-block: 14px; gap: 24px; }
.review-photos img { display: block; max-width: 90px; max-height: 120px; margin-top: 6px; }
.permission-matrix { border: 1px solid var(--line); border-radius: 8px; max-height: 425px; }
.permission-matrix table { min-width: 505px; table-layout: fixed; }
.permission-matrix tr > :first-child { width: 42%; }
.permission-matrix tbody th { position: static; white-space: normal; }
.permission-matrix tr > :nth-child(n+2) { text-align: center; }
.permission-matrix input { margin: 0; vertical-align: middle; }
.transfer-checkbox { grid-column: 1 / -1; }
.layout.public-declaration .workspace:has(.declaration-page) { max-width: 1100px; }
.declaration-page { max-width: 1044px; margin-inline: auto; }
.declaration-heading { text-align: center; }
.declaration-tabs { padding: 0 4px 4px; gap: 5px; }
.declaration-tabs button {
  border: 0; border-radius: 8px; padding: 9px 12px; background: transparent;
  color: var(--muted); font-size: 14px; font-weight: 650; cursor: pointer;
}
.declaration-tabs button[aria-selected=true], .declaration-tabs button:hover { color: var(--accent); background: var(--tint); }
.declaration-panel { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.declaration-panel .form-group { padding: 17px; }
.declaration-panel .form-section { font-size: 18px; margin-bottom: 14px; }
.declaration-panel .field-grid { gap: 13px; }
.record-form.sister-create-form .form-content { display: block; }
.declaration-repeat { grid-column: 1 / -1; }
.declaration-repeat .heading-row h2 { margin-block: 0 5px; }
.declaration-repeat .heading-row .note { margin: 0; }
.declaration-entry { min-width: 0; margin: 16px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; }
.declaration-entry legend { padding-inline: 4px; font-weight: 650; }
.declaration-entry > button { margin-top: 12px; }
.declaration-submit { position: sticky; bottom: 0; z-index: 5; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.declaration-submit .form-error { flex: 1 1 250px; }
.temporary-password { user-select: all; font-size: 1rem; }
.sister-statistics-tabs { margin-bottom: 17px; }
.sister-statistics-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sister-statistics-filters .form-error { grid-column: 1 / -1; margin: 0; }
.sister-statistics-units, .sister-statistics-list { overflow: hidden; }
.sister-statistics-units .note { margin: 12px 16px; }
.sister-statistics-units tbody th { position: static; background: transparent; white-space: normal; }
.sister-statistics-units tr > :nth-child(n+3), .sister-statistics-units .statistics-total td {
  text-align: right; font-variant-numeric: tabular-nums;
}
.sister-statistics-units .statistics-total, .sister-statistics-units .statistics-total:hover {
  background: var(--tint); font-weight: 700;
}
.sister-statistics-list { margin-top: 17px; }
.statistics-list-heading { padding: 12px 16px; }
.statistics-list-heading h2 { margin: 0; font-size: 15px; }
.statistics-count { margin-left: 5px; color: var(--muted); font-weight: 400; }
.sister-statistics-list tbody tr:nth-child(odd) { background: var(--wash); }
.sister-statistics-list th:first-child, .sister-statistics-list td:first-child { width: 68px; text-align: center; }
@media (max-width: 950px) {
  .sister-statistics-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .sister-statistics-filters { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .declaration-panel { grid-template-columns: minmax(0, 1fr); }
}
.authenticator-form { max-width: 760px; }
.authenticator-qr img { width: min(225px, 100%); height: auto; }
.authenticator-qr code { overflow-wrap: anywhere; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, fit-content(180px)); gap: 8px 36px; padding-left: 22px; }
@media (max-width: 700px) {
  .public-inner { width: calc(100% - 32px); }
  .public-header .public-inner { padding-block: 10px; }
  .public-header nav { justify-content: flex-end; gap: 6px 10px; text-align: right; }
  .public-header .brand { flex-shrink: 0; gap: 8px; }
  .public-header .brand-mark { flex-basis: 36px; height: 36px; }
  .public-header .brand-wordmark { font-size: 17px; white-space: nowrap; }
  .public-header nav a { font-size: 13px; }
  .auth-banner .public-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding-block: 34px; }
  .auth-card { padding: 24px; }
}
@media (max-width: 530px) {
  .rcms-header .public-inner { flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding-block: 12px; }
  .rcms-header nav { flex-basis: 100%; justify-content: flex-start; text-align: left; }
}
