:root {
      --bg: #F5F8FB;
      --card: #FFFFFF;
      --card-hover: #F8FBFF;
      --ink: #13202B;
      --ink-2: #2E3B48;
      --ink-muted: #657383;
      --ink-light: #9AA8B5;
      --line: #DDE7F0;
      --line-soft: #EAF0F5;
      --accent: #123D66;
      --accent-2: #0F5C99;
      --accent-bg: #EEF6FC;
      --accent-line: #C7DBEC;
      --gold: #A67C2E;
      --gold-bg: #FFF7E6;
      --gold-line: rgba(166,124,46,.22);
      --green: #22C55E;
      --green-dk: #0D5F2D;
      --green-bg: #ECFDF3;
      --red: #C0392B;
      --red-bg: #FEF0EE;
      --violet: #6D28D9;
      --violet-bg: #F6F0FF;
      --font-display: 'Manrope', system-ui, sans-serif;
      --font-body: 'Manrope', system-ui, sans-serif;
      --max: 1180px;
      --radius: 12px;
      --radius-lg: 18px;
      --shadow: 0 1px 2px rgba(15,36,54,.04), 0 12px 32px rgba(15,36,54,.07);
}

/* Preserve the native fail-closed meaning of hidden across layout rules. */
[hidden] {
  display: none !important;
}

/* Expensas RC13: progressive, aggregate-only explorer. */
body:not(.account-page) .expense-guiding-question {
  max-width: 650px;
  color: var(--dc-navy);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.4;
  font-weight: 680;
}

body:not(.account-page) .expense-orientation-note {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.3;
}

body:not(.account-page) .expense-explorer {
  --dc-green: var(--dc-forest);
  display: grid;
  gap: 16px;
  min-width: 0;
}

body:not(.account-page) .expense-primary-controls,
body:not(.account-page) .expense-ranking-tools,
body:not(.account-page) .expense-comparator-controls {
  display: grid;
  gap: 10px;
}

body:not(.account-page) .expense-primary-controls {
  grid-template-columns: minmax(150px, .72fr) minmax(150px, .72fr) minmax(220px, 1.5fr);
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

body:not(.account-page) .expense-primary-controls label,
body:not(.account-page) .expense-ranking-tools label,
body:not(.account-page) .expense-comparator-controls label,
body:not(.account-page) .expense-readonly-filter {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 800;
}

body:not(.account-page) .expense-primary-controls select,
body:not(.account-page) .expense-primary-controls input,
body:not(.account-page) .expense-ranking-tools select,
body:not(.account-page) .expense-comparator-controls select,
body:not(.account-page) .expense-readonly-filter output {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}

body:not(.account-page) .expense-readonly-filter output {
  display: flex;
  align-items: center;
  width: auto;
  border-color: rgba(29,101,87,.18);
  background: rgba(29,101,87,.075);
  color: var(--dc-green);
}

body:not(.account-page) .expense-primary-controls select:focus-visible,
body:not(.account-page) .expense-primary-controls input:focus-visible,
body:not(.account-page) .expense-ranking-tools select:focus-visible,
body:not(.account-page) .expense-comparator-controls select:focus-visible,
body:not(.account-page) .expense-top-bar:focus-visible,
body:not(.account-page) .expense-ranking-row:focus-visible,
body:not(.account-page) .expense-detail-close:focus-visible,
body:not(.account-page) .expense-comparator summary:focus-visible,
body:not(.account-page) .expense-top-switch button:focus-visible,
body:not(.account-page) .expense-ranking-actions button:focus-visible,
body:not(.account-page) .expense-top-scroll:focus-visible {
  outline: 3px solid rgba(29,101,87,.28);
  outline-offset: 2px;
}

body:not(.account-page) .expense-selection-context {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: -6px 2px 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.35;
}

body:not(.account-page) .expense-selection-context strong {
  color: var(--dc-navy);
}

body:not(.account-page) .expense-summary-card,
body:not(.account-page) .expense-zone-card,
body:not(.account-page) .expense-ranking-card,
body:not(.account-page) .expense-comparator {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 28px rgba(6,48,71,.045);
}

body:not(.account-page) .expense-summary-card,
body:not(.account-page) .expense-zone-card,
body:not(.account-page) .expense-ranking-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

body:not(.account-page) .expense-section-head,
body:not(.account-page) .expense-detail-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

body:not(.account-page) .expense-section-head h2,
body:not(.account-page) .expense-detail-section h3 {
  margin: 2px 0 0;
  color: var(--dc-navy);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
}

body:not(.account-page) .expense-section-head p,
body:not(.account-page) .expense-method-note,
body:not(.account-page) .expense-insufficient {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.45;
}

body:not(.account-page) .expense-eyebrow {
  color: var(--dc-green);
  font-size: 10.5px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:not(.account-page) .expense-top-switch {
  display: inline-flex;
  align-self: start;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #F2F6F4;
}

body:not(.account-page) .expense-top-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 7px 11px;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

body:not(.account-page) .expense-top-switch button.is-selected,
body:not(.account-page) .expense-top-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--dc-green);
  box-shadow: 0 2px 8px rgba(6,48,71,.1);
}

body:not(.account-page) .expense-top-scroll {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-inline: contain;
  padding: 2px 1px 6px;
}

body:not(.account-page) [data-expense-top-results] {
  min-width: 0;
}

body:not(.account-page) .expense-top-bars {
  display: grid;
  grid-template-columns: repeat(var(--expense-top-count, 1), minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin-inline: auto;
}

body:not(.account-page) .expense-top-bar {
  display: grid;
  grid-template-rows: 38px 140px 48px;
  gap: 6px;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  padding: 4px;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

body:not(.account-page) .expense-top-bar:hover {
  background: rgba(29,101,87,.055);
}

body:not(.account-page) .expense-top-value,
body:not(.account-page) .expense-top-name {
  display: grid;
  align-content: end;
  gap: 2px;
  min-width: 0;
  color: var(--dc-navy);
  font-size: 12.5px;
  line-height: 1.12;
  font-weight: 850;
}

body:not(.account-page) .expense-top-value small,
body:not(.account-page) .expense-top-name small {
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.account-page) .expense-top-name {
  align-content: start;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

body:not(.account-page) .expense-top-name small {
  display: block;
  margin-top: 3px;
}

body:not(.account-page) .expense-top-track {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 140px;
  border-bottom: 1px solid rgba(6,48,71,.12);
}

body:not(.account-page) .expense-top-track > span {
  display: block;
  width: min(40px, 68%);
  height: var(--expense-top-height);
  min-height: 9px;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, #3D8A79 0%, #B8D6CB 100%);
}

body:not(.account-page) .expense-top-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: -2px 2px 0;
  color: var(--dc-green);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

body:not(.account-page) .expense-top-scroll-hint[hidden] {
  display: none;
}

body:not(.account-page) .expense-zone-summaries {
  display: grid;
  gap: 9px;
}

body:not(.account-page) .expense-zone-summary {
  display: grid;
  grid-template-columns: minmax(145px, .9fr) minmax(170px, 1.4fr) minmax(145px, .7fr);
  align-items: center;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(6,48,71,.075);
}

body:not(.account-page) .expense-zone-summary:last-child {
  border-bottom: 0;
}

body:not(.account-page) .expense-zone-summary-name,
body:not(.account-page) .expense-zone-summary-value {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body:not(.account-page) .expense-zone-summary-name strong,
body:not(.account-page) .expense-zone-summary-value strong {
  color: var(--dc-navy);
  font-size: 13px;
  line-height: 1.2;
}

body:not(.account-page) .expense-zone-summary-name span,
body:not(.account-page) .expense-zone-summary-value span,
body:not(.account-page) .expense-zone-summary-context {
  color: var(--ink-muted);
  font-size: 10.75px;
  line-height: 1.25;
}

body:not(.account-page) .expense-zone-summary-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #E9F0EC;
}

body:not(.account-page) .expense-zone-summary-bar span {
  display: block;
  width: var(--expense-zone-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(6,48,71,.18), rgba(29,101,87,.74));
}

body:not(.account-page) .expense-zone-summary-context {
  grid-column: 1 / -1;
}

body:not(.account-page) .expense-ranking-tools {
  grid-template-columns: repeat(2, minmax(180px, 260px));
}

body:not(.account-page) .expense-ranking {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

body:not(.account-page) .expense-ranking-head,
body:not(.account-page) .expense-ranking-row {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1.4fr) minmax(110px, .8fr) minmax(112px, .8fr) 88px minmax(145px, 1fr) minmax(170px, 1.2fr);
  align-items: center;
  gap: 10px;
}

body:not(.account-page) .expense-ranking-head {
  padding: 9px 12px;
  background: #F2F6F4;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: .025em;
  text-transform: uppercase;
}

body:not(.account-page) .expense-ranking-list {
  display: grid;
}

body:not(.account-page) .expense-ranking-row {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(6,48,71,.07);
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 11.5px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

body:not(.account-page) .expense-ranking-row:first-child {
  border-top: 0;
}

body:not(.account-page) .expense-ranking-row:hover {
  background: rgba(29,101,87,.045);
}

body:not(.account-page) .expense-ranking-row strong {
  color: var(--dc-navy);
  font-size: 12px;
}

body:not(.account-page) .expense-ranking-row small {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 10px;
}

body:not(.account-page) .expense-ranking-position {
  color: var(--dc-green);
  font-size: 13px;
  font-weight: 850;
}

body:not(.account-page) .expense-ranking-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

body:not(.account-page) .expense-ranking-actions:empty {
  display: none;
}

body:not(.account-page) .expense-ranking-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body:not(.account-page) .expense-comparator {
  overflow: hidden;
}

body:not(.account-page) .expense-comparator summary {
  padding: 15px 16px;
  color: var(--dc-navy);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

body:not(.account-page) .expense-comparator-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

body:not(.account-page) .expense-comparator-controls {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

body:not(.account-page) .expense-comparator-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body:not(.account-page) .expense-comparator-cards article {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 11px;
  background: #F2F6F4;
}

body:not(.account-page) .expense-comparator-cards span,
body:not(.account-page) .expense-comparator-cards small {
  color: var(--ink-muted);
  font-size: 11px;
}

body:not(.account-page) .expense-comparator-cards strong {
  color: var(--dc-navy);
  font-size: 18px;
}

body:not(.account-page) .expense-empty-inline {
  margin: 0;
  padding: 20px 8px;
  color: var(--ink-muted);
  font-size: 12px;
  text-align: center;
}

body:not(.account-page) .expense-detail-overlay {
  position: fixed;
  z-index: 2400;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(6,28,42,.48);
  opacity: 0;
  transition: opacity .18s ease;
}

body:not(.account-page) .expense-detail-overlay[hidden] {
  display: none;
}

body:not(.account-page) .expense-detail-overlay.is-open {
  opacity: 1;
}

body:not(.account-page) .expense-detail-dialog {
  width: min(560px, 94vw);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #FAFCFB;
  box-shadow: -20px 0 55px rgba(6,28,42,.18);
  transform: translateX(22px);
  transition: transform .22s ease;
}

body:not(.account-page) .expense-detail-overlay.is-open .expense-detail-dialog {
  transform: translateX(0);
}

body:not(.account-page) .expense-detail-handle {
  display: none;
}

body:not(.account-page) .expense-detail-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(250,252,251,.96);
  backdrop-filter: blur(10px);
}

body:not(.account-page) .expense-detail-head h2 {
  margin: 2px 0 3px;
  color: var(--dc-navy);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
}

body:not(.account-page) .expense-detail-head p,
body:not(.account-page) .expense-detail-zone {
  margin: 0;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.3;
}

body:not(.account-page) .expense-detail-zone {
  color: var(--dc-green);
  font-weight: 850;
}

body:not(.account-page) .expense-detail-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--dc-navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body:not(.account-page) .expense-detail-body {
  display: grid;
  gap: 14px;
  padding: 18px 22px 30px;
}

body:not(.account-page) .expense-detail-hero,
body:not(.account-page) .expense-detail-section,
body:not(.account-page) .expense-detail-metrics {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

body:not(.account-page) .expense-detail-hero {
  display: grid;
  gap: 5px;
  padding: 18px;
  color: var(--ink-muted);
  font-size: 12px;
}

body:not(.account-page) .expense-detail-amount {
  color: var(--dc-navy);
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.05;
}

body:not(.account-page) .expense-detail-comparison {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  border-radius: 10px;
  padding: 11px;
  background: #EEF5F2;
  color: var(--dc-green);
}

body:not(.account-page) .expense-detail-comparison.is-above {
  background: #FFF4E7;
  color: #8C5312;
}

body:not(.account-page) .expense-detail-comparison.is-below {
  background: #EEF4FA;
  color: #315F83;
}

body:not(.account-page) .expense-detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

body:not(.account-page) .expense-detail-metrics div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-right: 1px solid var(--line);
}

body:not(.account-page) .expense-detail-metrics div:last-child {
  border-right: 0;
}

body:not(.account-page) .expense-detail-metrics span,
body:not(.account-page) .expense-detail-metrics strong {
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.2;
}

body:not(.account-page) .expense-detail-metrics strong {
  color: var(--dc-navy);
  font-size: 13px;
}

body:not(.account-page) .expense-percentile-copy {
  margin: -4px 2px 0;
  color: var(--ink-muted);
  font-size: 11.5px;
}

body:not(.account-page) .expense-detail-section {
  display: grid;
  gap: 12px;
  padding: 16px;
}

body:not(.account-page) .expense-detail-section-head > span {
  color: var(--dc-green);
  font-size: 11px;
  font-weight: 800;
}

body:not(.account-page) .expense-trend-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 132px;
  border-radius: 10px;
  background: linear-gradient(180deg, #F7FAF9, #fff);
}

body:not(.account-page) .expense-trend-axis {
  stroke: rgba(6,48,71,.12);
  stroke-width: 1;
}

body:not(.account-page) .expense-trend-line {
  fill: none;
  stroke: var(--dc-green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.account-page) .expense-trend-line-zone {
  stroke: #6B7D8A;
  stroke-dasharray: 7 6;
  stroke-width: 3;
}

body:not(.account-page) .expense-trend-point {
  fill: #fff;
  stroke: var(--dc-green);
  stroke-width: 3;
}

body:not(.account-page) .expense-trend-point-zone {
  stroke: #6B7D8A;
}

body:not(.account-page) .expense-history-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

body:not(.account-page) .expense-history-point {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 9px;
  background: #F3F7F5;
}

body:not(.account-page) .expense-history-point strong,
body:not(.account-page) .expense-history-point span {
  color: var(--dc-navy);
  font-size: 11px;
}

body:not(.account-page) .expense-history-point span {
  font-size: 14px;
  font-weight: 850;
}

body:not(.account-page) .expense-history-point small {
  color: var(--ink-muted);
  font-size: 9.75px;
  line-height: 1.3;
}

body:not(.account-page) .expense-change-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body:not(.account-page) .expense-change-grid div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 9px;
  background: #F3F7F5;
}

body:not(.account-page) .expense-change-grid span,
body:not(.account-page) .expense-change-grid strong {
  color: var(--ink-muted);
  font-size: 10px;
}

body:not(.account-page) .expense-change-grid strong {
  color: var(--dc-navy);
  font-size: 14px;
}

body:not(.account-page) .expense-series-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 10.5px;
}

body:not(.account-page) .expense-series-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body:not(.account-page) .expense-series-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dc-green);
}

body:not(.account-page) .expense-series-dot-zone {
  background: #6B7D8A;
}

body:not(.account-page) .expense-detail-disclaimer {
  margin: 0;
  padding: 0 2px;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.45;
}

body.expense-detail-scroll-lock {
  overflow: hidden;
}

@media (max-width: 900px) {
  body:not(.account-page) .expense-top-scroll {
    overflow-x: auto;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  body:not(.account-page) .expense-top-scroll::-webkit-scrollbar {
    display: none;
  }

  body:not(.account-page) .expense-top-bars {
    grid-template-columns: repeat(var(--expense-top-count, 1), 112px);
    width: max-content;
    max-width: none;
    min-width: max-content;
    margin-inline: 0;
  }

  body:not(.account-page) .expense-top-bar {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  body:not(.account-page) .expense-ranking-head {
    display: none;
  }

  body:not(.account-page) .expense-ranking {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  body:not(.account-page) .expense-ranking-list {
    gap: 8px;
  }

  body:not(.account-page) .expense-ranking-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 12px;
  }

  body:not(.account-page) .expense-ranking-row > span:not(.expense-ranking-position):not(.expense-ranking-neighborhood):not(.expense-ranking-comparison) {
    display: none;
  }

  body:not(.account-page) .expense-ranking-position {
    grid-row: 1 / span 2;
  }

  body:not(.account-page) .expense-ranking-neighborhood {
    grid-column: 2;
  }

  body:not(.account-page) .expense-ranking-comparison {
    grid-column: 3;
    text-align: right;
  }
}

@media (max-width: 760px) {
  body:not(.account-page) .expense-primary-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  body:not(.account-page) .expense-primary-search {
    grid-column: 1 / -1;
  }

  body:not(.account-page) .expense-section-head {
    display: grid;
  }

  body:not(.account-page) .expense-section-head .btn {
    width: 100%;
  }

  body:not(.account-page) .expense-summary-card,
  body:not(.account-page) .expense-zone-card,
  body:not(.account-page) .expense-ranking-card {
    padding: 13px;
  }

  body:not(.account-page) .expense-top-bar {
    grid-template-rows: 36px 118px 48px;
  }

  body:not(.account-page) .expense-top-track {
    height: 118px;
  }

  body:not(.account-page) .expense-zone-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
  }

  body:not(.account-page) .expense-zone-summary-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body:not(.account-page) .expense-zone-summary-value {
    text-align: right;
  }

  body:not(.account-page) .expense-zone-summary-context {
    grid-column: 1 / -1;
  }

  body:not(.account-page) .expense-ranking-tools,
  body:not(.account-page) .expense-comparator-controls,
  body:not(.account-page) .expense-comparator-cards,
  body:not(.account-page) .expense-change-grid {
    grid-template-columns: 1fr;
  }

  body:not(.account-page) .expense-ranking-actions {
    justify-content: flex-start;
    padding-right: 58px;
  }

  body:not(.account-page) .expense-detail-overlay {
    align-items: flex-end;
    justify-content: stretch;
    padding-top: max(42px, env(safe-area-inset-top));
  }

  body:not(.account-page) .expense-detail-dialog {
    width: 100%;
    height: min(92vh, 820px);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -18px 46px rgba(6,28,42,.2);
    transform: translateY(30px);
  }

  body:not(.account-page) .expense-detail-overlay.is-open .expense-detail-dialog {
    transform: translateY(0);
  }

  body:not(.account-page) .expense-detail-handle {
    position: sticky;
    z-index: 3;
    top: 0;
    display: block;
    width: 48px;
    height: 5px;
    margin: 8px auto -3px;
    border-radius: 999px;
    background: #B8C5C0;
  }

  body:not(.account-page) .expense-detail-head {
    top: 10px;
    padding: 15px 16px 13px;
  }

  body:not(.account-page) .expense-detail-head h2 {
    font-size: 22px;
  }

  body:not(.account-page) .expense-detail-body {
    padding: 14px 14px calc(28px + env(safe-area-inset-bottom));
  }

  body:not(.account-page) .expense-detail-metrics {
    grid-template-columns: 1fr;
  }

  body:not(.account-page) .expense-detail-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body:not(.account-page) .expense-detail-metrics div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  body:not(.account-page) .expense-primary-controls {
    grid-template-columns: 1fr;
  }

  body:not(.account-page) .expense-primary-search {
    grid-column: 1;
  }

  body:not(.account-page) .expense-ranking-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  body:not(.account-page) .expense-ranking-position {
    grid-row: 1 / span 2;
  }

  body:not(.account-page) .expense-ranking-neighborhood,
  body:not(.account-page) .expense-ranking-comparison {
    grid-column: 2;
    text-align: left;
  }

  body:not(.account-page) .expense-ranking-comparison small {
    display: inline;
    margin-left: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.account-page) .expense-detail-overlay,
  body:not(.account-page) .expense-detail-dialog {
    scroll-behavior: auto;
    transition: none;
  }
}

.home-map-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.home-map-card .btn-accent {
  min-width: 138px;
  border-color: #C96A4A;
  background: #C96A4A;
  color: #fff;
  box-shadow: 0 3px 10px rgba(201, 106, 74, .16);
}

.home-map-card .btn-accent::before {
  content: "";
  width: 15px;
  height: 15px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.home-map-card .btn-accent:hover {
  background: #B95638;
  border-color: #B95638;
  color: #fff;
}

.home-map-visual {
  min-height: 62px;
  border: 1px solid #d7e5df;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(111, 155, 122, .14), rgba(6, 48, 71, .08)),
    radial-gradient(circle at 70% 35%, rgba(0, 107, 87, .18), transparent 28%);
  display: grid;
  place-items: center;
}

.home-map-visual span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #063047;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.home-map-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 850;
}

.home-map-card p:not(.home-free-kicker) {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.module-map-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 34px;
  margin-top: 11px;
  padding: 0 13px;
  border: 1px solid #C96A4A;
  border-radius: 999px;
  background: #C96A4A;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}

.module-map-cta::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.module-map-cta:hover {
  border-color: #B95638;
  background: #B95638;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .home-map-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    margin: 12px 0;
    padding: 11px;
  }

  .home-map-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .module-map-cta {
    width: 100%;
    justify-content: center;
  }

  .home-map-visual {
    min-height: 56px;
  }
}
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: var(--font-body); background: linear-gradient(180deg, #F8FBFE 0%, var(--bg) 280px); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; border: 0; background: none; }
    :focus-visible { outline: 3px solid rgba(15,92,153,.18); outline-offset: 2px; }
    .w { max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
    .topbar { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(199,219,236,.8); }
    .topbar .w { min-height: 60px; display: flex; align-items: center; gap: 14px; }
    .logo { display: flex; align-items: center; flex-shrink: 0; }
    .brand-logo { display: block; width: auto; height: 45px; max-height: 45px; max-width: 180px; object-fit: contain; }
    .search-wrap { flex: 1; max-width: 520px; margin: 0 auto; position: relative; }
    .search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-light); pointer-events: none; }
    .search-wrap input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 14px 0 38px; font-size: 13px; font-weight: 500; color: var(--ink); outline: none; }
    .search-wrap input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 4px rgba(15,92,153,.08); }
    .top-actions { display: flex; gap: 12px; flex-shrink: 0; align-items: center; margin-left: auto; }
    .public-info-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 4px; border-radius: 4px; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; text-underline-offset: 4px; }
    .public-info-link:hover,
    .public-info-link[aria-current="page"] { color: var(--accent); background: transparent; text-decoration: underline; }
    .public-info-link:focus-visible { color: var(--accent); outline: 3px solid rgba(11,107,87,.22); outline-offset: 2px; }
    .account-page .public-info-link { min-height: 40px; padding: 0 4px; border-radius: 4px; color: var(--dc-text-2); font-size: 12px; font-weight: 600; }
    .mobile-bottom-nav,
    .mobile-sheet-overlay { display: none; }
    @media (max-width: 768px) {
      .public-info-link { display: none !important; }
    }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 15px; border-radius: 999px; font-size: 13px; font-weight: 760; white-space: nowrap; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease; }
    .btn:hover { border-color: var(--accent-line); background: var(--card-hover); transform: translateY(-1px); }
    .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 16px rgba(18,61,102,.12); }
    .btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
    .btn-wa { background: #25D366; border-color: #25D366; color: #063F1D; font-weight: 850; }
    .public-card-page--comercios .item.business-card > .actions .btn-wa::before,
    .public-card-page--proveedores .item.business-card > .actions .btn-wa::before,
    .public-card-page--chicos-familia .item.business-card > .actions .btn-wa::before,
    .public-card-page--comercios .recommendation-detail-action-whatsapp::before,
    .public-card-page--proveedores .recommendation-detail-action-whatsapp::before,
    .public-card-page--chicos-familia .recommendation-detail-action-whatsapp::before {
      content: "";
      display: block;
      width: 20px;
      height: 20px;
      flex: 0 0 20px;
      background: url("../assets/icons/whatsapp.svg") center / contain no-repeat;
    }
    .btn-share { background: #FFF7EF; border-color: rgba(216,111,50,.34); color: #9B4A1F; font-weight: 820; }
    .btn-share:hover { background: #FFEBDD; border-color: rgba(216,111,50,.52); color: #783614; }
    .btn-sm { min-height: 31px; padding: 0 11px; font-size: 12px; }
    .btn-ghost { background: #fff; color: var(--accent); border-color: var(--accent-line); }
    .btn-soft { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent); }
    .btn-wide { width: 100%; }
    .zones { background: rgba(255,255,255,.78); border-bottom: 1px solid var(--line-soft); }
    .zones .w { display: flex; gap: 1px; overflow-x: auto; scrollbar-width: none; }
    .zones .w::-webkit-scrollbar { display: none; }
    .zone-btn { padding: 10px 14px; font-size: 12px; font-weight: 650; color: var(--ink-muted); white-space: nowrap; position: relative; transition: color .12s; }
    .zone-btn:hover { color: var(--ink); }
    .zone-btn.on { color: var(--accent); font-weight: 800; }
    .zone-btn.on::after { content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 2px; background: var(--accent-2); border-radius: 2px 2px 0 0; }
    .module-strip { padding: 14px 0 0; }
    .module-links { display: grid; grid-template-columns: repeat(10, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(15,36,54,.025); }
    .module-link { padding: 11px 12px; border-right: 1px solid var(--line-soft); font-size: 12px; font-weight: 800; color: var(--ink-muted); display: flex; flex-direction: column; gap: 2px; }
    .module-link:last-child { border-right: 0; }
    .module-link span { font-size: 10.5px; font-weight: 600; color: var(--ink-light); }
    .module-link:hover { background: var(--card-hover); color: var(--ink); }
    .module-link.on { color: var(--accent); background: linear-gradient(180deg, #F4FAFF, #FFFFFF); box-shadow: inset 0 -3px 0 var(--accent-2); }
    .page { padding: 18px 0 36px; }
    .hero { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
    .hero-main { padding: 20px 20px 18px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
    .crumb { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
    .hero h1 { font-family: var(--font-display); font-size: 30px; line-height: 1.04; letter-spacing: -.045em; font-weight: 850; }
    .hero p { color: var(--ink-muted); font-size: 14px; margin-top: 5px; max-width: 690px; }
    .hero-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); background: #FBFDFF; }
    .stat { padding: 11px 18px; border-right: 1px solid var(--line-soft); }
    .stat:last-child { border-right: 0; }
    .stat strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--accent); letter-spacing: -.02em; }
    .stat span { display: block; color: var(--ink-muted); font-size: 11px; margin-top: 1px; }
    .content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-top: 16px; align-items: start; }
    .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
    .panel-head { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; align-items: center; background: linear-gradient(180deg, #FFFFFF, #FBFDFF); }
    .panel-head h2 { font-family: var(--font-display); font-size: 17px; letter-spacing: -.025em; font-weight: 800; }
    .panel-head p { color: var(--ink-muted); font-size: 12px; margin-top: 1px; }
    .count { font-size: 12px; font-weight: 800; color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-line); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
    .filters { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: minmax(220px, 1fr) 180px 180px; gap: 8px; background: #FBFDFF; }
    .filter-input, .filter-select { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 0 12px; font-size: 13px; outline: none; }
    .filter-input:focus, .filter-select:focus { border-color: var(--accent-line); box-shadow: 0 0 0 4px rgba(15,92,153,.08); }
    .item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px; border-bottom: 2px solid rgba(166,190,184,.36); align-items: start; transition: background .1s; }
    .item.item-no-media { grid-template-columns: minmax(0, 1fr) auto; }
    .item.item-group-card.item-no-media {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px 14px;
      padding-block: 12px;
      align-items: center;
    }
    .item[data-card-open="detail"],
    .kids-card[data-card-open="detail"] { cursor: pointer; }
    .item[data-card-open="detail"]:focus-visible,
    .kids-card[data-card-open="detail"]:focus-visible { outline: 3px solid rgba(216,111,50,.28); outline-offset: -3px; background: #FAFBF8; }
    .item:hover { background: var(--card-hover); }
    .badge { width: 64px; height: 54px; border-radius: 14px; display: grid; place-items: center; text-align: center; font-weight: 850; line-height: 1; overflow: hidden; }
    .badge .big { display: block; font-size: 20px; letter-spacing: -.04em; }
    .badge .small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
    .badge.gold, .badge.promo { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-line); }
    .badge.blue { background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-line); }
    .badge.green { background: var(--green-bg); color: var(--green-dk); border: 1px solid rgba(13,95,45,.14); }
    .badge.violet { background: var(--violet-bg); color: var(--violet); border: 1px solid rgba(109,40,217,.14); }
    .badge.icon { background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-line); font-size: 24px; }
    .badge.avatar { border-radius: 999px; width: 50px; height: 50px; background: linear-gradient(180deg, #F4F8FC, #EEF3F8); color: var(--accent); border: 1px solid var(--line); font-size: 14px; }
    .card-thumb { width: 64px; height: 54px; border-radius: 14px; object-fit: cover; display: block; background: linear-gradient(180deg, #F4F8FC, #EEF3F8); border: 1px solid var(--line); box-sizing: border-box; overflow: hidden; }
    .card-price { margin: 2px 0 4px; color: var(--ink); font-size: 17px; font-weight: 900; letter-spacing: -0.01em; }
    .card-price-muted { color: var(--ink-muted); font-size: 14px; font-weight: 760; }
    .card-date { margin-top: 6px; color: var(--ink-muted); font-size: 12px; }
    .media-placeholder {
      display: grid;
      place-items: center;
      color: var(--ink-muted);
      background: linear-gradient(180deg, #F7FAFD, #EEF3F8);
      border: 1px dashed var(--accent-line);
      font-size: 10px;
      font-weight: 900;
      text-align: center;
      text-transform: uppercase;
      line-height: 1.15;
      padding: 4px;
    }
    .item h3 { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.025em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .item p { color: var(--ink-muted); font-size: 13px; margin-top: 3px; line-height: 1.42; }
    .meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
    .promo-card-details { display: grid; gap: 5px; margin-top: 8px; }
    .promo-card-details p { margin: 0; }
    .promo-card-business { color: var(--ink); font-weight: 700; }
    .promo-card-validity { display: flex; flex-wrap: wrap; gap: 5px; }
    .promo-card-validity span {
      border-radius: 999px;
      background: var(--green-bg);
      color: var(--green-dk);
      font-size: 12px;
      font-weight: 700;
      padding: 4px 8px;
    }
    .tag { display: inline-flex; align-items: center; min-height: 20px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .02em; }
    .t-zone { background: #F2F5F8; color: var(--ink-muted); }
    .t-rubro { background: var(--accent-bg); color: var(--accent); }
    .t-gold { background: var(--gold-bg); color: var(--gold); }
    .t-green { background: var(--green-bg); color: var(--green-dk); }
    .t-red { background: var(--red-bg); color: var(--red); }
    .actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; justify-content: flex-end; min-width: 218px; }
    .actions .btn { white-space: nowrap; }
    .item-group-card .actions {
      min-width: 168px;
      align-content: center;
    }
    .item-group-card .actions .btn,
    .item-group-card .actions .btn-sm {
      min-height: 32px;
      padding: 6px 10px;
    }
    .item-group-card p {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .recommendation-widget { position: relative; display: inline-grid; gap: 4px; justify-items: end; max-width: 190px; }
    .recommendation-summary { display: grid; gap: 2px; margin-top: 8px; color: var(--ink-muted); font-size: 12px; font-weight: 760; line-height: 1.3; }
    .recommendation-summary [hidden] { display: none !important; }
    .recommendation-summary [data-recommendation-summary-count] { color: var(--ink); }
    .recommendation-summary [data-recommendation-summary-highlights] { color: #8A421D; font-size: 11.5px; }
    .actions .recommendation-widget > .recommendation-count,
    .actions .recommendation-widget > .recommendation-highlights,
    .kids-card-actions .recommendation-widget > .recommendation-count,
    .kids-card-actions .recommendation-widget > .recommendation-highlights,
    .recommendation-detail-widget .recommendation-widget > .recommendation-count,
    .recommendation-detail-widget .recommendation-widget > .recommendation-highlights { display: none; }
    .recommendation-control { position: relative; width: 100%; display: grid; justify-items: end; }
    .btn-recommend { border-color: rgba(216,111,50,.34); background: #FFF8F2; color: #8A421D; font-weight: 840; }
    .btn-recommend:hover,
    .btn-recommend:focus-visible { border-color: rgba(216,111,50,.56); background: #FFEBDD; color: #6F3113; }
    .btn-recommend.is-recommended { border-color: rgba(10,115,88,.32); background: #EAF7F1; color: #075B45; }
    .recommendation-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 42; min-width: 190px; display: grid; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 42px rgba(2,35,43,.18); }
    .recommendation-menu[hidden] { display: none; }
    .recommendation-menu::before { content: ""; position: absolute; top: -6px; right: 22px; width: 10px; height: 10px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: #fff; transform: rotate(45deg); }
    .recommendation-menu-item { min-height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); padding: 8px 10px; font-size: 12px; font-weight: 820; text-align: left; cursor: pointer; }
    .recommendation-menu-item:hover,
    .recommendation-menu-item:focus-visible { background: var(--accent-bg); color: var(--accent); }
    .recommendation-menu-item.is-danger { color: #8A421D; }
    .recommendation-count { color: var(--ink-muted); font-size: 11.5px; font-weight: 760; line-height: 1.25; text-align: right; }
    .recommendation-highlights { color: #8A421D; font-size: 11px; font-weight: 760; line-height: 1.25; text-align: right; max-width: 170px; }
    .recommendation-toast { position: fixed; right: 18px; bottom: 22px; z-index: 900; max-width: min(360px, calc(100vw - 28px)); padding: 11px 14px; border: 1px solid rgba(216,111,50,.28); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 44px rgba(2,35,43,.16); font-size: 13px; font-weight: 760; line-height: 1.35; }
    .recommendation-reason-overlay,
    .recommendation-detail-overlay { position: fixed; inset: 0; z-index: 790; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(12,32,39,.34); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
    .recommendation-reason-overlay[hidden],
    .recommendation-detail-overlay[hidden] { display: none; }
    .recommendation-reason-sheet,
    .recommendation-detail-sheet { position: relative; width: min(420px, 100%); max-height: min(680px, calc(100dvh - 36px)); overflow-y: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(2,35,43,.24); padding: 20px; touch-action: pan-y; }
    .sheet-handle,
    .modal-drag-handle,
    .share-dialog-handle { display: none; width: 42px; height: 4px; border-radius: 999px; background: rgba(4,63,77,.18); margin: 0 auto 12px; }
    .sheet-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-muted); font-size: 22px; line-height: 1; display: grid; place-items: center; }
    .recommendation-reason-sheet h2,
    .recommendation-detail-sheet h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.15; letter-spacing: 0; padding-right: 34px; }
    .recommendation-reason-sheet p,
    .recommendation-detail-sheet p { margin-top: 7px; color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
    .recommendation-reason-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    .recommendation-reason-chip { min-height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 0 13px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 820; }
    .recommendation-reason-chip.is-selected { border-color: rgba(216,111,50,.52); background: #FFF1E7; color: #8A421D; box-shadow: inset 0 0 0 1px rgba(216,111,50,.18); }
    .recommendation-reason-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
    .recommendation-detail-hero { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; align-items: center; padding-right: 34px; }
    .recommendation-detail-photo,
    .recommendation-detail-media,
    .recommendation-detail-avatar { width: 86px; height: 76px; border: 1px solid var(--line); border-radius: 16px; background: var(--accent-bg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.72); }
    .recommendation-detail-photo { position: relative; display: block; padding: 0; overflow: hidden; cursor: zoom-in; }
    .recommendation-detail-photo-shell { position: relative; width: 86px; height: 76px; min-width: 0; }
    .recommendation-detail-photo-shell .recommendation-detail-photo { width: 100%; height: 100%; }
    .recommendation-detail-photo-nav { position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(3,38,47,.76); color: #fff; font-size: 27px; line-height: 1; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
    .recommendation-detail-photo-prev { left: 8px; }
    .recommendation-detail-photo-next { right: 8px; }
    .recommendation-detail-photo-counter { position: absolute; z-index: 2; left: 50%; bottom: 8px; min-height: 26px; display: inline-flex; align-items: center; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(3,38,47,.76); color: #fff; font-size: 12px; font-weight: 850; line-height: 1; pointer-events: none; }
    .recommendation-detail-media { display: block; object-fit: cover; }
    .recommendation-detail-photo .recommendation-detail-media { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
    /* Clasificados: la foto principal se muestra completa (contain) en vez de recortada. */
    .recommendation-detail-sheet-clasificados .recommendation-detail-photo { background: #10252B; }
    .recommendation-detail-sheet-clasificados .recommendation-detail-photo .recommendation-detail-media { object-fit: contain; background: #10252B; }
    .recommendation-detail-photo-zoom { position: absolute; left: 8px; right: 8px; bottom: 8px; display: inline-flex; justify-content: center; min-height: 24px; align-items: center; border-radius: 999px; background: rgba(3,38,47,.72); color: #fff; font-size: 11px; font-weight: 850; line-height: 1; }
    .recommendation-detail-avatar { display: grid; place-items: center; color: var(--accent); font-weight: 950; letter-spacing: .04em; }
    .recommendation-detail-gallery { display: flex; gap: 8px; margin-top: 12px; padding-bottom: 2px; overflow-x: auto; overscroll-behavior-x: contain; }
    .recommendation-detail-gallery-thumb { flex: 0 0 64px; width: 64px; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0; background: #fff; overflow: hidden; cursor: pointer; opacity: .76; }
    .recommendation-detail-gallery-thumb.is-active { border-color: rgba(216,111,50,.64); opacity: 1; box-shadow: 0 0 0 2px rgba(216,111,50,.12); }
    .recommendation-detail-gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .recommendation-detail-titleblock { min-width: 0; }
    .recommendation-detail-titleblock h2 { padding-right: 0; }
    .recommendation-detail-kicker { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
    .recommendation-detail-price { margin-top: 6px; color: var(--ink); font-size: 24px; font-weight: 900; letter-spacing: -0.01em; }
    .recommendation-detail-date { margin-top: 10px; color: var(--ink-muted); font-size: 13px; }
    .recommendation-detail-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
    .recommendation-detail-meta span { min-height: 24px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent-bg); color: var(--accent); padding: 4px 9px; font-size: 11px; font-weight: 820; }
    .recommendation-detail-score { margin-top: 14px; border: 1px solid rgba(216,111,50,.22); border-radius: 14px; background: #FFF8F2; color: #8A421D; padding: 11px 12px; font-size: 14px; font-weight: 850; }
    .recommendation-detail-nudge { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: #FAFCF9; padding: 12px; color: var(--ink-muted); font-size: 13px; line-height: 1.35; }
    .recommendation-detail-nudge strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; }
    .recommendation-detail-reasons { margin-top: 14px; display: grid; gap: 7px; }
    .recommendation-detail-reasons strong { font-size: 13px; color: var(--ink); }
    .recommendation-detail-reason-row { display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--line-soft); border-radius: 12px; padding: 9px 11px; color: var(--ink-muted); font-size: 13px; font-weight: 740; }
    .recommendation-detail-reason-row b { color: var(--ink); }
    .recommendation-detail-widget { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
    .recommendation-detail-widget .recommendation-widget { max-width: none; justify-items: stretch; width: 100%; }
    .recommendation-detail-widget .recommendation-control,
    .recommendation-detail-widget .btn-recommend { width: 100%; }
    .recommendation-detail-widget .recommendation-count,
    .recommendation-detail-widget .recommendation-highlights { text-align: left; max-width: none; }
    .review-section { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }
    .review-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .review-section-head h3 { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.25; font-weight: 880; letter-spacing: 0; }
    .review-section-head span { color: var(--ink-muted); font-size: 11px; font-weight: 820; white-space: nowrap; }
    .review-list { display: grid; gap: 9px; }
    .review-card { border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; padding: 11px 12px; }
    .review-card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--ink-muted); font-size: 11px; line-height: 1.3; }
    .review-card-meta strong { min-width: 0; color: var(--ink); font-size: 12px; font-weight: 860; overflow-wrap: anywhere; }
    .review-card-meta span { flex: 0 0 auto; }
    .review-card p { margin: 7px 0 0; color: var(--ink); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
    .review-empty { border-radius: 10px; background: #F4F9F6; color: var(--ink-muted); font-size: 13px; line-height: 1.4; padding: 14px; }
    .review-compose { display: grid; gap: 9px; }
    .review-compose-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    .review-compose-head .btn { min-height: 36px; }
    .review-status { min-height: 24px; display: inline-flex; align-items: center; border: 1px solid var(--line-soft); border-radius: 999px; background: #F7FAF8; color: var(--ink-muted); padding: 4px 9px; font-size: 11px; font-weight: 820; }
    .review-form { display: grid; gap: 9px; border: 1px solid var(--line-soft); border-radius: 8px; background: #F9FCFA; padding: 12px; }
    .review-form[hidden] { display: none; }
    .review-form label { color: var(--ink); font-size: 12px; font-weight: 850; }
    .review-form textarea { width: 100%; min-height: 112px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; padding: 10px 11px; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.45; background: #fff; }
    .review-form textarea:focus { outline: 2px solid rgba(216,111,50,.18); border-color: rgba(216,111,50,.52); }
    .review-form-help { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-muted); font-size: 11.5px; line-height: 1.35; }
    .review-form-help [data-review-counter] { flex: 0 0 auto; font-weight: 820; }
    .recommendation-detail-sheet .review-author-note { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 1.35; }
    .review-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .recommendation-detail-sheet .review-message { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 1.35; font-weight: 600; }
    .recommendation-detail-sheet .review-message[data-tone="error"] { color: #9D2E2E; }
    .recommendation-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
    .recommendation-detail-actions .btn { min-height: 38px; }
    .recommendation-detail-legal-notes { display: grid; gap: 6px; margin-top: 12px; }
    .recommendation-detail-legal-note { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 1.4; }
    .recommendation-detail-credential-note { color: #52655D; font-weight: 720; }
    .dc-lightbox-overlay { position: fixed; inset: 0; z-index: 940; display: grid; place-items: center; padding: 22px; overflow: hidden; background: rgba(4,24,30,.82); }
    .dc-lightbox-overlay[hidden] { display: none; }
    .dc-lightbox-frame { box-sizing: border-box; position: relative; width: min(calc(100vw - 96px), 960px); max-width: 100%; height: min(calc(100dvh - 140px), 620px); max-height: 100%; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; justify-items: center; }
    .dc-lightbox-figure { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; min-height: 0; display: grid; place-items: center; margin: 0; border-radius: 12px; background: #10252B; box-shadow: 0 26px 80px rgba(0,0,0,.36); overflow: hidden; }
    .dc-lightbox-image { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; display: block; object-fit: contain; object-position: center; border-radius: 10px; background: #10252B; }
    .dc-lightbox-counter { min-height: 28px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 4px 14px; border-radius: 999px; background: rgba(0,0,0,.52); color: rgba(255,255,255,.92); font-size: 13px; font-weight: 760; line-height: 1; margin-bottom: env(safe-area-inset-bottom, 0px); }
    .dc-lightbox-counter[hidden] { display: none; }
    .dc-lightbox-close,
    .dc-lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.94); color: #12343D; box-shadow: 0 12px 34px rgba(0,0,0,.22); }
    .dc-lightbox-close { top: 0; right: 0; width: 42px; height: 42px; font-size: 28px; line-height: 1; }
    .dc-lightbox-nav { top: 50%; width: 44px; height: 44px; transform: translateY(-50%); font-size: 34px; line-height: 1; }
    .dc-lightbox-prev { left: 0; }
    .dc-lightbox-next { right: 0; }

    .share-overlay { position: fixed; inset: 0; z-index: 760; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(12,32,39,.34); opacity: 0; pointer-events: none; transition: opacity .16s ease; }
    .share-overlay.is-open { opacity: 1; pointer-events: auto; }
    .share-dialog { width: min(360px, 100%); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(2,35,43,.2); overflow: hidden; }
    .share-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 18px 12px; border-bottom: 1px solid var(--line-soft); }
    .share-dialog__head strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.15; }
    .share-dialog__head p { margin: 4px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.35; }
    .share-close { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
    .share-dialog__actions { display: grid; gap: 9px; padding: 14px 18px 8px; }
    .share-dialog__actions .btn { width: 100%; min-height: 42px; }
    .share-status { min-height: 18px; margin: 0; padding: 0 18px 16px; color: var(--ink-muted); font-size: 12px; text-align: center; }
    body.dc-scroll-locked { overscroll-behavior: contain; }
    .public-detail-overlay { position: fixed; inset: 0; z-index: 755; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(12,32,39,.34); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
    .public-detail-overlay[hidden] { display: none; }
    .public-detail-sheet { position: relative; width: min(560px, 100%); max-height: min(680px, calc(100dvh - 36px)); overflow-y: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(2,35,43,.22); padding: 20px; touch-action: pan-y; }
    .public-detail-kicker { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
    .public-detail-sheet h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.15; letter-spacing: 0; padding-right: 34px; }
    .public-detail-sheet p { margin-top: 8px; color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
    .public-detail-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
    .public-detail-meta span { min-height: 24px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent-bg); color: var(--accent); padding: 4px 9px; font-size: 11px; font-weight: 820; }
    .public-detail-note { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: #FAFCF9; padding: 11px 12px; color: var(--ink-muted); font-size: 13px; line-height: 1.4; }
    .public-detail-answers { display: grid; gap: 8px; margin-top: 12px; }
    .public-detail-answer { border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; padding: 11px 12px; }
    .public-detail-answer p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.4; }
    .public-detail-answer span { color: var(--ink-muted); font-size: 11px; font-weight: 760; }
    .public-detail-answer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
    .public-detail-answer-meta a,
    .public-detail-identity a { color: var(--accent); font-size: 11px; font-weight: 850; text-decoration: none; }
    .public-detail-answer-meta a:hover,
    .public-detail-identity a:hover { text-decoration: underline; }
    .public-detail-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--ink-muted); font-size: 12px; font-weight: 760; }
    .public-detail-empty-answer { margin-top: 12px; border: 1px dashed var(--line); border-radius: 14px; background: #F9FCFA; color: var(--ink-muted); font-size: 13px; line-height: 1.4; padding: 12px; }
    .public-detail-answer-state { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 14px; background: #F9FCFA; color: var(--ink-muted); font-size: 13px; line-height: 1.4; padding: 12px; }
    .public-detail-answer-state[data-state="error"] { border-color: rgba(157,46,46,.24); background: #FFF8F8; color: #832626; }
    .public-detail-answer-form { display: grid; gap: 9px; margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: #F9FCFA; padding: 12px; }
    .public-detail-answer-form[hidden] { display: none; }
    .public-detail-answer-form label { color: var(--ink); font-size: 12px; font-weight: 850; }
    .public-detail-answer-form select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; color: var(--ink); font: inherit; background: #fff; }
    .public-detail-identity-status { margin: 0 !important; color: var(--ink-muted) !important; font-size: 12px !important; }
    .public-detail-identity-status[data-tone="error"] { color: #9D2E2E !important; }
    .public-detail-answer-form textarea { width: 100%; min-height: 104px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; color: var(--ink); font: inherit; line-height: 1.4; background: #fff; }
    .public-detail-answer-form textarea:focus { outline: 2px solid rgba(216,111,50,.18); border-color: rgba(216,111,50,.52); }
    .public-detail-answer-help { margin: 0; color: var(--ink-muted); font-size: 11px; line-height: 1.45; }
    .public-detail-answer-message { color: var(--ink-muted); font-size: 12px; font-weight: 760; }
    .public-detail-answer-message[data-tone="error"] { color: #9D2E2E; }
    .public-detail-answer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .question-card-author { margin-top: 8px; color: var(--ink-muted); font-size: 11px; font-weight: 760; }
    .public-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
    .code { font-size: 11px; font-weight: 900; letter-spacing: .05em; color: var(--gold); background: var(--gold-bg); border: 1.5px dashed var(--gold-line); padding: 5px 9px; border-radius: 8px; }
    .side { display: flex; flex-direction: column; gap: 12px; }
    .side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
    .side-pad { padding: 16px; }
    .side-box h3 { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
    .side-box p { color: var(--ink-muted); font-size: 12px; margin-top: 5px; line-height: 1.45; }
    .side-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
    .side-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-muted); }
    .side-row strong { color: var(--ink); font-size: 12.5px; }
    .publish-box { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
    .publish-box p { color: rgba(255,255,255,.78); }
    .publish-box .btn { margin-top: 12px; background: #fff; color: var(--accent); border-color: rgba(255,255,255,.55); }
    .notice { background: #F8FBFF; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 12px; color: var(--ink-muted); line-height: 1.45; }
    .notice strong { color: var(--accent); }
    .empty-state { display: none; padding: 28px 16px; color: var(--ink-muted); text-align: center; font-size: 13px; }
    .empty-state.show { display: block; }
    .empty-state .clear-filters { margin-top: 12px; }
    .empty-state.show {
      overflow-wrap: anywhere;
    }
    footer { border-top: 1px solid var(--line); background: #fff; padding: 20px 0; margin-top: 22px; }
    .footer-inner { display: flex; justify-content: center; align-items: center; gap: 8px 26px; flex-wrap: wrap; text-align: center; }
    .footer-brand { font-family: var(--font-display); font-size: 14px; font-weight: 800; }
    .footer-legal { font-size: 11px; color: var(--ink-light); max-width: 580px; margin: 0; line-height: 1.35; }
    .footer-links { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; line-height: 1; }
    .footer-links a,
    .footer-link { font-size: 11px; font-weight: 650; color: var(--ink-muted); }
    .footer-link { display: inline-flex; align-items: center; min-height: 16px; padding: 0; line-height: 1; white-space: nowrap; cursor: pointer; }
    .footer-link:hover { color: var(--accent); }
    .footer-link + .footer-link::before { content: "\00B7"; display: inline-flex; align-items: center; margin: 0 10px; color: #9FBCB0; font-weight: 700; }
    .footer-social { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; white-space: nowrap; }
    .footer-social::before { content: "\00B7"; margin: 0 10px; color: #9FBCB0; font-weight: 700; }
    .footer-social-link { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--ink-muted); }
    .footer-social-link img { display: block; width: 19px; height: 19px; }
    .footer-social-link:hover { background: var(--surface-soft); }
    .footer-social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    @media (max-width: 768px) {
      .footer-social { display: none !important; }
    }
    .modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(19,32,43,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .modal-overlay.open { opacity: 1; pointer-events: auto; }
    .modal { background: #fff; border-radius: 18px; box-shadow: 0 18px 54px rgba(15,36,54,.16), 0 2px 8px rgba(15,36,54,.06); width: 100%; max-width: 400px; transform: translateY(12px) scale(.98); transition: transform .25s ease; overflow: hidden; }
    .modal-overlay.open .modal { transform: translateY(0) scale(1); }
    .modal-top { padding: 22px 22px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
    .modal-top h2 { font-family: var(--font-display); font-size: 20px; font-weight: 820; letter-spacing: 0; }
    .modal-top p { font-size: 13px; color: var(--ink-muted); margin-top: 5px; line-height: 1.4; }
    .modal-close { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-muted); font-size: 18px; }
    .modal-close:hover { background: var(--line-soft); }
    .modal-tabs { display: flex; gap: 0; margin: 18px 22px 0; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #F7FAF8; }
    .modal-tab { flex: 1; min-height: 34px; padding: 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 760; color: var(--ink-muted); text-align: center; }
    .modal-tab.on { color: #fff; background: var(--accent); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
    .modal-body { padding: 20px 22px 22px; }
    .modal-footer { padding: 13px 22px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--ink-light); text-align: center; line-height: 1.45; }
    .modal-account-actions { display: grid; gap: 10px; }
    .auth-intent-panel { display: grid; gap: 14px; }
    .auth-intent-copy { margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
    .auth-intent-primary-actions { gap: 9px; }
    .auth-intent-action { min-height: 44px; justify-content: center; }
    .auth-intent-message { border: 1px solid var(--accent-line); border-radius: 12px; background: var(--card-hover); color: var(--ink-muted); font-size: 12px; line-height: 1.4; padding: 10px 12px; }
    .free-highlight {
      color: #13A75A;
      font-weight: 850;
    }
    .public-toast {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 260;
      max-width: min(360px, calc(100vw - 28px));
      border: 1px solid var(--accent-line);
      border-radius: 14px;
      padding: 12px 14px;
      background: #fff;
      color: var(--ink-2);
      box-shadow: var(--shadow);
      font-size: 13px;
      font-weight: 750;
      line-height: 1.4;
    }
    @media (max-width: 920px) {
      .content-grid { grid-template-columns: 1fr; }
      .side { display: grid; grid-template-columns: 1fr 1fr; }
      .publish-box { grid-column: 1 / -1; }
      .filters { grid-template-columns: 1fr 1fr; }
      .filters .filter-input { grid-column: 1 / -1; }
      .hero-main { grid-template-columns: 1fr; }
      .hero-actions { justify-content: flex-start; }
    }
    @media (max-width: 760px) {
      .module-links { grid-template-columns: repeat(8, minmax(132px, 1fr)); overflow-x: auto; }
    }
    @media (max-width: 680px) {
      .w { padding-left: 14px; padding-right: 14px; }
      .topbar .w { min-height: auto; gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
      .brand-logo { height: 34px; max-height: 34px; max-width: 136px; }
      .public-info-link { display: none !important; }
      .top-actions .hide-m { display: none; }
      .search-wrap { order: 3; flex: 1 0 100%; max-width: none; margin: 0; }
      .hero h1 { font-size: 25px; }
      .hero-stats { grid-template-columns: 1fr; }
      .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
      .stat:last-child { border-bottom: 0; }
      .filters { grid-template-columns: 1fr; }
      .item { grid-template-columns: 52px 1fr; gap: 11px; padding: 14px; }
      .item.item-no-media { grid-template-columns: 1fr; }
      .badge { width: 52px; height: 46px; border-radius: 13px; }
      .badge.avatar { width: 44px; height: 44px; }
      .card-thumb { width: 52px; height: 46px; border-radius: 13px; }
      .actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; min-width: 0; flex-wrap: wrap; }
      .recommendation-widget { justify-items: stretch; flex: 1 1 160px; max-width: none; }
      .recommendation-control,
      .recommendation-widget .btn-recommend { width: 100%; }
      .recommendation-count,
      .recommendation-highlights { text-align: left; max-width: 100%; }
      .recommendation-menu { left: 0; right: auto; min-width: min(220px, 100%); }
      .recommendation-menu::before { left: 22px; right: auto; }
      .recommendation-reason-overlay,
      .public-detail-overlay { align-items: flex-end; padding: 0; }
      .recommendation-reason-sheet,
      .public-detail-sheet { width: 100%; max-height: min(82dvh, 720px); border-radius: 20px 20px 0 0; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); }
      .sheet-handle { display: block; }
      .recommendation-reason-actions { grid-template-columns: 1fr; }
      .dc-lightbox-overlay { padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
      .dc-lightbox-frame { width: min(100%, calc(100vw - 24px)); height: min(620px, calc(100dvh - 88px - env(safe-area-inset-bottom, 0px))); min-height: 0; }
      .dc-lightbox-close { top: 4px; right: 4px; }
      .dc-lightbox-prev { left: 4px; }
      .dc-lightbox-next { right: 4px; }
      .public-detail-actions { display: grid; grid-template-columns: 1fr; }
      .public-detail-actions .btn { width: 100%; }
      .side { grid-template-columns: 1fr; }
      .hero-actions .btn { width: 100%; }
      .footer-inner { flex-direction: column; }
      .footer-links { flex-wrap: wrap; }
      .public-toast { left: 14px; right: 14px; bottom: 14px; max-width: none; }
    }

    /* ─── V11: posicionamiento claro + lema responsive ─── */
    .tagline-strip {
      background:
        linear-gradient(90deg, rgba(238,246,252,.98), rgba(255,247,230,.96) 52%, rgba(236,253,243,.96));
      border-bottom: 1px solid rgba(199,219,236,.85);
      margin-bottom: 12px;
      box-shadow: inset 0 -1px 0 rgba(255,255,255,.72);
    }
    .tagline-strip .w {
      min-height: 54px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 3px;
      padding-top: 8px;
      padding-bottom: 8px;
    }
    .tagline-main {
      color: var(--accent);
      font-family: var(--font-display);
      font-size: 15px;
      line-height: 1.15;
      font-style: normal;
      font-weight: 900;
      letter-spacing: -.018em;
    }
    .tagline-sub {
      color: var(--ink-2);
      font-family: var(--font-display);
      font-size: 13.5px;
      line-height: 1.25;
      font-style: italic;
      font-weight: 750;
      letter-spacing: -.012em;
    }
    @media (max-width: 680px) {
      .tagline-strip { margin-bottom: 8px; }
      .tagline-strip .w {
        min-height: 66px;
        gap: 3px;
        padding-top: 9px;
        padding-bottom: 9px;
      }
      .tagline-main {
        max-width: 340px;
        font-size: 12.8px;
        line-height: 1.18;
      }
      .tagline-sub {
        max-width: 340px;
        font-size: 11.3px;
        line-height: 1.24;
      }
    }
    @media (max-width: 360px) {
      .tagline-main { font-size: 12.2px; }
      .tagline-sub { font-size: 10.8px; }
    }

    @media (max-width: 680px) {
      .tagline-strip {
        font-size: 12.5px;
        margin-bottom: 9px;
      }
      .tagline-strip .w {
        min-height: 42px;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.18;
        overflow: visible;
        padding-top: 8px;
        padding-bottom: 8px;
      }

      .module-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        overflow: visible !important;
      }
      .module-tab {
        min-width: 0 !important;
        min-height: 52px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 9px 5px !important;
      }
      .module-tab strong {
        font-size: 12.4px !important;
        line-height: 1.05 !important;
      }
      .module-tab span {
        display: none !important;
      }

      .module-links {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        overflow: visible !important;
      }
      .module-link {
        min-width: 0 !important;
        min-height: 48px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 4px !important;
        font-size: 11.2px !important;
        line-height: 1.05 !important;
      }
      .module-link span {
        display: none !important;
      }

      .module-wrap,
      .page {
        padding-top: 10px !important;
      }

      .hero-main {
        padding: 14px !important;
      }
      .hero h1 {
        font-size: 22px !important;
      }
      .hero p {
        font-size: 12.5px !important;
      }
      .hero-actions {
        display: none !important;
      }
      .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      }
      .stat {
        padding: 8px 8px !important;
        border-right: 1px solid var(--line-soft) !important;
        border-bottom: 0 !important;
      }
      .stat strong {
        font-size: 14px !important;
      }
      .stat span {
        font-size: 9.8px !important;
      }

      .row-end {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-top: 2px;
        flex-wrap: wrap;
        background: #F8FBFF;
        border: 1px solid var(--line-soft);
        border-radius: 14px;
        padding: 8px;
      }
      .row-end .btn {
        flex: 1;
      }
      .row-end .btn-wa {
        min-width: 138px;
      }
    }

    @media (max-width: 380px) {
      .module-tab strong,
      .module-link {
        font-size: 10.7px !important;
      }
    }



    /* ─── V11 legibilidad + mobile para vecinos ─── */
    :root {
      --max: 1240px;
      --ink: #0E1B26;
      --ink-2: #243341;
      --ink-muted: #4C5D6D;
      --ink-light: #6F7F8F;
      --line: #D2DEE9;
      --line-soft: #E3EBF2;
      --accent: #063F67;
      --accent-2: #0872B6;
      --font-display: 'Manrope', 'Outfit', system-ui, sans-serif;
      --font-body: 'Manrope', 'Outfit', system-ui, sans-serif;
      --shadow: 0 2px 4px rgba(15,36,54,.045), 0 14px 34px rgba(15,36,54,.085);
    }

    html { scrollbar-gutter: stable; }
    body {
      font-size: 16px;
      line-height: 1.58;
      text-rendering: optimizeLegibility;
    }

    .w { padding-left: 22px; padding-right: 22px; }
    .topbar .w { min-height: 66px; }
    .brand-logo { height: 48px; max-height: 48px; max-width: 192px; }
    .search-wrap { max-width: 560px; }
    .search-wrap input {
      height: 44px;
      font-size: 15px;
      font-weight: 600;
      padding-left: 42px;
      border-color: #CEDCE8;
    }
    .search-wrap svg { width: 18px; height: 18px; left: 14px; color: var(--ink-muted); }

    .btn {
      min-height: 42px;
      padding: 0 18px;
      font-size: 14.5px;
      font-weight: 800;
    }
    .btn-sm {
      min-height: 36px;
      padding: 0 13px;
      font-size: 13.5px;
    }
    .zones .w { gap: 3px; }
    .zone-btn {
      padding: 12px 15px;
      font-size: 13.5px;
      font-weight: 750;
      color: var(--ink-muted);
    }

    .tagline-strip {
      font-size: 15.5px !important;
      margin-bottom: 14px;
      color: var(--ink-2);
      background:
        radial-gradient(circle at 15% 10%, rgba(8,114,182,.13), transparent 26%),
        linear-gradient(90deg, #EEF7FF 0%, #FFF8E7 50%, #ECFDF3 100%) !important;
    }
    .tagline-strip .w { min-height: 50px !important; }
    .tagline-brand { font-size: 16px; font-weight: 900; }
    .tagline-text { color: #1F2E3A !important; font-weight: 750 !important; }

    .module-strip { padding-top: 16px; }
    .module-links,
    .module-nav {
      border-color: #CFDDE8;
      border-radius: 20px;
    }
    .module-link,
    .module-tab {
      min-height: 70px;
      padding: 15px 14px;
      color: #435668;
    }
    .module-link {
      font-size: 14.4px;
      line-height: 1.14;
      font-weight: 850;
    }
    .module-link span,
    .module-tab span {
      font-size: 12.2px;
      line-height: 1.18;
      color: #607285;
      font-weight: 650;
      margin-top: 4px;
    }
    .module-tab strong {
      font-size: 16px;
      line-height: 1.1;
      font-weight: 850;
    }
    .module-link.on,
    .module-tab.on {
      background: linear-gradient(180deg, #EAF6FF, #FFFFFF);
      color: var(--accent);
      box-shadow: inset 0 -4px 0 var(--accent-2);
    }

    .page { padding-top: 20px; }
    .hero-main { padding: 26px 24px 22px; gap: 22px; }
    .crumb { font-size: 14px; margin-bottom: 10px; }
    .hero h1 {
      font-size: 38px;
      line-height: 1.02;
      letter-spacing: -.05em;
      font-weight: 850;
    }
    .hero p {
      font-size: 16px;
      line-height: 1.58;
      color: var(--ink-muted);
      margin-top: 8px;
      max-width: 760px;
    }
    .hero-stats { background: #F8FBFE; }
    .stat { padding: 14px 20px; }
    .stat strong { font-size: 22px; }
    .stat span { font-size: 13.5px; color: #516475; }

    .content-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-top: 18px; }
    .panel-head { padding: 18px 18px; }
    .panel-head h2 { font-size: 21px; font-weight: 850; }
    .panel-head p { font-size: 14.5px; color: var(--ink-muted); }
    .count { font-size: 13.5px; padding: 6px 11px; }
    .filters { padding: 14px 18px; grid-template-columns: minmax(240px,1fr) 200px 200px; gap: 10px; }
    .filter-input,
    .filter-select {
      height: 46px;
      font-size: 15px;
      color: var(--ink);
      border-color: #CDDCE8;
    }
    .item { padding: 18px; gap: 16px; }
    .item h3 { font-size: 19px; line-height: 1.2; }
    .item p { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
    .tag { min-height: 23px; padding: 4px 9px; font-size: 11.3px; }
    .code { font-size: 12.5px; padding: 6px 10px; }
    .side-pad { padding: 18px; }
    .side-box h3 { font-size: 18px; }
    .side-box p,
    .notice { font-size: 14px; line-height: 1.52; color: var(--ink-muted); }
    .side-row { font-size: 13.5px; }
    .side-row strong { font-size: 14px; }
    .empty-state { font-size: 15px; }
    .footer-brand { font-size: 16px; }
    .footer-legal,
    .footer-links a,
    .footer-link { font-size: 12.5px; color: #5F6F7E; }
    .modal-top h2 { font-size: 24px; }
    .modal-top p { font-size: 15px; }
    .modal-tab { font-size: 14.5px; }
    .modal-footer { font-size: 12.5px; }

    /* Home específico */
    .module-wrap { padding-top: 20px; }
    .module-tab { min-height: 72px; }
    .main-panel,
    .hero-card,
    .popular-card,
    .mini-card,
    .notice-card,
    .list-card,
    .feed-card,
    .quick-card {
      border-color: #D2DEE9;
    }
    .panel-title,
    .hero-card h1,
    .hero-title,
    .section-title {
      letter-spacing: -.04em;
    }

    @media (max-width: 920px) {
      .content-grid { grid-template-columns: 1fr; }
      .side { grid-template-columns: 1fr 1fr; }
      .filters { grid-template-columns: 1fr 1fr; }
      .filters .filter-input { grid-column: 1 / -1; }
      .hero-main { grid-template-columns: 1fr; }
      .hero-actions { justify-content: flex-start; }
    }

    @media (max-width: 760px) {
      body { font-size: 15.5px; line-height: 1.56; }
      .w { padding-left: 12px; padding-right: 12px; }
      .topbar .w {
        min-height: auto;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-wrap: wrap;
      }
      .brand-logo { height: 36px; max-height: 36px; max-width: 144px; }
      .top-actions { margin-left: auto; }
      .top-actions .hide-m { display: none !important; }
      .btn { min-height: 42px; font-size: 14.5px; padding: 0 16px; }
      .btn-sm { min-height: 38px; font-size: 14px; padding: 0 13px; }
      .search-wrap { order: 3; flex: 1 0 100%; max-width: none; margin: 0; }
      .search-wrap input,
      .filter-input,
      .filter-select,
      input,
      select,
      textarea {
        font-size: 16px;
      }
      .zones .w { padding-left: 12px; padding-right: 12px; }
      .zone-btn { font-size: 13.5px; padding: 11px 13px; }
      .tagline-strip { font-size: 14px !important; margin-bottom: 10px; }
      .tagline-strip .w { min-height: 46px !important; line-height: 1.25 !important; padding-top: 9px; padding-bottom: 9px; }
      .tagline-brand { font-size: 14.5px; }

      .module-strip { padding-top: 10px; }
      .module-links,
      .module-nav {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        overflow: visible !important;
        border-radius: 16px !important;
      }
      .module-link,
      .module-tab {
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 10px 5px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 12.8px !important;
        line-height: 1.08 !important;
        border-bottom: 1px solid var(--line-soft);
      }
      .module-tab strong {
        font-size: 12.9px !important;
        line-height: 1.08 !important;
      }
      .module-link span,
      .module-tab span { display: none !important; }

      .page,
      .module-wrap { padding-top: 12px !important; }
      .hero-main { padding: 18px !important; }
      .hero h1 { font-size: 30px !important; }
      .hero p { font-size: 15.5px !important; line-height: 1.55 !important; }
      .hero-actions { display: none !important; }
      .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
      .stat { padding: 11px 9px !important; border-right: 1px solid var(--line-soft) !important; border-bottom: 0 !important; }
      .stat strong { font-size: 18px !important; }
      .stat span { font-size: 11.8px !important; line-height: 1.2; }

      .content-grid { gap: 14px; margin-top: 14px; }
      .panel-head { padding: 16px 14px; align-items: flex-start; }
      .panel-head h2 { font-size: 20px; }
      .panel-head p { font-size: 14px; }
      .count { font-size: 12.5px; }
      .filters { grid-template-columns: 1fr !important; padding: 12px 14px; gap: 9px; }
      .item { grid-template-columns: 54px 1fr; gap: 12px; padding: 15px 14px; }
      .item.item-no-media { grid-template-columns: 1fr; }
      .badge { width: 54px !important; height: 48px !important; border-radius: 14px; }
      .badge.avatar { width: 46px !important; height: 46px !important; }
      .card-thumb { width: 54px !important; height: 48px !important; border-radius: 14px; }
      .item h3 { font-size: 17px; line-height: 1.22; }
      .item p { font-size: 14.5px; line-height: 1.48; }
      .tag { font-size: 10.8px; min-height: 22px; }
      .actions,
      .row-end {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 3px;
      }
      .actions .btn,
      .row-end .btn { flex: 1; min-width: 128px; }
      .code { font-size: 12px; }
      .side { grid-template-columns: 1fr !important; }
      .side-pad { padding: 16px; }
      .side-box h3 { font-size: 18px; }
      .side-box p,
      .notice { font-size: 14.5px; }
      .footer-inner { flex-direction: column; }
      .modal { max-width: 94vw; }
      .modal-top { padding: 22px 20px 0; }
      .modal-body { padding: 20px; }
    }

    @media (max-width: 380px) {
      .module-link,
      .module-tab strong { font-size: 12px !important; }
      .btn { font-size: 14px; padding: 0 13px; }
      .hero h1 { font-size: 28px !important; }
      .hero p { font-size: 15px !important; }
    }

    /* Distrito Countries public design system */
    :root {
      --dc-navy: #063047;
      --dc-petrol: #0B4A45;
      --dc-forest: #2F6B57;
      --dc-sage: #6F9B7A;
      --dc-sand: #F6F1E8;
      --dc-warm-white: #FAFBF8;
      --dc-gold: #C8A95A;
      --dc-terracotta: #C96A4A;
      --dc-text: #102A38;
    }

    body:not(.account-page) {
      --bg: var(--dc-sand);
      --card: var(--dc-warm-white);
      --card-hover: #F5F8F1;
      --ink: var(--dc-text);
      --ink-2: #243C3D;
      --ink-muted: #5E6D67;
      --ink-light: #7D8D86;
      --line: #DCE7E2;
      --line-soft: #EAF1EC;
      --accent: var(--dc-navy);
      --accent-2: var(--dc-forest);
      --accent-bg: #EEF6EF;
      --accent-line: #BFD4C8;
      --gold: #A98D3F;
      --gold-bg: #FBF4DF;
      --gold-line: rgba(200,169,90,.36);
      --green: var(--dc-sage);
      --green-dk: var(--dc-forest);
      --green-bg: #EEF6EF;
      --red: #A94F3B;
      --red-bg: #FCF0EA;
      background:
        radial-gradient(circle at 12% -10%, rgba(111,155,122,.16), transparent 32%),
        linear-gradient(180deg, var(--dc-warm-white) 0%, var(--dc-sand) 330px);
    }

    body:not(.account-page) .topbar {
      background: rgba(250,251,248,.92);
      border-bottom-color: rgba(220,231,226,.9);
    }

    body:not(.account-page) .publish-box {
      background: linear-gradient(135deg, var(--dc-navy), var(--dc-forest));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px rgba(47,107,87,.16);
    }

    body:not(.account-page) .btn-accent {
      background: var(--dc-forest);
      border-color: var(--dc-forest);
      box-shadow: 0 10px 20px rgba(47,107,87,.16);
    }

    body:not(.account-page) .btn-accent:hover {
      background: var(--dc-petrol);
      border-color: var(--dc-petrol);
    }

    body:not(.account-page) .tagline-strip {
      background:
        radial-gradient(circle at 14% 0%, rgba(200,169,90,.15), transparent 30%),
        linear-gradient(90deg, rgba(238,246,239,.98), rgba(250,251,248,.96) 48%, rgba(246,241,232,.98)) !important;
      border-bottom-color: rgba(220,231,226,.9);
    }

    body:not(.account-page) .module-links,
    body:not(.account-page) .module-nav {
      grid-template-columns: repeat(10, minmax(0, 1fr));
      background: rgba(250,251,248,.94);
      border-color: rgba(220,231,226,.98);
      box-shadow: 0 1px 2px rgba(16,42,56,.04), 0 14px 34px rgba(16,42,56,.07);
    }

    body:not(.account-page) .module-link,
    body:not(.account-page) .module-tab {
      border-color: rgba(220,231,226,.86);
      transition: transform .14s ease, background .14s ease, color .14s ease, box-shadow .14s ease;
    }

    body:not(.account-page) .module-link:hover,
    body:not(.account-page) .module-tab:hover {
      transform: translateY(-1px);
      background: #EEF6EF;
      color: var(--dc-forest);
    }

    body:not(.account-page) .module-link.on,
    body:not(.account-page) .module-tab.on {
      background: linear-gradient(180deg, #EEF6EF, var(--dc-warm-white));
      color: var(--dc-forest);
      box-shadow: inset 0 -4px 0 var(--dc-forest);
    }

    body:not(.account-page) .hero,
    body:not(.account-page) .public-module-hero,
    body:not(.account-page) .panel,
    body:not(.account-page) .main-panel,
    body:not(.account-page) .side-box {
      background: var(--dc-warm-white);
      border-color: rgba(220,231,226,.96);
      box-shadow: 0 1px 2px rgba(16,42,56,.04), 0 16px 36px rgba(16,42,56,.075);
    }

    body:not(.account-page) .hero-main,
    body:not(.account-page) .panel-head {
      background:
        radial-gradient(circle at 100% 0%, rgba(200,169,90,.12), transparent 30%),
        linear-gradient(180deg, var(--dc-warm-white), #F7FAF3);
    }

    body:not(.account-page) .item,
    body:not(.account-page) .row-item,
    body:not(.account-page) .compact-row,
    body:not(.account-page) .side-box {
      transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
    }

    body:not(.account-page) .item:hover,
    body:not(.account-page) .row-item:hover,
    body:not(.account-page) .compact-row:hover,
    body:not(.account-page) .side-box:hover {
      transform: translateY(-2px);
      background: #FAFBF8;
      box-shadow: 0 14px 34px rgba(16,42,56,.08);
    }

    body:not(.account-page) .badge.promo,
    body:not(.account-page) .row-badge.promo {
      background: #FCF0EA;
      color: var(--dc-terracotta);
      border-color: rgba(201,106,74,.24);
    }

    body:not(.account-page) .badge.gold,
    body:not(.account-page) .t-gold,
    body:not(.account-page) .code,
    body:not(.account-page) .code-pill {
      background: var(--gold-bg);
      color: #8E7130;
      border-color: var(--gold-line);
    }

    @media (max-width: 760px) {
      body:not(.account-page) .module-links,
      body:not(.account-page) .module-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      }
    }

    @media (max-width: 430px) {
      body:not(.account-page) .module-links,
      body:not(.account-page) .module-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      body:not(.account-page) .btn,
      body:not(.account-page) .item,
      body:not(.account-page) .row-item,
      body:not(.account-page) .compact-row,
      body:not(.account-page) .side-box,
      body:not(.account-page) .module-link,
      body:not(.account-page) .module-tab {
        transition: none !important;
      }

      body:not(.account-page) .btn:hover,
      body:not(.account-page) .item:hover,
      body:not(.account-page) .row-item:hover,
      body:not(.account-page) .compact-row:hover,
      body:not(.account-page) .side-box:hover,
      body:not(.account-page) .module-link:hover,
      body:not(.account-page) .module-tab:hover {
        transform: none !important;
      }
    }
    /* Chicos y familia: vertical curada sobre datos públicos existentes */
    .kids-family-page {
      --bg: #F6F1E8;
      --card: #FAFBF8;
      --card-hover: #F7FAF3;
      --ink: #102A38;
      --ink-2: #243C3D;
      --ink-muted: #5E6D67;
      --ink-light: #80918A;
      --line: #DCE7E2;
      --line-soft: #EAF1EC;
      --accent: #063047;
      --accent-2: #2F6B57;
      --accent-bg: #EEF5EF;
      --accent-line: #BFD4C8;
      --gold: #A98D3F;
      --gold-bg: #FBF4DF;
      --gold-line: rgba(200,169,90,.35);
      --green: #6F9B7A;
      --green-dk: #2F6B57;
      --green-bg: #EEF6EF;
      background: linear-gradient(180deg, #FAFBF8 0%, #F6F1E8 320px);
    }

    .kids-family-page .topbar {
      background: rgba(250,251,248,.92);
      border-bottom-color: rgba(220,231,226,.9);
    }

    .kids-family-page .module-link.on {
      background: linear-gradient(180deg, #EEF6EF, #FAFBF8);
      color: #2F6B57;
      box-shadow: inset 0 -4px 0 #2F6B57;
    }

    .kids-family-page .hero {
      border-color: rgba(220,231,226,.92);
      background: linear-gradient(180deg, #FAFBF8, #F7FAF3);
      color: var(--ink);
      position: relative;
    }

    .kids-family-page .hero::after {
      content: none;
    }

    .kids-family-page .hero-main,
    .kids-family-page .hero-stats {
      position: relative;
      z-index: 1;
    }

    .kids-family-page .hero h1 {
      color: var(--ink);
    }

    .kids-family-page .crumb {
      color: var(--accent);
    }

    .kids-family-page .hero p {
      color: var(--ink-muted);
    }

    .kids-family-page .crumb {
      opacity: .9;
    }

    .kids-family-page .hero-stats {
      border-top-color: var(--line-soft);
      background: #F8FBF4;
    }

    .kids-family-page .stat {
      border-color: var(--line-soft);
    }

    .kids-family-page .stat strong {
      color: var(--accent);
    }

    .kids-family-page .stat span {
      color: var(--ink-muted);
      opacity: 1;
    }

    .kids-controls {
      margin-top: 16px;
    }

    .kids-controls .panel-head {
      background:
        radial-gradient(circle at 98% 0%, rgba(200,169,90,.12), transparent 34%),
        linear-gradient(180deg, #FAFBF8, #F6F9F4);
    }

    .kids-filter-row {
      grid-template-columns: minmax(240px, 1fr) 220px 180px;
      border-bottom: 0;
      background: transparent;
    }

    .kids-layout {
      grid-template-columns: minmax(0, 1fr) 315px;
    }

    .kids-main-panel,
    .kids-secondary-panel,
    .kids-side .side-box {
      border-color: rgba(220,231,226,.95);
      background: #FAFBF8;
    }

    .kids-main-panel .panel-head,
    .kids-secondary-panel .panel-head {
      background: linear-gradient(180deg, #FAFBF8, #F7FAF3);
    }

    .kids-list {
      display: grid;
      gap: 12px;
      padding: 14px;
    }

    .kids-card {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr) auto;
      gap: 14px;
      align-items: start;
      padding: 16px;
      border: 1px solid rgba(220,231,226,.95);
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 1px 2px rgba(16,42,56,.04);
      transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
    }

    .kids-card:hover {
      transform: translateY(-2px);
      border-color: rgba(111,155,122,.58);
      background: #FAFBF8;
      box-shadow: 0 14px 34px rgba(16,42,56,.08);
    }

    .kids-card-mark {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(47,107,87,.12), rgba(200,169,90,.14));
      border: 1px solid rgba(111,155,122,.24);
      color: #2F6B57;
      font-weight: 900;
      letter-spacing: -.04em;
    }
    .kids-card-mark.kids-card-image {
      display: block;
      object-fit: cover;
    }

    .kids-card-kicker {
      color: #2F6B57;
      font-size: 11.5px;
      font-weight: 900;
      letter-spacing: .06em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }

    .kids-card h3 {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      font-family: var(--font-display);
      font-size: 18px;
      line-height: 1.2;
      letter-spacing: -.03em;
      color: var(--ink);
    }

    .kids-card p {
      margin-top: 5px;
      color: var(--ink-muted);
      font-size: 14px;
      line-height: 1.48;
    }

    .kids-card-actions {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: flex-end;
      gap: 7px;
      min-width: 218px;
    }
    .kids-card-actions .recommendation-widget { justify-items: end; }

    .kids-card-compact {
      grid-template-columns: 50px minmax(0, 1fr) auto;
      padding: 14px;
    }

    .kids-card-compact .kids-card-mark {
      width: 50px;
      height: 50px;
      border-radius: 15px;
    }

    .kids-related-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kids-secondary-panel {
      margin-top: 16px;
    }

    .kids-secondary-panel[hidden] {
      display: none;
    }

    .kids-side .publish-box {
      background: linear-gradient(135deg, #063047, #2F6B57);
    }

    .kids-side .notice {
      display: none;
      background: #EEF6EF;
      border-color: rgba(111,155,122,.32);
      color: #385D50;
    }

    .kids-side .notice.show {
      display: block;
    }

    @media (prefers-reduced-motion: reduce) {
      .kids-card {
        transition: none;
      }

      .kids-card:hover {
        transform: none;
      }
    }

    @media (max-width: 920px) {
      .kids-layout,
      .kids-related-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 760px) {
      .kids-controls {
        margin-top: 12px;
      }

      .kids-card,
      .kids-card-compact {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 14px;
        gap: 11px;
      }

      .kids-card-mark,
      .kids-card-compact .kids-card-mark {
        width: 52px;
        height: 52px;
        border-radius: 16px;
      }

      .kids-card h3 {
        font-size: 16.5px;
      }

      .kids-card p {
        font-size: 14px;
      }

      .kids-card-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        flex-wrap: wrap;
      }

      .kids-card-actions .btn {
        flex: 1;
        min-width: 136px;
      }

      .kids-family-page .hero-stats {
        grid-template-columns: 1fr !important;
      }

      .kids-family-page .stat {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line-soft) !important;
      }

      .kids-family-page .stat:last-child {
        border-bottom: 0 !important;
      }
    }



    /* Franja pública de comunidad compartida */
    .public-community-strip,
    .tagline-strip {
      margin-bottom: 12px !important;
      background:
        linear-gradient(90deg, rgba(238,246,239,.98) 0%, rgba(250,251,248,.98) 48%, rgba(246,241,232,.98) 100%) !important;
      border-bottom: 1px solid rgba(220,231,226,.9) !important;
      box-shadow: inset 0 -1px 0 rgba(255,255,255,.72) !important;
    }
    .public-community-strip .w.tagline-inner,
    .tagline-strip .w.tagline-inner {
      min-height: 58px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      gap: 3px !important;
      padding-top: 9px !important;
      padding-bottom: 9px !important;
      line-height: 1.2 !important;
    }
    .tagline-main {
      color: var(--accent) !important;
      font-family: var(--font-display) !important;
      font-size: 15.5px !important;
      line-height: 1.16 !important;
      font-style: normal !important;
      font-weight: 900 !important;
      letter-spacing: -.018em !important;
      text-wrap: balance;
    }
    .tagline-sub {
      color: #1F2E3A !important;
      font-family: var(--font-display) !important;
      font-size: 13.6px !important;
      line-height: 1.25 !important;
      font-style: italic !important;
      font-weight: 750 !important;
      letter-spacing: -.012em !important;
      text-wrap: balance;
    }
    @media (max-width: 680px) {
      .public-community-strip,
      .tagline-strip { margin-bottom: 8px !important; }
      .public-community-strip .w.tagline-inner,
      .tagline-strip .w.tagline-inner {
        min-height: 72px !important;
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        gap: 4px !important;
      }
      .tagline-main {
        max-width: 350px !important;
        font-size: 13.2px !important;
        line-height: 1.18 !important;
      }
      .tagline-sub {
        max-width: 350px !important;
        font-size: 11.5px !important;
        line-height: 1.24 !important;
      }
    }
    @media (max-width: 360px) {
      .public-community-strip .w.tagline-inner,
      .tagline-strip .w.tagline-inner { min-height: 76px !important; }
      .tagline-main { font-size: 12.4px !important; }
      .tagline-sub { font-size: 10.8px !important; }
    }

    /* ─── Mi Cuenta: sistema visual autoritativo ─── */
    .account-page {
      --account-space-1: 4px;
      --account-space-2: 8px;
      --account-space-3: 12px;
      --account-space-4: 16px;
      --account-space-5: 24px;
      --account-space-6: 32px;
      --account-space-7: 48px;
      --dc-navy: #063047;
      --dc-navy-light: #0B4A45;
      --dc-petrol: #0B4A45;
      --dc-blue: #0B4A45;
      --dc-forest: #2F6B57;
      --dc-sage: #6F9B7A;
      --dc-sage-soft: #EAF2EA;
      --dc-sand: #F6F1E8;
      --dc-warm: #FAFBF8;
      --dc-gold: #C8A95A;
      --dc-gold-soft: #FBF4DC;
      --dc-terracotta: #C96A4A;
      --dc-terracotta-soft: #FBEDE6;
      --dc-sky: #EDF5F1;
      --dc-sky-deep: #D7E8DD;
      --dc-bg: #F6F1E8;
      --dc-surface: #FFFFFF;
      --dc-surface-alt: #F3F7F1;
      --dc-border: #DCE7E2;
      --dc-border-soft: #E7EEE9;
      --dc-text: #102A38;
      --dc-text-2: #244150;
      --dc-muted: #5F716D;
      --dc-success: #2F6B57;
      --dc-success-bg: #EAF2EA;
      --dc-warning: #8A6A18;
      --dc-warning-bg: #FBF4DC;
      --dc-danger: #B94A48;
      --dc-danger-bg: #FEF2F2;
      --dc-radius: 10px;
      --dc-radius-lg: 18px;
      --account-radius-control: 10px;
      --account-radius-block: 14px;
      --account-radius-surface: 18px;
      --dc-shadow-sm: 0 1px 2px rgba(16,42,56,.05);
      --dc-shadow: 0 1px 2px rgba(16,42,56,.05), 0 10px 28px rgba(16,42,56,.06);
      --dc-shadow-lg: 0 1px 2px rgba(16,42,56,.06), 0 18px 42px rgba(16,42,56,.10);

      background: var(--dc-bg);
      color: var(--dc-text);
    }
    .account-page .topbar {
      background: rgba(250,251,248,.96);
      border-bottom: 1px solid var(--dc-border);
      box-shadow: 0 1px 0 rgba(16,42,56,.04);
    }
    .account-page .topbar .w {
      min-height: 54px;
      gap: 10px;
    }
    .account-back-link {
      display: inline-flex;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      border: 1px solid rgba(220,231,226,.82);
      border-radius: 999px;
      color: var(--dc-petrol);
      background: var(--dc-surface);
      font-size: 17px;
      font-weight: 800;
      box-shadow: var(--dc-shadow-sm);
      transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
    }
    .account-back-link:hover {
      border-color: rgba(47,107,87,.34);
      background: var(--dc-sage-soft);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-page .brand-logo { height: 43px; max-height: 43px; max-width: 172px; }
    .account-shell {
      padding-top: var(--account-space-4);
      padding-bottom: var(--account-space-7);
    }
    .account-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: var(--account-space-4);
      align-items: center;
      padding: 18px 22px;
      background: var(--dc-navy);
      border: 1px solid var(--dc-navy);
      border-radius: var(--account-radius-surface);
      box-shadow: var(--dc-shadow);
    }
    .account-hero .crumb {
      color: rgba(255,255,255,.6);
      font-size: 12px;
    }
    .account-hero .crumb:hover {
      color: rgba(255,255,255,.85);
    }
    .account-hero h1 {
      font-family: var(--font-display);
      font-size: clamp(24px, 2.3vw, 30px);
      line-height: 1.15;
      font-weight: 800;
      letter-spacing: -.02em;
      color: #fff;
    }
    .account-hero p {
      max-width: 680px;
      margin-top: 4px;
      color: rgba(255,255,255,.78);
      font-size: 14px;
      font-weight: 500;
    }
    .account-hero p strong {
      display: inline-block;
      max-width: min(420px, 100%);
      color: #FFFFFF;
      font-weight: 800;
      vertical-align: bottom;
      overflow-wrap: anywhere;
    }
    .account-hero-side {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .account-pill,
    .account-data-badge,
    .account-status {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 10.5px;
      font-weight: 700;
      border: 1px solid var(--dc-border);
      color: var(--dc-muted);
      background: var(--dc-surface);
      white-space: nowrap;
      letter-spacing: .02em;
    }
    .account-pill {
      min-height: 22px;
      padding: 2px 8px;
      color: var(--dc-muted);
      background: rgba(246,241,232,.52);
      border-color: var(--dc-border-soft);
      font-size: 9.5px;
    }
    .account-pill[data-status="ready"],
    .account-data-badge[data-mode="real"] {
      color: var(--green-dk);
      background: var(--green-bg);
      border-color: rgba(13,95,45,.16);
    }
    .account-data-badge[data-mode="demo"] {
      color: var(--gold);
      background: var(--gold-bg);
      border-color: var(--gold-line);
    }
    .account-page .top-actions {
      gap: 6px;
      align-items: center;
      margin-left: auto;
    }
    .account-page .top-actions .btn {
      min-height: 31px;
      padding: 4px 11px;
      font-size: 12px;
      font-weight: 600;
      border-radius: 8px;
    }
    .account-page .top-actions .btn-ghost {
      background: transparent;
      border-color: rgba(220,231,226,.82);
      color: var(--dc-text-2);
    }
    .account-page .top-actions .btn-ghost:hover {
      color: var(--dc-danger);
      border-color: rgba(220,38,38,.25);
      background: var(--dc-danger-bg);
    }
    .account-page .top-actions .btn-soft {
      background: transparent;
      border-color: transparent;
      color: var(--dc-muted);
    }
    .account-page .top-actions .btn-soft:hover {
      background: var(--dc-sand);
      color: var(--dc-petrol);
    }
    .account-page .btn-accent,
    .account-page .btn-primary {
      color: #fff;
      background: var(--dc-navy);
      border-color: var(--dc-navy);
      box-shadow: 0 6px 14px rgba(6,48,71,.14);
    }
    .account-page .btn {
      min-height: 44px;
      border-radius: var(--account-radius-control);
      font-weight: 750;
      transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease, color .14s ease;
    }
    .account-page .btn-accent:hover,
    .account-page .btn-primary:hover {
      background: var(--dc-petrol);
      border-color: var(--dc-petrol);
      box-shadow: 0 8px 18px rgba(6,48,71,.18);
    }
    .account-page .btn-soft {
      background: var(--dc-sage-soft);
      border-color: var(--dc-sky-deep);
      color: var(--dc-forest);
    }
    .account-page .btn-soft:hover {
      background: var(--dc-sky-deep);
      border-color: rgba(111,155,122,.45);
      color: var(--dc-navy);
    }
    .account-page .btn:disabled,
    .account-page .btn[aria-disabled="true"] {
      cursor: not-allowed;
      opacity: .56;
      box-shadow: none;
      transform: none;
    }
    .account-page .btn:disabled::after {
      content: "";
      width: 12px;
      height: 12px;
      margin-left: 8px;
      border: 2px solid currentColor;
      border-right-color: transparent;
      border-radius: 999px;
      animation: account-spin .75s linear infinite;
    }
    .account-page #account-owner-media-upload:not([aria-busy="true"])::after {
      content: none;
    }
    .account-page .btn-danger-quiet {
      color: var(--dc-danger);
      border-color: rgba(185,74,72,.24);
      background: var(--dc-danger-bg);
    }
    .account-page .btn-danger-quiet:hover {
      color: var(--dc-danger);
      border-color: rgba(185,74,72,.42);
      background: var(--dc-danger-bg);
    }
    .account-page .btn-caution-quiet {
      color: var(--dc-warning);
      border-color: rgba(138,106,24,.24);
      background: var(--dc-warning-bg);
    }
    @keyframes account-spin {
      to { transform: rotate(360deg); }
    }
    .account-auth-panel,
    .account-demo-switch,
    .account-state,
    .account-toolbar,
    .account-card,
    .account-metric {
      background: var(--dc-surface);
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      box-shadow: var(--dc-shadow);
    }
    .account-auth-panel {
      margin-top: 18px;
      padding: 28px 32px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
      gap: 24px;
      align-items: center;
      border-left: 4px solid var(--dc-navy);
    }
    .account-auth-actions {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
      flex-wrap: wrap;
    }
    .account-auth-actions .btn {
      min-width: 132px;
    }
    .account-demo-switch {
      margin-top: 14px;
      padding: 14px 16px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      background: #FFFCF1;
      border-color: var(--gold-line);
    }
    .account-demo-switch[hidden] {
      display: none;
    }
    .account-auth-panel[hidden],
    .account-state[hidden],
    .account-app[hidden],
    .account-context-card[hidden],
    .account-commercial-onboarding[hidden],
    .account-owner-section[hidden],
    .account-resident-section[hidden],
    .account-question-section[hidden],
    .account-select[hidden],
    .account-prelaunch-callout[hidden],
    #account-dashboard-proof-cta[hidden] {
      display: none !important;
    }
    .account-demo-switch strong {
      display: block;
      color: var(--ink);
      font-size: 13px;
      line-height: 1.35;
    }
    .account-demo-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }
    .account-demo-actions .btn.is-active {
      color: #fff;
      background: var(--accent);
      border-color: var(--accent);
    }
    .eyebrow {
      margin-bottom: 4px;
      color: var(--dc-forest);
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .account-auth-panel h2,
    .account-toolbar h2,
    .account-card h2 {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -.01em;
      color: var(--dc-navy);
    }
    .account-auth-panel p {
      color: var(--dc-muted);
      font-size: 13.5px;
      line-height: 1.5;
    }
    .account-auth-form,
    .account-form {
      display: grid;
      gap: 12px;
    }
    .account-advanced-auth {
      border: 1px solid var(--dc-border);
      border-radius: var(--dc-radius);
      background: var(--dc-surface-alt);
      padding: 10px 12px;
    }
    .account-advanced-auth summary {
      color: var(--dc-muted);
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
    }
    .account-advanced-auth[open] {
      display: grid;
      gap: 10px;
    }
    .account-advanced-auth[open] summary {
      margin-bottom: 2px;
      color: var(--dc-forest);
    }
    .account-auth-form label,
    .account-form label:not(.account-check):not(.account-option-card),
    .account-zones-field,
    .account-fieldset {
      display: grid;
      gap: 6px;
      color: var(--dc-text-2);
      font-size: 13.5px;
      font-weight: 700;
    }
    .account-fieldset {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      border: 1px solid var(--dc-border);
      border-radius: var(--dc-radius);
      padding: 14px;
      margin: 0;
    }
    .account-fieldset legend {
      padding: 0 6px;
      color: var(--dc-navy);
      font-size: 13px;
      font-weight: 700;
    }
    .account-auth-form input,
    .account-form input,
    .account-form select,
    .account-form textarea,
    .account-select {
      width: 100%;
      min-height: 44px;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-control);
      background: var(--dc-surface);
      color: var(--dc-text);
      padding: 10px 12px;
      font-size: 14px;
      outline: none;
      transition: border-color .15s ease, box-shadow .15s ease;
    }
    .account-form textarea {
      resize: vertical;
      min-height: 110px;
      line-height: 1.45;
    }
    .account-auth-form input:focus,
    .account-form input:focus,
    .account-form select:focus,
    .account-form textarea:focus,
    .account-select:focus {
      border-color: var(--dc-sage);
      box-shadow: 0 0 0 3px rgba(111,155,122,.18);
    }
    .account-whatsapp-input {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: stretch;
      min-width: 0;
      min-height: 44px;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-control);
      background: var(--dc-surface);
      overflow: hidden;
      transition: border-color .15s ease, box-shadow .15s ease;
    }
    .account-whatsapp-prefix {
      display: inline-flex;
      align-items: center;
      padding: 0 11px;
      border-right: 1px solid var(--dc-border);
      background: var(--dc-surface-alt);
      color: var(--dc-navy);
      font-weight: 800;
      white-space: nowrap;
    }
    .account-form .account-whatsapp-input input {
      min-width: 0;
      min-height: 42px;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .account-form .account-whatsapp-input input:focus {
      border: 0;
      box-shadow: none;
    }
    .account-whatsapp-input:focus-within {
      border-color: var(--dc-sage);
      box-shadow: 0 0 0 3px rgba(111,155,122,.18);
    }
    .account-whatsapp-legacy {
      color: var(--dc-warning);
      font-size: 12px;
      font-weight: 650;
      line-height: 1.4;
    }
    .account-form-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .account-state {
      margin-top: 18px;
      padding: 16px 18px;
      color: var(--dc-muted);
      font-size: 14px;
      font-weight: 600;
      text-align: left;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface-alt);
      overflow-wrap: anywhere;
    }
    .account-state-error {
      color: var(--dc-danger);
      background: var(--dc-danger-bg);
      border-color: rgba(220,38,38,.16);
    }
    .account-state-loading {
      display: flex;
      align-items: center;
      gap: var(--account-space-3);
    }
    .account-state-indicator {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      border: 2px solid var(--dc-border);
      border-top-color: var(--dc-navy);
      border-radius: 999px;
      animation: account-spin .8s linear infinite;
    }
    .account-state-empty {
      text-align: center;
      border-style: dashed;
    }
    .account-app {
      margin-top: 18px;
      display: grid;
      grid-template-columns: minmax(196px, 256px) minmax(0, 1fr);
      gap: clamp(var(--account-space-4), 2vw, var(--account-space-5));
      align-items: start;
    }
    .account-sidebar {
      position: sticky;
      top: 82px;
      display: grid;
      gap: 12px;
      min-width: 0;
    }
    .account-sidebar-card {
      padding: 18px 16px;
      background: var(--dc-navy);
      border: 1px solid var(--dc-navy);
      border-radius: var(--account-radius-block);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-sidebar-kicker {
      display: block;
      color: rgba(255,255,255,.55);
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .account-nav-group {
      display: block;
      color: var(--dc-muted);
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .account-sidebar-card strong {
      display: block;
      margin-top: 6px;
      color: #fff;
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 800;
      line-height: 1.2;
    }
    .account-sidebar-card p {
      margin-top: 6px;
      color: rgba(255,255,255,.6);
      font-size: 12px;
      line-height: 1.4;
      font-weight: 600;
    }
    .account-section-nav {
      display: grid;
      gap: 8px;
      padding: 11px;
      background: var(--dc-surface);
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-mobile-section-control {
      display: none;
      padding: 13px;
      background: var(--dc-surface);
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-mobile-section-control label {
      display: grid;
      gap: 7px;
      color: var(--dc-text-2);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .05em;
    }
    .account-nav-group {
      padding: 10px 10px 2px;
      color: rgba(36,65,80,.68);
    }
    .account-nav-icon {
      display: inline-flex;
      width: 17px;
      height: 17px;
      flex-shrink: 0;
      margin-right: 9px;
      background: currentColor;
      opacity: .82;
      transition: opacity .12s ease;
    }
    .account-nav-icon[data-icon="grid"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="user"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="image"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="tag"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="star"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="megaphone"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 11v3a2 2 0 002 2h2l3 4v-4l9 3V6l-9 3H5a2 2 0 00-2 2z'/%3E%3Cpath d='M21 9a4 4 0 010 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 11v3a2 2 0 002 2h2l3 4v-4l9 3V6l-9 3H5a2 2 0 00-2 2z'/%3E%3Cpath d='M21 9a4 4 0 010 6'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="file"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="shield"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="chart"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="chat"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="activity"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='17' cy='4' r='2'/%3E%3Cpath d='M15 7l-3 3 4 4 4-4'/%3E%3Cpath d='M12 10L8 7l-3 4'/%3E%3Cpath d='M16 14l-2 7'/%3E%3Cpath d='M9 12l-3 9'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='17' cy='4' r='2'/%3E%3Cpath d='M15 7l-3 3 4 4 4-4'/%3E%3Cpath d='M12 10L8 7l-3 4'/%3E%3Cpath d='M16 14l-2 7'/%3E%3Cpath d='M9 12l-3 9'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-icon[data-icon="clock"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-nav-item {
      width: 100%;
      min-height: 45px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 10px 12px;
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--account-radius-control);
      background: var(--dc-surface);
      color: var(--dc-text);
      cursor: pointer;
      font: inherit;
      font-size: 13px;
      font-weight: 750;
      text-align: left;
      box-shadow: none;
      transition: background .14s ease, color .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
    }
    .account-nav-item:hover {
      background: var(--dc-surface-alt);
      border-color: rgba(47,107,87,.48);
      color: var(--dc-forest);
      box-shadow: none;
    }
    .account-nav-item:hover .account-nav-icon {
      opacity: .95;
    }
    .account-nav-item.is-active {
      color: #fff;
      background: var(--dc-navy);
      border-color: var(--dc-navy);
      font-weight: 800;
      box-shadow: 0 12px 24px rgba(47,107,87,.23);
    }
    .account-nav-item.is-active .account-nav-icon {
      opacity: 1;
    }
    .account-nav-item span {
      min-width: 0;
      overflow-wrap: anywhere;
    }
    .account-content {
      min-width: 0;
      display: grid;
      gap: 16px;
    }
    .account-context-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: center;
      padding: 16px 18px;
      border: 1px solid rgba(205,221,213,.82);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-context-card h2 {
      margin: 3px 0 4px;
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 800;
      color: var(--dc-navy);
    }
    .account-context-card p {
      margin: 0;
      color: var(--dc-text-2);
      font-size: 13px;
      line-height: 1.45;
    }
    .account-context-actions {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border: 1px solid rgba(47,107,87,.34);
      border-radius: 999px;
      background: rgba(239,246,238,.96);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 6px 16px rgba(16,42,56,.08);
    }
    .account-context-button {
      min-height: 34px;
      padding: 7px 14px;
      border: 1px solid transparent;
      border-radius: 999px;
      background: transparent;
      color: var(--dc-text-2);
      cursor: pointer;
      font: inherit;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
      transition: background .14s ease, color .14s ease, border-color .14s ease;
    }
    .account-context-button:hover {
      background: rgba(255,255,255,.72);
      color: var(--dc-forest);
      border-color: rgba(47,107,87,.18);
    }
    .account-context-button.is-active {
      color: #fff;
      background: var(--dc-petrol);
      border-color: var(--dc-petrol);
      box-shadow: 0 5px 12px rgba(11,74,69,.22);
    }
    .account-commercial-onboarding {
      display: grid;
      gap: var(--account-space-4);
      padding: 0;
      background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;
    }
    .account-commercial-onboarding .account-commercial-invite {
      align-items: center;
      gap: var(--account-space-4);
      margin: 0;
      padding: 16px 18px;
      border: 1px solid var(--dc-border);
      border-left: 4px solid var(--dc-forest);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-commercial-onboarding .account-commercial-invite .eyebrow {
      color: var(--dc-forest);
    }
    .account-commercial-onboarding .account-commercial-invite h2 {
      font-size: 18px;
    }
    .account-commercial-onboarding .account-commercial-invite .btn {
      color: var(--dc-navy);
      background: var(--dc-surface-alt);
      border-color: var(--dc-border);
      box-shadow: none;
    }
    .account-commercial-onboarding-form[hidden] {
      display: none;
    }
    .account-prelaunch-callout {
      display: grid;
      gap: 8px;
      min-width: 0;
      padding: 16px 18px;
      border: 1px solid rgba(200,169,90,.38);
      border-left: 4px solid var(--dc-gold);
      border-radius: var(--account-radius-block);
      background:
        radial-gradient(circle at 100% 0%, rgba(200,169,90,.14), transparent 34%),
        linear-gradient(180deg, rgba(255,253,246,.98), rgba(247,250,244,.96));
      box-shadow: var(--dc-shadow-sm);
    }
    .account-prelaunch-callout .eyebrow,
    .account-prelaunch-kicker {
      margin: 0;
      color: #7B621B;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .account-prelaunch-callout h3,
    .account-prelaunch-callout p {
      margin: 0;
    }
    .account-prelaunch-callout h3 {
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 18px;
      line-height: 1.3;
    }
    .account-prelaunch-callout p {
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.5;
    }
    .account-prelaunch-callout p strong {
      color: var(--dc-navy);
    }
    .account-prelaunch-forecast {
      color: #7B621B;
      font-weight: 700;
    }
    .account-prelaunch-owner-benefit {
      margin: 0;
    }
    .account-prelaunch-owner-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .account-owner-section,
    .account-resident-section,
    .account-question-section {
      display: grid;
      gap: var(--account-space-4);
    }
    .account-toolbar {
      padding: 16px 18px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
      gap: var(--account-space-4);
      align-items: center;
    }
    .account-grid {
      display: grid;
      gap: 12px;
    }
    .account-grid-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }
    .account-grid-two {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-metrics-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px;
      border: 1px solid rgba(196,216,205,.88);
      border-radius: var(--dc-radius);
      background:
        linear-gradient(180deg, rgba(250,251,248,.98), rgba(239,246,238,.88));
      box-shadow: 0 1px 2px rgba(16,42,56,.035), inset 0 1px 0 rgba(255,255,255,.76);
    }
    .account-toolbar-kicker {
      display: block;
      color: var(--dc-muted);
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .07em;
    }
    .account-metrics-toolbar strong {
      display: block;
      margin-top: 2px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 800;
    }
    .account-metrics-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: var(--account-space-4);
      padding: 2px;
    }
    .account-metrics-header h2 {
      margin: 3px 0 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: clamp(22px, 3vw, 28px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -.02em;
    }
    .account-piece-analytics {
      display: grid;
      gap: 28px;
      margin-top: 28px;
    }
    .account-piece-analytics[hidden],
    .account-analytics-dialog[hidden] {
      display: none;
    }
    .account-piece-section {
      display: grid;
      gap: 16px;
      min-width: 0;
    }
    .account-piece-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
    }
    .account-piece-heading h3 {
      margin: 3px 0 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 21px;
    }
    .account-piece-filters {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 6px;
    }
    .account-piece-filter {
      min-height: 44px;
      padding: 7px 12px;
      border: 1px solid var(--dc-border);
      border-radius: 999px;
      color: var(--dc-muted);
      background: var(--dc-surface);
      cursor: pointer;
      font: inherit;
      font-size: 12px;
      font-weight: 800;
    }
    .account-piece-filter:hover,
    .account-piece-filter:focus-visible {
      color: var(--dc-forest);
      border-color: var(--dc-forest);
    }
    .account-piece-filter.is-active {
      color: #fff;
      border-color: var(--dc-navy);
      background: var(--dc-navy);
    }
    .account-piece-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      min-width: 0;
    }
    .account-piece-card {
      display: grid;
      gap: 14px;
      min-width: 0;
      padding: 16px;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-piece-card-main {
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr);
      gap: 12px;
      min-width: 0;
    }
    .account-piece-image {
      width: 88px;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border-radius: 12px;
      background: var(--dc-sage-soft);
    }
    .account-piece-image img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }
    .account-piece-image-fallback {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      color: var(--dc-forest);
      font-weight: 900;
    }
    .account-piece-copy {
      min-width: 0;
    }
    .account-piece-copy h4 {
      margin: 7px 0 4px;
      overflow-wrap: anywhere;
      color: var(--dc-navy);
      font-size: 16px;
      line-height: 1.25;
    }
    .account-piece-copy p,
    .account-piece-context,
    .account-piece-no-data {
      margin: 0;
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.45;
    }
    .account-piece-metrics {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 0;
    }
    .account-piece-metrics div {
      min-width: 0;
      padding: 9px 10px;
      border-radius: 10px;
      background: var(--dc-surface-alt);
    }
    .account-piece-metrics dt {
      color: var(--dc-muted);
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .account-piece-metrics dd {
      margin: 3px 0 0;
      color: var(--dc-navy);
      font-size: 17px;
      font-weight: 900;
    }
    .account-piece-detail {
      width: 100%;
      min-height: 44px;
      margin-top: auto;
      justify-content: center;
    }
    body.account-analytics-open {
      overflow: hidden;
    }
    .account-analytics-dialog {
      position: fixed;
      z-index: 1500;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 20px;
    }
    .account-analytics-dialog-backdrop {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      background: rgba(8, 30, 39, .58);
      cursor: default;
    }
    .account-analytics-dialog-panel {
      position: relative;
      z-index: 1;
      width: min(760px, 100%);
      max-height: min(760px, calc(100vh - 40px));
      overflow: auto;
      padding: 24px;
      border-radius: 20px;
      background: var(--dc-surface);
      box-shadow: 0 24px 80px rgba(8, 30, 39, .28);
    }
    .account-analytics-dialog-close {
      position: sticky;
      z-index: 2;
      top: 0;
      float: right;
      width: 44px;
      height: 44px;
      border: 1px solid var(--dc-border);
      border-radius: 50%;
      color: var(--dc-navy);
      background: var(--dc-surface);
      cursor: pointer;
      font-size: 24px;
    }
    .account-analytics-detail-head h2 {
      margin: 5px 52px 5px 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: clamp(22px, 4vw, 30px);
    }
    .account-analytics-detail-head p {
      margin: 0 0 18px;
      color: var(--dc-muted);
    }
    .account-analytics-breakdown {
      display: grid;
      gap: 10px;
      margin-top: 22px;
    }
    .account-analytics-breakdown h3 {
      margin: 0;
      color: var(--dc-navy);
      font-size: 16px;
    }
    .account-analytics-breakdown-list,
    .account-evolution-list {
      display: grid;
      gap: 8px;
    }
    .account-analytics-breakdown-list article,
    .account-evolution-list div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 4px 12px;
      padding: 11px 12px;
      border-radius: 10px;
      background: var(--dc-surface-alt);
    }
    .account-analytics-breakdown-list span,
    .account-analytics-breakdown-list small {
      color: var(--dc-muted);
      font-size: 12px;
    }
    .account-analytics-breakdown-list small {
      grid-column: 1 / -1;
    }
    .account-zone-bars {
      display: grid;
      gap: 9px;
    }
    .account-zone-bars > div {
      display: grid;
      grid-template-columns: minmax(110px, .8fr) minmax(120px, 1fr) 54px;
      gap: 10px;
      align-items: center;
      min-width: 0;
    }
    .account-zone-bars progress {
      width: 100%;
      accent-color: var(--dc-forest);
    }
    .account-zone-bars strong {
      text-align: right;
      font-size: 12px;
    }
    .account-segmented {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border: 1px solid var(--dc-border);
      border-radius: 999px;
      background: var(--dc-surface-alt);
      box-shadow: none;
    }
    .account-segmented-option {
      min-height: 44px;
      padding: 5px 12px;
      border: 1px solid transparent;
      border-radius: 999px;
      background: transparent;
      color: var(--dc-muted);
      cursor: pointer;
      font: inherit;
      font-size: 12px;
      font-weight: 800;
      transition: background .14s ease, color .14s ease, border-color .14s ease, box-shadow .14s ease;
    }
    .account-segmented-option:hover {
      color: var(--dc-forest);
      background: var(--dc-sage-soft);
    }
    .account-segmented-option.is-active {
      color: #fff;
      background: var(--dc-navy);
      border-color: var(--dc-navy);
      box-shadow: none;
    }
    .account-metric {
      --metric-accent: var(--dc-sage);
      --metric-bg: #F4F8F1;
      min-height: 132px;
      padding: 18px;
      display: grid;
      gap: 10px;
      align-content: start;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--dc-border);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-sm);
      transition: border-color .16s ease, box-shadow .16s ease;
    }
    .account-metric::after {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 2px;
      background: var(--metric-accent);
      opacity: .82;
      pointer-events: none;
    }
    .account-metric[data-metric-icon="phone"],
    .account-kpi-item[data-metric-icon="phone"] {
      --metric-accent: var(--dc-forest);
      --metric-bg: #EDF6ED;
    }
    .account-metric[data-metric-icon="eye"],
    .account-kpi-item[data-metric-icon="eye"] {
      --metric-accent: var(--dc-petrol);
      --metric-bg: #EAF3F0;
    }
    .account-metric[data-metric-icon="tag"],
    .account-kpi-item[data-metric-icon="tag"] {
      --metric-accent: var(--dc-terracotta);
      --metric-bg: var(--dc-terracotta-soft);
    }
    .account-metric[data-metric-icon="chat"],
    .account-kpi-item[data-metric-icon="chat"] {
      --metric-accent: #4E6FA6;
      --metric-bg: #EEF3FB;
    }
    .account-metric[data-metric-icon="star"],
    .account-kpi-item[data-metric-icon="star"] {
      --metric-accent: #A98D3F;
      --metric-bg: var(--dc-gold-soft);
    }
    .account-metric-icon {
      display: inline-flex;
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      color: var(--metric-accent, var(--dc-forest));
      background: currentColor;
      filter: drop-shadow(0 1px 1px rgba(16,42,56,.08));
    }
    .account-metric-icon[data-icon="phone"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.79 19.79 0 012.12 4.18 2 2 0 014.11 2h3a2 2 0 012 1.72c.12.9.32 1.77.59 2.61a2 2 0 01-.45 2.11L8 9.69a16 16 0 006.31 6.31l1.25-1.25a2 2 0 012.11-.45c.84.27 1.71.47 2.61.59A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.79 19.79 0 012.12 4.18 2 2 0 014.11 2h3a2 2 0 012 1.72c.12.9.32 1.77.59 2.61a2 2 0 01-.45 2.11L8 9.69a16 16 0 006.31 6.31l1.25-1.25a2 2 0 012.11-.45c.84.27 1.71.47 2.61.59A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-metric-icon[data-icon="eye"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-metric-icon[data-icon="tag"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-metric-icon[data-icon="chat"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 01-4 4H8l-5 3V7a4 4 0 014-4h10a4 4 0 014 4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 01-4 4H8l-5 3V7a4 4 0 014-4h10a4 4 0 014 4z'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-metric-icon[data-icon="star"] { color: var(--metric-accent, #A98D3F); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat; }
    .account-metric-label,
    .account-metric-helper,
    .account-muted {
      color: var(--dc-muted);
      font-weight: 600;
    }
    .account-muted {
      font-size: 12px;
    }
    .account-metric-label {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--dc-text-2);
      font-size: 13px;
      font-weight: 800;
      line-height: 1.25;
    }
    .account-metric strong {
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: clamp(30px, 3vw, 36px);
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -.01em;
      font-variant-numeric: tabular-nums;
    }
    .account-metric-unit {
      margin-left: 6px;
      color: var(--dc-muted);
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0;
    }
    .account-metric-helper {
      max-width: 34ch;
      font-size: 12px;
      line-height: 1.45;
    }
    .account-metrics-empty {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      padding: 14px 16px;
      color: var(--dc-text-2);
      font-size: 13px;
      font-weight: 650;
      text-align: left;
      background: linear-gradient(180deg, rgba(234,242,234,.92), rgba(250,251,248,.90));
      border: 1px solid rgba(111,155,122,.26);
      border-radius: var(--dc-radius);
    }
    .account-metrics-empty::before {
      content: "";
      width: 24px;
      height: 24px;
      border-radius: 999px;
      background:
        linear-gradient(90deg, transparent 7px, rgba(47,107,87,.40) 7px 10px, transparent 10px 14px, rgba(47,107,87,.56) 14px 17px, transparent 17px),
        var(--dc-sage-soft);
      border: 1px solid rgba(47,107,87,.18);
      box-shadow: inset 0 0 0 3px rgba(250,251,248,.72);
    }
    .account-metrics-analysis {
      display: grid;
      gap: 24px;
    }
    .account-radar-teaser {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 13px 14px;
      border: 1px solid rgba(47,107,87,.20);
      border-left: 4px solid var(--dc-forest);
      border-radius: var(--dc-radius-lg);
      background: linear-gradient(180deg, rgba(250,251,248,.98), rgba(236,245,237,.94));
      box-shadow: 0 1px 2px rgba(16,42,56,.035), 0 12px 26px rgba(16,42,56,.065);
    }
    .account-radar-teaser h3 {
      margin: 2px 0 5px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 19px;
      line-height: 1.16;
      letter-spacing: 0;
    }
    .account-radar-teaser p {
      max-width: 58ch;
      margin: 0;
      color: var(--dc-text-2);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 650;
    }
    .account-analytics-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      padding: 18px;
      border: 1px solid rgba(196,216,205,.86);
      border-radius: var(--dc-radius-lg);
      background:
        radial-gradient(circle at top right, rgba(200,169,90,.13), transparent 34%),
        linear-gradient(135deg, rgba(250,251,248,.98), rgba(236,245,237,.94));
      box-shadow: 0 1px 2px rgba(16,42,56,.035), 0 14px 30px rgba(16,42,56,.07);
    }
    .account-analytics-header h2 {
      margin: 2px 0 4px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 22px;
      line-height: 1.12;
      letter-spacing: 0;
    }
    .account-analytics-header p {
      max-width: 56ch;
      margin: 0;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 650;
    }
    .account-analysis-period {
      display: inline-flex;
      min-height: 30px;
      align-items: center;
      justify-content: center;
      padding: 5px 11px;
      border: 1px solid rgba(47,107,87,.18);
      border-radius: 999px;
      color: var(--dc-forest);
      background: var(--dc-sage-soft);
      font-size: 12px;
      font-weight: 850;
      white-space: nowrap;
    }
    .account-analysis-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
      gap: 14px;
      align-items: stretch;
    }
    .account-analysis-card {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid rgba(205,221,213,.86);
      border-radius: var(--dc-radius-lg);
      background:
        linear-gradient(180deg, rgba(250,251,248,.99), rgba(246,249,243,.96));
      box-shadow: 0 1px 2px rgba(16,42,56,.035), 0 12px 26px rgba(16,42,56,.065);
      transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
    }
    .account-metrics-kpi .account-kpi-item {
      min-width: 0;
      min-height: 138px;
      padding: 18px;
      border-color: rgba(196,216,205,.76);
      box-shadow: 0 1px 2px rgba(16,42,56,.025), 0 8px 20px rgba(16,42,56,.045);
    }
    .account-metrics-kpi .account-kpi-label {
      min-width: 0;
      overflow-wrap: anywhere;
      font-size: 14px;
    }
    .account-metrics-kpi .account-kpi-value {
      overflow-wrap: anywhere;
      font-size: clamp(30px, 3vw, 36px);
    }
    .account-metrics-kpi .account-kpi-unit {
      margin-left: 7px;
      font-size: 13px;
    }
    .account-metrics-kpi .account-kpi-help {
      font-size: 13px;
      line-height: 1.4;
    }
    .account-commercial-activity {
      display: grid;
      gap: 12px;
    }
    .account-offering-metrics {
      display: grid;
      gap: 12px;
      min-width: 0;
    }
    .account-offering-metrics-list {
      min-width: 0;
      overflow: hidden;
      border: 1px solid rgba(196,216,205,.74);
      border-radius: var(--account-radius-surface);
      background: var(--dc-surface);
      box-shadow: 0 1px 2px rgba(16,42,56,.025), 0 8px 20px rgba(16,42,56,.04);
    }
    .account-offering-metric-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(100px, .42fr) minmax(150px, .72fr);
      align-items: center;
      gap: 12px;
      min-width: 0;
      padding: 11px 14px;
      border-bottom: 1px solid var(--dc-border-soft);
    }
    .account-offering-metric-row:last-child {
      border-bottom: 0;
    }
    .account-offering-metric-label {
      min-width: 0;
      color: var(--dc-navy);
      font-size: 14px;
      font-weight: 800;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }
    .account-offering-metric-value {
      min-width: 0;
      color: var(--dc-text-2);
      font-size: 13px;
      font-weight: 650;
      line-height: 1.35;
      text-align: right;
      white-space: nowrap;
    }
    .account-offering-metric-value strong {
      color: var(--dc-forest);
      font-size: 15px;
      font-variant-numeric: tabular-nums;
    }
    .account-offering-metrics-note {
      margin: -2px 2px 0;
      color: var(--dc-muted);
      font-size: 12.5px;
      line-height: 1.45;
    }
    .account-metrics-section-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 2px;
    }
    .account-metrics-section-heading h3 {
      margin: 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -.01em;
    }
    .account-activity-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }
    .account-activity-card {
      min-width: 0;
      min-height: 124px;
      padding: 15px;
      border-color: rgba(196,216,205,.72);
      box-shadow: 0 1px 2px rgba(16,42,56,.025), 0 6px 16px rgba(16,42,56,.04);
    }
    .account-activity-card .account-kpi-label {
      min-width: 0;
      overflow-wrap: anywhere;
      font-size: 13px;
    }
    .account-activity-card .account-kpi-value {
      font-size: clamp(24px, 2.5vw, 30px);
      overflow-wrap: anywhere;
    }
    .account-activity-card .account-kpi-help {
      font-size: 13px;
      line-height: 1.4;
    }
    .account-activity-card--neutral[data-metric-icon="star"] {
      --metric-accent: var(--dc-petrol);
      --metric-bg: #EFF5F3;
    }
    .account-activity-card--recommendation {
      --metric-accent: #4E6FA6;
      background: linear-gradient(180deg, #fff, #F7F9FD);
    }
    .account-activity-card--promo {
      --metric-accent: var(--dc-terracotta);
      background: linear-gradient(180deg, #fff, rgba(251,237,230,.44));
    }
    .account-activity-card--sponsor {
      --metric-accent: #927936;
      background: linear-gradient(180deg, #fff, rgba(248,244,233,.68));
    }
    .account-zone-chart {
      display: grid;
      gap: 16px;
      padding: 18px;
      border: 1px solid rgba(196,216,205,.74);
      border-radius: var(--account-radius-surface);
      background: var(--dc-surface);
      box-shadow: 0 1px 2px rgba(16,42,56,.025), 0 8px 20px rgba(16,42,56,.04);
    }
    .account-zone-chart-list {
      display: grid;
      gap: 15px;
    }
    .account-zone-bar {
      display: grid;
      gap: 7px;
      min-width: 0;
    }
    .account-zone-bar-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      min-width: 0;
    }
    .account-zone-bar-heading strong {
      min-width: 0;
      color: var(--dc-navy);
      font-size: 14px;
      font-weight: 800;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }
    .account-zone-bar-heading span {
      flex: 0 0 auto;
      color: var(--dc-text-2);
      font-size: 13px;
      font-weight: 750;
      line-height: 1.3;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .account-zone-bar-heading i {
      padding-inline: 2px;
      color: var(--dc-muted);
      font-style: normal;
    }
    .account-zone-bar-track {
      height: 10px;
      overflow: hidden;
      border-radius: 999px;
      background: #E8EFEA;
      box-shadow: inset 0 1px 2px rgba(16,42,56,.08);
    }
    .account-zone-bar-fill {
      display: block;
      width: var(--zone-share, 0%);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--dc-petrol), var(--dc-forest));
      transition: width .2s ease;
    }
    .account-zone-chart-empty,
    .account-zone-chart-note {
      margin: 0;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.45;
    }
    .account-zone-chart-empty {
      padding: 14px;
      border-radius: var(--account-radius-block);
      background: var(--dc-surface-alt);
    }
    .account-metrics-suggestion {
      margin: 0;
      padding: 0 2px;
      color: var(--dc-text-2);
      font-size: 14px;
      line-height: 1.45;
    }
    .account-metrics-suggestion strong {
      color: var(--dc-forest);
    }
    .account-analysis-card:hover {
      transform: translateY(-2px);
      border-color: rgba(111,155,122,.42);
      box-shadow: 0 16px 34px rgba(16,42,56,.10);
    }
    .account-analysis-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .account-analysis-card h3 {
      margin: 2px 0 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 16px;
      line-height: 1.2;
      letter-spacing: 0;
    }
    .account-analysis-card p,
    .account-analysis-note {
      margin: 0;
      color: var(--dc-text-2);
      font-size: 13px;
      line-height: 1.48;
      font-weight: 650;
    }
    .account-funnel-card {
      border-left: 4px solid var(--dc-forest);
    }
    .account-funnel-steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .account-funnel-steps div {
      min-height: 112px;
      display: grid;
      gap: 5px;
      align-content: center;
      padding: 13px;
      border: 1px solid rgba(196,216,205,.74);
      border-radius: var(--dc-radius);
      background: linear-gradient(180deg, rgba(250,251,248,.98), rgba(238,246,239,.90));
    }
    .account-funnel-steps span,
    .account-funnel-steps small {
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 800;
    }
    .account-funnel-steps strong {
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: clamp(22px, 3vw, 30px);
      line-height: 1.05;
      font-weight: 850;
    }
    .account-insights-card {
      border-left: 4px solid var(--dc-gold);
      background:
        radial-gradient(circle at top right, rgba(200,169,90,.14), transparent 38%),
        linear-gradient(180deg, rgba(250,251,248,.99), rgba(248,244,233,.94));
    }
    .account-radar-signals-card {
      border-left: 4px solid #4E6FA6;
    }
    .account-radar-suggestions-card {
      border-left: 4px solid var(--dc-terracotta);
    }
    .account-radar-suggestion-list {
      display: grid;
      gap: 9px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .account-radar-suggestion-list li {
      display: grid;
      gap: 3px;
      padding: 8px 10px;
      border: 1px solid rgba(196,216,205,.74);
      border-radius: var(--dc-radius);
      background: rgba(250,251,248,.82);
    }
    .account-radar-suggestion-list strong {
      color: var(--dc-navy);
      font-size: 13px;
      line-height: 1.25;
    }
    .account-radar-suggestion-list span {
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.4;
      font-weight: 650;
    }
    .account-insights-list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .account-insights-list li {
      position: relative;
      padding-left: 20px;
      color: var(--dc-text-2);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 680;
    }
    .account-insights-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .45em;
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--dc-gold);
      box-shadow: 0 0 0 4px var(--dc-gold-soft);
    }
    .account-channel-card {
      border-left: 4px solid var(--dc-petrol);
    }
    .account-metric-bars {
      display: grid;
      gap: 11px;
    }
    .account-metric-bar-row {
      --metric-accent: var(--dc-sage);
      display: grid;
      grid-template-columns: 22px minmax(110px, .75fr) minmax(120px, 1fr) auto auto;
      gap: 10px;
      align-items: center;
      padding: 10px 12px;
      border: 1px solid rgba(205,221,213,.74);
      border-radius: var(--dc-radius);
      background: rgba(250,251,248,.72);
    }
    .account-metric-bar-row[data-metric-icon="phone"] { --metric-accent: var(--dc-forest); }
    .account-metric-bar-row[data-metric-icon="eye"] { --metric-accent: var(--dc-petrol); }
    .account-metric-bar-row[data-metric-icon="tag"] { --metric-accent: var(--dc-terracotta); }
    .account-metric-bar-row[data-metric-icon="star"] { --metric-accent: #A98D3F; }
    .account-metric-bar-label {
      color: var(--dc-text);
      font-size: 13px;
      font-weight: 800;
    }
    .account-metric-bar-track {
      position: relative;
      height: 9px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(196,216,205,.50);
    }
    .account-metric-bar-track span {
      position: absolute;
      inset: 0 auto 0 0;
      width: var(--bar-width);
      border-radius: inherit;
      background: linear-gradient(90deg, var(--metric-accent), rgba(111,155,122,.58));
      box-shadow: 0 0 0 1px rgba(255,255,255,.38) inset;
    }
    .account-metric-bar-row strong {
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 850;
      text-align: right;
    }
    .account-metric-bar-row small {
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 800;
      text-transform: lowercase;
    }
    .account-comparison-card {
      border-left: 4px solid var(--dc-sage);
    }
    .account-comparison-list {
      display: grid;
      gap: 9px;
    }
    .account-comparison-row {
      --metric-accent: var(--dc-sage);
      display: grid;
      grid-template-columns: 22px minmax(120px, 1fr) minmax(120px, auto) minmax(130px, auto);
      gap: 10px;
      align-items: center;
      padding: 11px 12px;
      border: 1px solid rgba(205,221,213,.74);
      border-radius: var(--dc-radius);
      background: rgba(250,251,248,.72);
    }
    .account-comparison-row[data-metric-icon="phone"] { --metric-accent: var(--dc-forest); }
    .account-comparison-row[data-metric-icon="eye"] { --metric-accent: var(--dc-petrol); }
    .account-comparison-row[data-metric-icon="tag"] { --metric-accent: var(--dc-terracotta); }
    .account-comparison-row[data-metric-icon="star"] { --metric-accent: #A98D3F; }
    .account-comparison-row strong {
      color: var(--dc-text);
      font-size: 13px;
      font-weight: 850;
    }
    .account-comparison-row span {
      color: var(--dc-muted);
      font-size: 12px;
      font-weight: 700;
    }
    .account-comparison-row b {
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 15px;
    }
    .account-sponsor-performance-card {
      border-left: 4px solid var(--dc-gold);
      background:
        radial-gradient(circle at top right, rgba(200,169,90,.15), transparent 34%),
        linear-gradient(180deg, rgba(250,251,248,.99), rgba(248,244,233,.94));
    }
    .account-analysis-kv {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 0;
    }
    .account-analysis-kv div {
      padding: 10px;
      border: 1px solid rgba(205,221,213,.74);
      border-radius: var(--dc-radius);
      background: rgba(250,251,248,.76);
    }
    .account-analysis-kv dt {
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .03em;
    }
    .account-analysis-kv dd {
      margin: 4px 0 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 21px;
      font-weight: 850;
    }
    .account-metrics-empty-educational {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: start;
      padding: 18px;
    }
    .account-metrics-empty-educational strong {
      display: block;
      margin-bottom: 4px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 16px;
    }
    .account-metrics-empty-educational span {
      display: block;
      color: var(--dc-text-2);
      font-size: 13px;
      line-height: 1.45;
    }
    .account-metrics-empty-educational ul {
      display: grid;
      gap: 4px;
      margin: 10px 0 0;
      padding-left: 18px;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.42;
    }
    .account-card {
      min-width: 0;
      padding: 22px;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-surface);
      box-shadow: var(--dc-shadow);
      background: var(--dc-surface);
      transition: border-color .16s ease, box-shadow .16s ease;
    }
    .account-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(196,216,205,.72);
    }
    .account-card p {
      color: var(--ink-muted);
      font-size: 13px;
      line-height: 1.45;
    }
    .account-commercial-card {
      display: grid;
      gap: 14px;
    }
    .account-commercial-summary,
    .account-commercial-note,
    .account-card-inner {
      border: 1px solid var(--dc-border-soft);
      background: var(--dc-surface-alt);
      border-radius: var(--account-radius-block);
      padding: 16px;
      box-shadow: none;
      transition: border-color .16s ease, box-shadow .16s ease;
    }
    .account-commercial-note {
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.5;
    }
    .account-help {
      display: block;
      margin-top: 6px;
      color: var(--dc-muted);
      font-size: 11px;
      line-height: 1.4;
      font-weight: 600;
    }
    .account-char-count {
      justify-self: end;
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 700;
      line-height: 1.2;
    }
    .account-char-count.is-over-limit {
      color: #A84F3C;
    }
    .account-card-inner h3 {
      margin: 0;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--dc-navy);
    }
    .sponsor-duo {
      width: min(1200px, calc(100% - 40px));
      margin: 12px auto 14px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      align-items: stretch;
    }
    .sponsor-duo[hidden],
    .sponsor-duo.is-empty {
      display: none;
    }
    .sponsor-duo .sponsor-slot {
      width: 100%;
      margin: 0;
    }
    .sponsor-duo {
      min-height: 138px;
    }
    .sponsor-duo.sponsors-count-1 {
      grid-template-columns: minmax(0, 1fr);
      justify-items: center;
    }
    .sponsor-duo.sponsors-count-1 .sponsor-slot {
      width: 100%;
      max-width: 720px;
    }
    .sponsor-slot {
      width: min(980px, calc(100% - 40px));
      margin: 12px auto 14px;
      min-height: 138px;
      display: grid;
    }
    .sponsor-slot-top {
      margin-top: 10px;
      margin-bottom: 12px;
    }
    .sponsor-slot-inline {
      margin-top: 16px;
      margin-bottom: 14px;
    }
    .sponsor-slot[hidden],
    .sponsor-slot.is-empty {
      display: none;
    }
    .sponsor-card {
      display: grid;
      grid-template-columns: clamp(148px, 28%, 190px) minmax(0, 1fr);
      gap: 11px;
      align-items: center;
      min-height: 116px;
      padding: 10px;
      border: 1px solid rgba(34,56,84,.12);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 8px 20px rgba(27,38,59,.06);
    }
    .sponsor-card-image {
      width: 100%;
      aspect-ratio: 16 / 8;
      height: auto;
      object-fit: cover;
      border-radius: 6px;
      background: #f1f4f8;
    }
    .sponsor-fallback-visual {
      position: relative;
      overflow: hidden;
      display: grid;
      place-content: center;
      gap: 4px;
      border: 1px solid #D8E6DA;
      background:
        linear-gradient(135deg, rgba(247,241,221,.96) 0%, rgba(247,241,221,.96) 35%, rgba(238,246,239,.98) 35%, rgba(238,246,239,.98) 70%, rgba(207,224,214,.90) 70%, rgba(207,224,214,.90) 100%);
      color: #0B4A45;
      text-align: center;
    }
    .sponsor-fallback-visual::before,
    .sponsor-fallback-visual::after {
      content: "";
      position: absolute;
      inset: auto 12px 13px 12px;
      height: 7px;
      border-radius: 999px;
      background: rgba(6,48,71,.10);
    }
    .sponsor-fallback-visual::after {
      inset: auto 32px 25px 32px;
      height: 5px;
      background: rgba(200,169,90,.24);
    }
    .sponsor-fallback-visual span {
      position: relative;
      z-index: 1;
      display: inline-grid;
      place-items: center;
      width: 32px;
      height: 32px;
      margin: 0 auto;
      border-radius: 8px;
      background: #063047;
      color: #FFFFFF;
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .02em;
    }
    .sponsor-fallback-visual img {
      position: relative;
      z-index: 1;
      display: block;
      width: 34px;
      height: 34px;
      margin: 0 auto;
      border-radius: 8px;
      object-fit: contain;
      background: #FFFFFF;
      box-shadow: 0 1px 4px rgba(6,48,71,.16);
    }
    .sponsor-fallback-visual strong {
      position: relative;
      z-index: 1;
      color: #0B4A45;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .01em;
    }
    .sponsor-fallback-visual-inline {
      background:
        linear-gradient(135deg, rgba(238,246,239,.98) 0%, rgba(238,246,239,.98) 42%, rgba(246,241,232,.96) 42%, rgba(246,241,232,.96) 72%, rgba(200,169,90,.18) 72%, rgba(200,169,90,.18) 100%);
    }
    .sponsor-card-body {
      display: grid;
      min-width: 0;
      grid-template-columns: minmax(0, 1fr) auto;
      column-gap: 12px;
      row-gap: 3px;
      align-items: center;
    }
    .sponsor-card-meta {
      display: flex;
      min-width: 0;
      flex-wrap: wrap;
      gap: 5px;
      align-items: center;
      grid-column: 1;
    }
    .sponsor-label {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      padding: 0;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .sponsor-label {
      background: transparent;
      color: #64748b;
    }
    .sponsor-card h3 {
      grid-column: 1;
      margin: 0;
      font-family: var(--font-display);
      font-size: 16px;
      line-height: 1.15;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }
    .sponsor-card p {
      grid-column: 1;
      display: -webkit-box;
      margin: 0;
      overflow: hidden;
      color: var(--ink-muted);
      font-size: 12px;
      line-height: 1.35;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .sponsor-cta {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      justify-content: center;
      grid-column: 2;
      grid-row: 1 / span 3;
      margin-top: 0;
      border-radius: 6px;
      padding: 8px 11px;
      background: var(--green);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      text-decoration: none;
      white-space: nowrap;
    }
    .sponsor-cta-fallback {
      padding: 0;
      background: transparent;
      color: #0B4A45;
      font-weight: 800;
    }
    .account-status-active,
    .account-status-approved,
    .account-status-published,
    .account-status-accepted,
    .account-status-answered,
    .account-status-verified,
    .account-status-paid,
    .account-status-comped,
    .account-status-featured {
      color: var(--dc-forest);
      background: var(--dc-success-bg);
      border-color: rgba(47,107,87,.22);
    }
    .account-status-sponsored {
      color: #7B621B;
      background: var(--dc-gold-soft);
      border-color: rgba(200,169,90,.38);
    }
    .account-status-expired,
    .account-status-overdue,
    .account-status-rejected,
    .account-status-hidden,
    .account-status-deleted {
      color: var(--dc-danger);
      background: var(--red-bg);
      border-color: rgba(192,57,43,.18);
    }
    .account-status-missing,
    .account-status-none,
    .account-status-pending_manual,
    .account-status-pending_upload,
    .account-status-pending_review,
    .account-status-in_review,
    .account-status-pending,
    .account-status-paused {
      color: var(--dc-warning);
      background: var(--dc-warning-bg);
      border-color: rgba(200,169,90,.36);
    }
    .account-kv {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 12px;
    }
    .account-kv div {
      padding-top: 10px;
      border-top: 1px solid var(--dc-border-soft);
    }
    .account-kv dt {
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .03em;
    }
    .account-kv dd {
      margin-top: 3px;
      color: var(--dc-text);
      font-size: 13.5px;
      font-weight: 700;
      word-break: break-word;
    }
    .account-profile {
      overflow: hidden;
    }
    #account-profile-form {
      width: 100%;
      max-width: 840px;
    }
    .account-photo-onboarding {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 14px;
      width: 100%;
      max-width: 840px;
      min-width: 0;
      margin: 0 0 var(--account-space-5);
      padding: 16px 18px;
      border: 1px solid rgba(47,107,87,.28);
      border-left: 4px solid var(--dc-success);
      border-radius: var(--account-radius-card);
      background: var(--dc-success-bg);
      box-shadow: 0 8px 22px rgba(16,42,56,.08);
    }
    .account-photo-onboarding[hidden] {
      display: none;
    }
    .account-photo-onboarding-icon {
      display: inline-grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 999px;
      color: #fff;
      background: var(--dc-success);
      font-size: 22px;
      font-weight: 900;
      line-height: 1;
    }
    .account-photo-onboarding-copy {
      min-width: 0;
    }
    .account-photo-onboarding-success {
      margin: 0 0 2px;
      color: var(--dc-success);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: .025em;
      text-transform: uppercase;
    }
    .account-photo-onboarding h3 {
      margin: 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 18px;
      line-height: 1.25;
    }
    .account-photo-onboarding-copy > p:last-child {
      margin: 5px 0 0;
      color: var(--dc-text-2);
      font-size: 13.5px;
      line-height: 1.45;
    }
    .account-page .account-photo-onboarding-cta {
      min-height: 48px;
      white-space: nowrap;
    }
    .account-photo-onboarding.is-entering {
      animation: account-photo-onboarding-enter 640ms cubic-bezier(.22,.75,.28,1) both;
    }
    @keyframes account-photo-onboarding-enter {
      0% { opacity: 0; transform: translateY(8px); }
      38% { opacity: 1; transform: translateY(-6px); }
      68% { transform: translateY(2px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    #account-profile-form.is-photo-onboarding #account-save {
      color: var(--dc-navy);
      border-color: var(--dc-border);
      background: var(--dc-surface);
      box-shadow: none;
    }
    #account-profile-form.is-photo-onboarding #account-save:hover {
      color: var(--dc-forest);
      border-color: rgba(47,107,87,.42);
      background: var(--dc-surface-alt);
      box-shadow: none;
    }
    .account-form {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-span-2 {
      grid-column: 1 / -1;
    }
    .account-section-intro {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--account-space-4);
      margin-bottom: var(--account-space-4);
      padding: 0 0 var(--account-space-4);
      border-bottom: 1px solid var(--dc-border-soft);
    }
    .account-section-intro h2 {
      margin: 2px 0 4px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 20px;
      line-height: 1.25;
    }
    .account-section-intro .account-muted {
      font-size: 13px;
      line-height: 1.45;
    }
    .account-section-intro-compact {
      margin-bottom: var(--account-space-3);
    }
    .account-visibility-badge {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 4px 10px;
      border: 1px solid rgba(47,107,87,.2);
      border-radius: 999px;
      color: var(--dc-forest);
      background: var(--dc-success-bg);
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
    }
    .account-visibility-badge-private {
      color: var(--dc-navy);
      border-color: var(--dc-border);
      background: var(--dc-surface-alt);
    }
    .account-form-group {
      display: grid;
      gap: var(--account-space-4);
      min-width: 0;
      padding: var(--account-space-5) 0 0;
      border: 0;
      border-top: 1px solid var(--dc-border-soft);
    }
    .account-form-group:first-child {
      padding-top: 0;
      border-top: 0;
    }
    .account-form-group-head {
      display: grid;
      gap: 4px;
    }
    .account-form-group-head h3 {
      margin: 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 17px;
      line-height: 1.3;
    }
    .account-form-group-head p {
      margin: 0;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.45;
    }
    .account-form-group-title-row {
      display: flex;
      align-items: center;
      gap: var(--account-space-2);
      flex-wrap: wrap;
    }
    .account-form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--account-space-4);
      min-width: 0;
    }
    .account-form-group-location {
      padding: var(--account-space-5);
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface-alt);
    }
    .account-address-search {
      display: grid;
      gap: var(--account-space-2);
      min-width: 0;
    }
    .account-address-search > label {
      color: var(--dc-text);
      font-size: 13px;
      font-weight: 760;
    }
    .account-address-combobox {
      position: relative;
      min-width: 0;
    }
    .account-address-combobox > input {
      width: 100%;
      min-height: 44px;
      font-size: 16px;
    }
    .account-address-suggestions {
      position: absolute;
      z-index: 35;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      max-height: min(320px, 45vh);
      margin: 0;
      padding: 6px;
      overflow-y: auto;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-control);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-lg);
      list-style: none;
    }
    .account-address-suggestion {
      display: grid;
      align-content: center;
      min-height: 44px;
      padding: 9px 10px;
      border-radius: calc(var(--account-radius-control) - 3px);
      color: var(--dc-text);
      font-size: 14px;
      line-height: 1.35;
      cursor: pointer;
    }
    .account-address-suggestion:hover,
    .account-address-suggestion[aria-selected="true"] {
      background: var(--dc-sage-soft);
      color: var(--dc-navy);
    }
    .account-address-search .account-help,
    .account-address-search-status {
      margin: 0;
    }
    .account-address-search-status {
      min-height: 20px;
      color: var(--dc-muted);
      font-size: 13px;
    }
    #account-save.is-loading::before {
      content: "";
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, .5);
      border-top-color: currentColor;
      border-radius: 50%;
      animation: account-spin .7s linear infinite;
    }
    .account-page .account-location-card .btn:disabled::after,
    .account-page .account-business-location-actions .btn:disabled::after {
      content: none;
      animation: none;
    }
    .account-location-card .btn.is-loading::before,
    .account-business-location-actions .btn.is-loading::before {
      content: "";
      flex: 0 0 auto;
      width: 15px;
      height: 15px;
      border: 2px solid currentColor;
      border-top-color: transparent;
      border-radius: 50%;
      animation: account-spin .7s linear infinite;
    }
    .account-address-suggestions[hidden],
    .account-location-retry[hidden],
    .account-location-map-wrap[hidden],
    .account-location-draft-status[hidden] {
      display: none;
    }
    .account-location-card {
      min-width: 0;
      padding: var(--account-space-4);
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface);
    }
    .account-location-head,
    .account-location-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--account-space-3);
      flex-wrap: wrap;
    }
    .account-location-title-row {
      display: flex;
      align-items: center;
      gap: var(--account-space-2);
      flex-wrap: wrap;
    }
    .account-location-title-row strong {
      color: var(--dc-navy);
      font-size: 15px;
    }
    .account-location-state-chip {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 3px 8px;
      border: 1px solid var(--dc-border);
      border-radius: 999px;
      color: var(--dc-muted);
      background: var(--dc-surface-alt);
      font-size: 10.5px;
      font-weight: 800;
    }
    .account-location-state-chip[data-state="ready"],
    .account-location-state-chip[data-state="verified"] {
      color: var(--dc-success);
      border-color: rgba(47,107,87,.22);
      background: var(--dc-success-bg);
    }
    .account-location-state-chip[data-state="pending"],
    .account-location-state-chip[data-state="geocoding"] {
      color: var(--dc-warning);
      border-color: rgba(200,169,90,.3);
      background: var(--dc-warning-bg);
    }
    .account-location-state-chip[data-state="failed"] {
      color: var(--dc-danger);
      border-color: rgba(185,74,72,.22);
      background: var(--dc-danger-bg);
    }
    .account-location-head p {
      margin: 4px 0 0;
    }
    .account-location-map-wrap {
      margin-top: var(--account-space-4);
    }
    .account-location-map {
      width: 100%;
      height: clamp(260px, 42vw, 360px);
      min-height: 260px;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      overflow: hidden;
      touch-action: pan-x pan-y;
    }
    .account-location-map-meta {
      display: grid;
      gap: var(--account-space-2);
      margin-top: var(--account-space-2);
    }
    .account-location-map-meta .account-help {
      margin: 0;
    }
    .account-location-draft-status {
      color: var(--dc-warning);
      font-size: 12px;
      font-weight: 750;
    }
    .account-location-actions {
      justify-content: flex-end;
      margin-top: var(--account-space-3);
    }
    .account-location-retry {
      margin-top: var(--account-space-3);
    }
    .account-location-card .account-inline-message {
      margin-top: var(--account-space-3);
    }
    .account-legacy-location-editor[hidden],
    .account-owner-promo-locations-field[hidden] {
      display: none;
    }
    .account-business-locations {
      gap: 14px;
    }
    .account-business-locations-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
    }
    .account-location-count,
    .account-branch-primary-chip {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      min-height: 28px;
      border: 1px solid rgba(47, 107, 87, .24);
      border-radius: 999px;
      padding: 4px 9px;
      background: var(--dc-surface-soft, #f2f7f4);
      color: var(--dc-primary-700, #2f6b57);
      font-size: 12px;
      font-weight: 800;
    }
    .account-business-locations-list {
      display: grid;
      gap: 12px;
    }
    .account-business-locations-empty,
    .account-business-location-editor {
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--dc-radius);
      padding: 14px;
      background: #fff;
    }
    .account-business-locations-empty {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }
    .account-business-locations-empty strong,
    .account-business-locations-empty span {
      display: block;
    }
    .account-business-locations-empty span {
      margin-top: 3px;
      color: var(--dc-text-muted);
      font-size: 13px;
    }
    .account-business-location-editor {
      min-width: 0;
    }
    .account-business-location-head,
    .account-business-locations-actions,
    .account-business-location-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .account-business-location-head {
      margin-bottom: 13px;
    }
    .account-business-location-title {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }
    .account-business-location-title strong {
      overflow-wrap: anywhere;
    }
    .account-business-location-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .account-business-location-grid label,
    .account-business-location-schedule label {
      min-width: 0;
    }
    .account-business-location-full {
      grid-column: 1 / -1;
    }
    .account-form .account-business-location-check {
      display: grid;
      grid-column: 1 / -1;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 9px;
    }
    .account-business-location-check input {
      width: 18px;
      min-height: 18px;
      margin: 0;
    }
    .account-business-location-schedule {
      grid-column: 1 / -1;
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--dc-radius);
      padding: 10px 12px;
      background: var(--dc-surface-soft, #f7faf8);
    }
    .account-business-location-schedule summary {
      cursor: pointer;
      color: var(--dc-text-1);
      font-weight: 760;
    }
    .account-branch-schedule-controls {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }
    .account-branch-schedule-days {
      display: grid;
      gap: 7px;
    }
    .account-branch-schedule-day {
      display: grid;
      grid-template-columns: minmax(92px, 1fr) minmax(0, 1fr) minmax(0, 1fr);
      align-items: center;
      gap: 8px;
    }
    .account-branch-schedule-day > label:first-child {
      display: flex;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 7px;
    }
    .account-branch-schedule-day input[type="checkbox"] {
      width: 17px;
      min-height: 17px;
      margin: 0;
    }
    .account-branch-schedule-day input[type="time"] {
      min-width: 0;
    }
    .account-business-location-actions {
      grid-column: 1 / -1;
      justify-content: flex-end;
      border-top: 1px solid var(--dc-border-soft);
      padding-top: 11px;
    }
    .account-business-location-actions [data-location-geocode-status] {
      flex: 1 1 180px;
      margin: 0;
    }
    .account-location-card-branches {
      grid-column: 1 / -1;
      margin-top: 0;
    }
    .account-business-location-map-host {
      grid-column: 1 / -1;
      min-width: 0;
    }
    .account-business-location-map-host:empty {
      display: none;
    }
    .account-location-card[hidden] {
      display: none;
    }
    .account-business-locations-actions {
      justify-content: flex-start;
    }
    .account-business-locations-actions .account-help {
      flex: 1 1 260px;
      margin: 0;
    }
    .account-business-locations .account-inline-message:empty {
      display: none;
    }
    .account-zones-field {
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--dc-radius);
      padding: 14px;
    }
    .account-zones-field legend {
      padding: 0 6px;
      color: var(--dc-text-2);
    }
    .account-option-card-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .account-option-card-grid--days {
      grid-template-columns: repeat(7, minmax(0, 1fr));
    }
    .account-option-card-grid--boolean {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-category-option-grid {
      max-height: 240px;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 2px;
    }
    .account-secondary-categories-field .account-inline-message {
      margin: 8px 0 0;
    }
    .account-fieldset > .account-option-card-grid,
    .account-business-schedule > * {
      grid-column: 1 / -1;
    }
    .account-option-card,
    .account-check {
      min-height: 44px;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: nowrap;
      padding: 8px 10px;
      overflow: hidden;
      border: 1px solid var(--dc-border-soft);
      border-radius: 8px;
      color: var(--dc-muted);
      background: var(--dc-surface);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
    }
    .account-option-card:hover,
    .account-check:hover {
      border-color: rgba(47,107,87,.42);
    }
    .account-option-card:focus-within,
    .account-check:focus-within {
      border-color: var(--dc-forest);
      box-shadow: 0 0 0 3px rgba(47,107,87,.14);
    }
    .account-option-card:has(input:checked),
    .account-check:has(input:checked) {
      border-color: rgba(111,155,122,.55);
      color: var(--dc-text);
      background: var(--dc-sage-soft);
    }
    .account-option-card:has(input:disabled) {
      cursor: not-allowed;
      opacity: .58;
    }
    .account-option-card:has(input:checked:disabled) {
      opacity: 1;
    }
    .account-option-card input,
    .account-check input {
      flex: 0 0 auto;
      width: 16px;
      height: 16px;
      min-height: 16px;
      padding: 0;
      accent-color: var(--dc-forest);
    }
    .account-option-card span,
    .account-check span {
      min-width: 0;
      overflow-wrap: anywhere;
    }
    .account-hours-range {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 180px));
      gap: var(--account-space-3);
    }
    #account-schedule-grid[hidden] {
      display: none;
    }
    .account-schedule-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 8px;
    }
    .account-schedule-copy {
      font-size: 13px;
    }
    .account-schedule-days {
      display: grid;
      gap: 8px;
    }
    .account-schedule-day {
      display: grid;
      grid-template-columns: minmax(110px, 160px) 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 8px 10px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 10px;
      background: var(--dc-surface-alt);
    }
    .account-schedule-day-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      cursor: pointer;
    }
    .account-schedule-day-range {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .account-schedule-time {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: var(--dc-muted);
    }
    .account-schedule-closed {
      font-size: 12px;
      font-weight: 700;
      color: var(--dc-muted);
      text-align: right;
    }
    .account-schedule-day[data-open="true"] .account-schedule-closed {
      visibility: hidden;
    }
    .account-schedule-day[data-open="false"] .account-schedule-day-range {
      opacity: .5;
    }
    @media (max-width: 640px) {
      .account-schedule-day {
        grid-template-columns: 1fr;
        gap: 8px;
      }
      .account-schedule-closed {
        text-align: left;
      }
    }
    .account-legacy-hours {
      display: grid;
      gap: 5px;
      padding: 12px 14px;
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--dc-radius);
      background: var(--dc-surface-alt);
      color: var(--dc-text-2);
    }
    .account-legacy-hours[hidden] {
      display: none;
    }
    .account-legacy-hours > span {
      color: var(--dc-text);
      font-weight: 700;
    }
    .account-legacy-hours .account-help {
      margin: 0;
    }
    .account-optional,
    .required-mark {
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 800;
    }
    .required-mark {
      color: var(--dc-danger);
    }
    .account-fieldset-help {
      grid-column: 1 / -1;
      margin: 0;
      color: var(--dc-muted);
      font-size: 12px;
      font-weight: 650;
      line-height: 1.45;
    }
    .account-contact-fieldset {
      gap: 10px;
      background: var(--dc-surface-alt);
    }
    .account-contact-choice {
      align-items: flex-start;
      min-height: 44px;
    }
    .account-contact-choice small {
      display: block;
      margin-top: 2px;
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 650;
      overflow-wrap: anywhere;
    }
    .account-contact-whatsapp.is-disabled {
      opacity: .58;
    }
    .account-contact-whatsapp.is-disabled input {
      cursor: not-allowed;
      background: var(--dc-surface-alt);
    }
    .account-contact-whatsapp.is-disabled .account-whatsapp-input,
    .account-contact-whatsapp.is-disabled .account-whatsapp-prefix {
      background: var(--dc-surface-alt);
    }
    .account-media-inline {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--dc-radius);
      background: var(--dc-surface-alt);
    }
    .account-media-inline-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .account-media-inline h4 {
      margin: 0;
      color: var(--dc-navy);
      font-size: 14px;
      font-weight: 800;
    }
    .account-media-inline p {
      margin: 3px 0 0;
      color: var(--dc-muted);
      font-size: 12px;
      font-weight: 650;
      line-height: 1.45;
    }
    .account-file-button {
      position: relative;
      overflow: hidden;
      white-space: nowrap;
    }
    .account-file-button input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }
    .account-file-field {
      position: relative;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 8px 10px;
      align-items: center;
    }
    .account-file-field > :first-child {
      grid-column: 1 / -1;
    }
    .account-file-field .account-file-button {
      justify-self: start;
    }
    /* La ayuda de formato/tamaño ocupa el ancho completo, debajo de botón+nombre. */
    .account-file-field .account-file-help {
      grid-column: 1 / -1;
      margin-top: 2px;
    }
    .account-file-field input[type="file"] {
      position: absolute;
      width: 1px;
      height: 1px;
      opacity: 0;
      pointer-events: none;
    }
    .account-file-field:focus-within .account-file-button {
      border-color: var(--dc-accent);
      box-shadow: 0 0 0 3px rgba(201,106,74,.16);
    }
    .account-file-name {
      min-width: 0;
      color: var(--dc-muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }
    .account-form-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: var(--account-space-4);
      border-top: 1px solid var(--dc-border-soft);
    }
    .account-inline-message {
      min-width: 0;
      padding: 8px 10px;
      border-radius: var(--account-radius-control);
      color: var(--dc-muted);
      background: var(--dc-surface-alt);
      font-size: 13px;
      font-weight: 700;
      line-height: 1.4;
    }
    .account-inline-message[data-tone="success"] {
      color: var(--dc-success);
      background: var(--dc-success-bg);
    }
    .account-inline-message[data-tone="warning"] {
      color: var(--dc-warning);
      background: var(--dc-warning-bg);
    }
    .account-inline-message[data-tone="error"] {
      color: var(--dc-danger);
      background: var(--dc-danger-bg);
    }
    .account-classifieds-list {
      display: grid;
      gap: 10px;
    }
    /* Registro compacto: anatomía única para comprobantes, facturas, promos,
       grupos, aportes, clasificados y preguntas. Superficie blanca alineada al
       lenguaje de Métricas; el acento lateral se opta por módulo. */
    .account-classified {
      display: grid;
      gap: 10px;
      padding: 15px;
      border: 1px solid rgba(196,216,205,.76);
      border-left: 3px solid var(--record-accent, rgba(196,216,205,.76));
      border-radius: var(--dc-radius);
      background: var(--dc-surface);
      box-shadow: 0 1px 2px rgba(16,42,56,.025), 0 6px 16px rgba(16,42,56,.04);
      transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
    }
    .account-classified:hover {
      border-color: rgba(111,155,122,.5);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-classified h3 {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.25;
      font-weight: 700;
    }
    .account-classified p {
      margin-top: 4px;
    }
    .account-classified-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .account-classified-actions .btn {
      min-height: 34px;
      padding: 7px 10px;
      font-size: 12px;
    }
    /* Compact rows for Mis clasificados (active + history). */
    .account-classified-compact {
      gap: 8px;
      padding: 12px 14px;
    }
    .account-classified-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }
    .account-classified-head h3 {
      /* min-width: 0 permite que el título se achique dentro del flex y recorte
         con ellipsis (el título completo queda en el atributo title). */
      min-width: 0;
      font-size: 15px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .account-classified-summary {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px 12px;
      color: var(--dc-muted, #5a6b62);
      font-size: 12.5px;
    }
    .account-record-description {
      margin: 0;
      color: var(--dc-text-2);
      font-size: 13px;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }
    .account-classified-summary .account-classified-price {
      color: var(--ink);
      font-weight: 800;
      font-size: 14px;
    }
    .account-classified-summary > span:not(.account-classified-price) {
      position: relative;
    }
    .account-classified-summary > span:not(.account-classified-price):not(:last-child)::after {
      content: "·";
      margin-left: 12px;
      color: rgba(90,107,98,.5);
    }
    .account-question-answers {
      display: grid;
      gap: 6px;
      padding: 9px 10px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 8px;
      background: var(--dc-surface-alt);
      color: var(--dc-muted);
      font-size: 12.5px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }
    .account-question-answers strong {
      color: var(--dc-navy);
      font-size: 12px;
      font-weight: 800;
    }
    .account-question-answer {
      display: grid;
      gap: 2px;
      min-width: 0;
    }
    .account-question-answer span {
      color: var(--dc-forest);
      font-size: 11.5px;
      font-weight: 800;
    }
    .account-question-answer em {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--dc-text);
      font-style: normal;
    }
    .account-question-answers-empty {
      color: var(--dc-muted);
      font-weight: 700;
    }
    .account-question-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .account-question-actions .btn {
      min-height: 34px;
      padding: 7px 10px;
      font-size: 12px;
      white-space: normal;
    }
    .account-classifieds-history {
      margin-top: 12px;
      border-top: 1px solid rgba(205,221,213,.7);
      padding-top: 10px;
    }
    .account-classifieds-history-toggle {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      gap: 10px;
      padding: 8px 2px;
      background: none;
      border: 0;
      cursor: pointer;
      color: var(--dc-muted, #5a6b62);
      font-size: 13px;
      font-weight: 700;
    }
    .account-classifieds-history-toggle[aria-expanded="true"] .account-accordion-arrow {
      transform: rotate(180deg);
    }
    .account-classifieds-history-list {
      margin-top: 10px;
    }
    @media (hover: hover) and (pointer: fine) {
      .account-page .btn:hover {
        transform: translateY(-1px);
      }
      .account-page .account-plan-card:hover {
        box-shadow: 0 2px 4px rgba(16,42,56,.045), 0 20px 40px rgba(16,42,56,.11);
      }
      .account-page .account-promo-card:hover {
        border-color: rgba(201,106,74,.32);
      }
      .account-page .account-payment-proof-card:hover {
        border-color: rgba(47,107,87,.40);
      }
    }
    .account-media-card {
      display: grid;
      gap: 12px;
    }
    .account-media-counts {
      margin: 0 0 10px;
      padding: 9px 11px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 9px;
      background: var(--dc-surface-alt);
      color: var(--dc-muted);
      font-size: 12.5px;
      font-weight: 750;
      line-height: 1.4;
    }
    .account-media-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 10px;
    }
    .account-media-context {
      margin-bottom: 10px;
      padding: 9px 11px;
      border: 1px solid var(--line-soft);
      border-radius: 8px;
      background: var(--paper);
      color: var(--ink-2);
      font-size: 12px;
      font-weight: 700;
      overflow-wrap: anywhere;
    }
    .account-media-item {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid var(--dc-border-soft);
      border-top: 3px solid var(--media-accent, var(--dc-border-soft));
      border-radius: var(--dc-radius);
      background: var(--dc-surface);
      transition: box-shadow .12s ease;
    }
    .account-media-item:hover {
      box-shadow: var(--dc-shadow-sm);
    }
    /* La portada es la imagen principal: recibe el acento; galería queda neutra. */
    .account-media-item[data-media-role="cover"] {
      --media-accent: var(--dc-petrol);
    }
    .account-media-item[data-media-role="logo"] {
      --media-accent: var(--dc-sage);
    }
    .account-media-role {
      color: var(--dc-navy);
      font-size: 13px;
      font-weight: 800;
    }
    .account-media-thumb {
      width: 100%;
      aspect-ratio: 4 / 3;
      border: 1px solid var(--dc-border-soft);
      border-radius: 8px;
      background: var(--dc-sky);
      object-fit: cover;
    }
    .account-media-meta {
      display: grid;
      gap: 4px;
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 750;
    }
    .account-media-meta .account-status {
      justify-self: start;
      min-height: 24px;
      padding: 3px 8px;
    }
    .account-media-meta small {
      line-height: 1.35;
    }
    .account-media-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .account-media-actions .btn {
      min-height: 32px;
      padding: 6px 9px;
      font-size: 12px;
    }
    .account-media-form {
      align-items: end;
    }
    .account-media-gallery-cta {
      width: fit-content;
      margin: 10px 0 14px;
    }
    .account-media-preview {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
      gap: 10px;
    }
    .account-media-preview[hidden] {
      display: none;
    }
    .account-media-preview-item {
      display: grid;
      gap: 6px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 8px;
      background: var(--dc-surface);
      padding: 8px;
    }
    .account-media-preview-item[data-upload-status="error"] {
      border-color: rgba(180, 66, 49, .52);
      background: rgba(255, 245, 242, .9);
    }
    .account-media-preview-item[data-upload-status="done"] {
      border-color: rgba(47, 107, 87, .45);
      background: rgba(239, 248, 242, .92);
    }
    .account-media-preview-item img,
    .account-media-preview-item > div[aria-hidden="true"] {
      width: 100%;
      aspect-ratio: 4 / 3;
      border-radius: 6px;
      background: var(--dc-sky);
      object-fit: cover;
    }
    .account-media-preview-item span {
      color: var(--ink);
      font-size: 12px;
      font-weight: 800;
      overflow-wrap: anywhere;
    }
    .account-media-preview-item small {
      color: var(--ink-muted);
      font-size: 11px;
    }
    .account-media-preview-item .btn {
      width: 100%;
      min-height: 32px;
    }
    .account-accordion {
      background: var(--dc-surface);
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      box-shadow: var(--dc-shadow-sm);
      overflow: hidden;
    }
    .account-section-panel[hidden],
    .account-secondary-panel[hidden] {
      display: none !important;
    }
    .account-section-panel.account-accordion,
    .account-secondary-panel.account-accordion {
      padding: 16px;
    }
    .account-section-panel .account-accordion-trigger,
    .account-secondary-panel .account-accordion-trigger {
      display: none;
    }
    .account-section-panel .account-accordion-panel,
    .account-secondary-panel .account-accordion-panel {
      padding: 0;
    }
    .account-accordion-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 16px 20px;
      margin: 0;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--dc-navy);
      text-align: left;
      transition: background .12s ease;
    }
    .account-accordion-trigger:hover {
      background: rgba(234,242,234,.66);
    }
    .account-accordion-trigger[aria-expanded="true"] {
      border-bottom: 1px solid var(--dc-border-soft);
      background: var(--dc-surface-alt);
    }
    .account-accordion-arrow {
      display: inline-block;
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      margin-left: 8px;
      background: var(--dc-muted);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center/contain no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center/contain no-repeat;
      transition: transform .2s ease;
    }
    .account-accordion-trigger[aria-expanded="true"] .account-accordion-arrow {
      transform: rotate(180deg);
      background: var(--dc-blue);
    }
    .account-accordion-panel {
      padding: 0 20px 20px;
    }
    .account-accordion-panel[hidden] {
      display: none;
    }
    .account-accordion-help {
      margin-bottom: 12px;
      font-size: 13px;
      line-height: 1.45;
    }
    .account-accordion-panel .account-form {
      margin-top: 4px;
    }
    .account-accordion-panel .account-card-inner {
      margin-top: 0;
    }
    .account-accordion-promo-status:empty,
    .account-accordion-billing-status:empty {
      display: none;
    }
    .account-accordion-promo-status,
    .account-accordion-billing-status {
      border: 1px solid var(--dc-border);
      background: var(--dc-surface-alt);
      border-radius: var(--account-radius-control);
      padding: 14px;
      margin-bottom: 14px;
    }
    .account-accordion-promo-status {
      border-color: rgba(201,106,74,.22);
      border-left: 3px solid var(--dc-terracotta);
      background:
        radial-gradient(circle at 100% 0%, rgba(201,106,74,.10), transparent 32%),
        linear-gradient(180deg, var(--dc-warm), rgba(251,237,230,.64));
    }
    .account-promos-card {
      border-color: rgba(201,106,74,.20);
      background:
        radial-gradient(circle at 100% 0%, rgba(201,106,74,.08), transparent 32%),
        linear-gradient(180deg, var(--dc-warm), rgba(250,246,239,.96));
    }
    .account-promos-card .account-card-head {
      align-items: flex-start;
    }
    .account-promo-card {
      --record-accent: var(--dc-terracotta);
    }
    .account-promo-card .account-status {
      justify-self: end;
    }
    .account-promo-form {
      margin-top: 14px !important;
      padding-top: 14px;
      border-top: 1px solid rgba(201,106,74,.18);
    }
    .account-dashboard {
      display: grid;
      gap: 14px;
      position: relative;
      overflow: hidden;
      border-color: var(--dc-border);
      background: var(--dc-surface);
    }
    .account-dashboard::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: var(--dc-forest);
      opacity: .78;
      pointer-events: none;
    }
    .account-dashboard-body {
      display: grid;
      gap: 14px;
    }
    .account-dashboard-kpi {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 14px;
    }
    .account-metrics-kpi {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }
    .account-dashboard-kpi:empty {
      display: none;
    }
    .account-kpi-item {
      --metric-accent: var(--dc-sage);
      --metric-bg: #F4F8F1;
      display: grid;
      gap: 7px;
      align-content: start;
      min-height: 112px;
      padding: 14px;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--dc-border);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-sm);
      transition: border-color .16s ease, box-shadow .16s ease;
    }
    .account-kpi-item::after {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 2px;
      background: var(--metric-accent);
      opacity: .82;
      pointer-events: none;
    }
    .account-kpi-label {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--dc-text-2);
      font-size: 12.5px;
      font-weight: 800;
      line-height: 1.25;
    }
    .account-kpi-value {
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 32px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -.02em;
      font-variant-numeric: tabular-nums;
    }
    .account-kpi-unit {
      margin-left: 5px;
      color: var(--dc-muted);
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 800;
    }
    .account-kpi-help {
      color: var(--dc-muted);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.45;
    }
    #account-dashboard-kpi .account-kpi-value,
    #account-resident-metrics .account-metric strong {
      color: var(--dc-forest);
    }
    #account-dashboard-kpi .account-kpi-help,
    #account-resident-metrics .account-metric-helper {
      color: #6B7280;
    }
    .account-dashboard-empty {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      padding: 14px 16px;
      color: var(--dc-text-2);
      background: var(--dc-surface-alt);
      border: 1px dashed var(--dc-border);
      border-radius: var(--account-radius-block);
      font-size: 13px;
      font-weight: 650;
      line-height: 1.45;
    }
    .account-dashboard-empty::before {
      content: "";
      width: 24px;
      height: 24px;
      border-radius: 999px;
      background:
        linear-gradient(90deg, transparent 7px, rgba(47,107,87,.40) 7px 10px, transparent 10px 14px, rgba(47,107,87,.56) 14px 17px, transparent 17px),
        var(--dc-sage-soft);
      border: 1px solid rgba(47,107,87,.18);
      box-shadow: inset 0 0 0 3px rgba(250,251,248,.72);
    }
    .account-dashboard-alerts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .account-dashboard-alerts:empty {
      display: none;
    }
    .account-profile-checklist {
      padding: 14px 16px;
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--account-radius-control);
      background: var(--dc-surface);
    }
    .account-profile-checklist[hidden] {
      display: none;
    }
    .account-profile-checklist-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    .account-profile-checklist-head h3 {
      margin: 0 0 2px;
      font-size: 15px;
    }
    .account-profile-checklist-progress {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      line-height: 1.1;
      white-space: nowrap;
    }
    .account-profile-checklist-progress strong {
      font-size: 20px;
      color: var(--dc-forest);
    }
    .account-profile-checklist-list {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .account-checklist-item {
      display: grid;
      grid-template-columns: 22px 1fr auto;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 10px;
      background: var(--dc-surface-alt);
    }
    .account-checklist-mark {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid var(--dc-border);
      display: grid;
      place-items: center;
    }
    .account-checklist-item[data-state="done"] .account-checklist-mark {
      border-color: var(--dc-forest);
      background: var(--dc-forest);
    }
    .account-checklist-item[data-state="done"] .account-checklist-mark::after {
      content: "";
      width: 5px;
      height: 9px;
      margin-top: -2px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
    .account-checklist-copy {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }
    .account-checklist-copy strong {
      font-size: 13.5px;
      font-weight: 700;
    }
    .account-checklist-copy small {
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.35;
    }
    .account-checklist-status {
      font-size: 11.5px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .02em;
      white-space: nowrap;
    }
    .account-checklist-item[data-state="done"] .account-checklist-status {
      color: var(--dc-forest);
    }
    .account-checklist-item[data-state="pending"] .account-checklist-status {
      color: var(--dc-warning);
    }
    .account-checklist-item[data-state="optional"] .account-checklist-status {
      color: var(--dc-muted);
    }
    .account-alert {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.3;
    }
    .account-alert-warn {
      color: var(--dc-warning);
      background: var(--dc-warning-bg);
      border: 1px solid rgba(200,169,90,.36);
    }
    .account-alert-info {
      color: var(--dc-forest);
      background: var(--dc-success-bg);
      border: 1px solid rgba(47,107,87,.18);
    }
    .account-alert-error {
      color: var(--dc-danger);
      background: var(--red-bg);
      border: 1px solid rgba(192,57,43,.18);
    }
    .account-budget-summary {
      flex: 1 1 100%;
      display: grid;
      gap: 12px;
      padding: 16px;
      border: 1px solid rgba(6,48,71,.10);
      border-radius: 12px;
      background: rgba(255,255,255,.78);
      color: var(--dc-ink);
    }
    .account-budget-summary strong {
      color: var(--dc-ink);
    }
    .account-budget-summary span {
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.45;
    }
    .account-budget-summary-head {
      display: flex;
      justify-content: space-between;
      gap: 6px 12px;
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .account-budget-summary-head strong {
      width: 100%;
      font-size: 18px;
    }
    .account-budget-list {
      display: grid;
      gap: 10px;
    }
    .account-budget-card {
      display: grid;
      gap: 12px;
      min-width: 0;
      padding: 16px;
      border: 1px solid var(--dc-border-soft);
      border-radius: var(--account-radius-block);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-budget-card.is-compact {
      gap: 9px;
      padding: 13px;
      box-shadow: none;
    }
    .account-budget-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .account-budget-card-head > div {
      display: grid;
      gap: 2px;
      min-width: 0;
    }
    .account-budget-card-head strong {
      color: var(--dc-navy);
      font-size: 16px;
      overflow-wrap: anywhere;
    }
    .account-budget-card-head > div > span {
      color: var(--dc-muted);
      font-size: 13px;
    }
    .account-budget-description {
      display: -webkit-box;
      margin: 0;
      overflow: hidden;
      color: var(--dc-text);
      font-size: 14px;
      line-height: 1.55;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }
    .account-budget-card-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 5px 14px;
      color: var(--dc-muted);
      font-size: 12px;
    }
    .account-budget-card-meta strong {
      color: var(--dc-text);
    }
    .account-budget-card-actions,
    .account-budget-detail-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }
    .account-budget-card-actions .btn {
      min-height: 40px;
    }
    .account-budget-status,
    .account-budget-pending-count,
    .account-nav-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 850;
      line-height: 1.2;
      white-space: nowrap;
    }
    .account-budget-status {
      flex-shrink: 0;
      padding: 6px 9px;
      border: 1px solid transparent;
    }
    .account-budget-status.is-new {
      color: #fff;
      background: var(--dc-forest);
      border-color: var(--dc-forest);
    }
    .account-budget-status.is-pending {
      color: var(--dc-warning);
      background: var(--dc-warning-bg);
      border-color: rgba(200,169,90,.38);
    }
    .account-budget-status.is-contacted {
      color: var(--dc-forest);
      background: var(--dc-success-bg);
      border-color: rgba(47,107,87,.24);
    }
    .account-budget-status.is-closed {
      color: var(--dc-muted);
      background: var(--dc-surface-alt);
      border-color: var(--dc-border-soft);
    }
    .account-budget-view-all {
      justify-self: start;
    }
    .account-budget-contact-confirmation {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 14px 16px;
      border: 1px solid rgba(47,107,87,.24);
      border-radius: var(--account-radius-block);
      background: var(--dc-success-bg);
      box-shadow: var(--dc-shadow-sm);
    }
    .account-budget-contact-confirmation[hidden],
    .account-budget-detail-dialog[hidden] {
      display: none;
    }
    .account-budget-contact-confirmation > div:first-child {
      display: grid;
      gap: 2px;
    }
    .account-budget-contact-confirmation strong {
      color: var(--dc-navy);
    }
    .account-budget-contact-confirmation span {
      color: var(--dc-muted);
      font-size: 13px;
    }
    .account-budget-contact-confirmation-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .account-budget-inbox-head {
      align-items: flex-start;
    }
    .account-budget-pending-count {
      padding: 7px 11px;
      color: var(--dc-forest);
      background: var(--dc-success-bg);
      border: 1px solid rgba(47,107,87,.22);
    }
    .account-budget-explainer {
      margin: 16px 0 0;
      padding: 14px 16px;
      border-left: 3px solid var(--dc-sage);
      border-radius: var(--dc-radius);
      background: var(--dc-warm);
    }
    .account-budget-explainer__title {
      margin: 0 0 10px;
      color: var(--dc-navy);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .account-budget-explainer__grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px 24px;
    }
    .account-budget-explainer__item {
      min-width: 0;
    }
    .account-budget-explainer__item + .account-budget-explainer__item {
      padding-left: 24px;
      border-left: 1px solid var(--dc-border-soft);
    }
    .account-budget-explainer__item-title {
      display: inline;
      margin: 0;
      color: var(--dc-forest);
      font-size: 13px;
      font-weight: 800;
    }
    .account-budget-explainer__text {
      display: inline;
      margin: 0;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.6;
    }
    .account-budget-explainer__note {
      margin: 12px 0 0;
      padding-top: 10px;
      border-top: 1px solid var(--dc-border-soft);
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.6;
    }
    .account-budget-explainer strong {
      color: var(--dc-text);
      font-weight: 800;
    }
    .account-budget-inbox-toolbar {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
      margin: 16px 0;
    }
    .account-budget-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .account-budget-tabs button {
      min-height: 42px;
      padding: 8px 13px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 999px;
      background: var(--dc-surface);
      color: var(--dc-text);
      cursor: pointer;
      font: inherit;
      font-size: 13px;
      font-weight: 750;
    }
    .account-budget-tabs button.is-active {
      color: #fff;
      background: var(--dc-navy);
      border-color: var(--dc-navy);
    }
    .account-budget-range {
      display: grid;
      gap: 4px;
      min-width: 150px;
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .account-budget-inbox-list {
      display: grid;
      gap: 12px;
      min-width: 0;
    }
    .account-budget-load-more-wrap {
      display: flex;
      justify-content: center;
      padding-top: 14px;
    }
    .account-nav-badge {
      min-width: 24px;
      min-height: 24px;
      margin-left: auto;
      padding: 3px 7px;
      color: #fff;
      background: var(--dc-danger);
    }
    .account-nav-item.is-active .account-nav-badge {
      color: var(--dc-navy);
      background: #fff;
    }
    body.account-budget-detail-open {
      overflow: hidden;
    }
    .account-budget-detail-dialog {
      position: fixed;
      z-index: 1510;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 20px;
    }
    .account-budget-detail-backdrop {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      background: rgba(8,30,39,.58);
      cursor: default;
    }
    .account-budget-detail-panel {
      position: relative;
      z-index: 1;
      width: min(700px, 100%);
      max-height: min(760px, calc(100vh - 40px));
      overflow-y: auto;
      padding: 24px;
      border-radius: 20px;
      background: var(--dc-surface);
      box-shadow: 0 24px 80px rgba(8,30,39,.28);
    }
    .account-budget-detail-close {
      position: sticky;
      z-index: 2;
      top: 0;
      float: right;
      width: 44px;
      height: 44px;
      border: 1px solid var(--dc-border);
      border-radius: 50%;
      color: var(--dc-navy);
      background: var(--dc-surface);
      cursor: pointer;
      font-size: 24px;
    }
    .account-budget-detail-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      padding-right: 54px;
    }
    .account-budget-detail-head h2 {
      margin: 4px 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: clamp(22px,4vw,30px);
    }
    .account-budget-detail-head > div > span:last-child {
      color: var(--dc-muted);
    }
    .account-budget-detail-facts {
      display: grid;
      grid-template-columns: repeat(2,minmax(0,1fr));
      gap: 8px;
      margin: 20px 0;
    }
    .account-budget-detail-facts div {
      padding: 11px 12px;
      border-radius: 10px;
      background: var(--dc-surface-alt);
    }
    .account-budget-detail-facts dt {
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
    }
    .account-budget-detail-facts dd {
      margin: 3px 0 0;
      overflow-wrap: anywhere;
      color: var(--dc-text);
    }
    .account-budget-detail-description h3,
    .account-budget-timeline h3 {
      margin: 0 0 8px;
      color: var(--dc-navy);
      font-size: 16px;
    }
    .account-budget-detail-description p {
      margin: 0;
      white-space: pre-wrap;
      color: var(--dc-text);
      line-height: 1.6;
    }
    .account-budget-timeline {
      margin-top: 22px;
    }
    .account-budget-timeline ol {
      display: grid;
      gap: 0;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .account-budget-timeline li {
      position: relative;
      display: grid;
      gap: 2px;
      min-height: 54px;
      padding: 0 0 14px 28px;
    }
    .account-budget-timeline li::before {
      content: '';
      position: absolute;
      top: 4px;
      left: 4px;
      width: 10px;
      height: 10px;
      border: 3px solid var(--dc-surface);
      border-radius: 50%;
      background: var(--dc-forest);
      box-shadow: 0 0 0 1px var(--dc-forest);
    }
    .account-budget-timeline li::after {
      content: '';
      position: absolute;
      top: 20px;
      bottom: -2px;
      left: 10px;
      width: 1px;
      background: var(--dc-border);
    }
    .account-budget-timeline li:last-child::after {
      display: none;
    }
    .account-budget-timeline li span {
      color: var(--dc-muted);
      font-size: 12px;
    }
    .account-budget-detail-actions {
      margin-top: 10px;
    }
    .account-dashboard-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      padding-top: 2px;
    }
    .account-dashboard-cta .btn {
      min-height: 44px;
      padding: 8px 14px;
      font-size: 13px;
    }
    .account-dashboard-cta .account-dashboard-primary-cta {
      min-height: 44px;
      padding-inline: 16px;
      box-shadow: 0 10px 20px rgba(47,107,87,.20);
    }
    .account-classifieds-section,
    .account-classified-form-section {
      border: 1px solid var(--dc-border-soft);
      background: var(--dc-surface-alt);
      border-radius: var(--account-radius-block);
      padding: 16px;
      margin-top: 14px;
      box-shadow: none;
    }
    .account-classifieds-section:first-child,
    .account-classified-form-section:first-child {
      margin-top: 0;
    }
    .account-plan-status {
      border: 1px solid var(--dc-border-soft);
      background: var(--dc-surface-alt);
      border-radius: var(--dc-radius);
      padding: 14px;
      margin-bottom: 14px;
    }
    .account-plan-status:empty {
      display: none;
    }
    .account-plan-status-head {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }
    .account-plan-status-head h3 {
      margin: 0;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
    }
    .account-plan-status-alert {
      margin-top: 8px;
      padding: 6px 10px;
      border-radius: 6px;
      background: var(--gold-bg);
      border: 1px solid var(--gold-line);
      color: var(--gold);
      font-size: 12px;
      font-weight: 700;
    }
    .account-plan-cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 12px;
      margin-bottom: 14px;
    }
    .account-plan-cards:empty {
      display: none;
    }
    .account-plan-card {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 14px;
      border: 1px solid var(--dc-border);
      border-radius: 12px;
      background: var(--dc-warm);
      transition: border-color .15s ease, box-shadow .15s ease;
    }
    .account-plan-card.is-current {
      border-color: rgba(111,155,122,.45);
      background: var(--dc-sage-soft);
    }
    .account-plan-card.is-selected {
      border-color: var(--dc-forest);
      box-shadow: 0 0 0 3px rgba(111,155,122,.18);
    }
    .account-plan-card.is-admin-only {
      opacity: .65;
    }
    .account-plan-card-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
    }
    .account-plan-card-head h4 {
      margin: 0;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
    }
    .account-plan-card-price {
      white-space: nowrap;
      color: var(--dc-forest);
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 800;
    }
    .account-plan-card-desc {
      color: var(--ink-muted);
      font-size: 12px;
      line-height: 1.4;
      margin: 0;
    }
    .account-plan-card-features {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .account-plan-card-features li {
      padding: 3px 8px;
      border-radius: 6px;
      background: var(--dc-sand);
      border: 1px solid var(--dc-border-soft);
      color: var(--ink-2);
      font-size: 11px;
      font-weight: 700;
    }
    .account-plan-card-action {
      margin-top: auto;
    }
    .account-plan-card-current {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 700;
      color: var(--dc-forest);
      background: var(--dc-sage-soft);
      border: 1px solid rgba(111,155,122,.34);
    }
    .account-plan-card-current.is-admin {
      color: var(--ink-muted);
      background: var(--dc-sand);
      border-color: var(--dc-border-soft);
    }
    .account-plan-card-btn {
      width: 100%;
    }
    .account-plan-payment-flow[hidden] {
      display: none;
    }
    .account-plan-instructions {
      border: 1px solid var(--dc-border);
      background: var(--dc-sage-soft);
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
    }
    .account-plan-instructions:empty {
      display: none;
    }
    .account-plan-instructions-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 8px;
    }
    .account-plan-instructions-head h3 {
      margin: 0;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
    }
    .account-plan-instructions-price {
      color: var(--accent);
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 800;
      white-space: nowrap;
    }
    .account-sponsor-fields {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .account-sponsor-fields[hidden] {
      display: none;
    }
    .account-status-free,
    .account-status-standard,
    .account-status-uploaded {
      color: var(--dc-blue);
      background: rgba(11,74,90,.08);
      border-color: rgba(11,74,90,.16);
    }
    .account-plan-options,
    .account-plan-payment-flow,
    .account-plan-manual-flow {
      display: grid;
      gap: 12px;
      margin-top: 12px;
    }
    .account-plan-manual-flow[hidden],
    .account-plan-payment-flow[hidden] {
      display: none;
    }
    .account-plan-section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
    }
    .account-plan-section-head h3,
    .account-payment-step h4,
    .account-sponsor-intro h4,
    .account-plan-manual-card h3 {
      margin: 0;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -.01em;
    }
    .account-plan-section-head p,
    .account-payment-step p,
    .account-sponsor-intro p,
    .account-plan-manual-card p {
      margin-top: 3px;
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.45;
    }
    .account-plan-status {
      display: grid;
      gap: 12px;
      padding: 14px;
      border-radius: var(--dc-radius);
      border: 1px solid rgba(111,155,122,.24);
      background:
        radial-gradient(circle at 100% 0%, rgba(200,169,90,.10), transparent 28%),
        linear-gradient(180deg, rgba(250,251,248,.98), rgba(234,242,234,.78));
    }
    .account-plan-status-main {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
    }
    .account-plan-status-main h3 {
      margin: 2px 0 4px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -.01em;
    }
    .account-plan-status-main p {
      max-width: 680px;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.5;
    }
    .account-plan-eyebrow {
      display: inline-flex;
      color: var(--dc-petrol);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .account-plan-status-kv,
    .account-plan-instructions-kv {
      grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
      margin-top: 0;
    }
    .account-plan-status-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .account-plan-status-actions .btn {
      min-height: 36px;
      padding: 8px 12px;
      font-size: 12px;
    }
    .account-plan-budget-note,
    .account-plan-promo-note,
    .account-plan-manual-card,
    .account-payment-step,
    .account-sponsor-intro {
      border: 1px solid rgba(205,221,213,.86);
      border-radius: 8px;
      background: linear-gradient(180deg, var(--dc-warm), rgba(247,250,244,.96));
      padding: 12px;
    }
    .account-plan-budget-note summary {
      min-height: 44px;
      display: flex;
      align-items: center;
      margin: -8px -6px 0;
      padding: 8px 6px;
      color: var(--dc-navy);
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
    }
    .account-plan-budget-note p {
      margin: 0;
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.5;
    }
    .account-plan-budget-note p + p {
      margin-top: 8px;
    }
    .account-plan-promo-note {
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.5;
    }
    .account-plan-promo-note strong {
      color: var(--dc-text);
    }
    .account-plan-cards {
      grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
      gap: 12px;
      margin-bottom: 0;
    }
    .account-plan-card {
      --plan-accent: rgba(75,95,116,.28);
      --plan-accent-strong: #496070;
      --plan-accent-bg: #F4F8FC;
      min-height: 100%;
      padding: 14px;
      border: 1px solid rgba(205,221,213,.86);
      border-radius: var(--dc-radius);
      background: linear-gradient(180deg, var(--dc-warm), rgba(247,250,244,.96));
      box-shadow: 0 1px 2px rgba(16,42,56,.04), 0 10px 24px rgba(16,42,56,.07);
      align-items: stretch;
      overflow: hidden;
      position: relative;
      transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
    }
    .account-plan-card::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 3px;
      background: var(--plan-accent-strong);
      opacity: .85;
    }
    .account-plan-card-free {
      --plan-accent: rgba(95,113,109,.25);
      --plan-accent-strong: #5F716D;
      --plan-accent-bg: #F3F6F1;
    }
    .account-plan-card-featured {
      --plan-accent: rgba(111,155,122,.34);
      --plan-accent-strong: var(--dc-forest);
      --plan-accent-bg: var(--dc-sage-soft);
    }
    .account-plan-card-rotating {
      --plan-accent: rgba(200,169,90,.42);
      --plan-accent-strong: #8B7331;
      --plan-accent-bg: var(--dc-gold-soft);
    }
    .account-plan-card-exclusive {
      --plan-accent: rgba(11,74,69,.30);
      --plan-accent-strong: var(--dc-petrol);
      --plan-accent-bg: #E6F0ED;
    }
    .account-plan-card.is-admin-only {
      opacity: 1;
    }
    .account-plan-card.is-current {
      border-color: var(--plan-accent);
      background: var(--dc-surface-alt);
    }
    .account-plan-card-head {
      align-items: start;
      min-height: 40px;
    }
    .account-plan-card-head h4 {
      font-size: 15px;
    }
    .account-plan-card-head span {
      display: inline-flex;
      margin-top: 2px;
      color: var(--ink-muted);
      font-size: 11px;
      font-weight: 700;
    }
    .account-plan-card-price {
      font-size: 18px;
      letter-spacing: 0;
    }
    .account-plan-card-head .account-plan-price-group,
    .account-plan-instructions-head .account-plan-price-group {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 2px;
      margin: 0;
      text-align: right;
    }
    .account-plan-card-head .account-plan-discount,
    .account-plan-instructions-head .account-plan-discount {
      display: inline-flex;
      margin: 0 0 2px;
      padding: 3px 7px;
      border: 1px solid rgba(200,169,90,.48);
      border-radius: 999px;
      background: var(--dc-gold-soft);
      color: #725D22;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .02em;
      line-height: 1.2;
      white-space: nowrap;
    }
    .account-plan-price-reference {
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      white-space: nowrap;
    }
    .account-plan-card-subtitle {
      margin: 0;
      color: var(--ink);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.35;
      min-height: 17px;
    }
    .account-plan-card-desc {
      min-height: 0;
    }
    .account-plan-type {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      border-radius: 999px;
      padding: 3px 8px;
      color: var(--plan-accent-strong);
      background: var(--plan-accent-bg);
      border: 1px solid var(--plan-accent);
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .account-plan-card-features {
      display: grid;
      gap: 6px;
      margin-top: 2px;
    }
    .account-plan-card-features li {
      position: relative;
      padding: 0 0 0 16px;
      border: none;
      background: transparent;
      color: var(--ink-2);
      font-size: 12px;
      line-height: 1.35;
    }
    .account-plan-card-features li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .55em;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--plan-accent-strong);
    }
    .account-plan-card-note {
      margin: 0;
      padding: 8px 10px;
      border-radius: 8px;
      background: var(--dc-surface-alt);
      border: 1px solid var(--dc-border-soft);
      color: var(--dc-muted);
      font-size: 11px;
      font-weight: 700;
      line-height: 1.4;
    }
    .account-plan-card-action {
      display: grid;
      margin-top: auto;
    }
    .account-plan-card-current {
      justify-self: start;
      width: fit-content;
      border-radius: 999px;
      color: var(--plan-accent-strong);
      background: var(--plan-accent-bg);
      border-color: var(--plan-accent);
      cursor: default;
      pointer-events: none;
      box-shadow: none;
      font-weight: 700;
    }
    .account-plan-card-btn {
      min-height: 44px;
    }
    @media (hover: hover) and (pointer: fine) {
      .account-plan-card:hover {
        border-color: var(--plan-accent);
        box-shadow: var(--dc-shadow-lg);
        transform: translateY(-2px);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .account-plan-card {
        transition: none;
      }
      .account-plan-card:hover {
        transform: none;
      }
    }
    .account-plan-instructions {
      display: grid;
      gap: 12px;
      border-color: rgba(111,155,122,.26);
      background: linear-gradient(180deg, rgba(250,251,248,.98), rgba(234,242,234,.84));
      border-radius: var(--dc-radius);
      margin-bottom: 0;
    }
    .account-plan-instructions-head {
      align-items: start;
    }
    .account-plan-instructions-head p {
      max-width: 680px;
      margin-top: 4px;
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.45;
    }
    .account-payment-step {
      display: grid;
      gap: 12px;
    }
    .account-payment-upload {
      padding: 14px;
      border-style: dashed;
      border-color: rgba(47,107,87,.42);
      background:
        radial-gradient(circle at top right, rgba(111,155,122,.16), transparent 34%),
        linear-gradient(180deg, rgba(250,251,248,.98), rgba(234,242,234,.82));
    }
    .account-payment-step-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }
    .account-payment-step-head > span {
      display: inline-flex;
      width: 28px;
      height: 28px;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, var(--dc-forest), var(--dc-sage));
      font-size: 12px;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(47,107,87,.22);
    }
    .account-payment-proof-card {
      --record-accent: var(--dc-forest);
    }
    .account-payment-proof-card .account-classified-actions {
      padding-top: 2px;
    }
    .account-fieldset-copy {
      margin: -2px 0 2px;
      color: var(--dc-muted);
      font-size: 12px;
      line-height: 1.45;
      font-weight: 600;
    }
    .account-billing-fieldset [hidden] {
      display: none !important;
    }
    .account-sponsor-intro {
      background: linear-gradient(180deg, var(--dc-warm), var(--dc-gold-soft));
      border-color: rgba(200,169,90,.34);
    }
    .account-page .sponsor-card {
      border-color: rgba(200,169,90,.24);
      background: linear-gradient(180deg, #fff, #FEFCF4);
      box-shadow: 0 8px 20px rgba(27,38,59,.055);
    }
    .account-page .sponsor-label {
      background: rgba(11,74,69,.08);
      color: var(--dc-petrol);
    }
    .account-page .account-footer {
      margin-top: 0;
      padding: 18px 0 22px;
      border-top: 1px solid rgba(196,216,205,.72);
      background: linear-gradient(180deg, rgba(246,241,232,.86), rgba(250,251,248,.96));
    }
    .account-footer-inner {
      align-items: center;
      justify-content: center;
      gap: 8px 26px;
      text-align: center;
    }
    .account-footer-copy {
      margin: 0;
      color: var(--dc-muted);
      font-size: 12px;
      font-weight: 650;
    }
    .account-footer-links {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0;
      line-height: 1;
    }
    .account-page .account-footer .footer-link {
      display: inline-flex;
      align-items: center;
      min-height: 18px;
      line-height: 1;
      color: var(--dc-text-2);
      font-size: 12px;
      font-weight: 750;
      transition: color .14s ease, transform .14s ease;
    }
    .account-page .account-footer .footer-link:hover {
      color: var(--dc-forest);
      transform: translateY(-1px);
    }
    .account-footer-toast {
      border-color: rgba(47,107,87,.22);
      background: var(--dc-petrol);
      color: #fff;
      box-shadow: 0 18px 38px rgba(16,42,56,.20);
    }
    @media (prefers-reduced-motion: reduce) {
      .account-photo-onboarding.is-entering {
        animation: none;
      }
      .account-page .btn,
      .account-back-link,
      .account-page .account-card,
      .account-page .account-card-inner,
      .account-page .account-analysis-card,
      .account-page .account-metric,
      .account-page .account-kpi-item,
      .account-page .account-classified,
      .account-page .account-media-item,
      .account-page .account-plan-card,
      .account-page .account-nav-item,
      .account-page .footer-link {
        transition: none;
      }
      .account-page .btn:hover,
      .account-back-link:hover,
      .account-page .account-card:hover,
      .account-page .account-card-inner:hover,
      .account-page .account-analysis-card:hover,
      .account-page .account-metric:hover,
      .account-page .account-kpi-item:hover,
      .account-page .account-classified:hover,
      .account-page .account-media-item:hover,
      .account-page .account-plan-card:hover,
      .account-page .account-nav-item:hover,
      .account-page .footer-link:hover {
        transform: none;
      }
    }
    @media (max-width: 760px) {
      body.account-page,
      .account-page .account-shell,
      .account-page .account-main,
      .account-page .account-panel,
      .account-page .account-fieldset,
      .account-page .account-form,
      .account-page .account-card,
      .account-page .account-contact-fieldset,
      .account-page .account-media-inline {
        max-width: 100%;
        box-sizing: border-box;
      }

      body.account-page {
        overflow-x: hidden;
      }

      .account-page *,
      .account-page *::before,
      .account-page *::after {
        box-sizing: border-box;
      }

      .account-page .w,
      .account-page .account-app,
      .account-page .account-sidebar,
      .account-page .account-section-nav,
      .account-page .account-mobile-section-control,
      .account-page .account-accordion,
      .account-page .account-accordion-panel,
      .account-page .account-card-inner,
      .account-page .account-classified,
      .account-page .account-classifieds-section,
      .account-page .account-classified-form-section,
      .account-page .account-commercial-onboarding,
      .account-page .account-commercial-summary,
      .account-page .account-commercial-note,
      .account-page .account-media-grid,
      .account-page .account-media-item,
      .account-page .account-budget-inbox-list,
      .account-page .account-budget-card {
        max-width: 100%;
        min-width: 0;
      }

      .account-page .account-fieldset,
      .account-page .account-contact-fieldset {
        grid-template-columns: 1fr;
      }

      .account-page .account-media-inline {
        padding: 12px;
      }

      .account-page .account-media-inline-head {
        display: grid;
      }

      .account-page .account-file-button {
        width: 100%;
        justify-content: center;
      }

      .account-page .account-form-footer {
        display: grid;
      }

      .account-page .btn,
      .account-page .account-nav-item,
      .account-page .account-accordion-trigger,
      .account-page .account-context-button {
        white-space: normal;
        overflow-wrap: anywhere;
      }

      .account-page .account-card-head {
        align-items: flex-start;
        flex-wrap: wrap;
      }

      .account-page .account-card-head > :first-child {
        flex: 1 1 18rem;
        min-width: 0;
      }

      .account-page .account-card-head > .account-status,
      .account-page .account-card-head > .btn {
        flex: 0 0 auto;
        align-self: flex-start;
        max-width: 100%;
        margin-left: auto;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
      }

      .account-page .account-commercial-onboarding,
      .account-page .account-commercial-onboarding .account-card-head,
      .account-page .account-kv,
      .account-page .account-media-grid {
        grid-template-columns: 1fr;
      }

      /* Mobile: el registro apila título, estado, metadata y acciones. El título
         deja de truncarse para no perder información en anchos chicos. */
      .account-classified-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
      .account-classified-head h3 {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
      }
      .account-page .account-classified-actions,
      .account-page .account-media-actions {
        align-items: stretch;
      }

      .account-page .account-classified-actions .btn,
      .account-page .account-media-actions .btn {
        flex: 1 1 100%;
        min-height: 44px;
        font-size: 13px;
      }
    }
/* Account notifications and sponsor preview */
    .account-notification-wrap {
      position: relative;
    }

    .account-notification-wrap[hidden] {
      display: none;
    }

    .account-notification-bell {
      position: relative;
      display: inline-grid;
      width: 38px;
      height: 38px;
      place-items: center;
      border: 1px solid rgba(6,48,71,.14);
      border-radius: 999px;
      background: #fff;
      color: var(--dc-navy);
      cursor: pointer;
    }

    .account-notification-bell svg {
      width: 19px;
      height: 19px;
    }

    .account-notification-dot {
      position: absolute;
      top: 7px;
      right: 7px;
      width: 9px;
      height: 9px;
      border: 2px solid #fff;
      border-radius: 999px;
      background: #d75f3f;
    }

    .account-notification-panel {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      z-index: 40;
      width: min(320px, calc(100vw - 28px));
      padding: 14px;
      border: 1px solid rgba(6,48,71,.14);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 18px 40px rgba(6,48,71,.18);
    }

    .account-notification-panel p {
      margin: 6px 0 0;
      color: var(--dc-muted);
      font-size: 13px;
      line-height: 1.35;
    }

    .account-notification-panel .btn {
      margin-top: 10px;
    }

    .account-page .account-notification-reason {
      color: var(--dc-navy);
      font-weight: 650;
    }

    @keyframes accountBellAttention {
      0%, 100% { transform: rotate(0); }
      20% { transform: rotate(-11deg); }
      40% { transform: rotate(9deg); }
      60% { transform: rotate(-6deg); }
      80% { transform: rotate(4deg); }
    }

    .account-notification-bell.is-attention {
      animation: accountBellAttention .9s ease-in-out 2;
    }

    @media (prefers-reduced-motion: reduce) {
      .account-notification-bell.is-attention {
        animation: none;
      }
    }

    .account-sponsor-locked-card,
    .account-sponsor-correction-alert {
      border: 1px solid rgba(200,169,90,.28);
      background: linear-gradient(180deg, #fff, #FEFCF4);
    }

    .account-sponsor-correction-alert {
      display: grid;
      gap: 8px;
      margin: 12px 0;
      padding: 14px;
      border-radius: 8px;
    }

    .account-sponsor-correction-alert[hidden] {
      display: none;
    }

    .account-sponsor-correction-alert p {
      margin: 0;
      color: var(--dc-muted);
    }

    .account-sponsor-preview-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: grid;
      place-items: center;
      padding: 18px;
      background: rgba(6,48,71,.44);
    }

    .account-sponsor-preview-modal[hidden] {
      display: none;
    }

    .account-sponsor-preview-dialog {
      display: grid;
      gap: 14px;
      width: min(980px, 100%);
      max-height: min(92vh, 900px);
      overflow: auto;
      padding: 18px;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(6,48,71,.26);
    }

    .account-sponsor-preview-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 16px;
    }

    .account-sponsor-preview-head h2,
    .account-sponsor-preview-head p {
      margin: 0;
    }

    .account-sponsor-preview-head p {
      color: var(--dc-muted);
    }

    .account-sponsor-preview-controls,
    .account-sponsor-preview-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .account-sponsor-preview-actions {
      justify-content: flex-end;
    }

    .account-segment-button {
      border: 1px solid rgba(6,48,71,.16);
      border-radius: 999px;
      background: #fff;
      color: var(--dc-navy);
      cursor: pointer;
      font-weight: 750;
      padding: 8px 13px;
    }

    .account-segment-button.is-active {
      background: var(--dc-petrol);
      color: #fff;
    }

    .account-sponsor-preview-stage {
      display: grid;
      justify-items: center;
      overflow: auto;
      padding: 14px;
      border: 1px solid rgba(6,48,71,.10);
      border-radius: 8px;
      background: #f6f1e8;
    }

    .account-sponsor-preview-stage iframe {
      display: block;
      width: 100%;
      height: 360px;
      border: 0;
      border-radius: 8px;
      background: #fff;
    }

    .account-sponsor-preview-stage[data-device="mobile"] iframe {
      width: min(390px, 100%);
      height: 620px;
    }

    .account-sponsor-preview-stage[data-device="desktop"] iframe {
      width: 1024px;
      max-width: 100%;
    }

    .account-sponsor-preview-message {
      margin: 0;
      border: 1px solid rgba(180,75,55,.22);
      border-radius: 8px;
      padding: 10px 12px;
      background: #fff3ef;
      color: #9a3b2d;
      font-size: .92rem;
      line-height: 1.4;
    }

    .account-sponsor-preview-message[hidden] {
      display: none;
    }

    @media (max-width: 760px) {
      .account-sponsor-preview-modal {
        box-sizing: border-box;
        z-index: 300;
        height: 100vh;
        height: -webkit-fill-available;
        height: 100dvh;
        overflow: hidden;
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
      }

      .account-sponsor-preview-dialog {
        box-sizing: border-box;
        grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
        height: 100%;
        max-height: none;
        overflow: hidden;
        padding: 14px;
      }

      .account-sponsor-preview-head,
      .account-sponsor-preview-actions {
        display: grid;
        justify-items: stretch;
      }

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

      .account-sponsor-preview-actions .btn {
        min-width: 0;
      }

      .account-sponsor-preview-actions #account-sponsor-preview-confirm {
        grid-column: 1 / -1;
      }

      .account-sponsor-preview-stage[data-device="desktop"] iframe {
        width: 1024px;
        max-width: none;
        transform: scale(.34);
        transform-origin: top left;
      }

      .account-sponsor-preview-stage[data-device="desktop"] {
        max-height: 260px;
        justify-items: start;
      }

      .account-sponsor-preview-stage {
        box-sizing: border-box;
        height: 100%;
        min-height: 0;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
      }
    }
    @media (max-width: 980px) {
      .account-option-card-grid--days {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .account-app {
        grid-template-columns: 1fr;
      }
      .account-sidebar {
        position: static;
        top: auto;
      }
      .account-sidebar-card {
        display: none;
      }
      .account-mobile-section-control {
        display: block;
      }
      .account-section-nav {
        display: none;
      }
      .account-nav-group {
        display: none;
      }
      .account-grid-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .account-metrics-kpi,
      .account-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .account-auth-panel,
      .account-grid-two {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 680px) {
      .account-page .topbar .w {
        min-height: 50px;
        align-items: center;
        gap: 7px;
        padding-top: 7px;
        padding-bottom: 7px;
        flex-wrap: nowrap;
      }
      .account-back-link {
        width: 44px;
        height: 44px;
        font-size: 16px;
      }
      .account-page .brand-logo { height: 34px; max-height: 34px; max-width: 136px; }
      .account-page .top-actions {
        gap: 5px;
        min-width: 0;
      }
      .account-page .top-actions .btn {
        min-height: 30px;
        padding: 4px 8px;
        font-size: 11.5px;
      }
      .account-page .top-actions .account-pill {
        min-height: 20px;
        padding: 2px 7px;
        font-size: 9px;
      }
      .account-hero,
      .account-demo-switch,
      .account-context-card,
      .account-toolbar,
      .account-form {
        grid-template-columns: 1fr;
      }
      .account-context-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 12px;
      }
      .account-context-button {
        width: 100%;
        border-radius: 9px;
        white-space: normal;
      }
      .account-page .account-commercial-onboarding > .account-commercial-invite {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
      }
      .account-shell {
        padding-top: 10px;
        padding-bottom: 32px;
      }
      .account-hero {
        padding: 13px 15px;
      }
      .account-page .account-hero .account-context-card {
        width: 100%;
        justify-self: stretch;
        padding: 11px;
      }
      .account-hero .crumb {
        font-size: 11px;
      }
      .account-hero h1 {
        font-size: 24px;
      }
      .account-hero p {
        font-size: 12.5px;
      }
      .account-mobile-section-control .account-select {
        min-height: 46px;
        border-color: rgba(47,107,87,.32);
        background: var(--dc-warm);
        color: var(--dc-text);
        font-size: 16px;
        font-weight: 700;
      }
      .account-demo-actions {
        justify-content: stretch;
      }
      .account-demo-actions .btn {
        flex: 1 1 100%;
      }
      .account-auth-actions {
        display: grid;
        grid-template-columns: 1fr;
      }
      .account-auth-actions .btn {
        width: 100%;
        min-width: 0;
      }
      .account-hero-side {
        justify-content: flex-start;
      }
      .account-grid-metrics,
      .account-kv,
      .account-fieldset,
      .account-media-form,
      .account-sponsor-fields {
        grid-template-columns: 1fr;
      }
      .account-option-card-grid,
      .account-option-card-grid--days,
      .account-option-card-grid--boolean {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .account-hours-range {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .account-plan-cards {
        grid-template-columns: 1fr;
      }
      .account-plan-status-main,
      .account-prelaunch-owner-head,
      .account-payment-step-head {
        grid-template-columns: 1fr;
      }
      .account-prelaunch-owner-head {
        display: grid;
      }
      .account-plan-status-main .account-status {
        justify-self: start;
      }
      .account-plan-status-actions {
        display: grid;
        grid-template-columns: 1fr;
      }
      .account-plan-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      .account-plan-card-head .account-plan-price-group,
      .account-plan-instructions-head .account-plan-price-group {
        align-items: flex-start;
        text-align: left;
      }
      .account-plan-instructions-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      .account-auth-panel,
      .account-card,
      .account-toolbar {
        padding: 14px;
      }
      .account-page .account-commercial-onboarding {
        padding: 0;
      }
      .account-commercial-onboarding > .account-commercial-invite {
        padding: 14px;
      }
      .account-prelaunch-callout {
        padding: 14px;
      }
      .account-page .account-section-intro {
        align-items: stretch;
        flex-direction: column;
        gap: var(--account-space-3);
      }
      .account-page .account-visibility-badge {
        align-self: flex-start;
      }
      .account-photo-onboarding {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
      }
      .account-photo-onboarding-icon {
        align-self: start;
      }
      .account-page .account-photo-onboarding-cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 50px;
        white-space: normal;
      }
      .account-page .account-form-grid {
        grid-template-columns: 1fr;
        gap: var(--account-space-3);
      }
      .account-form-grid .account-span-2 {
        grid-column: auto;
      }
      .account-page .account-form-group {
        padding-top: var(--account-space-4);
      }
      .account-page .account-form-group:first-child {
        padding-top: 0;
      }
      .account-page .account-form-group-location {
        padding: 14px;
      }
      .account-form input,
      .account-form select,
      .account-form textarea,
      .account-select {
        font-size: 16px;
      }
      .account-page .account-form-footer .btn,
      .account-location-head .btn,
      .account-location-actions .btn {
        min-height: 48px;
      }
      .account-page .account-location-head,
      .account-page .account-location-actions {
        align-items: stretch;
        flex-direction: column;
      }
      .account-page .account-location-head .btn,
      .account-page .account-location-actions .btn {
        width: 100%;
      }
      .account-business-locations-head,
      .account-business-locations-empty,
      .account-business-locations-actions {
        align-items: stretch;
        flex-direction: column;
      }
      .account-business-location-grid {
        grid-template-columns: 1fr;
      }
      .account-business-location-full,
      .account-business-location-check,
      .account-business-location-schedule,
      .account-business-location-actions {
        grid-column: auto;
      }
      .account-branch-schedule-day {
        grid-template-columns: 1fr 1fr;
      }
      .account-branch-schedule-day > label:first-child {
        grid-column: 1 / -1;
      }
      .account-business-locations-actions .btn,
      .account-business-location-actions .btn {
        width: 100%;
        min-height: 48px;
      }
      .account-page .account-location-map {
        height: 300px;
        min-height: 300px;
      }
      body.account-page:has(#acc-owner-profile.is-active #account-location-map-wrap:not([hidden])) .assistant-launcher {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
      }
      .account-auth-panel {
        border-left-width: 3px;
      }
      .account-form-footer {
        align-items: stretch;
        flex-direction: column;
      }
      .account-form-footer .btn {
        width: 100%;
      }
      .account-accordion-trigger {
        padding: 14px 16px;
        font-size: 14.5px;
      }
      .account-accordion-panel {
        padding: 0 16px 16px;
      }
      .account-dashboard-kpi {
        grid-template-columns: 1fr;
      }
      .account-metrics-kpi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }
      .account-budget-contact-confirmation,
      .account-budget-inbox-toolbar,
      .account-budget-card-head,
      .account-budget-detail-head {
        align-items: stretch;
        flex-direction: column;
      }
      .account-budget-contact-confirmation-actions,
      .account-budget-tabs,
      .account-budget-range {
        width: 100%;
      }
      .account-budget-contact-confirmation-actions .btn,
      .account-budget-card-actions .btn,
      .account-budget-detail-actions .btn {
        width: 100%;
        min-height: 48px;
      }
      .account-budget-tabs {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
      }
      .account-budget-explainer {
        padding: 12px 14px;
      }
      .account-budget-explainer__grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .account-budget-explainer__item + .account-budget-explainer__item {
        padding-left: 0;
        padding-top: 12px;
        border-left: 0;
        border-top: 1px solid var(--dc-border-soft);
      }
      .account-budget-tabs button {
        width: 100%;
        min-width: 0;
      }
      .account-budget-card {
        padding: 14px;
      }
      .account-budget-status {
        align-self: flex-start;
      }
      .account-budget-detail-dialog {
        align-items: end;
        padding: 0;
      }
      .account-budget-detail-panel {
        width: 100%;
        max-height: calc(100dvh - 56px);
        padding: 20px 16px calc(92px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
      }
      .account-budget-detail-head {
        padding-right: 0;
      }
      .account-budget-detail-facts {
        grid-template-columns: 1fr;
      }
      .account-metrics-toolbar,
      .account-metrics-header {
        align-items: stretch;
        flex-direction: column;
      }
      .account-piece-heading {
        align-items: stretch;
        flex-direction: column;
      }
      .account-piece-filters {
        justify-content: flex-start;
      }
      .account-piece-grid {
        grid-template-columns: 1fr;
      }
      .account-analytics-dialog {
        align-items: end;
        padding: 0;
      }
      .account-analytics-dialog-panel {
        width: 100%;
        max-height: calc(100dvh - 72px);
        padding: 20px 16px calc(92px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
      }
      .account-zone-bars > div {
        grid-template-columns: minmax(90px, 1fr) 56px;
      }
      .account-zone-bars progress {
        grid-column: 1 / -1;
        grid-row: 2;
      }
      .account-metrics-header {
        gap: 12px;
        padding: 0;
      }
      .account-analytics-header,
      .account-analysis-grid,
      .account-funnel-steps,
      .account-analysis-kv {
        grid-template-columns: 1fr;
      }
      .account-analytics-header {
        align-items: flex-start;
        padding: 15px;
      }
      .account-radar-teaser {
        align-items: stretch;
        flex-direction: column;
        padding: 15px;
      }
      .account-radar-teaser .btn {
        width: 100%;
        justify-content: center;
      }
      .account-analysis-period {
        width: 100%;
      }
      .account-analysis-card {
        padding: 15px;
      }
      .account-metric-bar-row,
      .account-comparison-row {
        grid-template-columns: 22px minmax(0, 1fr) auto;
        gap: 8px;
      }
      .account-metric-bar-row .account-metric-icon,
      .account-comparison-row .account-metric-icon {
        grid-column: 1;
        grid-row: 1;
      }
      .account-metric-bar-label,
      .account-comparison-row strong {
        grid-column: 2;
        grid-row: 1;
      }
      .account-metric-bar-row strong {
        grid-column: 3;
        grid-row: 1;
      }
      .account-metric-bar-track {
        grid-row: 2;
        grid-column: 2 / -1;
      }
      .account-metric-bar-row small {
        grid-column: 3;
        grid-row: 3;
        text-align: right;
      }
      .account-comparison-row span {
        grid-column: 2 / -1;
      }
      .account-segmented {
        width: 100%;
      }
      .account-segmented-option {
        flex: 1 1 0;
        padding-inline: 8px;
        min-height: 44px;
      }
      .account-metrics-empty,
      .account-dashboard-empty {
        align-items: start;
        padding: 13px;
      }
      .account-kpi-item {
        min-height: auto;
        padding: 12px;
      }
      .account-kpi-value {
        font-size: 21px;
      }
      .account-metrics-kpi .account-kpi-item {
        min-height: 138px;
        padding: 14px;
      }
      .account-metrics-kpi .account-kpi-label {
        font-size: 14px;
        line-height: 1.3;
      }
      .account-metrics-kpi .account-kpi-value {
        font-size: clamp(24px, 8vw, 30px);
      }
      .account-metrics-kpi .account-kpi-help {
        font-size: 13px;
        line-height: 1.4;
      }
      .account-offering-metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 12px;
        padding: 11px 12px;
      }
      .account-offering-metric-label {
        grid-column: 1 / -1;
      }
      .account-offering-metric-value {
        text-align: left;
        white-space: normal;
      }
      .account-activity-grid {
        gap: 10px;
      }
      .account-activity-card {
        min-height: 126px;
        padding: 13px;
      }
      .account-activity-card .account-kpi-label,
      .account-activity-card .account-kpi-help {
        font-size: 13px;
      }
      .account-activity-card .account-kpi-value {
        font-size: clamp(22px, 7vw, 28px);
      }
      .account-zone-chart {
        gap: 14px;
        padding: 15px;
      }
      .account-zone-bar-heading {
        align-items: flex-start;
      }
      .account-zone-bar-heading strong {
        font-size: 14px;
      }
      .account-zone-bar-heading span {
        font-size: 12.5px;
      }
      .account-dashboard-cta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .account-dashboard-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 42px;
        padding: 8px 10px;
        white-space: normal;
      }
      .account-dashboard-cta .account-dashboard-primary-cta {
        grid-column: 1 / -1;
        min-height: 44px;
      }
      .account-dashboard-cta .btn:not(.account-dashboard-primary-cta):last-child {
        grid-column: 1 / -1;
      }
      .account-footer-inner {
        align-items: center;
        justify-content: center;
        gap: 8px 18px;
        text-align: center;
      }
      .account-footer-links {
        width: 100%;
        justify-content: center;
      }
      .sponsor-duo {
        grid-template-columns: 1fr;
        width: min(100% - 16px, 430px);
        margin: 14px auto 18px;
        gap: 12px;
        min-height: 136px;
      }
      .sponsor-duo .sponsor-slot {
        width: 100%;
        margin: 0;
      }
      .sponsor-slot {
        width: min(100% - 16px, 430px);
        margin: 14px auto 18px;
        min-height: 136px;
      }
      .sponsor-slot-inline {
        margin-top: 24px;
      }
      .sponsor-card {
        grid-template-columns: clamp(132px, 44%, 154px) minmax(0, 1fr);
        gap: 10px;
        min-height: auto;
        padding: 10px;
      }
      .sponsor-card-image {
        width: 100%;
      }
      .sponsor-card-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      .sponsor-card h3 {
        font-size: 14px;
      }
      .sponsor-card p {
        font-size: 12px;
        line-height: 1.3;
      }
      .sponsor-cta {
        margin-top: 2px;
        padding: 7px 10px;
        font-size: 12px;
      }
    }
    @media (max-width: 360px) {
      /* Los KPI principales siguen 2x2; solo la actividad comercial baja a una
         columna, porque sus etiquetas largas no entran sin partir palabras. */
      .account-activity-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* Public visual normalization sprint */
    body:not(.account-page) {
      --bg: var(--dc-sand);
      --card: var(--dc-warm-white);
      --card-hover: #F7FAF3;
      --ink: var(--dc-text);
      --ink-2: #1F3434;
      --ink-muted: #607575;
      --ink-light: #7C8D86;
      --line: #E3EBE8;
      --line-soft: #EEF3EF;
      --accent: var(--dc-navy);
      --accent-2: var(--dc-forest);
      --accent-bg: #EEF6EF;
      --accent-line: #CFE0D6;
      --gold: #9C7D2F;
      --gold-bg: #FBF4DF;
      --gold-line: rgba(200,169,90,.28);
      --green-dk: var(--dc-forest);
      --green-bg: #EEF6EF;
      --red: #A84F3C;
      --red-bg: #FCF0EA;
      --radius: 8px;
      --radius-lg: 10px;
      --shadow: 0 1px 2px rgba(16,42,56,.04);
      --shadow-lift: 0 1px 2px rgba(16,42,56,.05), 0 8px 18px rgba(16,42,56,.06);
      font-size: 14px;
      line-height: 1.45;
      color: var(--ink-2);
      background:
        radial-gradient(circle at 12% -12%, rgba(111,155,122,.10), transparent 28%),
        linear-gradient(180deg, var(--dc-warm-white) 0%, var(--dc-sand) 320px);
    }

    body:not(.account-page) h1,
    body:not(.account-page) h2,
    body:not(.account-page) h3 {
      color: var(--ink);
      letter-spacing: 0;
    }

    body:not(.account-page) .w {
      padding-left: 20px;
      padding-right: 20px;
    }

    body:not(.account-page) .topbar {
      background: rgba(250,251,248,.94);
      border-bottom-color: rgba(227,235,232,.96);
      box-shadow: 0 1px 2px rgba(16,42,56,.035);
    }

    body:not(.account-page) .topbar .w {
      min-height: 58px;
      gap: 13px;
    }

    body:not(.account-page) .brand-logo { height: 45px; max-height: 45px; max-width: 180px; }

    body:not(.account-page) .search-wrap {
      max-width: 540px;
    }

    body:not(.account-page) .search-wrap input,
    body:not(.account-page) .filter-input,
    body:not(.account-page) .filter-select {
      height: 40px;
      border-color: var(--line);
      border-radius: 8px;
      background: rgba(250,251,248,.96);
      color: var(--ink);
      font-size: 13px;
      font-weight: 500;
      box-shadow: none;
    }

    body:not(.account-page) .search-wrap input {
      border-radius: 999px;
    }

    body:not(.account-page) .search-wrap input:focus,
    body:not(.account-page) .filter-input:focus,
    body:not(.account-page) .filter-select:focus {
      border-color: var(--accent-line);
      box-shadow: 0 0 0 3px rgba(47,107,87,.10);
    }

    body:not(.account-page) .btn {
      min-height: 36px;
      padding: 0 14px;
      border-color: var(--line);
      border-radius: 999px;
      background: rgba(250,251,248,.96);
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
      box-shadow: none;
    }

    body:not(.account-page) .btn:hover {
      transform: translateY(-1px);
      border-color: var(--accent-line);
      background: #F5FAF6;
      box-shadow: 0 1px 2px rgba(16,42,56,.04);
    }

    body:not(.account-page) .btn-sm {
      min-height: 30px;
      padding: 0 10px;
      font-size: 12px;
    }

    body:not(.account-page) .btn-accent {
      background: var(--dc-forest);
      border-color: var(--dc-forest);
      color: #fff;
      box-shadow: 0 1px 2px rgba(47,107,87,.12);
    }

    body:not(.account-page) .btn-accent:hover {
      background: var(--dc-petrol);
      border-color: var(--dc-petrol);
    }

    body:not(.account-page) .btn-soft,
    body:not(.account-page) .btn-ghost {
      background: #F5FAF6;
      border-color: var(--accent-line);
      color: var(--dc-forest);
    }

    body:not(.account-page) .btn-wa {
      background: #EAF6EF;
      border-color: #C9DFD2;
      color: #1F5A3E;
      font-weight: 760;
    }

    body:not(.account-page) .zones {
      background: rgba(250,251,248,.82);
      border-bottom-color: var(--line);
    }

    body:not(.account-page) .zones .w {
      gap: 4px;
    }

    body:not(.account-page) .zone-btn {
      padding: 9px 12px;
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 650;
    }

    body:not(.account-page) .zone-btn.on {
      color: var(--dc-forest);
      font-weight: 760;
    }

    body:not(.account-page) .zone-btn.on::after {
      left: 12px;
      right: 12px;
      height: 2px;
      background: var(--dc-forest);
    }

    body:not(.account-page) .public-community-strip,
    body:not(.account-page) .tagline-strip {
      margin-bottom: 8px !important;
      background: #F7FAF8 !important;
      border-bottom: 1px solid #E4ECE8 !important;
      box-shadow: inset 0 -1px 0 rgba(255,255,255,.74) !important;
    }

    body:not(.account-page) .public-community-strip .w.tagline-inner,
    body:not(.account-page) .tagline-strip .w.tagline-inner {
      min-height: 48px !important;
      gap: 2px !important;
      padding-top: 8px !important;
      padding-bottom: 8px !important;
    }

    body:not(.account-page) .tagline-main {
      color: var(--dc-petrol) !important;
      font-size: 14px !important;
      line-height: 1.16 !important;
      font-weight: 760 !important;
      letter-spacing: 0 !important;
    }

    body:not(.account-page) .tagline-sub {
      color: var(--ink-muted) !important;
      font-size: 12.5px !important;
      line-height: 1.28 !important;
      font-style: normal !important;
      font-weight: 600 !important;
      letter-spacing: 0 !important;
    }

    body:not(.account-page) .module-strip,
    body:not(.account-page) .module-wrap {
      padding-top: 12px;
    }

    body:not(.account-page) .module-links,
    body:not(.account-page) .module-nav {
      display: grid;
      grid-template-columns: repeat(10, minmax(0, 1fr));
      overflow: hidden;
      border-color: var(--line);
      border-radius: 10px;
      background: rgba(250,251,248,.98);
      box-shadow: var(--shadow);
    }

    body:not(.account-page) .module-nav {
      border-radius: 10px 10px 0 0;
    }

    body:not(.account-page) .module-link,
    body:not(.account-page) .module-tab {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      min-height: 64px;
      padding: 13px 14px;
      border-right: 1px solid var(--line-soft);
      border-color: var(--line-soft);
      background: transparent;
      color: var(--ink-muted);
      text-align: left;
      line-height: 1.15;
      transition: transform .14s ease, background .14s ease, color .14s ease, box-shadow .14s ease;
    }

    body:not(.account-page) .module-link:last-child,
    body:not(.account-page) .module-tab:last-child {
      border-right: 0;
    }

    body:not(.account-page) .module-link,
    body:not(.account-page) .module-tab strong {
      font-size: 14.5px;
      font-weight: 750;
      letter-spacing: 0;
    }

    body:not(.account-page) .module-link span,
    body:not(.account-page) .module-tab span {
      margin-top: 3px;
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 500;
      line-height: 1.2;
    }

    body:not(.account-page) .module-link:hover,
    body:not(.account-page) .module-tab:hover {
      transform: translateY(-1px);
      background: #F5FAF6;
      color: var(--dc-petrol);
    }

    body:not(.account-page) .module-link.on,
    body:not(.account-page) .module-tab.on {
      background: #F5FBF8;
      color: var(--dc-forest);
      box-shadow: inset 0 -3px 0 var(--dc-forest);
    }

    body:not(.account-page) .module-link.on span,
    body:not(.account-page) .module-tab.on span {
      color: var(--dc-forest);
    }

    body:not(.account-page) .module-wrap .module-nav {
      border-radius: 10px;
    }

    body:not(.account-page) .module-wrap .main-panel {
      margin-top: 14px;
      border-top: 1px solid var(--line);
      border-radius: 10px;
    }

    body:not(.account-page) .page {
      padding-top: 16px;
      padding-bottom: 34px;
    }

    body:not(.account-page) .hero,
    body:not(.account-page) .public-module-hero,
    body:not(.account-page) .panel,
    body:not(.account-page) .main-panel,
    body:not(.account-page) .side-box,
    body:not(.account-page) .sponsor-card {
      border-color: var(--line);
      border-radius: 10px;
      background: var(--card);
      box-shadow: var(--shadow);
    }

    body:not(.account-page) .main-panel {
      border-top: 0;
      border-radius: 0 0 10px 10px;
    }

    body:not(.account-page) .module-wrap .main-panel {
      border-top: 1px solid var(--line);
      border-radius: 10px;
    }

    body:not(.account-page) .hero-main,
    body:not(.account-page) .panel-head,
    body:not(.account-page) .module-helper,
    body:not(.account-page) .filters {
      background: #F8FAF6;
      border-color: var(--line-soft);
    }

    body:not(.account-page) .hero-main {
      padding: 22px 22px 20px;
      gap: 18px;
    }

    body:not(.account-page) .crumb {
      margin-bottom: 8px;
      color: var(--dc-forest);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0;
    }

    body:not(.account-page) .hero h1,
    body:not(.account-page) .hero-card h1 {
      font-size: 30px;
      line-height: 1.08;
      font-weight: 780;
      letter-spacing: 0;
    }

    body:not(.account-page) .hero p,
    body:not(.account-page) .hero-card p {
      max-width: 720px;
      margin-top: 6px;
      color: var(--ink-muted);
      font-size: 14px;
      line-height: 1.48;
      font-weight: 450;
    }

    body:not(.account-page) .hero-stats {
      border-top-color: var(--line-soft);
      background: #FAFBF8;
    }

    body:not(.account-page) .stat {
      padding: 11px 18px;
      border-color: var(--line-soft);
    }

    body:not(.account-page) .stat strong {
      color: var(--dc-forest);
      font-size: 17px;
      font-weight: 760;
      letter-spacing: 0;
    }

    body:not(.account-page) .stat span {
      color: var(--ink-muted);
      font-size: 11px;
      line-height: 1.3;
    }

    body:not(.account-page) .content-grid {
      gap: 16px;
      margin-top: 16px;
    }

    body:not(.account-page) .panel-head {
      padding: 15px 16px;
      gap: 12px;
    }

    body:not(.account-page) .panel-head h2,
    body:not(.account-page) .panel-title h1 {
      font-size: 20px;
      line-height: 1.18;
      font-weight: 750;
      letter-spacing: 0;
    }

    body:not(.account-page) .panel-head p,
    body:not(.account-page) .panel-title p,
    body:not(.account-page) .module-helper,
    body:not(.account-page) .side-box p,
    body:not(.account-page) .notice,
    body:not(.account-page) .empty-state {
      color: var(--ink-muted);
      font-size: 12.5px;
      line-height: 1.45;
      font-weight: 450;
    }

    body:not(.account-page) .filters {
      padding: 12px 16px;
      gap: 8px;
    }

    body:not(.account-page) .module-wrap .module-helper {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      padding: 12px 16px;
      border-top: 1px solid var(--line-soft);
      border-bottom: 1px solid var(--line-soft);
    }

    body:not(.account-page) .item,
    body:not(.account-page) .row-item,
    body:not(.account-page) .compact-row,
    body:not(.account-page) .kids-card {
      border-color: var(--line-soft);
      background: var(--card);
      box-shadow: none;
      transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
    }

    body:not(.account-page) .item,
    body:not(.account-page) .row-item {
      padding: 15px 16px;
      gap: 13px;
    }

    body:not(.account-page) .item.item-group-card.item-no-media {
      grid-template-columns: minmax(0, 1fr) auto;
      padding: 12px 14px;
      gap: 10px 14px;
      align-items: center;
    }

    body:not(.account-page) .item.item-group-card p {
      margin-top: 2px;
      line-height: 1.35;
    }

    body:not(.account-page) .item.item-group-card .meta {
      margin-top: 6px;
    }

    body:not(.account-page) .item.item-group-card .actions {
      min-width: 168px;
    }

    body:not(.account-page) .module-wrap .row-item {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) auto;
      align-items: start;
      gap: 14px;
      padding: 18px 16px;
      border-bottom: 1px solid var(--line-soft);
    }

    body:not(.account-page) .compact-row {
      padding: 12px 16px;
    }

    body:not(.account-page) .module-wrap .compact-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid var(--line-soft);
    }

    body:not(.account-page) .item:hover,
    body:not(.account-page) .row-item:hover,
    body:not(.account-page) .compact-row:hover,
    body:not(.account-page) .kids-card:hover,
    body:not(.account-page) .side-box:hover,
    body:not(.account-page) .sponsor-card:hover {
      transform: translateY(-1px);
      border-color: #D5E2DC;
      background: #FDFEFC;
      box-shadow: var(--shadow-lift);
    }

    body:not(.account-page) .item h3,
    body:not(.account-page) .row-info h3,
    body:not(.account-page) .compact-row strong,
    body:not(.account-page) .kids-card h3 {
      font-size: 15px;
      line-height: 1.24;
      font-weight: 700;
      letter-spacing: 0;
    }

    body:not(.account-page) .item p,
    body:not(.account-page) .row-info p,
    body:not(.account-page) .compact-row span,
    body:not(.account-page) .kids-card p {
      color: var(--ink-muted);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 450;
    }

    body:not(.account-page) .module-wrap .row-info h3 {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    body:not(.account-page) .module-wrap .row-tags,
    body:not(.account-page) .module-wrap .compact-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 7px;
    }

    body:not(.account-page) .module-wrap .row-end {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 7px;
      min-width: 112px;
    }

    body:not(.account-page) .module-wrap .compact-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
    }

    body:not(.account-page) .badge,
    body:not(.account-page) .row-badge,
    body:not(.account-page) .card-thumb,
    body:not(.account-page) .kids-card-mark {
      border-color: var(--line);
      border-radius: 8px;
      background: #F2F7F2;
      color: var(--dc-forest);
      box-shadow: none;
    }

    body:not(.account-page) .module-wrap .row-badge {
      width: 64px;
      height: 52px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex: 0 0 64px;
      font-weight: 800;
      line-height: 1;
      overflow: hidden;
      text-align: center;
    }

    body:not(.account-page) .module-wrap .row-badge.promo .n {
      display: block;
      font-size: 18px;
      letter-spacing: 0;
    }

    body:not(.account-page) .module-wrap .row-badge.promo .l {
      display: block;
      margin-top: 2px;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    body:not(.account-page) .module-wrap .row-badge.free {
      padding: 0 5px;
      font-size: 10px;
      line-height: 1.15;
      text-transform: uppercase;
    }

    body:not(.account-page) .badge.icon,
    body:not(.account-page) .row-badge.icon {
      background: #EEF6EF;
      color: var(--dc-forest);
      font-size: 22px;
    }

    body:not(.account-page) .badge.avatar,
    body:not(.account-page) .row-badge.avatar {
      border-radius: 999px;
      background: #F2F6F2;
      color: var(--dc-petrol);
    }

    body:not(.account-page) .badge.promo,
    body:not(.account-page) .row-badge.promo {
      background: #FCF0EA;
      color: var(--dc-terracotta);
      border-color: rgba(201,106,74,.22);
    }

    body:not(.account-page) .badge.gold,
    body:not(.account-page) .row-badge.free,
    body:not(.account-page) .code,
    body:not(.account-page) .code-pill {
      background: var(--gold-bg);
      color: #8E7130;
      border-color: var(--gold-line);
    }

    body:not(.account-page) .tag,
    body:not(.account-page) .count,
    body:not(.account-page) .badge-soft,
    body:not(.account-page) .badge-success,
    body:not(.account-page) .badge-warning,
    body:not(.account-page) .badge-premium,
    body:not(.account-page) .badge-danger,
    body:not(.account-page) .badge-zone,
    body:not(.account-page) .badge-category {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      min-height: 20px;
      padding: 3px 8px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: 0;
      text-transform: none;
      white-space: nowrap;
    }

    body.mobile-page-comercios .item .tag.t-zone,
    body.mobile-page-proveedores .item .tag.t-zone,
    body.mobile-page-promos .item .tag.t-zone {
      max-width: 100%;
      min-width: 0;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    body:not(.account-page) .tag,
    body:not(.account-page) .badge-soft {
      background: #F2F6F2;
      color: var(--ink-muted);
      border-color: #E5EEE8;
    }

    body:not(.account-page) .t-zone,
    body:not(.account-page) .badge-zone {
      background: #F4F7F3;
      color: #5D726B;
      border-color: #E5EEE8;
    }

    body:not(.account-page) .t-rubro,
    body:not(.account-page) .badge-category {
      background: #EEF6EF;
      color: var(--dc-forest);
      border-color: #D5E7DA;
    }

    body:not(.account-page) .t-green,
    body:not(.account-page) .badge-success {
      background: #EAF4ED;
      color: #2F6B57;
      border-color: #CFE2D4;
    }

    body:not(.account-page) .t-gold,
    body:not(.account-page) .badge-premium {
      background: var(--gold-bg);
      color: #8E7130;
      border-color: var(--gold-line);
    }

    body:not(.account-page) .t-red,
    body:not(.account-page) .badge-danger,
    body:not(.account-page) .badge-warning {
      background: #FCF0EA;
      color: #A84F3C;
      border-color: rgba(201,106,74,.20);
    }

    body:not(.account-page) .sponsor-label {
      background: transparent;
      color: #64748b;
      border-color: #E5EEE8;
    }

    body:not(.account-page) .media-placeholder {
      background: #F4F7F3;
      border-color: var(--line);
      color: var(--ink-muted);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0;
    }

    body:not(.account-page) .side-pad {
      padding: 15px;
    }

    body:not(.account-page) .side-box h3 {
      font-size: 15px;
      line-height: 1.25;
      font-weight: 750;
      letter-spacing: 0;
    }

    body:not(.account-page) .side-row {
      border-top-color: var(--line-soft);
      color: var(--ink-muted);
      font-size: 12px;
    }

    body:not(.account-page) .side-row strong {
      color: var(--ink);
      font-size: 12.5px;
      font-weight: 700;
    }

    body:not(.account-page) .publish-box {
      background: linear-gradient(135deg, var(--dc-navy), var(--dc-petrol));
      color: #fff;
      border-color: transparent;
    }

    body:not(.account-page) .publish-box h3 {
      color: #fff;
    }

    body:not(.account-page) .publish-box p {
      color: rgba(255,255,255,.78);
    }

    body:not(.account-page) .sponsor-duo {
      width: min(1200px, calc(100% - 40px));
      margin-top: 12px;
      margin-bottom: 14px;
      gap: 12px;
      min-height: 138px;
    }

    body:not(.account-page) .sponsor-slot {
      width: min(980px, calc(100% - 40px));
      margin-top: 12px;
      margin-bottom: 14px;
      min-height: 138px;
    }

    body:not(.account-page) .sponsor-card {
      min-height: 116px;
      gap: 11px;
      padding: 10px;
      border-radius: 8px;
    }

    body:not(.account-page) .sponsor-card-image {
      border-radius: 6px;
      background: #F2F6F2;
    }

    body:not(.account-page) .sponsor-card h3 {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.2;
      font-weight: 720;
    }

    body:not(.account-page) .sponsor-card p {
      color: var(--ink-muted);
      font-size: 12px;
      line-height: 1.35;
    }

    body:not(.account-page) .sponsor-cta {
      border-radius: 999px;
      background: var(--dc-forest);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    body:not(.account-page) .sponsor-card-fallback .sponsor-card-body {
      row-gap: 4px;
    }

    body:not(.account-page) .sponsor-card-fallback .sponsor-cta-fallback {
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: #0B4A45;
      box-shadow: none;
      font-size: 12px;
      font-weight: 800;
    }

    body:not(.account-page) footer {
      margin-top: 18px;
      padding: 16px 0;
      border-top-color: var(--line);
      background: rgba(250,251,248,.88);
    }

    body:not(.account-page) .footer-brand {
      font-size: 13px;
      font-weight: 750;
      letter-spacing: 0;
    }

    body:not(.account-page) .footer-legal,
    body:not(.account-page) .footer-links a,
    body:not(.account-page) .footer-link {
      color: var(--ink-muted);
      font-size: 11.5px;
      font-weight: 600;
    }

    body:not(.account-page) .kids-family-page,
    body.kids-family-page:not(.account-page) {
      background:
        radial-gradient(circle at 12% -12%, rgba(111,155,122,.10), transparent 28%),
        linear-gradient(180deg, var(--dc-warm-white) 0%, var(--dc-sand) 320px);
    }

    body:not(.account-page) .kids-controls {
      margin-top: 14px;
    }

    body:not(.account-page) .kids-list {
      gap: 10px;
      padding: 12px;
    }

    body:not(.account-page) .kids-card {
      grid-template-columns: 52px minmax(0, 1fr) auto;
      gap: 12px;
      padding: 14px;
      border-radius: 8px;
    }

    body:not(.account-page) .kids-card-mark {
      width: 52px;
      height: 52px;
      font-weight: 800;
      letter-spacing: 0;
    }

    body:not(.account-page) .kids-card-kicker {
      color: var(--dc-forest);
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: .03em;
    }

    body:not(.account-page) .kids-secondary-panel {
      margin-top: 14px;
    }

    @media (max-width: 920px) {
      body:not(.account-page) .content-grid,
      body:not(.account-page) .kids-layout,
      body:not(.account-page) .kids-related-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 760px) {
      body:not(.account-page) {
        font-size: 14px;
        line-height: 1.45;
      }

      body:not(.account-page) .w {
        padding-left: 12px;
        padding-right: 12px;
      }

      body:not(.account-page) .topbar .w {
        gap: 9px;
        padding-top: 9px;
        padding-bottom: 9px;
      }

      body:not(.account-page) .brand-logo { height: 34px; max-height: 34px; max-width: 136px; }

      body:not(.account-page) .btn {
        min-height: 34px;
        padding: 0 11px;
        font-size: 12px;
      }

      body:not(.account-page) .top-actions {
        margin-left: auto;
      }

      body:not(.account-page) .search-wrap {
        flex: 1 0 100%;
        max-width: none;
      }

      body:not(.account-page) .search-wrap input,
      body:not(.account-page) .filter-input,
      body:not(.account-page) .filter-select,
      body:not(.account-page) input,
      body:not(.account-page) select,
      body:not(.account-page) textarea {
        font-size: 16px;
      }

      body:not(.account-page) .zones .w {
        padding-left: 12px;
        padding-right: 12px;
      }

      body:not(.account-page) .zone-btn {
        padding: 9px 11px;
        font-size: 12px;
      }

      body:not(.account-page) .public-community-strip .w.tagline-inner,
      body:not(.account-page) .tagline-strip .w.tagline-inner {
        min-height: 50px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
      }

      body:not(.account-page) .tagline-main {
        max-width: 340px !important;
        font-size: 12.5px !important;
      }

      body:not(.account-page) .tagline-sub {
        max-width: 340px !important;
        font-size: 11px !important;
      }

      body:not(.account-page) .module-links,
      body:not(.account-page) .module-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        border-radius: 8px !important;
      }

      body:not(.account-page) .module-nav {
        border-radius: 8px 8px 0 0 !important;
      }

      body:not(.account-page) .module-link,
      body:not(.account-page) .module-tab {
        min-height: 50px !important;
        padding: 9px 5px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
      }

      body:not(.account-page) .module-link,
      body:not(.account-page) .module-tab strong {
        font-size: 11.5px !important;
        line-height: 1.1 !important;
      }

      body:not(.account-page) .module-link span,
      body:not(.account-page) .module-tab span {
        display: none !important;
      }

      body:not(.account-page) .page,
      body:not(.account-page) .module-wrap {
        padding-top: 10px !important;
      }

      body:not(.account-page) .hero-main {
        padding: 16px !important;
      }

      body:not(.account-page) .hero h1 {
        font-size: 24px !important;
        line-height: 1.12 !important;
      }

      body:not(.account-page) .hero p {
        font-size: 13px !important;
        line-height: 1.45 !important;
      }

      body:not(.account-page) .hero-actions {
        display: none !important;
      }

      body:not(.account-page) .hero-stats {
        grid-template-columns: 1fr !important;
      }

      body:not(.account-page) .stat {
        padding: 9px 13px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--line-soft) !important;
      }

      body:not(.account-page) .stat:last-child {
        border-bottom: 0 !important;
      }

      body:not(.account-page) .stat strong {
        font-size: 15px !important;
      }

      body:not(.account-page) .stat span {
        font-size: 11px !important;
      }

      body:not(.account-page) .panel-head {
        padding: 13px 12px;
        align-items: flex-start;
      }

      body:not(.account-page) .panel-head h2,
      body:not(.account-page) .panel-title h1 {
        font-size: 18px;
      }

      body:not(.account-page) .filters {
        grid-template-columns: 1fr !important;
        padding: 11px 12px;
      }

      body:not(.account-page) .item,
      body:not(.account-page) .row-item {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
        padding: 13px 12px;
      }

      body:not(.account-page) .item.item-no-media {
        grid-template-columns: minmax(0, 1fr);
      }

      body:not(.account-page) .item.item-group-card.item-no-media {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
      }

      body:not(.account-page) .item.item-group-card .actions {
        width: 100%;
      }

      body:not(.account-page) .badge,
      body:not(.account-page) .row-badge,
      body:not(.account-page) .card-thumb {
        width: 50px !important;
        height: 44px !important;
        border-radius: 8px !important;
      }

      body:not(.account-page) .badge.avatar,
      body:not(.account-page) .row-badge.avatar {
        width: 42px !important;
        height: 42px !important;
      }

      body:not(.account-page) .item h3,
      body:not(.account-page) .row-info h3,
      body:not(.account-page) .compact-row strong,
      body:not(.account-page) .kids-card h3 {
        font-size: 14.5px;
      }

      body:not(.account-page) .actions,
      body:not(.account-page) .row-end,
      body:not(.account-page) .kids-card-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        flex-wrap: wrap;
        gap: 7px;
      }

      body:not(.account-page) .actions .btn,
      body:not(.account-page) .row-end .btn,
      body:not(.account-page) .kids-card-actions .btn {
        flex: 1;
        min-width: 122px;
      }

      body:not(.account-page) .compact-row {
        grid-template-columns: 1fr;
        padding: 12px;
      }

      body:not(.account-page) .kids-card,
      body:not(.account-page) .kids-card-compact {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
      }

      body:not(.account-page) .kids-card-mark,
      body:not(.account-page) .kids-card-compact .kids-card-mark {
        width: 50px;
        height: 50px;
        border-radius: 8px;
      }

      body:not(.account-page) .sponsor-duo,
      body:not(.account-page) .sponsor-slot {
        width: min(100% - 16px, 430px);
      }

      body:not(.account-page) .sponsor-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 9px;
        min-height: 88px;
        padding: 8px;
      }

      body:not(.account-page) .sponsor-card h3 {
        font-size: 13px;
        line-height: 1.18;
      }

      body:not(.account-page) .sponsor-card p {
        font-size: 11.5px;
        line-height: 1.28;
        -webkit-line-clamp: 2;
      }

      body:not(.account-page) .sponsor-fallback-visual span {
        width: 28px;
        height: 28px;
        font-size: 11px;
      }

      body:not(.account-page) .sponsor-fallback-visual strong {
        font-size: 10.5px;
      }

      body:not(.account-page) .footer-inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 380px) {
      body:not(.account-page) .module-link,
      body:not(.account-page) .module-tab strong {
        font-size: 10.5px !important;
      }

      body:not(.account-page) .sponsor-card {
        grid-template-columns: 1fr;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      body:not(.account-page) *,
      body:not(.account-page) *::before,
      body:not(.account-page) *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
      }

      body:not(.account-page) .btn:hover,
      body:not(.account-page) .item:hover,
      body:not(.account-page) .row-item:hover,
      body:not(.account-page) .compact-row:hover,
      body:not(.account-page) .kids-card:hover,
      body:not(.account-page) .side-box:hover,
      body:not(.account-page) .sponsor-card:hover,
      body:not(.account-page) .module-link:hover,
      body:not(.account-page) .module-tab:hover {
        transform: none !important;
      }
    }

    /* Global sober finish: public and account surfaces */
    body:not(.account-page) {
      --bg: #F6F1E8;
      --card: #FAFBF8;
      --card-hover: #F7FAF6;
      --ink: #102A38;
      --ink-2: #1F3434;
      --ink-muted: #60736E;
      --ink-light: #7B8A84;
      --line: #E1E9E5;
      --line-soft: #ECF1EE;
      --accent: #063047;
      --accent-2: #0B4A45;
      --accent-bg: #EEF6EF;
      --accent-line: #CDDCD4;
      --gold-bg: #F7F1DD;
      --gold-line: #E5D7A9;
      --shadow: 0 1px 2px rgba(16,42,56,.035);
      --shadow-lift: 0 1px 2px rgba(16,42,56,.055);
      background: var(--bg) !important;
      color: var(--ink-2);
    }

    body:not(.account-page) .topbar {
      background: #FFFFFF !important;
      border-bottom: 1px solid #E1E9E5;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    body:not(.account-page) .public-community-strip,
    body:not(.account-page) .tagline-strip {
      margin-bottom: 0 !important;
      background: #FAFBF8 !important;
      border-top: 1px solid #E7EEE9 !important;
      border-bottom: 1px solid #E1E9E5 !important;
      box-shadow: none !important;
    }

    body:not(.account-page) .public-community-strip .w.tagline-inner,
    body:not(.account-page) .tagline-strip .w.tagline-inner {
      min-height: 54px !important;
      gap: 3px !important;
      padding-top: 9px !important;
      padding-bottom: 9px !important;
    }

    body:not(.account-page) .tagline-main {
      color: #063047 !important;
      font-size: 14px !important;
      font-weight: 760 !important;
      line-height: 1.2 !important;
    }

    body:not(.account-page) .tagline-sub {
      color: #526A63 !important;
      font-size: 12.5px !important;
      font-weight: 560 !important;
      line-height: 1.3 !important;
    }

    body:not(.account-page) .zones {
      background: #FAFBF8;
      border-bottom: 1px solid #E1E9E5;
    }

    body:not(.account-page) .zone-btn {
      border-radius: 0;
      transition: background .14s ease, color .14s ease, box-shadow .14s ease;
    }

    body:not(.account-page) .zone-btn:hover,
    body:not(.account-page) .zone-btn:focus-visible {
      background: #EEF6EF;
      color: #0B4A45;
      box-shadow: inset 0 -1px 0 #BFD4C8;
      outline: none;
    }

    body:not(.account-page) .zone-btn.on:hover,
    body:not(.account-page) .zone-btn.on:focus-visible {
      color: #0B4A45;
      box-shadow: inset 0 -1px 0 #BFD4C8;
    }

    body:not(.account-page) .module-strip,
    body:not(.account-page) .module-wrap {
      padding-top: 12px;
    }

    body:not(.account-page) .module-links,
    body:not(.account-page) .module-nav {
      background: #FAFBF8;
      border: 1px solid #DDE8E2;
      border-radius: 8px;
      box-shadow: none;
    }

    body:not(.account-page) .module-link,
    body:not(.account-page) .module-tab {
      border-color: #E7EEE9;
      color: #45645C;
      background: #FAFBF8;
      transition: background .14s ease, color .14s ease, border-color .14s ease;
    }

    body:not(.account-page) .module-link:hover,
    body:not(.account-page) .module-tab:hover {
      transform: none;
      background: #F4F8F4;
      color: #0B4A45;
      box-shadow: none;
    }

    body:not(.account-page) .module-link.on,
    body:not(.account-page) .module-tab.on {
      background: #EEF6EF;
      color: #063047;
      font-weight: 780;
      box-shadow: inset 0 -3px 0 #0B4A45;
    }

    body:not(.account-page) .module-link.on span,
    body:not(.account-page) .module-tab.on span {
      color: #31594F;
    }

    body:not(.account-page) .hero,
    body:not(.account-page) .public-module-hero,
    body:not(.account-page) .panel,
    body:not(.account-page) .main-panel,
    body:not(.account-page) .side-box,
    body:not(.account-page) .sponsor-card,
    body:not(.account-page) .kids-card {
      background: #FAFBF8;
      border: 1px solid #DDE8E2;
      border-radius: 8px;
      box-shadow: none;
    }

    body:not(.account-page) .hero-main,
    body:not(.account-page) .panel-head,
    body:not(.account-page) .module-helper,
    body:not(.account-page) .filters,
    body:not(.account-page) .hero-stats {
      background: #FAFBF8;
      border-color: #E7EEE9;
    }

    body:not(.account-page) .item,
    body:not(.account-page) .row-item,
    body:not(.account-page) .compact-row,
    body:not(.account-page) .kids-card {
      background: #FAFBF8;
      border-color: #E7EEE9;
      box-shadow: none;
    }

    body:not(.account-page) .item:hover,
    body:not(.account-page) .row-item:hover,
    body:not(.account-page) .compact-row:hover,
    body:not(.account-page) .kids-card:hover,
    body:not(.account-page) .side-box:hover,
    body:not(.account-page) .sponsor-card:hover {
      transform: none;
      background: #FDFEFC;
      border-color: #D2E1DA;
      box-shadow: none;
    }

    body:not(.account-page) .publish-box,
    body:not(.account-page) .kids-side .publish-box {
      background: #063047;
      border-color: #063047;
      color: #fff;
      box-shadow: none;
    }

    body:not(.account-page) .search-wrap input,
    body:not(.account-page) .filter-input,
    body:not(.account-page) .filter-select {
      background: #FFFFFF;
      border: 1px solid #DDE8E2;
      border-radius: 8px;
      box-shadow: none;
    }

    body:not(.account-page) .search-wrap input:focus,
    body:not(.account-page) .filter-input:focus,
    body:not(.account-page) .filter-select:focus {
      border-color: #9FBCB0;
      box-shadow: 0 0 0 3px rgba(47,107,87,.10);
    }

    body:not(.account-page) .btn {
      border-radius: 999px;
      box-shadow: none;
      transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease;
    }

    body:not(.account-page) .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 2px 6px rgba(6,48,71,.08);
    }

    body:not(.account-page) .btn-accent {
      background: #0B4A45;
      border-color: #0B4A45;
      color: #fff;
    }

    body:not(.account-page) .btn-accent:hover {
      background: #063047;
      border-color: #063047;
    }

    body:not(.account-page) .btn-soft,
    body:not(.account-page) .btn-ghost,
    body:not(.account-page) .view-all {
      background: #FFFFFF;
      border: 1px solid #CFE0D6;
      color: #0B4A45;
    }

    body:not(.account-page) .btn-soft:hover,
    body:not(.account-page) .btn-ghost:hover,
    body:not(.account-page) .view-all:hover {
      background: #EEF6EF;
      border-color: #9FBCB0;
      color: #063047;
    }

    body:not(.account-page) .tag,
    body:not(.account-page) .count,
    body:not(.account-page) .sponsor-label {
      border-radius: 999px;
      font-weight: 700;
      letter-spacing: 0;
      text-transform: none;
    }

    body:not(.account-page) .t-zone,
    body:not(.account-page) .badge-zone {
      background: #F3F6F3;
      border-color: #E2EAE5;
      color: #526A63;
    }

    body:not(.account-page) .t-rubro,
    body:not(.account-page) .badge-category {
      background: #EEF6EF;
      border-color: #D6E6DC;
      color: #255B49;
    }

    body:not(.account-page) .t-gold,
    body:not(.account-page) .t-green,
    body:not(.account-page) .t-red,
    body:not(.account-page) .badge-success,
    body:not(.account-page) .badge-warning,
    body:not(.account-page) .badge-premium,
    body:not(.account-page) .badge-danger,
    body:not(.account-page) .code,
    body:not(.account-page) .code-pill {
      background: #F7F1DD;
      border-color: #E5D7A9;
      color: #715B20;
    }

    body:not(.account-page) .badge,
    body:not(.account-page) .row-badge,
    body:not(.account-page) .card-thumb,
    body:not(.account-page) .kids-card-mark,
    body:not(.account-page) .media-placeholder {
      background: #F3F6F3;
      border-color: #DDE8E2;
      color: #0B4A45;
      box-shadow: none;
    }

    body:not(.account-page) .badge.promo,
    body:not(.account-page) .row-badge.promo {
      background: #F7F1DD;
      border-color: #E5D7A9;
      color: #715B20;
    }

    body:not(.account-page) .sponsor-duo {
      width: min(1200px, calc(100% - 40px));
      margin-top: 12px;
      margin-bottom: 14px;
      gap: 12px;
      min-height: 138px;
    }

    body:not(.account-page) .sponsor-slot {
      width: min(980px, calc(100% - 40px));
      margin-top: 12px;
      margin-bottom: 14px;
      min-height: 138px;
    }

    body:not(.account-page) .sponsor-card-image {
      background: #F3F6F3;
    }

    body:not(.account-page) .sponsor-card-fallback .sponsor-cta-fallback {
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: #0B4A45;
      box-shadow: none;
      text-decoration: none;
    }

    body:not(.account-page) .sponsor-card-fallback .sponsor-cta-fallback:hover {
      background: transparent;
      color: #063047;
      text-decoration: underline;
      box-shadow: none;
    }

    body:not(.account-page) footer {
      background: #FAFBF8;
      border-top: 1px solid #E1E9E5;
      box-shadow: none;
    }

    body.kids-family-page:not(.account-page) {
      background: #F6F1E8;
    }

    .account-mobile-menu-overlay[hidden] {
      display: none;
    }

    .account-mobile-menu-overlay {
      position: fixed;
      inset: 0;
      z-index: 1150;
      display: grid;
      align-items: end;
      background: rgba(16, 42, 56, .38);
    }

    .account-mobile-menu-backdrop {
      position: absolute;
      inset: 0;
    }

    .account-mobile-menu-sheet {
      position: relative;
      display: grid;
      gap: 12px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      max-height: min(72vh, 560px);
      padding: 16px;
      padding-bottom: calc(16px + env(safe-area-inset-bottom));
      border-radius: 18px 18px 0 0;
      background: #FFFFFF;
      box-shadow: 0 -18px 42px rgba(16, 42, 56, .18);
      overflow: auto;
    }

    .account-mobile-menu-handle {
      width: 42px;
      height: 4px;
      border-radius: 999px;
      background: #D6E1DA;
      justify-self: center;
    }

    .account-mobile-menu-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .account-mobile-menu-head h2 {
      margin: 0;
      color: var(--dc-navy);
      font-size: 16px;
      font-weight: 820;
      letter-spacing: 0;
    }

    .account-mobile-menu-close {
      width: 38px;
      height: 38px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 8px;
      background: var(--dc-surface-alt);
      color: var(--dc-text);
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
    }

    .account-mobile-menu-list {
      display: grid;
      gap: 8px;
    }

    .account-mobile-menu-item {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      min-height: 44px;
      padding: 10px 12px;
      border: 1px solid var(--dc-border-soft);
      border-radius: 8px;
      background: var(--dc-surface);
      color: var(--dc-text);
      font-size: 14px;
      font-weight: 760;
      text-align: left;
      cursor: pointer;
    }

    .account-mobile-menu-item.is-active {
      border-color: rgba(111,155,122,.55);
      background: var(--dc-sage-soft);
      color: var(--dc-forest);
    }

    .account-mobile-menu-item--logout {
      margin-top: 4px;
      border-color: rgba(190,80,58,.24);
      background: #FFF8F5;
      color: #9E3F27;
    }

    .account-mobile-menu-item--logout:hover,
    .account-mobile-menu-item--logout:focus-visible {
      border-color: rgba(190,80,58,.42);
      background: #FFF1EC;
    }

    body.account-mobile-menu-open {
      overflow: hidden;
    }

    .account-page .account-mobile-menu-trigger span {
      max-width: 100%;
      line-height: 1.05;
      overflow-wrap: anywhere;
    }

    @media (max-width: 760px) {

      body:not(.account-page) .public-community-strip .w.tagline-inner,
      body:not(.account-page) .tagline-strip .w.tagline-inner {
        min-height: auto !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
      }

      body:not(.account-page) .tagline-main {
        font-size: 12.8px !important;
      }

      body:not(.account-page) .tagline-sub {
        font-size: 11.5px !important;
      }

      body:not(.account-page) .module-wrap .main-panel {
        margin-top: 12px;
      }

      body:not(.account-page) .module-wrap .row-item,
      body:not(.account-page) .item {
        padding: 14px 12px;
      }

      body:not(.account-page) .module-wrap .row-end,
      body:not(.account-page) .actions,
      body:not(.account-page) .kids-card-actions {
        margin-top: 2px;
      }

    }

    /* Public lateral CTA finish */
    html {
      scroll-padding-top: 88px;
    }

    body:not(.account-page) .page,
    body:not(.account-page) .hero,
    body:not(.account-page) .panel,
    body:not(.account-page) .sponsor-slot,
    body:not(.account-page) .module-strip {
      scroll-margin-top: 88px;
    }

    body:not(.account-page) .side {
      align-content: start;
    }

    body:not(.account-page) .side-box.publish-box,
    body:not(.account-page) .kids-side .side-box.publish-box {
      background: #063047 !important;
      border-color: #063047 !important;
      color: #FFFFFF !important;
      box-shadow: none !important;
    }

    body:not(.account-page) .side-box.publish-box:hover,
    body:not(.account-page) .kids-side .side-box.publish-box:hover {
      background: #0B4A45 !important;
      border-color: #2F6B57 !important;
      color: #FFFFFF !important;
      transform: translateY(-1px);
      box-shadow: 0 1px 2px rgba(16,42,56,.08) !important;
    }

    body:not(.account-page) .side-box.publish-box h3,
    body:not(.account-page) .side-box.publish-box p,
    body:not(.account-page) .kids-side .side-box.publish-box h3,
    body:not(.account-page) .kids-side .side-box.publish-box p {
      color: #FFFFFF !important;
    }

    body:not(.account-page) .side-box.publish-box p,
    body:not(.account-page) .kids-side .side-box.publish-box p {
      opacity: .82;
    }

    body:not(.account-page) .side-box.publish-box .btn,
    body:not(.account-page) .kids-side .side-box.publish-box .btn {
      background: #FAFBF8 !important;
      border-color: rgba(255,255,255,.70) !important;
      color: #063047 !important;
      box-shadow: none !important;
    }

    body:not(.account-page) .side-box.publish-box .btn:hover,
    body:not(.account-page) .kids-side .side-box.publish-box .btn:hover {
      background: #EEF6EF !important;
      border-color: #FFFFFF !important;
      color: #063047 !important;
      transform: none;
      box-shadow: none !important;
    }

    @media (max-width: 760px) {
      html {
        scroll-padding-top: 104px;
      }

      body:not(.account-page) .page,
      body:not(.account-page) .hero,
      body:not(.account-page) .panel,
      body:not(.account-page) .sponsor-slot,
      body:not(.account-page) .module-strip {
        scroll-margin-top: 104px;
      }
    }

    /* Public module hero CTA layout */
    body:not(.account-page) .content-grid {
      grid-template-columns: minmax(0, 1fr) !important;
    }

    body:not(.account-page) .hero-main {
      grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
      align-items: stretch !important;
      gap: 18px !important;
    }

    body:not(.account-page) .hero-main > div:first-child {
      align-self: center;
    }

    body:not(.account-page) .hero-cta-card {
      display: grid;
      align-content: center;
      gap: 9px;
      min-height: 138px;
      border: 1px solid #063047;
      border-radius: 8px;
      padding: 16px;
      background: #063047;
      color: #FFFFFF;
      box-shadow: none;
      transition: background .14s ease, border-color .14s ease, transform .14s ease, box-shadow .14s ease;
    }

    body:not(.account-page) .hero-cta-card:hover {
      background: #0B4A45;
      border-color: #2F6B57;
      transform: translateY(-1px);
      box-shadow: 0 1px 2px rgba(16,42,56,.08);
    }

    body:not(.account-page) .hero-cta-card h2 {
      color: #FFFFFF;
      font-size: 16px;
      line-height: 1.18;
      font-weight: 780;
      letter-spacing: 0;
    }

    body:not(.account-page) .hero-cta-card p {
      margin: 0;
      color: rgba(255,255,255,.82);
      font-size: 12.5px;
      line-height: 1.4;
    }

    body:not(.account-page) .hero-cta-card .btn {
      width: 100%;
      margin-top: 3px;
      background: #FAFBF8;
      border-color: rgba(255,255,255,.70);
      color: #063047;
      box-shadow: none;
    }

    body:not(.account-page) .hero-cta-card .btn:hover {
      background: #EEF6EF;
      border-color: #FFFFFF;
      color: #063047;
      transform: none;
      box-shadow: none;
    }

    @media (max-width: 920px) {
      body:not(.account-page) .hero-main {
        grid-template-columns: 1fr !important;
      }

      body:not(.account-page) .hero-cta-card {
        width: 100%;
        min-height: 0;
      }
    }

    /* Public module hero compact rhythm */
    body:not(.account-page) .public-module-hero .hero-main {
      padding: 16px 18px 14px !important;
      grid-template-columns: minmax(0, 1fr) minmax(236px, 292px) !important;
      gap: 16px !important;
    }

    body:not(.account-page) .public-module-hero h1 {
      font-size: 26px !important;
      line-height: 1.06 !important;
    }

    body:not(.account-page) .public-module-hero .hero-main > div:first-child > p {
      max-width: 620px;
      margin-top: 4px;
      font-size: 13px !important;
      line-height: 1.35 !important;
    }

    body:not(.account-page) .hero-cta-card {
      min-height: 0;
      gap: 7px;
      padding: 13px 14px;
    }

    body:not(.account-page) .hero-cta-card h2 {
      font-size: 14.5px;
      line-height: 1.15;
    }

    body:not(.account-page) .hero-cta-card p {
      font-size: 11.5px;
      line-height: 1.32;
    }

    body:not(.account-page) .hero-cta-card .btn {
      min-height: 32px;
      margin-top: 1px;
      font-size: 12px;
    }

    body:not(.account-page) .public-module-hero .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: stretch;
      gap: 0;
      background: #F7FAF8;
    }

    body:not(.account-page) .public-module-hero .stat {
      min-width: 0;
      padding: 8px 16px;
      border-right: 1px solid #E7EEE9;
    }

    body:not(.account-page) .public-module-hero .stat:last-child {
      border-right: 0;
    }

    body:not(.account-page) .public-module-hero .stat strong {
      font-size: 14px;
      line-height: 1.15;
    }

    body:not(.account-page) .public-module-hero .stat span {
      font-size: 10.5px;
      line-height: 1.2;
    }

    @media (max-width: 920px) {
      body:not(.account-page) .public-module-hero .hero-main {
        grid-template-columns: 1fr !important;
      }
    }

    @media (max-width: 680px) {
      body:not(.account-page) .public-module-hero .hero-main {
        padding: 14px 12px 12px !important;
        gap: 11px !important;
      }

      body:not(.account-page) .public-module-hero h1 {
        font-size: 22px !important;
      }

      body:not(.account-page) .public-module-hero .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      }

      body:not(.account-page) .public-module-hero .stat {
        padding: 8px 9px !important;
        border-right: 1px solid #E7EEE9 !important;
        border-bottom: 0 !important;
      }

      body:not(.account-page) .public-module-hero .stat:last-child {
        border-right: 0 !important;
      }

      body:not(.account-page) .public-module-hero .stat strong {
        font-size: 12.5px !important;
      }

      body:not(.account-page) .public-module-hero .stat span {
        font-size: 9.5px !important;
      }
    }

    /* Public home gateway */
    body:not(.account-page) .home-gateway .main-panel[hidden] {
      display: none !important;
    }

    body:not(.account-page) .home-free-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 18px;
      margin-top: 14px;
      padding: 22px;
      border: 1px solid #DDE8E2;
      border-radius: 10px;
      background: #FFFFFF;
      box-shadow: none;
    }

    body:not(.account-page) .home-free-kicker {
      margin: 0 0 7px;
      color: #0B4A45;
      font-size: 11px;
      font-weight: 780;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    body:not(.account-page) .home-free-card h1 {
      margin: 0;
      max-width: 760px;
      color: #063047;
      font-size: 24px;
      line-height: 1.16;
      font-weight: 780;
      letter-spacing: 0;
    }

    body:not(.account-page) .home-free-highlight {
      color: #16A34A;
      font: inherit;
      font-weight: 860;
      white-space: nowrap;
    }

    body:not(.account-page) .home-free-card p:not(.home-free-kicker) {
      margin: 7px 0 0;
      max-width: 680px;
      color: #526A63;
      font-size: 14px;
      line-height: 1.45;
      font-weight: 450;
    }

    body:not(.account-page) .home-free-commercial {
      max-width: 720px;
      margin-top: 14px;
      padding-top: 13px;
      border-top: 1px solid #E1E9E5;
    }

    body:not(.account-page) .home-free-commercial .home-free-kicker {
      margin-bottom: 5px;
    }

    body:not(.account-page) .home-free-commercial p:not(.home-free-kicker) {
      margin-top: 0;
      font-size: 13px;
      line-height: 1.45;
    }

    body:not(.account-page) .home-free-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    @media (max-width: 760px) {
      body:not(.account-page) .home-free-card {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 12px;
        padding: 18px 16px;
      }

      body:not(.account-page) .home-free-card h1 {
        font-size: 22px;
      }

      body:not(.account-page) .home-free-highlight {
        white-space: normal;
      }

      body:not(.account-page) .home-free-actions {
        justify-content: stretch;
      }

      body:not(.account-page) .home-free-actions .btn {
        width: 100%;
        justify-content: center;
      }
    }

    /* Public WhatsApp CTA */
    body:not(.account-page) .btn-wa {
      background: #25D366;
      border-color: #1EBE5D;
      color: #053B1D;
      font-weight: 850;
      box-shadow: 0 1px 2px rgba(37, 211, 102, .22);
    }

    body:not(.account-page) .btn-wa:hover,
    body:not(.account-page) .btn-wa:focus-visible {
      background: #1DB954;
      border-color: #159947;
      color: #032D16;
      box-shadow: 0 2px 5px rgba(37, 211, 102, .24);
      outline: none;
    }

    /* Public global search */
    body:not(.account-page) .search-wrap.global-search-ready {
      position: relative;
      z-index: 120;
    }

    body:not(.account-page) .global-search-panel {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      display: grid;
      gap: 8px;
      max-height: min(68vh, 520px);
      padding: 10px;
      overflow-y: auto;
      border: 1px solid #DDE8E2;
      border-radius: 10px;
      background: #FFFFFF;
      box-shadow: 0 14px 36px rgba(16, 42, 56, .12);
    }

    body:not(.account-page) .global-search-panel[hidden] {
      display: none !important;
    }

    body:not(.account-page) .global-search-head {
      padding: 4px 6px 2px;
      color: #607575;
      font-size: 11px;
      font-weight: 760;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    body:not(.account-page) .global-search-section {
      display: grid;
      gap: 4px;
      padding-top: 4px;
      border-top: 1px solid #EEF3EF;
    }

    body:not(.account-page) .global-search-section h3 {
      margin: 0;
      padding: 2px 6px;
      color: #0B4A45;
      font-size: 12px;
      font-weight: 780;
    }

    body:not(.account-page) .global-search-result,
    body:not(.account-page) .global-search-all {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 9px 10px;
      border: 1px solid transparent;
      border-radius: 8px;
      color: #102A38;
      text-decoration: none;
      transition: background .14s ease, border-color .14s ease;
    }

    body:not(.account-page) .global-search-result:hover,
    body:not(.account-page) .global-search-result:focus-visible,
    body:not(.account-page) .global-search-result.is-active,
    body:not(.account-page) .global-search-all:hover,
    body:not(.account-page) .global-search-all:focus-visible {
      background: #F5FBF8;
      border-color: #D6E6DC;
      outline: none;
    }

    body:not(.account-page) .global-search-result-main {
      display: grid;
      min-width: 0;
      gap: 2px;
    }

    body:not(.account-page) .global-search-result-main strong {
      overflow: hidden;
      color: #063047;
      font-size: 13px;
      font-weight: 760;
      line-height: 1.24;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    body:not(.account-page) .global-search-result-main small {
      overflow: hidden;
      color: #607575;
      font-size: 11px;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    body:not(.account-page) .global-search-module {
      flex: 0 0 auto;
      padding: 4px 7px;
      border-radius: 999px;
      background: #EEF6EF;
      color: #255B49;
      font-size: 10.5px;
      font-weight: 760;
    }

    body:not(.account-page) .global-search-all {
      justify-content: center;
      margin-top: 2px;
      border-color: #DDE8E2;
      color: #0B4A45;
      font-size: 12px;
      font-weight: 780;
    }

    body:not(.account-page) .global-search-empty {
      display: grid;
      gap: 3px;
      padding: 12px;
      color: #607575;
      font-size: 12px;
      line-height: 1.35;
    }

    body:not(.account-page) .global-search-empty strong {
      color: #063047;
      font-size: 13px;
    }

    @media (max-width: 760px) {
      body:not(.account-page) .search-wrap.global-search-ready {
        z-index: 140;
      }

      body:not(.account-page) .global-search-panel {
        top: calc(100% + 6px);
        max-height: 58vh;
        padding: 8px;
        border-radius: 8px;
      }

      body:not(.account-page) .global-search-result {
        align-items: flex-start;
      }

      body:not(.account-page) .global-search-module {
        display: none;
      }
    }

    @media (min-width: 761px) {
      body:not(.account-page) .module-link,
      body:not(.account-page) .module-tab {
        display: grid !important;
        grid-template-rows: 18px 30px;
        align-content: center !important;
        align-items: start !important;
        justify-content: stretch !important;
        min-height: 76px !important;
        padding: 12px 14px 11px !important;
        line-height: 1.15 !important;
      }

      body:not(.account-page) .module-tab strong {
        display: block;
        min-height: 18px;
        line-height: 1.15 !important;
      }

      body:not(.account-page) .module-link span,
      body:not(.account-page) .module-tab span {
        display: block;
        margin-top: 0 !important;
        max-width: 100%;
        line-height: 1.16 !important;
      }

      body:not(.account-page) .module-link.on,
      body:not(.account-page) .module-tab.on {
        font-weight: 750;
      }
    }

    /* Access page */
    body.access-page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: #F6F1E8;
      color: #102A38;
    }

    .access-topbar {
      background: #FFFFFF;
      border-bottom: 1px solid #DDE8E2;
    }

    .access-topbar-inner {
      min-height: 56px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .access-back {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      color: #063047;
      transition: background .12s ease, border-color .12s ease, transform .12s ease;
    }

    .access-back:hover {
      background: #F7FAF8;
      border-color: #DDE8E2;
      transform: translateX(-1px);
    }

    .access-back svg {
      width: 18px;
      height: 18px;
      display: block;
    }

    .access-main {
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
      padding: 14px 20px 8px;
      flex: 1;
    }

    .access-card {
      background: #FFFFFF;
      border: 1px solid #DDE8E2;
      border-radius: 14px;
      box-shadow: 0 1px 2px rgba(0,0,0,.04);
      padding: 18px 20px;
    }

    .access-copy {
      display: grid;
      gap: 4px;
      margin-bottom: 12px;
    }

    .access-copy h1 {
      color: #063047;
      font-family: var(--font-display);
      font-size: 25px;
      line-height: 1.08;
      font-weight: 820;
      letter-spacing: 0;
    }

    .access-copy p:not(.eyebrow) {
      color: #486263;
      font-size: 13.5px;
      line-height: 1.4;
    }

    .access-copy p:not(.eyebrow) strong {
      color: #13A75A;
      font-weight: 850;
    }

    .access-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      border: 1px solid #DDE8E2;
      border-radius: 999px;
      padding: 4px;
      background: #F7FAF8;
      margin-bottom: 10px;
    }

    .access-tab {
      min-height: 34px;
      border-radius: 999px;
      color: #486263;
      font-size: 13px;
      font-weight: 760;
    }

    .access-tab.is-active {
      background: #0B4A45;
      color: #FFFFFF;
      box-shadow: 0 1px 2px rgba(0,0,0,.04);
    }

    .access-google {
      width: 100%;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid #DDE8E2;
      border-radius: 999px;
      background: #FFFFFF;
      color: #1F3434;
      font-size: 14px;
      font-weight: 780;
      transition: background .12s ease, border-color .12s ease, transform .12s ease;
    }

    .access-google:hover {
      background: #F7FAF8;
      border-color: #BFD1C9;
      transform: translateY(-1px);
    }

    .access-google-icon {
      width: 18px;
      height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    .access-google-icon svg {
      width: 18px;
      height: 18px;
      display: block;
    }

    .access-divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 10px 0;
      color: #607575;
      font-size: 12px;
      font-weight: 700;
    }

    .access-divider::before,
    .access-divider::after {
      content: "";
      height: 1px;
      flex: 1;
      background: #E3EBE8;
    }

    .access-mode {
      display: grid;
      gap: 8px;
    }

    .access-mode[hidden] {
      display: none;
    }

    .access-mode-copy {
      color: #607575;
      font-size: 12.5px;
      line-height: 1.4;
    }

    body.access-page .access-intent-choice {
      display: grid;
      gap: 7px;
      min-width: 0;
      margin: 0;
      padding: 0;
      border: 0;
    }

    body.access-page .access-intent-choice legend {
      padding: 0;
      color: #102A38;
      font-size: 13px;
      font-weight: 820;
    }

    body.access-page .access-intent-help {
      margin: -2px 0 1px;
      color: #607575;
      font-size: 11.5px;
      line-height: 1.35;
      font-weight: 600;
    }

    body.access-page .access-intent-options {
      display: grid;
      gap: 7px;
    }

    body.access-page .access-intent-option {
      display: grid;
      grid-template-columns: 20px minmax(0, 1fr);
      align-items: start;
      gap: 9px;
      min-height: 52px;
      padding: 9px 10px;
      border: 1px solid #DDE8E2;
      border-radius: 10px;
      background: #FFFFFF;
      color: #2F4A4A;
      cursor: pointer;
    }

    body.access-page .access-intent-option:has(input:checked) {
      border-color: #8DB8A1;
      background: #F0F8F4;
      box-shadow: 0 0 0 3px rgba(111,155,122,.12);
    }

    body.access-page .access-intent-option input {
      width: 18px;
      height: 18px;
      margin: 2px 0 0;
      accent-color: #0B4A45;
    }

    body.access-page .access-intent-option span {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    body.access-page .access-intent-option strong {
      color: #102A38;
      font-size: 12.5px;
      line-height: 1.25;
      font-weight: 820;
    }

    body.access-page .access-intent-option small {
      color: #607575;
      font-size: 11.5px;
      line-height: 1.32;
      font-weight: 580;
    }

    body.access-page .access-intent-option:focus-within {
      outline: 3px solid rgba(111,155,122,.24);
      outline-offset: 1px;
    }

    body.access-page .access-intent-choice[data-commercial-only="true"] [data-access-audience-option="neighbor"] {
      display: none;
    }

    .access-field {
      display: grid;
      gap: 6px;
      color: #2F4A4A;
      font-size: 12px;
      font-weight: 760;
    }

    .access-field input {
      width: 100%;
      min-height: 38px;
      border: 1px solid #DDE8E2;
      border-radius: 10px;
      background: #FFFFFF;
      color: #102A38;
      padding: 0 12px;
      font-size: 14px;
      outline: none;
    }

    .access-field input:focus {
      border-color: #8DB8A1;
      box-shadow: 0 0 0 4px rgba(111,155,122,.16);
    }

    body.access-page .access-legal-consent {
      display: grid;
      grid-template-columns: 18px minmax(0, 1fr);
      align-items: start;
      gap: 8px;
      color: #526969;
      font-size: 12px;
      line-height: 1.42;
      cursor: pointer;
    }

    body.access-page .access-legal-consent input {
      width: 16px;
      height: 16px;
      margin: 1px 0 0;
      accent-color: #2E7252;
    }

    body.access-page .access-legal-consent a {
      color: #245F79;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .access-password-control {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 44px;
      align-items: center;
      gap: 6px;
      min-width: 0;
    }

    .access-password-control input {
      min-width: 0;
      min-height: 44px;
    }

    .access-password-toggle {
      position: relative;
      width: 44px;
      min-width: 44px;
      height: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #DDE8E2;
      border-radius: 10px;
      background: #FFFFFF;
      color: #486263;
      cursor: pointer;
      transition: background .12s ease, border-color .12s ease, color .12s ease;
    }

    .access-password-toggle:hover {
      border-color: #8DB8A1;
      background: #F7FAF8;
      color: #0B4A45;
    }

    .access-password-toggle:focus-visible {
      outline: 3px solid rgba(111,155,122,.28);
      outline-offset: 2px;
    }

    .access-password-toggle[aria-pressed="true"] {
      border-color: #8DB8A1;
      background: #EAF6EF;
      color: #0B4A45;
    }

    .access-password-toggle[aria-pressed="true"]::after {
      content: "";
      position: absolute;
      width: 22px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transform: rotate(-42deg);
    }

    .access-password-toggle svg {
      width: 22px;
      height: 22px;
      display: block;
    }

    .auth-field-help {
      margin-top: -1px;
      color: #607575;
      font-size: 11.5px;
      line-height: 1.35;
      font-weight: 600;
    }

    .access-submit {
      min-height: 38px;
      margin-top: 2px;
      background: #0B4A45;
      border-color: #0B4A45;
    }

    .access-links {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 2px;
    }

    .access-links button {
      color: #0B4A45;
      font-size: 12.5px;
      font-weight: 780;
    }

    .access-message {
      margin-bottom: 10px;
      border: 1px solid #DDE8E2;
      border-radius: 10px;
      padding: 10px 12px;
      background: #F7FAF8;
      color: #2F4A4A;
      font-size: 12.5px;
      line-height: 1.35;
      font-weight: 650;
    }

    .access-message[data-tone="error"] {
      border-color: #F0C8BF;
      background: #FFF4F0;
      color: #9E3F27;
    }

    .access-message[data-tone="success"] {
      border-color: #BFE2CD;
      background: #F0FBF4;
      color: #0D5F2D;
    }

    .access-message-signup {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 3px;
      margin-top: 6px;
    }

    .access-message-signup[hidden] {
      display: none;
    }

    .access-message-signup button {
      min-height: 44px;
      margin: -8px 0;
      padding: 0 3px;
      color: inherit;
      font: inherit;
      font-weight: 850;
      text-decoration: underline;
      text-underline-offset: 2px;
      cursor: pointer;
    }

    .access-message-signup button:focus-visible {
      outline: 3px solid rgba(158,63,39,.2);
      outline-offset: 1px;
      border-radius: 4px;
    }

    body.access-page .footer {
      margin-top: 0;
      padding: 14px 0;
      box-shadow: none;
    }

    body.access-page .footer-inner {
      padding-top: 0;
      padding-bottom: 0;
    }

    /* Legal and contact pages */
    body.legal-page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: #F6F1E8;
      color: #102A38;
    }

    .legal-main {
      width: 100%;
      max-width: 920px;
      padding: 24px 20px 32px;
      flex: 1;
    }

    .legal-card {
      background: #FFFFFF;
      border: 1px solid #DDE8E2;
      border-radius: 14px;
      box-shadow: 0 1px 2px rgba(0,0,0,.04);
      padding: clamp(22px, 4vw, 34px);
    }

    .legal-card h1 {
      margin: 4px 0 18px;
      color: #063047;
      font-family: var(--font-display);
      font-size: clamp(27px, 4vw, 38px);
      line-height: 1.05;
      letter-spacing: 0;
      font-weight: 820;
    }

    .legal-content {
      display: grid;
      gap: 12px;
    }

    .legal-content h2 {
      margin-top: 14px;
      color: #063047;
      font-family: var(--font-display);
      font-size: 18px;
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: 0;
    }

    .legal-content p,
    .legal-content li {
      color: #2F4A4A;
      font-size: 14px;
      line-height: 1.58;
    }

    .legal-content ul {
      display: grid;
      gap: 7px;
      padding-left: 20px;
    }

    .legal-detail {
      display: inline-flex;
      width: fit-content;
      max-width: 100%;
      border: 1px solid #DDE8E2;
      border-radius: 999px;
      background: #F7FAF8;
      padding: 8px 12px;
      color: #0B4A45 !important;
      font-weight: 760;
      overflow-wrap: anywhere;
    }

    .legal-detail-value::before {
      content: " ";
      white-space: pre;
    }

    .legal-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      margin: 4px 0 2px;
    }

    .legal-muted-action {
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      border: 1px solid #DDE8E2;
      border-radius: 999px;
      background: #F7FAF8;
      color: #607575;
      padding: 0 14px;
      font-size: 13px;
      font-weight: 760;
    }

    body.legal-page .footer {
      margin-top: 0;
      padding: 16px 0;
      box-shadow: none;
    }

    /* Single public search source: the header search is the only visible search box. */
    body:not(.account-page):not(.access-page):not(.legal-page) .filters .filter-input {
      display: none !important;
    }

    body:not(.account-page):not(.access-page):not(.legal-page) .filters {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    }

    /* Final public UX polish: cleaner profile sheets, editorial tagline, no fake stats. */
    body:not(.account-page) .public-module-hero {
      gap: 16px !important;
    }

    body:not(.account-page) .public-module-hero .hero-stats {
      display: none !important;
    }

    @media (min-width: 761px) {
      body:not(.account-page) .home-map-card {
        grid-template-columns: 54px minmax(260px, auto) auto !important;
        justify-content: center !important;
        max-width: 780px !important;
        margin: 14px auto 20px !important;
        padding: 4px 0 !important;
        gap: 12px !important;
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
      }

      body:not(.account-page) .home-map-visual {
        min-height: 54px !important;
        border-radius: 10px !important;
        background: #EEF6EF !important;
        box-shadow: none !important;
      }

      body:not(.account-page) .home-map-card h2 {
        font-size: 22px !important;
      }

      body:not(.account-page) .home-map-card p:not(.home-free-kicker) {
        margin-top: 2px !important;
      }

      body:not(.account-page) .zones {
        border-top: 1px solid #E1E9E5 !important;
        border-bottom: 1px solid #E1E9E5 !important;
        background: #FAFBF8 !important;
      }

      body:not(.account-page) .zones .w {
        justify-content: center !important;
        gap: 0 !important;
      }

      body:not(.account-page) .zone-btn {
        min-height: 36px !important;
        padding: 0 14px !important;
        border-right: 1px solid #E1E9E5 !important;
      }

      body:not(.account-page) .zone-btn:first-child {
        border-left: 1px solid #E1E9E5 !important;
      }

      body:not(.account-page) .filters {
        padding: 0 !important;
        gap: 0 !important;
        border-top: 1px solid #E7EEE9 !important;
        border-bottom: 1px solid #E7EEE9 !important;
        background: #FFFFFF !important;
      }

      body:not(.account-page) .filter-input,
      body:not(.account-page) .filter-select {
        height: 46px !important;
        border: 0 !important;
        border-right: 1px solid #E7EEE9 !important;
        border-radius: 0 !important;
        background: #FFFFFF !important;
      }

      body:not(.account-page) .filters .filter-select:last-child,
      body:not(.account-page) .filters .filter-input:last-child {
        border-right: 0 !important;
      }

      body:not(.account-page) .footer-inner {
        justify-content: center !important;
        align-items: center !important;
        gap: 10px 18px !important;
        text-align: center !important;
      }

      body:not(.account-page) .footer-links {
        justify-content: center !important;
        gap: 12px !important;
      }
    }

    body:not(.account-page) .tagline-strip {
      width: min(900px, calc(100% - 32px)) !important;
      margin: 18px auto 14px !important;
      padding: 0 !important;
      background: #FBFAF5 !important;
      border: 1px solid #DDE8E2 !important;
      border-radius: 18px !important;
      box-shadow: 0 1px 0 rgba(255,255,255,.9) inset !important;
    }

    body:not(.account-page) .tagline-strip .w.tagline-inner {
      width: 100% !important;
      min-height: auto !important;
      margin: 0 auto !important;
      border: 0 !important;
      padding: 24px 26px !important;
      align-items: center !important;
      text-align: center !important;
      gap: 8px !important;
    }

    body:not(.account-page) .tagline-main {
      color: #063047 !important;
      font-size: 24px !important;
      line-height: 1.12 !important;
      font-weight: 860 !important;
      letter-spacing: 0 !important;
    }

    body:not(.account-page) .tagline-sub {
      color: #526A63 !important;
      font-size: 16px !important;
      line-height: 1.35 !important;
      font-weight: 560 !important;
      letter-spacing: 0 !important;
    }

    body:not(.account-page) .home-free-commercial p:not(.home-free-kicker) + p:not(.home-free-kicker) {
      margin-top: 10px !important;
    }

    @media (max-width: 560px) {
      .access-main {
        padding: 24px 14px 28px;
      }

      .access-card {
        padding: 20px;
        border-radius: 12px;
      }

      .access-copy h1 {
        font-size: 24px;
      }

      .access-links {
        flex-direction: column;
        align-items: flex-start;
      }

      .legal-main {
        padding: 18px 14px 24px;
      }

      .legal-card {
        padding: 20px;
        border-radius: 12px;
      }

      .legal-actions {
        align-items: stretch;
      }

      .legal-actions .btn,
      .legal-muted-action {
        width: 100%;
        justify-content: center;
      }

      body:not(.account-page) .tagline-strip .w.tagline-inner {
        width: 100% !important;
        padding: 15px 16px !important;
        gap: 5px !important;
      }

      body:not(.account-page) .tagline-strip {
        width: calc(100% - 24px) !important;
        margin: 10px auto 10px !important;
        border-radius: 14px !important;
      }

      body:not(.account-page) .tagline-main {
        font-size: 17px !important;
        line-height: 1.18 !important;
      }

      body:not(.account-page) .tagline-sub {
        font-size: 13.5px !important;
        line-height: 1.32 !important;
      }

    }

    /* Sprint UX desktop: zones and module categories as consecutive bars. */
    @media (min-width: 761px) {
      body:not(.account-page) .zones {
        margin: 0 !important;
        border-top: 0 !important;
        border-bottom: 1px solid #DDE8E2 !important;
        background: #FFFFFF !important;
      }

      body:not(.account-page) .zones .w {
        justify-content: flex-start !important;
        gap: 0 !important;
      }

      body:not(.account-page) .zone-btn {
        min-height: 32px !important;
        padding: 0 13px !important;
        border-right: 1px solid #E7EEE9 !important;
        color: #526A63 !important;
        font-size: 12px !important;
      }

      body:not(.account-page) .zone-btn:first-child {
        border-left: 1px solid #E7EEE9 !important;
      }

      body:not(.account-page) .zone-btn.on {
        color: #063047 !important;
        background: #EEF6EF !important;
        box-shadow: inset 0 -2px 0 #0B4A45 !important;
      }

      body:not(.account-page) .zone-btn.on::after {
        display: none !important;
      }

      body:not(.account-page) .module-strip {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #DDE8E2 !important;
        background: #FFFFFF !important;
      }

      body:not(.account-page) .module-links {
        width: min(var(--max), 100%) !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
      }

      body:not(.account-page) .module-link {
        min-height: 44px !important;
        padding: 9px 13px !important;
        border-right: 1px solid #E7EEE9 !important;
        background: transparent !important;
        color: #45645C !important;
      }

      body:not(.account-page) .module-link:first-child {
        border-left: 1px solid #E7EEE9 !important;
      }

      body:not(.account-page) .module-link.on {
        background: #EEF6EF !important;
        color: #063047 !important;
        box-shadow: inset 0 -3px 0 #0B4A45 !important;
      }

      body:not(.account-page) .module-link.on span {
        color: #31594F !important;
      }

      body:not(.account-page) .panel > .budget-entry-card {
        margin: 0 !important;
        padding: 14px 16px !important;
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        border: 0 !important;
        border-bottom: 1px solid #E7EEE9 !important;
        border-radius: 0 !important;
        background: #FFF8F2 !important;
        box-shadow: none !important;
      }

      body:not(.account-page) .panel > .budget-entry-card .budget-entry-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
      }

      body:not(.account-page) .panel > .budget-entry-card h2 {
        font-size: 17px !important;
      }

      body:not(.account-page) .panel > .budget-entry-card p {
        max-width: 760px !important;
        font-size: 13px !important;
        line-height: 1.42 !important;
      }
    }

    .recommendation-detail-gallery-thumb[hidden] {
      display: none;
    }

    @media (min-width: 761px) {
      body:not(.account-page) footer {
        padding: 14px 0 18px !important;
      }

      body:not(.account-page) .footer-inner {
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 12px !important;
        text-align: center !important;
      }

      body:not(.account-page) .footer-inner > div {
        display: flex !important;
        align-items: center !important;
      }

      body:not(.account-page) .footer-legal {
        margin: 0 !important;
      }

      body:not(.account-page) .footer-links {
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
      }
    }

    /* Sprint frontend polish: unified listing panels, pagination and public detail sheet. */
    body:not(.account-page) .listing-section {
      grid-column: 1 / -1;
      overflow: hidden;
    }

    body:not(.account-page) .listing-section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: start;
      gap: 18px;
      border-bottom: 1px solid var(--line-soft);
    }

    body:not(.account-page) .listing-section-title h1 {
      margin: 0;
      color: var(--ink);
      font-family: var(--font-display);
      font-size: 28px;
      line-height: 1.1;
      font-weight: 780;
      letter-spacing: 0;
    }

    body:not(.account-page) .listing-section-title p {
      max-width: 760px;
      margin-top: 6px;
    }

    body:not(.account-page) .listing-section-title .module-map-cta {
      margin-top: 10px;
    }

    body:not(.account-page) .listing-section-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
      min-width: 220px;
    }

    body:not(.account-page) .listing-section-meta {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
      min-width: 220px;
    }

    body:not(.account-page) .listing-section-meta .listing-section-actions {
      min-width: 0;
    }

    body:not(.account-page) .listing-section-actions .btn {
      min-height: 38px;
      white-space: nowrap;
    }

    body:not(.account-page) .listing-section-actions .count,
    body:not(.account-page) .listing-section-meta > .count {
      min-height: 30px;
      display: inline-flex;
      align-items: center;
    }

    body:not(.account-page) .kids-directory-panel {
      margin-top: 0;
    }

    body:not(.account-page) .kids-filter-row {
      grid-template-columns: minmax(240px, 1fr) minmax(180px, 220px) 180px;
    }

    body:not(.account-page) .kids-directory-panel .kids-list {
      border-top: 1px solid var(--line-soft);
    }

    body:not(.account-page) .kids-layout {
      display: block;
      margin-top: 10px;
    }

    body:not(.account-page) .sponsor-slot-top {
      margin-top: 8px;
      margin-bottom: 8px;
    }

    body:not(.account-page) .sponsor-slot-top + .page {
      padding-top: 8px;
    }

    .listing-pagination {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 16px;
      border-top: 1px solid var(--line-soft);
      background: #FAFBF8;
    }

    .listing-pagination[hidden] {
      display: none !important;
    }

    .listing-pagination-status {
      color: var(--ink-muted);
      font-size: 12.5px;
      font-weight: 720;
      line-height: 1.3;
    }

    .listing-pagination-size {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 760;
    }

    .listing-pagination-size .filter-select {
      width: 86px;
      height: 36px !important;
      border: 1px solid var(--line) !important;
      border-radius: 8px !important;
      background: #fff !important;
    }

    .listing-pagination-buttons {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .listing-pagination .btn {
      min-height: 36px;
      min-width: 102px;
      justify-content: center;
    }

    body:not(.account-page) .btn-map {
      border-color: rgba(216, 111, 50, .28);
      background: #FFF8F2;
      color: #8A421D;
      font-weight: 760;
    }

    .recommendation-detail-primary {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      align-items: start;
      padding-right: 0;
    }

    .recommendation-detail-media-column {
      display: grid;
      min-width: 0;
      gap: 10px;
    }

    .recommendation-detail-photo,
    .recommendation-detail-media,
    .recommendation-detail-avatar {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
      border-radius: 14px;
    }

    .recommendation-detail-photo-shell {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
    }

    .recommendation-detail-photo .recommendation-detail-media {
      width: 100%;
      height: 100%;
      aspect-ratio: auto;
    }

    .recommendation-detail-titleblock {
      display: grid;
      min-width: 0;
      align-content: start;
      gap: 10px;
    }

    .recommendation-detail-titleblock h2 {
      margin: 0;
      padding-right: 36px;
      font-size: 24px;
      line-height: 1.12;
      font-weight: 780;
    }

    .recommendation-detail-description {
      max-width: 100%;
      margin: 0;
      font-weight: 475;
      overflow-wrap: anywhere;
      white-space: pre-line;
    }

    .recommendation-detail-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 0;
    }

    .recommendation-detail-tags > span {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      border: 1px solid rgba(216, 111, 50, .24);
      background: #FFF8F2;
      color: #8A421D;
      padding: 3px 9px;
      font-size: 11px;
      font-weight: 600;
    }

    .recommendation-detail-featured-disclosure {
      max-width: 100%;
    }

    .recommendation-detail-featured-disclosure summary {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: 1px solid rgba(216, 111, 50, .24);
      border-radius: 999px;
      background: #FFF8F2;
      color: #8A421D;
      padding: 3px 9px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 650;
      list-style: none;
    }

    .recommendation-detail-featured-disclosure summary::-webkit-details-marker {
      display: none;
    }

    .recommendation-detail-featured-disclosure summary:focus-visible {
      outline: 3px solid rgba(216, 111, 50, .28);
      outline-offset: 2px;
    }

    .recommendation-detail-featured-disclosure p,
    .recommendation-detail-sheet .recommendation-detail-featured-disclosure p {
      width: min(100%, 420px);
      margin: 8px 0 0;
      border: 1px solid var(--line-soft);
      border-radius: 10px;
      background: #fff;
      color: var(--ink-muted);
      padding: 9px 11px;
      font-size: 12px;
      line-height: 1.45;
    }

    .recommendation-social-summary {
      width: 100%;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      border: 0;
      border-radius: 10px;
      background: #EEF8F2;
      color: #14532D;
      padding: 9px 11px;
      font: inherit;
      font-size: 12.5px;
      line-height: 1.35;
      text-align: left;
      cursor: pointer;
    }

    .recommendation-social-summary-facts {
      min-width: 0;
      font-weight: 650;
      overflow-wrap: anywhere;
    }

    .recommendation-social-summary-cta {
      flex: 0 0 auto;
      color: #0F766E;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .recommendation-social-summary:focus-visible,
    .recommendation-social-full h3:focus-visible {
      outline: 3px solid rgba(15, 118, 110, .24);
      outline-offset: 3px;
    }

    .recommendation-detail-data {
      display: grid;
      gap: 7px;
      margin: 2px 0 0;
    }

    .recommendation-detail-data div {
      display: grid;
      grid-template-columns: 86px minmax(0, 1fr);
      gap: 10px;
      align-items: baseline;
    }

    .recommendation-detail-data dt {
      margin: 0;
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 575;
    }

    .recommendation-detail-data dd {
      margin: 0;
      color: var(--ink);
      font-size: 13.5px;
      line-height: 1.35;
      font-weight: 650;
      overflow-wrap: anywhere;
    }

    .recommendation-detail-business-info {
      display: grid;
      gap: 11px;
      min-width: 0;
      margin-top: 2px;
      padding-top: 11px;
      border-top: 1px solid var(--line-soft);
    }

    .recommendation-detail-business-section {
      display: grid;
      grid-template-columns: 86px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      min-width: 0;
    }

    .recommendation-detail-business-section h3 {
      margin: 0;
      color: var(--ink-muted);
      font-size: 12px;
      line-height: 1.4;
      font-weight: 575;
    }

    .recommendation-detail-business-copy,
    .recommendation-detail-sheet .recommendation-detail-business-copy p {
      min-width: 0;
      margin: 0;
      color: var(--ink);
      font-size: 13.5px;
      line-height: 1.4;
      font-weight: 500;
      overflow-wrap: anywhere;
    }

    .recommendation-detail-locations {
      display: grid;
      gap: 10px;
      min-width: 0;
      margin-top: 4px;
      padding-top: 12px;
      border-top: 1px solid var(--line-soft);
    }

    .recommendation-detail-locations-head {
      display: grid;
      gap: 3px;
    }

    .recommendation-detail-locations-head h3,
    .recommendation-detail-locations-head p {
      margin: 0;
    }

    .recommendation-detail-locations-head h3 {
      color: var(--ink);
      font-size: 15px;
      font-weight: 750;
    }

    .recommendation-detail-locations-head p {
      color: var(--ink-muted);
      font-size: 12.5px;
      line-height: 1.4;
    }

    .recommendation-detail-location-list {
      display: grid;
      gap: 8px;
      min-width: 0;
    }

    .recommendation-detail-location {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: stretch;
      min-width: 0;
      padding: 7px;
      border: 1px solid var(--line-soft);
      border-radius: 12px;
      background: #fff;
    }

    .recommendation-detail-location.is-selected {
      border-color: rgba(15, 118, 110, .48);
      background: rgba(15, 118, 110, .055);
      box-shadow: 0 0 0 1px rgba(15, 118, 110, .08);
    }

    .recommendation-detail-location-select {
      display: grid;
      gap: 4px;
      min-width: 0;
      min-height: 44px;
      padding: 7px 8px;
      border: 0;
      border-radius: 9px;
      background: transparent;
      color: var(--ink);
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .recommendation-detail-location-select:focus-visible {
      outline: 3px solid rgba(15, 118, 110, .24);
      outline-offset: 1px;
    }

    .recommendation-detail-location-title {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    .recommendation-detail-location-title small {
      padding: 2px 6px;
      border-radius: 999px;
      background: #E4F1E9;
      color: #14532D;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .03em;
    }

    .recommendation-detail-location-select > span:not(.recommendation-detail-location-title) {
      color: var(--ink-muted);
      font-size: 12px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .recommendation-detail-location-select > span.recommendation-detail-location-state {
      color: #0F766E;
      font-weight: 700;
    }

    .recommendation-detail-location-whatsapp {
      align-self: center;
      min-height: 44px;
      padding-inline: 11px;
    }

    .recommendation-schedule-list {
      display: grid;
      gap: 5px;
      margin: 0;
    }

    .recommendation-schedule-list div {
      display: grid;
      grid-template-columns: minmax(110px, 1fr) auto;
      gap: 14px;
      align-items: baseline;
    }

    .recommendation-schedule-list dt,
    .recommendation-schedule-list dd {
      margin: 0;
    }

    .recommendation-schedule-list dt { font-weight: 500; }
    .recommendation-schedule-list dd { font-weight: 650; text-align: right; white-space: nowrap; }

    .recommendation-detail-sheet .recommendation-detail-business-options {
      margin-top: 7px;
      color: var(--ink-muted);
      font-size: 12.5px;
      font-weight: 500;
    }

    .recommendation-detail-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 0;
    }

    .recommendation-detail-actions .btn {
      width: 100%;
      min-height: 44px;
      justify-content: center;
      padding-inline: 12px;
      white-space: normal;
      text-align: center;
    }

    .recommendation-detail-action-whatsapp,
    .recommendation-detail-action-instagram,
    .recommendation-detail-action-share,
    .recommendation-detail-action-email { grid-column: 1 / -1; }
    .recommendation-detail-action-whatsapp { order: 1; }
    .recommendation-detail-action-instagram { order: 2; }
    .recommendation-detail-action-google { order: 3; }
    .recommendation-detail-action-district { order: 4; }
    .recommendation-detail-action-share { order: 5; }
    .recommendation-detail-action-email { order: 6; }

    .recommendation-detail-action-icon {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
    }

    .recommendation-detail-lower {
      width: 100%;
      display: grid;
      gap: 18px;
      margin-top: 22px;
    }

    .recommendation-social-full {
      scroll-margin-top: 18px;
    }

    .neighbor-reputation {
      display: grid;
      gap: 12px;
      border: 0;
      border-radius: 12px;
      background: #F2F8F4;
      padding: 16px;
    }

    .neighbor-reputation-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .neighbor-reputation h3 {
      margin: 0;
      color: var(--ink);
      font-size: 17px;
      line-height: 1.25;
      font-weight: 700;
      letter-spacing: 0;
    }

    .recommendation-detail-sheet .neighbor-reputation p {
      margin: 4px 0 0;
      color: var(--ink-muted);
      font-size: 13px;
      line-height: 1.4;
      font-weight: 475;
    }

    .recommendation-detail-sheet .neighbor-reputation-summary {
      margin-top: 6px;
      color: #166534;
      font-size: 13px;
      font-weight: 650;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .neighbor-reputation-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .neighbor-reputation-actions > * {
      min-width: 0;
    }

    .neighbor-reputation .recommendation-detail-widget {
      grid-column: 1 / -1;
      width: 100%;
      min-width: 0;
      margin: 0;
      padding: 0;
      border: 0;
    }

    .neighbor-reputation .recommendation-widget,
    .neighbor-reputation .recommendation-control {
      width: 100%;
      max-width: none;
      justify-items: stretch;
    }

    .neighbor-reputation .btn-recommend,
    .neighbor-reputation-actions .btn {
      width: 100%;
      min-height: 44px;
      justify-content: center;
      border: 1px solid #BFD2C9;
      border-radius: 10px;
      background: #FFFFFF;
      color: var(--ink);
      padding: 0 12px;
      box-shadow: none;
      font-size: 13px;
      font-weight: 650;
      white-space: normal;
      text-align: center;
    }

    .neighbor-reputation .btn-recommend:hover,
    .neighbor-reputation .btn-recommend:focus-visible,
    .neighbor-reputation-actions .btn:hover,
    .neighbor-reputation-actions .btn:focus-visible {
      border-color: #0F766E;
      background: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(15, 118, 110, .14);
    }

    .neighbor-reputation .btn-recommend.is-recommended {
      border-color: #99C7B1;
      background: #E8F5ED;
      color: #14532D;
    }

    .neighbor-reputation .btn-recommend:disabled,
    .neighbor-reputation-actions .btn:disabled { opacity: .72; }

    .neighbor-reputation-reasons {
      display: grid;
      gap: 7px;
    }

    .neighbor-reputation-reason-primary {
      display: block;
    }

    .neighbor-reputation-reason-primary strong {
      color: var(--ink);
      font-weight: 650;
    }

    .neighbor-reputation-reasons-label {
      color: var(--ink-muted);
      font-size: 12px;
      font-weight: 575;
    }

    .neighbor-reputation-reasons-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .reputation-reason-chip {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      border-radius: 999px;
      background: #E4F1E9;
      color: #14532D;
      padding: 4px 9px;
      font-size: 12px;
      font-weight: 600;
    }

    .recommendation-detail-sheet .neighbor-reputation-empty { margin-top: 0; }

    .recommendation-detail-lower .review-section {
      width: 100%;
      min-width: 0;
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
      scroll-margin-top: 18px;
    }

    .review-section-head h3 { font-weight: 700; }

    .recommendation-reviews-empty {
      display: grid;
      justify-items: start;
      gap: 5px;
      padding: 16px;
    }

    .recommendation-reviews-empty strong {
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
    }

    .recommendation-reviews-empty .btn {
      min-height: 44px;
      margin-top: 5px;
    }

    @media (min-width: 681px) {
      .recommendation-detail-overlay {
        padding: 24px;
      }

      .recommendation-detail-sheet {
        width: min(90vw, 1120px);
        max-height: min(90dvh, 900px);
        padding: 24px;
        overscroll-behavior: contain;
      }

      .public-detail-sheet {
        width: min(760px, 100%);
        overscroll-behavior: contain;
      }

      .recommendation-detail-primary {
        grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
        grid-template-areas:
          "media title"
          "media actions"
          ".     legal";
        grid-template-rows: auto auto auto;
        gap: 18px 24px;
        align-items: start;
        padding-right: 38px;
      }

      .recommendation-detail-hero-text-only {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
          "title"
          "actions"
          "legal";
      }

      .recommendation-detail-primary > .recommendation-detail-legal-notes {
        grid-area: legal;
        margin-top: 0;
      }

      .recommendation-detail-media-column {
        grid-area: media;
        position: sticky;
        top: 0;
        gap: 12px;
      }

      .recommendation-detail-photo-shell {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
      }

      .recommendation-detail-titleblock {
        grid-area: title;
      }

      .recommendation-detail-titleblock h2 {
        padding-right: 0;
        font-size: 28px;
      }

      .recommendation-detail-actions {
        grid-area: actions;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: stretch;
      }

      .recommendation-detail-actions .btn {
        min-height: 44px;
        white-space: normal;
      }

      .recommendation-detail-action-whatsapp,
      .recommendation-detail-action-instagram,
      .recommendation-detail-action-google,
      .recommendation-detail-action-district,
      .recommendation-detail-action-share,
      .recommendation-detail-action-email {
        grid-column: auto;
      }

      .recommendation-detail-action-whatsapp { order: 1; }
      .recommendation-detail-action-district { order: 2; }
      .recommendation-detail-action-google { order: 3; }
      .recommendation-detail-action-share { order: 4; }
      .recommendation-detail-action-email { order: 5; }

      .recommendation-detail-actions.has-instagram .recommendation-detail-action-whatsapp { order: 1; }
      .recommendation-detail-actions.has-instagram .recommendation-detail-action-instagram { order: 2; }
      .recommendation-detail-actions.has-instagram .recommendation-detail-action-google { order: 3; }
      .recommendation-detail-actions.has-instagram .recommendation-detail-action-district { order: 4; }
      .recommendation-detail-actions.has-instagram .recommendation-detail-action-share {
        grid-column: 1 / -1;
        order: 5;
      }
      .recommendation-detail-actions.has-instagram .recommendation-detail-action-email { order: 6; }

      .recommendation-detail-gallery { margin-top: 0; }

      .recommendation-detail-gallery-thumb {
        flex-basis: 74px;
        width: 74px;
        height: 56px;
        border-radius: 8px;
      }

      .recommendation-detail-lower {
        grid-column: 1 / -1;
        margin-top: 26px;
        gap: 22px;
      }

      .neighbor-reputation {
        padding: 18px;
      }

      .neighbor-reputation-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .neighbor-reputation .recommendation-detail-widget {
        grid-column: auto;
      }
    }

    @media (max-width: 760px) {
      body:not(.account-page) .listing-section-head {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      body:not(.account-page) .listing-section-title h1 {
        font-size: 23px;
      }

      body:not(.account-page) .listing-section-actions {
        justify-content: stretch;
        min-width: 0;
      }

      body:not(.account-page) .listing-section-actions .btn {
        flex: 1 1 180px;
        justify-content: center;
      }

      .listing-pagination {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
      }

      .listing-pagination-more {
        width: 100%;
      }
    }

    @media (max-width: 680px) {
      .recommendation-detail-overlay {
        align-items: flex-end;
        padding: 0;
      }

      .recommendation-detail-sheet {
        box-sizing: border-box;
        width: min(calc(100vw - 24px), 560px);
        max-height: min(84dvh, 760px);
        margin-inline: auto;
        padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
      }

      .recommendation-detail-primary {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
      }

      .recommendation-detail-location {
        grid-template-columns: minmax(0, 1fr);
      }

      .recommendation-detail-location-whatsapp {
        width: 100%;
        justify-content: center;
      }

      .recommendation-detail-media-column {
        display: grid;
        gap: 9px;
        overflow: visible;
      }

      .recommendation-detail-photo,
      .recommendation-detail-media,
      .recommendation-detail-avatar {
        width: 100%;
        height: auto;
        min-height: 176px;
        aspect-ratio: 16 / 10;
        border-radius: 13px;
      }

      .recommendation-detail-photo-shell {
        width: 100%;
        height: auto;
        min-height: 176px;
        aspect-ratio: 16 / 10;
      }

      .recommendation-detail-photo .recommendation-detail-media {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
      }

      .recommendation-detail-photo-zoom { display: none; }

      .recommendation-detail-media-column .recommendation-detail-gallery {
        display: flex;
        gap: 7px;
        margin-top: 0;
        overflow-x: auto;
      }

      .recommendation-detail-media-column .recommendation-detail-gallery .recommendation-detail-gallery-thumb {
        flex: 0 0 62px;
        width: 62px;
        height: 46px;
        border-radius: 9px;
      }

      .recommendation-detail-titleblock h2 {
        padding-right: 36px;
        font-size: 23px;
      }

      .recommendation-social-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
      }

      .recommendation-detail-actions .btn {
        min-width: 0;
        font-size: 13px;
      }

      .neighbor-reputation { padding: 14px; }

      .neighbor-reputation-head {
        display: grid;
        gap: 8px;
      }

      .neighbor-reputation .recommendation-widget,
      .neighbor-reputation .recommendation-control,
      .neighbor-reputation .btn-recommend,
      .neighbor-reputation-actions .btn {
        width: 100%;
        min-height: 44px;
      }

      .review-compose,
      .review-form {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
      }

      .review-compose-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .review-compose > .btn,
      .review-compose-head .btn,
      .review-form-actions .btn {
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        border-radius: 10px;
        justify-content: center;
        white-space: normal;
        text-align: center;
      }

      .review-status {
        box-sizing: border-box;
        width: 100%;
        justify-content: center;
        border-radius: 10px;
      }

      .review-form-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .recommendation-reviews-empty .btn { width: 100%; }
    }

    @media (prefers-reduced-motion: reduce) {
      .recommendation-detail-sheet { scroll-behavior: auto; }
    }

/* Home final layout override */
body:not(.account-page) .home-hero {
  padding: clamp(30px, 4.5vw, 54px) 0 clamp(20px, 3vw, 34px);
  background: transparent;
  text-align: center;
}

body:not(.account-page) .home-hero-inner {
  max-width: 1120px;
}

body:not(.account-page) .home-hero-eyebrow {
  margin: 0 0 10px;
  color: #0B4A45;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .035em;
  text-transform: uppercase;
}

body:not(.account-page) .home-hero h1 {
  margin: 0 auto;
  max-width: 1080px;
  color: #102A38;
  font-size: clamp(32px, 3.1vw, 42px);
  line-height: 1.12;
  font-weight: 880;
  letter-spacing: -.03em;
  text-wrap: balance;
}

body:not(.account-page) .home-hero-accent {
  color: #0B6B57;
}

body:not(.account-page) .home-hero-note {
  margin: 17px auto 0;
  color: #166534;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}

body:not(.account-page) .home-hero-copy {
  margin: 11px auto 0;
  max-width: 620px;
  color: #526A63;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 520;
}

body:not(.account-page) .home-hero-cta {
  margin-top: 20px;
  min-height: 42px;
  padding-inline: 20px;
}

body:not(.account-page) .home-gateway {
  --home-content-max: 920px;
  display: grid;
  gap: clamp(24px, 3.5vw, 38px);
  padding-top: 0 !important;
}

body:not(.account-page) .home-gateway .main-panel[hidden] {
  display: none !important;
}

body:not(.account-page) .home-account-section h2 {
  margin: 0 0 14px;
  color: #063047;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 880;
  letter-spacing: -.02em;
}

body:not(.account-page) .home-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: var(--home-content-max);
  margin-inline: auto;
}

body:not(.account-page) .home-quick-card {
  appearance: none;
  width: 100%;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border: 1px solid rgba(47, 107, 87, .16);
  border-top-width: 3px;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body:not(.account-page) .home-quick-card h3 {
  margin: 0;
  color: #063047;
  font-size: 19px;
  line-height: 1.12;
  font-weight: 840;
}

body:not(.account-page) .home-quick-card p {
  margin: 4px 0 0;
  color: #526A63;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 610;
}

body:not(.account-page) .home-quick-card .btn {
  width: 136px;
  min-height: 34px;
  padding-inline: 13px;
  border-radius: 999px;
}

body:not(.account-page) .home-quick-card:focus-visible {
  outline: 3px solid rgba(11, 107, 87, .28);
  outline-offset: 3px;
}

body:not(.account-page) .home-quick-commerce {
  border-color: #D6EAE2;
  border-top-color: #2F6B57;
}

body:not(.account-page) .home-quick-budget {
  border-color: #F1DECA;
  border-top-color: #C97834;
}

body:not(.account-page) .home-quick-budget .btn {
  border-color: #C97834;
  background: #C97834;
  color: #fff;
}

body:not(.account-page) .home-quick-classifieds {
  border-color: #D9E4EC;
  border-top-color: #53728A;
}

body:not(.account-page) .home-quick-classifieds .btn {
  border-color: #53728A;
  background: #53728A;
  color: #fff;
}

body:not(.account-page) .home-quick-promos {
  border-color: #F0DED8;
  border-top-color: #C48672;
}

body:not(.account-page) .home-quick-promos .btn {
  border-color: #A76551;
  background: #A76551;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  body:not(.account-page) .home-quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 107, 87, .26);
    box-shadow: 0 10px 22px rgba(17, 42, 56, .09);
  }

  body:not(.account-page) .home-quick-card:hover .btn {
    filter: brightness(.95);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes homeFadeInUp {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  body:not(.account-page) .home-hero h1 {
    animation: homeFadeInUp .56s ease-out both;
  }

  body:not(.account-page) .home-hero-note,
  body:not(.account-page) .home-hero-copy {
    animation: homeFadeInUp .5s ease-out both;
  }

  body:not(.account-page) .home-quick-card {
    animation: homeFadeInUp .5s ease-out both;
  }

  body:not(.account-page) .home-hero-note {
    animation-delay: .12s;
  }

  body:not(.account-page) .home-hero-copy {
    animation-delay: .16s;
  }

  body:not(.account-page) .home-quick-card:nth-child(1) {
    animation-delay: .22s;
  }

  body:not(.account-page) .home-quick-card:nth-child(2) {
    animation-delay: .32s;
  }

  body:not(.account-page) .home-quick-card:nth-child(3) {
    animation-delay: .42s;
  }

  body:not(.account-page) .home-quick-card:nth-child(4) {
    animation-delay: .52s;
  }

  body:not(.account-page) .search-wrap input::placeholder {
    transition: opacity .22s ease;
  }

  body:not(.account-page) .search-wrap.is-placeholder-fading input::placeholder {
    opacity: 0;
  }
}

body:not(.account-page) .home-account-section {
  width: 100%;
  max-width: var(--home-content-max);
  margin-inline: auto;
}

body:not(.account-page) .home-account-section h2 {
  margin: 0 0 18px;
  color: #063047;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 880;
  letter-spacing: -.02em;
  text-align: center;
}

body:not(.account-page) .home-account-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--home-content-max);
  margin-inline: auto;
  align-items: stretch;
}

body:not(.account-page) .home-account-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  text-align: left;
}

body:not(.account-page) .home-account-column h3 {
  margin: 0;
  color: #102A38;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 880;
}

body:not(.account-page) .home-account-benefits {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(4, minmax(106px, 1fr));
  gap: 10px;
  margin: 0;
}

body:not(.account-page) .home-account-benefit {
  min-height: 106px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(47, 107, 87, .11);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 6px 16px rgba(17, 42, 56, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body:not(.account-page) .home-account-marker {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(47, 107, 87, .10);
}

body:not(.account-page) .home-account-marker::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: #2F6B57;
}

body:not(.account-page) .home-account-commerce .home-account-marker {
  background: rgba(196, 134, 114, .13);
}

body:not(.account-page) .home-account-commerce .home-account-marker::after {
  background: #A76551;
}

body:not(.account-page) .home-account-benefit h4 {
  margin: 0;
  color: #102A38;
  font-size: 14.5px;
  line-height: 1.24;
  font-weight: 820;
}

body:not(.account-page) .home-account-benefit p {
  margin: 5px 0 0;
  color: #5D6F68;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 520;
}

@media (hover: hover) and (pointer: fine) {
  body:not(.account-page) .home-account-benefit:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 107, 87, .18);
    box-shadow: 0 10px 22px rgba(17, 42, 56, .065);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.account-page) .home-account-section h2,
  body:not(.account-page) .home-account-column h3,
  body:not(.account-page) .home-account-benefit {
    animation: homeFadeInUp .48s ease-out both;
  }

  body:not(.account-page) .home-account-column h3 {
    animation-delay: .08s;
  }

  body:not(.account-page) .home-account-benefit:nth-child(1) {
    animation-delay: .12s;
  }

  body:not(.account-page) .home-account-benefit:nth-child(2) {
    animation-delay: .18s;
  }

  body:not(.account-page) .home-account-benefit:nth-child(3) {
    animation-delay: .24s;
  }

  body:not(.account-page) .home-account-benefit:nth-child(4) {
    animation-delay: .30s;
  }
}

body:not(.account-page) .home-sponsor-section.sponsor-duo {
  width: min(100%, 1200px);
  margin: 10px auto 14px;
}


body:not(.account-page) .home-sponsor-section .sponsor-slot {
  width: 100%;
  margin: 0;
}

.account-sponsor-feed {
  display: grid;
  gap: 20px;
  margin-top: 34px;
  margin-bottom: 30px;
}

.account-sponsor-feed[hidden] {
  display: none;
}

.account-sponsor-feed .sponsor-duo,
.account-sponsor-feed .sponsor-slot {
  width: 100%;
  max-width: none;
  margin: 0;
}

.pets-sponsor-placement,
.savings-sponsor-placement {
  width: 100%;
  margin: 24px 0;
}

.pets-sponsor-placement .sponsor-duo,
.pets-sponsor-placement .sponsor-slot,
.savings-sponsor-placement .sponsor-duo,
.savings-sponsor-placement .sponsor-slot {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.pets-sponsor-placement--bottom,
.savings-sponsor-placement--bottom {
  margin-top: 32px;
  margin-bottom: 8px;
}

/* Public visual polish: keep sponsor pairs and footer links visually even. */
body:not(.account-page):not(.map-page) .sponsor-duo {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  grid-auto-rows: auto;
  min-height: 0;
}

@media (min-width: 761px) {
  body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-1 {
  justify-items: stretch;
}

body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-1 .sponsor-slot {
  max-width: none;
}

body:not(.account-page):not(.map-page) .sponsor-duo .sponsor-slot,
body:not(.account-page):not(.map-page) .sponsor-slot {
  display: grid;
  height: auto;
  min-height: 0;
}

/* Hidden/suppressed slots must never render the skeleton box: the display:grid
   rule above outranks the base .sponsor-slot[hidden] rule, so re-hide here. */
body:not(.account-page):not(.map-page) .sponsor-duo .sponsor-slot[hidden],
body:not(.account-page):not(.map-page) .sponsor-duo .sponsor-slot.is-empty,
body:not(.account-page):not(.map-page) .sponsor-slot[hidden],
body:not(.account-page):not(.map-page) .sponsor-slot.is-empty {
  display: none;
}

/* Same-row pair: force identical margins so both slots align top/bottom.
   Overrides the per-variant margins (.sponsor-slot-top / -inline). */
body:not(.account-page):not(.map-page) .sponsor-duo .sponsor-slot-top,
body:not(.account-page):not(.map-page) .sponsor-duo .sponsor-slot-inline {
  margin: 0;
}

body:not(.account-page):not(.map-page) .sponsor-card {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  align-items: center;
  overflow: hidden;
}

body:not(.account-page):not(.map-page) .sponsor-card-top {
  grid-template-columns: clamp(240px, 22vw, 270px) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 18px;
}

body:not(.account-page):not(.map-page) .sponsor-card-inline {
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #FAFCFB);
}

body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-2 .sponsor-card-top,
body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-2 .sponsor-card-inline {
  grid-template-columns: minmax(150px, 38%) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

body:not(.account-page):not(.map-page) .sponsor-card-no-image {
  grid-template-columns: minmax(0, 1fr);
}

body:not(.account-page):not(.map-page) .sponsor-card-image {
  display: block;
  align-self: center;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body:not(.account-page):not(.map-page) .sponsor-card > a {
  display: block;
  height: auto;
  min-height: 0;
  min-width: 0;
}

body:not(.account-page):not(.map-page) .sponsor-card-body {
  height: auto;
  min-height: 0;
  min-width: 0;
  align-content: center;
  align-items: center;
  overflow: hidden;
}

body:not(.account-page):not(.map-page) .sponsor-card-top .sponsor-card-body {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 5px;
}

body:not(.account-page):not(.map-page) .sponsor-card-inline .sponsor-card-body {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  row-gap: 3px;
}

body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-2 .sponsor-card-body {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 6px;
}

body:not(.account-page):not(.map-page) .sponsor-card-meta {
  min-height: 0;
}

body:not(.account-page):not(.map-page) .sponsor-label {
  background: transparent;
  color: #64748b;
  padding: 0;
  border: 0;
  font-size: 10px;
  letter-spacing: .08em;
}

body:not(.account-page):not(.map-page) .sponsor-label.sponsor-label--community-partner {
  max-width: 100%;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .045em;
  overflow-wrap: anywhere;
  white-space: normal;
}

body:not(.account-page):not(.map-page) .sponsor-card h3 {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body:not(.account-page):not(.map-page) .sponsor-card p {
  display: -webkit-box;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body:not(.account-page):not(.map-page) .sponsor-cta {
  align-self: center;
  justify-self: end;
}

body:not(.account-page):not(.map-page) .sponsor-card-inline h3 {
  font-size: 14px;
}

body:not(.account-page):not(.map-page) .sponsor-card-inline p {
  font-size: 12px;
}

body:not(.account-page):not(.map-page) .sponsor-card-inline .sponsor-cta {
  padding: 7px 10px;
  font-size: 12px;
}

body:not(.account-page):not(.map-page) .sponsor-duo.sponsors-count-2 .sponsor-cta {
  grid-column: 1;
  grid-row: auto;
  justify-self: start;
}

body:not(.account-page):not(.map-page) .sponsor-card-fallback .sponsor-card-body {
  grid-template-rows: auto auto;
}

body:not(.account-page) .expense-insights {
  display: grid;
  gap: 12px;
  margin: 2px 0 16px;
}

body:not(.account-page) .expense-insights[hidden] {
  display: none;
}

body:not(.account-page) .expense-chart-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 8px 18px rgba(27,38,59,.035);
}

body:not(.account-page) .expense-chart-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

body:not(.account-page) .expense-chart-head h2 {
  margin: 0;
  color: var(--dc-navy);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

body:not(.account-page) .expense-chart-head p,
body:not(.account-page) .expense-chart-empty p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.35;
}

body:not(.account-page) .expense-insights-cta {
  min-height: 36px;
  padding: 8px 13px;
  white-space: nowrap;
}

body:not(.account-page) .expense-chart-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

body:not(.account-page) .expense-chart-search,
body:not(.account-page) .expense-chart-select {
  display: grid;
  gap: 5px;
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 700;
}

body:not(.account-page) .expense-chart-search input,
body:not(.account-page) .expense-chart-select select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

body:not(.account-page) .expense-chart-result-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 12px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

body:not(.account-page) .expense-chart-result-context strong {
  color: var(--dc-navy);
  font-size: 12.5px;
}

body:not(.account-page) .expense-chart-note,
body:not(.account-page) .expense-chart-empty-inline {
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

body:not(.account-page) .expense-reference-list[hidden] {
  display: none;
}

body:not(.account-page) .expense-column-chart {
  display: grid;
  grid-template-columns: repeat(var(--expense-column-count, 1), minmax(112px, 1fr));
  align-items: stretch;
  gap: 8px;
  min-height: 230px;
  min-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  padding: 2px 0 4px;
}

body:not(.account-page) .expense-column {
  display: grid;
  grid-template-rows: 32px 142px 44px;
  align-items: stretch;
  gap: 6px;
  min-height: 230px;
  min-width: 0;
  text-align: center;
}

body:not(.account-page) .expense-column-value {
  align-content: end;
}

body:not(.account-page) .expense-column:focus-visible,
body:not(.account-page) .expense-zone-chart-row:focus-visible {
  outline: 2px solid rgba(29,101,87,.35);
  outline-offset: 2px;
  border-radius: 8px;
}

body:not(.account-page) .expense-column-value {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body:not(.account-page) .expense-column-value strong {
  color: var(--dc-navy);
  font-size: 12.5px;
  line-height: 1.1;
  font-weight: 850;
  white-space: nowrap;
}

body:not(.account-page) .expense-column-value span,
body:not(.account-page) .expense-column-label span,
body:not(.account-page) .expense-zone-chart-name span,
body:not(.account-page) .expense-zone-chart-value span {
  color: var(--ink-muted);
  font-size: 10.75px;
  line-height: 1.2;
}

body:not(.account-page) .expense-column-bar-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 142px;
  border-bottom: 1px solid rgba(6,48,71,.10);
}

body:not(.account-page) .expense-column-bar {
  display: block;
  width: min(34px, 72%);
  height: var(--expense-bar-height);
  min-height: 10px;
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(180deg, rgba(29,101,87,.78), rgba(6,48,71,.26));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

body:not(.account-page) .expense-column-label {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  min-height: 0;
}

body:not(.account-page) .expense-column-label strong {
  color: var(--dc-navy);
  display: -webkit-box;
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
}

body:not(.account-page) .expense-chart-scroll-hint {
  display: none;
}

body:not(.account-page) .expense-zone-chart-list {
  display: grid;
  gap: 8px;
}

body:not(.account-page) .expense-zone-chart-row {
  display: grid;
  grid-template-columns: minmax(120px, .75fr) minmax(160px, 1.4fr) minmax(120px, .65fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body:not(.account-page) .expense-zone-chart-name,
body:not(.account-page) .expense-zone-chart-value {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body:not(.account-page) .expense-zone-chart-name strong,
body:not(.account-page) .expense-zone-chart-value strong {
  overflow: hidden;
  color: var(--dc-navy);
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.account-page) .expense-zone-chart-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #E9F0EC;
}

body:not(.account-page) .expense-zone-chart-bar {
  display: block;
  width: var(--expense-zone-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(6,48,71,.18), rgba(29,101,87,.70));
}

@media (max-width: 760px) {
  body:not(.account-page) .home-hero {
    padding: 26px 0 20px;
  }

  body:not(.account-page) .home-sponsor-section.sponsor-duo,
  body:not(.account-page):not(.map-page) .sponsor-duo {
    width: min(calc(100% - 24px), 720px);
    margin: 10px auto 16px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 14px;
    min-height: 0;
  }

  body:not(.account-page):not(.map-page) .sponsor-slot {
    width: 100%;
    margin: 0 auto;
    min-height: 0;
  }

  body:not(.account-page):not(.map-page) .sponsor-card,
  body:not(.account-page):not(.map-page) .sponsor-card-top,
  body:not(.account-page):not(.map-page) .sponsor-card-inline {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    gap: 12px;
    padding: 10px;
  }

  body:not(.account-page):not(.map-page) .sponsor-card-meta {
    min-height: 0;
  }

  body:not(.account-page):not(.map-page) .sponsor-card-body,
  body:not(.account-page):not(.map-page) .sponsor-card-top .sponsor-card-body,
  body:not(.account-page):not(.map-page) .sponsor-card-inline .sponsor-card-body {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  body:not(.account-page):not(.map-page) .sponsor-card > a,
  body:not(.account-page):not(.map-page) .sponsor-card-image {
    width: 100%;
    min-height: 0;
  }

  body:not(.account-page):not(.map-page) .sponsor-card-image {
    aspect-ratio: 16 / 9;
  }

  body:not(.account-page):not(.map-page) .sponsor-cta,
  body:not(.account-page):not(.map-page) .sponsor-card-inline .sponsor-cta {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    justify-self: stretch;
    padding: 10px 12px;
  }

  body:not(.account-page) .expense-insights {
    margin: 0 0 14px;
  }

  body:not(.account-page) .expense-chart-card {
    padding: 12px;
  }

  body:not(.account-page) .expense-chart-head {
    display: grid;
    align-items: start;
    gap: 4px;
  }

  body:not(.account-page) .expense-insights-cta {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  body:not(.account-page) .expense-chart-tools {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body:not(.account-page) .expense-column-chart {
    grid-template-columns: repeat(var(--expense-column-count, 1), minmax(116px, 1fr));
    min-height: 216px;
    scroll-snap-type: inline proximity;
  }

  body:not(.account-page) .expense-column {
    grid-template-rows: 32px 128px 44px;
    min-height: 216px;
    scroll-snap-align: start;
  }

  body:not(.account-page) .expense-chart-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: -2px 0 2px;
    color: var(--dc-green);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
  }

  body:not(.account-page) .expense-chart-scroll-hint b {
    display: inline-block;
    font-size: 17px;
    line-height: 1;
    animation: expense-scroll-cue 1.4s ease-in-out infinite;
  }

  body:not(.account-page) .expense-column-bar-wrap {
    height: 128px;
  }

  body:not(.account-page) .expense-zone-chart-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body:not(.account-page) .home-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.08;
    max-width: 430px;
  }

  body:not(.account-page) .home-hero-copy {
    font-size: 15px;
  }

  body:not(.account-page) .home-hero-note {
    margin-top: 14px;
  }

  body:not(.account-page) .home-quick-grid,
  body:not(.account-page) .home-account-columns {
    grid-template-columns: 1fr;
  }

  body:not(.account-page) .home-quick-card {
    min-height: 118px;
  }

  body:not(.account-page) .home-quick-card .btn {
    width: 100%;
  }

  body:not(.account-page) .home-account-column {
    padding: 0;
  }

  body:not(.account-page) .home-account-section {
    width: 100%;
  }

  body:not(.account-page) .home-account-columns {
    max-width: 430px;
    margin-inline: auto;
    gap: 22px;
  }

  body:not(.account-page) .home-account-column + .home-account-column {
    margin-top: 0;
    padding-top: 0;
  }

  body:not(.account-page) .home-account-benefits {
    grid-template-rows: none;
    grid-auto-rows: minmax(104px, auto);
  }

  body:not(.account-page) .home-sponsor-section.sponsor-duo {
    width: min(100% - 16px, 430px);
    margin-inline: auto;
  }
}

@keyframes expense-scroll-cue {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.account-page) .expense-chart-scroll-hint b {
    animation: none;
  }
}

/* Public business/provider prefichas: paid visibility adds a restrained layer
   without changing the free card's structure, spacing, media, or actions. */
body:not(.account-page) .business-card > .item-card-content > p {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

body:not(.account-page) .business-card--free {
  background: #FFFFFF;
  box-shadow: none;
}

body:not(.account-page) .business-card--featured {
  background: #F2FAF6;
  border-color: #C7DED3;
  border-left: 4px solid #5C917D;
  box-shadow: 0 3px 10px rgba(29, 86, 70, .07);
}

body:not(.account-page) .business-card--sponsor {
  background: #FFF9F1;
  border-color: #E5D1B5;
  border-left: 4px solid #C17D38;
  box-shadow: 0 4px 14px rgba(128, 81, 37, .11);
}

body:not(.account-page) .business-card--community-partner {
  background: #F2F8FA;
  border-color: #BDD4DB;
  border-left: 4px solid #34758A;
  box-shadow: 0 4px 14px rgba(38, 91, 108, .10);
}

body:not(.account-page) .business-card--featured h3,
body:not(.account-page) .business-card--featured .row-info h3,
body:not(.account-page) .business-card--featured.kids-card h3 {
  font-weight: 760;
}

body:not(.account-page) .business-card--sponsor h3,
body:not(.account-page) .business-card--sponsor .row-info h3,
body:not(.account-page) .business-card--sponsor.kids-card h3 {
  font-weight: 780;
}

body:not(.account-page) .business-card--community-partner h3,
body:not(.account-page) .business-card--community-partner .row-info h3,
body:not(.account-page) .business-card--community-partner.kids-card h3 {
  font-weight: 780;
}

body:not(.account-page) .business-card--featured:hover {
  background: #EFF8F3;
  border-color: #B8D5C7;
  border-left-color: #4F806E;
  box-shadow: 0 5px 14px rgba(29, 86, 70, .09);
}

body:not(.account-page) .business-card--sponsor:hover {
  background: #FFF7EC;
  border-color: #DCC29F;
  border-left-color: #AF6E2F;
  box-shadow: 0 6px 17px rgba(128, 81, 37, .13);
}

body:not(.account-page) .business-card--community-partner:hover {
  background: #EDF6F8;
  border-color: #A9C8D1;
  border-left-color: #2B687C;
  box-shadow: 0 6px 17px rgba(38, 91, 108, .13);
}

body:not(.account-page) .business-card__plan-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: .02em;
  white-space: nowrap;
}

body:not(.account-page) .business-card__plan-badge--featured {
  color: #285E50;
  background: #E4F2EB;
  border-color: #BDD8CB;
}

body:not(.account-page) .business-card__plan-badge--sponsor {
  color: #805025;
  background: #F9EAD7;
  border-color: #E2C69F;
}

body:not(.account-page) .business-card__plan-badge--community-partner,
body:not(.account-page) .recommendation-detail-tag--community-partner {
  color: #20586A;
  background: #E2F1F4;
  border-color: #ACCDD6;
}

body:not(.account-page) .business-card__plan-badge--community-partner {
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Sponsor loading is coordinated once per logical top/inline group. Individual
   empty slots never draw their own card-shaped placeholders. */
body:not(.account-page) .sponsor-duo.is-resolving {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 72px;
}

body:not(.account-page) .sponsor-duo.is-resolving::before {
  content: "";
  display: block;
  visibility: hidden;
  grid-column: 1 / -1;
  min-height: 72px;
  border: 1px solid rgba(34, 56, 84, .08);
  border-radius: 8px;
  background: #F1F5F2;
  box-shadow: 0 4px 14px rgba(27, 38, 59, .035);
  animation: sponsor-group-loading-pulse 1.8s ease-in-out infinite alternate;
}

body:not(.account-page) .sponsor-duo.is-resolving .sponsor-slot {
  display: none !important;
}

@keyframes sponsor-group-loading-pulse {
  from { opacity: .72; }
  to { opacity: .94; }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.account-page) .sponsor-duo.is-resolving::before {
    animation: none;
  }
}

/* Mobile polish: legal contacts become editorial rows, while the two affected
   listing headers keep one semantic counter and full-width action rows. */
@media (max-width: 760px) {
  body.legal-page .legal-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    width: 100%;
    max-width: 100%;
    padding: 9px 0 10px;
    border: 0;
    border-bottom: 1px solid #E5ECE8;
    border-radius: 0;
    background: transparent;
  }

  body.legal-page .legal-detail-label,
  body.legal-page .legal-detail-value {
    display: block;
    min-width: 0;
  }

  body.legal-page .legal-detail-label {
    font-weight: 800;
  }

  body.legal-page .legal-detail-value {
    font-weight: 650;
    overflow-wrap: anywhere;
    user-select: text;
  }

  body.legal-page .legal-detail-value::before {
    content: none;
  }

  body.promos-page .listing-section-head,
  body.comercios-page .listing-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
  }

  body.promos-page .listing-section-title,
  body.promos-page .listing-section-meta,
  body.promos-page .listing-section-actions,
  body.comercios-page .listing-section-title,
  body.comercios-page .listing-section-meta,
  body.comercios-page .listing-section-actions {
    display: contents;
  }

  body.promos-page .listing-section-title h1,
  body.comercios-page .listing-section-title h1 {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  body.promos-page .listing-section-meta > .count,
  body.comercios-page .listing-section-meta > .count {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink-muted);
    line-height: 1.25;
    text-align: right;
    white-space: normal;
  }

  body.promos-page .listing-section-title p,
  body.comercios-page .listing-section-title p {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
  }

  body.promos-page .listing-section-title .module-map-cta,
  body.comercios-page .listing-section-title .module-map-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
    margin-top: 2px;
  }

  body.promos-page .listing-section-actions .btn,
  body.comercios-page .listing-section-actions .btn {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: normal;
  }
}

/* Mi Cuenta mobile: una sola barra simetrica para volver y marca. */
@media (max-width: 768px) {
  .account-page .topbar .account-header-row {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) 52px !important;
    grid-template-rows: minmax(44px, 1fr);
    align-items: center !important;
    gap: 0 !important;
    width: 100%;
    max-width: 100%;
    min-height: calc(76px + env(safe-area-inset-top, 0px)) !important;
    padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 8px !important;
    overflow-x: clip;
  }

  .account-page .account-header-row > .account-back-link {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    justify-self: start;
  }

  .account-page .account-header-row > .logo {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    justify-self: center;
  }

  .account-page .account-header-row > .top-actions {
    display: block !important;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    min-width: 0;
    justify-self: end;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Intentional mini-logo used only when a commerce/provider card has no usable image. */
body:not(.account-page) .media-placeholder.media-monogram {
  width: 54px !important;
  height: 54px !important;
  padding: 0;
  border: 0;
  border-radius: 12px !important;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
}

body:not(.account-page) .media-monogram--tone-0 {
  background: #E6F0EA;
  color: #245847;
}

body:not(.account-page) .media-monogram--tone-1 {
  background: #E7EFF1;
  color: #244F58;
}

body:not(.account-page) .media-monogram--tone-2 {
  background: #F4EAE4;
  color: #84513F;
}

body:not(.account-page) .media-monogram--tone-3 {
  background: #F2EDDC;
  color: #695A2F;
}

@media (max-width: 760px) {
  body:not(.account-page) .media-placeholder.media-monogram {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Ten principal modules remain explicit on desktop without horizontal scrolling. */
@media (min-width: 1101px) {
  body:not(.account-page) .module-links {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body:not(.account-page) .module-links {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  body:not(.account-page) .module-link:nth-child(5n) {
    border-right: 0 !important;
  }

  body:not(.account-page) .module-link:nth-child(n + 6) {
    border-top: 1px solid #E7EEE9 !important;
  }
}

/* The active module marker is independent from one- or two-line labels. */
body:not(.account-page) .module-link.on {
  box-shadow: none !important;
  gap: 5px !important;
  text-decoration: none !important;
}

body:not(.account-page) .module-link strong {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.16;
}

body:not(.account-page) .module-link span {
  display: block;
  margin-block-start: 0 !important;
}

body:not(.account-page) .module-link.on span {
  line-height: 1.15 !important;
}

@media (min-width: 769px) {
  body:not(.account-page) .module-link {
    display: flex !important;
    flex-direction: column;
    position: relative;
    justify-content: flex-start !important;
    gap: 4px !important;
    min-height: 86px !important;
    padding-left: 14px !important;
  }

  body:not(.account-page) .module-link strong {
    min-height: 2.4em;
  }

  body:not(.account-page) .module-link span {
    line-height: 1.15 !important;
    padding-top: 0 !important;
  }

  body:not(.account-page) .module-link.on::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--accent-2);
    pointer-events: none;
  }
}

/* Provider trust: one compact entry point on the listing and the reusable
   credential source dialog shared by every public provider detail. */
.provider-trust-intro {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  border-block: 1px solid #D7E8DF;
  background: #F0F8F4;
  padding: 12px 16px;
  box-shadow: inset 4px 0 0 #0B675D;
}

.provider-trust-intro-icon,
.provider-trust-detail-icon,
.provider-trust-modal-shield {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #E4F1E9;
  color: #146B55;
}

.provider-trust-intro-icon {
  width: 34px;
  height: 34px;
  background: #0B675D;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(11, 103, 93, .18);
}

.provider-trust-intro-icon svg,
.provider-trust-shield-icon {
  width: 19px;
  height: 19px;
}

.provider-trust-intro p {
  min-width: 0;
  margin: 0;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.provider-trust-intro p strong {
  color: var(--ink);
  font-weight: 750;
}

.provider-trust-intro-link,
.provider-trust-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #BED8CC;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0B675D;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(11, 103, 93, .06);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.provider-trust-intro-link {
  min-height: 36px;
  max-width: 190px;
  padding: 7px 12px;
  font-size: 12.5px;
  line-height: 1.25;
}

.provider-trust-intro-link:hover,
.provider-trust-intro-link:focus-visible,
.provider-trust-detail-link:hover,
.provider-trust-detail-link:focus-visible,
.provider-trust-source-action:hover,
.provider-trust-source-action:focus-visible,
.provider-trust-source-secondary:hover,
.provider-trust-source-secondary:focus-visible {
  color: #064A43;
}

.provider-trust-intro-link:hover,
.provider-trust-intro-link:focus-visible,
.provider-trust-detail-link:hover,
.provider-trust-detail-link:focus-visible {
  border-color: #8FB9A7;
  background: #E6F3ED;
}

.provider-trust-intro-link:focus-visible,
.provider-trust-detail-link:focus-visible,
.provider-trust-source-action:focus-visible,
.provider-trust-source-secondary:focus-visible,
.provider-trust-modal-close:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .2);
  outline-offset: 2px;
}

.provider-trust-detail-prompt {
  grid-column: 1 / -1;
  order: 99;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 11px;
  min-width: 0;
  border: 1px solid #CFE3D9;
  border-radius: 12px;
  background: #F0F8F4;
  padding: 11px 12px;
  box-shadow: inset 3px 0 0 #0B675D, 0 6px 16px rgba(11, 103, 93, .06);
}

.provider-trust-detail-icon {
  width: 32px;
  height: 32px;
  background: #0B675D;
  color: #FFFFFF;
}

.provider-trust-detail-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.provider-trust-detail-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.provider-trust-detail-link {
  min-height: 36px;
  max-width: 135px;
  padding: 6px 10px;
  font-size: 11.5px;
  line-height: 1.25;
}

.provider-trust-overlay {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 129, 104, .14), transparent 34%),
    rgba(7, 31, 38, .52);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.provider-trust-overlay[hidden] {
  display: none;
}

.provider-trust-modal {
  display: flex;
  flex-direction: column;
  width: min(1120px, 100%);
  max-height: min(90dvh, 840px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(182, 207, 196, .9);
  border-radius: 24px;
  background: #F9FCFA;
  box-shadow: 0 30px 90px rgba(2, 35, 43, .32);
}

.provider-trust-modal-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #DDEAE3;
  background: #F3F9F6;
  padding: 18px 22px;
}

.provider-trust-modal-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.provider-trust-modal-shield {
  width: 44px;
  height: 44px;
  background: #0B675D;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(11, 103, 93, .2);
}

.provider-trust-modal-kicker {
  margin: 0 0 2px;
  color: #0B675D;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.provider-trust-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -.01em;
}

.provider-trust-modal-close {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #D4E3DC;
  border-radius: 999px;
  background: #FFFFFF;
  color: #38584D;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.provider-trust-modal-close:hover {
  border-color: #AFC9BE;
  background: #F1F8F4;
  color: #123F34;
}

.provider-trust-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 22px 22px;
}

.provider-trust-explanation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border: 1px solid #DCEAE3;
  border-radius: 16px;
  background: #F4F9F6;
  padding: 14px 16px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.48;
}

.provider-trust-explanation p + p {
  border-left: 1px solid #D6E7DE;
  padding-left: 20px;
}

.provider-trust-explanation p,
.provider-trust-sources-head p,
.provider-trust-source p,
.provider-trust-external-note {
  margin: 0;
}

.provider-trust-sources-head {
  display: grid;
  gap: 4px;
  margin-block-start: 19px;
}

.provider-trust-sources-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
}

.provider-trust-sources-head p {
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.provider-trust-sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-block-start: 14px;
}

.provider-trust-source {
  --provider-trust-source-accent: #17695B;
  --provider-trust-source-soft: #EAF5F0;
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--provider-trust-source-accent) 22%, #DCE8E2);
  border-radius: 17px;
  background: #FFFFFF;
  padding: 15px;
  box-shadow: 0 8px 24px rgba(19, 63, 51, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.provider-trust-source::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--provider-trust-source-accent);
}

.provider-trust-source:hover {
  border-color: color-mix(in srgb, var(--provider-trust-source-accent) 42%, #DCE8E2);
  box-shadow: 0 13px 30px rgba(19, 63, 51, .1);
  transform: translateY(-2px);
}

.provider-trust-source[data-provider-trust-source="gas-naturgy"] {
  --provider-trust-source-accent: #B84C1F;
  --provider-trust-source-soft: #FFF0E8;
}

.provider-trust-source[data-provider-trust-source="electricidad-colegio-tecnicos-distrito-1"] {
  --provider-trust-source-accent: #876200;
  --provider-trust-source-soft: #FFF7D8;
}

.provider-trust-source[data-provider-trust-source="aire-acondicionado-cacaav"] {
  --provider-trust-source-accent: #1769A6;
  --provider-trust-source-soft: #EAF5FF;
}

.provider-trust-source[data-provider-trust-source="refrigeracion-aaf"] {
  --provider-trust-source-accent: #176964;
  --provider-trust-source-soft: #E8F6F3;
}

.provider-trust-source-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--provider-trust-source-accent) 34%, #FFFFFF);
  border-radius: 13px;
  background: var(--provider-trust-source-accent);
  color: #FFFFFF;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--provider-trust-source-accent) 14%, transparent);
}

.provider-trust-source-icon svg {
  width: 20px;
  height: 20px;
}

.provider-trust-source-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.provider-trust-source-topline {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  min-height: 42px;
}

.provider-trust-source-category {
  color: var(--provider-trust-source-accent);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.provider-trust-source-kind {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--provider-trust-source-accent) 18%, transparent);
  background: rgba(255, 255, 255, .78);
  color: #486A5D;
  padding: 2px 7px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.15;
}

.provider-trust-source h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

.provider-trust-source .provider-trust-source-organization {
  margin-block-start: 3px;
  color: #3B5A50;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}

.provider-trust-source p:not(.provider-trust-source-organization) {
  margin-block-start: 5px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.38;
}

.provider-trust-source-actions {
  display: grid;
  grid-template-rows: repeat(2, 40px);
  gap: 7px;
  min-height: 87px;
  margin-block-start: auto;
  padding-block-start: 13px;
}

.provider-trust-source-action,
.provider-trust-source-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  padding: 8px 10px;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: var(--provider-trust-source-accent);
  transition: filter .18s ease, transform .18s ease;
}

.provider-trust-source-action:hover,
.provider-trust-source-action:focus-visible {
  color: #FFFFFF;
  filter: brightness(.9);
  transform: translateY(-1px);
}

.provider-trust-source-secondary {
  border: 1px solid color-mix(in srgb, var(--provider-trust-source-accent) 24%, #DCE8E2);
  background: #FFFFFF;
  color: var(--provider-trust-source-accent);
  font-weight: 700;
}

.provider-trust-source-secondary:hover,
.provider-trust-source-secondary:focus-visible {
  color: var(--provider-trust-source-accent);
  background: var(--provider-trust-source-soft);
  filter: none;
}

.provider-trust-external-note {
  margin-block-start: 12px;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 1050px) {
  .provider-trust-modal {
    width: min(820px, 100%);
  }

  .provider-trust-sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-trust-source {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    height: 100%;
  }
}

.provider-trust-modal .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .provider-trust-intro {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 10px;
    padding: 10px 13px;
  }

  .provider-trust-intro p {
    font-size: 12px;
  }

  .provider-trust-intro-link {
    grid-column: 2;
    min-height: 34px;
    max-width: none;
    justify-self: start;
    padding: 6px 11px;
  }

  .provider-trust-detail-prompt {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 10px;
  }

  .provider-trust-detail-link {
    grid-column: 2;
    min-height: 34px;
    max-width: none;
    justify-self: start;
    padding: 6px 10px;
  }

  .provider-trust-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .provider-trust-modal {
    width: min(calc(100vw - 16px), 560px);
    max-height: 90dvh;
    margin-inline: auto;
    border-radius: 20px 20px 0 0;
  }

  .provider-trust-modal-head {
    gap: 10px;
    padding: 13px 14px;
  }

  .provider-trust-modal-shield {
    width: 36px;
    height: 36px;
  }

  .provider-trust-modal-head h2 {
    font-size: 19px;
  }

  .provider-trust-modal-kicker {
    font-size: 9.5px;
  }

  .provider-trust-modal-body {
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  }

  .provider-trust-explanation {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 10px;
    font-size: 12px;
    line-height: 1.38;
  }

  .provider-trust-explanation p + p {
    border-top: 1px solid #D6E7DE;
    border-left: 0;
    padding-top: 6px;
    padding-left: 0;
  }

  .provider-trust-sources-head {
    margin-block-start: 14px;
  }

  .provider-trust-sources {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .provider-trust-source {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 11px;
  }

  .provider-trust-source-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .provider-trust-source-topline {
    flex-direction: row;
    align-items: center;
    gap: 5px 7px;
    min-height: 0;
  }

  .provider-trust-source-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 0;
    padding-block-start: 10px;
  }

  .provider-trust-source-action,
  .provider-trust-source-secondary {
    flex: 1 1 150px;
    min-height: 40px;
  }
}

/* Promos: el texto de vigencia puede enumerar hasta seis días. El flex exterior
   puede envolver chips, pero el chip también debe poder encogerse y envolver su
   propio texto para no ensanchar la card en mobile. */
body.promos-page .item-card-content,
body.promos-page .item .meta {
  min-width: 0;
  max-width: 100%;
}

body.promos-page .item .promo-days-tag {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Horarios partidos: la segunda franja sólo ocupa espacio cuando se agrega. */
.account-schedule-day { grid-template-columns: minmax(110px, 160px) minmax(0, 1fr) auto; }
.account-page .account-schedule-day .account-schedule-day-toggle { display: flex; flex-direction: row !important; align-items: center; gap: 10px; min-height: 44px; }
.account-schedule-day-toggle input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; margin: 0; flex: 0 0 20px; }
.account-schedule-add, .account-schedule-second { grid-column: 2 / 3; justify-self: start; }
.account-schedule-day-error, .schedule-row-error { grid-column: 1 / -1; margin: 0; color: #9f2525; }
.account-schedule-day-range[hidden], .account-schedule-add[hidden], .schedule-extra[hidden] { display: none; }
.account-schedule-day[data-open="false"] .account-schedule-second { display: none; }
.account-schedule-day button { min-height: 44px; }
.account-schedule-time input { min-width: 0; }
.account-branch-schedule-day .schedule-extra { grid-column: 2 / -1; }
.account-branch-schedule-day .schedule-second { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.account-branch-schedule-day .schedule-second[hidden] { display: none; }
.account-branch-schedule-day .schedule-second button { grid-column: 1 / -1; justify-self: start; }
.account-branch-schedule-day:not(:has([data-location-schedule-open]:checked)) .schedule-extra { display: none; }
.recommendation-schedule-list dd.recommendation-split-hours { white-space: normal; }
.recommendation-split-hours span { display: inline-block; white-space: nowrap; }
@media (max-width: 640px) {
  .account-schedule-day { grid-template-columns: minmax(0, 1fr); }
  .account-schedule-add, .account-schedule-second, .account-branch-schedule-day .schedule-extra { grid-column: 1 / -1; }
}

/* Let the eight public categories fill the desktop row without changing mobile. */
@media (min-width: 1101px) {
  body:not(.account-page) .module-links:has(> .module-link:nth-child(8):last-child) {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }

  body:not(.account-page) .module-links:has(> .module-link:nth-child(8):last-child) > .module-link {
    min-height: 80px !important;
  }

  body:not(.account-page) .module-links:has(> .module-link:nth-child(8):last-child) > .module-link strong {
    min-height: 1.2em;
  }
}

/* Compact HOME services reuse the approved edition card palette and dimensions. */
body.home-app .home-service-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
body.home-app .home-service-row .home-service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #D7E2DC;
  border-radius: 14px;
  background: #FBFCF9;
  color: #063047;
  box-shadow: none;
}
body.home-app .home-service-row .home-service-heading { display:flex; align-items:center; gap:10px; min-width:0; }
body.home-app .home-service-row .home-service-icon { display:grid; place-items:center; flex:none; width:32px; height:32px; border-radius:10px; background:#EEF5F3; color:#063047; }
body.home-app .home-service-row .home-service-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
body.home-app .home-service-row h2 { margin:0; font-size:17px; line-height:1.25; overflow-wrap:normal; }
body.home-app .home-service-row .home-service-description { margin:0; color:#526A70; font-size:14px; line-height:1.4; }
body.home-app .home-service-row .home-service-actions { display:flex; flex-wrap:wrap; gap:0 16px; margin-top:auto; }
body.home-app .home-service-row .home-service-action { display:inline-flex; align-items:center; min-height:44px; color:#0B6B57; font-size:14px; line-height:1.4; font-weight:750; text-decoration:none; }
body.home-app .home-service-row .home-service-action:hover { text-decoration:underline; }
body.home-app .home-service-row .home-service-action:focus-visible { outline:3px solid #137594; outline-offset:3px; border-radius:2px; }
body.home-app .home-service-row .home-service-report { color:#526A70; }
@media (max-width:767px) {
  body.home-app .home-service-row { gap:10px; margin-top:12px; }
  body.home-app .home-service-row .home-service-card { padding:12px; border-radius:12px; }
  body.home-app .home-service-row .home-service-heading { gap:7px; }
  body.home-app .home-service-row .home-service-icon { width:26px; height:26px; border-radius:8px; }
  body.home-app .home-service-row .home-service-icon svg { width:20px; height:20px; }
  body.home-app .home-service-row h2 { font-size:14px; }
  body.home-app .home-service-row .home-service-description { font-size:12px; }
  body.home-app .home-service-row .home-service-actions { gap:0 10px; }
  body.home-app .home-service-row .home-service-action { font-size:12px; }
}
@media (max-width:339px) {
  body.home-app .home-service-row { grid-template-columns:minmax(0,1fr); }
}
