/* Applications index: the Excel page rhythm applied to the whole Office catalog. */
.app-detail-page--apps .apps-filter-count { font-size:inherit; font-weight:400; font-variant-numeric:tabular-nums; }
@media(max-width:360px) {
  .app-detail-page--apps .filter-button[data-apps-platform]:not([data-apps-platform="all"]) .apps-filter-count { display:none; }
}
/* Retain the existing platform marks on the catalogue's independent controls. */
.app-detail-page--apps #versions .filter-button[data-apps-platform="windows"]::before {
  -webkit-mask:none!important;
  mask:none!important;
  background:transparent url("os-icons/windows-modern.svg") center / contain no-repeat!important;
}
.app-detail-page--apps #versions .filter-button[data-apps-platform="macos"]::before {
  -webkit-mask:none!important;
  mask:none!important;
  background:transparent url("os-icons/apple-modern.svg") center / contain no-repeat!important;
}
body:has(main.app-detail-page--apps) {
  --page-app-accent: var(--catalog-office-brand);
}


.app-detail-page--apps {
  --app-accent: var(--catalog-office-brand);
  --app-accent-rgb: var(--catalog-office-brand-rgb);
}

.app-detail-page--apps .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}


.app-detail-page--apps .hero-heading-icon {
  border-color: rgba(var(--catalog-office-brand-rgb), .15);
  background: linear-gradient(145deg, rgba(255, 247, 241, .96), rgba(255, 255, 255, .8));
  box-shadow: 0 12px 30px rgba(var(--catalog-office-brand-rgb), .08), inset 0 1px 0 #fff;
}

.app-detail-page--apps .apps-launcher-stage {
  min-height: 468px;
  padding: 0 0 62px;
  outline: none;
  overflow: visible;
}

.app-detail-page--apps .apps-launcher-window {
  position: relative;
  z-index: 2;
  height: 390px;
  overflow: hidden;
  color: #202124;
  border: 1px solid rgba(39, 51, 63, .2);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(35, 48, 59, .17), inset 0 1px 0 rgba(255, 255, 255, .94);
}

.app-detail-page--apps .apps-launcher-titlebar {
  height: 42px;
  display: grid;
  grid-template-columns: 168px minmax(170px, 320px) 30px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--catalog-office-brand-hover) 0%, var(--catalog-office-brand) 50%, var(--catalog-office-brand) 100%);
}

.app-detail-page--apps .apps-launcher-brand,
.app-detail-page--apps .apps-launcher-search {
  display: flex;
  align-items: center;
  min-width: 0;
}

.app-detail-page--apps .apps-launcher-brand {
  gap: 9px;
  font-size: 13px;
}

.app-detail-page--apps .apps-launcher-brand img {
  width: 24px;
  height: 24px;
}

.app-detail-page--apps .apps-launcher-search {
  height: 28px;
  gap: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
  font-size: 11px;
  cursor: text;
}

.app-detail-page--apps .apps-launcher-search svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.app-detail-page--apps .apps-launcher-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #fff;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.app-detail-page--apps .apps-launcher-search input::placeholder {
  color: rgba(255, 255, 255, .78);
  opacity: 1;
}

.app-detail-page--apps .apps-launcher-search:focus-within {
  border-color: rgba(255, 255, 255, .64);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}

.app-detail-page--apps .apps-launcher-account {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 50%;
  background: rgba(86, 27, 12, .28);
  font-size: 11px;
  font-weight: 700;
}

.app-detail-page--apps .apps-launcher-shell {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  background: #f6f7f9;
}

.app-detail-page--apps .apps-launcher-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 10px;
  border-right: 1px solid #e1e4e8;
  background: #fbfbfc;
}

