/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --brand-bg: #F1F5F9;
  --brand-accent: #2563EB;
  --brand-primary: #0F172A;
  --brand-secondary: #64748B;
  --brand-display: ZonnaFincas;
  --zf-bg: #F1F5F9;
  --zf-bg-soft: #F8FAFC;
  --zf-bg-muted: #E2E8F0;
  --zf-surface: #FFFFFF;
  --zf-surface-raised: #FFFFFF;
  --zf-text: #0F172A;
  --zf-muted: #64748B;
  --zf-faint: #94A3B8;
  --zf-border: #E2E8F0;
  --zf-border-strong: #CBD5E1;
  --zf-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.06);
  --zf-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.05);
  --zf-radius-lg: 10px;
  --zf-radius-md: 10px;
  --zf-radius-sm: 8px;
  --zf-success: #16A34A;
  --zf-warning: #D97706;
  --zf-info: #2563EB;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--zf-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--zf-text);
  background: #E2E8F0;
  font-size: 15px;
  line-height: 1.5;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  min-height: 46px;
  border: 1px solid var(--zf-border-strong);
  border-radius: var(--zf-radius-sm);
  background: var(--zf-surface);
  color: var(--zf-text);
  padding: 0 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus,
a:focus-visible {
  border-color: color-mix(in srgb, var(--brand-accent) 54%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-accent) 14%, transparent);
  outline: none;
}

*::selection {
  background: color-mix(in srgb, var(--brand-accent) 22%, white);
}

.zf-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 16px 0 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.zf-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
  border-radius: 0;
  background: var(--brand-sidebar-bg);
  border-right: 1px solid color-mix(in srgb, var(--brand-sidebar-text) 14%, transparent);
  box-shadow: 1px 0 2px color-mix(in srgb, var(--brand-sidebar-bg) 76%, transparent);
  color: var(--brand-sidebar-text);
}

.zf-brand-cluster,
.zf-topbar-meta,
.zf-brand-copy,
.zf-support,
.zf-session-chip div {
  display: grid;
}

.zf-brand-cluster {
  gap: 16px;
}

.zf-brand-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-sidebar-text) 14%, transparent);
}

.zf-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.zf-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand-sidebar-text);
  border: 1px solid color-mix(in srgb, var(--brand-sidebar-text) 22%, transparent);
  color: transparent;
  position: relative;
  flex: 0 0 auto;
}

.zf-brand-mark::before {
  content: 'Z';
  color: var(--brand-sidebar-bg);
  font-size: 16px;
  font-weight: 650;
}

.zf-brand-copy {
  gap: 1px;
  min-width: 0;
}

.zf-brand-copy strong {
  color: var(--brand-sidebar-text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.zf-brand-copy span,
.zf-brand-meta,
.zf-support small,
.zf-support a,
.zf-session-chip span {
  color: color-mix(in srgb, var(--brand-sidebar-text) 74%, var(--brand-sidebar-bg));
  font-size: 13px;
}

.zf-brand-meta {
  gap: 6px;
  padding: 0 2px;
}

.zf-sidebar-label {
  color: color-mix(in srgb, var(--brand-sidebar-text) 56%, var(--brand-sidebar-bg));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zf-nav-panel {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.zf-brand-pill,
.zf-panel-chip,
.zf-status-pill,
.zf-metric-pill {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in srgb, var(--brand-accent) 72%, var(--zf-text));
  background: color-mix(in srgb, var(--brand-accent) 9%, var(--zf-surface));
  border: 1px solid color-mix(in srgb, var(--brand-accent) 14%, transparent);
  letter-spacing: 0;
  text-transform: none;
}

.zf-nav {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.zf-nav a {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  color: color-mix(in srgb, var(--brand-sidebar-text) 82%, var(--brand-sidebar-bg));
  font-size: 14px;
  font-weight: 560;
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.zf-nav a span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zf-nav-indicator {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: transparent;
}

.zf-nav a:hover,
.zf-nav a[aria-current='page'] {
  background: color-mix(in srgb, var(--brand-sidebar-text) 8%, var(--brand-sidebar-bg));
  border-color: color-mix(in srgb, var(--brand-sidebar-text) 14%, transparent);
  color: var(--brand-sidebar-text);
}

.zf-nav a:hover .zf-nav-indicator,
.zf-nav a[aria-current='page'] .zf-nav-indicator {
  background: var(--brand-accent);
}

.zf-topbar-meta {
  margin-top: auto;
  gap: 14px;
}

.zf-support {
  gap: 3px;
  font-size: 13px;
  color: #AEB7C7;
}

.zf-support span {
  color: #F9FAFB;
  font-weight: 600;
}

.zf-session-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--zf-radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.zf-session-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--zf-radius-sm);
  background: #F9FAFB;
  color: #111827;
  font-size: 13px;
  font-weight: 650;
  flex: 0 0 auto;
}

.zf-session-chip strong {
  color: #F9FAFB;
  font-size: 14px;
  font-weight: 650;
}

.zf-main-region {
  display: grid;
  align-content: start;
  grid-gap: 14px;
  gap: 14px;
  min-width: 0;
  padding: 14px 0 28px;
}

.zf-workbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: var(--zf-radius-lg);
  background: color-mix(in srgb, var(--zf-surface) 92%, transparent);
  border: 1px solid var(--zf-border);
  box-shadow: var(--zf-shadow-soft);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.zf-workbar-alerts {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.zf-alert-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-accent) 12%, transparent);
  flex: 0 0 auto;
}

.zf-workbar-alerts div {
  display: grid;
  grid-gap: 1px;
  gap: 1px;
  min-width: 0;
}

.zf-workbar-alerts strong {
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 650;
}

.zf-workbar-alerts small {
  color: var(--zf-muted);
  font-size: 13px;
}

.zf-workbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.zf-workbar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: var(--zf-radius-sm);
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
  color: var(--zf-text);
  font-size: 13px;
  font-weight: 650;
}

