/* ============================================================
   租房管家 · 视觉层
   主题：premium finance utility
   冷灰底 + 白色卡片 + 柔和环境阴影 + 单一松绿主色
   朱红仅用于欠款/危险语义，蓝色仅作语义提示
   全应用唯一的渐变在 .dash-hero 深松绿面板上
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f1f4f6;
  --surface-strong: #e6ebef;
  --ink: #0f1722;
  --ink-soft: #3c4653;
  --muted: #64748b;
  --line: #e6ebf0;
  --line-strong: #d3dce4;
  --mint: #0d8a63;
  --mint-dark: #0a6b4d;
  --mint-soft: #e1f3ea;
  --mint-line: #bfe3d2;
  --amber: #c47a0a;
  --amber-dark: #8f5a05;
  --amber-soft: #fdf2dd;
  --amber-line: #eed9ae;
  --red: #dc4446;
  --red-dark: #b33234;
  --red-soft: #fdeaea;
  --red-line: #f3c6c6;
  --blue: #2563eb;
  --blue-text: #1d4fd7;
  --blue-soft: #e8effd;
  --shadow: 0 24px 60px rgba(15, 23, 34, 0.22);
  --shadow-card: 0 1px 2px rgba(15, 23, 34, 0.04), 0 6px 18px rgba(15, 23, 34, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 23, 34, 0.05), 0 10px 24px rgba(15, 23, 34, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --app-visual-height: 100svh;
  --keyboard-inset: 0px;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  letter-spacing: 0;
}

::selection {
  background: var(--mint-soft);
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(13, 138, 99, 0.45);
  outline-offset: 2px;
}

a {
  color: inherit;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 440px);
  min-height: var(--app-visual-height, 100svh);
  height: var(--app-visual-height, 100svh);
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}

.app-loading {
  display: grid;
  min-height: 100svh;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.app-loading strong {
  font-size: 24px;
}

.app-loading span {
  color: var(--muted);
}

.app-header {
  position: relative;
  z-index: 20;
  padding: calc(12px + env(safe-area-inset-top)) 16px 9px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.top-line,
.header-actions,
.section-head,
.row-between,
.sheet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-stack {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.app-title {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.header-actions {
  flex: 0 0 auto;
}

.mini-button,
.text-button,
.icon-text-button,
.pill-button,
.primary-button,
.secondary-button,
.danger-button,
.ghost-button,
.room-ledger-link,
.rent-command-card,
.coverage-entry-card {
  min-height: 42px;
  border-radius: var(--radius);
  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.mini-button,
.text-button,
.icon-text-button,
.pill-button,
.primary-button,
.secondary-button,
.danger-button,
.ghost-button {
  border-radius: var(--radius-sm);
}

.mini-button:active,
.text-button:active,
.icon-text-button:active,
.pill-button:active,
.primary-button:active,
.secondary-button:active,
.danger-button:active,
.ghost-button:active,
.room-card:active,
.meter-card:active,
.tenant-card:active,
.ledger-row:active,
.property-card:active,
.room-main-button:active,
.tenant-name-button:active,
.room-ledger-link:active,
.rent-command-card:active,
.coverage-entry-card:active,
.dash-action:active {
  transform: scale(0.98);
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.mini-button.is-primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(13, 138, 99, 0.14);
}

.status-dot.is-demo {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(196, 122, 10, 0.16);
}

.status-dot.is-error {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 68, 70, 0.14);
}

.app-main {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px 88px;
  scroll-padding-bottom: 108px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-main::-webkit-scrollbar {
  display: none;
}

.view-page {
  display: grid;
  gap: 14px;
}

.hero-panel,
.plain-panel,
.sync-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-panel {
  padding: 18px;
}

.hero-panel.danger {
  background: var(--red-soft);
  border-color: var(--red-line);
}

.hero-panel.ok {
  background: var(--mint-soft);
  border-color: var(--mint-line);
}

.hero-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}

.hero-count strong {
  font-size: 44px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-count span,
.hero-copy,
.muted,
.meta,
.empty-state,
.form-message {
  color: var(--muted);
}

.hero-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.section-head {
  min-height: 42px;
}

.section-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-head.compact-head {
  min-height: 0;
  align-items: flex-start;
}

.section-head.compact-head h3 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.room-board {
  display: grid;
  gap: 12px;
}

.room-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.room-toolbar .filter-strip {
  flex: 1 1 auto;
  margin: 0;
}

.room-filter-block {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  gap: 8px;
}

.filter-caption {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.room-toolbar > .text-button {
  flex: 0 0 auto;
}

.property-board {
  display: grid;
  gap: 8px;
  margin-top: -2px;
}

.property-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.property-board-head strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.property-card-strip {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0 0 2px;
  overflow-x: auto;
  scroll-padding: 0;
  scrollbar-width: none;
}

.property-card-strip::-webkit-scrollbar {
  display: none;
}

.property-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  max-width: 150px;
  min-height: 42px;
  padding: 0 14px;
  text-align: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.property-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.property-card.is-active {
  border-color: var(--mint);
  background: var(--mint-soft);
  color: var(--mint-dark);
}

.property-card strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-add-card {
  border-style: dashed;
  color: var(--muted);
  background: var(--surface-soft);
  box-shadow: none;
}

.plain-panel,
.sync-panel {
  padding: 14px;
}

.task-list,
.room-list,
.meter-list,
.tenant-list,
.ledger-list,
.info-list,
.room-ledger-list {
  display: grid;
  gap: 10px;
}

.room-card,
.meter-card,
.tenant-card,
.ledger-row {
  width: 100%;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.room-card:hover,
.meter-card:hover,
.tenant-card:hover,
.ledger-row:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.task-main,
.card-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.task-main strong,
.card-main strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-main span,
.card-main span,
.ledger-row span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-cue,
.status-pill,
.small-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.action-cue {
  background: var(--mint);
  color: #fff;
}

.status-pill {
  background: var(--surface-strong);
  color: var(--ink-soft);
}

.status-pill.tone-ok,
.small-pill.tone-ok {
  background: var(--mint-soft);
  color: var(--mint-dark);
}

.status-pill.tone-due,
.small-pill.tone-due {
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.status-pill.tone-danger,
.small-pill.tone-danger {
  background: var(--red-soft);
  color: var(--red-dark);
}

.status-pill.tone-blue,
.small-pill.tone-blue {
  background: var(--blue-soft);
  color: var(--blue-text);
}

.status-pill.tone-empty,
.small-pill.tone-empty {
  background: var(--surface-strong);
  color: var(--ink-soft);
}

.sheet-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.sheet-alert strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.sheet-alert.tone-danger {
  background: var(--red-soft);
  border-color: var(--red-line);
  color: var(--red-dark);
}

.sheet-alert.tone-due {
  background: var(--amber-soft);
  border-color: var(--amber-line);
  color: var(--amber-dark);
}

.sheet-alert.tone-blue {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue-text);
}

.sheet-alert span {
  flex: 1;
  min-width: 0;
}

.sheet-alert-action {
  flex-shrink: 0;
  min-height: 40px;
  font-weight: 800;
}

.dunning-message-text {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  user-select: text;
}

.property-strip,
.filter-strip,
.month-strip {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 2px 0 0;
  padding: 0 0 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.property-strip::-webkit-scrollbar,
.filter-strip::-webkit-scrollbar,
.month-strip::-webkit-scrollbar {
  display: none;
}

.month-control {
  display: grid;
  grid-template-columns: 44px minmax(96px, 1fr) 44px;
  align-items: center;
  gap: 6px;
  min-width: min(100%, 238px);
}

.month-control strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.month-control .month-arrow {
  min-width: 44px;
  padding: 0;
  font-size: 21px;
  line-height: 1;
}

.pill-button {
  flex: 0 0 auto;
  padding: 0 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pill-button.is-active {
  background: var(--mint-soft);
  border-color: var(--mint);
  color: var(--mint-dark);
}

.room-filter-label-short {
  display: none;
}

.room-card {
  display: grid;
  gap: 12px;
}

.room-ledger-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.room-ledger-link span,
.room-ledger-link strong,
.room-ledger-link small {
  display: block;
  min-width: 0;
}

.room-ledger-link strong {
  font-size: 14px;
  line-height: 1.2;
}

.room-ledger-link small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-ledger-link em {
  flex: 0 0 auto;
  min-width: 44px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.rent-command-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rent-command-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.rent-command-card.is-primary {
  border-color: var(--mint-line);
  background: var(--mint-soft);
}

.rent-command-card span,
.rent-command-card strong,
.rent-command-card small {
  display: block;
  min-width: 0;
}

.rent-command-card strong {
  font-size: 15px;
  line-height: 1.2;
}

.rent-command-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.rent-command-card em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.room-main-button,
.tenant-name-button {
  min-width: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  background: transparent;
}

.entity-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entity-chip {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.entity-chip.tone-mint {
  background: var(--mint-soft);
  color: var(--mint-dark);
}

.entity-chip.tone-blue {
  background: var(--blue-soft);
  color: var(--blue-text);
}

.entity-chip.tone-danger {
  background: var(--red-soft);
  color: var(--red-dark);
}

.entity-chip.tone-due {
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.entity-side {
  display: grid;
  flex-shrink: 0;
  gap: 4px;
  justify-items: end;
  margin-left: auto;
  text-align: right;
}

.entity-amount {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.entity-side-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tone-danger-text {
  color: var(--red-dark);
}

.tone-mint-text {
  color: var(--mint-dark);
}

.meter-side {
  gap: 3px;
}

.meter-reading {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}

.meter-reading em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.meter-reading strong {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.room-tenant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.room-tenant-row > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.room-tenant-row > span:first-child > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tenant-name-button {
  overflow: hidden;
  max-width: 190px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(15, 23, 34, 0.25);
  text-underline-offset: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-name-button.is-empty {
  color: var(--muted);
  text-decoration-style: dashed;
}

.room-card-top,
.room-card-bottom,
.meter-card-top,
.tenant-card-top,
.ledger-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.amount-text {
  display: block;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.room-card-bottom {
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card-facts,
.sheet-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.meter-card .card-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tenant-card .card-facts {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
}

.tenant-card {
  position: relative;
}

.tenant-card-top {
  display: block;
  padding-right: 0;
}

.tenant-card-top .status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
}

.tenant-card .card-main strong {
  max-width: calc(100% - 84px);
}

.tenant-card .card-main span {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fact {
  min-width: 0;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.fact strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-id-fact strong {
  font-size: 13px;
}

.tenant-card .tenant-id-fact {
  grid-column: auto;
}

.split-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-section-title {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.form-section-title strong {
  font-size: 14px;
}

.form-section-title span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.filing-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.filing-card.tone-ok {
  border-color: var(--mint-line);
  background: var(--mint-soft);
}

.filing-card.tone-due {
  border-color: var(--amber-line);
  background: var(--amber-soft);
}

.filing-card h3 {
  margin: 0;
  font-size: 16px;
}

.filing-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.tenant-mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.tenant-mini-card.is-clickable {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tenant-mini-card strong,
.tenant-mini-card span {
  display: block;
}

.tenant-mini-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.primary-button,
.secondary-button,
.danger-button,
.ghost-button,
.text-button,
.icon-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 14px;
  font-weight: 800;
  text-decoration: none;
}

.primary-button {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 138, 99, 0.28);
}

.primary-button:hover {
  background: var(--mint-dark);
}

.secondary-button {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.danger-button {
  background: var(--red-dark);
  color: #fff;
}

.danger-button:hover {
  background: #992b2d;
}

.ghost-button,
.icon-text-button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--mint);
}

.ghost-button.danger-link,
.text-button.danger-link {
  color: var(--red-dark);
}

.text-button {
  min-height: 40px;
  padding: 0 10px;
  font-size: 13px;
  white-space: nowrap;
}

.icon-text-button .nav-symbol {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-strong);
  font-size: 12px;
  font-weight: 800;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.form-stack > .primary-button,
.form-stack > .secondary-button,
.form-stack > .danger-button,
.coverage-card > .secondary-button {
  position: sticky;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 4;
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field.full,
.form-section-title.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

.field textarea {
  min-height: 76px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(13, 138, 99, 0.14);
}

.meter-photo-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.meter-photo-control {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
}

.meter-photo-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.meter-photo-icon {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.meter-photo-control strong,
.meter-photo-control small {
  display: block;
}

.meter-photo-control strong {
  font-size: 14px;
}

.meter-photo-control small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meter-photo-field.is-filled .meter-photo-control {
  border-style: solid;
  border-color: rgba(13, 138, 99, 0.4);
  background: var(--mint-soft);
}

.meter-photo-thumb {
  display: none;
}

.meter-photo-field.is-filled .meter-photo-thumb {
  display: block;
}

.meter-photo-thumb img {
  display: block;
  width: 100%;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.switch-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--mint);
}

.form-message {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.form-message.success {
  color: var(--mint-dark);
}

.form-message.error {
  color: var(--red-dark);
}

.empty-state {
  padding: 18px 4px;
  text-align: center;
  font-size: 14px;
}

.bottom-nav {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-height: 62px;
  margin-top: 0;
  padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 -4px 16px rgba(15, 23, 34, 0.05);
}

.bottom-nav::before {
  position: absolute;
  display: none;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
  pointer-events: none;
  content: "";
  background: var(--surface-soft);
}

.nav-button {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 50px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  touch-action: manipulation;
}

.nav-button::before {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: transparent;
  transform: translateX(-50%);
  transition: background 150ms ease;
}

.nav-button > span {
  position: relative;
  z-index: 1;
}

.nav-button.is-active {
  background: transparent;
  color: var(--mint);
}

.nav-button.is-active::before {
  background: var(--mint);
}

.nav-symbol {
  display: none;
}

.is-android-shell .app-header {
  padding: 5px 14px 5px;
}

.is-android-shell .top-line {
  align-items: center;
  gap: 8px;
}

.is-android-shell .header-actions {
  gap: 6px;
  padding-top: 0;
}

.is-android-shell .eyebrow {
  margin-bottom: 2px;
  font-size: 11px;
}

.is-android-shell .app-title {
  font-size: 19px;
}

.is-android-shell .mini-button {
  min-width: 42px;
  min-height: 40px;
  padding-right: 8px;
  padding-left: 8px;
  border-radius: 9px;
  font-size: 11.5px;
}

.is-android-shell .status-strip {
  margin-top: 4px;
  font-size: 12px;
}

.is-android-shell .app-main {
  padding: 7px 14px 58px;
  margin-bottom: 0;
  border-bottom: 0;
  -webkit-mask-image: none;
  mask-image: none;
  scroll-padding-bottom: 78px;
}

.is-android-shell .app-shell[data-view="rooms"] .app-main {
  margin-bottom: 0;
}

.is-android-shell .app-shell[data-view="tenants"] .app-main {
  margin-bottom: 0;
}

.is-android-shell .app-shell[data-view="meters"] .app-main {
  margin-bottom: 0;
}

.is-android-shell .app-shell[data-view="meters"] .view-page > .section-head:first-child h2,
.is-android-shell .app-shell[data-view="tenants"] .view-page > .section-head:first-child h2 {
  display: none;
}

.is-android-shell .app-shell[data-view="meters"] .view-page > .section-head:first-child,
.is-android-shell .app-shell[data-view="tenants"] .view-page > .section-head:first-child {
  min-height: 18px;
}

.is-android-shell .app-shell[data-view="meters"] .view-page > .section-head:first-child p,
.is-android-shell .app-shell[data-view="tenants"] .view-page > .section-head:first-child p {
  margin-top: 0;
  font-size: 12.5px;
  line-height: 1.35;
}

.is-android-shell .bottom-nav {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 1px 14px 3px;
  border: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.is-android-shell .bottom-nav::before {
  display: none;
  right: 0;
  left: 0;
  height: 0;
  pointer-events: none;
  background: transparent;
}

.is-android-shell .nav-button {
  min-height: 46px;
  color: var(--muted);
  font-size: 10.8px;
  line-height: 1;
}

.is-android-shell .nav-button::before {
  top: 5px;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transform: translateX(-50%);
}

.is-android-shell .nav-button.is-active {
  color: var(--mint-dark);
}

.is-android-shell .nav-button.is-active::before {
  background: var(--mint);
  box-shadow: none;
}

.is-android-shell .nav-button > span:last-child {
  white-space: nowrap;
}

.is-android-shell .view-page {
  gap: 8px;
}

.is-android-shell .room-board {
  gap: 6px;
}

.is-android-shell .room-list {
  gap: 7px;
}

.is-android-shell .room-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: -1px;
  padding-top: 0;
}

.is-android-shell .room-toolbar::before {
  content: none;
}

.is-android-shell .room-filter-block {
  display: block;
  min-width: 0;
  gap: 6px;
}

.is-android-shell .filter-caption {
  display: none;
}

.is-android-shell .room-toolbar .filter-strip {
  max-width: 100%;
  margin: 0;
  padding-bottom: 0;
  overflow: visible;
}

.is-android-shell .room-filter-label-full {
  display: none;
}

.is-android-shell .room-filter-label-short {
  display: inline;
}

.is-android-shell .room-toolbar > .text-button {
  grid-column: auto;
  grid-row: auto;
  justify-self: end;
  min-height: 40px;
  padding-right: 9px;
  padding-left: 9px;
  border-radius: 10px;
  font-size: 11.5px;
}

.is-android-shell .section-head {
  min-height: 30px;
}

.is-android-shell .section-head h2 {
  font-size: 16px;
}

.is-android-shell .section-head p {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.25;
}

.is-android-shell .plain-panel .section-head p,
.is-android-shell .room-board > .section-head p {
  display: none;
}

.is-android-shell .hero-panel,
.is-android-shell .plain-panel,
.is-android-shell .sync-panel {
  padding: 10px 12px;
}

.is-android-shell .hero-count {
  margin-top: 4px;
  margin-bottom: 2px;
}

.is-android-shell .hero-count strong {
  font-size: 32px;
}

.is-android-shell .hero-copy {
  display: none;
  font-size: 12px;
  line-height: 1.35;
}

.is-android-shell .dash-actions {
  gap: 8px;
}

.is-android-shell .dash-action {
  min-height: 48px;
  padding: 11px 14px;
}

.is-android-shell .dash-action strong {
  font-size: 14px;
}

.is-android-shell .dash-action span {
  font-size: 12px;
}

.is-android-shell .property-board {
  gap: 5px;
  margin-top: -4px;
}

.is-android-shell .property-board-head {
  min-height: 20px;
}

.is-android-shell .property-board-head strong {
  font-size: 12px;
}

.is-android-shell .property-card-strip,
.is-android-shell .filter-strip,
.is-android-shell .month-strip {
  gap: 6px;
  margin-top: 0;
  padding-bottom: 0;
}

.is-android-shell .property-card,
.is-android-shell .pill-button {
  min-height: 40px;
  padding-right: 9px;
  padding-left: 9px;
  border-radius: 12px;
  font-size: 12px;
}

.is-android-shell .month-control {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 5px;
}

.is-android-shell .month-control strong {
  min-height: 40px;
  font-size: 13px;
}

.is-android-shell .month-control .month-arrow {
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  font-size: 19px;
}

.is-android-shell .property-card {
  min-width: 58px;
  max-width: 78px;
  padding-right: 8px;
  padding-left: 8px;
}

.is-android-shell .property-card strong {
  font-size: 11.5px;
}

.is-android-shell .room-card,
.is-android-shell .meter-card,
.is-android-shell .tenant-card,
.is-android-shell .ledger-row {
  padding: 11px;
}

.is-android-shell .meter-card {
  padding-top: 9px;
  padding-bottom: 9px;
}

.is-android-shell .meter-card-top {
  gap: 8px;
}

.is-android-shell .meter-card .card-main {
  gap: 2px;
}

.is-android-shell .meter-card .card-main strong {
  font-size: 15px;
  line-height: 1.18;
}

.is-android-shell .meter-card .card-main span {
  font-size: 12px;
  line-height: 1.25;
}

.is-android-shell .meter-card .card-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.is-android-shell .tenant-card-top .status-pill {
  top: 11px;
  right: 11px;
}

.is-android-shell .tenant-card .card-facts {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 6px;
}

.is-android-shell .room-card {
  gap: 4px;
  padding: 6px 10px;
}

.is-android-shell .tenant-card {
  gap: 6px;
  padding: 10px 11px;
}

.is-android-shell .tenant-card .card-main strong {
  font-size: 17px;
  line-height: 1.15;
}

.is-android-shell .tenant-card .card-main span {
  font-size: 12.5px;
  line-height: 1.25;
}

.is-android-shell .tenant-card .fact span {
  font-size: 10.5px;
}

.is-android-shell .tenant-card .fact strong {
  font-size: 12.5px;
}

.is-android-shell .fact span {
  font-size: 9.5px;
}

.is-android-shell .fact strong {
  margin-top: 1px;
  font-size: 10.5px;
}

.is-android-shell .status-pill {
  min-height: 22px;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 10.5px;
}

.is-android-shell .rent-command-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.is-android-shell .rent-command-card {
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
}

.is-android-shell .rent-command-card strong {
  font-size: 13.5px;
}

.is-android-shell .rent-command-card small {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.25;
}

.is-android-shell .rent-command-card em,
.is-android-shell .coverage-entry-card em {
  padding: 5px 8px;
  font-size: 11px;
}

.is-android-shell .coverage-entry-card {
  min-height: 48px;
  margin-top: 7px;
  padding: 8px 10px;
}

.is-android-shell .coverage-entry-card strong {
  font-size: 13px;
}

.is-android-shell .coverage-entry-card small {
  font-size: 11px;
}

.is-android-shell .sync-panel {
  gap: 10px;
}

.is-android-shell .data-safety-grid {
  gap: 7px;
}

.is-android-shell .data-safety-card {
  gap: 3px;
  padding: 8px;
}

.is-android-shell .data-safety-card small {
  font-size: 10.5px;
  line-height: 1.3;
}

.is-android-shell .ghost-button {
  min-height: 40px;
}

.is-android-shell .sync-panel .split-actions {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.is-android-shell .sync-panel .split-actions > :not(.danger-link) {
  grid-column: span 3;
}

.is-android-shell .sync-panel .split-actions > .danger-link {
  grid-column: span 2;
  padding-right: 4px;
  padding-left: 4px;
  font-size: 10.5px;
}

.is-android-shell .sheet-handle {
  margin-bottom: 8px;
}

.is-android-shell .sheet-body {
  gap: 10px;
  margin-top: 10px;
}

.is-android-shell .sheet-title-row h2 {
  font-size: 19px;
}

.is-android-shell .sheet-title-row p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.3;
}

.is-android-shell .sheet-title-row > .text-button {
  min-width: 52px;
  min-height: 40px;
  padding-right: 9px;
  padding-left: 9px;
  border-radius: 10px;
  font-size: 11.5px;
}

.is-android-shell .sheet-section {
  gap: 8px;
  padding-top: 10px;
}

.is-android-shell .detail-row {
  min-height: 38px;
}

.is-android-shell .filing-card {
  padding: 11px 12px;
}

.is-android-shell .filing-card h3 {
  font-size: 15px;
}

.is-android-shell .filing-card p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.32;
}

.tenant-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tenant-action-grid .ghost-button,
.tenant-action-grid .danger-button {
  min-height: 38px;
  padding-right: 8px;
  padding-left: 8px;
  white-space: nowrap;
  font-size: 13px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 34, 0.45);
  animation: none;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--keyboard-inset);
  z-index: 41;
  width: min(440px, 100%);
  margin: 0 auto;
  max-height: min(calc(var(--app-visual-height) - 18px), 820px);
  padding: 10px 16px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
  border-radius: 20px 20px 0 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: sheetIn 240ms ease-out;
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.is-android-shell .bottom-sheet {
  max-height: min(calc(var(--app-visual-height) - 14px), 760px);
  padding-right: 14px;
  padding-bottom: 24px;
  padding-left: 14px;
}

.is-android-shell.is-keyboard-open .bottom-sheet {
  padding-bottom: 14px;
}

.is-android-shell.is-keyboard-open .meter-entry-switcher {
  position: static;
}

.is-android-shell.is-keyboard-open .form-stack > .primary-button,
.is-android-shell.is-keyboard-open .form-stack > .secondary-button,
.is-android-shell.is-keyboard-open .form-stack > .danger-button,
.is-android-shell.is-keyboard-open .coverage-card > .secondary-button {
  bottom: 8px;
}

.bottom-sheet::-webkit-scrollbar {
  display: none;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--line-strong);
}

.sheet-title-row {
  align-items: flex-start;
  position: sticky;
  top: -1px;
  z-index: 3;
  margin: -2px 0 0;
  padding: 2px 0 10px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 86%, rgba(255, 255, 255, 0));
}

.sheet-title-row > div {
  min-width: 0;
}

.sheet-title-row > .text-button {
  flex: 0 0 auto;
  min-width: 58px;
}

.sheet-title-row h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.sheet-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.sheet-body {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.sheet-section {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sheet-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.sheet-section h3 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-row strong {
  min-width: 0;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-month-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.ledger-month-chips::-webkit-scrollbar {
  display: none;
}

.room-ledger-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.room-ledger-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.room-ledger-item div:last-child {
  text-align: right;
}

.room-ledger-item strong,
.room-ledger-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-ledger-item strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.room-ledger-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.coverage-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.coverage-entry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin-top: 10px;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.coverage-entry-card span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.coverage-entry-card strong {
  font-size: 14px;
  font-weight: 800;
}

.coverage-entry-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverage-entry-card em {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.coverage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.coverage-head h3,
.coverage-head p {
  margin: 0;
}

.coverage-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.coverage-head > strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.coverage-slider-wrap {
  display: grid;
  gap: 8px;
}

.coverage-slider {
  width: 100%;
  min-height: 40px;
  accent-color: var(--mint);
}

.coverage-ticks {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
}

.coverage-tick {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
}

.coverage-tick i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--surface-strong);
}

.coverage-tick.is-active i {
  background: var(--ink);
}

.coverage-tick.is-move-in i {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(13, 138, 99, 0.16);
}

.coverage-tick em {
  overflow: hidden;
  max-width: 100%;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverage-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.coverage-suggestion {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--blue-soft, var(--surface-soft));
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.coverage-suggestion strong {
  color: var(--ink);
  font-size: 13px;
}

.coverage-summary span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.coverage-summary strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rent-default-card {
  border-color: var(--mint-line);
  background: var(--mint-soft);
}

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 60;
  width: min(408px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast-wrap.is-modal-toast {
  top: calc(14px + env(safe-area-inset-top));
  bottom: auto;
  z-index: 80;
}

.toast {
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 34, 0.12);
  border-radius: var(--radius);
  background: rgba(15, 23, 34, 0.94);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 34, 0.22);
  font-size: 14px;
  font-weight: 800;
  animation: toastIn 180ms ease-out both;
}

.toast.success {
  background: var(--mint);
}

.toast.error {
  background: var(--red-dark);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sync-panel {
  display: grid;
  gap: 12px;
}

.sync-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.sync-row strong {
  display: block;
}

.sync-row span {
  color: var(--muted);
  font-size: 13px;
}

.data-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.data-safety-card {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.data-safety-card span,
.data-safety-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.data-safety-card span {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.data-safety-card strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.25;
}

.meter-preview {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

.meter-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(112px, auto);
  gap: 10px;
  align-items: end;
}

.meter-groups {
  display: grid;
  gap: 10px;
}

.meter-entry-switcher {
  position: static;
  z-index: 3;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.form-stack[data-active-meter] .meter-entry-switcher {
  display: grid;
}

.form-stack[data-active-meter].is-meter-input-focused .meter-entry-switcher {
  display: none;
}

.meter-entry-switch-button {
  min-height: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.form-stack[data-active-meter="water"] .meter-entry-switch-button[data-meter="water"],
.form-stack[data-active-meter="electricity"] .meter-entry-switch-button[data-meter="electricity"] {
  background: var(--mint);
  color: #fff;
}

.meter-group {
  display: grid;
  gap: 10px;
  scroll-margin-top: 126px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.meter-group.is-meter-entry-active {
  border-color: rgba(13, 138, 99, 0.35);
  background: var(--mint-soft);
}

.meter-group.is-meter-entry-active .meter-record-stack {
  display: none;
}

.meter-group.is-meter-entry-muted {
  display: none;
}

.meter-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.meter-record-stack {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.meter-record-stack.is-empty {
  background: var(--surface-soft);
}

.meter-record-stack.is-empty span,
.meter-record-stack.is-empty small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meter-record-stack.is-empty strong {
  color: var(--ink);
  font-size: 16px;
}

.meter-record-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.meter-record-title strong {
  font-size: 13px;
}

.meter-record-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meter-record-list {
  display: grid;
  gap: 6px;
}

.meter-record-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(58px, auto);
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.meter-record-row > span {
  grid-column: 1;
  grid-row: 1;
}

.meter-record-row > strong {
  grid-column: 1;
  grid-row: 2;
}

.meter-record-row > .meter-record-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
}

.meter-record-row span,
.meter-record-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.meter-record-row strong {
  color: var(--ink);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.meter-record-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 34px;
  gap: 5px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.meter-record-photo img {
  width: 30px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.meter-record-photo span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.meter-record-photo.is-empty {
  justify-content: flex-end;
  min-width: 54px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: default;
}

.meter-record-fold {
  display: grid;
  min-height: 30px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meter-add-record-button {
  min-height: 48px;
  border: 1px solid var(--mint-line);
  border-radius: var(--radius-sm);
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-weight: 800;
  cursor: pointer;
}

.meter-add-record-button:hover {
  border-color: var(--mint);
}

.meter-add-record-button[hidden],
.meter-entry-panel[hidden] {
  display: none;
}

.meter-entry-panel {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.meter-entry-actions {
  display: grid;
  grid-template-columns: minmax(96px, 0.45fr) minmax(0, 1fr);
  gap: 8px;
  scroll-margin-bottom: 18px;
}

.meter-entry-save-button,
.meter-entry-cancel-button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
}

.meter-entry-save-button {
  background: var(--mint);
  color: #fff;
}

.meter-entry-cancel-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.meter-field-row,
.meter-entry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.meter-entry-row {
  grid-template-columns: 1fr minmax(96px, 0.5fr);
}

.is-android-shell .meter-entry-row {
  grid-template-columns: 1fr;
  gap: 6px;
}

.is-android-shell .meter-entry-panel {
  gap: 7px;
}

.is-android-shell .meter-entry-actions {
  grid-template-columns: minmax(82px, 0.38fr) minmax(0, 1fr);
  gap: 7px;
}

.meter-preview.compact-preview {
  min-height: 44px;
  padding: 9px 11px;
}

.meter-preview.compact-preview strong {
  margin-top: 2px;
  font-size: 18px;
}

.meter-preview strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.photo-viewer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 23, 34, 0.55);
  animation: none;
}

.photo-viewer {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 71;
  display: grid;
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100svh - 56px);
  gap: 12px;
  padding: 12px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.photo-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.photo-viewer-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.photo-viewer-bar strong,
.photo-viewer-bar span {
  display: block;
}

.photo-viewer-bar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.photo-viewer img {
  width: 100%;
  max-height: calc(100svh - 154px);
  border-radius: var(--radius);
  object-fit: contain;
  background: #0f1722;
}

.danger-text {
  color: var(--red-dark);
}

.ok-text {
  color: var(--mint-dark);
}

/* --- Dashboard: premium finance hero + sections --- */
.dash-hero {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, #0f4a38, #0a3529);
  box-shadow: var(--shadow-card);
  color: #ffffff;
}