.app-detail-page--apps .apps-launcher-rail a {
  min-height: 33px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 9px;
  color: #56616b;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.app-detail-page--apps .apps-launcher-rail a:hover,
.app-detail-page--apps .apps-launcher-rail a:focus-visible {
  color: #8e2708;
  background: #fff7f3;
  outline: none;
}

.app-detail-page--apps .apps-launcher-rail a.active {
  color: #a82903;
  background: #fff0e9;
  box-shadow: inset 2px 0 0 var(--catalog-office-brand);
}

.app-detail-page--apps .apps-launcher-rail i {
  width: 17px;
  color: #7c8790;
  font-style: normal;
  text-align: center;
}

.app-detail-page--apps .apps-launcher-content {
  min-width: 0;
  padding: 20px 22px 22px;
}

.app-detail-page--apps .apps-launcher-default > header {
  min-height: 43px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e6ea;
}

.app-detail-page--apps .apps-launcher-default > header span:first-child,
.app-detail-page--apps .apps-launcher-results > header span:first-child {
  display: block;
  margin-bottom: 3px;
  color: #6a747d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.app-detail-page--apps .apps-launcher-default > header h2,
.app-detail-page--apps .apps-launcher-results > header h2 {
  margin: 0;
  color: #222a31;
  font-size: 19px;
  font-weight: 670;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.app-detail-page--apps .apps-launcher-plan {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #9f2a05 !important;
  border: 1px solid rgba(var(--catalog-office-brand-rgb), .14);
  border-radius: 3px;
  background: #fff7f2;
  font-size: 9px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.app-detail-page--apps .apps-showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  gap: 18px;
  padding-top: 13px;
}

.app-detail-page--apps .apps-showcase-panel[hidden] {
  display: none;
}

.app-detail-page--apps .apps-launcher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
}

.app-detail-page--apps .apps-launcher-app {
  min-height: 67px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 13px;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  color: #27313a;
  border: 1px solid #e0e4e7;
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 12px rgba(44, 57, 67, .035);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.app-detail-page--apps .apps-launcher-app:hover,
.app-detail-page--apps .apps-launcher-app:focus-visible {
  color: #27313a;
  border-color: rgba(var(--catalog-office-brand-rgb), .26);
  box-shadow: 0 9px 20px rgba(var(--catalog-office-brand-rgb), .07);
  transform: translateY(-1px);
  outline: none;
}

.app-detail-page--apps .apps-launcher-app-icon,
.app-detail-page--apps .apps-launcher-app-icon img {
  width: 38px;
  height: 38px;
  display: block;
}

.app-detail-page--apps .apps-launcher-app strong,
.app-detail-page--apps .apps-launcher-app small {
  display: block;
}

.app-detail-page--apps .apps-launcher-app strong {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.1;
}

.app-detail-page--apps .apps-launcher-app small {
  overflow: hidden;
  color: #68737c;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-detail-page--apps .apps-launcher-app b {
  color: #9aa2a9;
  font-size: 18px;
  font-weight: 400;
}

.app-detail-page--apps .apps-launcher-spotlight {
  min-height: 142px;
  padding: 15px;
  color: #fff;
  border-radius: 4px;
  background:
    radial-gradient(180px 120px at 100% 0%, rgba(255, 255, 255, .15), transparent 68%),
    linear-gradient(145deg, #b42d06, #df4c12 62%, #f07a3e);
  box-shadow: 0 12px 24px rgba(157, 43, 8, .14);
}

.app-detail-page--apps .apps-launcher-spotlight-kicker {
  color: rgba(255, 255, 255, .72);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .12em;
}

.app-detail-page--apps .apps-launcher-spotlight h3 {
  margin: 7px 0 6px;
  font-size: 17px;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.app-detail-page--apps .apps-launcher-spotlight p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 9.5px;
  line-height: 1.42;
}

.app-detail-page--apps .apps-launcher-spotlight ul {
  display: grid;
  gap: 6px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  font-size: 9px;
}

.app-detail-page--apps .apps-launcher-spotlight li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-detail-page--apps .apps-launcher-spotlight li span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
}

.app-detail-page--apps .apps-launcher-results > header {
  min-height: 43px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e6ea;
}

.app-detail-page--apps .apps-launcher-results > header h2 b {
  color: #b92f00;
}

.app-detail-page--apps .apps-launcher-results > header button {
  min-height: 28px;
  padding: 0 10px;
  color: #7e2b11;
  border: 1px solid rgba(var(--catalog-office-brand-rgb), .18);
  border-radius: 3px;
  background: #fff7f2;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.app-detail-page--apps .apps-launcher-results-grid {
  max-height: 244px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 4px 2px 0;
  overflow: auto;
  scrollbar-color: rgba(var(--catalog-office-brand-rgb), .28) transparent;
  scrollbar-width: thin;
}

.app-detail-page--apps .apps-launcher-result {
  min-height: 54px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  color: #27313a;
  border: 1px solid #e0e4e7;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
}

.app-detail-page--apps .apps-launcher-result[hidden] {
  display: none !important;
}

.app-detail-page--apps .apps-launcher-result:hover,
.app-detail-page--apps .apps-launcher-result:focus-visible {
  color: #27313a;
  border-color: rgba(var(--catalog-office-brand-rgb), .32);
  outline: none;
  box-shadow: 0 5px 14px rgba(var(--catalog-office-brand-rgb), .07);
}

.app-detail-page--apps .apps-launcher-result img {
  width: 32px;
  height: 32px;
}

.app-detail-page--apps .apps-launcher-result strong,
.app-detail-page--apps .apps-launcher-result small {
  display: block;
}

.app-detail-page--apps .apps-launcher-result strong {
  font-size: 11px;
}

.app-detail-page--apps .apps-launcher-result small {
  margin-top: 2px;
  overflow: hidden;
  color: #6d7780;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-detail-page--apps .apps-launcher-result > b {
  color: #9aa2a9;
  font-size: 17px;
  font-weight: 400;
}

.app-detail-page--apps .apps-launcher-empty {
  max-width: 440px;
  margin: 58px auto 0;
  color: #64717b;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.app-detail-page--apps .apps-showcase-tabs {
  position: absolute;
  z-index: 4;
  bottom: 3px;
  left: 50%;
  height: 40px;
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  border: 1px solid rgba(69, 85, 97, .14);
  border-radius: 4px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 5px 14px rgba(42, 56, 67, .06), inset 0 1px 0 #fff;
  transform: translateX(-50%);
}

.app-detail-page--apps .apps-showcase-tabs button {
  min-width: 96px;
  padding: 0 10px;
  color: #63707a;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 9.5px;
  font-weight: 650;
  cursor: pointer;
}

.app-detail-page--apps .apps-showcase-tabs button:nth-child(2) {
  min-width: 132px;
}

.app-detail-page--apps .apps-showcase-tabs button:hover,
.app-detail-page--apps .apps-showcase-tabs button:focus-visible {
  color: #8e2708;
  background: rgba(var(--catalog-office-brand-rgb), .06);
  outline: none;
}

.app-detail-page--apps .apps-showcase-tabs button.active {
  color: #9d2b08;
  background: #fff1ea;
  box-shadow: inset 0 0 0 1px rgba(var(--catalog-office-brand-rgb), .12);
}

.app-detail-page--apps .apps-launcher-stage.is-searching .apps-showcase-tabs,
.app-detail-page--apps .apps-launcher-stage.is-searching > .workbook-nav:not(.apps-showcase-all) {
  opacity: .42;
}

.app-detail-page--apps .apps-launcher-stage > .workbook-nav {
  top: auto !important;
  bottom: 3px !important;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #47545e;
  border: 1px solid rgba(69, 85, 97, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 5px 14px rgba(42, 56, 67, .07), inset 0 1px 0 #fff;
  transform: none !important;
}

.app-detail-page--apps .apps-launcher-stage > .workbook-nav.prev {
  right: auto !important;
  left: calc(50% - 224px) !important;
}

.app-detail-page--apps .apps-launcher-stage > .workbook-nav.next {
  right: calc(50% - 224px) !important;
  left: auto !important;
}

.app-detail-page--apps .apps-launcher-stage > .workbook-nav > span {
  font-size: 23px;
  line-height: 1;
}

.app-detail-page--apps .apps-launcher-stage > .apps-showcase-all {
  right: 0 !important;
  left: auto !important;
  width: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #394650;
  text-decoration: none;
  transform: none !important;
}

.app-detail-page--apps .apps-showcase-all svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.app-detail-page--apps .apps-showcase-all span {
  font-size: 11px !important;
  font-weight: 680;
}

.app-detail-page--apps .hero-download-panel {
  align-self: center;
  margin-top: 84px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.app-detail-page--apps .hero-download-panel::before {
  display: none !important;
}

.app-detail-page--apps .hero-os-actions {
  margin-top: 0 !important;
}

.app-detail-page--apps .hero-os-actions .os-option:nth-child(1) .os-download {
  color: #fff !important;
  border-color: #0878b8 !important;
  background: linear-gradient(135deg, #168fce, #0879bd) !important;
  box-shadow: 0 12px 24px rgba(8, 121, 189, .2) !important;
}

.app-detail-page--apps .hero-os-actions .os-option:nth-child(2) .os-download {
  color: #fff !important;
  border-color: #242b31 !important;
  background: linear-gradient(135deg, #3e464d, #262d33) !important;
  box-shadow: 0 12px 24px rgba(31, 39, 45, .18) !important;
}

.app-detail-page--apps .hero-os-actions .os-option:nth-child(3) .os-download {
  color: #fff !important;
  border-color: #0c814b !important;
  background: linear-gradient(135deg, #20a061, #10864e) !important;
  box-shadow: 0 12px 24px rgba(16, 134, 78, .18) !important;
}

.app-detail-page--apps .hero-os-actions .os-download:hover,
.app-detail-page--apps .hero-os-actions .os-download:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.app-detail-page--apps .apps-platform-chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-detail-page--apps .hero-os-actions .os-download-specs {
  justify-content: flex-start;
  gap: 7px 14px;
}

.app-detail-page--apps #versions.apps-catalog-section {
  padding-top: 30px;
  background:
    radial-gradient(720px 300px at 12% 5%, rgba(var(--catalog-office-brand-rgb), .055), transparent 68%),
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

.app-detail-page--apps .apps-catalog-section .catalog-layout {
  gap: 30px;
}

.app-detail-page--apps .apps-catalog-breadcrumbs {
  width: 100%;
  min-height: 20px;
  margin: 0;
  padding: 0;
}

.app-detail-page--apps .apps-catalog-section .catalog-aside {
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "title title"
    "copy filters" !important;
  grid-template-rows: auto auto !important;
  align-items: center;
  gap: 12px 36px;
}

.app-detail-page--apps .apps-catalog-section .catalog-aside h1 {
  grid-area: title;
  color: #17231c;
}

.app-detail-page--apps .apps-catalog-section .catalog-aside > p {
  grid-area: copy;
  max-width: none;
  margin: 0 !important;
  color: #63736b;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}

.app-detail-page--apps .apps-catalog-section .filter-list {
  grid-area: filters;
  margin: 0;
}

.app-detail-page--apps .apps-catalog-section .release-list {
  overflow: hidden;
  border-top-color: var(--catalog-office-brand);
}

.app-detail-page--apps #versions.apps-catalog-section .release-head,
.app-detail-page--apps #versions.apps-catalog-section .release-row {
  grid-template-columns: minmax(260px, 1.35fr) minmax(285px, 1.15fr) minmax(230px, 1fr) 104px !important;
  gap: 15px;
}

.app-detail-page--apps .apps-catalog-section .release-row {
  min-height: 76px;
}

.app-detail-page--apps .apps-catalog-section .release-icon {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-detail-page--apps .apps-catalog-section .release-icon,
.app-detail-page--apps .apps-catalog-section .release-icon img {
  width: 34px;
  height: 34px;
}

.app-detail-page--apps .apps-catalog-section .release-id :is(h2,h3) {
  color: #202722;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.18;
  white-space: nowrap;
}

.app-detail-page--apps .apps-catalog-section .platform-tag,
.app-detail-page--apps .apps-catalog-section .platform-tag:hover,
.app-detail-page--apps .apps-catalog-section .platform-tag:focus-visible {
  text-decoration: none !important;
}

.app-detail-page--apps .apps-catalog-section .apps-task-cell {
  color: #34424c;
  font-weight: 620;
}

.app-detail-page--apps .apps-catalog-section .download {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.app-detail-page--apps .apps-catalog-section .download svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.app-detail-page--apps .apps-catalog-section .download::before {
  display: none !important;
}

.app-detail-page--apps .apps-catalog-empty {
  margin: 0;
  padding: 42px 24px;
  color: #68747d;
  border-bottom: 1px solid rgba(55, 72, 84, .12);
  background: rgba(255, 255, 255, .58);
  text-align: center;
  font-size: 13px;
}

.app-detail-page--apps #versions .platform-tag .platform-dot {
  width: 16px;
  height: 16px;
  display: inline-grid;
  flex: 0 0 16px;
  place-items: center;
  color: currentColor;
  background: transparent !important;
}

.app-detail-page--apps #versions .platform-tag .platform-dot::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.app-detail-page--apps #versions .platform-tag.platform-windows .platform-dot::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4.7 10.5 3v8.2H3V4.7Zm8.5-1.9L21 1v10.2h-9.5V2.8ZM3 12.2h7.5V21L3 19.3v-7.1Zm8.5 0H21V23l-9.5-1.8v-9Z' fill='black'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4.7 10.5 3v8.2H3V4.7Zm8.5-1.9L21 1v10.2h-9.5V2.8ZM3 12.2h7.5V21L3 19.3v-7.1Zm8.5 0H21V23l-9.5-1.8v-9Z' fill='black'/%3E%3C/svg%3E") !important;
}

.app-detail-page--apps #versions .platform-tag.platform-macos .platform-dot::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05 12.54c.02-2.17 1.77-3.2 1.85-3.25-.99-1.48-2.54-1.68-3.1-1.7-1.32-.14-2.57.79-3.24.79-.67 0-1.7-.77-2.8-.75-1.44.02-2.77.86-3.51 2.18-1.5 2.65-.38 6.57 1.08 8.72.71 1.06 1.57 2.25 2.68 2.2 1.08-.04 1.49-.71 2.79-.71s1.67.71 2.81.68c1.16-.02 1.9-1.07 2.61-2.13.82-1.23 1.16-2.42 1.18-2.48-.03-.01-2.32-.91-2.35-3.55Z' fill='black'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05 12.54c.02-2.17 1.77-3.2 1.85-3.25-.99-1.48-2.54-1.68-3.1-1.7-1.32-.14-2.57.79-3.24.79-.67 0-1.7-.77-2.8-.75-1.44.02-2.77.86-3.51 2.18-1.5 2.65-.38 6.57 1.08 8.72.71 1.06 1.57 2.25 2.68 2.2 1.08-.04 1.49-.71 2.79-.71s1.67.71 2.81.68c1.16-.02 1.9-1.07 2.61-2.13.82-1.23 1.16-2.42 1.18-2.48-.03-.01-2.32-.91-2.35-3.55Z' fill='black'/%3E%3C/svg%3E") !important;
}

.app-detail-page--apps #versions .platform-tag.platform-mobile .platform-dot::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm0 3v13h10V5H7Zm4 14h2v1h-2v-1Z' fill='black'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm0 3v13h10V5H7Zm4 14h2v1h-2v-1Z' fill='black'/%3E%3C/svg%3E") !important;
}

.app-detail-page--apps #versions .platform-tag.platform-browser .platform-dot::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.9 9h-4A16 16 0 0 0 14.4 5.3 8 8 0 0 1 19.9 11ZM12 4c.9 0 1.8 2.7 1.9 7h-3.8c.1-4.3 1-7 1.9-7ZM9.6 5.3A16 16 0 0 0 8.1 11h-4a8 8 0 0 1 5.5-5.7ZM4.1 13h4a16 16 0 0 0 1.5 5.7A8 8 0 0 1 4.1 13Zm7.9 7c-.9 0-1.8-2.7-1.9-7h3.8c-.1 4.3-1 7-1.9 7Zm2.4-1.3a16 16 0 0 0 1.5-5.7h4a8 8 0 0 1-5.5 5.7Z' fill='black'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm7.9 9h-4A16 16 0 0 0 14.4 5.3 8 8 0 0 1 19.9 11ZM12 4c.9 0 1.8 2.7 1.9 7h-3.8c.1-4.3 1-7 1.9-7ZM9.6 5.3A16 16 0 0 0 8.1 11h-4a8 8 0 0 1 5.5-5.7ZM4.1 13h4a16 16 0 0 0 1.5 5.7A8 8 0 0 1 4.1 13Zm7.9 7c-.9 0-1.8-2.7-1.9-7h3.8c-.1 4.3-1 7-1.9 7Zm2.4-1.3a16 16 0 0 0 1.5-5.7h4a8 8 0 0 1-5.5 5.7Z' fill='black'/%3E%3C/svg%3E") !important;
}

.app-detail-page--apps .apps-choice-section .requirements-platform-tab img {
  object-fit: contain;
}

.app-detail-page--apps .apps-choice-section .requirements-matrix-label img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.app-detail-page--apps .apps-choice-section .requirements-matrix-label {
  gap: 11px;
}

.app-detail-page--apps .apps-choice-section .requirements-plan-minimum::after {
  background: var(--catalog-office-brand);
}

.app-detail-page--apps .apps-choice-section .requirements-plan-recommended::after {
  background: #5b5fc7;
}

.app-detail-page--apps .apps-choice-section {
  background: #f7f9fb;
}

.app-detail-page--apps .apps-workflows {
  background: #fff;
}

.app-detail-page--apps .apps-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-detail-page--apps .apps-workflow-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(44, 59, 70, .13);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(39, 52, 62, .055), inset 0 1px 0 #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.app-detail-page--apps .apps-workflow-card:hover {
  border-color: rgba(var(--catalog-office-brand-rgb), .24);
  box-shadow: 0 15px 32px rgba(76, 52, 39, .09), inset 0 1px 0 #fff;
  transform: translateY(-2px);
}

.app-detail-page--apps .apps-workflow-icons {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
}

.app-detail-page--apps .apps-workflow-icons span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(42, 57, 68, .12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(41, 53, 63, .08);
}

.app-detail-page--apps .apps-workflow-icons span + span {
  margin-left: -9px;
}

.app-detail-page--apps .apps-workflow-icons img {
  width: 34px;
  height: 34px;
}

.app-detail-page--apps .apps-workflow-card h3 {
  margin: 0 0 8px;
  color: #1f2a31;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.app-detail-page--apps .apps-workflow-card > p {
  margin: 0;
  color: #67737c;
  font-size: 13px;
  line-height: 1.5;
}

.app-detail-page--apps .apps-workflow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.app-detail-page--apps .apps-workflow-links a {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #8f2a0b;
  border: 1px solid rgba(var(--catalog-office-brand-rgb), .15);
  border-radius: 3px;
  background: #fff7f3;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}

.app-detail-page--apps .apps-workflow-links a:hover,
.app-detail-page--apps .apps-workflow-links a:focus-visible {
  color: #fff;
  border-color: #c93609;
  background: var(--catalog-office-brand);
  outline: none;
}

.app-detail-page--apps .apps-workflow-links b {
  font-size: 15px;
  font-weight: 400;
}

.app-detail-page--apps .excel-capability-icon {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-detail-page--apps .excel-capability-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.app-detail-page--apps .faq-ask-button {
  text-decoration: none;
}

.app-detail-page--apps .program-facts {
  background: linear-gradient(100deg, #fafbfc 0%, #f5f7f9 52%, #faf7f5 100%);
}

.app-detail-page--apps .apps-hub-faq {
  background: #fbfcfd;
}

.app-detail-page--apps .apps-faq-orbit {
  display: grid;
  place-items: center;
}

.app-detail-page--apps .apps-orbit {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.app-detail-page--apps .apps-orbit::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--catalog-office-brand-rgb), .09), rgba(var(--catalog-office-brand-rgb), .025) 55%, transparent 70%);
}

.app-detail-page--apps .apps-orbit-ring {
  position: absolute;
  inset: 19%;
  border: 1px dashed rgba(84, 97, 108, .24);
  border-radius: 50%;
}

.app-detail-page--apps .apps-orbit-center,
.app-detail-page--apps .apps-orbit-app {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45, 58, 68, .12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 49, 59, .11);
}

.app-detail-page--apps .apps-orbit-center {
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
}

.app-detail-page--apps .apps-orbit-center img {
  width: 52px;
  height: 52px;
}

.app-detail-page--apps .apps-orbit-app {
  width: 50px;
  height: 50px;
}

.app-detail-page--apps .apps-orbit-app img {
  width: 34px;
  height: 34px;
}

.app-detail-page--apps .apps-orbit-word { top: 12%; left: 25%; }
.app-detail-page--apps .apps-orbit-excel { top: 21%; right: 15%; }
.app-detail-page--apps .apps-orbit-teams { bottom: 20%; left: 14%; }
.app-detail-page--apps .apps-orbit-outlook { right: 23%; bottom: 11%; }

.app-detail-page--apps .apps-ecosystem {
  padding: 72px 0;
  border-top: 1px solid rgba(46, 60, 71, .09);
  background:
    radial-gradient(460px 330px at 31% 50%, rgba(var(--catalog-office-brand-rgb), .055), transparent 72%),
    #fbfcfd;
}

.app-detail-page--apps .apps-ecosystem-panel {
  max-width: 940px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 62px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-detail-page--apps .apps-ecosystem .apps-orbit {
  width: 270px;
}

.app-detail-page--apps .apps-ecosystem-copy h2 {
  margin: 7px 0 12px;
  color: #1e2a31;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.app-detail-page--apps .apps-ecosystem-copy > p:last-child {
  max-width: 510px;
  margin: 0;
  color: #68747d;
  font-size: 15px;
  line-height: 1.6;
}

.app-detail-page--apps .apps-orbit > strong,
.app-detail-page--apps .apps-orbit > small {
  position: absolute;
  left: 50%;
  width: 92%;
  text-align: center;
  transform: translateX(-50%);
}

.app-detail-page--apps .apps-orbit > strong {
  bottom: -3px;
  color: #26313a;
  font-size: 15px;
}

.app-detail-page--apps .apps-orbit > small {
  bottom: -25px;
  color: #74808a;
  font-size: 10px;
  line-height: 1.35;
}

.app-detail-page--apps .apps-hub-return-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-detail-page--apps .apps-hub-return-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #37434c;
  border: 1px solid rgba(46, 59, 69, .18);
  border-radius: 4px;
  background: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(39, 52, 62, .06);
}

.app-detail-page--apps .apps-hub-return-secondary:hover,
.app-detail-page--apps .apps-hub-return-secondary:focus-visible {
  color: #8d290b;
  border-color: rgba(var(--catalog-office-brand-rgb), .3);
  outline: none;
}

.app-detail-page--apps .apps-hub-return .download-return-platforms {
  flex-wrap: wrap;
}

@media (max-width: 1180px) and (min-width: 781px) {
  .app-detail-page--apps .apps-catalog-section .catalog-aside {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "copy"
      "filters" !important;
    gap: 10px;
  }

  .app-detail-page--apps .apps-catalog-section .catalog-aside > p {
    white-space: normal;
  }

  .app-detail-page--apps .apps-catalog-section .filter-list {
    justify-self: start;
    margin-top: 8px;
  }

  .app-detail-page--apps #versions.apps-catalog-section .release-head,
  .app-detail-page--apps #versions.apps-catalog-section .release-row {
    grid-template-columns: minmax(210px, 1.25fr) minmax(190px, 1fr) minmax(170px, .9fr) 98px !important;
  }
}

@media (min-width: 1081px) and (max-width: 1460px) {
  .app-detail-page--apps .hero.hero-second-screen .hero-grid {
    --download-overhang: 28px;
    --excel-overhang: var(--download-overhang);
  }
}

@media (max-width: 1080px) {


  .app-detail-page--apps .hero-download-panel {
    margin-top: 0 !important;
  }

  .app-detail-page--apps .apps-launcher-stage {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .app-detail-page--apps .apps-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-detail-page--apps .apps-ecosystem-panel {
    gap: 36px;
  }
}

@media (max-width: 780px) {
  .app-detail-page--apps #versions.apps-catalog-section {
    padding-top: 24px;
  }

  .app-detail-page--apps .apps-catalog-section .catalog-layout {
    gap: 24px;
  }

  .app-detail-page--apps .apps-catalog-section .catalog-aside {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "copy"
      "filters" !important;
    gap: 10px;
  }


  .app-detail-page--apps .apps-catalog-section .catalog-aside > p {
    white-space: normal;
  }

  .app-detail-page--apps .apps-launcher-stage {
    min-height: 454px;
  }

  .app-detail-page--apps .apps-launcher-window {
    height: 390px;
  }

  .app-detail-page--apps .apps-launcher-titlebar {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .app-detail-page--apps .apps-launcher-brand {
    display: none;
  }

  .app-detail-page--apps .apps-launcher-shell {
    grid-template-columns: 1fr;
  }

  .app-detail-page--apps .apps-launcher-rail {
    display: none;
  }

  .app-detail-page--apps .apps-launcher-content {
    padding: 17px;
  }

  .app-detail-page--apps .apps-showcase-panel {
    grid-template-columns: 1fr;
  }

  .app-detail-page--apps .apps-launcher-spotlight {
    display: none;
  }

  .app-detail-page--apps .apps-launcher-app {
    min-height: 66px;
  }

  .app-detail-page--apps .apps-showcase-tabs {
    width: 100%;
  }

  .app-detail-page--apps .apps-showcase-tabs button,
  .app-detail-page--apps .apps-showcase-tabs button:nth-child(2) {
    min-width: 0;
    flex: 1 1 0;
  }

  .app-detail-page--apps .apps-launcher-stage > .workbook-nav {
    display: none;
  }

  .app-detail-page--apps .apps-launcher-results-grid {
    grid-template-columns: 1fr;
  }

  .app-detail-page--apps #versions.apps-catalog-section .release-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "id button"
      "platform platform"
      "channel channel";
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 16px;
    padding: 18px 0;
  }

  .app-detail-page--apps .apps-catalog-section .release-id { grid-area: id; }
  .app-detail-page--apps .apps-catalog-section .platform-cell { grid-area: platform; }
  .app-detail-page--apps .apps-catalog-section .channel-cell { grid-area: channel; }
  .app-detail-page--apps .apps-catalog-section .download { grid-area: button; justify-self: end; }

  .app-detail-page--apps .apps-ecosystem-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
    text-align: center;
  }

  .app-detail-page--apps .apps-ecosystem .apps-orbit {
    margin: 0 auto;
  }

  .app-detail-page--apps .apps-ecosystem-copy > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 520px) {


  .app-detail-page--apps .apps-launcher-stage {
    width: 100% !important;
    min-height: 438px;
    margin-left: 0 !important;
  }

  .app-detail-page--apps .apps-launcher-window {
    height: 378px;
  }

  .app-detail-page--apps .apps-launcher-default > header h2,
  .app-detail-page--apps .apps-launcher-results > header h2 {
    font-size: 16px;
  }

  .app-detail-page--apps .apps-launcher-content {
    padding: 14px;
  }

  .app-detail-page--apps .apps-launcher-plan {
    display: none;
  }

  .app-detail-page--apps .apps-launcher-grid {
    gap: 8px;
  }

  .app-detail-page--apps .apps-launcher-app {
    min-height: 64px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .app-detail-page--apps .apps-launcher-app-icon,
  .app-detail-page--apps .apps-launcher-app-icon img {
    width: 32px;
    height: 32px;
  }

  .app-detail-page--apps .apps-launcher-app b {
    display: none;
  }

  .app-detail-page--apps .apps-launcher-app small {
    display: none;
  }

  .app-detail-page--apps .apps-catalog-section .release-row {
    grid-template-areas:
      "id button"
      "platform platform"
      "channel channel";
  }

  .app-detail-page--apps .apps-catalog-section .download {
    min-width: 82px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    color: #fff !important;
    border: 1px solid #b32e05 !important;
    background: var(--catalog-office-brand) !important;
  }

  .app-detail-page--apps .apps-workflow-grid {
    grid-template-columns: 1fr;
  }

  .app-detail-page--apps .apps-workflow-card {
    min-height: 0;
    padding: 20px;
  }

  .app-detail-page--apps .apps-orbit {
    width: min(86vw, 280px);
  }

  .app-detail-page--apps .apps-ecosystem {
    padding: 48px 0;
  }

  .app-detail-page--apps .apps-ecosystem-panel {
    padding: 0;
  }

  .app-detail-page--apps .apps-ecosystem-copy h2 {
    font-size: 32px;
  }

  .app-detail-page--apps .apps-hub-return-actions,
  .app-detail-page--apps .apps-hub-return-actions > a {
    width: 100%;
  }

  .app-detail-page--apps .hero.hero-second-screen::after {
    width: auto;
  }

  .app-detail-page--apps .download-original-only .hero-os-actions::before {
    display: none;
  }

  
}

@media (prefers-reduced-motion: reduce) {
  .app-detail-page--apps .apps-launcher-app,
  .app-detail-page--apps .apps-workflow-card,
  .app-detail-page--apps .hero-os-actions .os-download {
    transition: none;
  }
}

/* Show every catalogue filter without a clipped horizontal strip on phones. */
@media (max-width: 520px) {
  .app-detail-page--apps #versions.apps-catalog-section .filter-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    padding: 3px;
    overflow: visible;
  }

  .app-detail-page--apps #versions.apps-catalog-section .filter-button {
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
  }

  .app-detail-page--apps #versions.apps-catalog-section .filter-button:first-child {
    grid-column: 1 / -1;
  }
}

