.users-page {
  margin: 0;
  background: #f6f8f5;
  color: #17251f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}
.users-page * { box-sizing: border-box; }
.users-page [hidden] { display: none !important; }
.ua-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ua-topbar { background: #123a2e; color: #fff; }
.ua-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 74px; }
.ua-topbar nav { display: flex; gap: 18px; }
.ua-topbar nav a { color: #f0f6f1; font-size: 14px; text-decoration: none; }
.ua-main { padding-block: 28px 52px; }
.ua-main h1 { margin: 20px 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.25; }
.ua-card { border: 1px solid #dce5df; border-radius: 16px; background: #fff; }
.ua-access { padding: 22px; }
.ua-access p { margin: 0 0 16px; }
.ua-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 20px 24px; margin-bottom: 20px; }
.ua-summary > div { display: flex; align-items: baseline; gap: 18px; }
.ua-label { color: #52675a; font-size: 15px; }
.ua-summary strong { color: #123a2e; font-size: 36px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ua-summary p { margin: 0; color: #52675a; font-size: 14px; }
.ua-summary b { color: #17251f; font-variant-numeric: tabular-nums; }
.ua-separator { padding-inline: 9px; }
.ua-list { padding: 20px 24px; }
.ua-list-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ua-list-heading h2 { font-size: 18px; margin: 0; }
.ua-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid #123a2e; border-radius: 9px; padding: 8px 16px; background: #123a2e; color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer; }
.ua-secondary { border-color: #c6d5cb; background: #f6f8f5; color: #123a2e; }
.ua-button:disabled { cursor: default; opacity: .45; }
.ua-button:hover:not(:disabled) { filter: brightness(.96); }
.ua-button:focus-visible, .ua-search input:focus-visible, .ua-table-wrap:focus-visible, .ua-topbar a:focus-visible { outline: 2px solid #458460; outline-offset: 3px; }
.ua-search { display: flex; gap: 10px; margin-top: 18px; }
.ua-search input { width: min(100%, 460px); min-width: 0; min-height: 44px; border: 1px solid #c6d5cb; border-radius: 9px; padding: 10px 12px; background: #fff; color: #17251f; font: inherit; font-size: 14px; }
.ua-status { min-height: 22px; margin: 13px 0 10px; color: #52675a; font-size: 14px; }
.ua-table-wrap { overflow-x: auto; }
.ua-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ua-table th, .ua-table td { border-bottom: 1px solid #e3eae5; padding: 14px 12px; text-align: left; vertical-align: top; }
.ua-table th { background: #f3f7f3; color: #52675a; font-size: 12px; font-weight: 650; white-space: nowrap; }
.ua-table th:first-child, .ua-table td:first-child { padding-left: 10px; }
.ua-table td { max-width: 260px; min-width: 110px; overflow-wrap: anywhere; }
.ua-table td:nth-child(2) { min-width: 200px; }
.ua-table td:nth-child(3), .ua-table td:nth-child(4) { min-width: 130px; font-variant-numeric: tabular-nums; }
.ua-contact, .ua-provider { display: block; }
.ua-provider { margin-top: 4px; color: #6b7d71; font-size: 12px; }
.ua-role-admin { color: #1a6242; font-weight: 650; }
.ua-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: #52675a; }
.ua-pagination > div { display: flex; gap: 8px; }
.ua-footnote { margin: 16px 0 0; color: #6b7d71; font-size: 12px; }
.ua-stats { margin-bottom: 20px; padding: 20px 24px; }
.ua-stats-heading { flex-wrap: wrap; }
.ua-stats-actions { display: flex; align-items: center; gap: 10px; }
.ua-stats-actions select { min-width: 0; min-height: 42px; border: 1px solid #c6d5cb; border-radius: 9px; padding: 8px 30px 8px 10px; background: #fff; color: #17251f; font: inherit; font-size: 14px; }
.ua-stats-actions select:focus-visible, .ua-stats-details summary:focus-visible { outline: 2px solid #458460; outline-offset: 3px; }
.ua-stats-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.ua-stats-definition { margin: 0 0 18px; color: #52675a; font-size: 13px; }
.ua-stats-totals > div { border: 1px solid #dce5df; border-radius: 12px; padding: 14px; background: #f6f9f4; min-width: 0; }
.ua-stats-totals dt { color: #52675a; font-size: 13px; font-weight: 650; }
.ua-stats-totals dd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; color: #123a2e; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ua-stats-totals dd span { min-width: 0; }
.ua-stats-totals small { display: block; color: #52675a; font-size: 12px; font-weight: 500; margin-bottom: 5px; }
.ua-stats-totals strong { font-size: clamp(20px, 2.3vw, 28px); font-weight: 700; }
.ua-stats-details { margin-top: 20px; }
.ua-stats-details summary { width: fit-content; color: #27563e; font-size: 13px; cursor: pointer; }
.ua-stats-tables { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; margin-top: 12px; }
.ua-stats-table td { min-width: 0; }
.ua-stats-table td:nth-child(2), .ua-stats-table td:nth-child(3) { min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.ua-stats-table th:nth-child(2), .ua-stats-table th:nth-child(3) { text-align: right; }
.ua-stats-table td:first-child { min-width: 130px; }
.ua-stats-table .ua-stats-page { display: block; color: #6b7d71; font-size: 12px; }
.ua-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 620px) {
  .ua-shell { width: calc(100% - 28px); }
  .ua-topbar-inner { min-height: 66px; }
  .ua-topbar nav { gap: 12px; }
  .ua-topbar nav a { font-size: 12px; }
  .ua-main { padding-top: 20px; }
  .ua-list, .ua-summary, .ua-stats { padding: 18px 14px; }
  .ua-summary > div { gap: 14px; }
  .ua-summary strong { font-size: 32px; }
  .ua-search input { flex: 1; }
  .ua-button { padding-inline: 12px; }
  .ua-stats-actions { width: 100%; }
  .ua-stats-actions select { flex: 1; width: 0; }
  .ua-stats-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ua-stats-totals > div { padding: 12px; }
  .ua-stats-totals strong { font-size: 24px; }
  .ua-stats-tables { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 420px) {
  .ua-stats-totals > div { padding: 12px 10px; }
  .ua-stats-totals dd { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 9px; }
  .ua-stats-totals dd span { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
  .ua-stats-totals small { flex: 0 0 auto; margin: 0; }
  .ua-stats-totals strong { font-size: clamp(17px, 5vw, 20px); letter-spacing: -.02em; white-space: nowrap; }
}
