/* The whole site becomes the outgoing sheet; the original PDF stays intact. */
body.catalog-active { overflow: hidden; background: #102c3c; }
body.catalog-active #site-shell { position: fixed; inset-inline: 0; top: calc(-1 * var(--catalog-scroll)); width: 100%; transform-origin: left calc(var(--catalog-scroll) + 50svh); will-change: transform, opacity; backface-visibility: hidden; }
.catalog-reader { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #102c3c; color: #e6f0f4; overflow: hidden; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; box-shadow: -30px 0 90px rgb(0 15 25 / 32%); }
.catalog-reader::backdrop { background: transparent; }
.catalog-toolbar { height: 76px; padding: 0 clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgb(170 207 222 / 18%); }
.catalog-back, .catalog-download { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; border: 0; background: transparent; padding: 8px 0; color: #e6f0f4; font-size: .8125rem; font-weight: 400; cursor: pointer; white-space: nowrap; transition: color .3s ease !important; }
.catalog-back:hover, .catalog-download:hover { color: #89d2e5; text-decoration: none; }
.catalog-back svg, .catalog-download svg { width: 22px; height: 22px; flex-shrink: 0; }
.catalog-identity { text-align: center; }
.catalog-identity > span { color: #8cbacd; font-size: .625rem; letter-spacing: .22em; }
.catalog-identity h2 { margin-top: 3px; font-size: .9375rem; line-height: 1.3; letter-spacing: .015em; font-weight: 400; }
.catalog-document { position: relative; height: calc(100% - 76px); }
.catalog-document iframe { display: block; width: 100%; height: 100%; border: 0; background: #173949; }
.catalog-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #173949; }
.catalog-loading[hidden] { display: none; }
.catalog-loading p { color: #d5e5ec; font-size: .875rem; }
.catalog-loading a { color: #98cbdc; font-size: .75rem; text-decoration: underline; text-underline-offset: 5px; }
.catalog-loading-line { width: 100px; height: 1px; background: rgb(153 206 226 / 25%); position: relative; overflow: hidden; }
.catalog-loading-line::after { content: ''; position: absolute; inset: 0; background: #98cee2; animation: catalog-loading 1.4s ease-in-out infinite; transform-origin: left; }
@keyframes catalog-loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media(max-width:760px) {
    .catalog-toolbar { height: 66px; gap: 12px; }
    .catalog-document { height: calc(100% - 66px); }
    .catalog-back { gap: 8px; font-size: .75rem; }
    .catalog-download { width: 30px; justify-content: center; }
    .catalog-download > span { display: none; }
    .catalog-identity h2 { font-size: .8125rem; }
    .catalog-identity > span { font-size: .5625rem; }
}
