.troubleshooting { max-width: 100%; }
.trouble-header { max-width: 78ch; }
.troubleshooting h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); max-width: 25ch; }
.troubleshooting section { margin-top: 40px; }
.troubleshooting h2 { max-width: 45ch; }
.trouble-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.trouble-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: .9rem; text-decoration: none; }
.trouble-limit { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--panel); }
.trouble-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.trouble-table table { min-width: 850px; margin: 0; font-size: .9rem; }
.trouble-table caption { text-align: left; padding: 12px; color: var(--muted); }
.trouble-table th, .trouble-table td { vertical-align: top; }
.trouble-table th[scope=row] { min-width: 150px; background: transparent; }
.trouble-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.trouble-evidence figure { min-width: 0; margin: 0; }
.trouble-evidence img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.trouble-evidence figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; }
@media (max-width: 680px) {
  .trouble-evidence { grid-template-columns: 1fr; }
  .troubleshooting .trouble-table table { display: table; }
  .trouble-toc { display: grid; grid-template-columns: 1fr; }
  .trouble-toc a { width: 100%; }
}
