/* Scoped to the AIMS Profile document viewer; original site header/footer remain intact. */
#aims-profile-document{padding:38px 18px 65px;background:#f5f9fc;color:#153f59}#aims-profile-document .aims-profile-inner{max-width:1140px;margin:auto}#aims-profile-document h1{text-align:center;margin:0 0 10px;font-size:clamp(28px,4vw,42px)}#aims-profile-document .intro{text-align:center;color:#5c7587;margin:0 auto 25px}#aims-profile-document .reader{max-width:960px;margin:auto;background:#fff;border:1px solid #d7e4ec;border-radius:16px;padding:18px;box-shadow:0 18px 40px #183a5b13}#aims-profile-document .controls{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:12px 0}#aims-profile-document button,#aims-profile-document .pdf-link{font:600 15px/1.2 inherit;background:#1498c8;color:white;border:none;border-radius:8px;padding:11px 16px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}#aims-profile-document button:disabled{opacity:.4;cursor:default}#aims-profile-document .pagecount{min-width:95px;text-align:center;font-weight:600}#aims-profile-document .book{position:relative;min-height:260px;display:flex;justify-content:center;align-items:center;perspective:1100px;overflow:hidden;border-radius:9px;background:#e9f0f5}#aims-profile-document canvas{max-width:100%;height:auto;display:block;background:white;box-shadow:0 8px 18px #1a324a1c;transform-origin:left center;transition:transform .23s ease,opacity .23s ease}#aims-profile-document canvas.turn{transform:rotateY(-20deg) translateX(12px);opacity:.45}#aims-profile-document iframe{width:100%;height:min(76vh,800px);border:0;background:white}#aims-profile-document .hidden{display:none!important}#aims-profile-document .viewer-message{text-align:center;padding:50px 15px;color:#547087}#aims-profile-document .note{text-align:center;color:#6b8290;font-size:13px;margin:12px 0 0}@media(max-width:650px){#aims-profile-document .reader{padding:10px}#aims-profile-document .controls{gap:7px}#aims-profile-document button,#aims-profile-document .pdf-link{padding:9px 11px;font-size:13px}}

/* AIMS PROFILE PHASE 9A - modestly larger book; hide full PDF button */
#aims-profile-document .aims-profile-inner { max-width: 1220px; }
#aims-profile-document .reader { width: min(100%, 1100px); max-width: 1100px; box-sizing: border-box; }
#aims-profile-document #aims-profile-pdf-link { display: none !important; }
@media (max-width: 650px) { #aims-profile-document .reader { width: 100%; } }