/* =========================
   1. Tokens e base global
   ========================= */
:root {
  --color-primary: #0e8f96;
  --color-primary-dark: #0b6f75;
  --color-primary-soft: #e3f7f8;
  --color-accent: #ff6f7f;
  --color-accent-dark: #e55668;
  --color-accent-soft: #ffe8eb;
  --color-surface: #ffffff;
  --color-surface-alt: #f7fbfb;
  --color-border: #d7e6e8;
  --color-text: #16373a;
  --color-text-muted: #5f7a7d;
  --color-bg: #eff7f7;
  --color-bg-strong: #e7f3f3;
  --color-shadow: rgba(17, 56, 60, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container-width: 1180px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(14, 143, 150, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 111, 127, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fcfc 0%, var(--color-bg) 100%);
}

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

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

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* =========================
   2. Utilitários e blocos
   ========================= */
.site-shell {
  width: min(calc(100% - 24px), var(--container-width));
  margin: 0 auto;
  padding: 20px 0 28px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px var(--color-shadow);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(14, 143, 150, 0.24);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.btn-block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.pill-neutral {
  background: var(--color-bg-strong);
  color: var(--color-text-muted);
}

.pill-primary {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.pill-accent {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  text-align: center;
}

/* =========================
   3. Marca e header público
   ========================= */
.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(17, 56, 60, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-column {
  flex-direction: column;
  align-items: flex-start;
}

.brand-logo {
  width: 164px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-logo-large {
  width: 220px;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small,
.site-nav a,
.footer-links a,
.page-header p,
.section-head p,
.hero-copy p,
.hero-card span,
.feature-card p,
.step-card p,
.resource-card p,
.faq-item p,
.auth-copy p,
.form-head p,
.section-card-head a,
.stack-item p,
.property-card p,
.contract-card p,
.finance-row p {
  color: var(--color-text-muted);
}

.site-nav,
.header-actions,
.hero-actions,
.footer-links,
.form-links,
.page-header,
.section-card-head,
.form-actions,
.stack-row,
.card-actions,
.system-home-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav {
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 600;
}

/* =========================
   4. Landing page
   ========================= */
.system-home {
  display: flex;
  justify-content: center;
  padding: 80px 0 40px;
}

.system-home-main {
  width: min(100%, 760px);
  padding: 40px;
  text-align: center;
}

.system-home-main h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.system-home-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.hero-section,
.feature-grid,
.step-grid,
.resource-grid,
.content-grid,
.summary-grid,
.property-grid {
  display: grid;
  gap: 20px;
}

.hero-section {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  margin-bottom: 28px;
}

.hero-copy h1,
.auth-copy h1,
.page-header h1,
.section-head h2,
.plan-card h2 {
  line-height: 1.08;
  color: var(--color-text);
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.hero-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-list li {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  font-weight: 600;
}

.hero-panel {
  padding: 24px;
}

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

.hero-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
}

.hero-card p,
.section-card-head h2,
.form-head h2 {
  margin-bottom: 8px;
}

.hero-card strong,
.plan-side strong,
.summary-card strong,
.property-card strong,
.contract-card strong,
.finance-row strong {
  color: var(--color-text);
  display: block;
}

.hero-card-highlight {
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-accent) 100%);
  color: #ffffff;
}

.hero-card-highlight p,
.hero-card-highlight span,
.hero-card-highlight strong {
  color: #ffffff;
}

.hero-card-wide {
  grid-column: 1 / -1;
}

.section-block {
  margin-bottom: 24px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.feature-grid,
.step-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.resource-card,
.faq-item,
.summary-card,
.section-card,
.property-card,
.contract-card,
.finance-row,
.notice-card {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.card-accent {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
  color: #ffffff;
  border: 0;
}

.card-accent p,
.card-accent strong {
  color: #ffffff;
}

.plan-side {
  min-width: 160px;
  text-align: right;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--color-text);
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  padding: 22px 24px;
  margin-top: 20px;
}

/* =========================
   5. Auth
   ========================= */
.auth-layout {
  min-height: 100vh;
  width: min(calc(100% - 24px), 1100px);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.auth-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.auth-panel-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 58%, var(--color-accent) 100%);
  color: #ffffff;
}

.auth-panel-brand .brand-copy small,
.auth-panel-brand .auth-copy p,
.auth-panel-brand .auth-copy h1 {
  color: #ffffff;
}

.form-card {
  max-width: 520px;
  margin-left: auto;
}

.form-head {
  margin-bottom: 18px;
}

.form-links {
  flex-wrap: wrap;
}

/* =========================
   6. Formulários
   ========================= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-weight: 700;
}

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

.form-field-inline {
  min-width: 180px;
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  color: var(--color-text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-field textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(14, 143, 150, 0.12);
}

/* =========================
   7. App shell
   ========================= */
.app-body {
  background:
    radial-gradient(circle at top left, rgba(14, 143, 150, 0.15), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 111, 127, 0.12), transparent 22%),
    linear-gradient(180deg, #f9fcfc 0%, var(--color-bg) 100%);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 290px 1fr;
}

.app-sidebar {
  padding: 22px;
  background: linear-gradient(180deg, #113f44 0%, #0b6f75 100%);
  color: #ffffff;
}

.sidebar-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.sidebar-card p,
.sidebar-nav a,
.topbar-meta p {
  color: rgba(255, 255, 255, 0.78);
}

.sidebar-nav {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.sidebar-link:hover,
.sidebar-link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.app-main {
  padding: 20px;
}

.app-topbar {
  margin-bottom: 20px;
}

.topbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.topbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar-link {
  font-weight: 600;
  color: var(--color-text-muted);
}

.app-content {
  display: grid;
  gap: 20px;
}

.page-header {
  justify-content: space-between;
}

.notice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
  border-radius: var(--radius-md);
}

.summary-card p {
  margin-bottom: 8px;
}

.summary-card strong {
  font-size: 1.8rem;
}

.content-grid {
  grid-template-columns: 1fr 1fr;
}

.section-card {
  border-radius: var(--radius-lg);
}

.section-card-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-item,
.finance-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.stack-item:last-child,
.finance-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* =========================
   8. Cards de domínio
   ========================= */
.property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card,
.contract-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.property-meta,
.contract-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.property-details,
.contract-details {
  display: grid;
  gap: 8px;
  color: var(--color-text-muted);
}

.card-actions {
  margin-top: 18px;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-rented {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.status-pending {
  background: #fff7df;
  color: #9a6700;
}

.status-alert,
.status-overdue {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.status-overdue {
  background: #ffe4e6;
  color: #b42318;
}

.status-available {
  background: #f1f5f5;
  color: var(--color-text-muted);
}

/* =========================
   9. Feedback
   ========================= */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #143c40;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 56, 60, 0.24);
}

.is-hidden {
  display: none !important;
}

/* =========================
   10. Responsividade
   ========================= */
@media (max-width: 1120px) {
  .hero-section,
  .auth-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .app-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .auth-layout {
    width: min(calc(100% - 16px), var(--container-width));
  }

  .site-header,
  .site-footer,
  .page-header,
  .notice-card,
  .section-card-head,
  .topbar-card,
  .stack-item,
  .finance-row,
  .plan-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .feature-grid,
  .step-grid,
  .resource-grid,
  .hero-grid,
  .summary-grid,
  .form-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .system-home {
    padding: 40px 0 24px;
  }

  .system-home-main {
    padding: 28px 20px;
    text-align: left;
  }

  .system-home-actions {
    justify-content: flex-start;
  }

  .app-main {
    padding: 14px;
  }

  .app-sidebar {
    padding: 18px;
  }

  .form-card {
    margin-left: 0;
  }

  .brand-logo {
    width: 132px;
  }
}

/* =========================
   11. Auth overrides
   ========================= */
.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(14, 143, 150, 0.18), transparent 26%),
    radial-gradient(circle at right center, rgba(255, 111, 127, 0.14), transparent 24%),
    linear-gradient(180deg, #f9fcfc 0%, #eef7f7 100%);
}

.auth-layout {
  width: min(calc(100% - 32px), 1120px);
  padding: 28px 0;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.auth-panel {
  min-width: 0;
  border-radius: 32px;
}

.auth-panel-brand {
  min-height: 640px;
  padding: 40px;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 24px 48px rgba(17, 56, 60, 0.18);
}

.auth-panel-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.auth-brand-stack {
  display: grid;
  gap: 28px;
}

.auth-copy {
  display: grid;
  gap: 16px;
  max-width: 420px;
}

.auth-copy h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.auth-copy p {
  margin-bottom: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
}

.auth-feature-list {
  display: grid;
  gap: 14px;
}

.auth-feature-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auth-feature-item strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.auth-feature-item span {
  color: rgba(255, 255, 255, 0.82);
}

.form-card {
  width: min(100%, 560px);
  margin: 0;
  padding: 40px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 50px rgba(17, 56, 60, 0.12);
}

.form-head {
  margin-bottom: 24px;
}

.form-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.form-head p {
  margin-bottom: 0;
}

.form-links {
  justify-content: space-between;
}

.form-links a {
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  background: #ffffff;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(14, 143, 150, 0.35);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  transform: translateY(-1px);
}

.input-invalid {
  border-color: var(--color-accent-dark) !important;
  box-shadow: 0 0 0 4px rgba(255, 111, 127, 0.12) !important;
}

.form-submit {
  margin-top: 6px;
}

.form-submit.is-loading {
  opacity: 0.86;
  pointer-events: none;
}

.form-message {
  min-height: 24px;
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

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

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

@media (max-width: 920px) {
  .auth-layout {
    max-width: 640px;
    grid-template-columns: 1fr;
    padding: 20px 0 28px;
  }

  .auth-panel-form {
    order: -1;
    padding: 0;
  }

  .auth-panel-brand {
    min-height: auto;
    padding: 30px;
  }

  .form-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .auth-layout {
    width: min(calc(100% - 16px), 1120px);
  }

  .auth-panel-brand {
    padding: 28px 22px;
  }

  .form-card {
    padding: 28px 22px;
  }

  .brand-logo-large {
    width: 190px;
  }
}

/* =========================
   12. Login simple
   ========================= */
.auth-body-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f5f7;
}

.auth-body-google {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #f4f6f8;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #dce7ea;
  box-shadow: 0 6px 22px rgba(17, 56, 60, 0.06);
}

.auth-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #16373a;
  font-size: 1.7rem;
  font-weight: 800;
}

.auth-topbar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.auth-google-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 32px;
}

.auth-google-wrap {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 22px;
  justify-items: center;
}

.auth-google-badge {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #143c40 0%, #0e8f96 56%, #ff6f7f 100%);
  box-shadow: 0 16px 34px rgba(17, 56, 60, 0.18);
}

.auth-google-badge-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.auth-google-card {
  width: 100%;
  padding: 34px 32px 28px;
  border-radius: 24px;
  border: 1px solid #dce7ea;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(17, 56, 60, 0.1);
  text-align: center;
}

.auth-google-head {
  margin-bottom: 22px;
}

.auth-google-head h1 {
  margin-bottom: 10px;
  color: #0f2740;
  font-size: clamp(2rem, 4.2vw, 2.45rem);
  line-height: 1.1;
}

.auth-google-head p {
  margin: 0;
  color: #5e7980;
  font-size: 1.02rem;
}

.auth-google-card .btn-google {
  min-height: 58px;
  border-radius: 14px;
  border-color: #ccdadd;
  box-shadow: none;
  font-size: 1.03rem;
}

.auth-google-message {
  min-height: 24px;
  margin: 12px 0 0;
  text-align: center;
}

.auth-google-note {
  margin-top: 18px;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-top: 1px solid #e3eaed;
  color: #607b81;
  font-size: 0.96rem;
}

.auth-google-note-icon {
  color: #28b862;
  font-size: 0.85rem;
}

.auth-simple {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  width: min(100%, 440px);
  padding: 30px 24px 28px;
  background: #ffffff;
  border: 1px solid #dce7ea;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(17, 56, 60, 0.1);
  text-align: center;
}

.auth-logo-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #edf7f8;
  border: 1px solid #d8eaec;
}

.auth-logo-image {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.auth-card-head {
  margin-bottom: 26px;
}

.auth-card-head h1 {
  margin-bottom: 10px;
  color: #148c96;
  font-size: clamp(2rem, 4.4vw, 2.35rem);
  line-height: 1.12;
}

.auth-card-head p {
  margin-bottom: 0;
  color: #587579;
  font-size: 1rem;
}

.auth-card-form {
  display: grid;
  gap: 18px;
  text-align: left;
}

.auth-card-form .form-field span {
  color: #18383b;
}

.auth-card-form .form-field input {
  min-height: 54px;
  border-radius: 10px;
  background: #ffffff;
  border-color: #ccdadd;
  box-shadow: inset 0 1px 2px rgba(17, 56, 60, 0.04);
}

.auth-card-form .form-submit {
  min-height: 56px;
  margin-top: 2px;
  border-radius: 10px;
  background: #198f98;
  box-shadow: none;
}

.auth-card-form .form-submit:hover {
  background: #147a82;
}

.auth-card-form .form-message {
  min-height: 20px;
  margin-top: -2px;
  text-align: left;
}

.auth-card-footer {
  margin: 20px 0 0;
  color: #6a8488;
  font-size: 0.98rem;
}

.auth-card-footer a {
  color: #148c96;
  font-weight: 700;
}

.auth-alt-login {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.auth-divider {
  position: relative;
  text-align: center;
  color: #789196;
  font-size: 0.9rem;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #dce7ea;
}

.auth-divider span {
  position: relative;
  padding: 0 12px;
  background: #ffffff;
}

.btn-google {
  gap: 12px;
  min-height: 54px;
  border-radius: 10px;
  border-color: #ccdadd;
  background: #ffffff;
  color: #16373a;
  box-shadow: 0 10px 22px rgba(17, 56, 60, 0.06);
}

.btn-google:hover {
  background: #f8fbfb;
  border-color: #bfcfd3;
}

.btn-google.is-loading {
  opacity: 0.84;
  pointer-events: none;
}

.btn-google-mark {
  font-size: 1.15rem;
  font-weight: 800;
  color: #db4437;
}

@media (max-width: 520px) {
  .auth-topbar {
    padding: 14px 16px;
  }

  .auth-topbar-brand {
    font-size: 1.35rem;
  }

  .auth-google-main {
    padding: 36px 14px 24px;
  }

  .auth-google-wrap {
    gap: 18px;
  }

  .auth-google-badge {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .auth-google-badge-logo {
    width: 42px;
    height: 42px;
  }

  .auth-google-card {
    padding: 28px 20px 24px;
    border-radius: 20px;
  }

  .auth-card {
    width: min(100%, 100%);
    padding: 26px 18px 24px;
    border-radius: 18px;
  }

  .auth-logo-wrap {
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
  }

  .auth-card-head {
    margin-bottom: 22px;
  }
}

/* =========================
   13. App refinement
   ========================= */
.app-body {
  background: #f6f9fa;
}

.app-shell {
  grid-template-columns: 248px 1fr;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid #dde7ea;
  color: var(--color-text);
}

.sidebar-top {
  display: grid;
  gap: 20px;
}

.sidebar-brand {
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
}

.sidebar-brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.sidebar-brand .brand-copy {
  gap: 0;
}

.sidebar-brand .brand-copy strong {
  font-size: 1.05rem;
  color: #0f7f88;
}

.sidebar-nav {
  margin-top: 0;
  gap: 6px;
}

.sidebar-link {
  justify-content: flex-start;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid transparent;
  color: #567378;
}

.sidebar-link-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sidebar-link-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.sidebar-link-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-link:hover {
  background: #f4fafb;
  border-color: #e1eff1;
  color: #1a8e97;
}

.sidebar-link.is-active {
  background: #eaf6f7;
  border-color: #d4eaec;
  color: #148892;
  box-shadow: none;
}

.sidebar-footer {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #e3ecef;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #dff1f3;
  color: #11828b;
  font-weight: 700;
}

.sidebar-user-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sidebar-user-copy strong {
  font-size: 0.94rem;
  color: var(--color-text);
}

.sidebar-user-copy small {
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-footer-actions {
  display: grid;
  gap: 10px;
}

.sidebar-footer-link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.sidebar-logout {
  min-height: 42px;
  border-radius: 14px;
}

.app-main {
  padding: 28px 32px;
}

.app-content {
  gap: 24px;
}

.page-header {
  align-items: flex-end;
  gap: 18px;
  padding-top: 4px;
}

.page-header h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-header p {
  margin-bottom: 0;
  max-width: 52ch;
}

.notice-card,
.summary-card,
.section-card,
.property-card,
.contract-card,
.finance-row {
  background: rgba(255, 255, 255, 0.96);
  border-color: #dde7ea;
  box-shadow: 0 10px 26px rgba(17, 56, 60, 0.06);
}

.notice-card {
  padding: 20px 22px;
  border-radius: 24px;
}

.summary-grid {
  gap: 16px;
}

.summary-card {
  padding: 20px;
  border-radius: 22px;
}

.summary-card p {
  color: var(--color-text-muted);
}

.summary-card strong {
  font-size: 1.65rem;
}

.content-grid {
  gap: 18px;
}

.section-card {
  padding: 22px;
  border-radius: 24px;
}

.section-card-head {
  margin-bottom: 16px;
}

.section-card-head h2 {
  margin-bottom: 6px;
}

.stack-list {
  gap: 6px;
}

.stack-item,
.finance-row {
  padding: 14px 0;
}

.property-card,
.contract-card {
  padding: 20px;
  border-radius: 22px;
}

.card-actions .btn,
.page-header .btn,
.notice-card .btn {
  border-radius: 14px;
}

@media (max-width: 1120px) {
  .app-main {
    padding: 22px 20px;
  }
}

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

  .app-sidebar {
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid #dde7ea;
  }

  .sidebar-footer {
    padding-top: 16px;
  }
}

@media (max-width: 760px) {
  .app-main {
    padding: 18px 14px;
  }

  .page-header {
    align-items: flex-start;
  }

  .summary-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   14. Dashboard polish
   ========================= */
.app-body {
  background:
    radial-gradient(circle at top left, rgba(14, 143, 150, 0.08), transparent 26%),
    linear-gradient(180deg, #f7fafb 0%, #f2f7f8 100%);
}

.app-shell {
  grid-template-columns: 232px 1fr;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid #e3ebee;
  box-shadow: inset -1px 0 0 rgba(17, 56, 60, 0.02);
}

.sidebar-top {
  gap: 24px;
}

.sidebar-brand {
  padding: 8px 10px;
  border-radius: 16px;
}

.sidebar-brand-logo {
  width: 34px;
  height: 34px;
}

.sidebar-brand .brand-copy strong {
  font-size: 1.08rem;
  color: #113a3e;
}

.sidebar-nav {
  gap: 8px;
}

.sidebar-link {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #607a80;
  font-weight: 600;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.sidebar-link:hover {
  transform: translateX(2px);
  background: #f4f9fa;
  border-color: #e4eff1;
  color: #137f88;
}

.sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(14, 143, 150, 0.12), rgba(14, 143, 150, 0.08));
  border-color: #cfe6e8;
  color: #0f7f88;
}

.sidebar-link-icon {
  width: 20px;
  height: 20px;
}

.sidebar-link-icon svg {
  width: 19px;
  height: 19px;
}

.sidebar-footer {
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e4ecef;
}

.sidebar-user {
  padding: 10px 12px;
  border: 1px solid #e3ecef;
  border-radius: 16px;
  background: #f8fbfb;
}

.sidebar-user-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #dff1f3 0%, #eef8f8 100%);
  color: #11828b;
}

.sidebar-footer-link {
  padding-left: 2px;
  font-weight: 600;
}

.sidebar-logout {
  min-height: 44px;
  background: #f7fbfb;
}

.app-main {
  padding: 30px 34px;
}

.dashboard-content {
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}

.dashboard-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding-top: 4px;
  padding-bottom: 2px;
}

.dashboard-header .section-tag {
  margin-bottom: 14px;
}

.dashboard-header h1 {
  margin-bottom: 8px;
  color: #113a3e;
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  letter-spacing: -0.03em;
}

.dashboard-header p {
  max-width: 62ch;
  font-size: 1rem;
  color: #698287;
}

.dashboard-header .btn {
  min-width: 176px;
  min-height: 50px;
  border-radius: 15px;
  box-shadow: 0 14px 26px rgba(14, 143, 150, 0.14);
}

.dashboard-panels {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: start;
  gap: 18px;
}

.dashboard-finance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.dashboard-panel {
  min-height: 100%;
  padding: 22px 22px 20px;
  border-radius: 24px;
  border: 1px solid #dfe8eb;
  background: rgba(255, 255, 255, 0.98);
}

.dashboard-panel-feature {
  padding-bottom: 22px;
}

.dashboard-annual-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.dashboard-year-filter select {
  min-width: 108px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d8e4e7;
  border-radius: 14px;
  background: #f8fbfb;
  color: #17383c;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.monthly-receipt-summary {
  display: grid;
  gap: 22px;
}

.monthly-receipt-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.monthly-receipt-head strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.06rem;
  color: #16373a;
}

.monthly-receipt-head p {
  margin: 0;
  max-width: 52ch;
  color: #71878d;
}

.monthly-receipt-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.monthly-metric-card {
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid #e2ecef;
  background: #fbfdfd;
}

.monthly-metric-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6f878c;
}

.monthly-metric-card strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: #17383c;
}

.monthly-metric-card.is-primary {
  background: linear-gradient(180deg, #f7fbfb 0%, #f2f9f9 100%);
}

.monthly-metric-card.is-success {
  background: linear-gradient(180deg, #f7fcf9 0%, #eff9f2 100%);
}

.monthly-metric-card.is-alert {
  background: linear-gradient(180deg, #fff8f9 0%, #fff2f4 100%);
}

.monthly-chart {
  display: grid;
  gap: 14px;
}

.monthly-chart-row {
  display: grid;
  gap: 8px;
}

.monthly-chart-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.monthly-chart-copy span {
  color: #5f7a80;
  font-weight: 600;
}

.monthly-chart-copy strong {
  color: #17383c;
}

.monthly-chart-track {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf4f5;
}

.monthly-chart-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.monthly-chart-bar.is-primary {
  background: linear-gradient(90deg, #0e8f96 0%, #2ba8af 100%);
}

.monthly-chart-bar.is-success {
  background: linear-gradient(90deg, #2d9d64 0%, #4ac17d 100%);
}

.monthly-chart-bar.is-alert {
  background: linear-gradient(90deg, #ff6f7f 0%, #ff9aa6 100%);
}

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

.dashboard-annual-head {
  display: grid;
}

.annual-metric-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e1ebee;
  background: #fbfdfd;
}

.annual-metric-card span {
  display: block;
  margin-bottom: 10px;
  color: #70878d;
  font-size: 0.9rem;
  font-weight: 600;
}

.annual-metric-card strong {
  display: block;
  color: #17383c;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.annual-metric-card.is-success {
  background: linear-gradient(180deg, #f7fcf9 0%, #eff8f2 100%);
}

.annual-metric-card.is-alert {
  background: linear-gradient(180deg, #fff8f9 0%, #fff1f4 100%);
}

.dashboard-receipts-panel {
  padding-bottom: 10px;
}

.receipt-list-shell {
  display: grid;
  gap: 8px;
}

.receipt-list-head,
.receipt-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) minmax(170px, 1.1fr) 120px 120px 120px 170px;
  align-items: center;
  gap: 14px;
}

.receipt-list-head {
  padding: 0 0 8px;
  color: #7b9197;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.receipt-list {
  display: grid;
  gap: 10px;
}

.receipt-row {
  padding: 16px 0;
  border-top: 1px solid #edf2f4;
}

.receipt-row span {
  color: #667f84;
}

.receipt-row strong {
  color: #17383c;
  font-size: 0.98rem;
}

.receipt-cell {
  min-width: 0;
}

.receipt-cell-action {
  display: flex;
  justify-content: flex-start;
}

.receipt-action-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border-color: #d8e5e8;
  background: #f7fbfb;
  color: #17383c;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

.receipt-action-btn:hover {
  border-color: #c7dadd;
  background: #eef6f7;
}

.section-card-head {
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
}

.section-card-head h2 {
  margin-bottom: 0;
  color: #15373b;
  font-size: 1.3rem;
}

.section-card-head a {
  font-weight: 700;
  color: #13828b;
}

.section-card-head a:hover {
  color: #0d6970;
}

.stack-list {
  gap: 10px;
}

.stack-item {
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #edf2f4;
}

.stack-item strong {
  display: block;
  margin-bottom: 6px;
  color: #17383c;
  font-size: 0.98rem;
}

.stack-item p {
  margin: 0;
  color: #718a8f;
}

#property-preview-list {
  gap: 12px;
}

.property-card-compact {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid #e3ecef;
  background: #fbfdfd;
  box-shadow: none;
}

.property-card-compact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.property-card-compact-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

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

.property-card-compact-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #16373a;
}

.property-card-compact p {
  margin: 0;
  color: #6f878d;
}

.property-card-compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #7a9196;
  font-size: 0.9rem;
}

.property-card-compact-price {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.property-card-compact-price strong {
  font-size: 1.15rem;
  color: #13373b;
}

.property-card-compact-price span {
  color: #718a8f;
  font-size: 0.9rem;
}

.dashboard-page .status-badge {
  font-size: 0.76rem;
  padding: 6px 10px;
}

@media (max-width: 1180px) {
  .dashboard-finance-grid,
  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .receipt-list-head,
  .receipt-row {
    grid-template-columns: minmax(150px, 1.3fr) minmax(140px, 1fr) 110px 110px 110px 150px;
  }
}

@media (max-width: 920px) {
  .app-sidebar {
    position: static;
    height: auto;
  }

  .app-main {
    padding: 22px 18px;
  }

  .dashboard-header,
  .dashboard-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .monthly-receipt-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .monthly-receipt-metrics,
  .annual-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .receipt-row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 16px;
    border: 1px solid #e7eef0;
    border-radius: 18px;
    background: #fbfdfd;
  }
}

@media (max-width: 760px) {
  .dashboard-content {
    gap: 18px;
  }

  .monthly-receipt-metrics,
  .annual-summary-grid,
  .receipt-row {
    grid-template-columns: 1fr;
  }

  .receipt-list-head {
    display: none;
  }

  .receipt-row {
    gap: 10px;
  }

  .receipt-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #7c9196;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .receipt-cell-action {
    justify-content: stretch;
  }

  .receipt-action-btn {
    width: 100%;
  }

  .property-card-compact-main,
  .property-card-compact-head {
    display: grid;
    gap: 10px;
  }

  .property-card-compact-main {
    grid-template-columns: 1fr;
  }

  .property-card-compact-price {
    justify-items: start;
    text-align: left;
  }
}

/* =========================
   15. App topbar
   ========================= */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid #e2eaed;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(17, 56, 60, 0.05);
}

.app-topbar-shell {
  width: min(calc(100% - 32px), 1380px);
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.topbar-brand {
  gap: 10px;
  min-width: fit-content;
}

.topbar-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.topbar-brand .brand-copy strong {
  color: #14393d;
  font-size: 1.06rem;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #637d82;
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.topbar-link-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.topbar-link-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-link:hover {
  color: #117f88;
  background: #f3f9fa;
  border-color: #e1ecef;
}

.topbar-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0e8f96 0%, #1097a0 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(14, 143, 150, 0.18);
}

.topbar-user-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  position: relative;
}

.topbar-user-menu {
  position: relative;
  max-width: 100%;
}

.topbar-user-trigger {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
}

.topbar-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #e2eaed;
  border-radius: 16px;
  background: #f8fbfb;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.topbar-user-trigger:hover .topbar-user-chip,
.topbar-user-menu.is-open .topbar-user-chip,
.topbar-user-trigger:focus-visible .topbar-user-chip {
  background: #f2f9fa;
  border-color: #d3e4e7;
  box-shadow: 0 12px 24px rgba(17, 56, 60, 0.08);
}

.topbar-user-trigger:focus-visible {
  outline: none;
}

.topbar-user-trigger:focus-visible .topbar-user-chip {
  border-color: #9fcfd3;
  box-shadow: 0 0 0 4px rgba(14, 143, 150, 0.14);
}

.topbar-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dff1f3 0%, #edf7f8 100%);
  color: #117f88;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}

.topbar-user-avatar-fallback {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.topbar-user-avatar-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
}

.topbar-user-avatar.is-photo-ready .topbar-user-avatar-image {
  opacity: 1;
}

.topbar-user-avatar.is-photo-ready .topbar-user-avatar-fallback {
  opacity: 0;
  transform: scale(0.92);
}

.topbar-user-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.topbar-user-copy strong {
  color: #17383c;
  font-size: 0.92rem;
}

.topbar-user-copy small {
  color: #789196;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.topbar-user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  width: min(220px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid #e1ebee;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(17, 56, 60, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transform-origin: top right;
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}

.topbar-user-menu.is-open .topbar-user-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.topbar-user-dropdown-item {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #234247;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}

.topbar-user-dropdown-item:hover {
  background: #f4f9fa;
  color: #123a3f;
}

.topbar-user-dropdown-item.is-danger {
  color: #c34c5d;
}

.topbar-user-dropdown-item.is-danger:hover {
  background: #fff4f6;
  color: #b13e50;
}

.app-main {
  padding: 28px 32px 34px;
}

.app-content {
  width: min(100%, 1380px);
  margin: 0 auto;
}

@media (max-width: 1180px) {
  .app-topbar-shell {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 14px 0;
    gap: 14px;
  }

  .topbar-nav {
    justify-content: flex-start;
  }

  .topbar-user-area {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  .app-topbar-shell {
    width: min(calc(100% - 20px), 1380px);
  }

  .topbar-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .topbar-link {
    flex: 0 0 auto;
  }

  .topbar-user-area {
    align-items: stretch;
  }

  .topbar-user-menu {
    width: 100%;
  }

  .topbar-user-trigger {
    width: 100%;
  }

  .topbar-user-chip {
    flex: 1 1 auto;
  }

  .topbar-user-dropdown {
    width: 100%;
    max-width: none;
  }

  .app-main {
    padding: 20px 14px 24px;
  }
}

/* =========================
   16. Landing page refresh
   ========================= */
.landing-page {
  background:
    radial-gradient(circle at top left, rgba(14, 143, 150, 0.18), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(255, 111, 127, 0.12), transparent 20%),
    linear-gradient(180deg, #f9fcfc 0%, #eef6f6 100%);
}

.landing-shell {
  padding: 24px 0 40px;
}

.landing-main {
  display: grid;
  gap: 28px;
}

.landing-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  margin-bottom: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(17, 56, 60, 0.08);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.landing-brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.landing-brand-copy {
  display: grid;
  gap: 4px;
}

.landing-brand-copy strong {
  font-size: 1.06rem;
  line-height: 1.05;
  color: #14373b;
}

.landing-brand-copy small {
  color: #6b8589;
  font-size: 0.9rem;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #627c81;
  font-weight: 700;
  transition:
    color var(--transition),
    background var(--transition);
}

.landing-nav a:hover {
  color: #0d7379;
  background: #f1f8f8;
}

.landing-header-actions,
.landing-hero-actions,
.landing-footer-legal,
.landing-social-list,
.landing-footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 24px;
  align-items: center;
}

.landing-hero-copy {
  padding: 18px 0;
}

.landing-hero-copy h1,
.landing-section-head h2,
.landing-cta h2 {
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #14373b;
}

.landing-hero-copy h1 {
  max-width: 11ch;
  margin: 18px 0 16px;
  font-size: clamp(2.9rem, 6vw, 4.8rem);
}

.landing-hero-text,
.landing-section-head p,
.landing-info-card p,
.landing-step-card p,
.landing-cta p,
.landing-footer-brand p,
.landing-preview-item span,
.landing-preview-highlight small {
  color: #607a7e;
}

.landing-hero-text {
  max-width: 56ch;
  margin-bottom: 24px;
  font-size: 1.06rem;
  line-height: 1.7;
}

.landing-hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.landing-hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 230, 232, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  color: #204347;
}

.landing-hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  flex: 0 0 auto;
}

.landing-preview {
  padding: 26px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 251, 0.96) 100%);
  box-shadow: 0 24px 52px rgba(17, 56, 60, 0.1);
}

.landing-preview-top,
.landing-preview-item,
.landing-footer-main,
.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-preview-eyebrow {
  margin-bottom: 4px;
  color: #738d91;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-preview-top strong,
.landing-preview-item strong,
.landing-info-card h3,
.landing-step-card h3,
.landing-footer-column h3 {
  color: #16373b;
}

.landing-preview-highlight {
  margin: 22px 0;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0c7278 0%, #0e8f96 58%, #33a6ac 100%);
  color: #ffffff;
}

.landing-preview-highlight span,
.landing-preview-highlight strong,
.landing-preview-highlight small {
  color: #ffffff;
}

.landing-preview-highlight span,
.landing-metric span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-preview-highlight strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.landing-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.landing-metric,
.landing-preview-item {
  padding: 16px 18px;
  border: 1px solid #dbe8ea;
  border-radius: 20px;
  background: #fbfdfd;
}

.landing-metric strong {
  display: block;
  color: #14373b;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.landing-preview-list {
  display: grid;
  gap: 12px;
}

.landing-preview-item {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.landing-section {
  display: grid;
  gap: 20px;
}

.landing-section-head {
  max-width: 760px;
}

.landing-section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.landing-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.landing-info-card,
.landing-step-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.07);
}

.landing-card-icon,
.landing-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.landing-card-icon {
  margin-bottom: 18px;
  background: #ecf8f8;
  color: #0d7980;
}

.landing-info-card h3,
.landing-step-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.landing-info-card p,
.landing-step-card p {
  margin-bottom: 0;
  line-height: 1.65;
}

.landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.landing-step-card {
  position: relative;
  overflow: hidden;
}

.landing-step-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 143, 150, 0.14), transparent 70%);
}

