
:root{
  /* ── deep-celestial palette (unified UI standard) ── */
  --bg:#0a0912;            /* near-black night-sky page */
  --surface:#17152a;       /* cards / composer (dark) */
  --surface-2:#211e36;     /* subtle inset / hover */
  --ink:#F4ECD8;           /* ivory text */
  --ink-2:#d8d1e6;
  --mut:#9a93b0;           /* muted lavender-grey */
  --faint:#918ba5;         /* faint text */
  --line:rgba(255,255,255,.09);   /* hairline border */
  --line-2:rgba(255,255,255,.15); /* slightly stronger hairline */
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 10px 34px -14px rgba(0,0,0,.7);
  --shadow-sm:0 1px 3px rgba(0,0,0,.4);

  /* warm accent — coral reads premium on the night sky */
  --acc:#D97757;
  --acc-ink:#EDA588;       /* lighter coral for text-on-dark */
  --acc-soft:rgba(217,119,87,.14);  /* coral tint surface */
  --acc-line:rgba(217,119,87,.34);  /* coral hairline */

  /* per-layer accent dots (kept subtle) */
  --L1:#5B9E8F; --L2:#5A86B5; --L3:#8E7BBF; --L4:#4FA08C; --L5:#C77BA6; --L6:#C79A4E;
  /* v2 layers: Motivation & Drive · Social Dynamics · Work & Mastery */
  --L7:#D97757; --L8:#7BA3C7; --L9:#9B8B6E;

  --good:#3F9B6E; --warn:#C79A4E; --bad:#C2607A;

  --disp:'Fraunces',Georgia,serif;          /* editorial display for archetype name */
  --body:'Inter',system-ui,-apple-system,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(135% 36% at 50% 28%,#1d1840 0%,var(--pg,#0a0912) 100%);background-color:var(--pg,#0a0912)}   /* a glow behind the hero that fades to the page colour at the top and bottom of the screen: the app paints that same colour in the insets above and below the page (MasterBuilder 2026-11-01) */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:#0a0912}   /* overscroll past the top or bottom stays dark (color-pulling-past-top-bottom) */
body{
  background:transparent;   /* the sky is a fixed layer (body::before): WebKit ignores background-attachment:fixed, so the
     gradient scrolled with the page and the colour at the screen's bottom edge never matched the app's bottom inset */
  color:var(--ink); font-family:var(--body);
  min-height:100vh; min-height:100dvh; overflow-x:hidden;
  -webkit-font-smoothing:antialiased; line-height:1.5;
  font-size:16px;
}
a{color:inherit}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
input,textarea{font-family:inherit}
img{max-width:100%}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.05ms!important}
}

/* ── MOTION PASS (2026-10-27, Mike: "make it feel alive") — slow ambient motion, transform/opacity only so it stays
   on the compositor; long periods (4–90 s), small amplitudes. Everything here is switched off by the
   prefers-reduced-motion rule above (duration → 0, one iteration), and every entrance ends at the normal resting
   state (`both`), so nothing is ever parked invisible. ── */
/* page-wide night sky behind every screen (built once by buildSkyFx): three star layers that breathe and drift,
   a dozen brighter stars that twinkle on their own, and a rare shooting star (one every ~20–40 s) */
#skyfx{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden;contain:strict}
#skyfx i{display:block;position:absolute;left:0;top:0;width:1px;height:1px;border-radius:50%;background:#fff}
#skyfx .sl{will-change:transform,opacity}
#skyfx .sl1{animation:skBreathe 9s ease-in-out infinite,skDrift 110s ease-in-out infinite alternate}
#skyfx .sl2{animation:skBreathe 13s ease-in-out -5s infinite,skDrift 150s ease-in-out -60s infinite alternate-reverse}
#skyfx .sl3{animation:skBreathe 17s ease-in-out -9s infinite,skDrift 190s ease-in-out -30s infinite alternate}
#skyfx .sb{width:1.6px;height:1.6px;box-shadow:0 0 4px 1px rgba(255,255,255,.35);opacity:var(--o,.6);animation:skTwinkle var(--td,6s) ease-in-out var(--tl,0s) infinite}
#skyfx .sh{width:120px;height:1px;border-radius:1px;opacity:0;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9));
  transform-origin:right center;animation:skShoot 34s linear 6s infinite}
#skyfx .sh.b{animation-duration:47s;animation-delay:25s}
@keyframes skBreathe{0%,100%{opacity:1}50%{opacity:.55}}
@keyframes skDrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-7px,5px,0)}}
@keyframes skTwinkle{0%,100%{opacity:var(--o,.6);transform:scale(1)}50%{opacity:calc(var(--o,.6)*.25);transform:scale(.7)}}
@keyframes skShoot{0%{opacity:0;transform:translate(var(--x0,50vw),var(--y0,20vh)) rotate(var(--rot,30deg)) translateX(0)}
  .4%{opacity:.9}2%{opacity:0;transform:translate(var(--x0,50vw),var(--y0,20vh)) rotate(var(--rot,30deg)) translateX(260px)}
  100%{opacity:0;transform:translate(var(--x0,50vw),var(--y0,20vh)) rotate(var(--rot,30deg)) translateX(260px)}}
/* inline starfields (Daily, /sky): per-star twinkle by scale, so each star keeps its own inline brightness */
.dd-starfield span{animation:starTw 7s ease-in-out infinite}
.dd-starfield span:nth-child(3n){animation-duration:5s;animation-delay:-2s}
.dd-starfield span:nth-child(3n+1){animation-duration:9s;animation-delay:-4.5s}
.dd-starfield span:nth-child(5n+2){animation-delay:-1.3s}.dd-starfield span:nth-child(7n+3){animation-delay:-6.1s}
@keyframes starTw{0%,100%{transform:scale(1)}50%{transform:scale(.4)}}
.dd-starfield .sh{position:absolute;left:0;top:0;width:110px;height:1px;border-radius:1px;opacity:0;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9));
  transform-origin:right center;animation:skShoot 41s linear 9s infinite}
/* bottom nav: the icon of the tab you just chose gives a small bounce */
.bnav-btn.on svg{animation:navPop .5s cubic-bezier(.2,.9,.3,1.3) both}
@keyframes navPop{0%{transform:scale(1)}40%{transform:scale(1.18) translateY(-1px)}100%{transform:scale(1)}}
/* shared entrances: staggered fade-up for cards and sections (elin is defined with the periodic table below) */
.arch-hero>*{animation:elin .6s cubic-bezier(.2,.7,.2,1) both}
.arch-hero>:nth-child(2){animation-delay:.08s}.arch-hero>:nth-child(3){animation-delay:.16s}.arch-hero>:nth-child(4){animation-delay:.24s}.arch-hero>:nth-child(5){animation-delay:.32s}
.arch-emoji{display:inline-block;animation:elin .6s cubic-bezier(.2,.7,.2,1) both,floatY 7s ease-in-out .6s infinite}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.os-card,.syn-wrap,.chips,.codeline{animation:elin .55s cubic-bezier(.2,.7,.2,1) both}
.me-grid>*,.rdh-grid>*,.rdh-head{animation:elin .55s cubic-bezier(.2,.7,.2,1) both}
.me-grid>:nth-child(2),.rdh-grid>:nth-child(2){animation-delay:.07s}.me-grid>:nth-child(3),.rdh-grid>:nth-child(3){animation-delay:.14s}
.rdh-grid>:nth-child(4){animation-delay:.21s}.rdh-grid>:nth-child(5){animation-delay:.28s}.rdh-grid>:nth-child(n+6){animation-delay:.35s}
.answers>.ans{animation:elin .45s cubic-bezier(.2,.7,.2,1) both}
.answers>.ans:nth-child(2){animation-delay:.06s}.answers>.ans:nth-child(3){animation-delay:.12s}.answers>.ans:nth-child(4){animation-delay:.18s}
/* meters fill in (transform only); numbers with .cu count up (countUp) */
.el .el-bar>i{transform-origin:left center;animation:barIn 1.1s cubic-bezier(.2,.7,.2,1) .35s both}
@keyframes barIn{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.rdh-ring .arc{animation:ringIn 1.2s cubic-bezier(.2,.7,.2,1) .2s both}
@keyframes ringIn{from{stroke-dashoffset:var(--c)}}
/* zodiac glyphs breathe */
.mm-chart-g{display:inline-block;animation:glyphPulse 6s ease-in-out infinite}
.mm-chart-part:nth-child(3) .mm-chart-g{animation-delay:-2s}.mm-chart-part:nth-child(5) .mm-chart-g{animation-delay:-4s}
@keyframes glyphPulse{0%,100%{opacity:.72;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}
/* avatar rings: the gold→coral gradient turns very slowly behind the photo */
.me-ring{position:relative;isolation:isolate;background:none;overflow:hidden}
.me-ring::before{content:'';position:absolute;inset:0;border-radius:50%;z-index:-1;background:conic-gradient(from 200deg,#C9A247,#D97757,#C9A247);animation:ringSpin 28s linear infinite}
@keyframes ringSpin{to{transform:rotate(360deg)}}
/* ── MOTION PASS 2 (2026-10-27, Mike: "more subtle animation… animate more elements"). Same rules: transform/opacity
   (stroke-dashoffset for SVG), entrances ≤ .6 s, ambient loops ≥ 6 s. Entrances use fill-mode `backwards`, so after
   they finish the element is back on its own styles (hover/:active transforms keep working) and nothing can stay
   parked invisible. All of it is switched off at the bottom of this block under prefers-reduced-motion. ── */
/* loaders: the spinning arc becomes a small orbit — a gold planet circling a faint ring around a soft glow */
.spinring{position:relative;border:1px solid rgba(201,162,71,.24)!important;border-width:1px!important;animation:spin 2.6s linear infinite}
.spinring::before{content:'';position:absolute;left:50%;top:-1px;width:max(4px,17%);height:max(4px,17%);border-radius:50%;background:#C9A247;
  box-shadow:0 0 8px 2px rgba(201,162,71,.5);transform:translate(-50%,-50%)}
.spinring::after{content:'';position:absolute;inset:28%;border-radius:50%;background:radial-gradient(circle,rgba(244,236,216,.42),rgba(201,162,71,0) 70%);animation:ldBreathe 2.6s ease-in-out infinite}
/* …and the words under a loader breathe softly so a wait never looks frozen */
.center-load>div:not(.spinring),.rel-load,.sigil-load .sl-t,.syn-loadlab .sll,.iv-gen-h{animation:ldBreathe 2.8s ease-in-out infinite}
@keyframes ldBreathe{0%,100%{opacity:1}50%{opacity:.6}}
/* the brand dot (top-left on every screen) has a slow, faint halo */
.brand .dot{position:relative}
.brand .dot::after{content:'';position:absolute;inset:-5px;border-radius:50%;background:radial-gradient(circle,rgba(217,119,87,.5),rgba(217,119,87,0) 68%);animation:dotHalo 7s ease-in-out infinite}
@keyframes dotHalo{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:.85;transform:scale(1.15)}}
/* shared rise-in used by every list below (backwards fill: rest state is the element's own style) */
@keyframes riseIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Compare result: score counts up (countUpAll), verdict + summary rise, shared/complementary/stretch items and the
   dimension matrix stagger in */
.verdict,.cmp-summary{animation:riseIn .55s cubic-bezier(.2,.7,.2,1) .25s backwards}
.cmp-block{animation:riseIn .5s cubic-bezier(.2,.7,.2,1) .3s backwards}.cmp-block+.cmp-block{animation-delay:.38s}.cmp-block+.cmp-block+.cmp-block{animation-delay:.46s}
.cmp-block li{animation:riseIn .45s cubic-bezier(.2,.7,.2,1) .4s backwards}.cmp-block li:nth-child(2){animation-delay:.46s}.cmp-block li:nth-child(n+3){animation-delay:.52s}
.mtx-row{animation:riseIn .45s cubic-bezier(.2,.7,.2,1) backwards}.mtx-row:nth-child(2){animation-delay:.05s}.mtx-row:nth-child(3){animation-delay:.1s}.mtx-row:nth-child(4){animation-delay:.15s}.mtx-row:nth-child(n+5){animation-delay:.2s}
.gauge{animation:gaugeIn .6s cubic-bezier(.2,.7,.2,1) backwards}
@keyframes gaugeIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
/* Compare › result: the two avatars glide together, the chemistry number rises and counts up, the three
   "click / stretch / try" points and the actions follow */
.cp-avs span{animation:avL .6s cubic-bezier(.2,.7,.2,1) backwards}.cp-avs span+span{animation-name:avR}
@keyframes avL{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}
@keyframes avR{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
.cp-big{animation:riseIn .55s cubic-bezier(.2,.7,.2,1) .12s backwards}
.cp-pts>*,.cp-btns,.cp-more,.cp-do{animation:riseIn .45s cubic-bezier(.2,.7,.2,1) .25s backwards}
.cp-pts>:nth-child(2){animation-delay:.31s}.cp-pts>:nth-child(3){animation-delay:.37s}.cp-btns{animation-delay:.42s}.cp-more,.cp-do{animation-delay:.48s}
/* Friends, matches, readings history, celebrity strip: items stagger in */
.fr-list>*,.mt-list>*,.rd-daygroup>.rd-card,.celeb-strip>.celeb-card,.celeb-grid>.celeb-card,.ma-types>*,.cp-list>*,.cp-celebs>.cp-celeb{animation:riseIn .45s cubic-bezier(.2,.7,.2,1) backwards}
.fr-list>:nth-child(2),.mt-list>:nth-child(2),.rd-daygroup>.rd-card:nth-child(3),.celeb-strip>:nth-child(2),.celeb-grid>:nth-child(2),.ma-types>:nth-child(2),.cp-list>:nth-child(2),.cp-celebs>:nth-child(2){animation-delay:.05s}
.fr-list>:nth-child(3),.mt-list>:nth-child(3),.rd-daygroup>.rd-card:nth-child(4),.celeb-strip>:nth-child(3),.celeb-grid>:nth-child(3),.ma-types>:nth-child(3),.cp-list>:nth-child(3),.cp-celebs>:nth-child(3){animation-delay:.1s}
.fr-list>:nth-child(4),.mt-list>:nth-child(4),.rd-daygroup>.rd-card:nth-child(5),.celeb-strip>:nth-child(4),.celeb-grid>:nth-child(4),.ma-types>:nth-child(4),.cp-list>:nth-child(4),.cp-celebs>:nth-child(4){animation-delay:.15s}
.fr-list>:nth-child(n+5),.mt-list>:nth-child(n+5),.rd-daygroup>.rd-card:nth-child(n+6),.celeb-strip>:nth-child(n+5),.celeb-grid>:nth-child(n+5),.ma-types>:nth-child(n+5),.cp-list>:nth-child(n+5),.cp-celebs>:nth-child(n+5){animation-delay:.2s}
/* empty and error states rise in; their emoji floats very gently */
.fr-empty,.rd-empty,.errcard,.mt-optin,.hs-empty,.hsc-empty{animation:riseIn .5s cubic-bezier(.2,.7,.2,1) backwards}
.errcard .em,.mt-optin-ic{display:inline-block;animation:floatY 7s ease-in-out .5s infinite}
/* share / invite sheet: options follow the sheet up, one after another */
.sheet.on .sheet-opt{animation:riseIn .38s cubic-bezier(.2,.7,.2,1) .1s backwards}
.sheet.on .sheet-opt:nth-of-type(2){animation-delay:.15s}.sheet.on .sheet-opt:nth-of-type(3){animation-delay:.2s}.sheet.on .sheet-opt:nth-of-type(n+4){animation-delay:.25s}
/* People: ••• sheets ease up out of their dimmed backdrop; small menus drop in */
.hs-mask>.hs-sheet{animation:sheetUp .32s cubic-bezier(.2,.7,.2,1) backwards}
#bdModal:not([hidden])>.fld-sheet{animation:sheetUp .34s cubic-bezier(.2,.7,.2,1) backwards}
#bdModal:not([hidden]){animation:hsFade .2s ease backwards}
@keyframes sheetUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.hsc-menu:not([hidden]),.hs-sortmenu:not([hidden]){animation:menuIn .18s cubic-bezier(.2,.7,.2,1) backwards;transform-origin:top right}
@keyframes menuIn{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
/* Compatibility map (bonds.js): the You marker's ring breathes; people glide in from the rim (bonds.js) */
.bd .bd-me circle+circle{transform-box:fill-box;transform-origin:center;animation:ddHalo2 8s ease-in-out infinite}
@keyframes ddHalo2{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.55}}
/* press feedback on the main buttons (a small, quick give) */
.btn:active,.hs-btn:active,.hsc-btn:active,.hs-cact:active,.hsc-send:active,.hs-skyb:active,.vm-primary:active,.vm-sec:active{transform:scale(.975)}
.hs-btn,.hsc-btn,.hs-cact,.hsc-send,.hs-skyb,.vm-primary,.vm-sec{transition:transform .12s ease,background .15s,filter .15s,border-color .15s}
@media (prefers-reduced-motion: reduce){
  .spinring::after,.center-load>div:not(.spinring),.rel-load,.sigil-load .sl-t,.syn-loadlab .sll,.iv-gen-h,.brand .dot::after,.verdict,.cmp-summary,.cmp-block,.cmp-block li,.mtx-row,.gauge,
  .fr-list>*,.mt-list>*,.rd-daygroup>.rd-card,.celeb-strip>.celeb-card,.celeb-grid>.celeb-card,.ma-types>*,.fr-empty,.rd-empty,.errcard,.mt-optin,.hs-empty,.hsc-empty,.errcard .em,.mt-optin-ic,
  .cp-avs span,.cp-big,.cp-pts>*,.cp-btns,.cp-more,.cp-do,.cp-list>*,.cp-celebs>.cp-celeb,
  .sheet.on .sheet-opt,.hs-mask>.hs-sheet,#bdModal:not([hidden])>.fld-sheet,#bdModal:not([hidden]),.hsc-menu,.hs-sortmenu,.bd .bd-me circle+circle{animation:none!important}
  .btn:active,.hs-btn:active,.hsc-btn:active,.hs-cact:active,.hsc-send:active,.hs-skyb:active,.vm-primary:active,.vm-sec:active{transform:none}
}

/* ── HA DELIGHT (build spec 2026-11-11, Fable board; engine public/ha-delight.js). transform/opacity only, ≤400 ms on presses,
   reduced motion = rested state. No counters, no per-arm rules. */
.btn.primary{position:relative;overflow:hidden;transition:transform .26s cubic-bezier(.34,1.56,.64,1),filter .12s}
.btn.primary:active{transform:scale(.97);filter:brightness(.94);transition-duration:.09s}
.btn.primary .glint{position:absolute;top:-20%;bottom:-20%;left:-40%;width:34%;background:linear-gradient(100deg,transparent 0,rgba(255,255,255,.28) 50%,transparent 100%);transform:translateX(-120%) skewX(-18deg);opacity:0;pointer-events:none}
.btn.primary.is-glint .glint{animation:haGlint .32s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes haGlint{0%{opacity:0;transform:translateX(-120%) skewX(-18deg)}15%{opacity:1}100%{opacity:0;transform:translateX(420%) skewX(-18deg)}}
.is-loading{cursor:progress}
.hd-orb{display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid rgba(233,196,106,.25);border-top-color:var(--acc,#D97757);margin-right:8px;vertical-align:-2px;animation:spin .8s linear infinite}
.hd-ckw{display:inline-flex;vertical-align:-3px;margin-right:6px}
.hd-ckw svg{display:block}
#dtOpts .ans{transition:opacity .16s,box-shadow .16s}
#dtOpts.has-pick .ans:not(.is-picked){opacity:.45}
#dtOpts .ans.is-picked{box-shadow:inset 0 0 0 1.5px #C9A247;animation:hdPick .22s cubic-bezier(.34,1.56,.64,1)}
@keyframes hdPick{50%{transform:scale(1.02)}}
.dd-load.hd-tune{min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.hd-tune .hd-tring{width:48px;height:48px;border-radius:50%}
.hd-tune .hd-tl{position:relative;height:1.4em;width:100%;text-align:center}
.hd-tune .hd-tl span{position:absolute;left:0;right:0;opacity:0;animation:hdTl 5.4s infinite}
.hd-tune .hd-tl span:nth-child(2){animation-delay:1.8s}.hd-tune .hd-tl span:nth-child(3){animation-delay:3.6s}
@keyframes hdTl{0%{opacity:0}6%,30%{opacity:1}36%,100%{opacity:0}}
#ddYou>.dd-card:first-child{animation:hdFade .3s ease both}
@keyframes hdFade{from{opacity:0}to{opacity:1}}
.nba-card{animation:riseIn .36s cubic-bezier(.2,.7,.2,1) both}
.ans .key.hd-starkey{display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.ans.hd-picked{border-color:#C9A247!important}
.prog{position:relative}
#progStars{position:absolute;inset:0;pointer-events:none}
#progStars .hd-pt{position:absolute;top:50%;width:2.5px;height:2.5px;margin:-1.25px 0 0 -1.25px;border-radius:50%;background:#E9C46A;opacity:.85}
#progStars .hd-comet{position:absolute;top:50%;width:4px;height:4px;margin:-2px 0 0 -2px;border-radius:50%;background:#F4ECD8;box-shadow:0 0 6px 2px rgba(233,196,106,.7)}
#gate .gate-badge{opacity:.55;font-size:.92em}
.ptable:not(.in-view) .el .el-bar>i{animation-play-state:paused}
#haReveal{position:fixed;inset:0;background:var(--bg);z-index:60;overflow:hidden}
#haReveal .hd-rv-stage{position:absolute;inset:0;pointer-events:none}
#haReveal .rc{position:absolute;left:0;top:0}
#haReveal .rs{position:absolute;width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:#E9C46A;box-shadow:0 0 6px rgba(233,196,106,.8)}
#haReveal .arch-emoji{position:relative;display:inline-block}
#haReveal .hd-rv-ring{position:absolute;inset:-10px;border-radius:50%;border:1.5px solid transparent;background:conic-gradient(from 200deg,#C9A247,#D97757,#C9A247) border-box;-webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.hd-noted{color:var(--mut)!important;margin:0!important}
.hd-flystar{position:fixed;z-index:70;pointer-events:none;display:flex;transform-origin:center}
.hd-flystar svg{width:100%;height:100%}
#hdSkyStar{position:absolute;width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:#E9C46A;box-shadow:0 0 5px rgba(233,196,106,.8);pointer-events:none;animation:hdTw 3.2s ease-in-out infinite}
@keyframes hdTw{0%,100%{opacity:.6}50%{opacity:1}}
.toast .hd-sp{position:absolute;left:10px;top:50%;width:6px;height:6px;border-radius:50%;background:#E9C46A;box-shadow:0 0 6px rgba(233,196,106,.8);pointer-events:none}
.hd-hair{position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,#C9A247,var(--acc,#D97757));transform-origin:left;pointer-events:none}
.hd-lightbar{position:absolute;left:0;right:0;top:0;height:22px;background:linear-gradient(180deg,transparent,rgba(233,196,106,.9),transparent);filter:blur(6px);pointer-events:none;z-index:3}
.hd-glint{background:linear-gradient(100deg,currentColor 40%,#F4ECD8 50%,currentColor 60%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:hdTglint .7s ease-out 1.08s both}
@keyframes hdTglint{from{background-position:100% 0}to{background-position:0 0}}
.hd-pscan{position:absolute;inset:0;border-radius:50%;overflow:hidden;pointer-events:none;z-index:2}
.hd-pscan .hd-pline{position:absolute;left:0;right:0;top:0;height:1px;background:#E9C46A;box-shadow:0 0 8px rgba(233,196,106,.8)}
.hd-pscan i{position:absolute;width:2.5px;height:2.5px;border-radius:50%;background:#E9C46A;transform:translate(-50%,-50%)}
.hd-pring{position:absolute;inset:-3px;border-radius:50%;border:1.5px solid transparent;background:conic-gradient(from 200deg,#C9A247,#D97757,#C9A247) border-box;-webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.hd-pcap{font-size:10px;color:var(--mut);margin-top:6px;text-align:center}
@media (prefers-reduced-motion:reduce){
  .btn.primary:active{transform:none;filter:brightness(.9)} .btn.primary.is-glint .glint{animation:none}
  #dtOpts .ans.is-picked,.hd-tune .hd-tring,#ddYou>.dd-card:first-child,.nba-card,#hdSkyStar,.hd-glint{animation:none!important}
  .hd-tune .hd-tl span{animation:none;opacity:0}.hd-tune .hd-tl span:first-child{opacity:1}
  .ptable .el .el-bar>i{animation-play-state:running}
}

/* ── layout shell ── */
#app{position:relative;z-index:2;width:100%;max-width:680px;margin:0 auto;padding:0 20px;
  min-height:100dvh;display:flex;flex-direction:column}
.screen{display:none;flex:1;flex-direction:column;animation:fadeIn .4s ease both;padding-bottom:48px}
.screen.on{display:flex}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ── Desktop scale-up ──────────────────────────────────────────────────────
   The app is mobile-first and every font size is a fixed px value, so on a wide
   desktop window the whole UI renders phone-sized and marooned in the middle of
   the screen (a 680px column with ~900px of dead space each side, 10-13px labels).
   Scale the entire column up on large viewports so type + spacing + width read
   comfortably. `zoom` scales AND reflows (unlike transform:scale) and is ignored
   by browsers that don't support it (graceful fallback = current behavior).
   min-height is divided back out so the flex column still fills exactly one
   viewport instead of overflowing by the zoom factor.
   2026-10-18: only for the pre-app screens (quiz/landing, no body.has-nav). Inside the
   app the desktop sidebar takes over (≥900px) and zoom would fight its fixed layout;
   the column is widened instead (see DESKTOP SIDEBAR NAV). */
@media (min-width:1280px){
  body:not(.has-nav) #app{zoom:1.15; min-height:calc(100dvh / 1.15)}
}
@media (min-width:1800px){
  body:not(.has-nav) #app{zoom:1.32; min-height:calc(100dvh / 1.32)}
}

.brand{display:flex;align-items:center;gap:9px;padding:22px 2px 6px;
  font-weight:600;font-size:14px;letter-spacing:.01em;color:var(--ink-2)}
.brand .dot{width:9px;height:9px;border-radius:50%;background:var(--acc)}

/* ── buttons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--body);font-weight:600;font-size:16px;letter-spacing:0;
  padding:15px 22px;border-radius:14px;width:100%;text-align:center;
  transition:transform .12s ease,background .18s ease,box-shadow .18s ease,filter .18s ease}
.btn.primary{color:#1A0F0A;background:var(--acc);box-shadow:var(--shadow-sm)}
.btn.primary:hover{filter:brightness(1.04)}

.btn.ghost{background:var(--surface);border:1px solid var(--line-2);color:var(--ink);box-shadow:var(--shadow-sm)}
.btn.ghost:hover{background:var(--surface-2)}
.btn:disabled{opacity:.5;pointer-events:none}
.linkbtn{color:var(--mut);font-size:14.5px;font-weight:500;padding:4px 2px}
.linkbtn:hover{color:var(--ink)}

/* ── ENTRY (minimal fallback only; boot goes straight to quiz) ── */
#entry{justify-content:center;text-align:center;gap:0}
.hero-h{font-family:var(--disp);font-weight:600;line-height:1.04;letter-spacing:-.01em;
  font-size:clamp(34px,9vw,52px);margin:0;color:var(--ink)}
.promise{margin:18px auto 0;max-width:30ch;color:var(--mut);font-size:17px;line-height:1.5}
.cta-wrap{margin-top:30px;max-width:360px;width:100%;margin-left:auto;margin-right:auto}
.privacy{font-size:13px;color:var(--faint);display:inline-flex;align-items:center;gap:7px;margin-top:18px}
.privacy svg{width:13px;height:13px;opacity:.7}

/* ── QUIZ (the homescreen) ── */
#quiz{justify-content:flex-start}
.qtop{display:flex;align-items:center;gap:14px;margin:14px 0 34px}
.backbtn{width:40px;height:40px;border-radius:11px;background:var(--surface);
  border:1px solid var(--line-2);display:grid;place-items:center;font-size:17px;color:var(--ink-2);
  flex:0 0 auto;transition:background .15s,border-color .15s;box-shadow:var(--shadow-sm)}
.backbtn:hover{background:var(--surface-2)}
.backbtn:disabled{opacity:.35;pointer-events:none}
/* 2026-08-12 (Mike): remove redundant screen-level back buttons — the persistent bottom nav is the way
   around. Keep ONLY the quiz's per-question back (#qback). Contextual "back to X" links stay (different class).
   2026-10-28 (Mike, stuck on the interview): only when the nav is actually showing; a screen without it keeps its back. */
.qtop{margin-top:8px;margin-bottom:20px}
body.has-nav .qtop .backbtn:not(#qback):not(#b5Back){display:none}
.prog{flex:1;height:5px;border-radius:99px;background:#00000010;overflow:hidden}
.prog>i{display:block;height:100%;width:0;border-radius:99px;background:var(--acc);
  transition:width .45s cubic-bezier(.2,.7,.2,1)}
.qcount{font-family:var(--mono);font-size:13px;color:var(--mut);flex:0 0 auto;min-width:46px;text-align:right}
.qmapped{font-family:var(--mono);font-size:12.5px;letter-spacing:.02em;color:var(--acc-ink);text-align:center;margin:-18px 0 22px;opacity:.92}
.qnum{font-family:var(--mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:14px}
.qhook{font-size:12.5px;color:var(--acc-ink);opacity:.85;margin:-8px 0 14px;letter-spacing:.01em}
.return-hook{background:linear-gradient(135deg,rgba(139,92,246,.14),rgba(139,92,246,.05));border:1px solid rgba(139,92,246,.32);border-radius:16px;padding:16px 18px;margin:0 0 16px}
.return-hook .rh-k{font-size:13px;font-weight:700;color:var(--acc-ink,#c4b5fd);margin-bottom:5px}
.return-hook .rh-t{font-size:14px;line-height:1.5;color:var(--ink,#e8e6f0);margin-bottom:12px}
.return-hook .rh-btn{background:var(--acc,#8b5cf6);color:#fff;border:0;border-radius:11px;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer;width:100%}
.return-hook .rh-btn:active{transform:scale(.99)}
.return-hook .rh-skip{background:transparent;border:0;color:var(--mut,#9aa1ad);font-size:12.5px;cursor:pointer;width:100%;padding:9px 0 0}
/* ── NEXT UNLOCK — single prioritized day-1 action card (retention build 2026-07-29) ── */
.nunlock{background:linear-gradient(135deg,rgba(217,119,87,.13),rgba(217,119,87,.04));border:1px solid rgba(217,119,87,.30);border-radius:16px;padding:16px 18px;margin:16px 0 4px}
.nunlock .nu-k{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--acc,#D97757);margin-bottom:6px}
.nunlock .nu-t{font-family:var(--disp);font-weight:500;font-size:19px;line-height:1.25;color:var(--ink);margin-bottom:6px}
.nunlock .nu-s{font-size:13.5px;line-height:1.5;color:var(--mut);margin-bottom:13px}
.nunlock .nu-row{display:flex;gap:9px;flex-wrap:wrap}
.nunlock .nu-in{flex:1 1 148px;min-width:0;background:var(--card,#fff);border:1px solid var(--line,#e6e0d8);border-radius:11px;padding:11px 12px;font-size:15px;color:var(--ink);font-family:inherit}
.nunlock .nu-in:focus{outline:none;border-color:var(--acc,#D97757)}
.nunlock .nu-go{background:var(--acc,#D97757);color:#fff;border:0;border-radius:11px;padding:12px 18px;font-size:14.5px;font-weight:700;cursor:pointer;flex:0 0 auto}
.nunlock .nu-go:active{transform:scale(.99)}
.nunlock .nu-go.wide{width:100%;flex:1 1 100%}
.nunlock .nu-skip{background:transparent;border:0;color:var(--mut);font-size:12.5px;cursor:pointer;padding:10px 0 0;width:100%}
.nunlock .nu-birthtoggle{background:transparent;border:0;color:var(--acc,#D97757);font-size:13px;font-weight:600;cursor:pointer;padding:11px 0 2px;width:100%;text-align:center}
.nunlock .nu-birthtoggle:hover{text-decoration:underline}
.nunlock .nu-err{color:#c0392b;font-size:12.5px;min-height:16px;padding-top:7px}
.nunlock .nu-micro{font-size:11.5px;color:var(--mut);opacity:.85;padding-top:9px}
.nunlock.done{background:linear-gradient(135deg,rgba(52,168,110,.12),rgba(52,168,110,.04));border-color:rgba(52,168,110,.32)}
.nunlock.done .nu-k{color:#2f9e68}
.wantq{border:1px solid rgba(217,119,87,.30);background:linear-gradient(135deg,rgba(217,119,87,.10),rgba(217,119,87,.03));border-radius:16px;padding:16px 18px;margin:16px 0 4px;color:inherit}
.wantq .wq-k{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--acc,#D97757);margin-bottom:6px}
.wantq .wq-t{font-family:var(--disp);font-weight:500;font-size:19px;line-height:1.25;margin-bottom:6px;text-wrap:balance}
.wantq .wq-s{font-size:13.5px;line-height:1.5;opacity:.75;margin-bottom:12px}
.wantq .wq-opts{display:grid;gap:8px}
.wantq .wq-o{display:flex;gap:12px;align-items:flex-start;text-align:left;width:100%;background:rgba(127,127,127,.06);border:1px solid rgba(127,127,127,.24);border-radius:12px;padding:12px 13px;color:inherit;font:inherit;cursor:pointer}
.wantq .wq-o:hover{border-color:var(--acc,#D97757)}
.wantq .wq-e{font-size:20px;line-height:1.2;flex:0 0 auto}
.wantq .wq-o b{display:block;font-size:14.5px;font-weight:650;margin-bottom:2px}
.wantq .wq-o small{display:block;font-size:12.5px;line-height:1.45;opacity:.72}
.wantq .wq-row{display:flex;gap:8px;flex-wrap:wrap}
.wantq .wq-b{flex:1 1 90px;background:transparent;border:1px solid var(--acc,#D97757);color:var(--acc,#D97757);border-radius:11px;padding:11px 12px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.wantq .wq-b.pri{background:var(--acc,#D97757);color:#fff;width:100%;flex:1 1 100%}
/* People discovery (Claude Design Discovery.dc.html, 2026-10-18): Daily-dashboard "people who match you" card (.pd-dash,
   the .nunlock coral gradient) + reveal "Meet people like you" invite (.pd-meet, surface card with a gold hairline) */
.pdisc{--hs-serif:var(--disp);--hs-gold:#C9A247;border-radius:18px;padding:18px;margin:16px 0 4px;display:flex;flex-direction:column;gap:14px;color:var(--ink);text-align:left;font-family:var(--body)}
.pdisc.pd-dash{background:linear-gradient(135deg,rgba(217,119,87,.13),rgba(217,119,87,.04));border:1px solid rgba(217,119,87,.30)}
.pdisc.pd-meet{background:var(--surface,#17152a);border:1px solid rgba(201,162,71,.32);gap:12px}
.pdisc .pd-head{display:flex;flex-direction:column;gap:4px}
.pdisc .pd-k{margin:0;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9A247}
.pdisc .pd-t{margin:0;font-family:var(--disp);font-weight:600;font-size:22px;line-height:1.25;color:var(--ink);text-wrap:balance}
.pdisc.pd-meet .pd-t{font-size:21px}
.pdisc .pd-rows{display:flex;flex-direction:column;gap:8px}
.pdisc .pd-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 10px;border:0;border-radius:14px;background:rgba(10,9,18,.45);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background .15s}
.pdisc .pd-row:hover{background:rgba(10,9,18,.7)}
.pdisc .pd-row:focus-visible,.pdisc .pd-go:focus-visible,.pdisc .pd-no:focus-visible,.pdisc .pd-link:focus-visible{outline:2px solid var(--acc,#D97757);outline-offset:2px}
.pdisc .pd-who{flex:1;min-width:0;display:flex;flex-direction:column}
.pdisc .pd-n{font-weight:600;font-size:15px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdisc .pd-a{font-family:var(--disp);font-style:italic;font-size:13px;line-height:1.35;color:#C9A247;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdisc .pd-m{flex:none;font-family:var(--disp);font-size:19px;font-weight:600;color:var(--ink)}
.pdisc .pd-acts{display:flex;gap:10px;align-items:center}
.pdisc .pd-go{flex:1;min-width:0;height:46px;padding:0 16px;border:0;border-radius:23px;background:var(--acc,#D97757);color:#0a0912;font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pdisc.pd-meet .pd-go{flex:none;width:100%}
.pdisc .pd-go:disabled{opacity:.6;cursor:default}
.pdisc .pd-no{flex:none;height:46px;padding:0 12px;border:0;background:transparent;color:var(--mut);font-size:13px;cursor:pointer}
.pdisc .pd-no:hover{color:var(--ink)}
.pdisc .pd-hid{margin:-4px 0 0;font-size:12.5px;line-height:1.5;color:var(--mut);text-align:center}
.pdisc .pd-link{display:inline-block;padding:11px 4px;margin:-11px -4px;border:0;background:none;color:var(--acc-ink,#EDA588);font:inherit;font-weight:600;cursor:pointer}
.pdisc .pd-link:hover{color:var(--ink);text-decoration:underline}
.pdisc .pd-stack{display:flex;align-items:center;min-width:0}
.pdisc .pd-stack .hs-av{box-sizing:border-box;border:2px solid var(--surface,#17152a)}
.pdisc .pd-stack .hs-av+.hs-av{margin-left:-10px}
.pdisc .pd-cnt{margin-left:10px;min-width:0;font-size:13px;line-height:1.35;color:var(--mut)}
.pdisc .pd-s{margin:0;font-size:14px;line-height:1.5;color:var(--ink-2,#d8d1e6)}
.pdisc .pd-fine{margin:0;font-size:12px;line-height:1.45;color:var(--mut);text-align:center}
.wantq .wq-skip{background:transparent;border:0;color:inherit;opacity:.6;font-size:12.5px;cursor:pointer;padding:10px 0 0;width:100%}
/* ── DAILY HANDOFF — the end-of-day-1 tomorrow commitment ── */
.dhand{background:linear-gradient(135deg,rgba(139,92,246,.13),rgba(139,92,246,.04));border:1px solid rgba(139,92,246,.30);border-radius:16px;padding:17px 18px;margin:22px 0 8px}
.dhand .dh-k{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#7c5cd6;margin-bottom:6px}
.dhand .dh-t{font-family:var(--disp);font-weight:500;font-size:19px;line-height:1.25;color:var(--ink);margin-bottom:7px}
.dhand .dh-s{font-size:13.5px;line-height:1.55;color:var(--mut);margin-bottom:13px}
.dhand .dh-s b{color:var(--ink);font-weight:600}
.dhand .dh-go{background:#7c5cd6;color:#fff;border:0;border-radius:11px;padding:12px 16px;font-size:14.5px;font-weight:700;cursor:pointer;width:100%}
.dhand .dh-go:active{transform:scale(.99)}
.dhand .dh-micro{font-size:11.5px;color:var(--mut);opacity:.85;padding-top:10px;text-align:center}
.qtext{font-family:var(--disp);font-weight:500;font-size:clamp(24px,6.2vw,34px);line-height:1.18;letter-spacing:-.01em;margin:0 0 28px;color:var(--ink)}
.answers{display:flex;flex-direction:column;gap:11px}
.ans{display:flex;align-items:center;gap:14px;text-align:left;width:100%;
  padding:16px 17px;border-radius:14px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow-sm);
  font-size:16px;font-weight:450;line-height:1.35;color:var(--ink);
  transition:background .15s,border-color .15s,transform .1s}
.ans:hover{background:var(--surface-2);border-color:#00000022}
.ans:active{transform:scale(.99)}
.ans.pick{border-color:var(--acc);background:var(--acc-soft);box-shadow:0 0 0 1px var(--acc) inset}
.ans .key{flex:0 0 auto;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;
  font-family:var(--mono);font-size:12.5px;font-weight:500;color:var(--mut);
  background:var(--surface-2);border:1px solid var(--line-2);transition:.15s}
.ans:hover .key{color:var(--ink-2)}
.ans.pick .key{color:#fff;background:var(--acc);border-color:var(--acc)}

/* ── chat-style paste composer ── */
.power-toggle{margin:26px 2px 0;text-align:center}
.power-panel{margin-top:18px;display:none}
.power-panel.on{display:block;animation:fadeIn .35s both}
.power-hint{font-size:14px;color:var(--mut);margin:0 2px 14px;line-height:1.5}
.composer{position:relative;background:var(--surface);border:1px solid var(--line-2);
  border-radius:20px;box-shadow:var(--shadow);padding:6px 6px 6px 4px;transition:border-color .15s,box-shadow .15s}
.composer:focus-within{border-color:#00000026;box-shadow:0 1px 2px rgba(0,0,0,.05),0 8px 30px -14px rgba(0,0,0,.18)}
.composer textarea{width:100%;min-height:120px;border:none;background:transparent;
  color:var(--ink);font-size:16px;padding:14px 14px 50px;resize:none;line-height:1.55;outline:none}
.composer textarea::placeholder{color:var(--faint)}
.composer .send{position:absolute;right:12px;bottom:12px;width:38px;height:38px;border-radius:11px;
  background:var(--acc);color:#fff;display:grid;place-items:center;box-shadow:var(--shadow-sm);
  transition:filter .15s,transform .1s}
.composer .send:hover{filter:brightness(1.05)}
.composer .send:active{transform:translateY(1px)}
.composer .send svg{width:18px;height:18px}

/* ── GENERATING ── */
#gen{justify-content:center;align-items:center;text-align:center}
.gen-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;max-width:260px;margin:0 auto 30px}
.gen-tile{aspect-ratio:1;border-radius:10px;background:var(--surface);border:1px solid var(--line-2);
  opacity:.3;transform:scale(.85);animation:pop 2.2s ease-in-out infinite}
@keyframes pop{0%,100%{opacity:.25;transform:scale(.85)}45%{opacity:1;transform:scale(1)}}
.gen-h{font-family:var(--disp);font-weight:600;font-size:23px;margin:0 0 8px;letter-spacing:-.01em;color:var(--ink)}
.gen-sub{color:var(--mut);font-size:15px;min-height:22px}

/* ── REVEAL ── */
#reveal{padding-top:6px}
.arch-hero{text-align:center;padding:34px 6px 8px}
.arch-emoji{font-size:clamp(40px,11vw,56px);line-height:1}
.arch-name{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;
  font-size:clamp(40px,12vw,66px);line-height:1;margin:14px 0 0;color:var(--ink)}
.arch-tag{color:var(--mut);font-size:16px;margin-top:14px}
.arch-headline{font-family:var(--disp);font-weight:500;font-size:clamp(21px,5.4vw,27px);line-height:1.25;letter-spacing:-.005em;margin:24px auto 0;max-width:24ch;color:var(--ink-2)}
.oneliner{margin:20px auto 0;max-width:32ch;font-size:18px;color:var(--ink-2);
  position:relative;padding:0 8px;line-height:1.5}
.oneliner::before{content:'\201C';color:var(--acc);font-size:30px;font-family:var(--disp);font-weight:600;line-height:0;vertical-align:-7px;margin-right:2px}

.os-card{margin:34px 0 0;padding:24px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow);position:relative;overflow:hidden}
.os-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--ac,var(--acc))}
.os-label{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:10px}
.os-text{font-size:16.5px;line-height:1.62;color:var(--ink-2)}

.sec-title{font-family:var(--body);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);margin:40px 0 16px;display:flex;align-items:center;gap:12px}
.sec-title::after{content:'';flex:1;height:1px;background:var(--line-2)}

/* periodic table — clean minimal cards */
.legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 16px}
.legchip{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--mut)}
.legdot{width:9px;height:9px;border-radius:3px;background:currentColor}
.ptable{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:10px}
.el{position:relative;border-radius:14px;padding:13px 12px 12px;background:var(--surface);
  border:1px solid var(--line-2);border-top:2px solid var(--elc);box-shadow:var(--shadow-sm);
  overflow:hidden;animation:elin .4s both}
@keyframes elin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.el .el-trait{font-size:9.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--mut);font-weight:600;margin-bottom:3px;line-height:1.1;min-height:11px;padding-right:16px}
.el .el-sub{font-family:var(--disp);font-weight:600;font-size:27px;line-height:1;color:var(--elc);letter-spacing:-.01em}
.el .el-label{font-size:12.5px;font-weight:500;margin-top:6px;line-height:1.2;color:var(--ink-2);overflow-wrap:anywhere;hyphens:auto}
.el .el-conf{position:absolute;top:10px;right:11px;width:6px;height:6px;border-radius:50%;background:var(--elc)}
.el .el-conf.med{opacity:.35}

.chips{display:flex;flex-wrap:wrap;gap:9px}
.chip{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:12px;font-size:14.5px;font-weight:450;line-height:1.3;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.chip.super{border-color:var(--acc-line);background:var(--acc-soft)}
.chip.blind{border-color:#E4D3A8;background:var(--surface-2)}
.chip .ic{font-size:15px;flex:0 0 auto}

.codeline{margin:34px 0 0;text-align:center}
.codeline .lab{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-bottom:9px}
.codeline .val{font-family:var(--mono);font-size:13px;color:var(--mut);word-break:break-word;line-height:1.7;
  padding:12px 15px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);display:inline-block;max-width:100%}

.actions{margin-top:36px;display:flex;flex-direction:column;gap:11px}
.capture{margin-top:18px;padding:22px;border-radius:18px;background:var(--acc-soft);
  border:1px solid var(--acc-line)}
.capture h4{font-family:var(--disp);font-weight:600;font-size:18px;margin:0 0 5px;color:var(--ink)}
.capture p{color:var(--mut);font-size:14px;margin:0 0 14px;line-height:1.5}
.cap-row{display:flex;gap:10px}
.cap-row input{flex:1;min-width:0;padding:14px 15px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);color:var(--ink);font-size:15px}
.cap-row input:focus{outline:none;border-color:var(--acc)}
.cap-row button{flex:0 0 auto;width:auto;padding:14px 18px;font-size:15px}
.cap-ok{color:var(--good);font-size:14px;margin-top:10px;font-weight:600}

/* ── COMPARE ── */
#compare{padding-top:6px}
.cmp-h{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(32px,9vw,48px);line-height:1.04;margin:18px 0 10px;color:var(--ink)}
.cmp-sub{color:var(--mut);font-size:16px;margin:0 0 24px;line-height:1.5}
.cmp-in{width:100%;padding:15px 16px;border-radius:14px;background:var(--surface);
  border:1px solid var(--line-2);color:var(--ink);font-size:15px;font-family:var(--mono);box-shadow:var(--shadow-sm)}
.cmp-in:focus{outline:none;border-color:var(--acc)}
.presets{margin:16px 0 0;display:flex;flex-direction:column;gap:10px}
.preset{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:14px;text-align:left;width:100%;
  background:var(--surface);border:1px solid var(--line-2);transition:.15s;box-shadow:var(--shadow-sm)}
.preset:hover{background:var(--surface-2);border-color:#00000022}
.preset .pe{font-size:22px}
.preset .pn{font-weight:600;font-size:15.5px;color:var(--ink)}
.preset .pd{font-size:12.5px;color:var(--faint)}

/* ── CELEBRITY MATCH GRID — instant, screenshot-worthy viral hook ── */
.celeb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin:14px 0 0}
/* compact horizontal strip so celebs don't dominate the Friends page */
.celeb-strip{display:flex;gap:10px;overflow-x:auto;margin:14px -20px 0;padding:2px 20px 10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 26px),transparent)}
.celeb-strip::-webkit-scrollbar{display:none}
.celeb-strip .celeb-card{flex:0 0 auto;width:104px;scroll-snap-align:start}
.celeb-card{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;width:100%;
  padding:16px 10px 14px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow-sm);
  transition:background .15s,border-color .15s,transform .1s,box-shadow .15s}
.celeb-card:hover{background:var(--acc-soft);border-color:var(--acc-line);box-shadow:var(--shadow)}
.celeb-card:active{transform:scale(.97)}
.celeb-card .ce{font-size:36px;line-height:1;transition:transform .15s}
.celeb-card:hover .ce{transform:scale(1.08)}
.celeb-card .cn{font-family:var(--disp);font-weight:600;font-size:14.5px;line-height:1.15;color:var(--ink);letter-spacing:-.01em}
.celeb-card .cc{font-family:var(--mono);font-size:9.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--acc-ink);
  padding:3px 8px;border-radius:99px;background:var(--acc-soft);border:1px solid var(--acc-line);line-height:1}
.celeb-skel{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin:14px 0 0}
.celeb-skel>i{display:block;height:108px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line-2);
  animation:pop 1.6s ease-in-out infinite}

/* celeb option in the post-save viral hero */
.vm-celeb{display:flex;align-items:center;gap:11px;width:100%;text-align:left;margin:11px 0 0;
  padding:14px 16px;border-radius:15px;background:var(--surface);border:1px solid var(--line-2);
  box-shadow:var(--shadow-sm);transition:background .15s,border-color .15s,transform .1s}
.vm-celeb:hover{background:var(--surface-2);border-color:var(--acc-line)}
.vm-celeb:active{transform:translateY(1px)}
.vm-celeb .vc-ic{font-size:22px;flex:0 0 auto;line-height:1}
.vm-celeb .vc-t{flex:1;font-weight:600;font-size:14.5px;color:var(--ink);line-height:1.3}
.vm-celeb .vc-arrow{color:var(--acc-ink);font-size:17px;flex:0 0 auto}

.or{display:flex;align-items:center;gap:12px;color:var(--faint);font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin:24px 0}
.or::before,.or::after{content:'';flex:1;height:1px;background:var(--line-2)}

/* compatibility result */
.gauge-wrap{display:flex;flex-direction:column;align-items:center;margin:10px 0 6px}.gauge-src{margin-top:6px;font-size:12.5px;color:var(--mut,#9a93b0)}
.gauge{position:relative;width:180px;height:180px}
.gauge svg{transform:rotate(-90deg)}
.gauge .num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.gauge .num b{font-family:var(--disp);font-weight:600;font-size:56px;line-height:1;letter-spacing:-.02em;color:var(--ink)}
.gauge .num span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin-top:4px}
.gauge.g150{width:150px;height:150px}.gauge.g150 .num b{font-size:46px}.gauge.g150 .num span{font-size:10px;letter-spacing:.1em;max-width:96px;text-align:center;line-height:1.2}   /* the box matches the 150px ring, so the number and label sit on its true centre, inside the inner radius (Mike 11-04) */
.verdict{text-align:center;font-family:var(--disp);font-weight:600;font-size:clamp(21px,5.4vw,26px);letter-spacing:-.01em;margin:16px auto 6px;max-width:20ch;color:var(--ink)}
.cmp-summary{text-align:center;color:var(--mut);font-size:15.5px;line-height:1.55;margin:10px auto 0}
.cmp-lists{margin:32px 0 0;display:flex;flex-direction:column;gap:16px}
.cmp-block h5{display:flex;align-items:center;gap:9px;font-family:var(--body);font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px}
.cmp-block ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cmp-block li{padding:12px 15px;border-radius:12px;font-size:14.5px;line-height:1.4;
  background:var(--surface);border:1px solid var(--line-2);border-left-width:3px;box-shadow:var(--shadow-sm)}
.cmp-block.shared li{border-left-color:var(--good)} .cmp-block.shared h5{color:var(--good)}
.cmp-block.comp li{border-left-color:var(--warn)} .cmp-block.comp h5{color:var(--warn)}
.cmp-block.tens li{border-left-color:var(--bad)} .cmp-block.tens h5{color:var(--bad)}

/* compatibility matrix — screenshot-bait, mobile-first */
.mtx-title{font-family:var(--disp);font-weight:600;font-size:clamp(19px,5vw,24px);line-height:1.2;letter-spacing:-.01em;
  text-align:center;margin:36px auto 4px;color:var(--ink)}
.mtx-title .vs{color:var(--acc-ink);font-weight:600;margin:0 7px}
.mtx-sub{text-align:center;color:var(--faint);font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;margin:0 0 16px}
.mtx{display:flex;flex-direction:column;gap:10px}
.mtx-row{padding:14px 16px;border-radius:14px;background:var(--surface);border:1px solid var(--line-2);
  border-left:3px solid var(--mfc,var(--acc));box-shadow:var(--shadow-sm)}
.mtx-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mtx-dim{font-weight:600;font-size:14.5px;color:var(--ink);line-height:1.2}
.mtx-fit{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;color:var(--mfc,var(--acc));padding:4px 9px;border-radius:99px;background:var(--mfsoft,var(--acc-soft));
  border:1px solid var(--mfline,var(--acc-line))}
.mtx-fit .fdot{width:7px;height:7px;border-radius:50%;background:var(--mfc,var(--acc));flex:0 0 auto}
.mtx-chips{display:flex;gap:8px;margin:11px 0 0;flex-wrap:wrap}
.mtx-chip{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:2px;padding:9px 11px;border-radius:11px;
  background:var(--surface-2);border:1px solid var(--line-2)}
.mtx-chip .who{font-family:var(--mono);font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}
.mtx-chip .val{font-size:14px;font-weight:600;color:var(--ink-2);line-height:1.25;word-break:break-word}
.mtx-chip.mine{border-left:3px solid var(--acc)}
.mtx-chip.theirs{border-left:3px solid var(--L2)}
.mtx-note{font-size:13px;line-height:1.5;color:var(--mut);margin:11px 0 0}
@media(max-width:430px){.mtx-chips{flex-direction:column}.mtx-chip{flex:1 1 auto}}

/* ── FRIENDS HUB ── */
.fr-h{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(32px,9vw,48px);line-height:1.04;margin:18px 0 8px;color:var(--ink)}
.fr-sub{color:var(--mut);font-size:16px;margin:0 0 22px;line-height:1.5}
/* invite card (primary) */
.fr-invite{padding:22px;border-radius:18px;background:var(--acc-soft);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm)}
.fr-invite h4{font-family:var(--disp);font-weight:600;font-size:19px;margin:0 0 4px;color:var(--ink)}
.fr-invite p{color:var(--mut);font-size:14px;margin:0 0 15px;line-height:1.5}
.fr-toggle{display:flex;gap:6px;padding:4px;border-radius:13px;background:var(--surface);border:1px solid var(--acc-line);margin:0 0 12px}
.fr-toggle button{flex:1;font-size:14.5px;font-weight:600;color:var(--mut);padding:10px 12px;border-radius:10px;transition:background .15s,color .15s,box-shadow .15s}
.fr-toggle button.on{color:var(--ink);background:var(--acc-soft);box-shadow:var(--shadow-sm)}
.fr-inrow{display:flex;gap:9px}
.fr-inrow input{flex:1;min-width:0;padding:14px 15px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);color:var(--ink);font-size:15px}
.fr-inrow input:focus{outline:none;border-color:var(--acc)}
.fr-inrow button{flex:0 0 auto;width:auto;padding:14px 18px;font-size:15px}
.fr-msg{font-size:14px;font-weight:600;margin:11px 0 0;line-height:1.45}
.fr-linkbtn{margin:13px 0 0;color:var(--acc-ink);font-size:13.5px;font-weight:600;padding:6px 2px;display:inline-flex;align-items:center;gap:7px}
.fr-linkbtn:hover{color:var(--acc)}
.fr-invlink{font-family:var(--mono);font-size:12px;color:var(--mut);word-break:break-all;line-height:1.6;padding:11px 13px;border-radius:11px;background:var(--surface);border:1px solid var(--line-2);margin:12px 0 0}
/* friends + comparisons list */
.fr-list{display:flex;flex-direction:column;gap:11px;margin:6px 0 0}
.fr-card{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:15px 16px;border-radius:16px;
  background:var(--surface);border:1px solid var(--line-2);border-left:3px solid var(--frc,var(--acc));
  box-shadow:var(--shadow-sm);transition:background .15s,border-color .15s,transform .1s}
.fr-card:hover{background:var(--surface-2)}
.fr-card:active{transform:scale(.99)}
.fr-score{flex:0 0 auto;width:54px;text-align:center}
.fr-score b{font-family:var(--disp);font-weight:600;font-size:26px;line-height:1;color:var(--frc,var(--acc));letter-spacing:-.01em}
.fr-score span{display:block;font-family:var(--mono);font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin-top:3px}
.fr-meat{flex:1;min-width:0}
.fr-name{font-family:var(--disp);font-weight:600;font-size:17px;line-height:1.15;color:var(--ink)}
.fr-verdict{font-size:13.5px;color:var(--mut);line-height:1.4;margin-top:3px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fr-date{font-family:var(--mono);font-size:10.5px;color:var(--faint);margin-top:6px}
.fr-contacts{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.fr-contact{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--acc-ink);
  text-decoration:none;padding:5px 10px;border-radius:9px;background:var(--acc-soft);border:1px solid var(--acc-line);
  line-height:1;transition:filter .15s,background .15s}
.fr-contact:hover{filter:brightness(.98);background:var(--acc-soft)}
.fr-contact:active{transform:scale(.97)}
.fr-arrow{color:var(--faint);font-size:18px;flex:0 0 auto}
.fr-pending{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:14px;background:var(--surface);
  border:1px solid var(--line-2);border-left:3px solid #E4D3A8;box-shadow:var(--shadow-sm);margin-bottom:9px}
.fr-pending .fp-ic{font-size:18px;flex:0 0 auto}
.fr-pending .fp-t{font-size:14px;color:var(--ink-2);line-height:1.35}
.fr-pending .fp-t b{color:var(--ink)}
.fr-pending .fp-d{font-family:var(--mono);font-size:10.5px;color:var(--faint);margin-top:2px}
.fr-pending .fp-cancel{flex:0 0 auto;width:26px;height:26px;border:none;border-radius:50%;background:transparent;color:var(--faint);font-size:14px;cursor:pointer;line-height:1}
.fr-pending .fp-cancel:hover{background:var(--line-2);color:var(--ink)}
.fr-pending .fp-cancel:disabled{opacity:.4;cursor:default}
.fr-empty{text-align:center;padding:30px 20px;color:var(--mut);border-radius:16px;background:var(--surface);border:1px dashed var(--line-2)}
.fr-empty .em{font-size:34px}
.fr-empty p{font-size:14.5px;line-height:1.5;margin:10px auto 0;max-width:30ch}
/* secondary: test against a code/archetype */
.fr-secondary{margin:14px 0 0}

/* ── BRIEF: friends section ── */
.bf-fr{display:flex;flex-direction:column;gap:11px}
.bf-frcard{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:15px 16px;border-radius:16px;
  background:var(--surface);border:1px solid var(--line-2);border-left:3px solid var(--bfc,var(--acc));
  box-shadow:var(--shadow-sm);transition:background .15s,border-color .15s,transform .1s}
.bf-frcard:hover{background:var(--surface-2)}
.bf-frcard:active{transform:scale(.99)}
.bf-frscore{flex:0 0 auto;width:48px;text-align:center}
.bf-frscore b{font-family:var(--disp);font-weight:600;font-size:23px;line-height:1;color:var(--bfc,var(--acc));letter-spacing:-.01em}
.bf-frscore span{display:block;font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin-top:2px}
.bf-frmeat{flex:1;min-width:0}
.bf-frname{font-family:var(--disp);font-weight:600;font-size:15.5px;line-height:1.15;color:var(--ink)}
.bf-frnudge{font-size:13px;color:var(--mut);line-height:1.42;margin-top:3px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bf-frarrow{color:var(--faint);font-size:17px;flex:0 0 auto}
.bf-frcta{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:16px 18px;border-radius:16px;
  background:var(--acc-soft);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm);transition:background .15s,transform .1s}
.bf-frcta:hover{filter:brightness(.99)}
.bf-frcta:active{transform:scale(.99)}
.bf-frcta .bfc-ic{font-size:22px;flex:0 0 auto}
.bf-frcta .bfc-t{font-weight:600;font-size:14.5px;color:var(--ink);line-height:1.3}
.bf-frcta .bfc-arrow{margin-left:auto;color:var(--acc-ink);font-size:17px}

/* ── TODAY ── */
#today{padding-top:6px}
.today-card{margin:6px 0 0;padding:30px 26px;border-radius:20px;background:var(--surface);
  border:1px solid var(--line-2);position:relative;overflow:hidden;box-shadow:var(--shadow)}
.today-card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--ac,var(--acc))}
.today-date{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:8px}
.today-arch{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(28px,8vw,40px);line-height:1.04;margin:0 0 18px;color:var(--ink)}
.today-reading{font-size:clamp(17px,4.6vw,20px);line-height:1.6;color:var(--ink-2);font-weight:400}
.today-reading p{margin:0 0 16px}.today-reading p:last-child{margin-bottom:0}

/* ── DAILY READINGS ── */
#readings{padding-top:6px}
#readings .rv-bar{min-height:0;margin:0}#readings .rv-bar .rv-back{margin:14px 0 6px}   /* the "Daily" back pill carries the spacing, so the row takes no room where the header row stands in for it (phone, Duo upright) */
.ha-prose.an-prose{margin:4px auto 22px}.ha-prose.cmp-prose{margin:18px auto 0}.cb-lead .ha-prose,.mm-body .ha-prose,.syn-body .ha-prose,.rd-text .ha-prose,#ddYou .dd-card .ha-prose{max-width:none}   /* Daily reading fills its card (Mike 11-10) */
#ddYou .dd-card .ha-prose .prx-open{color:var(--ink,#F4ECD8);font-weight:600}p.dd-read{white-space:pre-line}/* daily reading opening line + plain fallback keeps the For today lines (11-11) */
.rd-h{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(28px,8vw,42px);line-height:1.05;margin:8px 0 6px;color:var(--ink)}
.rd-sub{color:var(--mut);font-size:16.5px;margin:0 0 26px;line-height:1.55}
.rd-daygroup{margin:0 0 30px}
.rd-date{font-family:var(--body);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);margin:0 0 14px;display:flex;align-items:center;gap:12px}
.rd-date::after{content:'';flex:1;height:1px;background:var(--line-2)}
.rd-card{margin:0 0 11px;padding:20px 22px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);border-left:3px solid var(--rdc,var(--acc));box-shadow:var(--shadow-sm);
  position:relative;animation:fadeIn .35s both}
.rd-sys{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:10px;display:flex;align-items:center;gap:7px}
.rd-sysdot{width:7px;height:7px;border-radius:50%;background:var(--rdc,var(--acc));flex:0 0 auto}
.rd-text{font-family:var(--disp);font-weight:400;font-size:16.5px;line-height:1.62;color:var(--ink-2)}
.rd-text p{margin:0 0 12px}.rd-text p:last-child{margin:0}
.rd-share{margin-top:14px;color:var(--mut);font-size:13px;font-weight:600;padding:6px 0 0;display:inline-flex;align-items:center;gap:6px}
.rd-share:hover{color:var(--ink)}
.rd-empty{text-align:center;padding:46px 20px;color:var(--mut)}
.rd-empty .em{font-size:42px}
.rd-empty h3{font-family:var(--disp);font-weight:600;font-size:21px;margin:14px 0 8px;color:var(--ink)}
.rd-empty p{font-size:15px;line-height:1.5;margin:0;max-width:30ch;margin-left:auto;margin-right:auto}
.ma-item{display:flex;flex-direction:column}
.ma-readings{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--acc-ink);
  margin:7px 0 0 6px;padding:3px 2px}
.ma-readings:hover{color:var(--acc)}

/* error / toast */
.errcard{margin:auto;text-align:center;padding:34px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);max-width:420px;box-shadow:var(--shadow)}
.errcard .em{font-size:40px}
.errcard h3{font-family:var(--disp);font-weight:600;margin:14px 0 8px;color:var(--ink)}
.errcard p{color:var(--mut);font-size:15px;margin:0 0 20px;line-height:1.5}
.toast{position:fixed;left:calc((100% - env(safe-area-inset-right) + env(safe-area-inset-left)) / 2);bottom:28px;transform:translate(-50%,30px);z-index:50;
  background:#1d1a33;color:var(--ink,#F4ECD8);border:1px solid rgba(201,162,71,.28);padding:11px 18px;border-radius:999px;font-size:14px;font-weight:500;
  width:max-content;max-width:min(440px,calc(100% - 32px - env(safe-area-inset-right)));display:flex;align-items:center;gap:14px;
  box-shadow:0 10px 30px -10px rgba(0,0,0,.6);opacity:0;transition:.28s;pointer-events:none;touch-action:pan-y}
.toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.toast .tu{background:none;border:0;color:#C9A247;font:700 14px var(--body);padding:6px 4px;min-height:32px;cursor:pointer}
/* Mike's toast rule (feedback-toasts-undo-alerts-all): a compact dark pill in theme colours, centred in the content
   column, 3s (6s with Undo), tap or swipe to dismiss, never carried across a screen change */
body.has-nav .toast{bottom:calc(84px + env(safe-area-inset-bottom))}   /* clear the docked bottom bar on phones */

.center-load{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:var(--mut)}
.spinring{width:40px;height:40px;border-radius:50%;border:3px solid #00000010;border-top-color:var(--acc);animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

.footnote{text-align:center;color:var(--faint);font-size:13px;margin:36px 0 6px}
.restart{margin-top:8px}
@media(max-width:380px){.ptable{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}}

/* gate */
.gate-wrap{max-width:440px;margin:0 auto;text-align:center;padding:6vh 4px 0}
.gate-badge{font-family:var(--body);font-weight:600;font-size:15px;letter-spacing:0;margin-bottom:12px}
.gate-h{font-family:var(--disp);font-weight:600;font-size:clamp(27px,6.6vw,38px);line-height:1.1;letter-spacing:-.01em;margin-bottom:18px;color:var(--ink)}
.gate-tease{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 auto 20px;max-width:280px;filter:blur(1px);opacity:.7}
.gtile{aspect-ratio:1;border:1px solid var(--line-2);border-radius:12px;background:var(--surface)}
#gate .gate-tease{max-width:232px;margin-bottom:14px}
#gate .gate-tease .gtile:nth-child(n+5){display:none}
#gate .gate-h{margin-bottom:12px}
#gate .gate-sub{margin-bottom:14px}
.gate-lock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;filter:none}
.gate-sub{color:var(--mut);font-size:15.5px;line-height:1.55;margin-bottom:20px}
.gate-form{display:flex;flex-direction:column;gap:10px}
.gate-form input{background:var(--surface);border:1px solid var(--line-2);color:var(--ink);font:inherit;font-size:16px;padding:15px 16px;border-radius:13px;outline:none;width:100%;box-shadow:var(--shadow-sm)}
.gate-form input:focus{border-color:var(--acc)}
.su-more{text-align:left;font-size:13px;color:var(--mut)}
.su-more summary{cursor:pointer;list-style:none;padding:2px 2px;color:var(--acc-ink)}
.su-more summary::-webkit-details-marker{display:none}
.su-more summary span{color:var(--mut)}
.su-more[open] summary{margin-bottom:8px}
.su-extra{display:flex;gap:8px;flex-wrap:wrap}
.su-extra label{flex:1 1 110px;display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--mut);text-align:left}
.su-extra label.wide{flex:2 1 160px}
.su-photo{display:flex;align-items:center;gap:10px;text-align:left;padding:8px 10px;border:1px dashed rgba(201,162,71,.55);border-radius:14px}
.su-pv{flex:none;width:38px;height:38px;border-radius:50%;background:#221e3a;display:flex;align-items:center;justify-content:center;font-size:17px;overflow:hidden}
.su-pvx{width:64px;height:64px}
.su-pt{flex:1 1 auto;min-width:0;font-size:13.5px;line-height:1.3;color:var(--ink)}
.su-pt i{font-style:normal;color:var(--mut)}
.su-pt small{display:block;font-size:12px;color:var(--mut)}
.su-photo .btn{flex:none;width:auto;padding:8px 14px;font-size:13px}
.gate-named{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:var(--mut);text-align:left;padding:2px 2px}
.gate-named b{color:var(--ink)}
.gate-named button{background:none;border:0;color:var(--acc-ink);font:inherit;font-size:13px;cursor:pointer;padding:4px}
#namefirst .nf-wrap{max-width:440px;margin:0 auto;padding-top:6vh;text-align:center}
#namefirst h1,#namefirst h2{font-family:var(--disp);font-weight:600;font-size:clamp(27px,6.6vw,36px);line-height:1.12;margin:0 0 10px;color:var(--ink)}
#namefirst p{color:var(--mut);font-size:15.5px;line-height:1.5;margin:0 0 22px}
@media (max-height:450px) and (orientation:landscape){#namefirst .nf-wrap{padding-top:16px!important}#namefirst h1{font-size:26px;margin-bottom:6px}#namefirst p{margin-bottom:14px}}
@media (max-height:450px) and (orientation:landscape) and (min-width:600px){#namefirst .nf-wrap{max-width:820px!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;align-items:start!important}#namefirst .nf-wrap>div.gate-form{align-self:start!important}#namefirst .nf-wrap p{text-wrap:balance}#namefirst .nf-wrap div:has(>#nfFirst){flex-direction:column}#namefirst .nf-wrap p{margin-bottom:8px}}   /* phone sideways: the form's top lines up with the headline and the helper no longer wraps in a narrow column (gate layout-phone-landscape 07:41 + 07:59); First name and Last name stack in the form column so both show in full and the headline keeps a wide column (g20 08:26, g21 08:59) */
/* Duo unfolded / iPad (product 2026-11-01, layout only): heading + copy on the left, the form on the right */
@media (min-width:600px){#namefirst .nf-wrap{max-width:760px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:40px;align-items:center;text-align:left;padding-top:12vh}#namefirst .nf-wrap>.nf-ref{grid-column:1;grid-row:1;align-self:end}#namefirst .nf-wrap>.nf-what{grid-column:1;grid-row:2;align-self:end;margin-bottom:6px!important}#namefirst .nf-wrap>.nf-q{grid-column:1;grid-row:3;align-self:end}#namefirst .nf-wrap>p:not(.nf-ref):not(.nf-what){grid-column:1;grid-row:4;align-self:start;margin-bottom:0}#namefirst .nf-wrap>.gate-form{grid-column:2;grid-row:1/span 4}}
/* Human Architecture: personalized hero blocks (new blocks only).
   Uses HA's own tokens from :root in public/index.html. The home is dark-only
   (no prefers-color-scheme rules in the SPA), so there is no light block here;
   every colour comes from a token, so a future light theme would follow.
   --gold is not defined in index.html; the fallback is the same one p.nf-ref uses. */

/* ── Sky chip: live sky line above the h1 (sky arm only; never with the eyebrow) ── */
#namefirst .hp-sky{
  display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 8px;
  margin:0 0 12px;
  font-family:var(--body,'Inter',system-ui,sans-serif);
  font-size:13px;line-height:1.35;letter-spacing:.01em;
  color:var(--mut,#9a93b0);
  font-variant-numeric:tabular-nums;
}
#namefirst .hp-sky .hp-glyph{
  font-size:15px;line-height:1;
  color:var(--gold,#C9A247);
  opacity:.92;
}
#namefirst .hp-sky .hp-sep{color:var(--faint,#918ba5);opacity:.55}
#namefirst .hp-sky .hp-city{color:var(--faint,#918ba5)}

/* ── Proof line: one quiet count under the button, inside .gate-form ──
   #namefirst p sets 15.5px and a 22px bottom margin, so the override is id-scoped. */
#namefirst .gate-form .hp-proof{
  margin:0;
  font-size:13px;line-height:1.4;
  color:var(--mut,#9a93b0);
  text-align:center;
  font-variant-numeric:tabular-nums;
}
#namefirst .gate-form .hp-proof b{font-weight:600;color:var(--ink-2,#d8d1e6)}

/* ── Two-column layout (matches the existing #namefirst grid at >=600px) ──
   The chip takes the eyebrow's cell (row 1); they never render together. */
@media (min-width:600px){
  #namefirst .nf-wrap>.hp-sky{grid-column:1;grid-row:1;align-self:end;justify-self:start;margin:0 0 10px}

  /* REQUIRED FIX, pre-existing (found 2026-11-06 while mocking): the live grid rule
     `#namefirst .nf-wrap>p:not(.nf-ref):not(.nf-what)` puts BOTH p.nf-sub and the
     "Your name goes on your map" paragraph in row 4, so they overlap on desktop today.
     Every arm leans on the sub, so give it its own row and shift the rest down one.
     Selectors are one step more specific than the live ones, so load order does not matter. */
  #namefirst .nf-wrap>p.nf-sub:not(.nf-ref):not(.nf-what){grid-column:1;grid-row:3;align-self:end;margin:4px 0 0}
  #namefirst .nf-wrap>h2.nf-q{grid-column:1;grid-row:4;align-self:end}
  #namefirst .nf-wrap>p:not(.nf-ref):not(.nf-what):not(.nf-sub){grid-column:1;grid-row:5;align-self:start;margin-bottom:0}
  #namefirst .nf-wrap>div.gate-form{grid-column:2;grid-row:1/span 5}
}

/* ── Short landscape phones (same query the product uses) ── */
@media (max-height:450px) and (orientation:landscape){
  #namefirst .hp-sky{margin-bottom:6px;font-size:12.5px}
  #namefirst .gate-form .hp-proof{font-size:12.5px}
}

/* hp1 on partner match landings (#entry): the same sky line and proof blocks, centered under the pin's promise and the Begin button */
#entry .hp-sky{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 8px;margin:-4px 0 18px;font-family:var(--body,'Inter',system-ui,sans-serif);font-size:13px;line-height:1.35;letter-spacing:.01em;color:var(--mut,#9a93b0);font-variant-numeric:tabular-nums}
#entry .hp-sky .hp-glyph{font-size:15px;line-height:1;color:var(--gold,#C9A247);opacity:.92}
#entry .hp-sky .hp-sep{color:var(--faint,#918ba5);opacity:.55}
#entry .hp-proof{margin:12px 0 0;font-size:13px;line-height:1.4;color:var(--mut,#9a93b0);text-align:center;font-variant-numeric:tabular-nums}
#entry .hp-proof b{font-weight:600;color:var(--ink-2,#d8d1e6)}
/* the sky chip yields to a pin, lander or friend line in #nfRef */
#namefirst .nf-ref:not([style*="display:none"]):not([style*="display: none"]) ~ .hp-sky{display:none}
.qinter{text-align:center;padding:4px 2px 0}
.qinter .qi-ic{font-size:40px;line-height:1;margin-bottom:12px}
.qinter h2{font-family:var(--disp);font-weight:600;font-size:clamp(24px,6vw,32px);line-height:1.15;margin:0 0 10px;color:var(--ink)}
.qinter p{color:var(--mut);font-size:15.5px;line-height:1.5;margin:0 auto 18px;max-width:30em}
.qinter ul{list-style:none;padding:0;margin:0 auto 22px;max-width:360px;text-align:left;display:flex;flex-direction:column;gap:8px}
.qinter li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;line-height:1.4;color:var(--ink);background:var(--surface);border:1px solid var(--line-2);border-radius:12px;padding:10px 12px}
.qinter li span{flex:none;width:22px;text-align:center}
.qinter .btn{max-width:360px}
.qi-mirror{font-size:14px;line-height:1.45;color:var(--acc-ink);background:var(--surface);border:1px solid var(--line-2);border-radius:12px;padding:10px 12px;margin:0 auto 18px;max-width:360px}
#goalfirst .nf-wrap{max-width:440px;margin:0 auto;padding-top:5vh;text-align:center}
#goalfirst h1,#goalfirst h2,#dailytime h2{font-family:var(--disp);font-weight:600;font-size:clamp(27px,6.6vw,36px);line-height:1.12;margin:0 0 8px;color:var(--ink)}
#goalfirst p,#dailytime p{color:var(--mut);font-size:15px;line-height:1.5;margin:0 0 20px}
.goal-opts{display:flex;flex-direction:column;gap:10px}
.goal-opts .ans{justify-content:flex-start}
.gate-proof{font-size:13.5px;line-height:1.45;color:var(--mut);margin:0 0 12px}
.gate-proof b{color:var(--ink);font-weight:600}
.gate-locked{list-style:none;padding:0;margin:0 auto 8px;max-width:360px;display:flex;flex-direction:column;gap:4px;text-align:left}
.gate-locked li{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line-2);border-radius:10px;padding:4px 10px;font-size:13.5px;line-height:1.3;color:var(--ink)}
.gate-locked li .k{flex:none}
.gate-locked li .t{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gate-locked li .v{flex:0 1 auto;filter:blur(5px);user-select:none;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:36%}
.gen-ask{margin:22px auto 0;max-width:340px;text-align:left;background:var(--surface);border:1px solid var(--line-2);border-radius:14px;padding:14px}
.gen-ask label{display:block;font-size:14px;color:var(--ink);margin:0 0 8px}
.gen-ask input{width:100%;background:var(--bg,#0d0b18);border:1px solid var(--line-2);color:var(--ink);font:inherit;font-size:16px;padding:12px 14px;border-radius:12px;color-scheme:light}
.gen-ask .row{display:flex;gap:8px;margin-top:10px;align-items:center}
.gen-ask .row .btn{width:auto;flex:1 1 auto;padding:11px 16px;font-size:15px}
.gen-ask .row .linkbtn{flex:none;background:none;border:0;color:var(--mut);font:inherit;font-size:14px;cursor:pointer;padding:8px}
.gen-ask .ga-why{margin:0 0 10px;padding:0 0 0 18px;font-size:13px;line-height:1.45;color:var(--mut)}
.gen-ask .ga-priv{font-size:12px;color:var(--mut);margin-top:6px}
.gen-ask .err{color:#e88;font-size:13px;min-height:16px;margin-top:6px}
#joinfriend .nf-wrap{max-width:440px;margin:0 auto;padding-top:4vh;text-align:center}
.jf-who{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:10px}.jf-av{width:72px;height:72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--surface-2);border:2px solid var(--acc);font:600 28px/1 var(--disp);color:var(--ink)}.jf-av img{width:100%;height:100%;object-fit:cover}
.jf-k{font:600 11px/1 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--acc-ink)}
#joinfriend .gate-form{display:flex;flex-direction:column;gap:8px;text-align:left}#joinfriend label.jl{font-size:12px;color:var(--mut);margin:4px 2px 0}
#joinfriend .jf-row{display:flex;gap:8px}#joinfriend .jf-row input{flex:1;min-width:0}
#joinfriend .jm-score{font-family:var(--disp);font-size:72px;line-height:1;font-weight:600;color:var(--ink);margin:14px 0 6px}#joinfriend .jm-score small{font-size:32px;margin-left:2px;color:var(--mut)}
#joinfriend .jm-pair{font-size:16px;color:var(--ink);margin:0 0 10px}#joinfriend .jm-note{font-size:15px;color:var(--ink-2,#d8d1e6);margin:0 0 6px}#joinfriend .jm-next{font-size:15px;color:var(--mut);margin:16px 0 14px}
#joinfriend .jm-mini{font-size:14px;color:var(--acc-ink,#E9C46A);margin:-4px 0 12px}
#dailytime .nf-wrap,#birthcity .nf-wrap{max-width:440px;margin:0 auto;padding-top:6vh;text-align:center}
.gate-err{color:var(--bad);font-size:13px;min-height:16px}
.gate-err.nudge{animation:errNudge .32s ease}@keyframes errNudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@media (prefers-reduced-motion:reduce){.gate-err.nudge{animation:none}}
.gate-form input.need{border-color:var(--acc)!important;box-shadow:0 0 0 3px rgba(217,119,87,.25)}
.gate-form .gate-hint{font-size:12.5px;color:var(--acc-ink,var(--acc));text-align:left;margin:-2px 2px 8px;line-height:1.35}
/* sign-up text box outside +1 (Fable spec 11-18, claude.ai/artifact/6dmJ6yRMTxtU5SDiP3FPtN): the box goes, one quiet line takes its place */
label.tx-out{display:none!important}
.tx-note{margin:2px 2px 8px;font-size:12.5px;line-height:1.45;color:var(--mut);text-align:left;animation:txNote .16s ease-out}
.tx-note:empty{display:none}
@keyframes txNote{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.tx-note{animation:none}}
.gate-priv{color:var(--faint);font-size:12.5px;margin-top:14px}
.gate-consent{color:var(--mut);font-size:12.5px;margin:12px 2px 0;text-align:left;line-height:1.4}
.sc-consent{color:var(--mut);font-size:12px;margin:8px 0 2px;line-height:1.4}
.capture.saved{text-align:center}
/* Pinterest A/B — soft-capture card injected atop the reveal (value-first cohort) */
.soft-capture{background:var(--surface);border:1px solid var(--line-2);border-radius:16px;padding:18px 16px;margin:0 0 18px;box-shadow:var(--shadow-sm)}
.soft-capture .sc-h{font-weight:700;font-size:16px;margin-bottom:5px}
.soft-capture .sc-sub{color:var(--mut);font-size:13.5px;line-height:1.45;margin-bottom:12px}
.soft-capture .sc-form{display:flex;flex-direction:column;gap:9px}
.soft-capture .sc-form input{background:var(--bg);border:1px solid var(--line-2);color:var(--ink);font:inherit;font-size:16px;padding:13px 14px;border-radius:12px;outline:none;width:100%}
.soft-capture .sc-form input:focus{border-color:var(--acc)}
.soft-capture .sc-form .btn{color:#fff;font-weight:700}
.soft-capture .sc-priv{color:var(--faint);font-size:12px;margin-top:10px}

/* keyboard hint */
.kbd-hint{text-align:center;color:#9b948a;font-size:13px;margin-top:16px}
.kbd-hint b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 4px;margin:0 1px;background:var(--surface);border:1px solid #00000018;border-bottom-width:2px;border-radius:5px;font-family:'JetBrains Mono',monospace;font-size:11px;color:#6b6358}
/* AI copy/paste block — visible so people use it */
.ai-block{display:block;margin-top:26px;padding:18px;background:var(--surface);border:1px solid #00000010;border-radius:18px;box-shadow:0 1px 2px #0000000a}
.ai-head{font-weight:700;font-size:15px;color:var(--ink,#F4ECD8);background:none;border:0;padding:12px 0;min-height:44px;width:100%;text-align:left;cursor:pointer;font-family:inherit}
#powerPanel:not(.open):not(.on) > :not(.ai-head){display:none}   /* one line under the quiz until tapped (signup test HA-14) */
.ai-desc{color:#7d766b;font-size:13.5px;line-height:1.5;margin:5px 0 14px}
.copybox{position:relative;background:rgba(255,255,255,.05);border:1px solid var(--line-2);border-radius:13px;padding:13px 14px 13px;margin-bottom:12px}
.copybox-text{margin:0;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11.5px;line-height:1.55;color:var(--mut);white-space:pre-wrap;max-height:88px;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 60%,transparent);mask-image:linear-gradient(180deg,#000 60%,transparent)}
.copybox-btn{position:absolute;right:10px;bottom:10px;background:#2b2823;color:#fff;border:none;font:inherit;font-size:12.5px;font-weight:600;padding:8px 14px;border-radius:10px;cursor:pointer;box-shadow:0 2px 8px #0003}
.copybox-btn:hover{background:#1c1a16}
.copybox-btn.copied{background:#3a7d54}

/* ── REVEAL TABS ─────────────────────────────────────────── */
.tabbar{position:sticky;top:0;z-index:20;display:flex;gap:4px;margin:10px -20px 6px;padding:8px 20px 10px;
  background:linear-gradient(180deg,var(--bg) 72%,transparent);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 30px),transparent)}
.tabbar.at-end{-webkit-mask-image:none;mask-image:none}
.tabbar::-webkit-scrollbar{display:none}
.tab{position:relative;flex:0 0 auto;font-family:var(--body);font-weight:550;font-size:14px;letter-spacing:0;
  padding:9px 15px;border-radius:11px;color:var(--mut);background:transparent;border:1px solid transparent;
  white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.tab:hover{background:var(--surface-2);color:var(--ink-2)}
.tab.on{background:var(--surface);color:var(--ink);border-color:var(--line-2);box-shadow:var(--shadow-sm)}
.tab-new{display:inline-block;margin-left:6px;font-family:var(--mono);font-size:8px;font-weight:700;letter-spacing:.06em;
  vertical-align:middle;padding:2px 5px;border-radius:6px;background:var(--acc);color:#fff}
.tab.on .tab-new{background:var(--acc-ink)}
/* Experiments bucket */
.exp-backbar{margin:2px 0 6px}
.exp-back-btn{font-size:13.5px;font-weight:600;color:var(--acc-ink);padding:8px 2px}
.exp-grid{display:flex;flex-direction:column;gap:10px;margin:16px 0 0}
.exp-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:16px 18px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.exp-card:active{background:var(--surface-2)}
.exp-em{font-size:26px;flex:0 0 auto}
.exp-meat{flex:1;min-width:0}
.exp-t{font-family:var(--disp);font-weight:600;font-size:18px;color:var(--ink);display:block}
.exp-d{font-size:12.5px;line-height:1.4;color:var(--mut);margin-top:2px;display:block}
/* rotating "Try this experiment" CTA at the end of the reveal — surfaces experiments outside the buried tab */
.tryexp{margin:26px 0 8px}
.tryexp-inner{border:1.5px solid var(--acc-line);border-radius:18px;padding:18px;background:var(--acc-soft)}
.tryexp-badge{display:inline-block;font-family:var(--mono,'JetBrains Mono',monospace);font-size:10.5px;letter-spacing:.12em;color:var(--acc-ink);font-weight:700;margin-bottom:11px}
.tryexp-hook{font-family:var(--disp);font-size:20px;line-height:1.28;font-weight:600;color:var(--ink);margin-bottom:14px}
.tryexp-row{display:flex;align-items:center;gap:14px;margin-bottom:15px}
.tryexp-em{font-size:30px;line-height:1;flex:0 0 auto}
.tryexp-meat{display:flex;flex-direction:column;gap:3px;min-width:0}
.tryexp-t{font-family:var(--disp);font-size:18px;font-weight:600;color:var(--ink)}
.tryexp-s{font-size:13px;color:var(--mut);line-height:1.35}
.tryexp-go{display:block;width:100%;padding:13px;border:none;border-radius:12px;background:var(--acc);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.tryexp-go:active{opacity:.85}
.tryexp-micro{text-align:center;font-size:11.5px;color:var(--mut);margin-top:8px}
.tryexp-all{display:block;width:100%;padding:10px 0 2px;margin-top:6px;border:none;background:none;color:var(--mut);font-size:12.5px;cursor:pointer}
.tabpanel{display:none;animation:fadeIn .35s both}
.tabpanel.on{display:block}

/* Spirit Animal + Norse Runes (experimental) */
.sa-intro,.rn-intro{text-align:center;padding:14px 4px 6px}
.sa-emoji,.rn-emoji{font-size:44px;line-height:1;margin-bottom:8px}
.rn-emoji{font-family:'Noto Sans Runic','Segoe UI Historic',serif}
.sa-result{padding:6px 2px 2px}
.sa-hero{text-align:center;padding:22px 16px 20px;border-radius:20px;border:1px solid var(--line-2);background:var(--acc-soft);margin:8px 0 18px}
.sa-hero-em{font-size:72px;line-height:1;margin-bottom:6px}
.sa-hero-name{font-family:var(--disp);font-weight:700;font-size:27px;color:var(--ink)}
.sa-hero-tag{font-size:13px;color:var(--acc-ink);font-weight:600;letter-spacing:.02em;margin-top:4px}
.sa-blurb{font-size:15px;line-height:1.55;color:var(--ink);margin:2px 2px 16px;text-align:center}
.sa-traits{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:16px}
.sa-chip{font-size:12.5px;font-weight:600;color:var(--acc-ink);background:var(--surface);border:1px solid var(--acc-line);border-radius:999px;padding:6px 13px}
.sa-line{font-size:13.5px;line-height:1.5;color:var(--mut);text-align:center;margin:0 6px 6px}
.sa-line b{color:var(--ink)}
/* runes */
.rn-cast{display:flex;gap:10px;margin:18px 0 10px;justify-content:center}
.rn-card{flex:1;max-width:33%;border-radius:16px;border:1px solid var(--line-2);background:var(--surface);box-shadow:var(--shadow-sm);padding:16px 8px 14px;text-align:center;position:relative;overflow:hidden}
.rn-pos{font-family:var(--mono,'JetBrains Mono',monospace);font-size:9.5px;letter-spacing:.1em;color:var(--acc-ink);font-weight:700;text-transform:uppercase;margin-bottom:8px}
.rn-pos small{display:block;color:var(--mut);font-weight:600;letter-spacing:.04em;margin-top:2px;text-transform:none;font-size:9px}
.rn-glyph{font-family:'Noto Sans Runic','Segoe UI Historic',serif;font-size:46px;line-height:1;color:var(--ink);margin:4px 0 6px}
.rn-name{font-family:var(--disp);font-weight:600;font-size:15px;color:var(--ink)}
.rn-kw{font-size:11px;color:var(--mut);margin-top:2px}
.rn-back{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--acc-soft);font-family:'Noto Sans Runic','Segoe UI Historic',serif;font-size:34px;color:var(--acc-ink);opacity:.5}
.rn-read{margin:16px 0 4px}
.rn-row{display:flex;gap:12px;padding:13px 0;border-top:1px solid var(--line-2)}
.rn-row-g{font-family:'Noto Sans Runic','Segoe UI Historic',serif;font-size:26px;line-height:1;color:var(--acc-ink);flex:0 0 auto;width:30px;text-align:center}
.rn-row-b{flex:1;min-width:0}
.rn-row-t{font-weight:600;font-size:14px;color:var(--ink)}
.rn-row-p{font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--acc-ink);font-weight:700;margin-bottom:2px}
.rn-row-d{font-size:13px;line-height:1.5;color:var(--mut);margin-top:3px}
.rn-synth{font-size:15px;line-height:1.6;color:var(--ink);background:var(--acc-soft);border:1px solid var(--acc-line);border-radius:14px;padding:15px 16px;margin-top:16px}
/* rune casting animation */
.rn-stage{padding:26px 4px 10px;text-align:center;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.rn-stage-cap{font-family:var(--disp);font-size:17px;color:var(--mut);margin-bottom:26px;min-height:24px;transition:opacity .3s;letter-spacing:.01em}
.rn-stones{display:flex;gap:12px;justify-content:center;perspective:600px}
.rn-stone{width:82px;height:104px;border-radius:16px;border:1px solid var(--acc-line);background:linear-gradient(160deg,var(--surface),var(--acc-soft));box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.rn-stone .rn-sg{font-family:'Noto Sans Runic','Segoe UI Historic',serif;font-size:40px;line-height:1;color:var(--acc-ink);opacity:.55}
.rn-stone.shaking{animation:rnShake .5s ease-in-out infinite}
.rn-stone.shaking .rn-sg{animation:rnFlick .09s steps(1) infinite}
.rn-stone.locked{animation:rnLock .55s cubic-bezier(.2,1.3,.4,1) both;border-color:var(--acc)}
.rn-stone.locked .rn-sg{opacity:1;color:var(--ink)}
.rn-stone .rn-slabel{position:absolute;bottom:6px;left:0;right:0;font-family:var(--mono,'JetBrains Mono',monospace);font-size:8.5px;letter-spacing:.08em;color:var(--acc-ink);font-weight:700;opacity:0;transition:opacity .35s}
.rn-stone.locked .rn-slabel{opacity:1}
.rn-stone.locked::after{content:"";position:absolute;inset:0;border-radius:16px;box-shadow:0 0 22px 3px var(--acc-line);animation:rnGlow .6s ease-out both;pointer-events:none}
.rn-stones.shimmer .rn-stone{animation:rnFloat 1.1s ease-in-out infinite}
.rn-stones.shimmer .rn-stone:nth-child(2){animation-delay:.15s}
.rn-stones.shimmer .rn-stone:nth-child(3){animation-delay:.3s}
@keyframes rnShake{0%,100%{transform:translateY(0) rotate(-3deg)}25%{transform:translateY(-7px) rotate(2deg)}50%{transform:translateY(2px) rotate(-2deg)}75%{transform:translateY(-4px) rotate(3deg)}}
@keyframes rnFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes rnFlick{0%{opacity:.35}100%{opacity:.7}}
@keyframes rnLock{0%{transform:scale(.7) rotateY(90deg)}60%{transform:scale(1.12) rotateY(0)}100%{transform:scale(1) rotateY(0)}}
@keyframes rnGlow{0%{opacity:.9}100%{opacity:0}}
.rn-card.pop{animation:rnPop .5s cubic-bezier(.2,1.2,.4,1) both}
.rn-card.pop:nth-child(2){animation-delay:.09s}
.rn-card.pop:nth-child(3){animation-delay:.18s}
@keyframes rnPop{0%{opacity:0;transform:translateY(10px) scale(.94)}100%{opacity:1;transform:none}}

/* calm decoding state for analysis tabs */
.decode{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;
  padding:64px 10px;color:var(--mut);text-align:center}
.decode .spinring{width:36px;height:36px}
.decode .dt{font-family:var(--disp);font-weight:500;font-size:20px;color:var(--ink-2)}
.decode .ds{font-size:14px;color:var(--mut)}

/* analysis shared bits */
.an-head{font-family:var(--disp);font-weight:500;font-size:clamp(20px,5.2vw,26px);line-height:1.25;
  letter-spacing:-.005em;margin:8px auto 0;max-width:26ch;text-align:center;color:var(--ink)}
.an-sum{margin:16px auto 4px;text-align:center;font-size:16px;line-height:1.55;color:var(--ink-2)}
/* reflection note: a reading built from the quiz alone says so before anything else (logic audit Decision 4; Fable design 11-11).
   A quiet inset with a mono label, the same label-plus-line shape as .hc-try, left-aligned so it reads as a note and not as the headline. */
.an-refl{display:flex;flex-direction:column;gap:4px;margin:0 0 18px;padding:12px 14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);text-align:left}
.an-refl b{font-family:var(--mono);font-size:10.5px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);font-weight:600}
.an-refl span{font-size:13.5px;line-height:1.5;color:var(--ink-2)}

/* meta-mystical sections */
.mm-arch{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(26px,7vw,38px);
  line-height:1.06;text-align:center;margin:8px 0 0;color:var(--ink)}
.mm-chart{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 4px;margin:14px auto 0;
  font-size:14.5px;color:var(--ink-2)}
.mm-chart-part{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.mm-chart-g{font-size:17px;color:var(--L3);line-height:1}
.mm-chart-sep{color:var(--faint);margin:0 2px}
.mm-chart-missing{color:var(--mut);font-weight:450;font-style:italic}
.mm-systems{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:18px 0 4px}
.mm-sys{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:11px;font-size:13px;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.mm-sys b{font-weight:600;color:var(--ink)}.mm-sys span{color:var(--mut)}
/* aud6: chart accuracy notes (Fable design pass 11-11) */
.mm-sys em{font-style:italic;font-size:11.5px;color:var(--faint);padding-left:7px;border-left:1px solid var(--line-2)}
.mm-sys-link{text-decoration:none;cursor:pointer}
.mm-sys-link span{color:var(--acc-ink);text-decoration:underline;text-underline-offset:2px}
.mm-sys-link:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.mm-sys-note{margin:6px auto 0;max-width:46ch;text-align:center;font-size:12.5px;line-height:1.5;color:var(--mut)}
.mm-card{margin:14px 0 0;padding:20px 22px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow);position:relative;overflow:hidden}
.mm-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--L3)}
.mm-n{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--faint)}
.mm-title{font-family:var(--disp);font-weight:600;font-size:18.5px;line-height:1.2;margin:5px 0 4px;color:var(--ink)}
.mm-tag{font-family:var(--mono);font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:11px}
.mm-body{font-size:16.5px;line-height:1.66;color:var(--ink-2)}.mm-body p{margin:0 0 12px}.mm-body p:last-child{margin:0}

/* soul sigil */
.sigil-card{margin:30px 0 0;padding:24px 22px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow);text-align:center;position:relative;overflow:hidden}
.sigil-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--L3)}
.sigil-kicker{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:8px}
.sigil-title{font-family:var(--disp);font-weight:600;font-size:21px;line-height:1.15;margin:0 0 6px;color:var(--ink)}
.sigil-sub{color:var(--mut);font-size:14px;line-height:1.5;margin:0 0 16px}
.sigil-img{width:100%;max-width:340px;aspect-ratio:1;margin:0 auto 4px;border-radius:16px;
  background:var(--surface-2);border:1px solid var(--line-2);display:block;object-fit:cover}
.sigil-load{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  padding:34px 10px;color:var(--mut)}
.sigil-load .spinring{width:34px;height:34px}
.sigil-load .sl-t{font-family:var(--disp);font-weight:500;font-size:18px;color:var(--ink-2)}
.sigil-load .sl-s{font-size:13.5px;color:var(--mut)}

/* birth form */
.birth{max-width:380px;margin:8px auto 0;padding:24px 22px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow)}
.birth h4{font-family:var(--disp);font-weight:600;font-size:19px;margin:0 0 6px;color:var(--ink);text-align:center}
.birth p{color:var(--mut);font-size:14px;margin:0 0 16px;line-height:1.5;text-align:center}
.birth label{display:block;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--mut);margin:0 0 6px}
.birth .fld{margin-bottom:13px}
.birth input{width:100%;padding:13px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);
  color:var(--ink);font-size:15px;box-shadow:var(--shadow-sm)}
.birth input:focus{outline:none;border-color:var(--acc)}
.birth .err{color:var(--bad);font-size:13px;min-height:16px;margin:2px 0 8px}

/* core beliefs */
.cb-grid{display:flex;flex-direction:column;gap:11px;margin:6px 0 0}
.cb-card{padding:16px 18px;border-radius:15px;background:var(--surface);border:1px solid var(--line-2);
  border-left:3px solid var(--L4);box-shadow:var(--shadow-sm)}
.cb-cat{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:6px}
.cb-belief{font-family:var(--disp);font-weight:500;font-size:17px;line-height:1.3;color:var(--ink);margin:0 0 5px}
.cb-sum{font-size:14px;line-height:1.5;color:var(--mut)}
.lb-card{padding:15px 17px;border-radius:15px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.lb-bad{font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.lb-bad .x{color:var(--bad);font-weight:600;margin-right:6px}
.lb-good{font-size:14.5px;line-height:1.45;color:var(--ink-2);margin-top:9px;padding-top:11px;border-top:1px solid var(--line-2)}
.lb-good .a{color:var(--good);font-weight:600;margin-right:6px}
.ready{display:flex;flex-direction:column;gap:14px;margin:6px 0 0}
.ready-row .rl{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:7px}
.ready-row .rn{font-size:14.5px;font-weight:550;color:var(--ink)}
.ready-row .rv{font-family:var(--mono);font-size:13px;color:var(--mut)}
.ready-bar{height:9px;border-radius:99px;background:#00000010;overflow:hidden}
.ready-bar>i{display:block;height:100%;width:0;border-radius:99px;background:var(--acc);transition:width 1s cubic-bezier(.2,.7,.2,1)}
/* Big Five / DISC score rows */
.score-row{margin:18px 0 0}
.score-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px 12px;margin:0 0 7px;flex-wrap:wrap}
.score-name{font-family:var(--body);font-weight:600;font-size:15px;color:var(--ink);flex:1 1 auto;min-width:0}
.score-name .sc-tag{font-family:var(--mono);font-weight:500;font-size:10px;letter-spacing:.03em;color:var(--mut);margin-left:9px;text-transform:uppercase}
.score-val{font-family:var(--mono);font-size:12px;color:var(--mut);white-space:nowrap;flex:0 0 auto}
.score-val b{color:var(--ink)}
.score-bar{height:10px;border-radius:99px;background:#00000010;overflow:hidden}
.score-bar>i{display:block;height:100%;width:0;border-radius:99px;background:var(--acc);transition:width 1.1s cubic-bezier(.2,.7,.2,1)}
.score-blurb{font-family:var(--body);font-size:13.5px;line-height:1.55;color:var(--ink-2);margin:8px 0 0}
.disc-type{font-family:var(--disp);font-weight:500;font-size:clamp(22px,6vw,30px);line-height:1.1;color:var(--acc-ink);margin:2px 0 6px}
.an-foot{font-family:var(--body);font-size:13.5px;line-height:1.55;color:var(--ink-2);margin:22px 0 0;padding:16px 18px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line-2)}
.an-foot b{color:var(--ink);font-weight:600}
/* Chinese / Mayan cards */
.zx-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 4px}
@media(max-width:520px){.zx-grid{grid-template-columns:1fr}}
.zx-card{padding:14px 16px;border-radius:14px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.zx-k{font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--acc-ink);margin:0 0 5px}
.zx-v{font-family:var(--disp);font-size:19px;color:var(--ink);margin:0 0 4px}
.zx-b{font-family:var(--body);font-size:12.5px;line-height:1.5;color:var(--mut)}
.zx-n{margin-top:6px;font-style:italic;color:var(--faint)}
/* Relationship tools: Between Us + Ask (under a comparison) */
.rel-card{margin:16px 0 0;padding:20px 20px;border-radius:18px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.rel-k{font-family:var(--mono);font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--acc-ink);margin:0 0 10px;font-weight:600}
.rel-sub{font-family:var(--body);font-size:13px;line-height:1.5;color:var(--mut);margin:0 0 12px}
.rel-q{font-family:var(--disp);font-weight:500;font-size:clamp(18px,4.6vw,22px);line-height:1.32;color:var(--ink);margin:0 0 14px}
.rel-load{display:flex;align-items:center;gap:11px;color:var(--mut);font-family:var(--body);font-size:14px}
.rel-askrow{display:flex;gap:9px}
.rel-askrow input{flex:1;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface-2);font-family:var(--body);font-size:15px;color:var(--ink)}
.rel-askrow input:focus{outline:none;border-color:var(--acc-line);background:var(--surface)}
.rel-askrow .btn{width:auto;flex:0 0 auto;padding:12px 20px;font-size:15px}
.rel-chips{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0 0}
.rel-chip{font-family:var(--body);font-size:12.5px;font-weight:500;padding:6px 12px;border-radius:99px;background:var(--acc-soft);color:var(--acc-ink);border:1px solid var(--acc-line);cursor:pointer}
.rel-chip:hover{background:var(--surface)}
.rel-out{margin:14px 0 0}
.rel-answer{font-family:var(--body);font-size:14.5px;line-height:1.62;color:var(--ink-2)}
.rel-answer p{margin:0 0 12px}.rel-answer p:last-child{margin-bottom:0}
.rel-err{font-family:var(--body);font-size:13.5px;color:var(--bad)}
.bu-inrow{display:flex;flex-direction:column;gap:9px}
.bu-inrow textarea{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface-2);font-family:var(--body);font-size:15px;line-height:1.5;color:var(--ink);resize:vertical}
.bu-inrow textarea:focus{outline:none;border-color:var(--acc-line);background:var(--surface)}
.bu-inrow .btn{align-self:flex-start}
.bu-your{font-family:var(--body);font-size:14.5px;line-height:1.55;color:var(--ink-2);padding:12px 14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line-2)}
.bu-lab{display:block;font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);margin:0 0 4px}
.bu-wait{font-family:var(--body);font-size:13px;color:var(--acc-ink);margin:10px 0 0}
.bu-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.bu-answers{grid-template-columns:1fr}}
.bu-ans{padding:14px 16px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line-2)}
.bu-ans.mine{background:var(--acc-soft);border-color:var(--acc-line)}
.bu-who{font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--acc-ink);margin:0 0 5px}
.bu-txt{font-family:var(--body);font-size:14.5px;line-height:1.5;color:var(--ink)}
/* Between Us — Friends card + dedicated hub + play view */
.fr-bu-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;margin:0 0 18px;padding:16px 18px;border-radius:16px;background:linear-gradient(165deg,var(--acc-soft),var(--surface) 75%);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm)}
.fr-bu-card:active{filter:brightness(.98)}
.fr-bu-ic{font-size:26px;flex:0 0 auto}
.fr-bu-meat{flex:1;min-width:0}
.fr-bu-t{font-family:var(--disp);font-weight:600;font-size:18px;color:var(--ink);display:block}
.fr-bu-count{font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#fff;background:var(--acc);padding:2px 7px;border-radius:99px;margin-left:6px;vertical-align:middle}
.fr-bu-count:empty{display:none}
.fr-bu-s{font-size:12.5px;line-height:1.4;color:var(--mut);margin-top:2px;display:block}
.bu-hublist{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.bu-friend{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:14px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.bu-friend:active{background:var(--surface-2)}
.bu-fic{font-size:22px;flex:0 0 auto}
.bu-fmeat{flex:1;min-width:0}
.bu-fname{font-weight:600;font-size:16px;color:var(--ink);display:block}
.bu-fq{font-size:12.5px;line-height:1.4;color:var(--mut);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0 7px}
.bu-badge{display:inline-block;font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:99px}
.bu-badge.yourturn{background:var(--acc);color:#fff}
.bu-badge.waiting{background:var(--surface-2);color:var(--mut);border:1px solid var(--line-2)}
.bu-badge.revealed{background:rgba(63,155,110,.15);color:var(--good)}
.bu-empty{text-align:center;padding:40px 20px;color:var(--mut)}
.bu-empty .em{font-size:44px}
.bu-empty p{font-size:15px;line-height:1.5;margin:14px auto 0;max-width:32ch}
.bu-play{margin-top:10px;padding:22px 20px;border-radius:18px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.bu-play .rel-q{font-size:clamp(20px,5.4vw,25px)}
.bu-back-tomorrow{text-align:center;font-size:12.5px;color:var(--mut);margin:16px 0 0}
.bu-invite-foot{display:block;width:100%;margin:16px 0 0;padding:14px;border-radius:14px;border:1px dashed var(--acc-line);background:var(--acc-soft);color:var(--acc-ink);font-weight:600;font-size:14px}
.bu-invite-foot:active{filter:brightness(.98)}
.fr-ask-card{background:linear-gradient(165deg,rgba(126,143,198,.16),var(--surface) 75%);border-color:var(--line-2)}
.fr-match-card{background:linear-gradient(165deg,rgba(200,120,150,.13),var(--surface) 75%);border-color:#EFC6D8}
/* Matches screen */
.mt-optin{text-align:center;padding:24px 10px}
.mt-optin-ic{font-size:48px;margin:0 0 8px}
.mt-optin-h{font-family:var(--disp);font-weight:600;font-size:clamp(22px,6vw,28px);line-height:1.2;color:var(--ink);margin:0 0 12px}
.mt-optin-p{font-size:15px;line-height:1.6;color:var(--ink-2);margin:0 auto 20px}
.mt-on{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px;padding:11px 14px;border-radius:12px;background:rgba(63,155,110,.12);border:1px solid rgba(63,155,110,.32)}
.mt-on-lab{font-size:13px;font-weight:600;color:var(--good)}
.mt-off{font-size:13px;font-weight:600;color:var(--mut);padding:4px 8px}
.mt-off:hover{color:var(--bad)}
.mt-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.mt-card{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:14px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);cursor:pointer}
.mt-card:active{background:var(--surface-2)}
.mt-pct{flex:0 0 auto;font-family:var(--disp);font-weight:600;font-size:26px;line-height:1;min-width:52px}
.mt-pct span{font-size:13px;font-weight:500}
.mt-meat{flex:1;min-width:0}
.mt-name{font-weight:600;font-size:16px;color:var(--ink)}
.mt-arch{font-size:12.5px;line-height:1.4;color:var(--mut);margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mt-wave{flex:0 0 auto;font-size:13px;font-weight:600;padding:9px 13px;border-radius:11px;background:var(--acc);color:#fff}
.mt-wave.waved{background:var(--surface-2);color:var(--good);border:1px solid rgba(63,155,110,.32)}
.mt-wave:active{filter:brightness(.97)}

/* ── SHARE / INVITE SHEET ─────────────────────────────────── */
.sheet-mask{position:fixed;inset:0;z-index:60;background:rgba(31,30,28,.34);opacity:0;pointer-events:none;
  transition:opacity .25s;backdrop-filter:blur(2px)}
.sheet-mask.on{opacity:1;pointer-events:auto}
/* the sign-in card sits on a solid backdrop (product 2026-11-01): the page behind it doesn't show through */
body:has(#loginModal.on) .sheet-mask{background:rgba(10,9,18,.94)}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:61;max-width:520px;margin:0 auto;
  background:var(--surface);border-radius:22px 22px 0 0;box-shadow:0 -10px 40px -12px rgba(0,0,0,.28);
  padding:8px 20px calc(24px + env(safe-area-inset-bottom)) 20px;
  transform:translateY(110%);transition:transform .3s cubic-bezier(.2,.7,.2,1);max-height:88dvh;overflow-y:auto}
.sheet.on{transform:translateY(0)}
.sheet-grip{width:38px;height:4px;border-radius:99px;background:#00000018;margin:8px auto 14px}
.sheet-x{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);background:var(--surface);color:var(--ink-2);font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2}
.sheet h3{font-family:var(--disp);font-weight:600;font-size:21px;margin:0 0 4px;color:var(--ink);text-align:center}
.sheet .sub{color:var(--mut);font-size:14px;text-align:center;margin:0 0 18px;line-height:1.5}
.sheet-opt{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:15px 16px;border-radius:14px;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);margin-bottom:11px;transition:background .15s,border-color .15s}
.sheet-opt:hover{background:var(--surface-2);border-color:#00000022}
.sheet-opt .si{font-size:20px;flex:0 0 auto;width:26px;text-align:center}
.sheet-opt .st{font-weight:600;font-size:15px;color:var(--ink)}
.sheet-opt .sd{font-size:12.5px;color:var(--mut);margin-top:2px}
.sheet-row{display:flex;gap:9px;margin-bottom:11px}
.sheet-row input{flex:1;min-width:0;padding:14px 15px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);color:var(--ink);font-size:15px}
.sheet-row input:focus{outline:none;border-color:var(--acc)}
.sheet-row button{flex:0 0 auto;width:auto;padding:14px 18px;font-size:15px}
.sheet-ok{color:var(--good);font-size:14px;font-weight:600;text-align:center;padding:6px 0 4px}
.sheet-back{color:var(--mut);font-size:14px;font-weight:500;padding:8px 2px;display:inline-flex;align-items:center;gap:6px}
.invlink{font-family:var(--mono);font-size:12px;color:var(--mut);word-break:break-all;line-height:1.6;
  padding:11px 13px;border-radius:11px;background:var(--surface-2);border:1px solid var(--line-2);margin-bottom:11px}

/* invite landing banner */
.invite-banner{margin:14px 0 0;padding:15px 18px;border-radius:16px;background:var(--acc-soft);
  border:1px solid var(--acc-line);display:flex;align-items:center;gap:12px;animation:fadeIn .4s both}
.invite-banner .ie{font-size:22px;flex:0 0 auto}
.invite-banner .it{font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.invite-banner .it b{color:var(--ink)}
.btn.invite{background:var(--ink);color:var(--bg,#0a0912);box-shadow:var(--shadow-sm)}
.btn.invite:hover{filter:brightness(1.12)}
/* Follow-us-on-Instagram CTA (grows IG audience → compounding distribution) */
.ig-follow{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:13px 16px;border-radius:16px;
  background:linear-gradient(120deg,var(--acc-soft),var(--surface));border:1px solid var(--acc-line);text-decoration:none;
  box-shadow:var(--shadow-sm);transition:filter .15s,transform .1s}
.ig-follow:hover{filter:brightness(1.03)}.ig-follow:active{transform:translateY(1px)}
.ig-follow .igf-ic{font-size:22px;flex:0 0 auto}
.ig-follow .igf-t{flex:1;font-size:14.5px;color:var(--ink);line-height:1.35}
.ig-follow .igf-t b{color:var(--acc)}
.ig-follow .igf-s{font-size:12.5px;color:var(--mut)}
.ig-follow .igf-arrow{color:var(--acc);font-weight:700;flex:0 0 auto}

/* ── VIRAL MOMENT — celebratory "compare with a friend" after save ──── */
#viral{justify-content:center;padding-bottom:48px}
.vm-who{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 12px}.vm-who button{border:1px solid var(--line-2);background:var(--surface);color:var(--ink);border-radius:18px;padding:8px 12px;font:600 13.5px/1 var(--body);cursor:pointer}.vm-who button[aria-checked="true"]{background:var(--acc-soft);border-color:var(--acc);color:var(--acc-ink)}
.vm-wrap{max-width:480px;margin:0 auto;width:100%;padding:5vh 2px 0;text-align:center;animation:vmPop .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes vmPop{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
.vm-spark{font-size:clamp(34px,10vw,46px);line-height:1;animation:vmFloat 3.2s ease-in-out infinite}
@keyframes vmFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.vm-kicker{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--good);margin:14px 0 0;font-weight:600}
.vm-h{font-family:var(--disp);font-weight:600;letter-spacing:-.015em;font-size:clamp(28px,7.4vw,40px);line-height:1.08;margin:12px auto 0;max-width:18ch;color:var(--ink)}
.vm-h em{font-style:italic;color:var(--acc-ink)}
.vm-sub{color:var(--mut);font-size:16px;line-height:1.55;margin:16px auto 0}
.vm-card{margin:26px 0 0;padding:24px 22px 22px;border-radius:22px;
  background:linear-gradient(180deg,var(--acc-soft),var(--surface));
  border:1px solid var(--acc-line);box-shadow:var(--shadow);text-align:left;position:relative;overflow:hidden}
.vm-card::before{content:'';position:absolute;left:0;top:0;right:0;height:3px;background:var(--acc)}
.vm-card-t{font-family:var(--disp);font-weight:600;font-size:19px;line-height:1.2;color:var(--ink);margin:0 0 6px}
.vm-card-p{color:var(--mut);font-size:14px;line-height:1.5;margin:0 0 16px}
.vm-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;
  font-family:var(--body);font-weight:600;font-size:16.5px;color:#fff;background:var(--acc);
  padding:16px 22px;border-radius:15px;box-shadow:0 6px 22px -8px rgba(217,119,87,.6);
  transition:transform .12s ease,filter .18s ease}
.vm-primary:hover{filter:brightness(1.05)}
.vm-primary:active{transform:translateY(1px)}
.vm-secrow{display:flex;gap:9px;margin:11px 0 0}
.vm-sec{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-size:14px;font-weight:600;color:var(--ink-2);background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow-sm);padding:13px 12px;border-radius:13px;
  transition:background .15s,border-color .15s}
.vm-sec:hover{background:var(--surface-2);border-color:#00000022}
.vm-sent{margin:16px 0 0;padding:15px 17px;border-radius:15px;background:var(--surface);
  border:1px solid var(--acc-line);font-size:14.5px;line-height:1.5;color:var(--ink-2);text-align:center;
  display:none;animation:fadeIn .35s both}
.vm-sent.on{display:block}.vm-sent b{color:var(--ink)}
.vm-skip{margin:20px auto 0;color:var(--mut);font-size:14.5px;font-weight:500;padding:8px 2px;display:inline-flex;align-items:center;gap:6px}
.vm-skip:hover{color:var(--ink)}
@media(max-width:430px){.vm-secrow{flex-direction:column}}

/* top-of-reveal "compare with a friend" banner (persistent K-factor nudge) */
.cmp-banner{margin:12px 0 4px;padding:15px 17px;border-radius:16px;
  background:linear-gradient(180deg,var(--acc-soft),var(--surface));
  border:1px solid var(--acc-line);box-shadow:var(--shadow-sm);
  display:flex;align-items:center;gap:13px;text-align:left;width:100%;
  transition:filter .15s,transform .1s;animation:fadeIn .4s both}
.cmp-banner:hover{filter:brightness(.995)}
.cmp-banner:active{transform:scale(.995)}
.cmp-banner .cb-ic{font-size:22px;flex:0 0 auto;width:26px;text-align:center}
.cmp-banner .cb-meat{flex:1;min-width:0;display:flex;flex-direction:column}
.cmp-banner .cb-t{font-weight:600;font-size:14.5px;color:var(--ink);line-height:1.25}
.cmp-banner .cb-d{font-size:12.5px;color:var(--mut);line-height:1.4;margin-top:2px}
.cmp-banner .cb-arrow{flex:0 0 auto;color:var(--acc-ink);font-size:18px;font-weight:600}

/* ── REGENERATION BANNER (source added → DNA updating → ready) ──── */
.regen-banner{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translate(-50%,16px);
  z-index:54;width:min(520px,calc(100vw - 32px));display:none;align-items:center;gap:12px;
  padding:13px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--acc-line);
  box-shadow:0 14px 38px -12px rgba(0,0,0,.28);opacity:0;transition:opacity .28s ease,transform .28s ease}
.regen-banner.on{display:flex;opacity:1;transform:translate(-50%,0)}
.regen-banner .rb-ic{font-size:20px;flex:0 0 auto;width:24px;text-align:center}
.regen-banner .rb-ic .spinring{width:20px;height:20px;border-width:2.5px;margin:0 auto}
.regen-banner .rb-t{flex:1;min-width:0;font-size:14px;font-weight:500;color:var(--ink-2);line-height:1.35}
.regen-banner .rb-t b{color:var(--ink);font-weight:600}
.regen-banner .rb-view{flex:0 0 auto;font-size:13.5px;font-weight:600;color:#fff;background:var(--acc);
  padding:9px 14px;border-radius:11px;box-shadow:var(--shadow-sm);transition:filter .15s,transform .1s}
.regen-banner .rb-view:hover{filter:brightness(1.05)}
.regen-banner .rb-view:active{transform:translateY(1px)}
.regen-banner .rb-x{flex:0 0 auto;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;
  color:var(--mut);font-size:16px;background:var(--surface-2)}
.regen-banner .rb-x:hover{color:var(--ink)}
@media(min-width:560px){.regen-banner{bottom:calc(96px + env(safe-area-inset-bottom))}}

/* small "updating your DNA" chip on the My Architecture screen */
.ma-regen{display:none;align-items:center;gap:11px;margin:0 0 18px;padding:13px 16px;border-radius:14px;
  background:var(--acc-soft);border:1px solid var(--acc-line);animation:fadeIn .3s both}
.ma-regen.on{display:flex}
.ma-regen .spinring{width:20px;height:20px;border-width:2.5px;flex:0 0 auto}
.ma-regen .mr-t{flex:1;min-width:0;font-size:14px;font-weight:500;color:var(--acc-ink);line-height:1.4}
.ma-regen.done{background:var(--surface);border-color:var(--line-2)}
.ma-regen.done .mr-t{color:var(--ink-2)}
.ma-regen .mr-view{flex:0 0 auto;font-size:13px;font-weight:600;color:var(--acc-ink);padding:6px 4px}
.ma-regen .mr-view:hover{color:var(--acc)}

/* ── TOP-BAR AUTH CONTROL ─────────────────────────────────── */
.brand{position:relative}
.brand .auth-ctrl{margin-left:auto;display:flex;align-items:center;gap:8px}
.brand .ah-act{margin-left:auto;display:flex;align-items:center}.brand .ah-act[hidden]{display:none}.brand .ah-act:not([hidden]) + .auth-ctrl{margin-left:10px}
.ah-pill{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 16px;border-radius:20px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.04);color:#F4ECD8;font:600 14px/1 Inter,system-ui,sans-serif;cursor:pointer}.ah-pill:hover{background:rgba(255,255,255,.09)}.ah-pill:focus-visible{outline:2px solid #EDA588;outline-offset:2px}.ah-pill svg{flex:none}
body.ah-has-act .fld-addp{display:none}
@media (pointer:coarse){.ah-pill{min-height:44px}}.ah-pill.ah-ic{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;justify-content:center}.brand .brand-t{flex-shrink:0}.ah-pill .ah-s{display:none}@media(max-width:399px){.ah-pill{padding:0 14px}.ah-pill .ah-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ah-pill .ah-s{display:inline}}   /* tap 44; under 400px the pill reads "+ Add" (the full label stays for screen readers) so the title always shows (pcheck 2026-11-02) */   /* a screen's one header action (Field: Add someone, Fable redesign 2026-11-02) sits in the title row */
.auth-link{font-size:13.5px;font-weight:500;color:var(--mut);padding:6px 13px;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;border-radius:12px;
  border:1px solid var(--line-2);background:var(--surface);box-shadow:var(--shadow-sm);transition:background .15s,color .15s}
.auth-link:hover{background:var(--surface-2);color:var(--ink)}
/* "All tests": a quiet text link beside the Sign in pill, signed-out web pages only (Mike 2026-11-14: every public test findable from the header). Members never get it (their control is the avatar), the app shell hides it, and the iOS app's page has it cut out. */
.auth-tests{font-size:13.5px;font-weight:500;color:var(--mut);padding:6px 8px;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;border-radius:10px;text-decoration:none;white-space:nowrap;transition:color .15s}
.auth-tests:hover{color:var(--ink)}
.auth-tests:focus-visible{outline:2px solid var(--acc-ink);outline-offset:-2px}
body.has-nav .auth-tests{display:none}
@media (max-width:359px){.auth-tests{display:none}}   /* under 360px the brand and Sign in keep the row */
.auth-who{display:flex;align-items:center;gap:8px}
.auth-av{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;
  background:var(--acc);color:#fff;font-size:12px;font-weight:700;letter-spacing:0;box-shadow:var(--shadow-sm)}
.auth-av.mine{cursor:pointer}
.auth-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.auth-ctrl .auth-av{padding:0;aspect-ratio:1;flex:none;border-radius:50%;overflow:hidden;background:var(--surface-2,#211e36);color:var(--ink,#F4ECD8)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}   /* one primary action: the avatar is neutral (MasterBuilder 2026-11-01) */
/* sidebar account row (avatar + name + "Account & settings"); only shown inside .snav-foot */
.auth-acct{display:none;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;color:var(--ink);text-align:left;width:100%;min-width:0}
.auth-acct:hover{background:rgba(255,255,255,.05)}
.auth-acct .aa-av{width:34px;height:34px;border-radius:50%;background:var(--acc);color:#0a0912;font-weight:700;font-size:14px;
  display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.auth-acct .aa-av.has-img{background:var(--surface-2);overflow:hidden}
.auth-acct .aa-av img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.auth-acct .aa-t{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.auth-acct .aa-n{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auth-acct .aa-s{font-size:12px;color:var(--mut)}
.auth-add{font-size:13px;font-weight:600;color:var(--acc);padding:6px 11px;border-radius:999px;cursor:pointer;
  border:1px solid var(--acc-line,#C9A24755);background:transparent;transition:background .15s}
.auth-add:hover{background:var(--acc-soft,#C9A2471a)}
.auth-add .aadd-l{display:none}
.auth-priv{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--mut);border:1px solid var(--line-2);background:transparent;cursor:pointer;flex:0 0 auto}
.auth-priv svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-priv:hover{color:var(--ink);background:rgba(255,255,255,.05)}.auth-priv:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.auth-priv .apr-l{display:none}
.snav-foot .auth-priv{width:auto;height:44px;border-radius:12px;border:0;display:flex;align-items:center;gap:12px;padding:0 12px;color:#b4adc8;font-size:15px;font-weight:500}
.snav-foot .auth-priv svg{width:20px;height:20px}.snav-foot .auth-priv .apr-l{display:inline}
/* Privacy sheet (board 17): bottom sheet on phones, centered dialog ≥640px */
.pv-wrap{position:fixed;inset:0;z-index:90;display:none}.pv-wrap.on{display:block}
html.pv-lock,html.pv-lock body{overflow:hidden}
.pv-mask{position:absolute;inset:0;background:rgba(5,4,12,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.pv-sheet{position:absolute;left:0;right:0;bottom:0;max-height:88vh;overflow-y:auto;overscroll-behavior:contain;background:#17152a;border:1px solid #ffffff14;border-bottom:0;
  border-radius:22px 22px 0 0;padding:10px 20px calc(20px + env(safe-area-inset-bottom));color:#F4ECD8;font-family:var(--body);animation:pvUp .2s ease-out}
@keyframes pvUp{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
.pv-grab{width:38px;height:4px;border-radius:2px;background:#ffffff2e;margin:0 auto 10px}
.pv-head{display:flex;align-items:center;justify-content:space-between}
.pv-head h2{margin:0;font-family:var(--disp);font-weight:600;font-size:24px}
.pv-x{width:40px;height:40px;border-radius:20px;border:0;background:transparent;color:#9a93b0;font-size:16px;cursor:pointer}.pv-x:hover{color:#F4ECD8;background:#ffffff0d}
.pv-sub{margin:2px 0 14px;font-size:13.5px;line-height:1.5;color:#b4adc8}
.pv-seg{display:flex;padding:4px;border-radius:14px;background:#0f0d1c;border:1px solid #ffffff14}
.pv-seg button{flex:1;min-height:42px;border:0;border-radius:10px;background:transparent;color:#9a93b0;font:500 14px var(--body);cursor:pointer}
.pv-seg button[aria-checked=true]{background:#D97757;color:#0a0912;font-weight:600}
.pv-seg button:focus-visible,.pv-done:focus-visible,.pv-x:focus-visible{outline:2px solid #EDA588;outline-offset:2px}
.pv-state{margin:10px 2px 4px;font-size:13px;color:#9a93b0}.pv-state a{color:#EDA588;text-decoration:none}
.pv-load{font-size:13px;color:#9a93b0;padding:12px 0}
.pv-list{margin-top:6px}
.pv-done{width:100%;min-height:46px;margin-top:14px;border:0;border-radius:23px;background:#2a2645;color:#F4ECD8;font:600 15px var(--body);cursor:pointer}
@media(min-width:640px){.pv-sheet{left:50%;right:auto;bottom:auto;top:50%;width:440px;transform:translate(-50%,-50%);border-radius:22px;border-bottom:1px solid #ffffff14;animation:none;max-height:84vh}.pv-grab{display:none}}
.snav-foot .auth-add .aadd-s{display:none}
.snav-foot .auth-add .aadd-l{display:inline}
@media(max-width:360px){.auth-add{padding:6px 9px;font-size:12px}}
.auth-menu{position:absolute;right:0;top:52px;z-index:40;min-width:184px;background:var(--surface);
  border:1px solid var(--line-2);border-radius:14px;box-shadow:var(--shadow);padding:6px;display:none}
.auth-menu.on{display:block;animation:fadeIn .18s both}
.auth-menu .am-email{font-size:12px;color:var(--faint);padding:8px 10px 6px;word-break:break-all;line-height:1.4}
.auth-menu button{width:100%;text-align:left;font-size:14px;font-weight:500;color:var(--ink);
  padding:10px 10px;border-radius:9px;transition:background .12s}
.auth-menu button:hover{background:var(--surface-2)}

/* ── LOGIN MODAL (reuses sheet mask) ──────────────────────── */
.modal{position:fixed;left:50%;top:50%;z-index:62;width:min(420px,calc(100vw - 32px));
  transform:translate(-50%,-46%) scale(.98);opacity:0;pointer-events:none;transition:.22s cubic-bezier(.2,.7,.2,1);
  background:var(--surface);border:1px solid var(--line-2);border-radius:22px;box-shadow:0 24px 60px -18px rgba(0,0,0,.35);
  padding:28px 24px calc(24px + env(safe-area-inset-bottom))}
.modal.on{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.nsi{display:flex;flex-direction:column;gap:8px;margin:6px 0 12px}.nsi-b{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:999px;font:600 15px var(--body);cursor:pointer;border:1px solid #dadce0;background:#fff;color:#1f1f1f}.nsi-b.a{background:#fff;color:#000;border-color:#fff}
/* Side safe areas (iPhone Duo folded: 84px status strip down the right edge; phones sideways: the notch side).
   Backgrounds still run edge to edge; text and controls stay out. env() is 0 everywhere else, so nothing else moves. */
#app{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
.sheet{left:env(safe-area-inset-left);right:env(safe-area-inset-right)}
.modal{left:calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2);width:min(420px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)))}
.modal .mclose{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;
  color:var(--mut);font-size:18px;background:var(--surface-2)}
.modal .mclose:hover{color:var(--ink)}
.modal h3{font-family:var(--disp);font-weight:600;font-size:23px;margin:0 0 6px;color:var(--ink)}
.modal .msub{color:var(--mut);font-size:14.5px;line-height:1.5;margin:0 0 18px}
@media (min-width:1000px) and (min-height:600px){.modal{width:min(520px,calc(100vw - 64px));padding:40px 44px!important}.modal h3{font-size:34px;margin-bottom:10px}.modal .msub{font-size:17px;margin-bottom:24px}.modal .btn{min-height:52px;font-size:16.5px}.modal input{font-size:17px;padding:17px 18px}}   /* desktop/iPad: a sign-in card at desktop scale, not a phone card (pcheck layout-wide-desktop-scale) */
.modal .lm-note{background:var(--acc-soft);border:1px solid var(--acc-line);color:var(--acc-ink);
  font-size:13.5px;font-weight:500;line-height:1.45;padding:11px 13px;border-radius:12px;margin:0 0 14px}
.modal input{width:100%;padding:15px 16px;border-radius:13px;background:var(--surface);border:1px solid var(--line-2);
  color:var(--ink);font-size:16px;box-shadow:var(--shadow-sm);margin-bottom:11px}
.modal input:focus{outline:none;border-color:var(--acc)}
.modal .merr{color:var(--bad);font-size:13px;min-height:16px;margin:2px 0 6px}
.modal .mok{text-align:center;padding:12px 0 4px}
.modal .mok .mok-em{font-size:38px}
.modal .mok h4{font-family:var(--disp);font-weight:600;font-size:20px;margin:12px 0 6px;color:var(--ink)}
.modal .mok p{color:var(--mut);font-size:14.5px;line-height:1.5;margin:0}
/* OTP identity toggle (Phone / Email) */
.modal .otp-toggle{display:flex;gap:6px;padding:4px;border-radius:13px;background:var(--surface-2);
  border:1px solid var(--line-2);margin:0 0 16px}
.modal .otp-toggle button{flex:1;font-size:14.5px;font-weight:600;color:var(--mut);
  padding:10px 12px;border-radius:10px;transition:background .15s,color .15s,box-shadow .15s}
.modal .otp-toggle button.on{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sm)}
/* 6-digit code input — roomy, centered, mono */
.modal input.otp-code{font-family:var(--mono);font-size:24px;letter-spacing:.42em;text-align:center;
  padding-left:12px;font-weight:500}
.modal .otp-resend{color:var(--mut);font-size:13.5px;font-weight:500;padding:4px 2px;display:inline-block;margin-top:2px}
.modal .otp-resend:hover{color:var(--ink)}
.modal .otp-back{color:var(--mut);font-size:14px;font-weight:500;padding:8px 2px 2px;display:inline-flex;align-items:center;gap:6px}
.modal .otp-back:hover{color:var(--ink)}

/* ── MY ARCHITECTURE ──────────────────────────────────────── */
/* A clean, chronological list of the source material the DNA is based on:
   uploaded files, pasted text, and completed quizzes, each with a date. */
#myarch{padding-top:6px}
.ma-h{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(30px,8vw,44px);line-height:1.05;margin:18px 0 8px;color:var(--ink)}
.ma-sub{color:var(--mut);font-size:15.5px;margin:0 0 22px;line-height:1.5}
/* value pitch — why add more material */
.ma-value{margin:0 0 18px;padding:20px 20px;border-radius:18px;background:linear-gradient(165deg,var(--acc-soft),var(--surface) 72%);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm)}
.ma-value-h{font-family:var(--disp);font-weight:600;font-size:clamp(19px,4.8vw,23px);line-height:1.2;color:var(--ink);margin:0 0 8px}
.ma-value-p{font-size:14.5px;line-height:1.6;color:var(--ink-2);margin:0 0 15px}
.ma-value-p em{font-style:italic;color:var(--acc-ink)}
.ma-types-h{font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--ink);margin:0 0 9px}
.ma-types{display:flex;flex-direction:column;gap:9px}
.ma-type{font-size:13.5px;line-height:1.45;color:var(--ink-2);padding-left:2px}
.ma-type b{color:var(--ink);font-weight:600}
.ma-type i{font-style:normal;color:var(--acc-ink);font-size:12px;white-space:nowrap}
.ma-types-note{font-size:12px;line-height:1.45;color:var(--mut);margin:12px 0 0}
/* In-app interview screen */
#interview{padding-top:6px}
.iv-body{max-width:640px;margin:0 auto;padding:8px 0 44px}
.iv-kicker{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--acc-ink);margin:18px 0 14px}
.iv-num{font-family:var(--mono);font-size:12px;color:var(--mut);margin:0 0 8px}
.iv-q{font-family:var(--disp);font-weight:500;font-size:clamp(22px,6vw,30px);line-height:1.22;color:var(--ink);margin:0 0 10px}
.iv-hint{font-size:14px;line-height:1.5;color:var(--mut);margin:0 0 16px}
.iv-input{width:100%;box-sizing:border-box;min-height:150px;padding:16px;border-radius:16px;border:1px solid var(--line-2);background:var(--surface);font-family:var(--body);font-size:16px;line-height:1.55;color:var(--ink);resize:vertical;box-shadow:var(--shadow-sm)}
.iv-input:focus{outline:none;border-color:var(--acc-line);background:var(--surface)}
.iv-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0}
.iv-skip{font-size:14px;font-weight:600;color:var(--mut);padding:11px 8px}
.iv-skip:hover{color:var(--ink)}
.iv-gen{text-align:center;padding:72px 20px}
.iv-gen .spinring{margin:0 auto 20px}
.spinring.big{width:34px;height:34px;border-width:3px}
.iv-gen-h{font-family:var(--disp);font-weight:500;font-size:22px;color:var(--ink);margin:0 0 6px}
.iv-gen-s{font-size:14px;color:var(--mut);margin:0}
/* Sharpen your DNA — completion checklist (mobile-first) */
.sharpen{margin:16px 0;padding:18px 16px 8px;border-radius:20px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.shp-head{display:flex;align-items:center;gap:14px;margin:0 0 4px;padding:0 2px}
.shp-ring{position:relative;flex:0 0 auto;width:58px;height:58px}
.shp-ring svg{transform:rotate(-90deg)}
.shp-ring svg circle{transition:stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1)}
.shp-pct{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:13.5px;font-weight:700;color:var(--ink)}
.shp-htext{min-width:0}
.shp-title{font-family:var(--disp);font-weight:600;font-size:19px;color:var(--ink);line-height:1.15}
.shp-sub{font-size:12.5px;line-height:1.4;color:var(--mut);margin-top:3px}
.shp-list{margin:10px 0 0}
.shp-task{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:13px 4px;border-top:1px solid var(--line-2);background:none}
.shp-task.todo{cursor:pointer;transition:background .12s}
.shp-task.todo:active{background:var(--surface-2)}
.shp-ic{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1}
.shp-task.todo .shp-ic{background:var(--acc-soft);border:1px solid var(--acc-line)}
.shp-task.done .shp-ic{background:var(--good);color:#fff;font-size:16px}
.shp-meat{flex:1;min-width:0}
.shp-t{font-weight:600;font-size:15px;color:var(--ink);line-height:1.22;display:block}
.shp-task.done .shp-t{color:var(--mut);text-decoration:line-through;text-decoration-color:var(--line-2)}
.shp-s{font-size:12.5px;color:var(--mut);line-height:1.35;margin-top:2px;display:block}
.shp-go{flex:0 0 auto;color:var(--acc-ink);font-size:20px;font-weight:600;padding-right:4px}
.shp-task.done{cursor:pointer;background:none}
.shp-task.done:active{background:var(--surface-2)}
.shp-task.done .shp-t{text-decoration:none}
.shp-view{color:var(--acc-ink);font-weight:600}
.shp-go-done{flex:0 0 auto;color:var(--mut);font-size:18px;padding-right:4px}
/* Stoic quiz */
.stoic-intro{text-align:center;padding:26px 10px 12px}
.stoic-emoji{font-size:46px;margin:0 0 4px}
.stoic-kicker{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--acc-ink);margin:0 0 14px}
.stoic-result{padding:10px 0 10px}
.stoic-scorewrap{position:relative;width:132px;height:132px;margin:8px auto 8px}
.stoic-scorewrap svg circle{transition:stroke-dashoffset 1.1s cubic-bezier(.2,.7,.2,1)}
.stoic-scorenum{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.stoic-scorenum b{font-family:var(--disp);font-size:40px;font-weight:600;color:var(--ink);line-height:1}
.stoic-scorenum span{font-family:var(--mono);font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin-top:4px}
.stoic-arch{font-family:var(--disp);font-weight:500;font-size:clamp(26px,7vw,34px);text-align:center;color:var(--ink);margin:8px 0 4px;line-height:1.1}
.stoic-blurb{text-align:center;font-size:15px;line-height:1.55;color:var(--ink-2);margin:0 auto 24px}
.ha-note{text-align:center;font-size:12.5px;line-height:1.5;color:var(--mut);font-weight:400;font-style:normal;margin:12px auto 0}
.stoic-facets{margin:8px 0 0}
.stoic-quote{margin:26px 0 0;padding:15px 18px;border-left:3px solid var(--acc);background:var(--surface-2);border-radius:0 12px 12px 0;font-family:var(--disp);font-size:15px;line-height:1.5;color:var(--ink-2);font-style:italic}
/* Big Five test (Mini-IPIP) + Working Style estimate (HA logic audit Decision 3, Fable design aud3 11-11) */
.b5-wrap{text-align:left}
.b5-wrap.stoic-intro{text-align:left;padding:14px 0 4px}
.b5-wrap .prog,.b5-wrap .score-bar{background:var(--line)}
.b5-wrap .score-top{flex-wrap:nowrap;margin-bottom:3px}
.b5-wrap .score-bar>i{min-width:10px;background:var(--c,var(--acc))}
.b5-wrap .score-row:not(.b5-est) .score-bar{position:relative}
.b5-wrap .score-row:not(.b5-est) .score-bar::before,.b5-wrap .score-row:not(.b5-est) .score-bar::after{content:"";position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--bg)}
.b5-wrap .score-row:not(.b5-est) .score-bar::before{left:34.375%}
.b5-wrap .score-row:not(.b5-est) .score-bar::after{left:65.625%}
.b5-est .score-bar>i{background:repeating-linear-gradient(135deg,var(--c,var(--mut)) 0 4px,transparent 4px 7px)!important}
.b5-pole{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 8px;font-size:13.5px;line-height:1.35;color:var(--c,var(--ink-2))}
.b5-band{font-family:var(--mono);font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--mut);white-space:nowrap}
.b5-scale{position:relative;display:grid;grid-template-columns:34.375fr 31.25fr 34.375fr;margin:24px 0 -6px;font-family:var(--mono);font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--mut);text-align:center;font-variant-numeric:tabular-nums}
.b5-scale::before,.b5-scale::after{position:absolute;top:0}
.b5-scale::before{content:"4";left:0}
.b5-scale::after{content:"20";right:0}
.b5-cite{display:block;margin-top:10px;font-size:12px;line-height:1.5;color:var(--mut)}
.b5-notice{margin:16px 0 0;padding:18px;border-radius:14px;background:var(--acc-soft);border:1px solid var(--acc-line)}
.b5-notice h3{font-family:var(--disp);font-weight:600;font-size:21px;line-height:1.25;color:var(--ink);margin:0 0 8px;text-wrap:balance}
.b5-notice p{font-size:15px;line-height:1.5;color:var(--ink-2);margin:0 0 16px}
.b5-chip{display:inline-block;font-family:var(--mono);font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-2);padding:3px 8px;border:1px dashed var(--mut);border-radius:99px;margin-right:8px;vertical-align:1px}
.b5-mark{font-size:13px;line-height:1.55;color:var(--mut);margin:12px 0 0}
.b5-blend{font-family:var(--mono);font-size:12px;color:var(--mut);margin:0 0 4px}
.b5-blend b{color:var(--ink);font-weight:500}
/* Vector Profile radar */
.vec-radar{margin:18px 0 6px}
.vec-sig{margin:6px 0 6px;text-align:center;font-family:var(--disp);font-size:clamp(20px,5.5vw,26px);color:var(--acc-ink);font-weight:500;line-height:1.15}
.vec-sig-k{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin:0 0 4px;font-weight:600}
/* Vector Match (in compare) */
.vecm-card{margin:16px 0 0;padding:20px 18px;border-radius:18px;background:linear-gradient(165deg,var(--acc-soft),var(--surface) 78%);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm)}
.vecm-k{font-family:var(--mono);font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--acc-ink);font-weight:600;margin:0 0 4px}
.vecm-score{text-align:center;margin:6px 0 2px}
.vecm-score b{font-family:var(--disp);font-size:44px;font-weight:600;color:var(--ink);line-height:1}
.vecm-score span{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);margin-top:3px}
.vecm-radar{margin:6px 0 4px}
.vecm-legend{display:flex;justify-content:center;gap:18px;margin:2px 0 8px}
.vecm-lg{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-2)}
.vecm-dot{width:11px;height:11px;border-radius:50%;display:inline-block}
.vecm-dot.you{background:var(--acc)}
.vecm-dot.them{background:var(--L3)}
.vecm-line{font-size:13px;line-height:1.5;color:var(--ink-2);margin:9px 0 0}
.vecm-line b{color:var(--acc-ink);font-weight:600;margin-right:5px}
.vecm-cta .vecm-ctat{font-size:14px;line-height:1.5;color:var(--ink-2);margin:6px 0 12px}
/* Generational Blueprint */
.gen-dateform{text-align:center;padding:24px 10px 12px}
.gen-emoji{font-size:46px;margin:0 0 4px}
.gen-dl{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--acc-ink);margin:16px 0 8px;font-weight:600}
.gen-date{font-family:var(--body);font-size:16px;padding:12px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink)}
.gen-date:focus{outline:none;border-color:var(--acc-line)}
.gen-badge{display:inline-block;font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--acc-ink);background:var(--acc-soft);border:1px solid var(--acc-line);padding:4px 11px;border-radius:99px;margin:14px 0 6px}
/* top actions */
.ma-actions{display:flex;flex-direction:column;gap:11px;margin:0 0 26px}
.ma-upload-btn{display:flex;align-items:center;gap:10px;width:100%;cursor:pointer;
  padding:15px 18px;border-radius:14px;background:var(--acc-soft);border:1px solid var(--acc-line);
  color:var(--acc-ink);font-size:15.5px;font-weight:600;box-shadow:var(--shadow-sm);
  transition:filter .15s,background .15s}
.ma-upload-btn:hover{filter:brightness(.99)}
.ma-upload-btn.busy{opacity:.7;pointer-events:none}
.ma-upload-btn .mu-ic{font-size:18px;flex:0 0 auto}
.ma-upload-btn .mu-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ma-paste-btn{display:flex;align-items:center;gap:10px;width:100%;text-align:left;
  padding:15px 18px;border-radius:14px;background:var(--surface);border:1px solid var(--line-2);
  color:var(--ink);font-size:15.5px;font-weight:600;box-shadow:var(--shadow-sm);transition:background .15s}
.ma-paste-btn:hover{background:var(--surface-2)}
.ma-paste-btn .mp-ic{font-size:18px;flex:0 0 auto}
/* paste panel */
.ma-paste-panel{display:none;margin:-14px 0 26px;padding:15px;border-radius:14px;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.ma-paste-panel.open{display:block;animation:fadeIn .25s both}
.ma-paste-panel input.mp-name{width:100%;padding:11px 13px;border-radius:11px;font-size:14.5px;
  background:var(--surface-2);border:1px solid var(--line-2);color:var(--ink);margin-bottom:10px}
.ma-paste-panel input.mp-name:focus{outline:none;border-color:var(--acc)}
.ma-paste-panel textarea.mp-text{width:100%;min-height:130px;padding:12px 13px;border-radius:12px;font-size:14px;
  line-height:1.5;background:var(--surface-2);border:1px solid var(--line-2);color:var(--ink);resize:vertical}
.ma-paste-panel textarea.mp-text:focus{outline:none;border-color:var(--acc)}
.ma-paste-panel textarea.mp-text::placeholder,.ma-paste-panel input.mp-name::placeholder{color:var(--faint)}
.ma-paste-row{display:flex;align-items:center;gap:10px;margin-top:12px}
.ma-paste-row .btn{font-size:14px;padding:11px 18px}
.ma-paste-cancel{font-size:14px;font-weight:600;color:var(--mut);padding:8px 4px}
.ma-paste-cancel:hover{color:var(--ink)}
/* "Get a ChatGPT read" helper */
.ma-gpt{margin:0 0 26px;border-radius:14px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);overflow:hidden}
.ma-gpt-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;
  padding:14px 18px;font-size:14.5px;font-weight:600;color:var(--ink);background:transparent}
.ma-gpt-toggle:hover{background:var(--surface-2)}
.ma-gpt-caret{font-size:18px;color:var(--mut);transition:transform .2s}
.ma-gpt.open .ma-gpt-caret{transform:rotate(90deg)}
.ma-gpt-body{display:none;padding:2px 18px 18px}
.ma-gpt.open .ma-gpt-body{display:block;animation:fadeIn .25s both}
.ma-gpt-steps{margin:0 0 13px;padding-left:20px;color:var(--ink-2);font-size:13.5px;line-height:1.6}
.ma-gpt-steps li{margin:2px 0}
.ma-gpt-steps b{color:var(--ink)}
.ma-gpt-btns{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}
.ma-gpt-alt{font-size:13px;font-weight:600;color:var(--acc-ink);padding:10px 13px;border-radius:11px;border:1px solid var(--acc-line);background:var(--surface)}
.ma-gpt-alt:hover{background:var(--acc-soft)}
.ma-gpt-prompt{font-family:var(--body);font-size:12px;line-height:1.5;color:var(--mut);
  background:var(--surface-2);border:1px solid var(--line-2);border-radius:11px;padding:12px 13px;margin:0;max-height:120px;overflow:auto}
/* Deepen your DNA — 5-prompt collector */
.ma-deepen-intro{font-size:13.5px;line-height:1.55;color:var(--ink-2);margin:2px 0 14px}
.ma-prompt-list{display:flex;flex-direction:column;gap:8px}
.ma-prompt{border:1px solid var(--line-2);border-radius:12px;overflow:hidden;background:var(--surface)}
.ma-prompt.saved{border-color:rgba(63,155,110,.32);background:rgba(63,155,110,.12)}
.ma-prompt-head{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:13px 14px;font-size:14.5px;font-weight:600;color:var(--ink);background:transparent}
.ma-prompt-head:hover{background:var(--surface-2)}
.ma-prompt-em{font-size:17px;flex:0 0 auto}
.ma-prompt-t{flex:1;min-width:0}
.ma-prompt-chk{flex:0 0 auto;color:var(--good);font-weight:700;font-size:15px}
.ma-prompt .ma-gpt-caret{transition:transform .2s}
.ma-prompt.open .ma-gpt-caret{transform:rotate(90deg)}
.ma-prompt-body{display:none;padding:0 14px 14px}
.ma-prompt.open .ma-prompt-body{display:block;animation:fadeIn .2s both}
.ma-p-out{width:100%;box-sizing:border-box;min-height:92px;margin:10px 0;padding:12px 13px;border-radius:11px;border:1px solid var(--line-2);background:var(--surface-2);font-family:var(--body);font-size:14px;line-height:1.5;color:var(--ink);resize:vertical}
.ma-p-out:focus{outline:none;border-color:var(--acc-line);background:var(--surface)}
/* the chronological list */
.ma-list{display:flex;flex-direction:column;gap:9px}
.ma-row{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:14px 16px;border-radius:14px;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);
  transition:background .15s,border-color .15s,transform .1s}
.ma-row.tappable{cursor:pointer}
.ma-row.tappable:hover{background:var(--surface-2);border-color:#00000022}
.ma-row.tappable:active{transform:scale(.99)}
.ma-ic{font-size:22px;flex:0 0 auto;width:30px;text-align:center;line-height:1}
.ma-meat{flex:1;min-width:0;overflow:hidden}
.ma-label{display:block;max-width:100%;font-weight:600;font-size:15.5px;line-height:1.25;color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-sub2{font-size:13px;color:var(--mut);line-height:1.4;margin-top:2px;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.ma-when{font-family:var(--mono);font-size:11.5px;color:var(--faint);flex:0 0 auto;text-align:right;white-space:nowrap}
.ma-rowdel{flex:0 0 auto;font-size:14px;color:var(--faint);padding:4px 5px;border-radius:8px;transition:color .15s,background .15s}
.ma-rowdel:hover{color:var(--bad);background:var(--surface-2)}
.ma-rowdel.quiz{font-family:var(--body);font-size:11.5px;font-weight:600;letter-spacing:0}
/* empty state */
.ma-empty{text-align:center;padding:36px 20px 10px;color:var(--mut)}
.ma-empty .em{font-size:42px}
.ma-empty p{font-size:15px;line-height:1.5;margin:14px auto 0;max-width:30ch}
/* ── "Your details" identity card ─────────────────────────── */
.ma-card{margin:0 0 26px;padding:6px 4px 8px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow-sm);overflow:hidden}
.ma-card .mc-title{font-family:var(--disp);font-weight:600;font-size:13px;letter-spacing:.02em;
  text-transform:uppercase;color:var(--acc-ink);padding:13px 16px 4px}
.mc-fld{display:flex;align-items:flex-start;gap:13px;padding:12px 16px;border-top:1px solid var(--line)}
.mc-fld:first-of-type{border-top:none}
.mc-ic{font-size:18px;flex:0 0 auto;width:24px;text-align:center;line-height:1.4;margin-top:1px}
.mc-body{flex:1;min-width:0}
.mc-k{font-size:11.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--faint);margin:0 0 3px}
.mc-v{font-size:15.5px;font-weight:550;color:var(--ink);line-height:1.3;word-break:break-word}
.mc-v.empty{color:var(--faint);font-weight:500}
.mc-hint{font-size:12px;color:var(--mut);line-height:1.4;margin-top:3px}
.mc-edit{flex:0 0 auto;align-self:center;font-size:13px;font-weight:600;color:var(--acc-ink);
  padding:6px 10px;border-radius:9px;cursor:pointer;transition:background .15s}
.mc-edit:hover{background:var(--acc-soft)}
.mc-disp{display:flex;align-items:flex-start;gap:13px;width:100%;cursor:pointer}
.mc-disp.locked{cursor:default}
.mc-editrow{display:flex;align-items:center;gap:8px;width:100%}
.mc-editrow .mc-ic{margin-top:0}
.mc-input{flex:1;min-width:0;padding:11px 13px;border-radius:11px;background:var(--surface);
  border:1px solid var(--line-2);color:var(--ink);font-size:15px;font-family:var(--body)}
.mc-input:focus{outline:none;border-color:var(--acc)}
.mc-save{flex:0 0 auto;width:38px;height:38px;border-radius:11px;background:var(--acc);color:#fff;
  display:grid;place-items:center;font-size:17px;cursor:pointer;box-shadow:var(--shadow-sm)}
.mc-save:hover{filter:brightness(1.04)}.mc-save:active{transform:translateY(1px)}
.mc-save:disabled{opacity:.5;pointer-events:none}
.mc-basis{display:flex;align-items:center;gap:7px;padding:11px 16px 4px;font-size:12.5px;color:var(--mut);
  border-top:1px solid var(--line);line-height:1.4;flex-wrap:wrap}
.mc-basis b{font-weight:600;color:var(--ink-2)}

/* ── DAILY BRIEF (logged-in home) ─────────────────────────── */
#brief{padding-top:6px}
.bf-head{margin:14px 0 4px}
.bf-greet{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;
  font-size:clamp(28px,7.4vw,40px);line-height:1.06;margin:0;color:var(--ink)}
.bf-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:13px 0 0}
.bf-date{font-family:var(--mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--mut)}
.bf-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:11px;font-size:13.5px;font-weight:500;
  color:var(--ink);background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.bf-chip .bf-ce{font-size:15px}
.bf-chip .bf-cn{font-family:var(--disp);font-weight:600}
.bf-hero{margin:28px 0 0;padding:30px 26px;border-radius:20px;background:var(--surface);
  border:1px solid var(--line-2);position:relative;overflow:hidden;box-shadow:var(--shadow)}
.bf-hero::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--ac,var(--acc))}
.bf-hero-k{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:12px}
.bf-reading{font-family:var(--disp);font-weight:400;font-size:clamp(17px,4.6vw,20px);line-height:1.62;color:var(--ink-2)}
.bf-reading p{margin:0 0 16px}.bf-reading p:last-child{margin-bottom:0}
/* Daily Lens card */
.bf-lens{margin:16px 0 0;padding:26px 24px;border-radius:20px;background:linear-gradient(165deg,var(--acc-soft),var(--surface) 72%);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.bf-lens-k{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);margin:0 0 12px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.bf-lens-energy{font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;padding:2px 9px;border-radius:99px;background:#ffffffcc;color:var(--acc-ink);border:1px solid var(--acc-line)}
.bf-lens-mantra{font-family:var(--disp);font-weight:500;font-size:clamp(21px,5.6vw,27px);line-height:1.28;color:var(--ink);margin:0}
.bf-lens-row{margin:15px 0 0;padding:14px 0 0;border-top:1px solid var(--acc-line)}
.bf-lens-lab{font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--acc-ink);margin:0 0 4px}
.bf-lens-txt{font-family:var(--body);font-size:14.5px;line-height:1.55;color:var(--ink-2)}
.bf-lens-load{display:flex;align-items:center;gap:12px;color:var(--mut);font-family:var(--body);font-size:14px}
.bf-hero-load{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:30px 6px;color:var(--mut);text-align:center}
.bf-hero-load .spinring{width:34px;height:34px}
.bf-hero-load .bf-lt{font-family:var(--disp);font-weight:500;font-size:18px;color:var(--ink-2)}
.bf-hero-load .bf-ls{font-size:13.5px;color:var(--mut)}
.bf-hero-share{margin-top:22px}
.bf-sec{font-family:var(--body);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);margin:38px 0 16px;display:flex;align-items:center;gap:12px}
.bf-sec::after{content:'';flex:1;height:1px;background:var(--line-2)}
.bf-sys{display:flex;flex-direction:column;gap:11px}
.bf-syscard{padding:18px 20px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);
  border-left:3px solid var(--bfc,var(--acc));box-shadow:var(--shadow-sm)}
.bf-syslab{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:9px;display:flex;align-items:center;gap:7px}
.bf-sysdot{width:7px;height:7px;border-radius:50%;background:var(--bfc,var(--acc));flex:0 0 auto}
.bf-systext{font-family:var(--disp);font-weight:400;font-size:15.5px;line-height:1.6;color:var(--ink-2)}
.bf-systext p{margin:0 0 10px}.bf-systext p:last-child{margin:0}
.bf-unlock{margin:14px 0 0;padding:16px 18px;border-radius:16px;background:var(--acc-soft);border:1px solid var(--acc-line)}
.bf-unlock p{margin:0 0 11px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.bf-unlock-row{display:flex;flex-wrap:wrap;gap:8px}
.bf-unlock-btn{font-size:13px;font-weight:600;color:var(--acc-ink);padding:8px 13px;border-radius:11px;
  background:var(--surface);border:1px solid var(--acc-line);box-shadow:var(--shadow-sm);transition:background .15s}
.bf-unlock-btn:hover{background:var(--surface-2)}
.bf-quick{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}
.bf-qcard{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:16px 16px;border-radius:16px;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);
  transition:background .15s,border-color .15s,transform .1s}
.bf-qcard:hover{background:var(--surface-2);border-color:#00000022}
.bf-qcard:active{transform:scale(.99)}
.bf-qe{font-size:22px;flex:0 0 auto}
.bf-qt{font-weight:600;font-size:14.5px;color:var(--ink);line-height:1.25}
/* ── DAILY BRIEFING: weather ──────────────────────────────── */
.bf-wx{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.bf-wx-emoji{font-size:34px;line-height:1;flex:0 0 auto}
.bf-wx-cond{font-family:var(--disp);font-weight:500;font-size:16.5px;color:var(--ink-2);line-height:1.2}
.bf-wx-temps{font-family:var(--mono);font-size:13px;color:var(--mut);margin-top:5px}
.bf-wx-temps .hi{color:var(--ink-2);font-weight:500}
/* ── DAILY BRIEFING: today's sky (planetary weather) ──────── */
.bf-sky{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;padding:17px 20px;border-radius:16px;
  background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);line-height:1.5}
.bf-sky-body{display:inline-flex;align-items:baseline;gap:5px;font-size:14px;color:var(--ink-2)}
.bf-sky-pg{font-size:16px;color:var(--L3);line-height:1}
.bf-sky-name{font-weight:600;color:var(--ink)}
.bf-sky-in{color:var(--faint);font-size:12.5px}
.bf-sky-sg{font-size:15px;color:var(--acc-ink);line-height:1}
.bf-sky-sign{font-weight:500;color:var(--ink-2)}
.bf-sky-retro{font-family:var(--mono);font-size:11.5px;font-weight:600;color:var(--acc-ink);letter-spacing:.02em}
.bf-sky-sep{color:var(--faint);font-size:12px;opacity:.7}
/* ── BRIEF: "Connect today" per-friend connection tips ─────── */
.bf-tips{display:flex;flex-direction:column;gap:12px}
.bf-tipcard{padding:17px 19px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.bf-tipcard::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--tc,var(--acc));opacity:.9}
.bf-tip-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.bf-tip-name{font-family:var(--disp);font-weight:600;font-size:16.5px;line-height:1.15;color:var(--ink);letter-spacing:-.01em}
.bf-tip-chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;
  color:var(--tc,var(--acc-ink));background:var(--surface-2);border:1px solid var(--line-2);
  padding:3px 10px;border-radius:10px;letter-spacing:.01em}
.bf-tip-cdot{width:7px;height:7px;border-radius:50%;background:var(--tc,var(--acc));flex:0 0 auto}
.bf-tip-body{font-family:var(--disp);font-weight:400;font-size:15px;line-height:1.55;color:var(--ink-2);margin:0}
.bf-tip-act:empty{display:none}
.bf-tip-act{margin-top:13px}
.bf-tip-msg,.bf-tip-see{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;
  color:var(--acc-ink);background:var(--acc-soft);border:1px solid var(--acc-line);
  padding:8px 14px;border-radius:12px;text-decoration:none;transition:.15s}
.bf-tip-msg:hover,.bf-tip-see:hover{filter:brightness(.98)}
.bf-tip-msg:active,.bf-tip-see:active{transform:scale(.98)}
@media(max-width:380px){.bf-quick{grid-template-columns:1fr}}

/* ── BRIEF: completion nudge (finish your DNA) ─────────────── */
.bf-nudge{margin:18px 0 0;padding:18px 20px;border-radius:18px;background:var(--acc-soft);
  border:1px solid var(--acc-line);box-shadow:var(--shadow-sm)}
.bf-nudge-top{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.bf-nudge-h{font-family:var(--disp);font-weight:600;font-size:18px;line-height:1.2;color:var(--ink)}
.bf-nudge-c{font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--acc-ink);font-weight:500}
.bf-nudge-p{font-size:14px;line-height:1.5;color:var(--ink-2);margin:6px 0 13px}
.bf-nudge-chips{display:flex;flex-wrap:wrap;gap:8px}
.bf-nudge-chip{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--acc-ink);
  padding:9px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--acc-line);
  box-shadow:var(--shadow-sm);transition:background .15s,transform .1s}
.bf-nudge-chip:hover{background:var(--surface-2)}
.bf-nudge-chip:active{transform:scale(.98)}
.bf-nudge-chip .bf-nc-dot{width:8px;height:8px;border-radius:50%;background:var(--ndc,var(--acc));flex:0 0 auto}
.bf-done{margin:18px 0 0;padding:13px 18px;border-radius:14px;background:var(--surface);border:1px solid var(--line-2);
  box-shadow:var(--shadow-sm);font-size:13.5px;font-weight:500;color:var(--good);display:flex;align-items:center;gap:9px}

/* ── BIRTH-PLACE autocomplete ─────────────────────────────── */
.birth .geo-wrap{position:relative}
.birth .geo-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:30;
  background:var(--surface);border:1px solid var(--line-2);border-radius:13px;box-shadow:var(--shadow);
  overflow:hidden;max-height:248px;overflow-y:auto;-webkit-overflow-scrolling:touch;display:none}
.birth .geo-menu.on{display:block;animation:fadeIn .14s both}
.birth .geo-opt{display:block;width:100%;text-align:left;padding:12px 14px;font-size:14.5px;line-height:1.35;
  color:var(--ink);border-bottom:1px solid var(--line);transition:background .12s}
.birth .geo-opt:last-child{border-bottom:none}
.birth .geo-opt:hover,.birth .geo-opt.act{background:var(--surface-2)}
.birth .geo-opt .go-sub{display:block;font-size:12px;color:var(--mut);margin-top:1px}
.birth .geo-empty{padding:12px 14px;font-size:13.5px;color:var(--mut)}
.birth .geo-picked{margin:3px 0 0;font-size:12.5px;color:var(--good);font-weight:600;display:none}
.birth .geo-picked.on{display:block}

/* ── analysis panel: redo/refine affordances ──────────────── */
.an-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:26px 0 0}
.an-redo{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--mut);
  padding:9px 15px;border-radius:12px;background:var(--surface);border:1px solid var(--line-2);
  box-shadow:var(--shadow-sm);transition:background .15s,color .15s}
.an-redo:hover{background:var(--surface-2);color:var(--ink)}
.an-refine{margin:14px auto 0;max-width:420px;padding:18px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow);display:none}
.an-refine.on{display:block;animation:fadeIn .25s both}
.an-refine h5{font-family:var(--disp);font-weight:600;font-size:17px;margin:0 0 5px;color:var(--ink);text-align:center}
.an-refine p{color:var(--mut);font-size:13.5px;margin:0 0 13px;line-height:1.5;text-align:center}
.an-refine textarea{width:100%;min-height:96px;padding:13px 14px;border-radius:13px;background:var(--surface);
  border:1px solid var(--line-2);color:var(--ink);font-size:15px;line-height:1.5;resize:vertical;box-shadow:var(--shadow-sm)}
.an-refine textarea:focus{outline:none;border-color:var(--acc)}
.an-refine .an-refine-row{display:flex;gap:9px;margin-top:12px}
.an-refine .an-refine-row .btn{flex:1}

/* ── SHARE-IMAGE off-screen render stage + card ───────────── */
#shareStage{position:fixed;left:-99999px;top:0;z-index:-1;pointer-events:none}
.sc{width:540px;box-sizing:border-box;font-family:var(--body);background:var(--bg);color:var(--ink);
  position:relative;overflow:hidden;display:flex;flex-direction:column}
.sc.story{height:960px}      /* 540x960 → 1080x1920 @2x */
.sc.square{height:540px}     /* 540x540 → 1080x1080 @2x */
.sc-pad{padding:54px 46px;flex:1;display:flex;flex-direction:column}
.sc.square .sc-pad{padding:42px 42px}
.sc-wm{display:flex;align-items:center;gap:9px;font-weight:700;font-size:15px;letter-spacing:.04em;
  text-transform:uppercase;color:var(--ink-2)}
.sc-wm .scdot{width:11px;height:11px;border-radius:50%;background:var(--scac,var(--acc))}
.sc-emoji{font-size:64px;line-height:1;margin-top:auto}
.sc.square .sc-emoji{font-size:46px;margin-top:18px}
.sc-arch{font-family:var(--disp);font-weight:600;letter-spacing:-.015em;font-size:74px;line-height:.98;
  margin:16px 0 0;color:var(--ink)}
.sc.square .sc-arch{font-size:48px;margin-top:10px}
.sc-kicker{font-family:var(--mono);font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--scac,var(--acc));margin:0 0 6px}
.sc-tag{font-size:20px;color:var(--mut);margin-top:14px;line-height:1.4}
.sc-one{font-family:var(--disp);font-weight:500;font-size:27px;line-height:1.3;letter-spacing:-.005em;
  color:var(--ink-2);margin:22px 0 0;max-width:24ch}
.sc-one::before{content:'\201C';color:var(--scac,var(--acc));font-family:var(--disp);font-weight:600}
.sc-head{font-family:var(--disp);font-weight:500;font-size:24px;line-height:1.3;color:var(--ink-2);margin:20px 0 0}
.sc-body{font-size:20px;line-height:1.55;color:var(--ink-2);margin:18px 0 0}
.sc-body p{margin:0 0 14px}.sc-body p:last-child{margin:0}
.sc-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.sc-chip{font-size:16px;font-weight:500;padding:10px 14px;border-radius:12px;background:var(--surface);
  border:1px solid var(--line-2);color:var(--ink-2);line-height:1.2}
.sc-chip b{font-family:var(--mono);font-weight:600;color:var(--sccc,var(--acc))}
/* mini periodic grid for hero card */
.sc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:26px}
.sc-el{border-radius:13px;padding:11px 10px 12px;background:var(--surface);border:1px solid var(--line-2);
  border-top:3px solid var(--ec,var(--acc));text-align:left}
.sc-el .e-t{font-size:9px;letter-spacing:.04em;text-transform:uppercase;color:var(--mut);font-weight:600;line-height:1.05;min-height:10px;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sc-el .e-s{font-family:var(--disp);font-weight:600;font-size:24px;line-height:1;color:var(--ec,var(--acc));margin-top:3px}
.sc-el .e-l{font-size:11px;font-weight:500;color:var(--ink-2);margin-top:5px;line-height:1.15;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sc-score{display:flex;align-items:baseline;gap:10px;margin-top:8px}
.sc-score b{font-family:var(--disp);font-weight:600;font-size:96px;line-height:.9;letter-spacing:-.03em;color:var(--scac,var(--acc))}
.sc-score span{font-size:18px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.sc-foot{margin-top:auto;padding-top:26px;border-top:1px solid var(--line-2);display:flex;flex-direction:column;gap:8px}
.sc-foot .sc-url{font-weight:700;font-size:18px;color:var(--ink);letter-spacing:.01em}
.sc-foot .sc-code{font-family:var(--mono);font-size:12px;color:var(--mut);line-height:1.55;word-break:break-word;
  max-height:48px;overflow:hidden}

/* ── SITE FOOTER (legal + cross-promo, Mjonesone, LLC) ─────── */
.site-foot{border-top:1px solid var(--line);margin-top:44px;padding:28px 4px 40px;text-align:center;font-family:var(--body)}
.site-foot .sf-copy{font-size:12.5px;color:var(--faint);letter-spacing:.01em}
.site-foot .sf-legal{margin-top:10px;font-size:12.5px}
.site-foot .sf-legal a{color:var(--mut);text-decoration:none;border-bottom:1px solid var(--line-2)}
.site-foot .sf-legal a:hover{color:var(--ink-2)}
.site-foot .sf-sep{color:var(--faint);margin:0 8px}
.site-foot .sf-more{margin-top:15px;font-size:12px;color:var(--faint);line-height:1.8}.site-foot .sf-legal,.site-foot .sf-more{line-height:44px}.site-foot .sf-more b{display:block;line-height:1.6}
.site-foot .sf-more b{color:var(--mut);font-weight:600}
.site-foot .sf-more a{color:var(--mut);text-decoration:none;border-bottom:1px solid var(--line)}
.site-foot .sf-more a:hover{color:var(--acc-ink)}
.site-foot .sf-more .sf-sep{display:block;height:0;overflow:hidden;visibility:hidden}
.site-foot a{display:inline-block;min-width:44px;text-align:center;box-sizing:border-box;padding:14px 4px;margin:0;line-height:16px;border-bottom:0!important;text-decoration:underline;text-decoration-color:var(--line);text-decoration-thickness:1px;text-underline-offset:3px}
body.has-nav .site-foot{padding-bottom:calc(76px + env(safe-area-inset-bottom))}

/* ── PERSISTENT BOTTOM NAV (app-style) ────────────────────── */
/* hidden by default; body.has-nav reveals it from the reveal onward */
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:55;display:none;
  background:linear-gradient(180deg,rgba(20,16,42,.82),rgba(8,7,18,.97));backdrop-filter:saturate(1.3) blur(16px);-webkit-backdrop-filter:saturate(1.3) blur(16px);
  border-top:1px solid rgba(201,162,71,.22);
  padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  box-shadow:0 -10px 34px -18px rgba(0,0,0,.8)}
body.has-nav .bnav{display:flex}
body.has-nav .screen{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
/* Safe areas + tap targets (pcheck signed-in pages, 2026-11-01). Home-screen web app (black-translucent status bar): the
   page starts below the status bar; side insets (Duo folded right strip, phone notch) keep text and controls clear.
   Closed sheets and bars are hidden, not just moved off screen. env() is 0 in Safari tabs and in the iOS app. */
#app{padding-top:env(safe-area-inset-top)}
#app:not(:has(.screen.on)) .site-foot{visibility:hidden}   /* no footer flash above a screen that hasn't rendered yet (layout shift) */
.dd-ordering > :not(#ddHero){visibility:hidden}
#ddSpirit{min-height:clamp(190px,calc(320px - 17vw),255px)}
/* two-pane density floor (11px; Mike: two-pane is meant to be dense, but nothing under the floor) */
body.fold :is(.bnav-lab,.fld-fk,#me span.k,.hs-match span,.hs-new){font-size:11px!important}
body.fold .dd-sky text.lbl{display:none}
:root{color-scheme:dark}   /* HA is dark-only by design: tell the browser (form controls, scrollbars, pcheck color-dark-mode) */
.dd-sky text.lbl{display:none}   /* planet names render at 6px at every width: tap a planet for its name */
body:not(.fold) :is(.ia-eb,.fld-k,.fld-mk,.fld-fk,.hs-new,.dd-date,.hs-eyebrow,.dd-fc-badge,.dd-fc-lab,.bnav-lab,.me-chart .k,#me span.k,#field dt,#field small,.hs-match span,.dd-cl,.pw-lab,.rp-eb,.dd-ringc span,.fld-rw b,.cp-score small,.fld-tdo b,.fld-hud p,.ws-rl,.fld-eye,.bd-ring small,.cp-res small){font-size:12px!important}   /* 12px floor at every width outside two-pane (+ design audit 2026-11-01 Q7) */
.me-chips{flex-wrap:wrap!important;overflow:visible}.me-chips span{flex:none;white-space:nowrap}   /* trait chips wrap as whole chips: the scrolling row cut the last one mid-word on Duo portrait (gate 06:09 + 07:59) */
body.ha-sheet-open :is(.fld-zoom,.fld-tools,#ahBack,.bd-p,#field [data-f]:not(.fld-modal *)){visibility:hidden}   /* under a sheet they can't be tapped; hidden so nothing (a map control, a person node on the Field or Compatibility map: preflight 15:03 'Jordan Lee: 82% friendship' on 'Message Demo') reads as drawn over the sheet's buttons */
/* .me-chips edge fade removed 11-09: the row wraps now */
#ddHero{min-height:300px}body.fold.fold-narrow #ddHero{min-height:350px}   /* the greeting block's room while it fills in (measured 313-370px) */
@media (max-height:450px) and (orientation:landscape){body.has-nav #ddHero{min-height:215px}}
/* Phone sideways, Today (product check 2026-11-02, layout-phone-landscape): the hero and the spirit card side by side, so
   the first frame shows the whole greeting and the whole card instead of a card cut off by the tab bar. Not the Duo (.fold). */
@media (max-height:450px) and (orientation:landscape){
  body.has-nav:not(.fold) .dd-inner{max-width:min(880px,100%)!important;display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:18px;align-items:start}
  body.has-nav:not(.fold) .dd-inner > *{grid-column:1 / -1;min-width:0}
  body.has-nav:not(.fold) .dd-inner > #ddHero{grid-column:1;column-gap:12px!important}
  body.has-nav:not(.fold) .dd-inner > #ddHero .dd-skywrap{zoom:.36}
  body.has-nav:not(.fold) .dd-inner > #ddHero .dd-greet{font-size:26px!important;line-height:1.15}
  body.has-nav:not(.fold) .dd-inner > #ddSpirit{grid-column:2;margin-top:0!important}
  body.has-nav:not(.fold) .dd-inner{grid-auto-flow:row dense;max-width:min(980px,100%)!important}body.has-nav:not(.fold) .dd-inner > #ddHero,body.has-nav:not(.fold) .dd-inner > #ddSpirit{grid-row:1}   /* hero and Spirit card side by side in the first row (the empty week-strip slot no longer pushes the card down; pcheck 2026-11-02) */
  body.has-nav:not(.fold) .dd-inner > #ddHero .dd-greet{font-size:22px!important}body.has-nav:not(.fold) .dd-inner > #ddHero .dd-gdate{white-space:nowrap;letter-spacing:.1em;font-size:12px}
  body.has-nav:not(.fold) .dd-inner:not(:has(> #ddSpirit > *)) > #ddHero{grid-column:1 / -1}   /* no spirit card: the hero keeps the row */
  body.has-nav:not(.fold) #ddSpirit .sp-scale{display:none!important}   /* the '…out of 100' footnote: with the side insets the card ran 40pt under the tab bar */
}   /* the spirit card's room is held while it loads (measured 192-267px) */
body.fold a.hs-pcoll-sky{display:inline-flex!important;align-items:center;min-height:32px!important}   /* two-pane density: 32pt floor */
body.fold .fld-fc{min-height:32px!important}
.bnav{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
/* Duo folded side rail: the bottom nav moves into the right status strip below the status cluster (200pt down) */
html.duo-rail body.has-nav .bnav{top:calc(var(--duo-rail-top) + 48px);box-sizing:border-box;bottom:calc(env(safe-area-inset-bottom) + 84px);left:auto;right:0;width:var(--strip,env(safe-area-inset-right));padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;align-items:flex-start}
html.duo-rail body.has-nav .bnav{padding:0 6px!important}html.duo-rail body.has-nav .bnav .bnav-inner{flex-direction:column;justify-content:space-evenly;gap:0;max-width:none;width:100%;height:100%}
html.duo-rail body.has-nav .bnav .bnav-btn{flex:1 1 0;max-height:80px;min-height:52px;flex-direction:column;gap:3px;padding:4px 2px;font-size:12px}   /* 5-7 items share 200..644pt evenly (about 63pt each with 7) */
html.duo-rail body.app-hdr > #app > .brand{margin-left:-20px;margin-right:calc(-1 * (var(--strip,env(safe-area-inset-right)) + 16px));padding-left:20px;padding-right:calc(var(--strip,env(safe-area-inset-right)) + 16px)!important}   /* Duo folded: the header band runs edge to edge behind the rail (no hard edge), and + Wallet lines up with the column's right edge (it sat 70pt short) */
html.duo-rail body.fold .fp-chips{flex-wrap:nowrap;gap:6px;padding-left:14px;padding-right:10px}html.duo-rail body.fold .fp-chip{padding:0 10px;white-space:nowrap}   /* a section's pills stay on one row in the 300pt pane */
html.duo-rail body.fold #foldPane{background:none!important}   /* one sky across both panes; only the hairline divides them */
/* Duo unfolded portrait (Mike 2026-11-01: the nav is on the right in all three states): there is no side strip here, so the rail has its own width and starts at the top */
html.duo-port{--strip:76px}
html.duo-port.duo-rail body.has-nav #duoMenu{top:var(--duo-rail-top)}html.duo-port.duo-rail body.has-nav .bnav{top:calc(var(--duo-rail-top) + 52px)}html.duo-port.duo-rail.duo-has-back body.has-nav #duoBack{top:var(--duo-rail-top)}html.duo-port.duo-rail.duo-has-back body.has-nav .bnav{top:calc(var(--duo-rail-top) + 52px)}html.duo-port.duo-rail body.has-nav #duoPop.on{top:var(--duo-rail-top)}
html.duo-port body.has-nav{padding-bottom:0!important}html.duo-port body.fold #foldPane{bottom:0!important}html.duo-port.duo-rail body.fold{--fold-left:220px!important}html.duo-port.duo-rail body.fold .fp-chips{flex-wrap:wrap}html.duo-port body.fold .sp-card{flex-direction:column;align-items:center;text-align:center;gap:10px}html.duo-port body.fold .sp-card .sp-med{width:96px!important;height:96px!important}html.duo-port body.fold .sp-card > span:not(.sp-med){width:100%}html.duo-port body.fold .sp-card .sp-k{white-space:normal;text-wrap:balance;overflow:visible}html.duo-port body.fold .sp-card .sp-l{-webkit-line-clamp:unset;display:block}html.duo-port body.fold .sp-card .sp-bars{text-align:left}
html.duo-port body.has-nav .bnav{border-left:1px solid rgba(255,255,255,.08)!important}
/* iOS reserves x382 y0 84x174pt for the folded Duo's status area (up to 184pt while recording): the rail starts at --rail-top (WebShell publishes it next build), else 200; about 100pt unfolded sideways. In a full-screen view Back replaces the menu button. */
@media (min-width:700px){html.duo-capable.duo-rail body.has-nav #duoMenu{top:var(--duo-rail-top)}html.duo-capable.duo-rail body.has-nav .bnav{top:calc(var(--duo-rail-top) + 48px)}html.duo-capable.duo-rail.duo-has-back body.has-nav #duoBack{top:var(--duo-rail-top)}html.duo-capable.duo-rail.duo-has-back body.has-nav .bnav{top:calc(var(--duo-rail-top) + 48px)}html.duo-capable.duo-rail body.has-nav #duoPop.on{top:var(--duo-rail-top)}}
html.duo-land.duo-port.duo-rail body.has-nav #duoMenu{top:calc(env(safe-area-inset-top,0px) + 8px)}html.duo-land.duo-port.duo-rail body.has-nav .bnav{top:calc(env(safe-area-inset-top,0px) + 60px)}html.duo-land.duo-port.duo-rail.duo-has-back body.has-nav #duoBack{top:calc(env(safe-area-inset-top,0px) + 8px)}html.duo-land.duo-port.duo-rail.duo-has-back body.has-nav .bnav{top:calc(env(safe-area-inset-top,0px) + 60px)}html.duo-land.duo-port.duo-rail body.has-nav #duoPop.on{top:calc(env(safe-area-inset-top,0px) + 8px)}   /* unfolded landscape: rail from the top like unfolded portrait (the 700px rule above is for wider folded strips) */
html.duo-land.duo-rail body.fold{--fold-rail:env(safe-area-inset-left,0px)!important}html.duo-land.duo-rail body.has-nav .bnav{right:env(safe-area-inset-right,0px)!important}html.duo-land.duo-rail body.has-nav #duoAsk{right:calc(env(safe-area-inset-right,0px) + 6px)!important}html.duo-land.duo-rail body.has-nav #duoPop.on{right:calc(var(--strip) + env(safe-area-inset-right,0px) + 6px)}html.duo-land body.has-nav::after{right:env(safe-area-inset-right,0px)}html.duo-land body.has-nav #app{padding-right:calc(var(--strip) + env(safe-area-inset-right,0px) + 16px)!important}html.duo-land body.has-nav :is(.hs-mask,.sheet,.modal,.ac-ov,.fld-modal,.pt-ov,.hsc-menu,.sheet-mask,.fld-stage.ambient){right:calc(var(--strip) + env(safe-area-inset-right,0px))!important}   /* unfolded landscape: the list pane and the right rail sit inside the side safe areas (the sensor side when held sideways) */
html.duo-rail body.fold{--fold-rail:0px!important;--fold-left:300px!important;--fold-gap:1px!important}   /* the rail is on the right in the strip: no space reserved for a left rail (Mike's Duo, dead band at the far left) */
body.app-hdr:has(.screen.on .hsc-th-head > a[aria-label="Back to messages"]) > #app > .brand{display:none!important}   /* in a one-pane thread the person's row is the only header: Back, person, more (Mike 2026-11-01); only while that thread is the screen ON (11-04: a thread left in the DOM after leaving Messages kept the header hidden everywhere, so Field ran under the notch); on the Duo Back is on the rail */
html.duo-rail body.has-nav .fld-stage{border:0!important;box-shadow:none!important}html.duo-rail body.has-nav::after{display:none!important}html.duo-capable.duo-rail body.app-hdr > #app > .brand{position:relative;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;-webkit-mask-image:none!important;mask-image:none!important;box-shadow:none!important}   /* one sky behind content and rail: no strip tint, no header block; on the Duo the header scrolls with the page (Mike 2026-11-01) */
@media (max-width:699px){html.duo-capable.duo-rail:not(.duo-port) body.app-hdr.hdr-notitle > #app > .brand{position:absolute!important;top:10px;left:20px;right:calc(var(--strip,env(safe-area-inset-right)) + 16px);margin:0!important;padding:0!important;min-height:0}html.duo-capable.duo-rail:not(.duo-port) body.hdr-notitle .dd-wrap{padding-top:56px!important}html.duo-capable.duo-rail:not(.duo-port) body.hdr-notitle .dd-hero{padding-top:0!important}html.duo-capable.duo-rail:not(.duo-port) body.hdr-notitle .dd-date{letter-spacing:.14em}}   /* Duo folded Daily: no empty header row above the date (Mike 2026-11-01); + Wallet shares the date's row */
html.duo-rail body.has-nav > #app > .brand .auth-ctrl{display:none}   /* Side menu: the header row stays, the account lives under Me */
html.duo-rail body.has-nav .bnav .bnav-btn svg{width:22px;height:22px}
/* Social redesign (Fable audit #11/#12): labels 12px/500 on one line with ellipsis; Menu is a labelled rail item */
html.duo-rail body.has-nav .bnav .bnav-lab{font-size:12px;font-weight:500;max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.duo-rail body.has-nav #duoMenu{height:52px!important;font-size:12px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px}
html.duo-rail body.has-nav #duoMenu .duo-ml{font:500 12px var(--body,Inter,sans-serif);max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--mut,#b4adc8)}
html.duo-rail body.has-nav .screen{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
html.duo-rail body.has-nav .toast{bottom:calc(16px + env(safe-area-inset-bottom))}
/* Duo folded default ("Bottom menu + quick rail", Mike 2026-11-01, the Orpheus pattern): full-width bottom nav; the
   content sits on a panel that ends before the strip with a soft rounded edge; the strip below the status cluster
   holds a quick rail: your top people as round avatars, Ask at the bottom */
/* Duo folded (Mike 2026-11-01, rule layout-iphone-duo-folded-with): every tab and sheet blends into the rail like Daily, one
   continuous background under the strip; no panel, tint or hard edge (replaces the rounded-panel spec) */
/* Blend like Daily, complete (design audit 2026-11-01 §3): the strip is the same sky with a soft tone, the column keeps a
   16px gutter before it so no card or slab touches the strip, wrappers never paint their own surface */
html.duo-capable body.has-nav{background-color:transparent}
html.duo-capable body.has-nav::after{content:'';position:fixed;top:0;bottom:0;right:0;width:var(--strip,env(safe-area-inset-right));background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.22) 28px);pointer-events:none;z-index:0}
html.duo-capable body.has-nav #app{padding-right:calc(var(--strip,env(safe-area-inset-right)) + 16px)!important}
html.duo-capable body.has-nav .fld-stage{margin-right:0!important;border-radius:0!important;background:none!important}   /* one sky under content and rail (Mike 2026-11-02: no darker Field panel, no seam at the rail) */
html.duo-capable body.has-nav .fld-ov-top{padding-right:16px}
html.duo-capable body.has-nav .dd-wrap{margin-right:0!important}html.duo-capable.duo-rail body.has-nav .dd-wrap{margin-right:-18px!important}   /* Duo: the Daily column runs to the rail (its 18px padding was an extra inset on the right; pcheck layout-duo-phone-layouts-with, Mike 11-05) */
html.duo-capable body.has-nav :is(.hs-mask,.sheet,.modal,.ac-ov,.fld-modal,.pt-ov,.hsc-menu,.sheet-mask){right:var(--strip,env(safe-area-inset-right))!important}
html.duo-capable body.has-nav :is(.hs-page,.me-wrap,.cp-wrap,.st-wrap,.fld){background:transparent!important}
/* ONE header row on every signed-in app screen (Mike 2026-11-01; design audit §2, rule nav-one-header-row-app): the brand row
   becomes the screen's header: Back chevron (where the strip has no Back), the screen title in the display serif, its tools
   (Wallet), the account avatar. Sticky, blends into the sky, never hidden. Public pages keep the brand. */
body.app-hdr > #app > .brand{position:sticky;top:0;z-index:40;min-height:52px;padding:calc(env(safe-area-inset-top) + 4px) 0 4px;margin:0;gap:6px;background:linear-gradient(rgba(10,9,18,.82),rgba(10,9,18,.55));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-mask-image:linear-gradient(#000 calc(100% - 12px),transparent);mask-image:linear-gradient(#000 calc(100% - 12px),transparent)}
body.app-hdr > #app > .brand .dot{display:none}
/* once the page is scrolled the header is a solid edge-to-edge band, so the title never sits on top of the text going under it (iPhone) */
@media (pointer:coarse) and (max-width:767px){html.hdr-scrolled:not(.duo-rail) body.app-hdr:not(.hdr-notitle) > #app > .brand{background:linear-gradient(rgba(10,9,18,.97),rgba(10,9,18,.9));margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:26px}}
.dd-pushask{margin:20px 0 8px;padding:14px 16px;border:1px solid var(--line,rgba(255,255,255,.09));border-radius:16px;text-align:center}.dd-pushask p{margin:0 0 8px;font-size:14px;color:var(--ink-2,#cfc6e6)}.dd-pushask-b{display:flex;gap:8px;justify-content:center}.dd-pushask button{min-height:44px;padding:0 18px;border-radius:999px;font-size:14px;font-weight:600;cursor:pointer}.dd-pa-on{background:var(--acc,#D97757);color:#1A0F0A;border:0}.dd-pa-no{background:none;border:0;color:var(--mut,#a59dbf)}
.dd-subsig{display:inline-block;vertical-align:-2px;color:#E9C46A}
/* Tokens (Fable audit build 7 §2): one eyebrow (12px/700/.12em uppercase gold, one line), one avatar glyph (serif gold on the
   surface fill; the Me ring is a size variant), gold borders only for selected states */
.dd-fc-lab,.hs-eyebrow,.sp-k,.ac-card .k{font-size:12px!important;font-weight:700!important;letter-spacing:.12em!important;text-transform:uppercase;color:#C9A247!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.auth-ctrl .auth-av:not(:has(img)){font-family:var(--disp,Georgia,serif)!important;color:#C9A247!important;font-weight:600;background:var(--surface-2,#211e36)}
.dd-wrap{background:none!important}
/* the lead card (Daily, one column: phones and Duo; Mike 2026-11-03) */
#brief .dd-lead #ddHero{display:flex!important;flex-direction:column;align-items:stretch;text-align:left!important;min-height:0!important;margin:10px 0 0!important;padding:0!important;background:none;border:0;gap:0!important}
/* the medallion back on top (Mike 2026-11-03 "we seem to have lost the living photo ... put it back"): the member's photo inside today's planets
   sits above the lead card on every width, at its tuned size (--me, zoom per width); the card starts at the date line underneath */
#brief .dd-lead #ddHero > .dd-skywrap{order:0;align-self:center;flex:none;margin:0 auto 10px!important;z-index:1}
/* the medallion's own sky band with a thin divider under it, and a soft white halo on the photo (Mike 2026-11-03, his older reference) */
#brief .dd-lead #ddHero{position:relative;--bandh:176px}#brief .dd-lead #ddHero::before{content:'';position:absolute;left:0;right:0;top:-10px;height:var(--bandh);background:radial-gradient(70% 90% at 50% 62%,rgba(150,140,230,.12),rgba(150,140,230,0) 72%);border-bottom:1px solid rgba(255,255,255,.1);pointer-events:none;z-index:0}
#brief .dd-lead #ddHero > :not(.dd-skywrap){position:relative;z-index:1}
#brief .dd-lead #ddSkyWrap .dd-me{box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 30px 4px rgba(255,255,255,.2),0 0 70px 10px rgba(190,180,255,.12)!important}
@media (orientation:portrait) and (max-width:760px){#brief .dd-lead #ddHero{--bandh:143px}}
@media (max-height:450px) and (orientation:landscape){#brief .dd-lead #ddHero::before{display:none}}
/* Phone sideways (MasterBuilder 11-03): medallion on the left, name, date line and headline on the right, chips hidden,
   so the first frame shows the headline and the start of the reading; the card spans the width (Spirit follows it) */
@media (max-height:450px) and (orientation:landscape){
  body.has-nav:not(.fold) #brief .dd-lead.dd-inner > #ddHero{grid-column:1 / -1!important;grid-row:auto!important;min-height:0!important}
  body.has-nav:not(.fold) #brief .dd-lead.dd-inner > #ddSpirit{grid-column:1 / -1!important;grid-row:auto!important;margin-top:12px!important}
  html body #brief .dd-lead #ddHero{display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:18px;row-gap:2px;align-items:center!important;text-align:left!important;margin:0!important}
  html body #brief .dd-lead #ddHero > .dd-skywrap{grid-column:1;grid-row:1 / span 4;margin:0!important;align-self:center}
  html body #brief .dd-lead #ddHero > :not(.dd-skywrap){grid-column:2;text-align:left!important;align-self:start!important;max-width:none!important}
  html body #brief .dd-lead #ddMid{grid-row:1}html body #brief .dd-lead #ddHero > .dd-greet{grid-row:2;margin-top:6px!important}html body #brief .dd-lead #ddForce{grid-row:3;padding-top:4px!important}
  html body #brief .dd-lead #ddChips{display:none!important}html body #brief .dd-lead #ddHero > .dd-mdiv{grid-column:1 / -1;grid-row:5;margin-top:10px!important}
  html body #brief .dd-lead #ddForce .dd-ftx,html body #brief .dd-lead #ddForce .dd-ftx b{text-align:left!important}
  html body #brief .dd-lead #ddForce .dd-ftx b{font-size:22px!important;line-height:1.15!important}html body .dd-mname{font-size:20px;margin:0}html body .dd-march{margin-top:2px;font-size:12px}
  html body #brief .dd-lead #ddYouSec{margin-top:12px!important;padding-top:16px!important}
}
}
}
#brief .dd-lead #ddHero > :not(.dd-skywrap){margin-top:0!important;margin-bottom:0!important;max-width:none!important;width:auto!important;align-self:stretch}   /* the card pieces touch edge to edge: no seam or short strip */
.dd-lead #ddHero > :not(.dd-skywrap){background:var(--surface,#17152a);border:1px solid rgba(255,255,255,.1);border-top:0;border-bottom:0;padding-left:18px!important;padding-right:18px!important}
.dd-lead #ddHero > .dd-greet{padding-top:18px!important;border-top:1px solid rgba(255,255,255,.1);border-radius:22px 22px 0 0}
.dd-lead #ddHero .dd-greet{order:1;font:500 16px/1.4 Inter,system-ui,sans-serif!important;color:var(--ink-2,#d8d1e6)!important;text-align:left!important;margin:0!important}
.dd-lead #ddHero .dd-gdate{display:block;font-size:12px!important;letter-spacing:.12em;margin:0 0 6px!important}
.dd-lead #ddForce{order:2;display:block!important;margin:0!important;max-width:none!important;padding-top:8px!important;text-align:left!important}
.dd-lead #ddForce .dd-pvid{display:none!important}
.dd-lead #ddForce,.dd-lead #ddForce .dd-ftx,.dd-lead #ddForce .dd-ftx > *{padding-left:0!important;margin-left:0!important;justify-content:flex-start!important}
.dd-2col.dd-lead #ddForce .dd-ftx b{font-size:34px!important}.dd-2col.dd-lead #ddHero > :not(.dd-skywrap){padding-left:24px!important;padding-right:24px!important}.dd-2col.dd-lead #ddHero > .dd-greet{padding-top:22px!important}.dd-2col.dd-lead #ddYouSec{padding:4px 24px 22px!important}.dd-2col.dd-lead .dd-lead-share{width:auto;padding:0 28px;display:inline-flex;margin-right:18px}
.dd-lead #ddForce .dd-ftx{display:block;text-align:left}
.dd-lead #ddForce .dd-ftx b{display:block;font:600 30px/1.14 Fraunces,Georgia,serif!important;color:var(--ink,#F4ECD8)!important;letter-spacing:-.01em;text-wrap:balance}
.dd-lead #ddForce .dd-ftx > :not(b){display:block;font-size:13px;color:var(--mut,#a39cb8);margin-top:4px}
.dd-lead #ddHero #ddSub{order:3;justify-content:flex-start!important;margin:0!important;padding-top:8px!important;padding-bottom:6px!important;font-size:13px!important}
.dd-lead #ddYouSec{margin:0!important;padding:4px 18px 18px!important;background:var(--surface,#17152a);border:1px solid rgba(255,255,255,.1);border-top:0;border-radius:0 0 22px 22px}
.dd-lead #ddYouSec > .dd-sk,.dd-lead #ddYouSec > .dd-skq{display:none!important}
/* the reading's own height while it loads (it lands at ~200-260px): the page below no longer jumps when it arrives (pcheck layout-cls 0.15-0.29, 11-08) */
#ddYou > .dd-load:only-child{min-height:200px;box-sizing:border-box}
.dd-lead #ddYou > .dd-card.dd-lead-main{background:none!important;border:0!important;box-shadow:none!important;padding:8px 0 0!important;margin:0!important}
.dd-lead #ddYou .dd-read{font-size:17px!important;line-height:1.6!important}
.dd-lead-do{margin:16px 0 0;padding:2px 0 2px 14px;border-left:3px solid #D97757}
.dd-lead-k{font:700 12px Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#C9A247;margin:0 0 4px}
.dd-lead-do p{margin:0;font:600 18px/1.35 Fraunces,Georgia,serif;color:var(--ink,#F4ECD8)}
.dd-lead-share{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin:18px 0 0;border:0;border-radius:26px;background:#D97757;color:#0a0912;font:700 16px Inter,system-ui,sans-serif;cursor:pointer}
.dd-lead-ok{margin:6px 0 0;font-size:13px;color:var(--mut,#a39cb8);text-align:center}.dd-lead-ok:empty{display:none}
.dd-lead-ask{display:inline-flex;align-items:center;min-height:44px;margin:4px 0 0;padding:0;border:0;background:none;color:var(--ink,#F4ECD8);font:600 15px Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.dd-lead #ddCi{background:none!important;border:0!important;box-shadow:none!important;padding:4px 0 0!important;margin:0!important;text-align:left!important}
/* ── the masthead (Mike 2026-11-03, approved r-ha-header-a930a23e): no card around it, centred over both columns ── */
#brief .dd-lead #ddHero{align-items:center!important;text-align:center!important;margin:6px 0 0!important}
#brief .dd-lead #ddHero::before{display:none!important}
#brief .dd-lead #ddHero > :not(.dd-skywrap){background:none!important;border:0!important;border-radius:0!important;padding-left:0!important;padding-right:0!important;align-self:center!important;text-align:center!important;max-width:min(860px,100%)!important}
#brief .dd-lead #ddHero > .dd-skywrap{margin:0 auto 4px!important}
@media (max-width:600px) and (orientation:portrait){html body:not(.fold) #brief .dd-lead #ddHero > .dd-skywrap{zoom:.7}}   /* portrait phones: the orbit 30% smaller, the reading starts higher (pcheck 11-10 layout-first-real-content-starts) */
#brief .dd-lead #ddHero #ddSub{display:none!important}
#brief .dd-lead #ddMid{order:1}.dd-mname{margin:10px 0 0;font:600 30px/1.15 Fraunces,Georgia,serif;color:var(--ink,#F4ECD8);letter-spacing:.005em}
.dd-march{margin:6px 0 0;font:700 13px/1.3 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#C9A247}
#brief .dd-lead #ddChips{order:2;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px!important}
.dd-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;font:500 13px/1.2 Inter,system-ui,sans-serif;color:var(--ink-2,#d8d1e6);white-space:nowrap}
.dd-chip[hidden]{display:none!important}.dd-chip-wait{visibility:hidden}   /* today's chips hold their place while the sky loads (no layout shift) */.dd-chip-t{border-color:rgba(217,119,87,.45);color:var(--acc-ink,#EDA588)}
#brief .dd-lead #ddHero > .dd-greet{order:3;margin-top:30px!important;padding-top:0!important;font:600 12px/1.4 Inter,system-ui,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--acc-ink,#EDA588)!important}
#brief .dd-lead #ddHero .dd-gdate{display:inline!important;margin:0!important;font-size:inherit!important;letter-spacing:inherit!important;color:inherit!important}#brief .dd-lead #ddHero .dd-gdate::after{content:" \00B7  "}
#brief .dd-lead #ddForce{order:4;padding-top:10px!important;text-align:center!important}
/* phone portrait: the sky chips are one swipeable row, not a 4-row stack, so the reading starts in the first screen
   (pcheck layout-first-real-content-starts / layout-consistent-repeats 11-08) */
@media (max-width:600px) and (orientation:portrait){body:not(.fold) #brief .dd-lead #ddChips{flex-wrap:nowrap!important;justify-content:safe center!important;max-width:none!important;width:calc(100% + 32px)!important;min-width:0;box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin-left:-16px!important;margin-right:-16px!important;padding:0 16px 2px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 22px),transparent)}body:not(.fold) #brief .dd-lead #ddChips::-webkit-scrollbar{display:none}body:not(.fold) #brief .dd-lead #ddChips .dd-chip{flex:none}body:not(.fold) #brief .dd-lead #ddHero > .dd-greet{margin-top:18px!important}}
/* Duo with the side rail: the chip row stays inside its column, never under the rail (pcheck layout-safe-area-sides / layout-duo-phone-layouts 11-09) */
@media (max-width:600px) and (orientation:portrait){html.duo-rail body:not(.fold) #brief .dd-lead #ddChips{margin-left:0!important;margin-right:0!important;width:100%!important;padding:0 0 2px}}
/* the chip row scrolls sideways: the right edge fades so a cut chip reads as "more this way", not clipped (pcheck layout-labels-inside-tiles-chips 11-09) */
@media (max-width:600px) and (orientation:portrait){#brief .dd-lead #ddChips.ovf{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);scroll-padding-right:56px}#brief .dd-lead #ddChips.ovf>:last-child{margin-right:28px}}
#brief .dd-lead #ddForce .dd-ftx{text-align:center!important}
@media (max-width:600px) and (orientation:portrait){html body:not(.fold) #brief .dd-lead.dd-inner #ddChips{flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding:0!important;gap:6px!important;-webkit-mask-image:none!important;mask-image:none!important}html body #brief .dd-lead.dd-inner #ddChips>.dd-chip{padding:5px 12px!important;font-size:12px!important;margin-right:0!important}}   /* phones and the Duo column (pcheck 11-09, three runs: "Today: Satu" cut at the edge): the sky chips are labels, not buttons, so they sit compact and wrap; every chip shows whole */
#brief .dd-inner #ddHero:has(> .dd-load){min-height:430px!important}@media (max-width:760px){#brief .dd-inner #ddHero:has(> .dd-load){min-height:490px!important}}@media (max-width:600px) and (orientation:portrait){#brief .dd-inner #ddHero:has(> .dd-load){min-height:458px!important}}@media (max-height:450px) and (orientation:landscape){#brief .dd-inner #ddHero:has(> .dd-load),body.has-nav:not(.fold) #brief .dd-lead.dd-inner > #ddHero:has(> .dd-load){min-height:112px!important}}   /* the masthead's room while it loads (phones portrait: the loaded hero is 458px at 360-466 wide with the three chip rows, pcheck CLS 11-09) */
#brief .dd-lead #ddForce:empty{min-height:61px}@media (max-width:760px){#brief .dd-lead #ddForce:empty{min-height:80px}}@media (max-height:450px) and (orientation:landscape){html body #brief .dd-lead #ddForce{min-height:29px!important;box-sizing:border-box}}   /* phone sideways: the one-line headline is 29px with its padding (pcheck CLS 0.41, 11-09) */   /* the headline's room while the sky loads (no layout shift) */
#brief .dd-lead #ddForce .dd-ftx b{font:600 46px/1.1 Fraunces,Georgia,serif!important;text-align:center}
#brief .dd-lead #ddHero{container-type:inline-size}@container (max-width:560px){#brief .dd-lead #ddForce .dd-ftx b{font-size:clamp(24px,7.6cqi,34px)!important}.dd-mname{font-size:clamp(20px,6cqi,26px)!important}#brief .dd-lead #ddHero > .dd-greet{letter-spacing:.06em!important}}   /* narrow panes (Duo / iPad two-pane list): the masthead type scales with its column (pcheck 11-03: 4-line headline) */
#brief .dd-lead #ddForce .dd-ftx > :not(b),#brief .dd-lead #ddForce br{display:none!important}
#brief .dd-lead #ddHero > .dd-mdiv{order:5;align-self:stretch!important;max-width:none!important;height:1px;margin-top:30px!important;background:linear-gradient(90deg,rgba(150,140,230,0),rgba(150,140,230,.55),rgba(150,140,230,0))!important}
.dd-sky .pl.top text.lbl{display:block!important;font-size:13.5px;font-weight:700;fill:#EDA588;fill-opacity:.95;letter-spacing:.12em}
@media (max-width:760px){#brief .dd-lead #ddHero > .dd-greet{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.5!important}#brief .dd-lead #ddHero .dd-gdate{display:block!important}#brief .dd-lead #ddHero .dd-gdate::after{content:none!important}#brief .dd-lead #ddChips{flex-wrap:wrap!important;justify-content:center!important;overflow:visible;max-width:100%!important;align-self:stretch!important;padding:0 12px;row-gap:6px!important;margin-top:10px!important}#brief .dd-lead #ddChips::-webkit-scrollbar{display:none}#brief .dd-lead #ddChips .dd-chip{flex:none}.dd-mname{font-size:24px!important;margin-top:6px!important}.dd-march{margin-top:4px!important}}
@media (max-width:760px){#brief .dd-lead #ddForce .dd-ftx b{font-size:32px!important}.dd-sky .pl.top text.lbl{display:none!important}#brief .dd-lead #ddHero > .dd-greet{margin-top:22px!important;letter-spacing:.06em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%!important}#brief .dd-lead #ddHero > .dd-mdiv{margin-top:22px!important}.dd-mname{font-size:26px}}
/* the reading card below the masthead is one card again; the line for today is a quote with a left rule, one Share */
#brief .dd-lead #ddYouSec{border-top:1px solid rgba(255,255,255,.1)!important;border-radius:22px!important;padding-top:24px!important;margin-top:24px!important}
#brief .dd-2col.dd-lead #ddYouSec{margin-top:0!important}
#ddPlusTop{flex-wrap:wrap;justify-content:center}#ddPlusTop .ha-terms{flex:0 0 100%;text-align:center}
#brief .dd-lead #ddLine{background:none!important;border:0!important;border-left:2px solid var(--acc,#D97757)!important;border-radius:0!important;box-shadow:none!important;text-align:left!important;padding:2px 0 2px 18px!important;margin:0 0 18px!important}
#brief .dd-lead #ddLine .dd-fc-lab{text-align:left}#brief .dd-lead #ddLine p{margin:6px 0 0!important;font-family:Fraunces,Georgia,serif!important}
#brief .dd-lead #ddLineShare{display:none!important}
#brief .dd-lead .dd-lead-acts{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:10px}
#brief .dd-lead .dd-lead-acts > .dd-lead-do,#brief .dd-lead .dd-lead-acts > .dd-lead-ok{flex:0 0 100%}
#brief .dd-lead .dd-lead-acts > #ddCi{margin-left:auto!important;padding:0!important;display:flex;align-items:center;gap:8px}
#brief .dd-lead .dd-lead-acts > #ddCi .dd-rate-q{font-size:13px!important;margin:0!important}
#brief .dd-lead .dd-lead-acts > .dd-lead-ask{border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;min-height:44px;padding:0 20px!important;text-decoration:none!important;background:transparent!important}
.dd-inner.dd-2col{flex-wrap:wrap!important;row-gap:30px}.dd-2col > .dd-c2 > #ddPlusTop{display:flex}   /* desktop rail: Year Ahead is the one upsell (Mike via MasterBuilder 11-03); phones and the Duo keep the pill */.dd-inner.dd-2col > #ddHero{flex:0 0 100%;max-width:100%}
.dd-lead #ddCi .dd-rate-q{font:500 14px Inter,system-ui,sans-serif!important;color:var(--mut,#a39cb8)!important;margin:0 0 2px!important}
.dd-lead #ddCi .dd-stars{justify-content:flex-start!important}.dd-lead #ddCi .dd-rate-sub{display:none!important}
.dd-lead #ddYou > #ddTomorrow{margin:16px 0 0!important}
/* Daily, two columns on wide screens (Mike 2026-11-03): ~66% today, ~33% supporting; see ddCols() */
body.has-nav #app:has(#brief.on .dd-2col){max-width:none}@media (min-width:900px){body.has-nav #app:has(#brief.on){max-width:none}}   /* full width from the first paint, so the columns form in place (pcheck layout-cls) */
.dd-inner.dd-2col{display:flex!important;align-items:flex-start;gap:32px;max-width:none!important;width:100%}
.dd-2col > .dd-c1{flex:2 1 0;min-width:0}
.dd-2col > .dd-c2{flex:1 1 0;min-width:260px;max-width:420px;display:flex;flex-direction:column;gap:14px}
.dd-2col > .dd-c2 > *{margin:0!important}
/* side column (Mike 2026-11-03): Year Ahead, Ask, then You + your people as compact cards, top 3 then See all */
.dd-pall-btn{display:none}.dd-c2 #ddPeopleSec{padding:0!important}.dd-c2 #ddPeopleSec .dd-sk,.dd-c2 #ddPeopleSec .dd-skq{text-align:left}
.dd-c2 #ddPeople:not(.dd-pall) .dd-person:nth-of-type(n+4){display:none}.dd-c2 .dd-pall-btn{display:block;width:100%;min-height:44px;margin:0 0 6px;background:none;border:1px solid #ffffff1f;border-radius:12px;color:#d8d1e6;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}.dd-c2 #ddPeople.dd-pall .dd-pall-btn{display:none}
.dd-c2 .dd-person{padding:12px 13px;border-radius:14px;margin:0 0 9px}.dd-c2 .dd-phead{gap:9px;margin:0 0 7px}.dd-c2 .dd-pp{width:34px;height:34px;font-size:15px}.dd-c2 .dd-phead > div:last-child{min-width:0;flex:1}.dd-c2 .dd-pn{font-size:16px;display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;min-width:0;overflow-wrap:anywhere}.dd-c2 .dd-pn .dd-pscore{flex:none}.dd-c2 .dd-pv{font-size:12px}
.dd-c2 .dd-pe{font-size:13px;margin:0 0 7px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;cursor:pointer}.dd-c2 .dd-pe.dd-pe-open{display:block}.dd-c2 .dd-pb{font-size:13px;padding:8px 10px}
.dd-c2 .dd-pshare{width:auto;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:44px;margin:9px 0 0;padding:0 16px;background:none;border:1px solid #C9A24788;color:#C9A247;font-size:13px}
.dd-c2 #ddYear{padding:16px 16px 14px}.dd-c2 #ddYear .rp-eb{white-space:nowrap}.dd-c2 #ddYear .rp-eb2{display:none}.dd-c2 #ddYear .rp-go{background:transparent!important;color:#C9A247!important;border:1px solid #C9A24799!important;box-shadow:none!important}.dd-c2 #ddYear .rp-d,.dd-c2 #ddYear .rp-in{display:none}.dd-c2 #ddYear .rp-in6{display:block}.dd-c2 #ddYear .rp-t{font-size:18px}.dd-c2 #ddYear .rp-buy{flex-wrap:wrap;gap:10px}
#brief #ddShareSec,#brief #ddSkyCall{display:none!important}
.dd-2col #ddHero{min-height:0}
.dd-inner #ddAsk .ac-card{margin:0;padding:14px 16px}.dd-inner #ddAsk .ac-card h3{font-size:17px}.dd-inner #ddAsk .ac-card p{display:none}.dd-inner #ddAsk .ac-card .ac-chip:nth-child(n+2){display:none}
.dd-inner #ddTextCard{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:12px 0 0!important}
.dd-inner #ddTextCard .dd-fc-lab{display:none}.dd-inner #ddTextCard .dd-read{font-size:14px!important;color:var(--mut,#a39cb8);margin:0}
.dd-inner #ddTextCard [data-tx="on"]{width:auto!important;margin:0!important;padding:0!important;background:none!important;color:#EDA588!important;font-weight:600!important;text-decoration:underline;text-underline-offset:3px;min-height:44px}
/* sms_optin arms b/c (Growth Engine spec, Mike 11-07; design: claude.ai/artifact/XrX31vPaEkTu7qC8uR4Zwy): the member's own text as an SMS bubble */
.sms-pv{text-align:left}.sms-pv-lab{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#C9A247;margin:0 0 10px}
.sms-pv-when{font-size:12px;color:var(--mut,#9a93b0);text-align:center;margin:0 0 6px}
.sms-pv-bub{background:var(--surface-2,#211e36);border:1px solid var(--line-2,rgba(255,255,255,.15));border-radius:18px 18px 18px 4px;padding:12px 14px;font-size:15px;line-height:1.5;color:var(--ink,#F4ECD8);max-width:92%;overflow-wrap:anywhere}
.sms-pv-bub .l{display:block;color:var(--ink-2,#d8d1e6);font-size:14px;margin-top:6px}
.sms-pv-why{font:500 16px/1.45 Fraunces,Georgia,serif;color:var(--ink,#F4ECD8);margin:14px 0 0}
.sms-pv-to{font-size:12.5px;line-height:1.45;color:var(--mut,#9a93b0);margin:10px 0 0}
.sms-pv-btn{display:block;width:100%;min-height:46px;margin-top:12px;border:0;border-radius:12px;background:var(--acc,#D97757);color:#1A0F0A;font-weight:700;font-size:15px;cursor:pointer}
.sms-pv-skip{display:block;margin:4px auto 0;background:none;border:0;color:var(--mut,#9a93b0);font-size:14px;min-height:44px;cursor:pointer}
.sms-pv-btn:focus-visible,.sms-pv-skip:focus-visible{outline:2px solid #C9A247;outline-offset:2px;border-radius:8px}
.dd-inner #ddTextCard.sms-pvc{background:var(--surface,#17152a)!important;border:1px solid var(--line,rgba(255,255,255,.09))!important;border-radius:18px;padding:16px 16px 6px!important;margin:14px 0 0!important}
.sms-pvc .acct-err:empty{display:none}
.dd-inner #ddTextCard.sms-pvc [data-tx="no"]{display:block!important}   /* the Daily hides the plain card's Not now; the preview card always shows its skip */
.dd-inner #ddTextCard [data-tx="no"]{display:none!important}
@media (min-width:1500px){.dd-2col{gap:40px}}   /* one background: the page's (no 2px-inset panel seam down both sides, MasterBuilder 2026-11-01) */
body.app-hdr.hdr-notitle > #app > .brand{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;border:0!important}body.app-hdr.hdr-notitle > #app > .brand::before,body.app-hdr.hdr-notitle > #app > .brand::after{display:none!important}
body.app-hdr.hdr-notitle > #app > .brand .brand-t{font-size:0!important;line-height:0;color:transparent}
/* Daily's header has no band behind it, so it scrolls away with the page instead of floating its avatar over the reading (Tom White 2026-11-03) */
body.app-hdr.hdr-notitle > #app > .brand{position:relative!important}
body.app-hdr > #app > .brand .brand-t{margin:0;font:600 22px/1.2 var(--disp);letter-spacing:-.01em;color:var(--ink);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.app-hdr.fold > #app > .brand .brand-t{font-size:20px}
.ah-back{display:grid;place-items:center;width:44px;height:44px;margin-left:-10px;border:0;background:none;color:var(--ink);border-radius:50%;cursor:pointer;flex:none}
.ah-back[hidden]{display:none}.ah-back:active{background:rgba(255,255,255,.08)}.ah-back:focus-visible{outline:2px solid #E9C46A}
body.app-hdr :is(.hs-head .hs-title,.hsc-sp-h1,#settings .ia-h1){display:none}body.app-hdr .hs-head .hs-titlerow{min-height:0}   /* the title moved to the header row: its empty row left an 80pt gap above the tabs */
body.app-hdr .fld-head .fld-date{display:none}
@media (max-width:899px){html:not(.duo-rail) body.app-hdr:not(.fold) :is(.backbtn,.ac-bk,.duo-bk,.cp-back,.rv-back,.exp-back-btn,[aria-label^="Back"]):not(#duoBack):not(#ahBack):not(.sheet *):not(.modal *):not(.ac-ov *):not(.hsc-th-head *){display:none!important}}@media (max-width:899px){html.duo-rail body.app-hdr:not(.fold) :is(.backbtn,.ac-bk,.duo-bk,.cp-back,.rv-back,.exp-back-btn,[aria-label^="Back"]):not(#duoBack):not(#ahBack):not(.sheet *):not(.modal *):not(.ac-ov *):not(.hsc-th-head *){display:none!important}}   /* Duo sideways (900+): no header row there, the page keeps its own top-left Back (Mike 11-09 evening). Same wherever the header row is hidden: desktop 900+ (sidebar) and the two-pane fold (body.fold), else a sub-page had no Back at all (MB 11-09 nav-ha-back-button-sits: exactly one Back on every sub-page, at every size) */
body.has-nav .screen.on{min-height:calc(100dvh - 56px)}   /* the footer starts below the first screen of an app view (design audit §5.10) */
.ia-h1{font-size:clamp(24px,6vw,32px)!important}@media (max-height:450px) and (orientation:landscape){.ia-h1{font-size:24px!important}}   /* design audit Q12 */
.pa-card{margin:14px 0 18px;padding:16px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(201,162,71,.3)}.pa-card h2{margin:0 0 4px;font:600 19px/1.25 var(--disp);color:var(--ink)}.pa-card p{margin:0 0 12px;color:var(--mut);font-size:14.5px;line-height:1.45}
.pa-btns{display:flex;flex-direction:column;gap:8px}.pa-btns .btn{min-height:46px;width:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}
.pa-list{list-style:none;margin:10px 0;padding:0;max-height:52vh;overflow:auto}.pa-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.pa-ck{display:flex;align-items:center;gap:10px;min-height:44px;font-size:16px;color:var(--ink)}.pa-ck input{width:22px;height:22px;accent-color:var(--acc)}.pa-d{font-size:16px;padding:8px 10px;border-radius:10px;background:var(--surface,#17152a);color:var(--ink);border:1px solid rgba(255,255,255,.16);color-scheme:dark}.pa-hint{grid-column:1/-1;color:var(--mut);font-size:12.5px}.pa-tip{margin:10px 0 0;color:var(--mut);font-size:13px}
body.app-hdr > #app{padding-top:0!important}   /* the header row carries the safe-area top itself (no double band) */
body.app-hdr > #app > .brand{padding-right:max(6px,calc(env(safe-area-inset-right) - 14px))}
/* the sticky header's blurred backdrop runs edge to edge (was inset by #app's 20px padding, a darker box with visible
   edges under the status bar; product check color-pulling-past-top-bottom 2026-11-02). Content stays where it was. */
/* sideways phone: the avatar's 44pt tap area grows to the left only, so it stays out of the right safe area (product check layout-safe-area-sides) */
@media (max-height:450px) and (orientation:landscape){#authCtrl .auth-av{margin-right:0!important;margin-left:-8px!important}}
html:not(.duo-rail) body.app-hdr > #app > .brand{margin-left:calc(-1 * max(20px,env(safe-area-inset-left)))!important;margin-right:calc(-1 * max(20px,env(safe-area-inset-right)))!important;padding-left:max(20px,env(safe-area-inset-left))!important;padding-right:max(20px,env(safe-area-inset-right))!important}   /* the avatar stays out of the side safe area (sideways phone) */
#duoQuick{display:none}
#duoMenu,#duoAsk,#duoPop{display:none}
html.duo-rail body.has-nav #duoMenu,html.duo-rail body.has-nav #duoAsk{display:grid;place-items:center;position:fixed;right:0;width:var(--strip,env(safe-area-inset-right));z-index:57;background:none;border:0;color:var(--ink,#F4ECD8);cursor:pointer;padding:0}
html.duo-rail body.has-nav #duoMenu{top:var(--duo-rail-top);height:48px;font-size:22px}
html.duo-rail body.has-nav #duoAsk{bottom:calc(env(safe-area-inset-bottom) + 4px);height:76px;right:6px!important;width:calc(var(--strip,env(safe-area-inset-right)) - 12px)!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:16px;-webkit-tap-highlight-color:transparent}
/* Duo folded Side menu: the strip rail stays on every screen (rule nav-iphone-duo-folded-with, Mike 2026-11-01). Overlays, sheets,
   Ask chat and the full-screen map stop at the strip; the rail sits above them. Ask lives at the foot, not in the tabs. */
html.duo-rail body.has-nav :is(.sheet-mask,.ac-ov,.fld-modal,.fld-stage.ambient){right:var(--strip,env(safe-area-inset-right))!important}
html.duo-rail body.has-nav .fld-modal.fld-modal{right:var(--duo-content-r,var(--strip,env(safe-area-inset-right)))!important}   /* the Field reader ends 13pt before the capsule like the page content (preflight 11-06: sideways it touched the rail, 1px); the class is doubled to outrank the :is(... .fld-stage.ambient) lists above */
html.duo-rail body.has-nav :is(#bnav,#duoMenu,#duoAsk){z-index:9600!important}html.duo-rail body.has-nav #duoPop{z-index:9700!important}
html.duo-rail body.has-nav #navAsk{display:none!important}
html.duo-rail body.has-nav .ac-ov .ac-sh{padding-right:0!important}html.duo-rail body.has-nav .ac-ov{bottom:0!important}   /* Ask can open before the inset is known and measure the rail as a bottom bar */
html.duo-rail body.has-nav:has(.ac-ov) #duoAsk{background:rgba(201,162,71,.16)}html.duo-rail body.has-nav:has(.ac-ov) #duoAsk .duo-l{color:#E9C46A}html.duo-rail body.has-nav:has(.ac-ov) #bnav .bnav-btn.on{color:var(--mut,#a59dbf)}html.duo-rail body.has-nav:has(.ac-ov) #bnav .bnav-btn.on svg{stroke:currentColor}   /* Ask open: a tinted pill behind icon + label like the other tabs, never a filled block (Mike 2026-11-01 "Button states issue") */
#duoAsk .duo-i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:none!important;color:#E9C46A;font:700 20px var(--body);transition:transform .12s,filter .12s}
html.duo-rail body.has-nav #duoAsk{background:rgba(255,255,255,.06)!important;color:var(--ink,#F4ECD8)!important}
/* Duo folded strip (product check 2026-11-02, layout-iphone-duo-folded-strip): the strip stays the page's starfield; Ask has no
   lighter tile behind it, just the gold round button like the other rail items' quiet treatment */
html.duo-rail body.has-nav:not(:has(.ac-ov)) #duoAsk{background:none!important}html.duo-rail #duoAsk .duo-i{border:1px solid rgba(201,162,71,.6);background:rgba(201,162,71,.12)!important}html.duo-rail body.has-nav #duoAsk .duo-i{color:var(--ink,#F4ECD8)}html.duo-rail body.has-nav:has(.ac-ov) #duoAsk{background:rgba(201,162,71,.16)!important}html.duo-rail body.has-nav:has(.ac-ov) #duoAsk .duo-i{color:#E9C46A}html.duo-rail body.has-nav #duoAsk .duo-i,html.duo-rail body.has-nav #duoAsk .duo-l{visibility:visible!important;opacity:1!important}   /* Fable audit build 7, blocker 2: never a solid gold block */
@media (max-height:420px){html.duo-rail body.has-nav :is(.bnav,#duoMenu,#duoAsk){display:none!important}}   /* keyboard up on the Duo: no room for the rail, its tabs piled up under Back */
#duoAsk .duo-l{font:600 12px var(--body);color:var(--ink,#F4ECD8);line-height:1}
#duoAsk:active .duo-i{transform:scale(.94);filter:brightness(.88)}#duoAsk:focus-visible{outline:2px solid #E9C46A;outline-offset:-2px}#duoMenu:focus-visible{outline:2px solid #E9C46A;outline-offset:-4px;border-radius:12px}#duoMenu:active{opacity:.7}
html.duo-rail body.has-nav #duoPop.on{display:flex;flex-direction:column;gap:8px;position:fixed;top:var(--duo-rail-top);right:calc(var(--strip,env(safe-area-inset-right)) + 6px);z-index:58;padding:12px;border-radius:16px;background:#1d1a33;border:1px solid rgba(201,162,71,.28);box-shadow:0 14px 34px -10px rgba(0,0,0,.7);max-width:260px}
#duoPop .dp{display:flex;align-items:center;gap:10px;min-height:44px;background:none;border:0;color:var(--ink,#F4ECD8);font:600 14px var(--body);text-align:left;cursor:pointer;padding:0 6px}
#duoPop .dp b{width:36px;height:36px;flex:none;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(201,162,71,.55);font:700 15px var(--disp,Georgia),serif}
#duoPop .dp-nd{width:8px;height:8px;margin-left:auto;border-radius:50%;background:#EDA588;flex:none}#duoPop .dp-h2{margin-top:8px}#duoPop .dp-h{font:700 12px var(--body);letter-spacing:.1em;text-transform:uppercase;color:#C9A247;margin:0 6px 2px}
html.duo-full body.has-nav #duoQuick{display:flex;position:fixed;right:0;top:200px;width:env(safe-area-inset-right);bottom:calc(84px + env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:12px;z-index:56}
#duoQuick .dq{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;position:relative;border:1.5px solid rgba(201,162,71,.55);background:#1d1a33;color:var(--ink,#F4ECD8);font:700 17px var(--disp,Georgia),serif;cursor:pointer;padding:0}
#duoQuick .dq .dqd{position:absolute;top:1px;right:1px;width:10px;height:10px;border-radius:50%;background:var(--acc,#D97757);box-shadow:0 0 0 2px var(--bg)}
#duoQuick .dq-ask{margin-top:auto;border-color:rgba(201,162,71,.9);color:#C9A247;font:700 20px var(--body)}
#duoQuick .dq-l{font:600 11px var(--body);color:var(--mut);margin-top:-8px}
html:has(.sheet.on),html:has(.sheet.on) body{overflow:hidden}   /* a sheet scrolls as one page: the page behind it is locked */
.sheet:not(.on){visibility:hidden;transition:transform .3s cubic-bezier(.2,.7,.2,1),visibility 0s .3s}
.bnav-btn:not(.has-new) .bnav-count{display:none}
@media (pointer:coarse){
  body:not(.fold) .auth-ctrl .auth-av{box-sizing:border-box;width:44px;height:44px;padding:0;aspect-ratio:1;flex:none;border:4px solid transparent;background-clip:padding-box;margin:-4px}   /* a 36px circle in a 44pt tap area */
  body:not(.fold) .auth-ctrl .auth-av[aria-current]{box-shadow:inset 0 0 0 2px var(--acc-ink)}   /* on Account & settings: the ring hugs the 36px circle; outside the 44pt box the header clipped it */
  body:not(.fold) .fld-tabs button,body:not(.fold) .fld-seg button,body:not(.fold) .hs-tabs .hs-tab,body:not(.fold) .ia-seg button{min-height:44px}
  body:not(.fold) .me-acts .ia-btn{min-height:44px!important}
}
/* phones, upright or sideways (not two-pane, where 11px density is intended): labels and badges at the 12px floor */
@media (max-width:699px),(max-height:450px){
  .dd-sky text.lbl{display:none}   /* planet names would be 6px on phones: tap a planet for its name (MasterBuilder 2026-11-01) */
  body:not(.fold) :is(.ia-eb,.fld-k,.fld-mk,.fld-fk,.hs-new,.dd-date,.hs-eyebrow,.dd-fc-badge,.dd-fc-lab,.bnav-lab,.me-chart .k,#me span.k,#field dt,#field small,.hs-match span,.dd-cl,.pw-lab,.rp-eb,.dd-ringc span){font-size:12px!important}
  body:not(.fold) a.hs-pcoll-sky{display:inline-flex!important;align-items:center;min-height:44px!important}
}
/* Phone sideways (MasterBuilder 2026-11-01, product call): the first frame shows the page, not chrome. Signed-in pages
   drop the brand bar (the Me tab carries the account; signed-out pages keep it for Sign in), the bottom nav is a
   compact 44pt row with icon + label side by side, and the content starts high. iPhone sideways stays one pane. */
@media (max-height:450px) and (orientation:landscape){
  body.has-nav > #app > .brand{min-height:40px!important;padding-top:env(safe-area-inset-top)!important;padding-bottom:0!important}body.app-hdr > #app > .brand .brand-t{font-size:19px!important}   /* sideways: the same header row, compact, so the first card still fits */
  body.has-nav #ddHero{padding-top:0!important;margin-top:-6px!important}body.has-nav .dd-date{margin-top:0!important}
  body:not(.has-nav) > #app > .brand{padding:2px;min-height:40px}
  body:not(.has-nav) > #app > .brand .auth-link{min-height:44px}
  .bnav{padding:0 8px env(safe-area-inset-bottom)}
  .bnav .bnav-btn{flex-direction:row;gap:6px;min-height:44px;padding:0 4px;font-size:11px}
  .bnav .bnav-btn svg{width:20px;height:20px}
  .bnav .bnav-btn .bnav-dot{top:8px;left:auto;right:calc(50% - 26px);margin-left:0}
  /* Today: a smaller sky arc and greeting so the first card shows in the first frame */
  body.has-nav .dd-date{margin-bottom:6px!important}
  body.has-nav .dd-skywrap{transform:scale(.62);transform-origin:50% 0;margin:-6px auto -58px!important}
  /* sideways: the sky arc goes small on the left, the greeting to its right, so the whole Spirit card fits in the first frame (MasterBuilder 2026-11-01) */
  body.has-nav #ddHero{display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:center;text-align:left;min-height:0!important;max-width:720px;margin-inline:auto}
  body.has-nav #ddHero > .dd-skywrap{grid-column:1;grid-row:1 / span 4;transform:none!important;zoom:.5;margin:0!important;align-self:center}
  body.has-nav #ddHero > :not(.dd-skywrap){grid-column:2;text-align:left;justify-content:flex-start;margin-left:0!important;margin-right:0!important}
  body.has-nav #ddHero .dd-greet{margin-top:2px!important}body.has-nav #ddHero .dd-force{margin-top:2px!important;max-width:none!important;width:auto!important}body.has-nav #ddHero .dd-force *{max-width:none!important}
  body.has-nav .dd-skywrap text,.dd-sky text.lbl{display:none}   /* the compact arc keeps the planets; labels would be 6px */
  body.has-nav .dd-greet{font-size:26px!important}
  body.has-nav .dd-force{min-height:0!important;margin-top:4px!important}
  body.has-nav .screen{padding-bottom:calc(52px + env(safe-area-inset-bottom))}
  body.has-nav .toast{bottom:calc(56px + env(safe-area-inset-bottom))}
  body.has-nav .dd-wrap{padding-top:6px!important}
  body.has-nav .dd-hero{padding-top:0!important}
}
.bnav-inner{display:flex;align-items:stretch;justify-content:space-around;gap:2px;
  width:100%;max-width:520px;margin:0 auto}
.bnav-btn{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:7px 4px 5px;border-radius:13px;color:var(--mut);background:transparent;border:none;
  font-family:var(--body);font-weight:600;font-size:10.5px;letter-spacing:.01em;line-height:1;
  transition:color .15s,background .15s}
/* update notification dot on a nav tab (regenerating → pending pulse, ready → solid coral) */
.bnav-btn .bnav-dot{position:absolute;top:5px;left:50%;margin-left:7px;width:8px;height:8px;border-radius:50%;
  background:var(--acc);box-shadow:0 0 0 2px var(--bg);opacity:0;transform:scale(.4);
  transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.bnav-btn.has-update .bnav-dot,.bnav-btn.has-todo .bnav-dot{opacity:1;transform:scale(1)}
.bnav-btn.regenerating .bnav-dot{background:var(--warn);animation:dotpulse 1.4s ease-in-out infinite}
@keyframes dotpulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.7)}}
/* "someone compared with you" count badge (Friends tab) */
.bnav-btn .bnav-count{position:absolute;top:2px;left:50%;margin-left:5px;min-width:16px;height:16px;padding:0 4px;
  border-radius:9px;background:var(--acc);color:#fff;font-family:var(--body);font-weight:700;font-size:10px;
  line-height:16px;text-align:center;box-shadow:0 0 0 2px var(--bg);opacity:0;transform:scale(.4);
  transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.bnav-btn.has-new .bnav-count{opacity:1;transform:scale(1)}
.bnav-btn svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;display:block}
.bnav-btn .bnav-lab{margin-top:1px}
@media (min-width:900px){body.nav-v2 #navCompare,body.nav-v2 #navMessages{display:none!important}}html.duo-rail body.nav-v2 :is(#navCompare,#navMessages),body.fold.nav-v2 :is(#navCompare,#navMessages){display:none!important}   /* the phone bar (<900px) picks its own slot 4 (index.html phone bar block) */
.bnav-btn:hover{color:var(--ink-2)}
.bnav-btn.on{color:var(--acc-ink)}
.bnav-btn.on svg{stroke-width:2.1}
/* below 900px the bar is DOCKED full-width (the old ≥560px floating white pill is gone) */
.bnav-btn:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
/* sidebar-only parts of the nav (brand, People sub-list, footer) are hidden in bottom mode */
.snav-brand,.snav-foot,.nav-sub{display:none}

/* ── DESKTOP SIDEBAR NAV (≥900px, in-app) ─────────────────────
   Same <nav id="bnav"> + buttons (ids, dots, counts keep working) restyled as a fixed
   248px left rail. #authCtrl/#authMenu are MOVED into .snav-foot by updateNavLayout(). */
@media(min-width:900px){
  body.has-nav{padding-left:248px}
  body.has-nav #app{max-width:800px;padding:0 40px}
  body.has-nav > #app > .brand{display:none}
  body.has-nav .screen{padding-bottom:48px}
  body.has-nav .site-foot{padding-bottom:40px}
  body.has-nav .toast{left:calc(50% + 124px);bottom:28px}
  body.has-nav .regen-banner{left:calc(50% + 124px);bottom:28px}
  .bnav{top:0;bottom:0;left:0;right:auto;width:248px;flex-direction:column;gap:22px;
    padding:24px 14px;background:rgba(10,9,18,.55);border-top:none;border-right:1px solid rgba(255,255,255,.08);
    box-shadow:none;backdrop-filter:saturate(1.2) blur(12px);-webkit-backdrop-filter:saturate(1.2) blur(12px);
    overflow-y:auto;overscroll-behavior:contain}
  .snav-brand{display:flex;align-items:center;gap:10px;padding:0 10px;min-height:28px;border-radius:10px;
    color:var(--ink);font-family:var(--body);font-weight:600;font-size:15px;letter-spacing:.005em;text-align:left}
  .snav-brand .dot{width:10px;height:10px;border-radius:50%;background:var(--acc);flex:0 0 auto}
  .snav-brand:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
  .bnav-inner{flex-direction:column;justify-content:flex-start;gap:2px;max-width:none;margin:0;width:auto}
  .bnav-btn{flex:0 0 auto;flex-direction:row;justify-content:flex-start;gap:12px;height:44px;padding:0 12px;
    border-radius:12px;color:#b4adc8;font-size:15px;font-weight:500;letter-spacing:0;text-align:left}
  .bnav-btn svg{width:20px;height:20px;stroke-width:1.8;flex:0 0 auto}
  .bnav-btn.on svg{stroke-width:1.9}
  .bnav-btn .bnav-lab{flex:1;margin:0}
  .bnav-btn:hover{color:var(--ink);background:rgba(255,255,255,.04)}
  .bnav-btn.on{background:var(--acc-soft);color:var(--acc-ink);font-weight:600}
  /* count → right-aligned pill; dot → right-aligned marker */
  .bnav-btn .bnav-count{position:static;margin:0;min-width:20px;height:20px;padding:0 6px;border-radius:10px;
    font-size:11px;line-height:20px;color:#0a0912;box-shadow:none;display:none;transform:none}
  .bnav-btn.has-new .bnav-count{display:block;opacity:1}
  .bnav-btn .bnav-dot{top:50%;left:auto;right:14px;margin:-4px 0 0;box-shadow:none}
  /* People › Feed · Friends · Messages · Settings (rendered by HAApp.setPeopleSub) */
  body.has-nav .nav-sub.has-items.show{display:flex}
  .nav-sub{flex-direction:column;gap:2px;margin:2px 0 6px 22px;padding-left:12px;border-left:1px solid var(--acc-line)}
  .nav-sub-btn{display:flex;align-items:center;height:38px;padding:0 10px;border-radius:10px;color:#b4adc8;
    font-family:var(--body);font-size:14px;font-weight:500;text-align:left;width:100%}
  .nav-sub-btn .ns-lab{flex:1}
  .nav-sub-btn .ns-ct{font-size:12px;font-weight:600;color:var(--acc-ink)}
  .nav-sub-btn:hover{color:var(--ink);background:rgba(255,255,255,.04)}
  .nav-sub-btn.on{background:var(--surface-2);color:var(--ink);font-weight:600}
  .nav-sub-btn:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
  /* footer: + Add a friend, account row (the real #authCtrl, moved here) */
  .snav-foot{display:flex;flex-direction:column;gap:10px;margin-top:auto;position:relative}
  .snav-foot .auth-ctrl{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0}
  .snav-foot .auth-add{height:44px;border-radius:22px;border:1px solid rgba(217,119,87,.45);color:var(--acc-ink);
    font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;padding:0 12px}
  .snav-foot .auth-av{display:none}
  .snav-foot .auth-acct{display:flex}
  .snav-foot .auth-link{height:44px;border-radius:12px;font-size:14px;font-weight:600;color:var(--ink);text-align:center}
  .snav-foot .auth-add:focus-visible,.snav-foot .auth-acct:focus-visible,.snav-foot .auth-link:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
  .snav-foot .auth-menu{top:auto;bottom:calc(100% + 8px);left:0;right:0;min-width:0}
}
@media(min-width:1280px){
  body.has-nav #app{max-width:860px}
}

/* ── CORE BELIEFS v8 (categories · metaphors · readiness · limiting) ── */
.cb-lead{margin:14px 0 0;padding:22px 22px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);border-left:3px solid var(--L4);box-shadow:var(--shadow)}
.cb-lead .cb-lead-k{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);margin-bottom:9px}
.cb-lead p{margin:0;font-size:16px;line-height:1.6;color:var(--ink-2)}
.cb-cat-sec{margin:6px 0 0}
.cb-cat-head{font-family:var(--disp);font-weight:600;font-size:20px;line-height:1.2;letter-spacing:-.005em;
  color:var(--ink);margin:0 0 12px;display:flex;align-items:center;gap:9px}
.cb-cat-head .cb-cat-em{font-size:21px;flex:0 0 auto}
.cb-metas{display:flex;flex-direction:column;gap:11px}
.cb-meta{padding:17px 19px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);
  border-left:3px solid var(--L4);box-shadow:var(--shadow-sm)}
.cb-meta-q{font-family:var(--disp);font-weight:500;font-size:17.5px;line-height:1.32;color:var(--ink);margin:0 0 11px}
.cb-meta-q::before{content:'\201C';color:var(--acc);font-family:var(--disp);font-weight:600;margin-right:1px}
.cb-meta-line{font-size:13.5px;line-height:1.5;color:var(--ink-2);margin:7px 0 0;padding-left:2px}
.cb-meta-line .cb-ml-lab{font-family:var(--mono);font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--mut);font-weight:600;display:block;margin-bottom:2px}
.cb-notes{font-size:13px;line-height:1.5;color:var(--mut);margin:13px 0 0;padding-top:11px;border-top:1px solid var(--line-2);font-style:italic}
.cb-notes b{font-style:normal;font-weight:600;color:var(--ink-2)}
/* readiness v8 */
.ready-row .ri{font-size:13.5px;line-height:1.5;color:var(--ink-2);margin:9px 0 0}
.ready-refs{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 0}
.ready-ref{font-size:11.5px;line-height:1.35;color:var(--mut);padding:6px 11px;border-radius:10px;
  background:var(--surface-2);border:1px solid var(--line-2)}
.ready-ref::before{content:'\201C';color:var(--acc);margin-right:1px}
.ready-ref::after{content:'\201D';color:var(--acc);margin-left:1px}
.cb-pull{margin:20px 0 0;padding:18px 22px;border-radius:16px;background:var(--acc-soft);border:1px solid var(--acc-line);
  font-family:var(--disp);font-weight:500;font-size:18px;line-height:1.42;color:var(--ink);text-align:center}
.cb-pull::before{content:'\201C';color:var(--acc);font-family:var(--disp);font-weight:600}
.cb-pull::after{content:'\201D';color:var(--acc);font-family:var(--disp);font-weight:600}
/* limiting beliefs v8 */
.lb-pair{padding:16px 18px;border-radius:15px;background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--shadow-sm)}
.lb-pair .lb-x{font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.lb-pair .lb-x .ic{color:var(--bad);font-weight:600;margin-right:7px}
.lb-pair .lb-v{font-size:14.5px;line-height:1.45;color:var(--ink-2);margin-top:10px;padding-top:11px;border-top:1px solid var(--line-2)}
.lb-pair .lb-v .ic{color:var(--good);font-weight:600;margin-right:7px}
.cb-synth{margin:16px 0 0;padding:18px 20px;border-radius:16px;background:var(--surface);border:1px solid var(--line-2);
  border-left:3px solid var(--good);box-shadow:var(--shadow-sm);font-size:15px;line-height:1.6;color:var(--ink-2)}

/* ── DNA v2: per-trait intensity + confidence ─────────────────────── */
.el .el-bar{position:relative;height:3px;border-radius:99px;background:#00000010;margin-top:9px;overflow:hidden}
.el .el-bar>i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:var(--elc);width:0;
  transition:width .8s cubic-bezier(.2,.7,.2,1)}
/* low-confidence trait: softened + a faint "?" hint */
.el.lowconf{opacity:.62}
.el.lowconf .el-sub{filter:blur(.35px)}
.el .el-q{position:absolute;top:9px;right:10px;width:14px;height:14px;border-radius:50%;
  display:grid;place-items:center;font-family:var(--mono);font-size:10px;font-weight:600;line-height:1;
  color:var(--mut);background:var(--surface-2);border:1px solid var(--line-2);cursor:pointer}

/* ── DNA v2: "The deeper read" — emergent Synthesis ───────────────── */
.syn-wrap{margin:30px 0 0;animation:fadeIn .4s both}
.syn-kicker{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--acc-ink);
  display:flex;align-items:center;gap:9px;margin:0 0 4px}
.syn-kicker::after{content:'';flex:1;height:1px;background:var(--line-2)}
.syn-h{font-family:var(--disp);font-weight:600;letter-spacing:-.01em;font-size:clamp(24px,6vw,32px);
  line-height:1.08;margin:0 0 4px;color:var(--ink)}
.syn-sub{color:var(--mut);font-size:14.5px;line-height:1.5;margin:0 0 18px}
.syn-cards{display:flex;flex-direction:column;gap:13px}
.syn-card{position:relative;padding:20px 22px;border-radius:18px;background:var(--surface);
  border:1px solid var(--line-2);box-shadow:var(--shadow);overflow:hidden}
.syn-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--sc,var(--acc))}
.syn-card .syn-icl{display:flex;align-items:center;gap:9px;margin:0 0 9px}
.syn-card .syn-ic{font-size:18px;line-height:1;flex:0 0 auto}
.syn-card .syn-cat{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);font-weight:600}
.syn-card .syn-title{font-family:var(--disp);font-weight:600;font-size:19px;line-height:1.22;margin:0 0 9px;color:var(--ink)}
.syn-card .syn-body{font-size:15px;line-height:1.6;color:var(--ink-2)}
.syn-card .syn-body p{margin:0 0 11px}.syn-card .syn-body p:last-child{margin:0}
/* core tension: A × B poles */
.syn-poles{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.syn-pole{font-family:var(--disp);font-weight:600;font-size:16px;color:var(--ink);padding:7px 13px;border-radius:11px;
  background:var(--acc-soft);border:1px solid var(--acc-line);line-height:1.2}
.syn-x{font-family:var(--disp);font-weight:600;font-size:17px;color:var(--acc-ink)}
/* rare combination — the screenshot hero */
.syn-card.rare{background:linear-gradient(180deg,var(--acc-soft),var(--surface) 78%);border-color:var(--acc-line)}
.syn-rarity{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:13px;font-weight:600;
  letter-spacing:.02em;color:#fff;background:var(--acc);padding:8px 14px;border-radius:99px;box-shadow:var(--shadow-sm);
  margin:0 0 12px}
.syn-rarity .syn-rdot{width:7px;height:7px;border-radius:50%;background:var(--surface);opacity:.85}
.syn-rtraits{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.syn-rtrait{font-size:13.5px;font-weight:500;padding:8px 13px;border-radius:11px;background:var(--surface);
  border:1px solid var(--acc-line);color:var(--ink);line-height:1.2;box-shadow:var(--shadow-sm)}
/* compatibility — three short lines (powers Friends) */
.syn-compat{display:flex;flex-direction:column;gap:9px}
.syn-cline{display:flex;gap:11px;align-items:baseline;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.syn-cline .syn-clab{flex:0 0 auto;font-family:var(--mono);font-size:10px;letter-spacing:.05em;text-transform:uppercase;
  font-weight:600;color:var(--mut);width:88px;padding-top:1px}
.syn-cline b{color:var(--ink);font-weight:600}
.syn-compat-note{margin:13px 0 0;font-size:12.5px;color:var(--faint);line-height:1.45}
/* trajectory growth-edge highlight */
.syn-edge{margin:12px 0 0;padding:13px 16px;border-radius:13px;background:var(--acc-soft);border:1px solid var(--acc-line)}
.syn-edge .syn-elab{font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--acc-ink);margin:0 0 4px}
.syn-edge .syn-etext{font-size:14.5px;line-height:1.5;color:var(--ink);font-weight:500}
/* loading shimmer */
.syn-load{padding:4px 0 0}
.syn-shimmer{position:relative;border-radius:18px;background:var(--surface);border:1px solid var(--line-2);
  box-shadow:var(--shadow-sm);height:88px;margin-bottom:13px;overflow:hidden}
.syn-shimmer::after{content:'';position:absolute;inset:0;
  background:linear-gradient(100deg,transparent 20%,rgba(217,119,87,.07) 50%,transparent 80%);
  transform:translateX(-100%);animation:synshim 1.5s ease-in-out infinite}
@keyframes synshim{to{transform:translateX(100%)}}
.syn-loadlab{display:flex;align-items:center;gap:11px;color:var(--mut);font-size:14px;margin:2px 0 14px}
.syn-loadlab .spinring{width:20px;height:20px;border-width:2.5px;flex:0 0 auto}
.syn-loadlab .sll{font-family:var(--disp);font-weight:500;font-size:16px;color:var(--ink-2)}
/* low-confidence "add a journal" nudge */
.syn-jnudge{margin:16px 0 0;padding:15px 18px;border-radius:16px;background:var(--surface);border:1px dashed var(--acc-line);
  display:flex;align-items:center;gap:13px}
.syn-jnudge .sjn-ic{font-size:22px;flex:0 0 auto}
.syn-jnudge .sjn-t{flex:1;min-width:0;font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.syn-jnudge .sjn-t b{color:var(--ink);font-weight:600}
.syn-jnudge .sjn-go{flex:0 0 auto;font-size:13px;font-weight:600;color:#fff;background:var(--acc);
  padding:9px 14px;border-radius:11px;box-shadow:var(--shadow-sm);transition:filter .15s}
.syn-jnudge .sjn-go:hover{filter:brightness(1.05)}

/* Add a friend: invite link first, manual entry second */
.af-inv{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:18px;background:linear-gradient(135deg,rgba(201,162,71,.12),rgba(217,119,87,.05));border:1px solid rgba(201,162,71,.3);margin:6px 0 18px}
.af-lbl{display:block;font-size:12px;font-weight:700;color:var(--ink);margin:0 0 6px}
.af-inv .af-lbl{margin:0;letter-spacing:.1em;text-transform:uppercase;color:#C9A247;font-size:11.5px}
.af-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.af-row .af-url{flex:1 1 240px;min-width:0;margin:0;text-overflow:ellipsis}
.af-btn{width:auto!important;margin:0!important;padding:0 18px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.af-acts .af-btn{flex:1 1 140px}
.af-note{margin:0;font-size:12.5px;line-height:1.5;color:var(--mut)}
.af-manual{border-top:1px solid rgba(255,255,255,.08);padding-top:14px;margin-bottom:12px}
.af-manual summary{cursor:pointer;font-size:15px;font-weight:600;color:var(--ink);list-style:none;display:block}
.af-manual summary::-webkit-details-marker{display:none}
.af-manual summary::before{content:"+ ";color:#C9A247}
.af-manual[open] summary::before{content:"− "}
.af-manual summary span{display:block;margin-top:2px;font-size:13px;font-weight:400;color:var(--mut);padding-left:16px}
.b-time-say{margin:6px 2px 0;font-size:12.5px;line-height:1.45;color:var(--mut)}

/* ══ IA REDESIGN 2026-10-21 (Claude Design boards Nav · Me · MePhone · Readings · Settings · Compare) ══ */
/* account: phone avatar → Account & settings; desktop account row */
.auth-av{width:36px;height:36px;font-size:14px;color:#0a0912;font-weight:600}
.auth-av[aria-current]{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--acc-ink)}
.auth-acct .aa-gear{width:16px;height:16px;margin-left:auto;flex:0 0 auto;fill:none;stroke:var(--mut);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.snav-foot .auth-acct{min-height:56px;border:1px solid rgba(255,255,255,.08);background:var(--surface)}
.snav-foot .auth-acct.on{border-color:rgba(217,119,87,.45)}
.auth-acct:focus-visible,.auth-av:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
/* shared bits */
.ia-eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9A247;margin:0}
.ia-h1{font-family:var(--disp);font-weight:600;font-size:clamp(30px,7vw,40px);line-height:1.05;margin:0;color:var(--ink);overflow-wrap:anywhere}
.ia-lede{margin:0;font-size:15px;line-height:1.55;color:#b4adc8}
.ia-btn{min-height:44px;padding:0 20px;border-radius:22px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 14px var(--body);
  text-decoration:none;color:#0a0912;background:var(--acc);border:0;cursor:pointer;white-space:nowrap}
.ia-btn.gold{background:var(--acc,#D97757);color:#1A0F0A}   /* coral = action; gold is labels/premium only (Fable audit #10) */
.ia-btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.18);color:var(--ink);font-weight:500}
.ia-btn.ghost:hover{background:rgba(255,255,255,.05)}
.ia-btn.danger{background:transparent;border:1px solid rgba(198,123,138,.5);color:#E3A3B0;font-weight:500}
.ia-btn.sm{min-height:40px;font-size:13px;padding:0 16px}
.ia-btn:disabled{opacity:.5;cursor:default}
.ia-btn:focus-visible,.ia-link:focus-visible,.ia-seg button:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.ia-link{background:none;border:0;padding:0;color:#EDA588;font:500 14px var(--body);cursor:pointer;text-align:left;text-decoration:none}
.ia-link.ia-tap{min-height:44px;display:inline-flex;align-items:center}   /* a link on its own line is a full tap target (pcheck a11y-tap-44, Me on the Duo 11-09) */
.ia-link:hover{color:var(--ink)}
/* reading lock: the one-time unlock under the Plus button, web only (Fable design fable-l5, 11-10) */
.decode.rd-two>.ia-btn{width:min(100%,280px)}
.rd-alt{display:flex;flex-direction:column;align-items:center;align-self:stretch;gap:12px;margin-top:-4px}
.rd-or{display:flex;align-items:center;gap:10px;width:min(100%,280px);font:500 12px/1 var(--body);color:var(--mut)}
.rd-or::before,.rd-or::after{content:"";flex:1;height:1px;background:var(--line-2)}
.ia-btn.ghost.rd-l5{width:min(100%,280px);white-space:normal;line-height:1.2;padding:8px 14px;color:var(--ink);border-color:var(--line-2);border-color:color-mix(in srgb,var(--ink) 50%,transparent);-webkit-tap-highlight-color:transparent;transition:background-color .15s}
.ia-btn.ghost.rd-l5:hover{background:var(--surface-2)}
.ia-btn.ghost.rd-l5:active{background:var(--surface-2);border-color:var(--ink)}
.ia-btn.ghost.rd-l5:disabled{opacity:.6;background:transparent;cursor:default}
.rd-alt-note{margin:-2px 0 0;max-width:340px;font:400 12.5px/1.45 var(--body);color:var(--mut);text-wrap:balance}
.rd-alt-note b{font-weight:500;color:var(--ink-2)}
body.fold .rd-alt{gap:8px;margin-top:-8px}
body.fold .rd-alt-note{font-size:12px;line-height:1.4}
/* ===== The world today: dd-wx (Fable design, 2026-11-10). Dark only. ===== */

/* 1. The card. In one column .dd-wx is the surface that sits under the centred section header. */
.dd-wx{
  container:dd-wx / inline-size;
  box-sizing:border-box;max-width:520px;margin:0 auto;padding:16px 16px 4px;
  background:var(--surface,#17152a);border:1px solid var(--line,rgba(255,255,255,.09));border-radius:16px;
  text-align:left;font-family:var(--body,'Inter',system-ui,sans-serif);color:var(--ink-2,#d8d1e6);
}
.dd-wx *{box-sizing:border-box}

/* 2. Desktop rail: the whole section becomes the card, header inside, left aligned. */
#ddWorldSec:is(.dd-2col > .dd-c2 > *){
  background:var(--surface,#17152a);border:1px solid var(--line,rgba(255,255,255,.09));border-radius:16px;padding:16px 16px 4px;
}
#ddWorldSec:is(.dd-2col > .dd-c2 > *) > .dd-sk{text-align:left;margin:0 0 3px}
#ddWorldSec:is(.dd-2col > .dd-c2 > *) > .dd-skq{text-align:left;margin:0 0 14px}
#ddWorldSec:is(.dd-2col > .dd-c2 > *) .dd-wx{max-width:none;padding:0;background:none;border:0;border-radius:0}

/* 3. The read: ring on the left, state word and day-over-day on the right. */
.dd-wx-read{display:flex;align-items:center;gap:16px;padding:0 0 16px}
.dd-wx-ring{position:relative;flex:none;width:88px;height:88px}
.dd-wx-ring svg{display:block;width:100%;height:100%}
.dd-wx-track{fill:none;stroke:rgba(255,255,255,.09);stroke-width:7}
.dd-wx-arc{fill:none;stroke:var(--wx-c,#C9A247);stroke-width:7;stroke-linecap:round;animation:dd-wx-arc 1.2s cubic-bezier(.2,.7,.2,1) .15s both}
@keyframes dd-wx-arc{from{stroke-dashoffset:var(--wx-len)}}
.dd-wx-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.dd-wx-num b{font:500 28px/1 var(--disp,'Fraunces',Georgia,serif);color:var(--ink,#F4ECD8);font-variant-numeric:tabular-nums}
.dd-wx-num span{font:600 12px/1 var(--body,'Inter',system-ui,sans-serif);letter-spacing:.14em;margin-right:-.14em;text-transform:uppercase;color:var(--mut,#9a93b0)}
.dd-wx-sum{flex:1;min-width:0}
.dd-wx-state{font:500 24px/1.15 var(--disp,'Fraunces',Georgia,serif);color:var(--wx-c,#C9A247);overflow-wrap:break-word}
.dd-wx-shift{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 12px;margin:8px 0 0}
.dd-wx-shift .dd-wx-k{flex:0 0 100%}
.dd-wx-delta{font:400 13px/1.45 var(--body,'Inter',system-ui,sans-serif);color:var(--mut,#9a93b0);white-space:nowrap;font-variant-numeric:tabular-nums}
.dd-wx-delta b{margin-left:4px;font-weight:600;color:var(--ink-2,#d8d1e6)}
.dd-wx-tri{display:inline-block;width:8px;height:8px;margin-right:3px;fill:currentColor}
.dd-wx-tri-dn{transform:rotate(180deg)}
.dd-wx-note{margin:8px 0 0;font:400 13px/1.45 var(--body,'Inter',system-ui,sans-serif);color:var(--mut,#9a93b0)}
.dd-wx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* 4. Signals: one divided list. Label over value; the reading sits right, or drops under a long value. */
.dd-wx-list{list-style:none;margin:0;padding:0}
.dd-wx-row{display:flex;align-items:flex-start;gap:12px;padding:11px 0;border-top:1px solid var(--line,rgba(255,255,255,.09))}
.dd-wx-list:first-child .dd-wx-row:first-child{border-top:0;padding-top:0}
.dd-wx-ic{flex:none;width:20px;height:20px;margin-top:10px;color:var(--mut,#9a93b0)}
.dd-wx-ic svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dd-wx-body{flex:1;min-width:0}
.dd-wx-k{font:600 12px/16px var(--body,'Inter',system-ui,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:var(--mut,#9a93b0)}
.dd-wx-vd{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1px 12px;margin:2px 0 0}
.dd-wx-v{min-width:0;max-width:100%;font:500 17px/1.3 var(--disp,'Fraunces',Georgia,serif);color:var(--ink,#F4ECD8);overflow-wrap:break-word}
.dd-wx-v::first-letter{text-transform:uppercase}
.dd-wx-d{min-width:0;max-width:100%;font:400 13px/1.4 var(--body,'Inter',system-ui,sans-serif);color:var(--mut,#9a93b0);font-variant-numeric:tabular-nums;overflow-wrap:break-word}

/* 5. Sources: one line, the full list behind a disclosure. The only tappable thing in the card. */
.dd-wx-src{border-top:1px solid var(--line,rgba(255,255,255,.09))}
.dd-wx-src summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;cursor:pointer;list-style:none;border-radius:8px;font:400 13px/1.3 var(--body,'Inter',system-ui,sans-serif);color:var(--mut,#9a93b0);-webkit-tap-highlight-color:transparent}
.dd-wx-src summary::-webkit-details-marker{display:none}
.dd-wx-src summary:hover{color:var(--ink-2,#d8d1e6)}
.dd-wx-src summary:focus-visible{outline:2px solid var(--acc-ink,#EDA588);outline-offset:2px}
.dd-wx-chev{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.dd-wx-src[open] .dd-wx-chev{transform:rotate(180deg)}
.dd-wx-src-body{margin:0;padding:0 0 12px;font:400 12.5px/1.55 var(--body,'Inter',system-ui,sans-serif);color:var(--mut,#9a93b0)}

/* 6. Room while the feed loads, so the rail does not jump (4 signals measure 406px, 5 measure 484px at a 320px rail). */
#ddWorldSec #ddWorld:has(> .dd-load){min-height:400px}

/* 7. Tight widths: under 270px of content (a 260 to 300px rail, a 320px phone). */
@container dd-wx (max-width:270px){
  .dd-wx-read{gap:12px}
  .dd-wx-ring{width:76px;height:76px}
  .dd-wx-num b{font-size:24px}
  .dd-wx-state{font-size:22px}
  .dd-wx-row{gap:10px}
}

/* 8. Surface Duo two-pane (body.fold): denser on purpose. Tap target stays 44px. */
#ddWorldSec:is(body.fold *) .dd-wx{padding:13px 14px 2px}
#ddWorldSec:is(body.fold *) .dd-wx-read{gap:14px;padding-bottom:12px}
#ddWorldSec:is(body.fold *) .dd-wx-ring{width:76px;height:76px}
#ddWorldSec:is(body.fold *) .dd-wx-num b{font-size:24px}
#ddWorldSec:is(body.fold *) .dd-wx-num span{font-size:11px}
#ddWorldSec:is(body.fold *) .dd-wx-state{font-size:21px}
#ddWorldSec:is(body.fold *) .dd-wx-shift,
#ddWorldSec:is(body.fold *) .dd-wx-note{margin-top:6px}
#ddWorldSec:is(body.fold *) .dd-wx-delta,
#ddWorldSec:is(body.fold *) .dd-wx-note{font-size:12px}
#ddWorldSec:is(body.fold *) .dd-wx-row{gap:10px;padding:8px 0}
#ddWorldSec:is(body.fold *) .dd-wx-ic{width:18px;height:18px;margin-top:8px}
#ddWorldSec:is(body.fold *) .dd-wx-k{font-size:11px;line-height:14px}
#ddWorldSec:is(body.fold *) .dd-wx-v{font-size:15px}
#ddWorldSec:is(body.fold *) .dd-wx-d{font-size:12px}
#ddWorldSec:is(body.fold *) .dd-wx-src summary{font-size:12px}
#ddWorldSec:is(body.fold *) .dd-wx-src-body{font-size:12px;padding-bottom:10px}

/* 9. Motion. countUpAll() already skips the count-up under reduced motion. */
@media (prefers-reduced-motion:reduce){
  .dd-wx-arc{animation:none}
  .dd-wx-chev{transition:none}
}
.ia-seg{display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--surface);border:1px solid rgba(255,255,255,.08);align-self:flex-start;max-width:100%}
.ia-seg button{min-height:40px;padding:0 16px;border-radius:10px;border:0;background:transparent;color:#b4adc8;font:500 14px var(--body);cursor:pointer;white-space:nowrap}
.ia-seg button[aria-current]{background:#2a2645;color:var(--ink);font-weight:600}
@media(max-width:560px){.ia-seg{align-self:stretch}.ia-seg button{flex:1 1 0;padding:0 6px;font-size:13px;white-space:normal;line-height:1.2}}
.ia-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid rgba(255,255,255,.07);font-size:14px;color:var(--ink)}
.ia-row small{color:var(--mut);margin-left:auto;font-size:12px;text-align:right;min-width:0;overflow-wrap:anywhere}.ia-row{flex-wrap:wrap}   /* long values wrap on phones instead of being cut (Leelou 2026-11-03) */
.ia-kv{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07);font-size:14px}
.ia-kv>span{color:#b4adc8;flex:0 0 auto}.ia-kv>b{font-weight:600;text-align:right;min-width:0;overflow-wrap:anywhere}
.ia-kv .ia-link{font-size:13px;margin-left:10px}
.ia-eb{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9A247;padding:6px 0 4px}
/* ── ME ── */
.me-wrap{display:flex;flex-direction:column;gap:24px;padding-top:18px}
.me-hero{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.me-ring{width:96px;height:96px;border-radius:50%;padding:3px;flex:none}
/* phone sideways: a 56px ring and a tight hero so the first card's heading shows in the first frame (pcheck layout-phone-landscape 11-08) */
@media (max-height:450px) and (orientation:landscape){body:not(.fold) .me-ring{width:56px!important;height:56px!important}body:not(.fold) .me-hero{padding-top:6px!important;padding-bottom:6px!important;margin-top:0!important;margin-bottom:6px!important;gap:14px!important}}
.me-ring>div{width:100%;height:100%;border-radius:50%;background:var(--surface-2);border:3px solid var(--bg);display:flex;align-items:center;justify-content:center;font-family:var(--disp);font-size:40px;line-height:1;color:#C9A247;overflow:hidden}   /* line-height 1: the initial fits the small landscape ring instead of overflowing it (pcheck layout-no-clipping 11-09) */
.me-ring img{width:100%;height:100%;object-fit:cover}
.me-id{display:flex;flex-direction:column;gap:4px;flex:1 1 220px;min-width:0}
.me-arch{font-family:var(--disp);font-size:19px;font-style:italic;color:#C9A247}
.me-url{font-size:13px;color:var(--mut);overflow-wrap:anywhere}
.me-acts{display:flex;gap:10px;flex-wrap:wrap}
@media (min-width:900px){.me-hero{flex-wrap:nowrap}.me-acts{flex:none;flex-wrap:nowrap;margin-left:auto}}   /* wide screens: the share buttons stay on the hero row, never stranded under it (preflight 11-04) */
html.duo-rail #me{padding-left:0!important;padding-right:12px!important}html.duo-rail .me-hero{flex-wrap:wrap}html.duo-rail .me-acts{flex:0 1 auto;flex-wrap:wrap;margin-left:0}   /* Duo: Me runs to the rail; the media query above reads the screen, not the pane beside the views list, and broke the name mid-word at 951 (11-05) */
.me-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
@media(min-width:900px){body.has-nav .me-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.me-card{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:22px;background:var(--surface);border:1px solid rgba(255,255,255,.1);min-width:0}
.me-card.pub{border-color:rgba(201,162,71,.45)}
.me-card h2{margin:0;font-family:var(--disp);font-size:22px;font-weight:600;display:flex;align-items:center;gap:10px}
.me-card h2 svg{width:20px;height:20px;fill:none;stroke-width:1.7;flex:none}
.me-card>p{margin:0;font-size:13.5px;color:#b4adc8;line-height:1.5}
.me-prev{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:16px;background:var(--bg);border:1px solid rgba(255,255,255,.06);min-width:0}
.me-prev-who{display:flex;align-items:center;gap:12px;min-width:0}
.me-prev-av{width:44px;height:44px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-family:var(--disp);color:#C9A247;font-size:20px;flex:none;overflow:hidden}
.me-prev-av img{width:100%;height:100%;object-fit:cover}
.me-prev-who b{font-size:16px;display:block;overflow-wrap:anywhere}.me-prev-who i{font-family:var(--disp);font-size:14px;color:#C9A247}
.me-quote{font-size:14px;color:var(--ink-2);line-height:1.5;font-style:italic;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.me-signs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.me-signs>div{padding:12px 6px;border-radius:14px;background:var(--surface-2);text-align:center;display:flex;flex-direction:column;gap:3px;min-width:0}
.me-signs .k{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--mut)}.me-signs .v{font-size:clamp(12px,14cqi,15px);font-weight:600;overflow-wrap:normal;word-break:keep-all;hyphens:none}.me-signs>div{container-type:inline-size}
.me-chips{display:flex;flex-wrap:wrap;gap:6px}.me-chips span{padding:7px 12px;border-radius:999px;background:var(--surface-2);font-size:13px}
.me-only-compact{display:none}
@media(max-width:560px){.me-hero{flex-direction:column;text-align:center;gap:10px}.me-ring{width:88px;height:88px}.me-id{align-items:center;flex:none;width:100%}
  .me-acts{justify-content:center;gap:8px}.me-hero .me-acts .ia-btn{min-height:40px;font-size:13px;padding:0 14px}}
.me-pp-s{display:none}@media(max-width:560px){.me-pp-l{display:none}.me-pp-s{display:inline}}
.st-sec .birth .btn{width:auto;min-height:44px;padding:0 22px;border-radius:22px;font-size:14px}
.st-sec .birth input{width:100%}
@media(max-width:699px){.me-only-full.in-overview{display:none}.me-only-compact{display:flex}}
/* ── READINGS HUB ── */
.rdh-head{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.rdh-one{gap:10px;flex-wrap:nowrap}.rdh-one .ia-h1{margin:0;font-size:clamp(24px,3vw,30px)}.rdh-mini{flex:none;display:inline-flex;align-items:center;gap:8px;font:600 13px/1 Inter,system-ui,sans-serif;color:#cfc7e3;white-space:nowrap}.rdh-note{margin:24px 0 8px;font-size:13.5px;line-height:1.5;color:#9a93b0}
.rdh-ring{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:18px;background:var(--surface);border:1px solid rgba(201,162,71,.3)}
.rdh-ring svg{flex:none}.rdh-ring b{display:block;font-family:var(--disp);font-size:22px;font-weight:600}.rdh-ring small{font-size:13px;color:#b4adc8}
.rdh-sec{display:flex;flex-direction:column;gap:12px}
.rdh-sec h2{margin:0;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9A247;line-height:1.5}
.rdh-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.rdh-st.plus{background:rgba(201,162,71,.14);color:#E9D29A;border:1px solid rgba(201,162,71,.4)}
body.has-nav #app:has(#me.on .rdh-head){max-width:none}   /* Readings uses the full width (Mike 2026-11-03) */
@media (min-width:900px){body.has-nav #app:has(#me.on){max-width:none}body.has-nav #me.on:not(:has(.rdh-head)){max-width:1560px;margin:0;padding-left:clamp(16px,3vw,40px);padding-right:clamp(16px,3vw,40px);box-sizing:border-box}}   /* Me fills the content area like Daily (pcheck layout-wide-desktop-scale; no width switch, no layout shift) */
@media(min-width:1100px){.rdh-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important}}
@media(min-width:720px){.rdh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rdh-card{display:flex;align-items:center;gap:14px;padding:16px;border-radius:16px;background:var(--surface);border:1px solid rgba(255,255,255,.06);color:var(--ink);text-align:left;min-height:72px;width:100%;cursor:pointer;font:inherit;min-width:0}
.rdh-card:hover{background:#1d1a31}.rdh-card:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.rdh-ic{width:40px;height:40px;border-radius:12px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;flex:none;font-size:19px}
.rdh-tx{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.rdh-t{font-size:15.5px;font-weight:600;line-height:1.25}.rdh-d{font-size:13px;color:#b4adc8;line-height:1.4;margin-top:3px}
.rdh-st{flex:none;font-size:12px;font-weight:600;padding:6px 10px;border-radius:999px;white-space:nowrap}
.rdh-st.pub{background:rgba(201,162,71,.16);color:#E2C06A}.rdh-st.you{background:rgba(255,255,255,.07);color:var(--ink-2)}.rdh-st.try{background:rgba(217,119,87,.18);color:#F0A687}
@media(max-width:420px){.rdh-card{flex-wrap:wrap}.rdh-tx{flex:1 1 calc(100% - 60px)}.rdh-st{margin-left:54px}}
/* the grid follows its own pane, not the viewport: on iPad and Duo the readings sit beside the rail and list, and two columns there squeezed each card to one word a line (11-08) */
.rdh-sec{container-type:inline-size}
@container (max-width:600px){.rdh-grid{grid-template-columns:minmax(0,1fr)!important}}
@container (max-width:380px){.rdh-card{flex-wrap:wrap}.rdh-tx{flex:1 1 calc(100% - 60px)}.rdh-st{margin-left:54px}}
.rdh-src{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;padding:20px 22px;border-radius:18px;background:var(--surface);border:1px solid rgba(217,119,87,.3)}
/* report_cadence daily free reading card (Fable 11-09, Claude Design skills; report-cadence.js) */
.rcad{display:flex;flex-direction:column;gap:14px;padding:18px 18px 16px;border-radius:18px;background:var(--surface);
  border:1px solid rgba(201,162,71,.3);min-width:0;color:var(--ink);text-align:left}
.rcad.used{border-color:rgba(255,255,255,.1)}
.rcad-eb{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9A247;line-height:1.5;display:flex;align-items:center;gap:8px}
.rcad-eb svg{width:14px;height:14px;flex:none}
.rcad-h{margin:0;font-family:var(--disp);font-weight:600;font-size:22px;line-height:1.2;color:var(--ink);text-wrap:balance;overflow-wrap:anywhere}
.rcad-p{margin:0;font-size:13.5px;line-height:1.5;color:#b4adc8}
.rcad-p b{color:var(--ink);font-weight:600}

/* the still-locked readings, each one a free unlock today */
.rcad-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.rcad-pick{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 10px 8px 8px;border-radius:14px;
  background:var(--surface-2);border:1px solid rgba(255,255,255,.06);color:var(--ink);text-align:left;font:inherit;cursor:pointer;min-width:0;
  transition:background .15s,border-color .15s}
.rcad-pick:hover{background:#262240;border-color:rgba(217,119,87,.3)}
.rcad-pick:active{transform:scale(.985)}
.rcad-pick:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.rcad-pick:disabled{opacity:.55;cursor:default;transform:none}
.rcad-ic{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.05);display:flex;align-items:center;justify-content:center;flex:none;font-size:19px;color:var(--ink-2)}
.rcad-ic svg{width:18px;height:18px}
.rcad-tx{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.rcad-t{font-size:15px;font-weight:600;line-height:1.25}
.rcad-d{font-size:12.5px;color:#b4adc8;line-height:1.35;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcad-st{flex:none;font-size:12px;font-weight:600;padding:6px 10px;border-radius:999px;white-space:nowrap;background:rgba(217,119,87,.18);color:#F0A687}

/* the paths past the daily limit: honest, both visible, never the only way forward */
.rcad-acts{display:flex;flex-wrap:wrap;gap:8px}
.rcad-acts .ia-btn{flex:1 1 150px;min-width:0}
.rcad-acts .ia-btn.ghost{white-space:normal;line-height:1.2;padding:8px 14px}
.rcad-foot{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin:-4px 0 0;font-size:13px;line-height:1.45;color:var(--mut)}
.rcad-foot .ia-link{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.rcad-still{font-size:13px;color:var(--mut);margin:0;line-height:1.5}

/* quiet lines: week one (arm C) and all unlocked */
.rcad-note{display:flex;align-items:center;gap:10px;margin:0;padding:10px 2px;font-size:13.5px;line-height:1.5;color:#b4adc8}
.rcad-note svg{width:16px;height:16px;flex:none;color:#C9A247}
.rcad-note .ia-link{font-size:13.5px;min-height:44px;display:inline-flex;align-items:center}

/* compact variant: one row, for the Tests tab and the Ask screen */
.rcad-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px 8px 10px;border-radius:14px;
  background:var(--surface);border:1px solid rgba(201,162,71,.3);color:var(--ink);text-align:left;font:inherit;cursor:pointer;min-width:0;
  transition:background .15s}
.rcad-row:hover{background:var(--surface-2)}
.rcad-row:active{transform:scale(.99)}
.rcad-row:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.rcad-row.used{border-color:rgba(255,255,255,.1);cursor:default}
.rcad-row.used:hover{background:var(--surface)}
.rcad-row.used:active{transform:none}
.rcad-row .rcad-ic{width:36px;height:36px;border-radius:11px;color:#C9A247;background:rgba(201,162,71,.12)}
.rcad-row.used .rcad-ic{color:var(--mut);background:rgba(255,255,255,.05)}
.rcad-row .rcad-tx{gap:1px}
.rcad-row .rcad-t{font-size:14.5px}
.rcad-row .rcad-d{font-size:12.5px;white-space:normal}
.rcad-row .rcad-ch{flex:none;width:18px;height:18px;color:var(--mut)}
.rcad-row .ia-btn.sm{flex:none;min-height:40px;padding:0 14px;font-size:13px}

/* narrow phones (320 to 360): tighter, nothing wraps badly */
@media (max-width:360px){
  .rcad{padding:16px 14px 14px;gap:12px}
  .rcad-h{font-size:20px}
  .rcad-pick{gap:10px;padding:7px 8px 7px 7px}
  .rcad-ic{width:36px;height:36px;border-radius:11px;font-size:17px}
  .rcad-d{display:none}
  .rcad-row .rcad-d{display:block}
}
/* iPhone Duo and two-pane: dense on purpose (rule 4) */
html.duo-rail .rcad,html.web-duo .rcad,html.duo-full .rcad{padding:14px 14px 12px;gap:10px;border-radius:16px}
html.duo-rail .rcad-h,html.web-duo .rcad-h,html.duo-full .rcad-h{font-size:19px}
html.duo-rail .rcad-pick,html.web-duo .rcad-pick,html.duo-full .rcad-pick{min-height:48px;padding:5px 8px 5px 6px;gap:10px;border-radius:12px}
html.duo-rail .rcad-ic,html.web-duo .rcad-ic,html.duo-full .rcad-ic{width:34px;height:34px;border-radius:10px;font-size:16px}
html.duo-rail .rcad-t,html.web-duo .rcad-t,html.duo-full .rcad-t{font-size:14px}
html.duo-rail .rcad-d,html.web-duo .rcad-d,html.duo-full .rcad-d{font-size:12px}
html.duo-rail .rcad-row,html.web-duo .rcad-row,html.duo-full .rcad-row{min-height:48px;padding:6px 10px 6px 8px}
@media (prefers-reduced-motion:reduce){.rcad-pick,.rcad-row{transition:none}.rcad-pick:active,.rcad-row:active{transform:none}}
.rdh-src h2{margin:0;font-family:var(--disp);font-size:20px;font-weight:600}.rdh-src p{margin:4px 0 0;font-size:14px;color:#b4adc8;line-height:1.5}
/* reading top bar (replaces the DNA tab bar) */
.rv-bar{display:flex;align-items:center;gap:12px;margin:14px 0 6px;min-height:44px;flex-wrap:wrap}
@media (max-width:899px){#authAv.auth-av{box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;border:4px solid transparent!important;background-clip:padding-box!important}}   /* 36px circle, 44px tap area (pcheck a11y-tap-44) */
.rv-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-left:auto}
.rv-plusback{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 4px;padding:12px 16px;border-radius:14px;background:var(--surface,#17152a);border:1px solid rgba(201,162,71,.45);color:var(--ink,#F4ECD8);font-size:14px}
.rv-plusback a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--acc,#D97757);color:#0a0912;font-weight:700;text-decoration:none}
/* My reports */
#navReports{position:relative}#navReports[hidden]{display:none!important}.nav-new{position:absolute;top:10px;left:30px;width:8px;height:8px;border-radius:50%;background:var(--acc,#D97757);box-shadow:0 0 0 2px var(--bg,#0a0912)}.nav-new[hidden]{display:none}
@media (max-width:899px){html:not(.duo-rail) body:not(.fold) #navReports{display:none!important}}
/* an unread report (server read state, 11-04): phones carry it on Me (Readings live there); the sidebar on My reports; the Duo rail on Readings (caprail.js) */
#navMeRepNew[hidden]{display:none!important}#navMeRepNew{top:5px;left:50%;margin-left:7px}
@media (min-width:900px){#navMeRepNew{display:none!important}}html.duo-rail #navMeRepNew,body.fold #navMeRepNew{display:none!important}
.ha-plus-b{display:inline-flex;align-items:center;margin-left:8px;padding:2px 8px;border-radius:999px;border:1px solid rgba(201,162,71,.6);color:#C9A247;font:700 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;vertical-align:middle;white-space:nowrap}
.dd-mname .ha-plus-b{font-size:12px;vertical-align:4px}
.ha-plus-tag{display:inline-flex;align-items:center;margin-left:8px;font:600 12px/1.3 Inter,system-ui,sans-serif;letter-spacing:.02em;text-transform:none;color:#C9A247;white-space:nowrap}.ha-plus-tag::before{content:'✦';margin-right:4px;font-size:10px}
.mr-wrap{max-width:760px;padding:8px 0 40px}.mr-sub{color:var(--ink-2,#d8d1e6);margin:6px 0 18px}.mr-load{color:var(--mut,#a39cb8)}
.mr-card{background:var(--surface,#17152a);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:18px 20px;margin:0 0 12px}.mr-h{display:flex;align-items:center;gap:10px}.mr-h b{font:600 20px/1.25 Fraunces,Georgia,serif}
.mr-new{font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#0a0912;background:var(--acc,#D97757);border-radius:999px;padding:4px 8px}
.mr-meta{margin:6px 0 12px;color:var(--ink-2,#d8d1e6);font-size:14px}.mr-acts{display:flex;flex-wrap:wrap;gap:10px}
.mr-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:transparent;color:var(--ink,#F4ECD8);font:600 14px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.mr-btn.pri{background:var(--acc,#D97757);border-color:var(--acc,#D97757);color:#0a0912}
.mr-bar{height:6px;border-radius:3px;background:rgba(255,255,255,.08);overflow:hidden}.mr-bar i{display:block;height:100%;background:linear-gradient(90deg,#C9A247,#D97757);transition:width 1s}
.mr-empty p{color:var(--ink-2,#d8d1e6)}.mr-wv{margin:2px 0 0}.mr-wv .hw-in .mr-meta{margin-top:6px}
.dd-rep{margin:0 0 14px}.dd-rep-in{display:flex;align-items:center;gap:12px;background:var(--surface,#17152a);border:1px solid rgba(201,162,71,.35);border-radius:16px;padding:12px 14px}
.dd-rep-in svg{width:24px;height:24px;flex:none;fill:none;stroke:#C9A247;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dd-rep-in span{flex:1;min-width:0}.dd-rep-in b{display:block;font-size:15px}.dd-rep-in small{display:block;font-size:13px;color:var(--mut,#a39cb8)}
.dd-rep-go{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(201,162,71,.6);background:transparent;color:#C9A247;font:600 13px Inter,system-ui,sans-serif;cursor:pointer;flex:none}
.rv-act{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:transparent;color:var(--ink,#F4ECD8);font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
.rv-act:hover{border-color:#C9A247;color:#C9A247}
.rv-built{font-size:13px;color:var(--mut,#a39cb8)}.rv-lnk{background:none;border:0;padding:0;min-height:24px;color:var(--acc-ink,#EDA588);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.rv-upd{font-size:12px;color:var(--mut,#a39cb8)}.rv-upd:empty{display:none}
@media (max-width:700px){.rv-acts{margin-left:0;flex-basis:100%}}
.rd-cf{position:fixed;inset:0;z-index:99990;background:rgba(10,9,18,.72);display:flex;align-items:center;justify-content:center;padding:16px}
.rd-cf-in{max-width:440px;width:100%;background:var(--surface,#17152a);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:22px 22px 18px;color:var(--ink,#F4ECD8)}
.rd-cf-in h3{margin:0 0 8px;font:600 21px/1.25 Fraunces,Georgia,serif}.rd-cf-in p{margin:0 0 18px;font-size:15px;line-height:1.5;color:var(--ink-2,#d8d1e6)}
.rd-cf-b{display:flex;justify-content:flex-end;gap:10px}.rd-cf-b button{min-height:44px;padding:0 18px;border-radius:999px;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.rd-cf-no{background:transparent;border:1px solid rgba(255,255,255,.22);color:var(--ink,#F4ECD8)}.rd-cf-ok{background:var(--acc,#D97757);border:0;color:#0a0912}
/* Reading pages for members (Mike 2026-11-03 "layout issue"): one header and one alignment. The reading fills the content
   area like the other app pages, left-aligned with the Readings bar, body at a readable ~70ch; the reading title is the
   page heading (no second centred title). The public, signed-out pages keep their own centred layout. */
body.has-nav #app:has(#reveal.on){max-width:none}
@media (min-width:900px){body.has-nav #reveal.on{max-width:1180px;margin:0;padding-left:clamp(16px,3vw,40px);padding-right:clamp(16px,3vw,40px);box-sizing:border-box}}
body.has-nav #reveal .tabpanel{text-align:left}
body.has-nav #reveal .tabpanel .an-head{text-align:left;margin:6px 0 0;max-width:none;font-weight:600;font-size:clamp(26px,3.2vw,34px);line-height:1.15}
body.has-nav #reveal .tabpanel .an-sum{text-align:left;margin:12px 0 4px;max-width:none}
body.has-nav #reveal .tabpanel .disc-type{margin:6px 0 4px}
/* the public marketing footer never shows inside the app (rule nav-no-lost-destinations) */
body.has-nav #siteFoot{display:none!important}
.rv-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px 0 10px;border-radius:20px;background:var(--surface);border:1px solid var(--line-2);color:var(--ink-2);font:500 14px var(--body);cursor:pointer;flex:none}
.rv-back:hover{color:var(--ink)}.rv-back:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.rv-title{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9A247;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ── SETTINGS ── */
.st-wrap{display:flex;flex-direction:column;gap:24px;padding-top:18px}
.st-body{display:flex;gap:28px;align-items:flex-start}
.st-toc{flex:0 0 180px;display:none;flex-direction:column;gap:2px;position:sticky;top:24px}
.st-toc button{display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:10px;color:#b4adc8;font:400 14px var(--body);text-align:left;background:none;border:0;cursor:pointer}
.st-toc button[aria-current]{background:var(--surface-2);color:var(--ink);font-weight:600}
@media(min-width:1180px){body.has-nav .st-toc{display:flex}}
.st-secs{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:18px}
.st-sec{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:20px;background:var(--surface);border:1px solid rgba(255,255,255,.07);scroll-margin-top:16px;min-width:0}
body.app-hdr .st-sec{scroll-margin-top:calc(env(safe-area-inset-top,0px) + 80px)}   /* a ?settings=1&s=<section> link lands with the section title clear of the sticky app header (11-05) */
.st-sec.spot{border-color:rgba(217,119,87,.6);box-shadow:0 0 0 3px rgba(217,119,87,.18)}
.st-sec h2{margin:0;font-family:var(--disp);font-size:22px;font-weight:600}
.st-sec>p{margin:0;font-size:13.5px;color:#b4adc8;line-height:1.5}
.st-lbl{font-size:13px;font-weight:500;color:var(--ink-2);margin-bottom:6px;display:block}
.st-in{width:100%;min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:var(--bg);color:var(--ink);font:14px var(--body)}
.st-in:focus{outline:2px solid rgba(217,119,87,.6);outline-offset:1px}
textarea.st-in{resize:vertical;min-height:84px;line-height:1.5}
.st-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:520px){.st-g2{grid-template-columns:minmax(0,1fr)}}
.st-photo{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.st-av{width:64px;height:64px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-family:var(--disp);font-size:28px;color:#C9A247;flex:none;overflow:hidden}
.st-av img{width:100%;height:100%;object-fit:cover}
.st-sw{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07)}
.st-sw .t{font-size:14.5px;font-weight:500}.st-sw .d{font-size:12.5px;color:var(--mut);line-height:1.4;margin-top:2px}
.st-sw>div{min-width:0}
.st-tog{width:48px;height:28px;border-radius:14px;border:0;flex:none;position:relative;cursor:pointer;background:#2b2745;padding:0}
.st-tog::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--ink);transition:left .15s}
.st-tog[aria-checked="true"]{background:var(--acc)}.st-tog[aria-checked="true"]::after{left:23px}
.st-tog:disabled{opacity:.45;cursor:default}.st-tog:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.st-sw .t .s{color:var(--mut);font-weight:400}
.st-sw.st-qrow{align-items:flex-start}.st-qrow>.st-tog{margin-top:-2px}
.st-qh{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:8px}.st-qh label{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--mut)}.st-qh label>span{min-width:32px}
.st-qt{font:16px var(--body);min-height:36px;padding:4px 10px;border-radius:10px;background:var(--bg);color:var(--ink);border:1px solid rgba(255,255,255,.14);color-scheme:dark}
.st-qt:disabled{opacity:.45}.st-qt:focus-visible{outline:2px solid var(--acc-ink);outline-offset:1px}
.st-actrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.st-status{font-size:13px;color:var(--mut)}.st-status.err{color:#e79aa8}
.st-sec .birth{margin:0;padding:0;background:none;border:0;box-shadow:none}
.st-sec .birth h4,.st-sec .birth>p{display:none}
.st-brow{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.07)}
.st-brow b{flex:1 1 auto;min-width:0;font-weight:500;font-size:14px;overflow-wrap:anywhere}
/* ── COMPARE (pick → one result) ── */
.cp-wrap{display:flex;flex-direction:column;gap:14px;padding-top:18px}
.cp-search{width:100%;min-height:48px;padding:12px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:var(--surface);color:var(--ink);font:15px var(--body)}
.cp-list{display:flex;flex-direction:column;gap:8px}
.cp-person{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 12px 8px 10px;border-radius:14px;background:var(--surface);border:1px solid rgba(255,255,255,.06);color:var(--ink);text-align:left;width:100%;cursor:pointer;font:inherit;min-width:0}
.cp-person:hover{background:#1d1a31}.cp-person:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.cp-pa{width:40px;height:40px;border-radius:50%;background:#2a2645;display:flex;align-items:center;justify-content:center;font-family:var(--disp);color:#C9A247;flex:none;font-size:17px;overflow:hidden}
.cp-pa img{width:100%;height:100%;object-fit:cover}
.cp-ptx{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.cp-ptx b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-ptx small{font-size:12px;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cp-score{flex:none;display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}
.cp-score b{font-family:var(--disp);font-size:20px;color:#C9A247;font-weight:600}.cp-score small{font-size:10.5px;color:var(--mut);letter-spacing:.06em;text-transform:uppercase}
.cp-celebs{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;max-width:100%}   /* wraps: two rows, then Show all (Mike 2026-10-22: no sideways scroll) */
.cp-celebs .cp-celeb.cp-more-hid{display:none}
.cp-celeb-all{grid-column:1/-1;justify-self:start;border:0;background:none;padding:4px 0;color:var(--acc-ink);font:600 13.5px/1.2 var(--body);cursor:pointer}
.cp-celeb{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border-radius:14px;background:var(--surface);border:1px solid rgba(255,255,255,.06);color:var(--ink);text-align:center;cursor:pointer;font:inherit}
.cp-celeb:hover{background:#1d1a31}.cp-celeb:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.cp-celeb b{font-size:13.5px;line-height:1.2;overflow-wrap:anywhere}.cp-celeb small{font-size:11.5px;color:var(--mut);line-height:1.2}
.cp-new{font-size:14px;font-weight:600;color:var(--acc-ink);margin:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cp-res{display:flex;flex-direction:column;gap:14px;padding-top:14px;max-width:560px;width:100%;margin:0 auto}
/* Compare direction A (Mike 11-04): two columns when the PANE has room (a container query: the screen says nothing beside the Duo views list) */
.cp-cq{container:cpq/inline-size;width:100%}
.cp-col{display:flex;flex-direction:column;gap:14px;min-width:0}
.cp-hero{display:flex;flex-direction:column;gap:12px;padding:20px 18px;border-radius:18px;background:var(--surface);border:1px solid rgba(255,255,255,.06)}
.cp-ring{position:relative;width:168px;height:168px;margin:6px auto 2px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cp-ring svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:rgba(255,255,255,.08);stroke-width:8}.cp-ring svg .v{stroke:#C9A247;stroke-linecap:round}
.cp-slot:not(:has(> :not([hidden]))){display:none}.cp-slot .px-c{margin:0}
.cp-r #cpPlusX .px-c:last-child{margin-bottom:0}
.cp-askc{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:16px;background:var(--surface);border:1px solid rgba(255,255,255,.06)}
.cp-askin{min-height:48px;padding:0 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:var(--mut);font:inherit;font-size:15px;text-align:left;cursor:text}
.cp-chips{display:flex;flex-wrap:wrap;gap:8px}.cp-chip{min-height:44px;padding:0 14px;border-radius:22px;border:1px solid rgba(255,255,255,.18);background:transparent;color:var(--ink);font:inherit;font-size:14px;cursor:pointer}
body.has-nav:has(#compare.on .cp-a) #app{max-width:1280px}
.cp-a #cpPlusX.px,.cp-a #cpDaysSlot.px{max-width:none;margin:0}
html.duo-rail.duo-has-back .cp-sub-bk,html.duo-rail.duo-has-back .cp-sub-sep{display:none}   /* one Back: the rail's */
@container cpq (min-width:600px){.cp-res.cp-a{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:14px 18px;max-width:1160px;align-items:start}.cp-a .cp-sub{grid-column:1/-1;margin:0}.cp-a .cp-l{position:sticky}}
.cp-back{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--ink);border:1px solid var(--line-2);cursor:pointer}
.cp-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cp-back:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
/* Friend-page sub-nav (Mike 11-04 via MasterBuilder: "need a sub-nav when I click on Compare so I know how to get back"):
   sticky "‹ Compare / Name" with prev/next friend; Esc and browser Back return to the list at its old scroll */
.cp-sub{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:6px 0;min-height:52px;background:rgba(10,9,18,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}   /* the header's own frosted surface, continuous with it; a hairline only (Mike 11-04: no black slab) */
.cp-sub.hb .cp-sub-bk,.cp-sub.hb .cp-sub-sep{display:none}   /* the app header already shows ‹ Compare: one back, not two */
.cp-sub-bk{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:0 14px 0 8px;border-radius:20px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.04);color:var(--ink);font:600 14.5px var(--sans,Inter,system-ui,sans-serif);cursor:pointer;white-space:nowrap}
.cp-sub-bk svg,.cp-sub-ar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cp-sub-sep{color:var(--mut);font-size:15px}
.cp-sub-who{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.cp-sub-av{flex:none;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(217,119,87,.18);color:var(--ink);font:600 12.5px var(--sans,Inter,system-ui,sans-serif)}
.cp-sub-nm{font-weight:600;font-size:15px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cp-sub-ars{display:flex;gap:6px;flex:none}
.cp-sub-ar{position:relative;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.04);color:#F4ECD8;cursor:pointer}.cp-sub-ar::after{content:"";position:absolute;inset:-4px}.cp-sub-ars{gap:8px!important}   /* the header's round buttons: 36 drawn, 44 to tap */
.cp-sub-ar:disabled{opacity:.3;cursor:default}
.cp-sub button:focus-visible{outline:2px solid var(--acc-ink,#E9C46A);outline-offset:2px}
@media (max-width:599px){.cp-sub-bk span{display:none}.cp-sub-bk{padding:0 10px}.cp-sub-sep{display:none}}
.cp-avs{display:flex;justify-content:center}
.cp-avs span{width:56px;height:56px;border-radius:50%;background:#2a2645;border:3px solid var(--bg);display:flex;align-items:center;justify-content:center;font-family:var(--disp);color:#C9A247;font-size:22px;overflow:hidden}
.cp-avs span+span{margin-left:-10px}.cp-avs img{width:100%;height:100%;object-fit:cover}
.cp-names{text-align:center;font-size:13px;color:#b4adc8;overflow-wrap:anywhere}
.cp-big{text-align:center;display:flex;flex-direction:column;gap:2px}
.cp-big .n{font-family:var(--disp);font-size:56px;font-weight:600;line-height:1.1;color:#F4ECD8}
.cp-big .ia-eyebrow{margin-top:4px}
.cp-big h2{margin:10px 0 0;font-family:var(--disp);font-size:22px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}
.cp-pts{display:flex;flex-direction:column;padding:4px 16px 0;border-radius:16px;background:var(--surface);border:1px solid rgba(255,255,255,.06)}
.cp-pt{display:flex;gap:12px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07);font-size:14px;line-height:1.45}
.cp-pt:first-child{border-top:0}
.cp-pt b{flex:none;width:92px;color:#C9A247;font-weight:600}.cp-pt span{min-width:0;flex:1 1 auto}
.cp-btns{display:flex;gap:8px}.cp-btns .ia-btn{flex:1 1 0;min-width:0}
.cp-more{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.cp-do{display:flex;flex-direction:column;gap:8px;margin-top:4px}

/* ── LIVING PORTRAITS ── uploaded profile photos drift + breathe (slow, out of sync), like the spirit animals */
img.ha-live{animation:haDrift 26s ease-in-out 2 alternate both,haGlow 9s ease-in-out 2 both;transform-origin:50% 45%;will-change:transform}
:is(span,div,a):has(> img.ha-live){overflow:hidden}
@keyframes haDrift{0%{transform:scale(1.08) translate(-1.5%,-1%) rotate(-.8deg)}33%{transform:scale(1.13) translate(1.2%,.6%) rotate(.5deg)}66%{transform:scale(1.1) translate(.4%,1.6%) rotate(-.3deg)}100%{transform:scale(1.15) translate(-1%,.8%) rotate(.7deg)}}
@keyframes haGlow{0%,100%{filter:brightness(1) saturate(1)}50%{filter:brightness(1.06) saturate(1.12)}}
span.dd-me.dd-live{overflow:hidden;padding:0;animation:haDdGlow 7s ease-in-out infinite}
span.dd-me.dd-live img{width:100%;height:100%;object-fit:cover;object-position:50% 38%;display:block;border-radius:50%}
.me-ring{animation:haHalo 7s ease-in-out infinite}
@keyframes haHalo{0%,100%{box-shadow:0 0 0 0 rgba(201,162,71,0),0 0 22px -6px rgba(201,162,71,.35)}50%{box-shadow:0 0 0 2px rgba(201,162,71,.18),0 0 36px -2px rgba(201,162,71,.55)}}
@keyframes haDdGlow{0%,100%{box-shadow:0 0 30px -6px #C9A24755}50%{box-shadow:0 0 46px -2px #C9A24799}}
@media (prefers-reduced-motion:reduce){img.ha-live,span.dd-me.dd-live,.me-ring{animation:none}}
body.ha-plainlogin .screen{visibility:hidden}
/* app chrome never starts a text selection (iOS long press selected words; Mike 11-04, rule layout-chrome-no-text-select); what people type stays selectable */
.cr-i,.crm-item,#bottomnav button,header{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
header input,header textarea,header [contenteditable]{-webkit-user-select:text;user-select:text}
/* ── ChatGPT section (flag HA_CHATGPT, Mike 11-09): the Fable design's gx- components, lifted as is (gpt-design/chatgpt-design.html) ── */
/* Fable redesign 11-12 (scratchpad gpt/spec.md + design.html): full width beside the rail, real uppercase gold eyebrows (no synthesized small caps),
   12-column grid at gx-wide, one dense column on Duo and phone. The import, review, paste and connect views keep their pieces below. */
@media (min-width:900px){body.has-nav #app:has(#gpt.on){max-width:none;padding-inline:0}body.has-nav #gpt.on{max-width:1760px;margin:0;padding-inline:clamp(16px,3vw,40px);padding-top:24px;box-sizing:border-box}}
.gx-root{--fs:15px;--fs-sm:13px;--fs-xs:12px;--pad:20px;--gap:14px;--r:18px;--r-sm:12px;--h1:34px;--h2:20px;
  font-size:var(--fs);line-height:1.5;font-family:var(--body);color:var(--ink);min-height:100%;padding:0 0 32px;width:100%;min-width:0}
.gx-root.gx-dense{--fs:13px;--fs-sm:12px;--fs-xs:11px;--pad:12px;--gap:8px;--r:14px;--r-sm:10px;--h1:22px;--h2:16px;line-height:1.42;padding:0 0 20px}
.gx-root.gx-desk{--h1:38px;--h2:21px}
.gx-root.gx-wide{--h1:42px;--h2:22px;--pad:22px;--gap:16px}
.gx-root *{box-sizing:border-box}
.gx-wrap{max-width:none;margin:0 auto;min-width:0}

/* type: the eyebrow is real uppercase, gold like .hc-k; headings guard word spacing and use the optical size */
.gx-eyebrow{margin:0;font:600 11px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;font-variant:normal;color:var(--hc-k,#C9A247)}
.gx-dense .gx-eyebrow{font-size:10px;letter-spacing:.12em}
.gx-h1,.gx-h2{font-family:var(--disp);font-weight:500;font-optical-sizing:auto;word-spacing:normal;text-wrap:balance;color:var(--ink)}
.gx-h1{font-size:var(--h1);line-height:1.08;letter-spacing:-.012em;margin:4px 0 8px}
.gx-h2{font-size:var(--h2);line-height:1.2;letter-spacing:-.005em;margin:0}
.gx-sub{color:var(--ink-2);margin:0 0 var(--pad);max-width:62ch}
.gx-head .gx-h1,.gx-head .gx-sub{margin:0}
.gx-mut{color:var(--mut)}
.gx-sm{font-size:var(--fs-sm)}
.gx-xs{font-size:var(--fs-xs)}
.gx-num{font-family:var(--mono);font-variant-numeric:tabular-nums}
.gx-ph{text-decoration:underline dotted var(--L6);text-underline-offset:3px;cursor:help}
.gx-stack{display:grid;gap:var(--gap);align-content:start}
.gx-cols{display:grid;gap:var(--pad);grid-template-columns:minmax(0,1fr)}
.gx-cols > *{min-width:0}
.gx-land .gx-cols{grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:var(--pad)}
.gx-desk .gx-cols{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px}
.gx-grid2{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr)}
.gx-land .gx-grid2,.gx-desk .gx-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:var(--pad);min-width:0}
.gx-card--2{background:var(--surface-2)}
.gx-card--acc{border-color:var(--acc-line)}
.gx-card--warn{border-color:rgba(199,154,78,.45)}
.gx-card--quiet{background:rgba(255,255,255,.015)}
.gx-card--main{border-color:var(--acc-line);background:linear-gradient(180deg,rgba(217,119,87,.10),rgba(217,119,87,0) 160px),var(--surface)}
.gx-card-h{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;margin-bottom:8px}
.gx-glyph{width:1.25em;height:1.25em;flex:none;vertical-align:-.3em}
.gx-glyph--lg{width:28px;height:28px}
.gx-dense .gx-glyph--lg{width:22px;height:22px}
.gx-ico{width:1.1em;height:1.1em;flex:none;vertical-align:-.2em}

/* buttons: 44px taps everywhere, including dense */
.gx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid transparent;
  font:500 var(--fs-sm)/1 var(--body);color:var(--ink);background:var(--surface-2);cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.gx-btn:hover{background:#2a2744}
.gx-btn:focus-visible,.gx-link:focus-visible,.gx-homedrop:focus-within,.gx-root label.gx-btn:focus-within{outline:2px solid var(--acc-ink);outline-offset:2px}
.gx-btn--primary{background:var(--acc);color:#1a0d08;font-weight:600}
.gx-btn--primary:hover{background:#e0866a}
.gx-btn--ghost{background:transparent;border-color:var(--line-2)}
.gx-btn--ghost:hover{background:rgba(255,255,255,.04)}
.gx-btn--danger{background:transparent;border-color:rgba(194,96,122,.5);color:#E58AA3}
.gx-btn--danger:hover{background:rgba(194,96,122,.12)}
.gx-btn--danger-solid{background:var(--bad);color:#fff;font-weight:600}
.gx-btn--block{width:100%}
.gx-btn--sm{min-height:44px;padding:0 12px;font-size:var(--fs-xs)}
.gx-btn[disabled],.gx-btn.is-off{opacity:.55;cursor:default}
.gx-link{color:var(--acc-ink);text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center;font-size:var(--fs-sm);background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.gx-link--quiet{color:var(--mut);text-decoration-color:var(--line-2)}
.gx-link--inline{min-height:0;display:inline;font-size:inherit}
.gx-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.gx-row--between{justify-content:space-between}
.gx-right{margin-left:auto}

/* privacy line */
.gx-privacy{display:flex;gap:8px;align-items:flex-start;color:var(--mut);font-size:var(--fs-xs);line-height:1.45;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:rgba(255,255,255,.02)}
.gx-privacy .gx-ico{color:var(--L1);margin-top:.12em}
.gx-privacy a{color:var(--ink-2)}
.gx-privacy--bare{border:0;background:none;padding:0}

/* chips */
.gx-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:var(--fs-xs);font-weight:500;line-height:1.5;border:1px solid var(--line-2);color:var(--ink-2);background:rgba(255,255,255,.03);white-space:nowrap}
.gx-chip--src{color:var(--acc-ink);border-color:var(--acc-line);background:var(--acc-soft)}
.gx-chip--ok{color:#7fcfa8;border-color:rgba(63,155,110,.5);background:rgba(63,155,110,.12)}
.gx-chip--off{color:var(--mut)}
.gx-chip--mono{font-family:var(--mono);font-weight:400}
.gx-chip--ex{color:var(--hc-k,#C9A247);border-color:rgba(201,162,71,.4);background:rgba(201,162,71,.1);font:600 10px/1.6 var(--body);letter-spacing:.12em;text-transform:uppercase}
.gx-dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.gx-path{font-family:var(--mono);font-size:.9em;color:var(--ink);background:rgba(255,255,255,.06);padding:1px 6px;border-radius:5px;white-space:normal;overflow-wrap:anywhere}
.gx-pathseq{display:inline;line-height:1.9}
.gx-pathseq .gx-path{white-space:nowrap;overflow-wrap:normal}
.gx-pathseq .gx-sep{color:var(--faint);padding:0 2px}

/* page head: title left, three plain facts (empty) or the actions (filled) right on desk */
.gx-head{display:grid;gap:12px var(--pad);margin:0 0 calc(var(--pad) + 4px);align-items:end}
.gx-head-t{display:grid;gap:8px;min-width:0}
.gx-desk .gx-head{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.gx-facts{display:grid;gap:0;border-top:1px solid var(--line);margin:0;padding:0;list-style:none;min-width:0}
.gx-facts li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line);font-size:var(--fs-sm);color:var(--ink-2)}
.gx-facts li b{font-weight:500;color:var(--ink);text-align:right;white-space:nowrap}
.gx-dense .gx-facts li{padding:5px 0}
.gx-headact{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;align-items:center;min-width:0}
.gx-desk .gx-headact{justify-content:flex-end}
.gx-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* empty home grid */
.gx-home{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr);align-items:start}
.gx-home > *{min-width:0}
.gx-land .gx-home{grid-template-columns:minmax(0,1fr) minmax(0,300px)}
.gx-desk .gx-home{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.gx-wide .gx-home{grid-template-columns:repeat(12,minmax(0,1fr))}
.gx-wide .gx-home > .gx-card--main,.gx-wide .gx-home > .gx-main{grid-column:span 8}
.gx-wide .gx-home > .gx-side{grid-column:span 4}
.gx-land .gx-home > .gx-full,.gx-desk .gx-home > .gx-full{grid-column:1 / -1}
.gx-side{display:grid;gap:var(--gap);align-content:start;min-width:0}

/* main card: steps as a row of four at wide, two by two on desk, a list elsewhere */
.gx-main-h{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.gx-main-h > div{display:grid;gap:6px;min-width:0}
.gx-reads-left{font-size:var(--fs-xs);color:var(--mut);white-space:nowrap}
.gx-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px;counter-reset:s}
.gx-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;counter-increment:s;font-size:var(--fs-sm);color:var(--ink-2);min-width:0}
.gx-steps li::before{content:counter(s);width:28px;height:28px;border-radius:50%;border:1px solid var(--acc-line);color:var(--acc-ink);font:500 12px/26px var(--mono);text-align:center;background:var(--acc-soft)}
.gx-steps b{color:var(--ink);font-weight:500}
.gx-steps .gx-st{display:block;color:var(--ink);font-weight:500;font-size:var(--fs);line-height:1.35;margin-bottom:2px}
.gx-steps .gx-note{display:block;color:var(--mut);font-size:var(--fs-xs);margin-top:3px}
.gx-dense .gx-steps{gap:8px}
.gx-dense .gx-steps li{grid-template-columns:24px minmax(0,1fr);gap:9px}
.gx-dense .gx-steps li::before{width:24px;height:24px;line-height:22px;font-size:11px}
.gx-desk .gx-home .gx-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.gx-wide .gx-home .gx-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.gx-wide .gx-home .gx-steps li{grid-template-columns:minmax(0,1fr);gap:10px;position:relative}
.gx-wide .gx-home .gx-steps li:not(:last-child)::after{content:"";position:absolute;top:14px;left:40px;right:-10px;height:1px;background:linear-gradient(90deg,var(--acc-line),transparent)}

/* the drop zone on the home: drop or choose without leaving the page (desk); just the primary button on touch, phone and Duo */
.gx-homedrop{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 18px;align-items:center;padding:calc(var(--pad) - 2px) var(--pad);
  border:1.5px dashed var(--acc-line);border-radius:var(--r-sm);background:rgba(217,119,87,.05);position:relative;cursor:pointer;min-width:0}
.gx-homedrop.is-over{border-style:solid;background:var(--acc-soft)}
.gx-homedrop-i{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--acc-soft);color:var(--acc-ink)}
.gx-homedrop-i svg{width:22px;height:22px}
.gx-homedrop-t{display:grid;gap:2px;min-width:0}
.gx-homedrop-t b{font:500 calc(var(--h2) - 2px)/1.25 var(--disp);color:var(--ink);font-optical-sizing:auto;word-spacing:normal}
.gx-homedrop-t span{font-size:var(--fs-sm);color:var(--mut)}
.gx-homedrop .gx-hd-idle{display:grid;gap:2px}
.gx-homedrop .gx-hd-over{display:none}
.gx-homedrop.is-over .gx-hd-idle{display:none}
.gx-homedrop.is-over .gx-hd-over{display:grid;gap:2px}
.gx-homedrop.is-over > .gx-btn{visibility:hidden}
.gx-homedrop input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.gx-homedrop.is-off{cursor:default}
.gx-phone .gx-homedrop,.gx-dense .gx-homedrop,.gx-homedrop--btn{grid-template-columns:minmax(0,1fr);border-style:solid;border-color:transparent;background:transparent;padding:0;gap:10px}
.gx-phone .gx-homedrop-i,.gx-dense .gx-homedrop-i,.gx-homedrop--btn .gx-homedrop-i,.gx-phone .gx-homedrop-t,.gx-dense .gx-homedrop-t,.gx-homedrop--btn .gx-homedrop-t{display:none}
.gx-phone .gx-homedrop .gx-btn,.gx-dense .gx-homedrop .gx-btn,.gx-homedrop--btn .gx-btn{width:100%}

/* other ways: grouped equal rows */
.gx-paths{display:grid;gap:10px;min-width:0}
.gx-paths-h{margin:0;padding:0 2px}
.gx-pathlist{padding:0;overflow:hidden}
.gx-pathrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:64px;margin:0;padding:12px var(--pad);
  background:none;border:0;border-top:1px solid var(--line);border-radius:0;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background .15s;-webkit-tap-highlight-color:transparent}
.gx-pathrow:first-child{border-top:0}
.gx-pathrow:hover{background:rgba(255,255,255,.035)}
.gx-pathrow:active{background:rgba(255,255,255,.06)}
.gx-pathrow:focus-visible{outline:2px solid var(--acc-ink);outline-offset:-2px}
.gx-pathrow-i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);color:var(--ink-2)}
.gx-pathrow-i .gx-ico{width:18px;height:18px;vertical-align:0}
.gx-pathrow-b{display:grid;gap:2px;min-width:0}
.gx-pathrow-t{font-size:var(--fs);font-weight:500;line-height:1.3;color:var(--ink)}
.gx-pathrow-d{font-size:var(--fs-sm);line-height:1.4;color:var(--mut)}
.gx-pathrow-c{width:18px;height:18px;flex:none;color:var(--faint)}
.gx-pathlist-n{margin:0;padding:8px var(--pad);border-top:1px solid var(--line);font-size:var(--fs-xs);color:var(--mut)}
.gx-dense .gx-pathrow{min-height:48px;padding:7px var(--pad);gap:10px}
.gx-dense .gx-pathrow-i{width:28px;height:28px;border-radius:8px}
.gx-dense .gx-pathrow-i .gx-ico{width:15px;height:15px}
.gx-dense .gx-pathrow-c{width:15px;height:15px}

/* what we read and what we skip */
.gx-scope{display:grid;gap:0;margin:0;padding:0;list-style:none}
.gx-scope li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:var(--fs-sm);color:var(--ink-2)}
.gx-scope li:first-child{border-top:0;padding-top:0}
.gx-scope li b{display:block;color:var(--ink);font-weight:500}
.gx-scope .gx-ico{margin-top:.15em}
.gx-scope .is-in .gx-ico{color:#7fcfa8}
.gx-scope .is-out .gx-ico{color:var(--faint)}

/* what you get: example tiles drawn with the real report components, always marked Example */
.gx-ex-h{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between}
.gx-ex-grid{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr)}
.gx-land .gx-ex-grid,.gx-desk .gx-ex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-wide .gx-ex-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-ex{display:grid;gap:10px;align-content:start;padding:var(--pad);border-radius:var(--r-sm);border:1px solid var(--line);background:rgba(255,255,255,.02);min-width:0}
.gx-ex-t{display:flex;gap:10px;align-items:baseline;justify-content:space-between}
.gx-ex-t b{font:500 calc(var(--h2) - 3px)/1.25 var(--disp);font-optical-sizing:auto;word-spacing:normal}
.gx-ex p{margin:0}
.gx-ex .gx-ex-d{font-size:var(--fs-sm);color:var(--mut)}
.gx-ex .gx-ex-body{font-size:var(--fs-sm);color:var(--ink-2);line-height:1.55}
.gx-dense .gx-ex{gap:7px}

/* how your export is handled (privacy band, full width) */
.gx-handling{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr)}
.gx-land .gx-handling,.gx-desk .gx-handling{grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-handling > div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-content:start}
.gx-handling .gx-ico{grid-row:span 2;width:20px;height:20px;color:var(--L1);margin-top:2px}
.gx-handling b{font-weight:500;color:var(--ink);font-size:var(--fs)}
.gx-handling span{color:var(--mut);font-size:var(--fs-sm)}
.gx-handling-f{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:var(--gap);margin-top:var(--gap);font-size:var(--fs-xs);color:var(--mut)}
.gx-handling-f a{color:var(--ink-2)}

/* textarea */
.gx-ta{width:100%;min-height:96px;resize:vertical;border:1px solid var(--line-2);border-radius:var(--r-sm);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:var(--fs-sm);padding:10px 12px}
.gx-ta::placeholder{color:var(--faint)}
.gx-dense .gx-ta{min-height:72px}
.gx-input{width:100%;min-height:44px;border:1px solid var(--line-2);border-radius:var(--r-sm);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:var(--fs-sm);padding:0 12px}

/* drop zone (import view) */
.gx-drop{border:1.5px dashed var(--acc-line);border-radius:var(--r);background:rgba(217,119,87,.05);padding:calc(var(--pad) + 6px) var(--pad);text-align:center;display:grid;gap:10px;justify-items:center}
.gx-drop.is-over{background:var(--acc-soft);border-style:solid}
.gx-drop.is-busy,.gx-drop.is-found,.gx-drop.is-analysing{border-style:solid;border-color:var(--line-2);background:var(--surface);text-align:left;justify-items:stretch}
.gx-drop-t{font-family:var(--disp);font-size:var(--h2);font-weight:500;font-optical-sizing:auto;word-spacing:normal}
.gx-drop input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.gx-file{display:flex;gap:10px;align-items:center;font-size:var(--fs-sm)}
.gx-file .gx-ico{color:var(--mut)}
.gx-file .gx-name{font-family:var(--mono);font-size:var(--fs-xs);color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.gx-prog{height:6px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;position:relative}
.gx-prog > span{display:block;height:100%;background:var(--acc);border-radius:999px;transition:width .3s}
.gx-prog.is-indet > span{width:35%;animation:gx-slide 1.4s ease-in-out infinite}
@keyframes gx-slide{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}
@media (prefers-reduced-motion:reduce){.gx-prog.is-indet > span{animation:none;width:100%;opacity:.5}}
.gx-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gx-stat{background:var(--surface-2);border-radius:var(--r-sm);padding:8px 10px;min-width:0}
.gx-stat b{display:block;font:500 calc(var(--fs) + 3px)/1.2 var(--mono);color:var(--ink);font-variant-numeric:tabular-nums}
.gx-stat span{display:block;font-size:var(--fs-xs);color:var(--mut)}
.gx-cap{display:grid;gap:4px;font-size:var(--fs-xs);color:var(--mut)}
.gx-cap .gx-prog > span{background:var(--L1)}
.gx-stages{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:var(--fs-sm);color:var(--mut)}
.gx-stages li{display:flex;gap:10px;align-items:center}
.gx-stages li::before{content:"";width:8px;height:8px;border-radius:50%;border:1.5px solid var(--line-2);flex:none}
.gx-stages li.is-done{color:var(--ink-2)}
.gx-stages li.is-done::before{background:var(--L1);border-color:var(--L1)}
.gx-stages li.is-now{color:var(--ink)}
.gx-stages li.is-now::before{border-color:var(--acc);background:var(--acc-soft)}

/* report cards (review and saved) */
.gx-report{display:grid;gap:12px;align-content:start}
.gx-report-h{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.gx-report-h > div{display:grid;gap:3px;min-width:0}
.gx-report-h > .gx-chip{flex:none}
.gx-report-h .gx-h2{font-size:calc(var(--h2) - 1px)}
.gx-report-h p{margin:0;font-size:var(--fs-xs);color:var(--mut)}
.gx-body{margin:0;font-size:var(--fs-sm);line-height:1.6;color:var(--ink-2);max-width:72ch}
.gx-reports .gx-r-personality .gx-item:first-child .gx-body{font-size:var(--fs);color:var(--ink)}
.gx-quotes{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gx-quote{border-left:2px solid var(--acc-line);padding:2px 0 2px 12px;font:italic 400 var(--fs-sm)/1.5 var(--body);color:var(--ink-2)}
.gx-quote .gx-quote-src{display:block;font-style:normal;font-size:var(--fs-xs);color:var(--mut);margin-top:2px}
.gx-quote .gx-x{float:right;background:none;border:0;color:var(--mut);cursor:pointer;min-width:44px;min-height:44px;margin:-12px -8px -12px 4px;font-size:16px;line-height:1;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.gx-quote .gx-x:hover{color:var(--ink);background:rgba(255,255,255,.05)}
.gx-item{display:grid;gap:8px;min-width:0}
.gx-item + .gx-item{border-top:1px solid var(--line);padding-top:12px}
.gx-item-t{font-weight:500;color:var(--ink);font-size:var(--fs-sm)}
.gx-rowact{display:flex;gap:2px;justify-content:flex-end;margin:-6px -10px -10px 0}
.gx-rowact .gx-btn{background:none;border:0;color:var(--mut);padding:0 10px;font-size:var(--fs-xs)}
.gx-rowact .gx-btn:hover{color:var(--ink);background:rgba(255,255,255,.04)}
.gx-rowact .gx-btn--rm:hover{color:#E58AA3}
.gx-editing .gx-body{border:1px solid var(--acc-line);border-radius:var(--r-sm);padding:8px 10px;background:rgba(0,0,0,.2);min-height:60px}
.gx-root .gx-body[contenteditable]{outline:none}
.gx-root .gx-body[contenteditable]:focus{border-color:var(--acc)}

/* Big Five bars */
.gx-bars{display:grid;gap:10px}
.gx-dense .gx-bars{gap:7px}
.gx-bar-h{display:flex;justify-content:space-between;gap:8px;font-size:var(--fs-xs);margin-bottom:4px}
.gx-bar-t{color:var(--ink);font-weight:500}
.gx-bar-v{color:var(--mut);font-variant-numeric:tabular-nums;text-align:right}
.gx-track{height:6px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}
.gx-track + .gx-track{margin-top:3px}
.gx-fill{display:block;height:100%;border-radius:999px}
.gx-fill--test{background:var(--ink-2)}
.gx-fill--sig{background:repeating-linear-gradient(135deg,var(--acc) 0 3px,rgba(217,119,87,.35) 3px 6px)}
.gx-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:var(--fs-xs);color:var(--mut)}
.gx-legend i{display:inline-block;width:18px;height:6px;border-radius:3px;vertical-align:middle;margin-right:6px}
.gx-legend .t{background:var(--ink-2)}
.gx-legend .s{background:repeating-linear-gradient(135deg,var(--acc) 0 3px,rgba(217,119,87,.35) 3px 6px)}

/* archetypes, values */
.gx-sig{display:flex;flex-wrap:wrap;gap:6px}
.gx-sig .gx-chip{gap:7px}
.gx-chip small{color:var(--mut);font-weight:400}
.gx-str{display:inline-flex;gap:2px}
.gx-str i{width:4px;height:9px;border-radius:2px;background:var(--line-2)}
.gx-str i.on{background:var(--acc)}
.gx-vals{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}

/* Hawkins band */
.gx-hk{display:grid;gap:6px;min-width:0}
.gx-hk-scale{position:relative;height:24px}
.gx-hk-line{position:absolute;left:0;right:0;top:11px;height:2px;background:var(--line-2)}
.gx-hk-band{position:absolute;top:6px;height:12px;border-radius:999px;background:var(--acc-soft);border:1px solid var(--acc-line)}
.gx-hk-tick{position:absolute;top:2px;width:1px;height:20px;background:var(--line-2)}
.gx-hk-labels{position:relative;height:30px;font-size:var(--fs-xs);color:var(--mut)}
.gx-hk-labels span{position:absolute;transform:translateX(-50%);white-space:nowrap;text-align:center;line-height:1.2}
.gx-hk-labels span:first-child{transform:none;text-align:left}
.gx-hk-labels span:last-child{transform:translateX(-100%);text-align:right}
.gx-hk-labels span.on{color:var(--acc-ink)}
.gx-hk-labels small{display:block;font-family:var(--mono);font-size:10px}
/* Fable sign-off 11-12: the example tile and phones are too narrow for every level name; show the word on the band's levels and the two ends, numbers under every tick */
.gx-ex .gx-hk-labels span:not(.on):not(:first-child):not(:last-child),.gx-phone .gx-hk-labels span:not(.on):not(:first-child):not(:last-child){font-size:0}
.gx-ex .gx-hk-labels span small,.gx-phone .gx-hk-labels span small{font-size:10px}
.gx-hk-wrap{display:grid;gap:var(--gap);min-width:0}
.gx-wide .gx-reports .gx-hk-wrap,.gx-desk .gx-reports .gx-hk-wrap{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}

/* sticky save bar */
.gx-savebar{position:sticky;bottom:0;z-index:5;margin:var(--pad) 0 0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-radius:var(--r-sm) var(--r-sm) 0 0;
  background:rgba(10,9,18,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line);display:grid;gap:8px}
.gx-savebar .gx-row{justify-content:space-between}

/* connect */
.gx-status{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-sm);font-weight:500;white-space:nowrap}
.gx-status .gx-dot{box-shadow:0 0 0 3px rgba(255,255,255,.05)}
.gx-status.is-on{color:#7fcfa8}
.gx-status.is-off{color:var(--mut)}
.gx-card-h > .gx-chip,.gx-card-h > .gx-status{white-space:nowrap;flex:none}
.gx-reads{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.gx-pre{font-family:var(--mono);font-size:var(--fs-xs);line-height:1.55;color:var(--ink-2);background:rgba(0,0,0,.28);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 12px;margin:0;white-space:pre-wrap;word-break:break-word;max-height:150px;overflow:auto}
.gx-pre .gx-blank{color:var(--acc-ink)}
.gx-count{font-family:var(--mono);font-size:var(--fs-xs);color:var(--mut);font-variant-numeric:tabular-nums}
.gx-btn.is-copied{background:rgba(63,155,110,.18);color:#7fcfa8;border-color:rgba(63,155,110,.5)}

/* teen */
.gx-teen{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:var(--r-sm);background:rgba(91,158,143,.1);border:1px solid rgba(91,158,143,.35);font-size:var(--fs-xs);color:var(--ink-2)}
.gx-teen .gx-ico{color:var(--L1);margin-top:.12em}
.gx-root .gx-teen{margin:0 0 var(--gap)}
.gx-backlink{margin:-6px 0 0}
.gx-root .gx-btn{line-height:1}
.gx-root label.gx-btn{position:relative;overflow:hidden}

/* state card (busy / ready), above the head */
.gx-state{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 var(--pad);padding:12px var(--pad);border-color:var(--acc-line);background:linear-gradient(var(--acc-soft),var(--acc-soft)),var(--surface)}
.gx-state-dot{width:8px;height:8px;border-radius:50%;flex:none;background:#C9A247;box-shadow:0 0 0 4px rgba(201,162,71,.18)}
.gx-state--busy .gx-state-dot{background:transparent;border:2px solid var(--acc-ink);box-shadow:none}
.gx-state-t{flex:1 1 220px;min-width:0;margin:0;font-size:var(--fs-sm);line-height:1.4;color:var(--ink-2)}
.gx-state-t b{display:block;font-size:var(--fs);font-weight:600;color:var(--ink)}
.gx-state .gx-btn{flex:none}
.gx-dense .gx-state{padding:8px var(--pad)}

/* filled home: glance band, reports grid, manage row */
.gx-glance{display:grid;gap:0;grid-template-columns:minmax(0,1fr);padding:0;overflow:hidden;margin:0 0 var(--gap)}
.gx-glance > div{padding:calc(var(--pad) - 4px) var(--pad);display:grid;gap:6px;align-content:start;border-top:1px solid var(--line);min-width:0}
.gx-glance > div:first-child{border-top:0}
.gx-land .gx-glance,.gx-desk .gx-glance{grid-template-columns:minmax(0,2fr);grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.gx-wide .gx-glance{grid-template-columns:minmax(0,2.2fr)}
.gx-land .gx-glance > div,.gx-desk .gx-glance > div{border-top:0;border-left:1px solid var(--line)}
.gx-land .gx-glance > div:first-child,.gx-desk .gx-glance > div:first-child{border-left:0}
.gx-land .gx-glance > .gx-gl-hk,.gx-desk:not(.gx-wide) .gx-glance > .gx-gl-hk{display:none}
.gx-glance .gx-gl-big{font:500 calc(var(--h2) - 1px)/1.35 var(--disp);font-optical-sizing:auto;word-spacing:normal;color:var(--ink);margin:0;text-wrap:pretty}
.gx-glance .gx-gl-v{font-size:var(--fs);font-weight:500;color:var(--ink)}
.gx-glance .gx-gl-d{font-size:var(--fs-xs);color:var(--mut)}
.gx-reports{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr);align-items:start}
.gx-reports > *{min-width:0}
.gx-land .gx-reports,.gx-desk .gx-reports{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-wide .gx-reports{grid-template-columns:repeat(12,minmax(0,1fr))}
.gx-wide .gx-r-personality{grid-column:span 7}
.gx-wide .gx-r-bigfive{grid-column:span 5}
.gx-wide .gx-r-archetype,.gx-wide .gx-r-values,.gx-wide .gx-r-communication{grid-column:span 4}
.gx-wide .gx-reports.gx-r-two .gx-r-values,.gx-wide .gx-reports.gx-r-two .gx-r-communication{grid-column:span 6}
.gx-wide .gx-r-hawkins,.gx-land .gx-r-hawkins,.gx-desk .gx-r-hawkins{grid-column:1 / -1}
.gx-land .gx-r-personality,.gx-desk:not(.gx-wide) .gx-r-personality,.gx-reports > .gx-r-full{grid-column:1 / -1}
.gx-manage{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1fr);margin-top:var(--gap)}
.gx-manage > *{min-width:0}
.gx-land .gx-manage,.gx-desk .gx-manage{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-wide .gx-manage{grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-manage .gx-card p{margin:0}
.gx-confirm{border-color:rgba(194,96,122,.5);background:rgba(194,96,122,.07)}
@media (prefers-reduced-motion:reduce){.gx-btn,.gx-pathrow{transition:none}}
@media (max-width:899px){html:not(.duo-rail) body.has-nav .gx-savebar{bottom:calc(64px + env(safe-area-inset-bottom,0px));padding-bottom:10px}}
/* ── One compatibility answer everywhere (hc-*, logic audit Decision 5, Fable design 11-11): Strong / Mixed / Challenging / Not enough yet, a dot plus a word, never a number ── */
:root{--hc-strong:#3F9B6E;--hc-mixed:#C79A4E;--hc-chal:#C2607A;--hc-unk:#8E7BBF;--hc-k:#C9A247;--hc-map-bg:#120e2c}
:root[data-theme="light"]{--hc-strong:#2E7D57;--hc-mixed:#9A7226;--hc-chal:#A8476A;--hc-unk:#6B58A6;--hc-k:#8A6A1F;--hc-map-bg:#F1EEF8}
.hc-lv-strong{--hc-c:var(--hc-strong)}.hc-lv-mixed{--hc-c:var(--hc-mixed)}.hc-lv-challenging{--hc-c:var(--hc-chal)}.hc-lv-unknown{--hc-c:var(--hc-unk)}
.hc-dot{display:block;flex:none;width:8px;height:8px;border-radius:50%;box-sizing:border-box;background:var(--hc-c,var(--hc-mixed))}
.hc-lv-unknown>.hc-dot,.hc-lv-unknown>.hc-ans-a>.hc-dot,.hc-lv-unknown>.hc-read-a>.hc-dot{background:transparent;border:1.5px solid var(--hc-c)}
.hc-clash>.hc-dot,.hc-clash>.hc-ans-a>.hc-dot,.hc-clash>.hc-read-a>.hc-dot{outline:1.5px solid var(--hc-chal);outline-offset:1.5px;margin:0 2px}
.hc-badge{display:inline-flex;align-items:center;gap:6px;flex:none;max-width:100%;font:600 12px/1.2 var(--body);letter-spacing:0;text-transform:none;font-style:normal;color:var(--ink-2);white-space:nowrap;vertical-align:middle}
.hc-badge.hc-pill{padding:3px 9px 3px 8px;border-radius:999px;border:1px solid var(--line-2);border-color:color-mix(in srgb,var(--hc-c) 40%,transparent);background:color-mix(in srgb,var(--hc-c) 13%,transparent)}
.hc-badge.hc-lv-unknown{color:var(--mut);font-weight:500}
body.fold .hc-badge{font-size:11px;gap:5px}body.fold .hc-badge .hc-dot{width:7px;height:7px}body.fold .hc-badge.hc-pill{padding:2px 7px}
.hc-k{margin:0;font:600 11px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--hc-k)}
.hc-ans{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:8px 0 4px}
.hc-ans-a{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:6px}
.hc-ans-a .hc-dot{width:14px;height:14px;box-shadow:0 0 0 6px color-mix(in srgb,var(--hc-c) 18%,transparent)}
.hc-clash>.hc-ans-a>.hc-dot{outline-width:2px;outline-offset:2px}
.hc-ans-w{font-family:var(--disp);font-weight:600;font-size:38px;line-height:1.05;letter-spacing:-.015em;color:var(--ink)}
.hc-ans-q{font-family:var(--disp);font-style:italic;font-weight:400;font-size:18px;line-height:1.2;color:var(--ink-2)}
.hc-ans-h{margin:8px 0 0;max-width:34ch;font-size:15.5px;line-height:1.45;color:var(--ink-2);text-wrap:balance}
.hc-lv-unknown .hc-ans-w{font-size:24px;line-height:1.15}
.hc-lv-unknown>.hc-ans-a{flex-direction:column;gap:10px}.hc-lv-unknown .hc-ans-a .hc-dot{box-shadow:none}
body.fold .hc-ans-w{font-size:30px}body.fold .hc-ans-h{font-size:14px}
.hc-need{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:4px}
.hc-need p{margin:0;max-width:34ch;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.hc-need>button{flex:none}
.hc-read .hc-need{align-items:flex-start}
.hc-why{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.hc-rs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hc-rs li{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.45;color:var(--ink)}
.hc-rs li:first-child{border-top:0}
.hc-rs li i{flex:none;width:7px;height:7px;margin-top:7px;border-radius:50%;background:var(--mut)}
.hc-rs .hc-t-easy i{background:var(--hc-strong)}.hc-rs .hc-t-hard i{background:var(--hc-chal)}
.hc-try{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:12px;background:var(--surface-2)}
.hc-try b{font:600 11px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--hc-k)}
.hc-try span{font-size:14.5px;line-height:1.45;color:var(--ink)}
.hc-foot{margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:0 10px;font-size:12px;line-height:1.6;color:var(--mut)}
.hc-read{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.hc-read-a{display:flex;align-items:center;gap:9px;font-family:var(--disp);font-weight:600;font-size:21px;line-height:1.2;color:var(--ink)}
.hc-read-a .hc-dot{width:10px;height:10px}
.hc-read>p{margin:0;font-size:14.5px;line-height:1.5;color:var(--ink-2)}
.hc-read .hc-rs li:first-child{border-top:1px solid var(--line)}
.hc-read .hc-foot{justify-content:flex-start;font-size:12px;line-height:1.6;color:var(--mut)}
/*ios:cut*/
.hc-q{display:flex;align-items:flex-start;gap:7px;margin:0;font-size:12px;line-height:1.6;color:var(--mut)}
.hc-q svg{flex:none;width:13px;height:13px;margin-top:3px}
.hc-q span{min-width:0}
.hc-q:not(.hc-q-take)+.hc-foot{margin-top:-6px}
.hc-q-take{flex-wrap:wrap;align-items:center;gap:8px 12px;padding-top:10px;border-top:1px solid var(--line)}
.hc-q-t{flex:1 1 180px;min-width:0;display:flex;align-items:flex-start;gap:7px;font-size:13px;line-height:1.45;color:var(--ink-2);text-wrap:balance}
.hc-q-b{flex:none;min-height:40px;padding:0 16px;border-radius:22px;border:1px solid var(--line-2);background:transparent;color:var(--ink);font:600 13px/1 var(--body);cursor:pointer;white-space:nowrap}
.hc-q-b:hover{background:var(--surface-2)}
.hc-q-b:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
@media (pointer:coarse){.hc-q-b{min-height:44px}}
/*ios:end*/
.hc-lens{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:14px;color:var(--ink)}
.hc-ring{fill:none;stroke:var(--hc-c);stroke-opacity:.55;stroke-dasharray:3 6}
.hc-ring-t{font:600 9.5px Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;fill:var(--hc-c);paint-order:stroke;stroke:var(--hc-map-bg,#120e2c);stroke-width:4px}
.hc-pd{fill:var(--surface-2);stroke:var(--hc-c);stroke-width:2}
.hc-pd-x{fill:none;stroke:var(--hc-chal);stroke-width:1.25}
.bd-svg .bd-p .bd-i{font-size:9px;fill:var(--ink)}
.hc-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 14px;margin:0;padding:8px 12px 0;font-size:12px;line-height:1.6;color:var(--ink-2)}
.hc-legend span{display:inline-flex;align-items:center;gap:6px}.hc-legend small{font-size:inherit;color:var(--mut)}
.hc-legend-n{margin:0;padding:2px 12px 10px;text-align:center;font-size:12px;line-height:1.5;color:var(--mut)}
.hc-wait{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:10px 12px;border-top:1px solid var(--line)}
.hc-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 11px 0 5px;border-radius:999px;border:1px dashed var(--line-2);border-color:color-mix(in srgb,var(--hc-unk) 60%,transparent);background:transparent;color:var(--ink-2);font:500 12.5px var(--body);cursor:pointer}
.hc-chip i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:600 10px var(--body);font-style:normal;background:var(--surface-2);color:var(--ink-2)}
.hc-chip:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
@media (pointer:coarse){.hc-chip{min-height:44px}}
.hc-grp{display:flex;flex-direction:column;gap:2px}
.hc-grp-h{display:flex;align-items:center;gap:7px;margin:10px 0 2px;font:600 12px/1.3 var(--body);color:var(--ink-2)}
.hc-grp button{display:flex;flex-direction:column;gap:1px;width:100%;min-height:44px;padding:6px 0;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);font:600 14px var(--body);text-align:left;cursor:pointer}
.hc-grp button small{font:400 12px/1.4 var(--body);color:var(--mut)}
.hc-ans{animation:hcIn .5s cubic-bezier(.2,.7,.2,1) .1s backwards}
@keyframes hcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* GATE104:BEGIN  iOS 1.0.4 release gate (pcheck app matrix 2026-11-17 22:01, D 67). Fable design; one block so it is easy to find. */
/* Sign in card and every modal: close is a 44pt circle on the title line, 14px from the card edges, ivory on a raised surface;
   the title keeps clear of it (layout-sheet-modal-has-visible, nav-sheet-modal-close-buttons) */
body .modal .mclose{top:14px!important;right:14px!important;width:44px!important;height:44px!important;border-radius:50%;border:1px solid var(--line-2);background:var(--surface-2);color:var(--ink);font-size:22px;line-height:1}
.modal:has(> .mclose){padding-top:22px}
.modal:has(> .mclose) > h3{padding-right:48px}
/* Google's own dark button: a light-scheme host keeps its frame see-through (no white box behind the pill), scaled to 44pt tall */
.lm-gbtn{color-scheme:light;transform:scale(1.1);transform-origin:50% 50%;margin:8px 0 12px!important}
/* the other two ways in: full-width 44pt rows, never two wrapped links (a11y-tap-44, layout-labels-inside-tiles-chips) */
.modal .otp-alt{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.modal .otp-alt .otp-back{width:100%;min-height:44px;justify-content:center;padding:0 12px;border:1px solid var(--line-2);border-radius:12px;color:var(--ink-2);font-size:14.5px;white-space:nowrap}
.modal .otp-alt .otp-back:hover{border-color:var(--acc-line)}
@media (max-height:450px) and (orientation:landscape){
  .modal:has(> .otp-alt){padding-top:14px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  body .modal:has(> .otp-alt) .mclose{top:6px!important}
  .modal .otp-alt{flex-direction:row;margin-top:8px}.modal .otp-alt .otp-back{flex:1 1 0;min-width:0}
}
/* Today: one filled Plus button per screen. While the Daily's own Plus card is showing, the week row's button is outlined; and
   while the week row is on the page the weather strip's lock keeps its icon without a second "in Plus" label (copy-short,
   layout-one-primary-action; same idea as paid.js CSS3, 11-09) */
html:has(#brief .nba-card[data-nba="plus"]) #pwPlus,html:has(#brief .nba-card[data-nba="premium"]) #pwPlus{background:none;border:1px solid #d8b46a;color:#d8b46a}
html:has(#pwPlus) .cw-card .cw-fog .cw-pill{font-size:0;gap:0}
/* Phone sideways, the name step: a wider text column so the helper is two lines and the whole form sits in the first frame (layout-phone-landscape) */
@media (max-height:450px) and (orientation:landscape) and (min-width:600px){
  html body #namefirst .nf-wrap{max-width:none!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;column-gap:28px;padding-top:8px!important}
  html body #namefirst .nf-wrap p{font-size:15px;text-wrap:pretty!important;max-width:none}
  html body #namefirst .nf-q{margin-top:8px!important}
}
/* GATE104:END */
/* GATE104-SHEET:BEGIN  shared sheet chrome, every sheet (nav-sheet-modal-close-buttons, a11y-tap-44): one close, 44pt, 14px
   from the top and 12px from the right, on the first title line; the title is padded so it wraps clear of the close. No
   change to any one sheet's own markup, copy or logic. */
.sheet .sheet-grip{margin:8px auto 4px}
.sheet .sheet-x{top:14px;right:12px;background:var(--surface-2);color:var(--ink)}
.sheet #sheetBody > h3:first-child,.sheet #sheetBody > :first-child > h3:first-child{padding:0 48px;text-wrap:balance}
/* .acct-input (phone, email and code fields) is styled by a style tag that account settings adds on first open, so a sheet
   that uses the class earlier drew a bare 22px box. The same look, here from the start: 48pt tall, placeholder at 4.5:1 */
.acct-input{width:100%;box-sizing:border-box;min-height:48px;padding:12px 14px;border-radius:10px;border:1px solid var(--line-2);background:rgba(255,255,255,.05);color:var(--ink);font-family:var(--body);font-size:15px;margin-bottom:10px}
.acct-input::placeholder{color:var(--mut);opacity:1}
.acct-input:focus-visible{outline:2px solid var(--acc-ink);outline-offset:1px}
/* GATE104-SHEET:END */
/* GATE104B:BEGIN  iOS 1.0.4 release gate, round 2 (pcheck app matrix 2026-11-17 23:27, C 76). Fable design (board2). */
/* Sheets: one floating card with a visible edge on the night sky (nav-sheet-modal-close-buttons, layout-duo-folded-sheet-stays-in-column,
   nav-duo-folded-screen-sheet). The sheet had no top edge to see (black grip on a dark surface, 34% scrim), so its close read as
   floating over the page. A 1px hairline all round, 26px corners, 8px off the screen edges and the bottom, an ivory grip, a night
   scrim. Close: 44pt, 16px from the top and right, centred on the first title line. On the Duo folded the card ends 21px before
   the rail and its close 37px. No sheet's own markup, copy or logic changes. */
.sheet-mask{background:rgba(10,9,18,.58)}
.sheet{border:1px solid var(--line-2);border-radius:26px;margin:0 auto 8px;box-shadow:0 -12px 44px -10px rgba(0,0,0,.6);padding:6px 20px max(16px,calc(env(safe-area-inset-bottom) + 6px))}
@media (max-width:560px){.sheet{margin:0 8px 8px}}
.sheet .sheet-grip{background:rgba(255,255,255,.24);margin:8px auto 4px}
.sheet .sheet-x{top:16px;right:16px}
.sheet #sheetBody > h3:first-child,.sheet #sheetBody > :first-child > h3:first-child{padding:0 52px}
/* phone sideways (layout-phone-landscape): the whole card is on screen with clear space above and below it */
@media (max-height:450px) and (orientation:landscape){
  .sheet{max-height:calc(100dvh - 24px);margin-bottom:max(12px,env(safe-area-inset-bottom));padding:2px 20px 6px}
  .sheet .sheet-grip{margin:6px auto 2px}
  .sheet .sheet-x{top:8px}
  .sheet .sub{margin-bottom:8px}
  .sheet .acct-input{margin-bottom:6px}
}
/* Sign in card: the close sits 16px in and centres on "Sign in"; Google's pill starts 16px under the title */
body .modal .mclose{top:16px!important;right:16px!important}
.modal:has(> .mclose){padding-top:20px}
.lm-gbtn{margin:19px 0 14px!important}
/* GATE104B:END */
/* GATE104C:BEGIN  iOS 1.0.4 release gate, round 3 (pcheck app matrix 2026-11-18 00:48, C 77). Fable design (board3). */
/* Sheets: the subline wraps evenly (no lone last word); on the Duo folded the card keeps a 16px gutter inside the column, clear of the rail capsules */
.sheet .sub{text-wrap:balance}
#nfNext{display:inline-block;text-wrap:balance}   /* type-line-length (home, Duo): the second helper sentence balances by itself, so 'minutes.' is never alone on a line */
html.duo-rail body:not(.fold) .sheet{margin-left:16px;margin-right:16px}
/* Sign in card, phone sideways: the card no longer touches the screen edges; the two quiet buttons keep 44px and sit the same 16px from the bottom as from the sides of their row */
@media (max-height:450px) and (orientation:landscape){
  .modal:has(> .otp-alt){padding-top:12px;padding-bottom:16px}
  body .modal:has(> .otp-alt) .mclose{top:8px!important}
  .modal:has(> .otp-alt) .lm-gbtn{margin:12px 0 8px!important}
  .modal:has(> .otp-alt) .merr:empty{min-height:0;margin:0 0 10px}
  .modal .otp-alt{margin-top:10px}
}
/* GATE104C:END */
/* GATE104D:BEGIN  iOS 1.0.4 release gate, round 4 (pcheck app matrix 2026-11-18 01:40, C 79). Fable design (board4). */
/* Sheets (nav-sheet-modal-close-buttons): the close sits 12px from the top and the right edge on every sheet and size */
.sheet .sheet-x{top:12px;right:12px}
/* Text sheet, phone sideways (layout-phone-landscape): 24px of page under the card, so it reads as a card over the page and not as a full screen */
@media (max-height:450px) and (orientation:landscape){
  .sheet{max-height:calc(100dvh - 48px);margin-bottom:max(24px,env(safe-area-inset-bottom))}
  .sheet .sheet-x{top:8px}
}
/* Sign in (layout-one-primary-action): the empty error row no longer holds 35px between the field and its button; every gap in the card is 12px */
.modal:has(> .otp-alt) #otpIdent{margin-bottom:0}
.modal:has(> .otp-alt) .merr:empty{min-height:0;height:0;margin:0 0 12px}
.modal:has(> .otp-alt) .merr:not(:empty){margin:8px 0 10px}
/* Me, What others see (layout-body-reading-text-fills): the line in quotes shows whole (it was cut inside a word at two lines) */
.me-quote{-webkit-line-clamp:5}
/* App header action (nav-plain-labels): the person-plus button says what it does. One short word beside the icon, the same pill on every tab and size. */
body .brand .ah-pill.ah-ic.ah-lb{width:auto;min-width:44px;padding:0 14px 0 11px;border-radius:22px;gap:6px}
body .brand .ah-pill.ah-ic.ah-lb .ah-w{position:static;width:auto;height:auto;overflow:visible;clip:auto;font:600 14px/1 Inter,system-ui,sans-serif;white-space:nowrap}
/* Home on the Duo unfolded upright (layout-duo-phone-layouts-with): the headline column is wider, so the headline takes two lines and the form sits level with it */
@media (min-width:600px) and (max-width:760px) and (orientation:portrait){
  #namefirst .nf-wrap{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);column-gap:28px;padding-top:18vh}
}
/* GATE104D:END */
/* GATE104E:BEGIN  iOS 1.0.4 release gate, round 5 (pcheck app matrix 2026-11-18 02:30, B 81). Fable design (board5). */
/* layout-phone-landscape (Me): sideways, the hero is one row. Ring and name on the left, the three links on the right, so the
   'What others see' card starts 50px higher and its heading, note and preview are above the tab bar. */
@media (max-height:450px) and (orientation:landscape){
  body:not(.fold) #me .me-hero{flex-wrap:nowrap!important;flex-direction:row;text-align:left}
  body:not(.fold) #me .me-hero .me-id{flex:1 1 0;width:auto;align-items:flex-start;gap:2px}
  body:not(.fold) #me .me-hero .me-id .ia-h1{font-size:24px;line-height:1.15}
  body:not(.fold) #me .me-hero .me-arch{font-size:16px}
  body:not(.fold) #me .me-hero .me-acts{flex:none;flex-wrap:nowrap;margin-left:auto;gap:4px}
  body:not(.fold) #me .me-grid{margin-top:4px}
  body:not(.fold) #me .me-hero .me-url{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  body.has-nav:not(.fold) #app:has(#me.on){padding-left:0!important;padding-right:0!important}   /* the 680px column is centred 97px in, already clear of the 62px insets: it keeps its full width */
}
/* (the sheet close button rule of round 5 moved to GATE104F below) */
/* layout-wide-desktop-scale (home, wide Duo): the page column is 736px (was 616) and the text column 1.5 to 1, so the headline
   is two lines and each helper sentence is one whole line, not an even split 220px in. Words unchanged. Duo only: the web
   page at desktop widths keeps its layout. */
@media (min-width:900px) and (min-height:451px){
  html.duo-capable #app:has(#namefirst.on){max-width:800px}
  html.duo-capable #namefirst .nf-wrap{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);column-gap:28px}
  html.duo-capable body #namefirst .nf-wrap>p:not(.nf-ref):not(.nf-what):not(.nf-sub){text-wrap:pretty!important}
}
/* GATE104E:END */
/* GATE104F:BEGIN  iOS 1.0.4 release gate, round 6 (pcheck app matrix 2026-11-18 03:24, C 75). Fable design (board6). */
/* nav-sheet-modal-close-buttons: the X is 12px from the sheet's top and right edges at every size, upright and sideways (one place on every sheet),
   and the sheet's first line of text is centred on it (X centre 34 from the top; the body moves 4px up when upright and 7px down sideways). */
.sheet .sheet-x{top:12px;right:12px}
.sheet > #sheetBody{margin-top:-4px}
@media (max-height:450px) and (orientation:landscape){.sheet .sheet-x{top:12px}.sheet > #sheetBody{margin-top:7px}}
/* layout-phone-landscape (Me): sideways, the 'What others see' card starts 26px higher (12px under the hero, 14px top padding) and its note is left
   out, so the card's heading, the name row and the quote of the preview are above the tab bar. Upright sizes keep the note. */
@media (max-height:450px) and (orientation:landscape){
  body:not(.fold) #me #meBody{gap:12px!important}
  body:not(.fold) #me .me-grid{margin-top:0}
  body:not(.fold) #me .me-card.pub{padding-top:14px}
  body:not(.fold) #me .me-card.pub > #mePubH + p{display:none}
}
/* nav-one-header-row-app (Me, Duo folded): the avatar and menu live in the rail here, so the header row has only the title. The Public / Only you /
   Tests switcher takes the rest of that row (it scrolls away with the header, which is not pinned here), and the hero starts 58px higher. */
@media (max-width:640px) and (orientation:portrait){
  html.duo-rail body.app-hdr:not(.fold) #me.on .me-wrap > nav.ia-seg{position:relative!important;z-index:41;align-self:flex-end;width:calc(100% - 68px)!important;flex:none!important;margin:-51px 0 0!important}
  /* gate 11-18 round 7 (nav-no-lost-destinations): the header's title box runs the full row and sat over the switcher, so it took the taps. On this
     screen the header draws under the screen (as it does sideways), so each switcher button is the top element at its centre. */
  html.duo-rail body.app-hdr:not(.fold):has(#me.on) > #app > .brand{z-index:0!important}
}
/* layout-duo-phone-layouts-with (Me, Duo folded): the cards end 6px inside the pane, 19px left of the rail capsules, the same line as Social and Ask
   (round 5); they stopped 6px short of that line. */
html.duo-rail body:not(.fold) #me{padding-right:6px!important}
/* GATE104F:END */
/* GATE104G:BEGIN  iOS 1.0.4 release gate, round 7 (pcheck app matrix 2026-11-18 04:21, B 81). Fable design (board7). */
/* layout-ha-one-headline-per (Me): where the app header row says "Me" (phone and Duo under 900px), a card's title is a 16px label, not a second
   serif heading. The member's name in the hero is the only serif line above the cards. */
@media (max-width:899px){
  body.app-hdr #me .me-card h2{font:600 16px/1.3 Inter,system-ui,sans-serif;letter-spacing:0;gap:8px}
  body.app-hdr #me .me-card h2 svg{width:18px;height:18px}
}
/* GATE104G:END */
/* GATE104H:BEGIN  iOS 1.0.4 release gate, round 8 (pcheck app matrix 2026-11-18 05:03, B 83). Fable design (board8). */
/* layout-first-real-content-starts (Me, phone upright and Duo folded): the hero is one row, a 64px ring beside the name block, with the
   actions on the row under it. The first card starts about 96px higher, inside the top 40% of the frame. */
@media (max-width:560px) and (orientation:portrait){
  body:not(.fold) #me .me-hero{flex-direction:row;flex-wrap:wrap;align-items:center;text-align:left;gap:12px 14px}
  body:not(.fold) #me .me-hero .me-ring{width:64px;height:64px}
  body:not(.fold) #me .me-hero .me-ring>div{font-size:28px;border-width:2px}
  body:not(.fold) #me .me-hero .me-id{flex:1 1 0;width:auto;min-width:0;align-items:flex-start;gap:2px}
  body:not(.fold) #me .me-hero .me-id .ia-h1{font-size:24px;line-height:1.15}
  body:not(.fold) #me .me-hero .me-arch{font-size:16px}
  body:not(.fold) #me .me-hero .me-url{overflow-wrap:anywhere;max-width:100%}
  body:not(.fold) #me .me-hero .me-acts{flex:1 1 100%;justify-content:flex-start}
}
/* layout-duo-phone-layouts-with (home, Duo unfolded upright): one column, as on the phone. The two name fields and the button run the
   column's full width; they sat in a 207px side column with empty space under them. */
@media (min-width:600px) and (max-width:760px) and (orientation:portrait){
  #namefirst .nf-wrap{display:block;max-width:460px;text-align:center;padding-top:12vh}
  #namefirst .nf-wrap>.hp-sky{margin-left:auto;margin-right:auto}
  #namefirst .nf-wrap>p:not(.nf-ref):not(.nf-what):not(.nf-sub){margin-bottom:18px}
}
/* GATE104H:END */
/* GATE104I:BEGIN  iOS 1.0.4 release gate, round 9 (pcheck app matrix 2026-11-18 05:42). */
/* layout-complete-at-rest (sign-in, web): Google's script draws its plain button first and its framed button under it, then removes the first.
   For that moment the card showed two "Continue with Google" buttons, one over the other, and was 44px taller. Both now share one grid cell,
   so the card does not move, and the plain button goes as soon as the framed one has its size (Google sets the frame to 0px until then).
   Nothing is clipped and the two are never on screen together. */
#lmGoogleBtn.lm-gbtn > div{display:grid}
#lmGoogleBtn.lm-gbtn > div > *{grid-area:1/1}
#lmGoogleBtn.lm-gbtn > div:has(> div > iframe:not([style*="height: 0px"])) > div:not([id]){display:none}
/* GATE104I:END */
