/* Solia v2 — ultra-modern skin: cool neutral canvas, frosted liquid glass, two-tone grotesk headings,
   big thin numbers, 2-up tiles, floating pill tab bar. No sage, no illustrations. Amber sphere = Solia's presence. */
html.v2{
  --bg:#ECEDEF; --card:rgba(255,255,255,.46); --sage:rgba(255,255,255,.55); --sage-2:rgba(255,255,255,.7);
  --forest:#111214; --forest-2:#000; --ink:#111214; --ink-2:#6C6F75; --ink-3:#9A9DA3;
  --bg0:rgba(236,237,239,0); --line:rgba(255,255,255,.7); --line-2:rgba(255,255,255,.55); --peach:rgba(255,255,255,.5); --peach-ink:#3A3C40;
  --white:rgba(255,255,255,.6); --on-accent:#FFFFFF; --tab-off:#6C6F75; --danger:#C2553F;
  --amber:#E89A5C; --amber-2:#F6C89A; --mint:#5FC99A; --rose:#E987AC; --violet:#9C8CF0;
  --glass:linear-gradient(140deg,rgba(255,255,255,.62),rgba(255,255,255,.30));
  --glass-edge:rgba(255,255,255,.75); --glass-shadow:0 10px 34px rgba(24,26,32,.07),inset 0 1px 0 rgba(255,255,255,.85);
  --sans:"Onest",-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif; --serif:var(--sans);
  --r:28px; --r-s:18px;
}
html.v2[data-theme="dark"]{
  --bg:#0C0D0F; --card:rgba(255,255,255,.06); --sage:rgba(255,255,255,.08); --sage-2:rgba(255,255,255,.12);
  --forest:#F4F4F5; --forest-2:#FFF; --ink:#F4F4F5; --ink-2:#9A9DA3; --ink-3:#74777D;
  --bg0:rgba(12,13,15,0); --line:rgba(255,255,255,.12); --line-2:rgba(255,255,255,.08); --peach:rgba(255,255,255,.07); --peach-ink:#D8D9DC;
  --white:rgba(255,255,255,.08); --on-accent:#0C0D0F; --tab-off:#9A9DA3;
  --glass:linear-gradient(140deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  --glass-edge:rgba(255,255,255,.14); --glass-shadow:0 10px 34px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.10);
}

/* canvas + ambient light behind the glass (Solia's amber presence + cool counter-light) */
html.v2 #device{background:var(--bg)}
html.v2 #device::before,html.v2 #device::after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0;filter:blur(60px);opacity:.75;animation:v2drift 26s ease-in-out infinite alternate}
html.v2 #device::before{width:360px;height:360px;right:-120px;top:60px;background:radial-gradient(circle,#F7B57E 0%,rgba(247,181,126,0) 70%)}
html.v2 #device::after{width:380px;height:380px;left:-150px;bottom:120px;background:radial-gradient(circle,#B9C6F2 0%,rgba(185,198,242,0) 70%);animation-duration:32s}
html.v2[data-theme="dark"] #device::before{opacity:.35}
html.v2[data-theme="dark"] #device::after{opacity:.22}
@keyframes v2drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-40px,60px,0) scale(1.12)}}
html.v2 #view,html.v2 #dock{position:absolute;z-index:1}
html.v2 #view{inset:0}

/* typography: bold grotesk, two-tone headline */
html.v2 body{font-family:var(--sans);letter-spacing:-.1px}
html.v2 .h1{font-family:var(--sans);font-weight:700;font-size:34px;line-height:37px;letter-spacing:-1.1px}
html.v2 .h1 .t2,html.v2 .h2 .t2{color:var(--ink-3)}
html.v2 .h2{font-family:var(--sans);font-weight:600;letter-spacing:-.5px}
html.v2 .lead{color:var(--ink-2)}
html.v2 .top .title{font-weight:600}
html.v2 .top .wordmark{font-family:var(--sans);font-weight:700;letter-spacing:-.8px}
html.v2 .date{letter-spacing:.06em}

/* no illustrations in v2 */
html.v2 .illus,html.v2 .st-img,html.v2 img.illus{display:none!important}

/* frosted liquid glass for every surface */
html.v2 .card,html.v2 .list,html.v2 .li,html.v2 .care-tile,html.v2 .goal,html.v2 .notice,html.v2 .m.ai,html.v2 .composer .box,html.v2 .chip,html.v2 .btn.secondary,html.v2 .mood .face,html.v2 .search,html.v2 .plain-row,html.v2 .mark-row,html.v2 .tile{
  background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);
  border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}
