.article-shell,
.article {
  min-width: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero-inner > *,
.featured > *,
.grid > *,
.footer-grid > * {
  min-width: 0;
}

.hero h1,
.featured h3,
.card h3 {
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
}

.internal-link { font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: #86b9b3; }
.external-link { text-decoration-style: dotted; text-decoration-color: #73808d; }
.external-link span { color: var(--muted); font-size: .78em; }
.product-mark { width: 2rem; height: 2rem; display: inline-grid; place-items: center; flex: none; border: 1px solid #b7d2ce; border-radius: 7px; background: var(--soft); color: var(--dark); font-size: .7rem; font-weight: 800; }
.product-cell { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.tool-index { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.tool-index > strong { display: block; line-height: 1.45; }
.tool-index ul { list-style: none; margin: 11px 0 0; padding: 0; }
.tool-index li { display: flex; align-items: center; gap: 9px; margin: 9px 0; }
.tool-index li > span { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.official-mini { font-size: .72rem; font-weight: 500; }
.editor-note { margin: 30px 0; padding: 18px 20px; border-left: 4px solid var(--brand); background: var(--soft); }
.editor-note p { margin: 5px 0 0; }
.use-cases, .decision-module { margin: 54px 0; }
.use-cases h2, .decision-module h2 { margin: .2em 0 1em; padding: 0; border: 0; }
.use-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.use-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.use-card h3 { margin: 0 0 14px; padding-right: 42px; }
.use-number { position: absolute; right: 18px; top: 18px; color: #93a09e; font-size: .75rem; font-weight: 800; }
.use-card dl { margin: 0 0 14px; }
.use-card dt { margin-top: 9px; color: var(--muted); font-size: .72rem; font-weight: 750; }
.use-card dd { margin: 1px 0; font-size: .9rem; }
.decision-filters { display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 10px; }
.decision-filters button { flex: none; min-height: 40px; padding: 7px 13px; border: 1px solid var(--strong); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.decision-filters button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.article .decision-table { min-width: 920px; }
.article .decision-table th, .article .decision-table td { text-align: left; }
.decision-table tr[hidden] { display: none; }
.choice-map { margin: 42px 0; padding: 24px; border: 1px solid var(--strong); background: var(--warm); }
.choice-map figcaption { margin-bottom: 15px; font-weight: 800; }
.choice-map > div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.choice-map p { margin: 15px 0 0; color: var(--muted); font-size: .82rem; }
.screenshot-slot { min-height: 220px; display: grid; place-items: center; border: 2px dashed var(--strong); background: var(--surface); color: var(--muted); }
.beginner-home { background: var(--warm); }
.beginner-home-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.beginner-map { margin: 34px 0 48px; border: 1px solid var(--strong); background: var(--warm); }
.beginner-map figcaption { padding: 20px 22px; border-bottom: 1px solid var(--strong); font-weight: 800; }
.beginner-map > div { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: center; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.beginner-map > div:last-child { border-bottom: 0; }
.beginner-map a { font-weight: 700; }
.beginner-quick-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 34px 0 48px; }
.beginner-quick-facts > div { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.beginner-quick-facts span { color: var(--muted); font-size: .82rem; }

@media (max-width: 620px) {
  .hero-inner { gap: 28px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; text-align: center; }
  .use-card-grid { grid-template-columns: 1fr; }
  .choice-map > div { grid-template-columns: 1fr; gap: 2px; }
  .decision-module .table-wrap { margin-inline: calc(50% - 50vw); padding-inline: 14px; border-inline: 0; }
  .mobile-toc .tool-index ul { padding: 0; }
  .beginner-home-grid, .beginner-quick-facts { grid-template-columns: 1fr; }
  .beginner-map > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (min-width: 621px) and (max-width: 900px) {
  .beginner-home-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

