/* WICHF Website V3-R3 Golden Master reconstruction. */
:root {
  --r3-space: #020f0d;
  --r3-deep: #061713;
  --r3-surface: #0b1d18;
  --r3-ivory: #eee6d7;
  --r3-gold: #cfa966;
  --r3-gold-soft: #e1c491;
  --r3-text: #f4efe6;
  --r3-muted: #aaa69c;
  --r3-dark-line: rgba(207, 169, 102, .34);
}

/* R3-R1 responsive regression fix: closed drawers and filter controls must not
   contribute off-canvas width at tablet/mobile breakpoints. */
@media (max-width: 1099px) {
  .ex-page .ex-filter__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .ex-page .ex-field:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* V3-R3-R1 precision pass: align approved internal anchors without changing
   any locked section boundary or responsive contract. */
@media (min-width: 1100px) {
  .ex-page .ex-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: relative;
    z-index: 7;
    width: 423px;
  }
  .ex-page .ex-hero__lead:where(:not([data-wichf-shell], [data-wichf-shell] *)) { max-width: 423px; }
  .ex-page .ex-hero__meta:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 152px;
    margin-top: 40px;
    padding: 0;
  }
  .ex-page .ex-hero__meta li:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 58px;
    grid-template-columns: 34px 1fr;
    gap: 7px;
    padding: 7px 0;
  }
  .ex-page .ex-hero__meta strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .9rem; }
  .ex-page .ex-hero__meta span:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    font-size: .52rem;
    line-height: 1.35;
    text-transform: none;
  }
  .ex-page .ex-hero__portal:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: calc(100% + 102px);
    margin-left: -102px;
  }
  .ex-page .ex-portal-work--1:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 231px; }
  .ex-page .ex-portal-work--1 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { object-fit: cover; }
  .ex-page .ex-portal-work--2:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    top: 264px;
    left: 32px;
    width: 152px;
    height: 197px;
  }
  .ex-page .ex-hero__portal .ex-portal-work--2 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 112px;
    height: 112px;
    object-fit: contain;
  }
  .ex-page .ex-hero__portal .ex-portal-work--2 > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 85px;
    padding: 9px 11px;
    border-radius: 1px;
  }
  .ex-page .ex-portal-work--4:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 527px; }
  .ex-page .ex-portal-work--5:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 620px; }
  .ex-page .ex-hero__quote:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 576px; }
  .ex-page .ex-portal-index:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 278px; }
  .ex-page .ex-curatorial__intro .ex-eyebrow:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-curatorial__intro h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    margin: 0 0 19px;
    font-size: 2.4rem;
  }
  .ex-page .ex-curatorial__facts article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 11px; }
  .ex-page .ex-curatorial__facts h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 8px; }
  .ex-page .ex-browser__heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: relative;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
  }
  .ex-page .ex-browser__search:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-column: 2; }
  .ex-page .ex-browser__reset:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    right: 0;
    top: 15px;
    min-height: 20px;
    padding: 0;
    color: var(--r3-gold-soft);
    background: transparent;
    border: 0;
    font-size: .56rem;
    cursor: pointer;
  }
  .ex-page .ex-filter__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ex-page .ex-section--dark:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #071713; }
  .ex-page .ex-institution-link:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 76px;
    padding: 13px 14px;
    background: transparent;
    border-top: 1px solid rgba(207,169,102,.24);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__network:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    opacity: .18;
    filter: saturate(.62) sepia(.24) brightness(.5);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) { transform: translateY(17px); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    bottom: -13px;
    width: 566px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts li:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 78px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    grid-template-columns: 315px repeat(6, minmax(0, 1fr)) 80px;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(207,169,102,.36);
    border-radius: 7px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-disclosure:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: contents; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search > .heritage-field:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-column: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search > button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    grid-column: 8;
    grid-row: 1;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid .heritage-field:last-child select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-right: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage:where(:not([data-wichf-shell], [data-wichf-shell] *))::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
      linear-gradient(rgba(1,12,14,.55), rgba(1,12,14,.74)),
      url("/assets/media/about/about_global_network_v1.png") center / cover no-repeat;
    opacity: .42;
    content: "";
    pointer-events: none;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-fallback:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 7px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 38px;
    height: 38px;
    padding-bottom: 6px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 137px;
    height: 137px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 137px;
    height: 137px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 3px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 45px;
    height: 45px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 250px;
    height: 250px;
    gap: 16px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 250px;
    height: 250px;
    padding-top: 143px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 132px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__number:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 143px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 3px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 37px;
    height: 37px;
    padding-bottom: 9px;
  }
}

