/* 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; }
.download-admin-card[data-program-card="insurance_agent_pro"] { grid-column:1 / -1; }
.download-pro-os-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding:0 24px 24px; }
.download-pro-os-slot { min-width:0; border:1px solid #dde5f2; border-radius:12px; overflow:hidden; }
.download-pro-os-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:18px; background:#f3f6ff; }
.download-pro-os-head h3 { margin:0; font-size:18px; color:#152e56; }
.download-pro-os-head em { font-size:12px; color:#7183a4; font-style:normal; }
.download-pro-os-head em.available { color:#0c8071; }
.download-pro-os-slot .download-current { padding:18px; }
.download-pro-os-slot .download-current dd,.download-pro-legacy dd { overflow-wrap:anywhere; white-space:normal; }
.download-os-release-notes { margin:0 18px 14px; color:#617593; font-size:13px; white-space:pre-wrap; overflow-wrap:anywhere; }
.download-build-details { margin:0 18px 16px; color:#546d94; font-size:12px; }
.download-build-details summary,.download-pro-legacy summary { cursor:pointer; font-weight:700; }
.download-build-details pre { white-space:pre-wrap; overflow-wrap:anywhere; padding:10px; background:#f6f8fd; border-radius:8px; }
.download-build-details .download-current { padding:12px 0 0; }
.download-pro-os-slot .download-upload-form { padding:18px; }
.download-pro-upload-note { font-size:12px; line-height:1.7; color:#6e83a5; }
.download-pro-legacy { margin:0 24px 24px; padding:16px; border:1px solid #dfe5ef; border-radius:10px; color:#637795; }
.download-pro-legacy>p { font-size:12px; line-height:1.8; }
.download-pro-legacy .download-current { padding:14px 0; }
.download-pro-legacy .download-os-release-notes { margin:0; }
@media(max-width:900px) { .download-pro-os-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .download-pro-os-grid { padding:0 14px 14px; gap:14px; }.download-pro-legacy { margin:0 14px 14px; }.download-pro-os-head { align-items:flex-start; flex-direction:column; }.download-pro-os-slot .download-current { grid-template-columns:1fr; }.download-pro-os-slot .button { white-space:normal; } }
@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; }
}
