.sm-page .aic-shell { max-width: 1180px; }
.sm-breadcrumb { margin-bottom: 24px; color: var(--aic-muted); font-size: 13px; }
.sm-breadcrumb a { color: var(--aic-accent); }
.sm-page .aic-hero { gap: clamp(24px, 4vw, 56px); }
.sm-page .aic-hero h1 { margin-top: 0; }
.sm-page .aic-form-row { align-items: stretch; }
.sm-page #sm-cancel { min-height: 48px; }
.sm-page progress { display: block; width: 100%; height: 6px; margin-top: 16px; accent-color: var(--aic-accent); }
.sm-report-url { max-width: 65ch; overflow-wrap: anywhere; color: var(--aic-accent); font-size: 13px; }
.sm-options { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin: 18px 0 10px; }
.sm-options select { background: #101612; color: var(--aic-text); font: inherit; border: 1px solid #475a4e; border-radius: 7px; min-height: 40px; padding: 6px 10px; }
.sm-options select:focus-visible { outline: 2px solid var(--aic-accent); outline-offset: 4px; }
.sm-issues { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sm-issues li { border: 1px solid var(--aic-line); border-radius: 8px; padding: 4px 10px; font-size: 13px; }
.sm-map { margin-top: 12px; overflow-wrap: anywhere; }
.sm-map summary, .sm-details summary { cursor: pointer; color: var(--aic-accent); padding-block: 4px; }
.sm-map li { margin-top: 4px; }
.sm-table-wrap { width: 100%; overflow: auto; border: 1px solid var(--aic-line); border-radius: 12px; }
.sm-table { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.sm-table th, .sm-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--aic-line); overflow-wrap: anywhere; }
.sm-table thead th { color: var(--aic-muted); font: 11px "JetBrains Mono", monospace; }
.sm-table th:first-child { width: 70px; }
.sm-table th:nth-child(2) { width: 32%; }
.sm-table th:nth-child(3) { width: 105px; }
.sm-table th:nth-child(4) { width: 170px; }
.sm-table tbody th { font-weight: 400; }
.sm-table tr:last-child > * { border-bottom: 0; }
.sm-table input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--aic-accent); }
.sm-table .aic-badge { white-space: normal; line-height: 1.3; }
.sm-details { min-width: 0; }
.sm-facts { display: grid; grid-template-columns: minmax(80px, .8fr) minmax(0, 1.2fr); gap: 5px 12px; margin: 8px 0; font-size: 12px; }
.sm-facts dt { color: var(--aic-muted); }
.sm-facts dd { margin: 0; }
.sm-chain { padding-left: 20px; margin-block: 8px; }
.sm-change, .sm-issue { margin-top: 7px !important; font-size: 12px; }
.sm-issue { border-top: 1px solid var(--aic-line); padding-top: 5px; }
.sm-issue p + p { margin-top: 4px; }
.sm-instructions { margin-top: 56px; }
@media (max-width: 600px) {
  .sm-page .aic-shell { padding-inline: 14px; }
  .sm-page .aic-results { padding: 14px; }
  .sm-page .aic-actions button { min-height: 44px; }
  .sm-table { min-width: 0; table-layout: auto; }
  .sm-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .sm-table tbody tr { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px 10px; align-items: start; padding: 10px; border-bottom: 1px solid var(--aic-line); }
  .sm-table tbody :is(td, th) { width: auto; padding: 0; border: 0; min-width: 0; }
  .sm-table tbody td:nth-child(4), .sm-table tbody td:nth-child(5) { grid-column: 2 / -1; }
}