/* V3-R3-R1: static-shell parity refinement. Outer section geometry remains locked. */
@media (min-width: 1100px) {

  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: relative;
    padding-top: 29px;
    background: #031113;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__network:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 540px;
    height: 356px;
    object-fit: cover;
    object-position: 38% center;
    opacity: .36;
    filter: saturate(.7) sepia(.15) brightness(.62);
    mix-blend-mode: screen;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__kicker:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    max-width: 620px;
    margin: 6px 0 8px;
    font-size: 4.45rem;
    line-height: .92;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__subtitle:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-bottom: 13px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__intro:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 465px;
    font-size: .76rem;
    line-height: 1.55;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 560px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts li:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 70px;
    padding: 7px 20px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 2.45rem; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__toolbar:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 100%;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 16px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { gap: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(6, minmax(94px, 1fr)); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field label:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 13px;
    color: rgba(244, 239, 230, .54);
    font-size: .49rem;
    pointer-events: none;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 58px;
    height: 58px;
    margin: 0;
    padding: 19px 12px 4px;
    border-right-width: 0;
    background: rgba(8, 27, 24, .84);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-width: 64px;
    padding: 0 14px;
    color: #07110e;
    background: var(--r3-gold-soft);
    border-right-width: 1px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid .heritage-field:last-child select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-right-width: 1px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__summary:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    top: 84px;
    min-height: 36px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-mode-switch button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-width: auto;
    min-height: 30px;
    padding: 4px 9px;
    border: 0;
    color: var(--r3-gold-soft);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-mode-switch button[aria-pressed="true"]:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    isolation: isolate;
    background-color: #010c0e;
    background-image: linear-gradient(rgba(1, 12, 14, .74), rgba(1, 12, 14, .82)), url("/assets/media/about/about_global_network_v2.webp");
    background-size: cover;
    background-position: center;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-fallback:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    inset: auto;
    top: 38px;
    left: 50%;
    width: 1020px;
    height: 1020px;
    overflow: hidden;
    border: 1px solid rgba(194, 224, 225, .74);
    border-radius: 50%;
    background: #020b0d;
    box-shadow: 0 -4px 22px rgba(192, 235, 244, .55), 0 0 86px rgba(64, 140, 153, .28);
    transform: translateX(-50%);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-fallback picture:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: block; width: 100%; height: 100%; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-fallback img:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.74) brightness(.78) contrast(1.08);
    transform: translateY(-30px) scale(1.06);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-fallback figcaption:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-status:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    top: 96px;
    left: 56px;
    width: 180px;
    color: var(--r3-gold-soft);
    background: transparent;
    border: 0;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-instructions:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    right: auto;
    bottom: 31px;
    left: 50%;
    min-width: 330px;
    padding: 10px 20px;
    color: var(--r3-gold-soft);
    background: rgba(4, 17, 18, .76);
    border: 1px solid rgba(207, 169, 102, .58);
    border-radius: 28px;
    text-align: center;
    transform: translateX(-50%);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    z-index: 8;
    display: grid;
    gap: 8px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--left:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 422px; left: 50px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 405px; right: 50px; gap: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    color: var(--r3-gold-soft);
    background: rgba(2, 17, 19, .82);
    border: 1px solid rgba(207, 169, 102, .42);
    border-radius: 50%;
    font: inherit;
    font-size: .52rem;
    cursor: pointer;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-radius: 0; border-bottom-width: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:first-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-radius: 24px 24px 0 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:last-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-bottom-width: 1px; border-radius: 0 0 24px 24px; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 16px; padding-bottom: 16px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(207, 169, 102, .28);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context .heritage-editorial-heading > p:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context .heritage-editorial-heading > div:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading > p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context .heritage-editorial-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    margin: 0;
    color: var(--r3-gold);
    font-size: 1rem;
    letter-spacing: .06em;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 132px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: auto 0 6px; font-size: 1.05rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .61rem; line-height: 1.42; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 18px; padding-bottom: 18px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 44px;
    grid-template-columns: 142px minmax(0, 1fr) auto;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(207, 169, 102, .28);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery .heritage-editorial-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 1rem; letter-spacing: .06em; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery .heritage-editorial-heading > div:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .59rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 244px; height: 244px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 244px;
    height: 244px;
    padding: 151px 15px 12px;
    background: #071713;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 140px; filter: saturate(.76) brightness(.73); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__number:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; top: 150px; right: 12px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__eyebrow:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0 0 5px; font-size: .5rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .96rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card p:not(.heritage-discovery-card__eyebrow):where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card > a:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    margin-top: auto;
    color: var(--r3-gold-soft);
    font-size: .52rem;
    text-decoration: none;
  }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 10px; padding-bottom: 10px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 36px; padding-bottom: 8px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 91px; padding: 12px 27px; background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 1.05rem; }

  .ex-page .ex-hero:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #0c1b17; }
  .ex-page .ex-hero__portal:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    background-image:
      radial-gradient(ellipse at 54% 0%, rgba(231, 210, 170, .24), transparent 30%),
      radial-gradient(ellipse at 50% 92%, rgba(209, 174, 112, .14), transparent 28%),
      linear-gradient(180deg, #14231e 0%, #0b1814 62%, #030b09 100%);
  }
  .ex-page .ex-hero__portal:where(:not([data-wichf-shell], [data-wichf-shell] *))::before {
    position: absolute;
    right: 0;
    bottom: 27px;
    left: 0;
    height: 118px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.34)), radial-gradient(ellipse at 52% 100%, rgba(226, 190, 126, .16), transparent 46%);
    content: "";
    pointer-events: none;
  }
  .ex-page .ex-portal-work--1 > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-portal-work--1 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding: 9px; background: #151c18; }
  .ex-page .ex-portal-work--2:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    top: 269px;
    left: -95px;
    width: 180px;
    height: 300px;
    align-items: stretch;
  }
  .ex-page .ex-hero__portal .ex-portal-work--2 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 110px;
    height: 132px;
    flex: none;
    align-self: center;
    padding: 4px;
  }
  .ex-page .ex-hero__portal .ex-portal-work--2 > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 14px 18px;
    background: linear-gradient(90deg, #12241e, #1b2d25);
    border: 1px solid rgba(225,196,145,.24);
    border-radius: 7px 7px 3px 3px;
    box-shadow: 0 24px 38px rgba(0,0,0,.52);
  }
  .ex-page .ex-portal-work--4 > span:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-portal-work--5 > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: rgba(8, 23, 18, .96); }
  .ex-page .ex-hero__quote:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    z-index: 5;
    top: 67px;
    left: 474px;
    width: 180px;
    margin: 0;
    color: var(--r3-gold-soft);
  }
  .ex-page .ex-hero__quote:where(:not([data-wichf-shell], [data-wichf-shell] *))::before { content: "“"; font-family: var(--wichf-font-serif); font-size: 2.2rem; line-height: .6; }
  .ex-page .ex-hero__quote p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 6px 0 7px; font-family: var(--wichf-font-serif); font-size: .64rem; line-height: 1.65; }
  .ex-page .ex-hero__quote cite:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-muted); font-size: .48rem; font-style: normal; }
  .ex-page .ex-portal-index:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    z-index: 5;
    bottom: 27px;
    left: 176px;
    width: 310px;
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 0;
    padding: 10px 0 0;
    color: rgba(244, 239, 230, .36);
    border-top: 1px solid rgba(207,169,102,.34);
    font-size: .5rem;
    list-style: none;
  }
  .ex-page .ex-portal-index li:first-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-gold-soft); }

  .ex-page .ex-curatorial:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #ded0b8; }
  .ex-page .ex-curatorial > .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    align-items: start;
    padding-top: 26px;
  }
  .ex-page .ex-curatorial__intro h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 5px; }
  .ex-page .ex-curatorial__facts article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 10px; }
  .ex-page .ex-curatorial__facts h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 11px; }

  .ex-page .ex-browser:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-filter:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #141c18; }
  .ex-page .ex-sequence:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #111d18; }
  .ex-page .ex-work:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #0b1b16; }
  .ex-page .ex-work__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #0a1915; }
  .ex-page .ex-work__label:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #10201a; }
  .ex-page .ex-work__meta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: rgba(225,196,145,.76); }
  .ex-page .ex-institution-link:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    background: rgba(2, 15, 13, .36);
    border-color: rgba(207,169,102,.25);
  }
}

