/* Общая оболочка справочных страниц и статей. Палитра и элементы главного лендинга. */
:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #fff;
  --soft: #f4f7f4;
  --memory: #eaf3eb;
  --ink: #111512;
  --ink-2: #4a524c;
  --line: #d5dad4;
  --leaf-ink: #16772e;
  --btn: #17803a;
  --btn-hover: #136d31;
  --btn-text: #fff;
  --focus: #16772e;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 4vw, 64px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101612;
  --surface: #161a17;
  --soft: #17201a;
  --memory: #1c2b21;
  --ink: #eaede9;
  --ink-2: #a7afa9;
  --line: #3c473f;
  --leaf-ink: #5bc777;
  --focus: #5bc777;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #101612;
    --surface: #161a17;
    --soft: #17201a;
    --memory: #1c2b21;
    --ink: #eaede9;
    --ink-2: #a7afa9;
    --line: #3c473f;
    --leaf-ink: #5bc777;
    --focus: #5bc777;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--leaf-ink);
}
button {
  font: inherit;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 600;
  max-width: 920px;
}
h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p + p {
  margin-top: 16px;
}
strong {
  font-weight: 600;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
::selection {
  background: var(--memory);
}
[hidden] {
  display: none !important;
}
svg {
  display: inline-block;
}
.ui-icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.wrap {
  width: min(1180px, 100% - var(--gut) * 2);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  padding: 12px 20px;
  background: var(--surface);
  z-index: 30;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 28px;
  height: 28px;
  background: #21a038;
  border-radius: 8px;
}
.mark i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.desktop-nav a,
.mobile-nav nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
}
.desktop-nav .ui-icon {
  width: 18px;
  height: 18px;
}
.desktop-nav a[aria-current="page"] {
  color: var(--leaf-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.nav-get {
  font-weight: 600;
}
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
}
.theme-toggle:hover {
  background: var(--soft);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }
}
.mobile-nav {
  display: none;
}
.document-page,
.article-page {
  padding-block: 28px 80px;
}
.document-page {
  max-width: 1000px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 15px;
  color: var(--ink-2);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.breadcrumbs .ui-icon {
  width: 15px;
  height: 15px;
  transform: rotate(-90deg);
}
.page-heading {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}
.heading-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--memory);
  color: var(--leaf-ink);
}
.heading-icon .ui-icon {
  width: 32px;
  height: 32px;
}
.lead {
  max-width: 660px;
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
}
.article-meta {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 18px;
}
.document-page > section {
  margin-top: 56px;
}
.document-page > section > h2 {
  margin-bottom: 24px;
}
.document-page > section > p {
  margin-bottom: 20px;
}
.muted {
  color: var(--ink-2);
  font-size: 15px;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  vertical-align: middle;
  letter-spacing: 0;
}
.action-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
.action-link:hover {
  border-color: var(--leaf-ink);
  background: var(--soft);
  color: var(--ink);
}
.action-link .ui-icon {
  width: 22px;
  height: 22px;
}
.action-link .link-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-block: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--leaf-ink);
  background: var(--soft);
  font-size: 16px;
  color: var(--ink-2);
}
.note > .ui-icon {
  margin-top: 2px;
  color: var(--leaf-ink);
}
.note p {
  margin: 0;
}
.note strong {
  color: var(--ink);
}
.important {
  border: 1px solid var(--line);
  border-left: 3px solid var(--leaf-ink);
}
.flow {
  margin: 28px 0;
}
.flow ol {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 44px;
  margin: 0;
  padding: 0;
}
.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 0;
  border-top: 2px solid var(--line);
  min-width: 0;
}
.flow li > .ui-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: var(--leaf-ink);
}
.flow li strong {
  font-size: 20px;
  line-height: 1.35;
}
.flow li > span {
  font-size: 16px;
  color: var(--ink-2);
}
.flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: -32px;
  font: 400 26px/1 var(--sans);
  color: var(--ink-2);
}
.flow figcaption {
  margin-top: 8px;
  max-width: 760px;
  color: var(--ink-2);
  font-size: 16px;
}
.platform-list {
  display: grid;
  gap: 12px;
}
.disclosure {
  margin-block: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.platform-list > .disclosure {
  margin: 0;
}
.disclosure > summary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.4;
}
.disclosure > summary::-webkit-details-marker,
.mobile-nav > summary::-webkit-details-marker {
  display: none;
}
.disclosure > summary:hover {
  background: var(--soft);
  border-radius: 11px;
}
.disclosure > summary > .ui-icon:first-child {
  color: var(--leaf-ink);
}
.disclosure .chevron {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  border-radius: 11px 11px 0 0;
}
.disclosure[open] > summary .chevron {
  transform: rotate(180deg);
}
.summary-hint {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  color: var(--ink-2);
}
.detail-body {
  padding: 4px 24px 24px;
}
.detail-body > p,
.detail-body > h3 {
  margin-top: 20px;
}
.detail-body > .action-link {
  margin-top: 20px;
}
.platform-soon {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.platform-soon > div {
  flex: 1;
}
.platform-soon p {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 5px;
}
.platform-soon > .ui-icon {
  color: var(--ink-2);
}
.status-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.status-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--leaf-ink);
  font-size: 16px;
  font-weight: 600;
}
.status-label.neutral {
  color: var(--ink);
}
.status-label .ui-icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.fact-pair,
.storage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 28px;
}
.fact-pair > div,
.storage-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.fact-pair .ui-icon,
.storage-grid .ui-icon {
  width: 32px;
  height: 32px;
  color: var(--leaf-ink);
  margin-bottom: 14px;
}
.fact-pair h3,
.storage-grid h3 {
  margin-bottom: 12px;
}
.fact-pair p,
.storage-grid p {
  font-size: 16px;
  color: var(--ink-2);
}
.defaults {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.defaults > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 20px;
}
.defaults > div + div {
  border-top: 1px solid var(--line);
}
.defaults > div > .ui-icon {
  color: var(--leaf-ink);
  margin-top: 3px;
}
.defaults strong {
  display: block;
  margin-bottom: 4px;
}
.defaults span span {
  font-size: 16px;
  color: var(--ink-2);
}
.state {
  padding: 2px 10px;
  border: 1px solid var(--leaf-ink);
  border-radius: 6px;
  background: var(--memory);
  color: var(--leaf-ink);
  font-size: 15px;
  font-weight: 600;
}
.state.off {
  background: var(--soft);
  color: var(--ink-2);
  border-color: var(--line);
}
.checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.checklist .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--leaf-ink);
  margin-top: 3px;
}
.help-panel {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.help-panel > div {
  flex: 1;
}
.help-panel > div > .ui-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--leaf-ink);
}
.help-panel h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.help-panel p {
  color: var(--ink-2);
  font-size: 16px;
}
.help-panel > .action-link {
  flex: none;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
}
.guide-card:hover {
  border-color: var(--leaf-ink);
  color: var(--ink);
  background: var(--soft);
}
.guide-icon {
  color: var(--leaf-ink);
}
.guide-icon .ui-icon {
  width: 32px;
  height: 32px;
}
.guide-quote {
  display: block;
  max-width: 95%;
  padding: 12px 16px;
  background: var(--memory);
  border-radius: 12px 12px 12px 2px;
  font-size: 17px;
  line-height: 1.5;
}
.guide-card h2 {
  font-size: 27px;
}
.guide-card p {
  color: var(--ink-2);
  font-size: 17px;
}
.read-link {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  min-height: 44px;
  color: var(--leaf-ink);
  font-weight: 600;
  font-size: 16px;
}
.read-link .ui-icon {
  width: 20px;
  height: 20px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 720px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.article-toc {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.article-toc h2 {
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.4;
  margin-bottom: 8px;
}
.article-toc a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}
.article-toc a:hover {
  border-color: var(--leaf-ink);
  color: var(--ink);
}
.article-toc a > .ui-icon {
  width: 20px;
  height: 20px;
  color: var(--leaf-ink);
}
.article-toc .link-arrow {
  width: 16px;
  height: 16px;
  color: var(--ink-2);
}
.article-body > section {
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.article-body > section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.article-body h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.article-body > section > p {
  margin-block: 16px 24px;
}
.article-example {
  margin: 24px 0 30px;
}
.example-label,
.article-example h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 12px;
}
.example-label .ui-icon,
.article-example h3 .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--leaf-ink);
}
.article-example > p:not(.example-label) {
  color: var(--ink-2);
  font-size: 16px;
}
.article-body blockquote {
  margin: 14px 0;
  padding: 22px 24px;
  background: var(--memory);
  border-radius: 14px 14px 2px 14px;
  font-size: 18px;
  line-height: 1.65;
}
.article-body .detail-body {
  padding-inline: 20px;
}
.article-body .detail-body > .article-example:last-child {
  margin-bottom: 0;
}
.definition-list {
  margin: 24px 0;
}
.definition-list > div {
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.definition-list dt {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  margin-bottom: 10px;
}
.definition-list dt .ui-icon {
  color: var(--leaf-ink);
}
.definition-list dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}
.article-cta {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.article-cta h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.article-cta p {
  color: var(--ink-2);
}
.article-cta .action-link {
  margin-top: 24px;
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-text);
}
.article-cta .action-link:hover {
  background: var(--btn-hover);
}
.article-related {
  margin-top: 48px;
}
.article-related h2 {
  font-size: 28px;
  margin-bottom: 24px;
}
.related-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  color: var(--ink-2);
  font-size: 15px;
}
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: var(--line);
}
.site-footer .ui-icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 1000px) {
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav .ui-icon {
    display: none;
  }
  .reading-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
  }
  .help-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer nav {
    margin-left: 0;
  }
  .footer-inner > .logo {
    width: 100%;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .desktop-nav {
    display: none;
  }
  .header-inner {
    min-height: 76px;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .mobile-nav {
    display: block;
    margin-left: auto;
  }
  .mobile-nav > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 15px;
    list-style: none;
    cursor: pointer;
  }
  .mobile-nav > summary > .ui-icon {
    width: 20px;
    height: 20px;
  }
  .mobile-nav[open] > summary {
    background: var(--memory);
    border-color: var(--leaf-ink);
  }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10em), 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 6px 18px #0002;
  }
  .mobile-nav nav a {
    min-height: 48px;
    padding: 10px;
  }
  .mobile-nav nav a[aria-current="page"] {
    background: var(--memory);
    border-radius: 8px;
  }
  .mobile-nav nav .ui-icon {
    width: 20px;
    height: 20px;
  }
  .document-page,
  .article-page {
    padding-block: 16px 48px;
  }
  .breadcrumbs {
    margin-bottom: 24px;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 28px;
  }
  .heading-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .heading-icon .ui-icon {
    width: 26px;
    height: 26px;
  }
  .lead {
    font-size: 19px;
  }
  .reading-layout {
    display: block;
    margin-top: 28px;
  }
  .article-toc {
    position: static;
    margin-bottom: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .article-toc h2 {
    grid-column: 1/-1;
  }
  .article-toc a {
    font-size: 16px;
  }
  .guide-grid {
    gap: 16px;
  }
  .guide-card {
    padding: 22px;
  }
  .guide-card h2 {
    font-size: 25px;
  }
  .flow ol {
    gap: 32px;
  }
  .flow li:not(:last-child)::after {
    right: -26px;
  }
  .flow li {
    padding-block: 20px;
  }
  .flow li strong {
    font-size: 18px;
  }
  .status-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .detail-body {
    padding-inline: 20px;
  }
  .document-page > section {
    margin-top: 40px;
  }
  .fact-pair,
  .storage-grid {
    gap: 24px;
  }
  .related-links {
    grid-template-columns: 1fr;
  }
  .article-cta {
    padding: 24px;
    gap: 18px;
  }
  .article-cta h2 {
    font-size: 26px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 36px;
  }
  .page-heading {
    display: block;
  }
  .page-heading > .heading-icon {
    margin-bottom: 20px;
  }
  .lead {
    margin-top: 16px;
  }
  .flow ol {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 0;
  }
  .flow li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .flow li > .ui-icon {
    grid-row: 1/3;
    margin: 0;
    width: 28px;
    height: 28px;
  }
  .flow li > span {
    grid-column: 2;
  }
  .flow li:not(:last-child)::after {
    content: "↓";
    font-size: 22px;
    top: auto;
    bottom: -10px;
    left: 6px;
    right: auto;
    z-index: 1;
    background: var(--paper);
  }
  .flow figcaption {
    margin-top: 18px;
  }
  .detail-body .flow li:not(:last-child)::after {
    background: var(--surface);
  }
  .guide-grid,
  .fact-pair,
  .storage-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    margin-top: 28px;
  }
  .guide-card {
    gap: 16px;
  }
  .article-toc {
    grid-template-columns: 1fr;
  }
  .disclosure > summary {
    padding: 16px;
    grid-template-columns: 24px minmax(0, 1fr) 28px;
    gap: 10px;
  }
  .disclosure .chevron {
    width: 28px;
    height: 28px;
  }
  .summary-hint {
    font-size: 16px;
  }
  .detail-body {
    padding: 0 16px 20px;
  }
  .disclosure .disclosure > summary {
    padding-inline: 12px;
    grid-template-columns: minmax(0, 1fr) 28px;
  }
  .disclosure .disclosure > summary > .ui-icon:first-child {
    display: none;
  }
  .defaults > div {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 18px 16px;
    gap: 10px;
  }
  .defaults .state {
    grid-column: 2;
    justify-self: start;
  }
  .platform-soon {
    flex-wrap: wrap;
    padding: 18px 16px;
  }
  .platform-soon > .badge {
    margin-left: 40px;
  }
  .note {
    padding: 16px;
    gap: 10px;
  }
  .article-body h2 {
    font-size: 28px;
  }
  .article-body blockquote {
    padding: 18px;
    font-size: 17px;
  }
  .article-body .detail-body {
    padding-inline: 14px;
  }
  .article-cta {
    display: block;
  }
  .article-cta > .heading-icon {
    margin-bottom: 20px;
  }
  .article-cta .action-link {
    width: 100%;
  }
  .help-panel {
    padding: 24px;
  }
  .help-panel > .action-link {
    width: 100%;
  }
  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .logo {
    font-size: 18px;
  }
  .header-inner {
    gap: 8px;
  }
  .theme-toggle {
    width: 44px;
  }
  .breadcrumbs {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .article-toc,
  .article-cta,
  .article-related {
    display: none;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  .reading-layout {
    display: block;
  }
  .disclosure > .detail-body {
    display: block !important;
  }
  .disclosure {
    break-inside: avoid;
  }
  .article-example {
    break-inside: avoid;
  }
}

/* Два режима Mac - альтернативы, а не последовательные шаги. */
.flow.comparison li::after {
  display: none;
}

@media (max-width: 760px) {
  .site-footer nav { flex-basis: 100%; }
}
