/* Shared styles for home-mockups-2.html and home-elements.html */
:root{
 --ink:#2B0D07;--ink2:#5A413C;--ink3:#74625D;--line:#e7e1cf;
 --paper:#F4EFEB;--card:#fff;
 --crimson:#C8402A;--rose:#EBC4BC;--latte:#F4EFEB;--pear:#96994B;--pear-ink:#5C5F1F;--sienna:#F2D35E;--arctic:#C2D5DF;--blue:#C2D5DF;
 --rose-s:#F7E6E2;--arctic-s:#E6EEF2;--pear-s:#E9EAD5;--sienna-s:#FBF3D4;--latte-s:#f3efe9;
 --frame:#1F0905;
 --ease-out:cubic-bezier(.23,1,.32,1);--ease-io:cubic-bezier(.77,0,.175,1);--ease-in-out:var(--ease-io);--ease-pop:cubic-bezier(.34,1.7,.64,1);--dur-pop:240ms;
 --r-lg:24px;--r-md:18px;--r-sm:12px;
 --row-inset:10px; /* the one inset every hoverable table row shares: its text sits on the card heading's edge and its hover fill reaches this far past it */
}
*{box-sizing:border-box;margin:0;padding:0}
/* the one global hidden rule and screen-reader-only text for every page that loads this file */
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
a{color:inherit;text-decoration:none}
html,body{background:#3A1A13}
body{text-wrap:pretty;font:400 14px/1.45 Satoshi,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;padding:40px 0 80px}
.serif{font-family:"Young Serif",Georgia,serif;font-weight:400}
.wrap{width:1440px;margin:0 auto}
.lbl{color:#F4EFEB;font:500 15px/1.4 Satoshi;margin:0 0 14px 4px;opacity:.9;max-width:1100px}
.lbl b{font-family:"Young Serif",serif;font-weight:400;font-size:22px;margin-right:10px}
.sec{color:#F4EFEB;font:400 34px/1.15 "Young Serif",serif;margin:30px 0 6px 4px}
.secp{color:#cfc8b8;font-size:15px;margin:0 0 26px 4px;max-width:900px}
.i{display:inline-block;vertical-align:middle;flex:none}


/* shell */
.board{width:1440px;height:900px;background:var(--frame);border-radius:18px;overflow:hidden;display:grid;grid-template-columns:64px 1fr;grid-template-rows:56px 1fr;margin-bottom:64px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.rail{grid-row:1/3;display:flex;flex-direction:column;align-items:center;padding:14px 0 16px;gap:6px}
.rail .logo{width:34px;height:34px;margin-bottom:16px}
.rail a{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#cfc8b8;transition:transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.rail a:active{transform:scale(.96);transition-duration:90ms;transition-timing-function:ease-out}
.rail a.on{background:var(--latte);color:var(--ink)}
.rail .sp{flex:1}
.rail .site{width:36px;height:36px;border-radius:50%;background:conic-gradient(var(--arctic),var(--sienna),#D9CFC8,var(--arctic))}
.top{display:flex;align-items:center;gap:14px;padding:0 20px 0 8px;color:#e9e3d2}
.top .crumb{font-weight:500;font-size:15px}
.top .crumb span{color:#9c948a;font-weight:400;margin-left:8px}
.top .ask{margin-left:auto;display:flex;align-items:center;gap:10px;background:#311610;border:1px solid rgba(255,255,255,.09);border-radius:999px;padding:6px 7px 6px 16px;width:430px;color:#E6E0D4;font:500 13.5px/1.3 Satoshi,sans-serif;cursor:pointer;transition:border-color 160ms ease,background-color 160ms ease}
.top .ask>svg:first-child{color:#FFFDF9;opacity:.92}
.top .ask .ask-in{flex:1;min-width:0;width:0;border:0;padding:0;background:transparent;font:inherit;color:inherit;letter-spacing:.005em;outline:none}
.top .ask .ask-in::placeholder{color:inherit;opacity:1}
.top .ask:focus-within{outline:2px solid var(--paper);outline-offset:2px}
.top .ask:hover{background:#3B1A14;border-color:rgba(255,255,255,.2)}
.top .ask .am{margin-left:auto;flex:none;width:28px;height:28px;border:0;padding:0;border-radius:50%;background:#ffffff;display:grid;place-items:center;color:#2B0D07;box-shadow:0 1px 4px rgba(0,0,0,.28);cursor:pointer}
.top .ask .am svg{color:#2B0D07;stroke:#2B0D07}
.top .btn{position:relative;isolation:isolate;background:#FFFDF9;border:0;color:#2B0D07;border-radius:999px;padding:8px 16px;font:600 13px/1.3 Satoshi,sans-serif;cursor:pointer;box-shadow:0 0 0 1.5px #ffffff,0 0 14px 2px rgba(255,255,255,.72),0 2px 8px rgba(0,0,0,.24)}
.top .av{flex:none;width:32px;height:32px;border:0;padding:0;border-radius:50%;background:#EFE8E2;color:#2B0D07;display:grid;place-items:center;font:700 13px Satoshi,sans-serif;cursor:pointer}
.top .tb-ic{flex:none;width:36px;height:36px;margin:0 -9px;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;display:grid;place-items:center;cursor:pointer;transition:transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.top .tb-ic:hover{background:rgba(43,13,7,.06)}
.board .rail a:focus-visible,.board .top :is(a,button):focus-visible{outline:2px solid var(--paper);outline-offset:2px}
.board .tpop{position:absolute;z-index:100;width:300px;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 2px 6px rgba(0,0,0,.08),0 18px 40px rgba(0,0,0,.16);color:var(--ink2);font:400 13px/1.45 Satoshi,sans-serif;opacity:0;transform:translateY(6px) scale(.94);transform-origin:top right;transition:opacity 160ms ease-out,transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.board .tpop.open{opacity:1;transform:none}
/* closing: fades out over 120ms, then display waits for the fade (no timer); it keeps its place while it fades */
.board .tpop[hidden]{display:none;opacity:0;transition:opacity 120ms ease-out,display 120ms allow-discrete}
.tpop h2{font:600 14px/1.4 Satoshi,sans-serif;margin:0 0 8px;color:var(--ink2)}
.tpop p{margin:0 0 12px}
.tpop-notices{list-style:none;display:flex;flex-direction:column;gap:12px;margin:0 0 12px;max-height:300px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory}
.tpop-notices li{display:flex;align-items:baseline;gap:12px;scroll-snap-align:start}
.tpop-notices li span{flex:1;min-width:0}
.tpop-notices time{flex:none;color:var(--ink3);font-size:12px;white-space:nowrap}
.tpop .tpop-link{display:flex;align-items:center;min-height:32px;padding:6px 0;color:var(--ink);font-weight:600}
/* menu links in the bell and account menus fit their text with the 6px side padding of the blog page small link (.ix .bpcf .lnk), so the focus ring clears the text; the -6px left margin keeps the text lined up with the heading */
.tpop a.tpop-link{width:fit-content;padding:6px;margin-left:-6px}
.tpop-account{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.tpop-account h2{margin-bottom:2px}
.tpop-account p{font-size:12px;color:var(--ink3);margin:0}
.tpop-initial{flex:none;width:36px;height:36px;border-radius:50%;background:var(--arctic);color:var(--ink);display:grid;place-items:center;font-weight:700}
.tpop textarea{display:block;resize:vertical;width:100%;margin:0 0 12px;border:0;border-radius:12px;padding:10px 12px;background:var(--latte-s);color:var(--ink2);font:500 13.5px/1.45 Satoshi,sans-serif}
.tpop .btn2{border:0;cursor:pointer}
.tpop .btn2:disabled{cursor:default;background:var(--latte-s);color:var(--ink2)}
.board .tpop :is(a,button,textarea):focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.board .tpop,.board .tpop[hidden]{transition:none;transform:none}}
.page{background:var(--paper);border-radius:20px 0 0 0;overflow:hidden;position:relative;display:grid;grid-template-columns:1fr 400px;gap:20px;padding:22px 24px 24px}
.page .l{display:grid;grid-template-rows:360px 1fr;gap:20px;min-width:0;min-height:0}
.page .r{min-width:0;min-height:0;display:flex;flex-direction:column;gap:16px}

h2.h{font:400 21px/1.2 "Young Serif",serif}
.sub{color:var(--ink3);font-size:13px;margin-top:2px}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;font:500 13px/1 Satoshi;padding:8px 14px}
.up{color:#14743C;background:#e1efd9}.dn{color:var(--crimson);background:var(--rose-s)}
.lnk{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px}
.card{background:var(--card);border-radius:var(--r-lg);position:relative}
.btn2{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:13px 22px;font:500 14.5px/1 Satoshi}
.btn2.p{background:var(--ink);color:var(--latte)}
.btn2.g{background:var(--pear);color:var(--ink)}
.rowhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px}

/* hero (B style, geometric art) */
.hero{background:#fff;border-radius:var(--r-lg);position:relative;height:100%;overflow:hidden}
.hero .in{height:100%;padding:30px 34px;position:relative}
.hero .txt{position:relative;z-index:1;max-width:520px}
.hero h1{font:400 26px/1.15 "Young Serif",serif;color:var(--ink2)}
.hero h1 .dom{display:block;font-size:62px;line-height:1.02;color:var(--ink);margin-top:4px;letter-spacing:-.01em}
.hero p.lede{margin-top:12px;color:var(--ink2);font-size:14.5px;max-width:440px}
.hero ul{margin-top:12px;max-width:470px}
.hero li{list-style:none;display:flex;gap:10px;align-items:flex-start;padding:5px 0;font-size:13.5px}
.hero li .dot{width:10px;height:10px;border-radius:3px;margin-top:5px;flex:none}
.hero .go{position:absolute;left:34px;bottom:28px;display:flex;gap:10px;z-index:1}
.hero .art{position:absolute;right:0;top:0;bottom:0;width:400px}
.hero .art svg{position:absolute;inset:0;width:100%;height:100%}
.hero.dark{background:#2B0D07;color:var(--latte)}
.hero.dark li:first-child .dot{background:var(--latte)!important}
.hero.dark h1,.hero.dark h1 .greet{color:#d8d0c2}.hero.dark h1 .dom,.hero.dark .dpick summary{color:#ffffff}.hero.dark p.lede,.hero.dark li{color:#e6dfd1}
.hero.dark .dpick .chev{background:#ffffff;color:#2B0D07}
.hero.dark .btn2.p{background:#ffffff;color:#2B0D07;box-shadow:0 0 0 1.5px #ffffff,0 0 14px 2px rgba(255,255,255,.45)}.hero.dark .btn2.g{background:var(--pear);color:var(--ink)}

/* scorecard (B card + A segmented bar) */
.sc{padding:20px 20px 16px;display:flex;flex-direction:column;flex:1;min-height:0}
.sc .hd{display:flex;justify-content:space-between;align-items:center}
.sc .vis{position:relative;margin:8px auto 0}
.sc .vis .c{position:absolute;inset:0;display:grid;place-items:center;text-align:center}
.sc .vis .c b{font:400 66px/1 "Young Serif",serif;display:block}
.sc .vis .c em{font-style:normal;font-family:"Young Serif",serif;font-size:17px;color:var(--crimson)}
.sc .tiles{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.sc .tl{border-radius:var(--r-sm);padding:10px 12px 10px;display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:7px}
.sc .tl span{font-size:12.5px;font-weight:600;line-height:1.2}
.sc .tl small{display:block;font-weight:600;font-size:12px;margin-top:2px}
.sc .tl small.u{color:#14743C}.sc .tl small.n{color:var(--crimson)}.sc .tl small.z{color:var(--ink3)}
.sc .tl b{font:400 22px/1 "Young Serif",serif}
.sc .tl .sb{grid-column:1/3}
.sb{display:flex;gap:3px;height:6px}
.sb i{flex:1;border-radius:3px;background:rgba(43,13,7,.1)}
.sc .bars{list-style:none;margin-top:14px}
.sc .bars li{display:grid;grid-template-columns:118px 1fr 34px;align-items:center;gap:10px;padding:7px 0;font-size:13px}
.sc .bars li b{font:400 17px "Young Serif",serif;text-align:right}
.sc .bars .sb{height:9px;gap:3px}
.sc .bars .d{font-size:12px;font-weight:700;text-align:right}
.sc .hist{margin-top:14px;flex:1;display:flex;flex-direction:column;max-height:200px}
.sc .hist .hb{display:flex;align-items:flex-end;gap:6px;flex:1;min-height:62px;margin-top:8px}
.sc .hist .hb i{flex:1;border-radius:6px 6px 3px 3px;background:var(--rose)}
.sc .hist .hb i:last-child{background:var(--crimson)}
.sc .hist .bx{display:flex;justify-content:space-between;font-size:12px;color:var(--ink3);margin-top:5px}
.sc .when{margin-top:auto;flex:none;display:flex;align-items:center;justify-content:space-between;padding-top:14px;font-size:13px;color:var(--ink3)}

/* fix cards (A) */
.fixes{display:grid;gap:16px;margin-top:12px;height:calc(100% - 52px)}
.fx{padding:16px 16px 12px;display:flex;flex-direction:column;min-height:0}
.fx .t{font-weight:700;font-size:15.5px;line-height:1.3}
.fx .d{color:var(--ink2);font-size:13px;margin-top:5px}
.fx .tag{margin-top:10px;align-self:flex-start}
.fx .art{flex:1;display:grid;place-items:center;min-height:0}
.fx .ft{display:flex;align-items:center;justify-content:space-between;background:var(--paper);border-radius:var(--r-sm);padding:9px 12px;font-size:12px;color:var(--ink3)}

/* achievements */
.ach{border-radius:var(--r-md);padding:14px 14px 12px;position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:0;overflow:hidden}
.ach .badge{height:92px;display:grid;place-items:center;align-self:stretch}
.ach b{font:400 17px/1.15 "Young Serif",serif;margin-top:6px}
.ach small{font-size:12px;color:var(--ink2);margin-top:3px}
.ach .got{position:absolute;right:10px;top:10px;font:500 12px/1 Satoshi;background:rgba(255,255,255,.75);border-radius:99px;padding:5px 7px}
.ach.lock{background:#e9e5d8!important}
.ach.lock .badge{opacity:.32;filter:grayscale(1)}
.ach.lock b{color:var(--ink3)}
.ach .pg{height:6px;border-radius:99px;background:#ece6d3;align-self:stretch;margin-top:8px;overflow:hidden}
.ach .pg i{display:block;height:100%;background:var(--ink3);border-radius:99px}

/* Loouie University compact (gold mark) */
.lu{display:flex;align-items:center;gap:14px;border-radius:var(--r-md);padding:12px 14px;background:var(--card)}
.lu .nm{font:400 16px/1.1 "Young Serif",serif}
.lu .nx{font-size:12.5px;color:var(--ink2);margin-top:3px}
.lu .play{margin-left:auto;width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--latte);display:grid;place-items:center;flex:none}
.lu .dots{display:flex;gap:4px;margin-top:6px}
.lu .dots i{width:16px;height:5px;border-radius:3px;background:#e6dfc8}
.lu .dots i.on{background:var(--pear)}

/* what changed list */
.wc{padding:16px 18px}
.wc li{list-style:none;display:flex;gap:12px;align-items:center;padding:8px 0;font-size:13.5px}
.wc li .sw{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none}
.wc li b.v{margin-left:auto;font-size:12px}

/* motion: one entrance, one press, one draw. Same curve everywhere. */
/* every screen enters the same way when the shell swaps it in; content drawn after the first paint uses the same fade */
@keyframes rise{from{opacity:0;transform:translateY(8px) scale(.985)}}
@keyframes rise-flat{from{opacity:0;transform:translateY(5px)}}
.rise,.fixes>*,.ach2>*,.rowhead+div>*{animation:rise var(--dur-morph,240ms) var(--ease-morph,cubic-bezier(.22,1,.36,1))}
.board>main.page>:not(:where(.iw-notice)){animation:rise 300ms var(--ease-morph,cubic-bezier(.22,1,.36,1));animation-fill-mode:backwards}
/* Cowork's panels are positioned and morph with transform, so they keep the translate-only entrance */
.board>main.page.rv>:not(:where(.iw-notice)){animation-name:rise-flat}
.board>main.page>:not(:where(.iw-notice)):nth-child(2){animation-delay:40ms}
.board>main.page>:not(:where(.iw-notice)):nth-child(3){animation-delay:80ms}
.board>main.page>:not(:where(.iw-notice)):nth-child(4){animation-delay:120ms}
.board>main.page>:not(:where(.iw-notice)):nth-child(5){animation-delay:160ms}
.board>main.page>:not(:where(.iw-notice)):nth-child(n+6){animation-delay:200ms}
/* content that changes in one frame (a swapped chart, answer, list or section) comes in with the screen entrance, over the control duration; swap-kids puts it on the children of the changed box. No exit, so nothing waits. */
.swap-in,.swap-kids>*{animation:rise var(--dur-ctl,180ms) var(--ease-morph,cubic-bezier(.22,1,.36,1))}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.draw{stroke-dasharray:1;animation:draw 300ms var(--ease-out) both;animation-delay:var(--d,0ms)}
.lnk,.fx,.ach,.tl{transition:transform 160ms var(--ease-out),background-color 160ms ease}
.btn2,.lu .play,.top .ask .am,.top .btn,.top .av,.chips a{transition:transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1)),background-color 160ms ease}
.btn2:active,.lu .play:active,.top .ask .am:active,.top .btn:active,.top .av:active,.top .tb-ic:active,.chips a:active{transform:scale(.96);transition-duration:90ms;transition-timing-function:ease-out}
@media (hover:hover) and (pointer:fine){
 .fx:hover,.ach:not(.lock):hover{transform:translateY(-2px)}
 .btn2.p:hover{background:#472923}.btn2.g:hover{background:#105D30}
 .hero.dark .btn2.p:hover{background:#fff}.hero.dark .btn2.g:hover{background:#105D30}
}
a:focus-visible,button:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:999px}
@media (prefers-reduced-motion:reduce){.board>main.page>:not(:where(.iw-notice)),.rise,.fixes>*,.ach2>*,.rowhead+div>*,.swap-in,.swap-kids>*{animation:none}.board>main.page>:not(:where(.iw-notice)):nth-child(n),.board>main.page.rv>:not(:where(.iw-notice)){animation:none;animation-delay:0ms}.draw{animation:none;stroke-dasharray:none}.fx:hover,.ach:hover{transform:none}.top .av:active,.top .av:hover:not(:active),.top .tb-ic:active{transform:none}.btn2:active,.lu .play:active,.top .ask .am:active,.top .btn:active,.chips a:active,.rail a:active{transform:none}.top .ask .am,.top .btn,.top .tb-ic,.top .btn.gl .gh{transition:none}}
@keyframes fade{from{opacity:0}}
/* medallions */
.med{text-align:center}.med .mt{font:400 16px/1.2 "Young Serif",serif;margin-top:4px}.med .ms{font-size:12px;color:var(--ink2);text-wrap:balance}
.med.lock svg{opacity:.38;filter:grayscale(1)}.med.lock .mt{color:var(--ink3)}

/* element sheets */
.sheet{background:#2E0E07;border-radius:18px;padding:28px;margin-bottom:28px}
.sheet .grid2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.sheet .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.sheet .grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cap{color:#e9e3d2;font-size:14px;margin:10px 2px 0}
.cap b{font-family:"Young Serif",serif;font-weight:400;font-size:17px;margin-right:6px}
.plate{background:var(--paper);border-radius:18px;padding:18px}

/* scorecard v2 (S3 refined): black-led palette, full ring, no track */
.sc2{padding:24px;display:flex;flex-direction:column;flex:1;min-height:0}
.hd2{display:flex;justify-content:space-between;align-items:center}
.pl{display:inline-flex;align-items:center;border-radius:999px;padding:7px 13px;font:500 12.5px/1 Satoshi;background:#2B0D07;color:#F4EFEB}
.ring2{position:relative;margin:28px auto 0;flex:none}
.ring2 .c{position:absolute;inset:0;display:grid;place-items:center;text-align:center;pointer-events:none}
.ring2 .c b{font:400 64px/1 "Young Serif",serif;display:block;letter-spacing:-.02em}
.ring2 .c em{font-style:normal;font:400 17px "Young Serif",serif;color:#B4560A}
.ring2 .arc{cursor:pointer;outline:none;transform-box:view-box;transform-origin:center;transition:transform 180ms var(--ease-out),opacity 180ms ease}
.ring2:has(.arc:hover,.arc:focus-visible) .arc:not(:hover):not(:focus-visible){opacity:.35}
.ring2 .arc:hover,.ring2 .arc:focus-visible{transform:scale(1.045)}
.ring2 .tip{position:absolute;display:flex;align-items:center;gap:8px;white-space:nowrap;background:#2B0D07;color:#F4EFEB;border-radius:999px;padding:7px 12px 7px 10px;font:500 12.5px/1 Satoshi;opacity:0;pointer-events:none;scale:.94;transform-origin:var(--ox) var(--oy);transition:opacity 140ms ease,scale 160ms var(--ease-out);z-index:2}
.ring2 .tip i{width:9px;height:9px;border-radius:50%}
.ring2 .tip b{font:400 15px "Young Serif",serif;margin-left:2px}
.ring2:has(.arc[data-i="0"]:is(:hover,:focus-visible)) .tip[data-i="0"],.ring2:has(.arc[data-i="1"]:is(:hover,:focus-visible)) .tip[data-i="1"],.ring2:has(.arc[data-i="2"]:is(:hover,:focus-visible)) .tip[data-i="2"],.ring2:has(.arc[data-i="3"]:is(:hover,:focus-visible)) .tip[data-i="3"],.ring2:has(.arc[data-i="4"]:is(:hover,:focus-visible)) .tip[data-i="4"],.ring2:has(.arc[data-i="5"]:is(:hover,:focus-visible)) .tip[data-i="5"]{opacity:1;scale:1}
.tiles2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:32px}
.tl2{border-radius:16px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:10px}
.tl2 span{font:500 13px/1.2 Satoshi;color:#2B0D07}
.tl2 b{font:400 22px/1 "Young Serif",serif;color:#2B0D07}
.sb2{grid-column:1/3;display:flex;gap:3px;height:6px}.sb2 i{flex:1;border-radius:3px}
.hist2{margin-top:auto;padding-top:32px}
.hist2 .t{font:500 13px Satoshi}
.hb2{display:flex;align-items:flex-end;gap:10px;height:120px;margin-top:14px}
.hbar{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;background:none;border:0;padding:0;cursor:pointer;font:inherit}
.hbar i{display:block;border-radius:10px 10px 4px 4px;background:#D1E2F5;transition:background-color 160ms ease}
.hbar.now i{background:#6FA3E0}
.hbar .m{font:500 12px Satoshi;color:var(--ink3);margin-top:8px;text-align:center}
.hbar .v{font:400 15px "Young Serif",serif;text-align:center;margin-bottom:6px;opacity:0;translate:0 4px;transition:opacity 140ms ease,translate 180ms var(--ease-out)}
.hbar.now .v{opacity:1;translate:0}
.hb2:has(.hbar:hover,.hbar:focus-visible) .hbar.now:not(:hover):not(:focus-visible) .v{opacity:0}
.hbar:hover i,.hbar:focus-visible i{background:#2B0D07}
.hbar:hover .v,.hbar:focus-visible .v{opacity:1;translate:0}
.hbar:hover .m,.hbar:focus-visible .m{color:#2B0D07}
.hbar:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:10px}
@media (prefers-reduced-motion:reduce){.ring2 .arc,.ring2 .tip,.hbar .v{transition:opacity 150ms ease}.ring2 .arc:hover{transform:none}.ring2 .tip{scale:1}.hbar .v{translate:0}}
/* scorecard v2 inside a full board: same proportions, compacted to fit 900px */
.board .sc2{padding:20px 22px}
.board .ring2{zoom:.8;margin-top:22px}
.board .tiles2{margin-top:22px;gap:8px}
.board .tl2{padding:10px 12px;row-gap:8px}
.board .hist2{padding-top:22px}
.board .hb2{height:128px;margin-top:10px}

.rows2{list-style:none;margin-top:28px;display:flex;flex-direction:column;gap:14px}
.rows2 li{display:grid;grid-template-columns:110px 1fr 34px;align-items:center;gap:12px;font:500 13px Satoshi}
.rows2 b{font:400 18px "Young Serif",serif;text-align:right}
.rows2 .sb2{height:8px}
.board .rows2{margin-top:20px;gap:11px}
.hero .txt h1+ul{margin-top:18px}
.rows2 .sb2{grid-column:auto}

/* S3 + S4 combined: ring, check rows, six-month history, equal gaps between every part */
.sc2.even{justify-content:space-between}
.sc2.even .ring2{margin:0 auto}
.sc2.even .rows2{margin-top:0}
.sc2.even .hist2{margin-top:0;padding-top:0}
.sc2.even .hb2{height:104px}
/* bottom row on the left fills to the same baseline as the right column */
.page .l>div:last-child:has(>.fixes){display:flex;flex-direction:column;min-height:0}
.page .l .fixes{flex:1;height:auto}

/* greeting and domain picker */
.hero h1 .greet{display:block}
.dpick{position:relative;display:inline-block;margin-top:4px}
.dpick summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:12px;font-size:40px;line-height:1.08;white-space:nowrap;color:var(--ink);letter-spacing:-.01em;border-radius:16px;transition:transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.dpick summary::-webkit-details-marker{display:none}
.dpick summary:active{transform:scale(.98);transition-duration:90ms;transition-timing-function:ease-out}
.dpick .chev{width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;flex:none;margin-top:6px;transition:transform 200ms var(--ease-out),background-color 160ms ease}
.dpick[open] .chev{transform:rotate(180deg)}
.dmenu{position:absolute;left:0;top:calc(100% + 10px);z-index:5;min-width:320px;background:#fff;border-radius:22px;padding:10px;box-shadow:0 18px 40px -12px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.08);font:500 15px Satoshi,sans-serif;transform-origin:top left;animation:dpop var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
@keyframes dpop{from{opacity:0;transform:scale(.94) translateY(-4px)}}
.dmenu .dlbl{font:500 12px Satoshi;color:var(--ink3);padding:6px 12px 8px}
.dmenu a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:999px;color:var(--ink);text-decoration:none;transition:transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.dmenu a:active{transform:scale(.98);transition-duration:90ms;transition-timing-function:ease-out}
.dmenu a.on{background:var(--paper)}
.dmenu .fav{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font:600 13px Satoshi;font-style:normal;flex:none}
.dmenu .add{color:#7a716c}.dmenu .add .fav{background:var(--paper);color:var(--ink)}
.dmenu .tick{margin-left:auto;color:var(--pear);display:grid}
@media (hover:hover) and (pointer:fine){.dpick summary:hover .chev{background:var(--arctic)}.dmenu a:not(.on):hover{background:#f6f3ef}}
@media (prefers-reduced-motion:reduce){.dmenu{animation:none}.dmenu a:active,.dpick summary:active{transform:none}.dpick .chev{transition:none}}
.hero:has(.dpick[open]){overflow:visible;z-index:4}
.hero .art{overflow:hidden;border-radius:0 var(--r-lg) var(--r-lg) 0}
.hero .txt:has(.dpick[open]){z-index:3}

/* drawn mode (mockup 7): clean ink outline on the score ring, history bars, change dots and fix pictures; never on buttons or pills */
.ring2 .ol{display:none;stroke:#2B0D07}
.drawn .ring2 .ol{display:inline}
.drawn .hbar i{box-shadow:0 0 0 2px #2B0D07}
.drawn .hero li .dot{box-shadow:0 0 0 1.5px #2B0D07;border-radius:50%}
.drawn .fx .art svg [fill]:not([fill="none"]):not([fill="#fff"]){stroke:#2B0D07;stroke-width:2;stroke-linejoin:round;paint-order:stroke}

/* hero: week-over-week change per check. Three equal columns, each centred; the caption sits under the group.
   The card is a column: greeting at the top, numbers in the middle of the free space, the action at the bottom. */
.hero .in{display:flex;flex-direction:column;padding:36px 40px 32px}
.hero .txt{flex:1;display:flex;flex-direction:column;min-height:0}
.hero .go{position:static;margin-top:24px}
.hero .wk{margin:auto 0;width:408px}
.hero .deltas{display:grid;grid-template-columns:repeat(3,1fr)}
.hero .dl{display:flex;flex-direction:column;align-items:center;text-align:center}
.hero .dl .n{display:flex;align-items:center;justify-content:center;gap:6px}
.hero .dl b{font:400 28px/1 "Young Serif",serif;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.hero .dl .dir{width:18px;height:18px;border-radius:50%;background:var(--c);color:#2B0D07;display:grid;place-items:center}
.hero .dl .dir svg{width:11px;height:11px}
.hero .dl .dir.down{transform:rotate(90deg)}
.hero .dl span{margin-top:8px;font:500 13px Satoshi;color:var(--ink2)}
.hero .since{margin-top:16px;text-align:center;font:500 12.5px Satoshi;color:var(--ink3)}
.hero.dark .dl b,.hero.dark .dl span,.hero.dark .since{color:var(--latte)}
/* hero text column: everything on one centre axis in the space left of the art, so the centred numbers line up with the greeting and the action */
.hero .txt,.hero .go{width:calc(100% - 360px);max-width:none}
.hero .txt{align-items:center;text-align:center}
.hero .go{justify-content:center}
.hero .dpick .dmenu{left:50%;transform-origin:top center;translate:-50% 0}
/* the arrow chip hangs off the number so the number itself sits on the column centre, directly over its label */
.hero .dl .n{position:relative}
.hero .dl .dir{position:absolute;left:100%;top:50%;margin:-9px 0 0 6px}
/* greeting and site name stay left-aligned on the text column edge, set a little lower; the numbers and button keep the centre axis */
.hero .txt h1{align-self:stretch;text-align:left;margin-top:32px}
.hero .dpick .dmenu{left:0;translate:none;transform-origin:top left}
/* give the numbers air under the lowered greeting: trim the bottom stack instead of the greeting offset */
.hero .in{padding-bottom:24px}
.hero .go{margin-top:14px}
.hero .since{margin-top:10px}
.hero .dl span{margin-top:6px}

/* Loouie's tip bubble on the hand-drawn hero: a compact, roomy bubble beside the mascot in the top-right corner, tail pointing right at it */
.hero .lbub{position:absolute;left:92px;top:20px;width:184px;background:var(--paper);border-radius:22px 22px 6px 22px;padding:14px 16px 15px;font:400 13.5px/1.45 Satoshi,sans-serif;color:var(--ink);z-index:1}
.hero .lbub::before{content:"";position:absolute;right:-6px;top:34px;width:14px;height:14px;background:var(--paper);border-radius:3px;transform:rotate(45deg)}
.hero .lbub .lbl{display:flex;align-items:center;gap:5px;margin-bottom:6px;font:600 12px/1 Satoshi;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.hero .lbub svg{position:static;inset:auto;width:12px;height:12px;flex:none}
.hero .ltipw{text-wrap:pretty}
.hero .ltip{transition:opacity 200ms ease}
.hero .lnext{display:inline-flex;align-items:center;gap:1px;border:0;background:none;padding:0;margin-left:2px;font:500 12.5px/1 Satoshi;color:var(--ink3);cursor:pointer;white-space:nowrap;vertical-align:baseline;transition:color 160ms ease}
.hero .lnext svg{width:11px;height:11px;vertical-align:-1px}
.hero .lnext:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
@media (hover:hover) and (pointer:fine){.hero .lnext:hover{color:var(--ink)}}

/* week-over-week changes as solid colour cards: number with a smaller sign, label, nothing else */
.hero .deltas{gap:10px}
.hero .dl{background:var(--c);border-radius:16px;padding:12px 8px 11px}
.hero .dl b{display:block;font:400 28px/1 "Young Serif",serif;color:var(--ink)}
.hero .dl b small{font-size:18px;margin-right:1px;vertical-align:3px}
.hero .dl span{margin-top:6px;color:var(--ink);font-weight:500}
/* tip bubble: blue, top right, tail down-left to Loouie in the pocket below */
.hero .lbub{left:150px;top:18px;width:226px;background:var(--blue);border-radius:22px 22px 22px 6px}
.hero .lbub::before{right:auto;left:20px;top:auto;bottom:-6px;background:var(--blue)}
.hero .lnext{color:var(--ink)}
@media (hover:hover) and (pointer:fine){.hero .lnext:hover{text-decoration:underline;text-underline-offset:3px}}

/* bubble flipped: top-left of the art, tail at the bottom-right pointing down to Loouie */
.hero .lbub{left:96px;width:206px;border-radius:22px 22px 6px 22px}
.hero .lbub::before{left:auto;right:22px}

/* tip bubble now lives inside the art's grid (foreignObject) so it scales and stays placed with Loouie */
.hero .art foreignObject{overflow:visible}
.hero .lbub{position:relative;left:auto;top:auto;right:auto;width:auto;margin:0;background:var(--blue);border-radius:20px;padding:12px 14px 13px;font:400 12.5px/1.42 Satoshi,sans-serif;color:var(--ink)}
.hero .lbub .lbl{font-size:12px;margin-bottom:5px}
.hero .lbub svg{position:static;inset:auto;width:11px;height:11px}
.hero .lbub::before{top:auto;bottom:-6px;width:13px;height:13px;background:var(--blue)}
.hero .lbub.t-c{border-radius:20px}.hero .lbub.t-c::before{left:calc(50% + 14px);right:auto}
.hero .lbub.t-r{border-radius:20px 20px 6px 20px}.hero .lbub.t-r::before{left:auto;right:26px}
.hero .lnext{font-size:12px}

/* score cards and the action share the greeting's left edge; "From last week" stays centred under the three cards */
.hero .wk{align-self:flex-start}
.hero .go{justify-content:flex-start}

/* Loouie's tip bubble in lemonade yellow */
.hero .lbub,.hero .lbub::before{background:var(--sienna)}

/* site name plus its chevron spans roughly the width of the three score cards below */
.hero .dpick summary{font-size:35px}

/* graphs, after the Savee reference: smooth bands, round ends, no outlines in any mode */
.drawn .ring2 .ol,.ring2 .ol{display:none}
.drawn .hbar i{box-shadow:none}
.board .ring2{zoom:.9;margin-top:14px}
.ring2 .c b{font-size:58px}
.ring2 .c em{display:inline-block;margin-top:10px;background:#2B0D07;color:#F4EFEB;border-radius:999px;padding:6px 12px 7px;font:500 12.5px/1 Satoshi}
.rows2 li{grid-template-columns:24px 96px 1fr 34px;gap:10px}
.rows2 .rc{display:block}
.pb2{height:8px;border-radius:999px;overflow:hidden}
.pb2 i{display:block;height:100%;border-radius:999px}
.hbar{align-items:center}
.hbar i{width:24px;min-height:24px;border-radius:999px}

/* ring option F centre: overall score over a quiet status line with an orange dot, no pill */
.ring2 .c .st{display:block;margin-top:8px;font:500 13px/1 Satoshi;color:var(--ink2)}
.ring2 .c .st i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--crimson);margin-right:6px;vertical-align:1px}
.board .ring2{zoom:.9;margin-top:14px}

/* ---------- shell: app name only in the top bar, labelled rail ---------- */
.board{grid-template-columns:76px 1fr}
.rail{padding-top:12px;gap:4px}
.rail a{width:64px;height:auto;padding:8px 0 6px;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:4px}
.rail a span{font:500 13px/1 Satoshi;letter-spacing:.01em;color:#b5ada2}
.rail a.on span{color:var(--ink)}
@media (hover:hover) and (pointer:fine){.rail a:not(.on):hover{background:#341009}.rail a:not(.on):hover span{color:#e9e3d2}}
.rail a:focus-visible{outline:2px solid var(--paper);outline-offset:2px}
.top{padding-left:4px}
.top .wm{display:flex;align-items:center;height:32px;border-radius:8px}
.top .wm img{height:22px;width:auto;filter:invert(93%) sepia(8%) saturate(250%) hue-rotate(5deg)}
/* every icon in the drawn board picks up the mascot's slightly wobbly line */
.drawn svg.i{filter:url(#drawIcon);stroke-width:2.1}

/* ---------- lower row: stack beside a reading suggestion and a designer note ---------- */
.page .l{grid-template-rows:360px minmax(0,1fr)}
.lower{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;min-height:0}
.stk{display:flex;flex-direction:column;min-height:0}
.stk-nav{display:flex;align-items:center;gap:6px}
.stk-n{font:500 13px Satoshi;color:var(--ink2);min-width:54px;text-align:center;font-variant-numeric:tabular-nums}
.stk-b{width:30px;height:30px;border-radius:50%;border:0;background:var(--card);display:grid;place-items:center;color:var(--ink);cursor:pointer;transition:background-color 160ms ease,transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.stk-b[data-stk="prev"] svg{transform:scaleX(-1)}
.stk-b:disabled{opacity:.35;cursor:default}
@media (hover:hover) and (pointer:fine){.stk-b:not(:disabled):hover{background:#f1ead8}}
.stk-b:active:not(:disabled){transform:scale(.94);transition-duration:90ms;transition-timing-function:ease-out}
.stk-cards{position:relative;flex:1;min-height:0;margin-top:12px;margin-bottom:18px}
.sx{position:absolute;inset:0;padding:16px 18px 14px;display:flex;flex-direction:column;touch-action:pan-y;user-select:none;
 translate:0 calc(var(--n,0) * 9px);scale:calc(1 - var(--n,0) * .045);z-index:calc(10 - var(--n,0));transform-origin:50% 100%;
 transition:translate 320ms var(--ease-out),scale 320ms var(--ease-out),opacity 220ms ease,rotate 320ms var(--ease-out)}
.sx:not(.front){pointer-events:none}
.sx:not(.front)>*{opacity:0;transition:opacity 160ms ease}
.sx.gone{opacity:0;translate:0 24px;scale:.86}
.sx.front{cursor:grab}
.sx.front:active{cursor:grabbing}
.sx-top{display:flex;align-items:center;justify-content:space-between}
.sx .t{font-weight:700;font-size:16.5px;line-height:1.3;margin-top:12px}
.sx .d{color:var(--ink2);font-size:13.5px;margin-top:4px}
.sx .art{flex:1;display:grid;place-items:center;min-height:0}
.sx .art svg{max-height:100%}
.sx .ft{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--ink3)}
.sx .ft .lnk{margin-left:auto;color:var(--ink)}
.sx-mark{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;background:var(--ink);color:var(--latte);padding:9px 14px 9px 12px;font:500 13px/1 Satoshi;cursor:pointer;transition:transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1)),background-color 160ms ease}
@media (hover:hover) and (pointer:fine){.sx-mark:hover{background:#472923}}
.sx-mark:active{transform:scale(.96);transition-duration:90ms;transition-timing-function:ease-out}
.sx-mark:focus-visible,.stk-b:focus-visible,.stk-end .lnk:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.sx-done{width:40px;height:40px;opacity:0;scale:.6;transition:opacity 200ms ease,scale 320ms var(--ease-out)}
.sx-done svg{width:40px;height:40px}
.sx.marked .sx-done{opacity:1;scale:1}
.stk-end{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;background:var(--card);border-radius:var(--r-lg);padding:24px}
.stk.fin .stk-end{display:flex}
.stk-end .t{font:400 22px "Young Serif",serif;margin-top:6px}
.stk-end .d{color:var(--ink2);font-size:13.5px;max-width:34ch}
.stk-end .lnk{margin-top:8px;background:none;border:0;font:600 13px Satoshi;color:var(--ink);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.side{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-height:0;padding-top:44px}
.rn,.dn{display:flex;gap:16px;align-items:center;padding:16px 18px;min-height:0}
.rn .dd,.dn .dd{flex:none;width:96px;display:grid;place-items:center}
.rn .k,.dn .k{font:500 13px Satoshi;color:var(--ink3)}
.rn .t{font:400 18px/1.25 "Young Serif",serif;margin-top:4px}
.rn .m,.dn .m{font-size:12px;color:var(--ink3);margin-top:6px}
.rn>svg{flex:none;margin-left:auto;align-self:flex-start}
.rn{transition:transform 160ms var(--ease-out)}
@media (hover:hover) and (pointer:fine){.rn:hover{transform:translateY(-2px)}}
.rn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.dn .q{font-size:14px;line-height:1.45;margin-top:4px}
.dn-a{display:flex;align-items:center;gap:12px;margin-top:10px}
.dn-a .m{margin-top:0}
.btn2.sm{padding:9px 16px;font-size:13px;min-height:24px}
@media (prefers-reduced-motion:reduce){.stk-b:active,.sx-mark:active{transform:none}.sx,.sx-done{transition:opacity 150ms ease}.rn:hover{transform:none}}
.dn .q{color:var(--ink);font-style:normal}
/* fix-card pictures in the stack get the same ink outline and wobble as the mascot's doodles */
.drawn .sx .art svg [fill]:not([fill="none"]):not([fill="#fff"]){stroke:#2B0D07;stroke-width:2.2;stroke-linejoin:round;paint-order:stroke}
.drawn .sx .art svg{filter:url(#drawIcon);overflow:visible}

/* banner polish (impeccable layout + polish): one centred text stack with a clear rhythm,
   a real step between greeting and site name, and the art's top edge on the same inset as the text */
.hero .in{justify-content:center;padding:28px 40px}
.hero .txt{flex:none}
.hero .txt h1{margin-top:0}
.hero h1 .greet{font-size:21px;line-height:1.2;color:var(--ink2)}
.hero .dpick{margin-top:6px}
.hero .wk{margin:24px 0 0}
.hero .since{margin-top:10px}
.hero .go{margin-top:24px}

/* ---------- Home additions: what changed line, this-week card, check detail, not measured ---------- */
.hero .wk{width:auto;max-width:430px}
.hero .since{text-align:left;font:400 13px/1.45 Satoshi;color:var(--ink2);max-width:52ch}
.hero .since b{font-weight:600;color:var(--ink)}
.side{grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}
.rn,.dn,.wk2{gap:14px;padding:12px 16px}
.rn .dd,.dn .dd,.wk2 .dd{width:76px}
.rn .dd svg,.dn .dd svg{width:76px;height:auto}
.rn .t{font-size:16px}
.dn .q{font-size:13.5px}
.dn-a{margin-top:8px}
.wk2{display:flex;align-items:center;min-height:0;transition:transform 160ms var(--ease-out)}
.wk2 .k{font:500 12px Satoshi;color:var(--ink3)}
.wk2 .t{font:400 20px/1.2 "Young Serif",serif;margin-top:3px;font-variant-numeric:tabular-nums}
.wk2 .up{font:600 12.5px Satoshi;color:#14743C;margin-left:4px;vertical-align:2px}
.wk2 .m{font-size:12.5px;color:var(--ink2);margin-top:4px}
.wk2>svg{flex:none;margin-left:auto;align-self:flex-start}
@media (hover:hover) and (pointer:fine){.wk2:hover{transform:translateY(-2px)}}
.wk2:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* the first-fix button gives the front card a short nudge */
.sx.pulse{animation:sxPulse 520ms var(--ease-out)}
@keyframes sxPulse{0%{scale:1}35%{scale:1.025}100%{scale:1}}
/* rows and ring bands open the detail panel */
.rows2 li{cursor:pointer;border-radius:12px;margin:-4px -6px;padding:4px 6px;transition:background-color 140ms ease,transform var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
.rows2 li:active{transform:scale(.99);transition-duration:90ms;transition-timing-function:ease-out}
@media (hover:hover) and (pointer:fine){.rows2 li:hover{background:#f6f1e3}}
.rows2 li:focus-visible,.ring2 .arc:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.rows2 .nmt{font:italic 500 12.5px Satoshi;color:var(--ink3)}
.rows2 li.nm b{color:var(--ink3)}
.ring2 .arc.nm{cursor:pointer}
.page{position:relative}
.dp{position:absolute;top:22px;right:24px;max-height:calc(100% - 46px);overflow:auto;width:400px;background:#fff;border-radius:var(--r-lg);padding:20px 24px;z-index:20;box-shadow:0 18px 50px rgba(0,0,0,.16),0 2px 6px rgba(0,0,0,.06);opacity:0;translate:0 0;transform-origin:top;transition:opacity 120ms ease-out,translate var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1)),scale var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1));display:flex;flex-direction:column}
.dp.on{opacity:1;transition:opacity 160ms ease-out,translate var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1)),scale var(--dur-pop,240ms) var(--ease-pop,cubic-bezier(.34,1.7,.64,1))}
@starting-style{.dp{translate:0 4px;scale:.97}}
.dp[hidden]{display:none}
.dp-x{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;border:0;background:var(--paper);display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.dp-x:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.dp-x:hover{background:#f1ead8}}
.dp-h{display:flex;align-items:center;gap:10px;padding-right:44px}
.dp-c{width:14px;height:14px;border-radius:50%;flex:none}
.dp h3{font:400 24px "Young Serif",serif}
.dp-s{margin-top:14px;display:flex;align-items:baseline;gap:8px}
.dp-s b{font:400 56px/1 "Young Serif",serif;letter-spacing:-.02em}
.dp-s span{color:var(--ink3);font-size:13.5px}
.dp-s .dp-b{font:500 13.5px Satoshi;font-style:normal;color:var(--ink2)} /* the band word, as the Checks row writes it */
.dp-s .dp-b::before{content:"· "}
.dp-k{font:600 13px Satoshi;margin-top:20px}
.dp-d{margin-top:2px;font-size:13px;color:var(--ink3)}
.dp-w .dp-np{white-space:nowrap}
.dp-w .dp-pl{font-weight:600;color:var(--ink)}
.dp-w .dp-of{color:var(--ink3)}
.dp-w{margin-top:8px;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--ink2)}
.dp-p{margin-top:6px;font:500 14px/1.45 Satoshi;color:var(--ink)} /* a path to follow, written as plain text like Results' Showit line, not as a field */
.dp-a{display:flex;flex-wrap:wrap;align-items:center;gap:16px;row-gap:10px;margin-top:18px}
.dp-a .btn2,.dp-a .lnk{white-space:nowrap}
.dp-a .lnk{background:none;border:0;padding:0;cursor:pointer;font:600 13.5px Satoshi;color:var(--ink)}
.dp-a .dpl{border:0;background:none;padding:0;font:500 13.5px Satoshi;color:var(--ink);text-decoration:underline;text-decoration-color:rgba(43,13,7,.35);text-underline-offset:3px;cursor:pointer;border-radius:4px;white-space:nowrap}
.dp-a .dpl:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.dp-a .dpl:hover{text-decoration-color:var(--ink)}}
.dp-e{margin-top:12px;font-size:13px;color:var(--ink3)}
/* the check detail ends under its content; .page prefix outranks the full-height copy in palettes/p1.css */
.page .dp{bottom:auto} /* beats palettes/p1.css, which loads later and pins the bottom */
.board.tpop-on .page .pl{visibility:hidden} /* the page's Example data pill would read as part of an open top popover */
.dp .dp-e{margin-top:12px}
@media (prefers-reduced-motion:reduce){.dp,.dp.on{transition:none;translate:0 0}.sx.pulse{animation:none}.rows2 li{transition:none}.rows2 li:active{transform:none}}

/* ---------- Glowing White AI Button (Ask a designer & Ask Loouie AI triggers) ---------- */
.gl.ask-fill{position:relative;isolation:isolate;background:transparent!important;color:#2B0D07!important;border:0;border-radius:999px;display:inline-flex;align-items:center;gap:7px;font:600 13px/1.3 Satoshi,sans-serif;padding:8px 16px;cursor:pointer;box-shadow:0 0 0 1.5px #ffffff,0 0 14px 3px rgba(255,255,255,.78),0 2px 10px rgba(0,0,0,.25)}
.gl.ask-fill>*:not(.gh):not(.gr):not(.gf){position:relative;z-index:2}
.gl.ask-fill .gh,.gl.ask-fill .gr,.gl.ask-fill .gf{position:absolute;border-radius:inherit;pointer-events:none;font-style:normal}
.gl.ask-fill .gh{inset:-4px;z-index:0;background:conic-gradient(from 40deg,rgba(255,255,255,.95),rgba(255,245,215,.75),rgba(225,238,255,.75),rgba(255,230,225,.7),rgba(255,255,255,.95));filter:blur(8px);opacity:.82;transition:opacity 180ms ease,filter 180ms ease}
.gl.ask-fill .gr{inset:-1.5px;z-index:1;background:linear-gradient(135deg,#ffffff 0%,#fffdf7 45%,#ffffff 100%);box-shadow:inset 0 0 0 1.5px #ffffff}
.gl.ask-fill .gf{inset:1px;z-index:1;background-color:#FFFDF9;background-image:radial-gradient(65% 90% at 15% 20%,rgba(255,225,74,.28) 0%,transparent 70%),radial-gradient(60% 85% at 85% 80%,rgba(111,163,224,.24) 0%,transparent 70%),radial-gradient(55% 75% at 55% 15%,rgba(255,160,140,.2) 0%,transparent 70%);background-size:180% 180%}
@media (hover:hover) and (pointer:fine){
 .gl.ask-fill:hover{box-shadow:0 0 0 2px #ffffff,0 0 18px 4px rgba(255,255,255,.92),0 4px 12px rgba(0,0,0,.28);transform:translateY(-1px)}
 .gl.ask-fill:hover .gh{opacity:1;filter:blur(10px)}
 .top .ask:hover .am{transform:scale(1.06);background:#ffffff}
 .top .av:hover:not(:active){transform:scale(1.06)}
 .top .ask:hover .am:active,.gl.ask-fill:active{transform:scale(.96)}
}
@media (prefers-reduced-motion:reduce){.top .ask:hover .am:active,.gl.ask-fill:active,.top .av:hover:not(:active){transform:none}}

/* White primary buttons (replacing any red buttons across light & dark cards) */
.btn-white{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:11px 18px;font:600 13.5px/1 Satoshi,sans-serif;background:#ffffff;color:#2B0D07;border:1.5px solid rgba(43,13,7,.12);box-shadow:0 2px 8px rgba(0,0,0,.08);cursor:pointer;transition:transform 160ms var(--ease-out),box-shadow 160ms ease}
@media (hover:hover) and (pointer:fine){.btn-white:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.14)}}

/* ---------- Credit Karma–style Banner Enrichments ---------- */
.hero .in{padding:24px 36px 22px}
.hero .txt h1{margin-top:8px}
.hero .ck-pill{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;background:var(--paper);border-radius:999px;padding:5px 12px 5px 8px;font:600 12px/1 Satoshi,sans-serif;color:var(--ink);margin-bottom:6px;box-shadow:inset 0 0 0 1px rgba(43,13,7,.08)}
.hero .ck-pill .bdg{background:#ffffff;color:#2B0D07;border-radius:999px;padding:4px 9px;font:700 12px/1 Satoshi;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.hero .ck-pill .up-tag{color:#14743C;font-weight:700}
.hero.dark .ck-pill{background:rgba(255,255,255,.1);color:#F4EFEB;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.hero.dark .ck-pill .bdg{background:#ffffff;color:#2B0D07}
.hero.dark .ck-pill .up-tag{color:#FFE14A}

/* Credit Karma goal progress bar inside banner */
.hero .ck-bar{width:416px;background:var(--paper);border-radius:14px;padding:9px 12px;margin-top:10px;text-align:left;box-shadow:inset 0 0 0 1px rgba(43,13,7,.06)}
.hero .ck-bar-hd{display:flex;justify-content:space-between;align-items:center;font:600 12px/1.2 Satoshi;color:var(--ink2);margin-bottom:6px}
.hero .ck-bar-hd b{color:var(--ink);font-weight:700}
.hero .ck-segs{display:grid;grid-template-columns:1.2fr 1.2fr 1.3fr 1fr;gap:4px;height:7px;position:relative}
.hero .ck-segs i{border-radius:99px;background:rgba(43,13,7,.12);display:block;position:relative}
.hero .ck-segs i.s1{background:var(--rose)}
.hero .ck-segs i.s2{background:var(--sienna)}
.hero .ck-segs i.s3{background:linear-gradient(90deg,var(--pear) 45%,rgba(43,13,7,.12) 45%)}
.hero .ck-pin{position:absolute;left:56%;top:-4px;width:15px;height:15px;border-radius:50%;background:#ffffff;border:3px solid #2B0D07;box-shadow:0 2px 5px rgba(0,0,0,.22)}
.hero.dark .ck-bar{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.hero.dark .ck-bar-hd{color:#d5cec0}.hero.dark .ck-bar-hd b{color:#ffffff}
.hero.dark .ck-segs i{background:rgba(255,255,255,.16)}
.hero.dark .dl b,.hero.dark .dl span{color:#2B0D07}
.hero.dark .since{color:#dfd8c8}.hero.dark .since b{color:#ffffff}

.hero .wk{margin:12px 0 0;width:416px}
.hero .deltas{gap:9px}
.hero .dl{padding:9px 8px 8px;border-radius:14px}
.hero .dl b{font-size:24px}
.hero .since{margin-top:8px;font-size:12.5px;line-height:1.38}
.hero .go{margin-top:12px;display:flex;align-items:center;gap:10px}
.hero .go .btn-ask-inline{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:11px 16px;font:600 13.5px/1 Satoshi;background:#ffffff;color:#2B0D07;box-shadow:0 0 0 1.5px #2B0D07}
.hero.dark .go .btn-ask-inline{box-shadow:0 0 0 1.5px #ffffff,0 0 12px rgba(255,255,255,.45)}

/* ---------- In-Page Ask Loouie Search-Bar Strip (H1, H2, H3) ---------- */
.ask-strip{background:#2B0D07;color:#F4EFEB;border-radius:20px;padding:12px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 26px rgba(0,0,0,.12)}
.ask-strip .as-in{flex:1;display:flex;align-items:center;gap:10px;background:#341711;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px 8px 8px 16px;min-width:0}
.ask-strip .as-in svg:first-child{color:#FFE14A;flex:none}
.ask-strip .as-ph{color:#EAE4D7;font:500 13.5px/1.2 Satoshi;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ask-strip .as-chips{display:flex;align-items:center;gap:6px;flex:none}
.ask-strip .as-chip{background:rgba(255,255,255,.09);color:#F3EFE6;border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:6px 11px;font:500 12px/1 Satoshi;cursor:pointer;white-space:nowrap;transition:background-color 150ms ease,transform 150ms ease}
@media (hover:hover) and (pointer:fine){.ask-strip .as-chip:hover{background:rgba(255,255,255,.18);transform:translateY(-1px)}}
.ask-strip .as-go{margin-left:auto;border:0;border-radius:999px;background:#ffffff;color:#2B0D07;padding:7px 14px;font:600 12.5px/1 Satoshi;display:inline-flex;align-items:center;gap:6px;cursor:pointer;box-shadow:0 0 0 1.5px #ffffff,0 0 12px rgba(255,255,255,.55);flex:none}

/* ---------- Homepage Layout Variations (H1 - H5) ---------- */
/* H1: Command Deck with in-page Ask Loouie strip between Banner and Lower Stack */
.page.h1 .l{grid-template-rows:334px 58px minmax(0,1fr);gap:14px}
.page.h1 .hero .in{padding:20px 34px 18px}
.page.h1 .hero .txt h1{margin-top:2px}
.page.h1 .hero .dpick summary{font-size:32px}
.page.h1 .hero .wk{margin-top:8px}
.page.h1 .hero .dl{padding:8px 8px 7px}
.page.h1 .hero .dl b{font-size:22px}
.page.h1 .hero .go{margin-top:10px}
.page.h1 .btn2{padding:11px 18px;font-size:13.5px}

/* H2: Credit Bureau Hero with Embedded Ask Dock + 6-Factor Credit Impact Grid */
.page.h2{grid-template-columns:1fr 390px;gap:18px}
.page.h2 .l{grid-template-rows:364px minmax(0,1fr);gap:16px}
.hero .ask-dock{margin-top:10px;width:430px;background:#2B0D07;border-radius:999px;padding:6px 7px 6px 14px;display:flex;align-items:center;gap:9px;color:#EAE4D7;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.hero.dark .ask-dock{background:#361812;border:1px solid rgba(255,255,255,.16)}
.hero .ask-dock .ad-ph{font:500 13px/1 Satoshi;color:#EAE4D7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero .ask-dock .ad-tag{margin-left:auto;background:rgba(255,255,255,.12);color:#F4EFEB;border-radius:999px;padding:4px 9px;font:500 12px/1 Satoshi;white-space:nowrap}
.hero .ask-dock .ad-btn{width:28px;height:28px;border-radius:50%;background:#ffffff;color:#2B0D07;display:grid;place-items:center;flex:none;box-shadow:0 0 10px rgba(255,255,255,.6)}

.ck-factors{display:flex;flex-direction:column;min-height:0}
.ck-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px;flex:1;min-height:0}
.ck-card{background:#ffffff;border-radius:18px;padding:14px 15px;display:flex;flex-direction:column;justify-content:space-between;position:relative;transition:transform 160ms var(--ease-out)}
@media (hover:hover) and (pointer:fine){.ck-card:hover{transform:translateY(-2px)}}
.ck-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ck-card-ic{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;flex:none}
.ck-imp{font:600 12px/1 Satoshi;text-transform:uppercase;letter-spacing:.04em;padding:4px 8px;border-radius:99px;background:var(--paper);color:var(--ink2)}
.ck-imp.hi{background:var(--rose-s);color:#2B0D07}
.ck-card-mid{display:flex;align-items:baseline;justify-content:space-between;margin-top:8px}
.ck-card-mid h3{font:600 14.5px/1.2 Satoshi;color:var(--ink)}
.ck-card-mid b{font:400 26px/1 "Young Serif",serif;color:var(--ink);font-variant-numeric:tabular-nums}
.ck-card-note{font:400 12px/1.35 Satoshi;color:var(--ink2);margin-top:6px}
.ck-card-ft{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:8px;border-top:1px solid var(--paper);font:600 12px/1 Satoshi}

/* H3: Homepage + Ask Bar + Credit Karma "What-If" Score Simulator */
.page.h3 .l{grid-template-rows:334px 58px minmax(0,1fr);gap:14px}
.page.h3 .hero .in{padding:20px 34px 18px}
.page.h3 .hero .txt h1{margin-top:2px}
.page.h3 .hero .dpick summary{font-size:32px}
.page.h3 .hero .wk{margin-top:8px}
.page.h3 .hero .dl{padding:8px 8px 7px}
.page.h3 .hero .dl b{font-size:22px}
.page.h3 .hero .go{margin-top:10px}
.page.h3 .btn2{padding:11px 18px;font-size:13.5px}
.sim-card{background:#ffffff;border-radius:var(--r-lg);padding:16px 18px;display:flex;flex-direction:column;justify-content:space-between;min-height:0}
.sim-hd{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sim-hd .sim-proj{display:inline-flex;align-items:center;gap:6px;background:var(--pear-s);color:#5B5E22;border-radius:999px;padding:5px 11px;font:700 12px/1 Satoshi}
.sim-meter{display:flex;align-items:center;gap:14px;background:var(--paper);border-radius:14px;padding:10px 14px;margin-top:8px}
.sim-meter .sm-num{font:400 34px/1 "Young Serif",serif;color:var(--ink);font-variant-numeric:tabular-nums}
.sim-meter .sm-arr{color:#14743C;font:700 13px Satoshi}
.sim-list{list-style:none;display:flex;flex-direction:column;gap:7px;margin-top:8px}
.sim-list li{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:11px;background:var(--paper);font:500 12.5px/1.2 Satoshi;cursor:pointer;user-select:none}
.sim-list li input{accent-color:#2B0D07;width:15px;height:15px;cursor:pointer}
.sim-list li .pts{margin-left:auto;font:700 12px/1 Satoshi;color:#14743C;background:#ffffff;padding:4px 8px;border-radius:99px}

/* H5: 3-Column Credit Bureau Ledger (No in-page search bar) */
.page.h5{grid-template-columns:1fr 390px;gap:18px}
.page.h5 .l{grid-template-rows:352px minmax(0,1fr);gap:16px}
.lower-h5{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;min-height:0}

/* ---------- Standalone Ask Loouie Search-Bar Page Mockups (A1, A2, A3) ---------- */
.page.ask-pg{display:flex;flex-direction:column;gap:14px;padding:20px 24px}
/* A1: Centered Search-First Studio */
.ap-hero{background:#ffffff;border-radius:var(--r-lg);padding:20px 30px 18px;display:grid;grid-template-columns:1fr 240px;align-items:center;gap:20px;position:relative;overflow:hidden}
.ap-hero .ap-badge{display:inline-flex;align-items:center;gap:7px;background:var(--paper);border-radius:999px;padding:5px 12px;font:600 12px/1.3 Satoshi;color:var(--ink)}
.ap-hero h1{font:400 32px/1.12 "Young Serif",serif;color:var(--ink);margin-top:8px}
.ap-hero p.ap-sub{font:400 14px/1.42 Satoshi;color:var(--ink2);margin-top:4px;max-width:58ch}
.ap-search-box{margin-top:12px;background:#2B0D07;border-radius:20px;padding:10px 12px 10px 18px;display:flex;flex-direction:column;gap:8px;box-shadow:0 12px 28px rgba(0,0,0,.14)}
.ap-search-row{display:flex;align-items:center;gap:12px}
.ap-search-row .ap-ph{flex:1;font:500 15px/1.3 Satoshi;color:#EAE4D7}
.ap-search-row .ap-submit{background:#ffffff;color:#2B0D07;border:0;border-radius:999px;padding:9px 16px;font:600 13px/1.3 Satoshi;display:inline-flex;align-items:center;gap:7px;cursor:pointer;box-shadow:0 0 0 1.5px #ffffff,0 0 14px 2px rgba(255,255,255,.65)}
.ap-scopes{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ap-scopes span{font:500 12px/1.3 Satoshi;color:#b5ada0;margin-right:4px}
.ap-scope{background:rgba(255,255,255,.1);color:#F2ECE0;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:4px 10px;font:500 12px/1.3 Satoshi;cursor:pointer}
.ap-scope.on{background:#ffffff;color:#2B0D07;font-weight:600}
.ap-mascot-box{height:184px;position:relative;display:grid;place-items:center}

.ap-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ap-pcard{background:#ffffff;border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;cursor:pointer;transition:transform 160ms var(--ease-out)}
@media (hover:hover) and (pointer:fine){.ap-pcard:hover{transform:translateY(-2px)}}
.ap-pcard .ap-ptag{align-self:flex-start;border-radius:99px;padding:4px 9px;font:600 12px/1.3 Satoshi}
.ap-pcard h3{font:400 16px/1.22 "Young Serif",serif;color:var(--ink)}
.ap-pcard p{font:400 12px/1.38 Satoshi;color:var(--ink2)}
.ap-pcard .ap-pft{display:flex;align-items:center;justify-content:space-between;font:600 12px/1.3 Satoshi;color:var(--ink);padding-top:6px;border-top:1px solid var(--paper)}

.ap-lower{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;flex:1;min-height:0}
.ap-recent{background:#ffffff;border-radius:20px;padding:14px 18px;display:flex;flex-direction:column;gap:8px}
.ap-ans-item{display:flex;align-items:center; gap:12px;padding:10px 12px;border-radius:14px;background:var(--paper)}
.ap-ans-item b{font:600 13.5px/1.25 Satoshi;color:var(--ink)}
.ap-ans-item small{display:block;font:400 12px/1.3 Satoshi;color:var(--ink2);margin-top:2px}
.ap-ans-item .btn-white{margin-left:auto;padding:7px 12px;font-size:12px}

/* A2: Split Live Answer Thread + Site Credit Context Rail */
.page.ask-split{display:grid;grid-template-columns:1fr 390px;gap:20px;padding:22px 24px}
.as-thread{display:flex;flex-direction:column;gap:14px;min-height:0}
.as-qbar{background:#2B0D07;border-radius:20px;padding:12px 14px 12px 18px;display:flex;align-items:center;gap:12px;color:#EAE4D7}
.as-qbar .as-qtxt{flex:1;font:500 14.5px/1.2 Satoshi;color:#EAE4D7}
.as-qbar .as-qbtn{background:#ffffff;color:#2B0D07;border:0;border-radius:999px;padding:9px 16px;font:600 13px/1 Satoshi;display:inline-flex;align-items:center;gap:6px;box-shadow:0 0 0 1.5px #ffffff,0 0 12px rgba(255,255,255,.55)}
.as-card{background:#ffffff;border-radius:24px;padding:22px 24px;flex:1;display:flex;flex-direction:column;gap:14px;min-height:0}
.as-user-q{align-self:flex-end;background:var(--paper);color:var(--ink);border-radius:18px 18px 4px 18px;padding:10px 16px;font:600 14px/1.35 Satoshi;max-width:80%}
.as-bot{display:grid;grid-template-columns:68px 1fr;gap:16px;align-items:start;flex:1;min-height:0}
.as-bot-av{width:68px;height:68px;background:var(--paper);border-radius:20px;display:grid;place-items:center;position:relative}
.as-bot-body{display:flex;flex-direction:column;gap:12px}
.as-bot-body h3{font:400 22px/1.2 "Young Serif",serif;color:var(--ink)}
.as-bot-body p{font:400 14px/1.48 Satoshi;color:var(--ink2)}
.as-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.as-step{background:var(--paper);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.as-step-hd{display:flex;align-items:center;justify-content:space-between}
.as-step-hd .pts{background:#ffffff;color:#14743C;font:700 12px/1 Satoshi;padding:4px 9px;border-radius:99px}
.as-step b{font:600 14px/1.25 Satoshi;color:var(--ink)}
.as-step small{font:400 12.5px/1.38 Satoshi;color:var(--ink2)}
.as-snippet{background:#2B0D07;color:#F4EFEB;border-radius:16px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.as-snippet code{font:500 12.5px/1.4 Satoshi,sans-serif;color:#EAE4D7}
.as-followups{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:6px;flex-wrap:wrap}
.as-followups span{font:600 12px/1 Satoshi;color:var(--ink3)}
.as-fchip{background:var(--paper);color:var(--ink);border-radius:999px;padding:7px 13px;font:500 12.5px/1 Satoshi;cursor:pointer}

/* A3: Command Deck Search + Instant Showit Copy & Audit Workbench */
.ap-dark-banner{background:#2B0D07;color:#F4EFEB;border-radius:24px;padding:24px 32px;display:grid;grid-template-columns:1fr 280px;align-items:center;gap:20px;position:relative;overflow:hidden}
.ap-dark-banner h1{font:400 32px/1.12 "Young Serif",serif;color:#ffffff;margin-top:8px}
.ap-dark-banner p{font:400 14px/1.45 Satoshi;color:#d6cfc1;margin-top:4px}
.ap-dark-search{margin-top:14px;background:#361812;border:1.5px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 8px 8px 18px;display:flex;align-items:center;gap:10px}
.ap-dark-search .ph{flex:1;color:#EAE4D7;font:500 14.5px/1 Satoshi}
.ap-wb3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;flex:1;min-height:0}
.ap-wcol{background:#ffffff;border-radius:22px;padding:18px 20px;display:flex;flex-direction:column;gap:10px;min-height:0}
.ap-wcol h3{font:400 19px/1.2 "Young Serif",serif;color:var(--ink)}
.ap-copy-box{background:var(--paper);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.ap-copy-box small{font:600 12px/1 Satoshi;text-transform:uppercase;letter-spacing:.05em;color:var(--ink3)}
.ap-copy-box p{font:500 13px/1.4 Satoshi;color:var(--ink)}


/* tap targets: small text links and the top Ask field get a 24px+ hit area without changing how they look */
.top .ask .ask-in{align-self:stretch;min-height:28px}
:is(.lsn3,.glk,.b-txt,.pfd,.pfgc-fix,.pfgc-ideab,.r3 .best .bl,.dp-a .dpl,.g-note small a){position:relative}
:is(.lsn3,.glk,.b-txt,.pfd,.pfgc-fix,.pfgc-ideab,.r3 .best .bl,.dp-a .dpl,.g-note small a,.mk-x,.mk-badge)::before{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:28px;translate:0 -50%}
/* the same hit area for the Cowork link at the start of the Blog Assistant, Image Wizard and Audition title rows */
:is(.ix .bph .crumb a,.ciw .crumb,.au .crumb){position:relative}
:is(.ix .bph .crumb a,.ciw .crumb,.au .crumb)::before{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:28px;translate:0 -50%}

/* every browser and the Mac app (html.lv-fill, set by mockkit.js; html.lf-desktop marks the Mac app only): the board fills the window edge to edge,
   with no outer padding, rounded corners or shadow; below the designed 1440 by 900 mockkit.js scales it down so nothing clips. */
html.lv-fill,html.lv-fill body{background:var(--frame)}
html.lv-fill,html.lv-fill body{overflow:hidden;height:100%}
html.lv-fill.lv-zoomed{overflow:auto;height:auto}
html.lv-fill.lv-zoomed body{overflow:visible;height:auto} /* zoomed in: the document scrolls both ways, not body on its own */
html.lv-fill body{padding:0}
html.lv-fill #wrap{width:auto;margin:0}
html.lv-fill #stage .board{width:var(--lf-bw,100vw);height:var(--lf-bh,100vh);border-radius:0;box-shadow:none;margin:0}
/* the cream page card sits in the dark chrome with an even 12px gutter right and bottom, all four corners rounded; the top bar stays flush to the top.
   The top bar's padding lines the wordmark up with the page content's left edge and the avatar with its right edge. */
html.lv-fill #stage .board>main.page{margin:0 12px 12px 0;border-radius:20px}
html.lv-fill #stage .board>.top{padding-left:32px;padding-right:44px}
/* Mac app only, option A: the cream page runs to the window edge on the right and bottom (the window clips the corners); only its top-left corner stays rounded where it meets the nav and top bar. The top bar keeps the wordmark and avatar lined up with the page content. */
html.lf-desktop #stage .board>main.page{margin:0;border-radius:20px 0 0 0}
html.lf-desktop #stage .board>.top{padding-right:32px}
/* one shared inset for every working page that opens with a title, so the first heading lands at the same place on each */
html.lv-fill #stage main.page:is(.r3,.gr,.ln,.pf,.rs,.stg,.bp,.hv,.pj,.ask-pg,.ask-split){padding:36px 32px 32px}
/* Cowork's Pages heading lands at the same height as every other page title */
html.lv-fill #stage main.page.rv:not(.full) :is(.rv-pages,.rv-notes){top:24px;height:calc(100% - 56px)}
html.lv-fill #stage main.page.rv:not(.full) .rv-stage{top:24px;bottom:32px;left:calc(16px + var(--pw-col) + 18px);right:calc(16px + var(--nw-col) + 18px)}
/* the panels sit 16px in so their headings start on the shared 32px edge; the bottom keeps the shared 32px inset */
html.lv-fill #stage main.page.rv:not(.full) .rv-pages{left:16px}
html.lv-fill #stage main.page.rv:not(.full) .rv-notes{right:16px}
html.lv-fill #stage main.page.rv.browse:not(.full) .rv-stage{right:16px}
/* Learn: the shelf is 214px at the 1440 by 900 design; a taller board gives the extra height to the shelf, as on Report and Growth */
html.lv-fill #stage main.page.ln{grid-template-rows:auto auto minmax(214px,1fr);align-content:start}
/* keyboard skip link: shows only on focus, over the top left of the page, in the light pill colours of the Report header Example data pill (.r3 .r3h .pl) laid on the page colour so text behind does not show through */
.skip-page{position:fixed;left:92px;top:-100px;z-index:100;background:linear-gradient(rgba(43,13,7,.07),rgba(43,13,7,.07)) var(--paper);color:var(--ink2);border-radius:999px;padding:7px 12px;font:500 13px Satoshi;text-decoration:none}
.skip-page:focus{top:72px;outline:2px solid var(--ink);outline-offset:2px}
.board.bp>.skip-page{display:none}
/* the shell's offline banner and one line notices: a light card over the top of the main area, in the page tokens */
.lv-offs{position:absolute;top:68px;left:50%;transform:translateX(-50%);z-index:20;display:flex;flex-direction:column;align-items:center;gap:8px}
.lv-off{display:flex;align-items:center;gap:14px;background:var(--card);color:var(--ink);border-radius:14px;padding:10px 12px 10px 18px;box-shadow:0 2px 8px rgba(0,0,0,.24);font:500 14px/1.3 Satoshi,sans-serif}
.lv-off p{margin:0}
/* a screen title takes focus on each screen change for screen readers; it is not a tab stop, so it draws no focus ring */
#lv-page h1[tabindex="-1"]:focus{outline:none}
html.lv-wait #stage{visibility:hidden}

/* Report loading: the shared shimmer takes the score ring's place and one line per check. No new colours. */
.r3 .sc3 > .lvsk{width:min(220px,100%);margin:28px auto 8px;align-items:center}
.r3 .sc3 > .lvsk i:first-child{width:180px;height:180px;border-radius:50%}
.r3 .sc3 > .lvsk i:nth-child(2){width:140px;height:12px}
.r3 .ck3 > .lvsk{margin-top:20px;gap:14px}
.page.r3 .ck3 > .lvsk i{height:16px;width:100%;border-radius:8px}
/* the failed-check sentence's text button, the same quiet link as the other Report text buttons */
.r3 .mt3 button.lnk{background:none;border:0;padding:0;margin-left:6px;cursor:pointer;font:600 13px Satoshi;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* the no-fixes line takes the gap the hidden "What's pulling it down" heading had */
.dp-d.dp-none{margin-top:20px}

/* ---------- Report check detail: the fix list and one fix's steps ---------- */
.fxd .dp-k{margin-top:0}
.fxd{margin-top:20px;display:flex;flex-direction:column}
.fxd-list{display:flex;flex-direction:column;margin:8px calc(var(--row-inset) * -1) 0}
.fxd-list button{width:100%;display:grid;grid-template-columns:1fr auto;column-gap:12px;row-gap:3px;align-items:center;text-align:left;background:none;border:0;padding:12px var(--row-inset);border-radius:var(--r-sm);cursor:pointer;color:var(--ink)}
.fxd-list li+li{border-top:1px solid var(--line)}
.fxd-list .fxd-lt{font:600 14.5px/1.35 Satoshi;grid-column:1}
.fxd-list .fxd-lm{font:500 13px/1.35 Satoshi;color:var(--ink3);grid-column:1}
.fxd-list svg{grid-column:2;grid-row:1/3;color:var(--ink3)}
.fxd-list button:focus-visible,.fxd-back:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.fxd-list button:hover{background:var(--paper)}}
.fxd-back{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;background:none;border:0;min-height:32px;padding:6px 8px 6px 0;font:600 13px Satoshi;color:var(--ink2);cursor:pointer;border-radius:4px}
.fxd-h{font:600 16px/1.35 Satoshi;color:var(--ink);margin-top:10px}
.fxd-body{display:flex;flex-direction:column;gap:14px;margin-top:12px}
.fxd-body .dp-k{font:600 13px Satoshi;margin:0 0 4px}
.fxd-t{font:400 14px/1.45 Satoshi;color:var(--ink2)}
.fxd-where{font-weight:600;color:var(--ink)}
.fxd-items{display:flex;flex-direction:column;gap:4px;font:500 14px/1.4 Satoshi;color:var(--ink)}
.fxd-items li{display:flex;flex-wrap:wrap;column-gap:8px}
.fxd-items em{font-style:normal;color:var(--ink3);font-size:13px}
.fxd-more{margin-top:4px;font:500 13px/1.4 Satoshi;color:var(--ink3)}
.fxd-how{counter-reset:fx;display:flex;flex-direction:column;gap:6px;font:400 14px/1.45 Satoshi;color:var(--ink2)}
.fxd-how li{counter-increment:fx;display:grid;grid-template-columns:22px 1fr;align-items:start}
.fxd-how li::before{content:counter(fx);width:18px;height:18px;margin-top:1px;border-radius:50%;background:var(--paper);color:var(--ink);font:600 12px/18px Satoshi;text-align:center}
.fxd-st{margin-top:8px;display:inline-flex;align-items:center;gap:8px;font:600 13px Satoshi;color:var(--ink)}
.fxd-st i{width:8px;height:8px;border-radius:50%;background:var(--ink3)}
.fxd-st.still i{background:var(--crimson)}
.fxd-st.fixed i{background:var(--pear)}
.fxd-list,.fxd-items,.fxd-how{list-style:none;padding:0}
.fxd-path{margin-top:2px}
.fxd-h:focus{outline:none}
.fxd-h:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