.landing-step-number {
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, #fff2f3 100%);
  color: #cf4b5d;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 34px;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, #0a6d73 0%, #0e8f96 56%, #159aa3 100%);
  box-shadow: 0 24px 46px rgba(14, 143, 150, 0.2);
}

.landing-cta h2,
.landing-cta p {
  color: #ffffff;
}

.landing-cta h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.landing-cta-copy {
  max-width: 760px;
}

.landing-cta .btn {
  min-width: 180px;
}

.landing-footer {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 34px 34px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(50, 112, 135, 0.34), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(135, 49, 92, 0.24), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(220, 91, 89, 0.28), transparent 30%),
    linear-gradient(135deg, #101d2c 0%, #182434 34%, #261d31 68%, #3b1e29 100%);
  box-shadow: 0 26px 56px rgba(9, 15, 24, 0.3);
}

.landing-footer::before,
.landing-footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.landing-footer::before {
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 122, 104, 0.2), transparent 72%);
}

.landing-footer::after {
  left: -120px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(39, 115, 136, 0.22), transparent 70%);
}

.landing-footer-main {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-footer-brand {
  max-width: 380px;
}

.landing-brand-footer {
  margin-bottom: 16px;
}

.landing-footer .landing-brand-copy strong,
.landing-footer .landing-footer-column h3,
.landing-footer .landing-footer-credit a,
.landing-footer .landing-social-link,
.landing-footer .landing-footer-contact {
  color: #f8fbff;
}

.landing-footer .landing-brand-copy small,
.landing-footer-brand p,
.landing-footer-column a,
.landing-footer-column span,
.landing-footer-bottom span,
.landing-footer-credit,
.landing-footer-credit a {
  color: rgba(234, 241, 247, 0.82);
}

.landing-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  flex: 1 1 auto;
}

