:root {
  --app-height: 100vh;
  --app-height: 100svh;
  --navy: #0c2235;
  --navy-2: #16364f;
  --champagne: #c8a17a;
  --champagne-soft: #f3e9df;
  --glass: #b8d0de;
  --canvas: #f8f7f5;
  --panel: #ffffff;
  --ink: #17232d;
  --muted: #697780;
  --border: #dfe4e6;
  --success: #257a5a;
  --success-soft: #e8f4ef;
  --warning: #9b651a;
  --warning-soft: #fff4dd;
  --danger: #a33d3d;
  --danger-soft: #fbeaea;
  --shadow: 0 8px 28px rgba(12, 34, 53, .07);
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--canvas); color: var(--ink); font-family: "Segoe UI", Inter, Arial, sans-serif; font-size: 15px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.sidebar {
  background: var(--navy); bottom: 0; color: #fff; display: flex; flex-direction: column; left: 0;
  padding: 26px 18px 18px; position: fixed; top: 0; width: 252px; z-index: 30;
}
.sidebar-brand { align-items: center; display: flex; height: 74px; margin: 0 4px 20px; }
.brand-link { display: inline-flex; text-decoration: none; }
.brand-logo { display: block; height: 38px; object-fit: contain; width: auto; }
.sidebar .brand-logo { height: auto; max-width: none; object-fit: contain; width: 208px; }
.main-nav { display: flex; flex: 1; flex-direction: column; gap: 4px; overflow-y: auto; }
.main-nav a { align-items: center; border-radius: 8px; color: rgba(255,255,255,.72); display: flex; gap: 12px; min-height: 44px; padding: 9px 12px; text-decoration: none; transition: .16s ease; }
.main-nav a span { align-items: center; display: inline-flex; font-size: 17px; font-weight: 700; justify-content: center; min-width: 22px; }
.main-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.main-nav a.active { background: var(--champagne); color: var(--navy); font-weight: 700; }
.nav-options { margin: 0; }
.nav-options summary { align-items: center; border-radius: 8px; color: rgba(255,255,255,.72); cursor: pointer; display: flex; gap: 12px; list-style: none; min-height: 44px; padding: 9px 12px; transition: .16s ease; }
.nav-options summary::-webkit-details-marker { display: none; }
.nav-options summary::after { content: "⌄"; font-size: 14px; margin-left: auto; transition: transform .16s ease; }
.nav-options[open] summary::after { transform: rotate(180deg); }
.nav-options summary:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-options summary span { align-items: center; display: inline-flex; font-size: 20px; font-weight: 700; justify-content: center; min-width: 22px; }
.nav-options-panel { border-left: 1px solid rgba(255,255,255,.13); display: flex; flex-direction: column; gap: 2px; margin: 3px 0 5px 22px; padding-left: 7px; }
.main-nav .nav-options-panel a { font-size: .92rem; min-height: 38px; padding: 7px 10px; }
.sidebar-user { align-items: center; border-top: 1px solid rgba(255,255,255,.13); display: grid; gap: 10px; grid-template-columns: 36px 1fr auto; margin-top: 18px; padding: 18px 5px 2px; }
.sidebar-user .avatar { align-items: center; background: var(--champagne); border-radius: 50%; color: var(--navy); display: flex; font-weight: 800; height: 36px; justify-content: center; width: 36px; }
.sidebar-user strong, .sidebar-user small { display: block; line-height: 1.25; }
.sidebar-user strong { font-size: .86rem; }
.sidebar-user small { color: rgba(255,255,255,.55); font-size: .72rem; margin-top: 3px; }
.sidebar-user button { background: transparent; border: 0; color: rgba(255,255,255,.6); cursor: pointer; font-size: 20px; }

