/* FastMind — новый дизайн (RU). Действует только при body.fm */
body.fm{--navy:#053C74;--navy-2:#0A4F96;--or:#FF9900;--or-lt:#FFF4E0;--txt:#1B2433;--txt-2:#2D3748;--muted:#4A5568;--bg:#F6F8FB;--line:#DCE3EE;--blue-lt:#EAF1FA;
  margin:0;background:var(--bg);color:var(--txt);font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.fm *,body.fm *::before,body.fm *::after{box-sizing:border-box}
body.fm .fm-site{font-family:inherit}
body.fm .fm-site a{color:var(--navy)}
body.fm .fm-site a:hover{color:var(--navy-2)}
body.fm .fm-site img{max-width:100%;height:auto}
body.fm .fm-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
body.fm :focus-visible{outline:3px solid var(--or);outline-offset:2px}
body.fm .screen-reader-text:focus{position:fixed;top:8px;left:8px;z-index:1000;background:#fff;padding:10px 14px;clip:auto;width:auto;height:auto}

/* ---------- Кнопки, метки ---------- */
body.fm .fm-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--or);color:var(--navy)!important;text-decoration:none;font-weight:800;font-size:16px;line-height:1.2;padding:14px 22px;min-height:48px;border-radius:14px;border:0;cursor:pointer;font-family:inherit;transition:background .15s,transform .15s;text-align:center}
body.fm .fm-btn:hover{background:#FFAA2E;color:var(--navy)!important}
body.fm .fm-btn:active{transform:translateY(1px)}
body.fm .fm-btn--lg{font-size:18px;padding:17px 28px;min-height:56px}
body.fm .fm-btn--sm{font-size:15px;padding:11px 18px;min-height:44px;border-radius:12px}
body.fm .fm-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;min-height:44px}
body.fm .fm-pill{display:inline-block;align-self:flex-start;background:var(--blue-lt);color:var(--navy);font-weight:700;font-size:14px;padding:7px 14px;border-radius:999px}
body.fm .fm-tag{display:inline-block;background:var(--or-lt);color:#8A4F00;font-weight:800;font-size:12px;padding:4px 10px;border-radius:999px;line-height:1.4}
body.fm .fm-badge{display:inline-block;align-self:flex-start;font-weight:800;font-size:14px;padding:7px 14px;border-radius:999px}
body.fm .fm-row{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:0}
body.fm .fm-g-nt{background:#F1ECFB;color:#5B3FA8}
body.fm .fm-g-nf{background:#E6F6EE;color:#1E7A4C}
body.fm .fm-g-sj{background:#E8F0FA;color:#053C74}
body.fm .fm-g-sp{background:#FFF2DE;color:#8A4F00}
body.fm .fm-gt-nt{color:#5B3FA8}body.fm .fm-gt-nf{color:#1E7A4C}body.fm .fm-gt-sj{color:#053C74}body.fm .fm-gt-sp{color:#8A4F00}

/* ---------- Типографика ---------- */
body.fm .fm-h1{margin:0;font-size:46px;line-height:1.1;font-weight:800;color:var(--navy);letter-spacing:-.02em;font-family:inherit}
body.fm .fm-h2{margin:0 0 8px;font-size:34px;line-height:1.2;font-weight:800;color:var(--navy);font-family:inherit;text-transform:none}
body.fm .fm-lead{margin:0;font-size:20px;line-height:1.55;color:var(--txt-2)}
body.fm .fm-sub{margin:0 0 24px;font-size:17px;color:var(--muted)}
body.fm .fm-sec{padding-top:64px;padding-bottom:16px}
body.fm .fm-sec__head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:24px}
body.fm .fm-sec__head .fm-sub{margin-bottom:0}
body.fm .fm-band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:64px}
body.fm .fm-band .fm-sec{padding-bottom:64px}
body.fm .fm-crumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:20px}
body.fm .fm-crumbs a{color:var(--muted)}

/* ---------- Шапка ---------- */
body.fm .fm-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
body.admin-bar.fm .fm-header{top:32px}
body.fm .fm-header__row{display:flex;align-items:center;gap:24px;min-height:76px}
body.fm .fm-header__logo{display:flex;align-items:center;flex:none}
body.fm .fm-header__logo img{height:56px;width:auto;display:block}
body.fm .fm-nav{flex:1 1 auto;display:flex;align-items:center}
body.fm .fm-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 22px}
body.fm .fm-nav li{margin:0;padding:0}
body.fm .fm-nav li a{display:inline-flex;align-items:center;min-height:44px;color:var(--txt);text-decoration:none;font-weight:600;font-size:15px;border-bottom:2px solid transparent}
body.fm .fm-nav li.current-menu-item>a,body.fm .fm-nav li a:hover{color:var(--navy);border-bottom-color:var(--navy)}
body.fm .fm-nav__cta{display:none}
body.fm .fm-langs{display:flex;gap:4px}
body.fm .fm-langs a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;font-weight:700;font-size:14px;color:var(--muted);text-decoration:none}
body.fm .fm-burger{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);align-items:center;justify-content:center;cursor:pointer;padding:0}