.landing-footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.landing-footer-column h3 {
  margin-bottom: 10px;
  padding-bottom: 12px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 122, 104, 0.65);
}

.landing-footer-column a:hover,
.landing-footer-legal a:hover,
.landing-social-list a:hover,
.landing-footer-credit a:hover {
  color: #ffffff;
}

.landing-social-list a,
.landing-footer-legal a {
  font-weight: 600;
}

.landing-footer-column a,
.landing-footer-meta,
.landing-footer-credit a,
.landing-footer-legal a {
  transition:
    color var(--transition),
    opacity var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.landing-footer-column a:hover,
.landing-footer-credit a:hover,
.landing-footer-legal a:hover {
  transform: translateY(-1px);
}

.landing-footer-contact,
.landing-social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
}

.landing-footer-contact span:last-child,
.landing-social-link span:last-child {
  line-height: 1.5;
}

.landing-footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.landing-footer-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-footer-icon-instagram {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.9), rgba(253, 89, 73, 0.88));
  border-color: rgba(255, 255, 255, 0.16);
}

.landing-footer-icon-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9), rgba(22, 163, 74, 0.86));
  border-color: rgba(255, 255, 255, 0.16);
}

.landing-footer-meta {
  color: rgba(234, 241, 247, 0.76);
}

