/* HQ-1486: product photos beside software tracks; quieter nested surfaces.
   Compatibility text stays visible before downloads and release notes fold. */
.sw-search { max-width: 620px; }
.sw-hint { max-width: 78ch; line-height: 1.6; }
.sw-identify { padding: 0; background: transparent; border-radius: 10px; }
.sw-identify > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px;
  cursor: pointer; padding: 16px 18px; list-style: none; font-size: 14px; font-weight: 600; }
.sw-identify > summary::-webkit-details-marker { display: none; }
.sw-identify-prompt { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--brand-ink); }
.sw-identify-prompt::after { content: " +"; }
.sw-identify[open] .sw-identify-prompt::after { content: " -"; }
.sw-identify-content { padding: 0 18px 14px; color: var(--text-dim); font-size: 14px; line-height: 1.65; max-width: 90ch; }
.sw-list { gap: 14px; }
.sw-model { background: transparent; overflow: clip; }
.sw-model[open] { border-color: var(--line-2); }
.sw-model > summary { padding: 18px 20px; gap: 16px; background: var(--surface); }
.sw-model > summary:hover { color: var(--text); }
.sw-photo { width: 56px; height: 56px; object-fit: contain; background: var(--tile); }
.sw-name { font-size: 16px; line-height: 1.45; }
.sw-sub { text-transform: none; letter-spacing: 0; }
.sw-open { font-size: 12px; gap: 12px; }
.sw-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 24px; }
.sw-product-meta, .sw-tracks { min-width: 0; }
.sw-product-meta:empty { display: none; }
.sw-product-meta:empty + .sw-tracks { grid-column: 1 / -1; }
.sw-gallery { margin: 16px 0 0; max-width: none; }
.sw-gallery-image { display: block; height: 210px; background: var(--tile); }
.sw-gallery-controls { gap: 4px; }
.sw-gallery-controls button { padding: 8px; min-height: 36px; background: transparent; color: var(--text-dim); border: 1px solid var(--line-2); }
.sw-gallery-controls button:hover { background: var(--surface); color: var(--text); }
.sw-gallery-controls [data-sw-photo-count] { font-size: 11px; white-space: nowrap; }
.sw-gallery figcaption { line-height: 1.5; font-size: 12px; }
.sw-prod-link { margin: 0; }
.sw-variant-name { font-size: 17px; color: var(--text); margin: 0; }
.sw-variant + .sw-variant { margin-top: 24px; padding-top: 24px; }
.sw-note { padding: 0; border: 0; border-radius: 0; background: transparent; line-height: 1.65; }
.sw-rel-list { margin-top: 16px; gap: 16px; }
.sw-rel { padding: 0; border: 0; border-radius: 0; }
.sw-rel + .sw-rel { padding-top: 16px; border-top: 1px solid var(--line); }
.sw-rel-meta { gap: 8px; }
.sw-rel-title { font-size: 14px; }
.sw-rel-sub { font-size: 12px; overflow-wrap: anywhere; }
.sw-compat { border-width: 0 0 0 2px; border-radius: 0; padding: 10px 14px; line-height: 1.6; }
.sw-compat li { margin-bottom: 4px; }
.sw-release-notes { border-bottom: 1px solid var(--line); }
.sw-release-notes > summary { cursor: pointer; padding: 8px 0; color: var(--text-dim); font-size: 13px; }
.sw-changelog, .sw-rel-notes { padding-bottom: 10px; line-height: 1.6; }
.sw-dl { align-self: flex-start; min-height: 40px; margin-top: 0; }
.sw-login { padding: 10px 0; border: 0; background: transparent; }
.sw-identify > summary:focus-visible, .sw-release-notes > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
/* Preserve the existing narrow-screen flow as the desktop content gains columns. */
@media (max-width: 920px) {
  .sw-body { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .sw-gallery { max-width: 360px; }
  .sw-identify-prompt { margin-left: 0; }
}
