/* Прежний порядок каскада всех непубличных страниц, auth и legal. */
/* Общие семантические значения текущих Site и Screener. Геометрия страниц остаётся у consumers. */
:root {
  --text: #2d2c4c;
  --red: #ff4d5d;
  --white: #ffffff;
  --purple: #f3f4fe;
  --focus-blue: #1b91f7;
  --report-blue: #3965d5;
  --risk-high: #c91f34;
  --button-border-width: 2px;
  --button-radius: 40px;
  --button-transition: 500ms ease;
  --primary-action-rest: var(--focus-blue);
  --primary-action-interaction: var(--report-blue);
  --disabled-action-rest: var(--focus-blue);
}

/*!
Copyright 2016 The Nunito Sans Project Authors (https://github.com/Fonthausen/NunitoSans)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-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;
}


/* Единый владелец web-типографики; PDF сохраняет собственный Open Sans. */
:root {
  --font-family: "Nunito Sans", sans-serif;
  --font-weight-regular: 400;
  --font-weight-body: 600;
  --font-weight-bold: 700;
  --font-weight-heading: 800;
  --font-weight-display: 900;
  --type-ui-size: 1.6rem;
  --type-display-size: 3rem;
  --type-display-line: 1.12;
  --type-section-size: 2.7rem;
  --type-section-line: 1.12;
  --type-title-lg-size: 2.1rem;
  --type-title-lg-line: 1.16;
  --type-subtitle-size: 2rem;
  --type-subtitle-line: 1.3;
  --type-hero-bullet-size: 1.5rem;
  --type-body-lg-size: 1.65rem;
  --type-body-lg-line: 1.55;
  --type-body-size: 1.5rem;
  --type-body-line: 1.5;
  --type-card-title-size: 1.7rem;
  --type-card-title-line: 1.22;
  --type-label-size: 1.35rem;
  --type-label-line: 1.2;
  --type-axis-size: 1.2rem;
  --type-axis-line: 1.1;
  --control-shadow: 0 3.5px 7.5px rgba(45, 44, 76, .1);
  --header-shadow: 0 7px 15px rgba(45, 44, 76, .1);
}
html { font-family: var(--font-family); font-stretch: 100%; font-optical-sizing: auto; }
@media (width >= 480px) {
  :root {
    --type-display-size: 3.6rem;
    --type-section-size: 3.5rem;
    --type-title-lg-size: 2.45rem;
    --type-subtitle-size: 2.2rem;
    --type-hero-bullet-size: 1.6rem;
    --type-body-lg-size: 1.9rem;
    --type-body-size: 1.65rem;
    --type-card-title-size: 1.95rem;
    --type-label-size: 1.45rem;
  }
}
@media (width > 720px) {
  :root { --type-display-size: 4.4rem; --type-subtitle-size: 2.4rem; --type-hero-bullet-size: 1.7rem; }
}
@media (width > 960px) {
  :root { --type-display-size: 4.8rem; --type-section-size: 4.4rem; --type-title-lg-size: 2.9rem; --type-subtitle-size: 2.5rem; }
}
@media (width > 1280px) {
  :root { --type-display-size: 5.2rem; --type-section-size: 4.8rem; --type-subtitle-size: 2.6rem; --type-hero-bullet-size: 1.8rem; }
}

/* Общая геометрия Site/Screener; CSS включается в каждый независимый Vite artifact. */
:root {
  --cta-font-size: 16px;
  --cta-font-weight: 600;
  --cta-arrow-width: 15px;
  --cta-arrow-height: 16px;
  --cta-arrow-stroke: 2.4px;
  --cta-arrow-shift: 6px;
  --cta-arrow-duration: 300ms;
  --cta-arrow-easing: cubic-bezier(.25, 1, .5, 1);
  --accordion-chevron-box-size: 16px;
  --accordion-chevron-height: calc(var(--accordion-chevron-box-size) * 1.41421356237);
  --modal-close-size: var(--accordion-chevron-height);
  --modal-close-stroke: 3px;
  --section-divider: 1px solid rgba(45, 44, 76, 0.16);
}
/* База обеих форм CTA: здесь нет фона, цвета или направления стрелки.
   Specificity сохраняет приоритет над существующими page-level button styles. */
:where(.hero-action, .cabinet-button, .auth-provider, .auth-submit, .pricing-card__action, .button-red-start),
:is(.cta.cta.cta, .content-navigation-link) {
  font-family: var(--font-family);
  font-size: var(--cta-font-size);
  font-weight: var(--cta-font-weight);
  line-height: 1;
}

/* Filled-вариант: размещение группы внутри кнопки. Палитра задаётся variant tokens. */
.cta.cta.cta {
  --cta-padding: 24px;
  gap: 0;
  padding-inline: calc(var(--cta-padding) + 3px) calc(var(--cta-padding) - 3px);
  text-align: center;
}

.cta-label {
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
}

.cta-gap,
.navigation-link__gap {
  flex: 0 0 auto;
  white-space: pre;
}

.cta-arrow {
  display: block;
  flex: 0 0 var(--cta-arrow-width);
  width: var(--cta-arrow-width);
  height: var(--cta-arrow-height);
  overflow: hidden;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--cta-arrow-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-arrow-motion {
  transform: translateX(0);
  transition: transform var(--cta-arrow-duration) var(--cta-arrow-easing);
}

.cta-arrow-shaft {
  opacity: 0;
  transition: opacity var(--cta-arrow-duration) var(--cta-arrow-easing);
}

:is(.cta, .navigation-arrow-link):not(:disabled):is(:hover, :focus-visible, :active) .cta-arrow-motion {
  transform: translateX(var(--cta-arrow-shift));
}

:is(.cta, .navigation-arrow-link):not(:disabled):is(:hover, :focus-visible, :active) .cta-arrow-shaft {
  opacity: 1;
}

.cta:not(:disabled):focus-visible {
  background-color: var(--primary-action-interaction);
}

.cta:is(.cabinet-button--secondary, .auth-provider, .pricing-card__action):not(:disabled):focus-visible {
  background-color: var(--secondary-action-interaction);
}

.cta.cta.timeline-action {
  --cta-padding: calc(var(--timeline-action-padding-x) + var(--timeline-action-border-width));
  font-size: var(--timeline-action-font-size);
}


/* Текстовый вариант: прозрачный фон, свой цвет, размещение и подчёркивание.
   Типографика и SVG-анимация полностью поступают из общей базы выше. */
.content-navigation-link {
  --cta-font-weight: 700;
  --cta-arrow-stroke: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 180ms ease;
}
/* В строках таблиц и вложенной истории визуальный вес остаётся компактным. */
:is(table, [role="table"], .child-profile-assessments, .billing-record-row) .content-navigation-link,
.content-navigation-link.billing-record-row__receipt-action {
  --cta-font-weight: 600;
  --cta-arrow-stroke: 2.4px;
}
.content-navigation-link:visited { color: var(--text); }
.content-navigation-link:not(:disabled):is(:hover, :focus-visible, :active) { color: var(--focus-blue); }
.content-navigation-link:disabled { opacity: .55; cursor: default; }
.content-navigation-link:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 4px;
}
.navigation-arrow-link {
  overflow: visible;
  padding-inline-end: var(--cta-arrow-shift);
}
.navigation-arrow-link--backward { padding-inline-end: 0; }
.navigation-link__icon {
  display: inline-flex;
  flex: 0 0 auto;
}
/* Отражение общей графики, без второго описания SVG или анимации. */
.navigation-link__icon--backward .cta-arrow {
  transform: translateX(calc(-1 * var(--cta-arrow-shift))) scaleX(-1);
}
.content-navigation-link__label {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.content-navigation-link__label::after {
  position: absolute;
  right: 0;
  bottom: calc(0px - var(--content-nav-underline-offset));
  left: 0;
  height: var(--button-border-width);
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--cta-arrow-duration) var(--cta-arrow-easing);
}
.content-navigation-link:not(:disabled):is(:hover, :focus-visible, :active) .content-navigation-link__label::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .cta-arrow-motion,
  .cta-arrow-shaft,
  .content-navigation-link__label::after {
    transition: none;
  }
}
/* Общий interaction shadow; disabled не должен реагировать на наведение. */
.cta.cta:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible, :active),
.header-account:is(:hover, :focus-visible, :active) {
  box-shadow: var(--control-shadow);
}
.cta.cta:disabled,
.cta.cta[aria-disabled="true"] { box-shadow: none; }

/* Закрываемые модальные окна: один крестик, без дублирующего Close/Cancel. */
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--focus-blue, #1b91f7);
  cursor: pointer;
}
.modal-close svg {
  /* Скруглённые концы и сглаживание не должны обрезаться viewport SVG. */
  overflow: visible;
  flex: none;
  width: var(--modal-close-size);
  height: var(--modal-close-size);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--modal-close-stroke);
  stroke-linecap: round;
}
.modal-close path { vector-effect: non-scaling-stroke; }
.modal-close:is(:hover, :focus, :active) { color: var(--report-blue, #3965d5); }
.modal-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }


:root {
  --green: #23b77a;
  --card-surface-padding: 22px;
  --card-surface-radius: 30px;
  --blue: #ddeafd;
  --dark-purple: #e8dffb;
  --state-success: #148c62;
  --risk-low: #148c62;
  --risk-medium: #e36800;
  --risk-unknown: #667085;
  --secondary-action-rest: var(--focus-blue);
  --secondary-action-interaction: var(--report-blue);
  --status-chip-surface: rgba(221, 234, 253, 0.86);
  --status-chip-text: #265c99;
  --notification-padding-y: 12px;
  --notification-padding-x: 14px;
  --footer-surface: #66529f;
  --footer-text: #fff;
  --footer-muted: #f0ebfb;
  --footer-underline: rgba(255, 255, 255, 0.5);
  --footer-shadow: 0 -7px 15px rgba(45, 44, 76, 0.1);
  --line: var(--dark-purple);
  --header-surface: var(--purple);
  --app-viewport-height: 100vh;
  --shell-min-width: 320px;
  --shell-rail-max-width: 100%;
  --shell-rail-width: calc(100% - 40px);
  --content-rail-width: calc(100% - 40px);
  --content-rail-max-width: 100%;
  --shell-padding-inline: 20px;
  --shell-padding-block: 24px;
  --header-height: 96px;
  --header-scrolled-height: 102px;
  --header-logo-height: 40px;
  --header-scrolled-logo-height: 36px;
  --header-action-height: 48px;
  --header-action-padding-x: 22px;
  --header-action-font-size: 1.6rem;
  --timeline-action-height: 43.2px;
  --timeline-action-padding-x: 25.2px;
  --timeline-action-font-size: 1.44rem;
  --timeline-action-border-width: 2.7px;
  --timeline-action-radius: 36px;
  --timeline-action-margin-top: 16.2px;
  --hero-title-copy-gap: 40px;
  --heading-copy-cta-gap: 30px;
  --content-block-gap: 52px;
  --pricing-card-heading-gap: 12px;
  --metadata-pair-gap: calc(var(--pricing-card-heading-gap) / 2);
  --section-title-copy-gap: 40px;
  --section-block-gap: 92px;
  --section-label-title-gap: 16px;
  --kicker-title-gap: var(--section-label-title-gap);
  --menu-toggle-size: 44px;
  --menu-line-width: 28px;
  --filled-action-padding-x: calc(var(--header-action-padding-x) + var(--button-border-width));
  --content-nav-underline-offset: 7px;
  --desktop-nav-underline-offset: var(--content-nav-underline-offset);
  --primary-action-max-width: 230px;
  --button-transform-transition: 180ms ease;
  --control-surface: var(--white);
  --control-ink: #000000;
  --control-placeholder: rgba(45, 44, 76, 0.65);
  --control-scroll-thumb: #8b8b8b;
  --control-group-font-size: 1.9rem;
  --control-label-font-size: 1.3rem;
  --mobile-menu-height-transition: 520ms ease;
  --mobile-menu-opacity-transition: 400ms ease;
  --header-z: 20;
  --tablet-line: #c0c0c9;
  --intake-control-radius: 24px;
  --intake-control-height: 48px;
  --intake-control-border-color: transparent;
  --intake-control-border: 1px solid var(--intake-control-border-color);
  --intake-control-padding-x: 14px;
  --intake-control-dropdown-padding-right: 36px;
  --intake-control-font-size: 1.6rem;
  --intake-control-line-height: 2.2rem;
  --intake-control-focus-surface: rgba(27, 145, 247, 0.3);
  --intake-control-focus-outline: 2px solid var(--intake-control-focus-surface);
  --intake-control-invalid-focus-surface: rgba(255, 77, 93, 0.3);
  --intake-control-invalid-focus-outline: 2px solid
    var(--intake-control-invalid-focus-surface);
  --intake-control-dropdown-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 2 7 8 13 2' fill='none' stroke='%231b91f7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@supports (height: 100dvh) {
  :root {
    --app-viewport-height: 100dvh;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: var(--app-viewport-height);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: var(--app-viewport-height);
  margin: 0;
  overflow-x: hidden;
  background: var(--purple);
  color: var(--text);
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 3rem;
}

body > main {
  flex: 0 0 auto;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--header-z);
  width: 100%;
  min-width: var(--shell-min-width);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background-color: var(--header-surface);
  box-shadow: var(--header-shadow);
}

.site-header__rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell-rail-width);
  max-width: var(--shell-rail-max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  transition: min-height 220ms ease;
}

.site-header.is-scrolled .site-header__rail {
  min-height: var(--header-scrolled-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

/* Picture выбирает файл; отдельная коробка не меняет существующий layout. */
.css-image { display:contents; }

.brand img {
  display: block;
  width: auto;
  height: var(--header-logo-height);
  transition:
    height 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled .brand img {
  height: var(--header-scrolled-logo-height);
}

/* Компактная публичная шапка: одинаковые поля до/после появления подложки.
   Cabinet shell сохраняет свою геометрию; каталог показывает тот же header. */
@media (width >= 480px) {
  :is(.landing-page, .design-system-page) {
    --header-padding-block: 18px;
    --header-height: 84px;
    --header-scrolled-height: 84px;
    --header-scrolled-logo-height: var(--header-logo-height);
  }
  :is(.landing-page, .design-system-page) .site-header__rail {
    padding-block: var(--header-padding-block);
    transition: none;
  }
  :is(.landing-page, .design-system-page) .site-header .brand img,
  :is(.landing-page, .design-system-page) .site-header.is-scrolled .brand img {
    transform: none;
    transition: none;
  }
}
@media (width > 1280px) {
  :is(.landing-page, .design-system-page) {
    --header-padding-block: 19px;
    --header-height: 86px;
    --header-scrolled-height: 86px;
  }
}

.desktop-nav,
.header-login,
.header-account {
  display: none;
}

.header-controls {
  display: none;
}

.mobile-header-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

@media (width <= 960px) {
  .mobile-header-controls > .header-login--mobile {
    position: relative;
    z-index: calc(var(--header-z) + 2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    min-height: 44px;
    min-width: 44px;
    padding-inline: 4px;
    white-space: nowrap;
    color: var(--text);
    font-size: var(--header-action-font-size);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }

  .header-login--mobile:is(:hover, :active, :focus-visible) {
    color: var(--focus-blue);
  }

  .header-login--mobile:focus-visible {
    outline: 2px solid var(--focus-blue);
    outline-offset: 1px;
    border-radius: 8px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-picker {
  display: inline-flex;
  flex: 0 0 auto;
  width: 120px;
  min-width: 120px;
  margin: 0;
}

/* На белой карточке меняется поверхность поля, а не рамка. */
:where(.control-surface--white, .cabinet-card, .purchase-offer-card, .child-action-notification) {
  --control-surface: var(--purple);
}

.intake-custom-select {
  position: relative;
  width: 100%;
}

.intake-custom-select-button,
.intake-custom-select__native {
  width: 100%;
  max-width: 100%;
  height: var(--intake-control-height);
  border: var(--intake-control-border);
  border-radius: var(--intake-control-radius);
  background: var(--white);
  color: var(--text);
  box-sizing: border-box;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--intake-control-font-size);
  font-weight: 600;
  line-height: var(--intake-control-line-height);
  text-align: left;
}

.intake-custom-select__native {
  padding: 0 var(--intake-control-dropdown-padding-right) 0 var(--intake-control-padding-x);
  appearance: none;
  background-image: var(--intake-control-dropdown-icon);
  background-repeat: no-repeat;
  background-position: right var(--intake-control-padding-x) center;
  background-size: 14px 10px;
}

.intake-custom-select[data-native-backed="true"]:not([data-enhanced="true"])
  .intake-custom-select-button {
  display: none;
}

.intake-custom-select[data-enhanced="true"] .intake-custom-select__native {
  display: none;
}

.intake-custom-select-button:disabled,
.intake-custom-select__native:disabled,
.intake-custom-select-option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.intake-language-select {
  padding: 0 var(--intake-control-dropdown-padding-right) 0 var(--intake-control-padding-x);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: var(--intake-control-dropdown-icon);
  background-repeat: no-repeat;
  background-position: right var(--intake-control-padding-x) center;
  background-size: 14px 10px;
}

.intake-custom-select-button:focus,
.intake-custom-select__native:focus {
  outline: none;
  border-color: var(--intake-control-border-color);
}

.intake-custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: calc(var(--header-z) + 4);
  display: none;
  width: 100%;
  max-width: 100%;
  max-height: 240px;
  padding: 8px;
  overflow: auto;
  border: 0;
  border-radius: var(--intake-control-radius);
  background: var(--white);
  box-shadow: var(--control-shadow);
  box-sizing: border-box;
}

.intake-custom-select[data-open="true"] .intake-custom-select-menu {
  display: block;
}

.intake-custom-select[data-open="true"] .intake-custom-select-button {
  color: var(--control-ink);
  box-shadow: var(--control-shadow);
}

.intake-custom-select-option {
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: var(--intake-control-radius);
  background: none;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.2rem;
  text-align: left;
}

.language-picker a.intake-custom-select-option {
  display: block;
  text-decoration: none;
}

.landing-language-fallback {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
}

.intake-custom-select-option:hover,
.intake-custom-select-option:active,
.intake-custom-select-option:focus-visible {
  background: var(--intake-control-focus-surface);
}

.intake-custom-select-option:focus {
  outline: none;
}

.menu-toggle {
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: calc(var(--header-z) + 2);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: var(--menu-toggle-size);
  height: var(--menu-toggle-size);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background-color var(--button-transition),
    color var(--button-transition);
}

.menu-toggle span {
  display: block;
  width: var(--menu-line-width);
  height: 3px;
  border-radius: 99px;
  background: var(--focus-blue);
  transition:
    background-color var(--button-transition),
    transform var(--button-transform-transition),
    opacity var(--button-transform-transition);
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle:hover,
.menu-toggle:active,
.menu-open .menu-toggle {
  background: transparent;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: calc(var(--header-z) + 1);
  display: grid;
  place-content: center;
  gap: 24px;
  height: 0;
  overflow: hidden;
  background-color: var(--purple);
  opacity: 0;
  transition:
    height var(--mobile-menu-height-transition),
    opacity var(--mobile-menu-opacity-transition);
}

.menu-open .mobile-menu {
  height: 100dvh;
  opacity: 1;
}

.mobile-menu .language-picker {
  justify-self: center;
  width: 120px;
  min-width: 120px;
}

.mobile-menu .intake-custom-select-menu {
  z-index: calc(var(--header-z) + 5);
}

.header-account {
  align-items: center;
  justify-content: center;
  width: var(--header-action-height);
  min-width: var(--header-action-height);
  height: var(--header-action-height);
  min-height: var(--header-action-height);
  border: 0;
  border-radius: var(--button-radius);
  background: var(--primary-action-rest);
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--header-action-font-size);
  font-weight: 800;
  line-height: 1;
  transition:
    background-color var(--button-transition),
    color var(--button-transition),
    transform var(--button-transform-transition);
}

.header-account:hover,
.header-account:focus-visible,
.header-account:active {
  background: var(--primary-action-interaction);
  color: var(--white);
}

.header-account span {
  display: block;
  transform: translateY(0);
}

.mobile-menu .header-account {
  display: inline-flex;
  justify-self: center;
}

.mobile-header-controls .header-account {
  position: relative;
  z-index: calc(var(--header-z) + 2);
  display: inline-flex;
}

.menu-open .mobile-header-controls .header-account {
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu a:not(.intake-custom-select-option) {
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: color 180ms ease;
}

.mobile-menu a:not(.intake-custom-select-option):hover,
.mobile-menu a:not(.intake-custom-select-option):active,
.mobile-menu a:not(.intake-custom-select-option):focus-visible {
  color: var(--focus-blue);
}

.mobile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: var(--header-action-height);
  height: var(--header-action-height);
  padding: 0 var(--filled-action-padding-x);
  border: 0;
  border-radius: var(--button-radius);
  background: var(--primary-action-rest);
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--header-action-font-size);
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  transition:
    background-color var(--button-transition),
    color var(--button-transition);
}

.mobile-menu .mobile-action {
  color: var(--white);
  font-size: var(--header-action-font-size);
  font-weight: 600;
  line-height: 1;
  transition:
    background-color var(--button-transition),
    color var(--button-transition);
}

.mobile-menu:has(.mobile-account-action) {
  grid-template-columns: minmax(0, var(--shell-rail-width));
}

.mobile-menu .mobile-account-action {
  font-weight: 600;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: var(--header-action-height);
  padding: 8px var(--filled-action-padding-x);
  flex-shrink: 0;
  justify-self: center;
}

.mobile-account-action [data-header-account-name] {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mobile-menu .mobile-action:focus-visible {
  color: var(--white);
}

.mobile-menu .mobile-action:hover,
.mobile-menu .mobile-action:active {
  background: var(--primary-action-interaction);
  color: var(--white);
}

.auth-page {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  justify-items: center;
  width: 100%;
  min-width: var(--shell-min-width);
  min-height: 100svh;
  padding: 12px 20px 22px;
  background: var(--purple);
}

.auth-page__brand-rail {
  width: 100%;
}

.auth-page__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.auth-page__brand img {
  display: block;
  width: auto;
  height: var(--header-logo-height);
}

.auth-wall {
  align-self: center;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.auth-panel,
.auth-form,
.auth-field,
.auth-field-grid {
  min-width: 0;
}

.auth-panel {
  --auth-label-gap: 8px;
  --auth-row-gap: 14px;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--auth-row-gap);
  width: 100%;
  padding: 0;
}

.auth-provider-pending {
  position: absolute;
  inset: -12px;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 26px;
  background: rgba(244, 246, 255, 0.78);
  backdrop-filter: blur(3px);
}

.auth-provider-pending[hidden] {
  display: none;
}

.auth-form .auth-password-status {
  margin: 0;
}

.auth-action-state [data-auth-action-invalid-sign-in][hidden],
.auth-action-state [data-auth-action-invalid-settings][hidden] {
  display: none;
}

.auth-provider-pending__content {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 280px;
  color: var(--text);
  text-align: center;
}

.auth-provider-pending__content p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.42;
}

.auth-provider-pending__spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(45, 44, 76, 0.16);
  border-top-color: var(--focus-blue);
  border-radius: 50%;
  animation: auth-provider-pending-spin 0.8s linear infinite;
}

.auth-panel[data-auth-provider-pending="true"] > :not(.auth-provider-pending) {
  opacity: 0.52;
  filter: blur(1.2px);
  pointer-events: none;
  user-select: none;
}

@keyframes auth-provider-pending-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-provider-pending__spinner {
    animation: none;
  }
}

.auth-provider-gate {
  display: grid;
  gap: 16px;
}

.auth-provider-gate[hidden],
.auth-field[hidden],
.auth-switch-line[hidden] {
  display: none;
}

.auth-provider-stack,
.auth-form {
  display: grid;
  gap: var(--auth-row-gap, 14px);
}

.auth-provider-stack {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
}

.auth-provider,
.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--header-action-height);
  min-width: 0;
  max-width: 100%;
  padding: 8px var(--filled-action-padding-x);
  border: 0;
  border-radius: var(--button-radius);
  background: var(--primary-action-rest);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  white-space: normal;
  transition:
    background-color var(--button-transition),
    color var(--button-transition);
}