.zf-dashboard {
  display: grid;
  align-content: start;
  grid-gap: 18px;
  gap: 18px;
  min-width: 0;
  padding: 0;
}

.zf-hero,
.zf-metric-strip,
.zf-dashboard-panel,
.zf-showcase-card,
.zf-timeline-card,
.zf-community-card,
.zf-data-section,
.zf-chart-card,
.zf-balance-card,
.zf-expense-card {
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  border-radius: var(--zf-radius-lg);
  box-shadow: var(--zf-shadow-soft);
}

.zf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  grid-gap: 18px;
  gap: 18px;
  padding: 24px;
  color: var(--zf-text);
  overflow: hidden;
}

.zf-hero::before,
.zf-hero::after {
  content: none;
}

.zf-hero-copy {
  display: grid;
  align-content: start;
  grid-gap: 13px;
  gap: 13px;
}

.zf-eyebrow {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
  color: var(--zf-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.zf-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--zf-text);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.zf-hero p,
.zf-hero-note,
.zf-showcase-card p,
.zf-timeline-card p,
.zf-community-card p,
.zf-chart-card p,
.zf-metric-strip-copy p {
  margin: 0;
  color: var(--zf-muted);
  font-size: 14px;
  line-height: 1.6;
}

.zf-hero-actions,
.zf-balance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zf-hero-button,
.zf-balance-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--zf-radius-sm);
  border: 1px solid var(--zf-border-strong);
  background: var(--zf-surface);
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.zf-hero-button:hover,
.zf-balance-actions a:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand-accent) 26%, var(--zf-border-strong));
  box-shadow: var(--zf-shadow-soft);
}

.zf-hero-button-primary,
.zf-balance-actions a:first-child {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: #FFFFFF;
  box-shadow: var(--zf-shadow-soft);
}

.zf-hero-button-primary:hover,
.zf-balance-actions a:first-child:hover {
  border-color: #1D4ED8;
  background: #1D4ED8;
}

.zf-hero-card {
  align-self: stretch;
  display: grid;
  align-content: flex-end;
  grid-gap: 6px;
  gap: 6px;
  padding: 18px;
  border-radius: var(--zf-radius-md);
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
}

.zf-hero-card strong {
  font-size: 18px;
  font-weight: 600;
}

.zf-hero-card span,
.zf-hero-card small {
  color: var(--zf-muted);
  font-size: 13px;
}

.zf-metric-strip,
.zf-data-section {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 20px;
}