/* Apps uses Excel's balanced frame, cohesive typography and compact data rows.
   Only product colour, column composition and the catalog's H1 differ.
   Product-page decoration remains excluded in surface-harmony.css. */
main#top.app-detail-page--apps {
  --apps-ink: var(--cohesive-ink);
  --apps-muted: var(--cohesive-muted);
  --apps-line: var(--cohesive-line-soft);
  --apps-display-font: var(--site-display-font);
  background: #fff;
}
.app-detail-page--apps header {
  position: static;
  z-index: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
main#top.app-detail-page--apps > section#versions.apps-catalog-section {
  padding: 30px 0 44px;
  border: 0;
  background: #fbfcfb;
  box-shadow: none;
}
main#top.app-detail-page--apps > section#requirements.apps-choice-section {
  min-height: 0;
  padding: 44px 0 48px;
  border: 0;
  background: linear-gradient(180deg, #f8fbfd, #f0f5f8);
  box-shadow: none;
}
.app-detail-page--apps :is(#versions, #requirements)::before,
.app-detail-page--apps :is(#versions, #requirements)::after {
  content: none !important;
}
main#top.app-detail-page--apps > section > .container {
  width: min(var(--balanced-content-width), calc(100% - (var(--balanced-content-gutter) * 2))) !important;
  max-width: var(--balanced-content-width);
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--balanced-inner-inset);
}
.app-detail-page--apps #versions .catalog-layout { gap: 32px; }
.app-detail-page--apps #versions .catalog-aside {
  display: grid;
  --hero-heading-size: clamp(32px, 4.1vw, 46px);
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "title" "copy" !important;
  grid-template-rows: auto auto !important;
  align-items: center;
  gap: 8px 32px;
  padding: 0;
}
.app-detail-page--apps #versions .catalog-aside h1 {
  color: var(--apps-ink);
}
.app-detail-page--apps #versions .catalog-aside > p {
  color: var(--apps-muted);
  white-space: normal;
  font-size: 15px;
  line-height: 1.55;
}
.app-detail-page--apps #versions .filter-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-self: end;
  width: 100%;
  max-width: 100%;
  gap: 4px !important;
  margin: 8px 0 0;
  padding: 3px !important;
  border: 1px solid rgba(58, 71, 64, .14) !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 7px 18px rgba(47, 58, 53, .06) !important;
  backdrop-filter: none !important;
  overflow: visible;
}
.app-detail-page--apps #versions .filter-button {
  width: auto;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #5d6963;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12.5px;
  font-weight: 630;
  line-height: 1;
}
.app-detail-page--apps #versions .filter-button:hover,
.app-detail-page--apps #requirements .requirements-platform-tab:hover { color: #a3310d !important; background: rgba(234, 238, 236, .58) !important; box-shadow: none !important; }
.app-detail-page--apps #versions .filter-icon-all { color: inherit !important; fill: currentColor !important; }
.app-detail-page--apps #versions .filter-button.active,
.app-detail-page--apps #requirements .requirements-platform-tab.active {
  color: #a3310d !important;
  background: #fff1eb !important;
  box-shadow: inset 0 0 0 1px rgba(177, 72, 34, .22) !important;
}
.app-detail-page--apps #versions .release-list {
  gap: 0;
  border: 0;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.app-detail-page--apps #versions.apps-catalog-section :is(.release-head, .release-row) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr) 118px !important;
  column-gap: 18px;
  padding-inline: 0;
}
.app-detail-page--apps #versions .release-head {
  min-height: 39px;
  padding-block: 0 12px;
  color: #65756d;
  border-bottom: 1px solid var(--apps-line);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}