.auth-submit.cta.cta[data-reset-cta-loading] {
  padding-inline: var(--cta-padding);
}

.auth-submit[data-reset-cta-loading] :is(.cta-gap, .cta-arrow) {
  display: none;
}

[data-reset-notification] p {
  margin: 0;
}

[data-reset-notification] [data-reset-countdown] {
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.auth-provider {
  width: 100%;
  max-width: 100%;
  background: var(--secondary-action-rest);
  color: var(--white);
}

.auth-provider:visited {
  color: var(--white);
}

.auth-provider:not(:disabled):hover,
.auth-provider:not(:disabled):active {
  background: var(--secondary-action-interaction);
  color: var(--white);
}

.auth-submit:not(:disabled):hover,
.auth-submit:not(:disabled):active {
  background: var(--primary-action-interaction);
  color: var(--white);
}

.auth-submit:disabled {
  border: 0;
  background: var(--primary-action-rest);
  color: var(--white);
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-provider:disabled {
  border: 0;
  background: var(--disabled-action-rest);
  color: var(--white);
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: rgba(45, 44, 76, 0.56);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(45, 44, 76, 0.16);
  content: "";
}

.auth-field-grid {
  display: grid;
  gap: 10px;
}

.auth-field {
  display: grid;
  gap: var(--auth-label-gap, 8px);
}

.auth-field label,
.auth-field__label {
  color: var(--text);
  font-size: var(--control-label-font-size);
  font-weight: 600;
  line-height: 2rem;
}

.auth-field input:not([type="hidden"]),
.auth-field textarea {
  width: 100%;
  min-width: 0;
  height: var(--intake-control-height);
  padding: 0 var(--intake-control-padding-x);
  border: var(--intake-control-border);
  border-radius: var(--intake-control-radius);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-family);
  font-size: var(--intake-control-font-size);
  font-weight: 600;
  line-height: var(--intake-control-line-height);
}

.auth-field textarea {
  box-sizing: border-box;
  height: auto;
  min-height: 120px;
  padding-block: 14px;
  resize: vertical;
}

.auth-select-button {
  min-height: var(--intake-control-height);
  height: auto;
  padding: 12px var(--intake-control-dropdown-padding-right) 12px var(--intake-control-padding-x);
  white-space: normal;
  overflow-wrap: anywhere;
  background-image: var(--intake-control-dropdown-icon);
  background-repeat: no-repeat;
  background-position: right var(--intake-control-padding-x) center;
  background-size: 14px 10px;
}

.auth-custom-select[data-invalid="true"] .auth-select-button,
.auth-custom-select[data-invalid="true"] .intake-custom-select__native {
  border-color: var(--red);
}

.auth-field input[data-auth-invalid="true"],
.auth-field input[aria-invalid="true"],
.auth-field textarea[aria-invalid="true"],
.auth-select-button[data-auth-invalid="true"] {
  border-color: var(--red);
}

.auth-field input:not([type="hidden"]):focus,
.auth-field textarea:focus {
  border-color: var(--intake-control-border-color);
  outline: none;
}

.auth-field input[data-auth-invalid="true"]:focus,
.auth-field input[aria-invalid="true"]:focus,
.auth-field textarea[aria-invalid="true"]:focus,
.auth-custom-select[data-invalid="true"] .auth-select-button:focus,
.auth-custom-select[data-invalid="true"] .intake-custom-select__native:focus {
  border-color: var(--red);
  outline: var(--intake-control-invalid-focus-outline);
}

.auth-switch-stack {
  display: grid;
  gap: var(--auth-row-gap);
  margin-top: var(--auth-row-gap);
}

.auth-switch-line {
  display: grid;
  gap: var(--auth-label-gap);
  align-items: baseline;
  justify-content: flex-start;
  margin: 0;
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.auth-switch-line .content-navigation-link {
  min-height: 0;
}

.auth-legal {
  margin: 0;
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.42;
}

.auth-legal {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.notification-surface {
  margin: 0;
  padding: var(--notification-padding-y) var(--notification-padding-x);
  border-radius: 16px;
  background: rgba(221, 234, 253, 0.78);
  color: #265c99;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.42;
}

.notification-surface[data-tone="error"] {
  background: rgba(255, 77, 93, 0.1);
  color: #a81f34;
}

.cookie-notice {
  position: fixed;
  z-index: calc(var(--header-z) - 1);
  right: auto;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  width: calc(100vw - 16px);
  max-width: none;
  gap: 10px;
  margin: 0;
  padding-bottom: max(var(--notification-padding-y), calc(env(safe-area-inset-bottom) + 8px));
  transform: translateX(-50%);
  background: var(--blue);
}

.cookie-notice[hidden],
.cookie-notice__close[hidden],
.cookie-notice__actions[hidden] {
  display: none;
}

.cookie-notice__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: 8px;
}

.cookie-notice__title,
.cookie-notice__body {
  margin: 0;
  color: inherit;
  font-family: var(--font-family);
}

.cookie-notice__title {
  align-self: center;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.cookie-notice__body {
  max-width: none;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.42;
}

.cookie-notice__link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.2px;
  text-underline-offset: 2px;
}

.cookie-notice__close {
  position: relative;
  width: 44px;
  height: 44px;
  margin: -9px -9px -8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--focus-blue);
  cursor: pointer;
}

.cookie-notice__close::before,
.cookie-notice__close::after {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.cookie-notice__close::before {
  transform: rotate(45deg);
}

.cookie-notice__close::after {
  transform: rotate(-45deg);
}

.cookie-notice__close:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: -5px;
}

.cookie-notice__actions {
  display: grid;
  justify-items: start;
}

.cookie-notice .cookie-notice__action {
  width: max-content;
  max-width: 100%;
  margin-top: 0;
  cursor: pointer;
}

.cookie-notice__actions--choice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-notice--choice {
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (width >= 480px) {
  .cookie-notice {
    bottom: max(20px, env(safe-area-inset-bottom));
    width: calc(100vw - 40px);
  }
}

@media (width > 1280px) {
  .cookie-notice {
    width: min(calc(var(--shell-rail-max-width) + 48px), calc(100vw - 40px));
  }
}

.auth-action-page {
  isolation: isolate;
  overflow: hidden;
}

.auth-action-wall {
  position: relative;
  z-index: 1;
}

.auth-action-panel {
  gap: 30px;
}

.profile-verification-panel {
  gap: 24px;
}

.profile-verification-form {
  width: 100%;
}

.auth-action-state {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.auth-action-state[hidden] {
  display: none;
}

.auth-action-title,
.auth-action-summary,
.auth-action-progress {
  margin: 0;
}

.auth-action-title {
  max-width: 38ch;
  color: var(--text);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.22;
}

/* Программный фокус объявляет новое состояние, но не обводит неинтерактивный заголовок. */
.auth-action-title[tabindex="-1"]:focus {
  outline: none;
}

.auth-action-title--compact {
  max-width: 38ch;
  color: rgba(45, 44, 76, 0.74);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.5;
}

.auth-action-summary,
.auth-action-progress {
  color: rgba(45, 44, 76, 0.74);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.5;
}

.auth-action-summary {
  max-width: 100%;
}

.auth-action-progress {
  max-width: 38ch;
}

.auth-action-submit {
  width: max-content;
  min-width: min(100%, 240px);
  justify-self: start;
  margin-top: 10px;
  text-decoration: none;
}

.auth-action-submit:visited {
  color: var(--white);
}

.auth-action-submit:hover,
.auth-action-submit:active {
  color: var(--white);
}

.auth-action-progress {
  display: flex;
  gap: 12px;
  align-items: center;
}

.auth-action-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid rgba(45, 44, 76, 0.16);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: auth-action-spin 720ms linear infinite;
}

.auth-action-form {
  width: 100%;
}

.auth-action-form-error {
  margin: -2px 0 0;
  color: #a81f34;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.42;
}

@keyframes auth-action-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-form__helper {
  margin: -2px 0 0;
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.25rem;
  line-height: 1.42;
}

.auth-legal a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(45, 44, 76, 0.24);
  text-underline-offset: 4px;
}

.auth-legal a:hover,
.auth-legal a:active,
.auth-legal a:focus-visible {
  color: var(--report-blue);
  text-decoration-color: var(--report-blue);
}

.auth-validation-popover {
  position: fixed;
  z-index: calc(var(--header-z) + 8);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--intake-control-height);
  max-width: min(460px, calc(100vw - 40px));
  padding: 12px 18px;
  border: var(--intake-control-border);
  border-radius: var(--intake-control-radius);
  background: var(--white);
  box-shadow: var(--header-shadow);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}

.auth-validation-popover::before {
  position: absolute;
  left: 38px;
  width: 16px;
  height: 8px;
  background: var(--white);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
}

.auth-validation-popover[data-placement="below"]::before {
  top: -8px;
}

.auth-validation-popover[data-placement="above"]::before {
  top: auto;
  bottom: -8px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.auth-validation-popover[hidden] {
  display: none;
}

.auth-validation-popover__mark {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.legal-page {
  width: 100%;
  min-width: var(--shell-min-width);
  padding: calc(var(--header-height) + 28px) 0 72px;
  background: var(--purple);
}

.legal-page + .site-footer {
  margin-top: 0;
}

.legal-document {
  width: var(--content-rail-width);
  max-width: var(--content-rail-max-width);
  margin: 0 auto;
  padding: 0;
  color: var(--text);
}

.legal-document > * {
  max-width: 880px;
}

.legal-document h1,
.legal-document h2,
.legal-document p {
  margin: 0;
}

.legal-document h1 {
  color: var(--text);
  font-size: var(--type-section-size);
  font-weight: 800;
  line-height: var(--type-section-line);
}

.legal-document__metadata {
  display: grid;
  gap: 2px;
  margin-bottom: var(--section-label-title-gap);
}

.legal-document table {
  width: 100%;
  margin-top: var(--section-label-title-gap);
  border-collapse: collapse;
  table-layout: fixed;
  color: #5a5978;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.legal-document th,
.legal-document td {
  padding: 0.5em;
  border-bottom: 1px solid rgba(45, 44, 76, 0.16);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-document__date,
.legal-document p,
.legal-document li {
  color: #5a5978;
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.legal-document .legal-document__date {
  margin-top: var(--section-title-copy-gap);
  color: rgba(45, 44, 76, 0.68);
}

.legal-document > p:not(.legal-document__date),
.legal-document > ul {
  margin-top: var(--section-label-title-gap);
}

.legal-document__section {
  margin-top: var(--content-block-gap);
}

.legal-document h2 {
  font-size: var(--type-title-lg-size);
  font-weight: 800;
  line-height: var(--type-title-lg-line);
}

.legal-document__section p,
.legal-document__section ul {
  margin-top: 12px;
}

.legal-document ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document strong {
  color: var(--text);
}

.legal-document a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(45, 44, 76, 0.24);
  text-underline-offset: 4px;
}

.legal-document a:hover,
.legal-document a:active,
.legal-document a:focus-visible {
  color: var(--report-blue);
  text-decoration-color: var(--report-blue);
}

#wrapper {
  width: 100%;
  min-height: var(--app-viewport-height);
  min-width: var(--shell-min-width);
  background: var(--purple);
  padding: calc(var(--header-height) + var(--shell-padding-block)) 0 var(--shell-padding-block);
}

.landing-rail {
  width: var(--content-rail-width);
  max-width: var(--content-rail-max-width);
  min-height: calc(var(--app-viewport-height) - var(--header-height) - (var(--shell-padding-block) * 2));
  margin: 0 auto;
}

.hero {
  display: grid;
  align-items: start;
  padding: 0 0 56px;
}

.hero-body {
  display: grid;
  gap: 38px;
  align-items: center;
  min-width: 0;
  margin-top: 34px;
}

.hero-copy,
.hero-media {
  min-width: 0;
}

/* Общие текстовые роли. Отступы, цвет и выравнивание остаются у компонентов. */
.section-summary,
.paradox-takeaway p,
.how-science-panel p,
.how-it-works__takeaway > p {
  font-size: var(--type-body-lg-size);
  font-weight: var(--font-weight-body);
  line-height: var(--type-body-lg-line);
}

.paradox-takeaway h3,
.how-science-panel h3,
.how-it-works__takeaway > h3,
.site-footer h2 {
  font-size: var(--type-title-lg-size);
  font-weight: var(--font-weight-heading);
  line-height: var(--type-title-lg-line);
}

.how-report-panel h3,
.how-report-panel li strong,
.screen-step h3,
.pricing-card h3,
.faq-item summary {
  font-size: var(--type-card-title-size);
  font-weight: var(--font-weight-heading);
  line-height: var(--type-card-title-line);
}

.screen-step p,
.how-report-panel li span,
.pricing-card__summary,
.pricing-card__note,
.pricing-card__list li,
.pricing-note,
.faq-item p {
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-body);
  line-height: var(--type-body-line);
}

.hero h1 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  color: var(--text);
  font-size: var(--type-display-size);
  font-weight: var(--font-weight-display);
  line-height: var(--type-display-line);
  letter-spacing: 0;
  text-align: center;
  justify-self: center;
}

.hero h1 span {
  display: block;
}

.hero-summary {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: var(--hero-title-copy-gap) auto 0;
  color: var(--text);
  font-size: var(--type-subtitle-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--type-subtitle-line);
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-checklist {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  color: var(--text);
  font-size: var(--type-hero-bullet-size);
  font-weight: var(--font-weight-bold);
  line-height: var(--type-body-line);
}

.hero-checklist li::before {
  position: absolute;
  top: calc((1em * var(--type-body-line)) / 2);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--focus-blue);
  content: "";
  transform: translateY(-50%);
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-action-height);
  min-height: var(--header-action-height);
  margin-top: var(--heading-copy-cta-gap);
  padding: 0 var(--filled-action-padding-x);
  border: 0;
  border-radius: var(--button-radius);
  background: var(--primary-action-rest);
  color: var(--white);
  overflow: hidden;
  transition:
    background-color var(--button-transition),
    color var(--button-transition),
    transform var(--button-transform-transition);
}

.hero-action:not(.timeline-action) {
  width: max-content;
  min-width: min(100%, var(--primary-action-max-width));
  max-width: 100%;
}

.hero-action:hover,
.hero-action:active {
  background: var(--primary-action-interaction);
  color: var(--white);
}

.paradox-takeaway__action,
.how-it-works__action,
.faq-section__action {
  --primary-action-rest: var(--focus-blue);
  --primary-action-interaction: var(--report-blue);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablet-frame {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1513 / 1040;
  filter: drop-shadow(0 18px 12px rgba(38, 35, 72, 0.1));
}

.tablet-mockup {
  display: block;
  width: 100%;
  height: auto;
}

.tablet-screen {
  position: absolute;
  top: 6.95%;
  left: 4.77%;
  width: 90.4%;
  height: 82.35%;
  overflow: hidden;
  border-radius: clamp(5px, 1vw, 12px);
  background: #17171a;
}

.tablet-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 6vw, 72px);
  width: 100%;
  margin: 20px auto 0;
  padding: 0;
}

.trust-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(86px, 24vw, 156px);
  aspect-ratio: 1;
  transition:
    transform 350ms ease,
    opacity 220ms ease;
}

.trust-medal:hover,
.trust-medal:focus-visible {
  transform: translateY(-10px);
}

.trust-medal:active {
  transform: translateY(-5px);
}

.trust-medal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-section {
  padding: var(--section-block-gap) 0 0;
}

.trust-strip + .landing-section {
  padding-top: var(--section-block-gap);
}

.section-header {
  width: 100%;
  max-width: var(--content-rail-max-width);
  margin: 0 auto 34px;
  text-align: left;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 var(--kicker-title-gap);
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--focus-blue);
  font-size: var(--type-ui-size);
  font-weight: 800;
  line-height: var(--type-label-line);
  text-transform: none;
}