.dash-hero-eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dash-hero-main {
  display: grid;
  gap: 5px;
}

.dash-hero-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.dash-hero-value {
  overflow: hidden;
  color: #ffffff;
  font-size: 46px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-hero-value.is-danger {
  color: #ffb4ab;
}

.dash-hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
}

.dash-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dash-figure {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dash-figure + .dash-figure {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.dash-figure dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.dash-figure dd {
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-actions {
  display: grid;
  gap: 10px;
  margin: 22px 0 4px;
}

.dash-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  text-align: left;
  border-radius: 14px;
  font: inherit;
}

.dash-action strong {
  font-size: 15px;
  font-weight: 800;
}

.dash-action span {
  font-size: 12px;
  font-weight: 700;
}

.dash-action-primary {
  color: #ffffff;
  background: var(--mint);
  border: 1px solid var(--mint);
  box-shadow: 0 6px 16px rgba(13, 138, 99, 0.28);
}

.dash-action-primary:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.dash-action-primary span {
  opacity: 0.82;
}

.dash-action-quiet {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.dash-action-quiet span {
  color: var(--muted);
}

.dash-sections {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.dash-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 8px;
}

.dash-section-head h2 {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.dash-section-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dunning-list,
.recent-payment-list,
.charge-list {
  display: grid;
  gap: 10px;
}

.dunning-row,
.recent-payment-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.dunning-row:hover,
.recent-payment-row:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.dunning-side {
  display: grid;
  flex-shrink: 0;
  gap: 4px;
  justify-items: end;
  margin-left: auto;
}

.dunning-amount {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dunning-badge {
  min-height: 0;
  padding: 2px 7px;
  font-size: 10px;
}

.recent-payment-amount {
  flex-shrink: 0;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.list-more-button {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.room-search {
  display: grid;
}

.room-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.room-search-input::placeholder {
  color: var(--muted);
}

.room-search-input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(13, 138, 99, 0.14);
  outline: none;
}

.allocation-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.allocation-preview[hidden] {
  display: none;
}

.allocation-preview-title,
.allocation-preview-status,
.allocation-summary {
  margin: 0;
  font-size: 13px;
}

.allocation-preview-title {
  font-weight: 800;
}

.allocation-preview-status {
  color: var(--muted);
}

.allocation-lines {
  display: grid;
  gap: 4px;
}

.allocation-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.allocation-line span {
  color: var(--muted);
}

.allocation-summary {
  color: var(--ink);
  font-weight: 700;
}

.charge-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.charge-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.charge-item-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.charge-allocations {
  display: grid;
  gap: 3px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.charge-allocation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.charge-allocation em {
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.charge-allocation.is-void {
  color: var(--muted);
  text-decoration: line-through;
}

@media (min-width: 760px) {
  body {
    padding: 28px 0;
  }

  .app-shell {
    min-height: calc(100svh - 56px);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
  }

  .bottom-nav {
    bottom: auto;
    justify-self: center;
    width: min(424px, calc(100vw - 18px));
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 18px 18px 24px 24px;
    box-shadow: var(--shadow-card);
  }

  .bottom-sheet {
    bottom: 28px;
    border-radius: 20px;
  }
}

@media (min-width: 900px) {
  .app-shell {
    width: min(100%, 1060px);
  }

  .dash-hero-value {
    font-size: 56px;
  }

  .dash-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .room-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bottom-nav {
    width: min(560px, calc(100vw - 18px));
  }
}

@media (max-width: 430px) {
  .app-main {
    padding-top: 12px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .view-page {
    gap: 12px;
  }

  .property-board {
    gap: 7px;
  }

  .room-board {
    gap: 10px;
  }

  .room-search-input {
    min-height: 40px;
  }

  .room-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
  }

  .room-toolbar::before {
    content: none;
  }

  .room-filter-block {
    display: block;
    min-width: 0;
  }

  .room-filter-block > .filter-caption {
    display: none;
  }

  .room-toolbar .filter-strip {
    margin: 0;
  }

  .room-toolbar > .text-button {
    grid-column: auto;
    grid-row: auto;
    justify-self: end;
    min-height: 40px;
  }

  .section-head {
    min-height: 38px;
  }

  .section-head h2 {
    font-size: 17px;
  }

  .section-head p {
    font-size: 12px;
  }

  .room-list,
  .meter-list,
  .tenant-list,
  .ledger-list,
  .room-ledger-list {
    gap: 8px;
  }

  .room-card,
  .meter-card,
  .tenant-card,
  .ledger-row {
    padding: 12px;
  }

  .room-card {
    gap: 9px;
  }

  .amount-text {
    font-size: 21px;
  }

  .action-cue,
  .status-pill,
  .small-pill {
    min-height: 26px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11px;
  }

  .card-facts,
  .sheet-facts {
    gap: 6px;
  }

  .fact span {
    font-size: 10px;
  }

  .fact strong {
    margin-top: 3px;
    font-size: 12px;
  }

  .tenant-card .fact strong {
    font-size: 12px;
  }

  .data-safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-safety-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .app-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .app-main {
    padding-top: 8px;
  }

  .view-page {
    gap: 8px;
  }

  .property-board {
    gap: 4px;
  }

  .property-board-head {
    min-height: 18px;
  }

  .property-board-head strong {
    font-size: 11px;
  }

  .property-card {
    min-height: 40px;
  }

  .property-card-strip {
    padding-bottom: 0;
  }

  .room-board {
    gap: 6px;
  }

  .room-toolbar .pill-button {
    min-height: 40px;
  }

  .top-line,
  .header-actions {
    gap: 8px;
  }

  .mini-button {
    min-height: 40px;
    padding: 0 10px;
  }

  .status-strip {
    margin-top: 10px;
  }

  .property-card-strip,
  .filter-strip,
  .month-strip {
    gap: 6px;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .property-card {
    min-width: 68px;
    padding: 0 10px;
  }

  .property-add-card {
    min-width: 62px;
  }

  .room-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .room-toolbar .filter-strip {
    overflow: visible;
  }

  .room-filter-label-full {
    display: none;
  }

  .room-filter-label-short {
    display: inline;
  }

  .pill-button {
    padding-right: 9px;
    padding-left: 9px;
  }

  .room-toolbar > .text-button {
    grid-column: auto;
    grid-row: auto;
    justify-self: end;
    min-height: 40px;
  }

  .bottom-sheet {
    max-height: min(86svh, 700px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .sheet-title-row {
    gap: 10px;
  }

  .sheet-title-row h2 {
    font-size: 21px;
  }

  .form-grid,
  .split-actions,
  .rent-command-grid,
  .coverage-summary,
  .meter-toolbar,
  .meter-field-row,
  .meter-entry-row,
  .data-safety-grid {
    grid-template-columns: 1fr;
  }

  .sheet-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .sheet-facts .fact span {
    font-size: 9.5px;
    line-height: 1.15;
  }

  .sheet-facts .fact strong {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tenant-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .tenant-action-grid .ghost-button,
  .tenant-action-grid .danger-button {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 12px;
  }

  .room-card-top,
  .room-card-bottom,
  .meter-card-top,
  .tenant-card-top,
  .ledger-row-top,
  .room-ledger-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .room-ledger-item div:last-child {
    text-align: left;
  }

  .coverage-head {
    flex-direction: column;
  }

  .room-card,
  .meter-card,
  .tenant-card {
    gap: 10px;
    padding: 12px;
  }

  .room-card-top,
  .meter-card-top,
  .tenant-card-top {
    flex-direction: row;
  }

  .meter-card .card-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .tenant-card .card-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tenant-card .tenant-id-fact {
    grid-column: auto;
  }

  .meter-card .fact strong {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .tenant-card .card-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tenant-card .tenant-id-fact {
    grid-column: 1 / -1;
  }

  .tenant-card .fact strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
