:root {
  color-scheme: light;
  --canvas: #f8f7f3;
  --paper: #fffefa;
  --ink: #222725;
  --subtle: #545e5b;
  --rule: #d9d9d2;
  --brand: #123e3a;
  --brand-deep: #0b2d29;
  --brand-wash: #e6ede5;
  --brand-tint: #d5e3d5;
  --brand-line: #bfcec2;
  --brand-muted: #4e6459;
  --brand-focus: #28645a;
  --amber: #70491b;
  --red: #883c31;
  --display: 'Avenir Next', 'Trebuchet MS', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-family: 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { opacity: .5; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-focus);
  outline-offset: 2px;
}
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.32rem, 4.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.075em; }
h1:first-letter { text-transform: uppercase; }
h2 { font-size: 1.53rem; letter-spacing: -.042em; line-height: 1.15; }
h3 { font-size: .95rem; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 6px; left: 6px; z-index: 5; padding: 12px; color: var(--ink); background: var(--paper); }
.layout { min-height: 100dvh; }
.sidebar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 0 max(24px, calc((100vw - 1260px) / 2)); min-height: 69px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.brand, .login-brand { display: flex; align-items: center; gap: 9px; font: 700 19px/1.04 var(--display);
  letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand small, .login-brand small { display: block; font: 600 .7em/1.15 var(--display); letter-spacing: .015em; color: var(--subtle); }
.brand-mark { width: 34px; height: 34px; position: relative; flex: 0 0 auto; background: var(--brand); }
.brand-logo { display: block; width: 42px; height: 42px; flex: 0 0 auto; }
.brand-mark i { position: absolute; display: block; background: #f4f3ea; }
.brand-mark i:first-child { width: 11px; height: 8px; top: 7px; left: 7px; }
.brand-mark i:nth-child(2) { width: 19px; height: 7px; top: 17px; left: 7px; }
.brand-mark i:last-child { width: 7px; height: 13px; top: 7px; left: 19px; }
#side-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(2px, .7vw, 13px); }
#side-nav a { position: relative; display: inline-flex; align-items: center; min-height: 68px; padding: 0 6px;
  text-decoration: none; color: var(--subtle); font-size: .88rem; font-weight: 600; white-space: nowrap; }
#side-nav a .icon { display: none; }
#side-nav a:hover { color: var(--brand); }
#side-nav a[aria-current] { color: var(--brand); font-weight: 750; }
#side-nav a[aria-current]::after { position: absolute; content: ''; inset: auto 6px 0; height: 3px; background: var(--brand); }
.menu-toggle { display: none !important; }
.account { display: flex; align-items: center; gap: 9px; }
.avatar { flex: 0 0 33px; height: 33px; border-radius: 50%; background: var(--brand-wash); color: var(--brand);
  font-size: .79rem; font-weight: 750; display: grid; place-items: center; }
.account-name { min-width: 0; flex: 1; max-width: 145px; }
.account-name strong, .account-name small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-name strong { font-size: .84rem; }
.account-name small { font-size: .71rem; color: var(--subtle); }
.account .tool { color: var(--brand); }
main { min-width: 0; }
main:focus, h1:focus { outline: none; }
.topbar { min-height: 61px; width: min(calc(100% - 48px), 1260px); margin-inline: auto; padding: 9px 0;
  display: flex; gap: 14px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.filters { display: flex; margin-left: auto; gap: 12px; align-items: center; }
.property-filter { display: flex; gap: 10px; align-items: center; }
.property-filter > span { font-size: .85rem; color: var(--subtle); }
input, select, textarea { min-width: 0; max-width: 100%; color: var(--ink); border: 1px solid #c8cac3; background: var(--paper);
  border-radius: 6px; padding: 8px 10px; }
select { padding-right: 26px; }
.property-filter select { width: min(217px, 22vw); }
.period-filter { display: flex; align-items: center; border: 1px solid #c8cac3; border-radius: 6px; background: var(--paper); padding: 1px 2px; }
.period-name { border: 0; background: transparent; color: var(--ink); min-height: 36px; min-width: 142px; padding: 2px 4px; font-weight: 600; }
.period-name:first-letter { text-transform: uppercase; }
.period-name:hover { color: var(--brand); background: var(--brand-wash); }
.sample { color: #594729; background: #efe4cb; padding: 4px 8px; border-radius: 3px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.tool { display: inline-grid; place-items: center; min-width: 37px; min-height: 37px; border: 0; border-radius: 5px;
  padding: 5px; color: var(--ink); background: transparent; }
.tool:hover:not(:disabled) { background: var(--brand-wash); color: var(--brand); }
.workspace { padding: 31px 0 50px; width: min(calc(100% - 48px), 1260px); margin: 0 auto; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-head p { margin-top: 7px; color: var(--subtle); }
.page-head p:first-letter { text-transform: uppercase; }
.page-actions, .dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.button { display: inline-flex; min-height: 41px; padding: 8px 13px; font-weight: 650; font-size: .88rem;
  justify-content: center; align-items: center; gap: 6px; text-align: center; border: 1px solid transparent; border-radius: 6px; }
.button, .tool { touch-action: manipulation; }
.button .icon { width: 16px; height: 16px; }
.primary { color: #fffef8; background: var(--brand); }
.primary:hover:not(:disabled) { background: var(--brand-deep); }
.secondary { color: var(--ink); border-color: #c8cac3; background: var(--paper); }
.secondary:hover:not(:disabled), .quiet:hover:not(:disabled) { background: var(--brand-wash); }
.quiet { background: transparent; color: var(--ink); }
.danger { color: var(--red); }
.rent-roll { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.rent-roll > header { padding: 12px 0; }
.roll-columns, .roll-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, .5fr) minmax(102px, .56fr);
  gap: 15px; align-items: center; }
.roll-columns { color: var(--subtle); font-size: .77rem; font-weight: 600; padding: 0 0 6px; }
.roll-columns :last-child { text-align: end; }
.roll-property h3 { border-top: 1px solid var(--rule); background: #eeeee7; padding: 2px 10px;
  display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.roll-property h3 .row-name { min-height: 27px; }
.roll-property h3 .row-name strong { font-size: .8rem; }
.roll-property h3 span { color: var(--subtle); font-size: .75rem; text-align: end; }
.roll-row { min-height: 56px; padding: 6px 0 6px 10px; border-bottom: 1px solid var(--rule); }
.roll-row:last-child { border-bottom: 0; }
.roll-row .row-name { min-height: 40px; }
.roll-row .row-name strong { font-size: .88rem; }
.roll-row .row-name span { font-size: .77rem; }
.roll-no-charge { grid-column: 2 / -1; text-align: end; font-size: .81rem; color: var(--subtle); }
.roll-total { display: grid; justify-items: end; align-content: center; gap: 2px; text-align: end; }
.roll-total strong { color: var(--ink); font: 650 .85rem/1.3 var(--mono); }
.roll-status { font-size: .75rem; line-height: 1.3; color: var(--subtle); }
.roll-status.green { color: #2b5c3b; }
.roll-status.red { color: var(--red); }
.roll-status.amber { color: var(--amber); }
.roll-track progress, .collection progress { appearance: none; display: block; width: 100%; height: 7px; border: 0;
  border-radius: 2px; overflow: hidden; color: var(--brand); accent-color: var(--brand); }
.roll-track progress { background: #e5e4dd; }
.roll-track progress::-webkit-progress-bar { background: #e5e4dd; }
.roll-track progress::-webkit-progress-value { background: var(--brand-focus); }
.roll-track progress::-moz-progress-bar { background: var(--brand-focus); }
.roll-track progress.green::-webkit-progress-value { background: #5d8e66; }
.roll-track progress.green::-moz-progress-bar { background: #5d8e66; }
.roll-track progress.red::-webkit-progress-value { background: #b3694b; }
.roll-track progress.red::-moz-progress-bar { background: #b3694b; }
.opening {
  margin: -8px 0 28px;
}
.opening .page-head { margin-bottom: 19px; }
.opening .page-head h1 { font-size: clamp(2.1rem, 3.5vw, 3.15rem); letter-spacing: -.055em; }
.opening-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); border: 1px solid #d1dcd4; }
.opening-sites { background: var(--brand-wash); padding: 18px 22px 12px; }
.opening-agenda { background: var(--paper); padding: 18px 22px 12px; }
.opening-sites > header, .opening-agenda > header, .month-cash > header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; margin-bottom: 9px;
}
.opening h2, .month-cash h2 { font-size: 1.32rem; }
.site-line {
  display: flex; width: 100%; justify-content: space-between; align-items: center; text-align: start;
  gap: 10px; border: 0; border-top: 1px solid var(--brand-line); background: transparent; color: var(--brand);
  padding: 10px 4px; min-height: 51px;
}
.site-line strong, .site-line small { display: block; overflow-wrap: anywhere; }
.site-line small { font-size: .78rem; color: var(--brand-muted); margin-top: 2px; }
.site-line:hover, .site-line[aria-pressed="true"] { background: var(--brand-tint); }
.site-line[aria-pressed="true"] { box-shadow: inset 3px 0 var(--brand-focus); padding-left: 8px; }
.opening-agenda .due-row { padding-inline: 0; }
.opening-agenda .date-tile { background: var(--brand-wash); color: var(--brand); border-color: var(--brand-line); }
.opening-agenda .empty { padding-inline: 0; }
.month-cash { margin-bottom: 28px; }
.desktop-cash > dl {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--rule);
}
.desktop-cash dl > div { padding: 11px 12px 10px; }
.desktop-cash dl > div + div { border-left: 1px solid var(--rule); }
.desktop-cash dt { font-size: .83rem; color: var(--subtle); }
.desktop-cash dd { display: flex; flex-wrap: wrap; gap: 2px 11px; font: 650 .95rem/1.5 var(--mono); overflow-wrap: anywhere; }
.mobile-metrics { display: none; }

.signin {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  width: min(710px, calc(100% - 28px)); margin: min(17vh, 155px) auto 25px; border: 1px solid var(--rule);
}
.signin-identity { padding: 33px 27px; background: var(--brand-wash); color: var(--brand); }
.signin-identity > div { display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 1.22rem; }
.signin-identity .brand-logo { width: 53px; height: 53px; }
.signin-identity p { color: var(--brand-muted); margin-left: 6px; }
.signin-access { padding: 35px 29px; background: var(--paper); }
.signin-access h1 { font-size: 2.1rem; letter-spacing: -.04em; margin-bottom: 14px; }
.signin-access a { text-decoration: none; }
.region-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.region, .property-sheet { border: 1px solid var(--rule); background: var(--paper); border-radius: 6px; }
.text-link { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; color: var(--brand); font-size: .83rem; font-weight: 700;
  text-decoration: none; }
.text-link:hover, .row-name:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.text-link .icon { width: 15px; height: 15px; }
.region + .region { margin-top: 16px; }
.region-head { padding: 13px 17px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.receipt-file { overflow-wrap: anywhere; display: block; }
.region-note { color: var(--subtle); padding: 12px 17px; }
.due-row, .record-row, .unit-row, .activity-row { display: grid; gap: 11px; align-items: center; border-bottom: 1px solid var(--rule); }
.due-row:last-child, .record-row:last-child, .unit-row:last-child, .activity-row:last-child { border-bottom: 0; }
.due-row { grid-template-columns: 42px 1fr auto; padding: 10px 15px; }
.date-tile { border-left: 2px solid var(--brand-line); text-align: center; color: var(--brand); background: var(--brand-wash);
  padding: 4px 2px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.date-tile strong { display: block; font-size: 1.1rem; }
.date-tile span { font-size: .72rem; text-transform: uppercase; }
.row-name { color: var(--ink); text-align: left; display: block; min-height: 38px; width: fit-content; max-width: 100%;
  border: 0; padding: 0; background: transparent; overflow-wrap: anywhere; }
.row-name strong { display: block; font-size: .94rem; }
.row-name span, .align-end small, .activity-row small { display: block; color: var(--subtle); font-size: .81rem; margin-top: 1px; overflow-wrap: anywhere; }
.row-name.read:hover strong { text-decoration: none; }
.due-amount { text-align: right; display: grid; justify-items: end; gap: 3px; font-size: .92rem; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; border-radius: 4px; padding: 2px 6px; font-size: .74rem; line-height: 1.35; font-weight: 650; }
.chip.gray { background: #eef0e9; color: #414f47; }
.chip.green { background: #e3efda; color: #355334; }
.chip.amber { background: #f7edd5; color: var(--amber); }
.chip.red { background: #f8e6e0; color: var(--red); }
.house-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--brand-wash); color: var(--brand); border-radius: 6px; }
.empty { padding: 13px 17px; color: var(--subtle); }
.property-sections { display: grid; gap: 14px; }
.property-sheet header { padding: 13px 17px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--rule); }
.property-sheet header > div:first-of-type { flex: 1 1 150px; min-width: 0; }
.property-sheet header { flex-wrap: wrap; }
.property-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: flex-end; }
.property-actions .quiet { min-height: 32px; padding: 4px 8px; }
@media (max-width: 510px) {
  .property-sheet header .property-actions { flex-basis: 100%; justify-content: flex-start; }
}
.unit-row { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 17px; }
.record-row { grid-template-columns: minmax(0, 1.8fr) minmax(0, .95fr) minmax(0, 1fr); padding: 9px 17px; min-height: 59px; }
.row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; color: var(--subtle); font-size: .83rem; }
.align-end { text-align: end; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ledger-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ledger-filters select { font-size: .84rem; max-width: 210px; }
.activity-row { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 17px; overflow-wrap: anywhere; }
.activity-row time { font-size: .81rem; color: var(--subtle); text-align: end; }
.report-scroll { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report-table th, .report-table td { border-top: 1px solid var(--rule); padding: 9px 17px; text-align: right; }
.report-table th:first-child { text-align: left; }
.report-table tbody th { font-weight: 500; }
dialog { width: min(650px, calc(100% - 24px)); max-height: min(90dvh, 850px); padding: 0; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 8px; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(10 28 24 / .56); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 17px;
  border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 1; background: var(--paper); }
.dialog-head h2 { overflow-wrap: anywhere; }
.dialog-body { padding: 15px 17px; }
.dialog-body .empty { padding-inline: 0; }
.fields, .details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 13px; }
.field { display: grid; align-content: start; gap: 4px; font-size: .87rem; min-width: 0; }
.field small, .form-error { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; min-height: 39px; }
.field textarea { resize: vertical; }
.field.wide { grid-column: 1 / -1; }
.dialog-actions { justify-content: end; margin-top: 12px; }
.form-error:empty { display: none; }
.form-error { margin: 9px 0; font-size: .9rem; }
.details { padding-bottom: 11px; }
.details div { min-width: 0; }
.details dt, .muted { color: var(--subtle); font-size: .86rem; }
.details dd { overflow-wrap: anywhere; }
.details-actions { justify-content: start; margin: 12px 0; }
.notes { white-space: pre-wrap; overflow-wrap: anywhere; margin: 9px 0; padding: 9px 11px; border-left: 3px solid var(--brand-line); background: var(--brand-wash); }
.document-section { border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 10px; }
.document-section ul { padding-left: 20px; overflow-wrap: anywhere; }
.document-section form { margin-top: 8px; }
.document-section button { margin-top: 6px; }
#notice { position: fixed; z-index: 6; bottom: 18px; right: 18px; padding: 10px 15px; color: #fffef8; background: var(--brand-deep);
  border-radius: 6px; max-width: calc(100% - 36px); pointer-events: none; opacity: 0; }
#notice.visible { opacity: 1; }
.loading { padding: 25px; }
.login { margin: 11dvh auto 0; width: min(95%, 445px); padding: 0 12px 24px; }
.login-brand { font-size: 1.7rem; margin: 0 0 20px; flex-wrap: wrap; }
.login-brand .brand-mark { background: var(--brand); }
.login-brand p { width: 100%; font: 1rem/1.5 system-ui, sans-serif; color: var(--subtle); letter-spacing: 0; }
.login-panel { padding: 22px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.login-panel h1 { font-size: 2rem; }
.auth-form { display: grid; gap: 11px; margin: 13px 0 8px; }
.sample-credentials { margin-top: 8px; color: var(--subtle); font-size: .86rem; overflow-wrap: anywhere; }

@media (max-width: 1160px) {
  .sidebar { grid-template-columns: 1fr auto; gap: 0 14px; padding-top: 11px; }
  #side-nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; gap: 8px 16px; }
  #side-nav a { min-height: 45px; }
  .account { grid-column: 2; grid-row: 1; justify-self: end; }
}
@media (max-width: 730px) {
  .sidebar { display: flex; flex-direction: column; align-items: stretch; padding: 8px 14px; min-height: 0; }
  .side-head { display: flex; justify-content: space-between; align-items: center; }
  .brand { font-size: 1.1rem; }
  .brand-logo { width: 35px; height: 35px; }
  .brand-mark { width: 32px; height: 33px; }
  .menu-toggle { display: inline-grid !important; color: var(--brand); }
  #side-nav { display: none; margin-top: 7px; }
  #side-nav.opened { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 6px; }
  #side-nav a .icon { display: block; width: 16px; height: 16px; margin-right: 6px; }
  #side-nav a[aria-current]::after { inset: 9px auto 9px 0; width: 2px; height: auto; }
  .account { display: none; }
  .sidebar:has(#side-nav.opened) .account { display: flex; margin: 6px 0 2px; padding-top: 6px; border-top: 1px solid var(--rule); }
  .topbar, .workspace { width: calc(100% - 28px); }
  .topbar { flex-wrap: wrap; min-height: 0; gap: 5px; }
  .filters { flex-wrap: wrap; justify-content: space-between; width: 100%; gap: 5px; }
  .property-filter { flex: 1 1 121px; }
  .property-filter span { display: none; }
  .property-filter select { width: 100%; font-size: .84rem; }
  .period-name { min-width: 112px; font-size: .8rem; padding-inline: 0; }
  .period-filter .tool { min-width: 25px; padding-inline: 2px; }
  .reload { min-width: 28px; }
  .workspace { padding-top: 19px; }
  .page-head { display: block; margin-bottom: 18px; }
  .page-actions { justify-content: start; margin-top: 10px; }
  .button, .tool { min-height: 40px; }
  .opening-grid, .signin { grid-template-columns: minmax(0, 1fr); }
  .opening-sites, .opening-agenda { padding: 13px 14px; }
  .signin { margin-top: 23px; }
  .signin-identity, .signin-access { padding: 22px; }
  .mobile-metrics { display: block; margin-bottom: 20px; }
  .desktop-cash { display: none; }
  .roll-columns, .roll-row { gap: 7px; grid-template-columns: minmax(0, 1fr) minmax(46px, .33fr) minmax(75px, .54fr); }
  .rent-roll > header { padding: 8px 0; }
  .roll-columns { font-size: .67rem; }
  .roll-row { min-height: 50px; padding-inline: 3px 0; }
  .roll-property h3 { padding-inline: 3px; }
  .roll-total strong { font-size: .73rem; }
  .roll-status { font-size: .69rem; }
}
@media (max-width: 510px) {
  .due-row { padding-inline: 9px; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 7px; }
  .due-amount strong { font-size: .85rem; }
  .record-row { grid-template-columns: minmax(0, 1fr) max-content; gap: 4px 8px; padding-inline: 12px; }
  .record-row .row-meta { grid-row: 2; }
  .record-row .align-end { grid-column: 2; grid-row: 1 / span 2; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .activity-row { padding-inline: 12px; }
  .report-table td, .report-table th { padding-inline: 8px; }
}

/* Informes */
.report-charts { display: grid; gap: 18px; margin-bottom: 22px; }
.report-finance { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; }
.report-charts h2 { font-size: 1.3rem; }
.cash-panel, .rent-panel, .inventory-panel { min-width: 0; padding: clamp(16px, 3vw, 30px); border-radius: 10px; }
.cash-panel { background: var(--brand-deep); color: var(--paper); }
.net-label { margin-top: 18px; color: #d2e0d6; font-size: .9rem; }
.net-amount, .inventory-total strong { display: block; font: 600 clamp(1.9rem, 4vw, 3.3rem)/1.15 var(--display); letter-spacing: -.052em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cash-legend { display: flex; flex-wrap: wrap; gap: 17px; font-size: .85rem; margin-top: 14px; }
.cash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cash-legend i { background: #d3ecd0; width: 11px; height: 11px; border-radius: 2px; }
.cash-legend span + span i { background: #84aa99; }
.cash-in { fill: #d3ecd0; }
.cash-out { fill: #84aa99; }
.cash-scale { font: .78rem var(--mono); color: #d2e0d6; margin: 18px 0 4px; }
.cash-bars { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-top: 1px solid #57766b; }
.cash-column { min-width: 0; text-align: center; }
.cash-column svg { display: block; width: 100%; height: clamp(85px, 13vw, 142px); border-bottom: 1px solid #92aa9e; }
.cash-column span { display: block; padding-top: 5px; color: #d2e0d6; font-size: .81rem; text-transform: capitalize; }
.cash-column:last-child span { color: white; font-weight: 700; }
.cash-values { margin-top: 10px; font-size: .85rem; }
.cash-values summary, .report-detail summary { cursor: pointer; padding-block: 9px; }
.cash-values .report-scroll { background: var(--paper); color: var(--ink); margin-top: 6px; }
.chart-empty { margin: 26px 0 4px; border-top: 1px solid #678579; padding-top: 12px; color: #d2e0d6; }
.rent-panel, .inventory-panel { background: var(--paper); border: 1px solid var(--brand-line); }
.rent-ring { display: grid; place-items: center; width: min(100%, 182px); aspect-ratio: 1; margin: 16px auto; }
.rent-ring > * { grid-area: 1/1; }
.rent-ring svg { width: 100%; }
.rent-ring circle { fill: none; stroke-width: 10; }
.ring-base { stroke: var(--brand-tint); }
.ring-value { stroke: var(--brand); }
.rent-ring div { text-align: center; color: var(--brand); }
.rent-ring strong { display: block; font-size: clamp(1.6rem,3vw,2.25rem); line-height: 1.1; letter-spacing: -.045em; }
.rent-ring span, .inventory-panel header span, .inventory-total span { font-size: .85rem; color: var(--subtle); }
.rent-legend > div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px 12px; flex-wrap: wrap; padding: 5px 0; border-top: 1px solid var(--rule); }
.rent-legend dt { display: flex; align-items: center; gap: 7px; }
.rent-legend dt::before { content: ''; width: 9px; height: 9px; background: var(--brand); border-radius: 50%; }
.rent-legend div + div dt::before { background: var(--brand-tint); border: 1px solid var(--brand-muted); }
.rent-legend dd { font: 600 1rem var(--mono); overflow-wrap: anywhere; }
.inventory-panel header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.inventory-body { margin-top: 15px; display: grid; grid-template-columns: minmax(85px, .3fr) minmax(0,1fr); gap: 16px; }
.inventory-total strong, .inventory-row b { color: var(--brand); }
.inventory-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; margin-bottom: 9px; overflow-wrap: anywhere; }
.inventory-row meter { grid-column: 1/-1; appearance: none; width: 100%; height: 7px; border: 0; border-radius: 3px; background: var(--brand-wash); overflow: hidden; }
.inventory-row meter::-webkit-meter-bar { background: var(--brand-wash); border: 0; height: 7px; border-radius: 3px; }
.inventory-row meter::-webkit-meter-optimum-value { background: var(--brand-focus); }
.inventory-row meter::-moz-meter-bar { background: var(--brand-focus); }
.report-currencies { display: inline-flex; align-self: center; border: 1px solid var(--brand-line); border-radius: 6px; overflow: hidden; }
.report-currencies button { background: var(--paper); color: var(--brand); border: 0; min-height: 38px; padding: 4px 12px; font-weight: 650; }
.report-currencies button[aria-pressed="true"] { background: var(--brand); color: white; }
.report-currencies button:focus-visible { outline-offset: -4px; outline-color: currentColor; }
.report-detail { border-top: 1px solid var(--rule); }
.report-detail summary { min-height: 44px; font-weight: 650; color: var(--brand); }
@media (max-width: 730px) {
  .report-finance { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .report-charts { gap: 12px; }
  .rent-panel { display: grid; grid-template-columns: minmax(85px,.65fr) minmax(0,1fr); align-items: center; gap: 12px; }
  .rent-panel h2 { grid-column: 1/-1; }
  .rent-ring { width: min(100%,135px); margin: 0 auto; }
  .rent-ring strong { font-size: 1.4rem; }
  .inventory-body { grid-template-columns: 66px minmax(0,1fr); }
}

.family-access { display: flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; text-decoration: none; }
.family-access:hover small, .family-access[aria-current] small { text-decoration: underline; color: var(--brand); }
.section-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: -8px 0 18px; }
.section-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--subtle); font-weight: 600; text-decoration: none; }
.section-links a:hover, .section-links a[aria-current] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
.rental-property { min-width: 0; margin-bottom: 16px; }
.rental-property-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; border-top: 2px solid var(--brand); padding: 9px 0; }
.rental-property-heading h2 .row-name strong { font: 650 1.45rem/1.2 var(--display); color: var(--brand); }
.rental-property-heading h2 .row-name span { font-weight: 400; letter-spacing: 0; }
.rental-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); gap: 12px; }
.rental-card { align-self: start; min-width: 0; padding: 9px 16px 16px; border: 1px solid var(--brand-line); border-radius: 6px; background: var(--paper); }
.unit-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.unit-heading h3 { min-width: 0; }
.unit-heading .row-name, .unit-heading .quiet { min-height: 44px; }
.unit-heading .row-name strong { font: 650 1.1rem/1.2 var(--display); color: var(--brand); }
.unit-heading .quiet { padding: 3px 6px; font-size: .8rem; color: var(--subtle); }
.unit-tenant { font-weight: 630; line-height: 1.35; overflow-wrap: anywhere; }
.lease-timing { color: var(--subtle); font-size: .82rem; }
.unit-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 9px; }
.unit-amounts dt, .card-services h3 { font: 500 .82rem/1.4 var(--display); color: var(--subtle); }
.unit-amounts dd { font: 650 clamp(.99rem, 2vw, 1.16rem)/1.4 var(--display); color: var(--brand-deep); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.unit-lease + .unit-lease { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 12px; }
.card-services { min-width: 0; margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 8px; }
.rental-property > .card-services { margin: 0 0 12px; padding: 9px 14px; border: 0; border-radius: 4px; background: var(--brand-wash); }
.service-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: start; width: 100%; min-height: 44px; border: 0; background: transparent; padding: 4px 0; font-size: .86rem; color: var(--brand); overflow-wrap: anywhere; }
.service-link:hover span:first-child { text-decoration: underline; }
.service-number { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.service-number .icon { width: 14px; height: 14px; }
@media (min-width: 900px) and (max-width: 1160px) {
  .sidebar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 15px; padding-top: 0; }
  #side-nav, .account { grid-column: auto; grid-row: auto; }
  #side-nav { justify-content: center; }
}
.service-choices { grid-column: 1/-1; margin: 0; min-width: 0; border: 1px solid var(--rule); border-radius: 4px; padding: 6px 12px 10px; }
.service-choices legend { font-size: .88rem; font-weight: 650; }
.service-choices > div { display: flex; flex-wrap: wrap; gap: 0 16px; }
.service-choices p { width: 100%; color: var(--subtle); font-size: .83rem; }
.service-choices label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; }
.service-choices input { width: 1.05rem; height: 1.05rem; min-height: 0; padding: 0; accent-color: var(--brand); }
