
.profile-page { padding: calc(var(--acon-header-height) + 36px) var(--acon-shell-gutter) 56px; background: #edf2f6; }
.profile-heading { max-width: 1440px; margin: 0 auto 26px; }
.profile-heading > a { color: #617589; font-size: 13px; }
.profile-eyebrow { color: #195c90; font-size: 11px; font-weight: 700; letter-spacing: .22em; margin: 26px 0 10px; }
.profile-heading h1 { color: #195c90; font-size: clamp(30px,4vw,52px); line-height: 1.2; margin: 0 0 12px; }
.profile-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.profile-heading-row h1 { margin: 0; }
.profile-document-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; flex-shrink: 0; padding: 13px 20px; border: 1px solid #195c9040; color: #195c90; font-size: 14px; font-weight: 600; transition: color .2s, background .2s; }
.profile-document-link:hover { background: #195c90; color: #fff; }
.profile-document-link:focus-visible { outline: 2px solid #195c90; outline-offset: 4px; }
@media(max-width:600px) { .profile-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; } }
.profile-heading > p:last-child { color: #617589; margin: 0; line-height: 1.6; }
.profile-reader { max-width: 1440px; margin: auto; background: radial-gradient(ellipse at center,#dbe5ed,#c4d2de); border: 1px solid #bdcdd9; border-radius: 16px; padding: 24px; color: #195c90; }
.profile-stage { height: clamp(340px,65vh,840px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.profile-book { margin: auto; }
.profile-sheet { background: #fff; overflow: hidden; box-shadow: inset 0 0 16px #00000012; }
.profile-sheet img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.profile-sheet span { position: absolute; inset: 45% 0 auto; text-align: center; font-size: 12px; color: #8093a5; }
.profile-sheet img[src] + span { display: none; }
.profile-status { text-align: center; font-size: 13px; min-height: 20px; margin: 12px 0; }
.profile-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.profile-toolbar button,.profile-toolbar > a { border: 1px solid #195c9022; background: #fff; color: #195c90; border-radius: 8px; min-height: 44px; padding: 10px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.profile-toolbar button:hover,.profile-toolbar > a:hover { background: #195c90; color: #fff; }
.profile-toolbar button:disabled { opacity: .4; cursor: default; }
.profile-toolbar label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.profile-toolbar input { width: 62px; padding: 10px 6px; border: 1px solid #b7c7d4; border-radius: 6px; text-align: center; color: #195c90; background: #fff; }
.profile-reader :focus-visible { outline: 2px solid #195c90; outline-offset: 3px; }
.profile-hint { text-align: center; font-size: 12px; color: #566d81; margin-bottom: 0; }
.profile-reader:fullscreen { max-width: none; border-radius: 0; overflow: auto; }
.profile-reader:fullscreen .profile-stage { height: calc(100dvh - 170px); }
.profile-empty { max-width: 1440px; margin: 40px auto; padding: 80px 24px; text-align: center; background: #e1e9f0; border-radius: 16px; }
.profile-empty > span { font-size: 50px; font-weight: 800; color: #195c90; }
.profile-empty h2 { font-size: 24px; line-height: 1.4; }
@media(max-width:600px) { .profile-reader { padding: 12px; } .profile-stage { height: 58vh; min-height: 330px; } .profile-toolbar { gap: 8px; } .profile-toolbar button,.profile-toolbar > a { padding: 10px 12px; } }

.profile-book .stf__wrapper { height: 100%; }

.profile-reader--landscape .profile-stage { aspect-ratio: var(--pdf-ratio); height: auto; min-height: 0; max-height: 65vh; }
.profile-reader--landscape:fullscreen .profile-stage { height: calc(100dvh - 170px); max-height: none; aspect-ratio: auto; }
.profile-stage { width: 100%; }
.profile-reader:focus-visible { outline: 2px solid #195c90; outline-offset: 4px; }

.profile-mobile-actions { display: none; }
.profile-dearflip { max-width: 1440px; margin: 0 auto; }
.profile-dearflip ._df_book { border-radius: 14px; overflow: hidden; }
.profile-dearflip .profile-hint a { color: #195c90; text-decoration: underline; }
@media(max-width:600px) { .profile-dearflip ._df_book { height: 480px !important; } }