.zf-metric-strip-copy,
.zf-section-heading,
.zf-chart-card > div:first-child,
.zf-expense-card > div:first-child {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.zf-metric-strip-copy h2,
.zf-section-heading h2,
.zf-chart-card h2,
.zf-expense-card h2,
.zf-showcase-card h2,
.zf-timeline-card h2,
.zf-community-card h2,
.zf-sections h2,
.zf-panel-head h2 {
  margin: 0;
  color: var(--zf-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}

.zf-showcase-card h2,
.zf-timeline-card h2,
.zf-community-card h2,
.zf-sections h2,
.zf-panel-head h2,
.zf-expense-card h2,
.zf-chart-card h2 {
  font-size: 18px;
}

.zf-metric-strip-grid,
.zf-kpis,
.zf-dashboard-columns,
.zf-showcase-grid,
.zf-finance-board,
.zf-owner-homeboard {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.zf-metric-strip-grid,
.zf-kpis {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.zf-dashboard-columns,
.zf-showcase-grid,
.zf-finance-board {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.zf-owner-homeboard {
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(260px, 0.9fr);
}

.zf-dashboard-stack {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.zf-metric-card,
.zf-kpi,
.zf-community-grid article {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 16px;
  border-radius: var(--zf-radius-md);
  background: var(--zf-surface-raised);
  border: 1px solid var(--zf-border);
  box-shadow: none;
  overflow: hidden;
}

.zf-metric-card::before,
.zf-kpi::before {
  content: none;
}

.zf-kpi {
  gap: 7px;
  padding: 16px 18px 14px;
  border-top: 3px solid var(--zf-faint);
}

.zf-kpi[data-tone='positive'] {
  border-top-color: var(--zf-success);
}

.zf-kpi[data-tone='attention'] {
  border-top-color: var(--zf-warning);
}

.zf-kpi[data-tone='info'] {
  border-top-color: var(--brand-accent);
}

.zf-metric-label,
.zf-kpi h3 {
  color: var(--zf-faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zf-metric-value,
.zf-kpi-value,
.zf-balance-card strong {
  margin: 0;
  color: var(--zf-text);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
}

.zf-kpi-detail,
.zf-metric-hint,
.zf-kpi-trend,
.zf-profile-switcher small,
.zf-community-grid small {
  color: var(--zf-muted);
  font-size: 13px;
  line-height: 1.5;
}

.zf-dashboard-panel,
.zf-showcase-card,
.zf-timeline-card,
.zf-community-card,
.zf-chart-card,
.zf-balance-card,
.zf-expense-card {
  padding: 20px;
}

.zf-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.zf-profile-switcher {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.zf-profile-switcher a {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  padding: 14px;
  border-radius: var(--zf-radius-md);
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.zf-profile-switcher a:hover,
.zf-profile-switcher a.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand-accent) 24%, var(--zf-border));
  box-shadow: var(--zf-shadow-soft);
}

.zf-profile-switcher strong,
.zf-community-grid strong {
  font-size: 14px;
  font-weight: 600;
}

.zf-profile-switcher span,
.zf-community-grid span {
  color: color-mix(in srgb, var(--brand-accent) 44%, var(--zf-text));
  font-size: 13px;
  font-weight: 600;
}

.zf-sections {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 20px;
  border-radius: var(--zf-radius-lg);
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  box-shadow: var(--zf-shadow-soft);
}

.zf-section-list,
.zf-mini-list,
.zf-timeline,
.zf-category-list {
  display: grid;
  grid-gap: 0;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zf-section-list li,
.zf-mini-list li,
.zf-timeline li,
.zf-category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--zf-border);
  color: var(--zf-muted);
  font-size: 14px;
}

.zf-mini-list li,
.zf-timeline li {
  justify-content: flex-start;
}

.zf-section-list li:last-child,
.zf-mini-list li:last-child,
.zf-timeline li:last-child,
.zf-category-list li:last-child {
  border-bottom: 0;
}

.zf-mini-list li::before,
.zf-timeline li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 44%, var(--zf-faint));
  flex: 0 0 auto;
}

.zf-section-list strong,
.zf-category-list strong {
  color: var(--zf-text);
  font-weight: 600;
}

.zf-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.zf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}

.zf-table th {
  padding: 0 14px 11px;
  border-bottom: 1px solid var(--zf-border-strong);
  color: var(--zf-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.zf-table td {
  padding: 14px;
  border-bottom: 1px solid var(--zf-border);
  color: var(--zf-muted);
  vertical-align: middle;
  white-space: nowrap;
}

.zf-table tbody tr {
  transition: background 160ms ease;
}

.zf-table tbody tr:hover {
  background: color-mix(in srgb, var(--brand-accent) 4%, var(--zf-bg-soft));
}

.zf-table td:first-child {
  white-space: normal;
}

.zf-table td strong {
  display: block;
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 600;
}

.zf-table td span:not(.zf-status-pill) {
  display: block;
  color: var(--zf-faint);
  font-size: 13px;
}

.zf-chart-card,
.zf-expense-card,
.zf-balance-card {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  align-content: space-between;
}

.zf-chart-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.zf-donut {
  --zf-progress: 66%;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--brand-accent) var(--zf-progress), var(--zf-bg-muted) 0);
  position: relative;
}

.zf-donut::after {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: inherit;
  background: var(--zf-surface);
}

.zf-donut strong,
.zf-donut span {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.zf-donut strong {
  font-size: 24px;
  font-weight: 600;
}

.zf-donut span {
  color: var(--zf-muted);
  font-size: 12px;
}

.zf-bars {
  height: 132px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 2px 0;
}

.zf-bars span {
  width: 22px;
  height: var(--zf-bar);
  min-height: 24px;
  border-radius: 999px 999px 8px 8px;
  background: color-mix(in srgb, var(--brand-accent) 45%, var(--zf-bg-muted));
}

.zf-balance-card {
  background: color-mix(in srgb, var(--brand-accent) 5%, var(--zf-surface));
}

.zf-balance-card strong {
  font-size: 38px;
}

.zf-balance-card p {
  margin: 0;
  color: var(--zf-muted);
}

.zf-category-list li {
  justify-content: flex-start;
}

.zf-category-list li span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--zf-swatch);
  flex: 0 0 auto;
}

.zf-category-list li strong {
  margin-left: auto;
}

.zf-community-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --zf-bg: #09090B;
    --zf-bg-soft: #18181B;
    --zf-bg-muted: #27272A;
    --zf-surface: #111113;
    --zf-surface-raised: #18181B;
    --zf-text: #FAFAFA;
    --zf-muted: #D4D4D8;
    --zf-faint: #A1A1AA;
    --zf-border: rgba(250, 250, 250, 0.1);
    --zf-border-strong: rgba(250, 250, 250, 0.16);
    --zf-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    --zf-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  body {
    background: var(--zf-bg);
  }

  .zf-donut::after {
    background: var(--zf-surface);
  }
}

@media (max-width: 1100px) {
  .zf-shell {
    grid-template-columns: 1fr;
  }

  .zf-topbar {
    position: static;
    min-height: 0;
    gap: 16px;
  }

  .zf-topbar-meta {
    margin-top: 0;
  }

  .zf-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .zf-nav a {
    min-width: max-content;
    padding-right: 14px;
  }

  .zf-role-switch-group > div {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-height: none;
  }

  .zf-owner-homeboard,
  .zf-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .zf-shell {
    display: block;
    padding: max(10px, env(safe-area-inset-top)) 10px calc(86px + env(safe-area-inset-bottom));
    gap: 14px;
  }

  .zf-topbar {
    position: relative;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--zf-radius-lg);
    padding: 12px;
  }

  .zf-topbar-meta,
  .zf-session-chip {
    width: 100%;
  }

  .zf-brand-box {
    align-items: center;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .zf-brand-meta,
  .zf-support {
    display: none;
  }

  .zf-main-region {
    gap: 12px;
    padding: 10px 0 0;
  }

  .zf-workbar {
    position: static;
    display: grid;
    grid-gap: 12px;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .zf-workbar-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zf-workbar-actions a {
    min-width: 0;
    padding: 0 8px;
    white-space: nowrap;
  }

  .zf-nav-panel {
    position: fixed;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 50;
    padding: 6px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--zf-surface) 92%, transparent);
    border: 1px solid var(--zf-border-strong);
    box-shadow: 0 14px 40px rgba(24, 24, 27, 0.18);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
  }

  .zf-sidebar-label {
    display: none;
  }

  .zf-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-gap: 2px;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .zf-nav a {
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 4px;
    border-radius: 6px;
    color: var(--zf-muted);
    font-size: 11px;
    font-weight: 650;
    text-align: center;
  }

  .zf-nav a span:last-child {
    width: 100%;
    white-space: nowrap;
  }

  .zf-nav-indicator {
    width: 18px;
    height: 3px;
    border-radius: 999px;
  }

  .zf-nav a:hover,
  .zf-nav a[aria-current='page'] {
    background: color-mix(in srgb, var(--brand-accent) 10%, var(--zf-surface));
    border-color: color-mix(in srgb, var(--brand-accent) 18%, transparent);
    color: var(--zf-text);
  }

  .zf-hero,
  .zf-metric-strip,
  .zf-dashboard-panel,
  .zf-showcase-card,
  .zf-timeline-card,
  .zf-community-card,
  .zf-data-section,
  .zf-chart-card,
  .zf-balance-card,
  .zf-expense-card,
  .zf-sections {
    border-radius: var(--zf-radius-lg);
    padding: 16px;
  }

  .zf-hero h1 {
    font-size: 32px;
  }

  .zf-chart-card {
    grid-template-columns: 1fr;
  }

  .zf-donut {
    width: 118px;
  }

  .zf-hero-button,
  .zf-balance-actions a {
    width: 100%;
  }

  .zf-table {
    min-width: 620px;
  }
}