.app-detail-page--apps #versions .release-row {
  --apps-row-hover-inset: 14px;
  position: relative;
  isolation: isolate;
  min-height: 78px;
  padding-block: 14px;
  border: 0;
  border-bottom: 1px solid var(--cohesive-line-soft);
  background: transparent;
  box-shadow: none;
  border-radius: 0 !important;
}
.app-detail-page--apps #versions .release-row:last-of-type { border-bottom: 0; }
.app-detail-page--apps #versions .release-row:hover { background: rgba(255, 255, 255, .52); box-shadow: -2px 0 0 rgba(var(--app-accent-rgb), .4); }
.app-detail-page--apps #versions .release-row::before,
.app-detail-page--apps #versions .release-row::after { content: none; }
/* Extend the existing hover surface without moving the table columns. */
.app-detail-page--apps #versions .release-row:is(:hover, :focus-within)::after {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--apps-row-hover-inset));
  z-index: -1;
  pointer-events: none;
  background: inherit;
}
.app-detail-page--apps #versions .release-id { min-width: 0; gap: 12px; }
.app-detail-page--apps #versions .release-id > div { min-width: 0; }
.app-detail-page--apps #versions .release-id :is(h2,h3) {
  margin: 0;
  letter-spacing: normal;
  color: var(--cvs-ink, #18271f);
  font-family: var(--apps-display-font);
  font-size: 15.5px;
  font-weight: 640;
  line-height: 1.3;
  white-space: normal;
}
.app-detail-page--apps #versions .release-id p {
  margin-top: 3px;
  color: var(--apps-muted);
  font-size: 11.5px;
  line-height: 1.45;
}
.app-detail-page--apps #versions .platforms { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.app-detail-page--apps #versions .release-row .platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  min-height: 29px;
  border: 0;
  border-radius: 0 !important;
  color: #4d5b68;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  line-height: 1.3;
}
.app-detail-page--apps #versions .release-row a.platform-tag:hover {
  color: #a3310d;
  background: transparent;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.app-detail-page--apps #versions .platform-tag:is(.platform-windows, .platform-macos) .platform-dot::before {
  -webkit-mask: none !important;
  mask: none !important;
}
.app-detail-page--apps #versions .platform-tag.platform-mobile .platform-dot::before,
.app-detail-page--apps #versions .filter-button:is([data-filter="mobile"],[data-apps-platform="mobile"])::before {
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='2' width='12' height='20' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10 18h4' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='2' width='12' height='20' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10 18h4' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
.app-detail-page--apps #versions .channel-cell {
  color: var(--cohesive-text);
  font-size: 15px;
  line-height: 1.35;
}
.app-detail-page--apps #versions .channel-cell small {
  display: block;
  margin-top: 4px;
  color: var(--cohesive-muted);
  font-size: 11.5px;
}
.app-detail-page--apps #versions.apps-catalog-section .download {
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(var(--app-accent-rgb), .34) !important;
  border-radius: 4px !important;
  color: #a3310d !important;
  background: rgba(255, 255, 255, .74) !important;
  box-shadow: none !important;
  font-family: var(--apps-display-font);
  font-size: 14px;
  font-weight: 600;
}
.app-detail-page--apps #versions.apps-catalog-section .download:hover { color: #fff !important; background: var(--catalog-office-brand-hover) !important; border-color: var(--catalog-office-brand-hover) !important; }
.app-detail-page--apps #versions .legacy {
  display: block;
  padding: 0;
  margin-top: 18px;
  border: 0;
  border-top: 1px solid var(--apps-line);
  border-radius: 0 !important;
  background: transparent;
}
.app-detail-page--apps #versions .legacy summary { padding: 20px 0; color: #465360; }
.app-detail-page--apps #versions .legacy-grid { padding: 4px 0 12px; gap: 24px; }
.app-detail-page--apps #versions .legacy-item { padding: 0; border: 0; border-radius: 0 !important; background: transparent; box-shadow: none; }
.app-detail-page--apps #versions .legacy-item strong { color: var(--apps-ink); }
.app-detail-page--apps #versions .legacy-item span { color: var(--apps-muted); }
.app-detail-page--apps #requirements .system-requirements-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin: 0 0 20px;
  padding: 0;
}
.app-detail-page--apps #requirements .system-requirements-copy { min-width: 0; }
.app-detail-page--apps #requirements .section-label { display: none !important; }
.app-detail-page--apps #requirements h2 {
  color: var(--apps-ink);
  font-family: var(--apps-display-font);
  font-size: clamp(31px, 3.2vw, 36px);
  font-weight: 620;
  line-height: 1.1;
  white-space: normal;
}
.app-detail-page--apps #requirements .system-requirements-lead {
  max-width: 680px;
  margin-top: 7px;
  color: var(--requirements-muted);
  font-size: 14px;
  line-height: 1.5;
}
.app-detail-page--apps #requirements .requirements-platform-tabs {
  display: flex;
  flex-wrap: nowrap;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 3px !important;
  gap: 4px !important;
  border: 1px solid rgba(58, 71, 64, .14) !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 7px 18px rgba(47, 58, 53, .06) !important;
  backdrop-filter: none !important;
}
.app-detail-page--apps #requirements .requirements-platform-tab {
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #5d6963;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12.5px;
  font-weight: 630;
  line-height: 1;
  white-space: normal;
}
.app-detail-page--apps #requirements .requirements-platform-tab img { width: 19px; height: 19px; }
.app-detail-page--apps #requirements .requirements-matrix {
  border: 0;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent;
}
.app-detail-page--apps #requirements :is(.requirements-matrix-head, .requirements-matrix-row) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
}
.app-detail-page--apps #requirements .requirements-matrix-head { min-height: 52px; border-block: 1px solid var(--requirements-rule); background: transparent; }
.app-detail-page--apps #requirements .requirements-matrix-row + .requirements-matrix-row { border-top: 1px solid var(--requirements-rule-soft); }
.app-detail-page--apps #requirements .requirements-matrix .requirements-matrix-row { min-height: 50px; }
.app-detail-page--apps #requirements :is(.requirements-matrix-head, .requirements-matrix-row) > * {
  grid-column: auto;
  padding: 9px 0;
  align-self: center;
  border: 0;
  color: #34423a;
  background: transparent;
  font-size: 13px;
}
.app-detail-page--apps #requirements .requirements-matrix-head > * { align-self: stretch; padding: 10px 0; }
.app-detail-page--apps #requirements .requirements-matrix-label-head { display: flex; font-size: 10px; color: #748078; font-weight: 680; }
.app-detail-page--apps #requirements .requirements-matrix-label { font-size: 12.5px; font-weight: 630; color: #425249; }
.app-detail-page--apps #requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value { padding-left: 0; border-left: 0; }
.app-detail-page--apps #requirements .requirements-plan strong { color: var(--requirements-ink); font-size: 15px; font-weight: 650; }
.app-detail-page--apps #requirements .requirements-plan::before { content: ""; position: absolute; top: auto; left: 0; bottom: -1px; width: 30px; height: 2px; background: #d59a24; }
.app-detail-page--apps #requirements .requirements-plan-recommended::before { background: #168452; }
.app-detail-page--apps #requirements .requirements-plan::after { content: none; }
.app-detail-page--apps :is(a, button, summary):focus-visible {
  outline: 2px solid #b3350d !important;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .app-detail-page--apps #requirements .system-requirements-heading { grid-template-columns: minmax(0, 1fr); }
  .app-detail-page--apps #requirements .requirements-platform-tabs { justify-self: start; }
}
@media (max-width: 1180px) {
  .app-detail-page--apps #versions .catalog-aside { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "title" "copy" !important; grid-template-rows: auto auto !important; }
  .app-detail-page--apps #versions .filter-list { justify-self: start; max-width: 560px; }
}