.section-header h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--type-section-size);
  font-weight: 800;
  line-height: var(--type-section-line);
}

.section-summary {
  width: 100%;
  max-width: 900px;
  margin: var(--section-title-copy-gap) 0 0;
  color: var(--text);
}

.section-summary sup,
.phase-copy sup {
  font-size: 0.58em;
  line-height: 0;
}

.section-summary sup a,
.phase-copy sup a,
.evidence-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.2px;
  text-underline-offset: 0.16em;
}

.section-summary sup a:hover,
.section-summary sup a:focus-visible,
.phase-copy sup a:hover,
.phase-copy sup a:focus-visible,
.evidence-link:hover,
.evidence-link:focus-visible {
  color: var(--report-blue);
}

.how-science-panel,
.how-report-panel {
  min-width: 0;
}

.how-science-panel h3,
.how-report-panel h3 {
  margin: 0;
  color: var(--text);
}

.how-science-panel h3 {}

.how-report-panel h3 {
  font-size: var(--type-card-title-size);
  line-height: var(--type-card-title-line);
}

.how-science-panel p {
  margin: var(--heading-copy-cta-gap) 0 0;
  color: var(--text);
}

.how-report-panel {
  width: 100%;
  max-width: 900px;
  margin-top: var(--heading-copy-cta-gap);
}

.how-report-panel ul {
  display: grid;
  counter-reset: report-item;
  gap: 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.how-report-panel li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  counter-increment: report-item;
  color: var(--text);
  font-size: var(--type-card-title-size);
  font-weight: 600;
  line-height: var(--type-card-title-line);
}

.how-report-panel li > div {
  min-width: 0;
}

.how-report-panel li strong,
.how-report-panel li span {
  display: block;
}

.how-report-panel li strong {}

.how-report-panel li span {
  margin-top: 3px;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.how-report-panel li::before {
  min-width: 0.7em;
  color: var(--text);
  content: counter(report-item);
  font-size: var(--type-section-size);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
}

.how-workflow {
  display: grid;
  gap: 34px;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-top: var(--content-block-gap);
}

.screening-steps {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.screen-step {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  color: var(--text);
}

.screen-step::before {
  position: absolute;
  top: calc((1em * var(--type-card-title-line)) / 2);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--focus-blue);
  content: "";
  transform: translateY(-50%);
}

.screen-step h3 {
  margin: 0;
  color: var(--text);
}

.screen-step p {
  margin: 8px 0 0;
  color: var(--text);
}

.how-it-works__takeaway {
  width: 100%;
  max-width: 900px;
  margin: var(--content-block-gap) 0 0;
  text-align: left;
}

.how-it-works__takeaway > h3 {
  margin: 0;
  color: var(--text);
}

.how-it-works__takeaway > p {
  margin: var(--heading-copy-cta-gap) 0 0;
  color: var(--text);
}

.how-it-works__action {
  margin-top: var(--heading-copy-cta-gap);
  justify-self: start;
}

@media (width > 960px) {
  .landing-page { --shell-rail-max-width: 1024px; --content-rail-max-width: 1024px; }
}

@media (width >= 480px) {
  :root {
    --shell-rail-width: calc(100% - 96px);
    --content-rail-width: calc(100% - 96px);
    --shell-padding-inline: 24px;
    --shell-padding-block: 28px;
    --header-logo-height: 42px;
    --header-scrolled-logo-height: 38px;
    --menu-toggle-size: 48px;
    --timeline-action-height: 40.8px;
    --timeline-action-padding-x: 23.8px;
    --timeline-action-font-size: 1.36rem;
    --timeline-action-border-width: 2.55px;
    --timeline-action-radius: 34px;
    --timeline-action-margin-top: 15.3px;
    --section-block-gap: 108px;
  }

  .hero {
    padding: 0 0 72px;
  }

  .hero-body {
    gap: 44px;
    margin-top: 42px;
  }

  .trust-strip {
    gap: clamp(42px, 8vw, 96px);
    margin-top: 28px;
    padding-bottom: 0;
  }

  .trust-medal {
    width: clamp(118px, 20vw, 156px);
  }

  .landing-section {
    padding: var(--section-block-gap) 0 0;
  }

  .trust-strip + .landing-section {
    padding-top: var(--section-block-gap);
  }

  .mobile-header-controls {
    gap: 10px;
  }

  .section-header {
    margin-bottom: 42px;
  }

}

@media (width > 720px) {
  :root {
  }

  .auth-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width > 960px) {
  :root {
    --shell-rail-width: calc(100% - 128px);
    --shell-rail-max-width: 1280px;
    --content-rail-width: var(--shell-rail-width);
    --content-rail-max-width: var(--shell-rail-max-width);
    --shell-padding-inline: 32px;
    --shell-padding-block: 32px;
    --header-height: 112px;
    --header-scrolled-height: 102px;
    --header-logo-height: 48px;
    --header-scrolled-logo-height: 42px;
    --section-block-gap: 132px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    justify-content: center;
    min-width: 0;
    justify-self: center;
  }

  .site-header__rail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 24px;
  }

  .brand img {
    transform: translateY(-6px);
  }

  .site-header.is-scrolled .brand img {
    transform: translateY(-5px);
  }

  .header-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: end;
    margin-left: 0;
  }

  .header-controls .language-picker {
    width: 112px;
    min-width: 112px;
  }

  .desktop-nav a,
  .header-login {
    position: relative;
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    transition: color 180ms ease;
  }

  .desktop-nav a,
  .header-login {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .desktop-nav a::after,
  .header-login::after {
    position: absolute;
    right: 0;
    bottom: calc(0px - var(--desktop-nav-underline-offset));
    left: 0;
    height: var(--button-border-width);
    border-radius: 999px;
    background: var(--focus-blue);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms ease;
  }

  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after,
  .header-login:hover::after,
  .header-login:focus-visible::after {
    transform: scaleX(1);
  }

  .desktop-nav a:hover,
  .desktop-nav a:active,
  .desktop-nav a:focus-visible,
  .header-login:hover,
  .header-login:active,
  .header-login:focus-visible {
    color: var(--focus-blue);
  }

  .header-controls .header-account {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-menu,
  .mobile-header-controls {
    display: none;
  }

  .hero {
    padding: 4px 0 80px;
  }

  .hero-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 48px;
    align-items: center;
    margin-top: 58px;
  }

  .hero-copy {
    align-items: flex-start;
  }

  .hero-checklist {
    max-width: 100%;
  }

  .hero-media {
    justify-content: flex-end;
  }

  .tablet-frame {
    width: min(100%, 720px);
  }

  .trust-strip {
    gap: clamp(70px, 9vw, 112px);
    margin-top: 24px;
    padding-bottom: 0;
  }

  .landing-section {
    padding: var(--section-block-gap) 0 0;
  }

  .trust-strip + .landing-section {
    padding-top: var(--section-block-gap);
  }

  .section-header {
    margin-bottom: 52px;
  }

  .section-summary {
    max-width: 980px;
  }

  .how-workflow {
    margin-top: var(--content-block-gap);
  }
}

@media (width > 1280px) {
  :root {
    --shell-rail-width: calc(100% - 128px);
    --shell-rail-max-width: 1280px;
    --content-rail-width: var(--shell-rail-width);
    --content-rail-max-width: var(--shell-rail-max-width);
    --shell-padding-inline: 40px;
    --shell-padding-block: 40px;
    --header-height: 116px;
    --header-scrolled-height: 104px;
  }

  .desktop-nav {
    gap: 34px;
  }

  .hero {
    padding: 3px 0 88px;
  }

  .hero-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 54px;
    margin-top: 64px;
  }



  .hero-checklist {
    max-width: 100%;
  }





  .tablet-frame {
    width: min(100%, 720px);
  }

  .landing-section {
    padding: var(--section-block-gap) 0 0;
  }

}


.paradox-timeline {
  min-width: 0;
}

.timeline-variant--center-phases .center-phase-timeline {
  --early: var(--risk-low);
  --gap: var(--risk-medium);
  --fail: var(--risk-high);
  --axis-line: linear-gradient(
    180deg,
    var(--early) 0 26.3%,
    var(--gap) 36.8% 57.9%,
    var(--fail) 68.4% 100%
  );
  --age-step: 110px;
  --age-title-row: 34px;
  --age-tail-row: 28px;
  --age-axis-bottom-cut: 42px;
  --age-axis-width: 6px;
  --age-label-left: calc(50% - 34px);
  --age-label-font-size: 1.45rem;
  --age-label-line: 1.08;
  --fail-heading-offset: calc((var(--age-step) / 2) + 0.66rem + 5px);
  --milestone-group-gap: 18px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  grid-template-rows:
    var(--age-title-row)
    repeat(9, var(--age-step))
    var(--age-tail-row);
  column-gap: 32px;
  width: 100%;
  max-width: var(--content-rail-max-width);
  margin: 0;
}

.timeline-variant--center-phases .center-phase-timeline::before {
  position: absolute;
  top: var(--age-title-row);
  bottom: var(--age-axis-bottom-cut);
  left: 50%;
  width: var(--age-axis-width);
  border-radius: 999px;
  background: var(--axis-line);
  content: "";
  transform: translateX(-50%);
}

.timeline-variant--center-phases .timeline-window {
  display: contents;
}

.timeline-variant--center-phases .phase-copy {
  grid-column: 1;
  justify-self: start;
  align-self: start;
  width: 100%;
  min-width: 0;
  padding: 26px 0 0;
  text-align: left;
}

.timeline-variant--center-phases .phase-copy--early,
.timeline-variant--center-phases .milestone-group--early,
.timeline-variant--center-phases .age-point--2 {
  grid-row: 2;
}

.timeline-variant--center-phases .age-point--3 {
  grid-row: 3;
}

.timeline-variant--center-phases .age-point--4 {
  grid-row: 4;
}

.timeline-variant--center-phases .phase-copy--gap,
.timeline-variant--center-phases .milestone-group--gap,
.timeline-variant--center-phases .age-point--5 {
  grid-row: 5;
}

.timeline-variant--center-phases .age-point--6 {
  grid-row: 6;
}

.timeline-variant--center-phases .age-point--7 {
  grid-row: 7;
}

.timeline-variant--center-phases .phase-copy--fail,
.timeline-variant--center-phases .milestone-group--fail,
.timeline-variant--center-phases .age-point--8 {
  grid-row: 8;
}

.timeline-variant--center-phases .age-point--9 {
  grid-row: 9;
}

.timeline-variant--center-phases .age-point--10 {
  grid-row: 10;
}

.timeline-variant--center-phases .phase-copy h3,
.timeline-variant--center-phases .milestone-note h3 {
  margin: 0;
  color: var(--text);
  font-size: var(--type-card-title-size);
  font-weight: 800;
  line-height: var(--type-card-title-line);
}

.timeline-variant--center-phases .phase-copy--early h3 {
  color: var(--early);
}

.timeline-variant--center-phases .phase-copy--gap h3 {
  color: var(--gap);
}

.timeline-variant--center-phases .phase-copy--fail h3 {
  color: var(--fail);
}

.timeline-variant--center-phases .phase-copy p,
.timeline-variant--center-phases .milestone-note p {
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.timeline-variant--center-phases .phase-copy p {
  margin: 16px 0 0;
}

.timeline-variant--center-phases .milestone-note p {
  margin: 8px 0 0;
}

/* Все ссылки на источники внутри timeline равны по жирности акцентам 92% и 88%. */
.timeline-variant--center-phases .center-phase-timeline .evidence-link {
  font-weight: 900;
}

.timeline-variant--center-phases .timeline-action {
  height: var(--timeline-action-height);
  min-height: var(--timeline-action-height);
  margin-top: var(--timeline-action-margin-top);
  padding: 0 calc(var(--timeline-action-padding-x) + var(--timeline-action-border-width));
  border-radius: var(--timeline-action-radius);
  font-size: var(--timeline-action-font-size);
}

.timeline-variant--center-phases .timeline-action--mobile {
  display: none;
}

.timeline-variant--center-phases .age-axis-title {
  position: absolute;
  top: 4px;
  left: var(--age-label-left);
  width: max-content;
  color: var(--text);
  font-size: var(--age-label-font-size);
  font-weight: 800;
  line-height: var(--age-label-line);
  text-align: left;
}

.timeline-variant--center-phases .age-point {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}

.timeline-variant--center-phases .age-point--early {
  --phase: var(--early);
}

.timeline-variant--center-phases .age-point--gap {
  --phase: var(--gap);
}

.timeline-variant--center-phases .age-point--fail {
  --phase: var(--fail);
}

.timeline-variant--center-phases .age-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: none;
}

.timeline-variant--center-phases .age-dot::after {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--phase);
  content: "";
}

.timeline-variant--center-phases .age-label {
  position: absolute;
  top: 50%;
  left: var(--age-label-left);
  width: max-content;
  max-width: 100px;
  color: var(--phase);
  font-size: var(--age-label-font-size);
  font-weight: 800;
  line-height: var(--age-label-line);
  text-align: left;
  transform: translateY(-50%);
}

.timeline-variant--center-phases .age-label__word {
  display: none;
}

.timeline-variant--center-phases .milestone-group {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: var(--milestone-group-gap);
  min-width: 0;
  max-width: 460px;
  padding: 26px 0 0;
}