.app-main { margin-left: 252px; min-height: 100vh; padding: 36px 42px 60px; }
.mobile-header { display: none; }
.menu-overlay { display: none; }
.btn.mobile-inline-action { display: none; }
.page-header { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; margin: 0 0 26px; }
.page-header h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.035em; margin: 4px 0 0; }
.page-header p:not(.eyebrow) { color: var(--muted); margin: 8px 0 0; }
.page-title-row { align-items: center; display: flex; gap: 12px; }
.page-title-row h1 { min-width: 0; }
.btn.mobile-page-back { display: none; }
.btn.mobile-secondary-action { display: none; }
.eyebrow { color: var(--champagne); font-size: .7rem; font-weight: 800; letter-spacing: .16em; margin: 0; text-transform: uppercase; }
.eyebrow.light { color: #dcc1a7; }
.muted { color: var(--muted); }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.panel-header { align-items: center; border-bottom: 1px solid var(--border); display: flex; gap: 16px; justify-content: space-between; padding: 18px 22px; }
.panel-header h2 { font-size: 1.05rem; margin: 0; }
.panel-body { padding: 22px; }
.metric-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.dashboard-metrics { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.metric { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); min-height: 136px; overflow: hidden; padding: 22px; position: relative; }
.metric::after { background: var(--champagne-soft); border-radius: 50%; content: ""; height: 86px; position: absolute; right: -35px; top: -35px; width: 86px; }
.metric > * { position: relative; z-index: 1; }
.metric.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.metric.featured::after { background: rgba(200,161,122,.2); }
.metric-label { color: var(--muted); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.metric.featured .metric-label { color: rgba(255,255,255,.6); }
.metric-value { display: block; font-size: 1.85rem; font-weight: 750; letter-spacing: -.04em; margin-top: 13px; }
.metric-meta { color: var(--muted); display: block; font-size: .78rem; margin-top: 8px; }
.metric.featured .metric-meta { color: var(--champagne); }
.metric-link { color: inherit; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.metric-link:hover { border-color: var(--champagne); box-shadow: 0 10px 24px rgba(12,34,53,.1); transform: translateY(-2px); }
.metric-link:focus-visible { box-shadow: 0 0 0 3px rgba(200,161,122,.3); outline: none; }
.content-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); }
.content-grid > *, .detail-grid > * { min-width: 0; }
.quick-actions { display: grid; gap: 10px; }
.quick-action { align-items: center; border: 1px solid var(--border); border-radius: 9px; display: flex; gap: 12px; padding: 13px; text-decoration: none; }
.quick-action:hover { border-color: var(--champagne); background: #fdfaf7; }
.quick-action-icon { align-items: center; background: var(--champagne-soft); border-radius: 8px; color: var(--navy); display: flex; font-weight: 800; height: 38px; justify-content: center; width: 38px; }
.quick-action strong, .quick-action small { display: block; }
.quick-action small { color: var(--muted); margin-top: 2px; }

.btn { align-items: center; border: 1px solid transparent; border-radius: 7px; cursor: pointer; display: inline-flex; font-weight: 700; gap: 7px; justify-content: center; min-height: 40px; padding: 8px 14px; text-decoration: none; transition: .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-secondary { background: var(--champagne); color: var(--navy); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--ink); }
.btn-danger { background: var(--danger-soft); border-color: #eccccc; color: var(--danger); }
.btn-small { font-size: .78rem; min-height: 32px; padding: 5px 9px; }
.btn-block { width: 100%; }
.actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { margin: 0; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th { background: #fafafa; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .07em; padding: 11px 15px; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { border-top: 1px solid var(--border); padding: 14px 15px; vertical-align: middle; }
tbody tr:hover { background: #fdfcfb; }
td strong, td small { display: block; }
td small { color: var(--muted); margin-top: 3px; }
.money { font-variant-numeric: tabular-nums; font-weight: 750; white-space: nowrap; }
.empty-state { color: var(--muted); padding: 46px 22px; text-align: center; }
.empty-state strong { color: var(--ink); display: block; font-size: 1.05rem; margin-bottom: 6px; }
.badge { border-radius: 999px; display: inline-flex; font-size: .72rem; font-weight: 750; padding: 5px 9px; white-space: nowrap; }
.badge-active, .badge-paid, .badge-approved, .badge-sent, .badge-ready { background: var(--success-soft); color: var(--success); }
.badge-pending, .badge-submitted, .badge-prepared, .badge-draft { background: var(--warning-soft); color: var(--warning); }
.badge-ended, .badge-failed, .badge-rejected, .badge-cancelled, .badge-overdue { background: var(--danger-soft); color: var(--danger); }
.badge-neutral { background: #edf1f3; color: #596871; }
.badge-owned { background: #e8f4ef; color: #257a5a; }
.badge-managed { background: #f3e9df; color: #775333; }
.property-access-line { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.property-access-line small { margin: 0; }
.management-access-panel { flex-direction: column; margin-bottom: 22px; }
.management-team-panel { flex-direction: column; margin-bottom: 0; }
.management-access-panel > .table-wrap,
.management-team-panel > .table-wrap { width: 100%; }
.panel-header > div > small { color: var(--muted); display: block; margin-top: 4px; }

.form-panel { margin: 0 auto; max-width: 980px; padding: 26px; }
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .77rem; font-weight: 750; margin: 0 0 7px; }
.field input:not([type="checkbox"]), .field select, .field textarea { background: #fff; border: 1px solid #ccd4d8; border-radius: 7px; color: var(--ink); min-height: 43px; outline: none; padding: 9px 11px; transition: .15s ease; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(200,161,122,.17); }
.field select[data-utility-colors] { border-left-width: 5px; }
.field select[data-utility-colors]:not([data-selected-utility-category]) { border-left-color: #ccd4d8; }
.field select[data-selected-utility-category="water"] { background-color: #eef7ff; border-left-color: #2f80ed; }
.field select[data-selected-utility-category="electricity"] { background-color: #fffbea; border-left-color: #e2b600; }
.field select[data-selected-utility-category="gas"] { background-color: #fff4e8; border-left-color: #e98124; }
.field select[data-selected-utility-category="heating"] { background-color: #fff0f0; border-left-color: #d94a4a; }
.field select[data-selected-utility-category="waste"] { background-color: #edf8f1; border-left-color: #329b5f; }
.field select[data-selected-utility-category="internet"] { background-color: #f5efff; border-left-color: #815ac0; }
.field select[data-selected-utility-category="other"] { background-color: #f3f5f6; border-left-color: #7b8991; }
select[data-utility-colors] option[data-utility-category="water"] { background: #eef7ff; }
select[data-utility-colors] option[data-utility-category="electricity"] { background: #fffbea; }
select[data-utility-colors] option[data-utility-category="gas"] { background: #fff4e8; }
select[data-utility-colors] option[data-utility-category="heating"] { background: #fff0f0; }
select[data-utility-colors] option[data-utility-category="waste"] { background: #edf8f1; }
select[data-utility-colors] option[data-utility-category="internet"] { background: #f5efff; }
select[data-utility-colors] option[data-utility-category="other"] { background: #f3f5f6; }
.field-checkbox { align-items: center; display: flex; gap: 8px; padding-top: 24px; }
.field-checkbox label { margin: 0; }
.field-checkbox input { accent-color: var(--navy); height: 18px; width: 18px; }
.field small { color: var(--muted); display: block; font-size: .72rem; margin-top: 5px; }
.field-error { color: var(--danger); display: block; font-size: .75rem; margin-top: 5px; }
.notification-channel-field > div { display: flex; flex-wrap: wrap; gap: 8px; }
.notification-channel-field > div > div { margin: 0; }
.notification-channel-field label:has(input) { align-items: center; background: #fbfcfc; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; display: flex; gap: 8px; margin: 0; padding: 10px 12px; }
.notification-channel-field input { accent-color: var(--navy); height: 17px; width: 17px; }
.push-device-panel { align-items: center; background: var(--champagne-soft); border: 1px solid #e4cfba; border-radius: 9px; display: flex; gap: 14px; justify-content: space-between; padding: 15px 17px; }
.push-device-panel strong, .push-device-panel small { display: block; }
.push-device-panel small { margin-top: 4px; }
.push-device-panel button:disabled { cursor: not-allowed; opacity: .6; }
.form-actions { border-top: 1px solid var(--border); display: flex; gap: 9px; margin-top: 26px; padding-top: 20px; }
.property-form { margin: 0 auto; max-width: 1040px; }
.form-section { margin-bottom: 18px; overflow: hidden; padding: 0; }
.form-section-heading { align-items: center; background: linear-gradient(90deg, #fbf8f5, #fff); border-bottom: 1px solid var(--border); display: flex; gap: 14px; padding: 18px 24px; }
.form-section-heading > span { align-items: center; background: var(--navy); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 34px; font-weight: 800; height: 34px; justify-content: center; }
.form-section-title { flex: 1; min-width: 0; }
.form-heading-actions { display: flex; flex: 0 0 auto; gap: 8px; margin-left: auto; }
.form-section-heading h2 { font-size: 1rem; margin: 0; }
.form-section-heading p { color: var(--muted); font-size: .78rem; margin: 3px 0 0; }
.form-section > .form-grid, .address-grid { padding: 24px; }
.address-grid { display: grid; gap: 20px; grid-template-columns: minmax(130px, .7fr) minmax(130px, .7fr) minmax(130px, .7fr); }
.address-city { grid-column: span 2; }
.address-street { grid-column: span 2; }
.required-mark { color: var(--danger); margin-left: 3px; }
.property-form-actions { align-items: center; background: #fbfcfc; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; padding: 16px 24px; }
.property-form-actions .btn-primary { min-width: 170px; }
.property-stats-two { grid-template-columns: repeat(2, 1fr); }

.messages { margin-bottom: 18px; }
.alert { border: 1px solid; border-radius: 8px; margin-bottom: 9px; padding: 12px 15px; }
.alert-success { background: var(--success-soft); border-color: #c7e3d7; color: var(--success); }
.alert-warning { background: var(--warning-soft); border-color: #f0d9a8; color: var(--warning); }
.alert-error { background: var(--danger-soft); border-color: #eccccc; color: var(--danger); }
.alert-info { background: #edf5f9; border-color: #cfe0e9; color: #35647d; }
.errorlist { margin: 5px 0 0; padding-left: 20px; }
.billing-dialog {
  background: var(--panel);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(12,34,53,.26);
  color: var(--ink);
  margin: auto;
  max-height: min(82dvh, 760px);
  max-width: 680px;
  padding: 0;
  width: calc(100% - 32px);
}
.billing-dialog::backdrop { background: rgba(12,34,53,.58); backdrop-filter: blur(3px); }
.billing-dialog > form { display: flex; flex-direction: column; max-height: min(82dvh, 760px); }
.billing-dialog-header { align-items: flex-start; border-bottom: 1px solid var(--border); display: flex; gap: 18px; padding: 24px; }
.billing-dialog-header > div { flex: 1; min-width: 0; }
.billing-dialog-header h2 { font-size: 1.45rem; margin: 5px 0 7px; }
.billing-dialog-header p:not(.eyebrow) { color: var(--muted); line-height: 1.5; margin: 0; }
.dialog-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 28px; line-height: 1; padding: 2px 5px; }
.billing-select-all { align-items: center; background: #fbf8f5; border-bottom: 1px solid var(--border); cursor: pointer; display: flex; font-weight: 750; gap: 10px; padding: 13px 24px; }
.billing-select-all input, .billing-property-option input { accent-color: var(--navy); height: 18px; width: 18px; }
.billing-property-list { overflow-y: auto; overscroll-behavior: contain; padding: 10px 24px; }
.billing-property-option { align-items: flex-start; border-bottom: 1px solid var(--border); cursor: pointer; display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px 0; }
.billing-property-option:last-child { border-bottom: 0; }
.billing-property-copy strong, .billing-property-copy small { display: block; }
.billing-property-copy small { color: var(--muted); line-height: 1.45; margin-top: 4px; }
.billing-property-copy .billing-ready { color: var(--success); }
.billing-property-warning { background: linear-gradient(90deg, transparent, rgba(255,244,221,.48), transparent); }
.billing-dialog-actions { border-top: 1px solid var(--border); display: flex; gap: 9px; justify-content: flex-end; padding: 16px 24px; }
.billing-dialog-actions button:disabled { cursor: not-allowed; opacity: .55; }

.property-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.property-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; min-height: 210px; padding: 20px; position: relative; text-decoration: none; }
.property-card:hover { border-color: var(--champagne); transform: translateY(-2px); }
.property-card-top { align-items: flex-start; display: flex; justify-content: space-between; }
.property-kind { align-items: center; background: var(--champagne-soft); border-radius: 9px; color: var(--navy); display: flex; font-size: 22px; height: 44px; justify-content: center; width: 44px; }
.property-card h2 { font-size: 1.05rem; margin: 18px 0 5px; }
.property-card p { color: var(--muted); margin: 0; }
.property-stats { border-top: 1px solid var(--border); display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-top: 20px; padding-top: 14px; }
.property-stats span { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.property-stats strong { display: block; font-size: .9rem; margin-top: 3px; }
.detail-hero { background: var(--navy); border-radius: var(--radius); color: #fff; margin-bottom: 22px; overflow: hidden; padding: 28px; position: relative; }
.detail-hero::after { border: 1px solid rgba(200,161,122,.35); border-radius: 50%; content: ""; height: 220px; position: absolute; right: -60px; top: -100px; width: 220px; }
.detail-hero h1 { margin: 5px 0 8px; }
.detail-hero p { color: rgba(255,255,255,.65); margin: 0; }
.detail-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.detail-list { margin: 0; }
.detail-list > div { align-items: baseline; border-bottom: 1px solid var(--border); display: flex; gap: 12px; justify-content: space-between; padding: 12px 0; }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: .78rem; }
.detail-list dd { font-weight: 700; margin: 0; text-align: right; }
.lease-card { border-bottom: 1px solid var(--border); display: grid; gap: 10px; padding: 14px 0; }
.lease-card:first-child { padding-top: 0; }
.lease-card:last-child { border-bottom: 0; padding-bottom: 0; }
.lease-card small { color: var(--muted); display: block; margin-top: 3px; }
.lease-card .btn { justify-self: start; }
.schedule-list { background: var(--canvas); border-radius: 8px; display: grid; gap: 4px; padding: 10px 12px; }
.schedule-panel { margin-bottom: 22px; }
.schedule-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.schedule-grid > div { background: var(--canvas); border-radius: 8px; padding: 12px; }
.schedule-grid span, .schedule-grid small { color: var(--muted); display: block; margin-top: 3px; }
.meter-entry { border-bottom: 1px solid var(--border); padding: 8px 0; }
.meter-entry:first-child { padding-top: 0; }
.meter-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.meter-entry .btn { margin-top: 6px; }
.invite-link { display: block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-signup-card { margin: 30px 0; max-width: 520px; }
.dashboard-all-mobile { display: none; }
.dashboard-content { align-items: stretch; min-height: 0; }
.dashboard-recent, .dashboard-actions { display: flex; flex-direction: column; min-height: 0; }
.dashboard-actions .panel-body { flex: 1; }
.dashboard-recent-header { align-items: center; display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(150px, auto) auto; }
.dashboard-recent-header h2 { grid-column: 1; grid-row: 1; }
.dashboard-recent-header > .btn { grid-column: 3; grid-row: 1; }
.dashboard-recent-header > .btn { white-space: nowrap; }
.dashboard-charge-filters { align-items: flex-end; display: flex; gap: 8px; grid-column: 2; grid-row: 1; justify-content: flex-end; min-width: 0; }
.dashboard-charge-filters label { min-width: 145px; }
.dashboard-charge-filters label span { color: var(--muted); display: block; font-size: .62rem; font-weight: 800; letter-spacing: .06em; margin-bottom: 4px; text-transform: uppercase; }
.dashboard-charge-filters input, .dashboard-charge-filters select { background: #fff; border: 1px solid #ccd4d8; border-radius: 7px; color: var(--ink); height: 34px; max-width: 190px; padding: 5px 8px; width: 100%; }
.dashboard-recent > .table-wrap { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.dashboard-recent > .table-wrap th { position: sticky; top: 0; z-index: 2; }
.dashboard-payment-action form { display: flex; justify-content: flex-end; }
.dashboard-recent > .pagination { border-bottom: 0; border-left: 0; border-right: 0; border-radius: 0 0 var(--radius) var(--radius); flex: 0 0 auto; margin: 0; }
.dashboard-actions .panel-body { overflow: auto; padding: 18px; }
.dashboard-actions .quick-actions { align-content: start; gap: 8px; grid-auto-rows: max-content; }
.dashboard-actions .quick-action { padding: 10px 12px; }

@media (min-width: 861px) {
  .dashboard-main {
    display: flex;
    flex-direction: column;
    height: var(--app-height);
    min-height: 0;
    overflow: hidden;
    padding-bottom: 36px;
  }
  .dashboard-main > .dashboard-header,
  .dashboard-main > .dashboard-metrics { flex: 0 0 auto; }
  .dashboard-main > .dashboard-content { flex: 1 1 auto; }
  .dashboard-header { margin-bottom: 16px; }
  .dashboard-header h1 br { display: none; }
  .dashboard-metrics { margin-bottom: 16px; }
  .dashboard-metrics .metric { min-height: 112px; padding: 17px 20px; }
  .dashboard-metrics .metric-value { margin-top: 9px; }
  .dashboard-metrics .metric-meta { margin-top: 5px; }
}

.auth-body { background: var(--canvas); }
.auth-main { min-height: 100vh; }
.login-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(380px, .9fr) minmax(500px, 1.1fr); }
.login-brand-panel { background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(38px, 6vw, 76px); position: relative; }
.login-brand-panel::after { border: 1px solid rgba(200,161,122,.22); border-radius: 50%; bottom: -220px; content: ""; height: 560px; position: absolute; right: -240px; width: 560px; }
.login-logo { height: auto; max-width: 230px; }
.login-brand-panel h1 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); letter-spacing: -.05em; line-height: 1.04; margin: 14px 0 22px; max-width: 680px; }
.login-brand-panel p:not(.eyebrow) { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
.login-brand-panel small { color: rgba(255,255,255,.4); }
.login-form-panel { align-items: center; display: flex; justify-content: center; padding: 40px; }
.login-card { max-width: 420px; width: 100%; }
.login-symbol { align-items: center; background: var(--champagne-soft); border-radius: 12px; display: flex; height: 58px; justify-content: center; margin-bottom: 26px; width: 58px; }
.login-symbol img { height: 42px; object-fit: contain; width: 42px; }
.login-card h2 { font-size: 2rem; letter-spacing: -.035em; margin: 5px 0 8px; }
.login-card > .muted { margin: 0 0 28px; }
.login-card .field { margin-bottom: 17px; }
.login-card .btn { margin-top: 8px; min-height: 48px; }
.security-note { color: var(--muted); font-size: .73rem; margin-top: 20px; text-align: center; }
.list-filters { margin-bottom: 16px; padding: 16px; }
.filter-grid { align-items: end; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(130px, 1fr)) auto; }
.property-filter-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)) auto; }
.property-filter-grid .filter-actions { grid-column: auto; }
.filter-grid .field { margin: 0; }
.filter-actions { display: flex; gap: 7px; grid-column: -2 / -1; justify-content: flex-end; }
.mobile-filter-navigation { display: contents; }
.btn.mobile-inline-back { display: none; }
.btn.mobile-detail-back { display: none; }
.mobile-filter-toolbar { display: none; }
.mobile-only-filter-panel { display: none; }
.notification-mobile-card { display: none; }
form.list-filters:has(+ section.panel > .table-wrap) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
form.list-filters + section.panel:has(> .table-wrap) { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
form.mobile-only-filter-panel + section.panel:has(> .table-wrap) { border-top: 1px solid var(--border); border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
section.panel > .table-wrap { max-height: min(62dvh, 680px); overflow: auto; overscroll-behavior: contain; }
section.panel > .table-wrap th { background: #f8f8f7; position: sticky; top: 0; z-index: 3; }
.fixed-list-main {
  display: flex;
  flex-direction: column;
  height: var(--app-height);
  min-height: 0;
  overflow: hidden;
}
.fixed-list-main > section.panel {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}
.fixed-list-main > section.panel > .table-wrap {
  flex: 1 1 auto;
  max-height: none;
  width: 100%;
}
.property-list-main > .property-grid {
  align-content: start;
  flex: 1 1 auto;
  grid-auto-rows: max-content;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.panel:has(+ .pagination) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pagination {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
  margin: -1px 0 0;
  min-height: 58px;
  padding: 9px 14px;
}
.app-main > .pagination { flex: 0 0 auto; }
.pagination-side { display: flex; }
.pagination-side-right { justify-content: flex-end; }
.pagination-pages { display: flex; gap: 5px; max-width: min(62vw, 720px); overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.pagination-arrow, .pagination-number {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 750;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 8px;
  text-decoration: none;
}
.pagination-arrow:hover, .pagination-number:hover { border-color: var(--champagne); }
.pagination-number.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination-ellipsis {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 750;
  height: 34px;
  justify-content: center;
  min-width: 22px;
}
.property-grid + .pagination { border-radius: var(--radius); margin-top: 16px; }

@media (max-width: 1450px) {
  .dashboard-recent-header {
    gap: 9px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dashboard-recent-header h2 { grid-column: 1; grid-row: 1; }
  .dashboard-recent-header > .btn { grid-column: 2; grid-row: 1; }
  .dashboard-recent-header .dashboard-charge-filters {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .dashboard-charge-filters label { flex: 1 1 0; min-width: 0; }
  .dashboard-charge-filters input,
  .dashboard-charge-filters select { max-width: none; min-width: 0; }
}
@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .mobile-header { align-items: center; background: #fff; border-bottom: 1px solid var(--border); display: flex; height: calc(58px + env(safe-area-inset-top)); justify-content: space-between; left: 0; padding: calc(8px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 8px calc(14px + env(safe-area-inset-left)); position: fixed; right: 0; top: 0; z-index: 20; }
  .mobile-header .brand-link { left: 50%; position: absolute; transform: translateX(-50%); }
  .mobile-header .brand-logo { height: 30px; }
  .menu-toggle { background: transparent; border: 0; color: var(--navy); font-size: 21px; min-height: 40px; min-width: 40px; padding: 6px; }
  .mobile-header-spacer { height: 40px; margin-left: auto; width: 40px; }
  .desktop-detail-back,
  .btn.mobile-detail-back,
  .form-heading-back .btn:last-child {
    background: var(--champagne-soft);
    border-color: var(--champagne);
    color: var(--navy);
  }
  .btn.mobile-detail-back { display: inline-flex; }
  .sidebar { box-shadow: 8px 0 28px rgba(0,0,0,.18); padding-bottom: calc(18px + env(safe-area-inset-bottom)); padding-left: calc(18px + env(safe-area-inset-left)); padding-top: calc(26px + env(safe-area-inset-top)); transform: translateX(-105%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .menu-overlay { background: rgba(12,34,53,.45); inset: 0; position: fixed; z-index: 25; }
  .menu-overlay.open { display: block; }
  .app-main { margin-left: 0; padding: calc(78px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)); }
  .content-grid, .detail-grid { grid-template-columns: 1fr; }
  .dashboard-main {
    display: flex;
    flex-direction: column;
    height: var(--app-height);
    min-height: 0;
    overflow: hidden;
    padding-bottom: 14px;
  }
  .dashboard-main > .dashboard-header,
  .dashboard-main > .dashboard-metrics { flex: 0 0 auto; }
  .dashboard-main > .dashboard-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  .dashboard-manager-metric { display: none; }
  .dashboard-actions { flex: 0 0 auto; order: -1; }
  .dashboard-actions .panel-body { flex: 0 0 auto; overflow: hidden; }
  .dashboard-actions .quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-recent { flex: 1 1 auto; overflow: hidden; }
  .dashboard-recent > .table-wrap { flex: 1 1 auto; max-height: none; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand-panel { display: none; }
  .login-form-panel { min-height: 100vh; padding: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 14px; }
  .app-main { padding: calc(72px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left)); }
  .page-header { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .page-header > div:first-child { width: 100%; }
  .page-header h1 { font-size: 1.55rem; margin-top: 2px; }
  .page-header p:not(.eyebrow) { margin-top: 5px; }
  .page-title-row { justify-content: space-between; width: 100%; }
  .btn.mobile-page-back { display: inline-flex; flex: 0 0 auto; }
  .btn.mobile-secondary-action { display: inline-flex; }
  .page-header > .actions { align-self: stretch; justify-content: flex-end; width: 100%; }
  .page-header > .btn { align-self: flex-end; }
  .media-header-actions { align-self: stretch; justify-content: flex-end; }
  .form-heading-back { display: flex; }
  .eyebrow { font-size: .64rem; letter-spacing: .13em; }

  .metric-grid, .property-grid, .form-grid { grid-template-columns: 1fr; }
  .metric-grid { gap: 10px; margin-bottom: 16px; }
  .field-wide { grid-column: auto; }
  .metric { min-height: 0; padding: 16px; }
  .metric::after { height: 68px; right: -30px; top: -30px; width: 68px; }
  .metric-value { font-size: 1.5rem; margin-top: 8px; }
  .metric-meta { margin-top: 5px; }
  .content-grid, .detail-grid { gap: 14px; }

  .panel-header { gap: 10px; padding: 13px 15px; }
  .panel-header h2 { font-size: .96rem; }
  .property-utilities-header {
    align-items: stretch;
    flex-direction: column;
  }
  .property-utilities-header .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .property-utilities-header .btn { width: 100%; }
  .panel-body { padding: 15px; }
  .quick-actions { gap: 8px; }
  .quick-action { gap: 10px; padding: 10px; }
  .quick-action-icon { border-radius: 7px; height: 34px; width: 34px; }

  .btn { min-height: 38px; padding: 7px 11px; }
  .btn-small { font-size: .74rem; min-height: 30px; padding: 4px 8px; }
  .actions { gap: 6px; }
  .badge { font-size: .68rem; padding: 4px 7px; }

  .form-panel { padding: 14px; }
  .form-grid { gap: 14px; }
  .field label { margin-bottom: 5px; }
  .field input:not([type="checkbox"]), .field select, .field textarea { min-height: 39px; padding: 7px 9px; }
  .field-checkbox { padding-top: 10px; }
  .field-checkbox input { height: 16px; width: 16px; }
  .form-actions { gap: 7px; margin-top: 18px; padding-top: 14px; }
  .form-section { margin-bottom: 12px; }
  .form-section-heading { gap: 10px; padding: 13px 15px; }
  .form-section-heading > span { flex-basis: 30px; height: 30px; width: 30px; }
  .form-section-heading h2 { font-size: .94rem; }
  .form-section-heading p { font-size: .7rem; }
  .form-heading-actions .btn { min-height: 34px; padding: 5px 8px; }
  .address-grid { gap: 14px; grid-template-columns: 1fr; padding: 14px; }
  .address-city, .address-street { grid-column: auto; }
  .form-section > .form-grid { padding: 14px; }
  .notification-channel-field > div { align-items: stretch; flex-direction: column; }
  .push-device-panel { align-items: stretch; flex-direction: column; }
  .property-form-actions { gap: 7px; padding: 12px 14px; }
  .property-form-actions .btn-primary { min-width: 0; }

  .table-wrap { font-size: .86rem; }
  th { font-size: .64rem; padding: 8px 9px; }
  td { padding: 10px 9px; }
  .empty-state { padding: 30px 15px; }

  .property-grid { gap: 11px; }
  .property-card { min-height: 0; padding: 15px; }
  .property-kind { font-size: 19px; height: 38px; width: 38px; }
  .property-card h2 { font-size: .98rem; margin: 12px 0 4px; }
  .property-stats { margin-top: 14px; padding-top: 11px; }
  .detail-hero { margin-bottom: 15px; padding: 19px; }
  .detail-hero h1 { font-size: 1.5rem; }
  .detail-list > div { gap: 8px; padding: 9px 0; }
  .lease-card { gap: 7px; padding: 10px 0; }
  .schedule-panel { margin-bottom: 14px; }
  .schedule-grid { gap: 8px; }
  .schedule-grid > div { padding: 9px; }
  .schedule-list { padding: 8px 10px; }
  .alert { padding: 9px 11px; }

  .login-form-panel { padding: 18px; }
  .login-symbol { border-radius: 10px; height: 48px; margin-bottom: 18px; width: 48px; }
  .login-symbol img { height: 34px; width: 34px; }
  .login-card h2 { font-size: 1.65rem; margin-top: 3px; }
  .login-card > .muted { margin-bottom: 20px; }
  .login-card .field { margin-bottom: 13px; }
  .login-card .btn { min-height: 42px; }
  .security-note { margin-top: 16px; }
  .owner-signup-card { margin: 18px 0; }

  .dashboard-header { gap: 6px; margin-bottom: 8px; }
  .dashboard-header .btn { align-self: flex-start; }
  .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
  .dashboard-metrics .metric { min-height: 84px; padding: 10px 12px; }
  .dashboard-metrics .metric-label { font-size: .67rem; line-height: 1.25; }
  .dashboard-metrics .metric-value { font-size: 1.35rem; margin-top: 7px; }
  .dashboard-metrics .metric-meta { font-size: .68rem; line-height: 1.3; margin-top: 4px; }

  .dashboard-recent .table-wrap { max-height: none; overflow: auto; }
  .dashboard-recent table,
  .dashboard-recent tbody { display: block; }
  .dashboard-recent thead { display: none; }
  .dashboard-recent tbody tr:not(.empty-row) {
    display: grid;
    gap: 10px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 13px 15px;
  }
  .dashboard-recent tbody tr + tr { border-top: 1px solid var(--border); }
  .dashboard-recent tbody td {
    border: 0;
    min-width: 0;
    padding: 0;
  }
  .dashboard-recent tbody tr:not(.empty-row) td:first-child { grid-column: 1 / -1; }
  .dashboard-recent tbody tr:not(.empty-row) td.dashboard-payment-action { grid-column: 1 / -1; }
  .dashboard-recent tbody tr:not(.empty-row) td::before {
    color: var(--muted);
    content: attr(data-label);
    display: block;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 3px;
    text-transform: uppercase;
  }
  .dashboard-recent .empty-row,
  .dashboard-recent .empty-cell { display: block; }
  .dashboard-recent .empty-state { padding: 24px 14px; }
  .dashboard-recent-header { gap: 9px; grid-template-columns: minmax(0, 1fr) auto; }
  .dashboard-recent-header h2 { grid-column: 1; grid-row: 1; }
  .dashboard-recent-header > .btn { grid-column: 2; grid-row: 1; }
  .dashboard-charge-filters { width: 100%; }
  .dashboard-recent-header .dashboard-charge-filters { grid-column: 1 / -1; grid-row: 2; }
  .dashboard-charge-filters label { flex: 1; min-width: 0; }
  .dashboard-charge-filters input, .dashboard-charge-filters select { max-width: none; }

  .mobile-card-table { display: block; }
  .mobile-card-table tbody { display: block; }
  .mobile-card-table thead { display: none; }
  .mobile-card-table tbody tr:not(.empty-row) {
    display: grid;
    gap: 10px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 13px 15px;
  }
  .mobile-card-table tbody tr + tr { border-top: 1px solid var(--border); }
  .mobile-card-table tbody td {
    border: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0;
  }
  .mobile-card-table tbody tr:not(.empty-row) td:first-child,
  .mobile-card-table .mobile-card-actions { grid-column: 1 / -1; }
  .mobile-card-table tbody tr:not(.empty-row) td::before {
    color: var(--muted);
    content: attr(data-label);
    display: block;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 3px;
    text-transform: uppercase;
  }
  .mobile-card-table .empty-row,
  .mobile-card-table .empty-cell { display: block; }
  .mobile-card-table .empty-state { padding: 24px 14px; }
  .filtered-page-header .mobile-page-back,
  .filtered-page-header > .btn,
  .filtered-page-header > .actions { display: none; }
  .form-page-header .mobile-page-back,
  .form-page-header .mobile-secondary-action { display: none; }
  .filtered-page-header { margin-bottom: 10px; }
  .list-filters, .mobile-only-filter-panel { display: block; padding: 12px; }
  .mobile-filter-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin: -2px 0 12px;
    padding-bottom: 11px;
  }
  form.list-filters:not(.mobile-only-filter-panel) > .mobile-filter-toolbar { display: none; }
  .fixed-list-main .mobile-filter-toolbar > .btn:first-child { display: none; }
  .mobile-filter-actions { display: flex; flex: 1; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
  .btn.mobile-inline-action { display: inline-flex; }
  .btn.mobile-inline-action,
  .mobile-filter-toolbar .btn.mobile-toolbar-add {
    background: var(--champagne);
    border-color: var(--champagne);
    color: var(--navy);
  }
  .filter-actions > button[type="submit"] {
    display: none;
  }
  .filter-actions .btn-ghost { background: #fff; }
  .filter-actions .btn.mobile-inline-action.btn-ghost {
    background: #fff;
    border-color: var(--champagne);
    color: var(--navy);
  }
  .mobile-filter-navigation {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
  }
  .btn.mobile-inline-back {
    background: var(--champagne-soft);
    border-color: var(--champagne);
    color: var(--navy);
    display: inline-flex;
  }
  .mobile-filter-toolbar .btn { min-height: 34px; padding: 5px 9px; }
  .standalone-mobile-actions { justify-content: flex-end; }
  .mobile-form-toolbar { display: none; margin: 0; padding: 11px 14px; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-field-wide-mobile, .filter-actions { grid-column: 1 / -1; }
  .property-filter-grid .filter-actions { grid-column: 1 / -1; }
  .filter-actions {
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-end;
  }
  .filter-actions .btn {
    font-size: .72rem;
    min-height: 34px;
    padding: 5px 7px;
    white-space: nowrap;
  }
  form.list-filters:has(.filter-actions) {
    padding-left: 8px;
    padding-right: 8px;
  }
  .charge-filter-actions {
    flex-wrap: nowrap;
    gap: 2px;
  }
  .charge-filter-actions .btn {
    font-size: .68rem;
    min-height: 32px;
    padding: 4px 5px;
    white-space: nowrap;
  }
  .charge-filter-actions .mobile-filter-navigation { gap: 2px; }
  form.list-filters:has(.charge-filter-actions) {
    padding-left: 8px;
    padding-right: 8px;
  }
  .notification-table .notification-desktop-cell,
  .notification-table .notification-desktop-only { display: none; }
  .notification-table .notification-date-cell { display: block; padding: 0; }
  .mobile-card-table.notification-table tbody tr:not(.empty-row) .notification-date-cell::before { display: none; }
  .notification-mobile-card { display: block; padding: 15px; }
  .notification-mobile-heading { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
  .notification-mobile-heading > div { min-width: 0; }
  .notification-mobile-heading strong { font-size: 1rem; line-height: 1.35; }
  .notification-field-label { color: var(--muted); display: block; font-size: .61rem; font-weight: 800; letter-spacing: .07em; margin-bottom: 4px; text-transform: uppercase; }
  .notification-mobile-section { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 11px; }
  .notification-mobile-section strong { color: var(--navy); }
  .notification-mobile-section p { line-height: 1.55; margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
  .notification-mobile-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .68rem; gap: 6px 12px; margin-top: 13px; }
  .notification-mobile-error { background: var(--danger-soft); border-radius: 7px; color: var(--danger); margin-top: 12px; padding: 9px 10px; }
  section.panel > .table-wrap { max-height: 54dvh; }
  .pagination { gap: 6px; min-height: 50px; padding: 7px 9px; }
  .pagination-pages { gap: 4px; max-width: 64vw; }
  .pagination-arrow, .pagination-number { border-radius: 6px; font-size: .72rem; height: 30px; min-width: 30px; padding: 0 6px; }
  .pagination-ellipsis { font-size: .75rem; height: 30px; min-width: 16px; }
  .billing-dialog { border-radius: 13px; max-height: calc(100dvh - 24px); width: calc(100% - 20px); }
  .billing-dialog > form { max-height: calc(100dvh - 24px); }
  .billing-dialog-header { padding: 18px; }
  .billing-dialog-header h2 { font-size: 1.2rem; }
  .billing-select-all { padding: 12px 18px; }
  .billing-property-list { padding: 6px 18px; }
  .billing-property-option { grid-template-columns: auto minmax(0, 1fr); }
  .billing-property-option > .badge { grid-column: 2; justify-self: start; }
  .billing-dialog-actions { padding: 13px 18px; }

  .dashboard-content { gap: 8px; }
  .dashboard-actions .panel-header { padding: 8px 12px; }
  .dashboard-actions .panel-body { padding: 8px; }
  .dashboard-actions .quick-actions {
    gap: 7px;
  }
  .dashboard-actions .quick-action {
    align-items: flex-start;
    flex-direction: column;
    min-height: 84px;
    padding: 10px;
  }
  .dashboard-actions .quick-action > span:last-child { min-width: 0; }
  .dashboard-actions .quick-action strong { font-size: .82rem; line-height: 1.25; }
  .dashboard-actions .quick-action small { display: none; }
  .dashboard-all-desktop { display: none; }
  .dashboard-all-mobile { display: inline; }
}
@media (display-mode: standalone) and (max-width: 860px) {
  html, body { height: var(--app-height); min-height: 0; overflow: hidden; }
  .app-main {
    height: var(--app-height);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
  }
  .dashboard-main,
  .fixed-list-main { overflow: hidden; }
}
@media (max-width: 360px) {
  .dashboard-header h1 { font-size: 1.45rem; }
  .dashboard-metrics .metric { padding: 11px; }
  .dashboard-metrics .metric-label { font-size: .61rem; letter-spacing: .045em; }
  .dashboard-metrics .metric-value { font-size: 1.25rem; }
  .dashboard-metrics .metric-meta { font-size: .64rem; }
  .dashboard-recent .panel-header { padding: 12px; }
  .dashboard-recent .panel-header h2 { font-size: .9rem; }
  .dashboard-actions .quick-action { min-height: 78px; padding: 8px; }
  .dashboard-actions .quick-action strong { font-size: .76rem; }
  .dashboard-actions .quick-action small { font-size: .64rem; }
}