html.v2 .card{border-radius:var(--r);padding:20px}
html.v2 .card.sage,html.v2 .card.sage2,html.v2 .card.flat,html.v2 .card.step{background:var(--glass);border-color:var(--glass-edge)}
html.v2 .notice{border-radius:var(--r-s);color:var(--ink-2)}
html.v2 .notice svg{color:var(--ink-2)}
html.v2 .cap{color:var(--ink-2)!important;letter-spacing:.06em}

/* buttons: black pill primary, glass pill secondary */
html.v2 .btn{height:56px;font-weight:600;letter-spacing:-.1px}
html.v2 .btn.primary{background:#111214;color:#fff;box-shadow:0 10px 26px rgba(17,18,20,.18)}
html.v2[data-theme="dark"] .btn.primary{background:#F4F4F5;color:#0C0D0F;box-shadow:none}
html.v2 .btn.secondary{color:var(--ink)}
html.v2 .btn.ghost{color:var(--ink-2)}
html.v2 .btn[disabled]{background:rgba(127,130,138,.18);color:var(--ink-3)}
html.v2 .chip{color:var(--ink);border-radius:100px}
html.v2 .chip.on{background:#111214;color:#fff;border-color:#111214}
html.v2[data-theme="dark"] .chip.on{background:#F4F4F5;color:#0C0D0F;border-color:#F4F4F5}
html.v2 a.lnk,html.v2 .link,html.v2 .lnk{color:var(--ink)}

/* lists become 2-up tiles */
html.v2 .list{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;overflow:visible}
html.v2 .li{flex-direction:column;align-items:flex-start;gap:12px;border-radius:24px;padding:16px;min-height:132px;border-top:1px solid var(--glass-edge)}
html.v2 .li>svg,html.v2 .li>.ico{width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(255,255,255,.7);color:var(--ink);flex:none}
html.v2[data-theme="dark"] .li>svg{background:rgba(255,255,255,.1)}
html.v2 .li .t{font-size:15px;font-weight:600;line-height:19px}
html.v2 .li .s{font-size:12.5px;line-height:17px;color:var(--ink-2);margin-top:4px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
html.v2 .li .act{margin-top:auto;font-size:12px;font-weight:600;padding:5px 10px;border-radius:100px;background:rgba(17,18,20,.06);color:var(--ink)}
html.v2 .tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
html.v2 .tiles>*{margin:0!important}
html.v2 .plain-row{flex-direction:column;gap:12px;border-radius:24px;padding:16px;min-height:120px;border-top:1px solid var(--glass-edge)!important}
html.v2 .plain-row>svg{width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(255,255,255,.7);color:var(--ink);margin:0}
html.v2[data-theme="dark"] .plain-row>svg{background:rgba(255,255,255,.1)}
html.v2 .plain-row .t{font-size:15px}
html.v2 .tiles .card.pr{display:flex;flex-direction:column;padding:16px;border-radius:24px;min-height:200px}
html.v2 .tiles .card.pr .h{flex-direction:column;align-items:flex-start;gap:10px}
html.v2 .tiles .card.pr .h svg{width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(255,255,255,.7)}
html.v2 .tiles .card.pr p{font-size:12.5px;line-height:17px;margin-top:8px;flex:1}
html.v2 .tiles .card.pr .btn{height:42px;font-size:13px;margin-top:12px}
html.v2 .care-tile{border-radius:24px}
html.v2 .care-tile svg{width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(255,255,255,.7);color:var(--ink)}
html.v2 .goal svg,html.v2 .plain-row svg{color:var(--ink)}
html.v2 .goal.on{background:#111214;color:#fff;border-color:#111214}
html.v2 .goal.on .s{color:rgba(255,255,255,.7)}
html.v2 .goal.on svg{color:#fff}

/* mood check-in: glass orbs, selected = black */
html.v2 .mood .face{color:var(--ink)}
html.v2 .mood.on .face{background:#111214;color:#fff;border-color:#111214}
html.v2[data-theme="dark"] .mood.on .face{background:#F4F4F5;color:#0C0D0F}
html.v2 .mood.on{color:var(--ink)}

/* chat */
html.v2 .m.user{background:#111214;color:#fff;border-radius:22px 22px 6px 22px}
html.v2[data-theme="dark"] .m.user{background:#F4F4F5;color:#0C0D0F}
html.v2 .m.user .meta{color:rgba(255,255,255,.6)}
html.v2 .m.ai{border-radius:22px 22px 22px 6px}
html.v2 .composer .box{border-radius:100px}
html.v2 .composer .box:focus-within{border:1px solid rgba(17,18,20,.25);padding:8px 8px 8px 14px}
html.v2 .composer button.send{background:#111214;color:#fff}
html.v2 .who svg{color:var(--amber)}

/* floating pill tab bar: active = dark pill with label, others = glass icon circles */
html.v2 #tabbar{left:50%;right:auto;transform:translateX(-50%);bottom:calc(var(--sab) + 14px);width:auto;gap:8px;padding:7px;border-radius:100px;border:1px solid var(--glass-edge);
  background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);box-shadow:0 14px 40px rgba(24,26,32,.12),inset 0 1px 0 rgba(255,255,255,.8)}
html.v2 #tabbar.hidden{display:none}
html.v2 .tab{position:relative;z-index:1;width:auto;flex-direction:row;gap:0;height:48px;padding:0 4px;border-radius:100px;background:transparent!important;transition:padding .5s cubic-bezier(.34,1.25,.5,1)}
html.v2 .tab .ico{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.6);transition:background .35s ease}
html.v2[data-theme="dark"] .tab .ico{background:rgba(255,255,255,.08)}
html.v2 .tab .lbl{display:inline-block;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;font-size:14px;font-weight:600;color:#fff;transition:max-width .5s cubic-bezier(.34,1.25,.5,1),opacity .2s ease,margin .5s cubic-bezier(.34,1.25,.5,1)}
html.v2 .tab.on{padding:0 18px 0 4px}
html.v2 .tab.on .lbl{max-width:150px;opacity:1;margin-left:8px;transition:max-width .5s cubic-bezier(.34,1.25,.5,1),opacity .35s ease .12s,margin .5s cubic-bezier(.34,1.25,.5,1)}
html.v2 .tab.on .ico{background:transparent}
html.v2 .tab svg{stroke:var(--ink);transition:stroke .3s ease}
html.v2 .tab.on svg{stroke:#fff}
html.v2[data-theme="dark"] .tab .lbl{color:#0C0D0F}
html.v2[data-theme="dark"] .tab.on svg{stroke:#0C0D0F}
html.v2 .tab-ind{position:absolute;left:0;top:7px;height:48px;width:48px;border-radius:100px;background:#111214;z-index:0;box-shadow:0 6px 18px rgba(17,18,20,.25);
  transition:transform .55s cubic-bezier(.34,1.3,.5,1),width .55s cubic-bezier(.34,1.3,.5,1),opacity .2s;will-change:transform,width}
html.v2[data-theme="dark"] .tab-ind{background:#F4F4F5;box-shadow:none}
html.v2 .tab:active .ico{transform:scale(.92);transition:transform .15s}
@media (prefers-reduced-motion:reduce){html.v2 .tab-ind,html.v2 .tab,html.v2 .tab .lbl{transition:none}}

html.v2 .metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
html.v2 .metric{border-radius:24px;padding:16px;background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}
html.v2 .metric .k{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
html.v2 .metric .v{font-size:44px;line-height:48px;font-weight:300;letter-spacing:-2px;margin-top:10px}
html.v2 .metric .v small{font-size:16px;letter-spacing:0;margin-left:2px;color:var(--ink-2)}
html.v2 .metric .s{font-size:12px;color:var(--ink-2);margin-top:4px}

/* voice mode in v2: graphite instead of green */
html.v2 #vm{background:radial-gradient(120% 80% at 50% 45%,#22201E 0%,#121214 55%,#09090A 100%)}
html.v2 .vm-mic{background:linear-gradient(145deg,#FFE3C2,#EFA468);color:#2A1206;box-shadow:0 0 0 12px rgba(239,164,104,.12),0 10px 40px rgba(239,164,104,.4)}
html.v2 .vm-halo{background:radial-gradient(circle,rgba(239,164,104,.16) 0%,rgba(239,164,104,.06) 55%,rgba(239,164,104,0) 72%)}
@keyframes vmpulse{0%,100%{box-shadow:0 0 0 10px rgba(239,164,104,.14),0 10px 40px rgba(239,164,104,.35)}50%{box-shadow:0 0 0 24px rgba(239,164,104,0),0 10px 40px rgba(239,164,104,.5)}}
html.v2 #vm-ai span{font-family:var(--sans);font-weight:500}

@media (prefers-reduced-motion:reduce){html.v2 #device::before,html.v2 #device::after{animation:none}}
html.v2 .tiles .card.pr .btn{padding:0 10px;font-size:12.5px;white-space:nowrap;height:40px}
html.v2 .chips{margin-top:16px}
html.v2 .tiles .card.pr .t{font-size:16px;line-height:20px}
/* ---- voice mode v2: liquid-glass lens over the ribbons; light by default, graphite in dark theme ---- */
html.v2 #vm-glow{display:block;position:absolute;inset:0;width:100%;height:100%;filter:blur(18px) saturate(140%);opacity:.75;pointer-events:none}
html.v2 #vm-wave{position:relative}
html.v2 .vm-lens{display:block;position:absolute;left:50%;top:50%;width:min(58vw,230px);aspect-ratio:1/1;transform:translate(-50%,-50%);border-radius:50%;
  background:linear-gradient(150deg,rgba(255,255,255,.34),rgba(255,255,255,.06) 55%,rgba(255,255,255,.18));
  -webkit-backdrop-filter:blur(12px) saturate(190%) brightness(1.04);backdrop-filter:blur(12px) saturate(190%) brightness(1.04);
  border:1px solid rgba(255,255,255,.75);box-shadow:inset 0 2px 1px rgba(255,255,255,.9),inset 0 -14px 28px rgba(255,255,255,.25),inset 10px 0 24px rgba(255,255,255,.18),0 24px 60px rgba(30,24,40,.12)}
html.v2 .vm-lens::before{content:"";position:absolute;left:16%;top:9%;width:44%;height:22%;border-radius:50%;background:radial-gradient(ellipse at 50% 40%,rgba(255,255,255,.85),rgba(255,255,255,0) 70%);transform:rotate(-24deg)}
html.v2 .vm-core{position:absolute;left:50%;top:50%;width:30%;aspect-ratio:1/1;margin:-15% 0 0 -15%;border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#FFF6EA 0%,#FBD3A6 24%,#EFA468 56%,#C9693F 88%);
  box-shadow:0 0 34px rgba(239,164,104,.65),0 0 80px rgba(239,164,104,.3);transition:transform .08s linear;will-change:transform}

html.v2:not([data-theme="dark"]) #vm{background:#ECEDEF;color:var(--ink)}
html.v2:not([data-theme="dark"]) #vm::before,html.v2:not([data-theme="dark"]) #vm::after{content:"";position:absolute;border-radius:50%;pointer-events:none;filter:blur(70px);z-index:0}
html.v2:not([data-theme="dark"]) #vm::before{width:380px;height:380px;right:-140px;top:8%;background:radial-gradient(circle,rgba(247,178,120,.85),rgba(247,178,120,0) 70%)}
html.v2:not([data-theme="dark"]) #vm::after{width:400px;height:400px;left:-170px;bottom:18%;background:radial-gradient(circle,rgba(176,160,242,.7),rgba(176,160,242,0) 70%)}
html.v2 #vm>*{position:relative;z-index:1}
html.v2:not([data-theme="dark"]) .vm-title{color:var(--ink)}
html.v2:not([data-theme="dark"]) #vm-status{color:var(--ink-2)}
html.v2:not([data-theme="dark"]) .vm-round{background:var(--glass);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);color:var(--ink)}
html.v2:not([data-theme="dark"]) .vm-ghost{background:transparent;border:0;box-shadow:none}
html.v2:not([data-theme="dark"]) #vm-me span{color:var(--ink-2)}
html.v2:not([data-theme="dark"]) #vm-ai span{color:var(--ink);font-weight:600;letter-spacing:-.4px}
html.v2:not([data-theme="dark"]) .vm-mic{background:#111214;color:#fff;box-shadow:0 0 0 10px rgba(239,164,104,.18),0 14px 40px rgba(17,18,20,.25)}
html.v2:not([data-theme="dark"]) .vm-halo{background:radial-gradient(circle,rgba(239,164,104,.28) 0%,rgba(239,164,104,.10) 55%,rgba(239,164,104,0) 72%)}
html.v2[data-theme="dark"] .vm-lens{background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.02) 55%,rgba(255,255,255,.06));border-color:rgba(255,255,255,.18);box-shadow:inset 0 2px 1px rgba(255,255,255,.25),0 24px 60px rgba(0,0,0,.4)}
html.v2[data-theme="dark"] .vm-lens::before{opacity:.35}

/* Today: talk card with a still frame of Solia's ribbons (no animation) */
html.v2 .card.talk{display:none}
html.v2 .v2-talk{margin-top:18px;border-radius:30px;overflow:hidden;background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}
html.v2 .v2-talk .v2-wave{display:block;width:100%;height:150px;margin-top:6px}
html.v2 .v2-talk-b{padding:4px 20px 20px}
html.v2 .v2-talk-b p{color:var(--ink-2);margin-top:6px;font-size:14px}
html.v2 .v2-talk-row{display:flex;gap:10px;margin-top:16px}
html.v2 .v2-talk-row .btn{flex:1;width:auto}
html.v2 .v2-voice{width:56px;height:56px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.7);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);color:var(--ink)}
html.v2[data-theme="dark"] .v2-voice{background:rgba(255,255,255,.1)}
html.v2 .v2-voice svg{width:22px;height:22px}
html.v2 .intro-wave{display:block;width:calc(100% + 2 * var(--gx));height:170px;margin:10px calc(-1 * var(--gx)) 0}
/* breathing practice: Solia ribbons on glass + big thin countdown (no circle) */
html.v2 .v2-breath{position:relative;margin:22px 0 18px;height:300px;border-radius:32px;overflow:hidden;cursor:pointer;background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}
html.v2 #bwave{position:absolute;inset:0;width:100%;height:100%}
html.v2 .v2-bnum{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}
html.v2 .v2-bnum .w{font-size:15px;font-weight:600;letter-spacing:.02em;color:var(--ink);padding:6px 14px;border-radius:100px;background:rgba(255,255,255,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html.v2[data-theme="dark"] .v2-bnum .w{background:rgba(0,0,0,.35)}
html.v2 .v2-bnum .n{font-size:104px;line-height:104px;font-weight:200;letter-spacing:-4px;margin-top:6px;color:var(--ink);text-shadow:0 2px 30px rgba(236,237,239,.9)}
html.v2[data-theme="dark"] .v2-bnum .n{text-shadow:0 2px 30px rgba(0,0,0,.6)}
html.v2 .v2-bnum .s{font-size:12.5px;color:var(--ink-2);margin-top:2px}
html.v2 .progress{height:4px;border-radius:4px;background:rgba(17,18,20,.08)}
html.v2[data-theme="dark"] .progress{background:rgba(255,255,255,.1)}
html.v2 .progress i{background:var(--ink)}
/* header text links as glass pills */
html.v2 .top .link{text-decoration:none;padding:8px 14px;border-radius:100px;font-size:14px;font-weight:600;color:var(--ink);background:var(--glass);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}
html.v2 .top .back{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--glass);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}

/* no underlines anywhere in v2; inline links get weight instead */
html.v2 a,html.v2 a:visited,html.v2 .link,html.v2 .lnk,html.v2 a *{text-decoration:none!important}
html.v2 .notice a,html.v2 p a,html.v2 .small a{font-weight:600;color:var(--ink)}
/* spacing: blocks never touch */
html.v2 .card+.btn,html.v2 .card+a.btn,html.v2 .list+.btn,html.v2 .tiles+.btn,html.v2 .metrics+.btn,html.v2 .notice+.btn,html.v2 .card+.card,html.v2 .list+.card,html.v2 .card+.list,html.v2 .tiles+.card,html.v2 .card+.tiles{margin-top:14px}
html.v2 :not(.btnrow):not(.v2-talk-row)>.btn+.btn{margin-top:10px}
html.v2 .pp-item{border-top:0;padding:10px 0 4px}
html.v2 .pp-item+.pp-item{margin-top:6px;padding-top:14px;border-top:1px solid rgba(255,255,255,.65)}
html.v2[data-theme="dark"] .pp-item+.pp-item{border-top-color:rgba(255,255,255,.08)}
/* onboarding art (Tripo renders, cut out) */
html.v2 .v2-art{display:block;width:min(74%,280px);height:auto;aspect-ratio:1/1;margin:6px auto 4px;object-fit:contain;filter:drop-shadow(0 22px 28px rgba(40,30,20,.10))}
html.v2[data-theme="dark"] .v2-art{filter:drop-shadow(0 22px 34px rgba(0,0,0,.5))}
html.v2 .intro .v2-art{width:min(82%,300px);margin:0 auto 10px}
html.v2 .li .s{display:block;-webkit-line-clamp:unset;overflow:visible}
/* side drawer: solid surface (no transparency) */
html.v2 #drawer .scrim{background:rgba(12,13,15,.32);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.v2 #drawer .panel{background:#F6F7F8;border-left:0;border-radius:28px 0 0 28px;box-shadow:-20px 0 60px rgba(17,18,20,.16);display:flex;flex-direction:column;gap:14px}
html.v2[data-theme="dark"] #drawer .panel{background:#151619;box-shadow:-20px 0 60px rgba(0,0,0,.5)}
html.v2 #drawer .topic{border-top:0;padding:0}
html.v2 #drawer .ti{background:#FFFFFF;border-radius:18px;margin-bottom:8px;padding:12px 14px;box-shadow:0 2px 10px rgba(17,18,20,.04)}
html.v2[data-theme="dark"] #drawer .ti{background:#1E1F23;box-shadow:none}
html.v2 #drawer .ti:active,html.v2 #drawer .ti:hover{background:#EEF0F2}
html.v2[data-theme="dark"] #drawer .ti:active,html.v2[data-theme="dark"] #drawer .ti:hover{background:#26282C}
html.v2 #drawer .btn.secondary{background:#111214;color:#fff;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html.v2[data-theme="dark"] #drawer .btn.secondary{background:#F4F4F5;color:#0C0D0F}
html.v2 #drawer .all{color:var(--ink);font-weight:600}
html.v2 .card+.plain-row,html.v2 .plain-row+.card,html.v2 .plain-row+.plain-row,html.v2 .tiles+.plain-row,html.v2 .plain-row+.btn,html.v2 .care+.card,html.v2 .sec+.card{margin-top:14px}
/* practices: compact tiles — whole tile is tappable, description hidden, small arrow */
html.v2 .tiles .card.pr{min-height:0;cursor:pointer;position:relative;padding:16px 16px 18px}
html.v2 .tiles .card.pr>p{display:none}
html.v2 .tiles .card.pr .t{font-size:15.5px;line-height:19px;margin-top:2px}
html.v2 .tiles .card.pr .s{font-size:12px;line-height:16px;margin-top:6px;color:var(--ink-2)}
html.v2 .tiles .card.pr::after{content:"";position:absolute;right:14px;top:16px;width:32px;height:32px;border-radius:50%;background:#111214 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/16px no-repeat}
html.v2[data-theme="dark"] .tiles .card.pr::after{background:#F4F4F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C0D0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/16px no-repeat}
html.v2 .tiles .card.pr:active{transform:scale(.98);transition:transform .15s}
/* state screens (empty / error / offline): calm, centered, one hint, one main action */
html.v2 .v2-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:9vh 6px 8px}
html.v2 .v2-st-ic{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:22px;color:var(--ink);background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow)}
html.v2 .v2-st-ic svg{width:28px;height:28px}
html.v2 .v2-state .h1{font-size:30px;line-height:34px}
html.v2 .v2-state .lead{margin-top:12px;max-width:300px}
html.v2 .v2-st-tip{margin-top:18px;max-width:300px;font-size:13.5px;line-height:19px;color:var(--ink-3)}
html.v2 .v2-state .notice,html.v2 .v2-state .card{text-align:left;width:100%;margin-top:22px}
html.v2 .v2-st-actions{margin-top:34px;display:flex;flex-direction:column;gap:4px}
html.v2 .v2-st-actions .btn.ghost{height:48px;font-weight:600;color:var(--ink-2)}
html.v2 .pt-bar .track{background:rgba(17,18,20,.08)}
html.v2[data-theme="dark"] .pt-bar .track{background:rgba(255,255,255,.1)}
html.v2 .pt-bar .track i{background:linear-gradient(90deg,#F6B26B,#E2607A 60%,#8B6CF0)}
html.v2 .chk-score{font-weight:200}
html.v2 .radar .rg{stroke:rgba(17,18,20,.07)}
html.v2 .radar .rs{stroke:rgba(17,18,20,.05)}
html.v2[data-theme="dark"] .radar .rg{stroke:rgba(255,255,255,.09)}
html.v2[data-theme="dark"] .radar .rs{stroke:rgba(255,255,255,.06)}
html.v2 .radar .rf{fill:url(#rgFill);fill-opacity:.38;stroke:url(#rgFill);stroke-width:2.2}
html.v2 .radar .rd{fill:#fff;stroke:#E2607A;stroke-width:2}
html.v2[data-theme="dark"] .radar .rd{fill:#0C0D0F}
html.v2 .radar .rl{fill:var(--ink-2);font-weight:600}
html.v2 .wl+.wl{border-top:1px solid rgba(255,255,255,.65)}
html.v2[data-theme="dark"] .wl+.wl{border-top-color:rgba(255,255,255,.08)}
html.v2 .wl input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;accent-color:#111214}
html.v2 .wl input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(90deg,#F6B26B,#E2607A,#8B6CF0)}
html.v2 .wl input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;margin-top:-10px;background:#fff;border:1px solid rgba(17,18,20,.08);box-shadow:0 4px 14px rgba(17,18,20,.18)}
html.v2 .wl input[type=range]::-moz-range-track{height:6px;border-radius:6px;background:linear-gradient(90deg,#F6B26B,#E2607A,#8B6CF0)}
html.v2 .wl input[type=range]::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#fff;border:1px solid rgba(17,18,20,.08);box-shadow:0 4px 14px rgba(17,18,20,.18)}

/* dark theme: icon circles, selected states and dark-on-dark controls */
html.v2[data-theme="dark"] .tiles .card.pr .h svg,html.v2[data-theme="dark"] .care-tile svg,html.v2[data-theme="dark"] .li>svg,html.v2[data-theme="dark"] .plain-row>svg{background:rgba(255,255,255,.1);color:#F4F4F5}
html.v2[data-theme="dark"] .li .act{background:rgba(255,255,255,.12);color:#F4F4F5}
html.v2[data-theme="dark"] .goal.on{background:#F4F4F5;color:#0C0D0F;border-color:#F4F4F5}
html.v2[data-theme="dark"] .goal.on .s{color:rgba(12,13,15,.65)}
html.v2[data-theme="dark"] .goal.on svg{color:#0C0D0F}
html.v2[data-theme="dark"] .composer button.send{background:#F4F4F5;color:#0C0D0F}
html.v2[data-theme="dark"] .vm-mic{background:linear-gradient(145deg,#FFE3C2,#EFA468);color:#2A1206}
html.v2[data-theme="dark"] .chip.lt{color:#E4E5E8}
html.v2 .say{color:var(--ink-2)}
html.v2[data-theme="dark"] .say{color:#C9CBD0}
html.v2[data-theme="dark"] .btn[disabled]{background:rgba(255,255,255,.08);color:#A6A9AF}
/* step practices: glass panel with a frosted figure (glowing zone) or slow ribbons */
html.v2 .v2-step{height:260px}
html.v2 .v2-step .v2-bnum{justify-content:flex-end;padding-bottom:16px}
html.v2 .v2-step.has-fig .v2-bnum{align-items:flex-end;justify-content:space-between;flex-direction:row;padding:16px 18px}
html.v2 .v2-step.has-fig .v2-bnum .n{font-size:56px;line-height:56px;letter-spacing:-2px}
html.v2 .v2-step:not(.has-fig) .v2-bnum{justify-content:center}
html.v2 .fig{position:absolute;left:50%;top:50%;height:88%;transform:translate(-50%,-50%);overflow:visible}
html.v2 .fig .fg1{stop-color:#FFFFFF;stop-opacity:1}
html.v2 .fig .fg2{stop-color:#DCD5EC;stop-opacity:1}
html.v2[data-theme="dark"] .fig .fg1{stop-color:#FFFFFF;stop-opacity:.22}
html.v2[data-theme="dark"] .fig .fg2{stop-color:#FFFFFF;stop-opacity:.08}
html.v2 .fig .part{fill:url(#fgb);stroke:rgba(255,255,255,.95);stroke-width:1}
html.v2 .fig .limb{fill:none;stroke:url(#fgb);stroke-width:15;stroke-linecap:round}
html.v2 .fig .limb.legs{stroke-width:18}
html.v2[data-theme="dark"] .fig .part{stroke:rgba(255,255,255,.18)}
html.v2 .fig .body{filter:drop-shadow(0 10px 22px rgba(70,50,100,.20))}
html.v2 .fig .zone{transform-origin:center;transform-box:fill-box;animation:zoneGlow 3.2s ease-in-out infinite;mix-blend-mode:normal}
@keyframes zoneGlow{0%,100%{opacity:.75}50%{opacity:1}}
html.v2 .fig.tense .zone{animation:zoneTense .5s ease-in-out infinite}
@keyframes zoneTense{0%,100%{opacity:.9;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}
html.v2 .fig.tense .upper{transform:translateY(-4px);transition:transform .6s ease}
html.v2 .fig .upper{transition:transform 1.2s ease}
html.v2 .fig.release .zone{animation:none;opacity:.25;transition:opacity 6s ease}
html.v2 .v2-cue{pointer-events:auto;height:40px;padding:0 16px;border-radius:100px;background:#111214;color:#fff;font-size:14px;font-weight:600}
html.v2[data-theme="dark"] .v2-cue{background:#F4F4F5;color:#0C0D0F}
html.v2 .step-text{font-size:24px;line-height:30px;letter-spacing:-.5px;font-weight:600}
@media (prefers-reduced-motion:reduce){html.v2 .fig .zone{animation:none}}
html.v2 .radar .rd.unk{fill:none;stroke:var(--ink-3)}
/* practice figures (Tripo renders) with glowing zones */
html.v2 .v2-step.has-fig{height:300px}
html.v2 .figwrap{position:absolute;left:50%;top:14px;bottom:10px;transform:translateX(-50%);aspect-ratio:398/1112}
html.v2 .figwrap.heart{aspect-ratio:712/823;top:24px;bottom:18px}
html.v2 .figwrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 22px rgba(60,40,80,.14))}
html.v2[data-theme="dark"] .figwrap img{filter:drop-shadow(0 14px 26px rgba(0,0,0,.5))}
html.v2 .zg{position:absolute;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(255,160,80,1),rgba(240,110,70,.7) 40%,rgba(226,96,122,0) 100%);mix-blend-mode:normal;filter:blur(5px);animation:zoneGlow 3.2s ease-in-out infinite}
html.v2 .v2-step.tense .zg{animation:zgTense .5s ease-in-out infinite;filter:blur(2px)}
@keyframes zgTense{0%,100%{opacity:.9;transform:translate(-50%,-50%) scale(.9)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.12)}}
html.v2 .v2-step.tense .figwrap img{transform:scale(1.015);transition:transform .5s ease}
html.v2 .figwrap img{transition:transform 1.2s ease}
html.v2 .v2-step.release .zg{animation:none;opacity:.2;transition:opacity 6s ease}
@media (prefers-reduced-motion:reduce){html.v2 .zg{animation:none}}
html.v2 .top .wordmark{display:inline-flex;align-items:center;gap:9px;font-weight:500;letter-spacing:.03em;font-size:24px;color:#3A2E3B}
html.v2 .top .wordmark .wm-t{background:linear-gradient(90deg,#2E2530,#6B5680);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html.v2[data-theme="dark"] .top .wordmark .wm-t{background:linear-gradient(90deg,#F6EEEA,#D9C8EC);-webkit-background-clip:text;background-clip:text}
html.v2 .wm-mark{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(200,120,80,.18))}
/* launch splash: four frosted capsules fold into the Solia mark */
#splash{position:fixed;inset:0;z-index:500;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;background:radial-gradient(120% 90% at 50% 45%,#F4EEEA 0%,#ECEDEF 60%,#E6E7EB 100%);transition:opacity .6s ease,transform .6s ease}
#splash.dk{background:radial-gradient(120% 90% at 50% 45%,#211D1C 0%,#0E0F11 60%,#0A0A0C 100%)}
#splash.out{opacity:0;transform:scale(1.04);pointer-events:none}
.sp-logo{position:relative;width:min(46vw,190px);aspect-ratio:1/1}
.sp-c{position:absolute;left:50%;top:50%;width:100%;height:32%;border-radius:999px;transform-origin:center;
  background:linear-gradient(180deg,rgba(248,222,204,.7),rgba(222,200,232,.66));border:1px solid rgba(255,255,255,.9);
  box-shadow:inset 0 0 0 1px rgba(240,170,120,.35),0 6px 18px rgba(120,80,110,.12);mix-blend-mode:multiply;
  opacity:0;transform:translate(-50%,-50%) rotate(calc(var(--a) - 120deg)) scale(.35);animation:spIn .95s cubic-bezier(.2,.9,.25,1.15) var(--d) forwards, spOut .5s ease 1.65s forwards}
#splash.dk .sp-c{mix-blend-mode:screen;background:linear-gradient(180deg,rgba(247,190,150,.55),rgba(190,150,230,.5));border-color:rgba(255,255,255,.25)}
@keyframes spIn{to{opacity:1;transform:translate(-50%,-50%) rotate(var(--a)) scale(1)}}
@keyframes spOut{to{opacity:0}}
.sp-img{position:absolute;inset:-1%;width:102%;height:102%;object-fit:contain;opacity:0;transform:scale(.96);animation:spImg .7s ease 1.35s forwards}
@keyframes spImg{to{opacity:1;transform:scale(1)}}
.sp-word{display:flex;font-family:"Onest",system-ui,sans-serif;font-weight:500;font-size:32px;letter-spacing:.04em;line-height:1}
.sp-word span{display:inline-block;color:#3A2E3B;background:linear-gradient(90deg,#2E2530,#6B5680);background-size:500% 100%;background-position:calc(var(--i) * 25%) 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  opacity:0;filter:blur(8px);transform:translateY(12px) scale(.96);animation:spLetter .8s cubic-bezier(.2,.8,.2,1) calc(1.5s + var(--i) * 85ms) forwards}
#splash.dk .sp-word span{background-image:linear-gradient(90deg,#F6EEEA,#D9C8EC)}
@keyframes spLetter{60%{filter:blur(1px)}to{opacity:1;filter:blur(0);transform:none}}
#splash.rm .sp-c{display:none}
#splash.rm .sp-img,#splash.rm .sp-word span{animation:none;opacity:1;transform:none;filter:none}
html.v2 .sk{background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.75)}
html.v2[data-theme="dark"] .sk{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.07)}
html.v2[data-theme="dark"] .sk::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent)}
html.v2 .tdots{background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.8)}
html.v2[data-theme="dark"] .tdots{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.08)}
html.v2[data-theme="dark"] .mem.err .k{color:#F09AAA}