/* ---------- Hero ---------- */
body.fm .fm-hero{background:#fff;border-bottom:1px solid var(--line)}
body.fm .fm-hero>.fm-wrap{padding-top:52px;padding-bottom:60px}
body.fm .fm-hero__intro{display:flex;flex-direction:column;gap:14px;max-width:880px;margin-bottom:32px}
body.fm .fm-hero__grid{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
body.fm .fm-testcard{flex:999 1 540px;min-width:0;background:var(--navy);border-radius:28px;padding:36px;color:#fff;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
body.fm .fm-testcard__top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;width:100%;font-weight:700;font-size:14px;color:#CFE0F3}
body.fm .fm-site .fm-testcard__top a{color:#fff;display:inline-flex;gap:8px;align-items:center;min-height:44px}
body.fm .fm-testcard h2{margin:0;font-size:34px;line-height:1.15;font-weight:800;color:#fff}
body.fm .fm-testcard p{margin:0;font-size:18px;line-height:1.6;color:#E4EDF7;max-width:580px}
body.fm .fm-lessoncard{flex:1 1 330px;min-width:0;background:var(--or-lt);border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
body.fm .fm-lessoncard h2{margin:0;font-size:26px;line-height:1.2;font-weight:800;color:var(--navy)}
body.fm .fm-lessoncard img{width:100%;height:150px;object-fit:cover;object-position:top;border-radius:14px;background:#fff}
body.fm .fm-lessoncard p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}

/* ---------- Карточки тем ---------- */
body.fm .fm-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
body.fm .fm-site .fm-topic{text-decoration:none;color:var(--txt);background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:12px;transition:border-color .15s,box-shadow .15s}
body.fm .fm-site .fm-topic:hover{border-color:var(--navy);box-shadow:0 6px 20px rgba(5,60,116,.08);color:var(--txt)}
body.fm .fm-topic__top{display:flex;justify-content:space-between;align-items:flex-start}
body.fm .fm-topic__ic{width:52px;height:52px;border-radius:14px;background:var(--blue-lt);color:var(--navy);display:flex;align-items:center;justify-content:center}
body.fm .fm-topic__name{font-size:19px;font-weight:800;color:var(--navy)}
body.fm .fm-topic__desc{font-size:14px;line-height:1.5;color:var(--muted)}

/* ---------- 16 типов ---------- */
body.fm .fm-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
body.fm .fm-group{display:flex;flex-direction:column;gap:10px}
body.fm .fm-group__title{margin:0;font-size:17px;font-weight:800;font-family:inherit}
body.fm .fm-group__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.fm .fm-site .fm-typecard{text-decoration:none;border-radius:18px;padding:10px 10px 14px;display:flex;flex-direction:column;gap:4px;transition:transform .15s,box-shadow .15s}
body.fm .fm-site .fm-typecard:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(5,60,116,.12)}
body.fm .fm-typecard img{width:100%;aspect-ratio:1/1;border-radius:14px;display:block}
body.fm .fm-typecard b{font-size:19px;font-weight:800;letter-spacing:.04em;padding:4px 4px 0}
body.fm .fm-typecard span{font-size:14px;font-weight:700;color:var(--txt);padding:0 4px;line-height:1.3}

/* ---------- О нас / аккордеоны ---------- */
body.fm .fm-about{display:flex;flex-wrap:wrap;gap:48px;padding-top:64px;padding-bottom:64px}
body.fm .fm-about__mission{flex:1 1 340px;display:flex;flex-direction:column;gap:14px}
body.fm .fm-about__mission p{margin:0;font-size:17px;line-height:1.7}
body.fm .fm-about__acc{flex:999 1 540px;min-width:0;display:flex;flex-direction:column;gap:12px}
body.fm .fm-acc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0}
body.fm .fm-band .fm-acc{background:var(--bg)}
body.fm .fm-acc summary{list-style:none;cursor:pointer;padding:18px 56px 18px 22px;position:relative;min-height:44px}
body.fm .fm-acc summary::-webkit-details-marker{display:none}
body.fm .fm-acc summary::after{content:"";position:absolute;right:22px;top:50%;width:10px;height:10px;border-right:2.5px solid var(--navy);border-bottom:2.5px solid var(--navy);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
body.fm .fm-acc[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
body.fm .fm-acc summary h2,body.fm .fm-acc summary h3{display:inline;margin:0;font-size:19px;font-weight:800;color:var(--navy);font-family:inherit;line-height:1.35}
body.fm .fm-acc>:not(summary){margin:0 22px 14px}
body.fm .fm-acc>:last-child{margin-bottom:20px}
body.fm .fm-acc p,body.fm .fm-acc li{font-size:16px;line-height:1.7;color:var(--txt-2)}
body.fm .fm-acc ul{padding-left:20px}
body.fm .fm-acc img{border-radius:14px}
body.fm .fm-faq{max-width:880px;display:flex;flex-direction:column;gap:12px;padding-bottom:64px}
body.fm .fm-acc--faq summary h3{font-size:17px}

/* списки с галочкой */
body.fm .fm-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
body.fm .fm-checks li{position:relative;padding-left:30px;line-height:1.5}
body.fm .fm-checks li::before{content:"";position:absolute;left:2px;top:.35em;width:16px;height:9px;border-left:2.5px solid var(--or);border-bottom:2.5px solid var(--or);transform:rotate(-45deg)}
body.fm .fm-trust{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
body.fm .fm-trust li{display:flex;gap:10px;align-items:flex-start;font-weight:600;font-size:16px;color:var(--navy)}
body.fm .fm-trust svg{flex:none}

/* ---------- Финальный блок ---------- */
body.fm .fm-final{background:var(--navy);margin-top:24px}
body.fm .fm-final__row{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;padding-top:56px;padding-bottom:56px}
body.fm .fm-final__row>div{flex:1 1 420px}
body.fm .fm-final h2{margin:0 0 8px;font-size:32px;line-height:1.2;font-weight:800;color:#fff}
body.fm .fm-final p{margin:0;font-size:17px;color:#D6E2F0}

/* ---------- Страница типа ---------- */
body.fm .fm-hero--type>.fm-wrap{padding-top:28px;padding-bottom:44px}
body.fm .fm-type-head{display:flex;flex-wrap:wrap;gap:36px;align-items:center}
body.fm .fm-type-head__img{width:220px;height:220px;border-radius:44px;flex:none}
body.fm .fm-type-head__text{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:14px}
body.fm .fm-pagehead{padding-top:28px}
body.fm .fm-pagehead .fm-h1{margin-bottom:8px;font-size:40px}
body.fm .fm-layout{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start;padding-top:40px;padding-bottom:40px}
body.fm .fm-layout__side{flex:1 1 240px;max-width:300px;position:sticky;top:100px}
body.fm .fm-layout--single .fm-article{margin:0 auto}
body.fm .fm-toc{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px}
body.fm .fm-toc summary{font-weight:800;font-size:15px;color:var(--navy);cursor:pointer;min-height:32px;list-style:none}
body.fm .fm-toc summary::-webkit-details-marker{display:none}
body.fm .fm-toc ol{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column}
body.fm .fm-toc li{margin:0;padding:0}
body.fm .fm-site .fm-toc a{display:flex;align-items:center;min-height:36px;font-size:15px;line-height:1.4;text-decoration:none;color:var(--txt-2)}
body.fm .fm-site .fm-toc a:hover{color:var(--navy);text-decoration:underline}

/* текст статьи (только прямые потомки — виджеты тренажёров не трогаем) */
body.fm .fm-article{flex:999 1 560px;min-width:0;max-width:760px}
body.fm .fm-article>h1{margin:0 0 20px;font-size:40px;line-height:1.15;font-weight:800;color:var(--navy)}
body.fm .fm-article>h2{margin:40px 0 12px;font-size:28px;line-height:1.25;font-weight:800;color:var(--navy);scroll-margin-top:100px;font-family:inherit}
body.fm .fm-article>h2:first-child{margin-top:0}
body.fm .fm-article>h3{margin:28px 0 10px;font-size:21px;line-height:1.3;font-weight:800;color:var(--navy);scroll-margin-top:100px;font-family:inherit}
body.fm .fm-article>h4{margin:22px 0 8px;font-size:18px;font-weight:800;color:var(--navy)}
body.fm .fm-article>p,body.fm .fm-article>ul>li,body.fm .fm-article>ol>li{font-size:18px;line-height:1.7;color:var(--txt-2)}
body.fm .fm-article>p{margin:0 0 16px}
body.fm .fm-article>ul,body.fm .fm-article>ol{margin:0 0 18px;padding-left:24px}
body.fm .fm-article>ul>li,body.fm .fm-article>ol>li{margin:0 0 6px;padding-left:4px;list-style:inherit}
body.fm .fm-article>ul{list-style:disc}
body.fm .fm-article>ol{list-style:decimal}
body.fm .fm-article>ul>li::before,body.fm .fm-article>ol>li::before{display:none}
body.fm .fm-article>ul>li::marker{color:var(--or)}
body.fm .fm-article>ol>li::marker{color:var(--navy);font-weight:800}
body.fm .fm-article>blockquote{margin:0 0 18px;padding:16px 20px;background:var(--blue-lt);border-left:4px solid var(--navy);border-radius:0 14px 14px 0}
body.fm .fm-article>blockquote p{margin:0;font-size:17px}
body.fm .fm-article img{border-radius:16px}
body.fm .fm-article .fm-figure{margin:8px 0 24px}
body.fm .fm-article .fm-figure p{margin:0}
body.fm .fm-others{font-size:16px!important;color:var(--muted)!important;border-top:1px solid var(--line);padding-top:20px;margin-top:32px!important}
body.fm .fm-inline-cta{margin:8px 0 24px}

/* блок «Получить в Telegram» */
body.fm .fm-cta{background:var(--navy);border-radius:24px;padding:26px 30px;margin:8px 0 28px;display:flex;flex-wrap:wrap;gap:18px 24px;align-items:center;justify-content:space-between}
body.fm .fm-cta__body{flex:1 1 380px;min-width:0}
body.fm .fm-cta__title{margin:0 0 6px!important;font-size:21px!important;line-height:1.3!important;font-weight:800;color:#fff!important}
body.fm .fm-cta__text{margin:0 0 4px!important;font-size:15px!important;line-height:1.55!important;color:#D6E2F0!important}
body.fm .fm-cta .fm-checks li{color:#E4EDF7;font-size:16px}
body.fm .fm-cta__form{flex:1 1 100%;background:#fff;border-radius:14px;padding:16px}
body.fm .fm-layout .fm-cta{margin-left:0;margin-right:0}

/* баннер урока, похожие типы */
body.fm .fm-related{padding-top:8px;padding-bottom:56px}
body.fm .fm-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
body.fm .fm-site .fm-mini{text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:flex;gap:14px;align-items:center;transition:border-color .15s}
body.fm .fm-site .fm-mini:hover{border-color:var(--navy)}
body.fm .fm-mini img{width:64px;height:64px;border-radius:14px;flex:none}
body.fm .fm-mini>span{display:flex;flex-direction:column}
body.fm .fm-mini b{font-size:20px;font-weight:800;color:var(--navy);letter-spacing:.04em}
body.fm .fm-mini>span>span{font-size:15px;font-weight:700;color:var(--txt)}
body.fm .fm-banner{background:var(--or-lt);border-radius:20px;padding:20px 24px;display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;justify-content:space-between;margin:24px 0 48px}
body.fm .fm-banner p{margin:0;font-size:17px;color:var(--navy);flex:1 1 380px}

/* ---------- Скорочтение ---------- */
body.fm .fm-speedhero{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
body.fm .fm-speedhero__text{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:18px}
body.fm .fm-speedhero__img{flex:1 1 300px;margin:0;max-width:420px}
body.fm .fm-speedhero__img img{width:100%;border-radius:20px;border:1px solid var(--line);box-shadow:0 20px 40px rgba(5,60,116,.12)}
body.fm .fm-speedhero__img figcaption{font-size:14px;color:var(--muted);margin-top:10px;text-align:center}
body.fm .fm-pains{background:var(--bg);border-radius:18px;padding:18px 22px}
body.fm .fm-pains p{margin:12px 0 0;font-size:16px;color:var(--txt-2)}
body.fm .fm-pains .fm-pains__title{margin:0 0 10px;font-weight:800;color:var(--navy);font-size:17px}
body.fm .fm-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px;font-size:15px;font-weight:600;color:var(--muted)}
body.fm .fm-facts li{display:flex;gap:6px;align-items:center}
body.fm .fm-facts svg{color:#1E7A4C}
body.fm .fm-cards4{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
body.fm .fm-cards3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
body.fm .fm-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;color:var(--navy)}
body.fm .fm-card h3{margin:10px 0 6px;font-size:19px;font-weight:800;color:var(--navy);font-family:inherit}
body.fm .fm-cards3 .fm-card h3{margin-top:0}
body.fm .fm-card p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
body.fm .fm-tabs{display:flex;gap:4px;background:var(--bg);border-radius:14px;padding:4px;flex-wrap:wrap}
body.fm .fm-tab{border:0;cursor:pointer;font-family:inherit;font-weight:700;font-size:15px;padding:10px 16px;border-radius:10px;min-height:44px;background:transparent;color:var(--navy)}
body.fm .fm-tab[aria-selected="true"]{background:var(--navy);color:#fff}
body.fm .fm-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.fm .fm-gallery[hidden]{display:none}
body.fm .fm-gallery figure{margin:0}
body.fm .fm-gallery figure>div{background:var(--bg);border:1px solid var(--line);border-radius:16px;overflow:hidden;aspect-ratio:5/7}
body.fm .fm-gallery img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
body.fm .fm-gallery figcaption{font-size:14px;font-weight:700;color:var(--navy);margin-top:8px}
body.fm .fm-gallery__cta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;background:var(--or-lt);border-radius:16px;padding:16px 20px}
body.fm .fm-gallery__cta p{margin:0;font-weight:700;color:var(--navy)}
body.fm .fm-video{display:flex;flex-wrap:wrap;gap:32px;align-items:center}
body.fm .fm-video__btn,body.fm .fm-video__frame{flex:1 1 480px;max-width:640px;aspect-ratio:16/9;border:0;border-radius:20px;overflow:hidden;position:relative;padding:0;cursor:pointer;background:var(--navy);display:block;width:100%}
body.fm .fm-video__btn img{width:100%;height:100%;object-fit:cover;opacity:.55;display:block}
body.fm .fm-video__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff}
body.fm .fm-video__text{flex:1 1 300px}
body.fm .fm-video__text p{margin:0;color:var(--muted)}
body.fm .fm-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
body.fm .fm-steps li{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;gap:14px;align-items:flex-start}
body.fm .fm-steps span{flex:none;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
body.fm .fm-steps p{margin:0;font-size:16px;line-height:1.55}

/* ---------- Подвал ---------- */
body.fm .fm-footer{background:#fff;border-top:1px solid var(--line);margin-top:0;font-size:14px;color:var(--muted)}
body.fm .fm-footer__row{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;padding-top:40px;padding-bottom:20px}
body.fm .fm-footer__org{display:flex;gap:16px;align-items:flex-start;flex:1 1 360px}
body.fm .fm-footer__org img{height:66px;width:auto;flex:none}
body.fm .fm-footer__org p{margin:0;line-height:1.7}
body.fm .fm-footer__nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
body.fm .fm-footer__nav li{margin:0}
body.fm .fm-site .fm-footer__nav a{display:inline-flex;align-items:center;min-height:36px;color:var(--navy)}
body.fm .fm-footer__side{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
body.fm .fm-soc{list-style:none;margin:0;padding:0;display:flex;gap:8px}
body.fm .fm-soc a{display:flex;width:44px;height:44px;align-items:center;justify-content:center}
body.fm .fm-footer__copy{margin:0}
body.fm .fm-footer__legal{margin:0;padding:16px 0 32px;border-top:1px solid var(--line);font-size:13px;line-height:1.6}
body.fm .fm-sticky{display:none}
body.fm .fm-404{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:18px}
body.fm .fm-404 p{margin:0}

/* ---------- Адаптив ---------- */
@media (max-width:1100px){
  body.fm .fm-groups{grid-template-columns:1fr}
  body.fm .fm-header__row{gap:16px}
  body.fm .fm-nav ul{gap:2px 16px}
}
@media (max-width:960px){
  body.fm .fm-header__row{min-height:64px}
  body.fm .fm-header__logo img{height:44px}
  body.fm .fm-burger{display:inline-flex;order:3}
  body.fm .fm-header__cta{display:none}
  body.fm .fm-langs{margin-left:auto}
  body.fm .fm-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(5,60,116,.10);padding:8px 24px 20px;flex-direction:column;align-items:stretch}
  body.fm .fm-nav.is-open{display:flex}
  body.fm .fm-nav ul{flex-direction:column;gap:0}
  body.fm .fm-nav li a{width:100%;font-size:17px;min-height:48px;border-bottom:1px solid var(--line)}
  body.fm .fm-nav__cta{display:inline-flex;margin-top:14px}
  body.fm .fm-layout__side{position:static;max-width:none;flex-basis:100%}
  body.fm .fm-toc details:not([open]) ol{display:none}
  body.fm .fm-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:782px){body.admin-bar.fm .fm-header{top:0}}
@media (max-width:720px){
  body.fm{font-size:16px}
  body.fm .fm-wrap{padding-left:18px;padding-right:18px}
  body.fm .fm-h1{font-size:30px;line-height:1.14}
  body.fm .fm-pagehead .fm-h1{font-size:28px}
  body.fm .fm-h2{font-size:25px}
  body.fm .fm-lead{font-size:17px}
  body.fm .fm-sec{padding-top:44px}
  body.fm .fm-hero>.fm-wrap{padding-top:24px;padding-bottom:32px}
  body.fm .fm-hero__intro{margin-bottom:20px}
  body.fm .fm-testcard,body.fm .fm-lessoncard{padding:22px;border-radius:20px}
  body.fm .fm-testcard h2{font-size:25px}
  body.fm .fm-testcard p{font-size:16px}
  body.fm .fm-testcard .fm-btn,body.fm .fm-lessoncard .fm-btn{width:100%}
  body.fm .fm-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.fm .fm-site .fm-topic{padding:14px;gap:8px}
  body.fm .fm-topic__desc,body.fm .fm-topic .fm-tag{display:none}
  body.fm .fm-topic__ic{width:40px;height:40px}
  body.fm .fm-topic__name{font-size:16px}
  body.fm .fm-group__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.fm .fm-site .fm-typecard{display:grid;grid-template-columns:44px 1fr;column-gap:8px;align-items:center;padding:8px;border-radius:14px}
  body.fm .fm-typecard img{width:44px;height:44px;border-radius:10px;grid-row:1/3}
  body.fm .fm-typecard b{font-size:15px;padding:0;align-self:end}
  body.fm .fm-typecard span{font-size:12px;padding:0;align-self:start}
  body.fm .fm-about{padding-top:44px;padding-bottom:44px;gap:28px}
  body.fm .fm-acc summary h2{font-size:17px}
  body.fm .fm-final__row{padding-top:40px;padding-bottom:40px}
  body.fm .fm-final h2{font-size:25px}
  body.fm .fm-final .fm-btn{width:100%}
  body.fm .fm-type-head{gap:16px}
  body.fm .fm-type-head__img{width:96px;height:96px;border-radius:22px}
  body.fm .fm-article>h2{font-size:23px;margin-top:32px}
  body.fm .fm-article>p,body.fm .fm-article>ul>li,body.fm .fm-article>ol>li{font-size:16px}
  body.fm .fm-cta{padding:20px;border-radius:18px}
  body.fm .fm-cta .fm-btn{width:100%}
  body.fm .fm-related__grid{grid-template-columns:1fr}
  body.fm .fm-speedhero__img{display:none}
  body.fm .fm-tabs{width:100%}
  body.fm .fm-tab{flex:1 1 40%;padding:10px 8px}
  body.fm .fm-steps{grid-template-columns:1fr}
  body.fm .fm-sticky{display:block;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(5,60,116,.10);padding:10px 16px calc(10px + env(safe-area-inset-bottom));transition:transform .2s}
  body.fm .fm-sticky.is-hidden{transform:translateY(110%)}
  body.fm .fm-sticky .fm-btn{width:100%}
  body.fm .fm-footer{padding-bottom:80px}
}
@media (prefers-reduced-motion:reduce){body.fm *{transition:none!important}}

/* --- правки после проверки --- */
body.fm .fm-article>ul>li,body.fm .fm-article>ol>li,body.fm .fm-acc li{display:list-item!important}
body.fm .fm-acc ul{list-style:disc;margin-top:0}
body.fm .fm-acc ul>li{margin:0 0 6px}
body.fm .fm-acc ul>li::marker{color:var(--or)}
body.fm .fm-testcard{justify-content:center}
body.fm .test-mbti{z-index:100}
body.fm .fm-site .fm-toc a{min-height:0;padding:6px 0}
body.fm .fm-site .fm-toc a{display:block}

/* ---------- Тест личности: только оформление, логика не меняется ---------- */
body.fm .test-mbti{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;height:auto!important;max-height:none!important;overflow-y:auto;background:var(--bg)!important;z-index:100;padding:24px 0 40px;font-family:Manrope,system-ui,sans-serif;align-items:flex-start}
body.fm .test-mbti>.wrapper{max-width:980px;width:100%;margin:auto;padding:0 20px;display:flex;flex-direction:column;gap:28px}
body.fm .test-mbti .level{background:#fff!important;border:1px solid var(--line)!important;border-radius:28px!important;overflow:hidden;box-shadow:0 24px 60px rgba(5,60,116,.12)!important}
body.fm .test-mbti .level__header{background:#fff!important;border-bottom:1px solid var(--line)!important;padding:18px 28px!important}
body.fm .test-mbti .level__name{font-family:inherit!important;font-style:normal!important;font-weight:800!important;font-size:16px!important;color:var(--navy)!important}
body.fm .test-mbti .level__question,body.fm .test-mbti .level__question *{font-family:inherit!important;font-weight:700!important;color:var(--muted)!important;font-size:15px!important}
body.fm .test-mbti .level__main{background:var(--blue-lt)!important;position:relative}
body.fm .test-mbti .question__title{font-family:inherit!important;font-weight:800!important;color:var(--navy)!important;letter-spacing:-.01em}
body.fm .test-mbti .question__answer{background:#fff!important;border:1.5px solid var(--line)!important;border-radius:16px!important;box-shadow:none!important;color:var(--txt)!important;font-family:inherit!important;font-weight:600;cursor:pointer;transition:border-color .15s,box-shadow .15s}
body.fm .test-mbti .question__answer *{font-family:inherit!important}
body.fm .test-mbti .question__answer:hover{border-color:var(--navy)!important}
body.fm .test-mbti .question__answer:has(input:checked){border-color:var(--navy)!important;box-shadow:0 0 0 3px rgba(5,60,116,.15)!important}
body.fm .test-mbti .question__answer span::selection{background:transparent}
body.fm .test-mbti .primary-btn{background:var(--or)!important;color:var(--navy)!important;border:0!important;border-radius:14px!important;box-shadow:none!important;font-family:inherit!important;font-weight:800!important;font-size:17px!important;min-height:52px;padding:14px 28px!important;text-transform:none}
body.fm .test-mbti .primary-btn:hover{background:#FFAA2E!important}
body.fm .test-mbti .level__close rect{stroke:var(--line)}
body.fm .test-mbti .level__close path{stroke:var(--navy)}
body.fm .test-mbti .progress__main img{display:none!important}
body.fm .test-mbti .progress__main{display:block!important}
body.fm .test-mbti .progress__bar{height:14px!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:999px!important;box-shadow:none!important;overflow:hidden;width:100%!important}
body.fm .test-mbti .progress__bar::before,body.fm .test-mbti .progress__bar::after{display:none!important}
body.fm .test-mbti .progress__bar-line{height:100%!important;background:var(--or)!important;border-radius:999px!important;box-shadow:none!important;border:0!important}
body.fm .test-mbti .progress__title{font-family:inherit!important;font-weight:600!important;color:var(--muted)!important;font-size:14px!important;text-align:center;margin-top:10px}
body.fm .test-mbti .question-result__title,body.fm .test-mbti .question-result__text{font-family:inherit!important;color:var(--navy)!important}
html.test-is-active,html.test-is-active body.fm{overflow:hidden}
body.fm .test-mbti .progress{width:100%!important;max-width:760px;margin:0 auto!important}
body.fm .test-mbti .progress__main{width:100%!important}
body.fm .test-mbti .question__answer::before{border:2px solid #9FB3CC!important;background:#fff}
body.fm .test-mbti .question__answer:hover::before{border-color:var(--navy)!important}
body.fm .test-mbti .question__answer:has(input:checked)::before{border:6px solid var(--navy)!important}