@media (max-width: 380px) {
  .zf-nav a {
    font-size: 10px;
  }

  .zf-workbar-actions {
    grid-template-columns: 1fr;
  }
}

html[data-pwa-display='standalone'] body {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

html[data-pwa-display='standalone'] .zf-main-region {
  padding-top: max(10px, env(safe-area-inset-top));
}

.zf-help-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

.zf-help-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 18px;
  border-radius: var(--zf-radius-lg);
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
}

.zf-help-sidebar h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.zf-help-content {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

@media (max-width: 900px) {
  .zf-help-layout {
    grid-template-columns: 1fr;
  }

  .zf-help-sidebar {
    position: static;
  }
}

.zf-owner-appbar,
.zf-owner-next-card,
.zf-receipt-card {
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  border-radius: var(--zf-radius-lg);
  box-shadow: var(--zf-shadow-soft);
}

.zf-owner-appbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.zf-owner-appbar > div:first-child {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-width: 760px;
}

.zf-owner-appbar h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

.zf-owner-appbar p,
.zf-owner-next-card p,
.zf-receipt-card p,
.zf-empty-state p,
.zf-product-timeline p {
  margin: 0;
  color: var(--zf-muted);
  font-size: 14px;
  line-height: 1.55;
}

.zf-owner-home-status {
  display: grid;
  justify-items: flex-end;
  grid-gap: 8px;
  gap: 8px;
  color: var(--zf-muted);
  font-size: 13px;
}

.zf-owner-priority,
.zf-receipt-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.85fr) minmax(260px, 1fr);
  grid-gap: 14px;
  gap: 14px;
}

