.orion-downloads { color: var(--ink, #e2eaf5); }
.orion-downloads fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.orion-downloads legend { padding: 0; margin-bottom: 14px; font-size: 11px; font-weight: 500; color: var(--muted, #8c9db5); }
.orion-download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin-inline: auto; }
.orion-download-choice { display: block; position: relative; min-width: 0; cursor: pointer; }
.orion-download-choice input { position: absolute; z-index: 1; top: 17px; left: 14px; width: 15px; height: 15px; margin: 0; accent-color: var(--blue, #a9c9ed); cursor: pointer; }
.orion-download-card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; min-height: 140px; padding: 16px 16px 13px; background: #0c131f; border: 1px solid var(--edge, #94b0d421); border-radius: 6px; transition: border-color .18s ease, background .18s ease; }
.orion-download-platform { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; font: 9px var(--mono, ui-monospace, monospace); color: var(--muted, #8c9db5); }
.orion-download-platform > span { color: var(--blue, #a9c9ed); padding: 3px 5px; border: 1px solid #a9c9ed26; border-radius: 3px; background: #a9c9ed08; }
.orion-download-card > strong { display: block; margin-top: 13px; font: 600 18px/1.25 var(--heading, system-ui, sans-serif); letter-spacing: -.3px; }
.orion-download-hardware { display: block; margin-top: 6px; font-size: 10px; line-height: 1.6; color: var(--muted, #8c9db5); }
.orion-download-selection { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding-top: 12px; color: var(--blue, #a9c9ed); font-size: 9px; visibility: hidden; }
.orion-download-selection svg { width: 14px; height: 14px; }
.orion-download-choice:hover .orion-download-card { background: #131e2e; border-color: #a9c9ed55; }
.orion-download-choice input:checked + .orion-download-card { background: #162235; border-color: #a9c9ed91; box-shadow: inset 0 0 0 1px #a9c9ed14; }
.orion-download-choice input:checked + .orion-download-card .orion-download-selection { visibility: visible; }
.orion-download-choice input:focus-visible + .orion-download-card { outline: 2px solid var(--gold, #e9b346); outline-offset: 3px; }
.orion-download-help { margin: 15px 0 0; color: var(--muted, #8c9db5); font-size: 10px; line-height: 1.7; }
.orion-download-help strong { color: #bdcde1; font-weight: 500; }
.orion-download-note { margin: 15px 0 0; padding: 11px 12px; border: 1px solid #e9b34624; border-radius: 4px; background: #e9b34608; color: #c9b684; font-size: 10px; line-height: 1.7; }
.orion-download-feedback { margin: 14px 0 0; color: var(--green, #90c7b2); font-size: 11px; line-height: 1.7; }
.orion-download-feedback[hidden] { display: none; }
.orion-download-footer { display: flex; justify-content: flex-end; border-top: 1px solid var(--edge, #94b0d421); padding-top: 18px; margin-top: 18px; }
.orion-downloads .orion-download-submit { min-height: 38px; padding: 9px 13px; color: #ead5a4; background: #e9b34612; border: 1px solid #e9b34655; border-radius: 4px; font-size: 11px; cursor: pointer; }
.orion-downloads .orion-download-submit:hover { background: #e9b34620; border-color: #e9b34688; }
.orion-download-submit:focus-visible { outline: 2px solid var(--gold, #e9b346); outline-offset: 3px; }
.orion-download-submit:disabled { opacity: .5; cursor: default; }
.head-tools:has(> .download-orion-control) { flex-wrap: wrap; }
.download-orion-control { white-space: nowrap; }
@media (max-width: 680px) {
  .head-tools:has(> .download-orion-control) { gap: 8px; justify-content: flex-start; }
  .head-tools:has(> .download-orion-control) > .date-range { flex: 1 0 100%; margin-right: 0; }
  .head-tools > .download-orion-control { margin-left: auto; }
}
@media (max-width: 460px) {
  .orion-download-options { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 280px; }
  .orion-download-card { min-height: 132px; }
  .orion-download-card > strong { margin-top: 12px; }
  .orion-download-selection { padding-top: 11px; }
  .orion-download-footer > button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .orion-download-card { transition: none; }
}
