/* A single download surface shared by all product pages. */
body.office-catalog-dle main#top.product-page #product-download-start #download { align-self:start; }
main.product-page #download .download-panel-card {
 --download-ink:#233648; --download-muted:#5e6f82; --download-line:#dce4ed;
 --download-action-inset:18px; --download-action-icon:32px; --download-action-gap:12px;
 box-sizing:border-box; width:100%; min-width:0; padding:26px; border:1px solid var(--download-line);
 border-radius:8px; background:#fff; box-shadow:0 8px 28px #27436108; color:var(--download-ink); text-align:left;
}
body.office-catalog-dle main#top #download .download-panel-heading h2 { margin:0; padding:0; color:var(--download-ink); font-size:23px; font-weight:600; line-height:1.25; letter-spacing:-.35px; text-align:left; }
main.product-page #download .download-panel-heading p { margin:7px 0 0; color:var(--download-muted); font-size:13px; line-height:1.5; text-align:left; }
main.product-page #download .download-platform-tabs { display:flex; gap:4px; margin:22px 0 23px; padding:4px; border:1px solid #e5ebf1; border-radius:6px; background:#f4f7fa; }
main.product-page #download .download-platform-tabs[hidden],
main.product-page #download .download-platform-section[hidden] { display:none; }
main.product-page #download .download-platform-tab {
 display:flex; flex:1 1 0; align-items:center; justify-content:center; gap:7px; min-width:0; min-height:40px; padding:8px 7px;
 border:1px solid transparent; border-radius:4px; background:transparent; color:#5e6d7d;
 font:500 13px/1.35 var(--site-text-font,'Segoe UI',sans-serif); white-space:nowrap; cursor:pointer;
 transition:color .15s,background .15s,box-shadow .15s;
}
main.product-page #download .download-platform-tab img { display:block; flex:none; width:17px; height:17px; object-fit:contain; }
main.product-page #download .download-platform-tab[aria-selected="true"] { border-color:#dae3ec; background:#fff; color:var(--download-ink); box-shadow:0 1px 3px #2336480b; }
main.product-page #download .download-platform-tab:hover { color:var(--product-brand,#2467a5); background:#fff; }
main.product-page #download .download-platform-tab:focus-visible,
main.product-page #download .download-platform-section:focus-visible { outline:2px solid var(--product-brand,#2467a5); outline-offset:3px; }
body.office-catalog-dle main#top.product-page #download .download-original-view,
body.office-catalog-dle main#top.product-page #download .hero-os-actions { display:block; width:100%; height:auto; min-height:0; margin:0; padding:0; }
main.product-page #download .download-platform-section { min-width:0; margin:22px 0 0; padding:0; }
main.product-page #download .download-platform-section + .download-platform-section { border-top:1px solid var(--download-line); padding-top:22px; }
/* The server renders the initial active tab; JavaScript handles later selection. */
main.product-page #download .download-tabs-ready .download-platform-section { margin:0; padding:0; border:0; }
main.product-page #download .os-download-entry { display:block; min-width:0; width:100%; }
body.office-catalog-dle main#top #download .download-release h3 { margin:0 0 6px; padding:0; color:var(--download-muted); font-size:13px; font-weight:400; line-height:1.4; text-align:left; }
main.product-page #download .download-release p { margin:0; color:var(--download-ink); font-size:17px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; text-align:left; }
body.office-catalog-dle main#top #download .os-download-details { display:block; width:100%; margin:18px 0 0; padding:0; text-align:left; }
body.office-catalog-dle main#top #download .download-primary-action + [data-product-file-details] { margin-top:8px; }
body.office-catalog-dle main#top #download .catalog-download-variant { margin:0 0 4px; }
body.office-catalog-dle main#top #download .catalog-download-variant label { position:static; display:block; width:auto; height:auto; margin:0 0 7px; padding:0; clip-path:none; overflow:visible; white-space:normal; color:var(--download-muted); font-size:13px; line-height:1.4; }
body.office-catalog-dle main#top #download .catalog-download-variant select { box-sizing:border-box; width:100%; min-height:42px; padding:9px 30px 9px 12px; border:1px solid #cfdae5; border-radius:4px; background:#fff; color:var(--download-ink); font-size:13px; line-height:1.5; }
body.office-catalog-dle main#top #download .product-download-variant-label { margin:0 0 10px; color:var(--download-muted); font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
body.office-catalog-dle main#top #download .product-download-disclosure { margin:0; border:0; padding:0; }
body.office-catalog-dle main#top #download .product-download-disclosure > summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; min-height:32px; box-sizing:border-box; padding:6px 0; color:var(--download-muted); font-size:13px; line-height:1.5; list-style:none; cursor:pointer; }
main.product-page #download .product-download-more { display:inline-flex; align-items:center; gap:8px; color:#53677e; }
main.product-page #download .product-download-more::after { content:''; display:block; box-sizing:border-box; width:7px; height:7px; margin:-3px 2px 0 0; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
main.product-page #download .product-download-disclosure[open] .product-download-more::after { margin-top:3px; transform:rotate(225deg); }
main.product-page #download .product-download-disclosure > summary:hover .product-download-more { color:var(--download-ink); }
/* Format and size belong to the available action; the disclosure keeps its
   existing data hook for less prominent and unavailable variants. */
