:root {
  color-scheme: light;
  --wine: #6f1838;
  --wine-dark: #3c0d20;
  --wine-light: #f3e7ec;
  --ink: #20171b;
  --muted: #6f6469;
  --line: #e5d9de;
  --white: #ffffff;
  --success: #24734b;
  --error: #a22929;
  --shadow: 0 24px 70px rgba(60, 13, 32, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #fcfafb;
}

button, input { font: inherit; }
button { cursor: pointer; }
select { font: inherit; }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(370px, 0.92fr) minmax(520px, 1.08fr);
  min-height: 100vh;
}

.brand-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.11) 0 2px, transparent 3px),
    radial-gradient(circle at 11% 84%, rgba(255,255,255,.08) 0 1px, transparent 2px),
    linear-gradient(145deg, #4b1028 0%, var(--wine-dark) 48%, #250714 100%);
  background-size: 34px 34px, 28px 28px, auto;
}

.brand-panel::after {
  position: absolute;
  right: -180px;
  bottom: -150px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.02);
  content: "";
}

.brand, .mobile-brand {
  display: inline-flex;
  z-index: 1;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
}

.brand-copy {
  z-index: 1;
  max-width: 610px;
  margin: auto 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #9b4967;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.brand-copy .eyebrow { color: #e7b9ca; }
.brand-copy h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5.4rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: .98;
}

.brand-copy > p:last-child {
  max-width: 520px;
  margin: 28px 0 0;
  color: #e9dce1;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.insight-card {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 38px;
  padding: 14px 20px 14px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.insight-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--wine-dark);
  background: #f1cedb;
  font-size: 1.25rem;
  font-weight: 800;
}
.insight-card strong, .insight-card span { display: block; }
.insight-card span { margin-top: 3px; color: #dfcbd3; font-size: .86rem; }
.privacy-note { z-index: 1; margin: 0; color: #cdb1bc; font-size: .78rem; }

.form-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 6vw, 96px);
}

.mobile-brand { display: none; color: var(--wine-dark); }
.auth-card { width: min(100%, 480px); }
.form-heading { margin-bottom: 28px; }
.form-heading h2, .welcome-card h2 {
  margin: 0;
  color: var(--wine-dark);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -.04em;
  line-height: 1.08;
}
.form-heading > p:last-child, .welcome-card > p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tab {
  padding: 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}
.tab.active { border-color: var(--wine); color: var(--wine); }

form label { display: block; margin: 18px 0 8px; font-size: .88rem; font-weight: 700; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cfc2c7;
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: var(--white);
  transition: border-color .16s, box-shadow .16s;
}
input::placeholder { color: #9a8e93; }
input:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(111,24,56,.11); }
input[aria-invalid="true"] { border-color: var(--error); }

.label-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.label-row label { margin: 0 0 8px; }
.text-button, .back-button { border: 0; color: var(--wine); background: transparent; font-size: .87rem; font-weight: 750; }
.text-button { margin-bottom: 8px; padding: 0; }
.back-button { margin: 0 0 22px; padding: 0; }
.password-field { position: relative; }
.password-field input { padding-right: 82px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 13px;
  padding: 6px;
  transform: translateY(-50%);
  border: 0;
  color: var(--wine);
  background: transparent;
  font-size: .77rem;
  font-weight: 750;
}