.landing-social-list {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.landing-footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 18px;
}

.landing-footer-bottom-right {
  justify-content: flex-end;
}

.landing-footer-legal {
  gap: 16px;
}

.landing-footer-legal a {
  position: relative;
}

.landing-footer-legal a::after,
.landing-footer-column a::after,
.landing-footer-credit a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  opacity: 0.7;
}

.landing-footer-column a,
.landing-footer-credit a {
  position: relative;
}

.landing-footer-legal a:hover::after,
.landing-footer-column a:hover::after,
.landing-footer-credit a:hover::after {
  transform: scaleX(1);
}

.landing-footer-credit {
  margin: 0;
  color: rgba(234, 241, 247, 0.82);
}

.landing-footer-credit a {
  font-weight: 700;
  color: #ff8f7c;
}

@media (max-width: 1180px) {
  .landing-header,
  .landing-hero,
  .landing-footer-main,
  .landing-cta {
    grid-template-columns: 1fr;
  }

  .landing-header,
  .landing-footer-main,
  .landing-cta {
    display: grid;
  }

  .landing-header {
    justify-items: start;
  }

  .landing-nav {
    justify-content: flex-start;
  }

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

  .landing-footer-columns {
    width: 100%;
  }

  .landing-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-footer-bottom-right {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .landing-steps-grid,
  .landing-footer-columns {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    gap: 18px;
  }

  .landing-hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .landing-shell {
    padding: 16px 0 28px;
  }

  .landing-header,
  .landing-preview,
  .landing-info-card,
  .landing-step-card,
  .landing-cta,
  .landing-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-header-actions,
  .landing-hero-actions {
    width: 100%;
  }

  .landing-header-actions .btn,
  .landing-hero-actions .btn,
  .landing-cta .btn {
    flex: 1 1 180px;
  }

  .landing-preview-grid,
  .landing-benefits-grid {
    grid-template-columns: 1fr;
  }

  .landing-header {
    gap: 14px;
  }

  .landing-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .landing-footer-bottom-right,
  .landing-footer-legal {
    display: grid;
    gap: 10px;
  }

  .landing-footer-bottom-right {
    width: 100%;
  }

  .landing-hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

@media (max-width: 520px) {
  .landing-brand {
    align-items: flex-start;
  }

  .landing-brand-logo {
    width: 44px;
    height: 44px;
  }

  .landing-nav a {
    padding: 0 12px;
  }

  .landing-preview-highlight strong {
    font-size: 1.7rem;
  }
}

/* =========================
   17. Mobile refinement
   ========================= */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.site-shell,
.app-main,
.app-content,
.landing-main,
.section-card,
.dashboard-panel,
.landing-preview,
.landing-footer,
.auth-google-card,
.property-card,
.contract-card,
.receipt-row,
.stack-item,
.finance-row {
  min-width: 0;
}

.page-header > div,
.section-card-head > div,
.topbar-user-chip,
.topbar-user-copy,
.landing-brand-copy,
.landing-footer-column,
.receipt-cell,
.monthly-chart-copy {
  min-width: 0;
}

@media (max-width: 980px) {
  .landing-header,
  .landing-hero,
  .dashboard-finance-grid,
  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .landing-header {
    align-items: start;
    gap: 16px;
  }

  .landing-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .landing-nav::-webkit-scrollbar {
    display: none;
  }

  .landing-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
  }

  .landing-header-actions,
  .page-header,
  .section-card-head,
  .dashboard-header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .landing-header-actions,
  .page-header,
  .section-card-head {
    gap: 12px;
  }

  .page-header .btn,
  .dashboard-header .btn,
  .landing-header-actions .btn {
    width: 100%;
    max-width: none;
  }

  .dashboard-year-filter,
  .dashboard-year-filter select,
  .form-field-inline {
    width: 100%;
    min-width: 0;
  }

  .dashboard-annual-head {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 16px), var(--container-width));
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .btn {
    min-height: 52px;
    padding: 0 16px;
    font-size: 0.98rem;
  }

  .landing-header,
  .landing-preview,
  .landing-info-card,
  .landing-step-card,
  .landing-cta,
  .landing-footer,
  .section-card,
  .dashboard-panel,
  .property-card,
  .contract-card,
  .auth-google-card {
    border-radius: 20px;
  }

  .landing-header,
  .landing-preview,
  .landing-info-card,
  .landing-step-card,
  .landing-cta,
  .landing-footer {
    padding: 18px;
  }

  .landing-header-actions,
  .landing-hero-actions,
  .landing-cta-actions,
  .form-actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
  }

  .landing-header-actions .btn,
  .landing-hero-actions .btn,
  .landing-cta .btn,
  .form-actions .btn,
  .card-actions .btn {
    width: 100%;
  }

  .landing-hero-copy {
    padding: 6px 0 0;
  }

  .landing-hero-text,
  .landing-section-head p,
  .landing-footer-brand p,
  .page-header p,
  .dashboard-header p {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .landing-hero-points li {
    align-items: flex-start;
    padding: 13px 14px;
    font-size: 0.95rem;
  }

  .landing-footer-columns {
    gap: 20px;
  }

  .landing-footer-contact,
  .landing-social-link {
    width: 100%;
    align-items: flex-start;
  }

  .landing-footer-bottom-right,
  .landing-footer-legal {
    width: 100%;
  }

  .landing-footer-column a,
  .landing-footer-contact,
  .landing-social-link,
  .landing-footer-legal a {
    min-height: 44px;
    padding: 8px 0;
  }

  .auth-topbar {
    padding: 12px 14px;
  }

  .auth-topbar-brand {
    gap: 10px;
    font-size: 1.12rem;
  }

  .auth-topbar-logo {
    width: 32px;
    height: 32px;
  }

  .auth-google-main {
    align-items: flex-start;
    padding: 24px 12px 18px;
  }

  .auth-google-wrap {
    max-width: 100%;
    gap: 16px;
  }

  .auth-google-card {
    padding: 24px 18px 20px;
  }

  .auth-google-head {
    margin-bottom: 18px;
  }

  .auth-google-head h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }

  .auth-google-head p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .auth-google-note {
    flex-wrap: wrap;
    text-align: center;
    font-size: 0.92rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    min-height: 56px;
    font-size: 16px;
  }

  .form-actions {
    align-items: stretch;
  }

  .app-topbar-shell {
    width: min(calc(100% - 20px), 1380px);
    gap: 12px;
    padding: 12px 0;
  }

  .topbar-brand {
    width: 100%;
  }

  .topbar-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .topbar-nav::-webkit-scrollbar {
    display: none;
  }

  .topbar-link {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 13px;
    white-space: nowrap;
  }

  .topbar-user-area {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }

  .topbar-user-menu,
  .topbar-user-trigger,
  .topbar-user-dropdown {
    width: 100%;
  }

  .topbar-user-chip {
    padding: 10px 12px;
  }

  .topbar-user-copy small {
    display: none;
  }

  .app-main {
    padding: 18px 12px 22px;
  }

  .app-content,
  .dashboard-content {
    gap: 16px;
  }

  .page-header,
  .dashboard-header {
    gap: 12px;
  }

  .page-header h1,
  .dashboard-header h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    line-height: 1.08;
  }

  .section-tag {
    padding: 7px 12px;
    font-size: 0.74rem;
  }

  .section-card,
  .dashboard-panel,
  .property-card,
  .contract-card {
    padding: 18px;
  }

  .summary-grid,
  .content-grid,
  .property-grid,
  .monthly-receipt-metrics,
  .annual-summary-grid {
    grid-template-columns: 1fr;
  }

  .monthly-receipt-head,
  .monthly-chart-copy,
  .stack-item,
  .finance-row {
    display: grid;
    gap: 10px;
  }

  .monthly-receipt-head .pill {
    width: 100%;
    justify-content: center;
  }

  .receipt-list-shell {
    gap: 10px;
  }

  .receipt-list-head {
    display: none;
  }

  .receipt-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e7eef0;
    border-radius: 18px;
    background: #fbfdfd;
  }

  .receipt-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #7c9196;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .receipt-cell-action,
  .receipt-action-btn {
    width: 100%;
  }

  .receipt-cell {
    overflow-wrap: anywhere;
  }

  .receipt-action-btn {
    min-height: 42px;
  }

  .property-meta,
  .contract-meta {
    gap: 8px;
  }

  .property-card h3,
  .contract-card h3 {
    line-height: 1.25;
  }

  .property-details,
  .contract-details {
    gap: 6px;
  }

  .stack-item > div,
  .finance-row > div {
    min-width: 0;
  }

  .finance-row > div:last-child {
    display: grid;
    gap: 8px;
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    padding: 14px 0 24px;
  }

  .landing-header,
  .landing-preview,
  .landing-info-card,
  .landing-step-card,
  .landing-cta,
  .landing-footer,
  .section-card,
  .dashboard-panel,
  .property-card,
  .contract-card,
  .auth-google-card {
    padding: 16px;
    border-radius: 18px;
  }

  .landing-brand {
    align-items: flex-start;
  }

  .landing-brand-logo {
    width: 42px;
    height: 42px;
  }

  .landing-brand-copy strong {
    font-size: 1rem;
  }

  .landing-brand-copy small {
    font-size: 0.82rem;
  }

  .landing-hero-copy h1 {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .landing-preview-highlight {
    padding: 18px;
  }

  .landing-preview-highlight strong {
    font-size: 1.65rem;
  }

  .topbar-brand .brand-copy strong {
    font-size: 0.98rem;
  }

  .topbar-link {
    padding: 0 12px;
  }

  .topbar-link-icon {
    display: none;
  }

  .topbar-user-area {
    grid-template-columns: 1fr;
  }

  .monthly-metric-card,
  .annual-metric-card {
    padding: 14px;
  }

  .monthly-metric-card strong,
  .annual-metric-card strong {
    font-size: 1.15rem;
  }
}

