@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
@font-face {
  font-family: "Acomodo Bricolage";
  src: url("/fonts/BricolageGrotesque-Latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  --bg: #f5f7f7;
  --surface: #fff;
  --text: #173039;
  --muted: #78909a;
  --line: #e4ebed;
  --primary: #167a72;
  --primary-dark: #105d58;
  --soft: #eaf4f2;
  --gold: #f2ba69;
  --brand-gold: #b97832;
  --blue: #dfeef7;
  --orange: #fff2df;
  --green: #e4f4ee;
  --shadow: 0 13px 40px rgba(27, 65, 67, 0.045);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #102025;
  --surface: #192b30;
  --text: #eff7f5;
  --muted: #9bb1b7;
  --line: #31474b;
  --primary: #72cbb8;
  --primary-dark: #8bddcb;
  --brand-gold: #f2ba69;
  --soft: #1e3a3d;
  --blue: #28404b;
  --orange: #4b3a2b;
  --green: #254138;
  --shadow: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg: #102025;
    --surface: #192b30;
    --text: #eff7f5;
    --muted: #9bb1b7;
    --line: #31474b;
    --primary: #72cbb8;
    --primary-dark: #8bddcb;
    --brand-gold: #f2ba69;
    --soft: #1e3a3d;
    --blue: #28404b;
    --orange: #4b3a2b;
    --green: #254138;
    --shadow: none;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, "DM Sans", sans-serif;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.12;
}
h2 {
  font-size: 1.35rem;
}
h3 {
  font-size: 1.05rem;
}
p {
  line-height: 1.6;
}
.eyebrow {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  color: var(--primary);
}
.primary,
.secondary,
.google-button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 12px;
  min-height: 43px;
  padding: 0 1rem;
  font-weight: 700;
  transition:
    transform 0.15s,
    background 0.15s;
  border: 1px solid transparent;
}
.primary {
  background: var(--primary);
  color: #fff;
}
.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
:root[data-theme="dark"] .primary {
  color: #102025;
}
.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.secondary:hover,
.google-button:hover {
  border-color: var(--primary);
}
.full {
  width: 100%;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 700;
  padding: 0.35rem 0;
}
.text-button:hover {
  text-decoration: underline;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 9px;
}
.icon-button:hover {
  background: var(--soft);
}
.muted {
  color: var(--muted);
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  flex: none;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 28px 15px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
  overflow-y: auto;
}
.sidebar-top {
  padding: 0 13px;
  margin-bottom: 52px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 800 1.34rem "Acomodo Bricolage", Manrope, sans-serif;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand-word {
  line-height: 1;
}
.brand-mark {
  display: block;
  width: 35px;
  height: 35px;
  flex: none;
}
.brand-dot {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: var(--brand-gold);
}
.nav-label {
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  color: var(--muted);
  font-weight: 800;
  padding: 0 15px;
  margin-bottom: 12px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}
.sidebar nav button:hover,
.sidebar nav button.active {
  background: var(--soft);
  color: var(--primary);
}
.nav-chevron {
  margin-left: auto;
  opacity: 0;
}
.sidebar nav button.active .nav-chevron {
  opacity: 1;
}
.sidebar-public { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 18px; }
.sidebar-public .nav-label { margin-bottom: 8px; }
.sidebar-public a + .nav-label { margin-top: 19px; }
.sidebar-public a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 700; }
.sidebar-public a:hover { background: var(--soft); color: var(--primary); }
.sidebar-public a svg:last-child { margin-left: auto; opacity: .55; }
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 20px 9px 0;
}
.private-note,
.theme-button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.79rem;
  font-weight: 700;
  padding: 8px 5px;
}
.theme-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.theme-button:hover {
  color: var(--primary);
}
.main {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}
.breadcrumb strong {
  color: var(--text);
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0;
  border: 0;
  overflow: hidden;
  flex: none;
}
.topbar .avatar {
  cursor: pointer;
}
.topbar .avatar:hover,
.topbar .avatar:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-menu { position: relative; z-index: 35; }
.profile-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: none; width: min(260px, calc(100vw - 30px)); padding: 8px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--text); box-shadow: 0 18px 42px rgba(8,34,35,.18); }
.profile-menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.profile-menu[data-open="true"] .profile-menu-panel { display: grid; }
.profile-menu-email { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 11px 12px 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.profile-menu-panel > a,.profile-menu-panel > button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; text-align: left; cursor: pointer; }
.profile-menu-panel > a:hover,.profile-menu-panel > button:hover,.profile-menu-panel > a:focus-visible,.profile-menu-panel > button:focus-visible { background: var(--soft); color: var(--primary-dark); }
.content {
  max-width: 1480px;
  margin: auto;
  padding: 38px clamp(20px, 4vw, 56px) 70px;
}
.hero {
  background: linear-gradient(111deg, #d9f0eb, #eaf4ee 66%, #f6eacb);
  border-radius: 22px;
  padding: 48px clamp(28px, 5vw, 70px);
  min-height: 315px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  position: relative;
  color: #173039;
}
.hero > div:first-child { min-width: 0; position: relative; z-index: 1; }
.hero h1 {
  margin: 14px 0;
}
.hero h1 em {
  font-style: normal;
  color: #167a72;
}
.hero .eyebrow { color: #12675f; }
.hero p {
  max-width: 430px;
  color: #5b7880;
  margin-bottom: 25px;
}
.hero-art {
  width: 250px;
  height: 220px;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.hero-mark { width: 155px; height: 160px; position: relative; filter: drop-shadow(0 17px 15px rgba(21,66,61,.18)); }
.hero-mark span { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
.hero-mark-dot {
  top: 28px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f1ad4e;
  box-shadow: inset 0 -3px 0 #c88330, 0 4px 9px rgba(88,57,27,.13);
  animation: heroDot 4.8s ease-in-out infinite;
}
.hero-mark-middle {
  top: 65px;
  width: 104px;
  height: 28px;
  border-radius: 50%;
  background: #fffcf1;
  box-shadow: inset 0 -4px 0 #d2e0d4, 0 5px 10px rgba(24,74,67,.14);
  animation: heroMiddle 4.8s ease-in-out infinite;
}
.hero-mark-base {
  top: 103px;
  width: 150px;
  height: 35px;
  border-radius: 50%;
  background: #3b9f87;
  box-shadow: inset 0 -6px 0 #167a72, 0 7px 13px rgba(24,74,67,.16);
  animation: heroBase 4.8s ease-in-out infinite;
}
@keyframes heroDot { 50% { transform: translate(-50%, -6px); } }
@keyframes heroMiddle { 50% { transform: translate(-50%, -2px); } }
@keyframes heroBase { 50% { transform: translate(-50%, 1px); } }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 22px 0;
}
.stats-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat,
.panel,
.account-card,
.debt-card,
.summary-strip,
.status-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
}
.stat {
  padding: 22px 23px;
  min-height: 147px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}
.stat-icon {
  color: var(--primary);
}
.stat strong {
  display: block;
  font:
    800 clamp(1.35rem, 2vw, 1.8rem) Manrope,
    sans-serif;
  letter-spacing: -0.055em;
  margin: 15px 0 5px;
}
.stat small,
.account-card small,
.debt-card small {
  font-size: 0.75rem;
  color: var(--muted);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.panel {
  padding: 27px 28px;
  min-width: 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 7px 0 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  min-width: 0;
}
.row:first-of-type {
  border-top: 0;
}
.row > strong {
  font-size: 0.86rem;
  white-space: nowrap;
}
.row-main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}
.row-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}
.row-main small {
  color: var(--muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.row-icon.orange {
  background: var(--orange);
  color: #bc812d;
}
.row-icon.green {
  background: var(--green);
  color: #218467;
}
.row-icon.blue {
  background: var(--blue);
  color: #4a82a5;
}
.positive {
  color: var(--primary);
}
.empty {
  padding: 30px 10px;
  text-align: center;
  color: var(--muted);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin: 0 auto 12px;
  background: var(--soft);
  color: var(--primary);
  border-radius: 13px;
}
.empty p {
  margin: 0 0 5px;
  font-size: 0.86rem;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 4px 0 27px;
  padding: 22px 30px;
  border-radius: 22px;
  background: linear-gradient(115deg, #eff8f1, #f9f7ea);
  overflow: hidden;
}
.page-heading-copy { min-width: 0; position: relative; z-index: 1; }
.page-heading h1 {
  margin: 8px 0 8px;
}
.page-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}
.page-heading .primary { margin-top: 18px; }
.section-motion { width: 192px; height: 132px; flex: 0 0 192px; display: grid; place-items: center; }
.section-motion svg { width: 100%; height: 100%; overflow: visible; }
.section-motion .motion-back { animation: motionRise .75s cubic-bezier(.2,.7,.2,1) both; }
.section-motion .motion-front { animation: motionRise .9s .12s cubic-bezier(.2,.7,.2,1) both; }
.section-motion .motion-coin { animation: motionFloat 3.6s ease-in-out infinite; transform-origin: 137px 40px; }
.motion-route-one { animation: motionSlideRight .7s ease-out both; }
.motion-route-two { animation: motionSlideLeft .7s .12s ease-out both; }
.motion-traveler-one { animation: motionTravelRight 3.8s ease-in-out infinite; }
.motion-traveler-two { animation: motionTravelLeft 3.8s ease-in-out infinite; }
.motion-calendar { animation: motionRise .75s ease-out both; }
.motion-check { animation: motionPop 3.8s ease-in-out infinite; transform-origin: 128px 87px; }
.motion-check-stroke { stroke-dasharray: 25; stroke-dashoffset: 25; animation: motionDraw 3.8s ease-in-out infinite; }
.motion-debt-one { animation: motionDebt 4s ease-in-out infinite; transform-origin: 45px 51.5px; }
.motion-debt-two { animation: motionDebtTwo 4s ease-in-out infinite; transform-origin: 45px 79.5px; }
.motion-bar { transform-box: fill-box; transform-origin: center bottom; animation: motionGrow .8s ease-out both; }
.motion-bar-two { animation-delay: .12s; }.motion-bar-three { animation-delay: .24s; }.motion-bar-four { animation-delay: .36s; }
.motion-trend { stroke-dasharray: 105; stroke-dashoffset: 105; animation: motionLine 1.4s .3s ease-out forwards; }
.motion-trend-dot { animation: motionPop 3.8s ease-in-out infinite; transform-origin: 137px 30px; }
.motion-profile-halo { animation: motionHalo 4s ease-in-out infinite; transform-origin: 96px 65px; }
.motion-profile-badge { animation: motionFloat 3.6s ease-in-out infinite; transform-origin: 126px 93px; }
@keyframes motionRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes motionFloat { 50% { transform: translateY(-5px); } }
@keyframes motionSlideRight { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes motionSlideLeft { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes motionTravelRight { 50% { transform: translateX(28px); } }
@keyframes motionTravelLeft { 50% { transform: translateX(-28px); } }
@keyframes motionPop { 0%, 10%, 100% { transform: scale(.88); } 25%, 70% { transform: scale(1); } }
@keyframes motionDraw { 0%, 15% { stroke-dashoffset: 25; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 25; } }
@keyframes motionDebt { 50% { transform: scaleX(.77); } }
@keyframes motionDebtTwo { 50% { transform: scaleX(1.2); } }
@keyframes motionGrow { from { transform: scaleY(.15); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
@keyframes motionLine { to { stroke-dashoffset: 0; } }
@keyframes motionHalo { 50% { transform: scale(1.08); opacity: .65; } }
.summary-strip {
  padding: 25px 30px;
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}
.summary-strip > span {
  font-size: 0.85rem;
  color: var(--muted);
}
.summary-strip strong {
  font:
    800 2rem Manrope,
    sans-serif;
  letter-spacing: -0.05em;
}
.summary-strip small {
  color: var(--muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.account-card,
.debt-card {
  padding: 25px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
}
.account-icon {
  width: 45px;
  height: 45px;
  background: var(--soft);
  color: var(--primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
}
.account-kind {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--primary);
}
.account-card h3,
.debt-card h3 {
  margin: 5px 0;
}
.account-card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: auto;
}
.account-delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}
.account-delete:hover {
  color: #b44747;
}
.account-delete:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-about,
.public-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.auth-about {
  margin-top: 20px;
}
.auth-public-links { display: flex; gap: 17px; margin-top: 18px; }
.auth-public-links a { color: var(--primary); font-size: .8rem; font-weight: 700; }
.auth-legal {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.auth-legal a {
  color: var(--primary);
}
.consent-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
}
.consent-card {
  width: min(100%, 570px);
  padding: clamp(26px, 5vw, 46px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.consent-card .brand {
  margin-bottom: 42px;
}
.consent-card h1 {
  margin: 12px 0 18px;
}
.consent-card p {
  color: var(--muted);
}
.consent-card a {
  color: var(--primary);
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0 18px;
  line-height: 1.5;
  font-size: 0.92rem;
}
.consent-check input {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--primary);
}
.preference-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 650px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  cursor: pointer;
}
.preference-row input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--primary);
}
.preference-row strong,
.preference-row small {
  display: block;
}
.preference-row small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 58px;
  height: 58px;
  font-size: 1.2rem;
}
.profile-card h2,
.profile-card p {
  margin: 0;
}
.profile-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.profile-data {
  margin-top: 20px;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}
.profile-actions a {
  text-decoration: none;
}
.danger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b63636;
  font-weight: 700;
}
.danger-link:hover {
  text-decoration: underline;
}
.danger-button {
  min-height: 43px;
  border: 0;
  border-radius: 12px;
  background: #b63636;
  color: #fff;
  font-weight: 700;
}
.danger-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.analytics-banner {
  position: fixed;
  z-index: 60;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px max(22px, calc((100vw - 1180px) / 2));
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 30px #0002;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.analytics-banner p {
  margin: 0;
  max-width: 700px;
  font-size: 0.86rem;
}
.analytics-banner a { color: var(--primary); text-decoration: underline; }
.analytics-banner div {
  display: flex;
  gap: 8px;
  flex: none;
}
.analytics-preferences p { margin: 0 0 12px; }
.analytics-preference-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.analytics-preference-actions [aria-pressed="true"] { border-color: var(--primary); color: var(--primary); background: var(--soft); }
@media (max-width: 650px) {
  .analytics-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px max(14px, env(safe-area-inset-bottom));
  }
  .analytics-banner div {
    justify-content: flex-end;
  }
}
.public-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 32px 36px;
}
.public-nav,
.public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.public-nav-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.public-app-button,
.welcome-nav a.public-app-button,
.public-nav-actions a.public-app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid #176c67;
  border-radius: 999px;
  background: #176c67;
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(23,108,103,.12);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.welcome-nav a.public-app-button:hover,
.public-nav-actions a.public-app-button:hover {
  background: #10524e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(23,108,103,.2);
}
.public-app-button:focus-visible { outline: 3px solid #efc26f; outline-offset: 3px; }
.public-brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font:
    800 1.45rem Manrope,
    sans-serif;
  text-decoration: none;
  letter-spacing: -0.055em;
}
.public-brand .brand {
  font-size: inherit;
}
.public-hero {
  padding: clamp(65px, 10vw, 130px) 0 78px;
  max-width: 710px;
}
.public-hero h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  margin: 20px 0;
}
.public-hero h1 em {
  color: var(--primary);
  font-style: normal;
}
.public-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  color: var(--muted);
}
.public-cta {
  width: fit-content;
  margin-top: 25px;
  text-decoration: none;
}
.public-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.public-features article {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.public-features svg {
  color: var(--primary);
  margin-bottom: 18px;
}
.public-features h2 {
  margin-bottom: 8px;
}
.public-features p {
  color: var(--muted);
  margin-bottom: 0;
}
.public-footer {
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.public-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.public-footer a {
  color: var(--primary);
  text-decoration: none;
}
.legal-page {
  max-width: 850px;
}
.legal-page h1 {
  margin: 52px 0 10px;
}
.legal-page .legal-updated {
  color: var(--muted);
  margin-bottom: 32px;
}
.legal-page section {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.legal-page section h2 {
  margin-bottom: 12px;
}
.legal-page section p,
.legal-page section li {
  color: var(--muted);
}
.legal-page a {
  color: var(--primary);
}
@media (max-width: 640px) {
  .public-page {
    padding: 22px 20px 32px;
  }
  .public-hero {
    padding: 70px 0 55px;
  }
  .public-features {
    grid-template-columns: 1fr;
  }
  .public-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
.account-balance,
.debt-card > strong {
  font:
    800 1.7rem Manrope,
    sans-serif;
  letter-spacing: -0.05em;
  margin-bottom: 5px;
}
.debt-card .pill {
  align-self: flex-start;
  margin-bottom: 20px;
}
.debt-card > strong {
  margin-top: auto;
}
.debt-card .secondary {
  margin-top: 18px;
  align-self: flex-start;
}
.pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 14px;
  max-width: 450px;
  flex: 1;
  color: var(--muted);
}
.search input {
  height: 43px;
  outline: 0;
  border: 0;
  background: none;
  width: 100%;
  color: var(--text);
}
.list-panel {
  padding-top: 8px;
  padding-bottom: 8px;
}
.movement-row .icon-button {
  margin-left: 4px;
}
.status-card {
  background: var(--soft);
  padding: 26px 30px;
  margin-bottom: 22px;
}
.status-card.attention {
  background: var(--orange);
}
.status-card strong {
  display: block;
  font:
    800 2rem Manrope,
    sans-serif;
  margin: 7px 0;
}
.status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.small-button {
  min-height: 33px;
  padding: 0 11px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.73rem;
}
.category-line {
  padding: 13px 0;
}
.category-line > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}
.category-line span {
  color: var(--muted);
}
.bar {
  height: 7px;
  background: var(--soft);
  border-radius: 20px;
  margin-top: 9px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 20px;
}
.insight {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.insight:first-child {
  border-top: 0;
}
.insight-star {
  background: var(--soft);
  color: var(--primary);
  height: 31px;
  width: 31px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.insight h3 {
  margin: 0 0 5px;
}
.insight p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 6px;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.auth-copy {
  background: linear-gradient(140deg, #d8efe9, #eff2dd);
  padding: clamp(35px, 5vw, 80px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: #173039;
}
.auth-copy .brand {
  position: absolute;
  top: 38px;
  left: clamp(35px, 5vw, 80px);
}
.auth-copy h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  margin: 20px 0;
}
.auth-copy h1 em {
  font-style: normal;
  color: #167a72;
}
.auth-copy > p {
  max-width: 480px;
  color: #4e7074;
  font-size: 1.07rem;
}
.auth-points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: #376c67;
  font-size: 0.83rem;
  font-weight: 700;
}
.auth-points span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-card {
  display: grid;
  place-items: center;
  padding: 30px;
}
.auth-card-inner {
  width: min(100%, 395px);
}
.auth-card h2 {
  font-size: 2.1rem;
  margin: 9px 0;
}
.auth-card p {
  color: var(--muted);
  font-size: 0.89rem;
}
.google-button {
  width: 100%;
  margin: 21px 0 15px;
  background: #fff;
  border-color: #747775;
  color: #1f1f1f;
}
.google-button:hover {
  border-color: #1f1f1f;
}
.google-logo {
  display: block;
  flex: none;
  width: 20px;
  height: auto;
}
.divider {
  text-align: center;
  position: relative;
  color: var(--muted);
  font-size: 0.75rem;
  margin: 14px 0 20px;
}
.divider:before {
  content: "";
  height: 1px;
  background: var(--line);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
}
.divider span {
  background: var(--surface);
  padding: 0 10px;
  position: relative;
}
.auth-card form {
  display: grid;
  gap: 15px;
}
.auth-card form .primary {
  margin-top: 7px;
}
.switch-auth {
  text-align: center;
  margin: 22px 0 0;
}
.switch-auth button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #10272ca8;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 15px;
}
.modal {
  background: var(--surface);
  color: var(--text);
  width: min(100%, 540px);
  max-height: calc(100vh - 30px);
  overflow: auto;
  border-radius: 21px;
  padding: 26px 29px;
  box-shadow: 0 25px 70px #0003;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.modal-head h2 {
  margin: 7px 0 0;
  font-size: 1.6rem;
}
.modal-form {
  display: grid;
  gap: 17px;
}
.modal-form .primary {
  margin-top: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
label {
  font-size: 0.78rem;
  font-weight: 700;
}
label input:not([type="checkbox"]),
label select {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  height: 43px;
  border-radius: 10px;
  padding: 0 12px;
  margin-top: 7px;
  outline: 0;
}
label input:focus,
label select:focus {
  border-color: var(--primary);
}
.check-label {
  display: flex;
  gap: 9px;
  align-items: center;
}
.check-label input {
  accent-color: var(--primary);
}
.form-message,
.error-banner {
  background: #fff0e7;
  color: #9d4b21;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.82rem;
}
.error-banner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.error-banner button {
  border: 0;
  background: none;
  color: inherit;
}
.helper {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.loading,
.setup {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font:
    800 2rem Manrope,
    sans-serif;
}
.loading span {
  color: var(--primary);
}
.setup {
  align-content: center;
  text-align: center;
  gap: 12px;
  padding: 25px;
}
.setup h1 {
  font-size: 2.4rem;
  margin: 15px 0 0;
}
.setup p {
  font:
    400 1rem "DM Sans",
    sans-serif;
  color: var(--muted);
}
.mobile-menu,
.mobile-close,
.scrim {
  display: none;
}
@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: center; width: 100%; height: 160px; }
  .hero-art::before { width: 160px; height: 160px; }
  .hero-mark { transform: scale(.76); }
  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 12px 0 30px #0002;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #07191d8a;
    z-index: 19;
    border: 0;
  }
  .mobile-menu,
  .mobile-close {
    display: inline-grid;
  }
  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .topbar {
    height: 63px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-copy {
    min-height: 410px;
    padding: 95px 25px 40px;
  }
  .auth-copy .brand {
    top: 27px;
    left: 25px;
  }
  .auth-copy h1 {
    font-size: 3.2rem;
  }
  .auth-card {
    padding: 48px 25px;
  }
}
@media (max-width: 650px) {
  .content {
    padding: 25px 16px 60px;
  }
  .hero {
    padding: 30px 23px;
    min-height: 270px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-art {
    display: grid;
    justify-self: center;
    width: 100%;
    height: 150px;
  }
  .hero-art::before { width: 150px; height: 150px; }
  .hero-mark { transform: scale(.72); }
  .stats-grid,
  .stats-grid.three,
  .two-col,
  .card-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    gap: 10px;
    margin: 13px 0;
  }
  .stat {
    min-height: 120px;
    padding: 17px 19px;
  }
  .stat strong {
    margin: 10px 0 2px;
  }
  .panel {
    padding: 22px 18px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px 14px;
    margin-bottom: 20px;
  }
  .page-heading .primary {
    width: 100%;
  }
  .section-motion { width: 150px; height: 103px; flex-basis: auto; align-self: center; }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .search {
    min-width: 100%;
    max-width: none;
  }
  .row {
    gap: 9px;
  }
  .row > strong {
    font-size: 0.78rem;
  }
  .row-main small {
    font-size: 0.65rem;
  }
  .small-button {
    font-size: 0;
    width: 32px;
    padding: 0;
  }
  .small-button:after {
    content: "✓";
    font-size: 0.85rem;
  }
  .modal {
    padding: 23px 19px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .auth-copy {
    min-height: 390px;
  }
  .auth-points {
    margin-top: 18px;
  }
}
.csv-guide {
  display: grid;
  gap: 8px;
  background: var(--soft);
  padding: 15px;
  border-radius: 11px;
  font-size: 0.79rem;
  line-height: 1.5;
}
.csv-guide code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
}
.csv-preview {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px;
  overflow: hidden;
}
.csv-preview > strong {
  font-size: 0.84rem;
}
.csv-preview p,
.csv-preview small {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 5px 0 10px;
}
.csv-table {
  overflow: auto;
  max-height: 230px;
}
.csv-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.72rem;
  white-space: nowrap;
}
.csv-table th,
.csv-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.csv-table th {
  color: var(--muted);
}
.csv-preview summary {
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 9px;
}
.csv-preview ul {
  font-size: 0.73rem;
  color: var(--muted);
  padding-left: 20px;
}
.link-access {
  display: block;
  margin: 13px auto 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}
.link-access:hover {
  text-decoration: underline;
}

/* Identificadores locales de comercios e instituciones */
.merchant-mark { width: 40px; height: 40px; border-radius: 12px; flex: none; display: inline-grid; place-items: center; color: var(--primary); background: var(--soft); overflow: hidden; }
.merchant-mark:has(img) { color: #fff; }
.merchant-mark img { width: 23px; height: 23px; object-fit: contain; filter: brightness(0) invert(1); }
.merchant-mark.merchant-badge img { width: 40px; height: 40px; filter: none; }
.account-icon .merchant-mark { width: 48px; height: 48px; }
.account-icon .merchant-mark.merchant-badge img { width: 48px; height: 48px; }

/* Guía express: el resaltado queda fuera del recorte del menú */
[data-tour-active="true"] { position: relative; z-index: 102 !important; box-shadow: 0 0 0 5px #f2ba69, 0 0 0 9999px transparent; border-radius: 12px; }
.tour-layer { position: fixed; inset: 0; z-index: 100; }
.tour-scrim { position: absolute; inset: 0; background: rgba(12, 31, 35, .55); }
.tour-card { position: fixed; z-index: 103; width: min(340px, calc(100vw - 32px)); padding: 23px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 70px rgba(0,0,0,.2); }
.tour-top,.tour-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.tour-top span { color: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.tour-top button { border: 0; background: none; color: var(--muted); }
.tour-card h2 { margin: 17px 0 7px; font-size: 1.22rem; }
.tour-card p { margin: 0 0 16px; color: var(--muted); font-size: .84rem; }
.tour-progress { display: flex; gap: 5px; margin-bottom: 17px; }
.tour-progress i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.tour-progress i.active { background: var(--primary); }
.tour-actions .primary { min-height: 38px; }
.tour-menu-button { display: none; }
@media (max-width: 800px) {
  .tour-layer-mobile { pointer-events: none; }
  .tour-layer-mobile .tour-scrim { display: none; }
  .tour-layer-mobile .tour-card {
    pointer-events: auto;
    inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
    width: auto;
    max-height: min(44dvh, 320px);
    overflow-y: auto;
    padding: 18px;
  }
  .tour-layer-mobile .tour-card h2 { margin-top: 10px; }
  .tour-layer-mobile .tour-card p { margin-bottom: 9px; }
  .tour-layer-mobile .tour-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 1px 0 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 11px;
    background: var(--soft);
    color: var(--primary);
    font-weight: 700;
  }
  .tour-layer-mobile .tour-mobile-hint { font-size: .76rem; }
  .tour-layer-mobile .tour-progress { margin-bottom: 11px; }
}

/* Portada pública */
.welcome-page { min-height: 100vh; background: #f7faf8; color: #173039; overflow: hidden; }
.welcome-nav { max-width: 1220px; margin: auto; padding: 28px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.welcome-nav nav { display: flex; align-items: center; gap: 28px; }
.welcome-nav a { color: inherit; text-decoration: none; font-weight: 700; font-size: .84rem; }
.welcome-nav a:hover { color: #167a72; }
.welcome-hero { max-width: 1220px; min-height: 625px; margin: 0 auto; padding: 68px 34px 105px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.welcome-copy { position: relative; z-index: 2; }
.welcome-copy h1 { font-family: "Acomodo Bricolage", Manrope, sans-serif; font-weight: 800; font-size: clamp(3.6rem, 6.4vw, 6.6rem); line-height: .98; letter-spacing: -.075em; margin: 20px 0 25px; }
.welcome-copy h1 em { color: #168078; font-style: normal; }
.welcome-copy > p { font-size: 1.08rem; color: #617b7f; max-width: 500px; }
.welcome-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.welcome-actions a { text-decoration: none; min-height: 49px; }
.welcome-trust { display: flex; align-items: center; gap: 7px; color: #6a8588; font-size: .75rem; }
.welcome-motion { position: relative; min-height: 440px; isolation: isolate; }
.motion-orbit { position: absolute; border: 1px solid rgba(22,122,114,.16); border-radius: 50%; inset: 3% 7%; transform: rotate(-20deg); }
.motion-orbit-two { inset: 12% 14%; transform: rotate(20deg); }
.motion-card { position: absolute; background: #fff; box-shadow: 0 25px 70px rgba(31,81,75,.12); border: 1px solid #e6eeeb; border-radius: 20px; }
.motion-balance { z-index: 3; width: 310px; height: 215px; left: 17%; top: 26%; padding: 26px; transform: rotate(-4deg); animation: floatBalance 6s ease-in-out infinite; }
.motion-balance span { display: block; color: #688487; font-size: .8rem; }
.motion-balance strong { display: block; font-family: "Acomodo Bricolage", sans-serif; font-size: 1.3rem; margin-top: 9px; }
.motion-bars { display: flex; align-items: flex-end; gap: 12px; height: 85px; margin-top: 13px; border-bottom: 2px solid #e8f0ed; }
.motion-bars i { flex: 1; border-radius: 8px 8px 2px 2px; background: #a3ddd1; height: 38%; animation: growBar 2s ease-out both; }
.motion-bars i:nth-child(2) { height: 57%; animation-delay: .1s; }.motion-bars i:nth-child(3) { height: 45%; animation-delay: .2s; }.motion-bars i:nth-child(4) { height: 68%; animation-delay: .3s; }.motion-bars i:nth-child(5) { height: 53%; animation-delay: .4s; }.motion-bars i:nth-child(6) { height: 84%; background: #178179; animation-delay: .5s; }
.motion-income,.motion-payment { z-index: 4; display: flex; align-items: center; gap: 9px; padding: 14px 17px; font-size: .78rem; font-weight: 700; }
.motion-income { right: 1%; top: 20%; transform: rotate(6deg); animation: floatIncome 5s ease-in-out infinite; }
.motion-payment { left: 1%; bottom: 15%; transform: rotate(-5deg); animation: floatIncome 5.7s ease-in-out infinite reverse; }
.motion-income strong,.motion-payment strong { color: #168078; margin-left: 10px; font-size: 1.2rem; }
.motion-dot { width: 11px; height: 11px; border-radius: 50%; }.motion-dot.green { background: #55be98; }.motion-dot.gold { background: #f2ba69; }
.motion-stone { position: absolute; border-radius: 45% 55% 48% 52%; filter: drop-shadow(0 25px 30px rgba(29,85,79,.12)); }
.stone-one { width: 160px; height: 95px; background: #aacfc3; right: 1%; bottom: 5%; transform: rotate(-22deg); }
.stone-two { width: 95px; height: 65px; background: #f3d09b; right: 8%; bottom: 23%; transform: rotate(18deg); }
.stone-three { width: 58px; height: 48px; background: #327f79; right: 14%; bottom: 37%; transform: rotate(-8deg); }
.welcome-benefits { background: #fff; padding: 95px max(34px, calc((100vw - 1152px) / 2)); }
.welcome-benefits h2,.welcome-story h2 { font-size: clamp(2rem, 3vw, 3rem); max-width: 550px; }
.welcome-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 37px; }
.welcome-feature-grid article { padding: 29px; border: 1px solid #e2ece8; border-radius: 20px; background: #fafcfb; }
.welcome-feature-grid svg { color: #167a72; }.welcome-feature-grid h3 { margin: 22px 0 9px; }.welcome-feature-grid p { color: #6d8387; font-size: .9rem; margin: 0; }
.welcome-story { max-width: 1220px; margin: auto; padding: 95px 34px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.welcome-story p { max-width: 475px; color: #6d8387; }.welcome-story-art { height: 260px; display: flex; align-items: flex-end; gap: 16px; justify-content: center; }
.blog-recommendations { display: grid; gap: 10px; min-width: 0; }
.blog-recommendation { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 9px; border: 1px solid #dce8e4; border-radius: 15px; color: #173039; background: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
.blog-recommendation:hover { border-color: #74bfb0; transform: translateY(-2px); }
.blog-recommendation-art { flex: none; display: grid; place-items: center; width: 78px; height: 66px; overflow: hidden; border-radius: 10px; color: #167a72; background: #e4f3ed; }
.blog-recommendation-art img { width: 100%; height: 100%; object-fit: cover; }
.blog-recommendation-copy { display: grid; gap: 4px; min-width: 0; }.blog-recommendation-copy small { color: #167a72; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }.blog-recommendation-copy strong { font-size: .85rem; line-height: 1.3; }
.app-blog-teaser { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.app-blog-teaser .section-head { margin-bottom: 15px; }.app-blog-teaser .section-head h2 { margin: 5px 0 0; }.app-blog-teaser .blog-recommendations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-blog-teaser .blog-recommendation { border-color: var(--line); color: var(--text); background: var(--surface); }
.welcome-story-art span { display: grid; place-items: center; width: 100px; border-radius: 48px 48px 16px 16px; font-family: "Acomodo Bricolage"; font-size: 2.5rem; color: #fff; background: #a6d8c8; height: 170px; }.welcome-story-art span:nth-child(2) { height: 230px; background: #1c8179; }.welcome-story-art span:nth-child(3) { height: 140px; background: #efbc70; }
.welcome-page .public-footer { max-width: 1220px; margin: 0 auto; }
.public-footer, .welcome-page .public-footer { display: block; width: min(1100px, calc(100vw - 48px)); max-width: 1100px; margin: 64px auto 0; padding: 42px 0 24px; border-top: 1px solid #dce8e4; color: #526e72; }
.public-page .public-footer { position: relative; left: 50%; transform: translateX(-50%); }
.public-footer-inner { display: grid; grid-template-columns: minmax(200px, 1.7fr) repeat(2, minmax(125px, 1fr)) minmax(180px, 1.2fr); gap: 34px; align-items: start; }
.public-footer-brand a { display: inline-flex; color: #173039; text-decoration: none; }.public-footer-brand p { max-width: 245px; margin: 15px 0 0; line-height: 1.5; }
.public-footer-links { display: grid !important; gap: 10px !important; }.public-footer-links strong,.public-footer-social > strong { color: #173039; font-size: .81rem; }.public-footer-links a { width: fit-content; color: #526e72; text-decoration: none; }.public-footer-links a:hover { color: #167a72; text-decoration: underline; }
.public-footer-social > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }.public-footer-social a,.public-footer-social span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dce8e4; border-radius: 12px; background: #fff; color: #167a72; }.public-footer-social span { color: #9badac; background: #f2f5f3; }.public-footer-social a:hover { border-color: #167a72; background: #e8f6f0; }.public-footer-social small { display: block; margin-top: 10px; color: #82999a; }
.public-footer-bottom { margin-top: 35px; padding-top: 18px; border-top: 1px solid #e4ece9; font-size: .75rem; }
:root[data-theme="dark"] .public-page .public-footer { border-color: #577476; color: #d0e1dd; }
:root[data-theme="dark"] .public-page .public-footer .public-footer-brand a,
:root[data-theme="dark"] .public-page .public-footer .public-footer-links strong,
:root[data-theme="dark"] .public-page .public-footer .public-footer-social > strong { color: #f0f8f4; }
:root[data-theme="dark"] .public-page .public-footer .public-footer-links a { color: #d0e1dd; }
:root[data-theme="dark"] .public-page .public-footer .public-footer-links a:hover { color: #8bddcb; }
:root[data-theme="dark"] .public-page .public-footer .public-footer-bottom { border-color: #577476; }
:root[data-theme="dark"] .public-page .public-footer .public-footer-social small { color: #c4d8d3; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .public-page .public-footer { border-color: #577476; color: #d0e1dd; }
  :root[data-theme="system"] .public-page .public-footer .public-footer-brand a,
  :root[data-theme="system"] .public-page .public-footer .public-footer-links strong,
  :root[data-theme="system"] .public-page .public-footer .public-footer-social > strong { color: #f0f8f4; }
  :root[data-theme="system"] .public-page .public-footer .public-footer-links a { color: #d0e1dd; }
  :root[data-theme="system"] .public-page .public-footer .public-footer-bottom { border-color: #577476; }
  :root[data-theme="system"] .public-page .public-footer .public-footer-social small { color: #c4d8d3; }
}
@media (max-width: 800px) { .public-footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 500px) { .public-footer-inner { grid-template-columns: 1fr 1fr; gap: 27px 18px; }.public-footer-brand,.public-footer-social { grid-column: 1 / -1; }.public-footer,.welcome-page .public-footer { width: calc(100vw - 40px); padding-top: 34px; } }
.social-editor-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 18px 0; }.social-editor-fields label { display: grid; gap: 6px; color: #5a777b; font-size: .8rem; font-weight: 700; }
@media (max-width: 600px) { .social-editor-fields { grid-template-columns: 1fr; } }
.auth-about,.auth-public-links a,.public-nav-link,.welcome-nav nav > a:not(.public-app-button),a.text-button,.blog-back,.editor-preview-link,.blog-source a { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 38px; padding: 8px 15px; border: 1px solid #b9d8cf; border-radius: 999px; background: #edf8f3; color: #176c67; font-size: .8rem; font-weight: 800; line-height: 1.2; text-decoration: none; box-shadow: none; transition: background .18s, border-color .18s, transform .18s; }
.auth-about:hover,.auth-public-links a:hover,.public-nav-link:hover,.welcome-nav nav > a:not(.public-app-button):hover,a.text-button:hover,.blog-back:hover,.editor-preview-link:hover,.blog-source a:hover { background: #d9efe5; border-color: #77b5a4; color: #105b54; text-decoration: none; transform: translateY(-1px); }
.auth-public-links { gap: 9px; }.auth-about { margin-top: 20px; }.blog-back { margin-bottom: 35px; }.blog-source a { max-width: 100%; text-align: left; }
.welcome-nav nav { gap: 9px; }.public-nav-actions { gap: 9px; }
.ad-slot { max-width: 1152px; margin: 28px auto; padding: 18px 24px; border: 1px dashed #bac9c6; border-radius: 15px; background: #f4f8f6; color: #627d80; }
.ad-slot span { font-size: .62rem; font-weight: 800; letter-spacing: .14em; }.ad-slot p { margin: 5px 0 0; font-size: .85rem; }.ad-slot strong { display: block; margin-top: 7px; font-size: 1rem; color: #173039; }.ad-slot a { display: inline-block; margin-top: 10px; color: #167a72; font-weight: 800; font-size: .8rem; }
.ad-slot-app { max-width: none; margin: 24px 0 0; padding: 18px 22px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); box-shadow: var(--shadow); }
.ad-slot-app strong { color: var(--text); }
.ad-slot-app a,.ad-slot-app .ad-demo-cta { display: inline-block; margin-top: 10px; color: var(--primary); font-size: .8rem; font-weight: 800; letter-spacing: 0; }
.ad-slot-app .ad-demo-cta { opacity: .7; }
@keyframes floatBalance { 50% { transform: translateY(-13px) rotate(-2deg); } }
@keyframes floatIncome { 50% { transform: translateY(12px) rotate(3deg); } }
@keyframes growBar { from { height: 4%; } }
@media (max-width: 800px) { .welcome-hero { grid-template-columns: 1fr; padding-top: 45px; }.welcome-motion { min-height: 360px; }.welcome-feature-grid { grid-template-columns: 1fr; }.welcome-story { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .welcome-nav { padding: 20px; }.welcome-nav nav { gap: 12px; }.welcome-nav nav a[href="/acerca"], .welcome-nav nav a[href="/"] { display: none; }.welcome-nav a.public-app-button, .public-nav-actions a.public-app-button { min-height: 38px; padding: 8px 12px; font-size: .76rem; }.welcome-hero { padding: 35px 22px 60px; }.welcome-copy h1 { font-size: 3.7rem; }.welcome-motion { min-height: 300px; }.motion-balance { left: 7%; width: 70%; height: 185px; }.motion-income { right: 0; }.motion-payment { bottom: 0; }.welcome-benefits { padding: 65px 22px; }.welcome-story { padding: 65px 22px; }.welcome-story-art { display: none; }.app-blog-teaser { padding: 18px; }.app-blog-teaser .blog-recommendations { grid-template-columns: 1fr; }.ad-slot { margin: 18px 22px; } }
.content .ad-slot-app { margin: 24px 0 0; }
@media (max-width: 600px) { .ad-slot-app { padding: 16px 18px; }.public-nav-actions { gap: 10px; }.public-nav-actions a { font-size: .76rem; } }
@media (prefers-reduced-motion: reduce) { .hero-mark span { animation: none; } }
@media (prefers-reduced-motion: reduce) { .section-motion svg * { animation: none !important; stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .motion-card,.motion-bars i { animation: none !important; } }

/* Blog y panel editorial */
.blog-page,.editor-page { min-height: 100vh; background: #f7faf8; color: #173039; }
.blog-hero { max-width: 1152px; margin: 0 auto; padding: 82px 25px 65px; }
.blog-hero h1 { font-family: "Acomodo Bricolage", Manrope, sans-serif; font-size: clamp(3rem, 5vw, 5.4rem); line-height: 1.02; margin: 20px 0; }
.blog-hero h1 em { color: #168078; font-style: normal; }
.blog-hero p { max-width: 580px; color: #678084; font-size: 1.06rem; }
.blog-library { max-width: 1152px; margin: 0 auto; padding: 0 25px 100px; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 9px; border-bottom: 1px solid #dce8e4; padding-bottom: 25px; margin-bottom: 28px; }
.blog-filter button { border: 1px solid #dce8e4; background: #fff; color: #526e72; border-radius: 999px; padding: 9px 15px; font-size: .78rem; font-weight: 700; }
.blog-filter button.active { background: #167a72; border-color: #167a72; color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card { display: block; height: 100%; color: inherit; text-decoration: none; overflow: hidden; background: #fff; border: 1px solid #e1ebe7; border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(29,74,69,.1); }
.blog-card-art { min-height: 195px; display: flex; align-items: center; justify-content: center; position: relative; background: radial-gradient(circle at 65% 30%,#d9f0e6,#a1cec2 68%,#609c90); color: #236f66; }
.blog-card-art svg { width: 70px; height: 70px; opacity: .6; }.blog-card-art i { position: absolute; right: 20px; bottom: 13px; color: rgba(255,255,255,.7); font: 800 3rem "Acomodo Bricolage"; }
.blog-card-content { display: block; padding: 25px; }.blog-card-content small { color: #167a72; font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.blog-card-art img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-content h2 { margin: 12px 0; font-size: 1.35rem; }.blog-card-content p { min-height: 65px; color: #6d8387; font-size: .85rem; }
.blog-card-meta { display: flex; align-items: center; gap: 5px; color: #83999b; font-size: .72rem; }
.blog-state { padding: 70px 30px; text-align: center; color: #688186; }.blog-state a { color: #167a72; }
.blog-article { max-width: 780px; margin: 0 auto; padding: 50px 25px 105px; }
.article-sponsor-disclosure { width: fit-content; padding: 8px 12px; border-radius: 8px; background: #fff0d9; color: #69450f; font-size: .8rem; font-weight: 800; }
.blog-back { display: flex; width: fit-content; align-items: center; gap: 7px; margin-bottom: 35px; color: #167a72; text-decoration: none; font-weight: 700; font-size: .8rem; }
.blog-article > .eyebrow { display: block; }
.blog-article h1 { font: 800 clamp(2.5rem, 5vw, 4.6rem)/1.06 "Acomodo Bricolage", Manrope, sans-serif; margin: 15px 0; }.blog-deck { color: #607e81; font-size: 1.2rem; }
.blog-cover { margin: 30px 0 5px; }.blog-cover img,.blog-image img,.editor-image-field img,.editor-inline-image img,.editor-preview-cover { display: block; width: 100%; height: auto; border-radius: 14px; object-fit: cover; }.blog-image { margin: 30px 0; }.blog-image figcaption { margin-top: 9px; color: #6d8387; font-size: .8rem; }
.blog-byline { display: flex; align-items: center; gap: 5px; font-size: .77rem; color: #83999b; border-bottom: 1px solid #dce8e4; padding: 13px 0 28px; }
.blog-body { font-size: 1.02rem; line-height: 1.75; padding: 25px 0; }.blog-body p { margin: 0 0 22px; }.blog-body h2 { margin: 30px 0 15px; font-size: 1.6rem; }.blog-body ul { padding-left: 25px; }.blog-body li { margin: 9px 0; }.blog-body blockquote { border-left: 4px solid #f0b86d; padding: 14px 20px; margin: 25px 0; background: #fff; color: #4e686b; font-style: italic; }
.blog-body p a,.blog-body li a,.blog-body blockquote a,.blog-comparison a { color: #126f67; font-weight: 750; text-underline-offset: 3px; }.blog-source { font-size: .92rem; }
.blog-body > p:first-child { font-size: 1.12rem; line-height: 1.7; color: #29454a; }
.blog-body > p + p:not(.blog-source) { text-indent: 1.2em; }
.blog-body strong { color: #173f3e; font-weight: 800; }
.blog-body h2 { margin-top: 46px; line-height: 1.25; }
.blog-body ul { margin: 22px 0 30px; padding: 18px 24px 18px 42px; border-left: 3px solid #76c5ae; border-radius: 0 14px 14px 0; background: #eef7f3; }
.blog-body li { padding-left: 3px; line-height: 1.65; }.blog-body li::marker { color: #167a72; }
.blog-body blockquote { border-radius: 0 12px 12px 0; }
.blog-share { display: grid; gap: 13px; }.blog-share > span { color: #365e5c; font-size: .85rem; font-weight: 750; }.blog-share-actions { display: flex; gap: 8px; flex-wrap: wrap; }.blog-share-actions button,.article-recommendations-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 13px; border: 1px solid #a7cec3; border-radius: 999px; background: #fff; color: #126f67; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }.blog-share-actions button:hover,.article-recommendations-controls button:hover { background: #d8eee6; }.blog-share small { color: #426b68; }
.article-recommendations { margin-top: 55px; }.article-recommendations-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 20px; }.article-recommendations-head h2 { margin: 8px 0 0; font: 800 clamp(1.55rem, 3vw, 2.15rem)/1.16 "Acomodo Bricolage", Manrope, sans-serif; }.article-recommendations-controls { display: flex; gap: 8px; }.article-recommendations-controls button { width: 40px; padding: 0; }.article-recommendations-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; padding: 4px 3px 15px; scrollbar-width: thin; }.article-recommendation-card { flex: 0 0 min(265px, 78vw); min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid #dce8e4; border-radius: 17px; background: #fff; color: #173039; text-decoration: none; }.article-recommendation-card:hover { border-color: #8dc9b7; }.article-recommendation-image { display: grid; height: 150px; place-items: center; overflow: hidden; background: #dcefe8; color: #167a72; }.article-recommendation-image img { width: 100%; height: 100%; object-fit: cover; }.article-recommendation-text { display: grid; gap: 8px; padding: 17px; }.article-recommendation-text small { color: #167a72; font-size: .69rem; font-weight: 800; text-transform: uppercase; }.article-recommendation-text strong { line-height: 1.3; }.article-recommendation-text > span { color: #607e81; font-size: .78rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.editor-format-toolbar { display: flex !important; align-items: center; justify-content: flex-start !important; flex-wrap: wrap; gap: 8px !important; margin: 12px 0 !important; }.editor-format-toolbar button { padding: 7px 10px; font-size: .75rem; }.editor-format-toolbar span { color: #6b8585; font-size: .72rem; }
.blog-comparison-logo { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 9px; }.blog-comparison-logo img { display: block; width: 42px; height: 42px; object-fit: contain; }.blog-comparison-logo-openbank,.blog-comparison-logo-klar,.blog-comparison-logo-plata { flex-basis: 96px; width: 96px; height: 46px; }.blog-comparison-logo-openbank { position: relative; background: #000; }.blog-comparison-logo-openbank img { position: absolute; top: -25px; left: 0; width: 96px; height: 96px; max-width: none; }.blog-comparison-logo-klar { background: #4e23e8; }.blog-comparison-logo-klar img { width: 80px; height: 32px; }.blog-comparison-logo-plata img { width: 96px; height: auto; }
.blog-comparison { margin: 34px 0; border: 1px solid #dce8e4; border-radius: 16px; background: #fff; overflow: hidden; }.blog-comparison-heading { padding: 18px 20px 12px; }.blog-comparison-heading h2 { margin: 0 0 3px; font-size: 1.25rem; }.blog-comparison-heading small { color: #607e81; font-size: .73rem; }.blog-comparison-scroll { overflow-x: auto; }.blog-comparison table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .78rem; line-height: 1.45; }.blog-comparison th,.blog-comparison td { text-align: left; vertical-align: top; padding: 14px 12px; border-top: 1px solid #e5edeb; }.blog-comparison thead th { background: #eff7f4; color: #35585a; font-size: .7rem; }.blog-comparison tbody th { min-width: 235px; }.blog-comparison-brand { display: flex; gap: 9px; align-items: center; text-decoration: none; }.blog-comparison-brand img { border-radius: 9px; }.blog-comparison-brand strong,.blog-comparison-brand small { display: block; }.blog-comparison-brand small { margin-top: 3px; color: #607e81; font-weight: 500; }.blog-comparison-brand:hover strong { text-decoration: underline; }
@media (min-width: 900px) { .blog-comparison { width: min(1000px, calc(100vw - 80px)); margin-left: 50%; transform: translateX(-50%); } }
.blog-end { padding: 28px; background: #eaf4f2; border-radius: 17px; }.blog-end p { margin: 0 0 14px; font-weight: 800; }
.editor-layout { max-width: 1300px; margin: 25px auto 90px; padding: 0 25px; display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 35px; }
.admin-layout { width: min(900px, calc(100% - 48px)); margin: 40px auto 90px; }.admin-layout > h1 { margin: 9px 0; }.admin-layout > .muted { color: #607e81; margin-bottom: 28px; }.admin-layout .editor-team { margin-bottom: 22px; }.admin-layout .editor-team h2 { margin: 0 0 8px; }
.editor-sidebar { border-right: 1px solid #dce8e4; padding: 24px 22px 20px 0; }.editor-sidebar h1 { font-size: 2rem; margin: 12px 0 22px; }.editor-sidebar .primary { width: 100%; }
.editor-post-list { margin-top: 25px; display: grid; gap: 7px; }.editor-post-list button { display: grid; grid-template-columns: 1fr auto; gap: 4px; align-items: center; text-align: left; padding: 13px; background: transparent; border: 1px solid transparent; border-radius: 12px; color: #173039; }.editor-post-list button:hover,.editor-post-list button.active { background: #eaf4f2; border-color: #d5e8e2; }.editor-post-list small { grid-column: 1 / -1; color: #6f898b; font-size: .7rem; }.editor-post-list strong { font-size: .84rem; }
.editor-main { min-width: 0; padding: 20px 0; }.editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.editor-heading h2 { font-size: 2rem; margin: 8px 0 25px; }.editor-heading a { color: #167a72; }
.editor-form,.editor-preview,.editor-approval,.editor-team { background: #fff; border: 1px solid #e1ebe7; border-radius: 18px; padding: 28px; margin-bottom: 22px; }.editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.editor-fields label:nth-child(1),.editor-fields label:nth-child(3) { grid-column: 1 / -1; }
.editor-form label,.editor-approval label { display: grid; gap: 7px; color: #5a777b; font-weight: 700; font-size: .78rem; }.editor-form input,.editor-form textarea,.editor-form select,.editor-approval textarea,.editor-team input { width: 100%; padding: 11px 13px; border: 1px solid #d9e5e1; border-radius: 10px; color: #173039; background: #fff; }
.editor-fields .editor-sponsor-toggle { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }.editor-sponsor-toggle input { width: auto; }
.editor-form h3 { margin: 28px 0 4px; }.editor-form .muted { font-size: .8rem; }.editor-block { padding: 15px; margin: 13px 0; border: 1px solid #e1ebe7; border-radius: 13px; }.editor-block > div { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; }.editor-block select { width: auto; }.editor-block textarea { width: 100%; resize: vertical; }
.editor-block > .editor-comparison,.editor-block > .editor-source-link { display: grid; gap: 12px; justify-content: stretch; }.editor-comparison fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #dce8e4; border-radius: 12px; }.editor-comparison fieldset label:nth-of-type(4),.editor-comparison fieldset label:nth-of-type(5),.editor-comparison fieldset label:nth-of-type(6) { grid-column: 1 / -1; }.editor-comparison fieldset select { width: 100%; }.editor-comparison fieldset .text-button { width: fit-content; }
.editor-inline-link-tool { margin-top: 11px; padding: 12px 14px; border: 1px solid #dce8e4; border-radius: 10px; background: #f5faf7; }.editor-inline-link-tool summary { width: fit-content; color: #146e67; font-size: .8rem; font-weight: 800; cursor: pointer; }.editor-inline-link-tool[open] { display: grid; gap: 10px; }.editor-inline-link-tool .muted { margin: 0; }.editor-inline-link-tool label { display: grid; gap: 5px; }.editor-inline-link-tool .editor-sponsor-toggle { display: flex; align-items: center; gap: 8px; }.editor-utm-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.editor-link-preview { margin: 0; padding: 10px; border-radius: 8px; background: #e7f4ef; color: #35585a; font-size: .73rem; overflow-wrap: anywhere; }.editor-link-preview strong { margin-right: 5px; }.editor-link-error { margin: 0; color: #a13e37; font-size: .76rem; }.editor-inline-link-tool button { width: fit-content; }
@media (max-width: 650px) { .editor-utm-fields { grid-template-columns: 1fr; } }
.editor-image-field { margin: 28px 0 34px; padding: 18px; border: 1px solid #e1ebe7; border-radius: 13px; }.editor-image-field h3 { margin-top: 0; }.editor-image-field label,.editor-inline-image label { margin-top: 12px; }.editor-image-field img,.editor-inline-image img { max-height: 320px; margin: 12px 0; }.editor-inline-image { display: grid !important; gap: 6px; }.editor-form input[type="file"] { padding: 9px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }.editor-message,.editor-review-note { background: #fff7e8; color: #655033; padding: 14px 17px; border-radius: 11px; font-size: .85rem; }.editor-review-note p { margin: 6px 0 0; }
.editor-approval p,.editor-team p { color: #6d8387; font-size: .85rem; }.editor-team form { display: flex; gap: 10px; }.editor-team-list { margin-top: 18px; }.editor-team-list > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #edf1ef; padding: 9px 0; font-size: .82rem; }
.editor-state { max-width: 640px; margin: 100px auto; text-align: center; padding: 30px; }.editor-state .primary { text-decoration: none; }
.sponsor-form { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px !important; }.sponsor-form label { display: grid; gap: 6px; color: #5a777b; font-weight: 700; font-size: .78rem; }.sponsor-form input,.sponsor-form select { min-width: 0; width: 100%; padding: 11px 13px; border: 1px solid #d9e5e1; border-radius: 10px; color: #173039; background: #fff; }.sponsor-form label:nth-child(3),.sponsor-form label:nth-child(5) { grid-column: 1 / -1; }.sponsor-row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sponsor-form label:nth-child(4),.sponsor-form label:nth-child(6) { grid-column: 1 / -1; }
.notification-settings > p { color: var(--muted); }.notification-options { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }.notification-options .preference-row { min-width: 200px; }.notification-options > label:not(.preference-row) { display: grid; gap: 5px; font-size: .82rem; color: var(--muted); }.notification-options input[type="time"] { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface); }.notification-options small { width: 100%; color: var(--muted); }
@media (max-width: 850px) { .blog-grid { grid-template-columns: repeat(2,1fr); }.editor-layout { grid-template-columns: 1fr; }.editor-sidebar { border-right: 0; border-bottom: 1px solid #dce8e4; padding-right: 0; } }
@media (max-width: 600px) { .blog-hero { padding-top: 45px; }.blog-grid { grid-template-columns: 1fr; }.blog-article { padding-top: 25px; }.editor-layout { padding: 0 15px; }.editor-form,.editor-preview,.editor-approval,.editor-team { padding: 18px; }.editor-fields { grid-template-columns: 1fr; }.editor-team form { flex-direction: column; }.sponsor-form { grid-template-columns: 1fr; }.sponsor-form label:nth-child(3),.sponsor-form label:nth-child(5) { grid-column: auto; } }

/* Ayuda flotante */
.help-widget { position: fixed; right: 22px; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 55; color: #173039; font-family: Manrope, sans-serif; }
.help-launcher { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px; border: 1px solid #b7e2d8; border-radius: 999px; background: #174c49; color: #fff; box-shadow: 0 10px 26px rgba(4,39,38,.23); font-weight: 800; cursor: pointer; }
.help-launcher:hover,.help-launcher:focus-visible { background: #116a60; }
.help-panel { display: flex; flex-direction: column; width: min(390px, calc(100vw - 28px)); max-height: min(690px, calc(100dvh - 105px)); margin-bottom: 12px; overflow: hidden; border: 1px solid #d9e9e3; border-radius: 20px; background: #fff; box-shadow: 0 20px 65px rgba(5,34,35,.24); }
.help-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 18px; background: #e7f5ef; }
.help-panel-head span { display: block; margin-bottom: 5px; color: #187970; font-size: .67rem; font-weight: 850; letter-spacing: .13em; }
.help-panel-head h2 { margin: 0; font: 800 1.26rem/1.2 "Acomodo Bricolage", Manrope, sans-serif; color: #173039; }
.help-panel-head button { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border: 1px solid #c7ded6; border-radius: 50%; background: #fff; color: #234e4d; cursor: pointer; }
.help-panel-body { overflow-y: auto; padding: 16px 20px 20px; }
.help-panel-body > p { margin: 0 0 15px; color: #526c6e; font-size: .83rem; line-height: 1.55; }
.help-intents { display: grid; gap: 8px; }
.help-intents button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 13px; border: 1px solid #dceae5; border-radius: 12px; background: #f9fcfa; color: #173039; text-align: left; cursor: pointer; }
.help-intents button:hover,.help-intents button:focus-visible { border-color: #79cbb8; background: #eef8f3; }
.help-intents strong,.help-intents small { display: block; }.help-intents strong { font-size: .82rem; }.help-intents small { margin-top: 2px; color: #637b7c; font-size: .7rem; }
.help-back,.help-contact-link { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #167970; font-size: .78rem; font-weight: 800; text-decoration: none; cursor: pointer; }.help-back { margin: 0 0 14px; padding: 0; }.help-contact-link { margin-top: 16px; padding: 0; }
.help-faq-list { display: flex; flex-wrap: wrap; gap: 7px; }.help-faq-list button { padding: 7px 10px; border: 1px solid #d5e7e0; border-radius: 999px; background: #fff; color: #315a58; font-size: .72rem; font-weight: 750; cursor: pointer; }.help-faq-list button:hover,.help-faq-list button.active { border-color: #2b9a87; background: #e6f5ee; }
.help-answer { margin-top: 14px; padding: 13px 14px; border-radius: 12px; background: #eaf6f0; font-size: .81rem; line-height: 1.55; }.help-answer strong { color: #164f48; }.help-answer p { margin: 7px 0; }.help-answer a { display: inline-flex; align-items: center; gap: 5px; color: #096d63; font-weight: 800; }
.help-question { display: grid; gap: 7px; margin-top: 18px; }.help-question label,.help-contact-form label { color: #315b59; font-size: .78rem; font-weight: 800; }.help-question > div { display: flex; gap: 7px; }.help-question input,.help-contact-form input,.help-contact-form textarea { min-width: 0; width: 100%; padding: 10px 11px; border: 1px solid #cfdfd8; border-radius: 9px; background: #fff; color: #173039; font: inherit; font-size: .8rem; }.help-question input:focus,.help-contact-form input:focus,.help-contact-form textarea:focus { outline: 2px solid #79cbb8; outline-offset: 1px; }.help-question > div button { display: grid; flex: none; place-items: center; width: 39px; border: 0; border-radius: 9px; background: #17796f; color: #fff; cursor: pointer; }.help-question small { color: #708687; font-size: .68rem; line-height: 1.45; }
.help-contact-form { display: grid; gap: 14px; }.help-contact-form label { display: grid; gap: 6px; }.help-contact-form textarea { resize: vertical; }.help-contact-form .help-privacy-note { margin: 0; color: #708184; font-size: .7rem; line-height: 1.45; }.help-privacy-note a { color: #0b746b; }.help-submit { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; border: 0; border-radius: 9px; background: #17796f; color: #fff; font-weight: 800; cursor: pointer; }.help-submit:disabled { opacity: .65; cursor: wait; }.help-status { margin: 13px 0 0 !important; padding: 10px; border-radius: 9px; background: #e8f4ed; color: #285c4f !important; }
.help-panel-foot { display: flex; align-items: center; gap: 7px; padding: 11px 20px; border-top: 1px solid #e6efea; color: #6e8382; font-size: .68rem; }
@media (max-width: 600px) { .help-widget { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }.help-panel { max-height: calc(100dvh - 85px); }.help-panel-body { padding: 15px; }.help-launcher { min-height: 46px; } }

/* Apoyos visuales editoriales */
.blog-image-logo { width: min(100%, 280px); margin: 26px auto; text-align: center; }
.blog-image-logo img { width: 100%; height: auto; border: 1px solid #e5e9e6; border-radius: 16px; }
.blog-image-logo figcaption { font-size: .73rem; line-height: 1.45; }
.blog-chart { margin: 34px 0; padding: clamp(20px, 3vw, 30px); border: 1px solid #cde4dc; border-radius: 20px; background: #f4faf6; }
.blog-chart > figcaption { margin-bottom: 20px; color: #183e3d; font-size: clamp(1.08rem, 2.5vw, 1.34rem); font-weight: 850; line-height: 1.3; }
.blog-chart-rows { display: grid; gap: 16px; }
.blog-chart-row { display: grid; grid-template-columns: minmax(140px, 1.3fr) minmax(100px, 2fr) auto; align-items: center; gap: 15px; font-size: .88rem; line-height: 1.3; }
.blog-chart-track { height: 18px; overflow: hidden; border-radius: 999px; background: #dfede6; }
.blog-chart-track > div { height: 100%; border-radius: 999px; background: #70c6af; }
.blog-chart-row:nth-child(2) .blog-chart-track > div { background: #eab96e; }
.blog-chart-row:nth-child(3) .blog-chart-track > div { background: #297d75; }
.blog-chart-row:nth-child(4) .blog-chart-track > div { background: #8199a0; }
.blog-chart-row strong { min-width: 62px; text-align: right; color: #173f3e; }
.blog-chart > small { display: block; margin-top: 18px; color: #526f6e; line-height: 1.5; }
.editor-related { margin: 28px 0; padding: 20px; border: 1px solid #d3e5de; border-radius: 16px; background: #f4faf6; }
.editor-related-options { display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.editor-related-options label { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; cursor: pointer; }
.editor-related-options input { margin-top: 5px; }
@media (max-width: 620px) { .blog-chart-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; } .blog-chart-row > span { grid-column: 1; } .blog-chart-row strong { grid-column: 2; grid-row: 1; } .blog-chart-track { grid-column: 1 / -1; grid-row: 2; } }

/* Shared public blog presentation, including server-rendered editorial pages. */
.blog-page [hidden], .help-widget [hidden] { display: none !important; }
.help-panel-body details { border-bottom: 1px solid #dce8e4; padding: 12px 0; }
.help-panel-body summary { cursor: pointer; font-weight: 700; }
.help-contact-form select { padding: 10px; border: 1px solid #b9d8cf; border-radius: 8px; background: white; color: #173039; }
@media (max-width: 600px) {
 .blog-article { padding: 24px 22px 60px; }
 .blog-article h1 { font-size: clamp(1.8rem, 7.5vw, 2.25rem); line-height: 1.14; margin: 12px 0; }
 .blog-article .blog-back { margin-bottom: 24px; }
 .blog-deck { font-size: 1rem; line-height: 1.55; }
 .blog-byline { flex-wrap: wrap; line-height: 1.5; padding-bottom: 18px; }
 .blog-cover { margin-top: 22px; }
}

/* Discovery, guided use and reading navigation */
.welcome-story { padding-top: 45px; padding-bottom: 55px; border-top: 1px solid #d9e7e2; }
.welcome-story .blog-recommendations { gap: 16px; }
.welcome-story .blog-recommendation:first-child { border-color: #438b7e; background: #edf7f2; }
.welcome-story h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
.footer-contact { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.footer-contact:hover { text-decoration: underline; }
.demo-hero { padding-bottom: 32px; }
.product-demo,.editorial-about { max-width: 1100px; margin: 0 auto; padding: 45px 28px 65px; scroll-margin-top: 24px; }
.product-demo h2,.editorial-about h2 { font-size: clamp(1.7rem,3vw,2.6rem); }
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 30px 0; }
.demo-steps { display: flex; flex-direction: column; gap: 10px; }
.demo-steps button { padding: 14px 18px; border: 1px solid #b9d8cf; background: #fff; color: #183b41; border-radius: 14px; text-align: left; min-height: 44px; font: inherit; cursor: pointer; }
.demo-steps button[aria-pressed=true] { background: #176c67; color: white; }
.demo-screen { background: #153c42; color: #fff; border-radius: 24px; padding: 35px; display: grid; gap: 20px; min-height: 290px; box-shadow: 0 16px 45px #173b411a; }
.demo-screen small { color: #a2d6c6; letter-spacing: .1em; }.demo-screen strong {font-size:3rem;}.demo-screen p {color:#d9eee8;}
.demo-progress {height:8px;background:#466b6b;border-radius:8px;overflow:hidden;}.demo-progress i {display:block;height:100%;background:#f2bd67;transition:width .2s;}
.editorial-about {max-width:850px;line-height:1.8;}.editorial-about a {color:#176c67;}
.blog-featured {margin:0 0 30px;}.blog-featured .blog-card {display:grid;grid-template-columns:1fr 1fr;margin-top:14px;background:#edf7f2;}.blog-featured .blog-card-art {height:100%;min-height:240px;}.blog-starters {padding:24px;background:#edf7f2;border-radius:18px;margin-bottom:30px;display:flex;gap:12px;flex-wrap:wrap;}.blog-starters h2 {width:100%;margin:0 0 5px;}.blog-starters a {max-width:100%;text-align:left;}
.blog-search {display:grid;gap:10px;font-weight:700;margin:20px 0;}.blog-search input {width:100%;min-height:48px;padding:12px 16px;border:1px solid #9ebfb5;border-radius:12px;background:#fff;color:#183b41;font:inherit;}
.blog-grid .blog-card-content > p {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.blog-grid-item[hidden],[data-discovery-intro][hidden],[data-search-empty][hidden] {display:none!important;}
.article-summary,.article-toc,.article-app-cta {padding:24px;border:1px solid #c7ddd5;border-radius:18px;margin:28px 0;background:#edf7f2;color:#183b41;}
.article-summary h2,.article-app-cta h2 {font-size:1.35rem;margin-top:0;}.article-summary a,.article-toc a,.blog-byline a {color:#176c67;}.article-toc summary {font-weight:800;cursor:pointer;min-height:32px;}.article-toc li,.article-summary li {margin:10px 0;line-height:1.6;}.blog-body h2[id] {scroll-margin-top:24px;}.article-app-cta .primary {display:inline-flex;white-space:normal;text-align:center;margin-top:8px;}
.comparison-hint {font-size:.85rem;color:#42666a;margin:0;padding:10px 16px;background:#edf7f2;}.blog-comparison-scroll:focus-visible {outline:3px solid #17796e;outline-offset:3px;}
.help-panel[hidden] {display:none!important;}.help-panel {max-height:calc(100dvh - 100px);}.help-panel-body {overscroll-behavior:contain;}
:where(a,button,input,summary):focus-visible {outline:3px solid #b67d27;outline-offset:3px;}
@media(max-width:600px){
 .welcome-hero {gap:8px;padding-bottom:25px;}.welcome-motion {min-height:190px;max-height:220px;transform:scale(.8);transform-origin:top center;margin-bottom:-30px;}.motion-balance {height:145px;}.motion-income {top:10px;}.motion-payment {bottom:5px;}
 .welcome-story {padding:30px 22px;gap:16px;}.welcome-story h2 {margin:10px 0;}.welcome-benefits {padding:35px 22px;}.welcome-copy h1 {font-size:3.25rem;}.welcome-copy>p {font-size:1rem;}.welcome-actions {gap:10px;}.welcome-actions a {min-height:44px;}
 .demo-layout {grid-template-columns:1fr;gap:22px;}.demo-screen {min-height:240px;padding:25px;}.product-demo,.editorial-about {padding:30px 22px;}.demo-hero h1 {font-size:2.5rem;}
 .blog-featured .blog-card {grid-template-columns:1fr;}.blog-featured .blog-card-art {height:170px;min-height:0;}.blog-starters {padding:18px;}.blog-filter button {min-height:44px;}.article-summary,.article-toc,.article-app-cta {padding:18px;}.article-recommendation-card {min-width:260px;}.help-launcher {min-height:44px;}
}
@media(prefers-reduced-motion:reduce){.demo-progress i {transition:none;}}
@media(max-width:600px){.welcome-nav nav a[href^="/acerca"]{display:none;}.welcome-nav{gap:10px;}.welcome-nav nav{gap:8px;}.welcome-nav nav a{white-space:nowrap;}}
