/* Артефакты v6 · этап 1а. Токены — v6-brief/design/tokens.css.
   Работают в шапке и подвале (.v6) и на страницах v6 (body.v6).
   Страницы уроков до этапа 1б — в старом виде. */
.v6 {
  --ink:#16161A; --accent:#8A6410; --accent-fill:#F2B930; --accent-tint:#FFF1C9; --accent-on-tint:#8A6410;
  --text-2:#55565E;
  --text-3:#6E6F78; /* в брифе #8B8C94 (3.35:1) — затемнён до 5:1, решение 04.10 */
  --line:#E9E4D8; --ground:#FBF8F1; --surface:#FFFFFF; --surface-soft:#F6F3EA; --surface-dark:#0B0B0D; --surface-dark-2:#1F1F24; --placeholder:#F1ECE2;
  --on-dark:#FFFFFF; --on-dark-2:#B9BAC0; --on-ink:#FFFFFF; --p1:#E4ECFA; --p2:#FCE6D4; --p3:#E3F1E4; --p4:#EFE7FA;
  --font-display:'Golos Text','PT Sans',system-ui,sans-serif; --font-body:'Golos Text','PT Sans',system-ui,sans-serif;
  --font-read:'Golos Text','PT Sans',system-ui,sans-serif; --font-mono:'JetBrains Mono',ui-monospace,monospace;
  --fs-display:clamp(44px,5.4vw,88px); --fs-h2:clamp(34px,4vw,56px); --fs-h3:28px; --fs-h4:22px; --fs-lead:21px;
  --fs-body:18px; --fs-small:16px; --fs-meta:14px;
  --r-xl:18px; --r-lg:16px; --r-md:12px; --r-sm:10px; --r-xs:12px; --r-pill:999px;
  --container:1240px; --gutter:40px; --h-btn:56px; --h-btn-sm:44px; --h-tag:36px;
}
@media (max-width:720px) { .v6 { --gutter:20px; } }

/* Старая палитра «Хвоя» (тёплая бумага, хвойный зелёный) → холодная палитра v6 для всего сайта:
   уроки, код, глоссарий, поиск, старые страницы. Старые имена в index.html ссылаются на --hvoya-*,
   поэтому хватает переопределить их. html:root сильнее :root — inline-стили index.html идут после v6.css. */
html:root {
  --hvoya-bg:#FBF8F1; --hvoya-panel:#FFFFFF; --hvoya-card:#FBF8F1; --hvoya-line:#E9E4D8;
  --hvoya-ink:#16161A; --hvoya-muted:#55565E; --hvoya-faint:#6E6F78;
  --hvoya-accent:#8A6410; --hvoya-accent-soft:#FFF1C9; --hvoya-accent-mid:#F2D27A;
  --accent-hover:#6E4F0C;
}
/* заголовки «Хвои» на Cormorant Unicase → шрифты v6 */
.hvoya-title, #lesson-content h1, .home .intro h1, .tile .ttl, .site-footer .f-word { font-family:'Golos Text','PT Sans',system-ui,sans-serif !important; letter-spacing:-.02em !important; }
.tile .lbl, .t-route .rt, .tropa-header .mh-tag, .tropa-header .h-nav a { font-family:'Golos Text','PT Sans',system-ui,sans-serif !important; letter-spacing:0 !important; }

/* страницы v6: свой фон, без старой колонки меню */
body.v6 { background:var(--ground) !important; color:var(--ink); font-family:var(--font-body); }
body.v6 main { margin-left:0 !important; max-width:none !important; padding:0 0 64px !important; background:transparent !important; }
body.v6 #lesson-content { max-width:none !important; margin:0 !important; padding:0 !important; background:transparent !important; }
body.v6:not(.sidebar-open) .sidebar, body.v6 .sidebar-backdrop { display:none !important; }
body.v6 .lesson-content .v6-page h1, body.v6 .lesson-content .v6-page h2, body.v6 .lesson-content .v6-page h3 {
  font-family:var(--font-display) !important; color:inherit !important; border:0 !important; padding:0 !important; margin:0 !important;
  letter-spacing:-0.03em !important; font-variant:normal !important; text-transform:none !important; }
.v6-page { color:var(--ink); font-size:var(--fs-body); line-height:1.5; }
.v6-page :focus-visible, .v6h :focus-visible, .v6f :focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.v6c { max-width:var(--container); margin:0 auto; padding:0 var(--gutter); box-sizing:border-box; }
.v6-sec { margin-top:104px; }
.v6-page h1.v6-d { font-size:var(--fs-display) !important; font-weight:800 !important; line-height:.98 !important; }
.v6-page h2.v6-h2 { font-size:var(--fs-h2) !important; font-weight:800 !important; line-height:1 !important; }
.v6-page h3.v6-h3 { font-size:var(--fs-h3) !important; font-weight:800 !important; line-height:1.1 !important; }
.v6-lead { font-size:var(--fs-lead); color:var(--text-2); line-height:1.5; margin:20px 0 0; max-width:620px; }
.v6-meta { font-size:var(--fs-meta); color:var(--text-3); }
.v6-sec-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:32px; }
.v6-sec-head p { color:var(--text-2); margin:12px 0 0; max-width:640px; }
.v6-link { color:var(--accent); font-weight:600; text-decoration:none; display:inline-flex; align-items:center; min-height:var(--h-btn-sm); cursor:pointer; background:none; border:0; padding:0; font:inherit; font-weight:600; }
.v6-link:hover { text-decoration:underline; text-underline-offset:4px; }
.v6-quiet { color:var(--text-2); text-decoration:underline; text-underline-offset:4px; cursor:pointer; background:none; border:0; padding:0; font:inherit; min-height:var(--h-btn-sm); }

/* кнопки и теги */
.v6b { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:var(--h-btn); padding:0 28px; border-radius:var(--r-sm); border:0; font:inherit; font-size:18px; font-weight:600; cursor:pointer; text-decoration:none; background:var(--ink); color:var(--surface); white-space:nowrap; }
.v6b.is-accent { background:var(--accent); color:var(--on-ink); }
.v6b.is-soft { background:var(--ground); color:var(--ink); }
.v6b.is-white { background:var(--surface); color:var(--ink); }
.v6b.is-sm { min-height:var(--h-btn-sm); padding:0 18px; font-size:16px; border-radius:8px; }
.v6t { display:inline-flex; align-items:center; min-height:var(--h-tag); padding:0 14px; border-radius:var(--r-pill); background:var(--accent-tint); color:var(--accent-on-tint); font-size:15px; font-weight:600; white-space:nowrap; }
.v6t.is-grey { background:var(--ground); color:var(--text-2); font-weight:400; }
.v6t.is-sm { min-height:28px; padding:0 10px; font-size:13px; }
.v6-tags { display:flex; flex-wrap:wrap; gap:8px; }
.v6-eyebrow { display:inline-flex; align-items:center; gap:10px; min-height:40px; padding:0 16px; border-radius:var(--r-pill); background:var(--surface); font-size:16px; font-weight:600; }
.v6-eyebrow span { color:var(--text-3); font-weight:400; }

