.downloads-page { padding-block: 32px 80px; min-height: 65vh; }
.downloads-heading h1 { font-size: clamp(36px, 4vw, 48px); letter-spacing: -1.5px; margin-bottom: 18px; }
.downloads-heading > p:last-child { margin: 0; font-size: 17px; color: var(--app-text-muted); }
.downloads-account-note { margin: 28px 0; padding: 15px 18px; border-left: 3px solid var(--brand-teal); background: var(--brand-soft); font-size: 14px; }
.downloads-account-note a { color: #0f766e; text-decoration: underline; text-underline-offset: 3px; }
.downloads-panel { border: 1px solid var(--app-border); border-radius: 12px; overflow: hidden; }
.downloads-categories:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--app-border); padding-inline: 16px; }
.downloads-categories button { font: inherit; font-size: 14px; font-weight: 600; padding: 16px; margin-bottom: -1px; color: var(--app-text-muted); border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; }
.downloads-categories button[aria-pressed="true"] { color: var(--app-text-strong); border-bottom-color: var(--app-primary); }
.downloads-categories button:hover { background: var(--app-surface-soft); color: var(--app-text-strong); }
.downloads-categories button:focus-visible, .download-retry:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: -4px; }
.downloads-table-scroll { overflow-x: auto; }
.downloads-table-scroll:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: -2px; }
.downloads-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; text-align: left; }
.downloads-table thead { background: var(--app-bg); }
.downloads-table thead th { padding: 16px 20px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--app-border); }
.downloads-table thead th:first-child { width: 45%; }
.downloads-table thead th:last-child, .downloads-table td:last-child { text-align: right; }
.downloads-table tbody th, .downloads-table td { padding: 20px; vertical-align: middle; border-bottom: 1px solid var(--app-border); }
.downloads-table tbody tr:last-child > * { border-bottom: 0; }
.downloads-table tbody tr:hover { background: var(--app-bg); }
.downloads-table td { color: var(--app-text-muted); white-space: nowrap; }
.download-file { display: flex; align-items: center; gap: 16px; min-width: 210px; }
.download-name { font-weight: 600; line-height: 1.5; }
.downloads-table .download-driver-row > * { border-bottom: 0; padding-bottom: 12px; }
.downloads-table .download-notice-row > td { padding-top: 0; text-align: left; white-space: normal; }
.download-ownership-note { margin: 0; color: var(--app-text-muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.download-format { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 56px; height: 48px; flex-shrink: 0; border-radius: 6px; color: white; font-size: 10px; font-weight: 600; line-height: 1; }
.download-format-exe { background: #475569; }
.download-format-zip { background: #64748b; }
.download-format [hidden] { display: none; }
.download-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #99f6e4; border-radius: 12px; padding: 10px 14px; background: white; color: #0f766e; font-weight: 600; box-shadow: 0 1px 2px #0f172a0d; }
.download-action:hover { background: #f0fdfa; border-color: #5eead4; color: #115e59; }
.download-action:focus-visible { outline-color: #0d9488; outline-offset: 3px; }
.download-status { font-size: 12px; font-weight: 400; margin: 6px 0 0; }
.download-status:empty { display: none; }
.download-retry { font: inherit; font-size: 12px; margin-top: 6px; padding: 2px 0; border: 0; background: none; color: #0f766e; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.downloads-help { margin-top: 24px; font-size: 13px; }
.downloads-scroll-hint { display: none; }
.downloads-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.main-navigation a[aria-current="page"] { color: var(--brand-teal); }
@media (max-width: 700px) { .downloads-page { padding-block: 24px 56px; } .downloads-account-note { margin-block: 24px; } .downloads-heading > p:last-child { font-size: 15px; } }
@media (max-width: 860px) { .downloads-scroll-hint { display: block; margin: 0; padding: 12px 16px; border-top: 1px solid var(--app-border); background: var(--app-bg); font-size: 12px; } }
