.version-shell { align-items: start; }
.version-shell .inspector-intro h1 { font-size: clamp(36px, 4.2vw, 52px); }
.version-dropzone { min-height: 180px; }
.version-note { color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.version-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.version-fields label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.version-fields input, .version-fields select, .version-filter select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); padding: 12px; font: inherit; }
.version-fields input:focus-visible, .version-fields select:focus-visible, .version-filter select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.version-checkbox { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 1.5; }
.version-checkbox input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); }
.version-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.version-actions button { cursor: pointer; font: inherit; }
.version-actions button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
.version-result-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.version-result-heading h2 { margin-bottom: 8px; }
.version-result-heading p { color: var(--muted); overflow-wrap: anywhere; }
.version-result-heading button { cursor: pointer; font: inherit; }
.version-counts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.version-counts > div { padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.version-counts dt { color: var(--muted); font-size: 13px; }
.version-counts dd { margin: 8px 0 0; font-size: 25px; font-weight: 800; }
.version-filter { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; }
.version-filter select { width: auto; max-width: 100%; }
.version-table { width: 100%; min-width: 700px; }
.version-table td { vertical-align: top; white-space: normal; overflow-wrap: anywhere; max-width: 320px; }
.version-table .version-detail { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.version-badge { font-weight: 750; }
.version-badge[data-status="already_target"], .version-badge[data-status="target_available"] { color: #0f766e; }
.version-badge[data-status="no_target"], .version-badge[data-status="unidentified"] { color: #815200; }
.version-badge[data-status="query_failed"] { color: #b42318; }
.version-steps { padding-left: 24px; color: var(--muted); line-height: 1.7; }
.version-steps li + li { margin-top: 12px; }
.version-explanation-table { overflow-x: auto; }
.version-explanation-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.version-explanation-table th, .version-explanation-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.65; }
.version-explanation-table th { min-width: 150px; }
.version-example-grid { display: grid; gap: 16px; padding: 20px; background: #fff; border-left: 3px solid var(--teal); }
.version-example-grid dt { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.version-example-grid dd { margin: 0; overflow-wrap: anywhere; line-height: 1.6; }
.version-faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.version-faq summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.version-faq details p { color: var(--muted); line-height: 1.7; }
@media (max-width: 620px) {
  .version-fields { grid-template-columns: 1fr; }
  .version-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .version-result-heading button { width: 100%; }
  .version-table { min-width: 0; }
  .version-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .version-table tbody { display: block; }
  .version-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px 0; border-top: 1px solid var(--line); }
  .version-table td { border: 0; padding: 8px 4px; max-width: none; }
  .version-table td:nth-child(-n+2) { grid-column: 1 / -1; }
  .version-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
}