@media (max-width: 980px) {
  .app-detail-page--apps #versions .release-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--apps-line);
    background: transparent;
  }
  .app-detail-page--apps #versions .release-head { display: none; }
  .app-detail-page--apps #versions.apps-catalog-section .release-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "id id" "platform platform" "channel button";
    grid-template-rows: auto 1fr auto;
    align-content: start;
    gap: 12px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--apps-line);
    border-radius: 0 !important;
  }
  .app-detail-page--apps #versions .release-row:last-of-type { border-bottom: 0; }
  .app-detail-page--apps #versions .release-id { grid-area: id; }
  .app-detail-page--apps #versions .platform-cell { grid-area: platform; align-self: start; }
  .app-detail-page--apps #versions .channel-cell { grid-area: channel; align-self: center; }
  .app-detail-page--apps #versions .download { grid-area: button; justify-self: end; align-self: center; }
  .app-detail-page--apps #versions .legacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-detail-page--apps #requirements .requirements-matrix-value::before { content: none; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .app-detail-page--apps #versions.apps-catalog-section .release-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 118px !important;
    grid-template-areas: "id platform button" "id channel button";
    grid-template-rows: auto auto;
    gap: 6px 18px;
    align-items: center;
  }
}
@media (max-width: 620px) {
  main#top.app-detail-page--apps > section#versions.apps-catalog-section { padding: 24px 0 36px; }
  main#top.app-detail-page--apps > section#requirements.apps-choice-section { padding: 36px 0 40px; }
  .app-detail-page--apps #versions .catalog-layout { gap: 22px; }

  .app-detail-page--apps #versions.apps-catalog-section .filter-list { display: flex !important; flex-wrap: wrap; gap: 4px !important; width: 100%; }
  .app-detail-page--apps #versions.apps-catalog-section .filter-button { flex: 1 1 calc(33.333% - 8px); width: auto; min-width: 0; min-height: 44px; padding-inline: 6px !important; }
  .app-detail-page--apps #versions .release-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .app-detail-page--apps #versions.apps-catalog-section .release-row { --apps-row-hover-inset: 8px; padding: 18px 0; gap: 10px; }
  .app-detail-page--apps #versions .release-id :is(h2,h3) { font-size: 15.5px; }
  .app-detail-page--apps #versions .channel-cell { font-size: 13px; }
  .app-detail-page--apps #versions .channel-cell small { font-size: 11px; }
  .app-detail-page--apps #versions.apps-catalog-section .download { min-height: 44px !important; padding: 10px !important; }
  .app-detail-page--apps #versions .legacy-grid { grid-template-columns: minmax(0, 1fr); }
  .app-detail-page--apps #requirements h2 { font-size: 29px; }
  .app-detail-page--apps #requirements .requirements-platform-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px !important; width: 100%; }
  .app-detail-page--apps #requirements .requirements-platform-tab { min-height: 44px; padding: 8px 3px !important; gap: 5px; font-size: 11px; }
  .app-detail-page--apps #requirements .requirements-platform-tab img { width: 17px; height: 17px; }
  .app-detail-page--apps #requirements .requirements-matrix-head { display: none; }
  .app-detail-page--apps #requirements .requirements-matrix-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 18px 0;
  }
  .app-detail-page--apps #requirements .requirements-matrix-row:first-of-type { border-top: 0; }
  .app-detail-page--apps #requirements .requirements-matrix-row > * { padding: 5px 0; }
  .app-detail-page--apps #requirements .requirements-matrix-label { margin-bottom: 8px; font-weight: 650; }
  .app-detail-page--apps #requirements .requirements-matrix-value::before {
    content: attr(data-tier);
    display: block;
    margin-bottom: 3px;
    color: #76818b;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
}
@media (max-width: 350px) {
  .app-detail-page--apps #requirements .requirements-platform-tab { flex-direction: column; gap: 4px; }
}
/* The shared footer's fixed column minima overflow small desktop viewports. */

