/* Шрифты лежат рядом с сайтом (CSP: только свои файлы). Jost и Golos Text — OFL, лицензии в fonts/. */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/Jost-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/Jost-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/GolosText-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/GolosText-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
html, body { margin: 0; padding: 0; }
/* Вёрстка: один тёмный мир «зала после закрытия» — антрацит, тонкие светлые линии, мягкий свет за экранами.
   Заголовки — геометрический гротеск, акцент — светлее и лаймом, без курсивов; метки — разрядка капителью.
   Лайм — только кнопки действий и точки «живого» статуса. Осознанно одна тема (тёмная). */
:root {
  --night: #0B0C0B;
  --night-2: #111311;
  --rise: #171A18;
  --fg: #ECEEE9;
  --fg-2: #C3C8C2;
  --muted: #858C86;
  --line: rgba(236,238,233,.09);
  --line-2: rgba(236,238,233,.16);
  --lime: #B6EE4C;
  --lime-deep: #8DBF2E;
  --glow: rgba(182,238,76,.10);
  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --sans: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--night); color: var(--fg); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; margin: 0; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--muted); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; }
.label { font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 28px; border-radius: 999px; font: 500 15px/1 var(--display); letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn-lime { background: var(--lime); color: var(--night); box-shadow: 0 0 0 0 var(--glow); }
.btn-lime:hover { box-shadow: 0 0 0 6px var(--glow), 0 10px 40px -8px rgba(182,238,76,.45); }
.btn-line { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--fg-2); }
.btn .arr { font-weight: 400; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ——— Шапка ——— */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--night); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--night) 78%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 36px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 500 22px var(--display); letter-spacing: .01em; }
.brand img { width: 46px; height: 46px; }
@media (max-width: 560px) { .top .wrap { height: 72px; } .brand { font-size: 19px; gap: 10px; } .brand img { width: 38px; height: 38px; } }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 400; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.top .btn { padding: 11px 20px; font-size: 14px; }
@media (max-width: 920px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* ——— Первый экран ——— */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 35%; height: 120%; background: radial-gradient(closest-side, rgba(182,238,76,.13), transparent 70%); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); opacity: .55; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-block: 96px 0; }
.hero-copy { display: grid; gap: 28px; padding-bottom: 110px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 86px); line-height: 1; letter-spacing: -.03em; font-weight: 300; }
.hero h1 em { display: block; color: var(--lime); font-weight: 400; }
.hero .lead { color: var(--fg-2); opacity: .8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 14px; height: 1px; background: var(--line-2); }


