body.product-page:is(.theme-crit-audit,.theme-diya,.existing-edition) .concept-footer { display: grid; grid-template-columns: 1fr auto; height: 8dvh; min-height: 0; max-height: none; }
body.product-page:is(.theme-crit-audit,.theme-diya,.existing-edition) .concept-footer .folio { position: fixed; right: 4.45vw; bottom: 3.4dvh; margin: 0!important; transform: none!important; font-size: 22px; line-height: .9; font-style: italic; }
@media (max-width: 1024px), (orientation: portrait) {
  body.product-page:is(.theme-crit-audit,.theme-diya,.existing-edition) > .magazine-leaf { height: auto; min-height: 100dvh; padding: 0 7vw; overflow: clip; }
  body.product-page:is(.theme-crit-audit,.theme-diya,.existing-edition) .concept-main { margin-bottom: 0; flex: 1 0 auto; }
  body.product-page:is(.theme-crit-audit,.theme-diya,.existing-edition) .concept-footer { margin-top: 0; height: auto; min-height: 0; padding: 22px 0 calc(25px + env(safe-area-inset-bottom,0px)); border-top: 1px solid #e6e3e0; }
  body.product-page:is(.theme-crit-audit,.theme-diya,.existing-edition) .concept-footer .folio { position: static; inset: auto; font-size: 28px; justify-self: end; }
  body.product-page.theme-diya .concept-footer { border-top-color: var(--rule); }
  body.product-page.existing-edition > .magazine-leaf { display: flex; flex-direction: column; }
  body.product-page.existing-edition .edition { flex: 0 0 auto; }
  body.product-page.existing-edition .concept-footer { margin-top: auto; }
}

/* Preserve Dated's existing dark palette in the shared product navigation. */
body.product-page.theme-dated{--ink:#f5f6ef;--rule:#3b4337}
body.product-page.theme-dated .case-navigation .case-pills a{background:#20261f;border-color:#3b4337;color:#cbd1c4}
body.product-page.theme-dated .case-navigation .case-pills a[aria-current=page]{background:var(--accent);border-color:var(--accent);color:#1b2215}
body.product-page.theme-dated .concept-footer{border-top-color:#3b4337}

/* Magazine turn geometry must not replace the approved product composition. */
body.product-page > .magazine-leaf{background-color:var(--paper)}
body.product-page:not(.existing-edition) > .magazine-leaf{position:relative;inset:auto;display:flex;flex-direction:column}
@media(max-width:1024px),(orientation:portrait){
 body.product-page > .magazine-leaf{position:relative;inset:auto;height:auto;min-height:100dvh;display:flex;flex-direction:column;clip-path:none!important}
 body.product-page .leaf-fold,body.product-page .leaf-handle{display:none!important}
}
