:root{--bg:#F7F8F6;--surface:#fff;--ink:#1B2530;--ink-2:#556270;--ink-3:#8A949D;--line:#DDE2DF;--accent:#2C6E9E;--accent-ink:#fff;--accent-soft:#E3EEF6;--ok:#2F7D4F;--r:10px}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 "IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
main{flex:1 0 auto;display:flex;flex-direction:column}
.wrap{max-width:960px;margin:0 auto;padding:0 20px}
h1{font-size:clamp(30px,4.6vw,44px);line-height:1.12;margin:0 0 14px;letter-spacing:-.015em;text-wrap:balance}
h2{font-size:clamp(21px,3.4vw,27px);line-height:1.2;margin:0 0 14px;text-wrap:balance}
p{margin:0 0 12px}a{color:var(--accent)}
.muted{color:var(--ink-3)}.center{text-align:center;margin-top:22px}
.hdr{position:sticky;top:0;height:56px;flex:none;background:rgba(247,248,246,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);z-index:10}
.hdr-in{display:flex;align-items:center;gap:18px;height:56px}
.brand{font-weight:600;font-size:20px;color:var(--ink);text-decoration:none;letter-spacing:-.02em}.brand b{color:var(--accent);font-weight:700}
.nav{display:flex;gap:16px;margin-left:auto}.nav a{color:var(--ink-2);text-decoration:none;font-size:14px}.nav a:hover{color:var(--ink)}
.lang{font-size:14px;text-decoration:none;border:1px solid var(--line);border-radius:99px;padding:5px 11px;color:var(--ink-2)}
.hero{flex:none;min-height:calc(100svh - 56px - 96px);display:flex;align-items:center;padding:40px 0;text-align:center}.hero .wrap{width:100%}.hero-in{max-width:680px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.hero h1{max-width:22ch;margin-bottom:16px}.hero .lead{font-size:clamp(17px,2.2vw,20px);line-height:1.5;color:var(--ink-2);max-width:52ch;margin-bottom:26px}
.hero .btn-lg{min-width:260px;text-align:center}.hero .note{color:var(--ink-2);font-size:14px;margin:14px 0 0;max-width:56ch}
.hero .timer{margin:0 0 22px;font-size:16px;font-variant-numeric:tabular-nums;line-height:1.5}.hero .timer svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px;margin-right:6px}.hero .timer b{color:var(--ink);font-weight:600;white-space:nowrap}.hero .timer .when{white-space:nowrap}
@media (max-width:640px){.hero .timer .sep{display:none}.hero .timer .when{display:block}.hero .timer{padding:0 44px;font-size:15px;margin-bottom:18px}}
[hidden]{display:none!important}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--ink-2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.linkbtn:hover{color:var(--ink)}
.btn{display:inline-block;border-radius:var(--r);padding:12px 20px;font-weight:600;text-decoration:none;border:0;cursor:pointer;line-height:1.2}
.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-primary:hover{background:#245d86}.btn-lg{padding:16px 28px;font-size:18px}
.btn:focus-visible,.pair input:focus-visible+span{outline:3px solid var(--accent-soft);outline-offset:2px}
.sec{padding:34px 0}.sec+.sec{border-top:1px solid var(--line)}
.hint{color:var(--ink-2);font-size:15px;max-width:70ch}
.pairs{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:16px 0}
.pair input{position:absolute;opacity:0;width:0;height:0}
.pair span{display:block;border:1.5px solid var(--line);border-radius:var(--r);padding:12px 14px;background:var(--bg);cursor:pointer;font-weight:500;font-size:15px}
.pair input:checked+span{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px}.card b{display:block;margin-bottom:4px}.card span{color:var(--ink-2);font-size:14px}
table{border-collapse:collapse;width:100%;font-size:15px}th,td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line)}
th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);font-weight:500}td.n,th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
tr.total td{font-weight:600;border-bottom:0;background:var(--accent-soft)}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:0 16px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:600;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::after{content:"+";color:var(--ink-3);font-weight:400;font-size:20px;line-height:1}.faq details[open] summary::after{content:"–"}
.faq summary::-webkit-details-marker{display:none}.faq p{color:var(--ink-2);padding-bottom:14px;margin:0}
.soon{text-align:center;padding-top:72px}.soon .lead{margin-left:auto;margin-right:auto}
.back{color:var(--ink-2);font-size:15px}
@media (max-width:640px){.nav{display:none}.lang{margin-left:auto}.hero{align-items:center;padding:36px 0 28px}.hero .btn-lg,.center .btn-lg{display:block;width:100%;min-width:0}}
@media (min-width:641px) and (max-width:1023px){.hero-in{max-width:600px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.why .card b{font-size:17px}
.dlg{border:0;border-radius:14px;padding:0;max-width:640px;width:calc(100% - 32px);box-shadow:0 24px 60px rgba(0,0,0,.25);background:var(--surface);color:var(--ink)}
.dlg::backdrop{background:rgba(27,37,48,.55)}
.dlg-in{padding:20px 22px 22px;margin:0}
.dlg-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}.dlg-head h2{margin:0}
.dlg-x{background:transparent;border:0;font-size:28px;line-height:1;color:var(--ink-3);cursor:pointer;padding:0 4px}.dlg-x:hover{color:var(--ink)}
.dlg .pairs{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin:6px 0 0;max-height:46vh;overflow:auto;padding-right:2px}
.dlg .pair span{padding:10px 12px;font-size:14px;display:flex;align-items:center;gap:10px}
.ic{display:inline-flex;flex:none;width:28px;height:28px;align-items:center;justify-content:center;border-radius:7px;background:var(--surface);border:1px solid var(--line)}.ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pair input:checked+span .ic{color:var(--accent)}.pair span .ic{color:var(--ink-3)}
.dlg-foot{margin-top:14px;display:flex;gap:12px;align-items:center}.dlg-foot .btn{flex:1;text-align:center;padding:14px 20px;font-size:17px}
.seg{display:inline-flex;border:1.5px solid var(--line);border-radius:var(--r);overflow:hidden;flex:none}.seg label{position:relative}.seg input{position:absolute;opacity:0;width:0;height:0}
.seg span{display:block;padding:12px 14px;font-size:14px;font-weight:500;color:var(--ink-2);cursor:pointer;background:var(--bg)}.seg input:checked+span{background:var(--accent-soft);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--accent)}
.seg input:focus-visible+span{outline:3px solid var(--accent-soft);outline-offset:-3px}
@media (max-width:640px){.dlg{width:100%;max-width:none;margin:auto 0 0;border-radius:14px 14px 0 0;max-height:92vh}.dlg .pairs{grid-template-columns:1fr;max-height:42vh}.dlg-foot{flex-wrap:wrap}.seg{width:100%}.seg label{flex:1}.seg span{text-align:center}.dlg-foot .btn{width:100%;flex:none}}
.seo{flex:none;padding:0 0 32px;font-size:15px;color:var(--ink-2)}.seo{text-align:center}.seo details{max-width:680px;margin:0 auto}.seo summary{cursor:pointer;color:var(--ink-3);list-style:none;display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:64px;font-size:14px;text-align:center;padding:0 12px}.seo summary::-webkit-details-marker{display:none}.seo summary::after{content:"▾";font-size:12px}.seo details[open] summary::after{content:"▴"}
.seo-card{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px 22px;margin-top:4px}
.seo h2{font-size:17px;color:var(--ink);margin:0 0 10px;text-wrap:balance}.seo p{max-width:none;margin:0 0 10px;line-height:1.6}.seo p:last-child{margin-bottom:0}
@media (max-width:640px){.seo-card{padding:16px}.hero{min-height:calc(100svh - 56px - 96px)}}
@media (max-height:520px){.hero{min-height:0;padding:20px 0 16px}.hero h1{font-size:26px;margin-bottom:10px}.hero .lead{font-size:15px;margin-bottom:16px}.hero .btn-lg{padding:12px 22px;font-size:16px}.hero .note{margin-top:10px;font-size:13px}.seo summary{min-height:44px}}
@media (max-width:360px){.wrap{padding:0 16px}.hero h1{font-size:27px}.hero .lead{font-size:16px}.dlg-in{padding:16px}}
@media (min-width:1400px){.hero h1{font-size:48px;max-width:26ch}.hero .lead{font-size:21px}.hero-in{max-width:760px}}
/* Плавающая кнопка Telegram: всегда в правом нижнем углу (решение владельца 13.09 — не перемещать). На сдаче с телефона поднимается над панелью «Назад/Дальше»; у тела карточки запас снизу pb-16/md:pb-20, чтобы последний ряд ответов не уходил под кнопку */
.tg-fab{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:20;width:52px;height:52px;border-radius:50%;background:#2AABEE;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(42,171,238,.35),0 1px 3px rgba(0,0,0,.12);transition:transform .15s,box-shadow .15s}  /* bottom не анимировать: переход между calc() с env()/var() в Chrome зависает «running» и кнопка не двигается (27.09, has-cart над плашкой корзины) */
.tg-fab:hover{background:#229ED9;transform:translateY(-2px);box-shadow:0 10px 26px rgba(42,171,238,.4),0 1px 3px rgba(0,0,0,.12)}
.tg-fab:focus-visible{outline:3px solid rgba(42,171,238,.4);outline-offset:3px}
.tg-fab svg{width:28px;height:28px;margin-left:-2px;position:relative}
/* Пульс: кольцо расходится от кнопки раз в 3 с — напоминает о себе, не дёргая саму кнопку */
.tg-fab::before{content:"";position:absolute;inset:0;border-radius:50%;background:#2AABEE;opacity:0;animation:tg-pulse 3s ease-out infinite;pointer-events:none}
@keyframes tg-pulse{0%{transform:scale(1);opacity:.45}60%{transform:scale(1.9);opacity:0}100%{transform:scale(1.9);opacity:0}}
@media (prefers-reduced-motion:reduce){.tg-fab::before{animation:none}}
body.test-run .tg-fab{width:44px;height:44px;bottom:calc(68px + env(safe-area-inset-bottom) + 12px);z-index:30}
body.test-run .tg-fab svg{width:24px;height:24px}
body.test-result .tg-fab{display:none}
@media (min-width:768px){body.test-run .tg-fab{bottom:max(16px,env(safe-area-inset-bottom));width:52px;height:52px}body.test-run .tg-fab svg{width:28px;height:28px}}
@media (max-width:640px){.tg-fab{width:48px;height:48px}.tg-fab svg{width:26px;height:26px}}
/* Магазин (W12): список книг и страница книги; обложка — CSS, без картинок */
.store{padding:32px 0 48px}.store h1{margin:0 0 10px}.store .lead{color:var(--ink-2);font-size:17px;line-height:1.5;max-width:60ch;margin:0 0 24px}
.store .facts{color:var(--ink-2);font-size:15px;line-height:1.4;margin:0 0 14px}
.bl{position:absolute;opacity:0;pointer-events:none}
.books{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin:0 0 20px}
.book{display:grid;gap:10px;align-content:start;text-decoration:none;color:var(--ink);border:1.5px solid var(--line);border-radius:var(--r);padding:12px;background:var(--surface);transition:border-color .15s,transform .15s}
.book:hover{border-color:var(--accent);transform:translateY(-2px)}
.cover{display:grid;align-content:end;gap:4px;aspect-ratio:3/4;border-radius:6px;background:linear-gradient(160deg,#2C6E9E,#1E4F73);color:#fff;padding:14px;box-shadow:inset 6px 0 0 rgba(255,255,255,.18)}
.cover b{font-size:18px;line-height:1.15;letter-spacing:-.01em}.cover i{font-style:normal;font-size:12px;opacity:.75}
.cover-lg{max-width:320px;width:100%}.cover-lg b{font-size:24px}
.cover-img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:6px;background:#fff}
.book:hover .cover-img{transform:scale(1.03)}.cover-img{transition:transform .2s}
.stock{font-style:normal;font-weight:500;font-size:12px;color:var(--ok);margin-left:6px}
.book-body{display:grid;gap:2px}.book-title{font-weight:600}.book-meta{color:var(--ink-2);font-size:14px}.book-langtag{color:var(--ink);font-weight:700}  /* язык сборника жирным (владелец 27.09) */
.price{font-weight:700;font-variant-numeric:tabular-nums}.price-lg{font-size:24px;margin:0 0 6px}
/* W54: акционная цена — старая зачёркнута серым, новая красная; ярлык скидки и подпись «до повышения» на странице сборника */
.price-old{font-weight:400;color:var(--ink-3);text-decoration:line-through;font-size:.82em;margin-right:4px}.price.sale .price-now{color:#D0342C}
.price-lg.sale{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}.price-lg .price-now{font-size:30px;line-height:1.1}
.sale-tag{display:inline-block;font-style:normal;font-size:13px;font-weight:700;color:#fff;background:#D0342C;border-radius:999px;padding:3px 9px;line-height:1.2}
.sale-note{margin:0 0 10px;font-size:13px;color:#B12A23}
.pay-note{margin:0 0 16px;font-size:14px;color:var(--ink-2)}
.pay-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 10px;font-size:14px;color:var(--ink-2)}.pay-row .pm{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-weight:600;line-height:1.15}.pay-row .pm img{width:34px;height:26px;border-radius:5px;flex:none}.pay-row .pm small{display:block;font-size:12px;font-weight:400;color:var(--ink-2)}.pay-row-store{margin:-6px 0 18px}
.terms{margin:2px 0 12px;display:grid;gap:8px;font-size:14px}.terms>div{display:grid;grid-template-columns:84px 1fr;gap:4px 10px;align-items:start}.terms dt{margin:0;padding-top:4px;font-size:13px;color:var(--ink-3);display:flex;align-items:center;gap:6px}.terms dd{margin:0;display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}.chip{display:inline-flex;align-items:baseline;gap:5px;padding:4px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:13px;line-height:1.25;white-space:nowrap}.chip b{font-weight:700}.chip i{font-style:normal;font-size:12px;color:var(--ok)}.terms .pay-row{margin:0;gap:6px 14px}.terms .pay-row .pm img{width:30px;height:23px}
.uic{width:18px;height:18px;flex:none;color:inherit}.terms dt .uic{width:16px;height:16px;color:var(--ink-2)}.stock .uic{width:14px;height:14px;vertical-align:-2px;margin-right:3px}.pay-title{display:inline-flex;align-items:center;gap:6px}.ilist{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:10px}.ilist li{display:flex;align-items:center;gap:12px}.ilist .ico{flex:none;width:36px;height:36px;border-radius:10px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.ilist .ico .uic{width:20px;height:20px}.ilist.steps li{align-items:flex-start}.ilist.steps .ico{margin-top:1px}
@media (max-width:480px){.pay-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 8px}.pay-row .pay-title{grid-column:1/-1}.pay-row .pm{flex-direction:column;text-align:center;gap:4px;font-size:13px}.terms>div{grid-template-columns:1fr;gap:4px}.terms dt{padding:0}.terms dd{gap:6px}.terms .pay-row{width:100%}}
.product-in{display:grid;grid-template-columns:320px 1fr;gap:32px;align-items:start}.product-body h2{font-size:18px;margin:28px 0 8px}.product-body ul,.product-body ol{margin:0;padding-left:20px;color:var(--ink-2);line-height:1.6}
.crumbs{margin:0 0 16px;font-size:14px}.crumbs a{color:var(--ink-2)}
.btn-wa{background:#25D366;color:#fff}.btn-wa:hover{background:#1EBE5A}.btn-tg{background:#2AABEE;color:#fff}.btn-tg:hover{background:#229ED9}.btn-tg:not(.btn-primary){background:#e6f3fb;color:#1b7fb8;box-shadow:inset 0 0 0 1px #bfe0f3}.btn-tg:not(.btn-primary):hover{background:#d6ebf8}.wa-notice{margin:0 0 10px;padding:10px 12px;border-radius:10px;background:#FFF4D6;color:#5a4300;font-size:14px;line-height:1.35}.dlg-foot-tg .btn-wa{background:#e9efe9;color:#2b5f3a}.dlg-foot-tg .btn-wa:hover{background:#dbe6db}.btn[aria-disabled=true]{opacity:.5;cursor:default}
/* форма заказа (W22): поля в диалоге, стиль как у диалога «Выбери профиль»; 16px в полях — чтобы iOS не зумил */
.order-book{margin:0 0 4px;font-weight:600}
.flds{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:14px}.fld{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--ink-2);min-width:0}.fld-wide{grid-column:1/-1}
.fld input{font:inherit;font-size:16px;color:var(--ink);border:1.5px solid var(--line);border-radius:var(--r);padding:11px 12px;background:var(--bg);width:100%;min-width:0}
.fld input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.fld small{font-size:12px;color:var(--ink-3);line-height:1.4}.fld small a{color:var(--accent);text-decoration:underline}
.fld small.fld-err,#fld-phone small.fld-err{color:#B12A23;font-size:13px}.fld-err[hidden]{display:none}.fld input[aria-invalid=true]{border-color:#B12A23}
.consent{margin:8px 0 0;font-size:12px;color:var(--ink-3);text-align:center;line-height:1.4}
/* подвал формы (кнопка + согласие) прилипает к низу диалога: на коротких экранах поля прокручиваются внутри диалога, кнопка всегда на виду */
.dlg-order .dlg-in{padding-bottom:0}.order-foot{position:sticky;bottom:0;background:var(--surface);padding-bottom:18px}
@media (max-width:640px){.flds{grid-template-columns:1fr;gap:8px}.dlg-order .dlg-in{padding:16px 16px 0}.order-foot{padding-bottom:max(14px,env(safe-area-inset-bottom));box-shadow:0 -10px 12px -8px rgba(27,37,48,.08)}}
@media (max-width:640px){.product-in{grid-template-columns:1fr}.cover-lg{max-width:200px}.books{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.book{min-width:0}.cover b{font-size:15px}}  /* minmax(0,1fr) + min-width:0 — на 320 px карточка не растягивает сетку за экран (W53) */
/* W53: широкая карусель фото сборника — лента со scroll-snap на всю ширину, слайды одной высоты в своих пропорциях, стрелки поверх, подпись и точки под лентой; #photo — увеличенное фото */
.gal{position:relative;margin:0 0 24px}
.gal-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;height:440px;border-radius:10px}.gal-track::-webkit-scrollbar{display:none}
.gal-slide{flex:0 0 auto;scroll-snap-align:start;display:block;height:100%;border-radius:8px;overflow:hidden;background:#f1f3f5}.gal-slide img{display:block;height:100%;width:auto;max-width:none}
.gal-btn{position:absolute;top:calc(220px - 20px);width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:var(--ink);font-size:26px;line-height:40px;text-align:center;cursor:pointer;box-shadow:0 1px 8px rgba(0,0,0,.2);padding:0}.gal-btn:hover{background:#fff}.gal-prev{left:10px}.gal-next{right:10px}.gal-btn[hidden]{display:none}
.gal-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;font-size:13px;color:var(--ink-2)}
.gal-dots{display:flex;gap:6px}.gal-dots button{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:var(--line);cursor:pointer}.gal-dots button[aria-current=true]{background:var(--accent)}
.product-in.no-cover{grid-template-columns:1fr}
.dlg-photo{max-width:min(96vw,960px);width:auto;background:#0f1418;padding:0}.dlg-photo img{display:block;max-width:96vw;max-height:88vh;width:auto;height:auto;object-fit:contain}
.dlg-photo .dlg-x{position:absolute;top:6px;right:10px;color:#fff;z-index:1;text-shadow:0 1px 3px rgba(0,0,0,.6)}
@media (max-width:640px){.gal .kbadge img{width:40px;height:31px}.gal-track{height:280px;gap:8px}.gal-btn{top:calc(140px - 18px);width:36px;height:36px;line-height:36px;font-size:22px}.dlg-photo{margin:auto;border-radius:10px;max-height:none}}
/* W35: корзина — кнопка «В заказ» и степпер на карточках, плашка внизу, список и итог в диалоге заказа */
.book-link{display:grid;gap:10px;text-decoration:none;color:inherit;min-width:0}.book-foot{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap}
/* бегущая строка на списке сборников: красная лента, белый текст, бесконечная прокрутка (два одинаковых набора, сдвиг на −50%), пауза при наведении */
.ticker{overflow:hidden;background:#D0342C;color:#fff;border-radius:10px;margin:0 0 18px;font-weight:600;font-size:15px;white-space:nowrap;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.ticker-track{display:inline-flex;align-items:center;padding:10px 0;animation:ticker 34s linear infinite;will-change:transform}.ticker:hover .ticker-track{animation-play-state:paused}
.ticker-item{padding:0 16px}.ticker-sep{opacity:.65;font-size:9px}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:640px){.ticker{font-size:14px;border-radius:8px}.ticker-track{animation-duration:26s;padding:9px 0}}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none;white-space:normal;flex-wrap:wrap}.ticker{white-space:normal;mask-image:none;-webkit-mask-image:none}.ticker-track>*:nth-child(n+5){display:none}}.product-body .ladder-line{margin:0 0 12px;font-size:14px;color:var(--ink-2)}
.add[hidden]{display:none}.add{display:flex;align-items:center}.btn-add{padding:7px 14px;font:inherit;font-size:14px;font-weight:600;border-radius:999px;border:1.5px solid var(--accent);color:var(--accent);background:transparent;cursor:pointer;white-space:nowrap}.btn-add:hover{background:var(--accent-soft)}
.stepper{display:inline-flex;align-items:center;border:1.5px solid var(--accent);border-radius:999px;overflow:hidden;background:var(--bg)}.stepper[hidden]{display:none}
.stepper button{width:34px;height:34px;border:0;background:transparent;font:inherit;font-size:20px;line-height:1;color:var(--accent);cursor:pointer}.stepper button:hover{background:var(--accent-soft)}.stepper output{min-width:26px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums;font-size:15px}
.order-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 4px}.add-lg .btn-add{padding:12px 18px;font-size:15px}.add-lg .stepper button{width:44px;height:44px}
.cartbar{position:fixed;left:12px;right:84px;bottom:max(16px,env(safe-area-inset-bottom));z-index:24;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;padding:10px 12px 10px 16px;box-shadow:0 8px 28px rgba(27,37,48,.16)}
.cartbar[hidden]{display:none}.cartbar-txt{font-size:14px;color:var(--ink-2);min-width:0}.cartbar-txt b{color:var(--ink)}.cartbar .btn-sm{padding:9px 16px}
@media (min-width:768px){.cartbar{left:auto;right:84px;min-width:320px}}
@media (max-width:767px){.cartbar{bottom:calc(72px + max(12px,env(safe-area-inset-bottom)));right:12px}body.has-cart .tg-fab{bottom:calc(96px + var(--cartbar-h,58px) + env(safe-area-inset-bottom))}}  /* над нижним меню; пока корзина не пуста, кнопка Telegram поднимается над плашку — иначе перекрывает «Оформить» (владелец 27.09, скрин с iPhone) */
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:-3px}.ic-lg{width:22px;height:22px;margin-right:8px}
.cartbar-txt{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
@media (max-width:359px){.cartbar-txt .sep,#cartbar-n{display:none}}  /* узкий экран: в плашке только сумма, иначе две строки и кнопка Telegram снова над «Оформить» */.cartbar-txt .ic{color:var(--accent)}
.sr{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:15px;color:var(--ink-2)}.sr .ic{color:var(--ink-3)}.sr-l{flex:1;min-width:0}.sr-a{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink);font-weight:600}
.sr.disc,.sr.disc .ic,.sr.disc .sr-a{color:#B12A23}.sr.muted .sr-a{color:var(--ink-3);font-weight:400}
.sr.tot{border-top:1px solid var(--line);margin-top:4px;padding-top:10px;font-size:17px;color:var(--ink);font-weight:700}.sr.tot .sr-a{font-size:20px}
.ladder-hint{display:flex;align-items:center;gap:8px}.ladder-hint .ic{color:#B12A23}
.cart-list{list-style:none;margin:0;padding:0;display:grid}.cart-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--line)}
.ci-name{font-weight:600;grid-column:1}.ci-unit{font-size:13px;color:var(--ink-2);grid-column:1}.ci-unit:empty{display:none}.cart-list .stepper{grid-column:2;grid-row:1/3}.ci-sum{grid-column:3;grid-row:1;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.ci-x{grid-column:3;grid-row:2;justify-self:end;border:0;background:transparent;color:var(--ink-3);cursor:pointer;padding:2px;line-height:0}.ci-x:hover{color:#B12A23}
.cart-more{display:inline-block;margin:10px 0 0;font-size:14px;font-weight:600;text-decoration:none}.cart-more:hover{text-decoration:underline}
.cart-empty{margin:8px 0;color:var(--ink-2)}.cart-note{margin:8px 0 0;font-size:13px;color:var(--ink-2)}.flds-zone{margin-top:10px}.flds-zone[hidden]{display:none}.cart-total{margin-top:10px}.cart-note[hidden]{display:none}.fld select{font:inherit;font-size:16px;color:var(--ink);border:1.5px solid var(--line);border-radius:var(--r);padding:11px 40px 11px 12px;width:100%;-webkit-appearance:none;appearance:none;cursor:pointer;background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/18px;text-overflow:ellipsis}.fld select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}  /* своя стрелка: родная у select обрезалась скруглением рамки */.ladder-hint{margin:10px 0 0;font-size:13px;color:#B12A23}.ladder-hint[hidden]{display:none}
.cart-sum{display:grid;margin:10px 0 0}
.btn[aria-disabled=true]{pointer-events:none}
@media (max-width:640px){.cart-list li{grid-template-columns:minmax(0,1fr) auto}.ci-name{grid-column:1/3;grid-row:1}.cart-list .stepper{grid-column:1;grid-row:2;justify-self:start}.ci-sum{grid-column:2;grid-row:2}.ci-unit{grid-column:1;grid-row:3}.ci-unit:empty{display:none}.ci-x{grid-column:2;grid-row:3}}  /* телефон: название во всю ширину, ниже цена и степпер */
/* Полка книг на главной (W12): под шапкой, мягкий фон, линия полки, края растворяются; книги — вырезки с альфой, плывут бесконечно
   (список продублирован, сдвиг на 50%); размер книги от экрана: 84–124px; при prefers-reduced-motion — обычная прокрутка пальцем */
.shelf{position:relative;background:linear-gradient(180deg,#E9F1F8 0%,var(--bg) 100%);padding:16px 0 6px;overflow:hidden}
.shelf-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.shelf-title{display:grid;gap:2px;line-height:1.25}.shelf-title b{font-size:16px;font-weight:600;color:var(--ink)}.shelf-title span{font-size:13px;color:var(--ink-2)}
.btn-sm{padding:8px 16px;font-size:14px;border-radius:99px;white-space:nowrap}
/* Пульс кнопки «Все книги»: кольцо расходится по форме кнопки раз в 2,5 с; при prefers-reduced-motion — выключен */
.btn-pulse{position:relative;animation:btn-pulse 2.5s ease-out infinite}
@keyframes btn-pulse{0%{box-shadow:0 0 0 0 rgba(44,110,158,.5)}70%{box-shadow:0 0 0 14px rgba(44,110,158,0)}100%{box-shadow:0 0 0 0 rgba(44,110,158,0)}}
@media (prefers-reduced-motion:reduce){.btn-pulse{animation:none}}
.shelf-books{position:relative;padding:10px 0 16px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.shelf-books::after{content:"";position:absolute;left:5%;right:5%;bottom:12px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(44,110,158,.35) 20%,rgba(44,110,158,.35) 80%,transparent)}
.shelf-track{display:flex;align-items:flex-end;gap:clamp(4px,1vw,12px);width:max-content;animation:shelf 90s linear infinite;will-change:transform}
.shelf:hover .shelf-track,.shelf:focus-within .shelf-track{animation-play-state:paused}
.shelf-item{flex:none;width:clamp(84px,11vw,124px);display:block;transition:transform .25s}
.shelf-item img{display:block;width:100%;height:auto}
.shelf-item:hover,.shelf-item:focus-visible{transform:translateY(-6px) scale(1.05)}
@keyframes shelf{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.shelf-books{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.shelf-track{animation:none;padding:0 16px}}
.hero-short{min-height:calc(100svh - 56px - 96px - 250px)}
@media (max-width:640px){.shelf{padding-top:12px}.shelf-head{flex-direction:column;align-items:center;text-align:center;gap:8px}.shelf-title{justify-items:center}.shelf-track{animation-duration:65s}.hero-short{min-height:calc(100svh - 56px - 96px - 230px)}}


/* материалы (W14): папки → документы (PDF) */
.mats .lead{color:var(--ink-2);font-size:16px;line-height:1.5;max-width:60ch;margin:0 0 18px}
.folders,.files{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}
.folders a,.files a{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;text-decoration:none;color:var(--ink)}
.folders a:hover,.files a:hover{border-color:var(--accent)}
.folders svg,.files svg{flex:none;width:28px;height:28px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.folder-body,.file-body{display:grid;gap:2px;min-width:0}.folder-body b,.file-body b{font-size:16px;line-height:1.3}.folder-body span,.file-body span{color:var(--ink-2);font-size:13px}
.src{font-size:13px;margin-top:18px}.src a{color:var(--ink-2)}
/* парящее меню (W14): на телефоне сайт ведёт себя как приложение — три вкладки внизу: тест, книги, материалы; во время сдачи скрыто (у теста своя нижняя панель) */
.appbar{display:none}
@media (max-width:767px){
  /* стабильное меню: документ не прокручивается (прокрутка внутри main) — панель браузера не сворачивается при скролле, низ экрана не «дышит», меню и кнопка Telegram стоят на месте */
  html,body{height:100%;height:100svh;overflow:hidden}
  main{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:calc(112px + env(safe-area-inset-bottom));scrollbar-width:none}main::-webkit-scrollbar{display:none}
  main>*{flex-shrink:0}  /* main теперь фиксированной высоты — блоки (полка книг) не должны ужиматься, а прокручиваться */
  body.test-run main{padding-bottom:0}
  .appbar{display:flex;position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:25;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px rgba(27,37,48,.16),0 1px 2px rgba(27,37,48,.06);padding:6px}
  .appbar a{flex:1;display:grid;justify-items:center;gap:4px;padding:8px 4px 7px;border-radius:16px;color:var(--ink-2);text-decoration:none;font-size:11.5px;font-weight:500;line-height:1;letter-spacing:.01em;-webkit-tap-highlight-color:transparent}
  .appbar a.on{color:var(--accent);background:var(--accent-soft);font-weight:600}
  .appbar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .tg-fab{bottom:calc(88px + env(safe-area-inset-bottom))}
  body.test-run .appbar{display:none}
  /* первый экран заканчивается под меню: строка «Подробнее о пробном ЕНТ» не выглядывает над ним (владелец 14.09) */
  .hero{min-height:calc(100svh - 56px)}.hero-short{min-height:calc(100svh - 56px - 220px)}
  /* текст первого экрана прижат к полке, а не к центру: кнопка «Сдать» не встречается с кнопкой Telegram и меню, пустое место остаётся снизу */
  .hero{align-items:flex-start;padding:24px 0 28px}.hero h1{font-size:28px;margin-bottom:12px}.hero .lead{font-size:16px;margin-bottom:20px}.hero .btn-lg{padding:14px 22px;font-size:17px}}
/* средние телефоны (375×667, 360×740): чуть компактнее, чтобы строка таймера «До нового варианта» была видна над меню без прокрутки (15.09) */
@media (max-width:767px) and (min-height:641px) and (max-height:760px){
  .shelf{padding:12px 0 4px}.shelf-books{padding:8px 0 12px}.shelf-item{width:72px}
  .hero{padding:12px 0 20px}.hero h1{font-size:26px;margin-bottom:8px}.hero .lead{font-size:15px;line-height:1.45;margin-bottom:14px}
  .hero .btn-lg{padding:13px 20px;font-size:16px}.hero .note{margin-top:8px}.hero .timer{margin-bottom:14px}
  .hero-short{min-height:calc(100svh - 56px - 180px)}}
/* короткие экраны телефонов (iPhone SE, 360×640): всё компактнее, чтобы кнопка «Сдать» оставалась на первом экране, а кнопка Telegram не ложилась на текст */
@media (max-width:767px) and (max-height:640px){
  .shelf{padding:10px 0 2px}.shelf-head{gap:4px}.shelf-title b{font-size:14px}.shelf .btn-sm{padding:6px 14px;font-size:13px}
  .shelf-books{padding:4px 0 8px}.shelf-item{width:54px}
  .hero{padding:8px 0 12px}.hero h1{font-size:22px;margin-bottom:6px}.hero .lead{font-size:14px;line-height:1.4;margin-bottom:10px}
  .hero .btn-lg{padding:11px 16px;font-size:16px}.hero .note{margin-top:6px;font-size:12.5px}.hero .timer{margin-bottom:10px;font-size:13px}
  .hero-short{min-height:calc(100svh - 56px - 150px)}
  .tg-fab{width:40px;height:40px}.tg-fab svg{width:22px;height:22px}}

/* предметные страницы (W17): паттерн главной; примеры, книга и другие предметы внутри «Подробнее» */
.seo .seo-card h2{margin-top:18px}.seo .seo-card h2:first-child{margin-top:0}.seo .seo-card h3{font-size:15px;color:var(--ink);margin:12px 0 4px}
.samples{list-style:none;padding:0;margin:0 0 6px;display:grid;gap:14px;counter-reset:q}.samples>li{border-top:1px solid var(--line);padding-top:12px}.samples>li:first-child{border-top:0;padding-top:0}.samples .q{font-weight:600;margin:0 0 8px;line-height:1.5;color:var(--ink)}.samples .q::before{counter-increment:q;content:counter(q) ". ";color:var(--ink-3)}
.samples .opts{list-style:none;padding:0;margin:0 0 10px;display:grid;gap:6px}.samples .opts li{display:flex;gap:10px;align-items:center}.samples .opts b{flex:none;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:var(--ink-2);background:#fff}
.samples .ans{font-size:14px;color:var(--ink);background:var(--accent-soft);border-radius:8px;padding:8px 12px;margin:0}
.bookcard{display:flex;align-items:center;gap:14px;background:var(--bg);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;text-decoration:none;color:var(--ink);margin-top:16px}.bookcard:hover{border-color:var(--accent)}.bookcard img{width:41px;height:56px;flex:none}.bookcard span{flex:1;min-width:0;display:grid;gap:2px}.bookcard b{color:var(--ink)}.bookcard small{color:var(--ink-2);font-size:13px}.bookcard em{font-style:normal;background:var(--accent);color:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;flex:none}
.subjects-nav{flex:none;padding:8px 0 36px}.subjects-nav h2{text-align:center;font-size:20px;margin:0 0 14px;text-wrap:balance}
.subjects-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}@media(min-width:480px){.subjects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:720px){.subjects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}@media(min-width:900px){.subjects-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.subjects-grid a{display:flex;align-items:center;gap:10px;height:100%;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:10px 12px;text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}.subjects-grid a:hover{border-color:var(--accent);box-shadow:0 6px 18px rgba(27,37,48,.06)}@media(min-width:640px){.subjects-grid a{gap:12px;padding:12px 14px}}
.subjects-grid .sic{flex:none;width:36px;height:36px;border-radius:11px;background:var(--accent-soft);display:grid;place-items:center}.subjects-grid svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}@media(min-width:640px){.subjects-grid .sic{width:40px;height:40px;border-radius:12px}.subjects-grid svg{width:22px;height:22px}}
.subjects-grid span{min-width:0}.subjects-grid b{display:block;font-weight:600;line-height:1.25;font-size:15px;overflow-wrap:break-word}.subjects-grid small{display:block;color:var(--ink-2);font-size:12.5px;margin-top:2px}
/* Тест PRO (27.09, предзапись): карточка в магазине, блок на предметной, диалог */
.cover-wrap{position:relative;display:block}.kbadge{position:absolute;left:10px;top:10px;display:flex;gap:5px;z-index:2;pointer-events:none}.kbadge img{width:44px;height:34px;border-radius:6px;box-shadow:0 1px 4px rgba(0,0,0,.3)}.book .kbadge{left:8px;top:8px;gap:4px}.book .kbadge img{width:38px;height:29px}.dlg-photo .kbadge{left:12px;top:12px}.pro-tag{position:absolute;left:10px;top:10px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;letter-spacing:.08em;border-radius:6px;padding:4px 8px;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.procard img{width:56px;height:56px;border-radius:8px;flex-shrink:0}
.pro-badge{display:inline-block;background:var(--ink);color:#fff;font-size:12px;font-weight:700;letter-spacing:.06em;border-radius:6px;padding:3px 7px;margin-right:8px;vertical-align:middle}
.procard{width:100%;text-align:left;font:inherit;cursor:pointer}.procard em{font-style:normal}
.pro-points{margin:0 0 12px;padding:0;list-style:none;display:grid;gap:8px}.pro-points li{position:relative;padding-left:24px;line-height:1.35}.pro-points li::before{content:"✓";position:absolute;left:0;top:0;color:var(--accent);font-weight:700}
.pro-price{margin:0 0 14px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}.pro-price b{font-size:22px;color:#D0342C}.pro-status{font-size:13px;color:var(--ink-2)}
.pro-err{margin:0 0 8px;font-size:13px;color:#B12A23}.pro-err[hidden]{display:none}
.pro-done-title{margin:6px 0 6px;font-size:20px;font-weight:700}.pro-done-text{margin:0 0 14px;color:var(--ink-2)}
/* персональные данные и подвал (28.09) */
.privacy .wrap{max-width:720px}.privacy .lead{color:var(--ink-2);font-size:16px;line-height:1.5;margin:0 0 14px}.privacy h2{margin:22px 0 8px;font-size:18px}.privacy p,.privacy li{line-height:1.55;margin:0 0 10px}.privacy ul{padding-left:20px;margin:0 0 10px}.privacy .muted{color:var(--ink-2);font-size:13px;margin-top:20px}
.foot{padding:16px 0 28px;font-size:13px;color:var(--ink-2)}.foot .wrap{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.foot .sep{opacity:.6}.foot a{color:inherit}body.test-run .foot,body.test-result .foot{display:none}
/* W64: частые вопросы магазина (.sfaq — отдельно от .faq главной): карточки на <details> без JS, ширина до 720px, списки и жирные цифры в ответах */
.sfaq{margin:40px 0 8px;max-width:720px}.sfaq h2{font-size:22px;margin:0 0 12px}
.sfaq-i{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:0 18px;margin-bottom:10px}
.sfaq-i summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 0;font-weight:600;font-size:16px;line-height:1.35;color:var(--ink)}.sfaq-i summary::-webkit-details-marker{display:none}
.sfaq-i summary::after{content:"+";flex:none;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-weight:500;color:var(--ink-2)}.sfaq-i[open] summary::after{content:"−"}
.sfaq-a{padding:0 0 14px;color:var(--ink-2);font-size:15px;line-height:1.55}.sfaq-a p{margin:0 0 8px}.sfaq-a p:last-child,.sfaq-a ul:last-child{margin-bottom:0}
.sfaq-a ul{margin:0 0 8px;padding-left:20px}.sfaq-a li{margin:4px 0}.sfaq-a b{color:var(--ink);font-weight:600}.sfaq-a a{color:var(--accent)}
.sfaq-more{margin:14px 0 0;color:var(--ink-2);font-size:15px}.sfaq-a .nw{white-space:nowrap}
@media (max-width:600px){.sfaq{margin-top:30px}.sfaq h2{font-size:20px}.sfaq-i{padding:0 14px}.sfaq-i summary{font-size:15px;padding:12px 0}.sfaq-a{font-size:14.5px}}
/* W66: экран после «Открыть WhatsApp» — одна колонка до 520px: иконка, заголовок, главная кнопка, два второстепенных действия, блок номера */
.dlg-order.is-after{max-width:520px}.dlg-order.is-after>form{display:none}
.dlg-order .order-after{position:relative;text-align:center;padding:30px 26px 26px}.after-x{position:absolute;top:10px;right:10px}
.after-icon{width:56px;height:56px;border-radius:50%;background:#E8F8EE;color:#1F7A3A;display:grid;place-items:center;margin:0 auto 14px}.after-icon svg{width:28px;height:28px}
.after-title{font-size:21px;line-height:1.25;margin:0 0 8px;color:var(--ink)}.order-after .after-text{margin:0 0 18px;color:var(--ink-2);font-size:15px;line-height:1.5}
.order-after .after-main{display:block;width:100%;padding:14px 20px;font-size:17px;margin:0 0 10px;text-align:center}
.after-row{display:flex;gap:10px}.after-row>*{flex:1 1 0;min-width:0}
.order-after .btn-ghost{background:var(--bg);color:var(--ink);border:1.5px solid var(--line);padding:12px 12px;font-size:15px;text-align:center;white-space:nowrap}.order-after .btn-ghost:hover{border-color:var(--ink-3)}
.after-phone{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);text-align:left}.after-or{margin:0 0 8px;font-size:14px;color:var(--ink-2)}
.after-phone input{font:inherit;font-size:16px;color:var(--ink);border:1.5px solid var(--line);border-radius:var(--r);padding:11px 12px;background:var(--bg)}.after-phone input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.after-phone .after-row>.btn{flex:0 0 auto;padding:12px 18px;font-size:15px;white-space:nowrap}.after-done{margin:18px 0 0;color:#1F7A3A;font-weight:600}
#fld-phone small{display:block;margin-top:4px;font-size:12.5px;color:var(--ink-3)}
@media (max-width:640px){.dlg-order .order-after{padding:24px 16px 20px}.after-title{font-size:19px}.order-after .btn-ghost{white-space:normal;font-size:14.5px;padding:11px 10px}.after-phone .after-row{flex-direction:column}.after-phone .after-row>.btn{width:100%}}
/* Тест PRO (16.10): диалог продажи, строка в герое, страница /pro/ */
.pro-actions{flex-wrap:wrap}.pro-actions .btn{flex:1 1 200px}.pro-more{margin:12px 0 0;text-align:center;font-size:14px}.pro-more a{color:var(--ink-2)}
.pro-note .linkbtn{color:var(--accent);font-weight:600;text-decoration:none}.pro-note .linkbtn:hover{text-decoration:underline}
.pro-page .pro-hero{padding:26px 0 6px}.pro-page .crumb{margin:0 0 10px}.pro-page h1{font-size:30px;margin:0 0 10px;line-height:1.15}.pro-page .lead{font-size:17px;color:var(--ink-2);max-width:62ch;margin:0 0 18px}
.pro-page h2{font-size:22px;margin:26px 0 10px}.pro-page .pro-points{max-width:62ch}.pro-page .pro-actions{max-width:560px;margin-top:10px}.pro-page .pro-steps{padding-left:22px;display:grid;gap:8px;max-width:62ch;margin:0}
.pro-page .pro-note-p{max-width:62ch;color:var(--ink-2);margin:0}.pro-page .sfaq{margin-top:8px}.pro-page .pro-free{margin:28px 0 8px}.pro-page .pro-free .btn{display:inline-block}
@media (max-width:640px){.pro-page h1{font-size:26px}.pro-page .lead{font-size:16px}}
.foot .seller,.privacy .seller{font-size:12px;color:var(--ink-2,#6b7280);margin-top:6px;line-height:1.4}