/* Устройства */
.browser { background: linear-gradient(180deg, #232725, #1A1D1B); border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5); }
.browser .bar { display: flex; align-items: center; height: 36px; padding: 0 16px; gap: 8px; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A403D; }
.browser .url { flex: 1; max-width: 280px; margin: 0 auto; height: 22px; border-radius: 6px; background: rgba(0,0,0,.35); color: var(--muted); font: 400 11px/22px var(--sans); text-align: center; letter-spacing: .02em; }
.browser .screen { aspect-ratio: 1440 / 900; overflow: hidden; background: #F3F4F1; }
.browser .screen img { width: 100%; }
.phone { background: linear-gradient(145deg, #2B302D, #0A0B0A 40%, #1C201E); border-radius: 46px; padding: 10px; box-shadow: 0 40px 90px -24px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 3px #050605; }
.phone .screen { border-radius: 37px; overflow: hidden; aspect-ratio: 390 / 844; background: #F3F4F1; }
.phone .screen img { width: 100%; }

/* ——— Цифры ——— */
.facts { border-block: 1px solid var(--line); background: var(--night-2); position: relative; z-index: 1; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding-block: 44px; padding-inline: 28px; border-left: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 300 clamp(44px, 5vw, 66px)/.9 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 26ch; }
@media (max-width: 820px) {
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 28px 18px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ——— Разделы ——— */
section.block { padding-block: 140px; position: relative; }
section.block + section.block { border-top: 1px solid var(--line); }
.head { display: grid; gap: 22px; max-width: 820px; margin-bottom: 80px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.row + .row { margin-top: 130px; }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .copy { order: 2; }
.copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.copy > p { color: var(--muted); }
.num { font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; border-top: 1px solid var(--line); }
.ticks li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); line-height: 1.5; font-size: 16px; }
.ticks b { font-weight: 500; color: var(--fg); }
@media (max-width: 920px) { .row, .row.flip { grid-template-columns: 1fr; gap: 40px; } .row.flip .copy { order: 0; } section.block { padding-block: 96px; } .row + .row { margin-top: 96px; } .head { margin-bottom: 56px; } }

.shot { position: relative; border-radius: 16px; padding: 8px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line-2); box-shadow: 0 50px 110px -40px rgba(0,0,0,.95); }
.shot::before { content: ""; position: absolute; inset: 10% 10% -8%; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); }
.shot > div { border-radius: 10px; overflow: hidden; background: #F3F4F1; aspect-ratio: 1440 / 860; }
.shot.tall > div { aspect-ratio: 1440 / 1000; }
.shot.free > div { aspect-ratio: auto; }
.shot img { width: 100%; }
.pair { position: relative; padding-right: 20%; }
.pair .phone { position: absolute; right: 0; bottom: -56px; width: 32%; min-width: 140px; }
@media (max-width: 560px) { .pair { padding-right: 0; padding-bottom: 52%; } .pair .phone { width: 46%; bottom: 0; } }

/* ——— Комплексы ——— */
.wod { background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(182,238,76,.07), transparent 70%), var(--night-2); }
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 10px; }
.formats div { padding: 22px 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 10px; }
.formats div:first-child { border-left: 0; }
.formats b { font: 500 15px/1 var(--display); letter-spacing: .12em; color: var(--lime); }
.formats span { font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .formats div:nth-child(3) { border-left: 0; } .formats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.wods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.wods .phone:nth-child(2) { margin-top: 72px; }
@media (max-width: 920px) { .wods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .wods .copy { grid-column: 1 / -1; margin-top: 40px; } .wods .phone:nth-child(2) { margin-top: 48px; } }

/* Лента экранов */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 28px; overflow-x: auto; padding: 10px 4px 36px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip figure { margin: 0; scroll-snap-align: start; display: grid; gap: 18px; }
.strip figcaption { font-size: 14px; color: var(--muted); line-height: 1.45; }
.strip figcaption b { display: block; color: var(--fg); font-weight: 500; font-size: 15px; margin-bottom: 2px; }

/* ——— Тарифы ——— */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: 24px; padding: 36px 32px; display: grid; gap: 22px; align-content: start; grid-template-rows: auto auto 1fr auto; background: var(--night-2); border: 1px solid var(--line); }
.plan.main { background: linear-gradient(180deg, #1B1F1C, #121412); border-color: transparent; box-shadow: 0 40px 100px -40px rgba(182,238,76,.25); }
.plan.main::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--lime), rgba(182,238,76,.15) 40%, var(--line-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan .name { font: 500 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.plan.main .name { color: var(--lime); }
.plan .price { font: 300 58px/.9 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .price small { font: 300 15px var(--sans); color: var(--muted); letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 15px; }
.plan .ticks li { font-size: 15px; padding: 12px 0; }
.plan .btn { width: 100%; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } }
.trial { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 36px; color: var(--muted); font-size: 14px; }
.trial span { display: inline-flex; gap: 10px; align-items: center; }
.trial span::before { content: ""; width: 14px; height: 1px; background: var(--line-2); }

/* ——— Вопросы ——— */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.faq details { border-top: 1px solid var(--line); padding: 26px 0; }
.faq summary { cursor: pointer; font: 400 20px/1.35 var(--display); letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--display); color: var(--muted); transition: transform .25s ease, color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--lime); }
.faq details p { margin-top: 14px; color: var(--muted); max-width: 58ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ——— Финал ——— */
.final { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); text-align: left; }
.final::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(182,238,76,.16), transparent 70%); z-index: -1; }
.final .wrap { padding-block: 150px; display: grid; gap: 36px; justify-items: start; }
.final h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 300; letter-spacing: -.03em; max-width: 14ch; }
.final h2 em { color: var(--lime); font-weight: 400; }
.final p { font-size: 18px; color: var(--muted); max-width: 52ch; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { padding-block: 44px; display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
footer .brand { color: var(--fg); }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
footer a { text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--fg); }

@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }

/* ——— Первый экран: только кабинет ——— */
:root {
  --ui-bg: #F5F6F3; --ui-card: #FFFFFF; --ui-ink: #121513; --ui-muted: #6B736D; --ui-line: #E3E6E1; --ui-side: #FAFBF9; --ui-lime-soft: #EEF9D9; --ui-lime-ink: #3F6212;
}
.hero .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); padding-block: 88px 96px; }
.hero-copy { padding-bottom: 0; }
@media (max-width: 1040px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; gap: 48px; } }
.stage { position: relative; display: grid; gap: 18px; min-width: 0; animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.stage .browser { margin-right: -60px; }
@media (max-width: 1040px) { .stage .browser { margin-right: 0; } }
.steps { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.steps span { display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.steps span::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--line-2); transition: background-color .3s, width .3s; }
.steps span.on { color: var(--fg); }
.steps span.on::before { background: var(--lime); width: 28px; }

/* Живой макет кабинета: размеры в em, шрифт привязан к ширине окна */
.ui { container-type: inline-size; }
.ui-root { position: relative; height: 100%; display: grid; grid-template-columns: 17em 1fr; font: 400 1.38cqw/1.4 var(--sans); color: var(--ui-ink); background: var(--ui-bg); overflow: hidden; }
.ui-side { background: var(--ui-side); border-right: 1px solid var(--ui-line); padding: 1.6em 1.1em; display: grid; align-content: start; gap: .3em; }
.ui-logo { display: flex; align-items: center; gap: .6em; font: 600 1.15em var(--display); margin: 0 0 1.4em .5em; }
.ui-logo i { width: 1.6em; height: 1.6em; border-radius: .45em; background: var(--ui-ink); position: relative; }
.ui-logo i::after { content: ""; position: absolute; inset: .45em; border-radius: 50%; background: var(--lime); }
.ui-nav { padding: .6em .8em; border-radius: .6em; color: var(--ui-muted); display: flex; justify-content: space-between; }
.ui-nav.on { background: var(--ui-ink); color: #fff; font-weight: 500; }
.ui-nav b { font-weight: 500; font-size: .85em; background: var(--lime); color: var(--ui-ink); border-radius: 1em; padding: 0 .55em; }
.ui-main { padding: 1.8em 2.2em; display: grid; align-content: start; gap: 1.1em; min-width: 0; }
.ui-head { display: flex; align-items: center; gap: .8em; }
.ui-head h4 { margin: 0; font: 500 1.7em/1 var(--display); letter-spacing: -.01em; }
.ui-count { color: var(--ui-muted); font-size: .95em; }
.ui-add { margin-left: auto; background: var(--ui-ink); color: #fff; border-radius: 2em; padding: .65em 1.2em; font-weight: 500; transition: transform .15s, box-shadow .2s; }
.ui-add.press { transform: scale(.95); box-shadow: 0 0 0 .35em rgba(182,238,76,.5); }
.ui-tabs { display: flex; gap: .5em; }
.ui-tabs span { padding: .4em .9em; border-radius: 2em; border: 1px solid var(--ui-line); background: var(--ui-card); color: var(--ui-muted); font-size: .92em; }
.ui-tabs span.on { border-color: var(--ui-ink); color: var(--ui-ink); font-weight: 500; }
.ui-list { list-style: none; margin: 0; padding: 0; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: .9em; overflow: hidden; }
.ui-list li { display: grid; grid-template-columns: 2.8em 1fr auto; align-items: center; gap: 1em; padding: .75em 1.1em; border-top: 1px solid var(--ui-line); }
.ui-list li:first-child { border-top: 0; }
.ui-thumb { width: 2.8em; height: 2.8em; border-radius: .6em; background: linear-gradient(135deg, #E6E9E3, #D3D8D0); position: relative; }
.ui-thumb::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: .7em solid rgba(18,21,19,.45); border-block: .45em solid transparent; }
.ui-list strong { font-weight: 500; display: block; }
.ui-list small { color: var(--ui-muted); font-size: .88em; }
.ui-tag { font-size: .82em; padding: .25em .7em; border-radius: 2em; background: var(--ui-bg); color: var(--ui-muted); }
.ui-list li.new { background: var(--ui-lime-soft); animation: slot .6s cubic-bezier(.2,.7,.2,1); }
.ui-list li.new .ui-tag { background: var(--lime); color: var(--ui-ink); font-weight: 500; }
@keyframes slot { from { opacity: 0; transform: translateY(-.8em); } to { opacity: 1; transform: none; } }

.ui-modal { position: absolute; inset: 0; background: rgba(18,21,19,.32); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.ui-modal.open { opacity: 1; }
.ui-card { width: 30em; background: var(--ui-card); border-radius: 1.1em; padding: 1.6em 1.7em; display: grid; gap: .55em; box-shadow: 0 2em 4em -1em rgba(0,0,0,.35); transform: translateY(1.2em) scale(.98); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ui-modal.open .ui-card { transform: none; }
.ui-card h5 { margin: 0 0 .4em; font: 500 1.3em var(--display); }
.ui-card label { font-size: .85em; color: var(--ui-muted); margin-top: .3em; }
.ui-input { border: 1px solid var(--ui-line); border-radius: .6em; padding: .6em .8em; min-height: 2.5em; display: flex; align-items: center; transition: border-color .2s, box-shadow .2s; white-space: nowrap; overflow: hidden; }
.ui-input.focus { border-color: var(--ui-ink); box-shadow: 0 0 0 .2em rgba(182,238,76,.45); }
.ui-input.focus::after { content: ""; width: 1px; height: 1.1em; background: var(--ui-ink); margin-left: 1px; animation: caret 1s steps(1) infinite; }
.ui-input.link span { color: #2F5BB7; }
@keyframes caret { 50% { opacity: 0; } }
.ui-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.ui-chips span { padding: .35em .8em; border-radius: 2em; border: 1px solid var(--ui-line); color: var(--ui-muted); font-size: .92em; transition: background-color .2s, color .2s, border-color .2s; }
.ui-chips span.on { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; }
.ui-actions { display: flex; justify-content: flex-end; gap: .6em; margin-top: .8em; }
.ui-actions span { padding: .65em 1.3em; border-radius: 2em; font-weight: 500; }
.ui-actions .ghost { color: var(--ui-muted); }
.ui-actions .save { background: var(--lime); color: var(--ui-ink); transition: transform .15s, box-shadow .2s; }
.ui-actions .save.press { transform: scale(.95); box-shadow: 0 0 0 .35em rgba(182,238,76,.45); }
.ui-cursor { position: absolute; left: 0; top: 0; width: 1.5em; height: 1.5em; pointer-events: none; z-index: 3; transform: translate(70em, 30em); transition: transform .9s cubic-bezier(.45,.05,.2,1); }
.ui-cursor svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 .15em .25em rgba(0,0,0,.35)); }
.ui-toast { position: absolute; left: 50%; bottom: 1.6em; transform: translate(-50%, 1em); background: var(--ui-ink); color: #fff; padding: .7em 1.2em; border-radius: 2em; font-size: .95em; opacity: 0; transition: opacity .3s, transform .3s; white-space: nowrap; display: flex; gap: .6em; align-items: center; }
.ui-toast::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--lime); }
.ui-toast.show { opacity: 1; transform: translate(-50%, 0); }
.browser .screen.ui { background: var(--ui-bg); }

/* ——— Приложение клиента: живой таймер ——— */
.solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 80px; align-items: center; }
@media (max-width: 920px) { .solo { grid-template-columns: 1fr; gap: 56px; } }
.solo-stage { position: relative; display: grid; place-items: center; padding-block: 20px; }
.solo-stage::before { content: ""; position: absolute; inset: 5% 0; background: radial-gradient(closest-side, rgba(182,238,76,.14), transparent 70%); z-index: 0; }
.solo-stage .phone { width: min(320px, 78%); position: relative; z-index: 1; }
.float { position: absolute; z-index: 2; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--rise) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); font-size: 14px; color: var(--fg-2); display: grid; gap: 4px; transition: opacity .5s, transform .5s; }
.float small { font: 500 10px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.float b { font: 400 20px/1.1 var(--display); color: var(--fg); }
.float b i { font-style: normal; color: var(--lime); }
.float.f1 { left: 0; top: 16%; }
.float.f2 { right: 0; bottom: 18%; }
.float.hide { opacity: 0; transform: translateY(10px); }
@media (max-width: 560px) { .float.f1 { left: -4px; top: 6%; } .float.f2 { right: -4px; bottom: 8%; } .float b { font-size: 17px; } }

.tm { container-type: inline-size; height: 100%; background: #0E100F !important; }
.tm-root { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto auto; padding: 14cqw 7cqw 9cqw; color: #F2F5F3; font-family: var(--sans); text-align: center; gap: 4cqw; }
.tm-top { display: flex; justify-content: space-between; font: 500 3.4cqw/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: #8F968F; }
.tm-top b { color: var(--lime); font-weight: 500; }
.tm-ring { position: relative; width: 74cqw; aspect-ratio: 1; margin: 2cqw auto 0; }
.tm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tm-ring circle { fill: none; stroke-width: 5; }
.tm-ring .bg { stroke: #222724; }
.tm-ring .fg { stroke: var(--lime); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.tm-time { position: absolute; inset: 0; display: grid; place-content: center; gap: 2cqw; }
.tm-time b { font: 300 17cqw/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.tm-time span { font-size: 3.6cqw; color: #8F968F; }
.tm-moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4cqw; align-content: center; font-size: 4.2cqw; }
.tm-moves li { display: flex; justify-content: space-between; padding: 3cqw 4cqw; border-radius: 3cqw; background: #171A18; }
.tm-moves li b { font-weight: 500; color: #F2F5F3; }
.tm-moves li span { color: #8F968F; }
.tm-round { font: 400 5cqw/1 var(--display); color: #C3C8C2; }
.tm-round b { font-weight: 500; color: #F2F5F3; font-size: 1.3em; font-variant-numeric: tabular-nums; }
.tm-btn { background: var(--lime); color: #0B0C0B; border-radius: 99cqw; padding: 5cqw; font: 500 5.4cqw/1 var(--display); letter-spacing: .02em; transition: transform .15s, box-shadow .25s; }
.tm-btn.press { transform: scale(.94); box-shadow: 0 0 0 3cqw rgba(182,238,76,.28); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 8px; }
.duo h4 { margin: 0 0 4px; font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } }
.soft { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 500 15px/1.3 var(--display); letter-spacing: .02em; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; width: fit-content; transition: border-color .2s; }
.soft:hover { border-color: var(--lime); }
.soft span { color: var(--lime); }
.aside { color: var(--muted); font-size: 15px; max-width: 52ch; }
.aside b { color: var(--fg); font-weight: 500; }

/* ——— Конструктор программ (первый экран) ——— */
.ui-root.bd .ui-main { height: 100%; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; }
.bd-head { display: flex; align-items: center; gap: .8em; }
.bd-title { font: 500 1.6em/1.2 var(--display); letter-spacing: -.01em; min-width: 8em; display: flex; align-items: center; border-bottom: 1px dashed var(--ui-line); padding-bottom: .1em; white-space: nowrap; }
.bd-title:empty::before, .bd-title span:empty::before { content: "Новая программа"; color: #B4BAB5; }
.bd-title.focus::after { content: ""; width: 1px; height: 1em; background: var(--ui-ink); margin-left: 1px; animation: caret 1s steps(1) infinite; }
.bd-chip { font-size: .85em; padding: .3em .8em; border-radius: 2em; background: var(--ui-card); border: 1px solid var(--ui-line); color: var(--ui-muted); transition: opacity .3s; }
.bd-chip.off { opacity: 0; }
.bd-save { margin-left: auto; background: var(--lime); color: var(--ui-ink); border-radius: 2em; padding: .6em 1.2em; font-weight: 500; transition: transform .15s, box-shadow .2s; }
.bd-save.press { transform: scale(.95); box-shadow: 0 0 0 .35em rgba(182,238,76,.45); }
.bd-days { display: flex; gap: .4em; }
.bd-days span { padding: .45em .9em; border-radius: .6em; color: var(--ui-muted); font-size: .92em; background: var(--ui-card); border: 1px solid var(--ui-line); }
.bd-days span.on { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; font-weight: 500; }
.bd-view { min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }
.bd-track { display: grid; gap: .8em; transition: transform .8s cubic-bezier(.45,.05,.2,1); padding-bottom: 4em; }
.bd-block { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: .9em; padding: .85em 1.1em; display: grid; gap: .45em; transition: border-color .3s, box-shadow .3s; }
.bd-block.on { border-color: #BFC5BF; box-shadow: 0 .6em 1.6em -.8em rgba(18,21,19,.25); }
.bd-block.ss { border-left: .28em solid var(--lime); }
.bd-bh { display: flex; align-items: center; gap: .6em; font-weight: 500; }
.bd-bh small { font-weight: 400; color: var(--ui-muted); font-size: .85em; }
.bd-bh em { font-style: normal; margin-left: auto; font-size: .78em; font-weight: 500; letter-spacing: .08em; padding: .2em .6em; border-radius: 2em; background: var(--ui-ink); color: var(--lime); }
.bd-cols, .bd-row { display: grid; grid-template-columns: minmax(0, 1fr) 3.6em 4.4em 4.8em 4em; gap: .5em; align-items: center; }
.bd-cols { font-size: .78em; color: var(--ui-muted); padding-inline: .2em; }
.bd-cols span:not(:first-child) { text-align: center; }
.bd-row { animation: slot .45s cubic-bezier(.2,.7,.2,1); }
.bd-row .n { padding: .45em .6em; border-radius: .5em; background: var(--ui-bg); white-space: nowrap; overflow: hidden; min-height: 2.1em; }
.bd-row .c { padding: .45em .2em; border-radius: .5em; background: var(--ui-bg); text-align: center; min-height: 2.1em; font-variant-numeric: tabular-nums; transition: background-color .3s; }
.bd-row .c.fill { background: var(--ui-lime-soft); }
.bd-add { justify-self: start; font-size: .88em; color: var(--ui-muted); border: 1px dashed #C9CEC8; border-radius: 2em; padding: .35em .9em; transition: transform .15s, border-color .2s, color .2s; }
.bd-add.press { transform: scale(.95); border-color: var(--ui-ink); color: var(--ui-ink); }
.demo-row .browser { box-shadow: 0 50px 110px -40px rgba(0,0,0,.95); }
.demo-row .stage { animation: none; }
.demo-row .stage .browser { margin-right: 0; }

/* ——— Карусель экранов приложения ——— */
.solo-stage { gap: 22px; }
.car { position: relative; z-index: 1; width: min(330px, 78%); display: grid; touch-action: pan-y; outline: none; }
.car:focus-visible .phone { box-shadow: 0 0 0 2px var(--lime), 0 40px 90px -24px rgba(0,0,0,.9); }
.car .phone { width: 100%; }
.car-screen { position: relative; cursor: grab; }
.car-screen:active { cursor: grabbing; }
.car-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.car-track.drag { transition: none; }
.car-slide { flex: 0 0 100%; height: 100%; overflow: hidden; background: #F3F4F1; }
.car-slide img { width: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.car-slide.tm { background: #0E100F; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--rise) 85%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--fg); font: 400 18px/1 var(--display); cursor: pointer; z-index: 2; transition: border-color .2s, background-color .2s; }
.car-btn:hover { border-color: var(--lime); }
.car-btn.prev { left: -72px; }
.car-btn.next { right: -72px; }
@media (max-width: 560px) { .car-btn.prev { left: -20px; } .car-btn.next { right: -20px; } .car-btn { width: 42px; height: 42px; } }
.car-cap { position: relative; z-index: 1; text-align: center; display: grid; gap: 4px; min-height: 52px; }
.car-cap b { font: 400 20px/1.2 var(--display); color: var(--fg); }
.car-cap span { color: var(--muted); font-size: 15px; }
.car-dots { position: relative; z-index: 1; display: flex; gap: 8px; justify-content: center; }
.car-dots button { width: 7px; height: 7px; padding: 0; border-radius: 4px; border: 0; background: var(--line-2); cursor: pointer; transition: width .3s, background-color .3s; }
.car-dots button.on { width: 22px; background: var(--lime); }

/* ——— Меню (раздел питания) ——— */
.mn-body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 15em; gap: 1em; }
.mn-row { display: grid; grid-template-columns: minmax(0, 1fr) 4.4em 4.4em; gap: .5em; align-items: center; animation: slot .45s cubic-bezier(.2,.7,.2,1); }
.mn-row .n { padding: .45em .6em; border-radius: .5em; background: var(--ui-bg); white-space: nowrap; overflow: hidden; min-height: 2.1em; }
.mn-row .c { padding: .45em .2em; border-radius: .5em; background: var(--ui-bg); text-align: center; min-height: 2.1em; font-variant-numeric: tabular-nums; transition: background-color .3s; }
.mn-row .c.fill { background: var(--ui-lime-soft); }
.mn-sum { align-self: start; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: .9em; padding: 1.1em 1.2em; display: grid; gap: .45em; }
.mn-sum small { color: var(--ui-muted); font-size: .82em; letter-spacing: .08em; text-transform: uppercase; }
.mn-kcal { display: flex; align-items: baseline; gap: .4em; margin-top: .2em; }
.mn-kcal b { font: 400 2.4em/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mn-kcal span, .mn-mac span { color: var(--ui-muted); font-size: .88em; }
.mn-mac { display: flex; align-items: baseline; gap: .35em; margin-top: .5em; }
.mn-mac span:first-child { margin-right: auto; color: var(--ui-ink); }
.mn-mac b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mn-bar { height: .45em; border-radius: 1em; background: var(--ui-bg); overflow: hidden; }
.mn-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ui-ink); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.mn-bar.k { height: .6em; }
.mn-bar.k i { background: var(--lime); }
.mn-pop { position: absolute; right: 2.2em; top: 4.6em; width: 16em; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: .9em; padding: .9em; display: grid; gap: .35em; box-shadow: 0 1.5em 3em -1em rgba(0,0,0,.35); opacity: 0; transform: translateY(-.5em); pointer-events: none; transition: opacity .3s, transform .3s; z-index: 2; }
.mn-pop.open { opacity: 1; transform: none; }
.mn-pop small { color: var(--ui-muted); font-size: .82em; margin-bottom: .2em; }
.mn-who { display: flex; align-items: center; gap: .6em; padding: .45em .5em; border-radius: .5em; }
.mn-who span { margin-left: auto; color: var(--ui-muted); font-size: .85em; }
.mn-who i { width: 1.1em; height: 1.1em; border-radius: .3em; border: 1.5px solid #BFC5BF; transition: background-color .2s, border-color .2s; }
.mn-who.on { background: var(--ui-lime-soft); }
.mn-who.on i { background: var(--ui-ink); border-color: var(--ui-ink); box-shadow: inset 0 0 0 .2em var(--ui-lime-soft); }
.mn-ok { justify-self: end; margin-top: .3em; background: var(--ui-ink); color: #fff; border-radius: 2em; padding: .5em 1.1em; font-weight: 500; transition: transform .15s; }
.mn-ok.press { transform: scale(.94); }

/* ——— Тренер с телефона (раздел «Клиенты») ——— */
.pair.coach-pair { padding-right: 18%; }
.pair.coach-pair .phone { width: 34%; bottom: -70px; }
.pm { container-type: inline-size; height: 100%; background: var(--ui-bg); }
.pm-root { position: relative; height: 100%; display: grid; grid-template-rows: auto auto auto 1fr; gap: 3.6cqw; padding: 13cqw 5cqw 6cqw; font: 400 3.9cqw/1.35 var(--sans); color: var(--ui-ink); }
.pm-top { display: grid; gap: .6cqw; }
.pm-top b { font: 500 6cqw/1.1 var(--display); }
.pm-top small { color: var(--ui-muted); font-size: 3.3cqw; }
.pm-tabs { display: flex; gap: 1.6cqw; font-size: 3.3cqw; }
.pm-tabs span { padding: 1.5cqw 3cqw; border-radius: 9cqw; background: var(--ui-card); border: 1px solid var(--ui-line); color: var(--ui-muted); }
.pm-tabs span.on { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; }
.pm-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1cqw; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 4cqw; padding: 2.4cqw; transition: box-shadow .3s; }
.pm-week.pick { box-shadow: 0 0 0 1cqw rgba(182,238,76,.55); }
.pm-week div { display: grid; justify-items: center; gap: 1cqw; padding: 1.6cqw 0; border-radius: 2.6cqw; font-size: 3cqw; color: var(--ui-muted); transition: background-color .3s, color .3s; }
.pm-week div b { font: 500 4.2cqw/1 var(--display); color: var(--ui-ink); }
.pm-week div i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: transparent; }
.pm-week div.w i { background: var(--ui-ink); }
.pm-week div.done i { background: var(--lime); }
.pm-week div.on { background: var(--ui-ink); color: #C3C8C2; }
.pm-week div.on b { color: #fff; }
.pm-week div.on.w i { background: var(--lime); }
.pm-day { align-self: start; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 4cqw; padding: 4cqw; display: grid; gap: 2.4cqw; }
.pm-day header { display: grid; gap: .4cqw; }
.pm-day header b { font: 500 4.6cqw/1.2 var(--display); }
.pm-day header small { color: var(--ui-muted); font-size: 3.2cqw; }
.pm-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6cqw; }
.pm-day li { display: flex; justify-content: space-between; padding: 2.2cqw 2.8cqw; border-radius: 2.4cqw; background: var(--ui-bg); font-size: 3.5cqw; }
.pm-day li span { color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.pm-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; margin-top: 1cqw; }
.pm-acts span { text-align: center; padding: 2.6cqw; border-radius: 9cqw; border: 1px solid var(--ui-line); font-weight: 500; font-size: 3.5cqw; transition: transform .15s, background-color .2s; }
.pm-acts span.main { background: var(--ui-ink); color: #fff; border-color: var(--ui-ink); }
.pm-acts span.press { transform: scale(.94); }
.pm-tap { position: absolute; left: 0; top: 0; width: 9cqw; height: 9cqw; margin: -4.5cqw 0 0 -4.5cqw; border-radius: 50%; background: rgba(18,21,19,.18); border: 2px solid rgba(18,21,19,.35); opacity: 0; transition: transform .6s cubic-bezier(.45,.05,.2,1), opacity .25s; pointer-events: none; }
.pm-tap.on { opacity: 1; }
.pm-tap.hit { animation: hit .35s ease-out; }
@keyframes hit { 50% { box-shadow: 0 0 0 3cqw rgba(182,238,76,.45); } }
.pm-toast { position: absolute; left: 5cqw; right: 5cqw; bottom: 6cqw; background: var(--ui-ink); color: #fff; border-radius: 4cqw; padding: 3.4cqw 4cqw; font-size: 3.5cqw; display: flex; gap: 2cqw; align-items: center; opacity: 0; transform: translateY(3cqw); transition: opacity .3s, transform .3s; }
.pm-toast::before { content: ""; width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--lime); flex: none; }
.pm-toast.show { opacity: 1; transform: none; }
.pm-hint { font-size: 3.2cqw; color: var(--ui-lime-ink); text-align: center; margin-top: -1.6cqw; height: 0; overflow: visible; opacity: 0; transition: opacity .3s; }
.pm-hint.show { opacity: 1; }

/* ——— Калькулятор КБЖУ ——— */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); margin-bottom: 130px; }
.calc-in { padding: 40px; display: grid; gap: 22px; align-content: start; }
.calc-in h3 { margin-bottom: 4px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fld { display: grid; gap: 8px; min-width: 0; }
.fld > span { font: 500 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld select { width: 100%; min-width: 0; background: var(--night); color: var(--fg); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; font: 400 17px/1.2 var(--sans); font-variant-numeric: tabular-nums; transition: border-color .2s; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--lime); }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { flex: 1 1 auto; background: transparent; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; font: 400 15px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.seg button:hover { border-color: var(--fg-2); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--night); border-color: var(--fg); }
.calc-out { padding: 40px; background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(182,238,76,.12), transparent 70%), var(--night-2); border-left: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.calc-kcal { display: grid; gap: 6px; }
.calc-kcal b { font: 300 clamp(56px, 7vw, 88px)/.9 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--fg); }
.calc-kcal b small { font: 400 18px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.calc-kcal > span { color: var(--muted); font-size: 14px; }
.mac { display: grid; gap: 14px; }
.mac div { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; }
.mac div > span { color: var(--fg-2); }
.mac div > b { font: 400 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.mac div > b small { font: 400 13px var(--sans); color: var(--muted); margin-left: 4px; }
.mac i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.mac i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--lime); border-radius: inherit; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.calc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.calc-err { color: #F2A65A; font-size: 14px; min-height: 1.2em; }
@media (max-width: 920px) { .calc { grid-template-columns: 1fr; margin-bottom: 96px; } .calc-out { border-left: 0; border-top: 1px solid var(--line); } .calc-in, .calc-out { padding: 28px 22px; } }
@media (max-width: 480px) { .calc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .fld input { padding: 12px 10px; } }

.calc-grid.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 480px) { .calc-grid.two { grid-template-columns: 1fr; } }
.calc-hint { color: var(--fg-2); font-size: 14px; line-height: 1.5; min-height: 1.5em; }
.calc-hint b { color: var(--lime); font-weight: 500; }
