/* Shared visual rhythm; existing controls, content and brand artwork remain in their own components. */
body[data-ux-page]{--ux-paper:#f7f8f1;--ux-surface:#fffef8;--ux-ink:#203c2e;--ux-accent:#365e43;--ux-muted:#4e6357;--ux-edge:#ced9ca;--ux-wash:#e7efe2;--ux-serif:Georgia,'Times New Roman',serif;--ux-sans:system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ux-ink);font-family:var(--ux-sans);background:var(--ux-paper);margin:0;line-height:1.5}
body[data-companion-brand=thequeermirror][data-ux-page]{--ux-paper:#F5F2EB;--ux-surface:#fffcf6;--ux-ink:#263238;--ux-accent:#285D63;--ux-muted:#506469;--ux-edge:#d3d8d4;--ux-wash:#e5eeea}
[data-ux-page] h1,[data-ux-page] h2,[data-ux-page] h3{font-family:var(--ux-serif);font-weight:500;letter-spacing:-.035em;color:var(--ux-ink)}[data-ux-page] button,[data-ux-page] input,[data-ux-page] select,[data-ux-page] textarea{font-family:var(--ux-sans)}[data-ux-page] :focus-visible{outline:3px solid var(--ux-accent);outline-offset:3px}[data-ux-page] [hidden]{display:none!important}
.ux-site-header{position:relative!important;inset:auto!important;background:var(--ux-paper)!important;color:var(--ux-ink)!important;border:0!important;border-bottom:1px solid var(--ux-edge)!important;box-shadow:none!important;padding:0!important;width:100%!important;margin:0!important;z-index:15}.ux-site-bar{max-width:1184px;margin:auto;padding:0 32px;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.ux-brand{display:flex!important;align-items:center;gap:9px;color:var(--ux-ink)!important;font:750 17px/1.2 var(--ux-sans)!important;text-decoration:none!important;letter-spacing:-.4px;flex-shrink:0}.ux-brand img{width:36px!important;height:36px!important;object-fit:contain}.ux-site-nav{display:flex!important;align-items:center;gap:22px;flex-wrap:wrap}.ux-site-nav a,.ux-site-nav button{display:inline-flex!important;align-items:center;min-height:44px;color:var(--ux-ink)!important;font:500 15px/1.3 var(--ux-sans)!important;background:none!important;border:0!important;text-decoration:none;padding:8px 0!important;border-radius:0!important}.ux-site-nav a:hover{text-decoration:underline;text-underline-offset:5px}.ux-site-footer{max-width:1184px;margin:48px auto 0!important;padding:24px 32px!important;border-top:1px solid var(--ux-edge);display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;color:var(--ux-muted);font:14px/1.5 var(--ux-sans)}.ux-site-footer nav{display:flex;flex-wrap:wrap;gap:20px}.ux-site-footer a{min-height:44px;display:flex;align-items:center;color:inherit}.ux-site-footer span{align-self:center}
.ux-profile{background:var(--ux-paper);color:var(--ux-ink);width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--ux-edge);border-radius:22px;padding:20px;padding-bottom:max(20px,env(safe-area-inset-bottom));box-shadow:0 12px 45px #20352f22}.ux-profile::backdrop{background:#20352f66}.ux-profile a,.ux-profile button{display:flex;align-items:center;width:100%;font:500 15px/1.4 var(--ux-sans);min-height:44px;padding:10px;text-align:left;color:inherit;background:none;border:0;border-bottom:1px solid var(--ux-edge);text-decoration:none}.ux-profile p:empty{display:none}
body[data-ux-page]:not([data-ux-page=chat]) .qm-wrap{max-width:none;padding:0}body[data-ux-page]:not([data-ux-page=chat]) main{margin-left:auto;margin-right:auto;max-width:1120px;padding-left:32px;padding-right:32px}body[data-ux-page]:not([data-ux-page=chat]) .site-shell{max-width:1120px}body[data-ux-page]:not([data-ux-page=chat]) main>.site-shell{padding:0}body[data-ux-page] :is(.hw-btn.primary,.qm-btn.primary,.btn.primary,.primary,.assessment-primary,.personal-primary){background:var(--ux-accent);color:#fff;box-shadow:none;border-radius:14px;min-height:46px;font-family:var(--ux-sans)}body[data-ux-page] :is(.hw-card,.qm-card,.price-card,.planletter){box-shadow:none;border:1px solid var(--ux-edge);border-radius:22px;background:var(--ux-surface)}body[data-ux-page] :is(.page-intro,.hero-lite){padding:32px 0 24px;margin:0}body[data-ux-page] .eyebrow,body[data-ux-page] .qm-kicker{display:none}body[data-ux-page] main :is(p,li){overflow-wrap:anywhere}body[data-ux-page] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px;max-width:100%}body[data-ux-page] a,body[data-ux-page] button{touch-action:manipulation}
/* Homepage: one promise and the original authored demo beside a recognizable room portrait. */
body[data-ux-page=home] main{max-width:1184px!important;padding:0 32px!important}body[data-ux-page=home] .hero{display:grid!important;grid-template-columns:1fr 1fr!important;gap:52px!important;padding:48px 0 36px!important;margin:0!important;min-height:0!important;background:none!important}body[data-ux-page=home] .hero:before{display:none}body[data-ux-page=home] .hero-copy{width:auto!important;max-width:none}body[data-ux-page=home] .hero h1{font:500 clamp(44px,5vw,72px)/1.04 var(--ux-serif)!important;letter-spacing:-.045em!important;max-width:15ch;margin:0!important;color:var(--ux-ink)!important}body[data-ux-page=home] .hero .lead{font:18px/1.5 var(--ux-sans)!important;max-width:38ch;color:var(--ux-muted)!important;margin:18px 0 20px!important}body[data-ux-page=home] .hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0!important}body[data-ux-page=home] .hero-actions a{min-height:46px;font-size:15px!important;display:inline-flex;align-items:center}.hero-privacy{font-size:13px!important;margin:12px 0 0!important}.hero-privacy a{color:var(--ux-muted);text-underline-offset:3px}body[data-ux-page=home] .nori-landing-art,body[data-ux-page=home] .mica-landing-art{margin:0!important;width:100%!important;min-width:0}body[data-ux-page=home] .world-scene{margin:0!important;border-radius:24px!important}body[data-ux-page=home] .dating-service{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0!important;padding:26px 0!important;border:0!important;border-top:1px solid var(--ux-edge)!important;border-bottom:1px solid var(--ux-edge)!important;border-radius:0!important;box-shadow:none!important;background:none!important}body[data-ux-page=home] .dating-service h2{font-size:32px;margin:0}body[data-ux-page=home] .dating-service p{font-size:16px;margin:6px 0 0;color:var(--ux-muted)}body[data-ux-page=home] .dating-service>a{background:none!important;color:var(--ux-accent)!important;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}body[data-ux-page=home] .home-story,body[data-ux-page=home] .home-growth{padding:32px 0!important;margin:0!important}body[data-ux-page=home] .home-story h2,body[data-ux-page=home] .home-growth h2{font-size:38px}body[data-ux-page=home] .public-play{max-width:100%;margin:24px 0 0;padding:24px 0}
/* Dating: the sample is local; real people and plans remain separate. */
body[data-ux-page=dating] main{padding-top:32px}.dating-intro{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;margin:32px 0 48px}.dating-intro h1{font:500 clamp(42px,5vw,66px)/1.06 var(--ux-serif);margin:0 0 16px}.dating-intro .lead{max-width:35ch;font-size:19px;color:var(--ux-muted);margin:0 0 20px}.dating-intro .actions{gap:18px}.dating-intro .allowance{font-size:13px;color:var(--ux-muted);max-width:45ch;margin-top:14px}.dating-example{border:1px solid var(--ux-edge);border-radius:22px;background:linear-gradient(135deg,var(--ux-wash),var(--ux-surface));padding:26px}.dating-example small{display:block;color:var(--ux-muted);font-size:13px;font-weight:600}.dating-example p{font-size:17px;margin:7px 0 20px}.dating-example blockquote{background:none;border:0;border-radius:0;padding:0;margin:7px 0 0;font:500 27px/1.3 var(--ux-serif)}.dating-intro-art{height:140px;border-radius:20px;overflow:hidden;margin-bottom:20px}.dating-intro-art .personal-scene{height:100%;border:0;border-radius:0}.dating-intro-art .personal-hero{left:56%;width:37%;height:95%;bottom:0}.dating-intro-art .personal-background{object-position:center 55%}.dating-data-tools{border-top:1px solid var(--ux-edge);padding:16px 0;font-size:14px}.dating-data-tools summary{cursor:pointer;min-height:44px;align-content:center}.dating-data-tools .privacy-tools{margin:0}.personpage .personheading{margin:12px 0 20px}.personpage .planletter{background:var(--ux-surface)!important;border-color:var(--ux-edge);padding:28px}.personpage .planletter h2{font-size:clamp(30px,3.6vw,44px);line-height:1.15}.personpage .planletter p{font-size:17px;line-height:1.55;color:var(--ux-muted)}.personpage .planletter .next-step{font-weight:500;color:var(--ux-ink)}.personpage .detailtools{border-top:1px solid var(--ux-edge);margin-top:20px;justify-content:space-between}.personpage .speaker .personal-character{height:32px;width:32px;flex-basis:32px}.personpage .herogoal{margin-bottom:16px}body[data-ux-page=dating] .privacy-tools{gap:20px}body[data-ux-page=dating] .hero.welcome{min-height:240px}
/* Relevant purchase action before feature inventories; exact amounts remain in existing markup. */
body[data-ux-page=pricing] main{max-width:1000px!important;padding-top:28px!important}body[data-ux-page=pricing] :is(.page-intro,.hero-lite){padding:0 0 16px!important}body[data-ux-page=pricing] h1{font:500 clamp(38px,5vw,56px)/1.1 var(--ux-serif)!important;margin:0 0 12px!important}body[data-ux-page=pricing] .pricing-intro{margin:0;color:var(--ux-muted);font-size:17px}body[data-ux-page=pricing] .billing-choice{border:0;padding:0;margin:12px 0 20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:none;box-shadow:none}body[data-ux-page=pricing] .billing-choice legend{font-size:14px;font-weight:600;margin-bottom:8px}body[data-ux-page=pricing] .billing-choice label{min-height:44px;display:inline-flex;align-items:center;gap:7px}body[data-ux-page=pricing] .billing-choice p{font-size:13px;margin:0;flex-basis:100%;color:var(--ux-muted)}body[data-ux-page=pricing] .pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 24px!important}body[data-ux-page=pricing] .price-card{display:flex!important;flex-direction:column;align-items:stretch;padding:26px!important;min-width:0}body[data-ux-page=pricing] .price-card h2{font-size:28px;margin:0}body[data-ux-page=pricing] .price-card .price{font-size:44px!important;font-weight:500!important;line-height:1.2!important;margin:12px 0!important}.price-card .price-amount{font:500 44px/1.2 var(--ux-serif)!important}.price-card .price-interval{font:16px var(--ux-sans)!important}body[data-ux-page=pricing] .price-card .pill{display:none}body[data-ux-page=pricing] .price-card>p{font-size:16px;color:var(--ux-muted);margin:4px 0 16px}body[data-ux-page=pricing] .price-card :is(.hw-actions,.qm-actions){margin:0 0 8px!important;width:100%;display:flex}body[data-ux-page=pricing] .pay-btn{width:100%;min-height:46px;font-size:16px}.price-renewal{font:13px/1.5 var(--ux-sans)!important;margin:8px 0 16px!important}.price-details{font-size:15px;margin-top:10px}.price-details summary{min-height:44px;align-content:center;cursor:pointer;color:var(--ux-accent)}.price-details ul{padding-left:20px;margin:8px 0;line-height:1.6}body[data-ux-page=pricing] .dating-return{display:inline-flex;min-height:44px;align-items:center;margin:0 0 8px;padding:0;background:none;border:0;font-size:14px}.current-plan{color:var(--ux-accent);font-weight:600;margin-bottom:10px}.paid-account-action{display:flex;min-height:46px;align-items:center;justify-content:center;background:var(--ux-accent);color:white;border-radius:14px}.price-card .free-action{font-size:15px;color:var(--ux-accent);text-decoration:underline;text-underline-offset:4px}.purchase-note{font-size:13px;color:var(--ux-muted);margin:16px 0}
/* Support, account and editorial pages. Legal text and functional controls stay intact. */
body:is([data-ux-page=login],[data-ux-page=signup],[data-ux-page=reset],[data-ux-page=age],[data-ux-page=contact]) main{max-width:620px!important;min-height:0!important;margin:32px auto!important;padding:0 24px!important;display:block!important}body:is([data-ux-page=login],[data-ux-page=signup],[data-ux-page=reset],[data-ux-page=age],[data-ux-page=contact]) main :is(.hw-card,.qm-card,.auth-card){max-width:100%;padding:26px!important;background:var(--ux-surface)!important;border:1px solid var(--ux-edge)!important;box-shadow:none!important;border-radius:22px!important}body:is([data-ux-page=login],[data-ux-page=signup],[data-ux-page=reset],[data-ux-page=age],[data-ux-page=contact]) h1{font-size:40px!important;line-height:1.15!important;margin:0 0 16px!important}body[data-ux-page] label{line-height:1.5}body:is([data-ux-page=terms],[data-ux-page=privacy],[data-ux-page=article]) main{max-width:780px!important;padding-top:40px!important;font-size:17px;line-height:1.7}body:is([data-ux-page=terms],[data-ux-page=privacy],[data-ux-page=article]) main h1{font-size:44px!important;line-height:1.15}body:is([data-ux-page=terms],[data-ux-page=privacy],[data-ux-page=article]) main h2{font-size:28px;margin-top:32px}body[data-ux-page=account] main{max-width:900px!important}.account-jump{display:flex;flex-wrap:wrap;gap:20px;margin:8px 0 24px;font-size:14px}.account-jump a{min-height:44px;display:flex;align-items:center}.coaching-privacy,.companion-account,.account-preferences{max-width:836px!important;margin:28px auto!important;padding:26px!important;border:1px solid var(--ux-edge)!important;border-radius:22px;background:var(--ux-surface)}body[data-ux-page=account] .coaching-privacy details{margin-top:24px;padding-top:16px;border-top:1px solid var(--ux-edge)}body[data-ux-page=account] main>section{scroll-margin-top:24px}body[data-ux-page=personalize] .personalization-shell{max-width:800px!important}body[data-ux-page=creator] main{max-width:800px;padding-top:36px}body[data-ux-page=creator] h1{font-size:48px}.shape-editor footer{position:sticky;bottom:0;background:var(--ux-paper);padding:12px;display:flex;gap:10px;flex-wrap:wrap;z-index:4}.shape-editor footer>button:first-child{background:var(--ux-accent);color:white}.shape-editor footer details{flex-basis:100%;font-size:14px}.shape-editor footer details button{margin:6px}.shape-editor footer summary{cursor:pointer;min-height:44px;align-content:center}.shape-editor .shape-preview{max-height:320px}.assessment-shell{max-width:780px!important}.assessment-card{background:var(--ux-surface)!important;border-color:var(--ux-edge)!important;box-shadow:none!important}.assessment-card h1{font-size:36px!important}.assessment-disclosures{font-size:14px;margin-top:22px}.assessment-disclosures summary{cursor:pointer;min-height:44px;align-content:center}.assessment-disclosures p{font-size:14px!important}body[data-ux-page=start] .start-main{max-width:780px!important;margin:32px auto}.start-main h1{font-size:48px}.start-main .start-choices{margin-top:16px}
/* Preserve the settled app; reserve a quiet matching silhouette while private state loads. */
body[data-ux-page=chat] .ux-site-footer{display:none}body[data-ux-page=chat] .chat-top .brand-name{font-family:var(--ux-sans)}body[data-ux-page=chat] .ux-loading{width:100%;max-width:1000px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px}.ux-loading .room-placeholder{height:320px;background:var(--ux-wash);border-radius:24px}.ux-loading .choice-placeholder{height:48px;background:var(--ux-wash);border-radius:18px;margin:12px 0}.ux-loading .title-placeholder{width:85%;height:58px;background:var(--ux-wash);border-radius:12px;margin:16px 0 24px}.ux-loading [role=status]{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}body[data-ux-loading=true] #empty{visibility:hidden}body[data-ux-loading=true] .lumen-loading{color:transparent!important}.ux-play-tools{align-items:flex-start;flex-wrap:wrap}.ux-play-tools .ux-play-start{background:var(--ux-accent);color:white;font-weight:650}.ux-play-tools .ux-play-library{background:none;color:var(--ux-accent);border:0;text-decoration:underline}.ux-play-tools h1{flex-basis:100%;margin:0 0 8px}.ux-play-tools .ux-continuation{flex-basis:100%}
@media(max-width:740px){.ux-site-bar{padding:8px 18px;min-height:64px;gap:10px;flex-wrap:wrap}.ux-brand{font-size:15px!important;gap:7px}.ux-brand img{width:30px!important;height:30px!important}.ux-site-nav{gap:16px}.ux-site-nav a,.ux-site-nav button{font-size:14px!important}.ux-site-footer{padding:24px 20px!important;margin-top:32px!important}.ux-site-footer nav{gap:16px}body[data-ux-auth=member] .ux-site-nav{width:100%;justify-content:space-between;gap:12px}body[data-ux-auth=member] .ux-site-bar{padding-bottom:0}body[data-ux-page]:not([data-ux-page=chat]) main{padding-left:20px!important;padding-right:20px!important}body[data-ux-page=home] main{padding:0 20px!important}body[data-ux-page=home] .hero{display:flex!important;flex-direction:column;gap:22px!important;padding:28px 0 24px!important}body[data-ux-page=home] .hero h1{font-size:clamp(39px,10.5vw,48px)!important;max-width:15ch}body[data-ux-page=home] .hero .lead{font-size:17px!important;margin:14px 0 16px!important}body[data-ux-page=home] .hero-actions{gap:8px 18px}body[data-ux-page=home] .hero-privacy{margin-top:8px!important}body[data-ux-page=home] .conversation-hero{height:auto!important;min-height:0!important;display:grid;grid-template-rows:200px auto auto;overflow:hidden!important;background:var(--ux-surface)!important}body[data-ux-page=home] .world-landscape{height:200px!important;object-fit:cover!important;top:0!important;bottom:auto!important}body[data-ux-page=home] .home-character{position:absolute!important;top:15px!important;bottom:auto!important;left:52%!important;width:42%!important;height:180px!important;transform:none!important}body[data-ux-page=home] .demo-logo{top:155px!important;bottom:auto!important;left:12px!important;z-index:3}body[data-ux-page=home] .hero-conversation{grid-row:2;position:relative!important;inset:auto!important;width:100%!important;padding:16px!important;gap:12px!important;z-index:3;background:var(--ux-surface)}body[data-ux-page=home] .hero-conversation>div{position:relative!important;inset:auto!important;margin:0!important;width:100%!important;max-width:none!important;padding:12px!important;box-shadow:none!important}body[data-ux-page=home] .hero-conversation p{font-size:15px!important}body[data-ux-page=home] .hero-demo-controls{position:relative!important;inset:auto!important;grid-row:3;display:flex;flex-wrap:wrap;gap:8px;background:var(--ux-surface)!important;padding:8px 14px 14px!important}body[data-ux-page=home] .home-light,body[data-ux-page=home] .home-particles{height:200px!important}body[data-ux-page=home] .dating-service{display:block;padding:24px 0!important}body[data-ux-page=home] .dating-service>a{margin-top:10px;padding-left:0!important}body[data-ux-page=home] .home-story h2,body[data-ux-page=home] .home-growth h2{font-size:32px}.dating-intro{display:flex;flex-direction:column;align-items:stretch;gap:22px;margin:0 0 28px}.dating-intro h1{font-size:40px;margin:0 0 10px}.dating-intro .lead{font-size:17px;margin:0 0 16px}.dating-intro-art{height:110px;margin-bottom:18px}.dating-example{padding:18px}.dating-example p{font-size:16px;margin:6px 0 14px}.dating-example blockquote{font-size:23px}.dating-intro .allowance{font-size:12px;margin:10px 0 0}.dating-intro .actions{margin-top:12px}.personpage .planletter{padding:22px}.personpage .personheading h1{font-size:40px}.personpage .planletter p{font-size:16px}body[data-ux-page=pricing] main{padding-top:20px!important}body[data-ux-page=pricing] h1{font-size:38px!important}body[data-ux-page=pricing] .pricing-grid{grid-template-columns:1fr;gap:18px}body[data-ux-page=pricing] .price-card{padding:22px!important}body[data-ux-page=pricing] .price-card .price{font-size:42px!important}body[data-ux-page=pricing] .billing-choice{margin:8px 0 16px;gap:8px 16px}body[data-ux-page=pricing] .billing-choice p{line-height:1.4}body[data-ux-page=pricing] .price-details{margin-top:0}.shape-editor{max-height:calc(100dvh - 16px)!important}.shape-editor .shape-preview{height:180px;min-height:160px;position:sticky;top:0;background:var(--ux-paper);z-index:2}.shape-editor .shape-controls{padding-bottom:8px}body[data-ux-page=chat] .ux-loading{display:block;padding:12px 4px}.ux-loading .room-placeholder{height:150px}.ux-loading .title-placeholder{height:56px;margin:20px 0 14px}.ux-loading .choice-placeholder{display:inline-block;width:calc(50% - 5px);margin:4px 0;height:48px}.ux-loading .choice-placeholder:nth-child(even){margin-right:8px}.ux-loading .choice-placeholder:last-child{width:100%}.coaching-privacy,.companion-account,.account-preferences{padding:20px!important;margin:20px 0!important}}
@media(prefers-reduced-motion:reduce){[data-ux-page] *,[data-ux-page] *:before,[data-ux-page] *:after{scroll-behavior:auto!important}.ux-loading{animation:none}}

/* Reset inherited page-specific geometry within the new shared shell. */
body[data-ux-page] .ux-site-bar{width:100%;box-sizing:border-box}
body[data-ux-page=home]>.wrap{max-width:none;padding:0}
body[data-ux-page=home] main>.site-shell{width:100%}
body[data-ux-page=home] .hero :is(.hero-actions,.actions){display:flex!important;align-items:center!important;justify-content:flex-start;gap:10px 20px;flex-wrap:wrap;margin:0}
body[data-ux-page=home] .hero :is(.hero-actions,.actions) a{min-height:46px;display:inline-flex;align-items:center;justify-content:center;font-size:15px}
body[data-ux-page=home] .hero-privacy{font:13px/1.5 var(--ux-sans)!important}
body[data-ux-page=home] .dating-service>a.primary{background:transparent!important;color:var(--ux-accent)!important;border:0!important;box-shadow:none!important;padding:10px 0!important}
body[data-ux-page=home] .demo-logo{width:42px!important;height:42px!important}
body[data-ux-page=pricing] .price-card h2{min-height:0;line-height:1.2}
body[data-ux-page=pricing] .price-card .price{display:flex;align-items:baseline;gap:6px;min-height:0;padding:0;flex-wrap:wrap}
body[data-ux-page=pricing] .price-card>p{min-height:0}
body[data-ux-page=pricing] .price-card[data-plan=free]{padding:22px!important}
body[data-ux-page=dating] .hero.welcome h1{color:inherit}
body[data-ux-page=dating] .hero.welcome{color:#fff}
@media(max-width:740px){
body[data-ux-page=home] .hero :is(.hero-actions,.actions){flex-direction:column;align-items:stretch!important;gap:4px}
body[data-ux-page=home] .demo-logo{top:146px!important}
body[data-ux-page=dating] .dating-example blockquote{font-size:21px}
body[data-ux-page=dating] .dating-example p{margin-bottom:10px}
}

body[data-ux-page=account] main{padding-top:28px!important}
body[data-ux-page=account] main>.site-shell{width:100%}
body[data-ux-page=account] .page-intro{padding:0 0 12px}
body[data-ux-page=account] .account-jump{margin:0 0 20px;gap:4px 20px}
body[data-ux-page=account] .account-row{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;border:0;border-bottom:1px solid var(--ux-edge);border-radius:0;background:none;padding:12px 0}
body[data-ux-page=account] .account-grid{display:block}
body[data-ux-page=account] .account-row .value{font-weight:500;overflow-wrap:anywhere}
body[data-ux-page=account] .account-row .label{font-size:13px;align-content:center}
body[data-ux-page=account] :is(.hw-card,.account-card){padding:24px!important}
body[data-ux-page=account] :is(.nori-account,.mica-account){max-width:100%;margin:24px 0!important;padding:24px!important}
body[data-ux-page=account] .personal-account .personal-scene{height:220px}
body[data-ux-page=account] .account-preferences{margin:24px 0!important;max-width:100%!important}
.account-preferences summary{min-height:44px;cursor:pointer;align-content:center}
body[data-ux-page=contact] .auth-context{padding:0 0 20px!important;border:0!important;background:none!important;margin:0;box-shadow:none!important}
body[data-ux-page=contact] .auth-layout{display:block}

body[data-ux-page] :is(h1,h2,h3,.ux-brand span){overflow-wrap:anywhere}
body[data-ux-page] .ux-brand{min-width:0;flex-shrink:1}
body[data-ux-page] .ux-brand img{flex-shrink:0}
body[data-ux-page=dating] .dating-intro .actions{flex-wrap:wrap}

body[data-ux-page] .ux-site-header{display:block!important}
body[data-ux-page=assessment] .assessment-shell{min-height:0;padding-top:32px;margin-bottom:48px}
body[data-ux-page=assessment] .assessment-selection{padding-top:32px;min-height:0}

body[data-ux-page] .shape-editor footer>button:first-child{background:var(--ux-accent)!important;color:#fff!important}
body[data-ux-page] .shape-editor footer button{font-size:14px}
body[data-ux-page] .shape-editor footer details button{background:transparent!important;color:var(--ux-ink)!important}

body[data-ux-page] .ux-site-header .ux-site-nav{gap:22px!important}
body[data-ux-page=assessment] .assessment-shell{flex:initial!important;min-height:0!important;padding-top:32px!important}
body[data-ux-page=assessment] .assessment-selection{padding-top:0!important;min-height:0!important}
body[data-ux-page=chat]:is([data-ux-loading=true],[data-ux-load-failed=true]) :is(.brand-name,.controls){color:var(--ux-ink)!important}
body[data-ux-page=chat][data-ux-loading=true] .chat-main{max-width:1000px!important;margin:auto!important}
body[data-ux-page=chat][data-ux-loading=true] #companion-world{display:block!important;flex:1 1 auto!important;min-width:0;width:100%!important;padding:8px 0!important;border:0!important;background:none!important;overflow:auto!important}
body[data-ux-page=chat][data-ux-loading=true] #chat.box{display:none!important}
body[data-ux-page=chat]:is([data-ux-loading=true],[data-ux-load-failed=true]) .bar{background:var(--ux-surface)!important;border:1px solid var(--ux-edge)!important}
body[data-ux-page=chat]:is([data-ux-loading=true],[data-ux-load-failed=true]) #msg{background:transparent!important;color:var(--ux-ink)!important}
body[data-ux-page=chat]:is([data-ux-loading=true],[data-ux-load-failed=true]) #send{background:var(--ux-accent)!important;color:#fff!important}
body[data-ux-page=chat]:is([data-ux-loading=true],[data-ux-load-failed=true]) #attachLabel{background:transparent!important;color:var(--ux-accent)!important}
body[data-ux-page=chat][data-ux-load-failed=true] #companion-world{display:block;padding:16px;border:1px solid var(--ux-edge);background:var(--ux-surface)}
@media(max-width:740px){body[data-ux-page] .ux-site-header .ux-site-nav{gap:16px!important}body[data-ux-page=assessment] .assessment-shell{margin-top:0!important}body[data-ux-page=chat][data-ux-loading=true] .ux-loading{padding:8px 4px!important}.ux-loading .room-placeholder{width:100%}.ux-loading .title-placeholder{width:90%}}

body[data-ux-page=chat][data-ux-loading=true] .chat-main{margin:0 auto!important;justify-content:flex-start!important;height:100%!important}
body[data-ux-page=chat][data-ux-loading=true] #companion-world{flex:0 0 auto!important;margin:0!important;min-height:0!important}
body[data-ux-page=chat][data-ux-loading=true] .bar{box-shadow:none!important}

/* Preserve the approved circular brand marks on every shared shell. */
.ux-brand img,body[data-ux-page=home] .demo-logo img{border-radius:50%;box-sizing:border-box}
body[data-companion-brand=humanonwifi] .ux-brand img{background:#263c2a;padding:5px}
body[data-ux-page=home] .demo-logo img{width:42px!important;height:42px!important}

body[data-ux-page=home] .dating-service>a{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--ux-accent)!important;padding:8px 0!important;min-height:44px;text-decoration:underline;text-underline-offset:4px}