/* шапка */
html:root { --header:80px; } /* старый каркас отступает от шапки на --header */
.v6h { position:fixed; top:0; left:0; right:0; height:80px; z-index:200; background:var(--surface); border-bottom:1px solid var(--line); font-family:var(--font-body); color:var(--ink); }
.v6h-in { display:flex; align-items:center; gap:24px; height:80px; max-width:var(--container); margin:0 auto; padding:0 var(--gutter); box-sizing:border-box; }
.v6h-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); min-height:var(--h-btn-sm); }
.v6-logo { width:30px; height:30px; border:1.5px dashed var(--text-3); border-radius:8px; font-size:9px; color:var(--text-3); display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.v6h-word { font-family:var(--font-display); font-weight:800; font-size:21px; letter-spacing:-0.02em; }
.v6h-nav { display:flex; gap:28px; margin:0 auto; }
.v6h-nav a { color:var(--ink); text-decoration:none; font-size:17px; min-height:var(--h-btn-sm); display:inline-flex; align-items:center; cursor:pointer; }
.v6h-nav a:hover, .v6h-nav a.is-active { color:var(--accent); }
.v6h-right { display:flex; align-items:center; gap:8px; }
.v6h-right .v6-link { color:var(--ink); font-weight:400; font-size:16px; margin-right:8px; white-space:nowrap; }
.v6-icon { width:44px; height:44px; border-radius:8px; border:0; background:transparent; color:var(--ink); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.v6-icon:hover { background:var(--ground); }
.v6-icon svg { width:20px; height:20px; }
.v6h-burger { display:none; }
.v6-menu { display:none; }
@media (max-width:1240px) {
  .v6h-nav, .v6h-right .v6-link, .v6h-right .v6b { display:none; }
  .v6h-right { margin-left:auto; }
  .v6h-burger { display:inline-flex; }
  .v6-menu.is-open { display:block; position:fixed; inset:80px 0 0 0; z-index:59; background:var(--surface); overflow:auto; padding:24px var(--gutter) 48px; }
  .v6-menu a, .v6-menu button.v6-menu-item { display:flex; align-items:center; min-height:56px; font-family:var(--font-display); font-weight:800; font-size:30px; color:var(--ink); text-decoration:none; border:0; background:none; padding:0; cursor:pointer; letter-spacing:-0.02em; }
  .v6-menu .v6-menu-sub a, .v6-menu .v6-menu-sub button { font-family:var(--font-body); font-weight:400; font-size:18px; min-height:48px; }
  .v6-menu .v6-menu-sub { margin-top:24px; border-top:1px solid var(--line); padding-top:12px; }
}
.v6h-hidden { display:none !important; }

/* подвал */
.v6f { background:var(--surface); color:var(--ink); border-top:1px solid var(--line); font-family:var(--font-body); margin-top:0; }
.v6f-in { display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:40px; max-width:var(--container); margin:0 auto; padding:72px var(--gutter) 32px; box-sizing:border-box; }
.v6f-word { font-family:var(--font-display); font-weight:800; font-size:32px; line-height:1.05; letter-spacing:-0.03em; }
.v6f .v6f-h { font-size:var(--fs-meta); color:var(--text-3); font-weight:400; margin:0 0 12px; }
.v6f ul { list-style:none; margin:0; padding:0; }
.v6f li a { display:inline-flex; align-items:center; min-height:40px; color:var(--ink); text-decoration:none; cursor:pointer; }
.v6f li a:hover { color:var(--accent); }
.v6f-bottom { max-width:var(--container); margin:0 auto; padding:24px var(--gutter) 40px; box-sizing:border-box; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; border-top:1px solid var(--line); color:var(--text-2); font-size:var(--fs-meta); }
.v6f-bottom a { color:var(--text-2); }
@media (max-width:720px) { .v6f-in { grid-template-columns:1fr 1fr; } .v6f-in > div:first-child { grid-column:1 / -1; } }

/* hero главной */










.v6-results { margin-top:16px; max-width:620px; background:var(--surface); border-radius:var(--r-md); padding:8px 20px; }
.v6-results[hidden] { display:none; }
.v6-results a, .v6-results button { display:flex; justify-content:space-between; gap:16px; align-items:center; width:100%; min-height:52px; border:0; border-bottom:1px solid var(--line); background:none; font:inherit; color:var(--ink); text-align:left; cursor:pointer; text-decoration:none; }
.v6-results a:last-child, .v6-results button:last-child { border-bottom:0; }

.v6-role-row { display:flex; justify-content:space-between; align-items:center; gap:16px; width:100%; padding:22px 24px; margin-bottom:10px; background:var(--surface); border-radius:var(--r-md); border:0; font:inherit; color:var(--ink); text-align:left; cursor:pointer; }
.v6-role-row:hover { box-shadow:inset 0 0 0 2px var(--accent); }
.v6-role-row b { display:block; font-size:20px; font-weight:600; }
.v6-role-row small { display:block; color:var(--text-2); font-size:16px; margin-top:4px; }
.v6-chev { color:var(--accent); flex-shrink:0; }

/* тёмные блоки и плитки */
.v6-dark { background:var(--surface-dark); color:var(--on-dark); border-radius:var(--r-xl); padding:48px; }
.v6-dark .v6-meta, .v6-dark p { color:var(--on-dark-2); }
.v6-dark-row { display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; }
.v6-dark h2, .v6-dark h3 { color:var(--on-dark) !important; }
.v6-card { background:var(--surface); border-radius:var(--r-lg); padding:32px; }
.v6-grid3 { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; }
.v6-grid2 { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
.v6-ph { display:flex; align-items:center; justify-content:center; background:var(--placeholder); border-radius:14px; color:var(--text-2); font-size:14px; text-align:center; padding:12px; }
.v6-soon { border:2px dashed var(--line); background:transparent; color:var(--text-3); }

/* главы пути */
.v6-chapter { display:flex; flex-direction:column; gap:14px; }
.v6-chapter .v6-ph { height:200px; }
.v6-rows { list-style:none; margin:0; padding:0; }
.v6-rows li { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:12px; align-items:center; min-height:52px; border-top:1px solid var(--line); font-size:16px; }
.v6-rows li .n { color:var(--text-3); font-size:14px; }
.v6-rows li .c { color:var(--text-3); font-size:14px; white-space:nowrap; }
.v6-rows li.is-now .c { color:var(--accent); font-weight:600; }
.v6-rows a { color:inherit; text-decoration:none; cursor:pointer; }
.v6-rows a:hover { color:var(--accent); }
.v6-veha { font-size:15px; color:var(--text-2); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.v6-news li { grid-template-columns:150px minmax(0,1fr); }
.v6-news li > span { grid-column:auto !important; }
@media (max-width:720px) { .v6-news li { grid-template-columns:1fr; gap:2px; padding:10px 0; } }

/* карточки задач */
.v6-task { display:flex; flex-direction:column; gap:14px; background:var(--surface); border-radius:var(--r-lg); padding:36px; }
.v6-task h3 { font-size:var(--fs-h3) !important; font-weight:800 !important; line-height:1.1 !important; }
.v6-task p { color:var(--text-2); margin:0; }
.v6-task .v6b { margin-top:auto; align-self:flex-start; }

/* роль и задачи */
.v6-role-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:48px; padding-top:48px; align-items:center; }
.v6-role-hero .v6-ph { height:360px; }
.v6-check { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.v6-check label { display:inline-flex; align-items:center; gap:10px; min-height:var(--h-btn-sm); padding:0 16px; background:var(--surface); border-radius:var(--r-pill); cursor:pointer; font-size:16px; }
.v6-check input { width:18px; height:18px; accent-color:var(--accent); }
.v6-dirs { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
.v6-dir { background:var(--surface); border-radius:var(--r-lg); padding:32px; }
.v6-dir .num { color:var(--text-3); font-size:14px; }
.v6-dir h3 { font-size:var(--fs-h4) !important; font-weight:800 !important; margin:6px 0 4px !important; }
.v6-dir > p { color:var(--text-2); margin:0 0 12px; font-size:16px; }
.v6-dir a, .v6-dir .is-soon { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:52px; border-top:1px solid var(--line); color:var(--ink); text-decoration:none; cursor:pointer; font-size:17px; }
.v6-dir a:hover { color:var(--accent); }
.v6-dir .is-soon { color:var(--text-3); cursor:default; }
.v6-crumbs { display:flex; flex-wrap:wrap; gap:8px; color:var(--text-3); font-size:15px; padding-top:40px; }
.v6-crumbs a { color:var(--text-2); cursor:pointer; text-decoration:underline; text-underline-offset:3px; min-height:32px; display:inline-flex; align-items:center; }
.v6-way { display:flex; flex-direction:column; gap:14px; background:var(--surface); border-radius:var(--r-lg); padding:32px; }
.v6-way.is-soon { background:transparent; border:2px dashed var(--line); }
.v6-way h3 { font-size:var(--fs-h4) !important; font-weight:800 !important; }
.v6-way p { margin:0; color:var(--text-2); }
.v6-side { display:flex; flex-direction:column; gap:16px; }
.v6-note { display:flex; gap:14px; align-items:flex-start; background:var(--surface); border-radius:var(--r-md); padding:20px; border:0; font:inherit; color:var(--ink); text-align:left; cursor:pointer; font-size:17px; }
.v6-ava { width:40px; height:40px; border-radius:50%; background:var(--accent-fill); color:var(--ink); display:inline-flex; align-items:center; justify-content:center; font-weight:600; flex-shrink:0; }
.v6-door { color:var(--text-2); font-size:15px; }
.v6-door a { color:var(--text-2); text-decoration:underline; text-underline-offset:3px; }
.v6-steps { list-style:none; margin:0; padding:0; }
.v6-steps li a, .v6-steps li span.row { display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:12px; align-items:center; min-height:52px; border-top:1px solid var(--line); color:var(--ink); text-decoration:none; cursor:pointer; }
.v6-steps .dot { width:22px; height:22px; border-radius:50%; border:2px solid var(--line); display:inline-flex; align-items:center; justify-content:center; font-size:12px; }
.v6-steps .is-done .dot { background:var(--ink); border-color:var(--ink); color:var(--surface); }
.v6-steps .is-now .dot { border-color:var(--accent-fill); background:var(--accent-fill); }
.v6-steps .is-now { color:var(--accent); font-weight:600; }

/* плашка «Вы здесь впервые» на уроке (состояние F) */
.v6-first { font-family:'Golos Text',system-ui,sans-serif; background:var(--accent-tint); color:var(--ink); border-radius:12px; padding:20px 24px; margin:0 0 28px; display:flex; gap:16px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; }
.v6-first p { margin:0 0 8px; color:var(--ink); }
.v6-first a { color:var(--accent); font-weight:600; margin-right:16px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.v6-first button { background:none; border:0; font-size:22px; color:var(--text-2); cursor:pointer; min-width:44px; min-height:44px; }

@media (max-width:980px) {
   .v6-role-hero { grid-template-columns:1fr; gap:40px; }
  .v6-grid3 { grid-template-columns:1fr; }
  .v6-dirs, .v6-grid2 { grid-template-columns:1fr; }
}
@media (max-width:720px) {
  .v6-sec { margin-top:72px; }



  .v6-dark { padding:28px; border-radius:14px; }
  .v6-card, .v6-task, .v6-dir, .v6-way { padding:24px; border-radius:12px; }
  .v6-role-hero .v6-ph { height:220px; }
}

/* зоны нажатия ≥ 44px: старые правила .lesson-content a сильнее обычных */
.v6-page .v6-dir a, .v6-page .v6-dir .is-soon { min-height:52px !important; display:flex !important; }
.v6-page .v6-veha .v6-link { min-height:var(--h-btn-sm) !important; }
.v6-page .v6-crumbs a { min-height:var(--h-btn-sm) !important; }
@media (max-width:720px) {
  .v6-eyebrow span { display:none; }

}
.v6-page .v6-rows a { display:inline-flex !important; align-items:center; min-height:var(--h-btn-sm) !important; }

/* тёмные блоки: свечение из макета (Main.dc.html, блок «Для компаний») */
.v6-dark { position:relative; overflow:hidden; }
.v6-dark::before { content:''; position:absolute; left:-160px; top:-120px; width:620px; height:520px; border-radius:50%; background:radial-gradient(closest-side, rgba(90,111,158,.6), rgba(90,111,158,0)); pointer-events:none; }
.v6-dark > * { position:relative; }
.v6-companies { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap:40px; align-items:end; padding:72px 64px; }
.v6-companies p { font-size:19px; margin:0 0 28px; color:#D2CBBB; }
@media (max-width:720px) { .v6-companies { grid-template-columns:1fr; padding:32px 24px; } }
/* ссылки-кнопки и крошки: старые правила .lesson-content a (подчёркивание, зелёный) не действуют */
.v6-page a.v6b, .v6f a.v6b, .v6h a.v6b { text-decoration:none !important; color:var(--surface) !important; }
.v6-page a.v6b.is-accent { color:#fff !important; }
.v6-page a.v6b.is-soft, .v6-page a.v6b.is-white { color:var(--ink) !important; }
/* 29.11: было «.v6-page a { border-bottom:0 !important }» — срезало нижнюю рамку у кнопок и карточек-ссылок */
.v6-crumbs { align-items:center; }
.v6-crumbs > span { display:inline-flex; align-items:center; min-height:var(--h-btn-sm); }
.v6-page .v6-crumbs a { color:var(--text-2) !important; text-decoration:underline !important; text-underline-offset:3px; }
.v6-page .v6-crumbs a:hover { color:var(--accent) !important; }
/* иконки шапки: старые правила для svg в шапке их сжимали */
.v6h .v6-icon svg { width:20px !important; height:20px !important; flex-shrink:0; }

/* строки списков и карточки-главы — по макету Path.dc.html */
.v6-list { display:flex; flex-direction:column; border-bottom:1px solid var(--line); }
.v6-page .v6-list .v6-li { display:grid !important; grid-template-columns:40px minmax(0,1fr) auto; gap:10px; align-items:center; min-height:56px; padding:8px 0; border-top:1px solid var(--line); color:var(--ink) !important; text-decoration:none !important; font-size:17px; }
.v6-page .v6-list a.v6-li:hover .t { color:var(--accent); }
.v6-list .n { color:var(--text-3); }
.v6-list .c { font-size:15px; color:var(--text-3); white-space:nowrap; }
.v6-list .is-now .c { color:var(--accent); font-weight:600; }
.v6-list .is-done .n { color:var(--ink); }
.v6-list .is-off { color:var(--text-2) !important; }
.v6-chapter { gap:10px; }
.v6-chapter .v6-h3 { font-size:30px !important; }
.v6-chap-head { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:36px; }
.v6-chap-head .v6-meta { font-size:16px; color:var(--text-2); }
.v6-chap-desc { margin:0 0 12px; font-size:17px; color:var(--text-2); }
.v6-chap-foot { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding-top:12px; font-size:16px; margin-top:auto; }
.v6-page a.v6-quiz { color:var(--accent) !important; font-weight:600; text-decoration:none !important; min-height:var(--h-btn-sm); display:inline-flex; align-items:center; }
.v6-page a.v6-quiz:hover { text-decoration:underline !important; text-underline-offset:4px; }

/* страницы v6: старое правило .lesson-content a (зелёные, подчёркнутые) не действует */
body.v6 .lesson-content .v6-page a { color:inherit; text-decoration:none; }
body.v6 .lesson-content .v6-page .v6-door a { text-decoration:underline; text-underline-offset:3px; color:var(--text-2); }
/* карта задач — по макету Role.dc.html */
.v6-page .v6-dirs { grid-template-columns:repeat(auto-fit, minmax(min(270px, 100%), 1fr)); align-items:start; }
.v6-page .v6-dir { border-radius:var(--r-lg); padding:28px; display:flex; flex-direction:column; gap:6px; }
.v6-page .v6-dir .num { font-size:15px; color:var(--text-3); }
.v6-page .v6-dir h3 { font-size:24px !important; font-weight:800 !important; letter-spacing:-0.02em !important; margin:0 !important; }
.v6-page .v6-dir > p { margin:0 0 10px; font-size:16px; color:var(--text-2); }
.v6-dir-rows { display:flex; flex-direction:column; }
body.v6 .lesson-content .v6-page .v6-dr { display:flex !important; justify-content:space-between; align-items:center; gap:12px; min-height:52px; padding:10px 0; border-top:1px solid var(--line); font-size:17px; color:var(--ink); text-decoration:none; }
body.v6 .lesson-content .v6-page a.v6-dr:hover span:first-child { color:var(--accent); }
.v6-dr .m { font-size:14px; color:var(--accent); white-space:nowrap; }
.v6-dr .m.is-wip { color:var(--text-3); }
body.v6 .lesson-content .v6-page .v6-dr.is-soon { color:var(--text-3); }
.v6-dr.is-soon .m { color:var(--text-3); }

/* ===== Калибровка по макету холста (Main.dc.html), сверка 04.10 =====
   Селекторы с body.v6 .lesson-content: старые правила уроков стоят в файле ниже
   и иначе перебивают (.lesson-content h1/h2/h3 c !important). */
body.v6 .lesson-content .v6-page h1.v6-d { font-size:clamp(48px, 6vw, 88px) !important; line-height:.98 !important; letter-spacing:-0.035em !important; font-weight:800 !important; }
body.v6 .lesson-content .v6-page h2.v6-h2 { font-size:clamp(40px, 4.6vw, 64px) !important; line-height:1 !important; letter-spacing:-0.035em !important; font-weight:800 !important; }

.v6-sec-head > p, .v6-sec-head div > p { font-size:19px; line-height:1.5; color:var(--text-2); max-width:440px; margin:0; }
body.v6 .lesson-content .v6-sec-head .v6-link { font-size:18px; font-weight:400; color:var(--text-2); text-decoration:underline; text-underline-offset:4px; }
/* поле задачи: белая плашка, внутри поле и кнопка */





/* «Кто вы?» */


/* карточки путей: иллюстрация сверху, строки — ссылки */
.v6-pcard { background:var(--surface); border-radius:var(--r-lg); display:flex; flex-direction:column; }
.v6-art { height:260px; background:var(--placeholder); border-radius:14px; margin:12px 12px 0; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.v6-art img { width:100%; height:100%; object-fit:contain; display:block; }
.v6-pcard-in { padding:28px 32px 32px; display:flex; flex-direction:column; gap:8px; }
.v6-pcard-label { font-size:16px; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-pcard h3 { font-size:30px !important; font-weight:800 !important; letter-spacing:-0.025em !important; line-height:1.1 !important; margin:0 0 12px !important; }
.v6-pcard-foot { font-size:15px; color:var(--text-3); padding-top:10px; }
/* карточки задач */
.v6-task { padding:36px; gap:14px; min-height:340px; box-sizing:border-box; }
body.v6 .lesson-content .v6-page .v6-task h3 { font-size:28px !important; font-weight:800 !important; letter-spacing:-0.02em !important; line-height:1.15 !important; }
.v6-task > p { font-size:19px; line-height:1.5; }
.v6-task .v6-tags { padding-top:6px; }
.v6-task .v6t { min-height:0; padding:8px 14px; font-size:15px; }
.v6b.v6-task-btn { height:56px; padding:0 28px; border-radius:10px; font-size:18px; font-weight:500; margin-top:auto; }
/* «Для компаний» */
.v6-companies .v6-meta { font-size:17px !important; color:#D2CBBB !important; }
.v6-companies p { font-size:20px; line-height:1.55; color:#E2DCCD; }
body.v6 .lesson-content .v6-companies a.v6b { height:60px; padding:0 30px; border-radius:10px; font-size:19px; font-weight:600; }
/* шапка */
.v6h-nav { gap:6px; }
.v6h-nav a { font-size:17px; font-weight:500; padding:0 12px; }
.v6h-right .v6-link { font-size:17px; font-weight:500; padding:0 12px; margin-right:0; }
.v6h-right .v6b.is-accent { height:48px; padding:0 20px; border-radius:10px; font-size:17px; font-weight:600; }
/* подвал */
.v6f .v6f-h { font-size:14px; color:var(--text-3); padding-bottom:8px; margin:0; }
@media (max-width:720px) {
  .v6-task { min-height:0; padding:24px; }
  .v6-art { height:200px; }
  .v6-pcard-in { padding:20px 20px 24px; }
}

/* ===== Калибровка: страница Путей (Path.dc.html) ===== */
.v6-phero { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap:48px; align-items:center; padding:72px 0 80px; }
.v6-phero-text { display:flex; flex-direction:column; gap:26px; align-items:flex-start; }
body.v6 .lesson-content .v6-phero h1.v6-d { font-size:clamp(44px, 5.4vw, 80px) !important; }
body.v6 .lesson-content .v6-page .v6-phero-lead { margin:0; font-size:21px; line-height:1.5; color:var(--text-2); max-width:560px; }
.v6-art.v6-phero-art { height:360px; background:var(--surface); border-radius:18px; margin:0; }
.v6-psec { padding-bottom:96px; display:flex; flex-direction:column; gap:24px; }
.v6-pmain { background:var(--surface); border-radius:18px; padding:40px; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap:32px; align-items:center; }
.v6-pmain-text { display:flex; flex-direction:column; gap:18px; }
body.v6 .lesson-content .v6-page h2.v6-pmain-h { font-size:clamp(32px, 3.6vw, 48px) !important; font-weight:800 !important; letter-spacing:-0.03em !important; line-height:1.02 !important; }
.v6-pmain-text p { margin:0; font-size:19px; line-height:1.5; color:var(--text-2); }
.v6-btns { display:flex; gap:10px; flex-wrap:wrap; }
.v6b.v6-btn-lg { height:56px; padding:0 26px; border-radius:10px; font-size:18px; font-weight:600; }
.v6-scheme { height:260px; border-radius:14px; background:var(--ground); border:2px dashed #D8D1C1; display:flex; align-items:center; justify-content:center; font-size:15px; color:var(--text-3); text-align:center; padding:12px; }
.v6-pgrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap:24px; align-items:start; }
body.v6 .lesson-content .v6-page h2.v6-psec-h { font-size:clamp(34px, 4vw, 56px) !important; font-weight:800 !important; letter-spacing:-0.035em !important; line-height:1 !important; margin:0 0 8px !important; }
body.v6 .lesson-content .v6-page a.v6-rolepath { background:var(--surface); border-radius:16px; padding:12px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; color:var(--ink); }
.v6-rolepath .v6-art { height:240px; margin:0; }
.v6-rolepath-in { display:flex; flex-direction:column; gap:10px; padding:24px; }
.v6-rolepath-t { font-family:var(--font-display); font-size:28px; font-weight:800; letter-spacing:-0.02em; line-height:1.1; }
.v6-rolepath-p { font-size:17px; line-height:1.5; color:var(--text-2); }
.v6-soonbox { border:2px dashed #D8D1C1; border-radius:16px; padding:36px; display:flex; flex-direction:column; gap:10px; justify-content:center; align-self:stretch; }
.v6-soonbox-l { font-size:16px; color:var(--text-3); }
.v6-soonbox-t { font-family:var(--font-display); font-size:26px; font-weight:800; letter-spacing:-0.02em; color:var(--text-2); }
.v6-soonbox-p { font-size:17px; color:var(--text-3); }
.v6-trails { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap:20px; }
body.v6 .lesson-content .v6-page a.v6-trail { background:var(--surface); border-radius:16px; padding:12px; display:flex; flex-direction:column; color:var(--ink); }
.v6-trail .v6-art { height:200px; margin:0; }
.v6-trail-in { display:flex; flex-direction:column; gap:6px; padding:18px 16px 16px; }
.v6-trail-w { font-size:15px; color:var(--text-2); }
.v6-trail-t { font-family:var(--font-display); font-size:22px; font-weight:800; letter-spacing:-0.02em; line-height:1.15; }
body.v6 .lesson-content .v6-page a.v6-rolepath:hover .v6-rolepath-t, body.v6 .lesson-content .v6-page a.v6-trail:hover .v6-trail-t { color:var(--accent); }
@media (max-width:720px) {
  .v6-phero, .v6-pmain, .v6-pgrid { grid-template-columns:1fr; }
  .v6-phero { padding:32px 0 48px; }
  .v6-art.v6-phero-art { height:240px; }
  .v6-pmain { padding:24px; }
  body.v6 .lesson-content .v6-page a.v6-rolepath { grid-template-columns:1fr; }
  .v6-psec { padding-bottom:64px; }
}

/* ===== Путь продавца (SellerPath.dc.html) ===== */
.v6-sp-art { height:340px !important; }
.v6-sp-body { display:flex; flex-direction:column; gap:24px; padding-bottom:112px; }
.v6-prep { display:flex; flex-direction:column; gap:12px; }
.v6-prep-h { font-family:var(--font-display); font-size:24px; font-weight:800; }
.v6-prep-g { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap:12px; }
body.v6 .lesson-content .v6-page .v6-prep-i { display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--surface); border-radius:12px; padding:20px 24px; color:var(--ink); }
.v6-prep-l { display:flex; align-items:center; gap:14px; }
.v6-prep-t { font-size:18px; font-weight:600; }
.v6-prep-m { font-size:15px; color:var(--text-2); }
.v6-dotc { width:30px; height:30px; border-radius:50%; border:2px solid var(--line); box-sizing:border-box; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
.v6-dotc.is-done { background:var(--ink); border-color:var(--ink); color:var(--surface); }
.v6-dotc.is-now { border:0; background:var(--accent-fill); box-shadow:inset 0 0 0 7px var(--surface), 0 0 0 2px var(--accent-fill); }
.v6-stage { background:var(--surface); border-radius:18px; padding:40px; display:flex; flex-direction:column; gap:20px; }
.v6-stage-head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.v6-stage-head > div { display:flex; flex-direction:column; gap:8px; }
.v6-stage-pr { color:var(--text-3); }
.v6-steps-list { display:flex; flex-direction:column; }
.v6-step { display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:18px; align-items:start; padding:20px 4px; border-radius:12px; border-top:1px solid var(--line); }
.v6-step.is-now { background:var(--accent-tint); border-top:0; padding:20px; }
.v6-step-b { display:flex; flex-direction:column; gap:10px; min-width:0; }
.v6-step-tags { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.v6-step-tags .v6t.is-sm { min-height:32px; padding:0 12px; font-size:14px; }
.v6-step-s { font-size:14px; color:var(--text-3); }
body.v6 .lesson-content .v6-page .v6-step-t { font-family:var(--font-display); font-size:22px; font-weight:800; letter-spacing:-0.015em; line-height:1.2; color:var(--ink); }
body.v6 .lesson-content .v6-page a.v6-step-t:hover { color:var(--accent); }
.v6-step-m { font-size:15px; color:var(--text-2); white-space:nowrap; padding-top:4px; }
.v6-rchips { display:flex; gap:8px; flex-wrap:wrap; }
.v6-rchip { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:999px; background:var(--ground); font-size:14px; }
.v6-step.is-now .v6-rchip { background:var(--surface); }
.v6-rchip > span { color:var(--text-3); }
.v6-mile { background:#16161A; color:#FFFFFF; border-radius:16px; padding:32px; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap:28px; }
.v6-mile-l { display:flex; flex-direction:column; gap:12px; }
.v6-mile-e { font-size:15px; color:#B9BAC0; }
.v6-mile-t { font-family:var(--font-display); font-size:32px; font-weight:800; letter-spacing:-0.025em; }
.v6-mile-g { font-size:18px; line-height:1.5; color:#E2DCCD; }
.v6-mile-b { display:inline-flex; align-items:center; min-height:52px; padding:10px 24px; box-sizing:border-box; border-radius:10px; background:#FFFFFF; color:#16161A; font-size:17px; font-weight:600; }
.v6-mile-soon { font-size:14px; color:#B9BAC0; margin-left:8px; }
.v6-mile-r { display:flex; flex-direction:column; gap:10px; }
.v6-mile-r > span { display:flex; gap:10px; font-size:16px; line-height:1.45; color:#E2DCCD; }
.v6-mile-dot { color:#9FB0DC; }
.v6-mdoor { grid-column:1 / -1; border-top:1px solid #2A2B30; padding-top:16px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; font-size:16px; color:#B9BAC0; }
body.v6 .lesson-content .v6-page .v6-mdoor a { color:#FFFFFF; font-weight:600; min-height:44px; display:inline-flex; align-items:center; }
.v6-kit { display:flex; flex-direction:column; gap:24px; padding-top:40px; }
.v6-kit-g { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap:20px; align-items:start; }
.v6-kit-c { background:var(--surface); border-radius:16px; padding:28px; display:flex; flex-direction:column; gap:6px; }
.v6-kit-h { display:flex; justify-content:space-between; align-items:baseline; font-family:var(--font-display); font-size:22px; font-weight:800; }
.v6-kit-l { display:flex; flex-direction:column; border-bottom:1px solid var(--line); }
.v6-kit-i { display:flex; flex-direction:column; gap:4px; padding:14px 0; border-top:1px solid var(--line); }
.v6-kit-t { font-size:17px; font-weight:600; }
.v6-kit-g2 { font-size:15px; line-height:1.45; color:var(--text-2); }
.v6-kit-s { font-size:13px; color:var(--text-3); }
@media (max-width:720px) {
  .v6-stage { padding:24px; border-radius:14px; }
  .v6-step { grid-template-columns:30px minmax(0,1fr); }
  .v6-step-m { grid-column:2; padding-top:0; }
  .v6-mile { padding:24px; }
  .v6-prep-g { grid-template-columns:1fr; }
}
.v6-sp-note { margin:0; font-size:15px; color:var(--text-3); }
/* крошки по макетам: 16px, text-2, текущий пункт чёрный */
.v6-crumbs { font-size:16px; color:var(--text-2); }
.v6-crumbs > span:last-child { color:var(--ink); }
:where(.v6-sp-body, .v6-phero) span { line-height:normal; }

/* ===== Роль продавца (Role.dc.html) ===== */
.v6-chan { border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.v6-chan legend { font-size:16px; color:var(--text-2); padding:0; margin-bottom:10px; }
.v6-rhero .v6-check { margin-top:0; gap:8px; }
.v6-rhero .v6-check label { min-height:48px; padding:0 18px; font-size:17px; }
.v6-rhero .v6-check input { accent-color:var(--ink); }
body.v6 .lesson-content .v6-page a.v6-next { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:32px; align-items:center; border-radius:18px; padding:40px 48px; color:#fff; margin-bottom:96px; }
.v6-next-in { display:flex; flex-direction:column; gap:12px; position:relative; }
.v6-next-l { font-size:17px; color:#B9BAC0; }
.v6-next-t { font-family:var(--font-display); font-size:clamp(28px,3.2vw,44px); font-weight:800; letter-spacing:-0.03em; line-height:1.05; }
.v6-next-p { font-size:18px; color:#E2DCCD; line-height:1.5; }
.v6b.v6-btn-xl { height:60px; padding:0 30px; border-radius:10px; font-size:19px; font-weight:600; position:relative; }
.v6-sec-head.is-split { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
body.v6 .lesson-content .v6-page .v6-sec-head.is-split p { margin:0; font-size:19px; max-width:440px; }
body.v6 .lesson-content .v6-page a.v6-rolepath-lg { border-radius:18px; grid-template-columns:repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.v6-rolepath-lg .v6-art { height:300px; border-radius:16px; background:var(--ground); }
.v6-rolepath-lg .v6-rolepath-in { padding:36px; gap:14px; }
.v6-rolepath-lg .v6-rolepath-t { font-size:36px; letter-spacing:-0.03em; line-height:1.05; }
.v6-rolepath-lg .v6-rolepath-p { font-size:18px; }
.v6-rolepath-lg .v6t { min-height:36px; padding:0 14px; font-size:15px; }
.v6-doorbox { background:var(--surface); border-radius:16px; padding:32px 40px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; font-size:19px; line-height:1.5; }
.v6-doorbox > span { max-width:760px; }
@media (max-width:720px) {
  body.v6 .lesson-content .v6-page a.v6-next { grid-template-columns:1fr; padding:28px; border-radius:14px; margin-bottom:56px; }
  body.v6 .lesson-content .v6-page a.v6-rolepath-lg { grid-template-columns:1fr; }
  .v6-rolepath-lg .v6-rolepath-in { padding:20px 12px 12px; }
  .v6-doorbox { padding:24px; }
}
/* h2 внутренних экранов по макетам — 56px (64px только на главной) */
body.v6 .lesson-content .v6-page .v6c:not(#v6-home) h2.v6-h2 { font-size:clamp(34px, 4vw, 56px) !important; }
body.v6 .lesson-content .v6-page a.v6-next { background:#16161A; }
.v6-rolepath-lg .v6t.is-grey { color:var(--ink); }

/* ===== Задача (Task.dc.html) ===== */
.v6-thero { padding:24px 0 64px; }
body.v6 .lesson-content .v6-thero h1.v6-d { font-size:clamp(40px, 4.8vw, 68px) !important; line-height:0.98 !important; }
.v6-thero .v6-phero-text { gap:24px; align-items:stretch; }
.v6-gets { background:var(--surface); border-radius:14px; padding:28px; display:flex; flex-direction:column; gap:8px; }
.v6-gets > span:last-child { font-size:21px; line-height:1.45; }
.v6-tsec { padding-bottom:96px; display:flex; flex-direction:column; gap:32px; }
.v6-ways2 { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap:24px; }
.v6-way2 { background:var(--surface); border-radius:16px; padding:36px; display:flex; flex-direction:column; gap:14px; }
body.v6 .lesson-content .v6-page .v6-way2 h3 { margin:0 !important; font-family:var(--font-display); font-size:28px !important; font-weight:800 !important; letter-spacing:-0.02em !important; }
body.v6 .lesson-content .v6-page .v6-way2 p { margin:0; font-size:18px; line-height:1.5; color:var(--text-2); }
.v6-way2 .v6t { min-height:36px; padding:0 14px; font-size:15px; }
.v6-way2 > span:last-child { padding-top:8px; }
.v6-way2.is-soon h3 { color:var(--text-2); }
.v6-tbottom { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:24px; align-items:start; padding-bottom:112px; }
.v6-tmain { display:flex; flex-direction:column; gap:24px; }
.v6-needs { background:var(--surface); border-radius:16px; padding:36px; display:flex; flex-direction:column; gap:14px; }
body.v6 .lesson-content .v6-page .v6-needs h3 { margin:0 !important; font-family:var(--font-display); font-size:26px !important; font-weight:800 !important; }
.v6-needs > div { display:flex; gap:14px; align-items:center; padding:12px 0; border-top:1px solid var(--line); font-size:18px; }
.v6-needs-dot { width:10px; height:10px; border-radius:50%; background:var(--accent-fill); flex-shrink:0; }
.v6-neigh { background:var(--surface); border-radius:14px; padding:24px; display:flex; flex-direction:column; gap:4px; }
.v6-neigh .v6-meta { padding-bottom:8px; font-size:15px; color:var(--text-3); }
body.v6 .lesson-content .v6-page .v6-neigh-i { display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-top:1px solid var(--line); font-size:17px; color:var(--ink); }
.v6-neigh-i .m { font-size:14px; color:var(--accent); white-space:nowrap; }
.v6-neigh-i.is-soon, .v6-neigh-i.is-soon .m { color:var(--text-3); }
.v6-tdoor { background:var(--surface-dark); color:#fff; border-radius:14px; padding:28px; display:flex; flex-direction:column; gap:12px; font-size:18px; line-height:1.5; }
body.v6 .lesson-content .v6-page .v6-tdoor a { align-self:flex-start; color:#fff; font-size:17px; font-weight:600; min-height:44px; display:inline-flex; align-items:center; }
@media (max-width:900px) { .v6-tbottom { grid-template-columns:1fr; } }
@media (max-width:720px) { .v6-way2, .v6-needs { padding:24px; } .v6-ways2 { grid-template-columns:1fr; } }
/* подвал по макетам */
.v6f { border-top:0; }
.v6f-in { grid-template-columns:repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap:32px; padding:56px var(--gutter) 36px; }
.v6f-word { font-size:26px; line-height:1.1; letter-spacing:-0.02em; }
.v6f ul { display:flex; flex-direction:column; gap:2px; }
.v6f li a { min-height:32px; font-size:16px; }
.v6f-bottom { width:calc(100% - 2 * var(--gutter)); max-width:calc(var(--container) - 2 * var(--gutter)); padding:24px 0 0; margin:0 auto 40px; }
body.v6 .v6f .v6f-bottom a { color:var(--text-2) !important; }

/* ===== Пути: три равных пути ===== */
.v6-pathgrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap:24px; align-items:stretch; }
body.v6 .lesson-content .v6-page a.v6-pathc { background:var(--surface); border-radius:16px; padding:12px; display:flex; flex-direction:column; color:var(--ink); }
.v6-pathc .v6-art { height:220px; margin:0; border-radius:12px; background:var(--ground); }
.v6-pathc-in { display:flex; flex-direction:column; gap:12px; padding:20px 16px 16px; flex:1; }
.v6-pathc-t { font-family:var(--font-display); font-size:28px; font-weight:800; letter-spacing:-0.02em; line-height:1.1; }
.v6-pathc-p { font-size:17px; line-height:1.5; color:var(--text-2); }
.v6-pathc .v6t { min-height:32px; padding:0 12px; font-size:14px; }
.v6-pathc-go { margin-top:auto; padding-top:8px; display:inline-flex; align-items:center; gap:4px; font-size:17px; font-weight:600; }
body.v6 .lesson-content .v6-page a.v6-pathc:hover .v6-pathc-t, body.v6 .lesson-content .v6-page a.v6-pathc:hover .v6-pathc-go { color:var(--accent); }
.v6-pathc .v6-pcard-label b { color:var(--accent); font-weight:600; }
body.v6 .lesson-content .v6-page .v6-pnote { margin:24px 0 0; font-size:16px; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-pnote a { text-decoration:underline; text-underline-offset:3px; }
.v6-stage-fw { display:flex; flex-direction:column; gap:12px; padding-top:20px; border-top:1px solid var(--line); }
body.v6 .lesson-content .v6-page a.v6-rchip { color:var(--ink); }
body.v6 .lesson-content .v6-page a.v6-rchip:hover { color:var(--accent); }

/* ===== фреймворки: плитки (Knowledge.dc.html) ===== */
.v6-fwgrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap:20px; }
body.v6 .lesson-content .v6-page a.v6-fw { background:var(--surface); border-radius:16px; padding:28px; display:flex; flex-direction:column; gap:10px; color:var(--ink); }
.v6-fw .v6t { min-height:36px; padding:0 14px; font-size:15px; }
.v6-fw-t { font-family:var(--font-display); font-size:24px; font-weight:800; letter-spacing:-0.02em; line-height:1.15; }
.v6-fw-p { font-size:17px; line-height:1.5; color:var(--text-2); }
.v6-fw-m { margin-top:auto; display:flex; flex-direction:column; gap:4px; font-size:14px; color:var(--text-2); }
.v6-fw-m .s { color:var(--text-3); }
body.v6 .lesson-content .v6-page a.v6-fw:hover .v6-fw-t { color:var(--accent); }
body.v6 .lesson-content .v6-page a.v6-more { font-size:18px; color:var(--text-2); min-height:44px; display:inline-flex; align-items:center; }
body.v6 .lesson-content .v6-page a.v6-more:hover { color:var(--accent); }
.v6-fwhead { display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; margin:56px 0 20px; }
.v6-fwhead-t { font-family:var(--font-display); font-size:28px; font-weight:800; }
.v6-kfilters { display:flex; gap:24px 32px; flex-wrap:wrap; }
.v6-kf { display:flex; flex-direction:column; gap:8px; }
.v6-pills { display:flex; gap:8px; flex-wrap:wrap; }
.v6-pill { min-height:44px; padding:0 18px; border-radius:999px; border:0; background:var(--surface); color:var(--ink); font:inherit; font-size:16px; cursor:pointer; }
.v6-pill[aria-pressed="true"] { background:var(--ink); color:var(--surface); }

/* ===== карточка фреймворка (CardSku.dc.html) ===== */
.v6-fw-req { font-size:16px; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-fw-req a { color:var(--accent); font-weight:600; }
.v6-fwbody { display:flex; flex-direction:column; gap:24px; padding-bottom:24px; }
.v6-fwbody:last-child { padding-bottom:112px; }
.v6-fw2 { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap:24px; align-items:start; }
.v6-box { background:var(--surface); border-radius:18px; padding:40px; display:flex; flex-direction:column; gap:18px; }
body.v6 .lesson-content .v6-page .v6-box h2, body.v6 .lesson-content .v6-page .v6-exec h2 { margin:0 !important; padding:0 !important; border:0 !important; font-family:var(--font-display); font-size:30px !important; font-weight:800 !important; letter-spacing:-0.02em !important; }
body.v6 .lesson-content .v6-page .v6-box p { margin:0; font-size:18px; line-height:1.55; color:var(--text-2); }
.v6-dotrow { display:flex; gap:14px; align-items:baseline; padding:10px 0; font-size:18px; line-height:1.5; }
.v6-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; transform:translateY(-2px); background:var(--accent-fill); }
.v6-dot.is-mute { background:var(--text-3); }
.v6-dot.is-ink { background:var(--ink); }
.v6-fwsteps { border-bottom:1px solid var(--line); }
.v6-fwsteps > div { display:grid; grid-template-columns:48px minmax(0,1fr); gap:16px; padding:18px 0; border-top:1px solid var(--line); }
.v6-fwsteps .n { font-family:var(--font-display); font-size:22px; font-weight:800; color:var(--text-3); }
.v6-fwsteps b { display:block; font-size:19px; font-weight:600; margin-bottom:4px; }
.v6-fwsteps b + span { font-size:17px; line-height:1.5; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-box p.v6-fw-ex { font-size:19px; line-height:1.6; color:var(--ink); }
.v6-exec { background:var(--surface); border-radius:18px; padding:44px; box-shadow:inset 0 0 0 3px var(--accent); display:flex; flex-direction:column; gap:24px; }
.v6-exec-h { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.v6-exec .v6t { min-height:36px; padding:0 14px; font-size:15px; }
.v6-calc-in { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap:16px; }
.v6-calc-in label { display:flex; flex-direction:column; gap:6px; font-size:15px; color:var(--text-2); }
.v6-calc-in label > span { display:flex; align-items:center; gap:8px; height:56px; padding:0 16px; border-radius:10px; background:var(--ground); }
.v6-calc-in input { flex:1; min-width:0; border:0; background:transparent; font:inherit; font-size:20px; font-weight:600; color:var(--ink); outline:none; }
.v6-calc-in label > span:focus-within { box-shadow:0 0 0 2px var(--accent); }
.v6-calc-in i { font-style:normal; color:var(--text-3); }
.v6-calc-out { margin-top:16px; background:var(--ground); border-radius:14px; padding:28px; display:flex; flex-direction:column; gap:16px; }
.v6-calc-top { display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; font-size:17px; color:var(--text-2); }
.v6-calc-n { font-family:var(--font-display); font-size:48px; font-weight:800; letter-spacing:-0.03em; color:var(--ink); }
.v6-calc-n span { color:var(--accent); }
.v6-calc-bar { display:flex; gap:2px; border-radius:10px; overflow:hidden; height:20px; }
.v6-calc-bar span { background:#D2CBBB; }
.v6-calc-bar span:nth-child(even) { background:#B5B8C2; }
.v6-calc-bar span.is-left { background:var(--accent-fill); }
.v6-calc-leg { display:flex; gap:10px 18px; flex-wrap:wrap; font-size:15px; color:var(--text-2); }
.v6-calc-leg span { display:inline-flex; align-items:center; gap:8px; }
.v6-calc-leg i { width:12px; height:12px; border-radius:4px; background:#D2CBBB; }
.v6-calc-leg i.is-left { background:var(--accent-fill); }
.v6-prompt { margin:0; padding:24px; border-radius:12px; background:var(--ground); font-family:ui-monospace, "SF Mono", Menlo, monospace; font-size:16px; line-height:1.6; white-space:pre-wrap; color:var(--ink); }
.v6-gate { background:#16161A; color:#fff; border-radius:18px; padding:44px; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap:32px; }
.v6-gate-l { display:flex; flex-direction:column; gap:16px; }
.v6-gate-e { display:flex; align-items:center; gap:12px; font-size:16px; color:#B9BAC0; }
.v6-gate-e .v6-ava { background:var(--accent-fill); color:var(--ink); }
.v6-gate-t { font-family:var(--font-display); font-size:30px; font-weight:800; letter-spacing:-0.02em; line-height:1.15; }
.v6-gate-n { font-size:14px; color:#B9BAC0; }
.v6-gate-r { background:#1F1F24; border-radius:14px; padding:28px; display:flex; flex-direction:column; gap:4px; }
.v6-gate-r > span { display:flex; gap:12px; padding:10px 0; font-size:17px; line-height:1.45; color:#E2DCCD; }
.v6-gate-r i { color:#8B8C94; font-style:normal; }
.v6-gate-rh { font-size:15px !important; color:#B9BAC0 !important; padding-bottom:8px !important; }
.v6-links > div { display:grid; grid-template-columns:180px minmax(0,1fr); gap:20px; padding:16px 0; border-top:1px solid var(--line); font-size:17px; line-height:1.5; }
.v6-links > div > span:first-child { font-size:16px; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-links a { color:var(--accent); }
body.v6 .lesson-content .v6-page .v6-links a:hover { text-decoration:underline !important; }
@media (max-width:720px) {
  .v6-box, .v6-exec, .v6-gate { padding:24px; border-radius:14px; }
  .v6-links > div { grid-template-columns:1fr; gap:4px; }
  .v6-calc-n { font-size:36px; }
}
.v6-prep > .v6-list { background:var(--surface); border-radius:12px; padding:8px 24px; }
.v6-box .v6t, .v6-exec .v6t { white-space:normal; height:auto; min-height:36px; padding:6px 14px; line-height:1.35; }
@media (min-width:900px) { .v6-pathgrid { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
.v6-thero .v6t { white-space:normal; height:auto; min-height:36px; padding:6px 14px; line-height:1.35; }

/* ===== логотип (v6/brand, 04.10.2026) ===== */
.v6h-logo { display:block; height:26px; width:auto; color:var(--accent); }
.v6h-brand:hover .v6h-logo { color:var(--ink); }
.v6f-mark { display:block; width:44px; height:auto; color:var(--accent); margin-bottom:20px; }
@media (max-width:720px) { .v6h-logo { height:22px; } }

/* ===== иллюстрации v2.1 (WebP, фон #FBF8F1): рамка того же цвета, картинка сливается со страницей ===== */
.v6-art, .v6-art.v6-phero-art, .v6-rolepath-lg .v6-art, .v6-pathc .v6-art { background:var(--ground); }
.v6-sechero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:32px; align-items:center; padding-top:56px; }
.v6-art.v6-icon-art { width:200px; height:200px; margin:0; border-radius:16px; }
@media (max-width:720px) { .v6-sechero { grid-template-columns:1fr; } .v6-art.v6-icon-art { width:120px; height:120px; order:-1; } }
.v6-role-row.has-thumb { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:16px; align-items:center; }
.v6-role-thumb { width:96px; height:64px; border-radius:8px; background:var(--ground); overflow:hidden; display:flex; }
.v6-role-thumb img { width:100%; height:100%; object-fit:contain; }
.v6-role-thumb.is-empty { background:var(--ground); }
/* сюжет занимает ~55% кадра — в мелких местах приближаем, края фона невидимы */
.v6-role-thumb img { transform:scale(1.7); }
.v6-art.v6-icon-art img { transform:scale(1.35); }
.v6-art img[src$=".webp"] { object-fit:cover; }
.v6-pathc .v6-art { height:auto; aspect-ratio:3 / 2; }
.v6-pcard .v6-art { height:auto; aspect-ratio:16 / 9; }

/* ===== урок v6 (Lesson.dc.html) ===== */
.v6-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.v6-lprog { height:6px; background:var(--line); }
.v6-lprog i { display:block; height:6px; background:var(--accent-fill); }
.v6-lgrid { display:grid; grid-template-columns:260px minmax(0,1fr) 280px; gap:24px; align-items:start; padding-top:40px; padding-bottom:40px; }
.v6-lside { position:sticky; top:calc(var(--header) + 16px); max-height:calc(100vh - var(--header) - 140px); overflow:auto; background:var(--surface); border-radius:14px; padding:16px; display:flex; flex-direction:column; gap:2px; }
.v6-lside-l { font-size:15px; color:var(--text-2); padding:8px 14px 4px; }
.v6-lside-t { font-family:var(--font-display); font-size:20px; font-weight:800; letter-spacing:-0.02em; padding:0 14px 10px; }
.v6-lsteps { display:flex; flex-direction:column; gap:2px; }
body.v6 .lesson-content .v6-page .v6-lstep { display:flex; gap:12px; align-items:center; padding:10px 14px; border-radius:10px; font-size:15px; line-height:1.35; color:var(--ink); }
body.v6 .lesson-content .v6-page a.v6-lstep:hover { background:var(--ground); }
.v6-lstep.is-now { background:var(--accent-tint); font-weight:600; }
.v6-lstep.is-off { color:var(--text-3); }
.v6-lstep i { font-style:normal; color:var(--text-3); font-size:13px; }
.v6-lstep .v6-dotc { width:24px; height:24px; font-size:12px; }
.v6-lstep.is-now .v6-dotc.is-now { box-shadow:inset 0 0 0 6px var(--accent-tint), 0 0 0 2px var(--accent); }
.v6-lside-f { font-size:14px; color:var(--text-3); padding:12px 14px 6px; }
.v6-lsheet { background:var(--surface); border-radius:18px; padding:56px 64px; min-width:0; }
.v6-lsheet .lesson-view { max-width:720px; margin:0 auto; }
.v6-lcrumbs { padding-top:0; margin-bottom:20px; }
body.v6 .lesson-content .v6-lsheet h1 { font-family:var(--font-display) !important; font-size:clamp(34px, 3.8vw, 54px) !important; line-height:1.04 !important; font-weight:800 !important; letter-spacing:-0.03em !important; margin:0 0 20px !important; color:var(--ink) !important; }
body.v6 .lesson-content .v6-lsheet h2 { font-family:var(--font-display) !important; font-size:30px !important; font-weight:800 !important; letter-spacing:-0.02em !important; line-height:1.15 !important; border-top:0 !important; padding-top:0 !important; margin:48px 0 16px !important; color:var(--ink) !important; scroll-margin-top:calc(var(--header) + 20px); }
body.v6 .lesson-content .v6-lsheet h3 { font-family:var(--font-display) !important; font-size:22px !important; font-weight:800 !important; margin:32px 0 12px !important; scroll-margin-top:calc(var(--header) + 20px); }
body.v6 .lesson-content .v6-lsheet .lesson-view > p, body.v6 .lesson-content .v6-lsheet .lesson-view > ul li, body.v6 .lesson-content .v6-lsheet .lesson-view > ol li { font-family:var(--font-read); font-size:18px; line-height:1.65; color:var(--text-body, #2A2B30); }
body.v6 .lesson-content .v6-lsheet .lesson-view > p { margin:0 0 18px; }
body.v6 .lesson-content .v6-page .v6-lsheet .lesson-view a:not(.v6b):not(.v6-crumbs a) { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.v6-ltags { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 28px; }
.v6-ltags .v6t { min-height:36px; padding:0 14px; font-size:15px; }
.v6-lright { position:sticky; top:calc(var(--header) + 16px); display:flex; flex-direction:column; gap:16px; }
.v6-lnote { background:var(--surface); border-radius:12px; padding:20px; display:flex; flex-direction:column; gap:10px; }
.v6-lnote-h { display:flex; justify-content:space-between; align-items:baseline; font-family:var(--font-display); font-size:18px; }
.v6-lnote textarea { min-height:110px; border:0; border-radius:10px; background:var(--ground); padding:14px; font:inherit; font-size:16px; resize:vertical; color:var(--ink); }
.v6-lnote textarea:focus { outline:2px solid var(--accent); }
body.v6 .lesson-content .v6-ltoc { background:var(--surface) !important; border:0 !important; border-radius:12px !important; padding:20px !important; margin:0 !important; max-height:calc(100vh - var(--header) - 420px); overflow:auto; }
body.v6 .lesson-content .v6-ltoc summary { font-size:14px !important; color:var(--text-3) !important; padding:0 0 6px !important; }
body.v6 .lesson-content .v6-ltoc ol { padding:0 !important; margin:0 !important; list-style:none !important; }
body.v6 .lesson-content .v6-ltoc a { display:block; font-size:15px !important; padding:6px 0 !important; color:var(--text-2) !important; text-decoration:none !important; }
body.v6 .lesson-content .v6-ltoc a.active { color:var(--ink) !important; font-weight:600; }
body.v6 .lesson-content .v6-ltoc li.h3 a { padding-left:12px !important; font-size:14px !important; }
.v6-lbar { position:sticky; bottom:0; z-index:5; background:var(--surface); border-top:1px solid var(--line); }
.v6-lbar-in { min-height:84px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; }
.v6-lbar-l { display:flex; align-items:center; gap:16px; font-size:17px; font-weight:600; }
.v6-ldots { display:flex; gap:6px; }
.v6-ldots i { width:10px; height:10px; border-radius:50%; background:var(--line); }
.v6-ldots i.is-done { background:var(--ink); }
.v6-ldots i.is-now { background:var(--accent-fill); }
.v6-lbar-r { display:flex; gap:10px; }
@media (max-width:1100px) { .v6-lgrid { grid-template-columns:minmax(0,1fr) 260px; } .v6-lside { display:none; } }
@media (max-width:820px) {
  .v6-lgrid { grid-template-columns:1fr; padding-top:16px; }
  .v6-lsheet { padding:28px 20px; border-radius:14px; }
  .v6-lright { position:static; }
  body.v6 .lesson-content .v6-ltoc { max-height:none; }
  .v6-ldots { display:none; }
  .v6-lbar-in { min-height:72px; }
  .v6-lbar-r .v6b { height:48px; padding:0 18px; font-size:16px; }
}
/* overflow-x:hidden у body делает его контейнером прокрутки и ломает position:sticky (панель урока, колонки) — clip режет так же, но не мешает */
body.v6 { overflow-x:clip !important; overflow-y:visible !important; }
.v6-lesson .v6-first { margin:24px auto 0; max-width:calc(var(--container) - 2 * var(--gutter)); border-radius:12px; }
body.v6 .lesson-content .v6-page .v6-first a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
/* плавающий Алёша — над нижней панелью урока */
body:has(.v6-lbar) .alesha-widget:not(.is-open) { bottom:108px; }
@media (max-width:820px) { body:has(.v6-lbar) .alesha-widget:not(.is-open) { bottom:92px; } }
@media (max-width:820px) {
  .v6-lbar-l { display:none; }
  .v6-lbar-in { min-height:0; padding-top:10px; padding-bottom:10px; }
  .v6-lbar-r { width:100%; }
  .v6-lbar-r .v6b { flex:1; padding:0 12px; }
  .v6-lbar-r .v6b.is-soft { flex:0 0 auto; }
}

/* длинные слова в заголовках карточек («Позиционирование», «Инкрементальность») не вылезают за рамку */
.v6-page h1, .v6-page h2, .v6-page h3, .v6-fw-t, .v6-pathc-t, .v6-rolepath-t, .v6-trail-t, .v6-next-t, .v6-mile-t, .v6-gate-t, .v6-step-t, .v6-kit-t,
.v6-pcard h3, .v6-dir h3, .v6-task h3, .v6-way2 h3, .v6-fwhead-t, .v6-lside-t, .v6-stage .v6-pmain-h {
  overflow-wrap:break-word; hyphens:auto; -webkit-hyphens:auto;
  /* переносить только длинные слова: «Позиционирование» да, «вашей» нет */
  hyphenate-limit-chars:10 4 4; -webkit-hyphenate-limit-before:4; -webkit-hyphenate-limit-after:4;
}
.v6-fw, .v6-pathc, .v6-pcard, .v6-dir, .v6-task, .v6-way2, .v6-box, .v6-stage { min-width:0; }

/* ===== юнит (Unit.dc.html) ===== */
.v6-uhead { padding:24px 0 32px; display:flex; flex-direction:column; gap:16px; max-width:860px; }
.v6-uhead .v6t { min-height:36px; padding:0 14px; font-size:15px; }
.v6-ugrid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:24px; align-items:start; padding-bottom:140px; }
.v6-ugrid .v6-lside { max-height:none; }
.v6-ucard { background:var(--surface); border-radius:18px; padding:44px 48px; display:flex; flex-direction:column; gap:18px; }
body.v6 .lesson-content .v6-page .v6-ucard-t { font-family:var(--font-display) !important; font-size:clamp(26px, 2.6vw, 34px) !important; font-weight:800 !important; letter-spacing:-0.02em !important; margin:0 !important; padding:0 !important; border:0 !important; }
body.v6 .lesson-content .v6-page .v6-ucard p { margin:0; font-size:19px; line-height:1.55; color:var(--text-2); }
.v6-uinput { display:flex; flex-direction:column; gap:6px; }
.v6-uinput input { height:56px; border:0; border-radius:10px; background:var(--ground); padding:0 18px; font:inherit; font-size:18px; color:var(--ink); }
.v6-uinput textarea { width:100%; box-sizing:border-box; min-height:112px; resize:vertical; border:0; border-radius:10px; background:var(--ground); padding:16px 18px; font:inherit; font-size:18px; line-height:1.5; color:var(--ink); }
.v6-uinput input:focus, .v6-uinput textarea:focus, .v6-nbsearch input:focus { outline:2px solid var(--accent); }
.v6-uprompt { background:var(--ground); border-radius:12px; padding:20px 22px; display:flex; flex-direction:column; gap:10px; }
.v6-uprompt-h { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.v6-uprompt pre { margin:0; white-space:pre-wrap; font-family:var(--font-mono); font-size:15px; line-height:1.6; color:var(--ink); }
.v6-uchecks { display:flex; flex-direction:column; gap:4px; }
.v6-uchecks label { display:flex; gap:12px; align-items:flex-start; padding:12px 0; border-top:1px solid var(--line); font-size:18px; cursor:pointer; }
.v6-uchecks input { width:20px; height:20px; margin:3px 0 0; accent-color:var(--accent); flex-shrink:0; }
.v6-ualmost { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:10px; font-size:18px; line-height:1.5; }
.v6-tgoffer { background:var(--accent-tint); border-radius:12px; padding:20px 22px; display:flex; flex-direction:column; gap:12px; font-size:16px; line-height:1.5; }
.v6-tgoffer span { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.v6-showf { display:flex; flex-direction:column; gap:14px; background:var(--accent-tint); border-radius:12px; padding:20px 22px; }
.v6-showf label { display:flex; flex-direction:column; gap:6px; }
.v6-showf input[type=text], .v6-showf input[type=url], .v6-showf textarea { font:inherit; font-size:16px; padding:10px 12px; border:1px solid var(--line, #d9dbe1); border-radius:8px; background:var(--surface); width:100%; box-sizing:border-box; }
.v6-showf-hp { position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
body.v6 .v6-showf .v6-showf-msg { margin:0 !important; font-size:14px !important; color:var(--text-3) !important; }
@media (max-width:900px) { .v6-ugrid { grid-template-columns:minmax(0,1fr); } .v6-ugrid .v6-lside { position:static; } .v6-ucard { padding:28px 22px; border-radius:14px; } .v6-ucard .v6-btns > .v6b { max-width:100%; white-space:normal; text-align:center; } }

/* ===== тетрадь (Notebook.dc.html) ===== */
.v6-nbgrid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:32px; align-items:start; padding-bottom:112px; }
.v6-nbsearch input { height:52px; min-width:280px; border:0; border-radius:10px; background:var(--surface); padding:0 18px; font:inherit; font-size:17px; }
.v6-nbday { display:block; font-family:var(--font-display); font-size:20px; font-weight:800; margin:28px 0 12px; }
.v6-nbday:first-child { margin-top:0; }
.v6-nbitem { background:var(--surface); border-radius:14px; padding:24px 28px; display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
body.v6 .lesson-content .v6-page .v6-nbitem-t { font-family:var(--font-display); font-size:22px; font-weight:800; color:var(--ink); }
body.v6 .lesson-content .v6-page a.v6-nbitem-t:hover { color:var(--accent); }
body.v6 .lesson-content .v6-page .v6-nbitem p { margin:0; font-size:17px; line-height:1.55; color:var(--text-2); white-space:pre-wrap; }
.v6-nbitem .v6-quiet { align-self:flex-start; }
.v6-nbempty { background:var(--surface); border-radius:16px; padding:40px; display:flex; flex-direction:column; gap:16px; align-items:flex-start; }
.v6-nbload { cursor:pointer; }
.v6-nbreset { color:#B9BAC0 !important; align-self:flex-start; }
@media (max-width:900px) { .v6-nbgrid { grid-template-columns:1fr; } .v6-nbsearch input { min-width:0; width:100%; } }

/* ===== сверка по рубрике (Вехи, калитка) ===== */
.v6-rub { display:flex; flex-direction:column; gap:12px; }
.v6-rub-in { min-height:160px; border:0; border-radius:10px; background:var(--ground); padding:16px; font:inherit; font-size:16px; line-height:1.5; color:var(--ink); resize:vertical; }
.v6-gate .v6-rub-in { background:#1F1F24; color:#fff; }
.v6-rub-in:focus { outline:2px solid var(--accent); }
.v6-rub-out { display:flex; flex-direction:column; gap:10px; }
.v6-rub-reply { font-size:16px; line-height:1.55; }
/* разбор по критериям с баллами 0–2 (проверка Алёши /api/check) */
.v6-rcrit { list-style:none !important; margin:0 !important; padding:0 !important; display:flex; flex-direction:column; }
.v6-rcrit li { margin:0 !important; }
.v6-rub-out > .v6t { align-self:flex-start; }
.v6-rcrit li { display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; padding:12px 0; border-top:1px solid var(--line); font-size:16px; line-height:1.5; }
.v6-rcrit li > div { display:flex; flex-direction:column; gap:4px; }
.v6-rcrit q { color:var(--text-2); border-left:3px solid var(--line); padding-left:10px; quotes:"«" "»"; }
.v6-rdots { display:flex; gap:4px; padding-top:5px; }
.v6-rdots i { width:12px; height:12px; border-radius:50%; background:var(--line); }
.v6-rdots i.on { background:var(--accent-fill); }
.v6-gate .v6-rcrit li { border-color:#3A3A42; color:#fff; }
.v6-gate .v6-rcrit q { color:#E2DCCD; border-color:#3A3A42; }
.v6-gate .v6-rdots i { background:#3A3A42; } .v6-gate .v6-rdots i.on { background:#fff; }
.v6-gate .v6-rub-out .v6-meta, .v6-gate .v6-rub-reply { color:#E2DCCD; }
body.v6 .lesson-content .v6-page a.v6-mile-b { color:#16161A; }
.v6-nbreply { display:flex; gap:12px; align-items:flex-start; background:var(--ground); border-radius:10px; padding:14px 16px; font-size:15px; line-height:1.5; color:var(--text-2); }
.v6-nbreply .v6-ava { width:32px; height:32px; font-size:14px; }
.v6-rub-reply p, .v6-nbreply p { margin:0 0 8px; } .v6-rub-reply p:last-child, .v6-nbreply p:last-child { margin:0; }
body.v6 .lesson-content .v6-page a.v6-kit-i { color:var(--ink); }
body.v6 .lesson-content .v6-page a.v6-kit-i:hover .v6-kit-t { color:var(--accent); }
.v6-kit-s.is-go { color:var(--accent); }

/* ===== полезные вещи (ресурсы) ===== */
.v6-restable { overflow-x:auto; }
.v6-restable table { border-collapse:collapse; font-size:14px; min-width:100%; }
.v6-restable th, .v6-restable td { border:1px solid var(--line); padding:8px 10px; text-align:left; vertical-align:top; }
.v6-restable th { background:var(--ground); font-weight:600; }
.v6-restable td i { color:var(--text-3); font-style:normal; }
.v6-funnel-out { gap:4px !important; }
.v6-funnel-row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--line); font-size:17px; }
.v6-funnel-row.is-min { color:var(--accent); font-weight:600; }
.v6-funnel-row.is-min b::after { content:' · самый большой провал'; font-weight:400; font-size:14px; }
.v6-funnel-row.is-total { border-top:2px solid var(--ink); }
.v6-reslist h2 { margin-top:8px !important; }
@media print {
  .v6h, .v6f, .v6-noprint, .alesha-widget, .v6-crumbs, .v6-uhead .v6-tags { display:none !important; }
  body.v6 { background:#fff !important; }
  .v6-box { padding:0 !important; }
}
.v6-funnel-in { display:grid; grid-template-columns:minmax(0,1fr) 140px 140px; gap:8px 12px; align-items:center; font-size:15px; color:var(--text-2); }
.v6-funnel-in b { font-size:14px; color:var(--ink); }
.v6-funnel-in input { height:48px; border:0; border-radius:8px; background:var(--ground); padding:0 14px; font:inherit; font-size:17px; font-weight:600; color:var(--ink); min-width:0; }
.v6-funnel-in input:focus { outline:2px solid var(--accent); }
.v6-restable tr.is-min td { color:var(--accent); font-weight:600; }
@media (max-width:600px) { .v6-funnel-in { grid-template-columns:minmax(0,1fr) 90px 90px; } }

/* плашки уроков (callout-info/-warning/-success…): один холодный тон вместо янтарного, красного, зелёного */
#lesson-content .callout { background:var(--hvoya-accent-soft) !important; border-color:transparent !important; color:var(--hvoya-ink) !important; }

/* старые страницы в каркасе v6 (legacyWrap): разделы, словарь, квизы, «Что это», «Что нового»… */
.v6-legacy-in { padding-top:40px; padding-bottom:64px; }
.v6-legacy .v6-lsheet .lesson-view { max-width:880px; }
.v6-legacy-view :is(.track-cards, .cl-list, .glossary-terms, .gloss-chips, .gloss-search, .tv-list, .tv-sources) { max-width:none !important; }
/* поиск по словарю прячет термины inline-стилем; старое правило «display:block !important» его перебивало (баг был и на проде) */
#lesson-content .glossary-term.gt[style*="display: none"] { display:none !important; }

/* Знания: поиск, вкладки, словарь, библиотека уроков */
.v6-ksearch input { width:100%; box-sizing:border-box; height:60px; border:0; border-radius:var(--r-pill); background:var(--surface); padding:0 24px; font:inherit; font-size:18px; color:var(--ink); }
.v6-ksearch input:focus { outline:3px solid var(--accent); outline-offset:2px; }
.v6-ktabs { display:flex; gap:8px; flex-wrap:wrap; margin:24px 0 32px; border-bottom:1px solid var(--line); }
.v6-ktab { display:inline-flex; align-items:center; gap:10px; min-height:52px; padding:0 18px; border:0; background:none; font:inherit; font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--text-2); cursor:pointer; border-bottom:3px solid transparent; margin-bottom:-1px; }
.v6-ktab[aria-selected="true"] { color:var(--ink); border-bottom-color:var(--accent); }
.v6-ktab .v6-meta { font-family:var(--font-body); font-weight:500; }
.v6-select { min-height:44px; border:0; border-radius:var(--r-pill); background:var(--surface); padding:0 16px; font:inherit; font-size:16px; color:var(--ink); max-width:100%; }
.v6-termgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:16px; margin-top:16px; }
.v6-termrow { background:var(--surface); border-radius:var(--r-md); padding:20px 22px; display:flex; flex-direction:column; gap:8px; scroll-margin-top:calc(var(--header, 80px) + 24px); }
.v6-termrow.is-now { box-shadow:inset 0 0 0 3px var(--accent); }
body.v6 .lesson-content .v6-page .v6-termrow h3 { font-family:var(--font-display) !important; font-size:19px !important; font-weight:800 !important; margin:0 !important; }
.v6-term-en { font-family:var(--font-body); font-weight:400; font-size:15px; color:var(--text-3); letter-spacing:0; }
.v6-termrow p { margin:0; font-size:16px; line-height:1.5; color:var(--text-2); }
.v6-termrow .v6-tags { margin-top:4px; }
.v6-dictarea + .v6-dictarea { margin-top:40px; }
.v6-lgroup { background:var(--surface); border-radius:var(--r-md); padding:6px 22px; margin-bottom:12px; }
.v6-lgroup summary { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:56px; cursor:pointer; list-style:none; }
.v6-lgroup summary::-webkit-details-marker { display:none; }
.v6-lgroup[open] summary { border-bottom:1px solid var(--line); margin-bottom:6px; }
@media (max-width:720px) { .v6-termgrid { grid-template-columns:1fr; } .v6-ktab { font-size:16px; padding:0 10px; } }
/* термин в тексте урока и подсказка */
body.v6 .lesson-content .v6-term { all:unset; cursor:help; color:inherit; text-decoration:underline dotted var(--accent); text-decoration-thickness:2px; text-underline-offset:4px; }
body.v6 .lesson-content .v6-term:focus-visible { outline:3px solid var(--accent); outline-offset:2px; border-radius:4px; }
.v6-termtip { position:fixed; z-index:400; background:var(--ink, #16161A); color:#fff; border-radius:12px; padding:18px 20px; box-sizing:border-box; display:flex; flex-direction:column; gap:6px; font-family:'Golos Text','PT Sans',system-ui,sans-serif; font-size:15px; line-height:1.45; box-shadow:0 12px 32px rgba(0,0,0,.18); }
.v6-termtip[hidden] { display:none; }
.v6-termtip b { font-family:'Golos Text','PT Sans',system-ui,sans-serif; font-weight:800; font-size:17px; }
.v6-termtip-en { color:#B9BAC0; font-size:14px; }
.v6-termtip p { margin:4px 0 0; color:#fff; }
.v6-termtip-w { color:#B9BAC0; font-size:14px; }
.v6-termtip a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.v6-termtip-go { margin-top:6px; font-weight:600; }
body.v6 .lesson-content .v6-page h2.v6-fwhead-t { font-size:28px !important; }
/* урок ещё пишется */
.v6-draft { background:var(--ground); border-radius:14px; padding:28px 32px; display:flex; flex-direction:column; gap:20px; margin-top:8px; }
.v6-draft p { margin:0; font-size:18px; }
.v6-draft-row { display:flex; flex-direction:column; gap:8px; }
body.v6 .lesson-content .v6-page .v6-draft-l { font-family:var(--font-display); font-weight:800; font-size:20px; color:var(--ink); text-decoration:none; }
body.v6 .lesson-content .v6-page .v6-draft-l:hover { color:var(--accent); }
/* Для компаний */
.v6-co-list { margin:4px 0 8px; padding-left:20px; color:var(--text-2); font-size:16px; line-height:1.6; }
.v6-co-safe { display:flex; flex-direction:column; gap:12px; }
.v6-co-safe p { margin:0; color:var(--text-2); }
.v6-draft .v6b.is-soft { background:var(--surface) !important; }
/* крупный заголовок героя: на широком экране не переносим по слогам («Ва-шей»), на узком переносы нужны */
@media (min-width:900px) { .v6-phero h1.v6-d { hyphens:manual !important; -webkit-hyphens:manual !important; } }
@media (min-width:900px) { body.v6 .lesson-content .v6-lsheet h1 { hyphens:manual !important; -webkit-hyphens:manual !important; overflow-wrap:break-word; } }
/* телефон: длинные теги, термины и список задач не распирают страницу */
.v6-co-safe .v6t { white-space:normal; height:auto; min-height:36px; padding-top:6px; padding-bottom:6px; }
.v6-termrow { min-width:0; overflow-wrap:anywhere; }
.v6-kf { min-width:0; max-width:100%; }
.v6-select { width:100%; text-overflow:ellipsis; }
.v6-termrow .v6t { white-space:normal; height:auto; min-height:36px; padding-top:6px; padding-bottom:6px; max-width:100%; box-sizing:border-box; }

/* печать карточки метода на A4 */
.v6-fwprint-qr { display:none; }
@media print {
  @page { size:A4; margin:14mm 14mm 16mm; }
  body.v6 .v6-page { font-size:10.5pt; line-height:1.45; color:#000; }
  body.v6 .v6c { max-width:none !important; padding:0 !important; }
  #v6-fwp .v6-phero-art, #v6-fwp .v6-art, #v6-fwp .v6-rub, #v6-fwp .v6-calc-in, #v6-fwp .v6-calc-bar, #v6-fwp .v6-calc-leg, #v6-fwp .v6-calc-top,
  #v6-fwp .v6-exec button, #v6-fwp .v6-doorbox, #v6-fwp .v6-tsec, #v6-fwp .v6-gate-n { display:none !important; }
  #v6-fwp .v6-phero { display:block !important; padding:0 0 6mm !important; min-height:0 !important; }
  body.v6 .lesson-content #v6-fwp h1.v6-d { font-size:24pt !important; line-height:1.05 !important; }
  #v6-fwp .v6-phero-lead { font-size:12pt !important; margin-top:3mm !important; }
  #v6-fwp .v6-box, #v6-fwp .v6-exec, #v6-fwp .v6-gate { break-inside:avoid; background:#fff !important; color:#000 !important; box-shadow:none !important; border:1px solid #DAD3C3 !important; border-radius:10px !important; padding:4mm 5mm !important; margin:0 0 4mm !important; }
  #v6-fwp .v6-gate * { color:#000 !important; }
  #v6-fwp .v6-fw2 { display:grid !important; grid-template-columns:1fr 1fr !important; gap:4mm !important; }
  body.v6 .lesson-content #v6-fwp h2 { font-size:13pt !important; margin:0 0 2mm !important; }
  #v6-fwp .v6-prompt { background:#FBF8F1 !important; color:#000 !important; white-space:pre-wrap !important; font-size:8.5pt !important; padding:3mm !important; }
  #v6-fwp .v6-t, #v6-fwp .v6t { border:1px solid #DAD3C3 !important; background:#fff !important; color:#000 !important; }
  #v6-fwp a { color:#000 !important; text-decoration:none !important; }
  .v6-fwprint-qr { display:flex !important; gap:5mm; align-items:center; break-inside:avoid; border-top:1px solid #DAD3C3; padding-top:4mm; margin-top:2mm; }
  .v6-fwprint-qr svg { width:26mm; height:26mm; flex:none; }
  .v6-fwprint-qr div { display:flex; flex-direction:column; gap:1mm; font-size:10pt; }
  .v6-fwprint-url { font-family:'JetBrains Mono',monospace; font-size:9pt; }
}
@media print {
  body.v6 #v6-fwp { zoom:0.62; }
  #v6-fwp .v6-box { break-inside:auto !important; }
  #v6-fwp .v6-fwsteps > div, #v6-fwp .v6-dotrow { break-inside:avoid; }
  #v6-fwp .v6-gate-r { background:#fff !important; border:1px solid #DAD3C3 !important; color:#000 !important; }
  #v6-fwp .v6-gate { display:grid !important; grid-template-columns:1fr 1fr !important; gap:6mm !important; }
}
@media print { #v6-fwp .v6-fwlinks { display:none !important; } .v6-fwprint-src { color:#444; font-size:9pt; } }
@media print {
  #v6-fwp .v6-dotrow { padding:1.5mm 0 !important; min-height:0 !important; }
  #v6-fwp .v6-fwsteps > div { padding:2mm 0 !important; }
}
body.v6 .lesson-content .v6-legacy-view .sub-lead { font-size:20px !important; line-height:1.5 !important; color:var(--text-2) !important; margin:0 0 16px !important; }
/* ссылки: рука на всех ссылках-кнопках и заметный отклик на наведение в тексте */
a[onclick], a[role="link"] { cursor:pointer; }
body.v6 .lesson-content .v6-page .v6-lsheet .lesson-view a:not(.v6b):not(.v6t):hover { color:var(--ink) !important; text-decoration-thickness:2px; text-decoration-color:var(--accent); background:var(--accent-tint); border-radius:4px; }
body.v6 .lesson-content .v6-page .v6-lsheet .lesson-view a:not(.v6b):not(.v6t) { transition:background-color .15s, color .15s; }
.v6-crumbs a:hover, .v6-quiet:hover, .v6-link:hover { color:var(--ink); }
.v6-uhead .v6t { white-space:normal; height:auto; min-height:36px; padding-top:6px; padding-bottom:6px; max-width:100%; box-sizing:border-box; line-height:1.35; }
@media (min-width:1241px) and (max-width:1360px) { .v6h-nav { gap:20px; } .v6h-right .v6-link { margin-right:2px; font-size:15px; } .v6h-in { gap:16px; } }

.v6h-brand { flex:none; }
/* главная: полоса «где вы остановились» и отличия в постоянном блоке */
.v6-resume { margin-top:32px; background:var(--surface-dark); color:var(--on-dark); border-radius:12px; padding:16px 20px 16px 24px; display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; }
.v6-resume-t { display:flex; flex-direction:column; gap:4px; min-width:0; }
.v6-resume .v6-meta { color:var(--on-dark-2); }
.v6-resume b { font-family:var(--font-display); font-weight:800; font-size:20px; line-height:1.25; }
.v6-resume .v6b.is-soft { background:var(--surface-dark-2); color:var(--on-dark); }






/* главная v2: первый экран «Готовые решения» и витрина «Вы уносите» */
.v6 { --neg-text:#A3470F; --neg-bar:#C2672E; }
.v6-hero2 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px 56px; align-items:start; padding-top:56px; }
.v6-hero2-l { display:flex; flex-direction:column; gap:24px; min-width:0; }
.v6-badge { align-self:flex-start; padding:8px 14px; border-radius:999px; background:var(--surface); font-size:14px; color:var(--text-2); }
.v6-badge b { color:var(--ink); font-weight:600; }
body.v6 .lesson-content .v6-page h1.v6-d.v6-home-h1 { font-size:clamp(42px,5.2vw,72px) !important; line-height:1.02 !important; margin:0 !important; hyphens:manual !important; -webkit-hyphens:manual !important; }
.v6-hero2-lead { margin:0; max-width:520px; font-size:19px; line-height:1.5; color:var(--text-2); }
.v6-home-start { align-self:flex-start; white-space:normal; text-align:center; padding:12px 24px; }
.v6-home-facts { margin:0; font-size:14px; color:var(--text-2); }
/* Главная как мастерская: объяснение, примеры результатов и три самостоятельных входа. */
.v6-workshop-hero { gap:40px; align-items:center; padding-top:44px; }
.v6-workshop-hero > .v6-hero2-l { grid-column:1; grid-row:1; }
.v6-workshop-hero > .v6-home-doors { grid-column:1 / -1; grid-row:2; padding-top:0; }
.v6-workshop-hero > .v6-workbench { grid-column:2; grid-row:1; }
body.v6 .lesson-content .v6-page .v6-workshop-hero h1.v6-d.v6-home-h1 { font-size:clamp(34px,3.05vw,44px) !important; line-height:1.1 !important; }
.v6-workshop-hero h1 span { display:block; }
.v6-home-meaning { margin:0; max-width:520px; font-size:16px; line-height:1.5; color:var(--text-2); }
.v6-workshop-hero .v6-hero2-l { gap:20px; }
.v6-workbench { margin:0; min-width:0; border-radius:16px; padding:24px; background:var(--accent-tint); }
.v6-workbench figcaption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; font-size:14px; font-weight:600; color:var(--accent); }
.v6-workbench figcaption small { font-size:12px; font-weight:400; }
.v6-workbench-desk { position:relative; height:410px; margin-top:20px; }
.v6-work-sheet { position:absolute; padding:20px; border:1px solid var(--line); border-radius:8px; background:var(--surface); box-shadow:0 12px 28px #8A641010; box-sizing:border-box; }
.v6-work-file { display:block; margin-bottom:12px; color:var(--text-2); font:11px var(--font-mono); }
.v6-work-sheet b { display:block; font-size:17px; line-height:1.25; }
.v6-work-sheet p { margin:12px 0 0; font-size:13px; line-height:1.55; color:var(--text-2); }
.v6-work-sheet.is-document { left:6px; top:3px; width:66%; min-height:240px; transform:rotate(-5deg); }
.v6-work-sheet.is-document i { display:block; height:5px; margin-top:10px; background:var(--ground); width:90%; }
.v6-work-sheet.is-document i:last-child { width:60%; }
.v6-work-sheet.is-table { right:0; top:75px; width:77%; transform:rotate(3deg); }
.v6-work-table { display:grid; grid-template-columns:1fr auto; margin-top:16px; font:11px var(--font-mono); }
.v6-work-table > * { padding:9px 5px; border-bottom:1px solid var(--line); }
.v6-work-table strong { background:var(--accent-tint); color:var(--accent); font-weight:500; }
.v6-work-sheet.is-chat { left:14px; top:226px; width:70%; transform:rotate(-2deg); }
.v6-work-sheet .v6-work-question { margin-left:22%; padding:7px 10px; border-radius:8px 8px 2px 8px; background:var(--ground); }
.v6-work-sheet .v6-work-answer { padding:7px 10px; margin-top:7px; border-left:2px solid var(--accent); }
.v6-workbench-foot { margin:18px 0 0; font-size:13px; line-height:1.5; color:var(--accent); }
.v6-home-doors { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding-top:40px; }
.v6-home-doors > a { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:28px; border-radius:12px; background:var(--surface); color:var(--ink); text-decoration:none !important; border:1px solid transparent; }
.v6-home-doors > a:hover { border-color:var(--accent); }
.v6-home-doors > a:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.v6-home-door-kind { font-size:13px; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-home-doors h2 { margin:0 !important; padding:0 !important; border:0 !important; font:800 26px/1.15 var(--font-display) !important; }
.v6-home-doors p { margin:0; font-size:16px; line-height:1.5; color:var(--text-2); }
.v6-home-door-go { padding-top:12px; margin-top:auto; font-size:15px; font-weight:600; color:var(--accent); }
.v6-home-door-go > span { margin-left:6px; }
.v6-home-solutions .v6-hask { margin-bottom:28px; }
.v6-home-solutions .v6-show { max-width:760px; }
@media (max-width:1100px) and (min-width:901px) { .v6-workshop-hero { gap:24px; } .v6-workbench { padding:18px; } .v6-work-sheet { padding:15px; } .v6-work-sheet.is-table { width:90%; } }
@media (max-width:900px) {
  #v6-home { display:flex; flex-direction:column; }
  #v6-strip { order:0; }
  .v6-workshop-hero { display:contents; }
  .v6-workshop-hero .v6-hero2-l { order:1; padding-top:24px; }
  .v6-home-doors { order:2; padding-top:28px; grid-template-columns:1fr; gap:12px; }
  .v6-workshop-hero > .v6-home-doors { padding-top:28px; }
  .v6-home-doors > a { padding:22px; gap:8px; }
  .v6-home-door-go { padding-top:4px; }
  .v6-workbench { order:3; margin-top:28px; }
  #v6-home-rest { order:4; }
}
@media (max-width:420px) {
  body.v6 .lesson-content .v6-page .v6-workshop-hero h1.v6-d.v6-home-h1 { font-size:26px !important; }
  .v6-workshop-hero .v6-hero2-l { gap:16px; }
  .v6-home-meaning { font-size:15px; }
  .v6-workbench { padding:18px; border-radius:12px; }
  .v6-work-sheet { padding:14px; }
  .v6-work-sheet b { font-size:15px; }
  .v6-work-sheet.is-document { width:78%; }
  .v6-work-sheet.is-table { width:94%; top:90px; }
  .v6-work-sheet.is-chat { width:87%; top:245px; left:0; }
  .v6-workbench-desk { height:445px; }
}
@media (max-width:720px) {
  .v6-home-doors { gap:10px; padding-top:24px; }
  .v6-workshop-hero > .v6-home-doors { padding-top:24px; }
  .v6-home-doors > a { display:grid; grid-template-columns:1fr auto; gap:4px 16px; padding:16px 20px; }
  .v6-home-door-kind { grid-column:1; font-size:12px; }
  body.v6 .lesson-content .v6-page .v6-home-doors h2 { grid-column:1; grid-row:2; font-size:22px !important; }
  .v6-home-doors p { display:none; }
  .v6-home-door-go { grid-column:2; grid-row:1 / span 2; align-self:center; padding:0; margin:0; font-size:0; }
  .v6-home-door-go > span { font-size:22px; }
}
.v6-hask { display:flex; flex-direction:column; gap:10px; max-width:560px; }
.v6-hask label { font-size:14px; font-weight:600; }
.v6-hask-row { display:flex; gap:6px; background:var(--surface); border-radius:10px; padding:6px; }
.v6-hask-row input { flex:1 1 auto; min-width:0; border:0; background:transparent; padding:0 14px; font:inherit; font-size:16px; color:var(--ink); min-height:48px; }
.v6-hask-row input:focus { outline:none; }
.v6-hask-row:focus-within { outline:3px solid var(--accent); outline-offset:2px; }
.v6-roleline { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; font-size:15px; margin:0; }
.v6-roleline span { color:var(--text-3); }
body.v6 .lesson-content .v6-page .v6-roleline a { color:var(--accent); font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.v6-show { background:var(--surface); border-radius:16px; padding:clamp(20px,3vw,30px); display:flex; flex-direction:column; gap:18px; min-width:0; box-sizing:border-box; }
.v6-tabs { display:flex; flex-wrap:wrap; gap:6px; }
.v6-tab { min-height:40px; padding:0 14px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.v6-tab[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:var(--on-ink); }
.v6-pill-s { font-size:12px; color:var(--text-3); padding:5px 10px; border:1px solid var(--line); border-radius:999px; white-space:nowrap; }
.v6-bars { display:flex; flex-direction:column; gap:14px; }
.v6-bar { display:flex; flex-direction:column; gap:6px; }
.v6-bar-h { display:flex; justify-content:space-between; font-size:15px; }
.v6-bar-v { font-variant-numeric:tabular-nums; }
.v6-bar.is-neg .v6-bar-v { color:var(--neg-text); }
.v6-bar-t { height:10px; border-radius:999px; background:#F4EFE3; display:block; }
.v6-bar-t i { display:block; height:10px; border-radius:999px; background:var(--accent-fill); }
.v6-bar.is-neg .v6-bar-t i { background:var(--neg-bar); }
.v6-ava.is-sq { flex:0 0 26px; width:26px; height:26px; border-radius:8px; font-size:13px; }
.v6-stars { font-size:13px; letter-spacing:2px; color:var(--accent); }
@media (max-width:900px) { .v6-hero2 { grid-template-columns:1fr; padding-top:32px; } }
@media (max-width:720px) {
  .v6-hero2 { gap:28px; padding-top:24px; }
  .v6-hero2-l { gap:18px; }
  body.v6 .lesson-content .v6-page h1.v6-d.v6-home-h1 { font-size:36px !important; line-height:1.08 !important; }
  .v6-hero2-lead { font-size:17px; line-height:1.45; }
  .v6-home-start { width:100%; box-sizing:border-box; font-size:17px; }
  .v6-hask-row .v6b { padding:0 18px; font-size:16px; }
  .v6-roleline { gap:8px 12px; }
}
/* главная v2: «Приносите задачу» и «Кто вы?» */
@media (max-width:1100px) { .v6-how, .v6-who2 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .v6-how, .v6-who2 { grid-template-columns:1fr; } }
@media (min-width:900px) { body.v6 .lesson-content .v6-page h2.v6-h2 { hyphens:manual !important; -webkit-hyphens:manual !important; } }
/* главная v2, этап 3 */
.v6-learn-facts { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; margin:0 0 24px; font-size:16px; color:var(--text-2); }
.v6-learn-facts b { color:var(--ink); font-family:var(--font-display); font-weight:800; }
.v6-learn-facts .v6b.is-soft { background:var(--surface); }
.v6-learn { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.v6 .lesson-content .v6-page a.v6-learn-c { display:grid; grid-template-columns:minmax(0,0.9fr) minmax(0,1fr); gap:20px; background:var(--surface); border-radius:14px; padding:12px; color:var(--ink); text-decoration:none; align-items:center; }
.v6-learn-img { display:block; aspect-ratio:1/1; border-radius:12px; overflow:hidden; background:var(--ground); }
.v6-learn-img img { width:100%; height:100%; object-fit:cover; display:block; }
.v6-learn-b { display:flex; flex-direction:column; gap:8px; padding:8px 8px 8px 0; }
.v6-learn-b b { font-family:var(--font-display); font-weight:800; font-size:24px; line-height:1.15; }
.v6-learn-b > span:not(.v6-meta):not(.v6-learn-go) { font-size:15px; line-height:1.5; color:var(--text-2); }
.v6-learn-go { font-weight:600; color:var(--accent); margin-top:4px; }
body.v6 .lesson-content .v6-page a.v6-learn-c:hover .v6-learn-go { text-decoration:underline; text-underline-offset:4px; }
.v6-learn-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }
body.v6 .lesson-content .v6-page a.v6-learn-s { display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--surface); border-radius:12px; padding:16px 20px; color:var(--ink); text-decoration:none; }
.v6-learn-s > span:first-child { display:flex; flex-direction:column; gap:4px; }
.v6-learn-s b { font-family:var(--font-display); font-weight:800; font-size:17px; }
body.v6 .lesson-content .v6-page a.v6-chip2, .v6-chip2 { display:inline-flex; align-items:center; min-height:44px; padding:0 18px; border-radius:999px; background:var(--ground); color:var(--ink); font-weight:600; text-decoration:none; }
body.v6 .lesson-content .v6-page a.v6-chip2:hover { background:var(--accent-tint); color:var(--accent); }
.v6-chip2.is-more { background:transparent; border:1.5px dashed var(--line); color:var(--text-2); font-weight:500; }
@media (max-width:900px) { .v6-learn, .v6-learn-row, .v6-meth2, .v6-newsco { grid-template-columns:1fr; } }
@media (max-width:600px) { body.v6 .lesson-content .v6-page a.v6-learn-c { grid-template-columns:1fr; } .v6-learn-b { padding:4px 8px 8px; } }
/* поле подбора задачи на странице «Задачи» (стили вернул после чистки главной) */
.v6-ask { display:flex; gap:8px; padding:8px; background:var(--surface); border-radius:12px; max-width:580px; margin-top:32px; box-sizing:border-box; }
.v6-ask label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.v6-ask input { flex:1; min-width:0; border:0; background:transparent; border-radius:0; padding:0 16px; height:56px; min-height:56px; font:inherit; font-size:18px; color:var(--ink); }
.v6-ask input::placeholder { color:var(--text-3); }
.v6-ask .v6b { height:56px; padding:0 26px; border-radius:10px; font-size:18px; }
@media (max-width:720px) { .v6-ask { flex-direction:column; } .v6-ask .v6b { width:100%; } }

/* иллюстрации 05.10: «Для компаний» в тёмном блоке, «Тетрадь», обложка урока, который пишется */
.v6-companies.has-art { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; row-gap:24px; padding:48px 56px; }
.v6-co-art { grid-row:1 / span 2; }
.v6-co-art img { width:100%; aspect-ratio:3 / 2; object-fit:cover; border-radius:12px; display:block; }
.v6-art.v6-sec-art { width:360px; height:auto; aspect-ratio:3 / 2; margin:0; border-radius:16px; }
.v6-draft-art img { width:100%; max-width:360px; aspect-ratio:3 / 2; object-fit:cover; border-radius:12px; display:block; margin:0 0 20px; }
@media (max-width:720px) {
  .v6-companies.has-art { grid-template-columns:1fr; padding:28px 24px; }
  .v6-co-art { grid-row:auto; }
  .v6-art.v6-sec-art { width:100%; order:-1; }
}

/* схема главного пути: рельс вместо картинки (05.10) */
.v6-scheme { height:auto; border:0; background:none; display:block; padding:8px 0 0; text-align:left; }
.v6-rail { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:20px; position:relative; }
.v6-rail::before { content:''; position:absolute; left:10px; right:10px; top:10px; height:2px; background:#D8D1C1; }
.v6-rail-n { position:relative; display:flex; flex-direction:column; gap:6px; padding-top:36px; font-size:15px; line-height:1.4; }
.v6-rail-n b { font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--text-1, #16161A); }
.v6-rail-d { position:absolute; top:0; left:0; width:22px; height:22px; border-radius:50%; background:var(--surface); border:2px solid #D2CBBB; box-sizing:border-box; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--text-3); }
.v6-rail-n.is-done .v6-rail-d { background:var(--accent-tint); border-color:#FFF1C9; }
.v6-rail-n.is-now .v6-rail-d { background:var(--accent); border-color:#8A6410; box-shadow:0 0 0 6px rgba(31,47,92,.14); }
.v6-rail-n.is-now .v6-meta { color:var(--accent); font-weight:600; }
.v6-rail-n:not(.is-now):not(.is-done) b { color:var(--text-2); }
.v6-rail-m, .v6-rail-br { color:var(--text-2); }
.v6-rail-br { font-size:14px; color:var(--text-3); }
.v6-rail-br a, .v6-rail-n.is-world b a { color:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-color:#D2CBBB; }
.v6-rail-n.is-world { border:2px solid #16161A; border-radius:12px; padding:36px 16px 16px; margin-top:-8px; background:var(--surface); }
.v6-rail-n.is-world .v6-rail-d { top:12px; left:16px; border-radius:6px; border-color:#16161A; }
@media (max-width:720px) {
  .v6-rail { grid-template-columns:1fr; gap:22px; }
  .v6-rail::before { left:10px; right:auto; top:10px; bottom:10px; width:2px; height:auto; }
  .v6-rail-n { padding:0 0 0 38px; }
  .v6-rail-n.is-world { padding:14px 16px 16px 46px; margin:0; }
  .v6-rail-n.is-world .v6-rail-d { top:16px; left:14px; }
}
.v6-pmain > .v6-scheme { grid-column:1 / -1; padding-top:32px; border-top:1px solid var(--line); margin-top:8px; }
@media (min-width:1000px) { .v6-rail { grid-template-columns:repeat(6, minmax(0, 1fr)); } }
.v6-pmain:has(> .v6-scheme) { grid-template-columns:1fr; }
.v6-show:empty { min-height:520px; }
@media (max-width:900px) { .v6-show:empty { min-height:0; } }

/* стадии бренда (перенесено из Stage 06.10) */
.v6-bs-checkw { padding:32px; display:flex; flex-direction:column; gap:14px; }
.v6-bs-intro { margin:0; color:var(--text-2); max-width:680px; }
#v6-bs-check { display:flex; flex-direction:column; gap:16px; align-items:flex-start; border-top:1px solid var(--line); padding-top:22px; margin-top:6px; }
#v6-bs-check .v6-h3 { margin:0; max-width:720px; }
.v6-bs-opts { display:flex; flex-wrap:wrap; gap:10px; }
.v6-bs-opts .v6b small { font-weight:400; color:var(--text-3); margin-left:6px; }
.v6-bs-res { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; width:100%; }
.v6-bs-res > div { background:var(--ground, #FBF8F1); border-radius:12px; padding:18px 20px; display:flex; flex-direction:column; gap:4px; }
.v6-bs-res b { font-family:var(--font-display); font-weight:800; font-size:26px; }
.v6-bs-res small { color:var(--text-3); font-size:14px; }
.v6-bs-gap { border-radius:12px; padding:18px 20px; background:var(--accent-tint); width:100%; box-sizing:border-box; }
.v6-bs-gap.is-risk { background:#F6E7DD; }
.v6-bs-gap.is-risk b { color:#A3470F; }
.v6-bs-gap p { margin:6px 0 0; }
.v6-bs-weak { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; width:100%; }
.v6-bs-weak li { display:flex; flex-direction:column; gap:4px; padding:14px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.v6-bs-list { display:flex; flex-direction:column; gap:12px; }
.v6-bs-st { background:var(--surface, #fff); border-radius:12px; }
.v6-bs-st > summary { list-style:none; cursor:pointer; display:grid; grid-template-columns:auto minmax(0, 1.2fr) minmax(0, 1fr) auto; gap:20px; align-items:center; padding:22px 26px; }
.v6-bs-st > summary::-webkit-details-marker { display:none; }
.v6-bs-st > summary:focus-visible { outline:2px solid #8A6410; outline-offset:2px; border-radius:12px; }
.v6-bs-n { width:40px; height:40px; border-radius:50%; background:var(--accent-tint); display:flex; align-items:center; justify-content:center; font-weight:700; }
.v6-bs-st.is-here .v6-bs-n { background:var(--accent); color:var(--on-ink); }
.v6-bs-h { display:flex; flex-direction:column; gap:2px; }
.v6-bs-h b { font-family:var(--font-display); font-weight:800; font-size:21px; }
.v6-bs-h small, .v6-bs-tr { color:var(--text-3); font-size:15px; }
.v6-bs-body { padding:0 26px 28px 86px; display:flex; flex-direction:column; gap:18px; }
.v6-bs-about { margin:0; font-size:18px; line-height:1.55; color:var(--text-2); max-width:760px; }
.v6-bs-trap { border-left:3px solid #C2672E; padding:4px 0 4px 18px; display:flex; flex-direction:column; gap:4px; max-width:760px; }
.v6-bs-trap p { margin:0; color:var(--text-2); }
.v6-bs-acts { margin:0; padding-left:22px; display:flex; flex-direction:column; gap:18px; max-width:820px; }
.v6-bs-acts p { margin:4px 0 8px; color:var(--text-2); }
.v6-bs-ls { display:flex; flex-wrap:wrap; gap:8px; }
.v6-bs-l { display:inline-flex; gap:10px; align-items:center; padding:8px 14px; border-radius:8px; background:var(--ground); font-size:15px; color:inherit; text-decoration:none; }
a.v6-bs-l:hover { background:var(--accent-tint); }
.v6-bs-l .m { color:var(--text-3); font-size:13px; }
.v6-bs-l.is-soon { opacity:.6; }
.v6-bs-foot { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px; border-top:1px solid var(--line); padding-top:18px; }
.v6-bs-foot p { margin:4px 0 0; color:var(--text-2); }
.v6-bs-layers { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.v6-bs-layers .v6-card { padding:20px; display:flex; flex-direction:column; gap:6px; }
.v6-bs-layers p { margin:0; color:var(--text-2); font-size:15px; }
.v6-bs-cont { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin-top:16px; }
.v6-bs-c { background:var(--surface, #fff); border-radius:12px; padding:20px; display:flex; flex-direction:column; gap:6px; }
.v6-bs-c p { margin:0; color:var(--text-2); font-size:15px; }
.v6-bs-c small { color:var(--text-3); font-size:13px; }
@media (max-width:900px) {
  .v6-bs-st > summary { grid-template-columns:auto minmax(0, 1fr) auto; }
  .v6-bs-tr { display:none; }
  .v6-bs-body { padding:0 20px 24px; }
  .v6-bs-layers, .v6-bs-cont { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:600px) {
  .v6-bs-res, .v6-bs-foot, .v6-bs-layers, .v6-bs-cont { grid-template-columns:1fr; }
  .v6-bs-checkw { padding:22px; }
  .v6-bs-st > summary { padding:18px; gap:14px; }
}

/* «Для компаний»: внедрение системы бренда (пакеты из Stage, без цен) */
.v6-copk { list-style:none; margin:28px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.v6-copk-i { display:grid; grid-template-columns:auto minmax(0, 1fr) 200px; gap:22px; align-items:start; background:var(--surface, #fff); border-radius:12px; padding:22px 24px; }
.v6-copk-i.is-free { background:var(--accent-tint); }
.v6-copk-n { width:36px; height:36px; border-radius:50%; background:var(--ground); display:flex; align-items:center; justify-content:center; font-weight:700; }
.v6-copk-i.is-free .v6-copk-n { background:var(--accent); color:var(--on-ink); }
.v6-copk-b b { font-family:var(--font-display); font-weight:800; font-size:20px; }
.v6-copk-b p { margin:6px 0 0; color:var(--text-2); max-width:640px; }
.v6-copk-b .v6-copk-r { color:var(--text-1, #16161A); font-weight:500; }
.v6-copk-m { display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.v6-copk-m small { color:var(--text-3); font-size:13px; line-height:1.4; }
.v6-copk-m .v6b { margin-top:6px; }
@media (max-width:760px) { .v6-copk-i { grid-template-columns:auto minmax(0, 1fr); } .v6-copk-m { grid-column:2; } }
.v6-learn-row { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.v6-learn-s.is-ready > .v6-meta:last-child { color:var(--accent); font-weight:600; white-space:nowrap; }
@media (max-width:900px) { .v6-learn-row { grid-template-columns:1fr; } }

/* главная: второй вход в обучение в первом экране */
.v6-hlearn { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:22px; padding:16px 18px; border-radius:12px; background:var(--surface, #fff); }
.v6-hlearn > span:first-child { display:flex; flex-direction:column; gap:2px; }
.v6-hlearn b { font-size:16px; }

/* первый экран плотнее, чтобы вход в обучение помещался на экране 900 px */
@media (min-width:901px) {
  body.v6 .lesson-content .v6-page .v6-hero2 { padding-top:28px; }
  body.v6 .lesson-content .v6-page .v6-hero2-l { gap:16px; }
  body.v6 .lesson-content .v6-page h1.v6-d.v6-home-h1 { font-size:clamp(40px, 4.5vw, 62px) !important; }
  .v6-hlearn { flex-wrap:nowrap; margin-top:2px; padding:12px 14px 12px 18px; }
  .v6-hlearn .v6-btns { flex-wrap:nowrap; flex-shrink:0; }
}
@media (min-width:901px) { .v6-hlearn > span:first-child { min-width:0; } .v6-hlearn .v6-meta { font-size:14px; } }
/* подзаголовки метода на «Стадиях бренда»: общее правило обнуляет margin у заголовков, поэтому отступ здесь с !important */
body.v6 .lesson-content .v6-page h3.v6-bs-sub { margin:64px 0 8px !important; }
body.v6 .lesson-content .v6-page .v6-bs-layers + h3.v6-bs-sub { margin-top:56px !important; }

/* Знания → Инструменты */
.v6-tools-lead { margin:0 0 8px; color:var(--text-2); font-size:17px; max-width:720px; }
.v6-toolg { margin-top:36px; }
body.v6 .lesson-content .v6-page .v6-toolg h2.v6-h3 { margin:0 0 14px !important; display:flex; align-items:baseline; gap:10px; }
.v6-tools { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
body.v6 .lesson-content .v6-page a.v6-tool { display:flex; flex-direction:column; gap:6px; background:var(--surface, #fff); border-radius:12px; padding:18px 20px; color:inherit; text-decoration:none; }
body.v6 .lesson-content .v6-page a.v6-tool:hover { box-shadow:0 0 0 2px #FFF1C9; }
.v6-tool b { font-family:var(--font-display); font-weight:800; font-size:18px; line-height:1.2; }
.v6-tool p { margin:0; color:var(--text-2); font-size:15px; }
.v6-tool small { color:var(--text-3); font-size:13px; margin-top:auto; }
@media (max-width:900px) { .v6-tools { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:600px) { .v6-tools { grid-template-columns:1fr; } }
.v6-uhead > .v6-eyebrow { align-self:flex-start; }
body.v6 .lesson-content .v6-page .v6-gate-t { hyphens:manual !important; -webkit-hyphens:manual !important; }
/* калькуляторы: подписи разной длины, поле ввода прижато к низу ячейки, все поля в ряду на одной линии */
.v6-calc-in label { justify-content:space-between; }
.v6-calc-in label > span { flex:none; }

/* калькулятор: несколько результатов и заметный блок формул */
.v6-calc-res { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap:12px; }
.v6-calc-r { display:flex; flex-direction:column; gap:4px; background:var(--surface, #fff); border-radius:10px; padding:14px 16px; }
.v6-calc-r span { font-size:15px; color:var(--text-2); }
.v6-calc-r b { font-family:var(--font-display); font-weight:800; font-size:26px; letter-spacing:-0.02em; color:var(--ink); }
.v6-calc-r.is-main b { font-size:40px; }
.v6-calc-fx { border-top:1px solid #DDE1EA; padding-top:12px; }
.v6-calc-fx ul { margin:6px 0 0; padding-left:18px; display:flex; flex-direction:column; gap:4px; }
.v6-calc-fx li { font-size:15px; color:var(--text-2); }

/* пока страница грузит данные, подвал не должен мелькать на первом экране и потом прыгать вниз (CLS) */
body.v6 .lesson-content .v6-page { min-height:100vh; }
.v6-copk-i.is-free .v6-meta { color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-calc-page a, body.v6 .lesson-content .v6-page .v6-tools-lead a { color:var(--text-2); text-decoration:underline; text-underline-offset:3px; }
/* главная: «Попробуйте, пока читаете» — промпт собирается в браузере */
@media (max-width:900px) { .v6-try { grid-template-columns:1fr; } }
/* витрина первого экрана: анимация сборки (главная v2, этап 1) */
@media (hover:none) { .v6-vx-hint { display:none; } }
/* главная v2, этап 3: «Больше, чем задача» и «Кто это собирает» */
.v6-more { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.v6-author { display:grid; grid-template-columns:auto minmax(0,1fr); gap:40px 56px; align-items:center; background:var(--surface); border-radius:16px; padding:clamp(20px,3vw,32px); }
.v6-author-img { width:clamp(280px,28vw,360px); height:auto; border-radius:12px; display:block; }
.v6-author-t { display:flex; flex-direction:column; gap:14px; max-width:620px; }
body.v6 .lesson-content .v6-page .v6-author-t h2 { margin:0 !important; }
body.v6 .lesson-content .v6-page .v6-author-t h3 { font-family:var(--font-display) !important; font-weight:700 !important; font-size:20px !important; margin:10px 0 0 !important; }
body.v6 .lesson-content .v6-page .v6-author-t p { margin:0; font-size:18px; line-height:1.55; color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-author-t a { color:var(--accent); font-weight:600; text-decoration:underline; text-underline-offset:4px; }
@media (max-width:900px) { .v6-more { grid-template-columns:1fr; } .v6-author { grid-template-columns:1fr; } .v6-author-img { width:280px; } }
/* пока данные главной грузятся, футер не должен мелькать на первом экране и потом уезжать (CLS) */
.js #v6-home-rest:empty { min-height:100vh; }
/* старые ссылки разделов в шапке — только метки для подсветки (setActiveTopNav); старый CSS включал их display:flex !important, и Tab попадал в шесть пустых ссылок */
.v6h .top-nav-links { display:none !important; }

/* ---------- Для компаний, этап 5: пилот, Telegram с первой фразой, аудит отдела ---------- */
.v6-co-price { margin:16px 0 0; font-size:18px; color:var(--text-3); }
.v6-co-price b { font-family:var(--font-display); font-weight:800; font-size:28px; color:var(--ink); }
.v6-co-tg { display:flex; flex-direction:column; gap:10px; margin-top:16px; padding:16px 18px; border-radius:12px; background:var(--ground, #FBF8F1); }
.v6-co-tg.is-dark { background:rgba(255,255,255,.08); }
.v6-co-tg.is-dark .v6-meta { color:#D2CBBB; }
.v6-co-phrase { margin:0; font-size:16px; line-height:1.5; }
.v6-co-more > summary { cursor:pointer; list-style:none; display:flex; flex-direction:column; gap:6px; padding:20px 0; border-top:1px solid var(--line, var(--line)); border-bottom:1px solid var(--line, var(--line)); }
.v6-co-more > summary::-webkit-details-marker { display:none; }
.v6-co-more > summary .v6-h3 { margin:0; }
.v6-co-more > summary .v6-h3::after { content:" +"; color:var(--text-3); }
.v6-co-more[open] > summary .v6-h3::after { content:" −"; }
.v6-ca-form { display:flex; flex-direction:column; gap:28px; align-items:flex-start; }
.v6-ca-g { border:0; margin:0; padding:0; width:100%; }
.v6-ca-g legend { padding:0; margin-bottom:8px; }
.v6-ca-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 0; border-bottom:1px solid var(--line, var(--line)); }
.v6-ca-l { display:flex; gap:10px; align-items:flex-start; cursor:pointer; flex:1; }
.v6-ca-l input { width:20px; height:20px; margin-top:2px; flex:none; accent-color:var(--accent); }
.v6-ca-h { display:flex; gap:8px; align-items:center; flex:none; }
.v6-ca-h input { width:72px; height:40px; padding:0 10px; border:1px solid var(--line, #D6D9E0); border-radius:8px; font:inherit; font-size:16px; }
.v6-ca-sum { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-top:32px; }
.v6-ca-sum > div { background:var(--ground, #FBF8F1); border-radius:12px; padding:18px 20px; display:flex; flex-direction:column; gap:4px; }
.v6-ca-sum b { font-family:var(--font-display); font-weight:800; font-size:26px; }
.v6-ca-sum small { color:var(--text-3); font-size:14px; }
.v6-ca-map { list-style:none; margin:12px 0 0; padding:0; }
.v6-ca-map li { display:grid; grid-template-columns:110px minmax(0, 1fr) auto; gap:16px; align-items:center; padding:14px 0; border-bottom:1px solid var(--line, var(--line)); }
.v6-ca-map li span b { display:block; }
.v6-ca-map li span small { color:var(--text-3); }
.v6-ca-hh { font-family:var(--font-display); font-weight:800; }
@media (max-width: 640px) {
  .v6-ca-row { flex-direction:column; align-items:flex-start; gap:8px; }
  .v6-ca-sum { grid-template-columns:1fr; }
  .v6-ca-map li { grid-template-columns:1fr; gap:6px; }
}
.v6-newstop { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 24px; margin:8px 0 0; padding:16px 20px; border-radius:12px; background:var(--surface); }
.v6-newstop-i { display:inline-flex; gap:8px; align-items:baseline; }
.v6-newstop-i a { color:inherit; font-weight:600; text-decoration:underline !important; text-underline-offset:3px; }
.v6-newstop-i small { color:var(--text-3); }
.v6-newstop > .v6-link { margin-left:auto; }
.v6-ubuiltin { margin:20px 0 0; padding:14px 18px; border-radius:10px; background:var(--surface); font-size:15px; line-height:1.5; max-width:760px; }
.v6-ubuiltin a { color:inherit; text-decoration:underline; text-underline-offset:3px; }

/* плашка «Если вы в России» под заголовком урока (LESSON_NOTICES в index.html) */
.lesson-notice { margin: 16px 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--accent-tint); border: 1px solid var(--line); color: var(--ink); font-size: 15px; line-height: 1.5; }
.lesson-notice b { display: block; margin-bottom: 4px; }
.lesson-notice p { margin: 6px 0 0; }

/* Иллюстрации без коробки (25.11): у картинок свой светлый фон с шумом, на фоне страницы он читался прямоугольником.
   В шапках разделов плашку убираем, края картинки растворяются маской. Карточки путей и ролей остаются в рамке. */
.v6-art.v6-phero-art, .v6-art.v6-icon-art, .v6-art.v6-sec-art { background:transparent; border-radius:0; }
.v6-art.v6-phero-art img, .v6-art.v6-icon-art img, .v6-art.v6-sec-art img { object-fit:contain; } /* линейные SVG (04.12): маска для 3D-фона больше не нужна */
.v6-art.v6-icon-art { width:300px; height:300px; }
.v6-art.v6-icon-art img { transform:none; object-fit:contain; }
@media (max-width:720px) { .v6-art.v6-icon-art { width:200px; height:200px; } }

/* ===== Тихая типографика (26.11, вариант Б): тот же Montserrat, 700 вместо 800–900, шкала 40 / 36 / 28 / 20.
   Слой в конце файла перекрывает прежние размеры; новые экраны строить сразу на этих значениях. ===== */
body.v6 .lesson-content .v6-page h1.v6-d,
body.v6 .lesson-content .v6-phero h1.v6-d,
body.v6 .lesson-content .v6-thero h1.v6-d,
body.v6 .lesson-content .v6-page h1.v6-d.v6-home-h1 { font-size:clamp(30px,3.2vw,40px) !important; font-weight:700 !important; line-height:1.1 !important; letter-spacing:-0.02em !important; text-wrap:balance; }
body.v6 .lesson-content .v6-lsheet h1 { font-size:clamp(28px,2.8vw,36px) !important; font-weight:700 !important; line-height:1.12 !important; letter-spacing:-0.02em !important; text-wrap:balance; hyphens:manual !important; -webkit-hyphens:manual !important; }
body.v6 .lesson-content .v6-page h2.v6-h2,
body.v6 .lesson-content .v6-page .v6c:not(#v6-home) h2.v6-h2,
body.v6 .lesson-content .v6-page h2.v6-pmain-h,
body.v6 .lesson-content .v6-page h2.v6-psec-h { font-size:clamp(24px,2.2vw,28px) !important; font-weight:700 !important; line-height:1.15 !important; letter-spacing:-0.015em !important; }
body.v6 .lesson-content .v6-lsheet h2 { font-size:24px !important; font-weight:700 !important; letter-spacing:-0.01em !important; }
body.v6 .lesson-content .v6-lsheet h3 { font-size:19px !important; font-weight:700 !important; }
body.v6 .lesson-content .v6-page h3.v6-h3,
body.v6 .lesson-content .v6-page .v6-task h3,
body.v6 .lesson-content .v6-page .v6-pcard h3,
body.v6 .lesson-content .v6-page .v6-way2 h3,
body.v6 .lesson-content .v6-page .v6-needs h3,
body.v6 .lesson-content .v6-page .v6-dir h3 { font-size:20px !important; font-weight:700 !important; letter-spacing:-0.01em !important; line-height:1.2 !important; }
body.v6 .lesson-content .v6-page .v6-ucard-t { font-size:clamp(22px,2vw,26px) !important; font-weight:700 !important; }
.v6-rolepath-t, .v6-pathc-t, .v6-fwhead-t, .v6-gate-t, .v6-mile-t { font-size:22px; font-weight:700; }
.v6-trail-t, .v6-fw-t, .v6-prep-h, .v6-kit-h, .v6-soonbox-t, .v6-learn-b b { font-size:19px; font-weight:700; }
.v6-next-t { font-size:clamp(22px,2.4vw,30px); font-weight:700; }
body.v6 .lesson-content .v6-page .v6-step-t, .v6-nbitem-t, .v6-nbday, .v6-lside-t, .v6-resume b { font-weight:700; }
.v6-calc-n { font-size:36px; font-weight:700; }


/* ===== Урок как книга (26.11): колонка чтения по центру, поля вместо карточек, один вход к Алёше, заметка в нижней полосе ===== */
@media (min-width:1101px) {
  .v6-lgrid { grid-template-columns:200px minmax(0,680px) 220px; justify-content:center; gap:48px; padding-top:48px; }
  .v6-lside, .v6-lright { top:calc(var(--header) + 24px); }
}
@media (max-width:1100px) and (min-width:761px) { .v6-lgrid { grid-template-columns:minmax(0,680px) 220px; justify-content:center; gap:40px; } }
.v6-lside { background:transparent; padding:0; border-radius:0; }
.v6-lside-l { padding:0 0 4px; font-size:13px; }
.v6-lside-t { padding:0 0 12px; font-size:17px; font-weight:700; }
.v6-lside .v6-lstep { padding:7px 0; border-radius:0; font-size:14px; }
.v6-lside .v6-lstep.is-now { background:transparent; color:var(--accent); font-weight:600; }
.v6-lside-f { padding:12px 0 0; }
.v6-lsheet { background:transparent; padding:0; border-radius:0; }
body.v6 .lesson-content .v6-lsheet p, body.v6 .lesson-content .v6-lsheet li { font-size:17.5px; line-height:1.72; }
.v6-lright { gap:20px; }
body.v6 .lesson-content .v6-ltoc { background:transparent !important; padding:0 !important; border-radius:0 !important; }
body.v6 .lesson-content .v6-ltoc a { font-size:14px !important; padding:5px 0 !important; }
.v6-lright .v6-note { background:transparent; border:0; border-left:2px solid var(--accent); border-radius:0; padding:4px 0 4px 12px; box-shadow:none; font-size:14px; color:var(--text-2); text-align:left; }
.v6-lright .v6-note .v6-ava { width:26px; height:26px; font-size:12px; flex:none; }
.v6-lnote-btn { margin-left:16px; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:7px 13px; font:500 14px/1 var(--font-body); color:var(--ink); cursor:pointer; }
.v6-lnote-btn[aria-expanded="true"] { background:var(--accent-tint); border-color:transparent; }
.v6-lnote-pop { border-bottom:1px solid var(--line); padding:14px 0; background:var(--surface); }
.v6-lnote-pop[hidden] { display:none; }
.v6-lnote-pop .v6-lnote-h { display:flex; gap:10px; align-items:baseline; margin-bottom:8px; font-size:14px; }
.v6-lnote-pop textarea { width:100%; min-height:96px; border:1px solid var(--line); border-radius:10px; padding:12px; font:inherit; font-size:15px; resize:vertical; background:var(--ground); }
/* на компьютере Алёша есть в шапке и на полях урока: круглую кнопку не показываем */
@media (min-width:981px) { body.v6 .alesha-widget.is-lesson:not(.is-open) { display:none !important; } }
@media (max-width:760px) { .v6-lbar-l .v6-ldots { display:none; } .v6-lnote-btn { margin-left:8px; } }
/* телефон: в нижней полосе оставляем только кнопку заметки слева; содержание урока затухает, а не режется */
/* кнопка заметки: на компьютере в нижней полосе, на телефоне в конце урока рядом с Алёшей */
.v6-lnote-m { display:none; }
@media (max-width:760px) { .v6-lnote-m { display:inline-block; align-self:flex-start; margin-left:0; } }
body.v6 .lesson-content .v6-ltoc { -webkit-mask-image:linear-gradient(#000 calc(100% - 40px), transparent); mask-image:linear-gradient(#000 calc(100% - 40px), transparent); padding-bottom:24px !important; }

/* ===== Разделы на один лист (26.11): тёмные плиты-ссылки становятся светлыми строками с синей чертой ===== */
body.v6 .lesson-content .v6-page a.v6-next.v6-dark,
.v6-dark.v6-dark-row { background:var(--surface) !important; color:var(--ink) !important; border-left:3px solid var(--accent); border-radius:12px; padding:24px 28px; }
a.v6-next.v6-dark::before, .v6-dark.v6-dark-row::before { display:none; }
a.v6-next.v6-dark .v6-next-l, .v6-dark.v6-dark-row .v6-meta { color:var(--text-3) !important; }
a.v6-next.v6-dark .v6-next-t, .v6-dark.v6-dark-row h2, .v6-dark.v6-dark-row h3 { color:var(--ink) !important; font-size:clamp(20px,2vw,24px); }
a.v6-next.v6-dark .v6-next-p, .v6-dark.v6-dark-row p { color:var(--text-2) !important; font-size:16px; }
body.v6 .lesson-content .v6-page a.v6-next.v6-dark:hover { border-left-color:var(--accent); box-shadow:0 8px 24px -16px rgba(31,47,92,.35); }
body.v6 .v6-pill[aria-pressed="true"]{background:var(--ink) !important;border-color:var(--ink) !important;color:var(--on-ink) !important}

/* ===== Проход по телефону 26.11 ===== */
/* «мягкая» кнопка видна на сером фоне: белая с тонкой рамкой (раньше фон совпадал со страницей) */
.v6b.is-soft { background:var(--surface); border:1px solid var(--line); }
/* без чёрных плит: блоки-двери («Тетрадь только в этом браузере», «Как обучить команду») — светлые с синей чертой */
.v6-tdoor { background:var(--surface); color:var(--ink); border-left:3px solid var(--accent); font-size:16px; }
.v6-tdoor span { color:var(--text-2); }
body.v6 .lesson-content .v6-page .v6-tdoor a { color:var(--accent); }
.v6-tdoor .v6b.is-white { background:var(--ink); color:#fff; border:0; }
.v6-tdoor .v6-nbload { background:var(--surface); color:var(--ink); border:1px solid var(--line); }
.v6-tdoor .v6-nbreset { color:var(--text-3); }

/* Почитать (27.11): полка лонгридов — #reads и блок «Об Артефактах» на главной */
.v6-readgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap:24px; align-items:stretch; }
body.v6 .lesson-content .v6-page .v6-readc { background:var(--surface); border-radius:16px; padding:12px; display:flex; flex-direction:column; color:var(--ink); text-decoration:none; min-width:0; }
.v6-readc-img { display:block; aspect-ratio:3 / 2; border-radius:12px; background:var(--ground); overflow:hidden; }
.v6-readc-img img { width:100%; height:100%; object-fit:contain; display:block; }
.v6-readc-in { display:flex; flex-direction:column; gap:10px; padding:18px 12px 12px; flex:1; }
.v6-readc-t { font-family:var(--font-display); font-size:22px; font-weight:800; letter-spacing:-0.015em; line-height:1.15; }
.v6-readc-p { font-size:16px; line-height:1.5; color:var(--text-2); }
.v6-readc-m { margin-top:auto; padding-top:6px; font-size:var(--fs-meta); color:var(--text-3); }
body.v6 .lesson-content .v6-page a.v6-readc:hover .v6-readc-t { color:var(--accent); }
body.v6 .lesson-content .v6-page .v6-readc.is-soon { background:transparent; border:1.5px dashed var(--line); }
.v6-readc.is-soon .v6-readc-img { opacity:.45; }
.v6-readshelf .v6-sec-head { margin-bottom:24px; }
/* ---------- «Где сайт теряет деньги» и образец разбора (#co-leaks, #companies-sample) ---------- */
.v6-leaks { display:grid; grid-template-columns:minmax(0, 3fr) minmax(0, 2fr); gap:40px; align-items:start; }
.v6-leaks p { margin:12px 0 0; }
.v6-leaks-l { list-style:none; margin:20px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; counter-reset:lk; }
.v6-leaks-l li { display:grid; grid-template-columns:28px 1fr; column-gap:12px; counter-increment:lk; }
.v6-leaks-l li::before { content:counter(lk); grid-row:span 2; width:28px; height:28px; border-radius:50%; background:var(--ground, #FBF8F1); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; }
.v6-leaks-l span { color:var(--text-2); font-size:16px; }
.v6-smp-note { margin:16px 0 0; padding:12px 16px; border-radius:10px; background:#F6E7DD; color:#5A2A0A; font-size:16px; }
.v6-smp-facts { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; }
.v6-smp-facts > div { background:var(--surface); border-radius:12px; padding:18px 20px; display:flex; flex-direction:column; gap:4px; }
.v6-smp-facts b { font-size:17px; line-height:1.4; }
.v6-smp-sum { list-style:none; margin:24px 0 0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }
.v6-smp-sum .v6-card { padding:24px; display:flex; flex-direction:column; gap:10px; }
.v6-smp-sum p { margin:0; }
.v6-smp-sum small { color:var(--text-3); font-size:14px; line-height:1.45; }
.v6-smp-sh { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:8px; }
.v6-smp-sh b { font-size:18px; }
.v6-smp-st { display:inline-flex; align-items:center; min-height:26px; padding:0 10px; border-radius:var(--r-pill, 999px); font-size:13px; font-weight:600; white-space:nowrap; }
.v6-smp-st.is-ok { background:#DDEFE3; color:#1E5B33; }
.v6-smp-st.is-check { background:#F6E7DD; color:#8A3A0C; }
.v6-smp-b { margin-top:16px; }
.v6-smp-b h3 { margin-top:6px !important; }
.v6-smp-rows { list-style:none; margin:16px 0 0; padding:0; }
.v6-smp-rows li { display:grid; grid-template-columns:120px minmax(0, 1fr) minmax(0, 1fr); gap:16px; align-items:start; padding:16px 0; border-top:1px solid var(--line, #E8E2D5); }
.v6-smp-rows p { margin:0; }
.v6-smp-do { display:flex; flex-direction:column; gap:8px; font-size:15px; }
.v6-smp-do > span { display:flex; flex-direction:column; gap:2px; }
.v6-smp-mini textarea { min-height:72px; }
.v6-smp-mini p { margin:10px 0 16px; }
@media (max-width:900px) {
  .v6-leaks, .v6-smp-sum { grid-template-columns:minmax(0, 1fr); }
  .v6-smp-facts { grid-template-columns:1fr 1fr; }
  .v6-smp-rows li { grid-template-columns:1fr; gap:8px; }
  .v6-smp-rows .v6-smp-st { justify-self:start; }
}
@media (max-width:520px) { .v6-smp-facts { grid-template-columns:minmax(0, 1fr); } .v6-leaks { gap:20px; padding:22px 18px; } .v6-leaks .v6-btns .v6b { white-space:normal; height:auto; min-height:44px; text-align:left; } }

/* ===== Система 29.11 (DESIGN.md §5–6): единые кнопки, карточки, отступы. Первая страница по ней — «Для бизнеса» (#v6-co). ===== */
/* кнопки: углы 10 у всех, высоты 56 / 44; текстовая кнопка — третий вид */
.v6b.is-sm { border-radius:var(--r-sm); }
.v6b.is-text { background:none; color:var(--accent); padding:0 8px; border:0; }
.v6-page a.v6b.is-text { color:var(--accent) !important; }
.v6b.is-text:hover { text-decoration:underline !important; text-underline-offset:3px; }
/* карточка: поля 24, высота по тексту */
#v6-co .v6-task { min-height:0; padding:24px; gap:8px; border-radius:var(--r-md); }
#v6-co .v6-task > p { font-size:16px; line-height:1.55; }
#v6-co .v6-task .v6b { margin-top:12px; }
#v6-co .v6-grid2, #v6-co .v6-grid3 { gap:16px; }
/* разделы: 64 / 48 между ними */
#v6-co .v6-psec { padding-bottom:64px; }
#v6-co > .v6-sec { margin:0 0 64px; }
#v6-co .v6-phero { padding-bottom:64px; }
/* заголовок раздела и содержимое: один зазор 24 (gap у .v6-psec), без добавочных отступов */
#v6-co .v6-psec > .v6-grid2, #v6-co .v6-psec > .v6-grid3, #v6-co .v6-psec > ol.v6-copk { margin-top:0 !important; }
#v6-co .v6-sec-head { margin:0 !important; }
#v6-co .v6-sec-head > div { flex:1; }
#v6-co .v6-sec-head .v6-meta { max-width:640px; }
/* шаги пилота и пакеты — по общему левому краю */
.v6-page ol.v6-copk { margin-left:0; }
/* короткие факты строкой с линией сверху */
.v6-facts { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:32px; margin-top:12px; }
.v6-facts > div { border-top:2px solid var(--accent); padding-top:12px; display:flex; flex-direction:column; gap:4px; }
.v6-facts p { margin:0; font-size:16px; line-height:1.55; color:var(--text-2); }
/* безопасность: ссылка «→» и подпись в строку */
.v6-co-safe-l { display:flex; flex-wrap:wrap; gap:8px 24px; align-items:baseline; }
/* тёмная панель — одна на сайт, обращение к Руслану: главная кнопка белая, вторая в белой рамке, обе 56 */
.v6-co-tg.is-dark .v6b.is-accent, body.v6 .lesson-content .v6-companies a.v6b.is-accent { background:#fff; color:var(--ink) !important; height:var(--h-btn); padding:0 24px; font-size:18px; }
.v6-co-tg.is-dark .v6b.is-soft { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.5); }
.v6-co-tg.is-dark .v6b.is-soft:hover { border-color:#fff; }
.v6-companies .v6-meta { font-size:14px !important; }
@media (max-width:720px) {
  .v6-facts { grid-template-columns:minmax(0,1fr); gap:16px; }
  #v6-co .v6-psec { padding-bottom:48px; }
  #v6-co > .v6-sec { margin-bottom:48px; }
}

/* тёмная панель: линейный рисунок (тёмные линии) стоит на кремовой карточке, иначе линии теряются в панели */
.v6-co-art { background:var(--ground); border-radius:18px; padding:16px; }
.v6-co-art img { display:block; width:100%; height:auto; }

/* ===== Система 29.11 — общий слой для всего приложения (DESIGN.md §6). Скругления: 10 мелкое, 12 карточки, 18 панели ===== */
.v6-learn-c, .v6-art, .v6-fw, .v6-pathc, .v6-readc, .v6-trail, .v6-neigh, .v6-tdoor, .v6-pcard, .v6-task { border-radius:12px !important; }
.v6-card, .v6-author, .v6-nbempty, .v6-ucard, .v6-dark { border-radius:18px !important; }
.v6-role-thumb, .kd-nt-i { border-radius:10px !important; }
.v6b.v6-btn-xl { height:var(--h-btn); font-size:18px; }
body.v6 .lesson-content .v6-page h2.v6-ucard-t { font-size:clamp(24px,2.2vw,28px) !important; font-weight:700 !important; }
body.v6 .lesson-content .v6-lsheet h1 { font-size:clamp(30px,3.2vw,40px) !important; }
body.v6 .lesson-content .v6-lsheet h2 { font-size:clamp(24px,2.2vw,28px) !important; }
body.v6 .lesson-content .v6-lsheet h3 { font-size:20px !important; }
.lesson-meta { border-radius:10px !important; }
/* тёмная панель: на телефоне те же 18 */
@media (max-width:720px) { .v6-dark { border-radius:18px !important; } }
.v6-leaks > div:last-child { position:sticky; top:100px; }
body.v6 .lesson-content .v6-page .v6-termrow h3 { font-size:20px !important; font-weight:700 !important; }
/* «Все N →» — один вид везде: синяя, жирная, без подчёркивания; подчёркивание при наведении */
body.v6 .lesson-content .v6-sec-head .v6-link, body.v6 .lesson-content .v6-page a.v6-link { color:var(--accent) !important; font-weight:600; text-decoration:none !important; }
body.v6 .lesson-content .v6-sec-head .v6-link:hover, body.v6 .lesson-content .v6-page a.v6-link:hover { color:var(--accent) !important; text-decoration:underline !important; text-underline-offset:4px; }
.v6-trails { grid-template-columns:repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap:16px; }

/* Раскрывающаяся строка (29.11, DESIGN.md): справа подпись и стрелка вниз, при открытии стрелка вверх; рамка при наведении */
.v6-more-cue { display:inline-flex; align-items:center; gap:8px; color:var(--accent); font-size:15px; font-weight:600; white-space:nowrap; justify-self:end; }
.v6-more-cue::after { content:""; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .2s; }
details[open] > summary .v6-more-cue::after { transform:translateY(2px) rotate(-135deg); }
details[open] > summary .v6-more-cue { font-size:0; gap:0; }
details[open] > summary .v6-more-cue::after { font-size:15px; }
.v6-bs-st { border:1px solid transparent; }
.v6-bs-st:hover { border-color:var(--accent); }
.v6-bs-st > summary { grid-template-columns:auto minmax(0, 1.2fr) minmax(0, 1fr) auto auto; }
@media (max-width:720px) { .v6-bs-st > summary { grid-template-columns:auto minmax(0, 1fr) auto auto; } .v6-more-cue { font-size:0; gap:0; } }
@media (prefers-reduced-motion:reduce) { .v6-more-cue::after { transition:none; } }

/* Открытка «Сделано с ИИ» (30.11): превью слева, действия справа; на телефоне — столбиком */
#v6-pc:empty { display:none; }
.v6-pc { display:grid; grid-template-columns:minmax(0,260px) 1fr; gap:24px; align-items:start; margin:16px 0; padding:16px; background:var(--ground); border-radius:12px; }
.v6-pc img { width:100%; height:auto; border-radius:10px; border:1px solid var(--line); }
.v6-pc-r { display:flex; flex-direction:column; gap:8px; }
.v6-pc-r p { margin:0; }
@media (max-width:640px) { .v6-pc { grid-template-columns:1fr; } .v6-pc img { max-width:280px; } }

/* Путь продавца (01.12): старт, «Кто собрал», мостик в «Птичку напела» */
.v6-sp-who p { max-width:760px; margin:12px 0 20px; }
.v6-sp-who .v6-btns { flex-wrap:wrap; }

/* «Поделиться результатом» (01.12): согласие показать другим */
body.v6 .v6-showf .v6-showf-ok { flex-direction:row; align-items:flex-start; gap:10px; }
.v6-showf-ok input { margin-top:4px; }
.v6-showf .v6-btns { align-items:center; }

/* ===== Спокойная гавань · этап 1 (03.12.2026, DESIGN.md раздел 0) =====
   Оболочка, фон, шрифт, кнопки. Крем вместо холодного серого, Golos вместо Montserrat, кнопки-капсулы.
   --accent теперь тёмное золото #8A6410 (годится для текста), жёлтый #F2B930 — только заливки (--accent-fill). */
body.v6 { background:var(--ground) !important; }
.v6h { background:rgba(251,248,241,.92); -webkit-backdrop-filter:saturate(1.2) blur(10px); backdrop-filter:saturate(1.2) blur(10px); border-bottom-color:var(--line); }
.v6h-logo, .v6f-mark { color:var(--ink); }
.v6h-brand:hover .v6h-logo { color:var(--accent); }
.v6h-nav a { border-radius:999px; color:var(--text-2); }
.v6h-nav a:hover { color:var(--ink); background:var(--surface); }
.v6h-nav a.is-active { color:var(--ink); background:var(--surface); }
.v6h-right .v6-link { border-radius:999px; color:var(--text-2); }
.v6h-right .v6-link:hover { color:var(--ink); background:var(--surface); text-decoration:none; }
.v6h-right .v6b.is-accent, .v6h a.v6b.is-accent { background:var(--surface) !important; color:var(--ink) !important; box-shadow:inset 0 0 0 1.5px var(--ink); height:44px; padding:0 18px; font-weight:500; }
.v6h-right .v6b.is-accent:hover { background:var(--ink) !important; color:var(--surface) !important; }
.v6-icon { border-radius:50%; }
.v6-icon:hover { background:var(--surface); }
.v6-menu a { border-radius:12px; }
.v6f { background:var(--ground); border-top:1px solid var(--line); }
.v6f li a:hover, .v6f-bottom a:hover { color:var(--ink); text-decoration:underline; text-decoration-color:var(--accent-fill); text-decoration-thickness:2px; text-underline-offset:4px; }

/* кнопки: капсулы; главная — чёрная */
.v6b, .v6b.is-sm, .v6b.v6-task-btn, .v6b.v6-btn-lg, .v6b.v6-btn-xl, body.v6 .lesson-content .v6-companies a.v6b { border-radius:999px !important; }
.v6b.is-accent { background:var(--ink); color:var(--surface); }
.v6-page a.v6b.is-accent { color:var(--surface) !important; }
.v6b.is-accent:hover { background:#2A2A30; }
.v6b { box-sizing:border-box; }
.v6b.is-soft { background:var(--surface); color:var(--ink); border:1px solid var(--line); }
.v6b.is-soft:hover { border-color:var(--ink); }
.v6-page :focus-visible, .v6h :focus-visible, .v6f :focus-visible { outline-color:var(--ink); }

/* ===== Спокойная гавань · этап 2: главная (03.12.2026, DESIGN.md 0.4) ===== */
.v6g-home { padding-bottom:40px; }
.v6g-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:48px; align-items:start; padding:48px 0 24px; }
.v6g-hero-t { margin-top:96px; } /* верх текста = верх окна справа (у окна отступ под Алёшу) */
.v6g-eyebrow { font-size:15px; font-weight:600; color:var(--accent); margin:0 0 18px; }
.v6-page h1.v6g-d { font-family:var(--font-display) !important; font-size:80px !important; font-weight:700 !important; line-height:1.02 !important; letter-spacing:-0.035em !important; text-wrap:balance; }
.v6g-mark { position:relative; white-space:nowrap; display:inline-block; z-index:0; }
.v6g-brush { position:absolute; left:-2%; width:104%; bottom:-.12em; height:.3em; overflow:visible; pointer-events:none; z-index:-1; }
.v6g-brush path { fill:var(--accent-fill); clip-path:inset(0 100% 0 0); animation:v6g-wipe .9s .35s ease-out forwards; }
@keyframes v6g-wipe { to { clip-path:inset(0 0 0 0); } }
.v6g-lead { font-size:21px; line-height:1.5; color:var(--text-2); max-width:30em; margin:24px 0 32px; text-wrap:pretty; }
.v6g-btns { gap:12px; flex-wrap:wrap; }
.v6g-go { display:inline-flex; align-items:center; gap:14px; height:56px; box-sizing:border-box; padding:0 8px 0 26px; border-radius:999px; border:0; background:var(--ink); color:var(--surface) !important; font:inherit; font-size:18px; font-weight:500; text-decoration:none !important; cursor:pointer; white-space:nowrap; }
.v6g-go i { width:40px; height:40px; border-radius:50%; background:var(--surface); color:var(--ink); display:grid; place-items:center; font-style:normal; transition:transform .2s; }
.v6g-go:hover i { transform:translateX(3px); }
.v6g-facts { display:flex; gap:28px; flex-wrap:wrap; margin-top:36px; font-size:15px; color:var(--text-2); }
.v6g-facts b { display:block; font-size:24px; color:var(--ink); letter-spacing:-0.02em; font-variant-numeric:tabular-nums; }
.v6g-win { position:relative; background:var(--surface); border-radius:24px; padding:26px; margin-top:96px; min-height:520px; box-shadow:0 1px 0 var(--line), 0 24px 60px -30px rgba(40,30,10,.25); }
.v6g-peek { position:absolute; right:34px; top:-108px; width:120px; height:120px; padding:0; border:0; background:none; cursor:pointer; }
.v6g-peek img { display:block; width:120px; height:120px; }
.v6g-wtop { display:flex; justify-content:space-between; gap:12px; align-items:baseline; }
.v6-page h3.v6g-wh, .v6-page h3.v6g-rh, .v6-page h3.v6g-ch { font-size:24px !important; font-weight:700 !important; line-height:1.15 !important; letter-spacing:-0.02em !important; }
.v6g-wmeta { font-size:15px; color:var(--text-2); margin:6px 0 4px; }
.v6g-l { display:block; font-size:14px; color:var(--text-2); margin:14px 0 6px; }
.v6g-try input, .v6g-try textarea { width:100%; box-sizing:border-box; font:16px/1.45 var(--font-body); color:var(--ink); border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:var(--ground); resize:vertical; }
.v6g-try input:focus, .v6g-try textarea:focus { outline:2.5px solid var(--ink); outline-offset:1px; }
.v6g-prompt { white-space:pre-wrap; font-size:14px; line-height:1.5; background:var(--surface-soft); border-radius:12px; padding:14px; margin-top:14px; max-height:200px; overflow:auto; }
.v6g-prompt mark { background:var(--accent-tint); color:inherit; border-radius:0; padding:0 2px; }
.v6g-wfoot { display:flex; gap:12px 16px; align-items:center; flex-wrap:wrap; margin-top:16px; }
.v6g-sec { margin-top:96px; }
.v6-page h2.v6g-h2 { font-family:var(--font-display) !important; font-size:48px !important; font-weight:700 !important; line-height:1.05 !important; letter-spacing:-0.03em !important; }
.v6g-sub { color:var(--text-2); font-size:18px; max-width:36em; margin:14px 0 32px; }
.v6g-sec .v6-sec-head .v6g-sub { margin-bottom:0; }
.v6g-quiz { background:var(--surface); border-radius:28px; padding:44px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; }
.v6g-q { margin-bottom:24px; } .v6g-q p { margin:0 0 10px; font-weight:600; }
.v6g-opts { display:flex; flex-wrap:wrap; gap:8px; }
.v6g-opts .v6-pill { border-radius:999px; }
.v6g-res { position:relative; background:var(--accent-tint); border-radius:24px; padding:28px; align-self:start; }
.v6g-k { font-size:14px; font-weight:600; color:var(--accent); }
.v6g-res .v6g-rh { margin-top:6px !important; }
.v6g-res ol { margin:14px 0 20px; padding-left:20px; } .v6g-res li { margin:6px 0; }
.v6g-stk { position:absolute; right:-14px; top:-22px; width:64px; height:64px; animation:v6g-sway 7s ease-in-out -2s infinite; transform-origin:50% 90%; }
@keyframes v6g-sway { 0%,70%,100% { transform:rotate(0) scale(1); } 76% { transform:rotate(-4deg) scale(1.04); } 82% { transform:rotate(3deg) scale(1.04); } 88% { transform:rotate(0) scale(1); } }
.v6g-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.v6g-card { border-radius:24px; padding:22px; min-height:260px; display:flex; flex-direction:column; gap:8px; text-decoration:none !important; color:var(--ink) !important; transition:transform .2s; }
.v6g-card:hover { transform:translateY(-3px); }
.v6g-for { font-size:14px; color:var(--text-2); }
.v6g-cr { font-size:15px; color:var(--text-2); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.v6g-crow { margin-top:auto; display:flex; justify-content:space-between; align-items:center; }
.v6g-crow i { width:40px; height:40px; border-radius:50%; background:var(--surface); display:grid; place-items:center; font-style:normal; }
.v6t.is-white { background:var(--surface); color:var(--ink); }
.v6g-path { position:relative; background:var(--surface); border-radius:28px; padding:44px; margin-top:110px; }
.v6g-sit { position:absolute; right:-8px; top:-108px; width:120px; height:160px; pointer-events:none; }
.v6g-trail { list-style:none; margin:32px 0 32px; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; position:relative; }
.v6g-trail::before { content:""; position:absolute; left:8%; right:8%; top:23px; border-top:2.5px dashed var(--line); }
.v6g-trail li { position:relative; text-align:center; display:flex; flex-direction:column; align-items:center; gap:2px; }
.v6g-trail b { font-size:17px; } .v6g-trail span { font-size:14px; color:var(--text-2); }
.v6g-dot { width:48px; height:48px; border-radius:50%; display:grid !important; place-items:center; background:var(--surface); border:2.5px solid var(--line); font-weight:700; color:var(--ink) !important; font-size:16px !important; margin-bottom:10px; position:relative; }
.v6g-trail li.is-done .v6g-dot { border-color:var(--accent-fill); }
.v6g-trail li.is-now .v6g-dot { background:var(--accent-fill); border-color:var(--accent-fill); outline:6px solid var(--accent-tint); }
.v6g-here { font-size:13px !important; font-weight:600; color:var(--accent) !important; margin-top:4px; }
@media (max-width:1100px) { .v6-page h1.v6g-d { font-size:64px !important; } .v6g-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .v6g-hero, .v6g-quiz { grid-template-columns:1fr; } .v6g-win { margin-top:120px; } .v6g-hero-t { margin-top:0; } }
@media (max-width:720px) {
  .v6g-hero { padding-top:24px; gap:24px; }
  .v6-page h1.v6g-d { font-size:44px !important; }
  .v6g-lead { font-size:18px; }
  .v6-page h2.v6g-h2 { font-size:32px !important; }
  .v6g-sec { margin-top:64px; }
  .v6g-win { padding:20px; }
  .v6g-quiz, .v6g-path { padding:24px 20px; border-radius:24px; }
  .v6g-cards { grid-template-columns:1fr; }
  .v6g-card { min-height:0; }
  .v6g-trail { grid-template-columns:1fr; gap:16px; }
  .v6g-trail::before { left:23px; right:auto; top:10px; bottom:10px; border-top:0; border-left:2.5px dashed var(--line); }
  .v6g-trail li { display:grid; grid-template-columns:48px 1fr; column-gap:14px; text-align:left; align-items:center; }
  .v6g-trail li .v6g-dot { grid-row:span 3; margin:0; }
  .v6g-sit { right:-4px; }
}
@media (prefers-reduced-motion:reduce) { .v6g-brush path { animation:none; clip-path:none; } .v6g-stk { animation:none; } .v6g-card, .v6g-go i { transition:none; } }
.v6g-sec .v6-sec-head > div { flex:1; } .v6g-sec .v6-sec-head .v6g-sub { max-width:36em; }
@media (max-width:720px) { .v6g-path h2.v6g-h2 { padding-right:84px; } .v6g-sit { width:96px; height:128px; top:-86px; } .v6g-path { margin-top:96px; } }
@media (max-width:720px) { .v6-page .v6g-path h2.v6g-h2 { padding-right:84px !important; } .v6g-facts { gap:18px; } .v6g-facts b { font-size:20px; } }

/* ===== Тема: светлая / тёмная (04.12.2026). По умолчанию светлая (решение Руслана 04.12),
   кнопка в подвале ставит data-theme на <html> и запоминает (localStorage «art:theme»). Подвал чёрный всегда. ===== */
html[data-theme="dark"] .v6, html[data-theme="dark"] body {
  --ink:#F3F0E8; --accent:#F2B930; --accent-fill:#F2B930; --accent-tint:#3A2F12; --accent-on-tint:#F7D57A; --accent-hover:#F7D57A;
  --text-2:#C3C4CB; --text-3:#A3A4AC;
  --line:#2C2C33; --ground:#121215; --surface:#1B1B20; --surface-soft:#222228; --surface-dark:#000000; --surface-dark-2:#26262C; --placeholder:#26262C;
  --on-dark:#FFFFFF; --on-dark-2:#B9BAC0; --on-ink:#121215; --p1:#1E2636; --p2:#33261C; --p3:#1D2B20; --p4:#2A2236;
  --hvoya-bg:#121215; --hvoya-panel:#1B1B20; --hvoya-card:#1B1B20; --hvoya-line:#2C2C33;
  --hvoya-ink:#F3F0E8; --hvoya-muted:#C3C4CB; --hvoya-faint:#A3A4AC;
  --hvoya-accent:#F2B930; --hvoya-accent-soft:#3A2F12; --hvoya-accent-mid:#8A6410;
  color-scheme:dark;
}
/* рисунки в линию: в тёмной теме shell.js подставляет копии из v6/art/dark/ (make_dark_art.py), жёлтый остаётся жёлтым */

/* подвал чёрный в обеих темах: свои переменные внутри подвала */
html .v6f.v6 {
  --ink:#F3F0E8; --accent:#F2B930; --text-2:#B9BAC0; --text-3:#9A9BA3; --line:#26262C; --ground:#0B0B0D; --surface:#0B0B0D;
  background:#0B0B0D; color:#F3F0E8; border-top:0;
}
html .v6f .v6f-mark { color:#F3F0E8; }
html body.v6 .v6f .v6f-bottom a { color:#B9BAC0 !important; }
.v6f-theme { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:0 14px; border:1px solid #3A3A42; border-radius:999px; background:transparent; color:#F3F0E8; font:inherit; font-size:14px; cursor:pointer; }
.v6f-theme:hover { border-color:#F2B930; }
.v6f-theme svg { width:16px; height:16px; }
.v6f-end { display:inline-flex; align-items:center; gap:16px; flex-wrap:wrap; }
html[data-theme="dark"] .v6h { background:rgba(18,18,21,.92); }
/* подвал: отступ снизу внутри чёрного фона, а не полосой цвета страницы под ним */
.v6f-bottom { margin-bottom:0 !important; padding-bottom:40px !important; }
/* старые страницы (уроки, «Что это») берут цвета из --hvoya-* на :root: переопределяем на самом <html> */
html[data-theme="dark"] {
  --hvoya-bg:#121215; --hvoya-panel:#1B1B20; --hvoya-card:#222228; --hvoya-line:#2C2C33;
  --hvoya-ink:#F3F0E8; --hvoya-muted:#C3C4CB; --hvoya-faint:#A3A4AC;
  --hvoya-accent:#F2B930; --hvoya-accent-soft:#3A2F12; --hvoya-accent-mid:#8A6410; --accent-hover:#F7D57A;
  --brand-accent:#F3F0E8; --brand-accent-2:#C3C4CB; --text-body:#DCDAD3; color-scheme:dark;
}
/* подвал внутри <main> с нижним отступом 64px: снимаем отступ, чтобы под чёрным подвалом не было полосы */
body.v6 main:has(> #site-footer) { padding-bottom:0 !important; }
/* крупная анимация логотипа в начале «Что это» (клик — заново) */
.v6-logo-stage { display:block; width:100%; max-width:760px; margin:8px 0 40px; padding:0; border:0; border-radius:12px; background:none; cursor:pointer; box-sizing:border-box; }
.v6-logo-stage img { display:block; width:100%; height:auto; }
.v6-logo-stage:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }

/* ===== Этап 3: чат Алёши в новом виде (04.12.2026, DESIGN.md 0.5) =====
   Справа внизу, r24, мягкая тень; Алёша-наклейка вместо буквы «А»; поле ввода прижато к низу. */
html .alesha-logo, html .alesha-msg .alesha-logo.sm { font-size:0 !important; color:transparent !important; background:var(--surface) url(art/alesha/sticker.svg) center/88% no-repeat !important; border:1px solid var(--line); border-radius:50% !important; }
html .alesha-header .alesha-logo { width:40px !important; height:40px !important; flex:0 0 40px; }
html .alesha-widget.is-lesson { background:var(--surface) !important; border:1px solid var(--line) !important; box-shadow:0 24px 60px -30px rgba(40,30,10,.45) !important; width:64px; height:64px; }
html .alesha-widget.is-lesson:not(.is-open) .alesha-collapse-icon { background:url(art/alesha/sticker.svg) center/84% no-repeat; border-radius:50%; }
html .alesha-widget.is-lesson:not(.is-open) .alesha-collapse-icon::before { content:''; }
html .alesha-widget.is-lesson:not(.is-open):hover .alesha-collapse-icon { transform:scale(1.06); transition:transform .2s ease; }
html .alesha-widget.is-open { width:calc(100vw - 32px); max-width:420px; height:min(640px, calc(100dvh - 112px)); background:var(--surface) !important; border:1px solid var(--line) !important; border-radius:24px !important; box-shadow:0 24px 60px -30px rgba(40,30,10,.45), 0 2px 8px rgba(40,30,10,.06) !important; flex-direction:column; }
html .alesha-widget.is-open .alesha-collapse-icon { top:14px; right:14px; width:44px; height:44px; background:var(--surface-soft, #F6F3EA); color:var(--ink); }
html .alesha-widget.is-open .alesha-collapse-icon:hover { background:var(--line); }
html .alesha-header { padding:16px 68px 16px 18px !important; border-bottom:1px solid var(--line) !important; flex:0 0 auto; }
html .alesha-header-title { font-size:16px !important; color:var(--ink); }
html .alesha-header-sub { font-size:14px; color:var(--text-2); }
html .alesha-chat { flex:1 1 auto; max-height:none; min-height:0; padding:18px; gap:12px; }
html .alesha-msg .alesha-logo.sm { width:28px; height:28px; flex:0 0 28px; }
html .alesha-msg .alesha-msg-body { font-size:15px; line-height:1.55; border-radius:18px; color:var(--ink); }
html .alesha-msg.bot .alesha-msg-body { background:var(--surface-soft, #F6F3EA) !important; border-bottom-left-radius:6px; }
html .alesha-msg.user .alesha-msg-body { background:var(--ink) !important; color:var(--on-ink, #fff) !important; border-bottom-right-radius:6px; }
html .alesha-suggestions { padding:0 18px 14px; gap:8px; flex:0 0 auto; }
html .alesha-suggestion { min-height:44px; padding:0 16px; border-radius:999px !important; background:var(--surface) !important; border:1px solid var(--line) !important; color:var(--ink) !important; font-size:14px; }
html .alesha-suggestion:hover { border-color:var(--ink) !important; }
html .alesha-input { padding:12px 14px 14px; gap:8px; border-top:1px solid var(--line) !important; flex:0 0 auto; align-items:flex-end; }
html .alesha-input textarea { min-height:44px; padding:11px 16px; border-radius:22px; border:1px solid var(--line); background:var(--surface-soft, #F6F3EA); color:var(--ink); font-size:15px; }
html .alesha-input textarea:focus { border-color:var(--ink); }
html .alesha-input button { width:44px; height:44px; flex:0 0 44px; border-radius:50% !important; background:var(--ink) !important; color:var(--on-ink, #fff) !important; }
@media (max-width:600px) {
  html .alesha-widget.is-open { right:8px !important; bottom:8px !important; width:calc(100vw - 16px); height:calc(100dvh - 88px); }
}
@media (prefers-reduced-motion:reduce) { html .alesha-widget.is-lesson:not(.is-open):hover .alesha-collapse-icon { transform:none; } }
html[data-theme="dark"] .alesha-logo, html[data-theme="dark"] .alesha-msg .alesha-logo.sm { background-image:url(art/dark/alesha/sticker.svg) !important; }
html[data-theme="dark"] .alesha-widget.is-lesson:not(.is-open) .alesha-collapse-icon { background-image:url(art/dark/alesha/sticker.svg); }
html .alesha-logo, html .alesha-msg .alesha-logo.sm { background-size:116% !important; background-position:center 40% !important; }
html .alesha-widget.is-open .alesha-collapse-icon::before { color:var(--ink) !important; }
html .alesha-widget.is-lesson:not(.is-open) .alesha-collapse-icon { background-size:112%; background-position:center 40%; }
@media (max-width:600px) { html .alesha-widget.is-open { max-height:none !important; top:72px !important; } }
html .v6-ava { font-size:0 !important; color:transparent !important; background:var(--surface) url(art/alesha/sticker.svg) center 40%/116% no-repeat !important; border:1px solid var(--line); }
html[data-theme="dark"] .v6-ava { background-image:url(art/dark/alesha/sticker.svg) !important; }

/* ===== Этап 4, Обучение: карта главного Пути (04.12.2026, DESIGN.md 0.4) ===== */
.v6-pmap { position:relative; background:var(--surface); border-radius:28px; padding:clamp(24px,4vw,44px); margin-top:96px; }
.v6-pmap-sub { color:var(--text-2); font-size:17px; max-width:640px; margin:8px 0 0; text-wrap:pretty; }
.v6-pmap-sit { position:absolute; right:clamp(8px,3vw,32px); top:-104px; width:120px; height:160px; padding:0; border:0; background:none; cursor:pointer; }
.v6-pmap-sit img { display:block; width:120px; height:160px; }
html[data-theme="dark"] .v6-pmap-sit img { content:url(art/dark/alesha/sit.svg); }
.v6-pmap-sit:focus-visible { outline:3px solid var(--ink); outline-offset:4px; border-radius:16px; }
.v6-pmap-trail { list-style:none; margin:32px 0 0; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; position:relative; }
.v6-pmap-trail::before { content:""; position:absolute; left:8%; right:8%; top:23px; border-top:2.5px dashed var(--line); }
.v6-pmap-st a { position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:0 6px 6px; color:var(--ink); text-decoration:none; border-radius:16px; }
.v6-pmap-st a:hover b { text-decoration:underline; text-underline-offset:3px; }
.v6-pmap-dot { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; margin-bottom:8px; background:var(--surface); border:2.5px solid var(--line); font-weight:700; font-variant-numeric:tabular-nums; }
.v6-pmap-st.is-done .v6-pmap-dot { border-color:var(--accent-fill); }
.v6-pmap-st.is-now .v6-pmap-dot { background:var(--accent-fill); border-color:var(--accent-fill); color:#16161A; box-shadow:0 0 0 6px var(--accent-tint); }
.v6-pmap-st b { font-size:17px; }
.v6-pmap-st span:not(.v6-pmap-dot) { font-size:14px; color:var(--text-2); }
.v6-pmap-st .v6-pmap-here { margin-top:6px; font-size:13px; font-weight:600; color:var(--accent-text, #8A6410); }
@media (max-width:700px) {
  .v6-pmap { margin-top:110px; }
  .v6-pmap-trail { grid-template-columns:1fr; gap:14px; }
  .v6-pmap-trail::before { left:23px; right:auto; top:12px; bottom:12px; border-top:0; border-left:2.5px dashed var(--line); }
  .v6-pmap-st a { display:grid; grid-template-columns:48px 1fr; column-gap:14px; row-gap:2px; align-items:center; text-align:left; padding:0; }
  .v6-pmap-dot { grid-row:1/4; margin:0; }
}
/* новые радиусы карточек путей и мини-курсов */
html .v6-pathc, html .v6-trail { border-radius:24px !important; }
.v6-pmap-st .v6-pmap-here { color:var(--accent) !important; }
.v6-pmap { margin-top:72px; }
@media (max-width:700px) { .v6-pmap { margin-top:96px; } .v6-pmap .v6-psec-h, .v6-pmap-sub { padding-right:84px; } .v6-pmap-sit { right:4px; top:-92px; width:96px; height:128px; } .v6-pmap-sit img { width:96px; height:128px; } }
@media (max-width:700px) { html .v6-pmap .v6-psec-h, html .v6-pmap-sub { padding-right:0; } html .v6-pmap { padding-top:52px; } }

/* ===== Этап 4: радиусы «Спокойной гавани» по всему сайту (DESIGN.md 0.3): карточки 24, панели 28 ===== */
html .v6-fw, html .kd-pre, html .v6-task, html .v6-copk-i, html .v6-learn-s, html .v6-neigh, html .v6-tdoor, html .v6-co-tg, html .v6-pcard, html .v6-readc { border-radius:24px !important; }
html .v6-pmain, html .v6-card, html .v6-sec.v6-author, html .v6-next, html .v6-dark, html .v6-co-art, html .v6-nbempty, html .v6-leaks, html .v6-companies { border-radius:28px !important; }
html .kd-pre-img, html .v6-fw-img, html .v6-readc-img { border-radius:18px !important; }
.v6-pmap-st.is-now .v6-pmap-dot { box-shadow:none; outline:6px solid var(--accent-tint); outline-offset:0; }

/* ===== Этап 4, задание: шаг — «живое окно» (DESIGN.md 0.4): r24, мягкая тень, время-метка, шаги полосками ===== */
html .v6-ucard { border-radius:24px; }
html .v6-ucard.is-live { box-shadow:0 24px 60px -30px rgba(40,30,10,.25); }
.v6-ucard-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.v6-ucard-min { display:inline-flex; align-items:center; min-height:32px; padding:0 14px; border-radius:999px; background:var(--accent-tint); color:var(--accent); font-size:14px; font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.v6-ubars { display:flex; gap:6px; margin-top:-6px; }
.v6-ubars i { flex:1; height:6px; border-radius:999px; background:var(--line); }
.v6-ubars i.is-done, .v6-ubars i.is-now { background:var(--accent-fill); }
.v6-ubars i.is-now { opacity:.55; }
@media (max-width:900px) { html .v6-ucard { border-radius:24px; } }
/* «Попробовать сейчас» подсвечивает живое окно: кольцо акцента проявляется и гаснет (только opacity) */
.v6g-win { position:relative; }
.v6g-win::after { content:""; position:absolute; inset:-6px; border-radius:30px; border:3px solid var(--accent-fill); opacity:0; pointer-events:none; }
.v6g-win.is-ping::after { animation:v6g-ping 1.4s ease-out; }
@keyframes v6g-ping { 0% { opacity:0; } 20% { opacity:1; } 100% { opacity:0; } }
@media (prefers-reduced-motion:reduce) { .v6g-win.is-ping::after { animation:none; opacity:1; } }

/* ===== Главная: «Как это выглядит на деле» (учебные примеры) и «Делитесь сделанным» (04.12.2026) ===== */
.v6x-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
.v6x-panel { background:var(--surface); border-radius:28px; padding:clamp(22px,3.5vw,40px); }
.v6x-pane { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(20px,4vw,48px); }
.v6x-pane[hidden] { display:none; }
.v6x-take { font-size:21px; line-height:1.35; font-weight:600; color:var(--ink); margin:0 0 20px; text-wrap:balance; }
.v6x-h { font-size:14px; font-weight:600; color:var(--text-2); margin:16px 0 6px; }
.v6x-list { margin:0; padding-left:18px; color:var(--ink); font-size:16px; line-height:1.5; }
.v6x-p { margin:0; font-size:16px; color:var(--ink); }
.v6x-in .v6g-go { margin-top:24px; }
.v6x-out { background:var(--surface-soft); border-radius:24px; padding:24px; display:flex; flex-direction:column; gap:14px; }
.v6x-tag { align-self:flex-start; display:inline-flex; align-items:center; min-height:32px; padding:0 14px; border-radius:999px; background:var(--surface); font-size:14px; font-weight:500; color:var(--ink); }
.v6x-bars { display:grid; gap:12px; }
.v6x-bar { display:grid; grid-template-columns:110px minmax(0,1fr) auto; gap:12px; align-items:center; font-size:15px; }
.v6x-bt { height:12px; border-radius:999px; background:var(--surface); overflow:hidden; }
.v6x-bt i { display:block; height:100%; border-radius:999px; background:var(--accent-fill); }
.v6x-bar.is-neg .v6x-bt i { background:#D9614C; }
.v6x-bar.is-neg b { color:#B5422E; }
html[data-theme="dark"] .v6x-bar.is-neg b { color:#F08A75; }
.v6x-bar b { font-variant-numeric:tabular-nums; white-space:nowrap; }
.v6x-doc { background:var(--surface); border-radius:12px; padding:18px 20px; display:flex; flex-direction:column; gap:6px; }
.v6x-doc ul { margin:6px 0 0; padding-left:18px; line-height:1.5; }
.v6x-calc { margin:0; font-size:14px; color:var(--text-2); }
.v6x-al { display:flex; gap:12px; align-items:flex-start; margin:0; font-size:15px; color:var(--ink); }
.v6x-al img { flex:0 0 40px; border-radius:50%; background:var(--surface); border:1px solid var(--line); }
html[data-theme="dark"] .v6x-al img { content:url(art/dark/alesha/sticker.svg); }
.v6x-note { margin-top:12px; }
.v6-comm { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; background:var(--accent-tint); border-radius:28px; padding:clamp(24px,4vw,44px); overflow:hidden; }
.v6-comm-t p { font-size:17px; max-width:640px; color:var(--ink); }
.v6-comm-art { width:180px; height:auto; align-self:end; margin:0 clamp(0px,3vw,40px) calc(-1 * clamp(24px,4vw,44px)) 0; } /* «показывает листок»: стоит за нижним краем плашки */
html[data-theme="dark"] .v6-comm-art { content:url(art/dark/alesha/show.svg); }
@media (max-width:820px) {
  .v6x-pane { grid-template-columns:1fr; }
  .v6x-bar { grid-template-columns:90px minmax(0,1fr); } .v6x-bar b { grid-column:1/-1; }
  .v6-comm { grid-template-columns:1fr; } .v6-comm-art { display:none; }
}
.v6-comm-t p { margin:12px 0 24px; }

/* ===== Тёмная тема: места, найденные тестировщиком 05.12 ===== */
html[data-theme="dark"] .v6, html[data-theme="dark"] body { --text-1: var(--ink); }  /* --text-1 нигде не задан, падал на #16161A */
html[data-theme="dark"] .v6b.is-white { color:#16161A !important; }                 /* «Скачать как файл» в Тетради */
html[data-theme="dark"] .v6-dark .v6b.is-accent { color:#16161A !important; }       /* «Написать в Telegram» на тёмной панели «Для бизнеса» */
html[data-theme="dark"] th { background:var(--surface-soft) !important; color:var(--ink) !important; }  /* таблицы оферты и «Нейросети без VPN» */
html[data-theme="dark"] td { background-color:transparent; }
html[data-theme="dark"] body.v6 .v6-co-tg.is-dark a.v6b.is-accent, html[data-theme="dark"] body.v6 .lesson-content .v6-companies a.v6b.is-accent { color:#16161A !important; }

/* ===== Живое окно: до/после, продолжение после копирования; тест по одному вопросу (05.12, ревью Codex) ===== */
.v6g-tabs { display:flex; gap:8px; margin:16px 0 2px; }
.v6g-tabs .v6-pill { border-radius:999px; }
.v6g-panes { display:grid; }
.v6g-pane { grid-area:1 / 1; min-width:0; }
.v6g-pane.is-off { visibility:hidden; }                /* обе вкладки занимают место: окно не прыгает */
.v6g-saved { font-size:13px; color:var(--text-2); margin:6px 0 0; }
.v6g-exk { font-size:13px; color:var(--text-2); margin:14px 0 10px; }
.v6g-ba { display:grid; gap:10px; }
.v6g-bal { display:block; font-size:12px; font-weight:600; color:var(--text-2); margin-bottom:6px; }
.v6g-before { background:var(--surface-soft); border-radius:12px; padding:12px 14px; font-size:14px; line-height:1.45; color:var(--text-2); }
.v6g-after { background:var(--ground); border:1px solid var(--line); border-radius:12px; padding:14px 16px; font-size:15px; line-height:1.5; }
.v6g-before p, .v6g-after p { margin:0; }
.v6g-after mark { background:var(--accent-tint); color:inherit; padding:1px 2px; border-radius:0; }
.v6g-note { display:flex; gap:10px; align-items:flex-start; margin-top:12px; font-size:14px; line-height:1.45; }
.v6g-note img { flex-shrink:0; }
.v6g-note p { margin:0; }
.v6g-step { margin-top:16px; background:var(--accent-tint); border-radius:18px; padding:16px 18px; }
.v6g-step .v6g-wfoot { margin-top:12px; }
.v6g-sh { margin:0 0 10px; }
.v6g-sh2 { margin:10px 0 0; font-size:14px; color:var(--text-2); display:flex; gap:4px 10px; flex-wrap:wrap; align-items:center; }
.v6g-chk { display:flex; gap:10px; align-items:flex-start; margin:8px 0; font-size:15px; line-height:1.4; cursor:pointer; }
.v6g-chk input { width:18px; height:18px; margin:2px 0 0; flex-shrink:0; accent-color:var(--ink); }
.v6g-go.is-sm { height:48px; font-size:16px; padding-left:20px; gap:10px; white-space:normal; }
.v6g-go.is-sm i { width:34px; height:34px; flex-shrink:0; }
.v6g-qdone { display:flex; gap:4px 12px; align-items:baseline; flex-wrap:wrap; padding:10px 0; border-bottom:1px solid var(--line); }
.v6g-qdone .v6-meta { flex-basis:100%; font-size:13px; }
.v6g-qdone .v6-link { min-height:0; font-size:14px; }
.v6g-qs .v6g-q { margin-top:18px; }
.v6g-q p.v6g-qn { font-size:13px; color:var(--text-2); font-weight:400; margin:0 0 4px; }
.v6g-qt:focus:not(:focus-visible), .v6g-rh:focus:not(:focus-visible) { outline:none; }
.v6g-res.is-wait { background:var(--surface-soft); }
.v6g-res.is-wait .v6g-stk { opacity:.55; }
.v6g-why { font-size:15px; line-height:1.45; background:var(--surface); border-radius:12px; padding:10px 12px; margin:12px 0 0; }
/* варианты ответа и вкладки на белой карточке: белая «таблетка» сливалась с фоном и не читалась как кнопка */
.v6g-quiz .v6-pill:not([aria-pressed="true"]), .v6g-tabs .v6-pill:not([aria-pressed="true"]) { background:var(--surface-soft); }
.v6g-quiz .v6-pill:not([aria-pressed="true"]):hover, .v6g-tabs .v6-pill:not([aria-pressed="true"]):hover { background:var(--accent-tint); }
.v6g-sh:focus:not(:focus-visible) { outline:none; }