.zf-owner-next-card,
.zf-receipt-card {
  display: grid;
  align-content: space-between;
  grid-gap: 14px;
  gap: 14px;
  padding: 20px;
}

.zf-owner-next-card strong,
.zf-receipt-card strong {
  color: var(--zf-text);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
}

.zf-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.zf-action-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-gap: 10px 12px;
  gap: 10px 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border-radius: var(--zf-radius-md);
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  box-shadow: var(--zf-shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.zf-action-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand-accent) 24%, var(--zf-border));
  box-shadow: var(--zf-shadow);
}

.zf-action-card > span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: var(--zf-radius-sm);
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--zf-bg-muted));
  position: relative;
}

.zf-action-card > span::before,
.zf-action-card > span::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 1.5px;
  border-radius: var(--zf-radius-lg);
  background: color-mix(in srgb, var(--brand-accent) 45%, var(--zf-text));
  transform: translate(-50%, -50%);
}

.zf-action-card > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.zf-action-card strong {
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 600;
}

.zf-action-card small {
  color: var(--zf-muted);
  font-size: 13px;
  line-height: 1.4;
}

.zf-section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.zf-section-heading-row > div:first-child {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.zf-segmented {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 3px;
  border-radius: var(--zf-radius-sm);
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
}

.zf-segmented span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--zf-radius-sm);
  color: var(--zf-muted);
  font-size: 13px;
  font-weight: 600;
}

.zf-segmented span[aria-selected='true'] {
  color: var(--zf-text);
  background: var(--zf-surface);
  box-shadow: var(--zf-shadow-soft);
}

.zf-search-field {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  min-width: 160px;
  padding: 0 12px 0 34px;
  border-radius: 999px;
  color: var(--zf-faint);
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
  font-size: 13px;
  position: relative;
}

