/* Download-specific content; the Guides and Downloads shell lives in resources.css. */
.download-catalog { padding: 0; list-style: none; margin-block: 2rem 0; }
.download-catalog > li { min-width: 0; }
.download-catalog .resource-card { border-top: 0; }
.download-catalog .resource-card-title a { color: inherit; text-decoration: none; }
.download-catalog .resource-card-title a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.download-command-label { margin: 1rem 0 .4rem; font-size: .8rem; color: var(--muted); }
.download-command { display: flex; align-items: center; gap: .75rem; padding: .45rem .45rem .45rem .9rem; background: var(--surface); border-radius: 6px; }
.download-command code { flex: 1; min-width: 0; font: 400 .9rem/1.5 var(--font-display); overflow-wrap: anywhere; user-select: all; }
.download-command-copy { min-height: 2.25rem; min-width: 4.5rem; padding: .35rem .8rem; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--bg); color: var(--ink); font: 500 .85rem/1 var(--font-body); cursor: pointer; }
.download-command-copy:hover { border-color: var(--ink); }
.download-command-copy:focus-visible { outline: 2px solid var(--agent-send); outline-offset: 2px; }
.download-command-copy[hidden] { display: none; }
.download-section { margin-top: clamp(3rem, 7vw, 5rem); }
.download-guide-note { margin-top: clamp(3rem, 7vw, 6rem); }
.download-guide-note h2 { margin-top: 0; }
.download-contents { margin-block: 1.5rem 0; }
.download-contents > div { padding-block: 1.2rem; border-top: 1px solid var(--border); }
.download-contents dt { margin-bottom: 0.4rem; }
.download-contents dd { margin: 0; color: var(--muted); }
.download-prompt { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1.5rem; background: var(--surface); border-radius: 8px; font: 400 0.9rem/1.7 var(--font-display); }
.download-summary h2 { margin: 0; font-size: 1.35rem; }
.download-summary .download-price { margin: 1.5rem 0 0.5rem; font-size: 2.5rem; line-height: 1.15; color: var(--ink); }
.download-summary .workflow-download-footer { border: 0; padding: 1rem 0 0.5rem; }
.download-summary .resource-button { width: 100%; }
.download-summary .download-delivery-note { font-size: 0.875rem; }
.download-facts { margin: 1.5rem 0 0; font-size: 0.9rem; }
.download-facts > div { padding-block: 0.8rem; border-top: 1px solid var(--border); }
.download-facts dt { color: var(--muted); margin-bottom: 0.25rem; }
.download-facts dd { margin: 0; }
.resource-page .download-dialog { background: var(--bg); }
.resource-page .download-dialog h2 { font-family: var(--font-body); }
.resource-page .download-access input { caret-color: var(--agent-send); }
.resource-page .download-access button:focus-visible,
.resource-page .download-dialog-close:focus-visible,
.resource-page .download-access input:focus-visible { outline: 2px solid var(--agent-send); outline-offset: 4px; }

@media (min-width: 801px) {
  .download-summary { grid-column: 2; grid-row: 1; }
  .download-summary + .resource-prose { grid-column: 1; grid-row: 1; }
}