main.product-page #download .os-download-entry:has(.download-action-meta:not([hidden])) [data-product-file-summary] { display:none; }
body.office-catalog-dle main#top #download .os-download-entry:has(.download-action-meta:not([hidden])) .product-download-disclosure > summary { justify-content:flex-start; }
body.office-catalog-dle main#top #download .product-download-expanded { margin-top:8px; padding:12px 0 0; border-top:1px solid var(--download-line); }
body.office-catalog-dle main#top #download :is(.os-download-meta,.os-download-file-meta) { display:block; margin:0 0 6px; color:var(--download-muted); text-align:left; font-size:12px; line-height:1.65; }
body.office-catalog-dle main#top #download :is(.os-download-meta,.os-download-file-meta) > span { display:block; overflow-wrap:anywhere; }
body.office-catalog-dle main#top #download :is(.os-download-meta,.os-download-file-meta) > span::before { content:none; }
body.office-catalog-dle main#top #download .product-download-note { margin:9px 0 0; color:var(--download-muted); font-size:12px; line-height:1.6; }
/* Earlier than theme layers for their important OS fills; unavailable actions
   continue to use the first, local-link-policy layer. */
@layer product-download-panel {
 body.office-catalog-dle main#top #download .download-primary-action {
  position:relative!important; display:flex!important; align-items:center!important; justify-content:center!important;
  gap:9px!important; box-sizing:border-box!important; width:100%!important; min-width:0!important; min-height:48px!important; height:auto!important;
  margin:12px 0 0!important; padding:12px 16px!important; border:1px solid var(--product-brand,#2467a5)!important; border-radius:4px!important;
  background:var(--product-brand,#2467a5)!important; color:#fff!important; box-shadow:none!important; text-align:center!important;
  text-decoration:none!important; transform:none!important; transition:background .15s,border-color .15s!important;
 }
 body.office-catalog-dle main#top #download .download-primary-action > span { display:block!important; flex:0 1 auto!important; min-width:0!important; padding:0!important; color:inherit!important; text-align:center!important; }
 body.office-catalog-dle main#top #download .download-primary-action strong { display:block!important; color:inherit!important; font-size:14px!important; font-weight:600!important; line-height:1.4!important; white-space:normal!important; }
 body.office-catalog-dle main#top #download .download-primary-action .download-icon { position:static!important; display:block!important; flex:0 0 19px!important; width:19px!important; height:19px!important; margin:0!important; padding:0!important; border:0!important; background:transparent!important; color:inherit!important; opacity:1!important; transform:none!important; }
 body.office-catalog-dle main#top #download .download-primary-action .download-icon svg { display:block!important; width:19px!important; height:19px!important; fill:none!important; stroke:currentColor!important; stroke-width:1.8!important; stroke-linecap:round!important; stroke-linejoin:round!important; }
 body.office-catalog-dle main#top #download .download-primary-action:not([disabled]) {
  display:grid!important; grid-template-columns:var(--download-action-icon) minmax(0,1fr)!important; justify-content:normal!important;
  min-height:68px!important; gap:var(--download-action-gap)!important; padding:12px var(--download-action-inset)!important; border-radius:6px!important;
  border-color:color-mix(in srgb,var(--product-brand,#2467a5) 76%,#233648)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--product-brand,#2467a5) 85%,#233648),color-mix(in srgb,var(--product-brand,#2467a5) 78%,#233648))!important;
  box-shadow:inset 0 1px 0 #ffffff20,0 2px 4px #2336481a!important;
  transition:box-shadow .18s,transform .18s,border-color .18s!important;
 }
 body.office-catalog-dle main#top #download .download-primary-action:not([disabled]) > .download-action-copy { display:grid!important; grid-column:2!important; grid-row:1!important; gap:4px!important; text-align:left!important; }
 body.office-catalog-dle main#top #download .download-primary-action:not([disabled]) strong { font-size:16px!important; line-height:1.35!important; }
 body.office-catalog-dle main#top #download .download-primary-action .download-action-meta { display:block!important; margin:0!important; color:#fff!important; font:400 12px/1.4 var(--site-text-font,'Segoe UI',sans-serif)!important; letter-spacing:.1px!important; }
 body.office-catalog-dle main#top #download .download-primary-action .download-action-meta[hidden] { display:none!important; }
 body.office-catalog-dle main#top #download .download-primary-action:not([disabled]) .download-icon {
  display:grid!important; grid-column:1!important; grid-row:1!important; place-items:center!important; flex-basis:var(--download-action-icon)!important; width:var(--download-action-icon)!important; height:34px!important;
  border:0!important; border-radius:4px!important; background:#ffffff0c!important; box-shadow:none!important;
 }
 body.office-catalog-dle main#top #download .download-primary-action:not([disabled]) .download-icon svg { width:21px!important; height:21px!important; }
 body.office-catalog-dle main#top #download .download-primary-action:is(:hover,:focus-visible):not([disabled]) {
  background:linear-gradient(180deg,color-mix(in srgb,var(--product-brand,#2467a5) 79%,#233648),color-mix(in srgb,var(--product-brand,#2467a5) 72%,#233648))!important;
  border-color:color-mix(in srgb,var(--product-brand,#2467a5) 70%,#233648)!important; color:#fff!important;
  box-shadow:inset 0 1px 0 #ffffff20,0 3px 7px #23364824!important; transform:translateY(-1px)!important;
 }
 body.office-catalog-dle main#top #download .download-primary-action:active:not([disabled]) { transform:translateY(0)!important; box-shadow:inset 0 1px 3px #10263e26!important; }
 body.office-catalog-dle main#top #download .download-primary-action:focus-visible { outline:2px solid var(--product-brand,#2467a5)!important; outline-offset:3px!important; }
 body.office-catalog-dle main#top #download .download-primary-action::before,
 body.office-catalog-dle main#top #download .download-primary-action::after { content:none!important; }
 @media(max-width:380px) {
  body.office-catalog-dle main#top #download .download-primary-action:not([disabled]) strong { font-size:15px!important; }
 }
 @media(prefers-reduced-motion:reduce) {
  body.office-catalog-dle main#top #download .download-primary-action:not([disabled]),
  body.office-catalog-dle main#top #download .download-primary-action:is(:hover,:focus-visible,:active):not([disabled]) { transition:none!important; transform:none!important; }
 }
}
main.product-page #download .download-alternatives { display:grid; gap:10px; margin-top:20px; padding-top:18px; border-top:1px solid var(--download-line); }
main.product-page #download .download-alternatives a { display:flex; align-items:center; gap:10px; padding:8px 0; color:var(--download-ink); text-decoration:none; }
main.product-page #download .download-alternative-mark { display:none!important; }
main.product-page #download .download-alternative-copy { display:grid; gap:3px; flex:1; }
main.product-page #download .download-alternative-copy strong { font-size:13px; font-weight:500; }
main.product-page #download .download-alternative-copy small { color:var(--download-muted); font-size:12px; }
main.product-page #download .download-alternative-arrow { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; }
main.product-page #download .download-alternatives a:hover { color:var(--product-brand,#2467a5); }
@media(min-width:1200px) { body.office-catalog-dle main#top.product-page #product-download-start #download { margin-top:32px; } }
@media(max-width:767px) { main.product-page #download .download-panel-card { padding:22px; box-shadow:0 4px 16px #27436105; } }
@media(max-width:380px) {
 main.product-page #download .download-panel-card { padding:18px; --download-action-inset:12px; --download-action-icon:28px; --download-action-gap:10px; }
 body.office-catalog-dle main#top #download .download-panel-heading h2 { font-size:21px; }
 main.product-page #download .download-platform-tabs { gap:2px; padding:3px; }
 main.product-page #download .download-platform-tab { gap:4px; padding-inline:3px; font-size:12px; }
 main.product-page #download .download-platform-tab img { width:14px; height:14px; }
}

@media(max-width:480px) {
 main.product-page #download .download-platform-tabs:has(.download-platform-tab:nth-child(4)) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