.zf-search-field::before {
  content: '';
  position: absolute;
  left: 13px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--zf-faint);
  border-radius: 999px;
}

.zf-search-field::after {
  content: '';
  position: absolute;
  left: 23px;
  width: 6px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--zf-faint);
  transform: rotate(45deg);
  transform-origin: left center;
}

.zf-status-pill[data-tone='positive'] {
  color: var(--zf-success);
  background: color-mix(in srgb, var(--zf-success) 10%, var(--zf-surface));
  border-color: color-mix(in srgb, var(--zf-success) 16%, transparent);
}

.zf-status-pill[data-tone='attention'] {
  color: var(--zf-warning);
  background: color-mix(in srgb, var(--zf-warning) 11%, var(--zf-surface));
  border-color: color-mix(in srgb, var(--zf-warning) 18%, transparent);
}

.zf-status-pill[data-tone='info'] {
  color: var(--zf-info);
  background: color-mix(in srgb, var(--zf-info) 10%, var(--zf-surface));
  border-color: color-mix(in srgb, var(--zf-info) 16%, transparent);
}

.zf-table th[data-align='end'],
.zf-table td[data-align='end'] {
  text-align: right;
}

.zf-empty-state {
  display: grid;
  place-items: center;
  grid-gap: 8px;
  gap: 8px;
  min-height: 160px;
  padding: 24px;
  border-radius: var(--zf-radius-md);
  background: var(--zf-bg-soft);
  border: 1px dashed var(--zf-border-strong);
  text-align: center;
}

.zf-empty-state > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--zf-bg-muted));
}

.zf-empty-state strong {
  color: var(--zf-text);
  font-size: 15px;
  font-weight: 600;
}

.zf-incident-form,
.zf-field {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.zf-incident-form {
  gap: 14px;
}

.zf-inline-success {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 35%, var(--zf-border));
  border-radius: var(--zf-radius-md);
  background: color-mix(in srgb, var(--brand-accent) 8%, var(--zf-surface));
  color: var(--zf-text);
}

.zf-inline-success strong {
  font-size: 14px;
  font-weight: 700;
}

.zf-inline-success span {
  color: var(--zf-muted);
  font-size: 13px;
}

.zf-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.zf-field span,
.zf-check-row span {
  color: var(--zf-muted);
  font-size: 13px;
  font-weight: 600;
}

.zf-field textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.zf-field input[type='file'] {
  display: flex;
  align-items: center;
  padding-top: 11px;
}

.zf-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--zf-radius-md);
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
}

.zf-check-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.zf-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.zf-form-actions button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--zf-radius-sm);
  border: 1px solid var(--zf-border-strong);
  background: var(--zf-surface);
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.zf-form-actions button[type='submit'] {
  border-color: var(--zf-text);
  background: var(--zf-text);
  color: var(--zf-surface);
}

.zf-product-timeline {
  display: grid;
  grid-gap: 0;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zf-product-timeline li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--zf-border);
}

.zf-product-timeline li:last-child {
  border-bottom: 0;
}

.zf-product-timeline li > span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 11%, var(--zf-bg-muted));
  border: 1px solid var(--zf-border);
  position: relative;
}

.zf-product-timeline li > span::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--brand-accent) 44%, var(--zf-text));
}

.zf-product-timeline strong {
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 600;
}

.zf-product-timeline small {
  color: var(--zf-faint);
  font-size: 12px;
}

.zf-progress-line {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--zf-bg-muted);
}

.zf-progress-line span {
  display: block;
  width: var(--zf-progress);
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--brand-accent) 45%, var(--zf-text));
}

