:root{
  --bg:#faf9f5; --surface:#f0eee6; --surface-2:#e8e6dc; --ink:#0b0b0f; --ink-2:#3c3c45; --ink-3:#73737f;
  --accent:#1d1d1f; --accent-deep:#1d1d1f; --accent-soft:#f0efec;   /* единая гамма с тренажёрами и немецким (владелец, 23.09.2026); было #9c266e / #6a1a6b / #f8ecf5 */ --coral:#f26253; --coral-deep:#b93a29; --coral-soft:#fff0ec;
  --r:24px; --r-sm:16px; --max:1200px; --shadow:0 18px 50px rgba(15,15,30,.08);
}
*{box-sizing:border-box} html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.55 "Google Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-kerning:normal;font-feature-settings:"liga" 1,"kern" 1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto} a{color:inherit;text-decoration:none} button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
h1,h2,h3,h4{margin:0;font-weight:700;letter-spacing:-.01em;line-height:1.1}
h1{font-size:clamp(38px,4.6vw,62px);letter-spacing:-.02em;line-height:1.04;text-wrap:balance}
h2{font-size:clamp(28px,3.8vw,40px);letter-spacing:-.015em}
h3{font-size:19px;line-height:1.3} p{margin:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.sec{padding:96px 0} .sec--tight{padding-top:56px}
.sec__head{max-width:720px;margin-bottom:40px} .sec__head p{margin-top:14px;font-size:18px;color:var(--ink-2)} .sec__head--center{margin-left:auto;margin-right:auto;text-align:center} .sec__more{display:flex;justify-content:center;margin-top:36px}
.sec__row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:36px} .sec__row .sec__head{margin:0}
.eyebrow{display:inline-block;margin-bottom:18px;font-size:14px;font-weight:600;color:var(--ink-3);letter-spacing:.01em}
.more{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--accent-deep);font-size:16px} .more svg{width:18px;height:18px} .more:hover{color:var(--accent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 24px;border-radius:999px;font-weight:600;font-size:16px;background:var(--surface);color:var(--ink);transition:transform .15s ease,background .15s ease,box-shadow .15s ease;white-space:nowrap}
.btn:hover{background:var(--surface-2);transform:translateY(-1px)} .btn:active{transform:translateY(0)}
.btn--primary{background:var(--accent);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.16)} .btn--primary:hover{background:#000}
.btn--small{height:42px;padding:0 18px;font-size:15px} .btn--white{background:#fff} .btn--white:hover{background:#f0f0f3}
.btn svg{width:20px;height:20px;flex:none}
/* шапка — как у «Класса»: матовое стекло с растворяющейся кромкой, иконка-плитка, меню по центру, пилюли */
.top{position:sticky;top:0;z-index:50;isolation:isolate}
.top::before{content:"";position:absolute;left:0;right:0;top:0;bottom:-26px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(250,249,245,.96) 0%,rgba(250,249,245,.88) 52%,rgba(250,249,245,.55) 78%,rgba(250,249,245,0) 100%);backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);mask-image:linear-gradient(180deg,#000 58%,rgba(0,0,0,.5) 82%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,#000 58%,rgba(0,0,0,.5) 82%,transparent 100%)}
.top__in{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;height:80px;padding:0 32px;gap:20px}
.brand{display:inline-flex;align-items:center;gap:14px;justify-self:start}
.brand__mark{width:48px;height:48px;display:block;filter:drop-shadow(0 8px 14px rgba(15,23,42,.16))} .brand__mark img{width:100%;height:100%;object-fit:contain}
.brand__copy{display:flex;flex-direction:column;line-height:1} .brand__copy b{font-size:26px;font-weight:700;letter-spacing:0;color:#1f2937;white-space:nowrap} .brand__copy span{margin-top:4px;font-size:10.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#94a3b8}
.nav{display:flex;gap:28px;justify-self:center} .nav a{font-size:16px;font-weight:500;color:#475569;transition:color .15s;white-space:nowrap} .nav .nav__cta{display:none} .nav a:hover{color:#0f172a} .nav a[aria-current]{color:#0f172a;font-weight:600}
.top__cta{display:flex;align-items:center;gap:12px;justify-self:end}
.btn--grad{height:48px;padding:0 24px;font-weight:500;color:#fff;background-color:#1d1d1f;background-image:none;box-shadow:0 8px 24px rgba(0,0,0,.16);transition:background-position .5s cubic-bezier(.22,1,.36,1),transform .18s ease,box-shadow .22s ease}
.btn--grad:hover{background-position:100% 50%;transform:translateY(-1px);background-color:#000;box-shadow:0 12px 28px rgba(0,0,0,.2)}
.btn--soft{height:48px;padding:0 22px;font-weight:500;color:#1f2937;background:var(--surface)} .btn--soft:hover{background:var(--surface-2)} .top__phone{font-weight:600;white-space:nowrap;background:transparent;padding:0 10px;font-size:17px;color:#1f2937} .top__phone:hover{background:transparent;color:var(--accent-deep);transform:none} .top__phone svg{width:18px;height:18px;color:var(--accent-deep)}
@media (max-width:1359px){.top__cta .btn--soft:not(.top__phone){display:none}}
.burger{display:none;width:44px;height:44px;border-radius:999px;background:var(--surface);align-items:center;justify-content:center}
.mmenu{display:none}
.burger i{position:relative;display:block;width:18px;height:2px;background:var(--ink);border-radius:2px} .burger i::before,.burger i::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s}
.burger i::before{top:-6px} .burger i::after{top:6px}
/* герой — как у «Класса»: логотип с сиянием, крупный заголовок, абзац, пилюля; мягкие пятна на фоне */
.hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;min-height:calc(100vh - 80px);min-height:calc(100svh - 80px);padding:40px 0;background:var(--bg)}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(55% 60% at 12% 8%,rgba(250,249,245,.09) 0%,rgba(250,249,245,0) 72%),radial-gradient(60% 55% at 96% 10%,rgba(250,249,245,.08) 0%,rgba(250,249,245,0) 72%),radial-gradient(75% 45% at 55% 108%,rgba(250,249,245,.06) 0%,rgba(250,249,245,0) 72%),linear-gradient(180deg,#faf9f5 0%,#faf9f5 100%)}
.hero__content{position:relative;z-index:1;max-width:1200px}
.hero__logo{position:relative;width:80px;height:80px;margin:0 auto} .hero__logo img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;transform-origin:50% 55%;filter:drop-shadow(0 16px 24px rgba(15,23,42,.10)) drop-shadow(0 6px 12px rgba(15,23,42,.18));animation:heroLogoFloat 5.8s ease-in-out infinite}
.hero__glow{position:absolute;left:50%;top:63%;width:80%;height:38%;border-radius:999px;z-index:1;filter:blur(10px);transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,rgba(15,23,42,.14) 0%,rgba(15,23,42,.06) 38%,rgba(15,23,42,0) 74%);animation:heroLogoGlow 5.8s ease-in-out infinite}
@keyframes heroLogoFloat{0%,100%{transform:translateY(0) rotate(-2deg) scale(1)}25%{transform:translateY(-3px) rotate(-.4deg) scale(1.01)}50%{transform:translateY(-7px) rotate(1.8deg) scale(1.03)}75%{transform:translateY(-3px) rotate(.2deg) scale(1.01)}}
@keyframes heroLogoGlow{0%,100%{opacity:.5;transform:translate(-50%,-50%) scale(.94)}50%{opacity:.95;transform:translate(-50%,-50%) scale(1.12)}}
.hero h1{margin:26px auto 0;max-width:12em;font-size:clamp(2.7rem,6.6vw,5.8rem);font-weight:600;line-height:1;letter-spacing:0;color:#0f172a}
.hero .lead{margin:24px auto 0;max-width:768px;font-size:1.16rem;line-height:2rem;color:#475569}
.hero__cta{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:36px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px} .sec--stats{padding:72px 0}
.stat{text-align:center;padding:0 12px} .stat__ic{display:flex;justify-content:center;margin-bottom:14px;color:var(--ink-2)} .stat__ic svg{width:34px;height:34px} .stat__n{font-size:clamp(40px,4.4vw,58px);font-weight:600;letter-spacing:-.02em;line-height:1;color:#0f172a} .stat__t{margin:12px auto 0;font-size:15px;color:var(--ink-2);line-height:1.4;max-width:230px}
/* распределение баллов ЕГЭ: две полосы по 100 % */
.dist{margin-top:56px;padding:0 8px}
.dist__row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:end;padding:10px 0} .dist__row+.dist__row{margin-top:8px}
.dist__subj{font-size:19px;font-weight:600;line-height:1.15;padding-bottom:6px;color:#0f172a} .dist__subj small{display:block;margin-top:4px;font-size:13px;font-weight:500;color:var(--ink-3)}
.dist__cap{width:var(--w);min-width:max-content;margin-bottom:8px;padding-bottom:6px;font-size:13.5px;font-weight:600;letter-spacing:.005em;white-space:nowrap;position:relative}
.dist__cap::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px;background:currentColor;opacity:.9}
.dist__row--chem .dist__cap{color:var(--coral-deep)} .dist__row--bio .dist__cap{color:var(--accent-deep)}
.dist__bar{display:flex;gap:3px;height:60px} .dist__seg{flex:var(--w) 1 0;min-width:0;background:var(--c);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;line-height:1.1;color:#0f172a;container-type:inline-size;overflow:hidden}
.dist__seg:first-child{border-radius:16px 4px 4px 16px} .dist__seg:last-child{border-radius:4px 16px 16px 4px} .dist__seg:nth-child(-n+2){color:#fff}
.dist__seg b{font-size:17px;font-weight:700;letter-spacing:-.01em;white-space:nowrap} .dist__seg b i{font-style:normal;font-size:12px;font-weight:600;margin-left:2px;opacity:.85} .dist__seg span{font-size:12px;font-weight:500;white-space:nowrap;opacity:.8}
@container (max-width:40px){.dist__seg span{display:none}} @container (max-width:30px){.dist__seg b{display:none}}
@media (max-width:900px){.dist__row{grid-template-columns:118px minmax(0,1fr)}}
.dist__note{margin:22px 0 0;font-size:14px;line-height:1.5;color:var(--ink-3);max-width:760px}
/* статьи: страница статьи и раздел */
.phead--post{max-width:900px;margin-left:auto;margin-right:auto} .phead--post h1{font-size:clamp(30px,4vw,46px);line-height:1.12;text-wrap:balance}
.crumb{display:inline-flex;align-items:center;gap:6px;margin-bottom:18px;font-size:14px;font-weight:600;color:var(--ink-3)} .crumb::before{content:"←"} .crumb:hover{color:var(--accent-deep)}
.post-meta{margin-top:14px!important;font-size:15px!important;color:var(--ink-3)!important} .post-meta a{color:var(--accent-deep);font-weight:600}
.post-hero{max-width:900px;margin:8px auto 36px} .post-hero img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:24px;background:var(--surface)}
.article{max-width:900px;margin:0 auto;font-size:18px;line-height:1.7;color:var(--ink);overflow-wrap:anywhere} .article>p{margin:0 0 1.15em} .article h2{font-size:26px;line-height:1.25;margin:1.7em 0 .6em;letter-spacing:-.01em} .article h3{font-size:20px;line-height:1.3;margin:1.5em 0 .5em}
.article ul,.article ol{margin:0 0 1.2em;padding-left:1.35em} .article li{margin:.4em 0} .article li p{margin:0}
.article a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
/* акцентные блоки — без полосы слева, со значком (владелец, 25.09.2026: «чёрная полоска слева… лучше с иконкой»):
   blockquote — значок цитаты; .note — значок по виду блока */
.article blockquote,.article .note{position:relative;margin:1.6em 0;padding:16px 20px 16px 56px;background:#f5f4ed;border-radius:16px;color:var(--ink)} .article blockquote{color:var(--ink-2)}
.article blockquote::before,.article .note::before{content:"";position:absolute;left:20px;top:20px;width:22px;height:22px;background:var(--ink-3);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.article blockquote p,.article .note p{margin:0} .article .note p+p{margin-top:.6em} .article .note ol,.article .note ul{margin:.5em 0 0}
.article blockquote{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.76-2-2-2H4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 0-1 1.03V20c0 1 0 1 1 1z'/%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.76-2-2-2h-4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E")}
.note--def{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E")}
.article .note--trap{background:#fff0ec;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")} .article .note--trap::before{background:#d84a37} .note--trap>p:first-child>b:first-child{color:#b93a29}
.note--deep{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.42 10.92a1 1 0 0 0-.02-1.84L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0z'/%3E%3Cpath d='M22 10v6'/%3E%3Cpath d='M6 12.5V16a6 3 0 0 0 12 0v-3.5'/%3E%3C/svg%3E")}
.note--answer{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l2 2 4-4'/%3E%3Cpath d='M3 7l2 2 4-4'/%3E%3Cpath d='M13 6h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 18h8'/%3E%3C/svg%3E")}
.note--info{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E")}
.note--hist{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E")}
@media (max-width:640px){.article blockquote,.article .note{padding:14px 16px 14px 48px} .article blockquote::before,.article .note::before{left:16px;top:18px;width:20px;height:20px}}
.article__fig{margin:1.7em 0} .article__fig img{display:block;width:100%;height:auto;border-radius:18px;background:var(--surface);cursor:zoom-in} .article__fig figcaption{margin-top:10px;font-size:15px;line-height:1.45;color:var(--ink-3);text-align:center;font-style:italic} .article__credit{display:block;margin-top:3px;font-size:12px;opacity:.75} .article__credit a{color:inherit;text-decoration:none} .article__credit a:hover{text-decoration:underline}
.article__sim iframe{display:block;width:100%;height:900px;border:1px solid var(--surface-2);border-radius:18px;background:#fff}   /* интерактивные модели (/sim/imm-*.html; высоту ставит скрипт статьи по сообщению kz-sim-height, 14.10.2026) */
/* схемы статей (14.10.2026, владелец: «В схемах размер шрифта должен быть как у основного в теле статьи»; «Сделано крайне
   не аккуратно… в том числе для мобильных»): текст схем — HTML того же размера, что и текст статьи; всё содержимое схемы —
   в одной колонке .sch-in (рисунок и пояснения выровнены по краям); на телефоне колонки и «развилки» складываются вниз */
.sch{--ln:#9a9a92;--ink2:#3c3c45} .sch figcaption{margin-top:16px}
.sch-in{max-width:720px;margin:0 auto} .sch-in--sm{max-width:600px}
.sch-box{padding:12px 16px;border-radius:14px;background:#f5f4ed;line-height:1.45} .sch-box b{display:block;margin-bottom:2px}
.sch-box--coral{background:#fdece8} .sch-box--blue{background:#e6eef6} .sch-box--green{background:#e9f2e3}
.sch-start{text-align:center;color:var(--ink-3);line-height:1.45}
.sch-arrow{display:flex;flex-direction:column;align-items:center;color:var(--ink-3);line-height:1.35;padding:6px 0}
.sch-arrow::before{content:"";width:1.5px;height:18px;background:var(--ln)} .sch-arrow::after{content:"";margin-top:-1px;border:6px solid transparent;border-top:8px solid var(--ln);border-bottom:0}
.sch-arrow span{order:-1;padding-bottom:4px} .sch-arrow:empty{padding:4px 0}
.sch-group{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:18px;padding:14px}
.sch-group__tag{line-height:1.45;color:var(--ink2);margin:0 2px 10px} .sch-group__tag b{color:var(--ink)}
.sch-fork{position:relative;height:34px} .sch-fork::before{content:"";position:absolute;left:50%;top:0;height:17px;border-left:1.5px solid var(--ln)}
.sch-fork::after{content:"";position:absolute;left:25%;right:25%;top:17px;height:17px;border:1.5px solid var(--ln);border-bottom:0;border-radius:6px 6px 0 0}
.sch-root{display:table;margin:0 auto;padding:10px 20px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #dcdbd2;text-align:center;line-height:1.4}
.sch-root small{display:block;font-size:1em;color:var(--ink-3)}
.sch-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.sch-col{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:18px;padding:12px 14px 14px}
.sch-col__head{font-weight:700;line-height:1.35;margin:2px 4px 10px;text-align:center}
.sch-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.sch-list li{margin:0;padding:8px 12px 9px 14px;border-radius:10px;background:#f5f4ed;line-height:1.4;position:relative}
.sch-list li::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:4px;border-radius:0 4px 4px 0;background:var(--mk,#c9c7bd)}
.sch-list li b{display:block} .sch-list li span{color:var(--ink2)}
.sch-list .in{--mk:#f26253} .sch-list .ad{--mk:#2f6f9f}
.sch-sub{margin-top:8px;border-radius:12px;background:#eef3f8;padding:8px 8px 8px} .sch-sub__head{line-height:1.35;margin:2px 6px 8px;color:var(--ink2)}
.sch-sub__head b{color:var(--ink)} .sch-sub .sch-list li{background:#fff}
@media (max-width:640px){.sch-cols{grid-template-columns:1fr;gap:12px} .sch-fork{height:26px} .sch-fork::after{display:none} .sch-fork::before{height:26px}
  .sch-group,.sch-col{padding:12px} .sch-list li{padding:8px 10px 9px 13px}}
.sch-key{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;line-height:1.45}
.sch-key li{display:flex;gap:.6em;align-items:flex-start;margin:0}
.sch-key .n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.5em;height:1.5em;margin-top:.04em;border-radius:50%;box-shadow:inset 0 0 0 1.5px #8a8a82;font:700 .78em/1 "Google Sans","Helvetica Neue",Arial,sans-serif;background:#fff}
.sch-key .sw{flex:none;width:1em;height:1em;border-radius:4px;margin-top:.22em} .sch-key .sw.ln{height:4px;width:1.4em;border-radius:2px;margin-top:.62em}
.sch-key .sw+.sw{margin-left:-.35em}
.sch-key--row{flex-direction:row;flex-wrap:wrap;gap:6px 24px}
.sch-side{display:grid;grid-template-columns:minmax(0,340px) 1fr;gap:20px 32px;align-items:center} .sch-side .sch-key{margin:0}
.article__fig img.sch-pic{border-radius:0;background:none;margin:0 auto}   /* рисунки Кодекса вместо схем строения (rs_figs.py, 24.10.2026) */
.article__fig img.sch-pic--tall{max-width:440px} .sch-side img.sch-pic{max-width:340px}
.article__fig img.sch-chem{width:auto;border-radius:0;background:none;margin:0 auto;display:block;max-width:100%;height:auto}   /* структурные формулы tools/organic/draw (respiration_figs.py, 25.10.2026) */
.rx{display:flex;flex-direction:column;align-items:center} .rx-m{display:flex;flex-direction:column;align-items:center;gap:.3em}   /* каскады реакций сверху вниз (respiration_figs.cascade) */
.rx-c{font-size:15px;color:var(--ink-3);text-align:center;line-height:1.45}
.rx-s{display:grid;grid-template-columns:1fr 2px 1fr;width:100%;margin:.45em 0}
.rx-a{grid-column:2;position:relative;background:#8a8a82;min-height:3.6em} .rx-a::after{content:"";position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:10px solid #8a8a82}
.rx-t{grid-column:3;align-self:center;padding:0 0 0 .9em;font-size:.88em;line-height:1.38;hyphens:manual}
.rx-n{display:inline-flex;align-items:center;justify-content:center;width:1.55em;height:1.55em;margin-right:.15em;border-radius:50%;box-shadow:inset 0 0 0 1.5px #8a8a82;font:700 .8em/1 "Google Sans","Helvetica Neue",Arial,sans-serif;vertical-align:.1em} .rx-n:empty{display:none}
.rx-pair{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5em 1.4em} .rx-eq{font-size:1.5em;color:#8a8a82}
.rx-note{font-size:.88em;line-height:1.4;text-align:center;max-width:34em;margin:.7em auto 0}
.rx-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.5em;align-items:start} .rx-cols .rx{align-items:flex-start} .rx-cols .rx-m,.rx-cols .rx-note{width:76%} .rx-cols .rx-note{margin:0 0 .6em} .rx-cols .rx-s{grid-template-columns:1fr 2px 1.6fr}
.kr-ring{position:relative;width:100%;max-width:660px;margin:0 auto} .kr-svg{position:absolute;inset:0;width:100%;height:100%}   /* кольцо цикла Кребса */
.kr-n{position:absolute;transform:translate(-50%,-50%);background:#fff;border-radius:12px;box-shadow:0 0 0 1px #ecebe4;padding:.35em .65em;font-size:.86em;line-height:1.25;text-align:center;white-space:nowrap}
.kr-n small{display:block;color:var(--ink-3);font-size:.86em}
.kr-n--d{background:#fde9e3;box-shadow:none} .kr-n--h{background:#e3eefa;box-shadow:none} .kr-n--d,.kr-n--h{white-space:normal;width:max-content;max-width:30%}   /* циклы развития: диплоидные и гаплоидные стадии */
.kr-b{position:absolute;transform:translate(-50%,-50%);font-size:.8em;line-height:1.25;text-align:center;padding:.22em .55em;border-radius:8px;white-space:nowrap}
.kr-b--out{background:#fde9e3;color:#8a2c14} .kr-b--in{background:#e3eefa;color:#1f4f86}
.kr-c{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34%;text-align:center;font-size:.9em;line-height:1.35} .kr-c span{display:block;color:var(--ink-3);font-size:.92em}
.kr-list{display:none}
@media (max-width:640px){.rx-cols{grid-template-columns:1fr} .kr-ring{display:none} .kr-list{display:block}
 .rx{align-items:flex-start} .rx-m,.rx-pair{width:76%} .rx-note{width:100%} .rx-s{grid-template-columns:1fr 2px 1.6fr} .rx-t{padding-left:.7em}}
@media (max-width:640px){.sch-side{grid-template-columns:1fr} .sch-side svg{max-width:300px!important}}
.sch-dual .v-narrow{display:none!important} @media (max-width:640px){.sch-dual .v-wide{display:none!important} .sch-dual .v-narrow{display:block!important}}
.sch-time,.article .sch-time{list-style:none;margin:0;padding:0;position:relative} .sch-time::before{content:"";position:absolute;left:calc(var(--yw,3em) + .975em - 1.5px);top:.6em;bottom:.6em;border-left:3px solid #ecebe4}
.sch-time li{position:relative;display:flex;align-items:baseline;gap:.6em;margin:0 0 .45em;line-height:1.45}
.sch-time .y{flex:none;width:var(--yw,3em);text-align:right;font-weight:700;font-variant-numeric:tabular-nums lining-nums} .sch-time .d{flex:none;width:.75em;height:.75em;border-radius:50%;box-shadow:0 0 0 3px #faf9f5}
.sch-time .nob{color:var(--ink-3)}
@media (max-width:480px){.sch-time .y{font-size:.84em} .sch-time::before{left:calc(var(--yw,3em) * .84 + .975em - 1.5px)}}   /* даты мельче — шире текст (24.10.2026) */
.sch-seq{display:block;margin:.45em 0 .1em;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:.84em;line-height:1.5;white-space:pre;overflow-x:auto}   /* последовательности нуклеотидов в схемах (теломераза, 20.10.2026) */
.sch .nw{white-space:nowrap} .sch-note{margin:12px 0 0;color:var(--ink-3);line-height:1.45;font-size:15px;text-align:center}
/* пояснения к схемам мельче основного текста (18 px), но крупнее подписи (14 px) — владелец, 28.10.2026: «Пояснения должны быть везде в статьях мелче, чем основной текст» */
.sch-key{font-size:15px}
/* все пояснения одного вида (владелец, 28.10.2026: «Шрифт пояснений должен быть однотипным по размеру и… аккуратно выровнен»):
   подпись к рисунку, подпись под формулой, абзац-пояснение — 15 px серым по центру, списки .sch-key — 15 px по левому краю;
   блоки структурных формул .rx--st: подписи соседних формул на одной линии, на телефоне блок по центру во всю ширину */
.rx--st .rx-pair{align-items:flex-end;gap:1em 2.2em}
/* «веер» реакций одного вещества (alkene_figs.Fan, 29.10.2026): на телефоне рисунок не ужимается, а прокручивается внутри рамки */
.rx--fan,.rx--fan .rx-pair,.rx--fan .rx-m{width:100%!important;min-width:0} .rx--fan .rx-m{overflow-x:auto;-webkit-overflow-scrolling:touch;align-items:center}
@media (max-width:700px){.rx--fan .rx-m:has(>img.sch-fan){align-items:flex-start} .rx--fan img.sch-fan{max-width:none!important;width:min(var(--w,640px),640px)!important}}
@media (max-width:640px){.sch-note,.sch-key,.rx-c,.article__fig figcaption{font-size:14px} .rx.rx--st{align-items:center} .rx--st .rx-m,.rx--st .rx-pair{width:auto}} .sch-sub--plain{background:#f5f4ed}
/* рисунки статей о химии (chem_ege.py): рисунок — на белой карточке, под ним одна подпись «Рис. N. Название. Пояснение» слева,
   гротеском, как в научных изданиях (владелец, 28.10.2026: «Аннотации к рисункам… сделай на современном уровне, как у хороших изданий») */
/* владелец, 29.10.2026: «Убрать во всех статьях белый контейнер под иллюстрациями, а аннотации сделать курсивом» */
.article__fig.sch .fig-body{padding:8px 0}
/* статья «Генетический код и его свойства» (07.11.2026): таблица кода и записи цепей по кодонам */
.gc-wrap{max-width:720px;margin:0 auto}
/* статья «Кодирующие и регуляторные последовательности» (08.11.2026): мРНК по частям, сплайсинг, мини-ген */
.rg-mrna{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}
.rg-seg{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:5.2em;padding:8px 10px;border-radius:10px;line-height:1.3;text-align:center}
.rg-seg b{font-weight:600} .rg-seg span{font-size:15px;color:var(--ink-2)}
.rg-alt .rg-row{display:grid;grid-template-columns:minmax(0,11em) 1fr;gap:10px;align-items:center;padding:4px 0}
.rg-lab{color:var(--ink-2);line-height:1.3} .rg-chain{display:flex;align-items:center;flex-wrap:wrap;gap:2px}
.rg-ex{display:inline-flex;align-items:center;justify-content:center;width:2.6em;height:1.9em;border-radius:6px;font-weight:600;color:#1f1f24}
.rg-in{display:inline-block;width:1.8em;height:2px;background:#9a9a92;margin:0 2px}
.rg-minis{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.rg-mini{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px #ecebe4;background:#fff}
.rg-mini__l{background:var(--c);padding:3px 10px;font-size:15px;font-weight:600;color:#1f1f24;text-align:center}
.rg-mini__s{padding:5px 10px;letter-spacing:.04em;text-align:center}
@media (max-width:640px){.rg-seg{min-width:4.4em;padding:6px 6px} .rg-seg span,.rg-mini__l{font-size:14px} .rg-alt .rg-row{grid-template-columns:1fr;gap:4px}}
/* статья «Геномы бактерий, архей и эукариот» (08.11.2026): шкалы размеров, состав мтДНК */
.gn-bar{display:grid;grid-template-columns:minmax(0,13em) 1fr 6.2em;gap:10px;align-items:center;padding:5px 0;line-height:1.3}
.gn-bar__t{height:14px;background:#f5f4ed;border-radius:7px;overflow:hidden} .gn-bar__t i{display:block;height:100%;border-radius:7px}
.gn-bar__v{text-align:right;font-weight:600;white-space:nowrap}
.gn-mt-head{text-align:center;font-weight:600;margin-bottom:10px}
.gn-mt{display:grid;grid-template-columns:3.2em 1fr;gap:12px;align-items:center;padding:6px 0;line-height:1.4}
.gn-mt b{display:flex;align-items:center;justify-content:center;height:2.2em;border-radius:10px;font-size:1.15em;color:#1f1f24}
@media (max-width:640px){.gn-bar{grid-template-columns:minmax(0,1fr) 5.6em;grid-template-areas:"l v" "t t";row-gap:4px} .gn-bar__l{grid-area:l} .gn-bar__v{grid-area:v} .gn-bar__t{grid-area:t}}
.gc-mols{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:18px 48px} .gc-mol{max-width:100%} .gc-mol .rx-c{margin-top:6px;text-align:center}
.gc-axis{text-align:center;color:var(--ink-3);font-size:15px;line-height:1.3;margin-bottom:4px}
.gc-grid{display:grid;grid-template-columns:22px repeat(4,minmax(0,1fr));gap:4px;font-size:15px;line-height:1.35}
.gc-h{text-align:center;font-weight:600;color:var(--ink-2)} .gc-h--row{display:flex;align-items:center;justify-content:center}
.gc-box{display:grid;gap:1px;border-radius:9px;overflow:hidden}
.gc-box span{display:flex;justify-content:space-between;gap:4px;padding:3px 8px;white-space:nowrap}
.gc-box b{font-weight:500} .gc-box em{font-style:normal;font-weight:600}
.gc-np{background:#f3ecd9} .gc-po{background:#e6eef6} .gc-ba{background:#e9f2e3} .gc-ac{background:#fdece8} .gc-st{background:#3c3c45;color:#fff}
.gc-okk{background:#e9f2e3} .gc-bad{background:#fdece8}
.gc-box .gc-start{box-shadow:inset 0 0 0 2px #2f6f4f}
.gc-key{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;margin:12px 0 0!important;padding:0!important;font-size:15px;color:var(--ink-2);line-height:1.35}
.gc-key li{display:flex;align-items:center;gap:6px;margin:0!important;padding:0!important} .gc-key li::before{display:none!important} .gc-key i{display:inline-block;width:14px;height:14px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.gc-rows{display:grid;gap:12px}
.gc-row{display:grid;gap:4px}
.gc-row__l{color:var(--ink-2);line-height:1.35} .gc-row__s{display:flex;flex-wrap:wrap;align-items:center;gap:4px;line-height:1.3}
.gc-row__r{color:var(--ink-3);font-size:15px;line-height:1.35}
.gc-end{color:var(--ink-3);font-size:15px;padding:0 2px}
.gc-pad{color:var(--ink-3);letter-spacing:.1em;width:1.6em;text-align:right}
.gc-cod{display:inline-block;min-width:2.9em;text-align:center;padding:3px 6px;border-radius:7px;background:#f5f4ed;font-variant-numeric:tabular-nums}
.gc-cod--m{background:#e6eef6} .gc-cod--aa{background:#fff;box-shadow:inset 0 0 0 1px #dcdbd2}
.gc-cod.gc-ok{background:#e9f2e3} .gc-cod.gc-bad{background:#fdece8} .gc-cod u{text-decoration:none;font-weight:700;color:#b5523b}
.gc-deg{display:grid;grid-template-columns:7.2em 1fr;gap:8px;align-items:start;padding:8px 0;border-top:1px solid #ecebe4} .gc-deg:first-child{border-top:0}
.gc-deg__n b{font-size:1.15em} .gc-deg__a{display:flex;flex-wrap:wrap;gap:4px} .gc-deg__a span{padding:2px 8px;border-radius:7px}
.gc-bar{display:grid;grid-template-columns:minmax(0,10em) 1fr 4em;gap:10px;align-items:center;padding:5px 0;line-height:1.3}
.gc-bar__t{height:14px;background:#f5f4ed;border-radius:7px;overflow:hidden} .gc-bar__t i{display:block;height:100%;background:#4a7fa7}
.gc-bar__v{text-align:right;font-weight:600}
.gc-wob-head{display:grid;grid-template-columns:9.5em 1fr;gap:10px;color:var(--ink-3);font-size:15px;line-height:1.3;margin-bottom:8px}
.gc-wob{display:grid;grid-template-columns:9.5em 1fr;gap:10px;align-items:center;padding:3px 0} .gc-wob .gc-cod{width:100%;box-sizing:border-box}
.gc-pairs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.gc-pair{background:#f5f4ed;border-radius:12px;padding:8px 6px;text-align:center;line-height:1.35} .gc-pair u{text-decoration:none;font-weight:700;color:#b5523b} .gc-pair b{font-weight:500}
.gc-pair__l{white-space:nowrap} .gc-pair__m{display:none}
@media (max-width:640px){.gc-grid{grid-template-columns:16px repeat(4,minmax(0,1fr));gap:2px;font-size:12.5px} .gc-box span{padding:2px 3px;gap:2px} .gc-axis,.gc-key,.gc-row__r,.gc-end,.gc-wob-head{font-size:14px} .gc-pair{font-size:14px;padding:6px 2px} .gc-bar{grid-template-columns:7em 1fr 3.4em;gap:6px}}
.article__fig figcaption.fig-cap{margin:12px auto 0;padding:0 4px;text-align:left;font-style:italic;font-family:"Google Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.5;color:var(--ink-2)}
/* длинное слово в заголовке статьи («конпропорционирование») не шире экрана телефона — перенос по слогам (28.10.2026) */
.phead--post h1{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
.fig-cap .fig-n{font-weight:700;color:var(--ink)} .fig-cap .fig-t{font-weight:500;color:var(--ink)}
.fig-cap .article__credit{margin-top:4px;font-size:12.5px;line-height:1.4;color:var(--ink-3);opacity:1} .fig-cap .article__credit a{color:inherit}
.article__fig.sch .rx-c,.article__fig.sch .sch-note,.article__fig.sch .sch-key,.article__fig.sch .sch-key li{font-family:"Google Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--ink-2)}
.article__fig.sch .rx-c{font-size:14px;line-height:1.35;margin-top:2px}
@media (max-width:640px){.article__fig.sch .fig-body{padding:6px 0} .article__fig figcaption.fig-cap{font-size:14px;margin-top:10px;padding:0 2px} .article__fig.sch .rx-c{font-size:13px}}
/* серия «ЕГЭ по химии — 2027» (16.10.2026, tools/blog_gen/chem_ege.py): формула не рвётся, уравнение — отдельной строкой
   с переносом только между членами, электронный баланс — сеткой «процесс | множитель | подпись» */
.article .cf{white-space:nowrap} .article .cf sub,.article .cf sup{font-size:.72em;line-height:0}
.article .eq{margin:.3em 0 1.1em;padding:10px 16px;background:#f5f4ed;border-radius:12px;line-height:1.85;overflow-wrap:normal;word-break:normal}
.article details .eq,.article .note .eq{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4}
.article .arr{display:inline-flex;flex-direction:column;align-items:stretch;vertical-align:middle;margin:0 .3em;line-height:1.1;text-align:center}
.article .arr small{padding:0 .75em 0 .4em;font-size:14px;color:var(--ink-3);white-space:nowrap}
.article .arr i{position:relative;display:block;min-width:2em;height:0;margin:.2em 0 .45em;border-top:1.5px solid currentColor}
.article .arr i::after{content:"";position:absolute;right:-1px;top:-5.5px;border:5px solid transparent;border-left:8px solid currentColor;border-right:0}
.article .arr--back i::after{right:auto;left:-1px;border-left:0;border-right:8px solid currentColor}
.article .arr--eq i{height:5px;border-bottom:1.5px solid currentColor} .article .arr--eq i::after{top:-5.5px;border-width:4px 0 4px 7px}
.article .chain{line-height:2.4} .article .chain .arr{margin:0 .3em}
.article .calc{display:grid;gap:6px;line-height:1.6} .article .calc p{margin:0}
/* формулы на LaTeX (tools/blog_tex.py, владелец 14.11.2026): дроби чертой, крупнее текста, выносные — по центру;
   длинная формула на телефоне прокручивается вбок, страница не расползается */
.article .mathd{margin:.6em 0 1.1em;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding:2px 0;text-align:center}
.article .mrow{margin:.35em 0} .article .mpart{display:inline-block;margin:0 .9em;vertical-align:middle;text-align:center}
.article .mathd .katex{font-size:1.2em;line-height:1.5}
.article .mathi .katex{font-size:1.08em}
@media (max-width:640px){.article .mathd .katex{font-size:1.06em} .article .mpart{margin:0 .4em}}
.article .eq--rio{display:grid;gap:8px} .article .eq--rio p{margin:0} .eq--rio small{display:block;font-size:14px;line-height:1.3;color:var(--ink-3)}
.article .eb{display:grid;grid-template-columns:auto auto 1fr;align-items:baseline;row-gap:2px;margin:.2em 0 1.1em;padding:8px 16px;line-height:1.7}
.eb__p{padding-right:14px;white-space:nowrap} .eb__k{padding:0 16px;border-left:1.5px solid #8a8a82;font-weight:700;font-variant-numeric:tabular-nums}
.eb__t{color:var(--ink-3)}
.article .eib .eb{margin-bottom:0} .eib .eb__p{white-space:normal} .article .eib .eq{margin-top:.1em}   /* электронно-ионный баланс: полуреакции переносятся */
@media (max-width:640px){.article .eib .eb{grid-template-columns:minmax(0,1fr) auto} .eib .eb__t{grid-column:1/-1;font-size:13px;line-height:1.3;margin:-2px 0 8px}}
@media (max-width:640px){.article .eq,.article .eb{padding-left:12px;padding-right:12px} .eb__k{padding:0 12px} .eb__t{font-size:15px}}
.sch-in--lg{max-width:900px} .sch-cols--3{grid-template-columns:repeat(3,minmax(0,1fr))} .sch-fork--3::before{height:34px} .sch-fork--3::after{left:16.67%;right:16.67%}
.sch-list .ox{--mk:#f26253} .sch-list .re{--mk:#2f6f9f} .sch-list .du{--mk:#e0a030}
/* кладограммы (tools/blog_gen/archaeplastida_figs.clad; 27.10.2026 номера на ветвях заменены подписями): каждая строка — лист
   (название справа от колонки древа --tw) или короткая подпись ветви (от начала ветви --x, ветвь — по низу строки), пояснения
   к подписям — списком .sch-key под древом;
   линии — отрезки .sch-clad__g внутри строки, поэтому строки любой высоты */
.sch-clad{--tw:66%;--gap:14px;--rh:2.3em;max-width:none;margin:0 auto}
/* кладограмма — на всю ширину карточки рисунка: ветви длиннее, справа не остаётся пустого места (владелец, 29.10.2026) */
.sch-in:has(>.sch-clad){max-width:none}
@media (max-width:900px){.sch-clad{--tw:48%}}
.sch-clad__r{position:relative;min-height:var(--rh);display:flex;align-items:center;padding:.15em 0 .15em calc(var(--tw) + var(--gap));line-height:1.3;overflow-wrap:normal;word-break:normal;hyphens:manual}
.sch-clad__r small{font-size:1em;color:var(--ink-3)}
.sch-clad__r--lab{min-height:0;align-items:flex-end;padding:.55em 0 .25em calc(var(--tw) * var(--x) / 100 + .5em);line-height:1.3;color:var(--ink-2)}
.sch-clad__r--lab b{color:var(--ink)}
.sch-clad+.sch-key{margin-top:18px;padding-top:14px;border-top:1px solid #ecebe4}
.sch-clad__g{position:absolute;left:0;top:0;bottom:0;width:var(--tw);pointer-events:none}
.sch-clad__g i{position:absolute;display:block;box-sizing:content-box;height:0;padding-right:1.1px;margin:-1.1px 0 0 -1.1px;border-top:2.2px solid}
.sch-clad__g i.v{width:0;height:auto;padding:0;margin-top:0;border-top:0;border-left:2.2px solid #9a9a96}
@media (max-width:640px){.sch-clad{--tw:36%;--gap:8px;--rh:2.6em}}
@media (max-width:360px){.sch-clad{--tw:30%;--gap:6px}}
@media (max-width:640px){.sch-cols--3{grid-template-columns:1fr} .sch-fork--3::before{height:26px}}
.lad{list-style:none;margin:0;padding:0;display:grid;gap:12px} .lad--4{grid-template-columns:repeat(4,minmax(0,1fr))} .lad--3{grid-template-columns:repeat(3,minmax(0,1fr))} .lad--5{grid-template-columns:repeat(5,minmax(0,1fr))} .lad.lad--5 .nw{white-space:normal} .lad .nw{white-space:nowrap}
.lad li{margin:0;padding:12px 12px 14px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;text-align:center;line-height:1.35}
.lad i{display:block;height:54px;margin-bottom:10px;border-radius:10px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.lad i.lad__s{background:radial-gradient(circle at 30% 70%,var(--c) 0 3px,transparent 4px) 0 0/14px 14px,radial-gradient(circle at 70% 30%,var(--c) 0 2px,transparent 3px) 0 0/11px 11px,#efe9df}
.lad b{display:block;margin-bottom:2px} .lad span{display:block;color:var(--ink-3)} .lad span+span{color:var(--ink2)}
@media (max-width:640px){.lad--4,.lad--3,.lad--5{grid-template-columns:repeat(2,minmax(0,1fr))} .lad{gap:10px}}
.xmap{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:8px}
.xmap li{margin:0;padding:8px 4px 7px;border-radius:12px;text-align:center;line-height:1.2;background:#f5f4ed;box-shadow:inset 0 0 0 1px #dcdbd2}
.xmap b{display:block;font-size:1.1em;font-variant-numeric:tabular-nums} .xmap span{font-size:14px;color:var(--ink-3)}
.xmap .xm-b2{background:#e6eef6;box-shadow:none} .xmap .xm-p2{background:#fdece8;box-shadow:none}
.hbars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hb{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,36%) 3.4em;gap:2px 14px;align-items:center;margin:0;line-height:1.35}
.hb__l b{display:inline-block;min-width:1.7em;font-variant-numeric:tabular-nums}
.hb__bar{height:12px;border-radius:6px;background:#ecebe4;overflow:hidden} .hb__bar i{display:block;height:100%;background:#2f6f9f;border-radius:6px}
.hb--p2 .hb__bar i{background:#f26253} .hb__v{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
@media (max-width:640px){.hb{grid-template-columns:minmax(0,1fr) 3.4em} .hb__l{grid-column:1/-1}}
.article__fig--tall img{max-width:540px;margin-left:auto;margin-right:auto} .article__fig--sq img{max-width:720px;margin-left:auto;margin-right:auto} .article__fig--tall figcaption,.article__fig--sq figcaption{max-width:720px;margin-left:auto;margin-right:auto}
/* фото и рисунки Кодекса (владелец, 21.10.2026: «некоторые фото очень крупные… органично должны вписываться»): высота ограничена,
   без кадрирования; вертикальные — ещё ниже; 2–3 подряд — в ряд (tools/blog_gen/codex_pictures/fig_layout.py) */
.article__fig--photo img{width:auto;max-width:100%;max-height:min(460px,70vh);margin-left:auto;margin-right:auto}
.article__fig--portrait img{max-height:min(400px,65vh)}
.article__fig--photo figcaption{max-width:640px;margin-left:auto;margin-right:auto}
.article__figrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px 20px;align-items:start;margin:1.7em 0}
.article__figrow .article__fig{margin:0}
.article__figrow .article__fig img{max-height:300px}
@media (max-width:640px){.article__figrow{grid-template-columns:1fr;gap:24px} .article__figrow .article__fig img{max-height:min(420px,70vh)}}
.article__table{margin:1.6em 0;background:#fff;border:1px solid #ecebe4;border-radius:16px;overflow-x:auto;-webkit-overflow-scrolling:touch} .article table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.5;overflow-wrap:normal;word-break:normal} .article th,.article td{padding:12px 16px;vertical-align:top;text-align:left;border-top:1px solid #ecebe4} .article thead th{border-top:0;background:#f5f4ed;font-weight:600;font-size:15px;line-height:1.35} .article th:first-child,.article td:first-child{padding-left:20px} .article th:last-child,.article td:last-child{padding-right:20px} .article__table--stack td:first-child{font-weight:600}
/* таблица-справочник на телефоне: строка — карточка, у каждой ячейки подпись столбца (data-label ставит build_site.label_stack_tables) */
@media (max-width:640px){.article th,.article td{padding:10px 12px} .article th:first-child,.article td:first-child{padding-left:14px} .article th:last-child,.article td:last-child{padding-right:14px} .article__table--stack{background:none;border:0;border-radius:0;overflow:visible} .article__table--stack table,.article__table--stack tbody,.article__table--stack tr,.article__table--stack td{display:block} .article__table--stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)} .article__table--stack tr{background:#fff;border:1px solid #ecebe4;border-radius:16px;padding:14px 16px;margin:0 0 10px} .article__table--stack td,.article__table--stack td:first-child,.article__table--stack td:last-child{border:0;padding:8px 0 0} .article__table--stack td:first-child{padding-top:0;font-size:17px} .article__table--stack td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;font:500 13px/1.3 "Google Sans",Inter,-apple-system,sans-serif;color:var(--ink-3)}}
.article hr{border:0;height:1px;background:var(--surface-2);margin:2em 0}
.article [id]{scroll-margin-top:96px} .article blockquote ol,.article blockquote ul{margin:.5em 0 0}
.article details{margin:0 0 1.4em;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:16px} .article summary{display:flex;align-items:center;gap:10px;padding:12px 18px;cursor:pointer;list-style:none;font-weight:600;font-size:16px} .article summary::-webkit-details-marker{display:none} .article summary::after{content:"";width:7px;height:7px;border-right:2px solid var(--ink-3);border-bottom:2px solid var(--ink-3);transform:rotate(45deg);margin-left:auto;margin-right:4px;transition:transform .15s} .article details[open]>summary::after{transform:rotate(-135deg)} .article details>div{padding:0 18px 14px} .article details>div>:last-child{margin-bottom:0}
.article__video{position:relative;aspect-ratio:16/9;margin:1.7em 0;border-radius:18px;overflow:hidden;background:var(--surface)} .article__video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.comments__h{display:flex;align-items:baseline;gap:10px;font-size:26px;margin-bottom:18px} .comments__n{font-size:16px;font-weight:600;color:var(--ink-3)}
.cm-login{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;padding:20px 22px;border-radius:18px;background:var(--surface)} .cm-login p{margin:0;color:var(--ink-2);font-size:16px;flex:1 1 260px}
.cm-new{display:flex;flex-direction:column;gap:10px} .cm-new textarea{width:100%;min-height:92px;padding:14px 16px;border:1px solid rgba(15,23,42,.12);border-radius:16px;background:#fff;font:inherit;font-size:16px;line-height:1.5;color:var(--ink);resize:vertical}
.cm-new textarea:focus{outline:none;border-color:rgba(15,23,42,.2);box-shadow:0 8px 22px -12px rgba(31,30,29,.22)} .cm-new__bar{display:flex;align-items:center;justify-content:flex-end;gap:14px} .cm-new__bar .btn{height:42px;padding:0 20px;font-size:15px}
.cm-err{flex:1;font-size:14px;color:#991b1b} .cm-me{display:flex;align-items:center}
.cm-list{margin-top:26px} .cm{display:flex;gap:14px;padding:16px 0;border-top:1px solid var(--surface-2)} .cm--reply{padding:12px 0 4px;border-top:0} .cm-replies{margin-top:6px;padding-left:2px}
.cm-ava{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--accent-soft);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px} .cm--reply .cm-ava{width:32px;height:32px;font-size:14px} .cm-ava--gone{background:var(--surface-2)}
.cm-main{flex:1;min-width:0} .cm-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap} .cm-name{font-size:15px;font-weight:600} .cm-time{font-size:13px;color:var(--ink-3)}
.cm-body{margin:6px 0 0;font-size:16px;line-height:1.55;overflow-wrap:anywhere} .cm-body--gone{color:var(--ink-3);font-style:italic}
.cm-actions{display:flex;align-items:center;gap:16px;margin-top:8px} .cm-act{font-size:14px;font-weight:600;color:var(--ink-3);transition:color .15s} .cm-act:hover{color:var(--ink)} .cm-act--del:hover{color:#991b1b}
.cm-like{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;color:var(--ink-3);transition:color .15s} .cm-like svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round} .cm-like:hover,.cm-like.is-on{color:#d54267} .cm-like.is-on svg{fill:currentColor}
.cm-new--reply{margin-top:12px} .cm-new--reply textarea{min-height:64px} .cm-empty{margin:0;padding:18px 0;color:var(--ink-3);font-size:15px}
.post-foot{max-width:900px;margin:40px auto 0;padding-top:28px;border-top:1px solid var(--surface-2)}
.posts-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px} .posts-search{flex:1 1 280px;max-width:420px;height:48px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);font:inherit;font-size:16px;color:var(--ink);outline:none} .posts-search:focus{background:var(--surface-2)} .posts-count{font-size:15px;color:var(--ink-3);font-weight:500}
.post__noimg{aspect-ratio:16/9;background:linear-gradient(135deg,var(--accent-soft),var(--coral-soft))} .posts-more-wrap{margin-top:28px} .posts-more-wrap[hidden]{display:none} .posts-empty{padding:40px 0;color:var(--ink-3);text-align:center}
/* о репетиторе (кратко) */
/* /about — «О репетиторе» (владелец, 18.09.2026: «аккуратнее и современнее»): портрет, плитки фактов, строки школ/вузов, хронология с маркерами, документы под хронологией */
.sec--intro{padding:56px 0 24px}
/* фото — по высоте текста с кнопками: верх по имени, низ по кнопкам (владелец, 08.10.2026: «Выровнять фото с данными»); картинка не влияет на высоту
   строки — absolute; плитки с цифрами — строкой под фото и текстом во всю ширину (владелец, 08.10.2026: «Вот это нужно снизу под фото») */
.about{display:grid;grid-template-columns:400px minmax(0,1fr);gap:40px 64px;align-items:start}
.about__photo{position:relative;align-self:stretch;min-height:320px} .about__photo img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%;border-radius:32px;box-shadow:0 30px 60px -30px rgba(15,23,42,.35)}
.about__body .eyebrow{margin-bottom:14px} .about__body h1{font-size:clamp(30px,3.2vw,42px);text-wrap:balance}
.about__sub{margin-top:14px;font-size:16px;font-weight:600;color:var(--accent-deep)} .about__text{margin-top:16px;font-size:18px;color:var(--ink-2)}
.about__facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.afact{padding:16px 18px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4} .afact b{display:block;font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1;color:#0f172a} .afact span{display:block;margin-top:7px;font-size:13.5px;line-height:1.35;color:var(--ink-3)}
.about__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.tagcard{margin-top:44px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:26px;padding:6px 28px}
.tagrow{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;align-items:center;padding:18px 0} .tagrow+.tagrow{border-top:1px solid rgba(15,23,42,.06)}
.tagrow__cap{font-size:15px;font-weight:600;color:var(--ink-2)} .tagrow__list{display:flex;flex-wrap:wrap;gap:8px}
.tag{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:var(--surface);font-size:14px;font-weight:500;color:var(--ink-2)}
.cv{display:grid;gap:24px}
.cv__col{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:26px;padding:28px 28px 24px}
.cv__h{display:flex;align-items:center;gap:12px;font-size:22px;letter-spacing:-.01em;margin-bottom:10px}
.cv__grid{display:grid;grid-template-columns:minmax(0,1fr) 40%;gap:12px 36px;align-items:start} .cv__ic{width:40px;height:40px;border-radius:13px;background:var(--accent-soft);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;flex:none} .cv__ic svg{width:20px;height:20px}
.cv__list{list-style:none;margin:0;padding:0}
.cv__item{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);gap:16px;padding:16px 0 16px 26px}
.cv__item::before{content:"";position:absolute;left:7px;top:25px;width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.cv__item::after{content:"";position:absolute;left:11px;top:41px;bottom:-21px;width:2px;background:var(--surface-2)} .cv__item:last-child::after{display:none}
.cv__when{padding-top:3px;font-size:14px;font-weight:600;color:var(--accent-deep);white-space:nowrap}
.cv__what b{display:block;font-size:16.5px;font-weight:600;line-height:1.35;color:var(--ink)} .cv__what span{display:block;margin-top:5px;font-size:15px;line-height:1.5;color:var(--ink-3)}
.dcard{display:block;width:100%;margin-top:14px;padding:12px;border-radius:20px;background:var(--surface);text-align:left;cursor:zoom-in;transition:transform .2s,box-shadow .2s,background .2s} .dcard:hover{transform:translateY(-2px);background:var(--surface-2);box-shadow:0 2px 4px rgba(15,23,42,.03),0 26px 48px -30px rgba(106,26,107,.32)}
.dcard__img{display:block;overflow:hidden;border-radius:12px;background:var(--surface-2)} .dcard__img img{display:block;width:100%;height:auto;transition:transform .35s} .dcard:hover .dcard__img img{transform:scale(1.03)}
.dcard__cap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 6px 4px} .dcard__cap b{font-size:15px;font-weight:600;color:var(--ink)} .dcard__zoom{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--accent-deep);white-space:nowrap} .dcard__zoom svg{width:18px;height:18px}

/* цены списком */
.sec--tint{background:transparent}
.sec--tint .trainer{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4} .sec--tint .trainer:hover{background:var(--surface-2);transform:translateY(-2px);box-shadow:0 24px 46px -24px rgba(15,23,42,.32)}
.track--cards{gap:16px;padding:0;margin:0} .plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px} .plans .plan{flex:none} @media (max-width:1024px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}} @media (max-width:640px){.plans{grid-template-columns:minmax(0,1fr)}}
.plan{flex:0 0 calc((100% - 32px)/3);scroll-snap-align:start;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:var(--r);padding:26px 26px 24px;display:flex;flex-direction:column}
.plan h3{font-size:23px;letter-spacing:-.01em}
.plan__price{margin-top:18px;display:flex;align-items:baseline;gap:8px} .plan__price b{font-size:38px;font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--accent)} .plan--free .plan__price b{color:var(--ink)} .plan__price span{font-size:15px;color:var(--ink-2)}
.plan .btn{margin-top:16px;width:100%} .btn--outline{height:48px;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px rgba(15,23,42,.18)} .btn--outline:hover{background:var(--surface)}
.plan__inc{margin-top:22px;display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--ink)} .plan__inc svg{width:22px;height:22px;color:var(--accent);flex:none}
.plan__list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px} .plan__list li{display:flex;gap:10px;font-size:15.5px;line-height:1.45;color:var(--ink)} .plan__list svg{width:18px;height:18px;flex:none;color:var(--accent);margin-top:3px}
.pnote{margin-top:22px;font-size:15px;color:var(--ink-3);max-width:720px} .pcta{margin-top:28px}
/* онлайн */
.online{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center}
.online p{margin-top:16px;font-size:18px;color:var(--ink-2)} .online .btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.carousel{position:relative} .track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 0 8px;-webkit-overflow-scrolling:touch} .track::-webkit-scrollbar{display:none}
.slide{flex:0 0 min(80%,640px);margin:0;scroll-snap-align:start;cursor:zoom-in} .slide img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:20px;background:#3a0f3b}
.car__nav{display:flex;gap:10px;justify-content:flex-end;margin-top:6px} .car__btn{width:44px;height:44px;border-radius:999px;background:var(--surface);display:flex;align-items:center;justify-content:center} .car__btn:hover{background:var(--surface-2)} .car__btn svg{width:18px;height:18px}
.trainers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:40px}
.trainer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border-radius:var(--r);background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;transition:background .15s} .trainer:hover{background:var(--surface-2)}
.trainer h3{font-size:19px} .trainer p{margin-top:5px;font-size:15px;color:var(--ink-2)} .trainer svg{width:22px;height:22px;flex:none;color:var(--ink-3)}
/* отзывы */
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.reviews--cols{display:block;columns:3;column-gap:16px} .reviews--cols .review{break-inside:avoid;margin-bottom:16px}
.review{position:relative;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:26px;padding:26px 26px 24px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s} .review:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(15,23,42,.03),0 26px 48px -30px rgba(106,26,107,.32)}
.review__q{width:40px;height:40px;border-radius:13px;background:var(--accent-soft);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;margin-bottom:16px} .review__q svg{width:20px;height:20px}
.review__t{font-size:16px;line-height:1.6;color:var(--ink-2)} .review--clamp .review__t{display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden} .review.is-open .review__t{display:block;-webkit-line-clamp:unset}
.review__more{margin-top:12px;font-size:14px;font-weight:600;color:var(--accent-deep);align-self:flex-start;display:inline-flex;align-items:center;gap:4px} .review__more::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-3px 0 0 4px;transition:transform .2s} .review.is-open .review__more::after{transform:rotate(-135deg);margin-top:3px}
.review footer{margin-top:auto;padding-top:20px;display:flex;align-items:center;gap:12px;flex-direction:row}
.review__av{width:44px;height:44px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;letter-spacing:.02em} .review__av--a{background:linear-gradient(135deg,#f26253,#f7a04a)} .review__av--b{background:linear-gradient(135deg,#e0503f,#f26253)} .review__av--c{background:linear-gradient(135deg,#f58a4f,#f7a04a)}
.review__who{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0} .review__who b{font-size:15px;line-height:1.2}
.review__tag{display:inline-flex;align-items:center;max-width:100%;padding:4px 10px;border-radius:999px;background:var(--surface);font-size:12.5px;font-weight:500;line-height:1.3;color:var(--ink-3)} .review__tag--hi{background:var(--accent-soft);color:var(--accent-deep);font-weight:600}
.review[hidden]{display:none}
/* /reviews: результаты из отзывов и фильтр по группам */
.rvh-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:30px;max-width:900px} .rvh{background:var(--surface);border-radius:20px;padding:16px 18px} .rvh b{display:block;font-size:26px;line-height:1.1;letter-spacing:-.02em;background:linear-gradient(90deg,#f26253,#f7a04a);-webkit-background-clip:text;background-clip:text;color:transparent} .rvh span{display:block;margin-top:5px;font-size:13px;line-height:1.35;color:var(--ink-3)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px} .chip{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:999px;background:var(--surface);font-size:14.5px;font-weight:600;color:var(--ink-2);transition:background .15s,color .15s} .chip i{font-style:normal;font-size:12px;font-weight:600;color:var(--ink-3);background:#fff;border-radius:999px;padding:2px 7px;line-height:1.3} .chip:hover{background:var(--surface-2)} .chip.is-on{background:var(--ink);color:#fff} .chip.is-on i{background:rgba(255,255,255,.18);color:#fff}
.reviews-empty{padding:40px 0;color:var(--ink-3);text-align:center} .reviews-empty[hidden]{display:none} .reviews-more{display:flex;justify-content:center;margin-top:12px} #reviews-more[hidden]{display:none}
.sec__tools{display:flex;align-items:center;gap:18px} .sec__tools .car__nav{margin:0}
.rev{flex:0 0 calc((100% - 32px)/3);scroll-snap-align:start;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:var(--r);padding:26px;display:flex;flex-direction:column}
.rev__q{width:40px;height:40px;border-radius:13px;background:#fff;color:var(--accent-deep);display:flex;align-items:center;justify-content:center;margin-bottom:16px} .rev__q svg{width:20px;height:20px}
.rev__t{font-size:15.5px;line-height:1.55;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.rev .review__more{margin-top:10px}
.rev footer{margin-top:auto;padding-top:20px;display:flex;align-items:center;gap:12px} .rev__av{width:42px;height:42px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex:none} .rev__av--a{background:var(--accent-soft);color:var(--accent-deep)} .rev__av--b{background:var(--coral-soft);color:var(--coral-deep)}
.rev__who{display:flex;flex-direction:column;min-width:0} .rev__who b{font-size:15px} .rev__who span{font-size:13px;color:var(--ink-3);margin-top:2px} 
/* контакты */
.contact{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:0 64px;align-items:start} .contact .lead,.contact .lead__done{grid-row:span 2} .contact__links{margin-top:26px}
.card{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:28px;padding:36px} .card h2{font-size:30px} .card p{margin-top:12px;color:var(--ink-2);font-size:17px}
.card .btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.card.contact{padding:44px 48px 40px} .card .contact__lead{max-width:420px}
.clist{display:flex;flex-direction:column;gap:2px} .clist a{display:flex;align-items:center;gap:14px;padding:7px 0;color:var(--ink);font-weight:600;font-size:16px;line-height:1.25;transition:color .15s} .clist a:hover{color:var(--accent-deep)}
.clist__ic{flex:none;width:42px;height:42px;border-radius:13px;background:var(--surface);color:var(--accent-deep);display:flex;align-items:center;justify-content:center} .clist__ic svg{width:19px;height:19px}
.clist small{display:block;font-size:13px;font-weight:400;color:var(--ink-3);margin-top:2px}
.foot{padding:40px 0 56px;color:var(--ink-3);font-size:14px} .foot__in{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap} .foot a:hover{color:var(--ink)} .foot__links{display:flex;gap:18px;flex-wrap:wrap}
/* слайд «О репетиторе»: документы миниатюрами */
.docs.docs--mini{display:flex;grid-template-columns:none;gap:14px;margin:20px 0 18px;align-items:stretch} .docs--mini .doc{width:auto;padding:0;border-radius:12px;background:transparent;cursor:zoom-in;transition:transform .15s} .docs--mini .doc:hover{transform:translateY(-2px)} .docs--mini .doc img{height:150px;width:auto;max-width:100%;border-radius:12px;box-shadow:0 10px 26px -14px rgba(15,23,42,.35)}
/* слайд «Как проходят занятия» */
.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px} .pr{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:var(--r);padding:22px 24px} .pr h3{font-size:17px;margin-bottom:8px} .pr p{font-size:14.5px;color:var(--ink-2);line-height:1.5}
.sec--tint .rev{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4} .sec--tint .rev__q{background:var(--surface)}
/* внутренние страницы */
.pay{display:flex;flex-direction:column;gap:16px;margin-top:8px} .pay[hidden],.pay__off[hidden]{display:none}
.pay__field{display:flex;flex-direction:column;gap:7px} .pay__field span{font-size:14px;font-weight:600;color:var(--ink-2)}.pay__field input,.pay__field select{height:52px;padding:0 16px;border:1px solid rgba(15,23,42,.12);border-radius:14px;background:#fff;font:inherit;font-size:16px;color:var(--ink);appearance:none;-webkit-appearance:none}.pay__field select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:20px;padding-right:44px}.pay__field input:focus,.pay__field select:focus{outline:none;border-color:rgba(15,23,42,.2);box-shadow:0 8px 22px -12px rgba(31,30,29,.22)}.pay__go{margin-top:4px;align-self:flex-start} .pay__hint{margin:0;font-size:13px;color:var(--ink-3);line-height:1.5}.pay__err{margin-bottom:16px;padding:14px 16px;border-radius:14px;background:#fef2f2;color:#991b1b;font-size:15px;line-height:1.5}
form.lead{display:flex;flex-direction:column;gap:14px;padding-top:6px} .lead[hidden],.lead__done[hidden],.lead__msg[hidden]{display:none}
.lead__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px} .lead .pay__field span{font-size:13px;color:var(--ink-3)}
.lead .pay__field textarea{min-height:96px;padding:13px 16px;border:1px solid rgba(15,23,42,.12);border-radius:14px;background:#fff;font:inherit;font-size:16px;line-height:1.45;color:var(--ink);resize:vertical}
.lead .pay__field textarea:focus{outline:none;border-color:rgba(15,23,42,.2);box-shadow:0 8px 22px -12px rgba(31,30,29,.22)} .lead__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:6px} .lead__go[disabled]{opacity:.6;pointer-events:none}
.card .lead__alt{margin:0;font-size:15px;color:var(--ink-3)} .lead__alt a{color:var(--ink);font-weight:600;border-bottom:1px solid rgba(15,23,42,.2);transition:color .15s,border-color .15s} .lead__alt a:hover{color:var(--accent-deep);border-color:currentColor}
.card .lead__note{margin:2px 0 0;font-size:12.5px;color:var(--ink-3);line-height:1.5}
/* аккаунт в шапке: кнопка «Войти» виджета в стиле сайта, чип с именем; меню виджета */
.top__account{display:inline-flex;align-items:center} .top .ta-root{font-family:inherit}
.top .ta-btn{height:48px;padding:0 24px;font-size:16px;font-weight:500;background-color:#1d1d1f;background-image:none;box-shadow:0 8px 24px rgba(0,0,0,.16);transition:background-position .5s cubic-bezier(.22,1,.36,1),transform .18s ease,box-shadow .22s ease}
.top .ta-btn:hover{background-position:100% 50%;transform:translateY(-1px);background-color:#000;box-shadow:0 12px 28px rgba(0,0,0,.2)}
.top .ta-chip{height:48px;padding:6px 16px 6px 6px;background:var(--surface);box-shadow:none;font-size:15px;max-width:240px} .top .ta-chip:hover{background:var(--surface-2)} .top .ta-chip .ta-ava{width:36px;height:36px}
@media (max-width:640px){.top .ta-btn{height:40px;padding:0 14px;font-size:14px} .top .ta-chip{height:40px;padding:4px 12px 4px 4px;font-size:14px} .top .ta-chip .ta-ava{width:32px;height:32px}}
@media (max-width:480px){.top .ta-btn,.top__account .btn--grad{display:none} .top .ta-chip .ta-name,.top .ta-chip .ta-chev{display:none} .top .ta-chip{padding:4px;max-width:none}}
/* личный кабинет */
.cab-login{max-width:640px} .cab-login h2{font-size:28px} .cab-login p{margin-top:12px;color:var(--ink-2);line-height:1.6} .cab-login .btns{margin-top:22px} .cab-login .lead__note{margin-top:18px;font-size:13.5px}
.cab-list{margin:16px 0 0;padding:0 0 0 22px;color:var(--ink-2);font-size:17px;line-height:1.7} .cab-list li{padding-left:2px} .cab-list li::marker{color:var(--ink-3)}
.cab-profile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center}
.cab-ava{width:88px;height:88px;border-radius:50%;background:var(--accent-soft,#f8ecf5);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:700;overflow:hidden} .cab-ava img{width:100%;height:100%;object-fit:cover;display:block}
.cab-who h2{font-size:26px;line-height:1.2} .cab-mail{margin-top:4px;color:var(--ink-3);font-size:15px;overflow-wrap:anywhere} .cab-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cab-chip{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:var(--surface);font-size:13.5px;font-weight:500;color:var(--ink-2)} .cab-chip--muted{color:var(--ink-3);font-weight:400}
.cab-acts{display:flex;flex-direction:column;gap:10px} .cab-acts .btn{white-space:nowrap}
.cab-row{margin:40px 0 18px} .cab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
/* карточка тренажёра в кабинете — ссылка целиком: название + кружок-стрелка, строка сведений через точки (владелец, 23.09.2026: «внятно, современно, без шума») */
.cab-tr{display:block;padding:20px 22px;border-radius:22px;color:inherit;transition:transform .15s ease} .cab-tr[hidden]{display:none} .cab-tr:hover{transform:translateY(-1px)} .cab-tr__head{display:flex;align-items:center;justify-content:space-between;gap:12px} .cab-tr h3{font-size:19px;line-height:1.25}
.cab-tr__go{flex:none;width:36px;height:36px;border-radius:50%;background:var(--surface);color:var(--ink);display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s} .cab-tr__go svg{width:16px;height:16px} .cab-tr:hover .cab-tr__go{background:var(--ink);color:#fff}
.cab-tr .cab-tr__meta{margin:8px 0 0;font-size:14px;line-height:1.55;color:var(--ink-3)} .cab-tr__meta b{font-weight:600;color:var(--ink-2)}
.cab-empty{margin-top:12px;font-size:14.5px;color:var(--ink-3);line-height:1.5}
.cab-note{margin-top:26px;font-size:14px;color:var(--ink-3);line-height:1.6} .cab-note a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:2px} .cab-link{border:0;background:none;padding:0;font:inherit;color:var(--accent-deep);text-decoration:underline;text-underline-offset:2px;cursor:pointer}
@media (max-width:760px){.cab-profile{grid-template-columns:auto minmax(0,1fr)} .cab-acts{grid-column:1/-1;flex-direction:row;flex-wrap:wrap} .cab-grid{grid-template-columns:minmax(0,1fr)} .cab-ava{width:72px;height:72px;font-size:28px} .cab-who h2{font-size:22px}}
/* Кабинет преподавателя (/teacher), приглашение (/join) и блок преподавателя в кабинете ученика (23.09.2026) */
.tc-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px} .tc-bar__meta{font-size:15px;color:var(--ink-3)} .tc-bar__meta b{color:var(--ink);font-weight:600} .tc-bar .btns{display:flex;gap:10px;flex-wrap:wrap;margin:0}
.tc-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:var(--surface);margin-bottom:22px} .tc-tabs button{border:0;background:transparent;border-radius:999px;padding:9px 18px;font:inherit;font-size:14.5px;font-weight:600;color:var(--ink-2);cursor:pointer} .tc-tabs button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.tc-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:18px} .tc-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 14px;border-radius:999px;background:var(--surface);font:inherit;font-size:14px;font-weight:500;color:var(--ink-2);cursor:pointer;border:0} .tc-chip.on{background:var(--ink);color:#fff} .tc-chip small{opacity:.7;font-size:12px}
.tc-card{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:22px;padding:20px 24px;--surface:#f5f4ed;--surface-2:#ecebe4} .tc-card+.tc-card{margin-top:12px} .tc-card h3{font-size:19px;line-height:1.25}
.tc-row{display:grid;grid-template-columns:44px minmax(0,1.3fr) minmax(0,1fr) auto auto;gap:14px 16px;align-items:center}
.tc-ava{width:44px;height:44px;border-radius:50%;background:var(--surface);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;overflow:hidden;color:var(--ink-2);flex:none} .tc-ava img{width:100%;height:100%;object-fit:cover;display:block}
.tc-who b{display:block;font-size:16px;line-height:1.25} .tc-who span{display:block;font-size:13px;color:var(--ink-3);overflow-wrap:anywhere;margin-top:2px}
.tc-meta{font-size:13.5px;color:var(--ink-3);line-height:1.5} .tc-meta b{color:var(--ink);font-weight:600}
.tc-sel{height:38px;padding:0 34px 0 12px;border:1px solid #dedcd6;border-radius:12px;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/18px;font:inherit;font-size:14px;color:var(--ink);appearance:none;-webkit-appearance:none;max-width:180px} .tc-sel:focus{outline:none;border-color:#d2cfc5;box-shadow:0 8px 22px -12px rgba(31,30,29,.22)}
.tc-acts{display:flex;gap:6px;align-items:center;flex-wrap:wrap} .tc-ibtn{height:36px;padding:0 14px;border:0;border-radius:999px;background:var(--surface);font:inherit;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;white-space:nowrap} .tc-ibtn:hover{background:var(--surface-2)} .tc-ibtn--x{color:var(--ink-3);padding:0 12px} .tc-ibtn--x:hover{color:#991b1b}
.tc-detail{grid-column:1/-1;margin-top:6px;padding-top:18px;border-top:1px solid #ecebe4}
.tc-subj{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px} .tc-subj__c{background:var(--surface);border-radius:16px;padding:14px 16px} .tc-subj__c h4{font-size:15px;margin:0 0 10px} .tc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px} .tc-stats b{display:block;font-size:19px;line-height:1.1} .tc-stats span{display:block;font-size:12px;color:var(--ink-3);margin-top:3px;line-height:1.3}
.tc-h4{font-size:12.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3);margin:20px 0 10px} .tc-h4:first-child{margin-top:0}
.tc-items{display:flex;flex-wrap:wrap;gap:6px} .tc-it{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px 0 9px;border-radius:999px;background:var(--surface);font-size:13px;color:var(--ink-2);max-width:100%} .tc-it b{font-weight:600;color:var(--ink)} .tc-it a{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .tc-it a:hover{color:var(--ink)}
.tc-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#d6d3ca;flex:none;vertical-align:middle} .tc-dot.done{background:#16a34a} .tc-dot.started{background:#f2a83b}
.tc-bar2{height:8px;border-radius:999px;background:var(--surface);overflow:hidden;margin-top:10px} .tc-bar2 i{display:block;height:100%;background:#16a34a;border-radius:999px;transition:width .3s}
.tc-table{width:100%;border-collapse:collapse;font-size:14px;margin-top:8px} .tc-table th{font-weight:600;color:var(--ink-3);font-size:12.5px;text-align:left;padding:6px 8px;border-bottom:1px solid #ecebe4;white-space:nowrap} .tc-table td{padding:8px;border-bottom:1px solid #f0efe8;vertical-align:middle} .tc-table .c{text-align:center} .tc-table tr:last-child td{border-bottom:0} .tc-table small{color:var(--ink-3)}
.tc-asg__head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap} .tc-asg__sub{margin-top:4px;font-size:13.5px;color:var(--ink-3);line-height:1.5} .tc-asg .tc-items{margin-top:12px} .tc-asg__note{margin-top:10px;font-size:14.5px;color:var(--ink-2);white-space:pre-line;line-height:1.5} .tc-asg.is-archived{opacity:.7}
.tc-empty{padding:26px 24px;border-radius:22px;background:var(--surface);font-size:15px;color:var(--ink-2);line-height:1.55} .tc-empty b{display:block;font-size:17px;color:var(--ink);margin-bottom:6px}
.tc-form{display:flex;flex-direction:column;gap:14px} .tc-form .pay__field textarea{min-height:92px;padding:12px 14px;border:1px solid rgba(15,23,42,.12);border-radius:14px;background:#fff;font:inherit;font-size:15px;line-height:1.45;color:var(--ink);resize:vertical} .tc-form .pay__field input,.tc-form .pay__field select{height:46px;font-size:15px} .tc-form .pay__field textarea:focus{outline:none;border-color:#d2cfc5;box-shadow:0 8px 22px -12px rgba(31,30,29,.22)}
/* переключатель «Кому» — чипы, выбранный чёрный (владелец, 23.09.2026: белые овалы радиокнопок — «что-то странное»); общий стиль .pay__field input не должен красить галочки и радиокнопки */
.pay__field input[type=checkbox],.pay__field input[type=radio]{width:18px;height:18px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;appearance:auto;-webkit-appearance:auto}
.tc-radio{display:flex;flex-wrap:wrap;gap:8px} .tc-radio label{position:relative;display:inline-flex;align-items:center;min-height:38px;padding:0 16px;border-radius:999px;background:var(--surface);font-size:14px;font-weight:500;color:var(--ink-2);cursor:pointer;transition:background .15s,color .15s} .tc-radio label:hover{background:var(--surface-2)} .tc-radio label.on{background:var(--ink);color:#fff} .tc-radio label:has(input:focus-visible){box-shadow:0 0 0 3px #e8e6dc}
.tc-radio input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.tc-pick{max-height:340px;overflow:auto;border:1px solid #ecebe4;border-radius:16px;padding:4px 14px;background:#fff} .tc-pick details{border-bottom:1px solid #f0efe8} .tc-pick details:last-child{border-bottom:0} .tc-pick summary{display:flex;align-items:center;gap:10px;padding:11px 0;cursor:pointer;list-style:none;font-weight:600;font-size:14.5px} .tc-pick summary::-webkit-details-marker{display:none} .tc-pick summary::after{content:"";width:8px;height:8px;border-right:2px solid #a1a1a6;border-bottom:2px solid #a1a1a6;transform:rotate(45deg);margin-left:auto;margin-right:6px;transition:transform .15s} .tc-pick details[open]>summary::after{transform:rotate(-135deg)}
.tc-pick label{display:flex;align-items:flex-start;gap:10px;padding:7px 0 7px 26px;font-size:14px;line-height:1.35;cursor:pointer} .tc-pick label.sub{padding-left:52px;font-size:13.5px;color:var(--ink-2)} .tc-pick input[type=checkbox]{accent-color:#16a34a;margin:1px 0 0;flex:none} .tc-k{color:var(--ink-3);font-weight:600;flex:none;min-width:36px}
.tc-lines{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:0 10px;padding:4px 0 8px} .tc-lines label{padding:6px 0}
.tc-sel-list{display:flex;flex-wrap:wrap;gap:6px;min-height:24px;margin-bottom:8px;font-size:13.5px;color:var(--ink-2)} .tc-sel-list span{background:#e8f7ee;color:#15803d;border-radius:999px;padding:3px 10px;font-weight:500}
.tc-students{max-height:220px;overflow:auto;border:1px solid #ecebe4;border-radius:14px;padding:4px 14px} .tc-students label{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14px;cursor:pointer} .tc-students input[type=checkbox]{accent-color:#16a34a;margin:0}
.tc-modal{border:0;border-radius:28px;padding:0;max-width:720px;width:calc(100% - 32px);background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.2);color:var(--ink)} .tc-modal::backdrop{background:rgba(29,29,31,.34);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)} .tc-modal__in{position:relative;padding:28px 30px 26px;max-height:calc(100vh - 60px);overflow:auto} .tc-modal h3{font-size:24px;line-height:1.15;padding-right:36px} .tc-modal .tc-form{margin-top:18px} .tc-modal__x{position:absolute;top:16px;right:16px;width:34px;height:34px;border:0;border-radius:50%;background:var(--surface);color:#6e6e73;cursor:pointer;font-size:20px;line-height:1} .tc-modal .btns{display:flex;gap:10px;flex-wrap:wrap;align-items:center} .tc-err{color:#991b1b;font-size:14px;margin:0;line-height:1.4} .tc-err:empty{display:none}
.tc-inv{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center} .tc-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:20px;letter-spacing:.08em;font-weight:600} .tc-url{font-size:13px;color:var(--ink-3);overflow-wrap:anywhere;margin-top:4px}
.tc-mail{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px} .tc-res{margin:12px 0 0;padding:0;font-size:14px;line-height:1.6} .tc-res li{list-style:none} .tc-res .ok{color:#15803d} .tc-res .no{color:#991b1b} .tc-res:empty{display:none}
.join-card{max-width:640px} .join-card .tc-ava{width:64px;height:64px;font-size:24px;margin-bottom:16px} .join-card h2{font-size:28px} .join-card p{margin-top:12px;color:var(--ink-2);line-height:1.6} .join-card .btns{margin-top:22px} .join-card .lead__note{margin-top:14px}
.cab-teach{margin-top:40px} .cab-teach h2{font-size:26px;margin-bottom:16px} .cab-teach .tc-card{padding:18px 22px} .cab-teach .tc-card h3{font-size:17px} .cab-tlist{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px} .cab-tlist .tc-chip{cursor:default;min-height:40px} .cab-tlist .tc-chip button{border:0;background:none;padding:0 0 0 6px;font:inherit;font-size:13px;color:var(--ink-3);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.cab-teacher{margin-top:28px;padding:30px 34px} .cab-teacher h2{font-size:24px} .cab-teacher p{font-size:15.5px;line-height:1.6} .cab-teacher .btns{margin-top:18px}
@media (max-width:760px){.tc-row{grid-template-columns:40px minmax(0,1fr)} .tc-row .tc-meta,.tc-row .tc-sel,.tc-row .tc-acts{grid-column:2} .tc-sel{max-width:none} .tc-inv,.tc-mail{grid-template-columns:minmax(0,1fr)} .tc-card{padding:16px 18px;border-radius:18px} .tc-modal__in{padding:22px 18px} .tc-tabs{display:flex} .tc-tabs button{flex:1;padding:9px 6px;font-size:13.5px} .tc-bar .btns{width:100%} .tc-bar .btn{flex:1} .cab-teacher{padding:24px 22px}}
/* согласие на обработку персональных данных в формах (владелец, 18.09.2026): галочка + ссылки на /consent и /privacy */
.consent{display:flex;align-items:flex-start;gap:10px;margin:2px 0 0;font-size:12.5px;color:var(--ink-3);line-height:1.5;cursor:pointer;-webkit-user-select:none;user-select:none}
.consent input{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:#1d1d1f;cursor:pointer} .consent a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px} .consent a:hover{color:var(--ink)}
.consent.is-bad{color:#991b1b} .consent.is-bad a{color:#991b1b} .pay .consent{margin:-4px 0 0}
.legal{font-size:17px} .legal h2{font-size:22px;margin:1.6em 0 .5em} .legal h2:first-child{margin-top:0} .legal ul{margin-bottom:1.1em} .legal li{margin:.3em 0}
.legal-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px} .legal-nav a{display:inline-flex;align-items:center;padding:9px 16px;border-radius:999px;background:var(--surface);font-size:14px;font-weight:600;color:var(--ink-2);transition:background .15s,color .15s} .legal-nav a:hover{background:var(--surface-2);color:var(--ink)} .legal-nav a[aria-current]{background:var(--ink);color:#fff}
.legal-foot{max-width:900px;margin:36px auto 0;padding-top:22px;border-top:1px solid var(--surface-2);font-size:14px;color:var(--ink-3);line-height:1.6} .legal-foot a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:2px}
.card .lead__msg{margin:0;padding:13px 16px;border-radius:14px;background:#fef2f2;color:#991b1b;font-size:15px;line-height:1.5}
.lead__done{display:flex;flex-direction:column;justify-content:center;align-self:stretch;padding:6px 0}
.lead__check{width:56px;height:56px;border-radius:50%;background:#ecfdf5;color:#059669;display:flex;align-items:center;justify-content:center;margin-bottom:20px} .lead__check svg{width:28px;height:28px}
.lead__done h3{font-size:24px} .card .lead__done p{margin-top:10px;max-width:420px} .card .lead__done .btns{margin-top:22px}
@media (max-width:700px){.lead__row{grid-template-columns:minmax(0,1fr)}}
.pay__off p{margin:0;color:var(--ink-2);line-height:1.6}.pay__legal{margin-top:12px;color:var(--ink-2);line-height:1.8;list-style:none;padding:0}@media (max-width:700px){.pay__go{align-self:stretch}}
.phead{padding-top:64px;padding-bottom:8px} .phead h1{font-size:clamp(34px,4.8vw,54px)} .phead p{margin-top:16px;font-size:19px;color:var(--ink-2);max-width:700px}
.cols2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:start} .cols2 h3{font-size:22px;margin-bottom:6px}
.docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.doc{background:var(--surface);border-radius:var(--r);padding:14px;text-align:left;width:100%} .doc img{border-radius:14px;width:100%;height:auto} .doc figcaption{padding:12px 6px 2px;font-size:14px;color:var(--ink-3);font-weight:500;display:flex;justify-content:space-between} .doc figcaption span{color:var(--accent-deep)}
.method{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px} .method__text p{color:var(--ink-2);margin-bottom:18px} .method__text p:last-child{margin-bottom:0}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px} .fact{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:var(--r);padding:26px} .fact h4{font-size:17px;margin-bottom:10px} .fact p{font-size:15px;color:var(--ink-2);line-height:1.5}
.sc{display:inline-flex;align-items:center;height:30px;padding:0 11px;border-radius:999px;background:#fff;font-size:14px;font-weight:600;color:var(--ink-2)}
.sc--90{background:var(--accent-soft);color:var(--accent-deep)} .sc--100{background:var(--accent);color:#fff} .sc--none{background:transparent;color:var(--ink-3)}
/* /results — «Результаты» (владелец, 18.09.2026: как /about — аккуратно и современно): плитки цифр, карточки распределения и таблицы ЕГЭ с легендой и «показать все годы», олимпиады — карточки сезонов с иконками победитель/призёр */
.rstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rstat{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:24px;padding:22px 22px 20px}
.rstat__ic{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--accent-soft);color:var(--accent-deep);margin-bottom:16px} .rstat__ic svg{width:22px;height:22px}
.rstat b{display:block;font-size:clamp(30px,3vw,40px);font-weight:600;letter-spacing:-.02em;line-height:1;color:#0f172a} .rstat__t{display:block;margin-top:8px;font-size:14px;line-height:1.4;color:var(--ink-3)}
.rcard{margin-top:24px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:26px;padding:28px}
.rcard__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:22px} .rcard__head .cv__h{margin-bottom:0} .rcard__sub{flex:1 1 100%;margin-top:-8px;font-size:15px;line-height:1.5;color:var(--ink-3);max-width:760px}
.rcard .dist{margin-top:0;padding:0}
.legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--ink-3)} .legend .sc{height:26px;padding:0 10px;font-size:13px} .legend__note{margin-left:4px}
.egt{border-top:1px solid rgba(15,23,42,.06)}
.egt__head,.egt__row{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-items:start}
.egt__head{padding:12px 8px 10px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3)}
.egt__row{padding:16px 8px;border-top:1px solid rgba(15,23,42,.06)} .egt__row[hidden]{display:none}
.egt__season{font-weight:700;font-size:17px;letter-spacing:-.01em;padding-top:4px} .egt__label{display:none} .egt__scores{display:flex;flex-wrap:wrap;gap:6px}
.egt .sc,.legend .sc{background:var(--surface)} .egt .sc--90,.legend .sc--90{background:var(--accent-soft)} .egt .sc--100,.legend .sc--100{background:var(--accent);color:#fff} .egt .sc--none{background:transparent}
.egt__note{grid-column:2/-1;margin-top:-4px;font-size:13px;color:var(--ink-3)}
.egt__more{display:flex;margin:18px auto 0}
.ol{display:grid;gap:12px}
.ol__card{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:22px} .ol__card summary{list-style:none;display:flex;align-items:center;gap:14px;padding:18px 22px;cursor:pointer} .ol__card summary::-webkit-details-marker{display:none}
.ol__season{font-weight:700;font-size:18px;letter-spacing:-.01em} .ol__count{padding:4px 10px;border-radius:999px;background:var(--surface);font-size:13.5px;font-weight:500;color:var(--ink-3)}
.ol__chev{position:relative;flex:none;margin-left:auto;width:30px;height:30px;border-radius:999px;background:var(--surface);transition:transform .2s} .ol__chev::after{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:translate(-50%,-65%) rotate(45deg)} .ol__card[open] .ol__chev{transform:rotate(180deg)}
.ol__list{list-style:none;margin:0;padding:0 22px 20px;display:grid;gap:10px}
.ol__item{display:flex;align-items:flex-start;gap:12px;font-size:15.5px;line-height:1.55;color:var(--ink-2)}
.ol__ic{flex:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin-top:1px;border-radius:9px;background:var(--surface);color:var(--ink-3)} .ol__ic svg{width:16px;height:16px}
.ol__item--win .ol__ic{background:var(--accent-soft);color:var(--accent-deep)} .ol__item--prize .ol__ic{background:var(--coral-soft);color:var(--coral-deep)}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px} .post{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:transform .15s} .post:hover{transform:translateY(-3px)}
.post img{width:100%;aspect-ratio:16/9;object-fit:cover} .post__b{padding:20px 22px 24px} .post time{font-size:13px;color:var(--ink-3);font-weight:500} .post h3{font-size:18px;margin:8px 0 8px;line-height:1.3} .post p{font-size:14.5px;color:var(--ink-2);line-height:1.5}
/* магазин пособий (владелец, 08.10.2026: «сделать внешний вид магазина более современным и симпатичным — где-то густо, где-то пусто»):
   шаги покупки одним блоком; разделы — строка чипов-якорей, не закрепляется (владелец, 08.10.2026: «при листании закрепляется панель
   фильтров. Так быть не должно!»); карточка — обложка на светлой подложке
   (не кадрируется, стоит по нижнему краю, «Полистать» под ней, а не поверх), тип издания («Линия 5») отдельной строкой, название целиком,
   описание, цена и «Купить». Раскладку карточка выбирает по своей ширине (container query): узкая — обложка сверху, от 330 px — слева
   (телефон, группы из одного-двух пособий — .books--wide) */
/* верх витрины без контейнеров (владелец, 19.10.2026: «Верх страницы магазина нужно оформить более современно, сейчас там много
   контейнеров, это вызывает шум»): шаги — три колонки текста с коралловой цифрой, без рамки, разделителей и плашек под значки;
   разделы — строка текстовых ссылок со счётчиком, без пилюль */
.store-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 44px;max-width:1040px;margin:40px 0 0;padding:0;list-style:none}
.store-step{display:flex;align-items:baseline;gap:14px;min-width:0;margin:0;font-family:inherit}   /* li на сайте — засечками (статьи); шаги — шрифтом интерфейса */
.store-step__n{flex:none;min-width:.62em;font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:30px;line-height:1;font-weight:500;color:var(--coral-deep);font-variant-numeric:lining-nums}
.store-step__t{display:block;font-size:15.5px;font-weight:600;line-height:1.35;color:var(--ink)} .store-step__d{display:block;margin-top:4px;font-size:14px;line-height:1.45;color:var(--ink-3)}
.lib-nav{margin:-12px 0 4px;padding:0}
.lib-nav__in{position:relative;display:flex;flex-wrap:wrap;gap:4px 32px}
.lib-nav__a{display:inline-flex;align-items:baseline;gap:7px;padding:8px 0;font-size:16px;font-weight:600;line-height:1.3;color:var(--ink-2);white-space:nowrap;transition:color .15s}
.lib-nav__a i{font-style:normal;font-size:13.5px;font-weight:500;color:var(--ink-3);font-variant-numeric:tabular-nums}
.lib-nav__a:hover{color:var(--ink)} .lib-nav__a:hover span{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.shelf{margin-top:56px;scroll-margin-top:96px} .shelf:first-of-type{margin-top:32px} .shelf__head h2{font-size:30px;line-height:1.15}
.mats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.mat{display:flex;align-items:center;gap:16px;padding:18px 18px 18px 22px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:20px;color:inherit;text-decoration:none;transition:transform .2s,box-shadow .25s} .mat:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px #ecebe4,0 18px 40px -32px rgba(15,23,42,.28)}
.mat__b{flex:1;min-width:0} .mat__t{display:block;font-size:17px;font-weight:600;line-height:1.3;color:var(--ink)} .mat__d{display:block;margin-top:4px;font-size:15px;line-height:1.4;color:var(--ink-2)}
.mat__go{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;background:#f5f4ed;color:var(--ink)} .mat__go svg{width:16px;height:16px}
.mat-note{margin:8px 0 0;font-size:16px;line-height:1.45;color:var(--ink-2)}
@media (max-width:1024px){.mats{grid-template-columns:1fr}}
@media (max-width:640px){.mat{padding:16px 14px 16px 18px}}
.shelf__group{margin-top:20px} .shelf__group+.shelf__group{margin-top:40px} .shelf__sub{margin:0 0 16px;font-size:18px;line-height:1.3;color:var(--ink-2)}
.books{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px} .books.books--wide{grid-template-columns:repeat(2,minmax(0,1fr))} .books.books--one{grid-template-columns:1fr}
.book{container:book/inline-size;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:20px;transition:transform .2s,box-shadow .25s;--surface:#f5f4ed;--surface-2:#ecebe4}
.book:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 1px #e6e4da,0 24px 44px -28px rgba(15,23,42,.38)}
.book__in{display:flex;flex-direction:column;height:100%;padding:8px}
.book__cover{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin:0;padding:22px 16px 14px;border:0;border-radius:14px;background:#f5f4ed;font:inherit;color:inherit;-webkit-appearance:none;appearance:none} button.book__cover{cursor:zoom-in}
.book__img{display:flex;align-items:flex-end;justify-content:center;width:100%;aspect-ratio:1/1.06}
.book__img img{display:block;width:auto;height:auto;max-width:76%;max-height:100%;border-radius:3px 6px 6px 3px;box-shadow:0 1px 2px rgba(15,23,42,.14),0 18px 26px -16px rgba(15,23,42,.5);transition:transform .3s cubic-bezier(.22,1,.36,1)} .book:hover .book__img img{transform:translateY(-4px)}
.book[data-unit=slide] .book__img{aspect-ratio:16/10;align-items:center} .book[data-unit=slide] .book__img img{max-width:100%;border-radius:6px}
.book__peek{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #e6e4da;font-size:13px;font-weight:600;line-height:1;color:var(--ink-2);white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s} .book__peek svg{width:15px;height:15px;flex:none}
button.book__cover:hover .book__peek,button.book__cover:focus-visible .book__peek{background:var(--ink);color:#fff;box-shadow:none}
.book__body{display:flex;flex-direction:column;flex:1;min-width:0;padding:14px 10px 6px}
.book__kind{margin:0 0 6px;font-size:12px;font-weight:700;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:var(--coral-deep)}
.book__t{margin:0;font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-optical-sizing:auto;font-size:16.5px;line-height:1.3;font-weight:600;letter-spacing:-.01em;color:var(--ink);overflow-wrap:break-word;text-wrap:pretty}
.book__meta{margin-top:8px;font-size:13.5px;line-height:1.4;color:var(--ink-3)}
.book__look{display:none;align-items:center;gap:6px;align-self:flex-start;margin-top:10px;padding:0;border:0;background:none;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink-2);cursor:pointer;-webkit-appearance:none;appearance:none} .book__look svg{width:16px;height:16px;flex:none} .book__look:hover{color:var(--ink)}
.book__buy{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px} .book__price{font-size:19px;font-weight:700;letter-spacing:-.01em;white-space:nowrap} .book__btn{height:38px;padding:0 18px;font-size:14px} .book__prices{display:inline-flex;align-items:baseline;gap:10px;white-space:nowrap} .book__old{color:#8a8a85;font-size:15px;font-weight:500;text-decoration-thickness:1.5px} .prod__buy .book__old{font-size:22px}
.book__btn[disabled]{background:var(--surface);background-image:none;color:var(--ink-3);box-shadow:none;pointer-events:none}
.book__a{color:inherit;text-decoration:none} .book__a:hover{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
/* страница пособия /library/<sku> (03.11.2026) */
.prod-wrap{padding-top:40px;padding-bottom:16px}
.crumbs{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:24px;font-size:14px;font-weight:600;color:var(--ink-3)} .crumbs a{color:var(--ink-3)} .crumbs a:hover{color:var(--ink)}
.prod.book{container:none;background:none;box-shadow:none;border-radius:0} .prod.book:hover{transform:none;box-shadow:none}
.prod__in{display:grid;grid-template-columns:minmax(0,400px) minmax(0,1fr);gap:56px;align-items:start}
.prod__cover{padding:36px 28px 20px;border-radius:20px} .prod .book__img img{max-width:82%}
.prod .book__kind{font-size:13px;margin-bottom:12px}
.prod__t{font-size:clamp(28px,3.4vw,42px);line-height:1.15;text-wrap:balance}
.prod__author{margin-top:14px;font-size:17px;color:var(--ink-2)}
.prod__buy{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;margin-top:28px} .prod__price{margin-right:8px;font-size:30px}
.prod .book__btn,.prod__peek{height:48px;padding:0 28px;font-size:16px} .prod__peek{display:inline-flex;align-items:center;gap:8px} .prod__peek svg{width:18px;height:18px;flex:none}
.prod__facts{margin:32px 0 0;border-top:1px solid #ecebe4}
.prod__fact{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #ecebe4;font-size:15.5px;line-height:1.45} .prod__fact dt{color:var(--ink-3)} .prod__fact dd{margin:0;color:var(--ink)}
.prod__sec{margin-top:64px} .prod__sec h2{margin:0 0 20px;font-size:28px;line-height:1.2}
.prod__pages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.prod__pg{display:block;padding:0;border:0;border-radius:6px;background:#fff;box-shadow:0 0 0 1px #ecebe4,0 14px 24px -18px rgba(15,23,42,.4);overflow:hidden;cursor:zoom-in;transition:transform .2s} .prod__pg:hover{transform:translateY(-3px)} .prod__pg img{display:block;width:100%;height:auto}
.prod__note,.prod__all{margin-top:16px;font-size:14.5px;color:var(--ink-3)} .prod__all a{font-weight:600;color:var(--ink-2)} .prod__all a:hover{color:var(--ink)}
@media (max-width:860px){.prod__in{grid-template-columns:1fr;gap:28px} .prod__cover{max-width:440px;margin:0 auto} .prod__pages{grid-template-columns:repeat(2,minmax(0,1fr))} .prod__fact{grid-template-columns:110px minmax(0,1fr);gap:12px;font-size:15px} .prod__sec{margin-top:48px} .prod__sec h2{font-size:24px}}
@media (max-width:480px){.prod .book__btn,.prod__peek{flex:1 1 auto;justify-content:center}}
@container book (min-width:330px){.book__in{flex-direction:row;align-items:stretch} .book__cover{flex:0 0 clamp(112px,40%,220px);justify-content:center;padding:18px 12px 12px} .book__img img{max-width:84%} .book__body{padding:12px 10px 8px 18px}}
@container book (min-width:330px) and (max-width:419.98px){.book__cover{flex-basis:34%;padding:14px 10px} .book__cover .book__peek{display:none} .book__look{display:inline-flex} .book__img img{max-width:90%} .book__t{font-size:15.5px;line-height:1.28} .book__meta{margin-top:6px;font-size:13px} .book__body{padding:8px 6px 4px 14px} .book__buy{padding-top:12px}}
@container book (min-width:420px){.book__t{font-size:20px;line-height:1.25} .book__kind{font-size:12.5px} .book__meta{font-size:14.5px} .book__body{padding:20px 20px 12px 24px}}
@container book (min-width:640px){.book__cover{flex-basis:250px;padding:26px 20px 16px} .book__body{padding:30px 34px 18px 38px} .book__kind{font-size:13px;margin-bottom:10px} .book__t{font-size:28px;line-height:1.2;max-width:22em} .book__meta{margin-top:12px;font-size:15.5px} .book__buy{justify-content:flex-start;gap:20px} .book__price{font-size:24px} .book__old{font-size:19px} .book__btn{height:44px;padding:0 24px;font-size:15px}}
.book__t .hy{-webkit-hyphens:auto;hyphens:auto} @media (max-width:340px){.book__t{-webkit-hyphens:auto;hyphens:auto}}
@media (max-width:640px){@container book (min-width:260px){.book__in{flex-direction:row;align-items:stretch} .book__cover{flex:0 0 34%;justify-content:center;padding:14px 10px} .book__cover .book__peek{display:none} .book__look{display:inline-flex} .book__img img{max-width:90%} .book__t{font-size:15.5px;line-height:1.28} .book__meta{margin-top:6px;font-size:13px} .book__body{padding:8px 6px 4px 14px} .book__buy{padding-top:12px}}}   /* телефон: карточка обложкой слева и на 320–360 px */
@media (max-width:1024px){.lib-nav{margin:-12px -40px 4px;padding:0} .lib-nav__in{gap:0 26px} .lib-nav__in{flex-wrap:nowrap;overflow-x:auto;padding:0 40px;scrollbar-width:none;-webkit-overflow-scrolling:touch} .lib-nav__in::-webkit-scrollbar{display:none} .lib-nav__a{flex:none} .lib-nav__in{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 36px),transparent)} .shelf{scroll-margin-top:84px} .books{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (max-width:860px){.store-steps{grid-template-columns:1fr;gap:16px;margin-top:32px}}
@media (max-width:760px){.books,.books.books--wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px} .shelf{margin-top:44px} .shelf__head h2{font-size:24px} .shelf__group+.shelf__group{margin-top:32px} .shelf__sub{font-size:17px;margin-bottom:12px}}
@media (max-width:640px){.books,.books.books--wide{grid-template-columns:1fr} .lib-nav{margin:0 -16px 4px} .lib-nav__in{padding:0 16px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 28px),transparent)} .lib-nav{margin-top:-20px} .lib-nav__in{gap:0 22px} .lib-nav__a{font-size:15px} .store-steps{gap:14px;margin-top:26px} .store-step{gap:12px} .store-step__n{font-size:26px} .store-step__t{font-size:15px} .store-step__d{font-size:13.5px;margin-top:2px}}
.store-modal__hero{display:flex;gap:16px;align-items:center;padding-right:28px} .store-modal__hero img{width:72px;height:auto;aspect-ratio:1/1.414;object-fit:cover;border-radius:4px 7px 7px 4px;box-shadow:0 10px 20px -10px rgba(15,23,42,.5);flex:none}
.store-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px} .store-modal[hidden]{display:none}
.store-modal__back{position:absolute;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(4px)} .store-modal__card{position:relative;width:100%;max-width:440px;background:#fff;border-radius:24px;padding:30px 28px 26px;box-shadow:0 30px 80px -30px rgba(15,23,42,.5)}
.store-modal__x{position:absolute;top:12px;right:14px;width:36px;height:36px;border-radius:50%;font-size:24px;line-height:36px;color:var(--ink-3)} .store-modal__x:hover{background:var(--surface);color:var(--ink)}
.store-modal h3{font-size:22px;line-height:1.2;padding-right:28px} .store-modal p{margin-top:10px;color:var(--ink-2);font-size:15px;line-height:1.5} .store-modal .pay__field{margin-top:16px} .store-modal .btn{margin-top:16px;width:100%}
.store-modal .lead__note{margin-top:12px;font-size:12.5px;color:var(--ink-3);line-height:1.5} .store-modal .consent{margin-top:14px} .store-modal .consent+.btn{margin-top:14px} .store-modal .cm-err{display:block;margin-top:10px;color:#991b1b;font-size:14px}
.store-price{margin-top:8px;font-size:28px;font-weight:700} .store-ok{width:56px;height:56px;border-radius:50%;background:#ecfdf5;color:#059669;display:flex;align-items:center;justify-content:center;margin-bottom:16px} .store-ok svg{width:28px;height:28px}
.book__btn.is-in{background:#ecfdf5;background-image:none;color:#047857;box-shadow:inset 0 0 0 1px #a7f3d0}
.cart-fab{position:fixed;right:20px;bottom:20px;z-index:1100;display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 20px 0 16px;border-radius:999px;background:var(--ink);color:#fff;font:600 15px/1 inherit;box-shadow:0 16px 40px -12px rgba(15,23,42,.55);cursor:pointer} .cart-fab[hidden]{display:none} .cart-fab svg{width:22px;height:22px;flex:none} .cart-fab__n{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#fff;color:var(--ink);font-size:13px;line-height:22px;text-align:center} @media (max-width:640px){.cart-fab{right:12px;bottom:12px;left:12px;justify-content:center}}
.cart-list{margin-top:14px;max-height:min(42vh,340px);overflow:auto;border-top:1px solid #ecebe4} .cart-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #ecebe4} .cart-row img{width:64px;height:auto;border-radius:4px;flex:none;box-shadow:0 0 0 1px #ecebe4} .cart-row__t{flex:1;font-size:14px;line-height:1.35} .cart-row__p{font-weight:600;font-size:14px;white-space:nowrap} .cart-row__x{width:30px;height:30px;border-radius:50%;font-size:20px;line-height:30px;color:var(--ink-3);flex:none} .cart-row__x:hover{background:var(--surface);color:var(--ink)}
.cart-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:14px;font-size:16px} .cart-total b{font-size:24px} .cart-dl{margin-top:14px;display:flex;flex-direction:column;gap:10px;max-height:min(46vh,360px);overflow:auto} .cart-dl a.btn{margin-top:4px;width:auto} .cart-dl__i{font-size:14px;line-height:1.4;padding-bottom:10px;border-bottom:1px solid #ecebe4}
.store-wait{width:44px;height:44px;border-radius:50%;border:4px solid var(--surface-2);border-top-color:#1d1d1f;animation:storeSpin .9s linear infinite;margin-bottom:16px} @keyframes storeSpin{to{transform:rotate(360deg)}} .lib .btn{align-self:flex-start;margin-top:8px}
/* предпросмотр пособия: обложка и «Полистать» открывают первые страницы (store.js); модалка .peek — тёмное стекло как у .lb */
.peek{position:fixed;inset:0;z-index:1300;color:#fff} .peek[hidden]{display:none} .peek__back{position:absolute;inset:0;background:rgba(10,10,14,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.peek__panel{position:relative;display:flex;flex-direction:column;height:100%;min-height:0}
.peek__head{padding:18px 72px 8px 24px;min-width:0} .peek__head h3{font-size:17px;line-height:1.3;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .peek__sub{margin:3px 0 0;font-size:13.5px;color:rgba(255,255,255,.62)}
.peek__x{position:absolute;top:14px;right:16px;width:44px;height:44px;border-radius:999px;appearance:none;-webkit-appearance:none;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:44px;text-align:center;cursor:pointer;transition:background .15s} .peek__x:hover{background:rgba(255,255,255,.26)}
.peek__stage{position:relative;flex:1;min-height:0;display:flex;padding:4px 68px 8px}
.peek__scroll{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.peek__img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;border-radius:6px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.55);opacity:0;transition:opacity .18s} .peek__img.is-ready{opacity:1}
.peek.is-zoom .peek__scroll{display:block;overflow:auto;cursor:zoom-out;touch-action:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain} .peek.is-zoom .peek__img{max-width:none;max-height:none;width:min(1200px,200vw);margin:0 auto}
.peek__nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:999px;appearance:none;-webkit-appearance:none;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:44px;text-align:center;cursor:pointer;transition:background .15s,opacity .15s} .peek__nav:hover{background:rgba(255,255,255,.26)} .peek__nav--prev{left:12px} .peek__nav--next{right:12px} .peek__nav[disabled]{opacity:.28;pointer-events:none}
.peek__foot{display:flex;align-items:center;justify-content:center;gap:18px;padding:10px 24px calc(16px + env(safe-area-inset-bottom))} .peek__count{font-size:14px;font-weight:500;color:rgba(255,255,255,.72);font-variant-numeric:tabular-nums}
.peek__buy{height:42px;padding:0 20px;font-size:15px;background:#fff;color:#0b0b0f;box-shadow:0 10px 30px rgba(0,0,0,.35)} .peek__buy:hover{background:#f0eee6;transform:translateY(-1px)} .peek__buy[hidden]{display:none}
/* последний лист предпросмотра (владелец, 07.10.2026: «на крайней странице написать, что дальше предпросмотр невозможен, и предложить купить»):
   белый лист в пропорциях страницы A4 — ширина от контейнера (cqw/cqh), без поддержки — до 640 px; подвал с «Купить» на этом листе скрыт, чтобы кнопка не дублировалась */
.peek__end{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:min(100%,640px);aspect-ratio:1200/1698;max-height:100%;padding:8%;border-radius:6px;background:#fff;color:var(--ink);text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.55);cursor:default;-webkit-user-select:text;user-select:text} .peek__end[hidden]{display:none}
@supports (width:1cqh){.peek__scroll{container-type:size} .peek__end{width:min(100cqw,100cqh*1200/1698,1200px)}}
.peek__end-t{margin:0;font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:26px;font-weight:600;line-height:1.2;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.peek__end-p{margin:0;max-width:30em;font-size:15.5px;line-height:1.55;color:var(--ink-2);text-wrap:pretty} .peek__end-buy{margin-top:6px;height:46px;padding:0 24px;font-size:15.5px} .peek__end-buy[hidden]{display:none}
.peek.is-end .peek__img{display:none} .peek.is-end .peek__scroll{cursor:default} .peek.is-end .peek__foot{visibility:hidden}
@media (max-width:760px){.peek__end{gap:12px;padding:7%} .peek__end-t{font-size:20px} .peek__end-p{font-size:14px} .peek__end-buy{height:42px;padding:0 20px;font-size:14.5px}}
@media (max-width:760px){.peek__head{padding:14px 60px 6px 16px} .peek__head h3{font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical} .peek__sub{font-size:12.5px} .peek__x{top:10px;right:10px;width:40px;height:40px;line-height:40px} .peek__stage{padding:2px 8px 6px} .peek__nav{width:36px;height:36px;font-size:24px;line-height:34px;background:rgba(10,10,14,.45)} .peek__nav--prev{left:4px} .peek__nav--next{right:4px} .peek__foot{gap:14px;padding:8px 16px calc(12px + env(safe-area-inset-bottom))} .peek__buy{height:40px;padding:0 18px;font-size:14px} .peek.is-zoom .peek__nav{display:none}}
.links2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.linkcard{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:var(--r);padding:26px 28px;transition:background .15s} .linkcard:hover{background:var(--surface-2)} .linkcard p{margin-top:5px;font-size:15px;color:var(--ink-2)} .linkcard svg{width:22px;height:22px;flex:none;color:var(--ink-3)}
.profiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px} .profile{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:22px;padding:24px 18px;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:14px;font-weight:600;color:var(--ink-2);transition:transform .2s,box-shadow .2s} .profile:hover{transform:translateY(-2px);box-shadow:0 26px 48px -30px rgba(106,26,107,.3)} .profile img{height:56px;width:auto;max-width:150px;object-fit:contain;border-radius:10px}
/* пособия и курсы по теме статьи (13.11.2026) */
.shelfref{margin:40px 0 0;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;border-radius:24px;padding:28px 30px}
.shelfref__h{font-size:20px;margin:0 0 14px} .shelfref__list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.shelfref__list li{padding-left:26px;position:relative;line-height:1.5}
.shelfref__list li::before{content:"";position:absolute;left:0;top:.35em;width:14px;height:17px;border-radius:2px 3px 3px 2px;background:linear-gradient(135deg,var(--accent-soft),var(--coral-soft));box-shadow:inset 1px 0 0 rgba(0,0,0,.12)}
.shelfref__list a{font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--accent-soft);text-decoration-thickness:1.5px;text-underline-offset:3px}
.shelfref__list a:hover{text-decoration-color:currentColor} .shelfref__list span{color:var(--ink-3);white-space:nowrap}
.shelfref__more{margin:16px 0 0;font-size:15px;color:var(--ink-2)} .shelfref__more a{color:var(--ink-2)}
.shelfref__course{font-weight:600;color:var(--ink)}
@media (max-width:640px){.shelfref{padding:22px 20px;border-radius:20px} .shelfref__h{font-size:18px}}
.cta{margin-top:64px;background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4;border-radius:28px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap} .cta h2{font-size:28px} .cta p{margin-top:8px;color:var(--ink-2)}
.lb{border:0;padding:0;background:transparent;max-width:min(96vw,1400px);max-height:96vh} .lb::backdrop{background:rgba(10,10,14,.82);backdrop-filter:blur(6px)} .lb img{max-width:min(96vw,1400px);max-height:92vh;width:auto;height:auto;border-radius:16px;background:#faf9f5;box-shadow:0 30px 80px rgba(0,0,0,.5)} .lb button{position:fixed;top:18px;right:18px;width:44px;height:44px;border-radius:999px;background:rgba(20,20,26,.72);color:#fff;font-size:26px;line-height:1}
.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease} .reveal.in{opacity:1;transform:none}
@media (max-width:480px){.top__cta .btn--grad{display:none}}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none} html{scroll-behavior:auto} .hero__logo img,.hero__glow{animation:none}}
/* главная: вертикальная страница; класс deck-mode на широких экранах = её визуал (единый фон, прозрачные шапка и сайдбар, белые карточки) */
.deck__foot{margin-top:28px;font-size:13px;color:var(--ink-3)} .deck__foot a:hover{color:var(--ink)} .hero .deck__foot{position:absolute;left:16px;right:16px;bottom:18px;margin:0;text-align:center}
.deck-nav,.deck-dots,.side{display:none}
@media (min-width:1025px){
  .deck-mode .side,.side-mode .side{display:flex;flex-direction:column;position:fixed;left:0;top:80px;bottom:0;width:250px;padding:18px 14px 20px;overflow:auto;z-index:45;background:#fff}
  .deck-mode .side__nav,.side-mode .side__nav{display:flex;flex-direction:column;gap:2px} .deck-mode .side__nav a,.side-mode .side__nav a{display:flex;align-items:center;gap:14px;height:48px;padding:0 14px;border-radius:14px;font-size:17px;font-weight:500;color:#1f2937;transition:background .15s} .deck-mode .side__nav a:hover,.side-mode .side__nav a:hover{background:var(--surface)}
  .deck-mode .side__nav a[aria-current],.side-mode .side__nav a[aria-current]{background:var(--surface-2);font-weight:600} .deck-mode .side__nav svg,.side-mode .side__nav svg{width:26px;height:26px;flex:none;color:#1f2937}
  .deck-mode .side__nav--2 a,.side-mode .side__nav--2 a{height:44px;font-size:16px} .deck-mode .side__cap,.side-mode .side__cap{margin:14px 14px 4px;font-size:10.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#94a3b8} .deck-mode .side__sep,.side-mode .side__sep{height:1px;background:rgba(15,23,42,.08);margin:14px 14px}
  .deck-mode .side__links,.side-mode .side__links{display:flex;flex-direction:column;gap:10px;padding:2px 14px 0;margin-top:auto} .deck-mode .side__links a,.side-mode .side__links a{font-size:14.5px;color:var(--ink-3)} .deck-mode .side__links a:hover,.side-mode .side__links a:hover{color:var(--ink)}
  .deck-mode .nav{display:none} .deck-mode .deck>section{scroll-margin-top:80px}
  /* каждый раздел главной — экран: занимает высоту окна минус шапка, содержимое по центру, следующий не выглядывает; мягкая прилипающая прокрутка */
  .deck-mode{scroll-snap-type:y proximity} .deck-mode .deck>section{scroll-snap-align:start;min-height:calc(100vh - 80px);min-height:calc(100svh - 80px);display:flex;align-items:center;padding:56px 0} .deck-mode .deck>section>.wrap{width:100%}
  .deck-mode .deck>.hero{padding:40px 0}
  /* названия разделов главной — крупные заголовки, как на первом экране */
  .deck-mode .deck>section .sec__head h2,.deck-mode .deck>section .intro__body h2,.deck-mode .deck>section .online h2,.deck-mode .deck>section .card h2{font-size:clamp(38px,3.9vw,54px);letter-spacing:-.02em;line-height:1.05}
  .deck-mode .deck>section .sec__head p{font-size:19px;margin-top:14px} .deck-mode .deck>section .card h2{font-size:clamp(30px,2.8vw,38px)}
  /* единый фон: мягкие цветные пятна на весь экран (прозрачность вдвое слабее первоначальной — владелец, 19.09.2026), шапка/сайдбар/секции прозрачные */
  /* фон как у тренажёров и немецкого (владелец, 23.09.2026: «На главной тоже сделай такой же фон») — кремовая база и тёплые пятна на всех страницах */
  .deck-mode body,.side-mode body{background:#faf9f5} .deck-mode body::before,.side-mode body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(80% 65% at 24% -5%,rgba(250,249,245,.09) 0%,rgba(250,249,245,0) 72%),radial-gradient(60% 55% at 96% 10%,rgba(250,249,245,.08) 0%,rgba(250,249,245,0) 72%),radial-gradient(75% 45% at 55% 108%,rgba(250,249,245,.06) 0%,rgba(250,249,245,0) 72%),linear-gradient(180deg,#faf9f5 0%,#faf9f5 100%)}
  .deck-mode .hero::before{display:none} .deck-mode .hero,.deck-mode .sec--tint{background:transparent} .deck-mode .side{background:transparent!important}
  /* стекло шапки на главной: невидимо наверху, при прокрутке — мягкое размытие почти без белой подмеси (фон под ним цветной) */
  .deck-mode .top::before{opacity:0;transition:opacity .25s;background:linear-gradient(180deg,rgba(250,249,245,.34) 0%,rgba(250,249,245,.22) 55%,rgba(250,249,245,0) 100%);backdrop-filter:blur(18px) saturate(1.05);-webkit-backdrop-filter:blur(18px) saturate(1.05)}
  .deck-mode.scrolled .top::before{opacity:1}
  .deck-mode .top__in,.side-mode .top__in{padding-left:28px} .side-mode .nav{display:none} .deck-mode .deck__links,.side-mode .foot__links{display:none} .side-mode main,.side-mode .foot{margin-left:250px} .side-mode .side{background:transparent}
  .deck-mode .plan,.deck-mode .rev{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4}
  .deck-mode .pr,.deck-mode .card,.deck-mode .trainer{background:#fff;box-shadow:inset 0 0 0 1px #ecebe4;--surface:#f5f4ed;--surface-2:#ecebe4} .deck-mode .trainer:hover{background:var(--surface-2)}
  .deck-mode .rev__q,.deck-mode .clist__ic{background:var(--surface)}
}
/* невысокие экраны ноутбуков: те же слайды компактнее, чтобы помещались без внутренней прокрутки */
@media (min-width:1025px) and (max-height:800px){
  .deck-mode .deck>section{padding:28px 0} .deck-mode .sec__head{margin-bottom:22px} .deck-mode .sec__row{margin-bottom:18px} .deck-mode .deck>section .sec__head p{margin-top:10px;font-size:17px} .deck-mode .deck>section .sec__head h2,.deck-mode .deck>section .intro__body h2,.deck-mode .deck>section .online h2{font-size:clamp(32px,3.2vw,42px)} .deck-mode .deck>section .card h2{font-size:28px}
  .deck-mode .intro{grid-template-columns:300px minmax(0,1fr);gap:44px} .deck-mode .intro p{font-size:16px;margin-top:12px} .deck-mode .intro__body .docs--mini{margin-top:16px} .deck-mode .docs--mini .doc img{height:120px} .deck-mode .intro__btn{margin-top:16px}
  .deck-mode .stat__n{font-size:clamp(36px,4vw,50px)} .deck-mode .sec__more{margin-top:20px}
  .deck-mode #prices .sec__row{margin-bottom:14px} .deck-mode #prices .sec__head h2{font-size:clamp(30px,3vw,38px)} .deck-mode #prices .sec__head p{font-size:15px;margin-top:8px}
  .deck-mode .plan{padding:20px 20px 18px} .deck-mode .plan h3{font-size:20px} .deck-mode .plan__price{margin-top:12px} .deck-mode .plan__price b{font-size:32px} .deck-mode .plan .btn{margin-top:12px;height:42px} .deck-mode .plan__inc{margin-top:16px;font-size:14px} .deck-mode .plan__list{gap:7px;margin-top:10px} .deck-mode .plan__list li{font-size:13.5px}
  .deck-mode .rev{padding:20px} .deck-mode .rev__t{-webkit-line-clamp:5}
  .deck-mode .card{padding:28px} .deck-mode .card h2{font-size:26px} .deck-mode .card.contact{padding:30px 34px 28px} .deck-mode .deck__foot{margin-top:18px}
  .deck-mode .pr{padding:18px 20px} .deck-mode .pr p{font-size:14px} .deck-mode .trainers{margin-top:20px} .deck-mode .trainer{padding:18px 22px}
}
@media (max-width:1024px){
  .stats,.posts,.facts,.reviews,.principles,.rstats{grid-template-columns:repeat(2,minmax(0,1fr))} .egt__head,.egt__row{grid-template-columns:96px minmax(0,1fr) minmax(0,1fr)} .plan,.rev{flex-basis:calc((100% - 16px)/2)} .rvh-row{grid-template-columns:repeat(2,minmax(0,1fr))} .docs.docs--mini{flex-wrap:wrap} .docs--mini .doc img{height:120px} .reviews--cols{columns:2} .profiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  .online,.contact,.trainers,.cols2,.method,.links2,.cv__grid{grid-template-columns:minmax(0,1fr)}
  .about{grid-template-columns:minmax(0,3fr) minmax(0,5fr);gap:20px 32px} .about__body h1{font-size:30px} .about__text{font-size:16.5px;margin-top:12px} .about__facts{grid-template-columns:repeat(2,minmax(0,1fr))} .about__cta{margin-top:20px} .afact{padding:14px 16px} .afact b{font-size:24px} .tagrow{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0} .card.contact{padding:32px} .contact .lead{margin-top:22px} .contact__links{margin-top:30px}
  .wrap{padding:0 40px} .top__in{display:flex;justify-content:space-between;height:68px;padding:0 40px} .hero{min-height:calc(100vh - 68px);min-height:calc(100svh - 68px)} .nav{display:none} .burger{display:flex} .top__cta .btn--soft{display:none}
  .brand__mark{width:40px;height:40px} .brand__copy b{font-size:22px}
  /* мобильное меню — как в тренажёрах (владелец, 23.09.2026: «на главной, как в тренажёрах»): панель выезжает слева
     на затемнённой подложке; внутри логотип и «Закрыть», запись и вход, разделы с иконками — те же, что в сайдбаре на широком экране */
  .mmenu{display:block;position:fixed;inset:0;z-index:60;background:rgba(29,29,31,.34);opacity:0;visibility:hidden;touch-action:none;transition:opacity .3s,visibility 0s linear .3s} .mmenu[hidden]{display:block}
  .top.is-open .mmenu{opacity:1;visibility:visible;transition:opacity .3s,visibility 0s}
  /* аккуратнее, как панель тренажёров (владелец, 24.09.2026: «Выдвижную панель сделать более аккуратно»): фон страницы, без полосы
     прокрутки, «Закрыть» без серого круга, кнопка меню шапки не выглядывает из-под подложки, кнопки без тени, пункты одной высоты */
  .top.is-open .burger{visibility:hidden}
  .mmenu__panel{position:absolute;left:0;top:0;bottom:0;display:flex;flex-direction:column;width:min(320px,86vw);padding:0 12px calc(16px + env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:none;background:var(--bg);box-shadow:0 24px 70px -18px rgba(29,29,31,.45);transform:translateX(-108%);transition:transform .3s cubic-bezier(.22,1,.36,1)} .top.is-open .mmenu__panel{transform:none} .mmenu__panel::-webkit-scrollbar{display:none}
  .mmenu__head{position:relative;display:flex;align-items:center;flex:none;height:64px;margin:0;padding:0 52px 0 4px}
  .mmenu__head .brand__copy span{display:block;margin-top:3px;font-size:10px;letter-spacing:.12em;color:#8f8b82}
  .mmenu__x{position:absolute;right:-6px;top:12px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:none;color:#1f2937;-webkit-tap-highlight-color:transparent;transition:background .15s} .mmenu__x:active{background:rgba(31,30,29,.08)} .mmenu__x svg{display:block;width:22px;height:22px}
  .mmenu__cta{display:grid;gap:8px;margin:4px 0 12px} .mmenu__cta .btn{width:100%;height:46px;min-height:46px;padding-top:0;padding-bottom:0;font-size:16px;box-shadow:none}
  .mside{display:flex;flex-direction:column;flex:1 0 auto}
  .mside__nav{display:flex;flex-direction:column;gap:2px} .mside__nav a{display:flex;align-items:center;gap:14px;height:46px;padding:0 14px;border-radius:12px;font-size:17px;font-weight:500;color:#1f2937;transition:background .15s}
  .mside__nav a[aria-current]{background:var(--surface-2);font-weight:600} .mside__nav svg{width:22px;height:22px;flex:none;color:#1f2937}
  .mside__nav--2 a{height:46px;font-size:17px} .mside__cap{margin:18px 14px 6px;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8f8b82} .mside__sep{height:1px;background:rgba(15,23,42,.08);margin:14px}
  .mside__links{display:flex;flex-direction:column;gap:10px;padding:2px 14px 0;margin-top:auto} .mside__links a{font-size:15px;color:#73737f} .mside__links a:hover{color:var(--ink)}
  html.menu-open,html.menu-open body{overflow:hidden}
}
@media (max-width:1024px) and (hover:hover){.mside__nav a:not([aria-current]):hover{background:var(--surface)} .mmenu__x:hover{background:rgba(31,30,29,.08)}}   /* на телефоне наведение не «залипает» после нажатия */
@media (max-width:640px){
  .wrap{padding:0 16px} .sec{padding:64px 0} .hero{padding:32px 0} .hero__logo{width:64px;height:64px} .hero h1{margin-top:20px;font-size:clamp(2.14rem,11.5vw,3.15rem);line-height:1.01} .hero .lead{margin-top:16px;font-size:.98rem;line-height:1.62} .hero__cta{margin-top:24px} .hero__cta .btn{width:min(100%,22rem)} h1{font-size:38px}
  .posts,.facts,.reviews,.principles{grid-template-columns:minmax(0,1fr)} .rvh{padding:14px 16px} .rvh b{font-size:22px} .chip{height:38px;padding:0 13px;font-size:13.5px} .review{padding:22px 20px 20px;border-radius:22px} .docs:not(.docs--mini){grid-template-columns:minmax(0,1fr)} .stats{grid-template-columns:repeat(2,minmax(0,1fr))} .plan,.rev{flex-basis:86%} .sec__tools{width:100%;justify-content:space-between} .reviews--cols{columns:1} .profiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dist{margin-top:40px;padding:0} .dist__row{grid-template-columns:minmax(0,1fr);gap:10px;padding:8px 0} .dist__subj{padding-bottom:0}
  .dist__cap{width:auto;min-width:0;margin-bottom:6px;padding-bottom:0;white-space:normal} .dist__cap::after{display:none}
  .dist__bar{display:grid;gap:6px;height:auto} .dist__seg{display:grid;grid-template-columns:52px minmax(0,1fr) 46px;align-items:center;gap:10px;background:none;color:#0f172a!important;border-radius:0!important;overflow:visible;container-type:normal}
  .dist__seg::before{content:"";grid-column:2;height:22px;width:calc(var(--w) * 1%);min-width:6px;border-radius:6px;background:var(--c)}
  .dist__seg span{grid-column:1;grid-row:1;order:-1;font-size:13px;opacity:1;color:var(--ink-2)} .dist__seg b{grid-column:3;grid-row:1;font-size:15px;text-align:right} .dist__seg b i{font-size:11px}
  .stats{gap:28px 12px} .rstats{gap:10px} .rstat{padding:16px;border-radius:20px} .rstat__ic{width:38px;height:38px;margin-bottom:12px} .rstat b{font-size:28px} .rcard{padding:20px 16px;border-radius:22px} .rcard__head{margin-bottom:16px}
  .egt__head{display:none} .egt__row{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px 0} .egt__season{padding-top:0} .egt__label{display:block;margin-bottom:6px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3)} .egt__note{grid-column:auto;margin-top:0}
  .ol__card summary{padding:16px 18px;gap:10px} .ol__season{font-size:17px} .ol__list{padding:0 18px 18px}
  .about{grid-template-columns:minmax(0,1fr);gap:24px} .about__photo{align-self:auto;min-height:0} .about__body h1{font-size:34px} .about__facts{gap:10px} .afact{padding:14px} .afact b{font-size:22px} .about__cta .btn{width:100%} .tagcard{padding:2px 18px;border-radius:22px}
  .cv__col{padding:22px 18px 18px;border-radius:22px} .cv__grid{gap:8px} .cv__item{grid-template-columns:minmax(0,1fr);gap:4px;padding-left:24px} .cv__when{padding-top:0} .card{padding:26px} .card h2{font-size:26px} .slide{flex-basis:88%}
  .top__cta .btn--grad{height:40px;padding:0 14px;font-size:14px} .top__in{padding:0 16px} .brand{gap:10px} .brand__copy span{display:none} .about__photo img{position:static;height:auto;aspect-ratio:4/4.4} .card.contact{padding:24px 20px} .card .btns .btn{width:100%} .lead__actions .btn{width:100%}
  .btn{white-space:normal;text-align:center;height:auto;min-height:50px;padding-top:12px;padding-bottom:12px;line-height:1.2} .cta{padding:26px}
}
/* заголовки — антиква, как на claude.com (владелец, 23.09.2026: «Попробуй изменить шрифты как на сайте Клода»): их Anthropic Serif закрыт,
   ближайшая свободная с кириллицей — Source Serif 4 (OFL, /assets/fonts/source-serif-4.css), начертание 600, первый экран — 700; текст и интерфейс — прежний гротеск */
h1,h2,h3{font-family:"Source Serif 4",Georgia,"Times New Roman",serif!important;font-weight:600!important;letter-spacing:-.01em!important;font-optical-sizing:auto} .hero h1{font-weight:700!important}   /* жирнее (владелец, 23.09.2026: «Здесь нужно жирным») */
/* основной текст — тоже антиква (владелец, 23.09.2026: «Основной текст тоже антиквой»); меню, кнопки, метки, поля и логотип — гротеск */
p,li,td,blockquote,dd,figcaption,.task-text,.tb-body,.dl-theory,.dr-theory,.option-card,.seq-item,.article{font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-optical-sizing:auto}
