/* Seven independent release categories; keep forms mounted when switching. */
.download-program-selector { margin: 20px 0 24px; padding: 24px; border: 1px solid #dfe6f2; border-radius: 18px; background: #fff; }
.download-program-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.download-program-heading strong { color: #102342; font-size: 19px; }
.download-program-heading strong b { color: #4667ff; }
.download-program-heading p { margin: 6px 0 0; color: #7584a0; font-size: 13px; }
.download-program-heading button { flex-shrink: 0; padding: 10px 16px; border: 1px solid #dce3f0; border-radius: 9px; background: #fff; color: #354769; cursor: pointer; }
.download-program-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.download-program-options button { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; min-height: 77px; padding: 14px 16px; border: 1px solid #e0e6f2; border-radius: 11px; background: #f8faff; color: #162b4b; text-align: left; cursor: pointer; }
.download-program-options strong { font-size: 15px; }
.download-program-options span { font-size: 12px; color: #8290aa; }
.download-program-options .is-available span { color: #087e74; }
.download-program-selector button[aria-pressed="true"] { border-color: #4667ff; background: #eef2ff; box-shadow: inset 0 0 0 1px #4667ff; }
.download-program-selector button:focus-visible { outline: 3px solid #93a7ff; outline-offset: 3px; }
.download-program-selection { margin: 16px 0 0; color: #526b97; font-size: 13px; }
.download-admin-grid.is-filtered { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.download-admin-grid > .download-admin-card[hidden] { display: none !important; }
.download-admin-card { min-width: 0; height: auto; max-height: none; }
.download-admin-card .download-current dd { white-space: normal; overflow-wrap: anywhere; }
.download-admin-card .download-upload-form { min-width: 0; height: auto; max-height: none; }
.download-admin-card .download-file-copy { min-width: 0; }
.download-admin-card .download-file-copy strong { white-space: normal; overflow-wrap: anywhere; }
.download-admin-card .download-file-copy small { display: block; }
@media (max-width: 1100px) {
    .download-program-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .download-program-selector { padding: 16px; }
    .download-program-heading { align-items: flex-start; }
    .download-program-heading strong { font-size: 17px; }
    .download-program-heading p { line-height: 1.6; }
    .download-program-heading button { padding: 9px 10px; font-size: 12px; }
    .download-program-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .download-program-options button { padding: 12px; }
    .download-program-options strong { font-size: 14px; }
}
