/* Shugg v2 — публичная часть: шапка, подвал, обычные разделы, документация, каталог, цены, вопросы, контакты. */

:root { --gutter: clamp(16px, 4vw, 40px); }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.site { overflow-x: hidden; font: 400 17px/1.5 var(--font); }
.wrap, .container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Кнопки публичной части крупнее, чем в кабинете. */
body.site .btn { min-height: 52px; padding: 0.8em 1.5em; border-radius: 16px; font-size: 1rem; }
body.site .btn--primary { box-shadow: 0 4px 0 var(--blue-2); }
body.site .btn--primary:hover { box-shadow: 0 6px 0 var(--blue-2); }
body.site .btn--primary:active { box-shadow: 0 1px 0 var(--blue-2); }
body.site .btn--sm { min-height: 42px; padding: 0.5em 1.05em; border-radius: 13px; font-size: 0.93rem; }
body.site .btn--lg { min-height: 60px; padding: 0.85em 1.9em; font-size: 1.1rem; }

/* ---------- Шапка ---------- */
.hdr { position: relative; z-index: 50; padding: 12px 0; }
.hdr .wrap { width: min(940px, 100% - 2 * var(--gutter)); }
.hdr__in { display: flex; align-items: center; gap: 22px; }
.hdr__cta { min-height: 42px; padding: 0.5em 1.3em; border-color: var(--blue); border-radius: 999px; font-weight: 500; box-shadow: none; }
body.site .hdr__cta, body.site .hdr__cta:hover { box-shadow: none; }
.logo { font: 800 1.45rem/1 var(--font-brand); letter-spacing: -0.05em; text-decoration: none; -webkit-text-stroke: 0.02em var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 0.9rem; transition: background 0.15s, color 0.15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.burger { display: none; }
.nav-mobile { display: none; }
@media (min-width: 900px) {
  .hdr { position: sticky; top: 0; border-bottom: 1.6px solid transparent; background: var(--head-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color 0.2s; }
  .hdr.is-scrolled { border-bottom-color: var(--edge); }
}
@media (max-width: 899px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-grid; margin-left: auto; }
  .hdr__in { gap: 12px; }
  .nav-mobile { flex-direction: column; gap: 2px; padding: 8px var(--gutter) 14px; border-block: 1.6px solid var(--edge); background: var(--paper); }
  .hdr.is-open .nav-mobile { display: flex; }
  .nav-mobile a { padding: 12px 6px; border-radius: 10px; font-weight: 500; }
  .nav-mobile a:hover, .nav-mobile a[aria-current="page"] { background: var(--paper-2); }
}

/* ---------- Подвал ---------- */
.foot { padding: 46px 0 34px; border-top: var(--rule); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 60px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.foot h4 { margin: 0 0 10px; color: var(--ink-3); font: 600 0.74rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.foot ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--ink-2); font-weight: 500; text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot a.logo { color: var(--ink); font-size: 1.7rem; text-decoration: none; }
.foot__tag { max-width: 30ch; margin: 10px 0 0; color: var(--ink-2); }
.foot small { display: block; margin-top: 34px; color: var(--ink-3); }

/* ---------- Заголовки и разделы ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font: 600 0.78rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 1.6px; background: var(--solid); }
.eyebrow.center { justify-content: center; }
:where(body.site) h2 { font-size: clamp(1.7rem, 1rem + 2vw, 2.4rem); }
.h2 { max-width: 22ch; margin: 14px 0 0; font: 800 clamp(1.9rem, 1.1rem + 2.8vw, 3.2rem)/1.04 var(--font); letter-spacing: -0.045em; }
.section { padding: clamp(52px, 8vw, 100px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--sunken { border-block: var(--rule); background: var(--paper-2); }
.section-head { max-width: 66ch; margin-bottom: 44px; }
.section-head h2 { margin-top: 12px; font: 800 clamp(1.9rem, 1.1rem + 2.4vw, 2.9rem)/1.06 var(--font); letter-spacing: -0.045em; }
.lead { max-width: 62ch; color: var(--ink-2); font-size: 1.12rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--ink-3); font-size: 0.86rem; }
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs a:hover { color: var(--link); }
.page-404 .section h1, .section h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Карточки ---------- */
.card { padding: 24px; border: var(--rule); border-radius: 20px; background: var(--white); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.card--hover:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--shade); }
.vendor { color: var(--ink-3); font: 500 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.model-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.model-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.model-card h3 { font-size: 1.3rem; }
.model-card p { flex: 1; }

/* ---------- Документация и юридические страницы ---------- */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-nav { position: sticky; top: 92px; display: grid; gap: 4px; }
.doc-nav a { padding: 9px 14px; border-radius: 12px; color: var(--ink-2); font-size: 0.92rem; font-weight: 500; }
.doc-nav a:hover { background: var(--paper-2); color: var(--ink); }
.doc-nav a.is-active { background: var(--ink); color: var(--paper); font-weight: 600; }
.prose { min-width: 0; max-width: 76ch; }
.prose h2 { margin: 44px 0 14px; font: 800 1.7rem/1.1 var(--font); letter-spacing: -0.04em; scroll-margin-top: 92px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 8px; padding-left: 20px; }
.prose a { color: var(--link); font-weight: 600; }
.prose table { width: 100%; margin: 20px 0; border: var(--rule); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--white); font-size: 0.93rem; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.prose thead th { background: var(--paper-3); color: var(--ink-3); font: 500 0.7rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.prose tr:last-child td, .prose tr:last-child th { border-bottom: 0; }
.prose tbody th { color: var(--ink-3); font-weight: 600; }
.prose .code { margin: 18px 0; }

/* ---------- Витрина цен ---------- */
.m-container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.m-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.m-hero h1 { max-width: 15ch; margin: 18px auto 18px; font: 800 clamp(2.5rem, 1.2rem + 5.2vw, 4.9rem)/1 var(--font); letter-spacing: -0.055em; }
.m-hero h1 span { color: var(--link); }
.m-hero__lead { max-width: 60ch; margin: 0 auto; color: var(--ink-2); font-size: 1.15rem; }
.m-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.m-kicker::before { content: ""; width: 22px; height: 1.6px; background: var(--solid); }
.m-section { position: relative; padding: clamp(40px, 6vw, 84px) 0; }
.m-section--line { border-top: var(--rule); }
.m-section--soft { border-block: var(--rule); background: var(--paper-2); }
.m-packages { padding-top: clamp(16px, 2.5vw, 32px); }
.m-buy-note { max-width: 700px; margin: 26px auto 0; color: var(--ink-3); font-size: 0.9rem; text-align: center; }
.m-page-support { margin: 14px 0 0; color: var(--ink-3); font-size: 0.92rem; }
.m-page-support a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.m-surface { padding: clamp(22px, 3.5vw, 34px); border: var(--rule); border-radius: 22px; background: var(--white); }
.m-calc-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.m-calc-copy h3 { margin-bottom: 14px; font: 800 clamp(1.7rem, 3vw, 2.5rem)/1.06 var(--font); letter-spacing: -0.045em; }
.m-calc-copy p { color: var(--ink-2); }
.m-mini-list { display: grid; gap: 16px; margin-top: 26px; }
.m-mini-list div { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.m-mini-list i { display: grid; place-items: center; width: 28px; height: 28px; border: 1.4px solid var(--edge); border-radius: 9px; background: var(--blue-soft); color: var(--blue-ink); font-size: 0.8rem; font-style: normal; font-weight: 700; }
.m-mini-list p { margin: 0; }
.m-mini-list b { font-size: 0.98rem; }
.m-mini-list span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 0.86rem; }
.m-price-details { border: var(--rule); border-radius: 20px; background: var(--white); overflow: hidden; }
.m-price-details > summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-weight: 700; list-style: none; cursor: pointer; }
.m-price-details > summary::-webkit-details-marker { display: none; }
.m-price-details > summary::after { content: ""; flex: none; width: 26px; height: 26px; border: 1.6px solid var(--edge); border-radius: 50%; background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101010' stroke-width='2.4' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat; transition: transform 0.25s ease; }
.m-price-details[open] > summary::after { transform: rotate(45deg); }
.m-price-details > summary:hover { background: var(--paper-3); }
.m-table-wrap { overflow-x: auto; padding: 4px 22px 18px; border-top: var(--rule); }
.m-table-wrap table { border: 0; }
.m-final { padding: clamp(60px, 9vw, 110px) 0; border-top: var(--rule); text-align: center; }
.m-final h2 { font: 800 clamp(2rem, 1.1rem + 3.6vw, 3.6rem)/1.04 var(--font); letter-spacing: -0.05em; }
.m-final p { max-width: 580px; margin: 16px auto 28px; color: var(--ink-2); }

.calc__result { display: grid; gap: 10px; padding-top: 20px; border-top: 1.4px dashed var(--edge); }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 0.96rem; }
.calc__total { color: var(--link); font: 800 2.1rem/1 var(--font); letter-spacing: -0.045em; }
.m-surface .field label b { color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; padding: 0; border: 1.6px solid var(--edge); border-radius: 999px; background: var(--white); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border: 1.6px solid var(--edge); border-radius: 50%; background: var(--white); box-shadow: 0 3px 0 var(--ink); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 1.6px solid var(--edge); border-radius: 50%; background: var(--white); box-shadow: 0 3px 0 var(--ink); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px var(--focus-ring); }

/* ---------- Вопросы ---------- */
.m-trustbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule); border-radius: 20px; background: var(--white); overflow: hidden; }
.m-trustbar__item { padding: 22px 24px; }
.m-trustbar__item + .m-trustbar__item { border-left: 1.4px solid var(--hair-2); }
.m-trustbar__item b { display: block; margin-bottom: 3px; font-size: 1.05rem; }
.m-trustbar__item span { color: var(--ink-3); font-size: 0.88rem; }
.m-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 6vw, 72px); align-items: start; }
.m-faq__group { margin: 44px 0 16px; padding: 0 0 12px; border-bottom: var(--rule); color: var(--ink-2); font: 600 0.74rem var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.m-faq__group:first-child { margin-top: 0; }
.m-faq details, .land .faq details { border: var(--rule); border-radius: 18px; background: var(--white); transition: background 0.15s; }
.m-faq details { margin-bottom: 12px; }
.m-faq details[open] { background: var(--blue-soft); }
.m-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; list-style: none; font-size: 1.03rem; font-weight: 700; letter-spacing: -0.02em; cursor: pointer; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border: 1.6px solid var(--edge); border-radius: 50%; background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101010' stroke-width='2.4' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat; transition: transform 0.25s ease; }
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq p { max-width: 72ch; margin: 0; padding: 0 56px 20px 20px; color: var(--ink-2); font-size: 0.97rem; line-height: 1.65; }
.m-support { position: sticky; top: 100px; background: var(--blue-soft); box-shadow: var(--shadow-hard); }
.m-support h3 { margin: 16px 0 10px; font-size: 1.4rem; }
.m-support p { color: var(--ink-2); font-size: 0.95rem; }
.m-support__status { display: flex; align-items: center; gap: 8px; margin: 18px 0; color: var(--ink-2); font-size: 0.82rem; }
.m-support__status::before { content: ""; width: 9px; height: 9px; border: 1.4px solid var(--edge); border-radius: 50%; background: #3fc45a; }

/* ---------- Контакты ---------- */
.m-contacts { min-height: min(720px, 80vh); padding: clamp(64px, 9vw, 120px) 0 80px; text-align: center; }
.m-contacts h1 { margin: 18px auto 14px; font: 800 clamp(2.6rem, 1.2rem + 5.2vw, 4.8rem)/1 var(--font); letter-spacing: -0.055em; }
.m-contacts__lead { max-width: 570px; margin: 0 auto 28px; color: var(--ink-2); font-size: 1.15rem; }
.m-contacts__primary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; max-width: 840px; margin: 38px auto 0; padding: clamp(24px, 4vw, 36px); border: var(--rule); border-radius: 24px; background: var(--blue-soft); text-align: left; box-shadow: var(--shadow-hard); }
.m-contacts__primary > div { min-width: 0; }
.m-contacts__primary small { display: block; color: var(--ink-2); font: 600 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.m-contacts__primary strong { display: block; margin-top: 8px; font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--font); letter-spacing: -0.04em; }
.m-contacts__primary p { margin: 8px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.m-contacts__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.m-contacts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 840px; margin: 22px auto 0; text-align: left; }
.m-contacts__card { padding: 26px 28px; border: var(--rule); border-radius: 20px; background: var(--white); }
.m-contacts__card > span { color: var(--link); font: 600 0.72rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.m-contacts__card h2 { margin: 14px 0 8px; font-size: 1.35rem; }
.m-contacts__card p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.m-contacts__note { max-width: 690px; margin: 28px auto 0; color: var(--ink-3); font-size: 0.88rem; }

/* ---------- Каталог моделей для гостей ---------- */
.m-catalog { padding: 30px 0 48px; }
.m-catalog__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.m-catalog__head h1 { margin: 0; font-size: clamp(2rem, 3vw, 2.6rem); }
.m-catalog__head span { color: var(--ink-3); font-size: 0.9rem; }
.m-notice { margin: 0 0 24px; padding: 13px 18px; border: var(--rule); border-radius: 14px; background: var(--ok-soft); color: var(--ok-ink); text-align: center; font-size: 0.94rem; }
.m-empty { padding: 44px; border: 1.6px dashed var(--edge); border-radius: 20px; color: var(--ink-2); text-align: center; }
.m-empty a { color: var(--link); font-weight: 600; }
.m-provider-heading { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; }
.m-provider-heading:first-of-type { margin-top: 0; }
.m-provider-heading h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.03em; }
.m-provider-heading::after { content: ""; flex: 1; height: 1.6px; margin-left: 10px; background: var(--ink); opacity: 0.18; }
.m-model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.m-model-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-model {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 138px; padding: 14px 15px 13px;
  border: var(--rule); border-radius: 18px; background: var(--white); scroll-margin-top: 90px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.m-model[data-tier="premium"] { background: var(--blue-soft); }
.m-model[data-tier="budget"] { background: var(--paper-3); }
.m-model--selectable { cursor: pointer; }
.m-model:hover { transform: translate(-2px, -3px); box-shadow: 4px 5px 0 var(--shade); }
.m-model--selectable:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.m-model__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.m-model h3 { margin: 0; font: 800 1.2rem/1.15 var(--font); letter-spacing: -0.04em; }
.m-model__tier { padding: 3px 9px; border: 1.4px solid var(--edge); border-radius: 999px; background: var(--white); font-size: 0.66rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.m-model[data-tier="premium"] .m-model__tier { background: var(--blue); border-color: var(--blue-2); color: #fff; }
.m-model__backend-note { color: var(--ink-3); font-size: 0.68rem; }
.m-model__summary { flex: 1; margin: 0; color: var(--ink-2); font-size: 0.86rem; line-height: 1.4; }
.m-model__actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: auto 0 0; padding-top: 9px; border-top: 1px solid var(--hair); color: var(--ink-3); font-size: 0.72rem; }
.m-model__actions > span:first-child { white-space: nowrap; }
.m-model__actions b { margin-left: 3px; color: var(--ink-2); }
.m-model__bind { color: var(--link); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.m-model__actions a { color: var(--ink-3); font-size: 0.7rem; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.m-model__actions a:hover { color: var(--ink); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) { .m-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; }
  .m-calc-layout, .m-faq-layout { grid-template-columns: 1fr; }
  .m-support { position: static; }
  .prose table { display: block; overflow-x: auto; }
}
@media (max-width: 720px) {
  .m-trustbar { grid-template-columns: 1fr; }
  .m-trustbar__item + .m-trustbar__item { border-left: 0; border-top: 1.4px solid var(--hair-2); }
  .m-contacts__grid { grid-template-columns: 1fr; }
  .m-contacts__actions, .m-contacts__actions .btn { width: 100%; }
  .m-model-grid, .m-model-grid--two { grid-template-columns: 1fr; }
  .m-faq p { padding-right: 20px; }
}

/* Открыто с экрана «Домой»: страницы входа без сайтовой навигации и подвала. */
html.is-standalone .hdr { padding-top: max(12px, env(safe-area-inset-top)); }
html.is-standalone :is(body.page-login, body.page-register) :is(.hdr .nav, .hdr__cta, .burger, .nav-mobile, .foot) { display: none; }
html.is-standalone :is(body.page-login, body.page-register) .hdr__in { justify-content: center; }
@media (max-width: 860px) {
  html body .hdr { position: relative; border-bottom: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Тема: кнопка в шапке ---------- */
.hdr__theme { width: 42px; height: 42px; border-radius: 999px; }
@media (max-width: 899px) { .hdr__theme { margin-left: auto; } .burger { margin-left: 0; } }
:root[data-theme="dark"] .m-faq summary::after,
:root[data-theme="dark"] .m-price-details > summary::after {
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2e3de' stroke-width='2.4' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat;
}

@media (pointer: coarse) {
  .m-model__actions a { padding: 9px 6px; margin: -9px -6px; }
}


:root[data-theme="dark"] body.site .btn--primary, :root[data-theme="dark"] body.site .btn--primary:hover { box-shadow: none; }
/* Активный пункт инструкции — синяя подложка, не белая плашка */
:root[data-theme="dark"] .doc-nav a.is-active { background: var(--blue-soft); color: var(--ink); }
/* Кнопка темы в шапке: светлый кружок в синем кольце, как на референсе */
:root[data-theme="dark"] .hdr__theme { border-color: transparent; background: #d4dbe5; color: #0f1117; box-shadow: 0 0 0 2px #3254b4; }
:root[data-theme="dark"] .hdr__theme:hover { background: #dcddd6; }
