/* This layer is declared before the theme layers in main.tpl. */
@layer local-link-policy {
 body.office-catalog-dle button[data-external-unavailable] {
  flex-wrap:wrap!important;
  height:auto!important;
  row-gap:2px!important;
  border-color:#d4dde4!important;
  border-style:solid!important;
  border-width:1px!important;
  background:#f2f5f7!important;
  color:#5c6b78!important;
  opacity:1!important;
  box-shadow:none!important;
  cursor:default!important;
  transform:none!important;
  font-family:inherit!important;
 }
 body.office-catalog-dle button[data-external-unavailable] :is(strong,small,b,svg) { color:inherit!important; }
 body.office-catalog-dle button[data-external-unavailable] .external-download-note {
  display:block!important;
  flex-basis:100%!important;
  width:100%;
  margin:0!important;
  color:#687581!important;
  font:400 12px/1.4 var(--site-text-font,'Segoe UI',sans-serif)!important;
  letter-spacing:normal!important;
  white-space:normal;
 }
 body.office-catalog-dle .release-row button[data-external-unavailable] {
  position:relative!important;
  flex-wrap:nowrap!important;
  height:38px!important;
  min-height:38px!important;
  margin-bottom:17px!important;
  overflow:visible!important;
 }
 /* An unavailable file has no destination, so its action shows no link icon. */
 body.office-catalog-dle .release-row button[data-external-unavailable] .product-action-icon { display:none!important; }
 body.office-catalog-dle .release-row button[data-external-unavailable]::before,
 body.office-catalog-dle .release-row button[data-external-unavailable]::after { content:none!important; display:none!important; }
 body.office-catalog-dle .release-row button[data-external-unavailable] .external-download-note {
  position:absolute;
  top:calc(100% + 4px);
  right:0;
  width:max-content;
  max-width:160px;
  white-space:nowrap;
 }
 body.office-catalog-dle :is(.program-fact,.program-links-list,.product-section-links) span[data-external-unavailable] { color:var(--cvs-muted,#637080)!important; }
 body.office-catalog-dle span[data-external-unavailable] > span[aria-hidden="true"] { display:none!important; }
 @media(max-width:700px) {
  body.office-catalog-dle .release-row button[data-external-unavailable] { height:44px!important; min-height:44px!important; }
 }
}
body.office-catalog-dle span[data-external-unavailable] { cursor:default; }
body.office-catalog-dle .program-fact dd > span[data-external-unavailable] { display:inline-flex; align-items:center; gap:6px; font:inherit; }
body.office-catalog-dle .program-links-list > li > span[data-external-unavailable] {
 display:inline-flex;
 align-items:center;
 justify-content:flex-start;
 gap:8px;
 width:100%;
 min-height:30px;
 margin:0 -8px;
 padding:0 8px;
 font-size:13.5px;
 font-weight:620;
 line-height:1.35;
}
body.office-catalog-dle .program-links-list > li > span[data-external-unavailable]::before {
 content:'i';
 display:inline-grid;
 place-items:center;
 flex:0 0 14px;
 width:14px;
 height:14px;
 border:1px solid currentColor;
 border-radius:50%;
 font:600 9px/1 'Segoe UI',Arial,sans-serif;
}
body.office-catalog-dle .product-section-links > span[data-external-unavailable] { display:inline-flex; align-items:center; min-width:0; font-size:13px; line-height:1.5; }

/* Potential file variants remain inspectable, but unavailable options cannot be selected. */
[data-product-file-variant] option:disabled { color:#7c8591; background:#f2f4f6; }