/* R3-2: every visible navigation label owns its underline geometry. */

/* R3-5: Global Heritage Directory follows the approved dark, Earth-first composition. */
@media (min-width: 1100px) {
  html[data-page-id="global-heritage-map"][data-v3-r3] {
    color: var(--r3-text);
    background: var(--r3-space);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] body,
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-main:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #020d10; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-main:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .wichf-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: min(calc(100% - 112px), 1296px); }

  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 356px;
    height: 356px;
    padding: 29px 0 32px;
    overflow: hidden;
    background: #031113;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: relative;
    height: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 70px;
    align-items: center;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    max-width: 620px;
    margin: 6px 0 8px;
    font-size: 4.45rem;
    font-weight: 460;
    letter-spacing: -.045em;
    line-height: .92;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__intro:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 465px;
    max-width: 465px;
    margin: 0;
    color: rgba(244, 239, 230, .64);
    font-size: .76rem;
    line-height: 1.55;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) { transform: translateY(21px); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__subtitle:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-bottom: 23px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__subtitle:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0 0 14px; color: var(--r3-gold-soft); font-family: var(--wichf-font-serif); font-size: .72rem; letter-spacing: .2em; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__cta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) { align-self: start; max-width: 820px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; bottom: 0; left: 0; width: 560px; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts li:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 70px; padding: 7px 20px; border: 0; border-right: 1px solid rgba(255,255,255,.22); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts li:first-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-left: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 2.45rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .57rem; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: relative;
    width: 100%;
    min-height: 905px;
    padding: 0;
    color: var(--r3-text);
    background: #010c0e;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__toolbar:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 78px;
    height: 78px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    padding: 0 56px;
    color: var(--r3-text);
    background: #020d0f;
    border-color: rgba(207, 169, 102, .28);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 100%; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: end; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: 1fr auto; gap: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-disclosure > summary:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(6, minmax(94px, 1fr)); gap: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-actions:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; font-size: .55rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 58px; height: 58px; margin: 0; padding: 19px 12px 4px; color: var(--r3-text); background: rgba(8,27,24,.84); border-color: rgba(207, 169, 102, .36); border-right-width: 0; font-size: .65rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field small:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-width: 64px; padding: 0 14px; color: #07110e; background: var(--r3-gold-soft); border-right-width: 1px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid .heritage-field:last-child select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-right-width: 1px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-actions button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 29px; padding: 3px 10px; color: var(--r3-muted); background: transparent; border-color: rgba(255,255,255,.18); font-size: .58rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__summary:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    z-index: 7;
    top: 84px;
    right: 56px;
    min-height: 36px;
    padding: 0;
    color: var(--r3-text);
    background: transparent;
    border: 0;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__summary > div:first-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__summary p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0; font-size: .64rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-mode-switch button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-width: auto; min-height: 30px; padding: 4px 9px; color: var(--r3-gold-soft); background: transparent; border: 0; font-size: .62rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-mode-switch button[aria-pressed="true"]:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: #08130f; background: var(--r3-gold-soft); border-color: var(--r3-gold-soft); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-panel:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-layout:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: 1fr; height: 827px; min-height: 827px; border: 0; border-radius: 0; box-shadow: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-results:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 827px; background-color: #010c0e; background-image: radial-gradient(circle at 14% 14%, rgba(92,146,154,.1), transparent 18%), radial-gradient(circle at 88% 24%, rgba(207,169,102,.08), transparent 19%), linear-gradient(#010c0e,#020f12); background-size: cover; background-position: center; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-status:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 96px; left: 56px; width: 180px; padding: 7px 10px; color: var(--r3-gold-soft); background: transparent; border: 0; font-size: .6rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-instructions:where(:not([data-wichf-shell], [data-wichf-shell] *)) { right: auto; bottom: 31px; left: 50%; min-width: 330px; padding: 10px 20px; color: var(--r3-gold-soft); background: rgba(4,17,18,.76); border: 1px solid rgba(207,169,102,.58); border-radius: 28px; font-size: .58rem; text-align: center; transform: translateX(-50%); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage .maplibregl-ctrl-group:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-left: 46px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-list-panel:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; z-index: 5; min-height: 827px; margin: 0; color: var(--r3-text); background: #071814; border: 0; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related:where(:not([data-wichf-shell], [data-wichf-shell] *)) { overflow: hidden; color: var(--r3-text); background: #000b0d; border-color: rgba(207,169,102,.25); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 211px; padding: 16px 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 335px; padding: 8px 0; background: #000c0b; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 149px; padding: 10px 0; background: #010e0f; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: 150px minmax(0, .9fr) minmax(260px, .55fr); gap: 28px; padding-bottom: 22px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-editorial-heading > p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 2px; color: var(--r3-gold); font-size: .57rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-editorial-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-text); font-size: 2.1rem; line-height: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-editorial-heading > div:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-muted); font-size: .72rem; line-height: 1.55; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(4, 1fr); border-color: rgba(207,169,102,.25); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 132px; padding: 12px 16px; border-color: rgba(207,169,102,.25); background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: auto 0 6px; color: var(--r3-gold-soft); font-size: 1.05rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-muted); font-size: .61rem; line-height: 1.42; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 244px; height: 244px; gap: 12px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; grid-column: span 3; min-height: 244px; height: 244px; padding: 151px 15px 12px; overflow: hidden; border-color: rgba(207,169,102,.25); background: #071713; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; inset: 0 0 auto; width: 100%; height: 140px; object-fit: cover; filter: saturate(.76) brightness(.73); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card:nth-child(2):where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .96rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card p:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .58rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 36px; grid-template-columns: 150px minmax(0, 1fr); padding-bottom: 8px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 1rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(3, 1fr); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 91px; padding: 12px 27px; color: var(--r3-text); border-color: rgba(207,169,102,.25); background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: auto 0 0; font-size: 1.05rem; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid b:where(:not([data-wichf-shell], [data-wichf-shell] *)) { right: 14px; bottom: 10px; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
}

