/* Stable and development builds use the same understated download controls. */
.page-beta .main-content { max-width: 1104px; margin: auto; padding: 36px 24px 56px; }
.page-header { text-align: center; margin: 0 0 32px; }
.page-title { color: var(--site-ink); font-size: clamp(32px, 5vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1.2; margin: 0 0 16px; }
.page-subtitle { font-size: 14px; color: var(--site-muted); margin: 0; }
.latest-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; }
.latest-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--site-surface); border-radius: 9px; }
.latest-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.latest-card-title { font-size: 16px; font-weight: 500; }
.latest-card-badge { color: var(--site-muted); font-size: 11px; }
.latest-row { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: center; }
.latest-row-label { font-size: 12px; color: var(--site-muted); }
.split-button { display: flex; position: relative; min-width: 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--site-line); border-radius: 6px; font-size: 12px; font-weight: 500; text-decoration: none; color: var(--site-ink); background: var(--site-paper); cursor: pointer; transition: opacity .2s ease; }
.btn-primary { background: var(--site-ink); color: var(--site-paper); border-color: var(--site-ink); }
.btn:hover { opacity: .8; }
.btn-main { flex: 1; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-split { flex: 0 0 44px; width: 44px; padding: 0; border-left-color: var(--site-muted); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.btn-split i { font-size: 10px; }
.dropdown-menu { position: absolute; z-index: 3; right: 0; top: calc(100% + 6px); width: 230px; max-width: calc(100vw - 40px); display: none; padding: 6px; background: var(--site-paper); border: 1px solid var(--site-line); border-radius: 7px; }
.split-button.open .dropdown-menu { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 8px; min-height: 40px; width: 100%; padding: 10px; background: transparent; border: 0; border-radius: 4px; color: var(--site-ink); text-decoration: none; text-align: left; font-size: 11px; }
.dropdown-item:hover { background: var(--site-surface); }
.dropdown-item i { width: 14px; color: var(--site-muted); }
.split-button.disabled .btn { color: var(--site-muted); background: var(--site-paper); border-color: var(--site-line); opacity: .5; cursor: default; }
.split-button.disabled .dropdown-menu { display: none; }
.filters { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.filter-btn { padding: 12px 0; border: 0; background: transparent; color: var(--site-muted); font-size: 12px; min-height: 44px; }
.filter-btn.active { color: var(--site-ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.releases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.release-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--site-line); border-radius: 9px; }
.release-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.release-title, .release-title-row { min-width: 0; }
.release-title-row { display: flex; flex-direction: column; gap: 6px; }
.release-comment { font-size: 16px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.release-version { color: var(--site-muted); font-size: 11px; font-family: ui-monospace, monospace; }
.release-type-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--site-muted); font-size: 10px; padding-top: 4px; }
.release-type-badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #c99724; }
.release-type-badge.stable::before { background: #279d66; }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 24px; font-size: 11px; color: var(--site-muted); }
.release-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.release-meta i { font-size: 10px; }
.sha256-hash { font-family: ui-monospace, monospace; color: inherit; font-size: 10px; border: 0; background: var(--site-surface); padding: 6px 8px; border-radius: 4px; cursor: pointer; }
.hash-label { font-size: 10px; }
.release-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.release-actions .btn { flex: 1; white-space: nowrap; }
.loading, .empty-state { text-align: center; padding: 56px 0; color: var(--site-muted); font-size: 13px; }
.spinner { display: none; }
.empty-icon { font-size: 24px; }
.empty-state h3 { font-size: 18px; color: var(--site-ink); font-weight: 500; }
@media (max-width: 768px) {
    .page-beta .main-content { padding: 32px 20px 40px; }
    .latest-downloads, .releases-grid { grid-template-columns: 1fr; gap: 16px; }
    .latest-card, .release-card { padding: 20px; }
    .release-actions .btn { font-size: 11px; }
}
