@font-face {
  font-family: "Manrope"; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-weight: 400 800; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212;
}

:root {
  --bg: #fbfaf6;
  --tint: #f1efe7;
  --card: #ffffff;
  --ink: #1d2b33;
  --soft: #51606a;
  --accent: #0f5866;
  --accent-hover: #0b4652;
  --sand: #c9a66b;
  --line: #dcd9cd;
  --error: #a3271b;
  --s1: #0f5866; --s2: #5b95a0; --s3: #c9a66b; --s4: #8d7f9e;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.draft-bar { margin: 0; padding: 6px 20px; background: var(--ink); color: #fff; font-size: .85rem; text-align: center; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(251, 250, 246, .97); border-bottom: 1px solid var(--line); }
.top__in { padding-top: 10px; }
.brand { display: block; color: var(--ink); font-weight: 800; text-decoration: none; }
.nav { display: flex; gap: 4px; margin: 2px -20px 0; padding: 0 12px 4px; overflow-x: auto; scrollbar-width: none; }
.nav a { flex: none; padding: 8px 10px; color: var(--soft); font-size: .95rem; text-decoration: none; }
.nav a:hover { color: var(--accent); }

.hero { padding: 48px 0 56px; }
.hero .wrap > * { max-width: 760px; }
.eyebrow { color: var(--accent); font-weight: 700; }
.lead { font-size: 1.16rem; }
.byline { margin: 24px 0 0; color: var(--soft); font-size: .95rem; }
.actions { display: grid; gap: 12px; margin-top: 24px; }

.section { padding: 52px 0; }
.section--tint { background: var(--tint); }
.sub { margin-top: 32px; }

.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 54px; padding: 10px 24px; border: 1.5px solid transparent; border-radius: 12px;
  font: inherit; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer;
}
.btn--main { background: var(--accent); color: #fff; }
.btn--main:hover { background: var(--accent-hover); }
.btn--line { border-color: var(--accent); background: transparent; color: var(--accent); }
.btn--line:disabled { opacity: .5; cursor: default; }
.btn--off { width: 100%; border: 1.5px dashed var(--line); background: transparent; color: var(--soft); cursor: not-allowed; }
.btn--off span { font-size: .82rem; font-weight: 500; }
.section--tint .btn--off { border-color: #b9b5a6; }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 24px 0; }
.card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.card > p { margin-bottom: .6em; }
.card > .btn { margin-top: auto; }
.card > details + .btn, .card > p + .btn { margin-top: 16px; }

details summary { color: var(--accent); font-weight: 700; cursor: pointer; min-height: 44px; padding: 8px 0; }
details p:last-child, details ul:last-child { margin-bottom: 0; }
details ul { margin-top: 0; padding-left: 1.2em; }

.stack { display: grid; gap: 10px; }
.fold { padding: 8px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.fold[open] { padding-bottom: 16px; }
.fold--form { margin: 16px 0; padding: 6px 16px; background: var(--bg); }
.check-list { display: grid; gap: 8px; }
.check-head { margin: 16px 0 4px; }
.check-links { display: grid; gap: 10px; margin-top: 12px; }
.check-date { margin: 16px 0; }
@media (min-width: 720px) { .check-links { display: flex; flex-wrap: wrap; } }

.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.plain { padding-left: 16px; border-left: 3px solid var(--sand); }
.plain p { margin: 0; }

.note { margin: 16px 0 0; color: var(--soft); font-size: .92rem; font-style: italic; }
.hint { margin: 6px 0 0; color: var(--soft); font-size: .9rem; }
.status { padding: 12px 16px; border-left: 3px solid var(--sand); background: var(--tint); font-weight: 600; }

.tool { margin-top: 24px; padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.tool h3 { font-size: 1.45rem; }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field--inner { margin: 12px 0 0; }
label, legend { display: block; padding: 0; margin-bottom: 6px; font-weight: 600; line-height: 1.35; }
input[type=text], input[type=number], select {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1.1rem;
}
input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.money { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; }
.choice { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.choice label { margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center; height: 100%; min-height: 52px; padding: 6px 8px;
  border: 1.5px solid var(--line); border-radius: 10px; font-size: .95rem; text-align: center; cursor: pointer;
}
.choice input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--sand); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.check input { width: 22px; height: 22px; flex: none; }

.result { margin-top: 20px; padding: 18px 16px; border-radius: 14px; background: var(--tint); }
.error { margin: 0; color: var(--error); font-weight: 700; }
.empty { margin: 0 0 12px; color: var(--soft); }
.bar { display: flex; height: 14px; margin-bottom: 16px; overflow: hidden; border-radius: 7px; background: var(--line); }
.bar i { display: block; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps .dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; }
.steps b { font-weight: 700; }
.steps .pct { color: var(--soft); }
.steps .sum { grid-column: 2 / -1; font-size: 1.25rem; font-weight: 800; }
.steps .sub-line { grid-column: 2 / -1; color: var(--soft); font-size: .92rem; }
.total { margin: 12px 0 0; font-weight: 700; }
.extras { margin: 8px 0 0; }
.figures { display: grid; gap: 12px; margin: 0 0 16px; }
.figures dt { color: var(--soft); font-size: .92rem; }
.figures dd { margin: 0; font-size: 1.45rem; font-weight: 800; }

.table-box { max-width: 100%; margin-top: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { font-weight: 700; }

/* Обзор DLRC: карточки проектов и ориентиры бюджета */
/* Обзоры районов: карточка с обложкой раскрывает свой блок; блок встаёт на всю ширину под рядом карточек, на телефоне — сразу под своей */
.locs { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row dense; gap: 16px; margin: 24px 0 16px; }
.loc { position: relative; padding: 0; overflow: hidden; }
.loc__cover { margin: 0; }
.loc__cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
/* Временная обложка, пока нет рендера: та же область 3:2, без чужих картинок. */
.loc__wait { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: linear-gradient(160deg, var(--tint), #e3ecec); color: var(--soft); font-size: .92rem; }
.loc__cover figcaption { padding: 8px 20px 0; color: var(--soft); font-size: .82rem; }
.loc__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 8px 20px 20px; }
.loc__body h3 { margin: 4px 0 2px; }
.loc__sum { margin: 0 0 14px; color: var(--soft); font-size: .95rem; }
.loc__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-top: auto; padding: 0 16px; border: 1.5px solid var(--accent); border-radius: 10px; background: transparent; color: var(--accent); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
/* Нажимается вся карточка: слой кнопки растянут на неё. */
.loc__toggle::before { content: ""; position: absolute; inset: 0; }
.loc__toggle::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.loc__toggle[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.loc__toggle [data-close], .loc__toggle[aria-expanded="true"] [data-open] { display: none; }
.loc__toggle[aria-expanded="true"] [data-close] { display: inline; }
.loc:hover .loc__toggle { background: var(--tint); }
.loc.is-open { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.loc.is-open .loc__toggle { background: var(--accent); color: #fff; }
.loc-panel { position: relative; grid-column: 1 / -1; margin-top: 4px; padding: 22px 20px; border: 2px solid var(--accent); border-radius: 16px; background: var(--card); }
.loc.is-open + .loc-panel::before { content: ""; position: absolute; top: -10px; left: var(--notch, 50%); width: 16px; height: 16px; margin-left: -9px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); background: var(--card); transform: rotate(45deg); }
.loc-panel > .note:nth-child(2) { margin-top: -8px; }
.loc-panel__close { width: 100%; min-height: 46px; margin-top: 20px; }
.loc--soon { border-style: dashed; background: transparent; }
.loc__soon { display: inline-block; margin: 0; padding: 2px 12px; border-radius: 999px; background: var(--tint); color: var(--soft); font-size: .88rem; }
/* Широкая карточка: на телефоне как остальные; шире — отдельный ряд, обложка шириной в одну колонку сетки слева, текст справа. */
.loc-wide { grid-column: 1 / -1; }
/* Анонс без обложки: пустая картинка выглядела бы как незагрузившаяся. На компьютере — по высоте ряда, текст по центру. */
.loc--soon .loc__body { justify-content: center; align-items: center; padding: 20px; text-align: center; }
.loc--soon .loc__body h3 { margin: 0 0 8px; }
@media (min-width: 720px) {
  .locs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-panel { padding: 28px; }
  /* Подписи обложек в ряду бывают в одну и две строки: место под две, чтобы названия районов стояли на одной высоте. */
  .loc__cover figcaption { min-height: calc(3.2em + 8px); }
  .loc-panel__close { width: auto; }
  .loc-wide { display: grid; grid-template-columns: calc((100% - 16px) / 2) minmax(0, 1fr); align-items: center; }
  .loc-wide .loc__body { padding: 20px 28px; }
}
@media (min-width: 900px) {
  .locs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loc-wide { grid-template-columns: calc((100% - 32px) / 3) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .loc__toggle, .loc { transition: background-color .15s, border-color .15s, box-shadow .15s; }
  .loc.is-open + .loc-panel { animation: loc-in .18s ease-out; }
  @keyframes loc-in { from { opacity: 0; transform: translateY(-4px); } }
}
.budget { max-width: 640px; font-size: 1rem; }
.budget th, .budget td { padding: 12px 12px 12px 0; white-space: normal; vertical-align: top; }
.budget thead th { color: var(--soft); font-size: .85rem; font-weight: 600; }
.budget tbody th { font-weight: 700; }
.budget td { font-weight: 700; }
@media (min-width: 400px) { .budget td { white-space: nowrap; } }
.budget span { display: block; color: var(--soft); font-size: .85rem; font-weight: 500; }
.budget tbody th span { white-space: normal; }
/* Таблица по районам: группа строк района отделена линией потолще. */
.budget tbody + tbody > tr:first-child > * { border-top: 2px solid var(--line); }
/* Диапазон цены не разрывается посередине на узком экране; три колонки — отступы меньше, чтобы уместиться на 320 px. */
.budget td b { font-weight: inherit; white-space: nowrap; }
.budget--areas th, .budget--areas td { padding-right: 8px; }
.budget--areas td { padding-right: 0; }
.loc-aside { margin-top: 16px; padding: 12px 16px; border-left: 3px solid var(--sand); background: var(--tint); }
.budget-cta { margin-top: 20px; }
.budget-cta .btn { width: 100%; }

/* Сохранение плана и демонстрационный кабинет */
.save-plan { width: 100%; margin-top: 16px; }
.demo-note { margin: 0 0 24px; padding: 14px 16px; border-left: 3px solid var(--sand); background: var(--tint); font-weight: 600; }
.narrow { max-width: 640px; }
.page { padding: 36px 0 60px; }
.back { display: inline-block; margin-bottom: 16px; padding: 8px 0; }
.page .tool { margin-top: 0; }
.optional { color: var(--soft); font-weight: 400; }
.field-error { margin: 6px 0 0; color: var(--error); font-size: .92rem; font-weight: 600; }
.notice { margin: 20px 0; padding: 16px; border-radius: 12px; background: var(--tint); }
.notice p:last-child { margin: 0; }
.check--top { align-items: flex-start; margin: 0 0 20px; font-weight: 500; }
.check--top input { margin-top: 3px; }
.tool .btn { width: 100%; }
.tool .demo-link { margin-top: 12px; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.plan { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.plan h2 { margin-bottom: 4px; font-size: 1.3rem; letter-spacing: 0; }
.plan__date { margin: 0 0 12px; color: var(--soft); font-size: .92rem; }
.plan__main { margin: 0 0 14px; font-weight: 700; }
.plan__body h3 { margin: 14px 0 6px; font-size: 1rem; }
.plan__body dl { margin: 0; }
.plan__body dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.plan__body dt { color: var(--soft); }
.plan__body dd { margin: 0; font-weight: 600; text-align: right; }
.plan__panel { margin: 14px 0; padding: 14px; border-radius: 12px; background: var(--tint); }
.plan__panel p:last-child { margin-bottom: 0; }
.plan__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mini { min-height: 46px; padding: 6px 4px; border: 1.5px solid var(--accent); border-radius: 10px; background: transparent; color: var(--accent); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.mini:hover { background: var(--tint); }
.mini--danger { border-color: var(--error); color: var(--error); }
.panel-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

.foot { padding: 32px 0; background: var(--ink); color: #d5dcdf; font-size: .92rem; }
.foot strong { color: #fff; }
.foot p:last-child { margin: 0; }

@media (min-width: 720px) {
  .actions { display: flex; flex-wrap: wrap; }
  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool { padding: 32px; }
}
@media (min-width: 900px) {
  html { scroll-padding-top: 76px; }
  .top__in { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; }
  .nav { margin: 0; padding: 0; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
  .hero { padding: 88px 0; }
  .card > .btn { margin-top: auto; }
}

.h-tool { font-size: 1.6rem; letter-spacing: 0; }
.h-page { font-size: clamp(1.9rem, 6vw, 2.6rem); }

.foot__link { color: #fff; }
/* Низ страницы: автор и источники, под ними — информационное пояснение. */
.foot__cols { display: grid; gap: 24px; margin-bottom: 24px; }
.foot__block p { margin: 0 0 .6em; }
.foot__head { margin: 0 0 6px; color: #fff; font-size: 1.1rem; letter-spacing: 0; }
.foot__lines { line-height: 1.7; }
.foot__list { margin: 0 0 .6em; padding-left: 1.2em; }
.foot__list li { margin-bottom: .3em; }
.foot__note { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.foot a { display: inline-block; min-height: 24px; }
@media (min-width: 720px) { .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; } }
.policy h2 { margin-top: 32px; font-size: 1.35rem; letter-spacing: 0; }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: .4em; }
.todo { padding: 0 4px; border-radius: 4px; background: #f6e7bd; font-weight: 700; }
.policy table { white-space: normal; }
.policy th, .policy td { white-space: normal; vertical-align: top; }
.policy table { table-layout: fixed; }
.policy td, .policy th { overflow-wrap: anywhere; padding-right: 8px; }
.policy .h-page { overflow-wrap: anywhere; }

/* Вход и кабинет */
.edit-bar { margin: 16px 0; padding: 16px; border: 1.5px solid var(--accent); border-radius: 14px; background: var(--card); }
.edit-bar h3 { margin-bottom: 6px; }
.edit-bar .btn { width: 100%; margin-top: 8px; }
.account-line { margin: 0 0 20px; color: var(--soft); overflow-wrap: anywhere; }
.page .btn + .btn { margin-top: 10px; }
.page .tool .btn, .stack-btn .btn { width: 100%; }

/* Служебный кабинет */
.owner-table td, .owner-table th { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.owner-open { padding: 6px 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; text-align: left; text-decoration: underline; cursor: pointer; }
#plan-versions .plan { margin-bottom: 16px; }

/* На узком экране строки списка становятся карточками */
@media (max-width: 719px) {
  .owner-table thead { display: none; }
  .owner-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .owner-table td { display: block; padding: 2px 0; border: 0; }
  .owner-table td:first-child { font-weight: 700; }
}

/* Сколько стоит недвижимость */
.price-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 20px 0 0; }
.price-tab { min-height: 48px; padding: 6px 4px; border: 1.5px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.price-tab[aria-selected=true] { border-color: var(--accent); background: var(--accent); color: #fff; }
.price-tab:focus-visible, .price-panel:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.price-panel { margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.price-box { margin-bottom: 10px; }
.price-table th, .price-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.price-table tbody th { font-weight: 600; }
.price-source { color: var(--soft); font-size: .85rem; line-height: 1.45; }
.price-pair { margin-bottom: 16px; }
.price-fit { color: var(--soft); font-size: .95rem; }
.price-panel > .btn { width: 100%; }
.price-more { margin-top: 16px; }
.price-more li { margin-bottom: .4em; }
.price-end { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--sand); }
.price-end h3 { margin-bottom: .3em; }
.price-end p { margin: 0; }
@media (max-width: 559px) {
  .price-table thead { display: none; }
  .price-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { display: block; padding: 1px 0; border: 0; }
  .price-table td { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; text-align: right; }
  .price-table td::before { content: attr(data-label); color: var(--soft); text-align: left; }
}
@media (min-width: 720px) {
  .price-panel { padding: 24px; }
  .price-panel > .btn { width: auto; }
}

/* Помощник по сайту */
.helper { position: fixed; right: 12px; bottom: 12px; z-index: 6; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.helper > * { pointer-events: auto; }
.helper__toggle { display: block; width: 60px; height: 70px; padding: 0; border: 0; border-radius: 14px; background: none; cursor: pointer; }
.helper__toggle img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 6px rgba(29, 43, 51, .25)); }
.helper--away .helper__toggle { opacity: 0; visibility: hidden; }
.helper > .helper__nudge { position: absolute; right: calc(100% + 6px); bottom: 30px; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px 12px 4px 12px; background: var(--card); box-shadow: 0 6px 16px rgba(29, 43, 51, .15); font-size: .88rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.helper__nudge--measure { visibility: hidden; }
.helper__panel { width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 110px); overflow-y: auto; padding: 12px 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 10px 30px rgba(29, 43, 51, .18); font-size: .95rem; }
.helper__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.helper__title { margin: 0; color: var(--soft); font-size: .85rem; font-weight: 700; }
.helper__close, .helper__back { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: .88rem; cursor: pointer; }
.helper__panel h2 { margin-bottom: 10px; font-size: 1.1rem; letter-spacing: 0; }
.helper__panel h2:focus { outline: none; }
.helper__panel p { margin-bottom: .7em; }
.helper__choice { display: flex; flex-wrap: wrap; gap: 8px; }
.helper__choice .btn { flex: 1 1 0; min-height: 48px; padding: 8px 12px; }
.helper__menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.helper__menu .btn { width: 100%; min-height: 48px; padding: 8px 14px; }
.helper__terms { margin: 0 0 .7em; }
.helper__terms dt { font-weight: 700; }
.helper__terms dd { margin: 0 0 8px; }
.helper__steps { margin: 0 0 .7em; padding-left: 1.3em; }
.helper__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.helper__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 720px) {
  .helper { right: 20px; bottom: 20px; }
  .helper__toggle { width: 84px; height: 97px; }
  .helper > .helper__nudge { bottom: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .helper__toggle { transition: opacity .2s, visibility .2s, transform .2s; }
  .helper__toggle:hover { transform: translateY(-3px); }
  .helper__panel { animation: helper-in .2s ease-out; }
  @keyframes helper-in { from { opacity: 0; transform: translateY(8px); } }
  .helper > .helper__nudge { animation: helper-in .25s ease-out; }
  .helper--wave .helper__toggle img { transform-origin: 50% 90%; animation: helper-wave 1.2s ease-in-out; }
  @keyframes helper-wave { 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); } }
}
@media (min-width: 720px) { .budget-cta .btn { width: auto; } }
@media print { .helper { display: none; } }
