/* Keep the previous warm palette, fonts and report layout. Only navigation and traits are extended. */
:root{--surface:var(--bg);--surface-soft:var(--field)}
#brandbar{justify-content:center!important;background:var(--bg)!important;opacity:1}
#brandbar .brandbar-brand{position:absolute;left:50%;transform:translateX(-50%)}
#brandbar .bar-actions{margin-left:auto!important}.brandbar-mark{background-image:url('img/mascot.webp')!important}
#accountName{display:none!important}.account-sheet #accountMember[hidden]{display:none!important}
.account-sheet{width:min(94vw,480px);max-height:82svh;overflow:auto;border:1px solid var(--line);border-radius:24px;padding:24px;background:var(--surface);color:var(--fg)}
.account-sheet::backdrop{background:#493c3455}.account-sheet header{display:flex;align-items:center;justify-content:space-between}.account-sheet header h2{font-size:22px}.account-sheet header button{padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--fg)}
.account-sheet .acct-pop{position:static!important;display:flex!important;flex-direction:column;box-shadow:none!important;width:100%!important;min-width:0!important;background:var(--surface)!important;border:0!important;padding:16px 0!important}
.account-sheet .acct-pop button,.account-sheet .acct-item{padding:14px;text-align:left;background:var(--surface)!important;color:var(--fg);border-bottom:1px solid var(--line);font-size:15px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:10020;display:grid;grid-template-columns:1fr 1.5fr 1fr;padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}
.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;border:0;color:var(--muted);font-size:12px;min-height:52px;cursor:pointer}.bottom-nav button>span{font-size:26px;line-height:26px;height:26px}.bottom-nav button[aria-current]{color:var(--fg);font-weight:600}
body{padding-bottom:86px}.report{padding-bottom:100px!important}.site-legal{padding-bottom:100px}
.nav-topics .res-tabs,.nav-topics #tab-natal,.nav-topics #tab-flow,.nav-topics #tab-today{display:none!important}
.nav-topics .topic-fold{margin:0}.nav-topics .res-nav{position:relative!important;top:auto!important}
.trait-quadrant{margin:16px 0;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.trait-quadrant figcaption{font-size:18px;font-weight:600;text-align:center}.trait-quadrant svg{display:block;width:100%;max-width:440px;margin:12px auto}.trait-quadrant svg text{font:14px var(--body);fill:var(--ink2)}
.quadrant-paper{fill:var(--surface-soft)}.quadrant-axis{stroke:var(--line2);stroke-width:1.5}.quadrant-point{fill:var(--work);stroke:var(--surface);stroke-width:4}
.trait-quadrant p{font-size:13px}.trait-quadrant small{font-size:12px;color:var(--muted);display:block;line-height:1.7}
/* Topic discovery and account sheet remain independent of the old header dropdown. */
body.nav-topics #result{display:block!important}body.nav-topics .topic-fold{display:block!important}body.nav-topics .hero{display:none!important}
.account-sheet .acct-pop{visibility:visible!important;opacity:1!important;transform:none!important;max-height:none!important;overflow:visible!important}
#savedProfileSummary{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:20px 0;padding:16px 0;border-block:1px solid var(--line);font-size:14px}#savedProfileSummary dt{font-weight:600}#savedProfileSummary dd{margin:0;overflow-wrap:anywhere}

/* Landing is deliberately text-led: reserve the dog for the small brand mark. */
#landing .landing-grid{display:block!important;max-width:620px;margin:32px auto 0}#landing .landing-copy{text-align:center}#landing .landing-headline{text-align:center}#landing .landing-art{display:none!important}
.trait-quadrant small{color:var(--muted)}
/* Keep decorative imagery as transparent cutouts, without rectangular picture panels. */
.watercolor-welcome,.rc-book::before,.r-cover::before{display:none!important}.rc-book{padding-top:24px}body:not(.app-entered) .brandbar-mark{display:none!important}
/* Compact icon navigation and editorial reading rhythm. */
.bottom-nav{grid-template-columns:repeat(3,1fr);padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom));background:var(--bg)}.bottom-nav button{min-height:42px;gap:0}.bottom-nav button[aria-current=page]{color:var(--accent-ink)}
body{padding-bottom:54px}.report{padding-bottom:64px!important}.site-legal{padding-bottom:65px}
#landing .landing-shell{max-width:900px;padding:40px 24px 28px}#landing .landing-headline{text-align:left!important;max-width:14em;margin-left:0!important;font-size:clamp(30px,5vw,46px)!important;line-height:1.45}
#landing .landing-grid{display:grid!important;grid-template-columns:1.2fr 1fr;gap:22px;align-items:center;max-width:none;margin:28px 0!important}#landing .landing-copy{text-align:left!important}#landing .landing-art{display:block!important;background:none!important;width:100%;margin:0;aspect-ratio:1!important;border:0;box-shadow:none}#landing .landing-art img{display:block;width:100%;height:auto;max-width:300px;margin:auto}#landing .landing-bottom{margin-left:0!important}
@media(max-width:620px){#landing .landing-grid{grid-template-columns:minmax(0,1fr) 38%;gap:12px}#landing .landing-lead{font-size:14px;line-height:1.9}#landing .landing-questions{font-size:13px;line-height:1.8}#landing .landing-headline{font-size:30px!important}}
#tab-natal .res-h,#tab-flow .blk-h{font-family:var(--body)!important;font-weight:500!important;color:var(--gold-ink)!important;text-align:left;font-size:18px;line-height:1.7;margin:30px 0 16px;padding-top:22px;border-top:1px solid var(--line);background:none}
#tab-natal .r-prose p,#tab-flow .flow-prose p,.past-reading .flow-prose p{font-family:var(--body)!important;font-size:15px;line-height:1.95;text-align:left;margin:0 0 24px;color:var(--fg)}
#tab-flow .flow-prose p:has(>b),.past-reading .flow-prose p{padding:24px 0;border-top:1px solid var(--line)}#tab-flow .flow-prose p>b:first-child,.past-reading .flow-prose p>b:first-child{display:block;color:var(--gold-ink);font-family:var(--body);font-weight:500;font-size:16px;margin-bottom:15px}
.account-sheet .acct-pop{gap:0!important}.account-sheet .acct-pop>button,.account-sheet .acct-item{border-radius:0!important;border-width:0 0 1px!important;padding:16px 0!important;background:none!important;font-size:15px!important}.account-sheet .acct-pop>p{margin:8px 0}#accountWithdraw{color:#a44646!important}#savedProfileSummary{margin:0;padding:16px;background:var(--field);border:0;border-radius:12px}.account-sheet .acct-pop>span{display:flex;gap:12px}.account-sheet .acct-pop>span button{flex:1}#accountMenuStatus:empty{display:none}
