/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-success: var(--success);
    --font-display: var(--font-display);
    --font-sans: var(--font-sans);
    --font-mono: var(--font-mono);
    --spacing-control: 8px;
    --control-height: 36px;
    --card-inset: 14px;
    --spacing-row: 20px;
    --spacing-section: 56px;
    --spacing-tabs: 28px;
    --radius-full: 50%;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .shrink {
    flex-shrink: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .bg-success\/40 {
    background-color: var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-success) 40%, transparent);
    }
  }
  .text-wrap {
    text-wrap: wrap;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .underline {
    text-decoration-line: underline;
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --primary: #b99b57;
  --bg: #0b0b0c;
  --fg: #eae7e1;
  --on-primary: var(--bg);
  --surface: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --surface: color-mix(in srgb, var(--fg) 4%, var(--bg));
  }
  --surface2: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --surface2: color-mix(in srgb, var(--fg) 8%, var(--bg));
  }
  --faint: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --faint: color-mix(in srgb, var(--fg) 5%, var(--bg));
  }
  --hairline: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --hairline: color-mix(in srgb, var(--fg) 12%, var(--bg));
  }
  --border: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --border: color-mix(in srgb, var(--fg) 22%, var(--bg));
  }
  --muted: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --muted: color-mix(in srgb, var(--fg) 52%, var(--bg));
  }
  --secondary: var(--fg);
  @supports (color: color-mix(in lab, red, red)) {
    --secondary: color-mix(in srgb, var(--fg) 76%, var(--bg));
  }
  --success: #4f9e6a;
  --info: #4a8fbf;
  --warning: #c9922e;
  --danger: #c4523a;
  --ink-leased: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    --ink-leased: color-mix(in srgb, var(--success) 78%, var(--bg));
  }
  --ink-vacant: var(--warning);
  @supports (color: color-mix(in lab, red, red)) {
    --ink-vacant: color-mix(in srgb, var(--warning) 42%, var(--bg));
  }
  --font-display: Fraunces, Georgia, serif;
  --font-sans: "Public Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --topbar-height: 61px;
  --app-zoom: 1.1;
  --success-tint: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    --success-tint: color-mix(in srgb, var(--success) 14%, var(--bg));
  }
  --success-edge: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    --success-edge: color-mix(in srgb, var(--success) 45%, var(--bg));
  }
  --success-text: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    --success-text: color-mix(in srgb, var(--success) 78%, var(--fg));
  }
  --info-tint: var(--info);
  @supports (color: color-mix(in lab, red, red)) {
    --info-tint: color-mix(in srgb, var(--info) 14%, var(--bg));
  }
  --info-edge: var(--info);
  @supports (color: color-mix(in lab, red, red)) {
    --info-edge: color-mix(in srgb, var(--info) 45%, var(--bg));
  }
  --info-text: var(--info);
  @supports (color: color-mix(in lab, red, red)) {
    --info-text: color-mix(in srgb, var(--info) 78%, var(--fg));
  }
  --warning-tint: var(--warning);
  @supports (color: color-mix(in lab, red, red)) {
    --warning-tint: color-mix(in srgb, var(--warning) 14%, var(--bg));
  }
  --warning-edge: var(--warning);
  @supports (color: color-mix(in lab, red, red)) {
    --warning-edge: color-mix(in srgb, var(--warning) 45%, var(--bg));
  }
  --warning-text: var(--warning);
  @supports (color: color-mix(in lab, red, red)) {
    --warning-text: color-mix(in srgb, var(--warning) 78%, var(--fg));
  }
  --danger-tint: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    --danger-tint: color-mix(in srgb, var(--danger) 14%, var(--bg));
  }
  --danger-edge: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    --danger-edge: color-mix(in srgb, var(--danger) 45%, var(--bg));
  }
  --danger-text: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    --danger-text: color-mix(in srgb, var(--danger) 78%, var(--fg));
  }
  --sheet-paid: var(--ink-leased);
  --sheet-overdue: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    --sheet-overdue: color-mix(in srgb, var(--danger) 55%, var(--bg));
  }
}
@layer components {
  .nav-item, .sub-nav__item, .tab, .btn, .brand, .segmented__option, .actions__item, .breadcrumb a, .pager a, .sheet__label a, .bands__label a, .cell, .band, .table thead a, .card__lead {
    color: inherit;
    text-decoration: none;
  }
  .sheet__label a, .bands__label a, .table td a:hover {
    text-decoration: none;
  }
  .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--border);
    flex: none;
  }
  .eyebrow a {
    color: inherit;
    text-decoration: none;
  }
  .eyebrow a:hover {
    color: var(--primary);
  }
  .page-header__title {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin-top: 14px;
  }
  .page-header__name {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
  }
  .page-header__title h1 {
    margin: 0;
  }
  .page-header__meta {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
  }
  .page-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .row-action {
    display: inline-flex;
    margin: 0;
  }
  .row-action button {
    padding: 5px 10px;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
  }
  tr:hover .row-action button {
    color: var(--fg);
    border-color: var(--border);
  }
  .row-action--primary button {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
  }
  .row-action--primary button:hover {
    background: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--fg) 12%, var(--primary));
    }
    border-color: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--fg) 12%, var(--primary));
    }
  }
  .panel__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 12px;
  }
  .panel__action {
    margin-left: auto;
  }
  .panel .kv dd {
    font-size: 13px;
    text-align: left;
  }
  .panel .kv__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13.5px;
  }
  .table thead th {
    background: var(--surface);
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hairline);
  }
  .table tbody td {
    padding: 12px;
    color: var(--secondary);
    border-bottom: 1px solid var(--faint);
  }
  .table tbody tr:hover td {
    background: var(--surface);
  }
  .table .row-fold {
    display: none;
  }
  .numeral {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
  }
  .table .numeral {
    font-size: 12.5px;
    font-weight: 500;
  }
  .table th.is-figures {
    text-align: right;
  }
  .table td.numeral, .table td .numeral {
    white-space: nowrap;
  }
  .table tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .table tbody td:has(.badge), .table tbody td:has(.actions), .table tbody td:has(.row-action), .table tbody td:has(form) {
    overflow: visible;
    text-overflow: clip;
  }
  .table tbody td a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
  .table__empty {
    padding: var(--spacing-row) 12px;
    color: var(--muted);
  }
  .table tbody tr.is-overdue td:first-child {
    box-shadow: inset 2px 0 0 var(--danger);
  }
  .table tbody tr.is-attention td:first-child {
    box-shadow: inset 2px 0 0 var(--warning);
  }
  .table tbody tr.is-archived td {
    opacity: 0.5;
  }
  .phone {
    font-size: 12.5px;
    color: var(--secondary);
    white-space: nowrap;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid;
    white-space: nowrap;
  }
  .badge--success {
    background: var(--success-tint);
    border-color: var(--success-edge);
    color: var(--success-text);
  }
  .badge--info {
    background: var(--info-tint);
    border-color: var(--info-edge);
    color: var(--info-text);
  }
  .badge--warning {
    background: var(--warning-tint);
    border-color: var(--warning-edge);
    color: var(--warning-text);
  }
  .badge--danger {
    background: var(--danger-tint);
    border-color: var(--danger-edge);
    color: var(--danger-text);
  }
  .badge--outline {
    background: transparent;
    border-color: var(--border);
    color: var(--muted);
  }
  .badge--history {
    border-style: dashed;
    border-color: var(--border);
    color: var(--muted);
  }
  .status-dot {
    width: 6px;
    height: 6px;
    flex: none;
  }
  .status-dot--success {
    background: var(--success);
  }
  .status-dot--info {
    background: var(--info);
  }
  .status-dot--warning {
    background: var(--warning);
  }
  .status-dot--danger {
    background: var(--danger);
  }
  .metric {
    display: block;
  }
  .metric__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .metric__figure {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 300;
    color: var(--fg);
    line-height: 1;
    margin-top: 12px;
    font-variant-numeric: tabular-nums;
  }
  .metric__note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
  }
  .metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }
  .metric-row > .metric {
    flex: 1 1 170px;
    padding: 18px 22px;
    border-right: 1px solid var(--hairline);
  }
  .metric-row > .metric:first-child {
    padding-left: 0;
  }
  .metric-row > .metric:last-child {
    border-right: none;
    padding-right: 0;
  }
  .alert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 18px;
  }
  .alert + .page-header, .alert + .breadcrumb {
    margin-top: 28px;
  }
  .alert__label {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .alert__body {
    flex: 1 1 240px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--secondary);
  }
  .alert__figure {
    font-size: 14px;
    font-weight: 500;
    color: var(--fg);
  }
  .alert__actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .alert--danger {
    border-left: 2px solid var(--danger);
    background: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--danger) 8%, var(--bg));
    }
  }
  .alert--danger .alert__label {
    color: var(--danger);
  }
  .alert--warning {
    border-left: 2px solid var(--warning);
    background: var(--warning);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--warning) 8%, var(--bg));
    }
  }
  .alert--warning .alert__label {
    color: var(--warning);
  }
  .alert--info {
    border-left: 2px solid var(--info);
    background: var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--info) 8%, var(--bg));
    }
  }
  .alert--info .alert__label {
    color: var(--info);
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--secondary);
    cursor: pointer;
  }
  .btn:hover {
    color: var(--fg);
    border-color: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--fg) 40%, var(--bg));
    }
  }
  .btn--primary {
    font-weight: 600;
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
  }
  .btn--primary:hover {
    background: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--fg) 12%, var(--primary));
    }
    border-color: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--fg) 12%, var(--primary));
    }
  }
  .btn--quiet {
    border-color: transparent;
    color: var(--muted);
  }
  .btn--quiet:hover {
    color: var(--fg);
    background: var(--surface);
  }
  .btn--danger {
    border-color: var(--danger-edge);
    color: var(--danger-text);
  }
  .field {
    display: grid;
    gap: 6px;
    margin-bottom: var(--spacing-row);
  }
  .field__label {
    font-size: 12px;
    color: var(--muted);
  }
  .field input, .field select, .field textarea, .composer__select {
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 13.5px;
    padding: var(--spacing-control) 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .field input:not([type="checkbox"]):not([type="radio"]), .field select, .composer__select {
    height: var(--control-height);
    line-height: normal;
  }
  .field input:focus, .field select:focus, .field textarea:focus, .composer__select:focus {
    outline: 2px solid var(--primary);
    outline-offset: -1px;
  }
  .field input[type="date"], input[type="date"].composer__select {
    appearance: none;
    -webkit-appearance: none;
  }
  .field__hint {
    font-size: 11.5px;
    color: var(--muted);
  }
  .field__error {
    font-size: 11.5px;
    color: var(--danger-text);
  }
  .shell {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: calc(100vh / var(--app-zoom));
  }
  .topbar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--topbar-height);
    box-sizing: border-box;
    padding: 14px 22px;
    border-bottom: 1px solid var(--hairline);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .brand {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 19px;
    letter-spacing: 0.02em;
    color: var(--fg);
  }
  .brand__name {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand__logo {
    display: block;
    height: 32px;
    width: auto;
    max-width: 240px;
  }
  .topbar__search {
    position: relative;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .topbar__search::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 11px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    background: var(--muted);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
  }
  .topbar__search input {
    width: 300px;
    max-width: 100%;
    box-sizing: border-box;
    height: var(--control-height);
    padding: 8px 12px 8px 34px;
    font-size: 13px;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--hairline);
  }
  .topbar__search input::placeholder {
    color: var(--muted);
  }
  .sidebar {
    border-right: 1px solid var(--hairline);
    padding: 18px 0 24px;
    background: var(--bg);
    position: sticky;
    top: var(--topbar-height);
    align-self: start;
    height: calc(100vh / var(--app-zoom) - var(--topbar-height));
    overflow-y: auto;
  }
  .sidebar__group + .sidebar__group {
    margin-top: 0;
  }
  .sidebar__heading {
    padding: 20px 18px 6px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav-item {
    display: block;
    padding: 9px 18px;
    color: var(--muted);
    font-size: 14px;
    border-left: 2px solid transparent;
  }
  .nav-item:hover {
    background: var(--surface);
    color: var(--fg);
  }
  .nav-item[aria-current="page"] {
    background: var(--surface2);
    color: var(--fg);
    font-weight: 500;
    border-left-color: var(--primary);
  }
  .nav-item--child {
    padding-left: 30px;
    font-size: 13px;
  }
  .shell--full {
    grid-template-columns: minmax(0, 1fr);
  }
  .topbar__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
  .topbar-nav-item {
    position: relative;
  }
  .topbar-nav-item__link {
    display: block;
    padding: 8px 12px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
  }
  .topbar-nav-item__link:hover {
    color: var(--fg);
  }
  .topbar-nav-item__link[aria-current="page"] {
    color: var(--fg);
    font-weight: 500;
  }
  .topbar-nav-item__children {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    padding: 6px 0;
    background: var(--bg);
    border: 1px solid var(--hairline);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 3;
  }
  .topbar-nav-item.has-children:hover .topbar-nav-item__children, .topbar-nav-item.has-children:focus-within .topbar-nav-item__children {
    display: block;
  }
  .topbar-nav-item__child {
    display: block;
    padding: 8px 14px;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
  }
  .topbar-nav-item__child:hover {
    background: var(--surface);
    color: var(--fg);
  }
  .topbar-nav-item__child[aria-current="page"] {
    color: var(--fg);
    font-weight: 500;
  }
  .content {
    padding: 32px 34px 44px;
    min-width: 0;
  }
  .empty {
    padding: var(--spacing-section) var(--card-inset);
    text-align: center;
    color: var(--muted);
    border: 1px solid var(--hairline);
  }
  .section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    min-height: var(--control-height);
    border-bottom: 1px solid var(--hairline);
  }
  .section-head__lead {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 11px;
  }
  .section-head h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
  }
  .section-head--compact h2 {
    font-size: 20px;
  }
  .section-head__meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
  }
  .section-head__controls {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-left: auto;
  }
  .section {
    margin-top: 44px;
  }
  .section__body {
    padding-top: var(--spacing-row);
  }
  .section-head .segmented {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .section-head .segmented__option {
    line-height: 1.2;
    margin-bottom: 0;
  }
  .legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 11.5px;
    color: var(--muted);
  }
  .legend__item {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .swatch {
    width: 10px;
    height: 10px;
    flex: none;
  }
  .swatch--leased {
    background-color: var(--ink-leased);
  }
  .swatch--paid {
    background-color: var(--sheet-paid);
  }
  .swatch--overdue {
    background-color: var(--sheet-overdue);
  }
  .swatch--scheduled {
    border: 1px dashed var(--border);
  }
  .swatch--none {
    border: 1px solid var(--faint);
  }
  .swatch--current {
    box-shadow: inset 0 -2px 0 var(--primary);
  }
  .swatch--vacant {
    background-color: var(--ink-vacant);
  }
  .pager {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
  }
  .pager__end {
    opacity: 0.35;
  }
  .segmented {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid var(--hairline);
    overflow-x: auto;
    padding-bottom: 1px;
  }
  .segmented__option {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding-bottom: 11px;
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
  }
  .segmented__option:hover {
    color: var(--secondary);
  }
  .segmented__option[aria-current="true"] {
    color: var(--fg);
    font-weight: 500;
    border-bottom-color: var(--primary);
  }
  .segmented__count {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--secondary);
  }
  .card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .card-surface {
    border: 1px solid var(--hairline);
    padding: var(--card-inset);
  }
  .calendar {
    padding-top: calc(var(--card-inset) + 1px);
    margin-bottom: var(--spacing-row);
  }
  .calendar__headings, .calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
  }
  .calendar__heading {
    padding: 0 0 7px;
    text-align: center;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .calendar__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 46px;
    padding: 7px 0;
    border: 1px solid var(--faint);
    color: var(--secondary);
    text-decoration: none;
  }
  .calendar__date {
    font-size: 13px;
    line-height: 1;
  }
  a.calendar__day:hover {
    border-color: var(--border);
    color: var(--fg);
  }
  .calendar__day.is-past {
    color: var(--muted);
    border-color: var(--hairline);
    opacity: 0.55;
  }
  .calendar__day.is-quiet {
    cursor: default;
  }
  .calendar__day.is-today {
    color: var(--fg);
    box-shadow: inset 0 -2px 0 var(--primary);
  }
  .calendar__day.is-current {
    background: var(--surface2);
    border-color: var(--border);
    color: var(--fg);
  }
  .calendar__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
  }
  .calendar__day.is-current .calendar__dot, .calendar__day.is-today .calendar__dot {
    background: var(--primary);
  }
  .calendar__clear {
    display: inline-block;
    margin-top: 9px;
    font-size: 12px;
    color: var(--muted);
  }
  .calendar__clear:hover {
    color: var(--fg);
  }
  @media (max-width: 720px) {
    .calendar__day {
      min-height: 38px;
      padding: 5px 0;
    }
    .calendar__date {
      font-size: 12px;
    }
  }
  .card {
    flex: 1 1 300px;
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 13px 24px;
    border-right: 1px solid var(--hairline);
  }
  .card:first-child {
    padding-left: 0;
  }
  .card:last-child {
    border-right: none;
    padding-right: 0;
  }
  .record-body__main .card-row {
    display: block;
  }
  .record-body__main .card {
    padding: 13px 0;
    border-right: none;
    border-bottom: 1px solid var(--faint);
  }
  .record-body__main .card:last-child {
    border-bottom: none;
  }
  .card__lead {
    flex: 0 0 54px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
  }
  .card__lead--soon {
    color: var(--info);
  }
  .card__body {
    flex: 1 1 auto;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--fg);
  }
  .card__note {
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
  }
  .sheet {
    margin-top: 14px;
  }
  .sheet__scroll {
    overflow-x: auto;
  }
  .sheet__row {
    display: grid;
    align-items: center;
    border-top: 1px solid var(--faint);
    width: max-content;
    min-width: 100%;
  }
  .sheet__head {
    border-top: none;
    border-bottom: 1px solid var(--border);
  }
  .sheet__label {
    padding: 5px 12px 5px 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sheet__head .sheet__label, .sheet__totals .sheet__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .sheet__head .sheet__label {
    padding: 10px 12px 10px 0;
  }
  .sheet__totals {
    border-top: 1px solid var(--border);
  }
  .sheet__totals .sheet__label {
    padding: 12px 12px 12px 0;
  }
  .sheet__period {
    padding: 10px 3px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--muted);
  }
  .sheet__period.is-current {
    color: var(--fg);
  }
  .sheet__cell {
    padding: 5px 2px;
    min-width: 44px;
  }
  .cell {
    display: flex;
    height: 26px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--on-primary);
  }
  .cell--paid {
    background-color: var(--sheet-paid);
  }
  .cell--overdue {
    background-color: var(--sheet-overdue);
  }
  .cell--scheduled {
    border: 1px dashed var(--border);
    color: var(--muted);
  }
  .cell--none {
    border: 1px solid var(--faint);
  }
  .cell--blank {
    border: 0;
    background: none;
  }
  .cell.is-current {
    box-shadow: inset 0 -2px 0 var(--primary);
  }
  a.cell:hover {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
  }
  .sheet__trailing {
    padding: 5px 0;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--fg);
    text-align: right;
  }
  .sheet__trailing-title {
    padding: 10px 0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: right;
    color: var(--muted);
  }
  .sheet__total {
    padding: 12px 3px;
    font-size: 10.5px;
    font-weight: 500;
    text-align: center;
    color: var(--muted);
  }
  .sheet__totals .sheet__trailing {
    padding: 12px 0;
  }
  .bands {
    margin-top: 16px;
  }
  .bands--phone {
    display: none;
  }
  .bands__scroll {
    overflow-x: auto;
    direction: rtl;
  }
  .bands__scroll > * {
    direction: ltr;
  }
  .bands__row {
    display: grid;
    grid-template-columns: 200px 1fr 152px;
    align-items: center;
    border-top: 1px solid var(--faint);
    width: max-content;
    min-width: 100%;
  }
  .bands__head {
    border-top: none;
  }
  .bands__ticks, .chart__ticks {
    display: flex;
    gap: 1px;
  }
  .bands__ticks {
    padding-bottom: 9px;
  }
  .bands__ticks > span, .chart__ticks > span {
    flex: 1 1 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--secondary);
  }
  .bands__label {
    position: sticky;
    left: 0;
    z-index: 1;
    padding: 9px 14px 9px 0;
    background: var(--bg);
    font-size: 13px;
    line-height: 1.35;
    color: var(--fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bands__band {
    display: flex;
    gap: 1px;
    padding: 7px 0;
  }
  .band {
    display: block;
    flex: 1 1 0;
    height: 20px;
    min-width: 18px;
  }
  a.band:hover {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
  }
  .is-projected {
    background-image: repeating-linear-gradient( 135deg, transparent 0 4px, var(--bg) 4px 8px );
    @supports (color: color-mix(in lab, red, red)) {
      background-image: repeating-linear-gradient( 135deg, transparent 0 4px, color-mix(in srgb, var(--bg) 70%, transparent) 4px 8px );
    }
  }
  .band--leased {
    background-color: var(--ink-leased);
  }
  .band--vacant {
    background-color: var(--ink-vacant);
  }
  .band--blank {
    background-color: var(--faint);
  }
  .bands__status {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--bg);
    padding: 9px 0 9px 14px;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: right;
    color: var(--muted);
  }
  .chart {
    display: flex;
    gap: 12px;
    margin-top: 24px;
  }
  .chart--phone {
    display: none;
  }
  .chart__axis {
    flex: 0 0 26px;
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    text-align: right;
  }
  .chart__axis-upper {
    height: 102px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .chart__axis-lower {
    height: 51px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1px;
    color: var(--warning);
  }
  .chart__plot {
    flex: 1 1 auto;
    min-width: 0;
  }
  .chart__bars {
    display: flex;
    gap: 1px;
  }
  .chart__bars--up {
    align-items: flex-end;
  }
  .chart__bars--down {
    align-items: flex-start;
  }
  .chart__slot {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .chart__bars--up .chart__slot {
    justify-content: flex-end;
    height: 102px;
  }
  .chart__bars--down .chart__slot {
    justify-content: flex-start;
    height: 51px;
  }
  .chart__bar {
    display: block;
    background-color: var(--ink-leased);
  }
  .chart__bar--vacant {
    background-color: var(--ink-vacant);
  }
  .chart__baseline {
    height: 1px;
    background: var(--fg);
  }
  .chart__slot.is-today, .band.is-today {
    box-shadow: -1px 0 0 var(--primary);
  }
  .chart__ticks {
    margin-top: 8px;
  }
  .stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 26px;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }
  .stat {
    flex: 1 1 150px;
    padding: 16px 20px;
    border-right: 1px solid var(--hairline);
  }
  .stat:first-child {
    padding-left: 0;
  }
  .stat:last-child {
    border-right: none;
    padding-right: 0;
  }
  .stat__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .stat__figure {
    margin-top: 10px;
    font-size: 19px;
    font-weight: 500;
    color: var(--fg);
  }
  .stat__note {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--muted);
  }
  .composer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--card-inset) calc(var(--card-inset) + 2px) calc(var(--card-inset) + 2px);
    border: 1px solid var(--hairline);
  }
  .composer__target {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .composer__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .composer__scope {
    font-size: 13.5px;
    color: var(--secondary);
  }
  .composer__select {
    min-width: 0;
  }
  .composer__body {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--border);
    resize: vertical;
  }
  .composer__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }
  .composer__photos {
    margin-right: auto;
    font-size: 11.5px;
    color: var(--muted);
    min-width: 0;
  }
  .composer__photos input {
    display: block;
    margin-top: 4px;
    max-width: 100%;
    font-size: 11px;
  }
  .quick-entry__pair {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .quick-entry__pair .composer__target {
    flex: 1 1 120px;
    min-width: 0;
  }
  .record-line {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
    border-left: 2px solid var(--hairline);
    padding-left: 14px;
  }
  .record-line.is-live {
    border-left-color: var(--primary);
  }
  .record-line__fact {
    padding: 0 16px 0 0;
    margin-right: 16px;
    border-right: 1px solid var(--hairline);
  }
  .record-line__fact:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }
  .record-line__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .record-line__value {
    margin-top: 6px;
    font-size: 14.5px;
    color: var(--secondary);
  }
  .tab-strip {
    display: flex;
    gap: 22px;
    margin-top: 24px;
    border-bottom: 1px solid var(--hairline);
    overflow-x: auto;
    padding-bottom: 1px;
  }
  .tab {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding-bottom: 11px;
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
  }
  .tab[aria-current="page"] {
    color: var(--fg);
    font-weight: 500;
    border-bottom-color: var(--primary);
  }
  .tab__count {
    font-size: 11px;
    font-weight: 500;
    color: var(--secondary);
  }
  .tab-strip + .section-head {
    margin-top: var(--spacing-tabs);
  }
  .record-bar {
    position: sticky;
    top: var(--topbar-height);
    z-index: 2;
    margin: 24px -34px 0;
    padding: 0 34px;
    background: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--fg) 5%, var(--bg));
    }
    border-bottom: 1px solid var(--border);
  }
  .record-bar .tab-strip {
    margin-top: 0;
    border-bottom: none;
  }
  .record-bar .tab {
    padding: 7px 0 6px;
    font-size: 13px;
  }
  .record-bar__condensed {
    display: grid;
    grid-template-rows: 0fr;
  }
  .record-bar__clip {
    min-height: 0;
    overflow: hidden;
  }
  .record-bar__clip:has(.actions[open]), .record-bar__row:has(.actions[open]) {
    overflow: visible;
  }
  @supports (animation-timeline: scroll()) {
    .record-bar__condensed {
      animation: record-bar-condense steps(1, end) both;
      animation-timeline: scroll(root block);
      animation-range: 220px 221px;
    }
  }
  @keyframes record-bar-condense {
    from {
      grid-template-rows: 0fr;
    }
    to {
      grid-template-rows: 1fr;
    }
  }
  .record-bar__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 0;
    line-height: 1.25;
    overflow: hidden;
  }
  .record-bar__title {
    flex: 0 1 auto;
    max-width: 34ch;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 17px;
    color: var(--fg);
  }
  .record-bar__state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }
  .record-bar__dot {
    flex: none;
    width: 7px;
    height: 7px;
  }
  .record-bar__dot--success {
    background: var(--success);
  }
  .record-bar__dot--info {
    background: var(--info);
  }
  .record-bar__dot--warning {
    background: var(--warning);
  }
  .record-bar__dot--danger {
    background: var(--danger);
  }
  .record-bar__dot--outline {
    background: var(--muted);
  }
  .record-bar__facts {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
  }
  .record-bar__fact {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 0 13px;
    white-space: nowrap;
    border-left: 1px solid var(--hairline);
  }
  .record-bar__fact:first-child {
    border-left: none;
  }
  .record-bar__fact-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .record-bar__fact-value {
    font-size: 12.5px;
    color: var(--secondary);
  }
  .record-bar__verbs {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  @media (max-width: 1180px) {
    .record-bar__fact:nth-last-child(1) {
      display: none;
    }
  }
  @media (max-width: 1020px) {
    .record-bar__fact:nth-last-child(2) {
      display: none;
    }
  }
  @media (max-width: 880px) {
    .record-bar__fact:nth-last-child(3) {
      display: none;
    }
  }
  .record-archived {
    opacity: 0.62;
    padding: 18px 20px;
    border: 1px dashed var(--border);
  }
  .record-archived .record-bar {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
  }
  .sub-nav {
    flex: 0 0 214px;
    background: var(--surface);
    border-right: 1px solid var(--hairline);
  }
  .sub-nav__back {
    display: none;
  }
  .sub-nav__heading {
    padding: 18px 20px 6px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .sub-nav__item {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    color: var(--secondary);
    border-left: 2px solid transparent;
  }
  .sub-nav__item[aria-current="page"] {
    font-weight: 500;
    color: var(--fg);
    background: var(--surface2);
    border-left-color: var(--primary);
  }
  .sub-nav__item.is-pending {
    color: var(--muted);
    opacity: 0.55;
    cursor: default;
  }
  .ranked__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 28px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--hairline);
  }
  .ranked__head h2 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
  }
  .ranked__sentence {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
  }
  .ranked__sentence--warning {
    color: var(--warning);
  }
  .ranked__sentence--info {
    color: var(--info);
  }
  .ranked__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 16px 0 16px 14px;
    border-left: 2px solid var(--hairline);
    border-bottom: 1px solid var(--faint);
  }
  .ranked__row--warning {
    border-left-color: var(--warning);
  }
  .ranked__row--info {
    border-left-color: var(--info);
  }
  .ranked__row.is-quiet {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .ranked__name {
    flex: 1 1 280px;
    min-width: 240px;
    font-size: 15.5px;
    line-height: 1.4;
  }
  .ranked__row.is-quiet .ranked__name {
    font-size: 14px;
  }
  .ranked__note {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 5px;
  }
  .ranked__figure {
    flex: 0 0 96px;
  }
  .ranked__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .ranked__value {
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
  }
  .ranked__value--warning {
    color: var(--warning);
  }
  .ranked__value--info {
    color: var(--info);
  }
  .ranked__value--outline {
    color: var(--muted);
  }
  .ranked__action {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .ranked__empty {
    padding: 13px 0 13px 14px;
    border-left: 2px solid var(--hairline);
    border-bottom: 1px solid var(--faint);
    font-size: 13px;
    color: var(--muted);
  }
  .ranked__empty--warning {
    border-left-color: var(--warning);
  }
  .ranked__empty--info {
    border-left-color: var(--info);
  }
  .actions {
    position: relative;
    display: inline-block;
  }
  .actions__trigger {
    list-style: none;
    cursor: pointer;
  }
  .actions__trigger::-webkit-details-marker {
    display: none;
  }
  .actions__trigger::after {
    content: " \25BE";
  }
  .actions__menu {
    position: absolute;
    left: 0;
    z-index: 3;
    min-width: 230px;
    max-width: calc(100vw / var(--app-zoom) - 32px);
    background: var(--surface2);
    border: 1px solid var(--border);
  }
  .actions__menu--right {
    left: auto;
    right: 0;
  }
  .actions__group + .actions__group {
    border-top: 1px solid var(--hairline);
  }
  .actions__label {
    padding: 10px 14px 4px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .actions__item {
    display: block;
    width: 100%;
    padding: 9px 14px;
    font-family: var(--font-sans);
    font-size: 13px;
    text-align: left;
    color: var(--secondary);
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .actions__item:hover {
    background: var(--surface);
    color: var(--fg);
  }
  .actions__item.is-destructive {
    color: var(--danger-text);
  }
  .actions__form {
    margin: 0;
  }
  .kv {
    margin: 0;
  }
  .kv__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px var(--spacing-row);
    padding: 10px 0;
    border-top: 1px solid var(--faint);
  }
  .kv__row.is-stacked {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .kv dt {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .kv dd {
    margin: 0;
    font-size: 14px;
    color: var(--secondary);
  }
  .activity__entry {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: var(--spacing-row);
    padding: 14px 0;
    border-top: 1px solid var(--faint);
  }
  .activity__when {
    font-size: 11.5px;
    color: var(--muted);
  }
  .activity__kind {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .activity__kind--money {
    color: var(--primary);
  }
  .activity__kind--property {
    color: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--fg) 82%, var(--bg));
    }
  }
  .activity__kind--people {
    color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--primary) 55%, var(--fg));
    }
  }
  .activity__kind--content {
    color: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--fg) 58%, var(--bg));
    }
  }
  .activity__kind--access {
    color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--primary) 45%, var(--bg));
    }
  }
  .activity__kind--system {
    color: var(--muted);
  }
  .activity__title {
    margin-top: 6px;
    font-size: 14px;
    color: var(--fg);
  }
  .activity__note {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
  }
  .activity__entry.is-archived {
    opacity: 0.5;
  }
  .activity__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }
  .activity__photo {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 1px solid var(--hairline);
  }
  .activity__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .activity__actions {
    position: absolute;
    top: 14px;
    right: 0;
  }
  .form {
    margin-top: var(--spacing-row);
    max-width: 720px;
  }
  .form__fields {
    display: block;
  }
  .form__fields > .field, .form__fields > .field--wide, .form__fields > .image-field {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: baseline;
    gap: 6px var(--spacing-row);
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--faint);
  }
  .form__fields > :first-child {
    border-top: 0;
  }
  .form__fields .field__hint, .form__fields .field__error {
    grid-column: 2;
    margin-top: 6px;
  }
  .form__fields .field__label {
    grid-column: 1;
  }
  .typed {
    white-space: pre-wrap;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--secondary);
    margin-top: var(--spacing-row);
    max-width: 74ch;
  }
  .record-body__main .metric-row > .metric {
    flex-basis: 140px;
  }
  .panel .empty {
    padding: 12px 0 2px;
    text-align: left;
    border: none;
    font-size: 13px;
  }
  .btn.is-phone-only {
    display: none;
  }
  .gateway {
    display: flex;
    justify-content: center;
    padding-top: 72px;
  }
  .gateway__panel {
    width: 100%;
    max-width: 380px;
  }
  .gateway__panel h1 {
    margin-top: 6px;
  }
  .gateway__sentence {
    margin: 14px 0 28px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary);
  }
  .gateway__note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
    font-size: 12px;
    color: var(--muted);
  }
  @media (max-width: 720px) {
    .gateway {
      padding-top: 32px;
    }
  }
  .panel-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
  }
  .panel-fields > .field {
    flex: 1 1 170px;
  }
  .choice {
    display: flex;
    flex-wrap: wrap;
  }
  .choice__option {
    cursor: pointer;
  }
  .choice__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .choice__option span {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    padding: 12px 14px;
    border: 1px solid var(--border);
    color: var(--muted);
  }
  .choice__option + .choice__option span {
    border-left: 0;
  }
  .choice__option input:checked + span {
    background: var(--surface2);
    color: var(--fg);
  }
  .choice__option input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
  }
  .commit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
  }
  .commit__cancel {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
  }
  .commit__cancel:hover {
    color: var(--fg);
  }
  .commit__consequence {
    margin-left: auto;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
  }
  .disclosure {
    margin-top: 16px;
  }
  .disclosure__summary {
    font-size: 12.5px;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
  }
  .disclosure__summary::-webkit-details-marker {
    display: none;
  }
  .disclosure__summary::before {
    content: "+ ";
    color: var(--primary);
  }
  .disclosure[open] .disclosure__summary::before {
    content: "− ";
  }
  .disclosure__summary:hover {
    color: var(--fg);
  }
  .disclosure__body {
    margin-top: 14px;
  }
  @media (max-width: 720px) {
    .slideout__body {
      padding: 16px;
    }
    .owed__row {
      align-items: flex-start;
    }
    .owed__figure {
      flex-basis: 100%;
    }
    .panel-fields > .field {
      flex: 1 1 100%;
    }
    .panel-fields > .field input {
      padding-left: 12px;
      padding-right: 12px;
    }
    .panel-fields > .field input.numeral {
      font-size: 17px;
    }
    .choice__option {
      flex: 1 1 0;
    }
    .choice__option span {
      text-align: center;
      padding: 13px 4px;
    }
    .commit .btn {
      flex: 1 1 100%;
      justify-content: center;
      padding: 16px;
    }
    .commit__consequence {
      margin-left: 0;
      flex: 1 1 100%;
    }
  }
  @media (min-width: 721px) {
    .table--ledger tbody td, .table--ledger tfoot td {
      padding: 11px 12px;
    }
    .table--ledger tbody td:first-child, .table--ledger tfoot td:first-child {
      padding-left: 10px;
    }
  }
  .table--ledger .numeral {
    text-align: right;
  }
  .table--ledger td:first-child.numeral, .table--ledger th:first-child {
    text-align: left;
  }
  .table--ledger tfoot td {
    border-top: 1px solid var(--border);
    border-bottom: none;
    color: var(--muted);
  }
  .table--ledger tfoot .numeral {
    color: var(--fg);
    font-weight: 600;
    font-size: 13px;
  }
  .table--ledger tfoot tr:hover td {
    background: transparent;
  }
  .table--ledger td:last-child {
    text-align: right;
  }
  .scope-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }
  .scope-bar__scope {
    display: inline-flex;
    align-items: center;
  }
  .scope-bar__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .scope-bar select {
    appearance: none;
    padding: 8px 26px 8px 11px;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--secondary);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: right 13px center, right 8px center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
  }
  .scope-bar select:hover {
    color: var(--fg);
    border-color: var(--border);
  }
  .scope-bar__submit {
    padding: 8px 11px;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
  }
  .scope-bar__submit:hover {
    color: var(--fg);
    border-color: var(--border);
  }
  .record-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    align-items: start;
  }
  .record-body--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .record-body__rail {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .record-body__rail > :first-child:not(.section) {
    margin-top: 44px;
  }
  @media (max-width: 900px) {
    .record-body {
      grid-template-columns: minmax(0, 1fr);
      gap: 32px;
    }
    .record-body__rail {
      order: -1;
    }
    .record-body--rail-under .record-body__rail {
      order: 0;
    }
  }
  .lede {
    max-width: 60ch;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary);
  }
  .prose {
    max-width: 74ch;
    margin-top: var(--spacing-row);
  }
  .prose p {
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--secondary);
  }
  .prose > *:last-child {
    margin-bottom: 0;
  }
  .prose h1, .prose h2 {
    font-size: 24px;
    font-weight: 400;
  }
  .prose h3 {
    font-size: 20px;
    font-weight: 400;
  }
  .prose h4, .prose h5, .prose h6 {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fg);
  }
  .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    margin: var(--spacing-row) 0 var(--spacing-control);
    line-height: 1.25;
  }
  .prose > :first-child {
    margin-top: 0;
  }
  .prose ul, .prose ol {
    margin: 0 0 14px;
    padding-left: 22px;
  }
  .prose ul {
    list-style: disc;
  }
  .prose ol {
    list-style: decimal;
  }
  .prose li {
    margin-bottom: var(--spacing-control);
    font-size: 15px;
    line-height: 1.7;
  }
  .prose li > ul, .prose li > ol {
    margin: var(--spacing-control) 0 0;
  }
  .prose li::marker {
    color: var(--muted);
  }
  .prose strong {
    font-weight: 600;
    color: var(--fg);
  }
  .prose em {
    font-style: italic;
  }
  .prose del {
    color: var(--muted);
  }
  .prose code {
    font-family: var(--font-mono);
    font-size: 13.5px;
    background: var(--surface);
    padding: 1px 5px;
  }
  .prose pre {
    margin: 0 0 14px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    overflow-x: auto;
  }
  .prose pre code {
    padding: 0;
    background: none;
    line-height: 1.6;
  }
  .prose blockquote {
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 2px solid var(--border);
    color: var(--muted);
  }
  .prose hr {
    margin: var(--spacing-row) 0;
    border: 0;
    border-top: 1px solid var(--hairline);
  }
  .prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 14px;
  }
  .prose th {
    padding: 9px 14px 9px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
  }
  .prose td {
    padding: 9px 14px 9px 0;
    border-bottom: 1px solid var(--faint);
    font-size: 13.5px;
    color: var(--secondary);
  }
  .prose th:last-child, .prose td:last-child {
    padding-right: 0;
  }
  .prose img {
    max-width: 100%;
    height: auto;
  }
  @media (max-width: 720px) {
    .prose {
      max-width: none;
    }
    .prose table {
      display: block;
      overflow-x: auto;
    }
  }
  .site-page-body {
    max-width: 74ch;
    margin: 0 auto;
  }
  .site-page-body .prose {
    max-width: none;
  }
  .form--inline .form__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 18px;
  }
  .form--inline .form__fields > .field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    flex: 1 1 180px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .form--inline .field__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .form--inline .field input, .form--inline .field select {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .form--inline .field__hint {
    display: none;
  }
  .form--inline .form__actions {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .form--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 18px;
    margin-top: var(--spacing-row);
  }
  .form--inline .form__fields {
    flex: 1 1 420px;
  }
  .form__fields > .field:has(textarea) .field__label {
    align-self: start;
    padding-top: 10px;
  }
  .form__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--spacing-row);
  }
  .field textarea {
    height: auto;
    line-height: 1.6;
    resize: vertical;
    min-height: 96px;
  }
  .field--check {
    display: block;
  }
  .field__check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--secondary);
  }
  .field input[type="checkbox"] {
    flex: none;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
  }
  .field__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .field__checks > .field--check {
    margin-bottom: 0;
  }
  .field--checks.is-listed .field__checks {
    display: block;
  }
  .is-listed .field__check {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--secondary);
    cursor: pointer;
  }
  .is-listed .field__check input {
    flex: 0 0 auto;
    width: auto;
  }
  .is-listed .field--check + .field--check {
    border-top: 1px solid var(--faint);
  }
  .is-listed .field--check .field__hint {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
  }
  .image-field {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .image-field__frame {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hairline);
    background: var(--surface2);
  }
  .image-field__frame--square {
    width: 52px;
    height: 52px;
  }
  .image-field__frame--wide {
    width: 104px;
    height: 34px;
  }
  .image-field__frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .image-field__control {
    flex: 1 1 auto;
    min-width: 0;
  }
  .confirm {
    max-width: 56ch;
  }
  .confirm__sentence {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary);
  }
  .confirm__consequences {
    margin: 14px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--warning-text);
  }
  .toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    min-height: 52px;
    box-sizing: border-box;
    gap: 22px;
    margin-top: 26px;
    border-bottom: 1px solid var(--hairline);
  }
  .toolbar .tab-strip {
    margin-top: 0;
    border-bottom: none;
    overflow: visible;
  }
  .toolbar__filters {
    display: flex;
    min-width: 0;
    align-items: stretch;
  }
  .toolbar .segmented {
    border-bottom: none;
    margin-bottom: -1px;
  }
  .toolbar__action {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
  }
  .toolbar__views, .toolbar__action {
    margin-left: auto;
  }
  .toolbar__views ~ .toolbar__action {
    margin-left: 0;
  }
  .photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: var(--spacing-row);
  }
  .photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--surface);
    border: 1px solid var(--hairline);
  }
  .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .photo__hero {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-primary);
    background: var(--primary);
  }
  .photo__remove {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
  }
  .photo:hover .photo__remove, .photo__remove:focus-within {
    opacity: 1;
  }
  .photo__remove button {
    padding: 2px 8px;
    font-size: 14px;
    color: var(--danger-text);
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
  }
  .photo__move {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    opacity: 0;
  }
  .photo:hover .photo__move, .photo__move:focus-within {
    opacity: 1;
  }
  .photo__move button {
    padding: 2px 7px;
    font-size: 11px;
    color: var(--secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
  }
  .photo__move button + button {
    border-left: 0;
  }
  .photo[draggable="true"] {
    cursor: grab;
  }
  .photo.is-dragging {
    opacity: 0.4;
    cursor: grabbing;
  }
  .photo.is-over {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
  }
  .photos.is-dropping {
    outline: 2px dashed var(--primary);
    outline-offset: 6px;
  }
  .photos.is-saving {
    opacity: 0.55;
    pointer-events: none;
  }
  .photo--upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px dashed var(--border);
    background: transparent;
  }
  .photo--upload label {
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    text-align: center;
  }
  .photo--upload input {
    display: block;
    margin-top: 8px;
    font-size: 11px;
  }
  .photo__upload {
    margin-top: var(--spacing-control);
    font-size: 11.5px;
    padding: 6px 12px;
  }
  .token {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 2px 6px;
    border: 1px solid;
  }
  .token--always {
    color: var(--success-text);
    border-color: var(--success-edge);
    background: var(--success-tint);
  }
  .token--on-pick {
    color: var(--info-text);
    border-color: var(--info-edge);
    background: var(--info-tint);
  }
  .token--asked {
    color: var(--warning-text);
    border-style: dashed;
    border-color: var(--warning-edge);
    background: var(--warning-tint);
  }
  .token--never {
    color: var(--danger-text);
    border-color: var(--danger-edge);
    background: var(--danger-tint);
  }
  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
  }
  .breadcrumb a + a::before {
    content: "/";
    margin-right: 8px;
    color: var(--muted);
  }
  .sheet-doc {
    max-width: 34rem;
    margin-top: var(--spacing-row);
  }
  .sheet-doc--wide {
    max-width: 46rem;
  }
  .sheet-doc__letterhead {
    font-family: var(--font-display);
    font-size: 19px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fg);
  }
  @media (max-width: 720px) {
    .shell {
      grid-template-columns: minmax(0, 1fr);
    }
    .sidebar {
      position: static;
      height: auto;
      max-height: none;
      display: flex;
      gap: 0;
      padding: 0;
      overflow-x: auto;
      border-right: none;
      border-bottom: 1px solid var(--hairline);
      background: var(--surface);
    }
    .sidebar__heading {
      display: none;
    }
    .sidebar__group {
      display: flex;
    }
    .nav-item {
      padding: 12px 14px;
      white-space: nowrap;
      border-left: 0;
      border-bottom: 2px solid transparent;
    }
    .nav-item[aria-current="page"] {
      border-left: 0;
      border-bottom-color: var(--primary);
    }
    .topbar:has(.topbar__nav) {
      flex-wrap: wrap;
    }
    .topbar__nav {
      flex: 1 1 100%;
      overflow-x: auto;
      gap: 0;
    }
    .topbar-nav-item__link {
      padding: 8px 10px;
    }
    .topbar-nav-item__children {
      position: static;
      border: 0;
      box-shadow: none;
      padding-left: 10px;
    }
    .topbar {
      height: auto;
      padding: 12px 16px;
    }
    .topbar__search {
      flex: 0 0 auto;
      min-width: 0;
    }
    .topbar__search input {
      width: var(--control-height);
      padding: 0;
      color: transparent;
      border-color: transparent;
      background: transparent;
      font-size: 16px;
    }
    .topbar__search input::placeholder {
      color: transparent;
    }
    .topbar__search::before {
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .topbar__search:focus-within {
      flex: 1 1 auto;
    }
    .topbar__search:focus-within::before {
      left: 11px;
      transform: translateY(-50%);
    }
    .topbar__search:focus-within input, .topbar__search input:not(:placeholder-shown) {
      width: 100%;
      padding: 0 12px 0 34px;
      color: var(--fg);
      border-color: var(--hairline);
      background: var(--bg);
    }
    .topbar__search:focus-within input::placeholder {
      color: var(--muted);
    }
    .topbar__search:has(input:not(:placeholder-shown)) {
      flex: 1 1 auto;
    }
    .topbar__search:has(input:not(:placeholder-shown))::before {
      left: 11px;
      transform: translateY(-50%);
    }
    .content {
      padding: 20px 16px 32px;
    }
    .metric-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .metric-row > .metric {
      padding: 14px 0 14px 14px;
      border-right: 1px solid var(--hairline);
    }
    .metric-row > .metric:nth-child(odd) {
      padding-left: 0;
    }
    .metric-row > .metric:nth-child(even) {
      border-right: none;
    }
    .metric-row > .metric:nth-child(n + 3) {
      border-top: 1px solid var(--hairline);
    }
    .metric__figure {
      font-size: 24px;
    }
    .alert {
      flex-direction: column;
      align-items: stretch;
    }
    .alert__body {
      flex-basis: auto;
    }
    .alert__actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .alert__actions .btn {
      justify-content: center;
    }
    .page-header__title {
      gap: 12px;
    }
    .page-header__actions {
      width: 100%;
      flex-wrap: wrap;
    }
    .page-header__actions .btn {
      flex: 0 0 auto;
      justify-content: center;
    }
    .page-header__actions .btn--primary {
      flex: 1 1 0;
    }
    .page-header__actions .row-action--primary {
      flex: 1 1 0;
    }
    .page-header__actions .row-action--primary button {
      width: 100%;
      justify-content: center;
    }
    .btn {
      min-height: 44px;
      padding: 14px 16px;
      font-size: 13px;
    }
    .btn--primary {
      min-height: 44px;
      padding: 14px 16px;
    }
    .btn--quiet {
      min-height: 44px;
      padding: 8px 0;
    }
    .field input, .field select, .field textarea, .composer__select {
      padding: 13px 12px;
      font-size: 16px;
    }
    .form--inline .field input, .form--inline .field select {
      font-size: 16px;
    }
    .scope-bar select {
      font-size: 16px;
    }
    .segmented {
      overflow-x: visible;
      flex-wrap: wrap;
      row-gap: 0;
    }
    .segmented__option {
      padding-top: 5px;
      padding-bottom: 13px;
      min-height: 44px;
    }
    .actions__item {
      padding: 13px 16px;
    }
    .sub-nav__item {
      padding: 13px 20px;
    }
    .card {
      flex: 1 1 100%;
      padding: 12px 0;
      border-right: none;
      border-top: 1px solid var(--faint);
    }
    .card:first-child {
      border-top: none;
    }
    .sheet__label {
      position: sticky;
      left: 0;
      z-index: 1;
      background: var(--bg);
    }
    .sheet__trailing, .sheet__trailing-title {
      display: none;
    }
    .sheet__row {
      --sheet-trail: 0px !important;
    }
    .bands:not(.bands--phone) {
      display: none;
    }
    .bands--phone {
      display: block;
    }
    .bands__label {
      max-width: 128px;
    }
    .bands__status {
      max-width: 84px;
      padding-left: 6px;
      font-size: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .table thead {
      display: none;
    }
    .table tbody, .table tfoot {
      display: block;
      width: auto;
    }
    .table {
      display: block !important;
      width: auto;
    }
    .table tbody tr {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      column-gap: 10px;
      padding: 12px 0 12px 10px;
      border-left: 2px solid transparent;
      border-bottom: 1px solid var(--faint);
    }
    .table tbody td {
      display: block;
      width: auto;
      padding: 0;
      border-bottom: none;
      overflow: visible;
      white-space: normal;
    }
    .table tbody td a {
      display: inline;
      max-width: none;
      overflow: visible;
      white-space: normal;
    }
    .table tbody tr > td.cell--lead, .table tbody tr > td.cell--value, .table tbody tr > td.cell--detail, .table tbody tr > td.cell--action, .table tbody tr > td.row-fold {
      padding: 0;
    }
    .table tbody td:empty:not(.row-fold) {
      display: none;
    }
    .table tbody td.row-fold {
      display: block;
      flex: 0 0 100%;
      height: 0;
      padding: 0;
    }
    .cell--lead {
      order: 1;
      font-size: 11.5px;
      color: var(--muted);
    }
    .table tbody .cell--lead.numeral {
      font-size: 11px;
    }
    .row-fold--value {
      order: 2;
    }
    .cell--value {
      order: 3;
      flex: 1 1 0;
      min-width: 0;
      margin-top: 7px;
      font-size: 13px;
      line-height: 1.4;
      color: var(--fg);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .table tbody .cell--value.numeral {
      font-size: 13px;
    }
    .row-fold--detail {
      order: 4;
    }
    .cell--detail {
      order: 5;
      margin-top: 4px;
      font-size: 11.5px;
      line-height: 1.5;
      color: var(--muted);
    }
    .cell--detail:not(:empty) ~ .cell--detail::before {
      content: "· ";
    }
    .row-fold--action {
      order: 6;
    }
    .cell--action {
      order: 7;
      margin-top: 10px;
    }
    .cell--action .row-action button {
      min-height: 44px;
      padding: 12px 16px;
      font-size: 12px;
      font-weight: 600;
      color: var(--secondary);
      border-color: var(--border);
    }
    .cell--trailing {
      flex: none;
      margin-left: auto;
    }
    .table tbody tr.is-overdue {
      border-left-color: var(--danger);
    }
    .table tbody tr.is-attention {
      border-left-color: var(--warning);
    }
    .table tbody tr.is-overdue td:first-child, .table tbody tr.is-attention td:first-child {
      box-shadow: none;
    }
    .table tfoot tr {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      column-gap: 10px;
      padding: 13px 0;
      border-top: 1px solid var(--border);
    }
    .table tfoot td {
      display: block;
      width: auto;
      padding: 0;
      border-bottom: none;
      white-space: nowrap;
    }
    .table tfoot td:empty {
      display: none;
    }
    .table tfoot .eyebrow::before {
      display: none;
    }
    .record-line {
      display: block;
    }
    .record-line__fact {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      padding: 8px 0;
      margin-right: 0;
      border-right: none;
      border-bottom: 1px solid var(--faint);
    }
    .record-line__fact:last-child {
      border-bottom: none;
    }
    .record-line__label {
      line-height: 1.6;
    }
    .record-line__value {
      margin-top: 0;
      font-size: 13px;
      line-height: 1.5;
      text-align: right;
    }
    .tab-strip {
      gap: 18px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .tab-strip::-webkit-scrollbar {
      display: none;
    }
    .tab {
      flex: none;
      padding-top: 12px;
      padding-bottom: 14px;
    }
    .sub-nav {
      flex: none;
      width: auto;
      background: transparent;
      border-right: none;
    }
    .sub-nav:has(.sub-nav__back) .sub-nav__group {
      display: none;
    }
    .sub-nav__back {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 0;
      font-size: 13px;
      border-bottom: 1px solid var(--hairline);
    }
    .sub-nav__back::before {
      content: "\2039";
      font-family: var(--font-mono);
      color: var(--primary);
    }
    .sub-nav__place {
      margin-left: auto;
      color: var(--muted);
      font-size: 12px;
    }
    .record-bar {
      margin: 20px -16px 0;
      padding: 0 16px;
    }
    .record-bar__row {
      flex-wrap: wrap;
      gap: 8px 10px;
    }
    .record-bar__facts {
      order: 3;
      flex-basis: 100%;
    }
    .record-bar__verbs {
      order: 2;
    }
    .record-bar__fact {
      display: none;
      padding: 0 10px;
    }
    .record-bar__fact:nth-child(3), .record-bar__fact:nth-child(5) {
      display: flex;
      border-left: none;
    }
    .record-bar .tab-strip {
      overflow-x: auto;
    }
    .kv__row {
      grid-template-columns: 1fr;
      gap: 4px;
    }
    .form__fields > .field {
      flex: 1 1 100%;
    }
    .form__actions .btn {
      flex: 1 1 auto;
      justify-content: center;
    }
    .activity__entry {
      grid-template-columns: 1fr;
      gap: 4px;
    }
    .section-head {
      margin-top: 32px;
    }
    .section-head h2 {
      font-size: 20px;
    }
    .section-head__controls {
      margin-left: 0;
      width: 100%;
    }
    .chart__ticks > span:nth-child(even) {
      visibility: hidden;
    }
    .chart:not(.chart--phone) {
      display: none;
    }
    .chart--phone {
      display: flex;
    }
    .chart--phone .chart__plot {
      overflow-x: auto;
      direction: rtl;
    }
    .chart--phone .chart__scroll {
      width: max-content;
      min-width: 100%;
      direction: ltr;
    }
    .chart--phone .chart__slot {
      min-width: 22px;
    }
  }
  .modal-layer {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-row);
  }
  .modal__backdrop {
    position: absolute;
    inset: 0;
    background: var(--bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bg) 78%, transparent);
    }
  }
  .modal {
    position: relative;
    display: block;
    width: min(680px, 100%);
    max-height: calc(100vh / var(--app-zoom) - 2 * var(--spacing-row));
    overflow-y: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    background: var(--bg);
    border: 1px solid var(--border);
  }
  .modal > * {
    margin-top: 0;
  }
  @media (max-width: 720px) {
    .modal-layer {
      padding: 0;
      align-items: flex-end;
    }
    .modal {
      width: 100%;
      max-height: calc(92vh / var(--app-zoom));
      border-left: 0;
      border-right: 0;
      border-bottom: 0;
    }
  }
  .slideout-layer {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
  }
  .slideout__backdrop {
    position: absolute;
    inset: 0;
    background: var(--bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bg) 78%, transparent);
    }
  }
  .slideout {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(420px, 100%);
    height: calc(100vh / var(--app-zoom));
    background: var(--surface);
    border-left: 1px solid var(--border);
    overflow: hidden;
  }
  .slideout__head {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
  }
  .slideout__title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--fg);
    margin: 0;
  }
  .slideout__close {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
  }
  .slideout__close:hover {
    color: var(--fg);
  }
  .slideout__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px;
  }
  .slideout__footer {
    flex: none;
    padding: 16px 20px;
    border-top: 1px solid var(--hairline);
  }
  @media (max-width: 720px) {
    .slideout {
      width: 100%;
    }
  }
  @media print {
    .shell {
      display: block;
    }
    .topbar, .sidebar, .tab-strip, .toolbar, .actions, .composer, .no-print, .btn {
      display: none !important;
    }
    button, input[type="submit"] {
      display: none !important;
    }
    .field input, .field select, .field textarea {
      padding: 0;
      color: #000;
      background: transparent;
      border: 0;
      appearance: none;
      -webkit-appearance: none;
    }
    .sheet-doc {
      max-width: none;
    }
    .content {
      padding: 0;
      max-width: none;
    }
    body {
      background: #fff;
      color: #000;
      font-size: 11px;
    }
    .table thead th {
      background: transparent;
      color: #000;
    }
    .sheet__row, .receipt, .record-line, .panel {
      break-inside: avoid;
    }
    .section-head {
      break-after: avoid;
    }
  }
  .doors {
    --doors-tracks: 1.5fr 110px 150px 130px 190px;
  }
  .doors__row {
    display: grid;
    grid-template-columns: var(--doors-tracks);
    align-items: start;
  }
  .doors__row + .doors__row {
    border-top: 1px solid var(--faint);
  }
  .doors__row > * {
    padding: 9px 14px;
  }
  .doors__row > *:first-child {
    padding-left: 0;
  }
  .doors__row > *:last-child {
    padding-right: 0;
  }
  .doors__head {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }
  .doors__head > * {
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .doors__head + .doors__row {
    border-top: none;
  }
  .doors__name {
    font-size: 13.5px;
    line-height: 1.35;
    min-width: 0;
  }
  .doors__sign {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
  }
  .doors__row:hover .doors__sign, .doors__sign:focus-visible {
    color: var(--primary);
  }
  .doors__spec {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--muted);
  }
  .doors__row:not(.doors__head) > .doors__rent {
    font-size: 13px;
    font-weight: 500;
  }
  .doors__rent {
    text-align: right;
  }
  .doors__rent.is-asking {
    color: var(--muted);
  }
  .doors__asking {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 400;
  }
  .doors__cells {
    display: flex;
    gap: 1px;
  }
  .doors__cells .band {
    height: 14px;
    min-width: 0;
  }
  .doors__note {
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--muted);
    margin-top: 5px;
  }
  .doors__row.is-archived, .doors__row.is-archived .doors__name a {
    color: var(--muted);
  }
  .doors__totals {
    border-top: 1px solid var(--border);
    align-items: baseline;
  }
  .doors__totals > * {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .doors__totals .doors__rent {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fg);
  }
  .doors__totals .doors__spec {
    font-size: 11.5px;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 26px;
  }
  .card-door {
    border: 1px solid var(--hairline);
  }
  .card-door__frame {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    border-bottom: 1px solid var(--hairline);
    font-size: 11px;
    color: var(--muted);
    overflow: hidden;
  }
  .card-door__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .card-door__body {
    padding: 13px 14px;
  }
  .card-door__title {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.35;
  }
  .card-door__title a {
    flex: 1 1 auto;
    min-width: 0;
  }
  .card-door__spec {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 6px;
  }
  .card-door__cells {
    display: flex;
    gap: 1px;
    margin-top: 11px;
  }
  .card-door__cells .band {
    height: 14px;
    min-width: 0;
  }
  .card-door__foot {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid var(--faint);
  }
  .card-door__rent {
    font-size: 13.5px;
    font-weight: 500;
  }
  .card-door__rent.is-asking {
    color: var(--muted);
  }
  .card-door__foot .badge {
    margin-left: auto;
  }
  .card-door__sign {
    display: block;
    margin-top: 9px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
  }
  .card-door:hover .card-door__sign, .card-door__sign:focus-visible {
    color: var(--primary);
  }
  @media (max-width: 1100px) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 720px) {
    .cards {
      grid-template-columns: 1fr;
    }
    .doors__head {
      display: none;
    }
    .doors__row {
      grid-template-columns: 1fr auto;
      gap: 0 14px;
    }
    .doors__row > *, .doors__row > *:first-child, .doors__row > *:last-child {
      padding: 4px 0;
    }
    .doors__row > *:first-child {
      padding-top: 12px;
    }
    .doors__rent {
      grid-row: 1;
    }
    .doors__band {
      grid-column: 1 / -1;
      padding-bottom: 12px;
    }
  }
  .person-cell {
    display: block;
    min-width: 0;
  }
  .person-cell > a {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .table--ledger .person-cell .person-cell__since {
    text-align: left;
  }
  .person-cell__since {
    display: block;
    margin-top: 5px;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
  }
  .balance {
    font-size: 13px;
    font-weight: 500;
  }
  .balance.is-owing {
    color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--danger) 70%, var(--fg));
    }
  }
  .table--ledger tfoot .balance.is-owing {
    color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--danger) 70%, var(--fg));
    }
  }
  .missing {
    color: var(--warning);
  }
  .missing__action {
    font-size: 11.5px;
    font-weight: 500;
  }
  .files {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .files__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid var(--faint);
    font-size: 13px;
  }
  .files__item:last-child {
    border-bottom: none;
  }
  .files__meta {
    display: block;
    margin-top: 5px;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    color: var(--muted);
  }
  .files__actions {
    flex: none;
  }
  .file-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--faint);
    margin-bottom: 11px;
  }
  .file-upload__label {
    font-size: 12px;
    color: var(--muted);
  }
  .file-upload__label input {
    display: block;
    margin-top: 6px;
    font-size: 11px;
  }
  .file-upload__submit {
    flex: none;
    font-size: 11.5px;
    padding: 6px 12px;
  }
  .messages {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .messages__item {
    padding: 11px 0;
    border-bottom: 1px solid var(--faint);
    font-size: 13px;
  }
  .messages__item:last-child {
    border-bottom: none;
  }
  .messages__subject {
    display: block;
    color: var(--fg);
    line-height: 1.35;
  }
  .messages__when {
    display: block;
    margin-top: 5px;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    color: var(--muted);
  }
  .receipt__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-top: var(--spacing-row);
  }
  .receipt__figure {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 300;
    line-height: 1;
    color: var(--fg);
    font-variant-numeric: tabular-nums;
  }
  .receipt__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid var(--fg);
    border-bottom: 1px solid var(--fg);
    margin-top: var(--spacing-row);
  }
  .receipt__total .numeral {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
  }
  .receipt__ref {
    font-size: 12.5px;
    color: var(--fg);
    margin-top: 7px;
  }
  .receipt__on {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }
  .receipt__amount {
    text-align: right;
  }
  .receipt__status {
    margin-top: 9px;
  }
  .owed__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .owed__rows {
    margin-top: 12px;
  }
  .owed__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 13px 16px 13px 14px;
    border: 1px solid var(--hairline);
    cursor: pointer;
  }
  .owed__row + .owed__row {
    border-top: 0;
  }
  .owed__row--late {
    border-color: var(--primary);
    border-left: 2px solid var(--danger);
    background: var(--danger-tint);
  }
  .owed__row--quiet {
    color: var(--muted);
  }
  .owed__pick {
    flex: none;
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
  }
  .owed__pick:checked {
    border-color: var(--primary);
    background: var(--primary);
  }
  .owed__pick:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  .owed__what {
    flex: 1 1 240px;
    min-width: 200px;
  }
  .owed__title {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: var(--fg);
  }
  .owed__detail {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 4px;
  }
  .owed__figure {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--fg);
  }
  .owed__row--quiet .owed__title {
    color: var(--secondary);
  }
  .page-tree {
    border-top: 1px solid var(--hairline);
  }
  .page-tree__row {
    display: flex;
    align-items: baseline;
    padding: 11px 12px;
    border-bottom: 1px solid var(--faint);
    color: var(--secondary);
  }
  .page-tree__row:hover {
    background: var(--surface);
    color: var(--fg);
  }
  .page-tree__link {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-row);
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
  }
  .page-tree__label {
    font-size: 13.5px;
  }
  .page-tree__meta {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted);
  }
  .page-tree__move {
    display: flex;
    margin-left: 8px;
  }
  .page-tree__move button {
    padding: 2px 7px;
    font-size: 11px;
    color: var(--secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
  }
  .page-tree__move button + button {
    border-left: 0;
  }
  .activity__title a {
    color: inherit;
    text-decoration: none;
  }
  .activity__title a::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .activity__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .activity__changes {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
  }
  .activity__change {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--secondary);
  }
  .activity__rest {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
  }
  .activity__rest a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--faint);
  }
  .activity__rest a:hover {
    color: var(--fg);
  }
  .audit-detail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface);
  }
  .audit-detail__close {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
  }
  .audit-detail__close:hover {
    color: var(--fg);
  }
  .audit-detail__body {
    padding: 20px;
  }
  .audit-detail__title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--fg);
    margin: 0;
  }
  .audit-detail__note {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
  }
  .audit-detail__body .kv {
    margin-top: 16px;
  }
  .audit-detail__label {
    margin-top: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hairline);
  }
  .audit-detail__changes {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
  }
  .audit-detail__change {
    font-size: 13px;
    line-height: 1.6;
    color: var(--secondary);
    padding: 5px 0;
    border-bottom: 1px solid var(--faint);
  }
  .audit-detail__change:last-child {
    border-bottom: 0;
  }
  .audit-detail__empty {
    margin: 16px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
  }
  .dead-letters {
    border-top: 1px solid var(--hairline);
  }
  .dead-letter {
    padding: 13px 12px;
    border-bottom: 1px solid var(--faint);
    border-left: 2px solid var(--danger);
    padding-left: 14px;
  }
  .dead-letter__head {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-row);
  }
  .dead-letter__title {
    font-size: 13.5px;
    color: var(--fg);
  }
  .dead-letter__meta {
    font-size: 11.5px;
    color: var(--muted);
  }
  .dead-letter__action {
    margin-left: auto;
  }
  .dead-letter__reason {
    margin: 6px 0 0;
    max-width: 74ch;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    color: var(--secondary);
    overflow-wrap: anywhere;
  }
  @media (max-width: 720px) {
    .dead-letter__head {
      flex-wrap: wrap;
    }
    .dead-letter__action {
      margin-left: 0;
      width: 100%;
    }
  }
  .shell:has(> .sidebar:empty) {
    grid-template-columns: 1fr;
  }
  .sidebar:empty {
    display: none;
  }
  .content:has(> .settings-layout) {
    padding: 0;
  }
  .settings-layout {
    display: flex;
    align-items: stretch;
    min-height: 100%;
  }
  .settings-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 32px 34px 44px;
  }
  .settings-layout .sub-nav {
    padding: 0 0 24px;
  }
  .settings-index {
    max-width: 940px;
  }
  .settings-index .section-head {
    margin-top: 32px;
  }
  .settings-index .section-head:first-child {
    margin-top: 0;
  }
  .settings-row {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 20px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid var(--faint);
  }
  .settings-row__name {
    grid-column: 1;
    grid-row: 1;
    font-size: 13.5px;
    color: var(--fg);
  }
  .settings-row__name a:hover {
    color: var(--primary);
  }
  .settings-row__description {
    grid-column: 1;
    grid-row: 2;
    margin-top: 2px;
    font-size: 13.5px;
    color: var(--muted);
  }
  .settings-row__value {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    text-align: right;
  }
  .settings-row__value.is-attention {
    color: var(--warning);
  }
  .secret {
    display: block;
    margin: 20px 0;
    padding: 16px 18px;
    background: var(--surface2);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--fg);
    word-break: break-all;
    user-select: all;
  }
  .form__fields > .section-head {
    flex: 1 1 100%;
  }
  .theme-presets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 1px;
    background: var(--faint);
    border: 1px solid var(--faint);
  }
  .theme-preset {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
    background: var(--bg);
  }
  .theme-preset.is-current {
    background: var(--surface2);
  }
  .theme-preset__swatch {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    height: 46px;
    padding: 8px 9px;
    background: var(--bg);
    border: 1px solid var(--border);
  }
  .theme-preset__ink {
    height: 6px;
    width: 62%;
    background: var(--fg);
    opacity: 0.82;
  }
  .theme-preset__rule {
    height: 6px;
    width: 34%;
    background: var(--primary);
  }
  .theme-preset__name {
    margin-top: 2px;
    font-size: 13.5px;
    color: var(--fg);
  }
  .theme-preset__scheme, .theme-preset__state {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .theme-preset__state {
    color: var(--primary);
  }
  .theme-preset button {
    align-self: flex-start;
  }
  .resolution-key {
    max-width: 60ch;
  }
  .resolution-key__note {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--faint);
  }
  .resolution-key__note > span {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--secondary);
  }
  .fill-cell {
    position: relative;
  }
  .fill-cell__input {
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 13.5px;
    padding: var(--spacing-control) 10px;
    height: var(--control-height);
    width: 100%;
    box-sizing: border-box;
  }
  .fill-cell__input:focus {
    outline: 2px solid var(--primary);
    outline-offset: -1px;
  }
  .fill-cell--blank .fill-cell__input {
    border-style: dashed;
  }
  .fill-cell__saved {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    animation: fill-cell-saved-fade 1.6s ease-out forwards;
  }
  @keyframes fill-cell-saved-fade {
    0% {
      opacity: 1;
    }
    70% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @media print {
    .settings-layout .sub-nav {
      display: none;
    }
    .settings-body {
      padding: 0;
    }
  }
  @media (max-width: 720px) {
    .settings-layout {
      display: block;
      min-height: 0;
    }
    .settings-layout .sub-nav {
      padding: 0;
    }
    .settings-body {
      padding: 20px 16px 32px;
    }
  }
}
@media (max-width: 720px) {
  :root {
    --control-height: 44px;
  }
}
@layer base {
  html {
    font-size: 20px;
    zoom: var(--app-zoom);
  }
  body {
    background: var(--bg);
    color: var(--secondary);
    font-family: var(--font-sans);
    font-size: 13.5px;
    line-height: 1.65;
    text-wrap: pretty;
    margin: 0;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--fg);
    font-weight: 300;
    margin: 0;
  }
  h1 {
    font-size: 38px;
    letter-spacing: -0.012em;
    line-height: 1.05;
  }
  h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
  }
  h3 {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.1;
  }
  a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  a:hover {
    text-decoration-thickness: 2px;
  }
  td, th, .numeral, input[type="number"] {
    font-variant-numeric: tabular-nums;
  }
  * {
    border-radius: 0;
    box-shadow: none;
  }
  .status-dot {
    border-radius: var(--radius-full);
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}
