:root {
  color-scheme: light;
  --ink: #1d2c26;
  --ink-soft: #50615a;
  --muted: #78857e;
  --paper: #f3f6f2;
  --white: #ffffff;
  --line: #dce5de;
  --green: #245c4b;
  --green-deep: #18372f;
  --green-pale: #d9eae0;
  --coral: #c76146;
  --coral-pale: #f5e4dc;
  --gold: #d5a649;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Gill Sans", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(36, 92, 75, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 92, 75, .025) 1px, transparent 1px);
  background-size: 40px 40px;
  font-size: 15px;
}
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(198, 97, 70, .55); outline-offset: 3px; }
[hidden] { display: none !important; }

.topbar {
  min-height: 78px;
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark-mark { display: grid; width: 36px; height: 36px; place-items: center; background: var(--green-deep); color: white; font: bold 20px var(--serif); }
.wordmark strong { display: block; font-size: 14px; letter-spacing: .2px; }
.wordmark small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.15px; }
.topnav { display: flex; align-items: center; gap: 30px; height: 78px; }
.nav-link, .text-button { position: relative; border: 0; background: none; color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.nav-link { display: flex; align-items: center; height: 100%; }
.nav-link.is-current { color: var(--green); }
.nav-link.is-current::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--green); content: ""; }
.nav-logout { margin: 0; }
.text-button { padding: 8px 0; color: var(--coral); }

