/* Шрифт бренда Unbounded (OFL), лежит у нас */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/unbounded-cyr.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/unbounded-lat.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; }
/* ==========================================================================
   Консультация профориентолога в чате (/priem). Кабинет специалиста: тёплые светлые тона, глубокая бирюза, мягкие тени.
   ========================================================================== */
:root {
  --bg: #f3efe8;
  --bg-2: #ebe5da;
  --surface: #fffdf9;
  --surface-2: #f6f2eb;
  --feed: #f8f5ef;
  --text: #1c2430;
  --text-2: #3f4a58;
  --muted: #76808c;
  --line: #e7e0d4;
  --teal: #0f6f67;
  --teal-2: #14a394;
  --teal-soft: #e5f2ef;
  --sand: #c8a97e;
  --user: linear-gradient(135deg, #0f6f67 0%, #127f86 100%);
  --grad: linear-gradient(120deg, #0f6f67 0%, #138a86 55%, #1d6fb8 100%);
  --shadow-s: 0 1px 2px rgba(40, 30, 15, .06), 0 2px 8px rgba(40, 30, 15, .05);
  --shadow: 0 1px 2px rgba(40, 30, 15, .05), 0 14px 40px rgba(40, 30, 15, .09);
  --app-h: 100dvh;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111418; --bg-2: #0c0f12; --surface: #1a1f25; --surface-2: #222830; --feed: #15191e; --text: #ece8e1; --text-2: #c9c3b9;
    --muted: #938d84; --line: #2c333c; --teal-soft: #173230; --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 40px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111418; --bg-2: #0c0f12; --surface: #1a1f25; --surface-2: #222830; --feed: #15191e; --text: #ece8e1; --text-2: #c9c3b9;
  --muted: #938d84; --line: #2c333c; --teal-soft: #173230; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.pm { color: var(--text); overflow: hidden;
  background: radial-gradient(1200px 600px at 10% -10%, #fbf8f2 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 110%, #e3eeea 0%, transparent 60%), var(--bg);
  font: 16.5px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--teal); }
button { font: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.ic { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; flex: none; }
.ic svg, [data-ic] svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------------- каркас */
.pm-app { height: var(--app-h); display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 18px; padding: 16px; }
.pm-side { min-height: 0; }
.pm-side-in { height: 100%; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 20px; scrollbar-width: thin; }
.pm-side-top { display: flex; align-items: center; justify-content: space-between; }
.pm-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.pm-brand b { font-family: Unbounded, system-ui, sans-serif; font-size: 16px; font-weight: 600; }
.pm-side-close { display: none; }

.pm-ava { position: relative; flex: none; display: inline-block; width: 46px; height: 46px; }
.pm-ava img { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; background: var(--surface-2);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px rgba(15, 111, 103, .25); }
.pm-dot { position: absolute; right: -1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e;
  border: 2.5px solid var(--surface); }
.pm-ava-lg { width: 120px; height: 120px; }
.pm-ava-lg img { box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px rgba(15, 111, 103, .22), 0 18px 40px rgba(40, 30, 15, .18); }
.pm-ava-lg .pm-dot { width: 20px; height: 20px; right: 6px; bottom: 6px; border-width: 4px; }

.pm-expert { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 18px 20px; border-radius: 22px;
  background: linear-gradient(180deg, #f1ebe0, var(--surface) 90%); }
.pm-expert > b { margin-top: 14px; font-size: 24px; font-family: Unbounded, system-ui, sans-serif; font-weight: 600; }
.pm-expert > span { display: inline-block; margin: 6px 0 10px; font-weight: 700; color: var(--teal); font-size: 13px;
  background: var(--teal-soft); padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.pm-expert small { display: block; color: var(--text-2); font-size: 14px; line-height: 1.5; }

.pm-proof { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, #eaf5f2, #f6efe3); font-size: 14.5px; color: var(--text-2); }
.pm-proof::before { content: ""; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--surface) center / 20px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6f67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.pm-proof b { color: var(--teal); font-size: 18px; font-family: Unbounded, system-ui, sans-serif; font-weight: 600; }
.pm-adv { list-style: none; margin: -8px 0 0; padding: 0; display: grid; gap: 14px; }
.pm-adv li { display: flex; gap: 12px; align-items: flex-start; }
.pm-adv [data-ic] { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); flex: none; }
.pm-adv b { display: block; font-size: 15px; }
.pm-adv small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.pm-side-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.pm-steps { list-style: none; margin: -8px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: st; }
.pm-steps li { position: relative; padding: 10px 10px 10px 48px; border-radius: 16px; counter-increment: st; transition: background .3s; }
.pm-steps li::before { content: counter(st); position: absolute; left: 10px; top: 11px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--surface); color: var(--muted);
  border: 1.5px solid var(--line); }
.pm-steps li b { display: block; font-size: 15px; }
.pm-steps li small { color: var(--muted); font-size: 13px; }
.pm-steps li.on { background: var(--teal-soft); }
.pm-steps li.on::before { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 111, 103, .15); }
.pm-steps li.done::before { content: "✓"; background: #e3f5e9; color: #15803d; border-color: #c4ebd1; }

.pm-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--text-2); }
.pm-trust li { display: flex; gap: 12px; align-items: flex-start; }
.pm-trust [data-ic] { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--surface-2); flex: none; color: var(--teal); }
.pm-trust b { color: var(--text); }
.pm-my ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pm-my a { display: block; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); text-decoration: none; font-size: 14px;
  font-weight: 600; color: var(--text); }
.pm-my a:hover { background: var(--teal-soft); color: var(--teal); }
.pm-my a.cur { background: var(--teal-soft); color: var(--teal); }
.pm-my a.draft { background: #fbf4e7; color: #8c6b3c; border: 1px dashed #e0cba6; }
.pm-sample { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; background: var(--surface-2);
  text-decoration: none; font-weight: 700; font-size: 14.5px; transition: background .2s; }
.pm-sample:hover { background: var(--teal-soft); }
.pm-sample [data-ic] { width: 20px; height: 20px; }
.pm-disclaimer { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pm-legal { font-size: 12.5px; color: var(--muted); margin-top: auto; }
.pm-legal a { color: inherit; }

/* ---------------------------------------------------------------- чат */
.pm-chat { position: relative; min-height: 0; display: flex; flex-direction: column; background: var(--feed); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.pm-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 14px 14px 18px;
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.pm-who { flex: 1; min-width: 0; }
.pm-who b { display: flex; align-items: center; gap: 8px; font-size: 17px; flex-wrap: wrap; }
.pm-badge { font-size: 12px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 2px 9px; border-radius: 999px; }
.pm-who small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #16a34a; font-weight: 600; }
.pm-who small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pm-who small.typing { color: var(--teal); }
.pm-who small.typing::before { animation: blink 1.2s infinite; }
.pm-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
  display: grid; place-items: center; cursor: pointer; padding: 9px; font-size: 22px; line-height: 1; transition: border-color .2s, color .2s; }
.pm-icon-btn:hover { border-color: var(--teal); color: var(--teal); }
#info-open { display: none; }
.pm-pay { flex: none; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: 14.5px; color: #fff; cursor: pointer;
  background: var(--grad); box-shadow: 0 6px 16px rgba(15, 111, 103, .28); white-space: nowrap; animation: pop .35s ease both;
  transition: transform .15s, box-shadow .15s; }
.pm-pay:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15, 111, 103, .34); }
.pm-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.pm-prog i { display: block; height: 100%; width: 6%; background: var(--grad); border-radius: 0 3px 3px 0; transition: width .6s ease; }

.pm-feed { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 22px 28px 14px; display: flex; flex-direction: column; gap: 4px;
  overscroll-behavior: contain; scroll-padding-bottom: 20px; scrollbar-width: thin; }
.pm-hello { align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 6px 0 22px; }
.pm-hello img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5.5px rgba(15, 111, 103, .22), 0 14px 30px rgba(40, 30, 15, .16); }
.pm-hello b { margin-top: 12px; font-family: Unbounded, system-ui, sans-serif; font-weight: 600; font-size: 20px; }
.pm-hello-count { margin-top: 6px; font-size: 13.5px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 999px; }
.pm-hello-count b { font: inherit; font-weight: 800; margin: 0; color: var(--teal); }
.pm-down { position: absolute; right: 18px; bottom: 150px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); color: var(--text-2); cursor: pointer; padding: 9px; z-index: 3; }