/* =========================
   25. Google auth extras
   ========================= */
.auth-google-actions {
  display: grid;
  gap: 14px;
}

.auth-inline-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #6f878d;
  font-weight: 600;
}

.auth-inline-links a {
  color: var(--color-primary-dark);
}

/* =========================
   25.2 Supporter page
   ========================= */
.supporter-page .app-main {
  overflow-x: hidden;
}

.supporter-content-page {
  width: min(100%, 1180px);
  display: grid;
  gap: 20px;
}

.supporter-page-header {
  padding: 0 0 2px;
}

.supporter-page-header h1 {
  margin: 12px 0 10px;
  color: #102f35;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.supporter-page-header p {
  max-width: 72ch;
  margin: 0;
  color: #5f7a82;
  font-size: 1.02rem;
  line-height: 1.6;
}

.supporter-return-message {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d8e5e8;
  background: #f7fbfb;
  color: #24484d;
  font-weight: 700;
}

.supporter-return-message.is-success {
  border-color: #bfe5d0;
  background: #edf9f2;
  color: #167245;
}

.supporter-return-message.is-neutral {
  border-color: #d8e5e8;
  background: #f7fbfb;
  color: #5f7176;
}

.supporter-banner-card {
  padding: 14px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.08);
}

.supporter-banner-card img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.supporter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}

