/* Phase 1.6: retain the established palette while unifying customer controls. */
:root{--brand:#48245f;--paper:#f7f3eb;--focus:#845115}
html{scroll-padding-top:24px}body{overflow-wrap:break-word}a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus);outline-offset:4px}
button,input,select,textarea{font:inherit}button,summary{touch-action:manipulation}button{min-height:44px}
.skip{position:absolute;left:12px;top:-100px;z-index:10000}.skip:focus{top:12px;background:white;color:#26291f;padding:12px;border-radius:6px}
.top .navlinks a{min-height:44px;display:inline-flex;align-items:center}.top .navlinks a:hover,.text-link:hover{text-decoration:underline;text-underline-offset:5px}
.hero .lede{max-width:550px;font-size:20px;line-height:1.65}.hero .text-link{font-size:14px;font-weight:650;text-underline-offset:4px}.hero .actions{margin-top:28px}.fine{font-size:14px;line-height:1.6}.ribbon{font-size:13px;letter-spacing:.04em}.step p,.feature-grid p{font-size:16px}.section-top{align-items:center}.feature-grid h3{line-height:1.25}.faq summary{min-height:44px}.faq details p{font-size:16px}.footer{padding-left:42px;padding-right:42px}.guide{line-height:1.8}.guide>p,.guide li{max-width:72ch}.photo-guide-art{margin:28px 0}.photo-guide-art img{display:block;width:100%;height:auto}.photo-guide-art figcaption{font-size:14px}
.library-page{background:var(--paper);font-size:16px;line-height:1.6}.community-header{background:var(--paper);border-bottom:1px solid #dcd5dc;color:#302638}.community-header .brand{color:#302638;font-size:21px;letter-spacing:-.5px}.community-header .brand small{color:#66596a;letter-spacing:0;font-size:12px;font-weight:400}.community-header nav{align-items:center}.community-header .community-nav a{min-height:44px;display:inline-flex;align-items:center;text-underline-offset:4px}.community-main .eyebrow{color:#644675}.community-main .intro{color:#605769}.community-main h1{line-height:1.15}.community-card{box-shadow:0 4px 16px #30263806}.community-card h2{line-height:1.3}.community-card p{line-height:1.6}.community-empty{background:#eee8ef;line-height:1.7;grid-column:1/-1}.community-dialog{line-height:1.6}.community-dialog h2{font:30px/1.2 Georgia,serif;margin-bottom:20px}.community-dialog input,.community-main input,.community-main select,.comments-panel textarea{font-size:16px;min-height:44px}.community-dialog .dialog-close{min-width:44px;min-height:44px}.small-actions button,.comment button,.reader-social button{min-height:44px}.small-actions a{display:inline-flex;align-items:center;min-height:44px}.pages-heading{margin:30px 0 10px;font:30px Georgia,serif}.visibility{line-height:1.6;font-size:12px;letter-spacing:.05em}.form-note{font-size:14px;line-height:1.65}.form-error:not(:empty){border-left:3px solid #9a1c2b;padding:10px 12px;background:#fff0f1}.upload-status:not(:empty){padding:16px;border:1px solid #d5c9dc;border-radius:8px;background:#faf7fc}.account-message{line-height:1.5;box-shadow:0 4px 24px #0002}.library-page footer{display:block}.library-page footer p{max-width:850px}.photo-dialog>img{background:#eee9f0;border-radius:8px}.photo-dialog .community-tools{margin:16px 0}.photo-dialog #photo-prev,.photo-dialog #photo-next{min-width:100px}.reader-social{flex-wrap:wrap}.viewerbar button,.viewerbar a,#reading-order{min-height:44px}.page-edge{min-width:44px;min-height:44px}.reader-help{font-size:12px}.card .open{min-height:44px}.search-foot button{min-height:44px}.brand{max-width:100%}
@media(max-width:760px){.hero .lede{font-size:18px}.hero-art{min-height:320px}.hero-art .tag{font-size:17px;right:8px;transform:rotate(2deg)}.ribbon{justify-content:flex-start;font-size:12px;gap:12px 22px}.hero h1{font-size:clamp(39px,10.7vw,65px);letter-spacing:-1.7px}.footer{padding-left:22px;padding-right:22px}.community-nav{gap:8px 16px}.community-nav a{font-size:14px}.community-header nav{gap:12px}.community-tools{gap:10px}.small-actions{gap:8px}.community-dialog{max-height:92dvh}.photo-dialog{width:calc(100% - 16px)}.photo-dialog .community-tools{padding-right:0}.viewerbar a{display:inline-flex;align-items:center}.page-edge.previous{left:3px}.page-edge.next{right:3px}.guide h1{font-size:40px;letter-spacing:-1px}.wordmark{white-space:normal}.top nav{gap:10px}.top .navlinks{flex-wrap:wrap;gap:10px 20px}.top .navlinks .optional{display:inline-flex}.navlinks .pill{padding:9px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:480px){.community-main>.community-tools>button{flex:1 1 calc(50% - 10px);min-width:125px}.community-header .brand{font-size:20px}.community-main h1{font-size:38px}.guide .actions .pill{width:100%}}
#recovery input{padding:12px;border:1px solid #b9a9c3;border-radius:7px;font-size:16px;max-width:100%;min-height:44px}#recovery code{display:block;overflow-wrap:anywhere;padding:18px;background:#ece6f0;margin:20px 0}
