/* Reading layout for support and policy pages; shares the site's brand tokens. */
.doc__intro { max-width: 42rem; }
.doc__notice {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  color: var(--fg-muted);
  font-size: .9375rem;
}
.doc__notice p { margin: .4rem 0 0; }
.doc__notice strong { color: var(--fg); }
.doc__toc {
  margin: 2rem 0 3rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.doc__toc summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .8rem; font-weight: 650; }
.doc__toc summary::after { content: '+'; content: '+' / ''; margin-left: auto; font-size: 1.3rem; }
.doc__toc[open] summary::after { content: '−'; content: '−' / ''; }
.doc__toc ol { columns: 2; gap: 2rem; margin: .75rem 0 1rem; padding-left: 1.5rem; }
.doc__toc li { break-inside: avoid; font-size: .9rem; padding: .35rem 0; }
.doc h2[id], .doc h3[id] { scroll-margin-top: 110px; }
.doc__table { overflow-x: auto; margin: 1.5rem 0; }
.doc__table table { min-width: 580px; margin: 0; }
.doc__end { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border-strong); }
.support__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.support__contact { padding: 1.5rem; background: var(--sunken); border-radius: var(--radius-md, 12px); }
.support__contact h2 { font-size: 1.1rem; margin: 0 0 .75rem; }
.support__contact p { font-size: .9375rem; }
.support__contact small { color: var(--fg-muted); }
.support__contact a, .support__contact span { overflow-wrap: anywhere; }
.support__label { font-size: .8rem; color: var(--fg-muted); }
.error-page .error-code { font-variant-numeric: tabular-nums; font-size: clamp(5rem, 20vw, 10rem); line-height: 1; color: var(--primary-text); letter-spacing: -.08em; }
.error-page { min-height: 65vh; }
@media (max-width: 600px) {
  .doc__toc ol { columns: 1; }
  .support__contacts { grid-template-columns: 1fr; }
  .doc__notice { padding: 1rem; }
}
@media print {
  .nav, .footer, .doc__toc, .doc__end, .back { display: none !important; }
  .doc { padding: 0 !important; }
  .doc__table { overflow: visible; }
  .doc__table table { min-width: 0; }
}