.supporter-info-card,
.supporter-price-card,
.supporter-checkout-card {
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.08);
}

.supporter-info-card h2 {
  margin: 12px 0 10px;
  color: #12343a;
  font-size: 1.55rem;
  line-height: 1.18;
}

.supporter-info-card > p {
  margin: 0 0 18px;
  color: #607a82;
  line-height: 1.6;
}

.supporter-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.supporter-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfeaec;
  border-radius: 16px;
  background: #fbfdfd;
}

.supporter-benefit-card > span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #e3f7f8;
  color: #0b6f75;
  font-weight: 900;
}

.supporter-benefit-card h3 {
  margin: 0 0 6px;
  color: #12343a;
  font-size: 0.98rem;
  line-height: 1.2;
}

.supporter-benefit-card p {
  margin: 0;
  color: #627d84;
  font-size: 0.9rem;
  line-height: 1.45;
}

.supporter-price-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  border-color: #cfe6e8;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.supporter-price-eyebrow {
  margin: 4px 0 -6px;
  color: #607a82;
  font-weight: 700;
}

.supporter-price-card strong {
  display: block;
  color: #102f35;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.supporter-price-card strong span {
  color: #607a82;
  font-size: 1rem;
  font-weight: 700;
}

.supporter-price-card p {
  margin: 0;
  color: #607a82;
  line-height: 1.55;
}

.supporter-price-card small {
  color: #789196;
  line-height: 1.4;
}

.supporter-checkout-button {
  min-height: 50px;
  border-radius: 14px;
  gap: 8px;
}

.supporter-checkout-button.is-loading {
  opacity: 0.82;
  pointer-events: none;
}

.supporter-checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.supporter-checkout-card h2 {
  margin: 0 0 8px;
  color: #12343a;
  font-size: 1.45rem;
}

.supporter-checkout-card p {
  max-width: 66ch;
  margin: 0;
  color: #607a82;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .supporter-grid,
  .supporter-checkout-card {
    grid-template-columns: 1fr;
  }

  .supporter-price-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .supporter-content-page {
    gap: 16px;
  }

  .supporter-page-header h1 {
    font-size: clamp(1.8rem, 9vw, 2.25rem);
  }

  .supporter-banner-card,
  .supporter-info-card,
  .supporter-price-card,
  .supporter-checkout-card {
    padding: 16px;
    border-radius: 18px;
  }

  .supporter-banner-card img {
    max-height: 220px;
    border-radius: 14px;
  }

  .supporter-benefits {
    grid-template-columns: 1fr;
  }

  .supporter-checkout-button {
    width: 100%;
  }
}

/* =========================
   25.1 Clean login
   ========================= */
.auth-login-clean {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  background: #ffffff;
}

.login-clean-shell {
  width: min(90vw, 410px);
  min-height: 100vh;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 56px 0 84px;
}

.login-clean-logo {
  width: 144px;
  height: 80px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 14px;
  background: #f6fafb;
  border: 1px solid #edf3f4;
}

.login-clean-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.login-clean-card {
  width: 100%;
  padding: 34px 30px 28px;
  border: 1px solid #d8e5e8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(17, 56, 60, 0.09);
  text-align: center;
}

.login-clean-head {
  margin-bottom: 24px;
}

.login-clean-head h1 {
  margin-bottom: 10px;
  color: #082f55;
  font-size: clamp(2.15rem, 6vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.login-clean-head p {
  margin: 0;
  color: #526f78;
  font-size: 1.02rem;
  line-height: 1.45;
}

.login-clean-actions {
  gap: 0;
}

.login-clean-google {
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
  border-color: #ccdce0;
  background: #ffffff;
  color: #12343a;
  font-size: 1rem;
  box-shadow: none;
}

.login-clean-google:hover {
  border-color: #b8ccd1;
  background: #fbfdfd;
}

.login-clean-google .btn-google-mark {
  color: #db4437;
  font-size: 1.12rem;
}

.login-clean-message {
  min-height: 20px;
  margin: 10px 0 6px;
  text-align: center;
}

.login-clean-note {
  margin: 22px 0 0;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-top: 1px solid #e1eaed;
  color: #526f78;
  font-size: 0.95rem;
  line-height: 1.4;
}

.login-clean-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex: 0 0 auto;
}

.login-clean-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 1;
  padding: 0 16px;
  color: #8a9ba0;
  font-size: 0.84rem;
  text-align: center;
}

.login-clean-footer a {
  color: #6f858a;
  font-weight: 700;
}

.login-clean-footer a:hover {
  color: #0e8f96;
}

@media (max-width: 520px) {
  .login-clean-shell {
    width: min(90vw, 410px);
    padding: 36px 0 78px;
  }

  .login-clean-logo {
    width: 128px;
    height: 72px;
    margin-bottom: 18px;
  }

  .login-clean-card {
    padding: 28px 20px 24px;
    border-radius: 16px;
  }

  .login-clean-head h1 {
    font-size: clamp(1.95rem, 10vw, 2.28rem);
  }

  .login-clean-head p,
  .login-clean-note {
    font-size: 0.94rem;
  }
}

/* =========================
   26. Dashboard responsive refactor
   ========================= */
.app-body {
  background:
    linear-gradient(180deg, rgba(238, 247, 247, 0.96) 0%, rgba(246, 250, 250, 0.98) 48%, #f7fbfb 100%);
}

.app-shell {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 100vh;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: auto;
  height: 100vh;
  border-right: 1px solid #dbe8eb;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 12px 0 34px rgba(17, 56, 60, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-app-bar,
.mobile-nav-overlay {
  display: none;
}

.app-nav-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 18px 22px;
  overflow-y: auto;
}

.app-nav-main,
.app-nav-footer,
.app-nav-links {
  display: grid;
}

.app-nav-main {
  gap: 28px;
}

.app-nav-footer {
  gap: 16px;
}

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

.app-nav-brand,
.mobile-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.app-nav-brand-logo,
.mobile-app-brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.app-nav-brand .brand-copy,
.mobile-app-brand .brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.app-nav-brand .brand-copy strong,
.mobile-app-brand .brand-copy strong {
  color: #123a3f;
  font-size: 1.02rem;
  line-height: 1.08;
}

.app-nav-brand .brand-copy small,
.mobile-app-brand .brand-copy small {
  color: #688187;
  font-size: 0.84rem;
  line-height: 1.2;
}

.app-nav-links {
  gap: 8px;
}

.app-nav-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #4f6970;
  font-weight: 750;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.app-nav-link:hover {
  transform: translateX(2px);
  color: #0f7f88;
  background: #f2f8f9;
  border-color: #dfecef;
}

.app-nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0e8f96 0%, #1199a0 100%);
  box-shadow: 0 14px 26px rgba(14, 143, 150, 0.18);
}

.app-nav-link.is-supporter-link {
  margin-top: 4px;
  color: #0d7279;
  background: linear-gradient(135deg, rgba(14, 143, 150, 0.14), rgba(14, 143, 150, 0.08));
  border-color: #cfe6e8;
}

.app-nav-link.is-supporter-link:hover,
.app-nav-link.is-supporter-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0e8f96 0%, #1199a0 100%);
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(14, 143, 150, 0.18);
}

.app-nav-link-icon {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.app-nav-link-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu-close {
  display: none;
}

.app-nav-tip {
  padding: 18px;
  border-radius: 18px;
  background: #10383e;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(17, 56, 60, 0.14);
}

.app-nav-tip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.2;
}

.app-nav-tip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.app-nav-panel .topbar-user-area {
  width: 100%;
  margin: 0;
}

.app-nav-panel .topbar-user-menu,
.app-nav-panel .topbar-user-trigger,
.app-nav-panel .topbar-user-chip {
  width: 100%;
}

.app-nav-panel .topbar-user-chip {
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f7fbfb;
}

.app-main {
  min-width: 0;
  padding: 32px 32px 40px;
}

.dashboard-content {
  width: min(100%, 1320px);
  max-width: 1320px;
  display: grid;
  gap: 22px;
}

.dashboard-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 0 0 4px;
}

.dashboard-header .section-tag {
  margin-bottom: 12px;
}

.dashboard-header h1 {
  margin-bottom: 8px;
  color: #102f35;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.dashboard-header p {
  max-width: 70ch;
  margin: 0;
  color: #5e7780;
  font-size: 1.02rem;
  line-height: 1.5;
}

.dashboard-header .btn {
  min-width: 176px;
  min-height: 48px;
  border-radius: 14px;
  white-space: nowrap;
}

