/**
 * Редакционная подача AI-решений в типографике и ритме страницы учебной мебели.
 * Изолирует новые главы, крупные галереи и SteppeMind от исторических стилей брошюры.
 */
:root body .solution-brochure.is-ai {--ai-paper:#f5f6f8;--ai-surface:#fff;--ai-ink:#172033;--ai-copy:#536176;--ai-line:#d9dfe6;--ai-accent:#006bdb;--ai-section-space:64px;--ai-block-space:40px;}
:root[data-theme="dark"] body .solution-brochure.is-ai {--ai-paper:#101722;--ai-surface:#1b2634;--ai-ink:#f3f6fa;--ai-copy:#becbd9;--ai-line:#3a4857;--ai-accent:#81bdff;}
:root body .solution-brochure.is-ai .brochure-paper {width:100%;max-width:none;padding:0;margin:0;overflow:visible;background:var(--ai-paper);}
:root body .solution-brochure.is-ai #brochureStory {display:block;width:100%;max-width:none;margin:0;padding:0;}
:root body .solution-brochure.is-ai .brochure-intro {width:min(1320px,calc(100% - 96px));padding:64px 0 56px;margin:0 auto;}
:root body .solution-brochure.is-ai .brochure-intro .brochure-copy {width:100%;max-width:none;margin:0;}
:root body .solution-brochure.is-ai .brochure-intro .brochure-copy>p {max-width:1180px;}
:root body .solution-brochure.is-ai .brochure-intro .brochure-copy>p.brochure-intro-support {font-size:24px;line-height:1.5;margin-top:24px;}
:root body .solution-brochure.is-ai .brochure-paper .brochure-footer {margin-top:0;}
:root body .solution-brochure.is-ai .ai-page {color:var(--ai-ink);background:var(--ai-paper);overflow:clip;}
:root body .solution-brochure.is-ai .ai-page :where(h3,h4,h5,p,ul,figure) {margin:0;padding:0;border:0;color:inherit;}
:root body .solution-brochure.is-ai .ai-page :is(h3,h4,h5) {color:var(--ai-ink);font-weight:650;}
:root body .solution-brochure.is-ai .ai-page :is(h3,li)::before {display:none;}
:root body .solution-brochure.is-ai .ai-page ul {list-style:none;}
:root body .solution-brochure.is-ai .ai-page button {font:inherit;cursor:pointer;}
:root body .solution-brochure.is-ai .ai-page :is(button,a,input,[tabindex]):focus-visible {outline:3px solid var(--ai-accent);outline-offset:4px;}
:root body .solution-brochure.is-ai .brochure-story-block.ai-section {display:flex;flex-direction:column;align-items:stretch;gap:var(--ai-block-space);width:min(1320px,calc(100% - 96px));max-width:none;min-width:0;min-height:0;margin:0 auto;padding:var(--ai-section-space) 0;border:0;background:none;scroll-margin-top:80px;}
:root body .solution-brochure.is-ai .ai-heading {width:100%;max-width:1180px;}
:root body .solution-brochure.is-ai .ai-heading h3 {font-size:clamp(48px,4.4vw,72px);line-height:1.05;letter-spacing:-.048em;text-wrap:balance;}
:root body .solution-brochure.is-ai .ai-kicker {display:block;margin-bottom:20px;color:var(--ai-accent);font-size:18px;line-height:1.4;font-weight:650;letter-spacing:.07em;text-transform:uppercase;}
:root body .solution-brochure.is-ai .ai-copy {width:100%;max-width:1080px;}
:root body .solution-brochure.is-ai .ai-copy p {font-size:26px;line-height:1.5;color:var(--ai-copy);}
:root body .solution-brochure.is-ai .ai-copy p+p {margin-top:24px;}
:root body .solution-brochure.is-ai .ai-features {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
:root body .solution-brochure.is-ai .ai-features article {padding:32px;border-radius:28px;background:var(--ai-surface);}
:root body .solution-brochure.is-ai .ai-features img {display:block;width:36px;height:36px;margin-bottom:24px;}
:root[data-theme="dark"] body .solution-brochure.is-ai .ai-features img {filter:brightness(0) invert(1);}
:root body .solution-brochure.is-ai .ai-features h4 {font-size:30px;line-height:1.15;letter-spacing:-.03em;}
:root body .solution-brochure.is-ai .ai-features p {margin-top:16px;color:var(--ai-copy);font-size:22px;line-height:1.5;}
:root body .solution-brochure.is-ai .ai-gallery {min-width:0;}
:root body .solution-brochure.is-ai .ai-gallery-track {position:relative;display:flex;gap:24px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:30px;overscroll-behavior-x:contain;}
:root body .solution-brochure.is-ai .ai-gallery-track::-webkit-scrollbar {display:none;}
:root body .solution-brochure.is-ai .ai-gallery-track>figure {flex:0 0 88%;min-width:0;overflow:hidden;border-radius:30px;background:var(--ai-surface);scroll-snap-align:start;}
:root body .solution-brochure.is-ai .ai-gallery-track img {display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;}
:root body .solution-brochure.is-ai .ai-gallery-controls {display:flex;align-items:center;gap:16px;margin-top:24px;}
:root body .solution-brochure.is-ai .ai-gallery-controls>span:first-child {margin-right:auto;}
:root body .solution-brochure.is-ai .ai-gallery-controls>span {font-size:18px;line-height:1.4;color:var(--ai-copy);}
:root body .solution-brochure.is-ai .ai-gallery-controls [data-gallery-counter] {white-space:nowrap;}
:root body .solution-brochure.is-ai .ai-gallery-controls button {display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;padding:0;border:1px solid var(--ai-line);border-radius:50%;background:var(--ai-surface);}
:root body .solution-brochure.is-ai .ai-gallery-controls img {display:block;width:24px;height:24px;}
:root[data-theme="dark"] body .solution-brochure.is-ai .ai-gallery-controls img {filter:brightness(0) invert(1);}
:root body .solution-brochure.is-ai .ai-gallery-controls button:disabled {opacity:.32;cursor:default;}
:root body .solution-brochure.is-ai .ai-tags {display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
:root body .solution-brochure.is-ai .ai-tags li {color:var(--ai-ink);padding:24px 0;border-top:1px solid var(--ai-line);font-size:38px;font-weight:600;letter-spacing:-.03em;}
:root body .solution-brochure.is-ai .ai-split {display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center;}
:root body .solution-brochure.is-ai .ai-split-copy {min-width:0;}
:root body .solution-brochure.is-ai .ai-split .ai-copy {margin-top:24px;}
:root body .solution-brochure.is-ai .ai-split .ai-copy p {font-size:24px;}
:root body .solution-brochure.is-ai .ai-concept {min-width:0;}
:root body .solution-brochure.is-ai .ai-concept img {border:0;border-radius:0;box-shadow:none;background:none;display:block;width:100%;height:auto;aspect-ratio:1.25;object-fit:contain;}
:root body .solution-brochure.is-ai .ai-concept figcaption {margin-top:16px;color:var(--ai-copy);text-align:center;font-size:16px;line-height:1.5;}
:root body .solution-brochure.is-ai .ai-capabilities {display:grid;gap:20px;margin-top:32px;}
:root body .solution-brochure.is-ai .ai-capabilities li {color:var(--ai-ink);display:flex;gap:20px;align-items:baseline;font-size:22px;line-height:1.4;}
:root body .solution-brochure.is-ai .ai-capabilities span {font-size:16px;color:var(--ai-accent);}
:root body .solution-brochure.is-ai .brochure-story-block.ai-physics {width:100%;padding:var(--ai-section-space) max(48px,calc((100vw - 1320px)/2));background:#101820;--ai-ink:#f4f7fa;--ai-copy:#c4cfda;--ai-accent:#81bdff;}
/* Существующая презентация сохраняет управление и сценарии, но использует общий масштаб страницы. */
:root body .solution-brochure.is-ai .sm-view {width:100%;min-width:0;}
:root body .solution-brochure.is-ai .sm-heading {gap:20px;margin-bottom:40px;}
:root body .solution-brochure.is-ai .sm-brand h3 {font-size:clamp(48px,4.4vw,72px);line-height:1.05;letter-spacing:-.048em;color:var(--ai-ink);}
:root body .solution-brochure.is-ai .sm-heading .sm-tagline {font-size:18px;letter-spacing:.07em;line-height:1.4;color:var(--ai-accent);}
:root body .solution-brochure.is-ai .sm-tabs {margin-bottom:24px;}
:root body .solution-brochure.is-ai .sm-theater {background-size:cover;background-position:center;}
:root body .solution-brochure.is-ai .sm-tabs button {font-size:16px;min-height:56px;}
:root body .solution-brochure.is-ai .sm-slide {gap:40px;min-height:670px;padding:44px 44px 32px;}
:root body .solution-brochure.is-ai .sm-kicker {font-size:15px;letter-spacing:.06em;margin-bottom:24px;}
:root body .solution-brochure.is-ai .sm-story h5 {font-size:clamp(38px,3.4vw,56px);line-height:1.06;letter-spacing:-.045em;margin-bottom:24px;}
:root body .solution-brochure.is-ai .sm-description {font-size:22px;line-height:1.5;min-height:0;max-width:none;color:var(--ai-copy);}
:root body .solution-brochure.is-ai .sm-choices {margin-top:28px;gap:12px;}
:root body .solution-brochure.is-ai .sm-choices button {font-size:16px;min-height:48px;}
:root body .solution-brochure.is-ai .sm-demo {padding:0;}
:root body .solution-brochure.is-ai .sm-conversation {padding:28px;min-height:0;}
:root body .solution-brochure.is-ai .sm-demo-header strong {font-size:22px;}
:root body .solution-brochure.is-ai .sm-demo-header span {font-size:13px;}
:root body .solution-brochure.is-ai .sm-scene-art {height:240px;margin:20px 0;}
:root body .solution-brochure.is-ai .sm-question {margin:20px 0;padding:14px 16px;font-size:19px;line-height:1.5;}
:root body .solution-brochure.is-ai .sm-answer {font-size:19px;line-height:1.5;}
:root body .solution-brochure.is-ai .sm-answer p {padding:10px 0;}
:root body .solution-brochure.is-ai .sm-answer p+p {border-top:1px solid var(--ai-line);}
:root body .solution-brochure.is-ai .sm-controls {padding:0 44px 32px;gap:20px;}
:root body .solution-brochure.is-ai .sm-controls button {width:52px;height:52px;flex-basis:52px;}
:root body .solution-brochure.is-ai .sm-count {font-size:16px;}
@media(max-width:1100px) {
    :root body .solution-brochure.is-ai .ai-split {grid-template-columns:1fr;gap:40px;}
    :root body .solution-brochure.is-ai .ai-concept {max-width:720px;width:100%;align-self:center;margin:auto;}
    :root body .solution-brochure.is-ai .ai-concept img {aspect-ratio:1.6;}
    :root body .solution-brochure.is-ai .ai-features {grid-template-columns:1fr;}
    :root body .solution-brochure.is-ai .ai-features article {display:grid;grid-template-columns:36px 1fr;gap:16px 24px;}
    :root body .solution-brochure.is-ai .ai-features img {margin:0;}
    :root body .solution-brochure.is-ai .ai-features p {grid-column:2;margin:0;}
    :root body .solution-brochure.is-ai .sm-slide {grid-template-columns:1fr;gap:32px;padding:36px;}
    :root body .solution-brochure.is-ai .sm-story h5 br {display:none;}
    :root body .solution-brochure.is-ai .sm-demo {max-width:760px;width:100%;margin:auto;}
    :root body .solution-brochure.is-ai .sm-scene-art {height:260px;}
}
@media(max-width:760px) {
    :root body .solution-brochure.is-ai {--ai-section-space:48px;--ai-block-space:32px;}
    :root body .solution-brochure.is-ai .brochure-intro {width:calc(100% - 40px);padding:48px 0 40px;}
    :root body .solution-brochure.is-ai .brochure-intro .brochure-copy>p.brochure-intro-support {font-size:19px;margin-top:20px;}
    :root body .solution-brochure.is-ai .brochure-story-block.ai-section {width:calc(100% - 40px);scroll-margin-top:74px;}
    :root body .solution-brochure.is-ai .ai-heading h3 {font-size:40px;line-height:1.08;overflow-wrap:anywhere;}
    :root body .solution-brochure.is-ai .ai-kicker {font-size:14px;margin-bottom:16px;}
    :root body .solution-brochure.is-ai .ai-copy p {font-size:20px;}
    :root body .solution-brochure.is-ai .ai-copy p+p {margin-top:20px;}
    :root body .solution-brochure.is-ai .ai-features {gap:20px;}
    :root body .solution-brochure.is-ai .ai-features article {padding:26px 24px;grid-template-columns:1fr;gap:20px;}
    :root body .solution-brochure.is-ai .ai-features h4 {font-size:28px;}
    :root body .solution-brochure.is-ai .ai-features p {grid-column:1;font-size:19px;}
    :root body .solution-brochure.is-ai .ai-gallery-track {gap:14px;border-radius:22px;}
    :root body .solution-brochure.is-ai .ai-gallery-track>figure {flex-basis:92%;border-radius:22px;}
    :root body .solution-brochure.is-ai .ai-gallery-track img {aspect-ratio:4/3;}
    :root body .solution-brochure.is-ai .ai-gallery-controls {gap:10px;flex-wrap:wrap;}
    :root body .solution-brochure.is-ai .ai-gallery-controls>span:first-child {width:100%;}
    :root body .solution-brochure.is-ai .ai-gallery-controls>span {font-size:16px;}
    :root body .solution-brochure.is-ai .ai-gallery-controls [data-gallery-counter] {margin-right:auto;}
    :root body .solution-brochure.is-ai .ai-gallery-controls button {width:48px;height:48px;flex-basis:48px;}
    :root body .solution-brochure.is-ai .ai-tags {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
    :root body .solution-brochure.is-ai .ai-tags li:last-child {grid-column:1/-1;}
    :root body .solution-brochure.is-ai .ai-tags li {font-size:24px;padding:20px 0;}
    :root body .solution-brochure.is-ai .ai-split {gap:32px;}
    :root body .solution-brochure.is-ai .ai-split .ai-copy p {font-size:19px;}
    :root body .solution-brochure.is-ai .ai-concept img {aspect-ratio:1.25;}
    :root body .solution-brochure.is-ai .ai-concept figcaption {font-size:14px;}
    :root body .solution-brochure.is-ai .ai-capabilities {gap:18px;margin-top:28px;}
    :root body .solution-brochure.is-ai .ai-capabilities li {font-size:20px;}
    :root body .solution-brochure.is-ai .brochure-story-block.ai-physics {width:100%;padding:var(--ai-section-space) 20px;}
    :root body .solution-brochure.is-ai .sm-heading {gap:16px;margin-bottom:32px;}
    :root body .solution-brochure.is-ai .sm-heading .sm-tagline {font-size:14px;}
    :root body .solution-brochure.is-ai .sm-brand h3 {font-size:40px;line-height:1.08;}
    :root body .solution-brochure.is-ai .sm-tabs {margin-bottom:20px;}
    :root body .solution-brochure.is-ai .sm-tabs button {min-height:48px;}
    :root body .solution-brochure.is-ai .sm-slide {padding:28px 22px;gap:28px;min-height:0;}
    :root body .solution-brochure.is-ai .sm-kicker {font-size:13px;margin-bottom:20px;}
    :root body .solution-brochure.is-ai .sm-story h5 {font-size:34px;}
    :root body .solution-brochure.is-ai .sm-description {font-size:19px;}
    :root body .solution-brochure.is-ai .sm-choices {margin-top:24px;gap:10px;}
    :root body .solution-brochure.is-ai .sm-choices button {font-size:15px;padding:10px 14px;}
    :root body .solution-brochure.is-ai .sm-conversation {padding:20px;}
    :root body .solution-brochure.is-ai .sm-demo-header strong {font-size:20px;}
    :root body .solution-brochure.is-ai .sm-demo-header span {font-size:12px;}
    :root body .solution-brochure.is-ai .sm-scene-art {height:180px;}
    :root body .solution-brochure.is-ai .sm-question,:root body .solution-brochure.is-ai .sm-answer {font-size:17px;}
    :root body .solution-brochure.is-ai .sm-controls {padding:0 22px 24px;gap:10px;}
    :root body .solution-brochure.is-ai .sm-controls button {width:44px;height:44px;flex-basis:44px;}
    :root body .solution-brochure.is-ai .sm-count {font-size:13px;}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
    :root body .solution-brochure.is-ai .ai-gallery-controls button:not(:disabled) {transition:transform .2s,border-color .2s;}
    :root body .solution-brochure.is-ai .ai-gallery-controls button:not(:disabled):hover {transform:scale(1.06);border-color:var(--ai-accent);}
}