/* R3-3: Online Exhibition Golden Master geometry at canonical desktop. */
@media (min-width: 1100px) {
  /* R3-6: the homepage teaser reuses the approved museum-room system. */
  html[data-v3-r3] .homepage-exhibition:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    height: 1080px;
    padding: 62px 0 38px;
    overflow: hidden;
    color: var(--r3-text);
    background: radial-gradient(circle at 68% 32%, rgba(217, 189, 139, .13), transparent 27%), linear-gradient(180deg, #071713, #020d0b);
  }
  html[data-v3-r3] .homepage-exhibition__inner:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 980px; }
  html[data-v3-r3] .homepage-exhibition__header:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 134px;
    display: grid;
    grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: end;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(207,169,102,.32);
  }
  html[data-v3-r3] .homepage-exhibition__title h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 6px 0 0; color: var(--r3-text); font-family: var(--wichf-font-serif); font-size: 4.8rem; font-weight: 450; line-height: .95; }
  html[data-v3-r3] .homepage-exhibition__introduction:where(:not([data-wichf-shell], [data-wichf-shell] *)) { max-width: 620px; color: var(--r3-muted); font-size: .78rem; }
  html[data-v3-r3] .homepage-exhibition__actions:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: flex; gap: 24px; margin-top: 15px; }
  html[data-v3-r3] .homepage-exhibition__actions a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-gold-soft); font-size: .64rem; }
  html[data-v3-r3] .homepage-exhibition__threshold:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; min-height: 748px; height: 748px; display: block; border-bottom: 1px solid rgba(207,169,102,.26); }
  html[data-v3-r3] .homepage-exhibition__prologue:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; z-index: 6; top: 86px; left: 0; width: 250px; padding: 20px 22px; color: var(--r3-muted); background: rgba(3,15,12,.84); border-left: 1px solid var(--r3-gold); }
  html[data-v3-r3] .homepage-exhibition__prologue p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .68rem; line-height: 1.55; }
  html[data-v3-r3] .homepage-exhibition__prologue dl:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 18px 0; }
  html[data-v3-r3] .homepage-exhibition__prologue a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-gold-soft); font-size: .63rem; }
  html[data-v3-r3] .homepage-exhibition__gallery:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; inset: 0 0 0 285px; display: block; }
  html[data-v3-r3] .homepage-exhibition-work:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; display: block; color: var(--r3-text); text-decoration: none; }
  html[data-v3-r3] .homepage-exhibition-work figure:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 100%; margin: 0; display: flex; flex-direction: column; }
  html[data-v3-r3] .homepage-exhibition-work__frame:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 0; flex: 1; display: grid; place-items: center; padding: 12px; background: #071612; border: 8px solid #172a23; box-shadow: 0 20px 38px rgba(0,0,0,.5), inset 0 0 0 1px rgba(225,196,145,.32); }
  html[data-v3-r3] .homepage-exhibition-work img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 100%; height: 100%; object-fit: contain; }
  html[data-v3-r3] .homepage-exhibition-work figcaption:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 66px; padding: 10px 12px; background: rgba(4,16,13,.96); border: 1px solid rgba(207,169,102,.34); border-top: 0; }
  html[data-v3-r3] .homepage-exhibition-work figcaption span:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r3] .homepage-exhibition-work figcaption small:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: block; color: var(--r3-muted); font-size: .52rem; }
  html[data-v3-r3] .homepage-exhibition-work figcaption strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: block; margin-top: 4px; font-family: var(--wichf-font-serif); font-size: .82rem; }
  html[data-v3-r3] .homepage-exhibition-work figcaption small:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-v3-r3] .homepage-exhibition-work--1:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 5; top: 34px; left: 31%; width: 34%; height: 650px; }
  html[data-v3-r3] .homepage-exhibition-work--2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 3; top: 285px; left: 1%; width: 18%; height: 350px; }
  html[data-v3-r3] .homepage-exhibition-work--3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 3; top: 250px; right: 1%; width: 17%; height: 374px; }
  html[data-v3-r3] .homepage-exhibition-work--4:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 2; top: 380px; left: 69%; width: 15%; height: 270px; }
  html[data-v3-r3] .homepage-exhibition-work--5:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 2; top: 88px; right: 4%; width: 13%; height: 230px; }
  html[data-v3-r3] .homepage-exhibition__footer:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding-top: 15px; color: var(--r3-muted); font-size: .6rem; }

  .ex-page:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    color: var(--r3-text);
    background: var(--r3-space);
  }
  .ex-page .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: min(calc(100% - 244px), 1172px); }

  .ex-page .ex-hero:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-hero__inner:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 613px; height: 613px; }
  .ex-page .ex-hero:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    overflow: hidden;
    background: #0c1b17;
  }
  .ex-page .ex-hero__inner:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: calc(100% - 168px);
    grid-template-columns: 347px minmax(0, 1fr);
    gap: 31px;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
  }
  .ex-page .ex-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: flex;
    max-width: none;
    flex-direction: column;
    justify-content: center;
    padding: 42px 0 38px;
  }
  .ex-page .ex-hero__copy h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    max-width: 6.4em;
    margin: 10px 0 18px;
    font-size: clamp(4.6rem, 6.25vw, 5.65rem);
    line-height: .92;
    overflow-wrap: normal;
    word-break: keep-all;
  }
  html[lang="zh-CN"] .ex-page .ex-hero__copy h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    font-family: "Noto Serif CJK SC", "Songti SC", SimSun, var(--wichf-font-serif);
    font-size: 5.55rem;
    letter-spacing: -.03em;
  }
  .ex-page .ex-hero__lead:where(:not([data-wichf-shell], [data-wichf-shell] *)) { max-width: 350px; margin: 0; font-size: .9rem; line-height: 1.7; }
  .ex-page .ex-hero__enter:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 44px; width: fit-content; margin-top: 22px; padding: 0 19px; font-size: .78rem; }
  .ex-page .ex-hero__meta:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    max-width: 340px;
    grid-template-columns: 1fr;
    margin: 28px 0 0;
    border-bottom: 0;
  }
  .ex-page .ex-hero__meta li:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 52px;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(207, 169, 102, .2);
  }
  .ex-page .ex-hero__meta strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 1.1rem; }
  .ex-page .ex-hero__meta span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .56rem; text-transform: uppercase; }

  .ex-page .ex-hero__portal:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: relative;
    min-height: 613px;
    display: block;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(207, 169, 102, .32);
    background-color: #071611;
    background-image: radial-gradient(ellipse at 54% 0%, rgba(231,210,170,.24), transparent 30%), radial-gradient(ellipse at 50% 92%, rgba(209,174,112,.14), transparent 28%), linear-gradient(180deg, #14231e 0%, #0b1814 62%, #030b09 100%);
    box-shadow: inset 0 -60px 100px rgba(0, 0, 0, .62);
  }
  .ex-page .ex-portal-work:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin: 0;
    color: var(--r3-text);
    text-decoration: none;
  }
  .ex-page .ex-portal-work img:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 7px;
    border: 1px solid rgba(225, 196, 145, .48);
    object-fit: contain;
    background: #101713;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
  }
  .ex-page .ex-portal-work > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 52px;
    padding: 9px 10px;
    border: 1px solid rgba(225, 196, 145, .24);
    border-top: 0;
    background: rgba(5, 17, 13, .94);
  }
  .ex-page .ex-portal-work small:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .5rem; letter-spacing: .08em; }
  .ex-page .ex-portal-work strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { overflow: hidden; font-size: .72rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .ex-page .ex-portal-work--1:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 3; top: 91px; left: 129px; width: 290px; height: 357px; }
  .ex-page .ex-portal-work--2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 2; top: 269px; left: -95px; width: 180px; height: 300px; align-items: stretch; }
  .ex-page .ex-portal-work--3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 2; top: 197px; right: 0; width: 120px; height: 127px; }
  .ex-page .ex-portal-work--4:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 1; top: 265px; left: 425px; width: 81px; height: 200px; }
  .ex-page .ex-portal-work--5:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 1; top: 316px; left: 518px; width: 142px; height: 188px; }
  .ex-page .ex-portal-work--2 img:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-portal-work--3 img:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-portal-work--4 img:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-portal-work--5 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { aspect-ratio: auto; }

  .ex-page .ex-curatorial:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 260px; overflow: hidden; background: #ded0b8; }
  .ex-page .ex-curatorial > .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    height: 260px;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .ex-page .ex-curatorial__intro h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 6px 0 12px; font-size: 2.55rem; line-height: 1; }
  .ex-page .ex-curatorial__intro > p:last-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0; font-size: .78rem; line-height: 1.7; }
  .ex-page .ex-curatorial__facts:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 169px; }
  .ex-page .ex-curatorial__facts article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding: 14px 24px; }
  .ex-page .ex-curatorial__facts h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 16px 0 9px; font-size: 1rem; }
  .ex-page .ex-curatorial__facts p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .72rem; line-height: 1.58; }
  .ex-page .ex-machine-note:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
  }

  .ex-page .ex-browser:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 1112px; color: var(--r3-text); background: #141c18; }
  .ex-page .ex-browser__heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 72px;
    height: 72px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(250px, .55fr) minmax(0, 1fr);
    align-items: end;
    gap: 50px;
    padding-top: 16px;
    padding-bottom: 8px;
  }
  .ex-page .ex-browser__heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 2px 0 0; color: var(--r3-gold); font-family: var(--wichf-font-serif); font-size: 2rem; font-weight: 500; }
  .ex-page .ex-browser__heading > p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { justify-self: end; max-width: 500px; margin: 0; color: var(--r3-muted); font-size: .72rem; }
  .ex-page .ex-browser__search:where(:not([data-wichf-shell], [data-wichf-shell] *)) { justify-self: stretch; align-self: end; display: grid; grid-template-columns: 1fr; color: var(--r3-muted); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; }
  .ex-page .ex-browser__search input:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 39px; margin-top: 4px; padding: 0 44px 0 15px; color: var(--r3-text); background: #071a15; border: 1px solid rgba(207,169,102,.42); border-radius: 22px; }
  .ex-page .ex-filter:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 107px; height: 107px; box-sizing: border-box; padding: 7px 0 8px; border-top: 0; background: #141c18; }
  .ex-page .ex-filter > .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) { gap: 6px; }
  .ex-page .ex-filter__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: minmax(280px, 1.6fr) repeat(3, 1fr); gap: 12px; }
  .ex-page .ex-field:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .55rem; }
  .ex-page .ex-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 48px; margin-top: 5px; padding: 0 15px; }
  .ex-page .ex-results:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 18px; font-size: .65rem; }

  .ex-page .ex-sequence:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 933px; height: 933px; box-sizing: border-box; padding: 0 0 16px; background: #141e19; }
  .ex-page .ex-sequence > .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
  }
  .ex-page .ex-chapter:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-chapter__gallery:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: contents; }
  .ex-page .ex-chapter__header:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-work:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    min-height: 201px;
    height: 201px;
    border-color: rgba(207, 169, 102, .56);
    background: #0b1b16;
    box-shadow: none;
  }
  .ex-page .ex-work__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 127px; height: 127px; padding: 8px; background: #0a1915; }
  .ex-page .ex-work__media img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 100%; height: 111px; object-fit: contain; }
  .ex-page .ex-work__label:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 73px; padding: 7px 10px 8px; background: #10201a; }
  .ex-page .ex-work__meta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 13px; font-size: .54rem; }
  .ex-page .ex-work__label > p:first-of-type:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 2px 0 0; font-size: .49rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ex-page .ex-work__label h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 3px 0 0; font-size: .83rem; line-height: 1.18; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ex-page .ex-work__summary:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-work__link:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-collection-pagination:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 64px; margin-top: 5px; gap: 8px; align-items: center; }
  .ex-page .ex-collection-pagination button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-width: 38px; min-height: 34px; font-size: .68rem; }

  .ex-page .ex-section--dark:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 193px; padding: 18px 0 16px; overflow: hidden; background: #131e1b; }
  .ex-page .ex-section--dark > .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: calc(100% - 150px); }
  .ex-page .ex-section--dark .ex-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-bottom: 14px; align-items: end; }
  .ex-page .ex-section--dark .ex-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 2px 0 0; font-size: 1.6rem; }
  .ex-page .ex-section--dark .ex-heading > p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { max-width: 430px; margin: 0; font-size: .68rem; }
  .ex-page .ex-institutions:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(4, 1fr); }
  .ex-page .ex-institution-link:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 88px; padding: 15px 18px; }
  .ex-page .ex-institution-link span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 1.4rem; }
  .ex-page .ex-institution-link strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .8rem; line-height: 1.25; }

  /* Object pages inherit the same museum framing without claiming page-level parity. */
  .ex-page .ex-detail:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding: 92px 0 78px; color: var(--r3-text); background: radial-gradient(circle at 30% 38%, rgba(217,189,139,.11), transparent 24%), #061713; }
  .ex-page .ex-detail__masthead:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-bottom: 50px; }
  .ex-page .ex-detail__masthead > a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-bottom: 28px; color: var(--r3-gold-soft); }
  .ex-page .ex-detail__masthead h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-text); font-size: 5.8rem; }
  .ex-page .ex-detail__top:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 62px; }
  .ex-page .ex-detail__media > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 650px; padding: 52px; background: #03100d; border: 1px solid rgba(207,169,102,.42); box-shadow: 0 34px 70px rgba(0,0,0,.45), inset 0 0 0 12px #0c211a; }
  .ex-page .ex-detail__label:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 54px; color: var(--r3-text); background: #0a1d17; border: 1px solid rgba(207,169,102,.36); border-top: 3px solid var(--r3-gold); box-shadow: 0 24px 48px rgba(0,0,0,.34); }
  .ex-page .ex-detail__summary:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-gold-soft); }
  .ex-page .ex-definition dt:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-detail__context:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-credit:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-muted); }
  .ex-page .ex-definition dd:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-text); border-color: rgba(255,255,255,.13); }
  .ex-page .ex-source:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: rgba(255,255,255,.035); border-color: rgba(207,169,102,.28); }
  .ex-page .ex-detail + .ex-section:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-text); background: #020f0d; }
  .ex-page .ex-detail + .ex-section .ex-gallery figure:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #071713; border-color: rgba(207,169,102,.35); }
}