.dashboard-finance-grid,
.dashboard-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.dashboard-work-grid {
  grid-template-areas: "receipts alerts";
}

.dashboard-receipts-panel {
  grid-area: receipts;
}

.dashboard-alerts-panel {
  grid-area: alerts;
}

.dashboard-extra-grid {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-panel {
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #dce8eb;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(17, 56, 60, 0.07);
}

.section-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  margin-bottom: 20px;
}

.section-card-head h2 {
  margin: 8px 0 0;
  color: #12343a;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-card-head a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d8e5e8;
  border-radius: 13px;
  color: #0f7880;
  background: #fbfdfd;
  white-space: nowrap;
}

.monthly-receipt-summary {
  gap: 20px;
}

.monthly-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.monthly-receipt-head strong {
  color: #14363b;
  font-size: 1.05rem;
}

.monthly-receipt-head p {
  max-width: 54ch;
  color: #627d84;
  line-height: 1.45;
}

.monthly-receipt-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.monthly-metric-card,
.annual-metric-card {
  border-color: #dbe8eb;
  border-radius: 18px;
}

.monthly-metric-card strong,
.annual-metric-card strong {
  color: #102f35;
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  letter-spacing: 0;
}

.monthly-metric-card.is-alert,
.annual-metric-card.is-alert {
  background: linear-gradient(180deg, #fffaf4 0%, #fff5eb 100%);
}

.monthly-chart-track {
  height: 12px;
  background: #e9f1f2;
}

.monthly-chart-bar.is-alert {
  background: linear-gradient(90deg, #ec8a00 0%, #f5a623 100%);
}

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

.annual-metric-card span,
.monthly-metric-card span {
  color: #607a82;
}

.receipt-list-shell {
  overflow: visible;
}

.receipt-list-head,
.receipt-row {
  grid-template-columns: minmax(150px, 1.35fr) minmax(130px, 1fr) minmax(110px, 0.82fr) minmax(118px, 0.82fr) minmax(150px, 0.92fr);
  gap: 12px;
}

.receipt-list-head {
  padding: 0 8px 8px;
}

.receipt-row {
  padding: 16px 8px;
}

.receipt-list-head span:last-child {
  text-align: center;
}

.receipt-row strong,
.receipt-row span {
  overflow-wrap: anywhere;
}

.receipt-status-cell {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.receipt-status-trigger {
  min-height: 38px;
  gap: 8px;
  border: 0;
  cursor: pointer;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
}

.receipt-status-trigger:hover,
.receipt-status-cell.is-open .receipt-status-trigger {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 56, 60, 0.08);
  filter: saturate(1.05);
}

.receipt-status-trigger.is-switching {
  animation: receiptTogglePop 420ms ease both;
}

.receipt-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.receipt-status-chevron {
  font-size: 0.7rem;
  line-height: 1;
  opacity: 0.7;
}

.receipt-status-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 50%;
  z-index: 25;
  width: 190px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #dbe8eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 56, 60, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(50%, -6px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}

.receipt-status-cell.is-open .receipt-status-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.receipt-status-menu button {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #17383c;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.receipt-status-menu button:hover {
  background: #f3f9fa;
}

.receipt-status-menu button:disabled {
  color: #90a1a6;
  cursor: default;
  background: #f7fafb;
}

.receipt-cell-action {
  justify-content: center;
  min-width: 0;
}

.receipt-action-btn {
  min-height: 40px;
  width: 100%;
  max-width: 112px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 12px;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.receipt-action-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(14, 143, 150, 0.18) 45%, transparent 72%);
  transform: translateX(-120%);
  opacity: 0;
}

.receipt-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 56, 60, 0.08);
}

.receipt-action-btn.is-switching {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #0e8f96 0%, #2eaf7d 100%);
  box-shadow: 0 12px 24px rgba(14, 143, 150, 0.22);
  pointer-events: none;
  animation: receiptTogglePop 420ms ease both;
}

.receipt-action-btn.is-switching::after {
  opacity: 1;
  animation: receiptToggleShine 620ms ease;
}

@keyframes receiptTogglePop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1.02);
  }
}

@keyframes receiptToggleShine {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.dashboard-alerts-panel .stack-list {
  display: grid;
  gap: 12px;
}

.dashboard-alerts-panel .stack-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dfeaec;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdfd 0%, #f7fbfb 100%);
}

.dashboard-alerts-panel .stack-item::before {
  content: "!";
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  grid-row: 1;
  grid-column: 1;
  border-radius: 13px;
  background: #ec8a00;
  color: #ffffff;
  font-weight: 800;
}

.dashboard-alerts-panel .stack-item > div {
  min-width: 0;
  padding-left: 0;
  grid-column: 2;
  grid-row: 1;
}

.dashboard-alerts-panel .stack-item > div:last-child {
  grid-column: 3;
}

.dashboard-alerts-panel .stack-item > .status-badge {
  grid-column: 3;
  justify-self: end;
}

.dashboard-alerts-panel .stack-item strong {
  color: #12343a;
}

.dashboard-alerts-panel .stack-item p {
  color: #607a82;
}

.supporter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.supporter-banner {
  min-width: 0;
}

.supporter-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(17, 56, 60, 0.12);
}

.supporter-content {
  min-width: 0;
}

.supporter-content h2 {
  margin: 12px 0 10px;
  color: #12343a;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.supporter-content p {
  margin: 0;
  color: #607a82;
  line-height: 1.6;
}

.supporter-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 0;
  margin: 18px 0 22px;
  list-style: none;
}

.supporter-benefits li {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  color: #24484d;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.supporter-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0e8f96;
}

.supporter-button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 14px;
  gap: 8px;
}

.supporter-button.is-loading {
  opacity: 0.82;
  pointer-events: none;
}

.supporter-content-page {
  width: min(100%, 1180px);
  display: grid;
  gap: 22px;
}

.supporter-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 24px;
  overflow: hidden;
}

.supporter-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 42px rgba(17, 56, 60, 0.14);
}

.supporter-hero-copy h1 {
  margin: 14px 0 14px;
  color: #102f35;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.supporter-hero-copy p {
  max-width: 58ch;
  margin: 0 0 24px;
  color: #5f7a82;
  font-size: 1.05rem;
  line-height: 1.65;
}

.supporter-checkout-button {
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 14px;
  gap: 8px;
}

.supporter-checkout-button.is-loading {
  opacity: 0.82;
  pointer-events: none;
}

.supporter-pros-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.supporter-pro-card {
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(17, 56, 60, 0.07);
}

.supporter-pro-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #e3f7f8;
  color: #0b6f75;
  font-size: 0.84rem;
  font-weight: 800;
}

.supporter-pro-card h2 {
  margin-bottom: 10px;
  color: #12343a;
  font-size: 1.05rem;
  line-height: 1.2;
}

.supporter-pro-card p {
  margin: 0;
  color: #627d84;
  font-size: 0.94rem;
  line-height: 1.55;
}

.supporter-checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.08);
}

.supporter-checkout-card h2 {
  margin: 12px 0 8px;
  color: #12343a;
  font-size: 1.6rem;
}

.supporter-checkout-card p {
  max-width: 62ch;
  margin: 0;
  color: #607a82;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
  }

  .app-main {
    padding: 26px 22px 34px;
  }

  .dashboard-finance-grid,
  .dashboard-work-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-work-grid {
    grid-template-areas:
      "receipts"
      "alerts";
  }

  .supporter-panel {
    grid-template-columns: 1fr;
  }

  .supporter-hero,
  .supporter-checkout-card {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 769px) {
  .dashboard-finance-grid,
  .dashboard-work-grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.9fr);
  }

  .dashboard-work-grid {
    grid-template-areas: "receipts alerts";
  }
}

@media (min-width: 769px) and (max-width: 1120px) {
  .receipt-list-head {
    display: none;
  }

  .receipt-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    padding: 16px;
    border: 1px solid #dfeaec;
    border-radius: 18px;
    background: #fbfdfd;
  }

  .receipt-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #71878d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .receipt-cell-action,
  .receipt-action-btn {
    width: 100%;
  }

  .receipt-cell-action {
    justify-content: stretch;
  }

  .receipt-action-btn {
    max-width: none;
  }
}

