.profile-shell{max-width:1160px;margin:auto;padding:32px var(--pad) 80px}.profile-nav,.profile-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-bottom:28px}.profile-nav{justify-content:space-between}.profile-shell h1{font-size:clamp(36px,6vw,64px);margin:28px 0 20px}.profile-shell .profile-intro{max-width:70ch;margin-bottom:28px}.profile-actions .button{white-space:normal;font-size:17px}.profile-actions [aria-pressed="true"]{outline:2px solid var(--accent);outline-offset:4px}.profile-pages{display:grid;gap:30px}.profile-page{margin:0}.profile-page img{width:100%;height:auto;background:#fff;border:1px solid var(--line)}.profile-page figcaption{margin:10px 0;color:var(--muted);font-size:16px}.profile-text-page{border:1px solid var(--line);padding:clamp(18px,4vw,40px);margin:0 0 28px;background:var(--surface)}.profile-text-page h2{font-size:22px;letter-spacing:0;margin-bottom:20px}.profile-source-text{white-space:pre-wrap;font:inherit;line-height:1.75;color:var(--ink);overflow-wrap:anywhere}.profile-bottom{margin-top:36px}.profile-shell [hidden]{display:none}@media(max-width:640px){.profile-shell{padding-top:24px}.profile-actions{align-items:stretch}.profile-actions .button{flex:1 1 100%}.profile-nav{gap:20px}.profile-source-text{font-size:18px;line-height:1.8}}

.profile-nav select{font:inherit;background:var(--surface,#fff);color:var(--ink,#17202a);border:1px solid var(--line,#aaa);padding:.6em;border-radius:.3em}.profile-source-text{unicode-bidi:plaintext}.profile-shell[dir=rtl],html[dir=rtl] .profile-shell{text-align:right}html[dir=rtl] .profile-nav{flex-direction:row}.profile-draft{font-size:.9em;color:var(--muted)}