/* Final cascade authority for the V3-R3-R1 desktop parity pass. */
@media (min-width: 1100px) {
  .ex-page .ex-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; z-index: 7; width: 423px; }
  .ex-page .ex-hero__lead:where(:not([data-wichf-shell], [data-wichf-shell] *)) { max-width: 423px; }
  .ex-page .ex-hero__meta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 152px; margin-top: 40px; padding: 0; }
  .ex-page .ex-hero__meta li:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 58px; grid-template-columns: 34px 1fr; gap: 7px; padding: 7px 0; }
  .ex-page .ex-hero__meta strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .9rem; }
  .ex-page .ex-hero__meta span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .52rem; line-height: 1.35; text-transform: none; }
  .ex-page .ex-hero__portal:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: calc(100% + 102px); margin-left: -102px; }
  .ex-page .ex-portal-work--1:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 231px; }
  .ex-page .ex-portal-work--1 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { object-fit: cover; }
  .ex-page .ex-portal-work--2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 264px; left: 32px; width: 152px; height: 197px; }
  .ex-page .ex-hero__portal .ex-portal-work--2 img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 112px; height: 112px; object-fit: contain; }
  .ex-page .ex-hero__portal .ex-portal-work--2 > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 85px; padding: 9px 11px; border-radius: 1px; }
  .ex-page .ex-portal-work--4:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 527px; }
  .ex-page .ex-portal-work--5:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 620px; }
  .ex-page .ex-hero__quote:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 576px; }
  .ex-page .ex-portal-index:where(:not([data-wichf-shell], [data-wichf-shell] *)) { left: 278px; }
  .ex-page .ex-curatorial__intro .ex-eyebrow:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-curatorial__intro h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0 0 19px; font-size: 2.4rem; }
  .ex-page .ex-curatorial__facts article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 11px; }
  .ex-page .ex-curatorial__facts h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-top: 8px; }
  .ex-page .ex-browser__heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: relative; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
  .ex-page .ex-browser__search:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-column: 2; }
  .ex-page .ex-browser__reset:where(:not([data-wichf-shell], [data-wichf-shell] *)) { position: absolute; right: 0; top: 15px; min-height: 20px; padding: 0; color: var(--r3-gold-soft); background: transparent; border: 0; font-size: .56rem; cursor: pointer; }
  .ex-page .ex-filter__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ex-page .ex-section--dark:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #071713; }
  .ex-page .ex-institution-link:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 76px; padding: 13px 14px; background: transparent; border-top: 1px solid rgba(207,169,102,.24); border-right: 0; border-bottom: 0; border-left: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__network:where(:not([data-wichf-shell], [data-wichf-shell] *)) { opacity: .18; filter: saturate(.62) sepia(.24) brightness(.5); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__copy:where(:not([data-wichf-shell], [data-wichf-shell] *)) { transform: translateY(17px); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts:where(:not([data-wichf-shell], [data-wichf-shell] *)) { bottom: -13px; width: 566px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__facts li:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 78px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: grid; grid-template-columns: 315px repeat(6, minmax(0, 1fr)) 80px; gap: 0; overflow: hidden; border: 1px solid rgba(207,169,102,.36); border-radius: 7px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-disclosure:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: contents; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search > .heritage-field:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-column: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search > button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-column: 8; grid-row: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-top: 0; border-bottom: 0; border-left: 0; border-radius: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid .heritage-field:last-child select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-right: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage:where(:not([data-wichf-shell], [data-wichf-shell] *))::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(rgba(1,12,14,.55), rgba(1,12,14,.74)), url("/assets/media/about/about_global_network_v1.png") center / cover no-repeat; opacity: .42; content: ""; pointer-events: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-fallback:where(:not([data-wichf-shell], [data-wichf-shell] *)) { z-index: 1; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 7px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 38px; height: 38px; padding-bottom: 6px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 137px; height: 137px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 137px; height: 137px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 3px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 45px; height: 45px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery__grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 250px; height: 250px; gap: 16px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 250px; height: 250px; padding-top: 143px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) { height: 132px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__number:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 143px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 3px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related .heritage-editorial-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { min-height: 37px; height: 37px; padding-bottom: 9px; }

  .ex-page .ex-curatorial:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: #17211c; background: #d8c9b1; }
  .ex-page .ex-curatorial > .ex-shell:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: grid; }
  .ex-page .ex-curatorial__facts:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex-page .ex-work:nth-child(n):where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: auto; grid-column: span 1; margin-top: 0; }
  .ex-page .ex-work:nth-child(n) .ex-work__media img:where(:not([data-wichf-shell], [data-wichf-shell] *)) { aspect-ratio: auto; }
  .ex-page .ex-collection-pagination:where(:not([data-wichf-shell], [data-wichf-shell] *)) { order: 999; grid-column: 1 / -1; width: auto; }
  .ex-page .ex-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { color: var(--r3-text); background: #101b17; border-color: rgba(207,169,102,.42); }

  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    grid-template-columns: 315px minmax(0, 1fr) 80px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: contents; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-disclosure:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: block;
    grid-column: 2;
    grid-row: 1;
    height: 58px;
    margin: 0;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-filter-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    height: 58px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-search > button:where(:not([data-wichf-shell], [data-wichf-shell] *)) { grid-column: 3; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage:where(:not([data-wichf-shell], [data-wichf-shell] *))::before { opacity: .08; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background-color: #101717; }

  /* R3-R1 pass 7: static shell typography, iconography and credit/footer fidelity. */
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 122%;
    transform: scaleX(.82);
    transform-origin: left center;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field label:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 8px; left: 12px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field input:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-field select:where(:not([data-wichf-shell], [data-wichf-shell] *)) { padding-top: 17px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 17px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 48px;
    height: 48px;
    filter: brightness(0) saturate(100%) invert(75%) sepia(43%) saturate(718%) hue-rotate(356deg) brightness(91%);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid h3:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0 0 7px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__description:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: block !important;
    margin: 3px 0 5px;
    color: rgba(244,239,230,.72);
    font-size: .54rem !important;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card > a:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: fit-content;
    margin-top: 1px;
    padding: 3px 10px;
    border: 1px solid rgba(63,145,145,.58);
    border-radius: 14px;
    color: #75b6ae;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card > a span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid p:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: block;
    margin: 6px 0 0;
    color: var(--r3-muted);
    font-size: .58rem;
    line-height: 1.3;
  }

  .ex-page .ex-curatorial__intro small:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: block;
    margin-top: 22px;
    font-size: .58rem;
  }
  .ex-page .ex-curatorial__facts article > img:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 25px;
    height: 25px;
    filter: brightness(0) saturate(100%) invert(36%) sepia(26%) saturate(588%) hue-rotate(356deg) brightness(87%);
  }
  .ex-page .ex-curatorial__facts article > span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-collection-pagination:where(:not([data-wichf-shell], [data-wichf-shell] *)) { justify-content: center; }
  .ex-page .ex-collection-pagination button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    color: var(--r3-text);
    background: transparent;
    border-color: transparent;
  }
  .ex-page .ex-collection-pagination button[aria-current="page"]:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    color: #101914;
    background: var(--r3-gold-soft);
  }
  .ex-page .ex-institution-footer-grid:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(180px, .7fr) minmax(190px, .75fr);
    gap: 34px;
    align-items: stretch;
  }
  .ex-page .ex-institution-partners .ex-heading:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin-bottom: 5px; }
  .ex-page .ex-institution-partners .ex-heading h2:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: 1rem; }
  .ex-page .ex-institution-partners .ex-heading .ex-eyebrow:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-institutions:where(:not([data-wichf-shell], [data-wichf-shell] *)) { gap: 0; }
  .ex-page .ex-institution-link:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: grid;
    min-height: 76px;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }
  .ex-page .ex-institution-mark:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(72%) sepia(31%) saturate(496%) hue-rotate(358deg) brightness(90%);
  }
  .ex-page .ex-institution-link span:where(:not([data-wichf-shell], [data-wichf-shell] *)) { display: none; }
  .ex-page .ex-institution-link strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-size: .58rem; font-weight: 500; }
  .ex-page .ex-institution-support:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-institution-brand:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 24px;
    border-left: 1px solid rgba(207,169,102,.24);
  }
  .ex-page .ex-institution-support p:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-institution-brand > strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0 0 9px; color: var(--r3-gold-soft); font-size: .72rem; }
  .ex-page .ex-institution-support strong:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-institution-support small:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 3px 0; font-size: .56rem; }
  .ex-page .ex-institution-brand > strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) { font-family: var(--wichf-font-serif); font-size: 1.35rem; text-align: right; }
  .ex-page .ex-institution-brand p:where(:not([data-wichf-shell], [data-wichf-shell] *)) { margin: 0 0 10px; color: var(--r3-muted); font-size: .56rem; text-align: right; }
  .ex-page .ex-institution-brand a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { align-self: flex-end; padding: 6px 13px; border: 1px solid rgba(207,169,102,.34); color: var(--r3-text); font-size: .56rem; text-decoration: none; }

  /* R3-R1 pass 10: measured static-surface luminance reconciliation. */
  .ex-page .ex-curatorial:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #ded0b8; }
  .ex-page .ex-browser:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  .ex-page .ex-filter:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #131c18; }
  .ex-page .ex-work__label:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #141e1a; }
  .ex-page .ex-section--dark:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #0f1b17; }

  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #000c0e; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero__network:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    opacity: .12;
    filter: saturate(.62) sepia(.24) brightness(.42);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__form:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    grid-template-columns: 340px minmax(0, 1fr) 94px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-stage:where(:not([data-wichf-shell], [data-wichf-shell] *))::before { opacity: .22; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-context__grid article:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #111817; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #061111; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-discovery-card__media:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    filter: saturate(.82) brightness(1.18);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-related__grid a:where(:not([data-wichf-shell], [data-wichf-shell] *)) { background: #111a19; }

  /* R3-R1 pass 11: Golden-measured headline and real map-control geometry. */
  html[data-page-id="global-heritage-map"][data-v3-r3] .global-heritage-hero h1:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 94%;
    transform: scaleX(1.07);
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-explorer__toolbar:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border: 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--left:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    top: 438px;
    gap: 12px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right:where(:not([data-wichf-shell], [data-wichf-shell] *)) { top: 425px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--left button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 56px;
    min-width: 56px;
    height: 56px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 62px;
    min-width: 62px;
    height: 62px;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:first-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-radius: 31px 31px 0 0; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:last-child:where(:not([data-wichf-shell], [data-wichf-shell] *)) { border-radius: 0 0 31px 31px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    width: 22px;
    height: 22px;
    display: block;
    margin: auto;
    background: var(--r3-gold-soft);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
  }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 20px; height: 20px; }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--left button:nth-child(1) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-locate-v1.svg"); mask-image: url("/assets/icons/r3/map-locate-v1.svg"); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--left button:nth-child(2) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-list-v1.svg"); mask-image: url("/assets/icons/r3/map-list-v1.svg"); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--left button:nth-child(3) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-layers-v1.svg"); mask-image: url("/assets/icons/r3/map-layers-v1.svg"); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:nth-child(1) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-plus-v1.svg"); mask-image: url("/assets/icons/r3/map-plus-v1.svg"); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:nth-child(2) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-minus-v1.svg"); mask-image: url("/assets/icons/r3/map-minus-v1.svg"); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:nth-child(3) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-globe-v1.svg"); mask-image: url("/assets/icons/r3/map-globe-v1.svg"); }
  html[data-page-id="global-heritage-map"][data-v3-r3] .heritage-map-tools--right button:nth-child(4) .maplibregl-ctrl-icon:where(:not([data-wichf-shell], [data-wichf-shell] *)) { -webkit-mask-image: url("/assets/icons/r3/map-fullscreen-v1.svg"); mask-image: url("/assets/icons/r3/map-fullscreen-v1.svg"); }

}
