:root {
  --bg: #F6F8FE;
  --surface: #FFFFFF;
  --text: #151B2F;
  --text-muted: #535E76;
  --border: #DFE4F0;
  --accent: #3E46E8;
  --accent-2: #703FE9;
  --radius: 16px;
  --radius-search: 20px;
  --shadow: 0 10px 30px rgba(21, 27, 47, 0.06);
  --max: 1200px;
  --focus: 0 0 0 3px rgba(62, 70, 232, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Golos Text", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: none; box-shadow: var(--focus); }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(246, 248, 254, 0.9);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.nav a { color: var(--text-muted); font-weight: 500; text-decoration: none; }
.header-add { flex: 0 0 auto; justify-content: center; min-width: 44px; }
.header-add:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.nav a:hover, .nav a.active { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: #333bd4; text-decoration: none; color: #fff; }
.btn-secondary {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); }

.hero {
  padding: 36px 0 28px;
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(62,70,232,.16), transparent 60%),
    radial-gradient(900px 360px at 90% 0%, rgba(112,63,233,.14), transparent 55%),
    var(--bg);
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p { margin: 0 0 22px; color: var(--text-muted); max-width: 42rem; }
.search-box {
  display: flex; gap: 10px; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-search); padding: 8px; box-shadow: var(--shadow);
  position: relative; min-width: 0; max-width: 100%;
}
.search-box input[type="search"] {
  flex: 1 1 0; width: 100%; max-width: 100%; border: 0; background: transparent; font: inherit;
  padding: 12px 14px; min-width: 0; color: var(--text);
}
.search-box input[type="search"]:focus { outline: none; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); display: none; overflow: hidden; z-index: 30;
}
.suggest.open { display: block; }
.suggest a {
  display: block; padding: 12px 16px; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.suggest a:hover, .suggest a.active { background: #EEF1FF; }
.suggest .meta { color: var(--text-muted); font-size: 13px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tab {
  min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); text-decoration: none; font-weight: 500;
}
.tab.active, .tab:hover { color: var(--accent); border-color: #c9cef8; background: #eef0ff; text-decoration: none; }

.section { padding: 28px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  margin-bottom: 16px;
}
.section-head > * { min-width: 0; }
.catalog-head { flex-wrap: wrap; }
.catalog-head .search-box { width: min(100%, 420px); }
.section-head h2 { margin: 0; font-size: 1.35rem; }
.muted { color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 14px;
}
.chip:hover { border-color: #c9cef8; text-decoration: none; }
.chip button { border: 0; background: transparent; cursor: pointer; color: var(--text-muted); }

.layout-with-filters {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start;
}
.filters {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; position: sticky; top: 84px;
}
.layout-with-filters > * { min-width: 0; }
.filters h3 { margin: 0 0 12px; font-size: 1rem; }
.filters label { display: block; font-size: 14px; color: var(--text-muted); margin: 10px 0 6px; }
.filters select, .filters input:not([type="checkbox"]), .sheet-panel select, .form-control {
  width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--border);
  padding: 10px 12px; font: inherit; background: #fff; color: var(--text);
}
.filters-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mobile-filters-btn { display: none; }

.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.grid.list { grid-template-columns: minmax(0, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0; max-width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #c9cef8; box-shadow: var(--shadow); }
.card-main { display: flex; gap: 12px; min-width: 0; align-items: flex-start; }
.avatar {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  overflow: hidden; background: var(--accent);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.card-body { min-width: 0; flex: 1; }
.card-title {
  margin: 0; font-size: 1rem; font-weight: 650;
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-meta { margin-top: 4px; font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.card-meta > * { min-width: 0; overflow-wrap: anywhere; }
.card-desc {
  margin: 8px 0 0; color: var(--text-muted); font-size: 14px; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-actions {
  margin-top: 0; display: flex; flex-wrap: nowrap; gap: 8px;
  align-items: center; min-width: 0;
}
.btn-open-max {
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
}

.entry-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.entry-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  color: var(--text); text-decoration: none;
  min-height: 96px; transition: border-color .15s ease, box-shadow .15s ease;
}
.entry-card:hover {
  border-color: #c9cef8; box-shadow: var(--shadow); text-decoration: none; color: var(--text);
}
.entry-card strong { font-size: 1.05rem; }

.resource-hero {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px;
}
.resource-hero > * { min-width: 0; overflow-wrap: anywhere; }
.resource-hero .avatar { width: 96px; height: 96px; border-radius: 24px; font-size: 1.6rem; }
.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: #eef0ff; color: var(--accent); font-size: 13px; font-weight: 600;
}

.resource-page { padding-top: 18px; }
.resource-page__inner { min-width: 0; }
.grid--similar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
  align-items: stretch;
}
.grid--similar-single {
  grid-template-columns: minmax(0, 360px);
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  margin: 0 0 14px; font-size: 13px; color: var(--text-muted); min-width: 0;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { opacity: .55; }
.breadcrumbs__current {
  min-width: 0; color: var(--text); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.resource-profile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 18px; min-width: 0;
}
.resource-profile__top {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px 16px; align-items: start;
}
.resource-profile__avatar {
  width: 88px; height: 88px; border-radius: 22px; font-size: 1.5rem;
}
.resource-profile__main { min-width: 0; }
.resource-profile__heading { min-width: 0; }
.resource-profile__title {
  margin: 8px 0 4px; font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere;
}
.resource-profile__handle {
  color: var(--text-muted); font-size: 15px; overflow-wrap: anywhere; word-break: break-word;
}
.resource-profile__chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--border); background: #f3f5fc;
  color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none;
}
a.chip:hover { border-color: #c9cef8; color: var(--accent); text-decoration: none; }
.chip--muted { color: var(--text-muted); }
.resource-profile__stat { margin-top: 14px; }
.resource-profile__stat-value {
  font-size: clamp(1.6rem, 5vw, 2rem); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--text);
}
.resource-profile__stat-label { color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.resource-profile__stat-note { color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.resource-profile__actions {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0;
}
.resource-profile__cta { min-width: min(100%, 220px); }
.resource-profile__copy { min-width: min(100%, 180px); }
.copy-toast {
  font-size: 13px; color: #146c43; background: #e8f8ef; border: 1px solid #b7ebd0;
  border-radius: 10px; padding: 6px 10px;
}
.resource-profile__verified { margin: 12px 0 0; font-size: 12px; }

.resource-block { margin-top: 22px; min-width: 0; }
.resource-block__title {
  margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -0.01em;
}
.resource-block__lead { margin: 0 0 12px; }
.resource-about {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 16px; min-width: 0;
  max-width: 72ch;
}
.resource-about__body {
  margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
  color: var(--text); line-height: 1.55;
  max-width: 72ch;
}
.resource-about.is-collapsed .resource-about__body {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.btn-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--accent);
  font: inherit; font-weight: 600; cursor: pointer;
}
.btn-link:hover { text-decoration: underline; }

.subs-chart {
  display: grid; grid-template-columns: repeat(30, minmax(0, 1fr));
  grid-template-rows: 1fr; align-items: end; gap: 3px; height: 96px;
  border-bottom: 1px solid var(--border); margin-bottom: 10px;
}
.subs-chart__bar {
  grid-row: 1; width: 100%; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  min-height: 4px;
}
.resource-details { margin-top: 8px; color: var(--text-muted); font-size: 14px; }
.resource-details__list { margin: 8px 0 0; padding-left: 18px; }

.resource-report { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--border); }
.resource-report__panel { margin-top: 12px; max-width: 560px; }
.resource-report__panel[hidden] { display: none !important; }
.form-control {
  width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit;
  padding: 10px 12px;
}
.form-control:focus { outline: none; box-shadow: var(--focus); border-color: #c9cef8; }
.muted { color: var(--text-muted); }

@media (max-width: 640px) {
  .resource-profile { padding: 14px; border-radius: 16px; }
  .resource-profile__top { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .resource-profile__avatar { width: 72px; height: 72px; border-radius: 18px; font-size: 1.25rem; }
  .resource-profile__actions { flex-direction: column; align-items: stretch; }
  .resource-profile__cta,
  .resource-profile__copy { width: 100%; min-width: 0; }
  .copy-toast { width: 100%; text-align: center; }
}
.empty {
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; color: var(--text-muted);
}
.flash {
  margin: 16px 0; padding: 12px 14px; border-radius: 12px;
  background: #e8f8ef; color: #146c43; border: 1px solid #b7ebd0;
}
.flash.error { background: #fdeceb; color: #8a1f11; border-color: #f5c2c0; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pagination a, .pagination span {
  min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0 10px;
}
.pagination .active { background: var(--accent); color: #fff; border-color: var(--accent); }

.site-footer {
  margin-top: 48px; border-top: 1px solid var(--border); padding: 28px 0 40px;
  color: var(--text-muted); font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.footer-grid a { color: var(--text-muted); }
.form-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 560px; }
.form-stack .error { color: #b42318; font-size: 14px; }

.sheet {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: rgba(21,27,47,.45);
}
.sheet.open { display: block; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--surface); border-radius: 20px 20px 0 0;
  padding: 16px 16px 24px; max-height: 85vh; overflow: auto;
}
.sheet-actions { display: flex; gap: 8px; position: sticky; bottom: 0; background: var(--surface); padding-top: 12px; }

@media (max-width: 960px) {
  .layout-with-filters { grid-template-columns: minmax(0, 1fr); }
  .filters.desktop { display: none; }
  .mobile-filters-btn { display: inline-flex; }
  .grid:not(.grid--similar) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--similar { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
  .grid--similar-single { grid-template-columns: minmax(0, 360px); }
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .header-add { grid-row: 1; grid-column: 2; }
  .nav { grid-column: 1 / -1; gap: 4px 16px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav .hide-sm { display: none; }
  .grid:not(.grid--similar),
  .grid--similar,
  .grid--similar-single { grid-template-columns: minmax(0, 1fr); }
  .entry-grid { grid-template-columns: minmax(0, 1fr); }
  .resource-hero { grid-template-columns: minmax(0, 1fr); }
  .search-box { flex-direction: column; }
  .resource-profile__top { grid-template-columns: 72px minmax(0, 1fr); }
  .search-box input[type="search"] { flex: 0 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.subscriber-table { width: 100%; table-layout: fixed; text-align: left; border-spacing: 0 10px; }
.subscriber-table th, .subscriber-table td { min-width: 0; overflow-wrap: anywhere; }
.subscriber-table .number { width: 22%; text-align: right; padding-left: 8px; }
.subscriber-table .card { flex-direction: row; align-items: center; gap: 8px; }
.subscriber-table .card-main { flex: 1; min-width: 0; align-items: center; }
@media (max-width: 640px) {
  .subscriber-table .number { width: 25%; font-size: .79rem; }
  .subscriber-table .card { padding: 8px; gap: 6px; }
  .subscriber-table .avatar { width: 30px; height: 30px; border-radius: 8px; }
  .subscriber-table .card-title { font-size: .86rem; }
}

.faq-page { overflow-wrap: anywhere; padding-top: 12px; }
.faq-page h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; }
.faq-intro { max-width: 42rem; margin: 0 0 12px; }
.faq-updated { margin: 10px 0 0; font-size: 13px; }
.faq-search { margin: 0 0 12px; max-width: 100%; }
.faq-search label { display: block; margin: 0 0 6px; font-weight: 650; }
.faq-search input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit;
}
.faq-topic-nav, .faq-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-topic-nav a, .faq-toc a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px;
}
.faq-topic-nav a:hover, .faq-toc a:hover { border-color: #c9cef8; color: var(--accent); text-decoration: none; }
.faq-browse[hidden], .faq-results[hidden] { display: none !important; }
.faq-results { margin-top: 16px; }
.faq-results__list, .faq-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.faq-results__list a, .faq-index li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
}
.faq-results__list a {
  display: flex; flex-direction: column; gap: 4px;
  color: var(--text); text-decoration: none; min-width: 0;
}
.faq-results__list a:hover { border-color: #c9cef8; text-decoration: none; }
.faq-result__title, .faq-index a { color: var(--text); font-weight: 650; text-decoration: none; }
.faq-results__list a:hover .faq-result__title, .faq-index a:hover { color: var(--accent); }
.faq-result__topic, .faq-result__context, .faq-index p { margin: 0; color: var(--text-muted); font-weight: 400; }
.faq-index { margin-top: 14px; }
.faq-index p { margin-top: 6px; }
.faq-empty { margin: 0 0 12px; }
.faq-group { margin-top: 28px; scroll-margin-top: 148px; }
.faq-group h2, .faq-article h2, .faq-related h2, .faq-sources h2 { margin: 0 0 8px; font-size: 1.35rem; scroll-margin-top: 148px; }
.faq-article { max-width: 760px; min-width: 0; }
.faq-toc {
  margin: 8px 0 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 12px 4px; overflow-anchor: none;
}
.faq-toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; font-weight: 700; cursor: pointer; list-style: none; color: var(--text);
}
.faq-toc summary::-webkit-details-marker { display: none; }
.faq-toc summary::after {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.faq-toc[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq-toc summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: var(--focus); }
.faq-toc ol { list-style: none; margin: 0; padding: 0 0 8px; display: flex; flex-direction: column; }
.faq-toc a { border: 0; border-radius: 10px; padding: 8px 4px; min-height: 44px; background: transparent; font-weight: 500; }
.faq-lead { font-size: 1.05rem; margin: 0 0 8px; }
.faq-section { margin-top: 22px; scroll-margin-top: 148px; }
.faq-section h3, .faq-platform h3 { margin: 16px 0 8px; font-size: 1.05rem; scroll-margin-top: 148px; }
.faq-steps { margin: 8px 0 12px; padding-left: 1.2rem; }
.faq-steps li { margin: 6px 0; }
.faq-note {
  margin: 12px 0; padding: 12px 14px; border-radius: 12px;
  background: #eef0ff; border: 1px solid #d5daf8;
}
.faq-platform {
  margin: 12px 0; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
}
.faq-actions { margin-top: 22px; }
.faq-related, .faq-sources { margin-top: 26px; }
.faq-related ul, .faq-sources ul { margin: 8px 0 0; padding-left: 1.1rem; }
.faq-related li, .faq-sources li { margin: 6px 0; }
@media (min-width: 960px) {
  .faq-article--with-toc {
    display: grid;
    grid-template-columns: 250px minmax(0, 760px);
    column-gap: 28px;
    align-items: start;
    justify-content: start;
    max-width: none;
  }
  .faq-article--with-toc > :not(.faq-toc) { grid-column: 2; min-width: 0; }
  .faq-toc {
    grid-column: 1; grid-row: 1 / span 40; align-self: start;
    position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow: auto;
    margin: 0; padding: 8px 14px 12px;
  }
  .faq-toc summary { pointer-events: none; cursor: default; min-height: 0; padding: 8px 0 4px; }
  .faq-toc summary::after { display: none; }
  .faq-group,
  .faq-group h2,
  .faq-article h2,
  .faq-related h2,
  .faq-sources h2,
  .faq-section,
  .faq-section h3,
  .faq-platform h3 { scroll-margin-top: 88px; }
}