/* Platform destinations on the apps index read as links without changing the row grid. */
@layer catalog-visual-system {
  body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag {
    color: #315f80 !important;
    cursor: pointer;
  }

  body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag > span {
    text-decoration-line: underline !important;
    text-decoration-color: rgba(49, 95, 128, .5) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }

  body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag:hover,
  body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag:focus-visible {
    color: #174e78 !important;
  }

  body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag:is(:hover, :focus-visible) > span {
    text-decoration-color: currentColor !important;
  }

  body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag:focus-visible {
    outline: 2px solid #176baf !important;
    outline-offset: 2px !important;
  }

  body.office-catalog-dle main#top.app-detail-page--apps #versions .platform-tag.platform-mobile .platform-dot::before {
    background: url("os-icons/android-modern.svg") center / contain no-repeat !important;
    -webkit-mask: none !important;
    mask: none !important;
  }
}

/* The app index needs the same clear touch actions as the download pages. */
@layer catalog-visual-system {
  @media (max-width: 1100px), (any-pointer: coarse) {
    body.office-catalog-dle main#top.app-detail-page--apps #versions.apps-catalog-section .release-row .download {
      min-height: 44px !important;
      padding: 8px 12px !important;
      color: #fff !important;
      background: var(--catalog-office-brand, #5b5fc7) !important;
      border-color: var(--catalog-office-brand, #5b5fc7) !important;
    }

    body.office-catalog-dle main#top.app-detail-page--apps #versions.apps-catalog-section .release-row .download:is(:hover, :focus-visible, :active) {
      color: #fff !important;
      background: var(--catalog-office-brand-hover, #494dad) !important;
      border-color: var(--catalog-office-brand-hover, #494dad) !important;
    }

    body.office-catalog-dle main#top.app-detail-page--apps #versions .release-row a.platform-tag {
      min-width: 44px !important;
      min-height: 44px !important;
    }
  }
}

/* Keep the action column wide enough when the user enlarges text only. */
@media (min-width: 701px) and (max-width: 980px) {
  .app-detail-page--apps #versions.apps-catalog-section .release-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) max-content !important;
  }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .app-detail-page--apps #versions.apps-catalog-section :is(.release-head, .release-row) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(118px, max-content) !important;
  }
}
@media (min-width: 1101px) and (any-pointer: coarse) {
  .app-detail-page--apps #versions.apps-catalog-section :is(.release-head, .release-row) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(118px, max-content) !important;
  }
}