@media (max-width: 1100px) {
  .zf-owner-priority,
  .zf-receipt-grid {
    grid-template-columns: 1fr;
  }

  .zf-owner-appbar {
    align-items: start;
    flex-direction: column;
  }

  .zf-owner-home-status {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .zf-owner-appbar,
  .zf-owner-next-card,
  .zf-receipt-card {
    border-radius: var(--zf-radius-lg);
    padding: 16px;
  }

  .zf-owner-appbar h1 {
    font-size: 30px;
  }

  .zf-section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .zf-segmented,
  .zf-search-field {
    width: 100%;
  }

  .zf-segmented {
    justify-content: space-between;
  }
}

.zf-role-switch {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zf-role-switch summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: #F9FAFB;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  list-style: none;
}

.zf-role-switch summary::-webkit-details-marker {
  display: none;
}

.zf-role-switch summary span {
  font-size: 13px;
  font-weight: 650;
}

.zf-role-switch summary small {
  color: #8E9AAF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.zf-role-switch-group {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding-top: 8px;
}

.zf-role-switch-group > small {
  color: #8390A3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.zf-role-switch-group > div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  max-height: 210px;
  overflow: auto;
  padding-right: 2px;
}

.zf-role-switch a {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #C7D0DE;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.zf-role-switch a:hover,
.zf-role-switch a[aria-current='page'] {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.zf-role-switch strong {
  font-size: 12px;
  font-weight: 650;
}

.zf-role-switch small {
  color: #8E9AAF;
  font-size: 11px;
}

/* ── Owner payment CTA ── */
.zf-pay-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: var(--zf-radius-lg);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 26%, var(--zf-border));
  background: color-mix(in srgb, var(--brand-accent) 6%, var(--zf-surface));
}

.zf-pay-cta-copy {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.zf-pay-cta-copy strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--zf-text);
  letter-spacing: -0.02em;
}

.zf-pay-cta-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--zf-muted);
}

.zf-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: var(--zf-radius-sm);
  background: var(--brand-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}

.zf-pay-button:hover {
  background: #1D4ED8;
}

.zf-pay-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.zf-pay-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--zf-radius-sm);
  border: 1px solid var(--zf-border-strong);
  background: var(--zf-surface);
  color: var(--zf-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.zf-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.5);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

.zf-pay-modal {
  width: min(460px, 100%);
  border-radius: 16px;
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  padding: 22px;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

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

.zf-pay-modal-head strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--zf-text);
  margin-top: 6px;
}

.zf-pay-modal-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--zf-muted);
}

.zf-pay-close {
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--zf-faint);
  cursor: pointer;
}

.zf-pay-methods {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.zf-pay-method {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--zf-border);
  background: var(--zf-surface);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.zf-pay-method.is-active {
  border-color: color-mix(in srgb, var(--brand-accent) 50%, transparent);
  background: color-mix(in srgb, var(--brand-accent) 6%, var(--zf-surface));
}

.zf-pay-method-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--zf-text);
}

.zf-pay-method-detail {
  font-size: 12.5px;
  color: var(--zf-muted);
}

.zf-pay-details {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
}

.zf-pay-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zf-pay-details dt {
  font-size: 12px;
  color: var(--zf-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zf-pay-details dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--zf-text);
}

.zf-pay-details code {
  font-size: 13px;
}

.zf-pay-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zf-pay-done {
  display: grid;
  justify-items: center;
  grid-gap: 8px;
  gap: 8px;
  text-align: center;
  padding: 8px 0;
}

.zf-pay-done-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--zf-success) 14%, var(--zf-surface));
  color: var(--zf-success);
  font-size: 22px;
  font-weight: 700;
}

.zf-pay-done strong {
  font-size: 16px;
  color: var(--zf-text);
}

.zf-pay-done p {
  margin: 0;
  font-size: 13px;
  color: var(--zf-muted);
  max-width: 320px;
}

/* ── Owner messaging ── */
.zf-contact-panel {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  padding: 20px;
  border-radius: var(--zf-radius-lg);
  background: var(--zf-surface);
  border: 1px solid var(--zf-border);
  box-shadow: var(--zf-shadow-soft);
}

.zf-contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.zf-contact-head h2 {
  margin: 6px 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--zf-text);
}

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

.zf-contact-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zf-contact-thread {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  border-top: 1px solid var(--zf-border);
  padding-top: 16px;
}

.zf-contact-messages {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.zf-contact-message {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  max-width: 78%;
}

.zf-contact-message-owner {
  justify-items: end;
  justify-self: end;
}

.zf-contact-message-admin {
  justify-items: start;
  justify-self: start;
}

.zf-contact-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.zf-contact-message-admin .zf-contact-bubble {
  background: var(--zf-bg-soft);
  border: 1px solid var(--zf-border);
  color: var(--zf-text);
  border-bottom-left-radius: 4px;
}

.zf-contact-message-owner .zf-contact-bubble {
  background: var(--brand-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.zf-contact-meta {
  font-size: 11.5px;
  color: var(--zf-faint);
}

.zf-contact-composer {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.zf-contact-composer textarea {
  flex: 1 1;
  min-height: 48px;
  resize: vertical;
  padding: 10px 12px;
}