.timeline-variant--center-phases .milestone-note {
  min-width: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.timeline-variant--center-phases .phase-copy--fail,
.timeline-variant--center-phases .milestone-group--fail {
  padding-top: var(--fail-heading-offset);
}

.timeline-variant--center-phases .paradox-takeaway {
  width: 100%;
  max-width: var(--content-rail-max-width);
  margin: 56px auto 0;
  text-align: left;
}

.paradox-takeaway h3 {
  margin: 0;
  color: var(--text);
}

.paradox-takeaway p {
  width: 100%;
  max-width: 900px;
  margin: var(--heading-copy-cta-gap) 0 0;
  color: var(--text);
}

.paradox-takeaway__action {
  margin-top: var(--heading-copy-cta-gap);
}

@media (width <= 960px) {
  .timeline-variant--center-phases .center-phase-timeline {
    --age-step: 128px;
    --age-axis-bottom-cut: 46px;
    --age-label-left: 0px;
    --age-label-font-size: 1.4rem;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 20px;
    max-width: 100%;
  }

  .timeline-variant--center-phases .center-phase-timeline::before {
    left: 59px;
    transform: none;
  }

  .timeline-variant--center-phases .age-axis-title {
    width: 36px;
  }

  .timeline-variant--center-phases .phase-copy h3,
  .timeline-variant--center-phases .milestone-note h3 {
    font-size: 1.7rem;
    line-height: 1.22;
  }

  .timeline-variant--center-phases .phase-copy p,
  .timeline-variant--center-phases .milestone-note p {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .timeline-variant--center-phases .center-phase-timeline {
    --timeline-action-font-size: 1.36rem;
  }

  .timeline-variant--center-phases .timeline-action--desktop {
    display: none;
  }

  .timeline-variant--center-phases .timeline-action--mobile {
    display: inline-flex;
    width: max-content;
    max-width: calc(100% + 80px);
    justify-self: start;
  }

  .timeline-variant--center-phases .milestone-note:has(.timeline-action--mobile) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-variant--center-phases .timeline-window {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: var(--milestone-group-gap);
    justify-self: start;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-top: 20px;
  }

  .timeline-variant--center-phases .timeline-window--early {
    grid-row: 1 / 5;
    padding-top: 2px;
    transform: translateY(-2px);
  }

  .timeline-variant--center-phases .timeline-window--gap {
    grid-row: 5;
  }

  .timeline-variant--center-phases .timeline-window.timeline-window--fail {
    grid-row: 8;
    padding-top: var(--fail-heading-offset);
  }

  .timeline-variant--center-phases .timeline-window .phase-copy,
  .timeline-variant--center-phases .timeline-window .milestone-group {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .timeline-variant--center-phases .timeline-window .phase-copy p {
    display: block;
    max-width: 560px;
    margin-top: 12px;
  }

  .timeline-variant--center-phases .timeline-window .milestone-group {
    gap: var(--milestone-group-gap);
  }

  .timeline-variant--center-phases .age-point {
    grid-column: 1;
    justify-items: start;
    padding-right: 0;
  }

  .timeline-variant--center-phases .age-dot {
    margin-left: 47px;
  }

  .timeline-variant--center-phases .age-label {
    right: auto;
    left: var(--age-label-left);
  }

  .timeline-variant--center-phases .paradox-takeaway {
    max-width: 100%;
    margin-top: 46px;
  }
}

@media (width < 480px) {
  :root {
    --shell-rail-width: var(--content-rail-width);
    --header-height: 64px;
    --header-scrolled-height: 68px;
  }

  .timeline-variant--center-phases .center-phase-timeline {
    --age-step: 208px;
    --age-axis-bottom-cut: 53px;
    --age-label-font-size: 1.3rem;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
  }

  .timeline-variant--center-phases .center-phase-timeline::before {
    left: 45px;
  }

  .timeline-variant--center-phases .age-axis-title {
    width: 24px;
  }

  .timeline-variant--center-phases .timeline-window {
    padding-top: 28px;
  }

  .timeline-variant--center-phases .timeline-window--early {
    padding-top: 2px;
    transform: translateY(-2px);
  }

  .timeline-variant--center-phases .timeline-window .phase-copy {
    padding-top: 0;
  }

  .timeline-variant--center-phases .age-label {
    right: auto;
    left: var(--age-label-left);
    max-width: 20px;
    text-align: left;
  }

  .timeline-variant--center-phases .age-dot {
    width: 26px;
    height: 26px;
    margin-left: 35px;
  }

  .timeline-variant--center-phases .age-dot::after {
    width: 11px;
    height: 11px;
  }

  .timeline-variant--center-phases .phase-copy h3 {
    white-space: normal;
  }

  .timeline-variant--center-phases .phase-copy p {
    max-width: 260px;
  }

}

.pricing-grid {
  display: grid;
  gap: 18px;
  width: min(400px, calc(100% - 24px));
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-section .section-header,
.faq-section .section-header {
  margin-bottom: 40px;
}

.pricing-section .section-kicker {
  color: var(--focus-blue);
}

.pricing-section {
  --pricing-card-heading-gap: var(--section-label-title-gap);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: stretch;
  min-width: 0;
  padding: var(--card-surface-padding);
  padding-bottom: 12px;
  border: 1px solid transparent;
  border-radius: var(--card-surface-radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--control-shadow);
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-card + .pricing-card {
  border-top-color: transparent;
}

.pricing-card:hover,
.pricing-card:focus-within,
.pricing-card.pricing-card--selected {
  z-index: 1;
  border-color: transparent;
}

.pricing-card:has(.pricing-card__action:is(:hover, :active, :focus-visible)) h3,
.pricing-card:has(.pricing-card__action:is(:hover, :active, :focus-visible)) .pricing-card__price {
  color: var(--report-blue);
}

.pricing-card__header {
  grid-row: 1;
  min-width: 0;
}

.pricing-card h3 {
  margin: 0;
  color: #000;
  text-align: center;
  transition: color var(--button-transition);
}

.pricing-card__price {
  grid-row: 5;
  align-self: end;
  margin: 0 0 13px;
  color: var(--focus-blue);
  font-size: var(--type-title-lg-size);
  font-weight: 800;
  line-height: var(--type-title-lg-line);
  text-align: center;
  transition: color var(--button-transition);
}

.pricing-card__summary {
  grid-row: 2;
  min-height: 0;
  margin: var(--pricing-card-heading-gap) 0 0;
  color: var(--text);
}

.pricing-card__list {
  grid-row: 3;
  display: grid;
  gap: 12px;
  align-self: start;
  align-content: start;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.pricing-card__note {
  grid-row: 4;
  margin: 0 0 16px;
  color: var(--text);
}

.pricing-card__action {
  grid-row: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: min(100%, var(--primary-action-max-width));
  height: var(--header-action-height);
  min-height: var(--header-action-height);
  margin-top: 0;
  padding: 0 var(--filled-action-padding-x);
  border: 0;
  border-radius: var(--button-radius);
  background: var(--secondary-action-rest);
  color: var(--white);
  text-align: center;
  transition:
    background-color var(--button-transition),
    color var(--button-transition);
}

.pricing-card__action:hover,
.pricing-card__action:active,
.pricing-card__action:focus-visible {
  background: var(--secondary-action-interaction);
  color: var(--white);
}

.menu-toggle:focus-visible,
.header-account:focus-visible,
.mobile-menu .mobile-action:focus-visible,
.auth-provider:focus-visible,
.auth-submit:focus-visible,
.hero-action:focus-visible,
.pricing-card__action:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 3px;
}

.pricing-note {
  width: 100%;
  max-width: 900px;
  margin: var(--heading-copy-cta-gap) 0 0;
  color: var(--text);
}

.faq-grid {
  display: grid;
  gap: 0;
  max-width: 920px;
  margin-top: 0;
}

.faq-item {
  min-width: 0;
  overflow: visible;
  border: 0;
  border-bottom: var(--section-divider);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 18px 0;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.auth-validation-popover__message {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::before {
  display: block;
  justify-self: center;
  box-sizing: border-box;
  width: var(--accordion-chevron-box-size);
  height: var(--accordion-chevron-box-size);
  border-right: 3px solid var(--focus-blue);
  border-bottom: 3px solid var(--focus-blue);
  color: var(--focus-blue);
  content: "";
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 220ms ease;
}

.faq-item[open] summary::before {
  content: "";
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 0 22px 46px;
  color: var(--text);
}

.site-footer {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  width: 100%;
  min-width: var(--shell-min-width);
  margin-top: var(--section-block-gap);
  padding: 60px 0 100px;
  border-top: 0;
  background: var(--footer-surface);
  box-shadow: none;
}

.site-footer__decor { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.site-footer__cubes { position:absolute; display:block; width:150px; aspect-ratio:1; right:calc(var(--content-gutter) + 6px); bottom:-19.65px; }
.site-footer__cubes img { display:block; width:100%; height:auto; }

.site-footer__rail {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--heading-copy-cta-gap);
  width: var(--content-rail-width);
  max-width: var(--content-rail-max-width);
  margin: 0 auto;
}

.site-footer__rail > * { position:relative; z-index:1; }

.site-footer__brand {
  min-width: 0;
}

.site-footer__kicker {
  margin: 0 0 var(--kicker-title-gap);
  color: var(--white);
  font-size: var(--type-ui-size);
  font-weight: 800;
  line-height: var(--type-label-line);
  text-transform: none;
}

.site-footer h2 {
  margin: 0;
  color: var(--footer-text);
}

.site-footer__brand p:not(.site-footer__kicker),
.site-footer__copyright {
  color: var(--footer-muted);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.site-footer__brand p:not(.site-footer__kicker) {
  margin: var(--section-label-title-gap) 0 0;
}

.site-footer__contacts {
  display: grid;
  gap: var(--section-label-title-gap);
  min-width: 0;
  font-style: normal;
}

.site-footer__contact-row {
  display: grid;
  gap: var(--metadata-pair-gap);
  min-width: 0;
}

.site-footer__contact-row > span {
  color: var(--footer-muted);
  font-size: var(--type-label-size);
  font-weight: 800;
  line-height: var(--type-label-line);
}

.site-footer__contact-row a,
.site-footer__contact-row strong,
.site-footer__links a {
  min-width: 0;
  color: var(--footer-text);
  font-size: var(--type-body-size);
  font-weight: 800;
  line-height: var(--type-body-line);
}

.site-footer__contact-row a,
.site-footer__links a {
  text-decoration: underline;
  text-decoration-color: var(--footer-underline);
  text-underline-offset: 4px;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease;
}

.site-footer__contact-row a:hover,
.site-footer__contact-row a:active,
.site-footer__contact-row a:focus-visible,
.site-footer__links a:hover,
.site-footer__links a:active,
.site-footer__links a:focus-visible {
  color: var(--focus-blue);
  text-decoration-color: var(--focus-blue);
}

.site-footer__legal {
  display: grid;
  gap: var(--section-label-title-gap);
  min-width: 0;
  align-content: start;
}

.site-footer__links {
  display: grid;
  gap: var(--metadata-pair-gap);
  justify-items: start;
}

.site-footer__copyright {
  margin: 0;
  color: var(--footer-muted);
}

@media (width > 720px) {
  .pricing-grid {
    width: min(430px, calc(100% - 24px));
  }

  .pricing-card {
    padding: 24px;
    padding-bottom: 12px;
  }

  .site-footer__rail {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    grid-template-areas:
      "brand contacts"
      "legal contacts";
    row-gap: var(--section-label-title-gap);
    column-gap: 100px;
  }

  .site-footer__brand {
    grid-area: brand;
  }

  .site-footer__contacts {
    grid-area: contacts;
  }

  .site-footer__legal {
    grid-area: legal;
  }
}

@media (width > 960px) { .site-footer__rail { column-gap:180px; } }
@media (width <= 960px) { .site-footer { padding-top:50px; } }
@media (width <= 720px) { .site-footer { padding-top:44px; padding-bottom:128px; } }

@media (width > 960px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 9fr) minmax(0, 10fr) minmax(0, 9fr);
    gap: 16px;
    width: 100%;
    container-type: inline-size;
    overflow: visible;
    transition: grid-template-columns 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .pricing-grid[data-active-index="0"] {
    grid-template-columns: minmax(0, 10fr) minmax(0, 9fr) minmax(0, 9fr);
  }

  .pricing-grid[data-active-index="2"] {
    grid-template-columns: minmax(0, 9fr) minmax(0, 9fr) minmax(0, 10fr);
  }

  .pricing-card {
    /* Текст не перевёрстывается, пока доли колонок меняются при наведении. */
    width: calc((100cqw - 32px) / 2.8);
    padding: 24px 22px 12px;
    transform: scale(0.9);
    transform-origin: left center;
    transition:
      border-color 220ms ease,
      background-color 220ms ease,
      box-shadow 260ms ease,
      transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .pricing-card.pricing-card--visual-active {
    z-index: 2;
    transform: scale(1);
  }

  .pricing-card__price {
    font-size: 2.45rem;
  }

  .faq-grid {
    align-items: start;
  }

  .site-footer {
    padding-top: var(--content-block-gap);
  }

}

@media (width < 480px) {
  :root {
    --primary-action-max-width: 220px;
  }

  .pricing-grid {
    width: min(330px, calc(100% - 18px));
  }

  .pricing-card {
    padding: var(--card-surface-padding);
    padding-bottom: 11px;
  }



  .site-footer__rail {
    gap: var(--heading-copy-cta-gap);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-action-spinner {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

.menu-toggle:active span,
.menu-toggle:focus-visible span,
.menu-open .menu-toggle span { background: var(--report-blue); }

@media (width > 960px) {
  .pricing-card.pricing-card--visual-active { box-shadow: var(--header-shadow); }
}
@media (width <= 960px) {
  .card-carousel.is-row .pricing-card--selected,
  .card-carousel.is-carousel .pricing-card.is-carousel-active { box-shadow: var(--header-shadow); }
}
@media (width <= 720px) {
  .timeline-variant--center-phases .center-phase-timeline {
    --age-step: 160px;
    grid-template-rows: var(--age-title-row) repeat(9, minmax(var(--age-step), 1fr)) var(--age-tail-row);
  }
  .timeline-variant--center-phases .timeline-window { align-self: start; padding-bottom: 24px; }
  .timeline-variant--center-phases .timeline-window--gap { grid-row: 5 / 8; }
  .timeline-variant--center-phases .timeline-window.timeline-window--fail { grid-row: 8 / 11; }
}
@media (width < 480px) {
  .timeline-variant--center-phases .center-phase-timeline { --age-step: 184px; }
}

.cabinet-shell {
  display: flex;
  flex-direction: column;
  min-width: var(--shell-min-width);
  min-height: var(--app-viewport-height);
  background: var(--purple);
  color: var(--text);
}

.cabinet-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--header-z);
  width: 100%;
  min-width: var(--shell-min-width);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.cabinet-header.is-scrolled {
  background-color: var(--header-surface);
  box-shadow: var(--header-shadow);
}

.cabinet-header__rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell-rail-width);
  max-width: var(--shell-rail-max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  transition: min-height 220ms ease;
}

.cabinet-header.is-scrolled .cabinet-header__rail {
  min-height: var(--header-scrolled-height);
}

.cabinet-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.cabinet-brand img {
  display: block;
  width: auto;
  height: var(--header-logo-height);
  transition:
    height 220ms ease,
    transform 220ms ease;
}

.cabinet-header.is-scrolled .cabinet-brand img {
  height: var(--header-scrolled-logo-height);
}

.cabinet-nav {
  display: none;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.cabinet-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease;
}

.cabinet-nav-action {
  position: relative;
  display: none;
  align-items: center;
  max-width: 190px;
  overflow: visible;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease;
}

.cabinet-logout-form {
  margin: 0;
}

.cabinet-logout-form .cabinet-nav-action,
.mobile-menu .cabinet-mobile-logout {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mobile-menu .cabinet-mobile-logout {
  display: block;
  justify-self: center;
  margin-inline: auto;
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: color 180ms ease;
}

.mobile-menu .cabinet-mobile-logout:hover,
.mobile-menu .cabinet-mobile-logout:active,
.mobile-menu .cabinet-mobile-logout:focus-visible {
  color: var(--focus-blue);
}

.cabinet-nav-action span {
  min-width: 0;
}

.cabinet-nav__link::after,
.cabinet-nav-action::after {
  position: absolute;
  right: 0;
  bottom: calc(0px - var(--desktop-nav-underline-offset));
  left: 0;
  height: var(--button-border-width);
  border-radius: 999px;
  background: var(--focus-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.cabinet-nav__link:hover::after,
.cabinet-nav__link:focus-visible::after,
.cabinet-nav-action:hover::after,
.cabinet-nav-action:focus-visible::after {
  transform: scaleX(1);
}

.cabinet-nav__link:hover,
.cabinet-nav__link:active,
.cabinet-nav__link:focus-visible,
.cabinet-nav-action:hover,
.cabinet-nav-action:active,
.cabinet-nav-action:focus-visible {
  color: var(--focus-blue);
}

.cabinet-main {
  display: grid;
  flex: 0 0 auto;
  gap: 28px;
  width: var(--content-rail-width);
  max-width: var(--content-rail-max-width);
  margin: 0 auto;
  padding: var(--header-height) 0 64px;
}

.cabinet-shell .site-footer {
  margin-top: 0;
}

.cabinet-hero,
.cabinet-section {
  min-width: 0;
}

.cabinet-hero {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.cabinet-hero--profile {
  display: block;
}

.cabinet-hero__copy {
  max-width: 820px;
  padding: 2px 0 0;
}

.cabinet-kicker {
  margin: 0 0 12px;
  color: var(--focus-blue);
  font-size: var(--type-ui-size);
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.cabinet-hero h1,
.cabinet-section__header h2 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.cabinet-hero h1 {
  font-size: 3rem;
  line-height: 1.12;
}

.cabinet-section__header h2,
.screening-task__child-name {
  font-size: 2.2rem;
  line-height: 1.16;
}

.cabinet-hero__summary {
  margin: 14px 0 0;
  color: rgba(45, 44, 76, 0.82);
  font-size: 1.5rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.cabinet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: max-content;
  min-height: var(--header-action-height);
  min-width: min(100%, var(--primary-action-max-width));
  max-width: 100%;
  padding: 8px var(--filled-action-padding-x);
  border: 0;
  border-radius: var(--button-radius);
  background: var(--primary-action-rest);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  white-space: normal;
  transition:
    background-color var(--button-transition),
    color var(--button-transition),
    transform var(--button-transform-transition);
}

.cabinet-button:not(:disabled):hover,
.cabinet-button:not(:disabled):active {
  background: var(--primary-action-interaction);
  color: var(--white);
}

.cabinet-button--secondary {
  background: var(--secondary-action-rest);
  color: var(--white);
}

.cabinet-button--secondary:not(:disabled):hover,
.cabinet-button--secondary:not(:disabled):active {
  background: var(--secondary-action-interaction);
  color: var(--white);
}

.cabinet-button:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 3px;
}

.cabinet-button:disabled,
.cabinet-button:disabled:hover,
.cabinet-button:disabled:active,
.cabinet-button:disabled:focus-visible {
  border: 0;
  background: var(--primary-action-rest);
  color: var(--white);
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.cabinet-button--secondary:disabled,
.cabinet-button--secondary:disabled:hover,
.cabinet-button--secondary:disabled:active,
.cabinet-button--secondary:disabled:focus-visible {
  background: var(--secondary-action-rest);
  color: var(--white);
  opacity: 0.55;
  filter: none;
}

.cabinet-section {
  display: grid;
  gap: 18px;
}

.cabinet-section__header {
  min-width: 0;
}

.cabinet-section__header h2 {
  margin: 0;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--status-chip-surface);
  color: var(--status-chip-text);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.site-result-medical-note {
  width: 100%;
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: var(--type-body-size, 1.15rem);
  font-weight: 600;
  line-height: var(--type-body-line, 1.5);
}

.promo-form {
  display: grid;
  gap: 10px;
}

.promo-form label {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.promo-form input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: var(--intake-control-border);
  border-radius: 40px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.promo-form input:focus {
  border-color: var(--intake-control-border-color);
  outline: 2px solid rgba(27, 145, 247, 0.3);
}

.profile-status-row {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 16px;
}

.profile-parental-notice {
  margin-top: 14px;
}

.profile-parental-action {
  margin-top: 16px;
}

.profile-verification-inline {
  margin-top: 14px;
  max-width: 42rem;
}

.profile-verification-inline p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.profile-verification-inline [data-profile-verification-submit] {
  white-space: nowrap;
}

.profile-section,
.profile-form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.profile-password-form[hidden],
.professional-authority [hidden],
[data-profile-authority][hidden],
.profile-status-message[hidden] {
  display: none;
}

.profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--form-action-gap, 10px);
  align-items: center;
}

.profile-form-actions--cancel-first {
  --form-action-gap: 80px;
  align-items: baseline;
  justify-content: flex-start;
}

/* В строке выравниваем базовые линии подписей, а не SVG или границы кнопок. */
.profile-form-actions--cancel-first > :is(.content-navigation-link, .cta) {
  box-sizing: border-box;
  align-items: baseline;
  min-height: var(--header-action-height);
  padding-block: calc((var(--header-action-height) - var(--cta-font-size)) / 2);
  line-height: 1;
}
.profile-form-actions--cancel-first :is(.navigation-link__icon, .navigation-link__gap, .cta-arrow, .cta-gap) {
  align-self: center;
}

@media (width <= 720px) {
  .profile-form-actions--cancel-first {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 16px;
  }
  .profile-form-actions--cancel-first > :last-child {
    justify-self: end;
    text-align: right;
    min-width: 0;
  }
  .profile-form-actions--cancel-first .content-navigation-link__label {
    overflow-wrap: anywhere;
    line-height: 1.25;
  }
}

.profile-section.profile-settings-section {
  --profile-section-gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  gap: var(--profile-section-gap);
  padding-bottom: var(--profile-section-gap);
  border-bottom: var(--section-divider);
}

.profile-auth-manager.profile-settings-auth {
  max-width: none;
  gap: 36px;
}

.profile-auth-core {
  max-width: 760px;
}

.profile-auth-manager,
.profile-auth-core,
.profile-auth-group,
.profile-auth-method-list,
.profile-auth-method,
.profile-auth-method__connected,
.profile-auth-method__additional,
.profile-auth-credential,
.profile-auth-confirmation {
  display: grid;
  min-width: 0;
}

.profile-auth-manager {
  gap: 28px;
  width: 100%;
  max-width: 760px;
}

.profile-auth-core {
  gap: var(--profile-section-gap, 18px);
}

.profile-auth-group {
  gap: 16px;
}

.profile-auth-method__connected-label,
.profile-auth-confirmation p {
  margin: 0;
}

.profile-auth-method-list {
  gap: 12px;
}

.profile-auth-method {
  gap: 12px;
}

.profile-auth-method__connected-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.profile-auth-method__connected,
.profile-auth-method__additional {
  gap: 14px;
}

.profile-auth-method__connected[hidden],
.profile-auth-method__additional[hidden],
.profile-auth-confirmation[hidden],
.profile-email-reauth[hidden],
.profile-auth-manager button[hidden] {
  display: none;
}

.profile-auth-confirmation p {
  max-width: 660px;
  color: rgba(45, 44, 76, 0.74);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
}

.profile-auth-method[data-profile-auth-method="google.com"]
  [data-profile-auth-disconnect-confirmation]
  > p {
  color: #a81f34;
  font-weight: 800;
}

.profile-auth-credential {
  gap: 8px;
}

.profile-auth-credential > [data-profile-email-start] {
  margin-top: 10px;
}

.profile-auth-email-input[readonly] {
  background: rgba(45, 44, 76, 0.05);
  color: rgba(45, 44, 76, 0.7);
  cursor: default;
}

.profile-auth-credential .cabinet-button,
.profile-auth-method__additional > .cabinet-button,
.profile-auth-confirmation .cabinet-button,
.profile-auth-method__disconnect {
  justify-self: start;
}

.profile-auth-confirmation {
  gap: 14px;
  padding-top: 2px;
}

.profile-email-reauth,
.profile-link-password-form {
  padding-top: 2px;
}

.profile-email-reauth {
  display: grid;
  gap: 14px;
}

.profile-auth-email-state {
  color: var(--red);
}

.profile-status-message {
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: #265c99;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.42;
}

.profile-auth-manager .profile-status-message[data-tone="error"] {
  color: #a81f34;
  font-weight: 800;
}

.profile-provider-pending.auth-provider-pending {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  border-radius: 0;
  outline: none;
}

.profile-provider-pending .auth-provider-pending__content {
  color: var(--text);
}

.profile-provider-pending [data-profile-provider-recovery][hidden] {
  display: none;
}

.profile-provider-pending [data-profile-provider-recovery] {
  justify-self: center;
  margin-top: 4px;
}

body[data-profile-provider-pending="true"] {
  overflow: hidden;
}

.profile-language-control {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 760px;
}

.profile-language-control .language-picker {
  width: 140px;
  min-width: 140px;
}

.cabinet-shell .auth-field-grid {
  grid-template-columns: minmax(0, 1fr);
}

@media (width >= 480px) {
  .cabinet-main {
    gap: 32px;
  }

  .cabinet-hero h1 {
    font-size: 3.6rem;
  }

}

@media (width > 720px) {

  .cabinet-nav-action {
    max-width: 220px;
  }
}

@media (width > 960px) {
  .cabinet-header__rail {
    display: flex;
    gap: 0;
  }

  .cabinet-brand img {
    transform: translateY(-6px);
  }

  .cabinet-header.is-scrolled .cabinet-brand img {
    transform: translateY(-5px);
  }

  .cabinet-nav {
    display: flex;
    position: absolute;
    left: 50%;
    justify-content: center;
    gap: 26px;
    overflow: visible;
    transform: translateX(-50%);
  }

  .cabinet-nav-action {
    display: inline-flex;
    margin-left: auto;
  }

  .cabinet-hero--profile {
    display: block;
  }

  .cabinet-hero h1 {
    font-size: 4.2rem;
  }

}

@media (width > 1280px) {
  .cabinet-main {
    gap: 36px;
  }

  .cabinet-hero h1 {
    font-size: 4.8rem;
  }

}

@media (width < 480px) {
  .cabinet-hero h1 {
    font-size: 2.8rem;
  }

}

/* Cabinet v4 сохраняет токены landing и выводит на первый план одну задачу родителя. */
.cabinet-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: calc(var(--header-z) + 10);
  padding: 10px 14px;
  border: 2px solid var(--focus-blue);
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  transform: translateY(-160%);
}

.cabinet-skip-link:focus {
  outline: var(--intake-control-focus-outline);
  transform: translateY(0);
}

.cabinet-shell--v4 .cabinet-header__rail {
  gap: 10px;
}

.cabinet-shell--v4 .mobile-header-controls {
  margin-left: 0;
}

.cabinet-nav__link[aria-current="page"] {
  color: var(--focus-blue);
}

.cabinet-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.cabinet-shell--v4 .cabinet-main {
  gap: 36px;
  padding-bottom: 72px;
}

.cabinet-shell--v4 .cabinet-main:has(> .billing-purchase-section) {
  gap: var(--section-title-copy-gap);
}

.cabinet-page-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.cabinet-page-head .cabinet-kicker {
  margin: 0;
}

.cabinet-page-head h1,
.cabinet-page-title {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
}

.cabinet-v3-section {
  min-width: 0;
}

.cabinet-v3-section__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cabinet-v3-section {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.cabinet-v3-section__heading {
  align-items: end;
}

.cabinet-v3-section__copy {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

.cabinet-v3-section__copy h2,
.cabinet-page-head h2,
.cabinet-page-title,
.cabinet-hero--profile h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.cabinet-v3-section__copy p,
.cabinet-card__guide {
  margin: 0;
  color: rgba(45, 44, 76, 0.76);
  font-size: 1.45rem;
  line-height: 1.5;
}

.cabinet-empty-state {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 680px;
}

.auth-field__hint {
  margin: 0;
  color: rgba(45, 44, 76, 0.64);
  font-size: 1.2rem;
  line-height: 1.4;
}

.cabinet-empty-state h2,
.cabinet-empty-state h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.cabinet-empty-state p,
.cabinet-result-summary > p {
  margin: 0;
  color: rgba(45, 44, 76, 0.78);
  font-size: 1.45rem;
  line-height: 1.5;
}

.cabinet-fact-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.cabinet-fact-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cabinet-fact-list dt,
.cabinet-fact-list dd {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.4;
}

.cabinet-fact-list dt {
  color: rgba(45, 44, 76, 0.64);
}

.cabinet-fact-list dd {
  font-weight: 800;
  text-align: right;
}

.billing-plan-form,
.billing-promo-form,
.billing-checkout-form {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.billing-notice {
  max-width: 720px;
}

.billing-notice {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(45, 44, 76, 0.16);
  border-bottom: var(--section-divider);
}

.billing-notice h2,
.billing-notice p {
  margin: 0;
}

.billing-notice h2 {
  color: var(--text);
  font-size: var(--type-title-lg-size);
  line-height: var(--type-title-lg-line);
}

.billing-notice p {
  color: rgba(45, 44, 76, 0.72);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.billing-notice--attention h2 {
  color: var(--red);
}

.billing-promo-form[aria-busy="true"] input {
  cursor: wait;
}

.billing-promo-form .auth-field {
  min-width: 0;
}

.billing-plan-form {
  width: 100%;
  min-width: min(100%, var(--primary-action-max-width));
}

.billing-purchase-section {
  gap: var(--section-title-copy-gap);
  padding-top: 0;
}

.billing-plan-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.billing-plan-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--fixed-card-width));
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cabinet-card.billing-plan-option {
  position: relative;
  display: flex;
  place-items: stretch;
  min-width: 0;
  min-height: 0;
  padding: calc(var(--offer-edge,12px) + 9px) var(--card-surface-padding) var(--offer-edge,12px);
  overflow-wrap: anywhere;
  border: 0;
  border-radius: var(--card-surface-radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--control-shadow);
  cursor: pointer;
}

.billing-plan-option:hover,
.billing-plan-option:focus-within {
  z-index: 1;
  background: var(--white);
}

.billing-plan-option:hover .billing-plan-option__heading strong,
.billing-plan-option:focus-within .billing-plan-option__heading strong,
.billing-plan-option:hover .billing-plan-option__price,
.billing-plan-option:focus-within .billing-plan-option__price {
  color: var(--report-blue);
}

.billing-plan-option:has(.billing-plan-radio:checked) {
  z-index: 2;
  background: var(--white);
  box-shadow: var(--control-shadow);
}

.billing-plan-option:has(.billing-plan-radio:checked):hover,
.billing-plan-option:has(.billing-plan-radio:checked):focus-within,
.billing-plan-option:has(.billing-plan-radio:checked):active {
  background: var(--white);
}

.billing-plan-option:has(.billing-plan-radio:checked) .billing-plan-option__price {
  color: var(--focus-blue);
}

.billing-plan-option:has(.billing-plan-radio:focus-visible) {
  outline: var(--intake-control-focus-outline);
  outline-offset: 3px;
}

.billing-plan-option:has(.billing-plan-radio:disabled) {
  background: var(--blue);
  cursor: not-allowed;
  opacity: 0.55;
}

.billing-plan-option:has(.billing-plan-radio:disabled) .billing-plan-option__heading strong,
.billing-plan-option:has(.billing-plan-radio:disabled) .billing-plan-option__price {
  color: var(--text);
}

.billing-plan-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.billing-plan-option__body {
  display: flex;
  flex-direction: column;
  align-content: start;
  height: 100%;
  min-width: 0;
}

.billing-record-row__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
}

.billing-plan-option__heading {
  grid-row: 1;
  min-width: 0;
  text-align: center;
}

.billing-plan-option__heading strong,
.billing-record-row h3,
.billing-order-panel__heading h2 {
  margin: 0;
  font-size: var(--type-card-title-size);
  font-weight: 800;
  line-height: var(--type-card-title-line);
}

.billing-plan-option__heading strong {
  display: block;
  color: var(--focus-blue);
  text-align: center;
  transition: color 500ms ease;
}

.billing-plan-option__price {
  grid-row: 5;
  align-self: end;
  margin: 0;
  color: var(--focus-blue);
  font-size: var(--type-title-lg-size);
  font-weight: 800;
  line-height: var(--type-title-lg-line);
  text-align: center;
  transition: color 500ms ease;
}

.billing-plan-option__summary {
  grid-row: 2;
  display: block;
  min-height: var(--card-offer-summary-height, auto);
  margin-top: var(--section-label-title-gap);
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.billing-plan-option__features {
  grid-row: 3;
  display: grid;
  gap: 12px;
  align-self: start;
  align-content: start;
  margin: 24px 0;
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.billing-plan-option__note {
  grid-row: 4;
  margin-bottom: 16px;
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-body);
  line-height: var(--type-body-line);
}

.billing-promo-form {
  max-width: 100%;
}

.billing-promo-form .profile-status-message,
.billing-order-panel .profile-status-message {
  max-width: none;
}

.billing-order-breakdown {
  display: grid;
  gap: var(--section-label-title-gap);
  margin: 0;
}

.billing-order-breakdown > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.billing-order-breakdown dt,
.billing-order-breakdown dd {
  margin: 0;
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.billing-order-breakdown dt {
  color: rgba(45, 44, 76, 0.64);
}

.billing-order-breakdown dd {
  color: var(--text);
  text-align: right;
}

.billing-order-breakdown .billing-order-promo {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.billing-order-promo dd {
  min-width: 0;
  text-align: left;
}

.billing-order-stack,
.billing-order-panel,
.billing-recovery .cabinet-fact-list {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

[data-billing-purchase][hidden],
[data-billing-order-stack][hidden] {
  display: none;
}

.billing-order-stack {
  display: grid;
}

.billing-order-panel {
  grid-row: 1;
  grid-column: 1;
  padding-top: 0;
}

.billing-order-panel[hidden] {
  display: grid;
  visibility: hidden;
  pointer-events: none;
}

@supports (grid-template-rows: subgrid) {
  .billing-order-stack {
    grid-template-rows: repeat(3, auto);
  }

  .billing-order-stack > .billing-order-panel {
    grid-row: 1 / span 3;
    grid-template-rows: subgrid;
  }
}

.billing-order-panel__heading {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.billing-order-panel__heading .cabinet-kicker,
.billing-record-row h3,
.billing-record-row p {
  margin: 0;
}

.billing-record-row p {
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.35rem;
  line-height: 1.5;
}

.billing-recipient {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.screening-start-options__copy {
  margin: 0;
  color: var(--text);
  font-family: var(--font-family);
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-body);
  line-height: var(--type-body-line);
}


.billing-checkout-form {
  max-width: 620px;
}

.billing-checkout-pending {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 0;
  background: rgba(244, 246, 255, 0.84);
  backdrop-filter: blur(3px);
}

.billing-checkout-pending[hidden] {
  display: none;
}

.billing-checkout-pending__content {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 360px);
  color: var(--text);
  text-align: center;
}

.billing-checkout-pending__content p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.42;
}

.billing-purchase-section[aria-busy="true"] [data-billing-purchase-control-group] {
  opacity: 0.52;
  filter: blur(1.2px);
  pointer-events: none;
  user-select: none;
}

body[data-billing-checkout-pending="true"] {
  overflow: hidden;
}

.billing-purchase-section .profile-status-message[data-tone="error"] {
  color: #a81f34;
}

.billing-checkout-form .cabinet-button {
  align-self: start;
  justify-self: start;
}


.billing-records {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 920px;
}

.billing-records__group {
  min-width: 0;
  overflow: visible;
  border: 0;
  border-bottom: var(--section-divider);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.billing-records__group summary {
  position: relative;
  display: grid;
  grid-template-columns: var(--disclosure-marker-track) minmax(0, 1fr);
  gap: var(--metadata-pair-gap) var(--section-label-title-gap);
  align-items: center;
  min-width: 0;
  padding: 18px 0;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.billing-records__group summary::-webkit-details-marker {
  display: none;
}

.billing-records__group summary::marker {
  content: "";
}

.billing-records__group summary::before {
  grid-row: 1 / span 2;
  display: block;
  justify-self: start;
  width: 18px;
  height: 18px;
  background: var(--focus-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M1.5 1.5 9 9 1.5 16.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M1.5 1.5 9 9 1.5 16.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 220ms ease;
}

.billing-records__group[open] summary::before {
  transform: rotate(90deg);
}

.billing-records__group summary > strong {
  grid-column: 2;
  font-size: var(--type-card-title-size);
  font-weight: var(--font-weight-heading);
  line-height: var(--type-card-title-line);
}

.billing-records__group summary > span:not(.status-chip) {
  grid-column: 2;
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-body);
  line-height: var(--type-body-line);
}

.billing-records__group summary > .status-chip {
  grid-column: 2;
  justify-self: start;
}

.billing-order-history__body p {
  margin: 0;
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-body);
  line-height: var(--type-body-line);
}

.billing-record-list {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0 0 22px 46px;
  list-style: none;
}

.billing-record-row {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.billing-record-row:last-child {
  border-bottom: 0;
}

.billing-record-row .cabinet-fact-list {
  border-top: 0;
}

.billing-record-row.billing-record-row--adjustment,
.billing-record-row.billing-record-row--receipt {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--section-label-title-gap);
  padding: 18px 0;
  border-bottom-color: rgba(45, 44, 76, 0.16);
}

.billing-record-row--adjustment .billing-record-row__heading,
.billing-record-row--receipt .billing-record-row__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--metadata-pair-gap);
  align-items: start;
  justify-content: normal;
  justify-items: start;
}

.billing-record-row--adjustment .billing-record-row__heading > div,
.billing-record-row--receipt .billing-record-row__heading > div {
  display: grid;
  gap: var(--metadata-pair-gap);
  min-width: 0;
}

.billing-record-row .billing-record-row__child-name {
  display: block;
  font-size: var(--type-title-lg-size);
  font-weight: 800;
  line-height: var(--type-title-lg-line);
}

.billing-record-row--receipt .billing-record-row__heading .status-chip {
  margin-top: 0;
}

.billing-record-row--adjustment .cabinet-fact-list,
.billing-record-row--receipt .cabinet-fact-list {
  gap: var(--section-label-title-gap);
}

.billing-record-row--adjustment .cabinet-fact-list > div,
.billing-record-row--receipt .cabinet-fact-list > div {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--metadata-pair-gap);
  padding: 0;
  border-bottom: 0;
}

.billing-record-row--adjustment .cabinet-fact-list dd,
.billing-record-row--receipt .cabinet-fact-list dd {
  text-align: left;
}

.billing-record-row__receipt-action {
  justify-self: start;
}

@media (width < 480px) {
  .cabinet-v3-section__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .billing-recovery .cabinet-fact-list > div,
  .billing-record-row .cabinet-fact-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--metadata-pair-gap);
  }

  .billing-recovery .cabinet-fact-list dd,
  .billing-record-row .cabinet-fact-list dd {
    text-align: left;
  }
}


@media (width > 720px) {
  .billing-record-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    align-items: start;
    gap: 18px 28px;
  }

}


/* Children/report v4: новые селекторы отвечают только за семантическую раскладку. */
.cabinet-v4-section,
.cabinet-result-summary,
.child-delete-flow__panel {
  display: grid;
  min-width: 0;
}

.cabinet-v4-section {
  gap: 22px;
  width: 100%;
}

.cabinet-result-summary {
  gap: 16px;
  width: 100%;
  max-width: 720px;
}

.cabinet-result-summary h2 {
  margin: 0;
}

.cabinet-result-summary h2 {
  font-size: var(--type-title-lg-size);
  font-weight: 800;
  line-height: var(--type-title-lg-line);
}

.screening-task-list {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.screening-task-list__item {
  min-width: 0;
}

.screening-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  border-bottom: var(--section-divider);
}

.screening-task__summary {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 18px 0;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.screening-task__summary::-webkit-details-marker {
  display: none;
}

.screening-task__summary::marker {
  content: "";
}



.screening-task__child-name {
  grid-column: 2;
  grid-row: 1;
  font-weight: 800;
}

.screening-task__summary::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  align-self: center;
  justify-self: start;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--focus-blue);
  border-bottom: 3px solid var(--focus-blue);
  content: "";
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 220ms ease;
}

.screening-task[open] .screening-task__summary::before {
  transform: rotate(45deg);
}

.screening-task__summary:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 4px;
}

.screening-task__body,
.screening-task__facts,
.screening-task__facts > div,
.screenings-child-directory {
  display: grid;
  min-width: 0;
}

.screening-task__description {
  margin: 0;
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

.screening-task__body {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 22px 46px;
}

.screening-task__facts {
  gap: 14px;
  margin: 0;
}



.screening-task-list .screening-task__facts {
  gap: 8px;
}

.screening-task__facts > div {
  gap: 4px;
}

.screening-task__facts dt,
.screening-task__facts dd {
  margin: 0;
  text-align: left;
}

.screening-task__facts dt {
  color: rgba(45, 44, 76, 0.64);
  font-size: 1.3rem;
  line-height: 1.4;
}

.screening-task__facts dd {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.4;
}

.screenings-child-directory {
  gap: 36px;
}

.screenings-add-child {
  width: max-content;
  max-width: 100%;
  justify-self: start;
  white-space: normal;
}

.cabinet-series-history__body {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 0 0 22px 46px;
}

.cabinet-series-history__body .billing-record-list {
  padding: 0;
}

.site-screening-history,
.site-result-locked,
.site-result-session-list,
.site-result-locked__list {
  width: 100%;
  max-width: 920px;
}

.site-result-session-list,
.site-result-locked__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-result-session-list li,
.site-result-locked__list li {
  padding: 16px 0;
  border-bottom: var(--section-divider);
}

.site-result-locked__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
  gap: 24px;
  align-items: center;
}

.site-result-session {
  width: 100%;
  border-bottom: 0;
}

.site-result-session .screening-task__summary {
  padding: 0;
}

.site-result-session .screening-task__summary::before {
  grid-row: 1;
}

.site-result-session .screening-task__body {
  padding-bottom: 0;
}

.site-result-session-list--trial .screening-task__summary {
  grid-template-rows:max-content max-content;
  align-content:start;
  row-gap:0;
}
.site-result-session-list--trial summary > time { grid-area:1 / 2; }
.site-result-session-list--trial summary > strong { grid-area:2 / 2; }
.site-result-session-list--trial .screening-task__summary::before { grid-area:2 / 1; }
/* Центр видимых граней повёрнутого шеврона смещён относительно его коробки. */
.site-result-session-list--trial details[open] > summary::before { translate:0 -4.6px; }
.site-result-session-list--trial .screening-task__body { padding-block:var(--compact-pair-gap) 0; }

.site-result-session-list time {
  color: rgba(45, 44, 76, 0.66);
  font-size: var(--type-label-size);
  font-weight: 700;
  line-height: var(--type-label-line);
  text-align: left;
}

.site-result-locked__placeholder {
  width: min(132px, 100%);
  height: 1em;
  justify-self: end;
  border-radius: var(--intake-control-radius);
  background: var(--line);
  filter: blur(4px);
}

@media (width < 480px) {
  .site-result-locked__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .site-result-locked__placeholder {
    justify-self: start;
  }
}

.child-questionnaire-form {
  gap: 28px;
  max-width: 760px;
}

.child-questionnaire-form .auth-field label:not(.sr-only),
.child-questionnaire-form .child-birth-date > legend {
  color: var(--text);
  font-size: var(--type-body-size);
  font-weight: 600;
  line-height: var(--type-body-line);
}

@media (480px <= width <= 720px) {
  .child-questionnaire-form .auth-field { width: 100%; max-width: 370px; }
}

@media (width > 720px) {
  .child-questionnaire-form .auth-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.child-birth-date {
  container: child-birth-date / inline-size;
  min-width: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Query container в Safari может изолировать слои потомков. Поднимаем всё
   поле даты на время выбора, чтобы следующие controls не закрывали listbox. */
.child-birth-date:has(.intake-custom-select[data-open="true"]) {
  position: relative;
  z-index: 1;
}

.child-birth-date > legend {
  padding: 0;
  margin-bottom: 8px;
  white-space: nowrap;
}

.child-birth-date__parts {
  display: none;
  grid-template-columns: 80px minmax(136px, 1fr);
  gap: 10px;
  min-width: 0;
}

.child-birth-date__part:last-child {
  grid-column: 1 / -1;
}

.child-birth-date[data-enhanced="true"] .child-birth-date__native {
  display: none;
}

.child-birth-date[data-enhanced="true"] .child-birth-date__parts {
  display: grid;
}

.child-birth-date__part {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.child-birth-date-select .intake-custom-select-button {
  min-width: 0;
  max-width: 100%;
  padding-inline: 8px 28px;
  white-space: nowrap;
}
.child-birth-date-select { min-width: 0; }
.child-birth-date-select .intake-custom-select-option { white-space: nowrap; }
.child-birth-date-select .intake-custom-select-button::after { right: 8px; }

@media (width >= 480px) {
  @container child-birth-date (width >= 332px) {
    .child-birth-date__parts {
      grid-template-columns: 80px minmax(136px, 1fr) 96px;
    }

    .child-birth-date__part:last-child {
      grid-column: auto;
    }
  }
}

.intake-consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.intake-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.35rem;
  line-height: 2rem;
}

.intake-checkbox {
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: var(--intake-control-border);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  appearance: none;
}

.intake-checkbox:checked {
  border-color: var(--focus-blue);
  background: var(--focus-blue);
}

.intake-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.intake-checkbox[aria-invalid="true"] {
  border-color: var(--red);
}

.intake-checkbox:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 3px;
}

.intake-checkbox[aria-invalid="true"]:focus-visible {
  outline: var(--intake-control-invalid-focus-outline);
}

.intake-consent-copy {
  min-width: 0;
}

.intake-consent-link {
  color: var(--focus-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(27, 145, 247, 0.34);
  text-underline-offset: 4px;
}

.auth-field__error,
.auth-error-summary {
  margin: 0;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
}

.auth-error-summary {
  display: grid;
  gap: 8px;
}

.auth-error-summary p {
  margin: 0;
}

.child-delete-section {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding-top: var(--section-title-copy-gap);
}

.child-delete-flow__panel h3,
.child-delete-flow__panel p {
  margin: 0;
}

.child-delete-flow__panel h3 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.child-delete-flow__panel > .profile-form > p {
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.35rem;
  line-height: 1.5;
}

.child-delete-flow__panel {
  gap: 18px;
}

.child-delete-flow__actions {
  gap: var(--form-action-gap, 20px);
}

.child-delete-flow__panel[hidden],
.child-delete-flow__panel .profile-form[hidden] {
  display: none;
}

.child-questionnaire-form .auth-field-grid {
  align-items: start;
}

/* Canonical report: mobile-first HTML-проекция immutable series-report-v8. */
.cabinet-series-report-head {
  gap: 16px;
  width: 100%;
  max-width: 920px;
}

.cabinet-series-report-head h1 {
  color: var(--text);
}

.cabinet-series-report-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.cabinet-series-report-head__date {
  color: rgba(45, 44, 76, 0.68);
  font-size: var(--type-label-size);
  font-weight: 700;
  line-height: var(--type-label-line);
}

.cabinet-series-report-head .screening-progress {
  width: min(100%, 420px);
}

.cabinet-series-status {
  max-width: 920px;
}

.cabinet-series-status__result-chip {
  justify-self: start;
}

.cabinet-series-status__risk-value {
  margin: 0;
}

.cabinet-series-status__risk-value--low {
  color: var(--risk-low);
}

.cabinet-series-status__risk-value--medium {
  color: var(--risk-medium);
}

.cabinet-result-summary .cabinet-series-status__risk-value--medium {
  color: var(--risk-medium);
}

.cabinet-series-status__risk-value--high {
  color: var(--risk-high);
}

.cabinet-series-status__risk-value--unknown {
  color: var(--risk-unknown);
}

.cabinet-report-metric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
  width: 100%;
  max-width: 920px;
  margin: 0;
}

.cabinet-report-metric-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--header-shadow);
  color: var(--text);
  text-align: left;
}

.cabinet-report-metric-card dt,
.cabinet-report-metric-card dd {
  margin: 0;
}

.cabinet-report-metric-card__label {
  display: flex;
  align-items: center;
  min-height: calc(2em * 1.25);
  padding: 0;
  color: var(--text);
  font-size: var(--type-label-size);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cabinet-report-metric-card__measurement {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: var(--text);
  font-size: var(--type-title-lg-size);
  font-weight: 800;
  line-height: var(--type-title-lg-line);
}

.cabinet-report-metric-card__value--green,
.cabinet-report-metric-card__value--low {
  color: var(--risk-low);
}

.cabinet-report-metric-card__value--yellow,
.cabinet-report-metric-card__value--medium {
  color: var(--risk-medium);
}

.cabinet-report-metric-card__value--red,
.cabinet-report-metric-card__value--high {
  color: var(--risk-high);
}

.cabinet-report-metric-card__value--neutral {
  color: var(--text);
}

.cabinet-report-metric-card__value--unknown {
  color: var(--text);
}

.cabinet-report-metric-card__caption {
  display: grid;
  gap: 4px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.42;
}

.cabinet-session-comparison__explanation {
  max-width: 720px;
}

.series-page-summary {
  max-width: 100%;
}

.series-page-summary__highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 680px;
  margin: 0;
}

.series-page-summary__highlights > div {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--header-shadow);
}

.series-page-summary__highlights dt,
.series-page-summary__highlights dd {
  margin: 0;
  font-size: var(--type-label-size);
  line-height: 1.4;
}

.series-page-summary__highlights dt {
  color: rgba(45, 44, 76, 0.68);
}

.series-page-summary__highlights dd {
  font-weight: 800;
  text-align: left;
}

.series-page-summary__region {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-bottom: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}

.series-page-summary__region:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 4px;
}

.series-page-summary__table {
  width: 100%;
  min-width: 420px;
  margin: 0;
  border-spacing: 0;
  border-collapse: separate;
  color: var(--text);
  font-size: var(--type-axis-size);
  line-height: 1.35;
  table-layout: fixed;
}

.series-page-summary__table--4-columns {
  min-width: 560px;
}

.series-page-summary__table--5-columns {
  min-width: 700px;
}

.series-page-summary__table th,
.series-page-summary__table td {
  min-width: 0;
  padding: 12px;
  border-bottom: 1px solid #e7edf4;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.series-page-summary__table thead th {
  background: #f3f7ff;
  color: #3965d5;
  font-weight: 800;
}

.series-page-summary__table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 82px;
  background: var(--white);
  font-weight: 800;
}

.series-page-summary__table thead th:first-child {
  z-index: 2;
  background: #f3f7ff;
}

.series-page-summary__cell dl,
.series-page-summary__cell p {
  margin: 0;
}

.series-page-summary__cell dl {
  display: grid;
  gap: 10px;
}

.series-page-summary__cell dl > div {
  display: grid;
  gap: 2px;
}

.series-page-summary__cell dt,
.series-page-summary__cell dd {
  font-size: var(--type-axis-size);
  line-height: 1.35;
}

.series-page-summary__cell dt {
  color: rgba(45, 44, 76, 0.68);
}

.series-page-summary__cell dd {
  margin: 0;
  font-weight: 800;
  text-align: left;
}

.series-page-summary__primary-metric dd {
  font-size: var(--type-label-size);
  line-height: var(--type-label-line);
}

.series-page-summary__cell.series-page-summary__primary-metric {
  font-size: var(--type-label-size);
  font-weight: 800;
  line-height: var(--type-label-line);
}

.series-page-summary__cell--green .series-page-summary__primary-metric dd,
.series-page-summary__cell--low .series-page-summary__primary-metric dd,
.series-page-summary__cell.series-page-summary__primary-metric.series-page-summary__cell--low {
  color: var(--risk-low);
}

.series-page-summary__cell--yellow .series-page-summary__primary-metric dd,
.series-page-summary__cell--medium .series-page-summary__primary-metric dd,
.series-page-summary__cell.series-page-summary__primary-metric.series-page-summary__cell--medium {
  color: var(--risk-medium);
}

.series-page-summary__cell--red .series-page-summary__primary-metric dd,
.series-page-summary__cell--high .series-page-summary__primary-metric dd,
.series-page-summary__cell.series-page-summary__primary-metric.series-page-summary__cell--high {
  color: var(--risk-high);
}

.series-page-summary__cell--unknown .series-page-summary__primary-metric dd,
.series-page-summary__cell.series-page-summary__primary-metric.series-page-summary__cell--unknown {
  color: #667085;
}

.cabinet-map-status {
  margin: 0;
}

.cabinet-map-status {
  color: rgba(45, 44, 76, 0.72);
  font-size: 1.35rem;
  line-height: 1.5;
}

/* Cabinet v5: единая семантика профиля, series progress и page coverage. */
.child-profile-overview,
.screening-progress,
.screening-progress__heading,
.screening-progress__segments {
  display: grid;
  min-width: 0;
}

.child-profile-overview { width: 100%; align-items: start; }

.child-profile-edit-action {
  justify-self: start;
}

.screening-progress {
  gap: 8px;
  width: 100%;
  max-width: var(--screening-series-progress-width);
  color: var(--text);
}

.screening-progress--compact,
.screening-progress--bar {
  gap: 6px;
  max-width: var(--screening-series-progress-width);
}

.screening-progress__heading {
  display: block;
}

.screening-progress .screening-progress__value {
  display: block;
  min-width: 0;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.screening-progress__segments {
  display: flex;
  gap: 6px;
  width: 100%;
}

.screening-progress__segment {
  flex: 1 1 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(27, 145, 247, 0.12);
}

.screening-progress--compact .screening-progress__segment,
.screening-progress--bar .screening-progress__segment,
.screening-progress--pages .screening-progress__segment {
  height: 6px;
}

.screening-progress--pages.screening-progress--incomplete .screening-progress__value {
  color: var(--focus-blue);
}

.screening-progress--pages.screening-progress--incomplete .screening-progress__segment.is-complete {
  background: var(--state-success);
}

.screening-progress--pages.screening-progress--complete .screening-progress__value {
  color: var(--status-chip-text);
}

.screening-progress--pages.screening-progress--complete .screening-progress__segment.is-complete {
  background: var(--status-chip-text);
}

.screening-progress--series .screening-progress__segment.is-pending { background:var(--focus-blue); }
.screening-progress--series .screening-progress__segment.is-risk-low { background:var(--risk-low); }
.screening-progress--series .screening-progress__segment.is-risk-medium { background:var(--risk-medium); }
.screening-progress--series .screening-progress__segment.is-risk-high { background:var(--risk-high); }

.screening-progress--pages {
  max-width: var(--screening-series-progress-width);
}

@media (width >= 480px) {
  .cabinet-report-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-page-summary__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (width > 960px) {
  .cabinet-report-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .child-profile-overview {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cabinet-skip-link,
  .screening-task__summary::before {
    transition: none;
  }
}

.screening-guided-start {
  width: 100%;
  max-width: 720px;
}

.screening-guided-start,
.screening-readiness {
  display: grid;
  gap: 20px;
}

.screening-trial-alternatives {
  /* 252px — FR «Commencer le dépistage», +46px поверхность, +8px запас. */
  --fixed-card-width: 306px;
  width: 100%;
  min-width: 0;
}

.screening-start-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--fixed-card-width));
  justify-content: start;
  align-items: stretch;
  gap: 20px;
}

.screening-start-options .cabinet-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  height: auto;
  box-shadow: var(--control-shadow);
}

.screening-start-options .cta {
  margin-top: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.screening-trial-card__title {
  display: block;
  min-width: 0;
  max-width: 100%;
  height: 1lh;
  min-height: 1lh;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screening-trial-card[data-screening-start-kind="new-profile"] .screening-trial-card__title {
  display: block;
  height: auto;
  white-space: normal;
  overflow: visible;
}

.screening-trial-card.is-carousel-active {
  box-shadow: var(--header-shadow);
}

.screening-readiness h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.screening-guided-start__actions {
  display: grid;
  gap: 16px;
  align-items: center;
}

@media (width >= 480px) {
  .screening-guided-start__actions {
    grid-template-columns: var(--primary-action-max-width) minmax(0, 1fr);
  }
}

.billing-purchased-plans {
  scroll-margin-top: max(var(--header-height), var(--header-scrolled-height));
}

.billing-assignment-form,
.billing-finance-summary,
.billing-promo-form {
  display: grid;
  gap: 12px;
}

/* Открытые функциональные карточки используют поверхность mobile pricing. */
.cabinet-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  min-width: 0;
  max-width: none;
  align-items: stretch;
}

.cabinet-card {
  display: grid;
  align-content: start;
  gap: 16px;
  height: 100%;
  min-width: 0;
  padding: var(--card-surface-padding);
  border: 1px solid transparent;
  border-radius: var(--card-surface-radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--header-shadow);
  overflow-wrap: anywhere;
}

.cabinet-card__header,
.cabinet-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.cabinet-card__header .status-chip { justify-self: start; }
.cabinet-card__title { margin: 0; font-weight: 800; }
.cabinet-card__title.screening-task__child-name { grid-column: auto; grid-row: auto; }

@media (width > 720px) {
  .cabinet-card-grid { grid-template-columns: repeat(auto-fill, var(--fixed-card-width)); }
}

.billing-finance-summary {
  align-content: start;
}

.billing-assignment-form .auth-field,
.billing-promo-form .auth-field {
  margin: 0;
}

.billing-records__group > summary:focus-visible {
  outline: var(--intake-control-focus-outline);
  outline-offset: 4px;
}

.billing-repeat-purchase {
  list-style: none;
  display: grid;
  gap: 24px;
}




/* Профиль и история: утверждённая композиция, общие интервалы из design/components/compact-groups.css. */
.child-profile {
  --child-profile-section-gap:var(--section-title-copy-gap);
  --child-profile-action-card-width:298px;
  --child-profile-plan-heading-gap:3px;
  width:100%;
  min-width:0;
}
.child-profile p,.child-profile dl,.child-profile dd { margin:0; }
.child-profile .child-profile-overview { display:grid; grid-template-columns:minmax(0,420px) var(--child-profile-action-card-width); gap:var(--section-label-title-gap); justify-content:start; }
.child-profile-current,.child-profile-plan-progress,.child-profile-identity { display:grid; grid-template-columns:minmax(0,1fr); align-self:start; min-width:0; }
.child-profile-plan-name { font-size:var(--type-card-title-size); font-weight:var(--font-weight-heading); line-height:var(--type-card-title-line); }
.child-profile-identity h1 { margin:0; }
.child-display-name { display:block; min-width:0; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.billing-recipient .child-display-name { display:inline-block; vertical-align:bottom; }
.child-profile-risk { display:grid; }
.child-profile-risk > div { display:grid; }
.child-profile-action-card { width:var(--child-profile-action-card-width); height:auto; align-self:start; justify-self:start; align-content:start; gap:18px; box-shadow:var(--control-shadow); grid-template-columns:minmax(0,1fr); }
.child-profile-action-card > .status-chip { justify-self:start; max-width:100%; }
.child-profile-card-description,.screening-child-card .screening-card-description { display:grid; align-content:center; gap:var(--section-label-title-gap); min-width:0; }
.child-profile-action-card .child-profile-card-description { align-content:start; gap:var(--compact-pair-gap); }
.child-profile-card-description > p { width:100%; min-width:0; overflow-wrap:normal; }
.child-profile-card-description > .content-navigation-link,.screening-card-description > .content-navigation-link { justify-self:start; max-width:100%; }
.child-profile-card-actions { display:grid; align-content:start; justify-items:start; gap:var(--card-surface-padding); min-width:0; }
.child-profile-action-card .child-profile-card-actions { margin-block-start:2px; }
.child-profile-card-description:has([data-child-card-continuation-action]) + .child-profile-card-actions { margin-block-start:-9px; }
.child-profile-card-actions:empty { display:none; }
.child-profile-primary-action { width:100%; }
.screening-child-card { height:auto; }
.child-profile-practice { display:grid; gap:12px; max-width:720px; margin-top:var(--child-profile-section-gap); }
.child-profile-history { margin-top:var(--child-profile-section-gap); }
.child-profile-assessments { display:grid; padding:8px 0 24px var(--disclosure-content-inset); }
.child-profile-assessment { display:grid; min-width:0; }
.child-profile-assessment-heading { display:flex; color:var(--text); }
.child-profile-assessment-heading > h3 { color:var(--text); font-size:var(--type-body-size); font-weight:var(--font-weight-bold); }
.child-profile-assessment-progress,.child-profile-assessment-result { display:grid; min-width:0; }
.child-profile-assessment-count { white-space:nowrap; }
.child-profile-assessment-progress .screening-progress { max-width:var(--screening-series-progress-width); }
.child-profile-report-links { display:grid; justify-items:start; align-content:start; }
.child-profile-report-links > .cta { width:fit-content; max-width:100%; }
.child-profile-sessions { display:grid; align-content:start; min-width:0; }
.child-delete-section { margin-top:28px; }
@media(width <=720px) {
  .child-profile .child-profile-overview { grid-template-columns:minmax(0,1fr); row-gap:var(--child-profile-section-gap); }
  .child-profile-action-card { margin-inline-start:min(0px,calc((100% - var(--child-profile-action-card-width)) / 2)); }
}
.child-profile .child-profile-risk > div { gap:var(--compact-pair-gap); }
.child-profile-current { gap:50px; }
.child-profile-plan-progress { gap:var(--child-profile-plan-heading-gap); }
.child-profile-plan-progress > .compact-navigation { margin-block-start:7px; }
.child-profile-identity { gap:var(--compact-heading-gap); }
.child-profile-identity > .child-profile-age { margin-block-start:-2px; }
.child-profile-age + .compact-navigation { margin-block-start:1px; }
.child-profile-identity > .child-profile-risk { margin-block-start:16px; }
.child-profile .screening-card-progress { gap:var(--compact-pair-gap); }
.child-profile-age { line-height:var(--compact-line); }
.child-profile-risk dd,.child-profile-risk dd strong { line-height:1; }
.child-profile-risk dd { margin-block-start:-2px; }
@media(width <=720px) {
  .child-profile-risk dd { margin-block-start:-4px; }
}

.child-profile-history .child-profile-history-group > summary { row-gap:0; }
.child-profile-history .child-profile-history-group > summary::before { grid-area:1 / 1; }
.child-profile-history .child-profile-history-group > .child-profile-history-summary--dated::before { grid-row:2; }
.child-profile-history .child-profile-history-group[open] > summary { padding-block-end:0; }
.child-profile-history-dates,.child-profile-assessment-summary { display:grid; gap:var(--compact-pair-gap); min-width:0; }
.child-profile-history-dates,.child-profile-history-plan-heading { grid-column:2; }
.child-profile-history-plan-heading > strong {
  font-size:var(--type-card-title-size); font-weight:var(--font-weight-heading); line-height:var(--type-card-title-line);
}
.child-profile-history .child-profile-assessments { gap:16px; padding-block-start:2px; }
.child-profile-assessment { grid-template-columns:minmax(0,1fr); align-items:start; gap:var(--compact-group-gap); }
.child-profile-assessment + .child-profile-assessment { border-block-start:var(--section-divider); padding-block-start:16px; }
.child-profile-assessment-heading > h3 { margin:0; line-height:var(--compact-line); }
.child-profile-assessment-progress,.child-profile-assessment-result { gap:var(--compact-pair-gap); }
.child-profile-assessment-result > p:last-child { line-height:1; margin-block-start:-2px; }
.child-profile-sessions { gap:var(--compact-heading-gap); list-style:none; padding:0; margin:0; }
.child-profile-report-links { gap:var(--compact-group-gap); }
.child-profile-report-links > .content-navigation-link + .cta { margin-block-start:-10px; }

.screening-session-action.content-navigation-link {
  display:grid;
  align-content:start;
  justify-items:start;
  min-block-size:44px;
  gap:var(--compact-pair-gap);
}
.screening-session-action__title { display:inline-flex; align-items:center; }
.screening-session-action__date { white-space:normal; }
.screening-session-action.content-navigation-link:disabled { opacity:1; }
.screening-session-action:disabled .screening-session-action__title { opacity:.55; }
@media (720px < width <= 960px) {
  .child-profile .child-profile-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }

  .child-profile .child-profile-action-card {
    justify-self: end;
    margin-inline-start: 0;
  }

  .child-profile-plan-progress .screening-progress {
    max-width: var(--child-profile-action-card-width);
  }

}

.cabinet-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  padding: 24px;
  color: var(--text);
  background: var(--purple);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}
.cabinet-dialog::backdrop { background: rgb(45 44 76 / 40%); }
.cabinet-dialog__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cabinet-dialog__heading h2 { margin: 0; font-size: 2.4rem; line-height: 1.2; overflow-wrap: anywhere; }
.cabinet-dialog__heading button { flex-shrink: 0; }
.cabinet-dialog p { margin: 0; }
.cabinet-dialog :is(input, textarea) { box-sizing: border-box; }
.cabinet-support-action { margin-top: 32px; }
[data-account-deletion] [hidden] { display: none !important; }

.report-head { display:grid; gap:var(--compact-group-gap); width:100%; max-width:920px; }
.report-head p,.report-head dl,.report-head dd { margin:0; }
.report-product { display:grid; gap:var(--compact-pair-gap); }
.report-product > .screening-card-progress { margin-block-start:-1px; }
.report-product > .compact-navigation { margin-block-start:3px; }
.report-product-heading { display:flex; align-items:center; flex-wrap:nowrap; gap:var(--metadata-pair-gap); }
.report-product-heading h2 { margin:0; font-size:var(--type-body-size); font-weight:var(--font-weight-bold); line-height:var(--compact-line); white-space:nowrap; }
.report-product-heading .status-chip { flex:none; }
.report-risk > div { display:grid; gap:var(--compact-pair-gap); }
.report-risk dd strong { line-height:1; }
.report-head .screening-card-progress { gap:var(--compact-pair-gap); }
.report-identity,.session-report-identity { display:grid; gap:var(--compact-pair-gap); }
.report-identity h1,.session-report-identity h1 { margin:0; }
.report-actions { display:grid; justify-items:start; gap:var(--section-label-title-gap); }
.report-actions > .cta { width:fit-content; max-width:100%; }
.session-report-page-progress .screening-progress__heading { display:none; }
.session-report-page-progress .screening-progress--pages { max-width:var(--screening-series-progress-width); }
.report-screenings { display:grid; gap:var(--compact-heading-gap); }
.report-screening { display:grid; grid-template-columns:minmax(0,298px) minmax(0,1fr); gap:clamp(24px,6vw,96px); }
.report-screening + .report-screening { border-top:var(--section-divider); padding-top:var(--compact-pair-gap); }
.report-screening-summary { display:grid; align-content:start; gap:var(--compact-group-gap); }
.report-screening-date-title { display:grid; gap:var(--compact-pair-gap); }
.report-screening p,.report-screening dl,.report-screening dd { margin:0; }
.report-screening-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; column-gap:24px; row-gap:var(--compact-group-gap); }
.report-screening-metrics > div { display:grid; gap:var(--compact-pair-gap); }
.report-table { width:auto; min-width:0; table-layout:fixed; }
.report-table th,.report-table td { padding:8px; text-align:center; overflow-wrap:normal; word-break:normal; hyphens:none; }
.report-table thead th { white-space:nowrap; }
.report-table th:first-child { width:auto; text-align:left; background:var(--report-table-header-background); white-space:nowrap; }
.report-table td dd { text-align:center; }
.report-table--summary .series-page-summary__cell dl > div { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; }
.report-table--summary th:not(:first-child),.report-table--summary td { width:107px; min-width:107px; }
.report-table--summary .report-table-label-pair { display:grid; grid-template-rows:repeat(2,1.35em); justify-items:center; }
.report-table--summary .report-table-label-line,.report-table dd { white-space:nowrap; }
.report-page-syllables { margin:var(--compact-pair-gap) 0 0; }
.report-page-syllable { display:inline-block; border-bottom:var(--section-divider); padding:0 2px 2px; margin-bottom:4px; }
@media(width <=720px) {
  .report-screening { grid-template-columns:minmax(0,1fr); gap:var(--compact-group-gap); }
}

/* Общий ритм компактных подписей, значений и CTA профиля/HTML-отчётов. */
:root { --compact-pair-gap:4px; --compact-heading-gap:8px; --compact-group-gap:24px; --compact-line:16px; --screening-series-progress-width:298px; --report-table-header-background:#f3f7ff; --disclosure-marker-track:30px; --disclosure-content-inset:calc(var(--disclosure-marker-track) + var(--section-label-title-gap)); }
.compact-status-slot { display:inline-grid; height:0; align-self:center; flex:none; overflow:visible; }
.compact-status-slot > .status-chip { transform:translateY(-50%); }
/* Видимая строка16px; область нажатия44px продолжается в свободном межблочном интервале. */
.compact-navigation { position:relative; min-width:0; height:var(--compact-line); }
.compact-navigation > .content-navigation-link { position:absolute; inset-block-start:calc(-1 * var(--compact-pair-gap)); inset-inline-start:0; padding-top:var(--compact-pair-gap); padding-bottom:var(--compact-group-gap); }

/* Утверждённые монохромные контролы на странице и на белой карточке. */
:is(.auth-field input:not([type="hidden"]), .auth-field textarea, .promo-form input,
  .intake-custom-select-button, .intake-custom-select__native) {
  background-color: var(--control-surface);
  color: var(--control-ink);
  caret-color: var(--control-ink);
  font-size: var(--intake-control-font-size);
  font-weight: 600;
  transition: box-shadow 180ms ease, color 180ms ease;
}

:is(.auth-field input, .auth-field textarea, .promo-form input)::placeholder {
  color: var(--control-placeholder);
  font-weight: 600;
  opacity: 1;
}

:is(.auth-field input, .auth-field textarea, .promo-form input):is(:hover, :focus)::placeholder {
  color: var(--control-ink);
  opacity: 1;
}

:is(.auth-field input:not([type="hidden"]), .auth-field textarea, .promo-form input,
  .intake-custom-select-button, .intake-custom-select__native):not(:disabled):is(:hover, :focus) {
  box-shadow: var(--control-shadow);
}

.promo-form input:focus {
  outline: none;
}

.intake-custom-select[data-empty="true"] .intake-custom-select-button,
.intake-custom-select[data-empty="true"] .intake-custom-select__native {
  color: var(--control-placeholder);
}

.intake-custom-select .intake-custom-select-button:not(:disabled):is(:hover, :focus),
.intake-custom-select[data-open="true"] .intake-custom-select-button,
.intake-custom-select .intake-custom-select__native:not(:disabled):is(:hover, :focus) {
  color: var(--control-ink);
}

.intake-custom-select-button {
  position: relative;
  background-image: none;
}

.intake-custom-select__native {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 3 8 9 14 3' fill='none' stroke='%238b8b9a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 12px;
}

.intake-custom-select__native:not(:disabled):is(:hover, :focus) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 3 8 9 14 3' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.intake-custom-select:not([data-empty="true"]) .intake-custom-select__native {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 3 8 9 14 3' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.intake-custom-select-button::after {
  position: absolute;
  top: 50%;
  right: var(--intake-control-padding-x);
  width: 16px;
  height: 12px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 3 8 9 14 3' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  transform: translateY(-50%);
  pointer-events: none;
}

.intake-custom-select-menu {
  box-shadow: var(--control-shadow);
  scrollbar-gutter: stable;
}

.intake-custom-select-option {
  color: var(--control-ink);
}

.intake-custom-select-menu::-webkit-scrollbar { width: 12px; background: transparent; }
.intake-custom-select-menu::-webkit-scrollbar-track { margin-block: 16px; background: transparent; }
.intake-custom-select-menu::-webkit-scrollbar-track-piece,
.intake-custom-select-menu::-webkit-scrollbar-corner { background: transparent; }
.intake-custom-select-menu::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.intake-custom-select-menu::-webkit-scrollbar-thumb {
  min-height: 24px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--control-scroll-thumb);
  background-clip: padding-box;
}
@supports not selector(::-webkit-scrollbar) {
  .intake-custom-select-menu {
    scrollbar-width: thin;
    scrollbar-color: var(--control-scroll-thumb) transparent;
  }
}

.control-group-title,
.profile-form > h2,
.profile-form > h3 {
  margin: 0;
  font-size: var(--control-group-font-size);
  font-weight: 700;
  line-height: 1.35;
}

.promo-form label {
  font-size: var(--control-label-font-size);
  font-weight: 600;
}

.intake-consent {
  color: var(--control-ink);
  font-size: var(--intake-control-font-size);
  font-weight: 600;
  line-height: 1.5;
}

.intake-checkbox {
  background-color: var(--control-surface);
}

.intake-checkbox::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.343146 7.939340 L7.585786 12.181981 L14.656854 5.110913' fill='none' stroke='white' stroke-width='2' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  transform: none;
  opacity: 0;
}

.intake-checkbox:checked { background-color: var(--focus-blue); }
.intake-checkbox:checked::before { transform: none; opacity: 1; }
.intake-checkbox:not(:disabled):is(:hover, :focus-visible) { box-shadow: var(--control-shadow); }
.intake-checkbox:not([aria-invalid="true"]):focus-visible { outline: none; }

@media (forced-colors: active) {
  .intake-custom-select-button,
  .auth-field input,
  .auth-field textarea,
  .intake-checkbox { border: 1px solid ButtonText; }
  .intake-checkbox:checked::before { background: HighlightText; clip-path: polygon(15% 43%, 25% 33%, 42% 58%, 78% 21%, 88% 32%, 42% 80%); }
}

.cabinet-main:has([data-card-carousel]) { grid-template-columns:minmax(0,1fr); }
.screenings-child-directory,.site-screening-history,.billing-purchased-plans,.billing-purchase-section { width:100%; max-width:none; min-width:0; grid-template-columns:minmax(0,1fr); }
.screenings-add-child { width:var(--card-fitted-width,var(--fixed-card-width)); max-width:none; margin:0; justify-self:start; }
.screenings-child-directory { --fixed-card-width:308px; }
.site-screening-history { --fixed-card-width:268px; }
.screening-child-card .cabinet-card__title { display:block; height:1.35em; min-height:1.35em; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.screening-child-card .cabinet-card__header { gap:16px; }
.screening-card-progress { display:grid; gap:8px; }
/* Та же типографика и стрелка 2,4px, что у ссылки возврата в кабинет. */
.screening-child-card .screening-profile-link { position:relative; justify-self:start; align-items:flex-start; width:fit-content; margin-block-start:-15px; padding:0 6px 4px 0; white-space:nowrap; }
.screening-child-card,.cabinet-series-card,.billing-purchased-plan { box-shadow:var(--control-shadow); }
.screening-child-card .cabinet-card__body { gap:16px; align-content:start; }
.screening-card-description { display:grid; grid-template-columns:minmax(0,1fr); align-content:center; align-items:start; gap:var(--section-label-title-gap); min-width:0; min-height:var(--card-description-height,auto); }
.screening-card-actions { display:grid; gap:12px; }
.screening-card-action-slot { display:grid; align-items:stretch; min-height:var(--card-action-height,48px); }
.screening-card-action-slot .cta { width:100%; max-width:100%; }
.billing-purchased-plans { --fixed-card-width:280px; }
.billing-purchase-section { --fixed-card-width:308px; }
.pricing-section { --fixed-card-width:308px; }
.billing-purchased-plan { display:flex; flex-direction:column; gap:0; }
.billing-purchased-plan .cabinet-card__title { white-space:nowrap; margin:0; }
.billing-order-card__content { display:flex; flex:1; flex-direction:column; justify-content:flex-start; gap:16px; min-width:0; padding-block:22px; }
.billing-purchased-plan .cabinet-card__guide { min-height:0; margin:0; }
.billing-purchased-plan :is(.billing-assignment-form,.billing-resume-form) { display:flex; flex:1; flex-direction:column; min-width:0; gap:0; }
.billing-assignment-form .auth-field { min-width:0; grid-template-columns:minmax(0,1fr); }
.billing-active-plan .billing-active-plan__purchase { display:grid; grid-template-rows:repeat(2,minmax(1lh,auto)); gap:2px; margin-top:var(--metadata-pair-gap); }
.billing-active-plan .billing-order-card__content { gap:var(--metadata-pair-gap); padding-top:16px; }
.billing-active-plan__child { display:block; margin:0; font-size:var(--type-body-size); font-weight:var(--font-weight-bold); line-height:var(--type-body-line); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.billing-purchased-plan > .cta { width:100%; }
.billing-assignment-select { min-width:0; }
.billing-assignment-select [data-intake-select-label] { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.billing-assignment-form > .cta,.billing-resume-form > .cta { width:100%; }
.billing-assignment-form .cta-label { white-space:nowrap; }
.billing-assignment-select .intake-custom-select-button,
.billing-assignment-select .intake-custom-select-option { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (width > 720px) {
 :is(.screenings-child-directory,.site-screening-history,.billing-purchased-plans,.billing-purchase-section) .cabinet-card-grid { grid-template-columns:repeat(auto-fill,var(--fixed-card-width)); justify-content:start; }
}
.cabinet-card.cabinet-series-card { --history-meta-gap:6px; grid-template-rows:auto 1fr auto; gap:0; }
.cabinet-series-card__title,.cabinet-series-card__result-type { margin:0; font-size:var(--type-body-size); font-weight:600; line-height:var(--type-body-line); color:var(--text); }
.cabinet-series-card__title { color:rgba(45,44,76,.64); }
.cabinet-series-card__caption { margin:0; font-size:13px; font-weight:600; line-height:1.4; color:rgba(45,44,76,.64); }
.cabinet-series-card__result { display:flex; flex-direction:column; justify-content:center; gap:8px; padding:24px 0; }
.cabinet-series-card__risk { margin:0; font-size:var(--type-card-title-size); font-weight:800; line-height:var(--type-card-title-line); }
.cabinet-series-card > .cta { width:100%; max-width:100%; }
.screening-child-card .cta-label,.cabinet-series-card > .cta .cta-label { white-space:nowrap; }
[data-status-marquee] { display:flex; align-items:center; justify-content:center; min-width:0; max-width:100%; min-height:30px; padding-block:5px; line-height:20px; overflow:hidden; white-space:nowrap; text-overflow:clip; }
[data-status-marquee].is-overflowing { justify-content:flex-start; }
.status-chip__text { display:inline-flex; align-items:center; flex:none; line-height:20px; white-space:nowrap; }
.status-chip__text > span { flex:none; }
@media (prefers-reduced-motion:reduce) {
 [data-status-marquee] { white-space:normal; overflow:visible; }
 .status-chip__text { display:inline; flex:1; white-space:normal; overflow-wrap:anywhere; }
}
.card-carousel { min-width:0; width:100%; position:relative; }
.card-carousel-nav { display:none; }
.card-preview-hit { display:none; }
/* Диаметр навигации совпадает с высотой CTA активной карточки. */
.card-nav-button { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:var(--card-nav-size,48px); height:var(--card-nav-size,48px); min-height:48px; padding:0; margin:0; border:0; border-radius:999px; color:#fff; background:var(--focus-blue); cursor:pointer; transition:background-color 500ms ease; }
.card-nav-button svg { width:22px; height:22px; stroke:currentColor; stroke-width:3; fill:none; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.card-nav-button:active { background:var(--report-blue,#3965d5); }
.card-nav-button:focus-visible { outline:3px solid rgba(27,145,247,.35); outline-offset:3px; }
@media (hover:hover) and (pointer:fine) { .card-nav-button:hover { background:var(--report-blue,#3965d5); } }
.card-nav-button:disabled { background:var(--focus-blue); color:#fff; opacity:.55; cursor:not-allowed; }
.card-nav-button.is-absent { visibility:hidden; pointer-events:none; }
.card-carousel-nav.is-single { display:none; }
.card-carousel .cabinet-card-grid.card-no-motion { transition:none; }
.card-carousel .cabinet-card-grid.is-dragging { transition:none; user-select:none; }
.card-carousel .cabinet-card-grid.is-moving { pointer-events:none; }
.card-carousel.is-carousel [data-card-carousel] { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
/* Декоративная копия всегда вне сетки, независимо от оформления исходной карточки. */
.card-carousel [data-card-carousel] > .card-edge-preview { position:absolute; top:0; height:100%; pointer-events:none; }
@media (width <= 960px) {
 .screenings-child-directory .screenings-add-child { justify-self:start; }
 .screenings-child-directory .card-carousel.is-carousel + .screenings-add-child { margin-top:18px; }
 .card-carousel { display:block; }
 .card-carousel-nav { display:block; position:absolute; inset:0; pointer-events:none; }
 .card-nav-button { position:absolute; top:var(--card-nav-top,50%); transform:translateY(-50%); z-index:2; pointer-events:auto; }
 .card-nav-button:first-child { left:var(--card-prev-left,0px); }
 .card-nav-button:last-child { left:var(--card-next-left,calc(100% - var(--card-nav-size,48px))); }
 .card-viewport { position:relative; min-width:0; overflow-x:clip; overflow-y:visible; padding:16px; margin:-16px; touch-action:pan-y; }
 .card-preview-hit:not([hidden]) { display:block; position:absolute; z-index:1; cursor:grab; }
 .card-carousel .cabinet-card-grid { position:relative; display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:100%; transform:translateX(var(--card-offset,0px)); transition:transform 300ms cubic-bezier(.25,1,.5,1); }
 .card-carousel.is-carousel [data-card-carousel] > :not(.is-carousel-active) { filter:blur(2px); transform:scale(.9); }
 .card-carousel.is-carousel [data-card-carousel] > * { transition:filter 300ms ease,transform 300ms cubic-bezier(.25,1,.5,1),box-shadow 260ms ease; }
}
@media (480px <= width <= 720px) {
 .card-viewport { padding:16px var(--card-bleed,48px); margin:-16px calc(-1 * var(--card-bleed,48px)); }
 .card-carousel .cabinet-card-grid { grid-auto-columns:calc(100% - 128px); column-gap:8px; }
}
/* Trial использует общую ленту во всех трёх мобильных диапазонах. */
@media (width <= 960px) {
 .screening-trial-alternatives .card-carousel .cabinet-card-grid { grid-auto-columns:var(--card-fitted-width,var(--fixed-card-width)); }
}
/* Одна измеренная ширина каждого вида карточки в сетке и ленте. */
@media (width <= 720px) {
 :is(.screenings-child-directory,.site-screening-history,.billing-purchased-plans,.billing-purchase-section) .card-carousel .cabinet-card-grid { grid-auto-columns:var(--card-fitted-width,var(--fixed-card-width)); }
}
@media (width < 480px) {
 .screenings-add-child { position:relative; left:0; }
 :is(.screenings-child-directory,.site-screening-history,.billing-purchased-plans,.billing-purchase-section,.screening-trial-alternatives) .card-carousel { width:var(--card-fitted-width,var(--fixed-card-width)); left:var(--card-narrow-shift,0px); justify-self:center; }
 :is(.screenings-child-directory,.site-screening-history,.billing-purchased-plans,.billing-purchase-section,.screening-trial-alternatives) .card-carousel .cabinet-card { padding-inline:calc(var(--card-surface-padding) - (var(--fixed-card-width) - var(--card-fitted-width,var(--fixed-card-width))) / 2); }
 :is(.screenings-child-directory,.site-screening-history,.billing-purchased-plans,.billing-purchase-section,.screening-trial-alternatives) .card-viewport { padding-inline:var(--card-bleed,0px); margin-inline:calc(-1 * var(--card-bleed,0px)); }
 .card-carousel .cabinet-card-grid { column-gap:4px; }
}
@media (width <= 960px) {
 .pricing-section .card-carousel { width:var(--card-fitted-width,var(--fixed-card-width)); max-width:none; left:var(--card-narrow-shift,0px); margin-inline:auto; }
 .pricing-section .card-viewport { position:relative; min-width:0; overflow-x:clip; overflow-y:visible; padding:16px var(--card-bleed,0px); margin:-16px calc(-1 * var(--card-bleed,0px)); touch-action:pan-y; }
 .pricing-section .card-preview-hit:not([hidden]) { display:block; position:absolute; z-index:1; cursor:grab; }
 .pricing-section .card-carousel-nav { display:block; position:absolute; inset:0; pointer-events:none; }
 .pricing-section .card-nav-button { position:absolute; top:var(--card-nav-top,50%); transform:translateY(-50%); z-index:2; pointer-events:auto; }
 .pricing-section .card-nav-button:first-child { left:var(--card-prev-left,0px); }
 .pricing-section .card-nav-button:last-child { left:var(--card-next-left,calc(100% - var(--card-nav-size,48px))); }
 .pricing-section .card-carousel .pricing-grid { position:relative; display:grid; width:100%; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:var(--card-fitted-width,var(--fixed-card-width)); column-gap:16px; transform:translateX(var(--card-offset,0px)); transition:transform 300ms cubic-bezier(.25,1,.5,1); }
 .pricing-section .card-carousel .pricing-card { padding-inline:calc(var(--card-surface-padding) - (var(--fixed-card-width) - var(--card-fitted-width,var(--fixed-card-width))) / 2); }
 .pricing-section .card-carousel.is-carousel .pricing-grid > :not(.is-carousel-active) { filter:blur(2px); transform:scale(.9); }
 .pricing-section .card-carousel.is-carousel .pricing-grid > * { transition:filter 300ms ease,transform 300ms cubic-bezier(.25,1,.5,1); }
}
@media (width < 480px) {
 .pricing-section .card-carousel .pricing-grid { column-gap:8px; }
}
@media (prefers-reduced-motion:reduce) {
 .pricing-section .card-carousel .pricing-grid { transition:none; }
}
.pricing-section .card-carousel .pricing-grid.card-no-motion,
.pricing-section .card-carousel .pricing-grid.is-dragging { transition:none; }
.pricing-section .card-carousel .pricing-grid.is-moving { pointer-events:none; }
@media (prefers-reduced-motion:reduce) { .card-carousel .cabinet-card-grid { transition:none; } }
@media (480px <= width <= 720px) {
 :is(.billing-purchased-plans,.billing-purchase-section) .card-carousel .cabinet-card-grid { column-gap:16px; }
}
@media (width < 480px) {
 :is(.billing-purchased-plans,.billing-purchase-section) .card-carousel .cabinet-card-grid { column-gap:8px; }
}
@media (width <= 960px) {
 .card-carousel.is-row { width:100%; left:0; margin-inline:0; justify-self:start; }
 .card-carousel.is-row .card-carousel-nav,.card-carousel.is-row .card-preview-hit { display:none; }
 .card-carousel.is-row .card-viewport { padding:0; margin:0; overflow:visible; touch-action:auto; }
 .card-carousel.is-row [data-card-carousel],
 .pricing-section .card-carousel.is-row .pricing-grid { display:flex; flex-wrap:wrap; justify-content:flex-start; width:100%; gap:20px; transform:none; transition:none; }
 .card-carousel.is-row [data-card-carousel] > * { flex:none; width:var(--fixed-card-width); filter:none; transform:none; }
 .pricing-section .card-carousel.is-row .pricing-grid > * { width:var(--fixed-card-width); }
}
@media (width <= 720px) {
 .card-carousel.is-row [data-card-carousel] > * { width:var(--card-fitted-width,var(--fixed-card-width)); }
}
@media (width > 720px) {
 .billing-purchase-section .card-carousel { width:min(100%,690px); }
 .billing-purchase-section .card-carousel.is-row .billing-plan-list {
  display:grid;
  grid-template-columns:minmax(0,10fr) minmax(0,9fr);
  gap:16px;
  width:100%;
  container-type:inline-size;
  transition:grid-template-columns 260ms cubic-bezier(.2,.8,.2,1);
 }
 .billing-purchase-section .card-carousel.is-row .billing-plan-list[data-row-active-index="1"] { grid-template-columns:minmax(0,9fr) minmax(0,10fr); }
 .billing-purchase-section .card-carousel.is-row .billing-plan-option {
  width:calc((100cqw - 16px) / 1.9);
  padding:calc(var(--offer-edge,12px) + 9px) 22px var(--offer-edge,12px);
  background:var(--white);
  box-shadow:var(--control-shadow);
  transform:scale(.9);
  transform-origin:left center;
  transition:transform 260ms cubic-bezier(.2,.8,.2,1);
 }
 .billing-purchase-section .card-carousel.is-row .billing-plan-option.is-row-active { z-index:2; transform:scale(1); }
 .billing-purchase-section .billing-plan-option__body .billing-plan-option__price { color:var(--focus-blue); }
}
@media (prefers-reduced-motion:reduce) {
 .pricing-grid,.pricing-card,
 .card-carousel.is-carousel [data-card-carousel] > *,
 .billing-purchase-section .card-carousel.is-row .billing-plan-list,
 .billing-purchase-section .card-carousel.is-row .billing-plan-option { transition:none; }
}
/* Pricing elevation общая для выбора плана Site и landing. */
.billing-purchase-section .billing-plan-option.is-carousel-active,
.billing-purchase-section .card-carousel.is-row .billing-plan-option.is-row-active { box-shadow:var(--header-shadow); }
.billing-purchased-plan { min-height: 300px; height: var(--billing-order-card-height, 300px); }
.billing-order-card__status { display:flex; align-items:center; gap:12px; font-size:var(--type-body-size); font-weight:600; }
.billing-order-card__status p { margin:0; }
.billing-order-card__status .auth-provider-pending__spinner { width:20px; height:20px; flex:0 0 20px; border-width:2px; margin:0; }

/* Матовый пластик — фон лендинга, ниже текста и функциональных карточек. */
body.landing-page { position:relative; isolation:isolate; overflow-x:hidden; --art-footer:var(--footer-surface); }
.landing-page #wrapper { position:relative; z-index:1; background:transparent; padding-bottom:0; overflow-x:clip; overflow-y:visible; }
.landing-page :is(.trust-strip,.hero-checklist,.section-header,.paradox-timeline,.paradox-takeaway,.how-it-works__body,.how-science-panel,.how-workflow,.how-it-works__takeaway,.how-report-panel,.faq-grid) { background:transparent; border-radius:0; box-shadow:none; backdrop-filter:none; }
.landing-page .hero h1,.landing-page .hero-summary { text-wrap:balance; }
.landing-page .landing-section > .section-header > .section-kicker { color:#000; font-weight:900; }
.landing-page .decor-stage { position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; user-select:none; }
.landing-page :is(.decor-static,.balloon-home) { position:absolute; top:0; left:0; pointer-events:none; }
.landing-page .decor-stage picture { display:block; width:100%; }
.landing-page .decor-stage img { display:block; width:100%; height:auto; }
.landing-page .balloon-home { aspect-ratio:1; }
.landing-page :is(.balloon-visual,.balloon-confetti) { position:absolute; inset:0; transform-origin:50% 22%; }
.landing-page :is(.balloon-visual,.balloon-confetti) :is(picture,img) { height:100%; object-fit:contain; }
.landing-page .balloon-confetti { opacity:.8; }
.landing-page .cloud-pair picture { position:absolute; width:42%; height:35%; top:38%; }
.landing-page .cloud-pair .cloud-left { top:14%; left:-8%; }
.landing-page .cloud-pair .cloud-right { top:44%; right:-2%; }
.landing-page [data-kind="hotair-ab"] .balloon-visual { z-index:1; }
.landing-page [data-kind="hotair-ab"] .cloud-pair { z-index:2; opacity:1; }
.landing-page .footer-color { position:absolute; left:0; background:var(--art-footer); }
.landing-page .balloon-home[data-phase="flying"] :is(.balloon-visual,.balloon-confetti) { will-change:transform,opacity; }
.landing-page .balloon-home:is([data-phase="spent"], [data-phase="popped"]) { visibility:hidden; }
.landing-page .decor-stage:not([data-ready]) { visibility:hidden; }
.landing-page .site-header { z-index:20; }
.landing-page .site-header.is-scrolled { background:var(--purple); }
.landing-page .site-footer { z-index:1; overflow:visible; margin-top:48px; }
/* Без JS остаётся читаемый фиолетовый footer. После layout его фон принадлежит слою декора. */
.landing-page.landing-art-ready .site-footer { background:transparent; }
.landing-page .site-footer::before { content:none; }
.landing-page .site-footer :is(.section-kicker,h2,h3) { color:#fff; }
@media (width < 480px) {
 .landing-page .decor-stage > :not(.footer-color):not(.decor-static--rocket):not(.decor-static--footer-cubes):not(.balloon-home):not(.plastic-burst) { display:none; }
 .landing-page .site-footer { margin-top:96px; }
}
.landing-page .plastic-burst { position:absolute; left:0; top:0; pointer-events:none; width:0; height:0; }
.landing-page .plastic-burst-particle { position:absolute; left:0; top:0; display:block; will-change:transform,opacity; filter:drop-shadow(0 1px 1px rgba(52,37,84,.13)); }
.landing-page .plastic-burst-particle svg { display:block; width:100%; height:100%; overflow:visible; }
.landing-page .rocket-flight-layer { position:absolute; top:0; left:0; z-index:1; pointer-events:none; }
.landing-page .rocket-animation-book { position:absolute; display:block; width:100%; height:auto; z-index:3; }
.landing-page .rocket-animation-ship { position:absolute; display:block; height:auto; z-index:2; transform-origin:50% 84%; will-change:transform; }
.landing-page .rocket-effects { position:absolute; inset:0; z-index:1; pointer-events:none; }
.landing-page .rocket-puff { position:absolute; border-radius:50%; background:radial-gradient(circle at 32% 24%,#fff 0%,#e6f8ff 28%,#bbe8fc 72%,#95d5ed 100%); box-shadow:inset -1px -2px 5px #6cbed52a; will-change:transform,opacity; }
.landing-page .rocket-spark { position:absolute; width:12px; height:16px; border-radius:5px; background:linear-gradient(135deg,#fff9,var(--spark-color) 55%); box-shadow:inset 0 -2px 1px #0001; will-change:transform,opacity; }
.landing-page .rocket-spark--star { clip-path:polygon(50% 0,63% 33%,99% 37%,72% 61%,80% 98%,50% 79%,20% 98%,28% 61%,1% 37%,37% 33%); width:19px; height:19px; }
.landing-page .rocket-letter { position:absolute; width:auto; height:auto; line-height:1; font:900 23px/1 var(--font-family); color:var(--spark-color); text-shadow:0 2px 0 #52466933,1px 3px 2px #52466911; will-change:transform,opacity; }
.landing-page .rocket-spine-glow { position:absolute; width:80px; height:35px; border-radius:50%; background:radial-gradient(ellipse,#ffecacaa,transparent 70%); z-index:2; pointer-events:none; }
.landing-page .decor-static--rocket { overflow:visible; }
@media (prefers-reduced-motion:reduce) {
 /* Домашняя точка — геометрия документа: общий переход1ms не ведёт её из (0,0). */
 .landing-page .balloon-home { transition:none!important; }
 .landing-page :is(.balloon-visual,.balloon-confetti) { transform:none!important; opacity:1!important; }
 .landing-page :is(.rocket-animation-ship,.rocket-effects,.rocket-spine-glow) { display:none!important; }
}

/* Шапка на зелёном шарике без внешней тени. */
.pricing-cap-flight { position:absolute; pointer-events:none; z-index:5; opacity:0; }
.pricing-cap-visual { position:absolute; inset:0; transform-origin:50% 32.4%; z-index:1; }
.pricing-cap-base { position:absolute; display:block; left:var(--cap-margin); top:var(--cap-base-top); width:var(--cap-unit); height:auto; max-width:none; clip-path:inset(40% 0 0 0); }
.pricing-cap-balloon { position:absolute; display:block; left:22.9%; top:3.4%; width:54.2%; }
.pricing-cap-balloon img { display:block; width:100%; height:auto; }
.pricing-cap-flight.is-flying { position:fixed; z-index:10; }
.pricing-cap-flight.is-flying .pricing-cap-visual { will-change:transform,opacity; }
.pricing-cap-effects { position:fixed; inset:0; overflow:visible; pointer-events:none; z-index:11; }
.pricing-cap-confetti { position:absolute; pointer-events:none; z-index:11; }
.pricing-cap-flight[data-phase="popping"] .pricing-cap-base { animation:cap-pop-fade 300ms 150ms forwards ease-in; }
@keyframes cap-pop-fade { to { opacity:0; transform:translateY(18px); } }
/* Существующую картинку-кольцо заменяют 5–11 отдельных фигур, минимум две звезды. */
.balloon-home .balloon-visual { z-index:1; }
.random-balloon-confetti { position:absolute; left:0; top:0; width:100%; height:auto; aspect-ratio:1; opacity:.8; pointer-events:none; z-index:3; }
.landing-page .random-balloon-confetti > picture { display:none; }
.random-confetti-piece { position:absolute; display:block; aspect-ratio:1; line-height:0; }
.random-confetti-piece svg { width:100%; height:100%; overflow:visible; }
[data-phase="flying"] > .confetti-fall { animation:confetti-fall 1500ms ease-in forwards; }
[data-phase="popping"] > .confetti-fall { animation:none; opacity:0; transition:opacity 160ms; }
[data-phase="spent"] > .confetti-fall,[data-phase="popped"] > .confetti-fall { opacity:0; }
@keyframes confetti-fall { from { transform:translateY(0); opacity:.8; } to { transform:translateY(50px); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .pricing-cap-visual { will-change:auto!important; } .pricing-cap-flight[data-phase="popping"] .pricing-cap-base { animation-duration:100ms; animation-delay:0ms; } }

/* Общий визуальный контракт тарифов лендинга и кабинета. */
.plan-price {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
}
.plan-price-cubes { display:flex; align-items:flex-end; justify-content:center; gap:0; height:62px; isolation:isolate; transform:translateY(3px); }
.plan-price-cubes img { position:relative; display:block; height:60px; width:auto; max-width:68px; object-fit:contain; z-index:1; transform:translateY(-5px); }
.plan-price-cubes > picture + picture > img { margin-left:-11px; }
.plan-price-cubes > picture:nth-child(2) > img { z-index:2; transform:none; }
.plan-price-cubes--free { position:relative; }
.plan-price-cubes--free > picture:first-child > img { transform:translate(-3px,-5px); }
.plan-price-cubes--free > picture:nth-child(2) > img { margin-left:-17px; transform:translateX(3px); }
.plan-price-cubes--free > picture:nth-child(3) > img { margin-left:4px; transform:translate(-16px,-8px); }
.plan-price-cubes--annual > picture:nth-child(2) > img { z-index:3; filter:drop-shadow(2px 0 1px #092c5330); }
.plan-price-cubes--annual > picture:nth-child(3) > img { transform:translate(-5px,-7px); }
.plan-price-cubes--series > picture:nth-child(3) > img { transform:translate(-3px,-5px); }
.plan-price-dot { position:absolute; width:12px; height:12px; right:59px; bottom:7px; border-radius:50%; z-index:1; background:radial-gradient(circle at 32% 28%,#6285ae 0%,#153a64 45%,#092c53 100%); box-shadow:0 2px 2px #092c5326; }
.plan-benefits > :is(li,span) { position:relative; min-width:0; padding-left:18px; }
.plan-benefits > :is(li,span)::before {
  content:""; position:absolute; left:0; top:.30em; width:14.25px; height:14.25px;
  background:transparent url('/assets/pricing-art/brand-star.webp') -34.8333px -6.3333px / 79.1667px 79.1667px no-repeat;
}
@media (width <= 720px) {
  .plan-price-cubes img { height:55px; }
  .plan-price-cubes > picture + picture > img { margin-left:-10px; }
  .plan-price-cubes--free > picture:nth-child(2) > img { margin-left:-16px; }
  .plan-price-cubes--free > picture:nth-child(3) > img { margin-left:4px; }
  .plan-price,.plan-price-cubes { height:57px; }
}

/* Цельная сцена выше предложения; описание и список используют общий owner. */
.plan-offer {
  --offer-edge:12px;
  --offer-price-height:62px;
  --offer-action-height:0px;
  --offer-scene-width:90%;
  --offer-scene-offset:13px;
  position:relative;
  display:flex;
  flex-direction:column;
  height:auto;
  min-height:0;
  padding-top:calc(var(--offer-edge) + 9px);
  padding-bottom:var(--offer-edge);
  overflow:visible;
}
.plan-offer[data-plan="freeSession"] { --offer-scene-offset:17px; }
.plan-offer[data-plan="annualPlan"] { --offer-scene-offset:18px; }
.plan-offer .billing-plan-option__body { display:flex; flex-direction:column; height:100%; }
.plan-offer .plan-scene {
  position:absolute; top:var(--offer-scene-offset); left:50%; width:var(--offer-scene-width);
  height:auto; aspect-ratio:2; transform:translate(-50%,-100%); z-index:3; pointer-events:none;
}
.plan-offer[data-plan="freeSession"] .plan-scene { transform:translate(-45.166%,-100%); }
.plan-scene > picture > img { display:block; width:100%; height:100%; object-fit:contain; max-width:none; filter:drop-shadow(0 3px 3px rgba(45,44,76,.25)); }
.plan-offer :is(.pricing-card__header,.billing-plan-option__heading) { position:relative; flex:0 0 auto; display:block; min-height:var(--offer-title-height,0px); }
.plan-offer :is(h3,.billing-plan-option__heading strong) { margin:0; color:#000; font-size:24px; line-height:1.2; text-align:center; }
.plan-offer .plan-copy-slot { position:relative; display:block; flex:0 0 auto; height:var(--offer-copy-height,auto); margin-top:12px; }
.plan-offer .plan-copy-block { position:relative; top:var(--offer-copy-offset,0px); display:flex; flex-direction:column; gap:calc(1lh + 12px); font-size:var(--type-body-size); line-height:var(--type-body-line); }
.plan-offer :is(.pricing-card__summary,.billing-plan-option__summary) { flex:0 0 auto; min-height:0; margin:0; transform:translateY(var(--offer-summary-offset,0px)); }
.plan-offer :is(.pricing-card__list,.billing-plan-option__features) { display:grid; flex:0 0 auto; min-height:0; gap:8px; margin:0; transform:translateY(var(--offer-list-offset,0px)); }
/* Измеряемые offsets применяются сразу: общий reduced-motion переход1ms
   иначе оставляет предыдущую геометрию при чтении границ строк. */
@media (prefers-reduced-motion:reduce) {
 .plan-offer :is(.plan-copy-block,.pricing-card__summary,.billing-plan-option__summary,.pricing-card__list,.billing-plan-option__features) { transition:none!important; }
}
.plan-offer .plan-benefits > :is(li,span) { display:block; min-height:0; padding-left:18px; }
.plan-offer .plan-price { flex:0 0 var(--offer-price-height); align-self:center; width:100%; margin:58px 0 12px; }
.pricing-card.plan-offer { --offer-action-height:var(--header-action-height); }
.pricing-card.plan-offer .pricing-card__action { flex:0 0 var(--header-action-height); margin-top:auto; width:min(100%,260px); }
.plan-value-ribbon {
  --ribbon-color:color-mix(in srgb,var(--red) 80%,var(--text));
  position:absolute; z-index:2; display:flex; justify-content:center; align-items:center; gap:8px;
  bottom:calc(var(--offer-edge) + var(--offer-action-height) + 12px + var(--offer-price-height) + 10px);
  left:50%; width:calc(100% + 12px); height:34px; margin:0; padding:0 8px;
  background:var(--ribbon-color); color:var(--white); font-size:13px; line-height:18px; font-weight:400;
  white-space:nowrap; transform:translateX(-50%) rotate(-3deg); pointer-events:none;
  box-shadow:0 3px 4px color-mix(in srgb,var(--text) 18%,transparent);
  border-block:1px dashed color-mix(in srgb,var(--white) 55%,transparent);
}
.plan-value-ribbon::before,.plan-value-ribbon::after { position:absolute; top:calc(100% + 1px); width:7px; height:8px; background:color-mix(in srgb,var(--ribbon-color) 75%,var(--text)); content:''; }
.plan-value-ribbon::before { left:0; width:4px; height:7px; clip-path:polygon(0 0,100% 0,100% 100%); }
.plan-value-ribbon::after { right:0; clip-path:polygon(0 0,100% 0,0 100%); }
.plan-value-ribbon > * { font:inherit; }
.plan-value-ribbon .plan-value-ribbon__original,.plan-value-ribbon .plan-value-ribbon__amount { font-size:19px; line-height:24px; }
.plan-value-ribbon s { text-decoration-thickness:1px; }
.pricing-grid { margin-top:158px; }
.billing-plan-list { margin-top:var(--offer-scene-reserve-0,158px); }
.billing-plan-list:has(.is-carousel-active[data-plan="annualPlan"]),
.billing-plan-list[data-row-active-index="1"] { margin-top:var(--offer-scene-reserve-1,158px); }
.pricing-section .card-viewport,.billing-purchase-section .card-viewport { padding-top:180px; margin-top:-180px; }
@media (480px <= width <= 1280px) {
  .plan-offer { --offer-scene-width:70%; }
  .pricing-grid { margin-top:110px; }
  .pricing-section .card-viewport,.billing-purchase-section .card-viewport { padding-top:140px; margin-top:-140px; }
}
@media (width <= 720px) {
  .plan-offer { --offer-edge:11px; --offer-price-height:57px; }
  .plan-value-ribbon { gap:6px; font-size:12px; }
}
@media (width < 480px) {
  .plan-offer { --offer-scene-width:88%; }
  .plan-offer :is(h3,.billing-plan-option__heading strong) { font-size:22px; }
  .pricing-grid { margin-top:148px; }
  .pricing-section .card-viewport,.billing-purchase-section .card-viewport { padding-top:165px; margin-top:-165px; }
  .pricing-card.plan-offer .pricing-card__action { --cta-padding:16px; }
}

