:root { --download-bg: #f5f8fb; --download-blue: #0864cf; --download-line: #d4deea; }
html, body { background: var(--download-bg); }
.site-header { position: relative; background: #0b131f; border-bottom: 1px solid #243449; z-index: 2; }
.site-header .header-inner { min-height: 72px; gap: 24px; }
.site-header .site-nav { gap: clamp(13px, 1.65vw, 26px); white-space: nowrap; }
.site-nav > a:not(.nav-cta) { padding-block: 24px; }
.site-nav > a:not(.nav-cta)::after { bottom: 15px; }
.site-header .language-link { color: #8ed8fa; border-color: #31536a; padding: 4px 10px; min-height: 0; }
.devices { position: relative; }
.devices summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: center; }
.devices summary::-webkit-details-marker { display: none; }
.devices summary::after { content: ""; inline-size: 7px; block-size: 7px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.device-links { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 166px; padding: 6px; color: white; background: #101e30; border: 1px solid #34465d; border-radius: 10px; }
.device-links a { display: block; padding: 9px 12px; border-radius: 6px; }
.device-links a:hover, .device-links a:focus-visible { background: #1d3551; }
.download-main { padding-block: 50px 64px; }
.page-intro h1 { margin: 0; color: #101827; letter-spacing: -.045em; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.15; }
.page-intro p { display: flex; flex-wrap: wrap; column-gap: 15px; margin: 9px 0 0; font-size: clamp(16px, 1.6vw, 21px); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 28px 0 17px; padding-bottom: 25px; border-bottom: 1px solid var(--download-line); }
.product-control, .version-controls { display: flex; align-items: center; gap: 14px; font-weight: 650; }
.toolbar select, .search-field { height: 44px; color: #101827; background: #fff; border: 1px solid #c6d3e5; border-radius: 8px; font: inherit; }
.toolbar select { padding: 0 12px; }
.product-control select { width: clamp(190px, 22vw, 310px); }
.search-field { display: flex; align-items: center; gap: 8px; width: clamp(170px, 22vw, 280px); padding: 0 12px; font-weight: 400; }
.search-field input { min-width: 0; width: 100%; padding: 0; background: transparent; border: 0; color: inherit; font: inherit; }
.search-field input:focus-visible { outline: 0; }
:focus-visible, .search-field:focus-within { outline: 2px solid #0864cf; outline-offset: 3px; }
.site-header :focus-visible { outline-color: #66cfff; }
.matrix { background: #fff; border: 1px solid #cbd7e7; border-radius: 13px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
thead th:first-child { width: 32%; }
thead th { font-size: 18px; line-height: 1.35; padding: 15px 21px; }
tbody th, tbody td { padding: 18px 21px; font-size: 17px; font-weight: 400; vertical-align: middle; border-top: 1px solid #e1e9f2; }
tbody tr.latest { background: #edf5ff; }
.version-name { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; }
.version-name strong { font-size: clamp(24px, 2.6vw, 34px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.version-status { background: #e6ebf1; color: #26354a; border-radius: 5px; padding: 3px 8px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.latest .version-status { background: #0968d8; color: #fff; }
.release-date { display: block; margin-top: 8px; color: #4f5e73; font-size: 15px; font-variant-numeric: tabular-nums; }
.package-info { display: block; margin-bottom: 6px; }
.platform-name { display: none; }
.action-link, .primary-action, .subtle-button, .resource-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; font: inherit; font-weight: 650; line-height: 1.4; cursor: pointer; }
.action-link { padding: 3px 0; border: 0; background: transparent; color: var(--download-blue); }
.action-link:hover, .resource-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.primary-action, .subtle-button { border: 1px solid transparent; border-radius: 7px; padding: 6px 16px; }
.primary-action { background: #0968d8; color: #fff; }
.primary-action:hover { background: #0757b6; }
.primary-action img { filter: brightness(0) invert(1); }
.subtle-button { background: #fff; border-color: var(--download-line); color: #182842; }
.unavailable { color: #536177; }
.empty { padding: 25px 21px; border-top: 1px solid #e1e9f2; }
.empty p { margin: 5px 0 7px; color: #4f5e73; }
.preview-note { font-size: 14px; color: #4f5e73; margin: 13px 0 0; }
.resources { margin-top: 39px; }
.resources h2 { margin: 0 0 9px; font-size: 28px; }
.resources ul { list-style: none; padding: 0; margin: 0; }
.resources li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 8px; border-bottom: 1px solid var(--download-line); font-weight: 600; }
.resource-actions { margin-left: auto; display: flex; flex-wrap: wrap; column-gap: 18px; color: var(--download-blue); font-size: 14px; }
dialog { width: min(450px, calc(100vw - 32px)); border: 1px solid var(--download-line); border-radius: 14px; padding: 24px; color: #101827; }
dialog::backdrop { background: #07111f85; }
dialog h2 { margin: 0; font-size: 23px; }
dialog p { line-height: 1.6; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 1050px) {
  .site-header .menu-toggle { display: block; color: #fff; cursor: pointer; position: relative; z-index: 3; }
  .site-header .site-nav { display: none; }
  .site-header .site-nav.downloads-menu-open { display: grid; position: absolute; inset: 100% 0 auto; transform: none; background: #0b131f; z-index: 2; gap: 0; padding: 10px 24px 18px; max-height: calc(100dvh - 64px); overflow: auto; }
  .site-header .site-nav.downloads-menu-open > a, .site-header .devices summary { padding: 10px 0; }
  .site-header .site-nav.downloads-menu-open > .nav-cta { padding: 5px 12px; justify-self: start; margin-top: 6px; }
  .site-nav.downloads-menu-open > a::after { display: none; }
  .device-links { position: static; margin: 4px 0 8px; }
}
@media (max-width: 720px) {
  .site-header .header-inner { min-height: 62px; }
  .download-main { padding-block: 30px 38px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 10px; margin: 20px 0 14px; padding-bottom: 15px; }
  .product-control select { width: 100%; }
  .product-control { white-space: nowrap; }
  .version-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .search-field { width: auto; }
  .toolbar select { padding-inline: 8px; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table, tbody { display: block; }
  tbody tr { display: grid; }
  tbody tr[hidden] { display: none; }
  tbody th, tbody td { display: block; padding: 10px 14px; }
  tbody th { padding-block: 13px; background: #f8fafd; }
  tbody tr.latest th { background: #e5effc; }
  tbody td { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
  .package-info { display: inline; margin: 0; }
  .platform-name { display: block; font-weight: 700; }
  tbody button { min-height: 40px; min-width: 59px; }
  .release-date { margin-top: 6px; }
  .resources { margin-top: 27px; }
  .resources li { gap: 6px 8px; flex-wrap: wrap; padding-inline: 0; }
  .resource-actions { column-gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


.toolbar :disabled { cursor: default; color: #516178; opacity: 1; }
.release-empty { display: grid; min-height: 170px; justify-items: center; align-content: center; text-align: center; }
.release-empty strong { font-size: 18px; }
.availability-note { margin: 13px 0 0; color: #4f5e73; font-size: 14px; }
.availability-note a { color: var(--download-blue); text-decoration: underline; text-underline-offset: 3px; }
.resource-status { margin-left: auto; font-size: 14px; color: #4f5e73; font-weight: 400; }
@media (max-width: 720px) {
  .release-empty { border-top: 0; }
}

html[lang="en"] .downloads-header .brand-copy strong { white-space: nowrap; }
@media (max-width: 1260px) {
  html[lang="en"] .downloads-header .site-nav { display: none; }
  html[lang="en"] .downloads-header .menu-toggle { display: block; color: #fff; cursor: pointer; z-index: 3; }
  html[lang="en"] .downloads-header .site-nav.downloads-menu-open {
    display: grid; position: absolute; inset: 100% 0 auto; transform: none;
    background: #0b131f; z-index: 2; gap: 0; padding: 10px 24px 18px;
    max-height: calc(100dvh - 64px); overflow: auto;
  }
  html[lang="en"] .downloads-header .site-nav > a,
  html[lang="en"] .downloads-header .devices summary { padding: 10px 0; }
  html[lang="en"] .downloads-header .site-nav > .nav-cta {
    padding: 5px 12px; justify-self: start; margin-top: 6px;
  }
  html[lang="en"] .downloads-header .site-nav > a::after { display: none; }
  html[lang="en"] .downloads-header .device-links { position: static; margin: 4px 0 8px; }
}
@media (max-width: 720px) {
  html[lang="en"] .version-controls { grid-template-columns: minmax(0,1fr) auto; }
  html[lang="en"] .product-control select { min-width: 0; }
}

.review-bar{background:#e5effd;border-bottom:1px solid #bfd3ee;padding:10px 0;color:#142a46}.review-inner,.review-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.review-inner{justify-content:space-between}.review-inner>p{margin:0;width:100%;font-size:14px}.review-actions a,.release-notes summary{color:var(--download-blue);font-size:14px;cursor:pointer}.review-actions a:hover{text-decoration:underline}.review-actions form{margin:0}.release-notes{margin-top:6px}.release-notes p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#4f5e73}.install-option+.install-option{margin-top:9px}.package-info{overflow-wrap:anywhere}.package-info small,.resource-title small{margin-left:7px;color:#526177;font-size:12px;font-weight:400}.resource-title{min-width:0;overflow-wrap:anywhere}.install-option .primary-action{min-height:36px}.matrix [hidden]{display:none!important}
@media(max-width:720px){tbody td{display:grid;grid-template-columns:minmax(68px,.7fr) minmax(0,1.3fr);align-items:start}.install-option{display:flex;gap:7px;justify-content:space-between;align-items:center;grid-column:2}.install-option .action-link{flex-shrink:0}.install-option+.install-option{margin-top:0}.package-info small{display:block;margin:0}.review-actions{gap:8px}.resources li{flex-wrap:wrap}.resource-title small{display:block;margin-left:0}}


.release-notes strong{font-size:13px;color:#43536c}.release-notes p{margin:3px 0 0;line-height:1.45}.release-notes{margin-top:10px}

.platform-heading { display: inline-flex; align-items: center; gap: 8px; }
.platform-heading img, .platform-name img { object-fit: contain; flex: 0 0 auto; opacity: .73; }
@media (max-width: 720px) {
  .platform-name { display: inline-flex; align-items: center; gap: 6px; }
  .platform-name img { width: 16px; height: 16px; }
  .install-option .primary-action { flex: 0 0 auto; }
  .install-option .package-info { min-width: 0; }
}
@media (max-width: 380px) {
  .install-option { flex-wrap: wrap; }
}