.check-row { display: flex; align-items: center; gap: 10px; width: fit-content; font-weight: 500; }
.check-row input { width: 18px; height: 18px; accent-color: var(--wine); }
.legal-check { align-items: flex-start; width: 100%; margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.legal-check input { flex: 0 0 auto; margin-top: 1px; }
.legal-check a, .security-note a { color: var(--wine); font-weight: 750; }

.primary-button, .secondary-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  border-radius: 11px;
  font-weight: 800;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.primary-button { border: 1px solid var(--wine); color: var(--white); background: var(--wine); box-shadow: 0 10px 24px rgba(111,24,56,.2); }
.primary-button:hover { background: #5b1230; box-shadow: 0 13px 28px rgba(111,24,56,.25); transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--wine); color: var(--wine); background: var(--white); }
button:disabled { cursor: wait; opacity: .68; transform: none !important; }
button:focus-visible { outline: 3px solid #cf8da6; outline-offset: 3px; }

.field-help, .legal, .form-copy { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.field-help { margin: 7px 0 0; }
.legal { text-align: center; }
.forgot-form h3, #reset-form h3 { margin: 0; color: var(--wine-dark); font-size: 1.7rem; }
.form-copy { margin: 10px 0 24px; font-size: .92rem; }

.status { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.5; }
.status.error { color: #7d1d1d; background: #fae8e8; }
.status.success { color: #175d3b; background: #e5f4ec; }
.security-note { display: flex; gap: 9px; margin-top: 30px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.security-note > span:first-child { color: var(--wine); font-size: 1rem; }

.welcome-card { text-align: center; }
.success-mark { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: var(--white); background: var(--success); font-size: 1.7rem; }
.next-card { margin-top: 28px; padding: 20px; border: 1px solid #e6d2da; border-radius: 14px; background: var(--wine-light); text-align: left; }
.next-card span, .next-card strong { display: block; }
.next-card span { margin-bottom: 6px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }

body.app-active { background: #f8f5f6; }
body.app-active .auth-shell { display: block; }
body.app-active .brand-panel, body.app-active .mobile-brand { display: none; }
body.app-active .form-panel { display: block; min-height: 100vh; padding: 0; }

.dashboard { min-height: 100vh; padding-bottom: 46px; }
.app-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid #eadfe3;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
}
.app-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--wine-dark); font-size: 1.15rem; font-weight: 850; letter-spacing: .05em; text-decoration: none; }
.desktop-nav { display: flex; align-self: stretch; gap: 32px; }
.desktop-nav a { display: grid; place-items: center; border-bottom: 3px solid transparent; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a.active { border-color: var(--wine); color: var(--wine); }
.profile-menu { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.profile-initial { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 0; border-radius: 12px; color: var(--white); background: var(--wine); font-weight: 800; }
.profile-menu div { display: grid; font-size: .8rem; }
.profile-menu div span { color: var(--muted); font-size: .72rem; }
.profile-menu button { margin-left: 10px; padding: 8px 11px; border: 0; color: var(--wine); background: transparent; font-size: .8rem; font-weight: 750; }

.dashboard-content { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 48px 0 28px; }
.welcome-row h1 { margin: 0; color: var(--wine-dark); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
.welcome-row > div > p:last-child { margin: 8px 0 0; color: var(--muted); }
.new-movement-button { display: inline-flex; min-height: 48px; align-items: center; gap: 8px; padding: 0 20px; border: 1px solid var(--wine); border-radius: 12px; color: var(--white); background: var(--wine); box-shadow: 0 10px 24px rgba(111,24,56,.16); font-weight: 800; }
.new-movement-button:hover { background: #59112f; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 20px; }
.balance-card, .quick-panel, .data-card { border: 1px solid #eadfe3; border-radius: 20px; background: var(--white); box-shadow: 0 12px 40px rgba(60,13,32,.055); }
.balance-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 38px); color: var(--white); background: linear-gradient(135deg, #71183a 0%, #3c0d20 100%); }
.balance-card::after { position: absolute; right: -80px; bottom: -140px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.02); content: ""; }
.balance-topline, .usage-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.balance-topline { color: #ead4dc; font-size: .86rem; }
.private-badge { padding: 5px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #f5e9ee; background: rgba(255,255,255,.08); font-size: .7rem; font-weight: 700; }
.balance-value { position: relative; z-index: 1; display: block; margin: 12px 0 28px; font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -.055em; line-height: 1; }
.balance-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.balance-stats div { display: grid; grid-template-columns: 10px 1fr; gap: 2px 8px; }
.balance-stats span:not(.income-dot):not(.expense-dot) { color: #d8bdc7; font-size: .78rem; }
.balance-stats strong { grid-column: 2; font-size: 1.12rem; }
.income-dot, .expense-dot { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; }
.income-dot { background: #76d5a5; }
.expense-dot { background: #efa0a8; }
.usage-row { color: #dec6cf; font-size: .78rem; }
.usage-row strong { color: var(--white); }
.usage-track { position: relative; z-index: 1; overflow: hidden; height: 7px; margin-top: 9px; border-radius: 999px; background: rgba(255,255,255,.14); }
.usage-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #f2c3d4; transition: width .3s ease; }

.quick-panel, .data-card { padding: 26px; }
.section-heading h2 { margin: 3px 0 0; color: var(--wine-dark); font-size: 1.35rem; letter-spacing: -.025em; }
.quick-actions { display: grid; gap: 12px; margin-top: 22px; }
.quick-actions button { display: grid; grid-template-columns: 48px 1fr; align-items: center; padding: 15px; border: 1px solid #eadfe3; border-radius: 14px; color: var(--ink); background: #fff; text-align: left; }
.quick-actions button:hover { border-color: #cba6b5; background: #fcf8fa; }
.quick-icon { grid-row: 1 / 3; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-size: 1.4rem; font-weight: 700; }
.quick-icon.expense { color: #a23838; background: #fae8e8; }
.quick-icon.income { color: #24734b; background: #e4f3eb; }
.quick-actions strong { font-size: .92rem; }
.quick-actions small { margin-top: 3px; color: var(--muted); }

.data-card { margin-top: 20px; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.period-switch { display: flex; padding: 3px; border: 1px solid #e1d4d9; border-radius: 11px; background: #f8f4f6; }
.period-switch button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .78rem; font-weight: 750; }
.period-switch button.active { color: var(--wine); background: var(--white); box-shadow: 0 2px 8px rgba(60,13,32,.09); }
.category-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin-top: 26px; }
.category-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; }
.category-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--wine); background: var(--wine-light); font-weight: 850; }
.category-name { font-size: .88rem; font-weight: 700; }
.category-total { color: var(--ink); font-size: .86rem; font-weight: 750; }
.category-track { grid-column: 2 / 4; overflow: hidden; height: 6px; border-radius: 999px; background: #eee7ea; }
.category-track span { display: block; height: 100%; border-radius: inherit; background: var(--wine); }

.movement-list { margin-top: 18px; }
.movement-filters { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; gap: 12px; margin-top: 22px; }
.movement-filters label { margin: 0; }
.search-field { position: relative; display: block; }
.search-field > span { position: absolute; z-index: 1; top: 50%; left: 14px; transform: translateY(-50%); color: var(--muted); font-size: 1.15rem; }
.search-field input { width: 100%; min-height: 44px; padding: 0 14px 0 40px; border: 1px solid #d8ccd1; border-radius: 10px; outline: none; }
.search-field input:focus, .filter-field select:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(111,24,56,.1); }
.filter-field { display: grid !important; grid-template-columns: auto auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 12px; border: 1px solid #d8ccd1; border-radius: 10px; color: var(--muted); font-size: .76rem !important; }
.filter-field select { min-height: 34px; border: 0; outline: none; color: var(--ink); background: #fff; font-size: .78rem; font-weight: 700; }
.movement-range { display: grid; grid-template-columns: minmax(145px, 1fr) minmax(145px, 1fr) auto auto auto; align-items: end; gap: 10px; margin-top: 12px; }
.movement-range label { display: grid; gap: 6px; margin: 0; color: var(--muted); font-size: .72rem; font-weight: 750; }
.movement-range input { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid #d8ccd1; border-radius: 10px; outline: none; color: var(--ink); background: #fff; }
.movement-range input:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(111,24,56,.1); }
.movement-range button { min-height: 42px; white-space: nowrap; }
.range-reset { padding: 0 12px; border: 0; color: var(--muted); background: transparent; font-weight: 750; }
.export-button { padding: 0 15px; border: 1px solid #267347; border-radius: 10px; color: #1c673d; background: #e6f5ec; font-weight: 800; }
.export-button:hover { background: #d9f0e2; }
.movement-results { margin: 12px 0 0; color: var(--muted); font-size: .76rem; }
.movement-group { margin-top: 18px; border: 1px solid #eee4e8; border-radius: 14px; }
.movement-group > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eee4e8; background: #fbf8f9; }
.movement-group > header strong { color: var(--wine-dark); font-size: .88rem; }
.movement-group > header span { color: var(--muted); font-size: .75rem; }
.movement-item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 2px; border-top: 1px solid #eee6e9; }
.movement-group .movement-item { margin: 0 14px; }
.movement-item:first-child { border-top: 0; }
.movement-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--wine); background: var(--wine-light); font-weight: 850; }
.movement-copy { min-width: 0; }
.movement-copy strong, .movement-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.movement-copy strong { font-size: .92rem; }
.movement-copy span { margin-top: 4px; color: var(--muted); font-size: .76rem; }
.movement-amount { min-width: 100px; text-align: right; font-size: .95rem; font-weight: 800; }
.movement-amount.income { color: var(--success); }
.movement-actions { position: relative; }
.movement-actions > button { width: 34px; height: 34px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 1.2rem; }
.movement-actions > button:hover { background: #f1eaed; }
.movement-menu { position: absolute; z-index: 10; top: 38px; right: 0; display: grid; min-width: 130px; padding: 6px; border: 1px solid #e5d9de; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px rgba(60,13,32,.15); }
.movement-menu[hidden] { display: none; }
.movement-menu button { padding: 9px 12px; border: 0; border-radius: 7px; color: var(--ink); background: transparent; text-align: left; font-size: .8rem; }
.movement-menu button:hover { background: #f7f1f3; }
.movement-menu button.delete { color: #9c2929; }
.outline-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--wine); border-radius: 10px; color: var(--wine); background: #fff; font-weight: 750; }
.empty-state { padding: 38px 18px 24px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 1rem; }
.empty-state button { margin-top: 16px; }
.mobile-nav { display: none; }

.movement-dialog { width: min(92vw, 520px); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.movement-dialog::backdrop { background: rgba(32,23,27,.56); backdrop-filter: blur(4px); }
.movement-dialog form { padding: 28px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { margin: 0; color: var(--wine-dark); font-size: 1.8rem; letter-spacing: -.035em; }
.dialog-close { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 10px; color: var(--muted); background: #f5eff1; font-size: 1.5rem; }
.movement-dialog label, .type-switch legend { display: block; margin: 17px 0 8px; font-size: .86rem; font-weight: 750; }
.movement-dialog input[type="text"], .movement-dialog input[type="number"], .movement-dialog input[type="date"], .movement-dialog select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cfc2c7; border-radius: 11px; outline: none; background: #fff; }
.movement-dialog input:focus, .movement-dialog select:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(111,24,56,.1); }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 0; padding: 0; border: 0; }
.type-switch legend { grid-column: 1 / -1; margin-top: 0; }
.type-switch label { margin: 0; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: grid; min-height: 44px; place-items: center; border: 1px solid #d8ccd1; border-radius: 10px; color: var(--muted); font-weight: 750; }
.type-switch input:checked + span { border-color: var(--wine); color: var(--wine); background: var(--wine-light); }
.money-field { position: relative; }
.money-field span { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: var(--wine); font-weight: 800; }
.money-field input { padding-left: 34px !important; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 24px; }
.dialog-actions .primary-button, .dialog-actions .secondary-button { margin-top: 0; }

@media (max-width: 820px) {
  body.app-active { padding-bottom: 76px; }
  .dashboard { padding-bottom: 24px; }
  .app-header { position: static; display: flex; min-height: 68px; justify-content: space-between; padding: 0 20px; }
  .desktop-nav, .profile-menu div, .profile-menu button { display: none; }
  .dashboard-content { width: min(100% - 30px, 620px); }
  .welcome-row { align-items: flex-start; padding: 28px 0 20px; }
  .welcome-row .new-movement-button { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .category-list { grid-template-columns: 1fr; }
  .mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr 64px 1fr 1fr; align-items: center; min-height: 70px; padding: 6px 10px; border-top: 1px solid #e6dade; background: rgba(255,255,255,.97); box-shadow: 0 -8px 30px rgba(60,13,32,.08); }
  .mobile-nav a, .mobile-nav button { display: grid; gap: 2px; place-items: center; border: 0; color: var(--muted); background: transparent; font-size: .63rem; font-weight: 700; text-decoration: none; }
  .mobile-nav a span, .mobile-nav button span { font-size: 1.1rem; }
  .mobile-nav a.active { color: var(--wine); }
  .mobile-nav > button[data-new-movement] { width: 52px; height: 52px; margin-top: -28px; border-radius: 17px; color: #fff; background: var(--wine); font-size: 1.7rem; box-shadow: 0 9px 24px rgba(111,24,56,.3); }
}

@media (max-width: 820px) {
  .movement-filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .movement-range { grid-template-columns: 1fr 1fr; }
  .movement-range .export-button { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .welcome-row h1 { font-size: 2.25rem; }
  .balance-stats { gap: 10px; }
  .balance-value { font-size: 3rem; }
  .quick-panel, .data-card { padding: 20px; border-radius: 17px; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .period-switch { width: 100%; }
  .period-switch button { flex: 1; padding: 0 6px; }
  .movement-item { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .filter-field { grid-template-columns: 1fr; gap: 0; padding: 6px 10px; }
  .filter-field select { width: 100%; }
  .movement-group > header { align-items: flex-start; flex-direction: column; gap: 3px; }
  .movement-actions { grid-column: 3; }
  .movement-amount { grid-column: 2; grid-row: 2; min-width: 0; text-align: left; }
  .dialog-actions { grid-template-columns: 1fr; }
  .dialog-actions .secondary-button { order: 2; }
}

@media (max-width: 900px) {
  .auth-shell { display: block; }
  .brand-panel { display: none; }
  .form-panel { display: block; padding: 28px 22px 52px; }
  .mobile-brand { display: flex; margin-bottom: 52px; }
  .auth-card { margin: 0 auto; }
}

@media (max-width: 480px) {
  .mobile-brand { margin-bottom: 36px; }
  .form-heading h2, .welcome-card h2 { font-size: 2rem; }
}

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

/* Aplicación financiera: tema oscuro inspirado en la referencia móvil. */
body.app-active {
  --app-bg: #080c12;
  --app-card: #121925;
  --app-card-deep: #0b1119;
  --app-border: #253147;
  --app-text: #f6f8fc;
  --app-muted: #8f99aa;
  color: var(--app-text);
  background: var(--app-bg);
}
body.app-active .dashboard { background: radial-gradient(circle at 50% -20%, #162239 0, var(--app-bg) 45%); }
body.app-active .app-header { border-color: #1d2634; background: rgba(8,12,18,.94); }
body.app-active .app-brand { color: var(--app-text); }
body.app-active .desktop-nav a { color: var(--app-muted); }
body.app-active .desktop-nav a:hover,
body.app-active .desktop-nav a.active { border-color: #64e397; color: #64e397; }
body.app-active .profile-initial { color: #07100b; background: #77e9a0; }
body.app-active .profile-menu div span { color: var(--app-muted); }
body.app-active .profile-menu .header-icon { display: grid; width: 38px; height: 38px; margin: 0; padding: 0; place-items: center; border: 1px solid var(--app-border); border-radius: 12px; color: var(--app-text); background: var(--app-card); font-size: 1rem; }
body.app-active .profile-menu .header-icon.has-alerts { border-color: #ff9959; box-shadow: 0 0 0 4px rgba(255,153,89,.12); }
body.app-active .dashboard-content { width: min(1120px, calc(100% - 36px)); }
body.app-active .welcome-row h1,
body.app-active .section-heading h2 { color: var(--app-text); }
body.app-active .welcome-row > div > p:last-child { color: var(--app-muted); }
body.app-active .eyebrow { color: #7f91ae; }
body.app-active .new-movement-button,
body.app-active .outline-button { border-color: #6de89a; color: #07110b; background: #6de89a; box-shadow: 0 10px 28px rgba(78,222,132,.2); }
body.app-active .balance-card,
body.app-active .quick-panel,
body.app-active .data-card { border-color: var(--app-border); background: var(--app-card); box-shadow: 0 18px 45px rgba(0,0,0,.25); }
body.app-active .balance-card { background: linear-gradient(145deg, #263656 0%, #172235 48%, #111925 100%); }
body.app-active .balance-topline { color: #9da9bc; }
body.app-active .private-badge { border-color: #33435e; color: #9eabc0; background: #27344a; }
body.app-active .balance-stats div { padding: 16px; border-radius: 14px; background: var(--app-card-deep); }
body.app-active .balance-stats strong { color: var(--app-text); }
body.app-active #income-value { color: #68e49a; }
body.app-active #expense-value { color: #ff807d; }
body.app-active .usage-track { background: #2b3546; }
body.app-active .usage-track span { background: #6de89a; }
body.app-active .quick-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.app-active .quick-actions button { display: flex; min-width: 0; min-height: 112px; align-items: center; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 8px; border-color: var(--app-border); color: var(--app-text); background: #151d29; text-align: center; }
body.app-active .quick-actions button:hover { border-color: #41516a; background: #192332; }
body.app-active .quick-actions small { display: none; }
body.app-active .quick-icon { width: 46px; height: 46px; grid-row: auto; }
body.app-active .quick-icon.expense { color: #1b0d0d; background: #ff817d; }
body.app-active .quick-icon.income { color: #082012; background: #77e9a0; }
body.app-active .quick-icon.stats { color: #09162d; background: #79a0ff; }
body.app-active .quick-icon.search { color: #130a2b; background: #a17af0; }
body.app-active .categories-card { position: relative; overflow: hidden; }
body.app-active .categories-card::after { position: absolute; top: 104px; right: 34px; width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(circle, var(--app-card) 0 52%, transparent 54%), conic-gradient(var(--category-main, #354156) 0 var(--category-share), var(--category-rest, #354156) var(--category-share) 100%); content: ""; }
body.app-active .categories-card .period-switch { position: absolute; top: 20px; right: 22px; }
body.app-active .category-summary-label { margin: 25px 0 0; color: var(--app-muted); font-size: .78rem; }
body.app-active .category-summary-label strong { display: block; margin-top: 5px; color: var(--app-text); font-size: 1.35rem; }
body.app-active .category-list { grid-template-columns: 1fr; max-width: calc(100% - 100px); gap: 13px; }
body.app-active .category-item { color: var(--app-text); }
body.app-active .category-symbol { width: 10px; height: 10px; color: transparent; background: #63d6c4; }
body.app-active .category-item:nth-child(even) .category-symbol { background: #ff9959; }
body.app-active .category-track { display: none; }
body.app-active .category-total { color: var(--app-muted); }
body.app-active .period-switch { border-color: var(--app-border); background: #0d1420; }
body.app-active .period-switch button { color: var(--app-muted); }
body.app-active .period-switch button.active { color: #78a0ff; background: #1b2941; box-shadow: none; }
body.app-active .search-field input,
body.app-active .filter-field,
body.app-active .filter-field select { border-color: var(--app-border); color: var(--app-text); background: #0d141e; }
body.app-active .search-field input::placeholder,
body.app-active .filter-field { color: var(--app-muted); }
body.app-active .movement-range label { color: var(--app-muted); }
body.app-active .movement-range input { border-color: var(--app-border); color: var(--app-text); background: #0d141e; color-scheme: dark; }
body.app-active .movement-range .outline-button { border-color: #54657e; color: var(--app-text); background: #182230; }
body.app-active .movement-range .range-reset { color: var(--app-muted); }
body.app-active .movement-range .export-button { border-color: #376e52; color: #86ecaa; background: #14271d; }
body.app-active .movement-range .export-button:hover { background: #193324; }
body.app-active .movement-results { color: var(--app-muted); }
body.app-active .movement-group { border-color: var(--app-border); background: #101721; }
body.app-active .movement-group > header { border-color: var(--app-border); background: #151e2b; }
body.app-active .movement-group > header strong { color: var(--app-text); }
body.app-active .movement-group > header span,
body.app-active .movement-copy span { color: var(--app-muted); }
body.app-active .movement-item { border-color: #202b3c; }
body.app-active .movement-icon { color: #d7dfff; background: #202b40; }
body.app-active .movement-amount { color: #ff817d; }
body.app-active .movement-amount.income { color: #68e49a; }
body.app-active .movement-actions > button { color: var(--app-muted); }
body.app-active .movement-menu { border-color: var(--app-border); background: #192230; }
body.app-active .movement-menu button { color: var(--app-text); }
body.app-active .movement-menu button:hover { background: #222e40; }
body.app-active .movement-menu button.delete { color: #ff817d; }
body.app-active .mobile-nav { border-color: #202a3a; background: rgba(8,12,18,.97); box-shadow: 0 -10px 30px rgba(0,0,0,.28); }
body.app-active .mobile-nav a,
body.app-active .mobile-nav button { color: var(--app-muted); }
body.app-active .mobile-nav a.active { color: #79a0ff; }
body.app-active .mobile-nav > button[data-new-movement] { color: #06110a; background: #70e997; box-shadow: 0 8px 24px rgba(78,222,132,.35); }
body.app-active .movement-dialog { border: 1px solid var(--app-border); color: var(--app-text); background: #111925; }
body.app-active .movement-dialog::backdrop { background: rgba(0,0,0,.72); }
body.app-active .dialog-heading h2 { color: var(--app-text); }
body.app-active .dialog-close { color: var(--app-muted); background: #202a39; }
body.app-active .movement-dialog input[type="text"],
body.app-active .movement-dialog input[type="number"],
body.app-active .movement-dialog input[type="date"],
body.app-active .movement-dialog select { border-color: var(--app-border); color: var(--app-text); background: #0b1119; color-scheme: dark; }
body.app-active .type-switch span { border-color: var(--app-border); color: var(--app-muted); background: #0d141e; }
body.app-active .type-switch input:checked + span { border-color: #6de89a; color: #6de89a; background: #15251d; }
body.app-active .secondary-button { border-color: #42516a; color: var(--app-text); background: #182230; }
body.app-active .movement-dialog .primary-button { border-color: #77e9a0; color: #07100b; background: #77e9a0; box-shadow: 0 10px 25px rgba(119,233,160,.18); }
body.app-active .movement-dialog .primary-button:hover { background: #8df0ae; box-shadow: 0 13px 28px rgba(119,233,160,.24); }

@media (max-width: 820px) {
  body.app-active .dashboard-content { width: min(100% - 28px, 560px); }
  body.app-active .app-header { padding: 0 22px; }
  body.app-active .profile-initial { display: none; }
  body.app-active .profile-menu .header-icon { display: grid; }
  body.app-active .welcome-row { padding-top: 22px; }
  body.app-active .welcome-row .eyebrow { margin-bottom: 5px; text-transform: none; }
  body.app-active .welcome-row h1 { font-size: 1.55rem; }
  body.app-active .balance-value { font-size: 3.1rem; }
  body.app-active .quick-panel { padding: 12px 0 0; border: 0; background: transparent; box-shadow: none; }
  body.app-active .quick-panel .section-heading { display: none; }
  body.app-active .quick-actions { gap: 8px; margin-top: 0; }
  body.app-active .quick-actions strong { font-size: .72rem; }
  body.app-active .data-card { padding: 22px 18px; }
  body.app-active .categories-card #manage-categories { position: absolute; top: 112px; right: 110px; }
  body.app-active .categories-card::after { top: 104px; right: 24px; }
}

@media (max-width: 430px) {
  body.app-active .dashboard-content { width: min(100% - 20px, 400px); }
  body.app-active .balance-card { padding: 22px 16px; }
  body.app-active .balance-stats { gap: 8px; }
  body.app-active .balance-stats div { padding: 13px 11px; }
  body.app-active .quick-actions button { min-height: 92px; }
  body.app-active .quick-icon { width: 42px; height: 42px; }
  body.app-active .categories-card #manage-categories { position: static; margin-top: 12px; }
  body.app-active .categories-card::after { display: none; }
  body.app-active .movement-group .movement-item { margin: 0 10px; }
}

.connection-status { position: fixed; z-index: 60; top: 84px; left: 50%; max-width: calc(100% - 32px); padding: 10px 16px; transform: translateX(-50%); border: 1px solid #42516a; border-radius: 999px; color: #dce5f4; background: #182230; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .78rem; }
.connection-status.offline { border-color: #76512f; color: #ffd1a8; background: #2a1d13; }
.connection-status.success { border-color: #2f7250; color: #98f0bd; background: #11261b; }
.planning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.planning-card { min-width: 0; }
.recurring-card { grid-column: 1 / -1; }
.budget-list, .goal-list, .alert-list, .recurring-list { display: grid; gap: 12px; margin-top: 20px; }
.heading-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.custom-category-list { display: grid; gap: 8px; max-height: 230px; overflow: auto; margin: 18px 0; }
.alert-preferences { margin: 18px 0; padding: 14px; border: 1px solid var(--app-border); border-radius: 14px; background: #0b1119; }
.alert-preferences h3, .category-section-title { margin: 0; color: var(--app-text); font-size: .88rem; }
.alert-preferences > div:first-child p { margin: 5px 0 12px; color: var(--app-muted); font-size: .73rem; line-height: 1.45; }
.alert-preference-list { display: grid; max-height: 210px; overflow: auto; gap: 7px; padding-right: 3px; }
.alert-preference-row { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 9px; border-radius: 10px; background: #111a25; cursor: pointer; }
.alert-preference-row span { display: flex; min-width: 0; align-items: center; gap: 9px; }
.alert-preference-row i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; }
.alert-preference-row strong { overflow: hidden; color: #dbe3ef; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.alert-preference-row input { position: relative; width: 38px; height: 22px; flex: 0 0 auto; appearance: none; border: 1px solid #405069; border-radius: 999px; background: #202b3b; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.alert-preference-row input::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #9aa7b9; content: ''; transition: transform .18s ease, background .18s ease; }
.alert-preference-row input:checked { border-color: #57d88d; background: #245b3b; }
.alert-preference-row input:checked::after { transform: translateX(16px); background: #7cf0a7; }
.alert-preference-row input:focus-visible { outline: 2px solid #79a0ff; outline-offset: 2px; }
.category-section-title { margin-top: 20px; }
.custom-category-row { display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--app-border); border-radius: 11px; background: #0b1119; }
.custom-category-row i { width: 10px; height: 10px; border-radius: 50%; }
.custom-category-row small { color: var(--app-muted); }
.custom-category-row button, .recurring-actions button { padding: 6px 9px; border: 1px solid var(--app-border); border-radius: 8px; color: var(--app-text); background: transparent; }
.recurring-actions .edit-recurring { border-color: #376e52; color: #86ecaa; background: #14271d; }
.recurring-item { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 16px; padding: 15px; border: 1px solid var(--app-border); border-radius: 13px; background: #0b1119; }
.recurring-item.paused { opacity: .58; }
.recurring-item > div:first-child { display: grid; min-width: 0; gap: 4px; }
.recurring-item > div:first-child span { overflow: hidden; color: var(--app-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.recurring-item > strong { color: #77e9a0; white-space: nowrap; }
.recurring-item > strong.expense { color: #ff817d; }
.recurring-actions { display: flex; gap: 7px; }
.statistics-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.statistics-summary article { display: grid; gap: 5px; padding: 14px; border: 1px solid var(--app-border); border-radius: 12px; background: #0b1119; }
.statistics-summary span, .statistics-summary small { color: var(--app-muted); font-size: .7rem; }
.statistics-summary strong { color: var(--app-text); font-size: 1.05rem; }
.budget-item, .goal-item, .alert-item { min-width: 0; padding: 16px; border: 1px solid var(--app-border); border-radius: 15px; background: #0e151f; }
.budget-item > div:first-child, .goal-item > div:first-child, .budget-item > div:last-child, .alert-item > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.budget-item > div:first-child span, .goal-item > div:first-child span { color: var(--app-muted); font-size: .78rem; text-align: right; }
.budget-item > div:last-child { margin-top: 9px; color: var(--app-muted); font-size: .74rem; }
.budget-item button, .alert-actions button { padding: 5px 9px; border: 0; border-radius: 8px; color: #aeb9ca; background: #1b2635; font-size: .72rem; }
.planning-track { overflow: hidden; height: 8px; margin-top: 12px; border-radius: 99px; background: #263143; }
.planning-track span { display: block; height: 100%; border-radius: inherit; background: #6de89a; }
.planning-track.goal span { background: #79a0ff; }
.budget-item.warning .planning-track span { background: #ffb164; }
.budget-item.critical .planning-track span { background: #ff817d; }
.goal-item p { overflow-wrap: anywhere; margin: 8px 0 0; color: var(--app-muted); font-size: .78rem; }
.mini-action { min-height: 34px; margin-top: 12px; padding: 0 12px; border: 1px solid #43536a; border-radius: 9px; color: var(--app-text); background: #182230; font-weight: 700; }
.compact-empty { padding: 24px 12px; color: var(--app-muted); text-align: center; }
.compact-empty strong, .compact-empty span { display: block; }
.compact-empty strong { margin-bottom: 6px; color: var(--app-text); }
.compact-empty span { font-size: .78rem; line-height: 1.5; }
.count-badge { padding: 6px 10px; border-radius: 999px; color: #79a0ff; background: #1b2941; font-size: .72rem; font-weight: 800; }
.alert-item { border-left: 4px solid #79a0ff; }
.alert-item.warning { border-left-color: #ffb164; }
.alert-item.critical { border-left-color: #ff817d; }
.alert-item.success { border-left-color: #6de89a; }
.alert-item > div:first-child span { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: var(--app-muted); background: #192332; font-size: .68rem; }
.alert-item p { overflow-wrap: anywhere; margin: 10px 0 0; color: #cbd3df; line-height: 1.5; }
.alert-item .alert-impact { color: var(--app-muted); font-size: .8rem; }
.alert-item .alert-recommendation { padding: 9px 10px; border-radius: 9px; color: #bfe9cf; background: #14251c; font-size: .78rem; }
.alert-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.statistics-chart { display: flex; min-height: 220px; align-items: flex-end; gap: clamp(8px, 2vw, 24px); margin-top: 24px; padding: 20px 8px 0; border-bottom: 1px solid var(--app-border); }
.statistics-column { display: grid; min-width: 0; flex: 1; gap: 8px; }
.statistics-bars { display: flex; height: 170px; align-items: flex-end; justify-content: center; gap: 4px; }
.statistics-bars span { width: min(18px, 38%); min-height: 3px; border-radius: 5px 5px 0 0; }
.statistics-bars .income { background: #6de89a; }
.statistics-bars .expense { background: #ff817d; }
.statistics-column small { overflow: hidden; color: var(--app-muted); font-size: .65rem; text-align: center; text-overflow: ellipsis; }
.pending-badge { padding: 5px 8px; border-radius: 8px; color: #ffcf9a; background: #2a2016; font-size: .7rem; }
.form-two-columns, .profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-actions .secondary-button { margin-top: 18px; }
.profile-contact-link { margin-top: 14px; text-decoration: none; }
.danger-zone { margin-top: 22px; padding-top: 16px; border-top: 1px solid #3b2930; color: #ff9b97; }
.danger-zone summary { cursor: pointer; font-size: .78rem; font-weight: 800; }
.danger-zone p { color: var(--app-muted); font-size: .75rem; line-height: 1.5; }
.danger-zone button { width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid #7a3538; border-radius: 10px; color: #ff9b97; background: #2b1518; font-weight: 800; }

@media (max-width: 820px) {
  .planning-grid { grid-template-columns: 1fr; gap: 0; }
  .recurring-card { grid-column: auto; }
  .recurring-item { grid-template-columns: 1fr auto; }
  .recurring-actions { grid-column: 1 / -1; }
  .heading-tools { align-items: flex-end; flex-direction: column; }
  .statistics-summary { grid-template-columns: 1fr; }
  .statistics-chart { overflow-x: auto; }
  .statistics-column { min-width: 42px; }
}

@media (max-width: 430px) {
  .form-two-columns, .profile-actions { grid-template-columns: 1fr; }
  .profile-actions .secondary-button + .secondary-button { margin-top: 0; }
}
/* Planes y suscripciones */
.welcome-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.upgrade-button{border:1px solid #8a1643;background:#fff;color:#7d123b;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}
.upgrade-button:hover{background:#fff4f7}
.plan-usage{display:grid;grid-template-columns:minmax(210px,auto) minmax(160px,1fr) auto;align-items:center;gap:18px;background:#fff8fa;border:1px solid #f0cbd7;border-radius:16px;padding:14px 18px;margin-bottom:20px}
.plan-usage>div:first-child{display:flex;flex-direction:column;gap:3px}.plan-usage-badge,#plan-usage-badge{color:#8a1643;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.plan-usage a{color:#7d123b;font-weight:800;text-decoration:none}
.plan-usage-track{height:8px;border-radius:999px;background:#eadde2;overflow:hidden}.plan-usage-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#a51c50,#e9658f);border-radius:inherit;transition:width .25s ease}.plan-usage.premium{background:#f2fbf8;border-color:#b9e5d7}.plan-usage.premium .plan-usage-track span{background:#249b78}
.subscription-summary{margin:20px 0;padding:18px;border-radius:16px;background:#fff7fa;border:1px solid #efd1db;color:#321321}.subscription-summary .eyebrow{color:#8a1643}.subscription-summary h3{margin:2px 0 12px;color:#321321}.subscription-summary dl{margin:0;display:grid;gap:8px}.subscription-summary dl div{display:flex;justify-content:space-between;gap:16px}.subscription-summary dt{color:#6c5a61}.subscription-summary dd{margin:0;font-weight:800;text-align:right;color:#321321}.subscription-summary .secondary-button{background:#711336;color:#fff;border-color:#711336}.subscription-actions{display:flex;gap:10px;align-items:center;margin-top:16px;flex-wrap:wrap}.text-button{border:0;background:transparent;color:#991b45;text-decoration:underline;cursor:pointer;font-weight:700}
.plans-dialog{width:min(940px,calc(100% - 28px));max-width:940px}.plans-dialog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.plan-card{display:flex;flex-direction:column;padding:20px;border:1px solid #e2d7db;border-radius:18px;background:#fff}.plan-card.featured{border:2px solid #8a1643;box-shadow:0 14px 32px rgba(126,18,59,.12)}.plan-card.selected{outline:3px solid rgba(138,22,67,.16)}.plan-card-badge{align-self:flex-start;color:#8a1643;background:#fff0f5;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:800}.plan-card h3{margin:14px 0 6px}.plan-card-price{font-size:2rem;color:#4b1028}.plan-card>p{margin:0;color:#6b5d63}.plan-card ul{padding-left:20px;line-height:1.7;flex:1}.plans-legal-copy{font-size:.82rem;color:#6d6266}.plans-legal-copy a{color:#7d123b}.terms-update-dialog{width:min(560px,calc(100% - 28px))}.legal-check{margin:18px 0}
@media(max-width:760px){.welcome-actions{justify-content:stretch}.welcome-actions button{flex:1}.plan-usage{grid-template-columns:1fr}.plans-dialog-grid{grid-template-columns:1fr}.subscription-summary dl div{align-items:flex-start}}
.plans-dialog .plan-card{color:#321321}
.plans-dialog .plan-card h3{color:#321321}
.plans-dialog .plan-card ul,.plans-dialog .plan-card li,.plans-dialog .plan-card li::marker{color:#4d3c43}
.plans-dialog .plans-legal-copy{color:#b9adb2}
.plans-dialog .plans-legal-copy a{color:#ef5d91}
.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
