:root {
  color-scheme: light;
  --canvas: #fff;
  --sidebar: #fff;
  --panel: #fff;
  --panel-hover: #f5f6f8;
  --input: #fff;
  --subtle: #f6f7f9;
  --selected: #eef0f3;
  --border: #d8dce2;
  --control-border: #8b939d;
  --divider: #e8eaee;
  --text: #17181a;
  --muted: #515965;
  --accent: #185c4b;
  --accent-fill: #eaf4f0;
  --accent-hover: #d9ebe4;
  --accent-border: #758f86;
  --chart-receipts: #64748b;
  --chart-commission: #26816c;
  --danger: #9f2638;
  --danger-fill: #fff2f3;
  --danger-border: #eac1c8;
  --radius: 9px;
  font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); }
h1, h2, p { margin: 0; }
h1 { font-size: 25px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
h2 { font-size: 16px; line-height: 1.4; font-weight: 650; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a.button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.icon { display: inline-block; width: 17px; height: 17px; vertical-align: middle; flex: none; }
.startup { display: grid; min-height: 100vh; place-items: center; color: var(--muted); }
.shell { min-height: 100vh; display: grid; grid-template-columns: 219px minmax(0, 1fr); }
.sidebar { background: var(--sidebar); padding: 16px 12px 15px; border-right: 1px solid var(--divider); display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; }
.brand { display: flex; align-items: center; gap: 9px; padding-inline: 6px; font-size: 15px; font-weight: 660; line-height: 1.3; }
.brand-mark { flex: none; width: 30px; height: 30px; border-radius: 7px; background: var(--accent-fill); border: 1px solid var(--accent-border); display: inline-grid; place-items: center; color: var(--accent); }
.brand-mark .icon { width: 16px; height: 16px; }
nav { display: grid; gap: 13px; min-height: 0; margin-top: 21px; padding-bottom: 11px; overflow-y: auto; }
.nav-group { display: grid; gap: 3px; }
.nav-heading { color: var(--muted); font-size: 11px; letter-spacing: .02em; padding: 0 9px 2px; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 7px 9px; border: 1px solid transparent; border-radius: 6px; text-align: left; color: var(--muted); background: transparent; white-space: nowrap; font-weight: 500; }
.nav-item:hover { color: var(--text); background: var(--panel-hover); }
.nav-item[aria-current=page] { color: var(--text); font-weight: 620; background: var(--selected); border-color: var(--border); }
.nav-item[aria-current=page] .icon { color: var(--accent); }
.organization { margin-top: auto; padding: 14px 6px 1px; border-top: 1px solid var(--divider); display: flex; align-items: center; gap: 9px; }
.organization > .icon { color: var(--muted); }
.organization span { min-width: 0; }
.organization strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.organization small { display: block; color: var(--muted); margin-top: 3px; }
.workspace { min-width: 0; }
.topbar { min-height: 52px; padding: 7px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--divider); }
.crumb { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--muted); }
.crumb strong { color: var(--text); font-weight: 580; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 13px; flex: none; }
.language { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.language select, select.language { width: auto; min-height: 30px; padding: 4px 6px; border-radius: 6px; font-size: 13px; }
.profile { position: relative; flex: none; }
.profile summary { list-style: none; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 570; cursor: pointer; color: var(--text); white-space: nowrap; }
.profile summary::-webkit-details-marker { display: none; }
.profile summary > .icon { width: 13px; height: 13px; color: var(--muted); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--subtle); border: 1px solid var(--border); color: var(--text); font-weight: 650; }
.profile-menu { position: absolute; z-index: 4; right: 0; top: 35px; background: var(--panel); min-width: 152px; border: 1px solid var(--border); border-radius: 8px; padding: 4px; box-shadow: 0 8px 24px #1722351c; }
.profile-menu button { display: block; width: 100%; padding: 8px 9px; text-align: left; border: 0; background: transparent; border-radius: 5px; color: var(--text); }
.profile-menu button:hover { background: var(--panel-hover); }
main { max-width: 1640px; margin-inline: auto; padding: 20px 21px 30px; display: grid; gap: 12px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 3px; }
.page-head p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.button { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--control-border); padding: 5px 9px; border-radius: 6px; background: var(--panel); color: var(--text); text-decoration: none; white-space: nowrap; font-size: 13px; font-weight: 570; line-height: 1.4; }
.button:hover { background: var(--panel-hover); }
.button.primary { background: var(--accent-fill); border-color: var(--accent-border); }
.button.primary:hover { background: var(--accent-hover); }
.button.link { color: var(--accent); padding-inline: 3px; min-height: 26px; border-color: transparent; background: transparent; }
.button.link:hover { text-decoration: underline; }
.button .icon { width: 15px; height: 15px; }
input:not([type=checkbox]), select, textarea { min-height: 34px; width: 100%; min-width: 0; padding: 6px 9px; background: var(--input); border: 1px solid var(--control-border); color: var(--text); border-radius: 6px; }
input[type=month] { width: auto; min-width: 132px; }
textarea { resize: vertical; }
label { display: grid; gap: 5px; font-weight: 540; }
input::placeholder { color: var(--muted); opacity: 1; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.workspace-metrics { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.metric, .panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.metric { min-width: 0; padding: 13px 14px; }
.metric-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.metric-head .icon { color: var(--accent); }
.metric strong { display: block; font-weight: 650; font-size: clamp(19px, 2.03vw, 28px); letter-spacing: -.035em; margin: 5px 0 4px; overflow-wrap: anywhere; }
.money, .metric strong, .amount { font-variant-numeric: tabular-nums; }
.metric small, .muted { color: var(--muted); }
.pair { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(250px, 1fr); gap: 12px; align-items: stretch; }
.panel { min-width: 0; padding: 13px 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.panel-head p { margin-top: 3px; }
.module-list { list-style: none; padding: 0; margin: 0; }
.module-row { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--divider); }
.module-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent); background: var(--input); border: 1px solid var(--divider); border-radius: 7px; }
.module-title strong { display: block; font-weight: 630; }
.module-title small { display: block; margin-top: 4px; color: var(--muted); }
.module-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px 11px; }
.list-panel { padding: 0; overflow: hidden; }
.list-head { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px; border-bottom: 1px solid var(--divider); }
.list-head h1, .list-head h2 { font-size: 17px; line-height: 1.35; font-weight: 640; }
.list-toolbar { min-height: 45px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 7px 15px; border-bottom: 1px solid var(--divider); }
.report-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; color: var(--muted); }
.report-summary strong { color: var(--text); font-size: 16px; }
.closing-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 12px; }
.closing-meta:empty { display: none; }
.closing-checklist { border-bottom: 1px solid var(--border); }
.closing-checklist-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; padding: 12px 15px; }
.closing-checklist-head h2 { font-size: 15px; }
.closing-checklist-head p { margin-top: 4px; color: var(--muted); }
.closing-checklist .empty { padding-block: 6px 13px; text-align: left; }
.commission-views { flex-wrap: wrap; padding: 6px 12px; border-bottom: 1px solid var(--divider); }
.commission-receipts :is(th, td):last-child { text-align: right; }
.commission-detail th { white-space: normal; }
.list-panel .table-wrap { border: 0; border-radius: 0; }
.list-panel th:first-child, .list-panel th:last-child { border-radius: 0; }
.list-panel th:first-child, .list-panel td:first-child { padding-left: 15px; }
.list-panel th:last-child, .list-panel td:last-child { padding-right: 15px; }
.table-footer { min-height: 39px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 6px 15px; border-top: 1px solid var(--divider); color: var(--muted); font-size: 13px; }
.search-control { display: flex; position: relative; align-items: center; width: min(100%, 285px); margin-left: auto; color: var(--muted); }
.search-control .icon { position: absolute; left: 9px; pointer-events: none; width: 15px; height: 15px; }
.search-control:has(.icon) input { padding-left: 30px; }
.chart-legend { color: var(--muted); display: flex; gap: 12px; font-size: 12px; flex-wrap: wrap; }
.legend-dot { display: inline-block; vertical-align: -1px; width: 9px; height: 9px; border-radius: 2px; background: var(--chart-receipts); margin-right: 5px; }
.legend-dot.accent { background: var(--chart-commission); }
.chart { display: grid; grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: 196px auto; gap: 0 7px; padding-block: 12px 4px; }
.axis { position: relative; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.axis span { position: absolute; right: 0; transform: translateY(-50%); }
.bars { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; border-left: 1px solid var(--control-border); border-bottom: 1px solid var(--control-border); }
.guide { pointer-events: none; position: absolute; width: 100%; border-top: 1px solid var(--divider); }
.bar-pair { position: relative; width: 100%; height: 100%; }
.bar { position: absolute; width: 28%; max-width: 32px; min-width: 5px; right: 52%; background: var(--chart-receipts); border-radius: 3px 3px 0 0; }
.bar.accent { right: auto; left: 51%; background: var(--chart-commission); }
.bar.negative { border-radius: 0 0 3px 3px; }
.chart-labels { grid-column: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; padding-top: 7px; color: var(--muted); text-align: center; font-size: 11px; }
.queue { list-style: none; margin: 0; padding: 0; }
.queue li { padding: 10px 0; border-top: 1px solid var(--divider); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.queue li strong { display: block; overflow-wrap: anywhere; }
.queue li small { margin-top: 4px; color: var(--muted); display: block; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--divider); border-radius: 7px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th { font-weight: 590; color: var(--text); background: var(--subtle); white-space: nowrap; }
th, td { padding: 10px 11px; vertical-align: middle; }
th { border-bottom: 1px solid var(--border); }
td { border-bottom: 1px solid var(--divider); overflow-wrap: anywhere; }
.numeric { text-align: right; }
.numeric + :not(.numeric) { padding-left: 17px; }
.table-wrap tbody tr:hover td, .table-wrap tbody tr:focus-within td { background: var(--panel-hover); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.cell-note { display: block; color: var(--muted); margin-top: 3px; }
.record-key { white-space: nowrap; }
.money { white-space: nowrap; }
.negative-text { color: var(--danger); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 540; white-space: nowrap; color: var(--muted); }
.status::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.status.ok::before { background: #22826a; }
.status.warn::before { background: #a56416; }
.status.wait::before { background: #b34254; }
.empty { padding: 24px 14px; text-align: center; color: var(--muted); }
.segment { display: flex; gap: 3px; }
.segment button { border: 1px solid transparent; background: transparent; color: var(--muted); padding: 6px 9px; border-radius: 6px; white-space: nowrap; }
.segment button:hover { background: var(--panel-hover); color: var(--text); }
.segment button[aria-pressed=true] { border-color: var(--border); background: var(--selected); color: var(--text); font-weight: 590; }
.account-views { flex-wrap: wrap; }
.registration-count { margin-inline-start: 4px; padding: 1px 6px; border-radius: 10px; background: var(--accent-fill); color: var(--accent); font-variant-numeric: tabular-nums; }
.registration-filter { display: flex; align-items: center; gap: 8px; }
.registration-details { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; margin: 0; }
.registration-details dt { color: var(--muted); }
.registration-details dd { margin: 0; overflow-wrap: anywhere; }
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form small { color: var(--muted); display: block; }
#account-binding-help:empty { display: none; }
.file-field { display: flex; align-items: center; gap: 9px; }
.file-field .muted { overflow-wrap: anywhere; }
.file-control { position: relative; flex: none; }
.file-control:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.file-control input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form-footer { display: flex; justify-content: flex-end; gap: 7px; padding-top: 9px; border-top: 1px solid var(--divider); }
.roster-preview-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.roster-file-name { overflow-wrap: anywhere; }
.roster-preview-counts { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 5px; margin-top: 5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.roster-preview-table .table-wrap { max-height: min(45dvh, 420px); }
.roster-preview-table th { position: sticky; top: 0; white-space: normal; }
.roster-preview-table td { vertical-align: top; }
.roster-changes { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.roster-changes strong { font-weight: 585; }
.offboarding-confirm { padding: 10px 12px; background: var(--subtle); border: 1px solid var(--divider); border-radius: 6px; overflow-wrap: anywhere; }
.offboarding-check { display: flex; align-items: baseline; gap: 7px; }
.offboarding-check + small { margin: 4px 0 0 24px; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--divider); }
.dialog-top .button { min-width: 32px; padding-inline: 5px; }
dialog { width: min(100% - 26px, 640px); max-height: calc(100dvh - 32px); padding: 16px 18px; border: 1px solid var(--border); background: var(--panel); border-radius: 10px; color: var(--text); box-shadow: 0 18px 54px #17223538; }
dialog::backdrop { background: #17223552; }
.audit-event { display: grid; gap: 8px; border: 1px solid var(--divider); border-radius: var(--radius); padding: 12px; min-width: 0; }
.audit-event .panel-head, dialog section > .panel-head { margin-bottom: 0; flex-wrap: wrap; }
.audit-allocations { display: flex; flex-wrap: wrap; gap: 8px; }
.audit-allocations section { flex: 1 1 240px; min-width: 0; display: grid; align-content: start; gap: 4px; }
.audit-note { overflow-wrap: anywhere; white-space: pre-wrap; }
.close-deferral-head { align-items: flex-start; overflow-wrap: anywhere; }
.close-deferral-check { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.close-deferral-check input { margin: 0; accent-color: var(--accent); }
.close-deferral input[type=month] { width: 100%; min-width: 0; }
.receipt-actions, .receipt-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.repeat-list { display: grid; gap: 8px; }
.repeat-row { display: grid; grid-template-columns: minmax(101px, 2fr) minmax(64px, 1fr) minmax(64px, 1fr) 33px; gap: 6px; align-items: end; }
.repeat-row.allocate { grid-template-columns: minmax(132px, 2fr) minmax(78px, 1fr) 33px; }
.repeat-row .remove-repeat { padding-inline: 0; }
.field-error { color: var(--danger); background: var(--danger-fill); border: 1px solid var(--danger-border); padding: 8px 10px; border-radius: 6px; }
.field-error[hidden] { display: none; }
.notice { position: fixed; z-index: 10; bottom: 20px; right: 20px; max-width: min(420px, 90vw); background: var(--accent-fill); border: 1px solid var(--accent-border); color: var(--text); border-radius: 7px; padding: 10px 13px; box-shadow: 0 6px 24px #17223521; }
.notice.error { background: var(--danger-fill); border-color: var(--danger-border); color: var(--danger); }
.auth-wrap {
  min-height: 100dvh;
  display: grid;
  grid-template: auto 1fr / minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  background: #eef3f0;
}
/* Grid adapted from bansal/pattern.css (MIT), https://github.com/bansal/pattern.css.
   Copyright bansal-io and pattern.css contributors.

   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated documentation files (the "Software"), to deal
   in the Software without restriction, including without limitation the rights
   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the Software is
   furnished to do so, subject to the following conditions:

   The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   THE SOFTWARE. */
.auth-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 44%;
  color: #c4e7d71e;
  background:
    linear-gradient(currentColor 1px, transparent 1px) center / 32px 32px,
    linear-gradient(to right, currentColor 1px, transparent 1px) center / 32px 32px,
    linear-gradient(112deg, #234c41, #102b26 75%);
  border-bottom: 1px solid #8ea59b;
}
.auth-brand { background: var(--sidebar); border-bottom: 1px solid var(--divider); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px clamp(16px, 3vw, 44px); }
.auth-brand .brand { padding: 0; }
.auth-box {
  align-self: center;
  justify-self: center;
  width: min(100% - 32px, 424px);
  margin: 32px 0;
  padding: clamp(22px, 5vw, 35px);
  border: 1px solid #d7e2dd;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 18px 48px #102b262a, 0 3px 9px #102b2610;
}
.auth-box h1 { font-size: 25px; margin-bottom: 6px; }
.auth-box > p { margin: 0 0 21px; color: var(--muted); overflow-wrap: anywhere; }
.auth-box .form { gap: 14px; }
.auth-box input { min-height: 44px; font-size: 16px; }
.auth-box .primary { min-height: 44px; margin-top: 4px; color: #fff; background: var(--accent); border-color: var(--accent); }
.auth-box .primary:hover { background: #124b3d; border-color: #124b3d; }
.auth-box .auth-status { padding: 10px 12px; border: 1px solid var(--accent-border); border-radius: 6px; color: var(--accent); background: var(--accent-fill); }
.auth-input-help { margin-top: -8px; }
.auth-actions { display: flex; justify-content: center; margin-top: 10px; }
.auth-actions .button { min-height: 44px; padding-inline: 10px; }
.auth-box .demo-hint { margin: 11px 0 0; font-size: 12px; }
.auth-language { flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) {
  .shell { grid-template-columns: 185px minmax(0, 1fr); }
  main, .topbar { padding-inline: 15px; }
  .metric { padding-inline: 10px; }
  .pair { grid-template-columns: minmax(0, 1.4fr) minmax(205px, 1fr); }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { height: auto; position: static; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--divider); }
  .organization { display: none; }
  nav { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 9px; padding: 0; overflow: visible; }
  .nav-group { display: contents; }
  .nav-heading { display: none; }
  .nav-item { font-size: 12px; min-height: 33px; gap: 5px; padding: 6px 7px; }
  .nav-item .icon { width: 14px; height: 14px; }
  .page-head, .list-head { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
  .actions { justify-content: flex-start; }
  main { padding: 12px 10px 24px; gap: 10px; }
  .topbar { min-height: 45px; padding: 5px 12px; }
  .header-actions { gap: 8px; }
  h1 { font-size: 22px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .module-row { grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; }
  .module-links { grid-column: 2; justify-content: start; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .panel { padding-inline: 10px; }
  .list-panel { padding-inline: 0; }
  .list-head, .list-toolbar, .table-footer { padding-inline: 10px; }
  .search-control { margin-left: 0; }
  .chart { grid-template-rows: 166px auto; }
  th, td { padding-inline: 8px; }
}
@media (max-width: 650px) {
  #people-results :is(th, td):is(:nth-child(3), :nth-child(4), :nth-child(6)) { display: none; }
}
@media (max-width: 410px) {
  .profile summary { gap: 4px; }
  .profile-role { display: none; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .repeat-row { grid-template-columns: minmax(78px, 1.5fr) minmax(54px, 1fr) minmax(54px, 1fr) 31px; }
  .repeat-row.allocate { grid-template-columns: minmax(98px, 1.5fr) minmax(65px, 1fr) 31px; }
}