.page-shell { width: min(1120px, calc(100% - 56px)); margin: 0 auto; }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 56px 0 34px; animation: rise-in .55s both; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 1.55px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5da879; box-shadow: 0 0 0 3px rgba(93, 168, 121, .14); vertical-align: 1px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 16px; font: 500 54px/1.03 var(--serif); letter-spacing: 0; }
h1 em { color: var(--green); font-weight: 400; }
.intro-copy { max-width: 430px; margin-bottom: 3px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.updated-stamp { display: flex; align-items: center; gap: 11px; margin-bottom: 5px; padding: 11px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.62); }
.stamp-icon { color: var(--coral); font-size: 20px; }
.updated-stamp strong, .updated-stamp small { display: block; }
.updated-stamp strong { font-size: 12px; }
.updated-stamp small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.metric-grid { display: grid; grid-template-columns: 1.42fr 1fr 1fr; gap: 12px; animation: rise-in .62s .05s both; }
.balance-panel, .metric-panel { min-height: 184px; padding: 23px 25px; }
.balance-panel { position: relative; overflow: hidden; background: var(--green-deep); color: white; }
.balance-panel::after { position: absolute; right: -24px; bottom: -48px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.025); content: ""; }
.metric-label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: inherit; font-size: 12px; font-weight: 700; }
.balance-panel .metric-label { color: #d2e3d8; }
.metric-icon { color: #a4d5b6; font-size: 18px; }
.balance-value { position: relative; z-index: 1; margin: 24px 0 20px; font: 500 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.balance-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #abc0b3; font-size: 10px; }
.balance-period { color: #deede2; font-weight: 700; letter-spacing: 1px; }
.metric-panel { border: 1px solid var(--line); background: rgba(255,255,255,.88); }
.metric-income { border-top: 3px solid var(--green); }
.metric-spend { border-top: 3px solid var(--coral); }
.metric-value { margin: 30px 0 17px; font: 500 31px/1 var(--serif); font-variant-numeric: tabular-nums; }
.metric-note { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.metric-symbol { display: grid; width: 18px; height: 18px; place-items: center; background: var(--green-pale); color: var(--green); font-weight: 800; }
.metric-spend .metric-symbol { background: var(--coral-pale); color: var(--coral); }

.chart-section { margin-top: 28px; padding: 25px 28px 16px; border: 1px solid var(--line); background: rgba(255,255,255,.9); animation: rise-in .7s .1s both; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading .eyebrow { margin-bottom: 7px; }
h2 { margin: 0; font: 500 25px/1.15 var(--serif); }
.chart-legend { display: flex; align-items: center; gap: 7px; padding-bottom: 3px; color: var(--ink-soft); font-size: 11px; }
.chart-legend i { width: 16px; height: 3px; background: var(--green); }
.chart-frame { position: relative; min-height: 220px; margin: 22px -7px 0; overflow-x: auto; }
#balance-chart { display: block; width: 100%; min-width: 620px; height: 220px; overflow: visible; }
.chart-grid-line { stroke: #e6ece7; stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; stroke-dasharray: 1200; animation: draw-line 1.2s ease-out both; }
.chart-point { fill: white; stroke: var(--coral); stroke-width: 3; }
.chart-axis-label { fill: #819087; font: 11px var(--sans); }
.empty-state { min-height: 180px; display: grid; place-items: center; padding: 20px; color: var(--muted); text-align: center; font-size: 13px; }
.inline-error { margin: 4px 0 0; color: var(--coral); font-size: 12px; }

.records-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; margin-top: 35px; animation: rise-in .75s .15s both; }
.records-section { min-width: 0; }
.compact-heading { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.compact-heading h2 { font-size: 22px; }
.record-count { display: grid; min-width: 28px; height: 28px; padding: 0 7px; place-items: center; background: var(--green-pale); color: var(--green); font-size: 11px; font-weight: 800; }
.record-list { min-height: 85px; }
.record-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 3px; border-bottom: 1px solid #e5ebe6; }
.record-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.record-marker { width: 8px; height: 8px; flex: 0 0 auto; background: var(--coral); transform: rotate(45deg); }
.payment-row .record-marker { background: var(--green); border-radius: 50%; transform: none; }
.team-credit-row .record-marker { background: #42697f; transform: none; }
.record-label { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.record-date { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.record-amount { flex: 0 0 auto; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.expense-row .record-amount { color: var(--coral); }
.payment-row .record-amount { color: var(--green); }
.team-credit-row .record-amount { color: #42697f; }
.privacy-note { margin: 12px 0 1px; color: var(--muted); font-size: 10px; }
.privacy-note span { margin-right: 5px; color: var(--green); }
.loading-note { padding: 18px 2px; color: var(--muted); font-size: 12px; }
.empty-list { padding: 20px 2px; color: var(--muted); font-size: 12px; }
.data-note { margin: 32px 0 46px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px max(28px, calc((100vw - 1200px) / 2)); border-top: 1px solid var(--line); background: rgba(255,255,255,.55); color: var(--muted); font-size: 10px; }

.login-shell { display: grid; grid-template-columns: .9fr 1.1fr; width: min(860px, calc(100% - 56px)); min-height: 470px; margin: 74px auto 92px; border: 1px solid var(--line); background: white; animation: rise-in .5s both; }
.login-aside { position: relative; overflow: hidden; padding: 54px 42px; background: var(--green-deep); color: white; }
.login-aside .eyebrow { color: #9dc5a9; }
.login-aside h1 { margin-top: 42px; color: white; font-size: 45px; }
.login-aside h1 em { color: #b7d9c0; }
.login-aside > p:last-of-type { max-width: 240px; color: #b4c8bb; font-size: 13px; line-height: 1.6; }
.login-aside-mark { position: absolute; right: 22px; bottom: -50px; color: rgba(255,255,255,.08); font: 180px/1 var(--serif); }
.login-form { display: flex; flex-direction: column; justify-content: center; padding: 52px 58px; }
.login-form .eyebrow { margin-bottom: 9px; }
.login-form h2 { font-size: 29px; }
.form-intro { margin: 10px 0 26px; color: var(--muted); font-size: 12px; line-height: 1.55; }
label, legend { display: block; margin: 0 0 8px; color: var(--ink-soft); font-size: 11px; font-weight: 800; }
input, select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #d5dfd8; border-radius: 2px; background: white; color: var(--ink); font-size: 13px; }
input::placeholder { color: #a2ada6; }
.login-form input { margin-bottom: 18px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 14px; padding: 0 16px; border: 1px solid transparent; border-radius: 2px; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-deep); }
.button-secondary { background: var(--coral); color: white; }
.button-secondary:hover { background: #a94e37; }
.button-quiet { border-color: var(--line); background: white; color: var(--ink-soft); }
.button-danger { background: var(--coral); color: white; }
.back-link { margin-top: 20px; color: var(--muted); text-decoration: none; font-size: 11px; }
.back-link:hover { color: var(--green); }
.form-error { color: var(--coral); font-size: 12px; }

.admin-shell { padding-bottom: 50px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 44px 0 29px; }
.admin-heading h1 { margin-bottom: 0; font-size: 43px; }
.admin-heading > .intro-copy { max-width: 300px; margin-bottom: 5px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tab-button { min-height: 42px; padding: 0 17px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.tab-button.is-active { border-bottom-color: var(--green); color: var(--green); }
.admin-pane { display: none; }
.admin-pane.is-active { display: block; animation: rise-in .25s both; }
.admin-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.admin-form { display: flex; flex-direction: column; gap: 9px; padding: 22px; border: 1px solid var(--line); background: white; }
.form-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; padding-bottom: 16px; border-bottom: 1px solid #e9eee9; }
.form-heading .eyebrow { margin-bottom: 4px; font-size: 9px; }
.form-heading h2 { font-size: 20px; }
.form-icon { display: grid; width: 35px; height: 35px; place-items: center; font-size: 19px; font-weight: 800; }
.expense-icon { background: var(--coral-pale); color: var(--coral); }
.payment-icon, .player-icon { background: var(--green-pale); color: var(--green); }
.credit-icon { background: #e4ecf1; color: #42697f; }
.parent-icon { background: #f6edda; color: #916d28; }
.admin-form .form-intro { margin: 0 0 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.money-input { position: relative; }
.money-input > span { position: absolute; top: 50%; left: 11px; color: var(--muted); transform: translateY(-50%); }
.money-input input { padding-left: 25px; }
.choice-fieldset { min-width: 0; margin: 5px 0 2px; padding: 0; border: 0; }
.choice-list { display: flex; flex-wrap: wrap; gap: 7px; }
.choice-item { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 8px; border: 1px solid var(--line); background: #fbfcfa; color: var(--ink-soft); font-size: 11px; cursor: pointer; }
.choice-item input { width: 14px; min-height: 14px; height: 14px; margin: 0; accent-color: var(--green); }
.choice-list .loading-note { padding: 4px 0; }
.allocation-editor { padding: 11px 12px; background: #f5f8f5; }
.allocation-title { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.allocation-title span:last-child { color: var(--muted); font-weight: 400; }
.allocation-row { display: grid; grid-template-columns: 1fr 112px; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid #e3ebe5; font-size: 11px; }
.allocation-row:last-child { border-bottom: 0; }
.allocation-row input { min-height: 31px; padding: 5px 8px; text-align: right; }
.allocation-total { margin: 8px 0 0; color: var(--muted); text-align: right; font-size: 10px; }
.allocation-total.is-valid { color: var(--green); }
.allocation-total.is-invalid { color: var(--coral); }
.form-spacer { flex: 1; min-height: 17px; }
.admin-form > .button { margin-top: 8px; }
.history-section { margin-top: 30px; padding: 22px 24px; border: 1px solid var(--line); background: rgba(255,255,255,.8); }
.balances-heading { margin: 4px 0 16px; }
.balances-heading h2 { font-size: 25px; }
.balance-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; padding: 17px 19px; border-left: 3px solid var(--coral); background: white; }
.balance-summary > div span, .balance-summary > div strong { display: block; }
.balance-summary > div span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.balance-summary > div strong { margin-top: 5px; color: var(--coral); font: 500 26px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.balance-summary p { max-width: 540px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: white; }
.account-table { width: 100%; border-collapse: collapse; text-align: left; }
.account-table th { padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f7f9f6; color: var(--ink-soft); font-size: 10px; font-weight: 800; white-space: nowrap; }
.account-table td { padding: 13px 14px; border-bottom: 1px solid #e7ece8; color: var(--ink-soft); font-size: 12px; }
.account-table tbody tr:last-child td { border-bottom: 0; }
.account-table .account-player { min-width: 150px; color: var(--ink); font-weight: 800; }
.account-status { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 400; }
.account-number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.account-due { color: var(--coral) !important; font-weight: 800; }
.admin-events { margin-top: 5px; }
.event-filters { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0 7px; }
.event-filter { min-height: 31px; padding: 0 11px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.event-filter.is-active { border-color: var(--green-pale); background: var(--green-pale); color: var(--green-deep); }
.admin-event-row, .person-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 3px; border-bottom: 1px solid #e7ece8; }
.admin-event-row:last-child, .person-row:last-child { border-bottom: 0; }
.admin-event-row.is-deleted { opacity: .62; }
.admin-event-row.is-deleted .admin-event-info strong { text-decoration: line-through; text-decoration-color: #9aa79f; }
.admin-event-info, .person-info { min-width: 0; }
.admin-event-info strong, .person-info strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-event-info small, .person-info small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.admin-event-amount { flex: 0 0 auto; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.amount-out { color: var(--coral); }
.amount-in { color: var(--green); }
.row-actions { display: flex; align-items: center; gap: 10px; }
.delete-icon { color: var(--coral); }
.delete-icon:hover { border-color: var(--coral); color: #a94e37; }
.icon-button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); background: white; color: var(--ink-soft); font-size: 20px; cursor: pointer; }
.icon-button:hover { border-color: var(--green); color: var(--green); }
.icon-button.is-inactive { color: var(--muted); }
.person-list { margin-top: 5px; }
.people-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border: 0; background: transparent; padding: 20px 0; }
.person-row.is-inactive { opacity: .58; }
.notice { margin: 0 0 16px; padding: 11px 14px; border-left: 3px solid var(--green); background: var(--green-pale); color: var(--green-deep); font-size: 12px; }
.notice.is-error { border-color: var(--coral); background: var(--coral-pale); color: #893c2c; }

.editor-dialog { width: min(440px, calc(100% - 32px)); max-height: min(90vh, 700px); padding: 0; border: 1px solid var(--line); background: white; color: var(--ink); box-shadow: 0 24px 80px rgba(16, 44, 32, .22); }
.editor-dialog::backdrop { background: rgba(18, 38, 31, .48); backdrop-filter: blur(2px); }
.editor-dialog form { display: flex; flex-direction: column; gap: 9px; padding: 24px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.dialog-heading .eyebrow { margin-bottom: 6px; }
.dialog-heading h2 { font-size: 23px; }
.dialog-heading .icon-button { flex: 0 0 auto; }
.dialog-actions { display: flex; justify-content: end; gap: 9px; margin-top: 17px; }
.toggle-row { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; }
.toggle-row input { width: 16px; min-height: 16px; height: 16px; accent-color: var(--green); }
.event-dialog { width: min(520px, calc(100% - 32px)); }
.event-dialog form { max-height: 88vh; overflow-y: auto; }
.delete-note { margin: 0; padding: 11px 12px; border-left: 3px solid var(--coral); background: var(--coral-pale); color: #793b2d; font-size: 11px; line-height: 1.5; }

@keyframes rise-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes draw-line { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .topbar { min-height: 68px; padding: 0 20px; }
  .topnav { height: 68px; gap: 16px; }
  .page-shell { width: min(100% - 36px, 600px); }
  .page-intro { align-items: start; padding-top: 38px; }
  h1 { font-size: 46px; }
  .updated-stamp { margin-top: 24px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .balance-panel { grid-column: 1 / -1; min-height: 166px; }
  .metric-panel { min-height: 155px; padding: 19px; }
  .metric-value { margin-top: 26px; font-size: 27px; }
  .chart-section { margin-top: 18px; padding: 21px 17px 12px; }
  #balance-chart { min-width: 590px; }
  .records-grid { grid-template-columns: 1fr; gap: 27px; }
  .login-shell { grid-template-columns: .8fr 1.2fr; width: calc(100% - 36px); margin: 40px auto 70px; }
  .login-aside { padding: 38px 25px; }
  .login-aside h1 { font-size: 38px; }
  .login-form { padding: 38px 28px; }
  .admin-heading { padding-top: 35px; }
  .admin-columns { gap: 12px; }
  .admin-form { padding: 17px; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 14px; }
  .wordmark { gap: 8px; }
  .wordmark-mark { width: 31px; height: 31px; }
  .wordmark strong { font-size: 12px; }
  .wordmark small { font-size: 8px; letter-spacing: .8px; }
  .topnav { gap: 11px; }
  .nav-link, .text-button { font-size: 11px; }
  .page-shell { width: calc(100% - 30px); }
  .page-intro { display: block; padding: 32px 0 22px; }
  .page-intro h1 { font-size: 43px; }
  .intro-copy { font-size: 13px; }
  .updated-stamp { width: fit-content; margin: 20px 0 0; }
  .balance-panel { min-height: 154px; padding: 19px; }
  .balance-value { margin: 21px 0 17px; font-size: 35px; }
  .metric-grid { gap: 8px; }
  .metric-panel { min-height: 139px; padding: 15px 13px; }
  .metric-label { font-size: 10px; }
  .metric-value { margin: 24px 0 14px; font-size: 24px; }
  .metric-note { font-size: 10px; }
  .chart-section { padding: 18px 13px 10px; }
  h2 { font-size: 21px; }
  .chart-legend { font-size: 10px; }
  .records-grid { margin-top: 27px; }
  .site-footer { flex-direction: column; gap: 6px; padding: 15px; }
  .login-shell { display: block; width: calc(100% - 30px); margin: 24px auto 50px; }
  .login-aside { min-height: 205px; padding: 27px 24px; }
  .login-aside h1 { margin: 24px 0 10px; font-size: 36px; }
  .login-aside > p:last-of-type { max-width: 220px; margin-bottom: 0; font-size: 11px; }
  .login-aside-mark { right: 12px; bottom: -41px; font-size: 140px; }
  .login-form { min-height: 315px; padding: 31px 24px; }
  .admin-heading { display: block; padding: 31px 0 20px; }
  .admin-heading h1 { font-size: 39px; }
  .admin-heading > .intro-copy { margin-top: 12px; }
  .admin-tabs { gap: 0; }
  .tab-button { padding: 0 12px; font-size: 11px; }
  .admin-columns, .people-lists { grid-template-columns: 1fr; }
  .admin-form { padding: 19px; }
  .history-section { margin-top: 20px; padding: 17px 14px; }
  .field-row { gap: 8px; }
  .allocation-row { grid-template-columns: 1fr 100px; }
  .admin-event-row { align-items: start; }
  .admin-event-row .row-actions { flex-direction: column; align-items: end; }
  .event-filters { gap: 2px; }
  .event-filter { padding: 0 8px; font-size: 9px; }
  .people-lists { gap: 22px; padding-right: 0; padding-left: 0; }
  .balance-summary { align-items: start; flex-direction: column; gap: 10px; }
  .account-table { min-width: 620px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}