@media (max-width: 768px) {
  body.is-mobile-nav-open {
    overflow: hidden;
  }

  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .app-topbar {
    position: sticky;
    top: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #dce8eb;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(17, 56, 60, 0.08);
  }

  .mobile-app-bar {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
  }

  .mobile-menu-button,
  .mobile-menu-close {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #d8e5e8;
    border-radius: 13px;
    background: #f8fbfb;
    color: #123a3f;
    cursor: pointer;
  }

  .mobile-menu-button {
    gap: 4px;
  }

  .mobile-menu-button span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-menu-close {
    font-size: 1.7rem;
    line-height: 1;
  }

  .mobile-app-brand-logo {
    width: 36px;
    height: 36px;
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8, 28, 32, 0.44);
  }

  .mobile-nav-overlay:not([hidden]) {
    display: block;
  }

  .app-nav-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    width: min(86vw, 328px);
    height: 100dvh;
    padding: 20px 16px;
    background: #ffffff;
    box-shadow: 24px 0 48px rgba(17, 56, 60, 0.2);
    transform: translateX(-104%);
    visibility: hidden;
    transition:
      transform 220ms ease,
      visibility 220ms ease;
  }

  .app-nav-panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .app-nav-brand-logo {
    width: 38px;
    height: 38px;
  }

  .app-nav-link {
    min-height: 50px;
    border-color: #edf3f4;
    background: #fbfdfd;
  }

  .app-nav-link.is-active {
    border-color: transparent;
  }

  .app-nav-tip {
    display: none;
  }

  .app-main {
    padding: 18px 12px 28px;
  }

  .dashboard-content {
    gap: 16px;
  }

  .dashboard-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 4px 2px 0;
  }

  .dashboard-header .section-tag {
    display: none;
  }

  .dashboard-header h1 {
    margin-bottom: 6px;
    font-size: clamp(1.78rem, 8vw, 2.2rem);
    line-height: 1.1;
  }

  .dashboard-header p {
    font-size: 0.95rem;
  }

  .dashboard-header .btn {
    width: 100%;
    min-height: 48px;
  }

  .dashboard-finance-grid,
  .dashboard-work-grid,
  .dashboard-extra-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-work-grid {
    grid-template-areas:
      "alerts"
      "receipts";
  }

  .dashboard-panel {
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(17, 56, 60, 0.06);
  }

  .supporter-panel {
    gap: 18px;
  }

  .supporter-banner img {
    border-radius: 16px;
  }

  .supporter-benefits {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .supporter-button {
    width: 100%;
  }

  .supporter-hero {
    padding: 18px;
    border-radius: 18px;
  }

  .supporter-hero-media img {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  .supporter-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .supporter-checkout-button {
    width: 100%;
  }

  .supporter-pros-grid {
    grid-template-columns: 1fr;
  }

  .supporter-checkout-card {
    padding: 18px;
    border-radius: 18px;
  }

  .section-card-head,
  .dashboard-annual-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-card-head h2 {
    margin-top: 7px;
    font-size: 1.3rem;
  }

  .section-card-head a,
  .dashboard-year-filter,
  .dashboard-year-filter select {
    width: 100%;
  }

  .monthly-receipt-head,
  .monthly-chart-copy {
    display: grid;
    gap: 8px;
  }

  .monthly-receipt-head .pill {
    width: 100%;
    justify-content: center;
  }

  .monthly-receipt-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .monthly-metric-card,
  .annual-metric-card {
    padding: 14px;
    border-radius: 16px;
  }

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

  .annual-metric-card span,
  .monthly-metric-card span {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .annual-metric-card strong,
  .monthly-metric-card strong {
    font-size: 1.18rem;
  }

  .monthly-chart {
    gap: 12px;
  }

  .receipt-list-head {
    display: none;
  }

  .receipt-list {
    gap: 12px;
  }

  .receipt-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dfeaec;
    border-radius: 18px;
    background: #fbfdfd;
  }

  .receipt-cell {
    display: grid;
    gap: 4px;
    overflow-wrap: anywhere;
  }

  .receipt-status-cell {
    justify-content: stretch;
  }

  .receipt-status-trigger {
    width: 100%;
    justify-content: center;
  }

  .receipt-status-menu {
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-6px);
  }

  .receipt-status-cell.is-open .receipt-status-menu {
    transform: translateY(0);
  }

  .receipt-cell::before {
    content: attr(data-label);
    color: #71878d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .receipt-cell-action,
  .receipt-action-btn {
    width: 100%;
  }

  .receipt-cell-action {
    justify-content: stretch;
  }

  .receipt-action-btn {
    max-width: none;
    min-height: 44px;
  }

  .dashboard-alerts-panel .stack-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px;
  }

  .dashboard-alerts-panel .stack-item > div,
  .dashboard-alerts-panel .stack-item > div:last-child {
    grid-column: 2;
    grid-row: auto;
    padding-left: 0;
  }

  .dashboard-alerts-panel .stack-item > div:last-child {
    justify-self: start;
  }

  .dashboard-alerts-panel .stack-item > .status-badge {
    grid-column: 2;
    justify-self: start;
  }

  .dashboard-alerts-panel .stack-item::before {
    grid-row: 1 / span 2;
    margin: 0;
  }
}

@media (max-width: 430px) {
  .app-main {
    padding-inline: 10px;
  }

  .mobile-app-brand .brand-copy small {
    display: none;
  }

  .dashboard-panel {
    padding: 16px;
  }

  .annual-summary-grid {
    grid-template-columns: 1fr;
  }

  .annual-metric-card strong,
  .monthly-metric-card strong {
    font-size: 1.12rem;
  }
}

/* =========================
   27. Supporter page final layout
   ========================= */
.supporter-page .supporter-content-page {
  width: min(100%, 1180px);
  display: grid;
  gap: 20px;
}

.supporter-page .supporter-page-header {
  display: block;
  padding: 0 0 2px;
}

.supporter-page .supporter-page-header h1 {
  margin: 12px 0 10px;
  color: #102f35;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.supporter-page .supporter-page-header p {
  max-width: 72ch;
  margin: 0;
  color: #5f7a82;
  font-size: 1.02rem;
  line-height: 1.6;
}

.supporter-page .supporter-return-message {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d8e5e8;
  background: #f7fbfb;
  color: #24484d;
  font-weight: 700;
}

.supporter-page .supporter-return-message.is-success {
  border-color: #bfe5d0;
  background: #edf9f2;
  color: #167245;
}

.supporter-page .supporter-return-message.is-neutral {
  border-color: #d8e5e8;
  background: #f7fbfb;
  color: #5f7176;
}

.supporter-page .supporter-banner-card {
  padding: 14px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.08);
}

.supporter-page .supporter-banner-card img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.supporter-page .supporter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}

.supporter-page .supporter-info-card,
.supporter-page .supporter-price-card,
.supporter-page .supporter-checkout-card {
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.08);
}

.supporter-page .supporter-info-card h2 {
  margin: 12px 0 10px;
  color: #12343a;
  font-size: 1.55rem;
  line-height: 1.18;
}

.supporter-page .supporter-info-card > p {
  margin: 0 0 18px;
  color: #607a82;
  line-height: 1.6;
}

.supporter-page .supporter-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.supporter-page .supporter-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfeaec;
  border-radius: 16px;
  background: #fbfdfd;
}

.supporter-page .supporter-benefit-card > span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #e3f7f8;
  color: #0b6f75;
  font-weight: 900;
}

.supporter-page .supporter-benefit-card h3 {
  margin: 0 0 6px;
  color: #12343a;
  font-size: 0.98rem;
  line-height: 1.2;
}

.supporter-page .supporter-benefit-card p {
  margin: 0;
  color: #627d84;
  font-size: 0.9rem;
  line-height: 1.45;
}

.supporter-page .supporter-price-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  border-color: #cfe6e8;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.supporter-page .supporter-price-eyebrow {
  margin: 4px 0 -6px;
  color: #607a82;
  font-weight: 700;
}

.supporter-page .supporter-price-card strong {
  display: block;
  color: #102f35;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.supporter-page .supporter-price-card strong span {
  color: #607a82;
  font-size: 1rem;
  font-weight: 700;
}

.supporter-page .supporter-price-card p {
  margin: 0;
  color: #607a82;
  line-height: 1.55;
}

.supporter-page .supporter-price-card small {
  color: #789196;
  line-height: 1.4;
}

.supporter-page .supporter-checkout-button {
  min-height: 50px;
  border-radius: 14px;
  gap: 8px;
}

.supporter-page .supporter-checkout-button.is-loading {
  opacity: 0.82;
  pointer-events: none;
}

.supporter-page .supporter-checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.supporter-page .supporter-checkout-card h2 {
  margin: 0 0 8px;
  color: #12343a;
  font-size: 1.45rem;
}

.supporter-page .supporter-checkout-card p {
  max-width: 66ch;
  margin: 0;
  color: #607a82;
  line-height: 1.6;
}

.supporter-page .supporter-thanks-badge {
  background: #dff5e8;
  color: #167245;
}

.supporter-page .supporter-thanks-card {
  padding: 24px;
  border-color: #c9e7d5;
  background: linear-gradient(180deg, #f4fbf7 0%, #effaf3 100%);
  box-shadow: 0 16px 36px rgba(17, 56, 60, 0.08);
}

.supporter-page .supporter-thanks-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.supporter-page .supporter-thanks-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d6ece0;
  border-radius: 16px;
  background: #ffffff;
}

.supporter-page .supporter-thanks-benefit-card > span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #dff5e8;
  color: #167245;
  font-weight: 800;
}

.supporter-page .supporter-thanks-benefit-card > strong {
  color: #1d4641;
  font-size: 0.95rem;
  line-height: 1.4;
}

.supporter-page .supporter-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 920px) {
  .supporter-page .supporter-grid,
  .supporter-page .supporter-checkout-card {
    grid-template-columns: 1fr;
  }

  .supporter-page .supporter-price-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .supporter-page .supporter-content-page {
    gap: 16px;
  }

  .supporter-page .supporter-page-header h1 {
    font-size: clamp(1.8rem, 9vw, 2.25rem);
  }

  .supporter-page .supporter-banner-card,
  .supporter-page .supporter-info-card,
  .supporter-page .supporter-price-card,
  .supporter-page .supporter-checkout-card {
    padding: 16px;
    border-radius: 18px;
  }

  .supporter-page .supporter-banner-card img {
    max-height: 220px;
    border-radius: 14px;
  }

  .supporter-page .supporter-benefits {
    grid-template-columns: 1fr;
  }

  .supporter-page .supporter-checkout-button {
    width: 100%;
  }

  .supporter-page .supporter-thanks-card {
    padding: 18px;
    border-radius: 18px;
  }

  .supporter-page .supporter-thanks-benefits {
    grid-template-columns: 1fr;
  }

  .supporter-page .supporter-thanks-actions .btn {
    width: 100%;
  }
}