/* сообщения */
.m { display: flex; gap: 10px; align-items: flex-end; width: 100%; max-width: 940px; align-self: center; animation: pop .32s cubic-bezier(.2, .8, .2, 1) both; }
.pm-dock > * { max-width: 940px; margin-left: auto; margin-right: auto; }
.pm-down.new { background: var(--teal); color: #fff; border-color: var(--teal); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.m + .m:not(.cont) { margin-top: 12px; }
.m-user { justify-content: flex-end; }
.m-ava { width: 34px; height: 34px; flex: none; align-self: flex-start; }
.m-ava img { width: 34px; height: 34px; border-radius: 50%; display: block; object-fit: cover; box-shadow: var(--shadow-s); }
.b { max-width: min(640px, 82%); padding: 12px 16px; border-radius: 22px; font-size: 16px; line-height: 1.55; word-wrap: break-word; }
.m-assistant .b { background: var(--surface); border-top-left-radius: 7px; box-shadow: var(--shadow-s); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.m-assistant.cont .b { border-top-left-radius: 22px; }
.m-user .b { background: var(--user); color: #fff; border-bottom-right-radius: 7px; white-space: pre-wrap; box-shadow: 0 4px 14px rgba(15, 111, 103, .22); }
.b p + p, .b p + ul, .b ul + p { margin-top: 9px; }
.b ul { margin: 6px 0 0; padding-left: 20px; }
.b b { font-weight: 700; }
.b.insight { position: relative; background: linear-gradient(160deg, #fffdf8, #f3efe5); border: 1px solid #e3d5bd; padding: 16px 18px 16px 20px;
  font-size: 16.5px; line-height: 1.6; }
.b.insight::before { content: "Вывод Анны"; display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #9a7a4e; margin-bottom: 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .b.insight { background: #221f1a; border-color: #3d3426; } }
.b-typing { padding: 15px 17px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .35; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.m.wide > :last-child { flex: 1; min-width: 0; max-width: 660px; }
.m-note { align-self: center; width: 100%; max-width: 940px; display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 2px;
  padding-left: 44px; font-size: 13.5px; color: #8c6b3c; animation: pop .35s ease both; }
.m-note .ic { width: 16px; height: 16px; margin-top: 2px; color: #b08a55; }
.m-note span { background: #fbf4e7; border: 1px dashed #e0cba6; padding: 5px 11px; border-radius: 12px; line-height: 1.4; }
.m-note b { font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .m-note span { background: #2a2419; border-color: #4a3d28; } }
.m-sys { align-self: center; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #15803d; background: #effaf2;
  border: 1px solid #cdeed7; padding: 6px 14px; border-radius: 999px; margin: 12px 0 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .m-sys { background: #0f2a1b; border-color: #1c4a2f; color: #4ade80; } }

/* ---------------------------------------------------------------- панель ответа */
.pm-dock { position: relative; z-index: 2; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 -1px 0 var(--line); }
.pm-quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; animation: pop .3s ease both; }
.pm-quick:empty { display: none; }
/* кнопки ответа в ленте под вопросом (широкий экран) */
.pm-feed > .pm-quick.in-feed { width: 100%; max-width: 940px; align-self: center; justify-content: flex-start; padding: 8px 0 6px 46px; }
.pm-feed > .pm-quick.in-feed.col { align-items: flex-start; }
.pm-feed > .pm-quick.in-feed .qr { font-size: 16px; padding: 12px 20px; }
.pm-feed > .pm-quick.in-feed .qr-note { flex-basis: 100%; text-align: left; }
.pm-quick.col { flex-direction: column; align-items: stretch; }
.pm-quick + .pm-input:not(.hidden) { margin-top: 10px; }
.qr { border: 1.5px solid color-mix(in srgb, var(--teal) 55%, var(--line)); color: var(--teal); background: var(--surface); padding: 11px 18px;
  border-radius: 999px; font-weight: 700; font-size: 15.5px; cursor: pointer; text-align: center; box-shadow: var(--shadow-s);
  transition: background .15s, color .15s, transform .15s, border-color .15s; }
.qr:hover { background: var(--teal-soft); border-color: var(--teal); }
.qr:active { transform: scale(.97); }
.qr.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.qr.primary:hover { background: #0c5d56; }
.qr.primary:disabled { opacity: .45; cursor: default; }
.qr.ghost { border-color: var(--line); color: var(--text-2); font-weight: 600; }
.qr.ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--surface); }
.qr.city { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; text-align: left; border-color: var(--line);
  color: var(--text); border-radius: 16px; }
.qr.city small { color: var(--muted); font-weight: 500; font-size: 13px; text-align: right; }
.pm-quick.sugg { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: -2px -2px 0; }
.pm-quick.sugg::-webkit-scrollbar { display: none; }
.pm-quick.sugg .qr { white-space: nowrap; font-size: 14.5px; padding: 9px 15px; flex: none; }
.pm-quick.ex { justify-content: flex-start; }
.ex-h { width: 100%; margin: 0 2px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.qr.ex-b { font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-color: var(--line); color: var(--text-2); background: var(--surface); }
.qr.ex-b:hover { border-color: var(--teal); color: var(--teal); }
.ex-foot { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin: 2px 2px 0; }
.ex-skip { border: 0; background: none; padding: 2px 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ex-skip:hover { color: var(--teal); }
/* «пропустить» стоит слева: справа под ним кнопка отправки, и на телефоне по ссылке попадали нечаянно */
.ex-foot .ex-skip { order: -1; flex: none; padding: 6px 10px 6px 0; }
.ex-foot > span { flex: 1; min-width: 0; text-align: right; }
.qr-note { width: 100%; font-size: 12.5px; color: var(--muted); text-align: right; margin: 2px 4px 0; }
.qr-note a { color: inherit; }
.pm-quick.col .qr-note { text-align: left; }
.pm-quick.chips { justify-content: flex-start; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--text); padding: 9px 15px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 15px; transition: all .15s; }
.chip:hover:not(:disabled) { border-color: var(--teal); }
.chip.on { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.chip.on::before { content: "✓ "; }
.chip:disabled { opacity: .4; cursor: default; }
.chips-go { width: 100%; display: flex; justify-content: flex-end; margin-top: 4px; }
.pm-select { width: 100%; font: inherit; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); }

.pm-input { display: flex; gap: 8px; align-items: flex-end; }
.pm-input textarea { flex: 1; resize: none; font: inherit; font-size: 16px; line-height: 1.45; padding: 12px 18px; border-radius: 24px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text); outline: none; max-height: 160px; box-shadow: var(--shadow-s); }
.pm-input textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 111, 103, .12); }
.pm-send { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; padding: 13px;
  box-shadow: 0 6px 16px rgba(15, 111, 103, .3); transition: transform .15s; }
.pm-send:hover { transform: scale(1.05); }

/* ---------------------------------------------------------------- анкета в чате */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.quiz-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; }
.quiz-top b { color: var(--teal); font-variant-numeric: tabular-nums; }
.quiz-bar { height: 6px; border-radius: 999px; background: var(--surface-2); margin: 10px 0 16px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width .35s ease; }
.quiz-q { font-size: 19px; font-weight: 700; line-height: 1.35; min-height: 2.7em; animation: pop .25s ease both; }
.quiz-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.quiz-a button { border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text); padding: 13px 10px; border-radius: 16px;
  font-weight: 700; font-size: 15.5px; cursor: pointer; transition: all .15s; }
.quiz-a button:hover { border-color: var(--teal); background: var(--surface); }
.quiz-a button.on { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(.98); }
.quiz-back { margin-top: 10px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 4px 0; }

/* анализ */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.calc-h { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--teal); }
.calc ul { list-style: none; margin: 12px 0 14px; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--muted); }
.calc li { padding-left: 28px; position: relative; transition: color .3s; }
.calc li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.calc li.on { color: var(--text); }
.calc li.on::before { border-color: var(--teal); border-top-color: transparent; animation: spin .8s linear infinite; }
.calc li.ok { color: var(--text); }
.calc li.ok::before { content: "✓"; border: 0; color: #16a34a; font-weight: 900; top: 0; left: 3px; width: auto; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.calc-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.calc-bar i { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 999px; animation: slide 1.3s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------------------------------------------------------------- карточки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px 20px; box-shadow: var(--shadow); }
.card-k { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #9a7a4e; margin-bottom: 12px; }
.card-k .ic { color: var(--teal); }
.card h3 { font-size: 22px; margin-bottom: 14px; font-family: Unbounded, system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; }
.card h3 span { color: var(--muted); }
.card > p.muted { font-size: 15px; margin-top: 14px; line-height: 1.55; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 124px 1fr 42px; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.bar i { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i b { display: block; height: 100%; border-radius: 999px; animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { width: 0 !important; } }
.bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.pr { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.pr:first-of-type { border-top: 0; padding-top: 2px; }
.pr b { display: block; font-size: 16.5px; }
.pr small { display: block; color: var(--text-2); font-size: 14px; line-height: 1.5; margin-top: 3px; }
.ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13.5px; flex: none;
  background: radial-gradient(closest-side, var(--surface) 78%, transparent 80%), conic-gradient(var(--teal-2) calc(var(--p) * 1%), var(--surface-2) 0); }
.mk { display: flex; gap: 6px; align-items: flex-start; margin-top: 9px; font-size: 13.5px; color: var(--text-2); background: var(--teal-soft);
  padding: 7px 11px; border-radius: 12px; }
.mk .ic { color: var(--teal); margin-top: 1px; }
.profs-wrap { position: relative; }
.profs-wrap.blurred .bl { filter: blur(6px); user-select: none; -webkit-user-select: none; opacity: .85; }
.blur-lock { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: min(92%, 380px); display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 4px; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.blur-lock .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); margin-bottom: 4px; }
.blur-lock b { font-size: 15.5px; }
.blur-lock small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.locked { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2);
  color: var(--text-2); font-size: 14px; font-weight: 600; }
.locked .ic { color: var(--muted); width: 20px; height: 20px; }

.offer { position: relative; border: 1.5px solid #d9c8a9; background: linear-gradient(180deg, #fbf6ec, var(--surface) 45%); }
.offer .card-k { color: #8c6b3c; }
.offer-l { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.offer-l li { display: flex; gap: 12px; align-items: flex-start; }
.offer-l .ic { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.offer-l b { display: block; font-size: 15.5px; }
.offer-l small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.offer-p { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.offer-p b { font-size: 30px; font-family: Unbounded, system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; }
.offer-p small { color: var(--muted); font-size: 13.5px; }
.btn-pay { width: 100%; border: 0; border-radius: 18px; padding: 16px 18px; font-weight: 800; font-size: 17px; color: #fff; cursor: pointer;
  background: var(--grad); box-shadow: 0 12px 28px rgba(15, 111, 103, .3); transition: transform .15s, box-shadow .15s; }
.btn-pay:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(15, 111, 103, .36); }
.btn-sec { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 8px; border: 1.5px solid var(--line);
  border-radius: 16px; padding: 12px 16px; background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; cursor: pointer;
  text-decoration: none; transition: border-color .15s, color .15s; }
.btn-sec:hover { border-color: var(--teal); color: var(--teal); }
.offer-s { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 14.5px; }
.offer.mini { padding: 10px; background: var(--surface); }

.rep .lead { font-size: 16px; line-height: 1.65; }
.rep h4 { font-size: 15.5px; margin: 18px 0 6px; }
.rep ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 15px; }
.rep p { font-size: 15px; line-height: 1.6; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pr-d { border-top: 1px solid var(--line); padding: 11px 0; }
.pr-d:first-of-type { border-top: 0; }
.pr-d summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-size: 16px; }
.pr-d summary::-webkit-details-marker { display: none; }
.pr-d summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform .2s; }
.pr-d[open] summary::after { transform: rotate(180deg); }
.pr-d .ring { width: 46px; height: 46px; font-size: 12.5px; }
.pr-d > p { margin-top: 9px; }
.pr-d .why { background: var(--surface-2); padding: 11px 13px; border-radius: 14px; }
.meta { display: grid; gap: 4px; margin-top: 9px; font-size: 14px; color: var(--text-2); }
.vac-btn { margin-top: 10px; border: 1.5px solid var(--teal); background: none; color: var(--teal); border-radius: 12px; padding: 8px 12px; font-weight: 700;
  cursor: pointer; font-size: 14px; }
.vac { display: grid; gap: 8px; margin-top: 10px; font-size: 14px; }
.vac .v b { display: block; }
.vac .v small { color: var(--muted); }
.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: pl; }
.plan li { position: relative; padding-left: 42px; counter-increment: pl; }
.plan li::before { content: counter(pl); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft);
  color: var(--teal); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.plan small { display: block; font-size: 12px; font-weight: 800; color: #9a7a4e; text-transform: uppercase; letter-spacing: .05em; }
.plan b { display: block; font-size: 15.5px; margin: 2px 0; }
.qa { border-top: 1px solid var(--line); padding: 11px 0; }
.qa:first-of-type { border-top: 0; }
.qa summary { cursor: pointer; font-weight: 700; font-size: 15.5px; }
.qa p { margin-top: 8px; }
.files .btn-sec:first-child { margin-top: 0; }

.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 1100; background: #1c2430; color: #fff; padding: 12px 18px;
  border-radius: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.pm-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(20, 16, 10, .45); backdrop-filter: blur(2px); }

/* ---------------------------------------------------------------- телефон и планшет */
@media (max-width: 980px) {
  .pm-app { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; position: fixed; left: 0; right: 0; top: var(--app-top, 0px); }
  body.kb .pm-dock { padding-bottom: 8px; }
  .pm-chat { border-radius: 0; border: 0; box-shadow: none; }
  .pm-side { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 90dvh; transform: translateY(105%);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .pm-side.open { transform: none; }
  .pm-side-in { border-radius: 28px 28px 0 0; max-height: 90dvh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .pm-side-close { display: grid; }
  #info-open { display: grid; }
}
@media (max-width: 600px) {
  body.pm { font-size: 16px; }
  .pm-head { padding: 10px 10px 12px 14px; gap: 10px; }
  .pm-ava { width: 42px; height: 42px; }
  .pm-feed { padding: 16px 12px 8px; }
  .pm-hello { margin: 2px 0 16px; }
  .pm-hello img { width: 80px; height: 80px; }
  .pm-hello b { font-size: 18px; margin-top: 10px; }
  .pm-feed { padding: 16px 12px 10px; }
  .b { max-width: 86%; font-size: 15.5px; padding: 11px 14px; }
  .b.insight { max-width: 92%; font-size: 15.5px; }
  .m-ava, .m-ava img { width: 30px; height: 30px; }
  .m.wide .m-ava { display: none; }
  .m-note { padding-left: 38px; font-size: 13px; }
  .card { padding: 16px; border-radius: 22px; }
  .quiz { padding: 16px; }
  .quiz-q { font-size: 17.5px; }
  .quiz-a button { padding: 12px 8px; font-size: 15px; }
  .bar { grid-template-columns: 104px 1fr 38px; font-size: 13.5px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .pm-dock { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .qr { padding: 10px 16px; font-size: 15px; }
  .pm-down { bottom: 130px; right: 12px; }
}
@media (max-width: 600px) {
  .pm-head.has-pay .pm-badge { display: none; }
  .pm-pay { padding: 9px 13px; font-size: 13.5px; }
}
@media (max-width: 600px) { .pm-head.has-pay #restart { display: none; } }
@media (max-width: 340px) { .pm-pay-l { display: none; } }
@media (max-width: 360px) { .pm-badge { display: none; } }

/* ---------------------------------------------------------------- печать заключения */
@media print {
  body.pm { overflow: visible; background: #fff; }
  .pm-hello-count { display: none !important; }
  .pm-app { display: block; height: auto; padding: 0; }
  .pm-side, .pm-head, .pm-dock, .pm-down, .m-ava, .btn-pay, .files, .vac-btn, .pm-hello-tags { display: none !important; }
  .pm-chat { border: 0; box-shadow: none; overflow: visible; background: #fff; }
  .pm-feed { overflow: visible; }
  .m { break-inside: avoid; }
  details { display: block; }
  details > * { display: block; }
}

/* ====================================================================== окно оплаты (как на /prof) */
/* ====================================================================== окно оплаты ЮKassa */
.yk-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 15, 30, .55); display: grid; place-items: center; padding: 16px; }
.yk-card { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; color: #0e1628;
  border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.yk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.yk-head b { font-size: 18px; }
.yk-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f4fa; font-size: 22px; line-height: 1; cursor: pointer; }
.yk-form { min-height: 260px; }
.yk-wait { padding: 60px 10px; text-align: center; color: #5d6a82; }
.yk-note { margin: 10px 2px 0; font-size: 12.5px; color: #5d6a82; }
@media (max-width: 600px) { .yk-modal { padding: 0; place-items: end center; } .yk-card { border-radius: 22px 22px 0 0; max-height: 92dvh; } }

/* ====================================================================== наша форма оплаты */
.co-card { width: min(470px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; color: #0e1628; border-radius: 24px;
  padding: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.co-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.co-head b { display: block; font-size: 18px; }
.co-head span { display: inline-block; margin-top: 2px; font-size: 22px; font-weight: 800; color: #1d4ed8; }
.co-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f4fa; font-size: 22px; line-height: 1; cursor: pointer; color: #3b4760; }
.co-email { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid #e1e6ef;
  background: #f7f8fa; color: #0e1628; outline: none; }
.co-email:focus { border-color: #1d4ed8; background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.co-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 2px 16px; font-size: 15px; color: #0e1628; cursor: pointer; border-radius: 10px; }
.co-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #1d4ed8; }
.co-check a { color: #0e1628; text-decoration: underline; }
.co-check.need { outline: 2px solid #ef4444; outline-offset: 4px; }
.co-email.need { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .15); }
.co-m { position: relative; font: inherit; color: #0e1628; text-align: left; cursor: pointer; border: 1.5px solid #e4e8f0; border-radius: 20px;
  padding: 16px; transition: transform .15s, box-shadow .2s, border-color .2s; }
.co-m:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14, 22, 40, .10); border-color: #c9d2e3; }
.co-m:disabled { cursor: wait; opacity: .6; }
.co-m.busy { opacity: 1; }
.co-m.busy::after { content: ""; position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #1d4ed8;
  border-top-color: transparent; animation: coSpin .8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }
.co-sbp { width: 100%; display: grid; grid-template-columns: 56px 1fr 16px; gap: 14px; align-items: center;
  background: linear-gradient(120deg, #f3f0ff 0%, #eef6ff 55%, #eefbf4 100%); border-color: #dcd6f7; }
.co-sbp .co-t b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 17.5px; }
.co-sbp em { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: #1e2a4a; padding: 3px 9px; border-radius: 999px; }
.co-sbp small { display: block; color: #5d6a82; font-size: 14px; margin-top: 4px; }
.co-go { font-size: 26px; color: #8a96ac; line-height: 1; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.co-row .co-m { display: grid; align-content: start; gap: 4px; min-height: 146px; }
.co-row .co-m b { font-size: 17px; margin-top: 10px; }
.co-row .co-m small { color: #5d6a82; font-size: 14px; }
.co-card-m { background: linear-gradient(160deg, #fff 55%, #eef3ff 100%); }
.co-sber { background: linear-gradient(160deg, #fff 55%, #ecfaf1 100%); }
.co-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.co-ic svg { width: 24px; height: 24px; }
.co-ic.sbp { width: 56px; height: 56px; background: #fff; box-shadow: 0 4px 14px rgba(91, 87, 162, .18); }
.co-ic.sbp svg { width: 30px; height: 30px; }
.co-ic.co-ic-card { background: #2563eb; padding: 0; }
.co-ic.sber { background: linear-gradient(135deg, #0bb34a, #1bd17d 55%, #43c4e0); }
.co-err { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fee2e2; color: #991b1b; font-size: 14.5px; font-weight: 600; }
.co-cancel { width: 100%; margin-top: 14px; font: inherit; font-size: 16px; color: #3b4760; background: #fff; border: 1.5px solid #e4e8f0; border-radius: 16px;
  padding: 13px; cursor: pointer; }
.co-cancel:hover { background: #f7f8fa; }
.co-note { margin: 14px 4px 6px; text-align: center; font-size: 13px; color: #5d6a82; }
.co-note b { color: #0e1628; }
.co-brand { text-align: center; font: 700 20px/1 system-ui, sans-serif; color: #0e1628; letter-spacing: -.02em; }
.co-brand span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 4px; border-radius: 50%; background: #1e2a4a; color: #fff;
  font-size: 13px; vertical-align: 2px; }
@media (max-width: 600px) {
  .co-card { border-radius: 24px 24px 0 0; max-height: 94dvh; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
  .co-row .co-m { min-height: 128px; padding: 14px; }
}
.co-ic svg { width: 24px !important; height: 24px !important; display: block; }
.co-ic.sbp svg { width: 32px !important; height: 32px !important; }
/* ====================================================================== логотипы в форме оплаты */
.co-ic.sber { background: #fff; box-shadow: 0 4px 14px rgba(33, 160, 56, .18); }
.co-ic.sber svg { width: 30px !important; height: 30px !important; }
.co-ic.sbp svg { width: 30px !important; height: 34px !important; }
.co-brand { margin-top: 2px; }
.co-brand .co-yk { width: 118px; height: auto; display: inline-block; }
.co-accept { font-size: 13.5px; color: #5d6a82; margin: 2px 2px 12px; line-height: 1.45; }
.co-accept a { color: inherit; }
.co-perks { list-style: none; margin: -4px 0 14px; padding: 12px 14px; border-radius: 16px; background: #f3f7ff; display: grid; gap: 6px; font-size: 14.5px; }
.co-perks li { position: relative; padding-left: 24px; }
.co-perks li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: #16a34a; font-weight: 800; }
.co-label { display: block; font-size: 14px; font-weight: 700; color: #3b4760; margin: 0 2px 6px; }

.paid-ok { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 13px; border-radius: 14px; background: #effaf2;
  color: #15803d; font-weight: 800; }
.mk b, .pr .mk b { display: inline; font-size: inherit; }

/* ====================================================================== компактная форма оплаты: решение уже принято */
.co-compact { width: min(420px, 100%); padding: 16px 16px 14px; border-radius: 24px; }
.co-compact .co-head { margin-bottom: 10px; align-items: center; }
.co-compact .co-head b { font-size: 16px; }
.co-compact .co-head span { font-size: 20px; margin-top: 0; }
.co-compact .co-label { font-size: 13px; margin-bottom: 4px; }
.co-compact .co-email { padding: 12px 14px; border-radius: 14px; }
.co-compact .co-accept { font-size: 12px; margin: 8px 2px 10px; }
.co-compact .co-m { padding: 12px 14px; border-radius: 16px; }
.co-compact .co-sbp { grid-template-columns: 44px 1fr 14px; gap: 12px; }
.co-compact .co-ic.sbp { width: 44px; height: 44px; }
.co-compact .co-sbp .co-t b { font-size: 16px; }
.co-compact .co-sbp small { display: none; }
.co-compact .co-row { margin-top: 8px; gap: 8px; }
.co-compact .co-row .co-m { min-height: 0; display: flex; align-items: center; gap: 10px; }
.co-compact .co-row .co-m b { margin: 0; font-size: 15px; }
.co-compact .co-row .co-m small { display: none; }
.co-compact .co-ic { width: 34px; height: 34px; }
.co-compact .co-ic svg { width: 20px !important; height: 20px !important; }
.co-compact .co-cancel { display: none; }
.co-compact .co-note { margin: 10px 4px 2px; font-size: 12px; }
.co-compact .co-brand { display: block; margin-top: 8px; }
.co-compact .co-brand .co-yk { width: 96px; }
.co-next:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 10px; }
.co-next .co-ic.sbp { width: 30px; height: 30px; flex: none; background: #fff; box-shadow: none; }
.co-next .co-ic.sbp svg { width: 17px !important; height: 20px !important; }
@media (max-width: 600px) {
  .co-compact { padding: 14px 14px calc(12px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
}

/* ====================================================================== перед оплатой: что учтено, образец, блок оплаты */
.basis { border-left: 4px solid var(--teal-2); }
.basis-t p { font-size: 15.5px; line-height: 1.6; }
.basis-t p + p { margin-top: 8px; }
.sample { background: var(--surface-2); border-style: dashed; }
.sample-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8c6b3c;
  background: #fbf4e7; border: 1px solid #e0cba6; padding: 3px 10px; border-radius: 999px; }
.sample-who { margin: 10px 0 4px; font-size: 14px; color: var(--muted); }
.sample-pr { border: 0; padding: 6px 0 2px; align-items: center; }
.sample-pr b { font-size: 18px; }
.sample h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--teal); margin: 12px 0 4px; }
.sample p { font-size: 15px; line-height: 1.55; }
.sample .mk { background: var(--surface); }
.rep-note { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.sample-foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--text-2); }
.offer-h { font-size: 20px !important; line-height: 1.3; margin-bottom: 8px !important; font-family: inherit !important; font-weight: 800 !important; letter-spacing: -.01em; }
.offer-t { font-size: 15.5px; line-height: 1.55; color: var(--text-2); margin-bottom: 14px; }
.offer-n { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
/* что входит в заключение: список под заголовком предложения */
.offer-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8c6b3c; margin: 2px 0 10px; }
.offer-gets { gap: 10px; margin-bottom: 16px; }
.offer-gets li { align-items: center; }
.offer-gets li > span { min-width: 0; }
.offer-gets .ic { flex: none; }
.offer-ex { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 11px 14px; border: 1px dashed var(--line);
  border-radius: 14px; background: none; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--teal); cursor: pointer; }
.offer-ex:hover { background: var(--teal-soft); border-style: solid; }
.offer-ex .ic { width: 18px; height: 18px; }
/* окно с примером полного разбора */
.exm { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(14, 22, 40, .55); animation: pop .2s ease both; }
.exm-sheet { display: flex; flex-direction: column; width: 100%; max-width: 760px; max-height: 100%; background: var(--feed); border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.exm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.exm-head b { display: block; font-size: 17px; }
.exm-head small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.exm-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.exm-wait { padding: 40px 10px; text-align: center; color: var(--muted); }
.exm-who { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px dashed #d9c8a9; border-radius: 16px; background: var(--surface); }
.exm-who span { flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8c6b3c; padding-top: 3px; }
.exm-who p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); min-width: 0; }
.exm-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .exm { padding: 0; place-items: end stretch; }
  .exm-sheet { max-width: none; max-height: 94dvh; border-radius: 22px 22px 0 0; }
  .exm-head { padding: 12px 10px 12px 16px; }
  .exm-body { padding: 14px 12px 18px; gap: 12px; }
  .exm-body .card { padding: 16px 14px; border-radius: 20px; }
  .exm-body .two { grid-template-columns: 1fr; gap: 0; }
  .exm-who { flex-direction: column; gap: 4px; }
}
.pr-d .risk { margin-top: 8px; background: #fff7ed; padding: 11px 13px; border-radius: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pr-d .risk { background: #2a2116; } }

/* окно оплаты в два шага: сначала способ, потом почта */
.co-compact.co-step1 .co-label, .co-compact.co-step1 .co-email { display: none; }
.co-compact.co-step2 .co-m, .co-compact.co-step2 .co-row { display: none; }
.co-compact.co-step2 .co-accept { order: 3; }
.co-next { width: 100%; margin-top: 10px; border: 0; border-radius: 16px; padding: 14px; font: inherit; font-weight: 800; font-size: 16.5px; color: #fff;
  background: linear-gradient(120deg, #0f6f67 0%, #138a86 55%, #1d6fb8 100%); cursor: pointer; }
.co-next:disabled { opacity: .7; cursor: wait; }
.co-back { width: 100%; margin-top: 8px; border: 0; background: none; font: inherit; font-size: 14px; color: #5d6a82; cursor: pointer; padding: 6px; }

.sample .sample-note { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; }
