:root{--bar:52px;--ink:#17171B;--soft:#8C8A92;--line:#EFECE6;--wash:#FCFBF8;--fill:#F6F4EF;--peach:#F9B08C;--orange:#F78A5A;--peri:#8EA6F2;--teal:#93C4C2;
--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .5 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:#E9E9E9;font-family:"Figtree",system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;line-height:1.5}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:left}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}
h1,h2,.serif{font-family:"Instrument Serif",Georgia,serif;font-weight:400;letter-spacing:-.01em}

/* Preview bar (not part of the app) */
.bar{position:fixed;top:0;left:0;right:0;height:var(--bar);background:#fff;border-bottom:1px solid #ddd;z-index:10;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px}
.bar button{padding:6px 13px;border-radius:999px;font-size:13px;font-weight:500;border:1px solid #ddd;background:#fff;white-space:nowrap}
.bar button.on{background:#111;border-color:#111;color:#fff}
#stage{position:fixed;top:var(--bar);left:0;right:0;bottom:0;overflow:hidden}
#frame{container-type:inline-size;container-name:app;transform-origin:top left;overflow:hidden}
#app{height:100%}

/* ---------- App shell ---------- */
.shell{position:relative;height:100%;background:var(--wash);display:flex}
.side{display:none}
.main{flex:1;min-width:0;height:100%;overflow-y:auto;padding:16px 14px 110px;scrollbar-width:none}
.main::-webkit-scrollbar{display:none}

.topbar{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:22px;padding:12px 14px 12px 20px}
.topbar h1{font-size:26px}
.me{display:flex;align-items:center;gap:12px}
.me div{text-align:right;line-height:1.25}
.me b{display:block;font-weight:600;font-size:14.5px}
.me small{font-size:12.5px;color:var(--soft)}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:"Instrument Serif",serif;font-size:20px}

.grid{display:grid;gap:14px;margin-top:14px}
.colL,.colR{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start;min-width:0}
.panel{background:#fff;border-radius:24px;padding:20px}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.panel-head h2{font-size:25px;line-height:1.1}
.panel-head p{font-size:14px;color:var(--soft);margin-top:4px;max-width:38ch}
.panel-head.hero{flex-direction:column}
.hero .read{align-self:stretch;justify-content:center}
.muted{color:var(--soft);font-size:14px}
.read{flex:none;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:var(--fill);font-size:14px;font-weight:500;white-space:nowrap}
.read span{color:var(--soft);font-weight:400}
.read svg{width:16px;height:16px}

/* Summary cards */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.stat{position:relative;border-radius:20px;padding:14px 14px 16px;min-height:118px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
.stat .ic{position:absolute;top:14px;left:14px;width:34px;height:34px;border-radius:50%;display:none;place-items:center;background:#fff;color:var(--ink)}
.stat .ic svg{width:17px;height:17px}
.stat b{font-family:"Instrument Serif",serif;font-weight:400;font-size:42px;line-height:1;letter-spacing:-.02em}
.stat em{font-style:normal;font-weight:500;font-size:14.5px;margin-top:4px}
.stat small{font-size:12.5px;opacity:.6}
.s-black{background:var(--ink);color:#fff}
.s-gray{background:var(--fill)}
.s-line{background:#fff;border:1.5px solid var(--ink)}
.s-line .ic{background:var(--fill)}
.stat .ring{position:absolute;top:12px;right:12px;width:44px;height:44px;display:none}
.ring .rt{fill:none;stroke:#DCDCDC;stroke-width:4}
.ring .rv{fill:none;stroke:var(--ink);stroke-width:4;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%;transition:stroke-dashoffset .5s ease}

/* Daily five */
.rules{margin-top:8px}
.rule{display:flex;gap:16px;align-items:flex-start;width:100%;padding:16px 0;border-bottom:1px solid var(--line)}
.rule:last-child{border-bottom:0;padding-bottom:4px}
.box{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--ink);flex:none;display:grid;place-items:center;margin-top:1px;transition:background .2s}
.box svg{display:none}
.rule.on .box{background:var(--ink)} .rule.on .box svg{display:block}
.rule b{display:block;font-weight:500;font-size:16px;line-height:1.35}
.rule small{display:block;font-size:14px;color:var(--soft);margin-top:2px}
.rule.on b{color:var(--soft)}
.complete{display:none;font-family:"Instrument Serif",serif;font-style:italic;font-size:24px;text-align:center;padding-top:14px}
.is-complete .complete{display:block}

/* 30-day calendar */
.cal-head{display:flex;justify-content:space-between;align-items:baseline}
.cal-head h2{font-size:25px}
.weeks{margin-top:14px;border:1px solid var(--line);border-radius:18px;padding:12px 8px 8px}
.wk-row{display:grid;grid-template-columns:54px repeat(7,minmax(0,1fr));align-items:center}
.wk-row + .wk-row{margin-top:2px}
.wk-row .wl{font-size:12.5px;color:var(--soft);padding-left:6px}
.dcell{height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14.5px;color:#B4B4B4;position:relative}
.dcell.today{color:#fff}
.dcell.today::before{content:"";position:absolute;width:32px;height:32px;border-radius:11px;background:var(--ink);z-index:0}
.dcell span{position:relative;z-index:1}
.dcell.done{color:var(--ink)}
.dcell.done::after{content:"";position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:var(--ink)}
.dcell.today.done::after{bottom:-1px}

/* Spark */
.spark{background:var(--ink);color:#fff}
.kicker{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:500;color:rgba(255,255,255,.6);margin-bottom:8px}
.kicker svg{width:15px;height:15px;fill:currentColor}
.spark h2{font-size:27px;line-height:1.1}
.spark .why{color:rgba(255,255,255,.65);margin-top:8px;font-size:15px}
.task{margin-top:16px;padding:16px;border-radius:16px;background:rgba(255,255,255,.1);font-size:16px;font-weight:500;line-height:1.45}
.cta{display:block;width:100%;margin-top:16px;padding:15px;border-radius:999px;background:#fff;color:var(--ink);font-weight:600;text-align:center}
.cta.done{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.5)}
.foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 8px;font-size:14.5px}
.foot .rw{display:flex;align-items:center;gap:10px}
.foot svg{width:20px;height:20px;flex:none}
.foot button{color:var(--soft);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}

/* Bottom tabs (phone and upright tablet) */
.tabs{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;background:#fff;border-top:1px solid var(--line);padding:8px 10px calc(10px + env(safe-area-inset-bottom));z-index:3}
.tabs button{flex:1;max-width:130px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0 4px;font-size:12.5px;font-weight:500;color:#B0B0B0}
.tabs button.on{color:var(--ink)}
svg.i{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Upright tablet ---------- */
@container app (min-width:700px){
  .main{padding:22px 24px 120px}
  .topbar{padding:14px 16px 14px 26px}
  .panel{padding:26px}
  .panel-head.hero{flex-direction:row}
  .hero .read{align-self:flex-start}
  .stats{gap:14px}
  .stat{min-height:184px;padding:18px}
  .stat .ic{top:18px;left:18px;display:grid}
  .stat .ring{display:block;top:16px;right:16px}
  .stat b{font-size:56px}
  .colR{grid-template-columns:1fr 1fr}
  .colR .foot{grid-column:1 / -1}
}

/* ---------- Desktop and sideways tablet: sidebar + main + right rail ---------- */
@container app (min-width:1000px){
  .tabs{display:none}
  .side{display:flex;flex-direction:column;flex:none;width:226px;height:100%;background:#fff;padding:26px 16px 22px}
  .logo{display:flex;align-items:center;gap:10px;font-family:"Instrument Serif",serif;font-size:26px;padding:0 10px 26px}
  .logo i{width:22px;height:22px;border-radius:7px;background:var(--ink);display:block}
  .side nav{display:grid;gap:4px}
  .side button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border-radius:14px;font-size:15px;font-weight:500;color:var(--soft)}
  .side button.on{background:var(--ink);color:#fff}
  .side-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:12px;display:grid;gap:2px}
  .main{padding:22px 24px 40px}
  .grid{grid-template-columns:minmax(0,1fr) 350px;gap:18px;margin-top:18px}
  .colL,.colR{gap:18px}
  .colR{grid-template-columns:1fr}
  .topbar h1{font-size:28px}
}
@container app (min-width:1300px){
  .side{width:250px}
  .main{padding:26px 34px 48px}
  .grid{grid-template-columns:minmax(0,1fr) 400px}
  .stat{min-height:192px}
}
/* ---------- Soft bloom: a little blurred color on a mostly white app ---------- */
.shell{background:
  radial-gradient(520px 420px at 96% 4%, rgba(249,176,140,.30), transparent 70%),
  radial-gradient(560px 460px at 2% 100%, rgba(142,166,242,.26), transparent 70%),
  var(--wash)}
.panel,.topbar{box-shadow:0 1px 0 rgba(23,23,27,.03)}
.bloom{position:relative;overflow:hidden;background:linear-gradient(115deg,#FDE7DA 0%,#F7E9EC 48%,#E6EAFD 100%)}
.bloom::after{content:"";position:absolute;inset:0;background-image:var(--grain);opacity:.16;mix-blend-mode:multiply;pointer-events:none;z-index:0}
.bl{display:none}
.bloom > b,.bloom > em,.bloom > small,.bloom > h2,.bloom > p,.bloom > div,.bloom > button{position:relative;z-index:1}
.bloom > .ic{z-index:1}

.avatar{background:radial-gradient(circle at 30% 25%,#F9B08C,#F3C6D6 45%,#8EA6F2 100%);color:var(--ink)}

.s-day{color:var(--ink)}
.s-day .b1{width:130px;height:120px;right:-26px;top:-30px;background:radial-gradient(circle at 42% 42%,#F78A5A,#F9B08C 58%,rgba(249,176,140,0) 74%);opacity:.9}
.s-day .b2{width:120px;height:130px;left:-36px;bottom:-52px;background:#8EA6F2;opacity:.5}
.s-day .ic{background:rgba(255,255,255,.85)}
.s-gray{background:var(--fill)}
.s-line{border:1.5px solid #E9E5DC}
.ring .rt{stroke:#E6E2DA}
.ring .rv{stroke:url(#rg)}

.dcell.today{color:var(--ink);font-weight:600}
.dcell.today::before{border-radius:50%;width:34px;height:34px;background:radial-gradient(circle at 35% 30%,#FBC4A6,#F9D9CB 60%,#DDE3FB 100%)}

.spark{background:linear-gradient(135deg,#FDE7DA 0%,#F7E9EC 50%,#E6EAFD 100%);color:var(--ink)}
.spark .b1{width:230px;height:200px;right:-60px;top:-70px;background:radial-gradient(circle at 45% 45%,#F78A5A,#F9B08C 55%,rgba(249,176,140,0) 73%);opacity:.85}
.spark .b2{width:64px;height:260px;right:84px;top:96px;border-radius:40px;background:#8EA6F2;opacity:.34;filter:blur(28px)}
.spark .b3{width:220px;height:130px;left:-70px;bottom:-60px;background:#93C4C2;opacity:.42;transform:rotate(-18deg);filter:blur(30px)}
.spark .kicker{color:#D9693A}
.spark .why{color:#6F6D76}
.task{background:rgba(255,255,255,.72);border:1px solid rgba(23,23,27,.06)}
.cta{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.cta.done{background:rgba(255,255,255,.55);color:var(--ink);border:1.5px solid rgba(23,23,27,.25)}

.tabs button.on{color:var(--ink)}
.shell .side button.on{background:linear-gradient(100deg,#FDE7DA,#E6EAFD);color:var(--ink)}
.shell .logo i{border-radius:50%;background:radial-gradient(circle at 32% 28%,#F78A5A,#F9B08C 45%,#8EA6F2 100%);filter:blur(.6px)}

/* All three summary cards share the soft tan */
.stat.s-day,.stat.s-gray,.stat.s-line{background:var(--fill);border:0}
.stat.s-day::after{display:none}
.stat .ic,.s-line .ic,.s-day .ic{background:#fff}

/* Middle card carries the soft gradient */
.stat.s-gray{background:linear-gradient(115deg,#FDE7DA 0%,#F7E9EC 48%,#E6EAFD 100%)}
.stat.s-gray .ring .rt{stroke:rgba(255,255,255,.75)}

/* Vision feed: a row of calm photos between the top bar and the greeting */
.feed{display:flex;gap:10px;margin-top:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:20px}
.feed::-webkit-scrollbar{display:none}
.feed figure{flex:0 0 44%;height:176px;margin:0;border-radius:20px;overflow:hidden;scroll-snap-align:start;background:var(--fill)}
.feed img{width:100%;height:100%;object-fit:cover;display:block}
@container app (min-width:700px){
  .feed{overflow:visible;gap:14px}
  .feed figure{flex:1 1 0;height:190px;border-radius:22px}
}
@container app (min-width:1000px){
  .feed{gap:18px;margin-top:18px}
  .feed figure{height:210px;border-radius:24px}
}
@container app (min-width:1300px){ .feed figure{height:230px} }

/* Desktop: cap the content width and center it, so it never runs to the edge of a wide monitor */
@container app (min-width:1000px){
  .topbar,.feed,.grid,.bannerwrap{max-width:1120px;margin-inline:auto}
}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ================= Working app additions ================= */
:root{--bar:0px}
.bar{display:none}
#stage{top:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:999px;background:var(--ink);color:#fff;font-weight:600;font-size:15px;text-align:center}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.btn.soft{background:var(--fill);color:var(--ink)}
.btn.wide{width:100%}
.btn[disabled]{opacity:.35;cursor:default}
.link{color:var(--soft);text-decoration:underline;text-underline-offset:4px;font-size:14.5px}
.field{width:100%;padding:14px 18px;border-radius:16px;border:1.5px solid #E7E3DA;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.field:focus{outline:none;border-color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:9px 15px;border-radius:999px;background:var(--fill);font-size:14.5px;font-weight:500;border:1.5px solid transparent}
.chip.on{background:#fff;border-color:var(--ink)}
.wash{background:linear-gradient(115deg,#FDE7DA 0%,#F7E9EC 48%,#E6EAFD 100%)}
.note-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-radius:20px;padding:14px 18px;font-size:15px}
.feed{margin-bottom:0}
.page{display:grid;gap:14px;margin-top:14px}
.page h2{font-size:25px;line-height:1.1}
.sub{color:var(--soft);font-size:14.5px;margin-top:4px}
button.stat{text-align:left}
.dcell{cursor:pointer;border:0;background:none;font:inherit}
.dcell.missed{color:#CFCBC3}
.dcell.done{color:var(--ink)}
.rule[disabled]{opacity:.5;cursor:default}
.read.is-read{background:#fff;border:1.5px solid #E7E3DA}

/* Onboarding */
.ob{flex:1;width:100%;height:100%;overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:24px 18px}
.ob-card{width:100%;max-width:520px;background:#fff;border-radius:28px;padding:28px 24px 24px;display:flex;flex-direction:column;gap:20px;min-height:min(560px,88%)}
.ob-top{display:flex;align-items:center;gap:14px;min-height:24px}
.ob-bar{flex:1;height:4px;border-radius:4px;background:var(--fill);overflow:hidden}
.ob-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#F78A5A,#8EA6F2);transition:width .4s ease}
.ob-body{flex:1;display:flex;flex-direction:column;justify-content:center;gap:18px}
.ob-body h1{font-size:34px;line-height:1.1}
.ob-body p{color:var(--soft);font-size:16px;max-width:40ch}
.ob-mark{font-family:"Instrument Serif",serif;font-style:italic;font-size:110px;line-height:.9;background:linear-gradient(115deg,#F78A5A,#8EA6F2);-webkit-background-clip:text;background-clip:text;color:transparent}
.opt{display:block;width:100%;padding:15px 18px;border-radius:18px;background:var(--fill);border:1.5px solid transparent;font-size:16px;font-weight:500;margin-bottom:10px}
.opt small{display:block;font-weight:400;color:var(--soft);font-size:14px;margin-top:2px}
.opt.on{background:#fff;border-color:var(--ink)}
.hours{display:flex;align-items:center;justify-content:center;gap:24px}
.hours .num{font-family:"Instrument Serif",serif;font-size:88px;line-height:1;min-width:2.3ch;text-align:center}
.step{width:48px;height:48px;border-radius:50%;background:var(--fill);font-size:24px;display:grid;place-items:center;text-align:center}

/* Plan */
.week h2 em{font-style:italic;color:var(--soft)}
.rows{margin-top:12px}
.row{display:flex;align-items:center;gap:14px;width:100%;padding:13px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
.row .d{font-family:"Instrument Serif",serif;font-size:21px;width:28px;color:var(--soft)}
.row .t{flex:1;font-size:15.5px;font-weight:500}
.row.future .t{color:var(--soft);font-weight:400}
.row .sp{color:#D9693A;font-size:13px;margin-left:7px}
.mark{width:22px;height:22px;border-radius:50%;border:1.5px solid #D9D5CC;display:grid;place-items:center;flex:none}
.mark.done{background:var(--ink);border-color:var(--ink)}
.mark.today{border-color:var(--ink);box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 11px var(--ink)}

/* Tools */
.check{display:flex;gap:12px;align-items:flex-start;width:100%;padding:11px 0;font-size:15.5px}
.check .cb{width:22px;height:22px;border-radius:7px;border:1.5px solid var(--ink);flex:none;margin-top:1px;display:grid;place-items:center}
.check .cb svg{display:none}
.check.on .cb{background:var(--ink)} .check.on .cb svg{display:block}
.check.on .lbl{color:var(--soft);text-decoration:line-through}
.menu-col{margin-top:16px}
.menu-col h4{font-size:14.5px;font-weight:600;margin-bottom:8px}
.add{display:flex;gap:8px;margin-top:16px}
.add .field{padding:11px 14px;font-size:15px}
.add select{border-radius:14px;border:1.5px solid #E7E3DA;background:#fff;padding:0 10px;font:inherit;color:var(--ink)}
ol.steps{list-style:none;counter-reset:s;margin-top:8px}
ol.steps li{counter-increment:s;display:flex;gap:14px;padding:9px 0;font-size:15.5px}
ol.steps li::before{content:counter(s);font-family:"Instrument Serif",serif;font-size:22px;line-height:1.1;color:#D9693A;width:18px;flex:none}
.small-note{font-size:14px;color:var(--soft);padding:4px 8px}

/* You */
.pair{display:flex;gap:30px;margin-top:14px;flex-wrap:wrap}
.pair b{display:block;font-family:"Instrument Serif",serif;font-weight:400;font-size:48px;line-height:1}
.pair span{font-size:13.5px;color:var(--soft)}
.seg{display:flex;background:var(--fill);border-radius:999px;padding:4px;margin-top:14px}
.seg button{flex:1;padding:10px 0;border-radius:999px;font-weight:500;font-size:15px;text-align:center}
.seg button.on{background:#fff;box-shadow:0 1px 4px rgba(23,23,27,.1)}
.inline{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.inline .step{width:40px;height:40px;font-size:20px}
.inline .val{font-family:"Instrument Serif",serif;font-size:28px;min-width:3.4ch;text-align:center}
.switch{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%}
.switch .track{width:50px;height:30px;border-radius:999px;background:#DAD6CD;position:relative;flex:none;transition:background .2s}
.switch .track::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}
.switch.on .track{background:linear-gradient(115deg,#F9B08C,#8EA6F2)}
.switch.on .track::after{transform:translateX(20px)}
.testing{border:1.5px dashed #D9D5CC;background:transparent}

/* Sheets and toast */
.scrim{position:absolute;inset:0;background:rgba(23,23,27,.28);display:flex;align-items:flex-end;justify-content:center;z-index:20;animation:fade .2s ease}
.sheet{width:100%;max-width:560px;max-height:88%;overflow-y:auto;background:#fff;border-radius:28px 28px 0 0;padding:26px 24px calc(26px + env(safe-area-inset-bottom));animation:rise .26s ease}
.sheet h2{font-size:30px;line-height:1.1}
.sheet p{margin-top:12px;font-size:16.5px;line-height:1.6}
.sheet .meta{font-size:14px;color:var(--soft);margin:0 0 6px}
.sheet .task{background:var(--fill);border:0;margin-top:16px}
.sheet .actions{display:grid;gap:10px;margin-top:22px}
.finish{text-align:center}
.finish .pair{justify-content:center}
.toast{position:absolute;left:50%;bottom:96px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 18px;border-radius:999px;font-size:14px;white-space:nowrap;z-index:30}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes rise{from{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}
@container app (min-width:700px){
  .scrim{align-items:center;padding:24px}
  .sheet{border-radius:28px;padding:32px}
  .page{gap:18px}
  .cols2{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
  .ob-card{padding:36px 36px 30px}
}
@container app (min-width:1000px){
  .page{max-width:1120px;margin-inline:auto;margin-top:18px}
  .toast{bottom:32px}
}

/* Day card as a progress bar */
.daybar{position:relative;height:9px;border-radius:9px;background:#fff;margin:10px 0 6px;overflow:hidden}
.daybar i{position:absolute;inset:0 auto 0 0;border-radius:9px;background:linear-gradient(90deg,#F78A5A,#F3B7C4 55%,#8EA6F2);transition:width .8s ease;min-width:9px}
.daybar u{position:absolute;top:0;bottom:0;width:2px;background:var(--fill);text-decoration:none}
.stat.s-day b{display:flex;align-items:baseline;gap:6px}
.stat.s-day b span{font-family:"Figtree",sans-serif;font-size:14px;color:var(--soft);letter-spacing:0}

/* Finished-day state on the checklist */
.is-complete .complete{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;padding:14px;border-radius:18px;background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD)}
.complete .tick{width:24px;height:24px;border-radius:50%;background:var(--ink);display:grid;place-items:center;flex:none}

/* The moment she checks the fifth box */
.celebrate{text-align:center;padding-top:6px}
.halo{position:relative;width:170px;height:150px;margin:0 auto 6px}
.halo span{position:absolute;border-radius:50%;filter:blur(18px);opacity:0;animation:bloom 1.4s cubic-bezier(.2,.8,.2,1) forwards, breathe 5s ease-in-out 1.4s infinite}
.halo span:nth-child(1){width:110px;height:110px;left:4px;top:8px;background:#F9A37C;animation-delay:.05s,1.45s}
.halo span:nth-child(2){width:100px;height:100px;right:2px;top:26px;background:#8EA6F2;animation-delay:.2s,1.6s}
.halo span:nth-child(3){width:84px;height:84px;left:44px;bottom:0;background:#F3B7C4;animation-delay:.35s,1.75s}
.halo .disc{position:absolute;left:50%;top:50%;width:66px;height:66px;margin:-33px 0 0 -33px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 6px 24px rgba(23,23,27,.08);transform:scale(.4);opacity:0;animation:pop .6s cubic-bezier(.2,1.2,.3,1) .45s forwards}
.halo .disc path{stroke-dasharray:30;stroke-dashoffset:30;animation:draw .5s ease .85s forwards}
.celebrate h2{font-size:34px}
.celebrate .streakline{font-family:"Instrument Serif",serif;font-style:italic;font-size:22px;color:#D9693A;margin-top:6px}
.celebrate .pair{justify-content:center;margin-top:20px}
.celebrate .pair b{font-size:42px}
.week-dots{display:flex;justify-content:center;gap:7px;margin-top:20px}
.week-dots i{width:11px;height:11px;border-radius:50%;background:var(--fill)}
.week-dots i.on{background:linear-gradient(135deg,#F78A5A,#8EA6F2)}
.week-dots i.now{animation:pop .5s cubic-bezier(.2,1.4,.3,1) 1s backwards}
@keyframes bloom{from{opacity:0;transform:scale(.3)}to{opacity:.85;transform:scale(1)}}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes pop{to{transform:scale(1);opacity:1}}
@keyframes draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.halo span{opacity:.85}.halo .disc{opacity:1;transform:none}.halo .disc path{stroke-dashoffset:0}}

/* Little fireworks when a spark is marked done */
.fw{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;z-index:25}
.fw i{position:absolute;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;opacity:0;animation:fwp .95s cubic-bezier(.12,.75,.25,1) forwards;animation-delay:var(--dl)}
.fw i.star{width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:0;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
@keyframes fwp{0%{opacity:1;transform:translate(0,0) scale(.6)}15%{opacity:1;transform:translate(calc(var(--dx)*.35),calc(var(--dy)*.35)) scale(1.1)}75%{opacity:1}100%{opacity:0;transform:translate(var(--dx),calc(var(--dy) + 16px)) scale(.25)}}

/* Spark: a clear finished state */
.stamp{position:absolute;top:18px;right:18px;width:48px;height:48px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(23,23,27,.10);z-index:2}
.stamp.just{animation:stampIn .55s cubic-bezier(.2,1.4,.3,1) both}
.stamp.just path{stroke-dasharray:30;stroke-dashoffset:30;animation:draw .45s ease .3s forwards}
.spark.is-done .kicker{color:var(--ink);padding-right:60px}
.spark.is-done h2{padding-right:60px;color:#55535B}
.spark.is-done .why,.spark.is-done .task{opacity:.5}
.spark.is-done .task{text-decoration:line-through;text-decoration-color:rgba(23,23,27,.35)}
.done-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:12px 18px 12px 12px;border-radius:999px;background:rgba(255,255,255,.78);font-weight:600;font-size:15px}
.done-row span{display:flex;align-items:center;gap:10px}
.tick{width:26px;height:26px;border-radius:50%;background:var(--ink);display:grid;place-items:center;flex:none}
.read .tick{width:20px;height:20px}
.read .tick svg{width:10px;height:10px}
@keyframes stampIn{from{transform:scale(.3) rotate(-25deg);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.stamp.just path{stroke-dashoffset:0}}

/* Resets library: every card is the same simple format */
.resets{display:grid;grid-template-columns:1fr;gap:14px}
.rcard{display:flex;flex-direction:column;width:100%;background:#fff;border-radius:24px;overflow:hidden;text-align:left}
.rcard .ph{height:120px;background:var(--fill) center/cover no-repeat}
.rcard .ph.wash{background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD)}
.rcard .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px}
.rcard h3{font-family:"Instrument Serif",serif;font-weight:400;font-size:23px;line-height:1.1}
.rcard .when{font-size:14.5px;color:var(--soft)}
.rcard .mins{align-self:flex-start;margin-top:6px;padding:5px 12px;border-radius:999px;background:var(--fill);font-size:13px;font-weight:500}
@container app (min-width:600px){ .resets{grid-template-columns:1fr 1fr} }
@container app (min-width:1000px){ .resets{grid-template-columns:repeat(3,1fr);gap:18px} .rcard .ph{height:140px} }

/* Progress tab */
.hero-p .top-line{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.hero-p h2{font-size:40px;line-height:1}
.hero-p h2 span{color:var(--soft);font-size:26px}
.hero-p .pct{font-family:"Instrument Serif",serif;font-size:64px;line-height:.9;background:linear-gradient(115deg,#F78A5A,#8EA6F2);-webkit-background-clip:text;background-clip:text;color:transparent}
.bigbar{position:relative;height:16px;border-radius:16px;background:var(--fill);margin:20px 0 26px}
.bigbar i{position:absolute;inset:0 auto 0 0;border-radius:16px;background:linear-gradient(90deg,#F78A5A,#F3B7C4 55%,#8EA6F2);transition:width .8s ease;min-width:16px}
.bigbar u{position:absolute;top:100%;margin-top:6px;transform:translateX(-50%);font-size:12px;color:var(--soft);text-decoration:none;white-space:nowrap}
.bigbar u::before{content:"";position:absolute;left:50%;bottom:100%;margin-bottom:6px;width:2px;height:16px;background:#fff;transform:translateX(-50%)}
.bigbar u.hit{color:var(--ink);font-weight:600}
.hero-p .line{font-size:16px;margin-top:4px}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}
.trio div{background:var(--fill);border-radius:18px;padding:14px 16px}
.trio b{display:block;font-family:"Instrument Serif",serif;font-weight:400;font-size:34px;line-height:1}
.trio b small{font-family:"Figtree",sans-serif;font-size:14px;color:var(--soft)}
.trio span{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--soft);margin-top:6px}
.trio svg.i{width:16px;height:16px}
.trio .sp svg{width:14px;height:14px;fill:#D9693A}
.jgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:16px}
.jc{position:relative;aspect-ratio:1;max-height:64px;width:100%;border-radius:50%;display:grid;place-items:center;font-size:15px;color:#B9B5AD;background:var(--fill);border:0;font-family:inherit;justify-self:center;max-width:64px}
.jc.done{background:linear-gradient(135deg,#FBD3BF,#F3D5DF 50%,#D5DDFB);color:var(--ink)}
.jc.done svg{width:18px;height:18px}
.jc.today{background:#fff;color:var(--ink);font-weight:600;box-shadow:inset 0 0 0 2px var(--ink)}
.jc.today.done{background:linear-gradient(135deg,#FBD3BF,#F3D5DF 50%,#D5DDFB)}
.jc.missed{background:#fff;box-shadow:inset 0 0 0 1.5px #E7E3DA;color:#B9B5AD}
.jc.future{cursor:default}
.jc .ms{position:absolute;top:-3px;right:-3px;width:18px;height:18px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 1px 4px rgba(23,23,27,.12)}
.jc .ms svg{width:10px;height:10px;fill:#D9693A}
.res{padding:16px 0;border-bottom:1px solid var(--line)}
.res:last-child{border-bottom:0;padding-bottom:0}
.res-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.res-top b{font-weight:600;font-size:15.5px}
.res-top span{font-size:14.5px;color:var(--soft);white-space:nowrap}
.res-top span strong{color:var(--ink);font-weight:600}
.bars{display:grid;gap:5px;margin-top:10px}
.bars i{display:block;height:7px;border-radius:7px;background:#E4E0D8;transition:width .6s ease}
.bars i.now{background:linear-gradient(90deg,#F78A5A,#8EA6F2)}
.delta{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:999px;background:var(--fill);font-size:12.5px;font-weight:600;color:var(--ink)}
.st-row{display:flex;gap:26px;align-items:flex-end;flex-wrap:wrap;margin-top:14px}
.st-row b{display:block;font-family:"Instrument Serif",serif;font-weight:400;font-size:44px;line-height:1}
.st-row span{font-size:13.5px;color:var(--soft)}
.st-row .arrow{font-size:15px;font-weight:600;padding:6px 12px;border-radius:999px;background:linear-gradient(115deg,#FDE7DA,#E6EAFD);color:var(--ink);margin-bottom:6px}
.q{margin-top:18px}
.q label{display:flex;justify-content:space-between;gap:12px;font-size:15.5px;font-weight:500}
.q label output{font-family:"Instrument Serif",serif;font-size:24px;line-height:1}
.q input[type=range]{width:100%;margin-top:10px;accent-color:#17171B}
.q .ends{display:flex;justify-content:space-between;font-size:12.5px;color:var(--soft)}
.daystat{display:grid;gap:10px;margin-top:16px}
.daystat div{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:16px;background:var(--fill);font-size:15.5px;font-weight:500}
.daystat svg.i{width:18px;height:18px}
.daystat .sp svg{width:16px;height:16px;fill:#D9693A}

/* Progress: keep everything inside the screen on phones */
.page{grid-template-columns:minmax(0,1fr)}
.page > *,.cols2 > *,.cols2 > * > *{min-width:0}
.bigbar u:last-of-type{transform:translateX(-100%)}
.bigbar u:last-of-type::before{display:none}
.res-top{flex-wrap:wrap}
.hero-p h2{font-size:32px}.hero-p h2 span{font-size:21px}.hero-p .pct{font-size:48px}
.trio{gap:8px}.trio div{padding:12px}.trio b{font-size:28px}.trio span{font-size:12.5px;line-height:1.25}
.jgrid{gap:8px}
@container app (min-width:700px){
  .hero-p h2{font-size:40px}.hero-p h2 span{font-size:26px}.hero-p .pct{font-size:64px}
  .trio{gap:10px}.trio div{padding:14px 16px}.trio b{font-size:34px}.trio span{font-size:13.5px}
  .jgrid{gap:10px}
}

/* Today calendar uses the same marks as the Progress grid */
.dcell{height:42px}
.dcell::before,.dcell::after{display:none!important}
.dcell > span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--fill);color:#B9B5AD;font-size:13.5px;font-weight:400}
.dcell.done > span{background:linear-gradient(135deg,#FBD3BF,#F3D5DF 50%,#D5DDFB);color:var(--ink)}
.dcell.done > span > svg{width:14px;height:14px}
.dcell.today > span{background:#fff;color:var(--ink);font-weight:600;box-shadow:inset 0 0 0 2px var(--ink)}
.dcell.today.done > span{background:linear-gradient(135deg,#FBD3BF,#F3D5DF 50%,#D5DDFB)}
.dcell.missed > span{background:#fff;box-shadow:inset 0 0 0 1.5px #E7E3DA}
.dcell .ms{position:absolute;top:-3px;right:-4px;width:13px;height:13px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 1px 3px rgba(23,23,27,.14);z-index:2}
.dcell .ms svg{width:7px;height:7px;fill:#D9693A}

/* Today calendar without week labels */
.wk-row{grid-template-columns:repeat(7,minmax(0,1fr))}
.weeks{padding:10px 8px}

/* Spark finished: one quiet label, the stamp carries the checkmark */
.done-row{justify-content:center;padding:14px 18px;font-weight:500;color:#55535B;background:rgba(255,255,255,.6)}

/* Core 4 + two more */
.pick-count{font-size:14.5px;color:var(--soft);margin-bottom:4px}
.pick-count b{color:var(--ink)}
.pick-cat{margin-top:16px}
.pick-cat h4{font-size:13.5px;font-weight:600;color:var(--soft);margin-bottom:8px}
.opt.pick{display:flex;align-items:center;gap:12px;padding:12px 14px;font-size:15px;margin-bottom:8px}
.opt.pick[disabled]{opacity:.4;cursor:default}
.pbox{width:22px;height:22px;border-radius:50%;border:1.5px solid #CFCBC3;flex:none;display:grid;place-items:center}
.opt.pick.on .pbox{background:var(--ink);border-color:var(--ink)}
.ob-card{max-height:96%}
.ob-body{justify-content:flex-start;overflow-y:auto;scrollbar-width:none}
.ob-body::-webkit-scrollbar{display:none}
ol.mine{list-style:none;margin-top:12px;display:grid;gap:8px}
ol.mine li{padding:12px 14px;border-radius:14px;background:var(--fill);font-size:15px}

/* Sheets animate only when they open, so taps inside them don't make them flash */
.scrim,.sheet{animation:none}
.scrim.enter{animation:fade .2s ease}
.scrim.enter .sheet{animation:rise .26s ease}

/* Checklist rows: headline only, with a small "i" that opens the explainer */
.rule{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;padding:6px 0}
.rcheck{flex:1;min-width:0;display:flex;align-items:center;gap:16px;padding:12px 0;text-align:left}
.rcheck b{font-weight:500;font-size:16px;line-height:1.35}
.rcheck[disabled]{opacity:.5;cursor:default}
.rule.on .rcheck b{color:var(--soft)}
.rule .box{margin-top:0}
.info{flex:none;width:28px;height:28px;border-radius:50%;background:var(--fill);color:var(--soft);font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:17px;line-height:1;display:grid;place-items:center;text-align:center;transition:background .2s,color .2s}
.info.open{background:var(--ink);color:#fff}
.explain{flex:0 0 calc(100% - 44px);max-width:calc(100% - 44px);margin:2px 0 12px 44px;padding:14px 16px;border-radius:16px;background:var(--fill);font-size:14.5px;line-height:1.55;color:#55535B}

/* A thin arrow in place of the "i" */
.chev{flex:none;width:32px;height:32px;display:grid;place-items:center;color:#B9B5AD;border-radius:50%}
.chev svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.chev.open{color:var(--ink)}
.chev.open svg{transform:rotate(180deg)}
.firstday{font-size:14px;color:var(--soft);margin:8px 0 4px;line-height:1.5}
.firstday .link{font-size:14px}

/* Phone: the spark comes before the calendar. Tablet and desktop keep their layout. */
.colR .spark{order:-1}
@container app (min-width:700px){ .colR .spark{order:0} }

/* Reward row on Progress */
ol.mine li.rw-li{display:flex;align-items:center;gap:14px;padding:16px}
.rw-li svg.i{width:22px;height:22px;flex:none}
.rw-li b{display:block;font-weight:600;font-size:16px}
.rw-li small{display:block;font-size:13.5px;color:var(--soft);margin-top:2px}

/* "A few more": same rows as the core 4, set apart a little in a soft block of their own */
.fewmore{margin-top:20px;padding:18px 18px 6px;border-radius:20px;background:linear-gradient(115deg,rgba(253,231,218,.5),rgba(247,233,236,.45) 48%,rgba(230,234,253,.5))}
.fm-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:2px}
.fm-head h3{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-style:italic;font-size:23px;line-height:1.1}
.fm-head p{font-size:13.5px;color:#7A7680;margin-top:3px}
.fm-head .link{font-size:13.5px;padding:2px 0}
.fewmore .rule{border-bottom-color:rgba(23,23,27,.07)}
.fewmore .explain{background:rgba(255,255,255,.7)}
.is-complete .complete{margin-top:14px}

/* "Day X complete" gets its own soft yellow-to-green, so it reads as done and stands apart from the peach and blue */
.is-complete .complete{background:linear-gradient(115deg,#FBF4D0 0%,#E6F3D3 50%,#CFECD9 100%)}
.complete .tick{background:#2F7D5B}

/* "A few more", toned down: no box, rows line up with the core 4, only the heading sets it apart */
.fewmore{margin-top:22px;padding:20px 0 0;border-radius:0;background:none;border-top:1px solid var(--line)}
.fewmore .explain{background:var(--fill)}
.fewmore .rule{border-bottom-color:var(--line)}

/* Done = green. Anything finished moves to the soft yellow-to-green family. */
:root{--done:linear-gradient(115deg,#FBF4D0 0%,#E6F3D3 50%,#CFECD9 100%);--done-sm:linear-gradient(135deg,#EDF3C8 0%,#D6EDCF 50%,#C3E7D4 100%);--done-ink:#2F7D5B}
.dcell.done > span,.dcell.today.done > span,.jc.done,.jc.today.done{background:var(--done-sm)}
.spark.is-done{background:var(--done)}
.spark.is-done .kicker{color:var(--done-ink)}
.stat.s-gray.all-done{background:var(--done)}
.stat.s-gray.all-done .ring .rv{stroke:var(--done-ink)}
.week-dots i.on{background:linear-gradient(135deg,#DDEBB0,#9ED8B8)}
.halo span:nth-child(1){background:#F1E3A0}
.halo span:nth-child(2){background:#9ED8B8}
.halo span:nth-child(3){background:#CFE6A8}
.celebrate .streakline{color:var(--done-ink)}
.read .tick{background:var(--done-ink)}
.read.is-read{background:var(--done);border-color:transparent}

/* Today's lesson: peach-to-blue until it's done, then green */
.read{background:linear-gradient(115deg,#FDE7DA 0%,#F3E4F0 50%,#E0E5FD 100%)}
.read.is-read{background:var(--done);border-color:transparent}

/* Resets: start, check off, complete */
ol.steps.preview{opacity:.55}
.tagrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}
.rcard .mins{margin-top:0;display:inline-flex;align-items:center;gap:7px}
.rcard .mins.is-done{background:var(--done);color:var(--ink);padding-left:6px}
.rcard .mins.is-done .tick{width:18px;height:18px;background:var(--done-ink)}
.rcard .mins.is-done .tick svg{width:9px;height:9px}
.rcard .mins.is-going{background:linear-gradient(115deg,#FDE7DA,#E6EAFD)}
.rcard .times{font-size:13px;color:var(--soft)}
.sheet .rule{border-bottom:1px solid var(--line)}
.sheet .rule:last-child{border-bottom:0}
.sheet span.rcheck{cursor:default}
.sheet .note-bar{font-size:15px}
.sheet .complete{margin-top:14px;align-items:center;justify-content:center;gap:10px;padding:14px;border-radius:18px;background:var(--done);font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:22px}
.trio{grid-template-columns:repeat(2,minmax(0,1fr))}
@container app (min-width:700px){ .trio{grid-template-columns:repeat(4,minmax(0,1fr))} }

/* You page: two labeled columns, testing tools across the bottom */
.ycol{display:grid;gap:inherit;align-content:start}
.col-label{font-size:13.5px;font-weight:600;color:var(--soft);padding:2px 8px 0;margin-bottom:-4px}

/* Stacked panels keep their spacing on phones too */
.cols2{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
@container app (min-width:700px){ .cols2{grid-template-columns:1fr 1fr;gap:18px} }
.col-label{margin-bottom:-6px}

/* =================== V2 DESIGN LAYER: matches the onboarding funnel =================== */
:root{--card-shadow:0 16px 44px rgba(74,40,60,.08);--grad:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD)}
/* page header: no card, big serif title */
.topbar{background:transparent!important;box-shadow:none!important;padding:6px 4px 2px!important}
.topbar h1{font-size:36px!important;letter-spacing:-.01em;line-height:1}
.me small{color:#7A7680}
.avatar{width:42px;height:42px;box-shadow:0 6px 16px rgba(74,40,60,.14)}
/* cards: white, soft lift, no hard edges */
.panel{border-radius:26px!important;box-shadow:var(--card-shadow);border:0!important}
.panel-head h2{font-size:27px!important;letter-spacing:-.005em}
.muted{color:#8C8A92}
/* today's photo strip */
.feed figure{border-radius:22px!important;box-shadow:none!important}
/* stat tiles: quieter, white with a hairline, gradient only for the live one */
.stat.s-day,.stat.s-line{background:#fff!important;box-shadow:inset 0 0 0 1px rgba(23,23,27,.07)}
.stat.s-gray{box-shadow:none}
.stat b{letter-spacing:-.01em}
.trio div{background:#fff!important;box-shadow:inset 0 0 0 1px rgba(23,23,27,.07)}
/* buttons: the funnel's dark sheen button */
.btn{border-radius:18px!important;background:linear-gradient(180deg,#2C2C30 0%,#161618 55%,#0F0F11 100%);box-shadow:0 8px 20px rgba(23,23,27,.16),inset 0 1px 0 rgba(255,255,255,.10);font-weight:700;letter-spacing:-.005em}
.btn:active{transform:scale(.985)}
.btn.ghost{background:#fff!important;color:var(--ink)!important;border:0!important;box-shadow:0 6px 16px rgba(74,40,60,.10),inset 0 0 0 1.5px rgba(23,23,27,.12)!important}
.btn.soft{background:#fff!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1.5px rgba(23,23,27,.12)!important;font-weight:600}
.cta{border-radius:18px!important;border:0!important;background:linear-gradient(180deg,#2C2C30 0%,#161618 55%,#0F0F11 100%)!important;color:#fff!important;font-weight:700;box-shadow:0 8px 20px rgba(23,23,27,.16)}
.cta.done{background:rgba(255,255,255,.7)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1.5px rgba(23,23,27,.15)!important}
/* check-in banner */
.note-bar{border-radius:22px!important;padding:16px 18px!important;box-shadow:var(--card-shadow)}
.note-bar .btn.ghost{padding:11px 20px}
/* lesson pill */
.read{border-radius:14px!important}
/* checklist rows */
.rule{border-bottom-color:rgba(23,23,27,.07)!important}
.rule b{font-size:15.5px!important}
/* spark card */
.spark{border-radius:26px!important}
.spark h2{font-size:28px!important}
/* segmented controls: tray + solid selected, like the funnel's phone-time picker */
.seg{background:rgba(23,23,27,.06)!important;border-radius:16px!important;padding:4px!important}
.seg button{border-radius:12px!important;font-weight:600!important}
.seg button.on{background:var(--ink)!important;color:#fff!important;box-shadow:0 4px 12px rgba(23,23,27,.18)!important}
/* chips: white pills with a lift; chosen = gradient + outline */
.chip{background:#fff!important;box-shadow:0 6px 16px rgba(74,40,60,.07)}
.chip.on{background:var(--grad)!important;border-color:var(--ink)!important}
/* section labels on the You tab */
.col-label{font-size:13px!important;font-weight:600!important;color:#8C8A92!important;letter-spacing:0!important;text-transform:none!important;margin:18px 4px 8px!important}
/* reset cards */
.resets > *{border-radius:26px!important;overflow:hidden;box-shadow:var(--card-shadow)}
/* bottom tab bar: floating frosted pill */
.tabs{left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;border-radius:24px!important;border:0!important;background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);box-shadow:0 12px 34px rgba(74,40,60,.14)!important;padding:6px 8px!important}
.tabs button{color:#A9A6AE!important;border-radius:18px;padding:9px 0 7px!important;font-size:12px!important}
.tabs button.on{color:var(--ink)!important;background:var(--grad)}
.main{padding-bottom:130px!important}
.weeks{background:none!important;box-shadow:none!important;border:0!important;padding:0!important}

/* ---- Core Four / Two More rows (v2) ---- */
.r2{padding:0!important;border:0!important;margin:0 0 8px}
.r2 .rcheck{width:100%;display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:10px 12px 10px 10px!important;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px rgba(23,23,27,.07);transition:background .3s,box-shadow .3s,transform .15s}
.r2 .rcheck:active{transform:scale(.99)}
.r2.yours .rcheck{grid-template-columns:auto 1fr auto auto}
.rph{width:52px;height:52px;border-radius:14px;object-fit:cover;display:block}
.rvi{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD);display:grid;place-items:center}
.rvi svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rtx b{display:block;font-weight:500!important;font-size:15px!important;line-height:1.35;color:var(--ink)!important}
.rtx small{display:block;font-size:12.5px;color:#8C8A92;margin-top:2px}
.rcap{font-weight:700;font-size:15px;white-space:nowrap}
.r2 .box{width:28px;height:28px;border:1.5px solid rgba(23,23,27,.28)!important;background:#fff!important;border-radius:50%}
.r2 .box svg{display:none}
.r2.on .rcheck{background:var(--done)!important;box-shadow:none}
.r2.on .box{background:var(--done-ink)!important;border-color:var(--done-ink)!important;animation:boxpop .35s cubic-bezier(.3,1.5,.5,1)}
.r2.on .box svg{display:block;color:#fff;stroke:#fff}
.r2.on .rtx b{color:var(--ink)!important}
.r2.on .rtx small{color:var(--done-ink)}
.r2.now .rcheck{box-shadow:inset 0 0 0 1.5px rgba(23,23,27,.18),0 10px 24px rgba(74,40,60,.10)}
.r2.now .rtx small{color:var(--ink);font-weight:600}
@keyframes boxpop{0%{transform:scale(.7)}60%{transform:scale(1.15)}100%{transform:none}}
.rules{margin-top:14px!important}
.fewmore{border-top:0!important;padding-top:6px!important;margin-top:14px!important}
.fm-head{align-items:center!important;margin-bottom:12px!important}
.fm-head h3{font-family:"Instrument Serif",serif!important;font-style:normal!important;font-size:25px!important}
.fm-head p{font-size:13px!important;color:#8C8A92!important;margin-top:2px}
.fm-head .link{background:#fff;border-radius:12px;padding:8px 14px!important;box-shadow:inset 0 0 0 1.5px rgba(23,23,27,.12);font-weight:600;text-decoration:none}
.chev,.explain{display:none!important}
.fm-head{display:flex!important;justify-content:space-between!important;align-items:baseline!important}
.fm-head .muted{font-size:14px}
.ob-back{width:36px;height:36px;border-radius:50%;background:var(--fill);display:grid;place-items:center;font-size:20px;line-height:1;text-align:center;flex:none}.ob-sp{display:none}

/* Checklist block: one list, not boxes in a box */
.r2{margin:0!important}
.r2 + .r2{border-top:1px solid var(--line)!important}
.r2 .rcheck{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:11px 4px!important;gap:14px!important;grid-template-columns:auto 1fr auto!important}
.r2.on .rcheck{background:transparent!important}
.rph{width:44px!important;height:44px!important;border-radius:12px!important}
.rtx b{font-size:15.5px!important}
.rtx small{font-size:13px!important}
.r2 .box{width:28px!important;height:28px!important;border:1.5px solid rgba(23,23,27,.42)!important}
.r2.on .box{border-color:var(--done-ink)!important}
.r2.on .rtx b{color:var(--soft)!important}
.rules{margin-top:6px!important}
.rules .r2:first-child{border-top:0!important}
.fewmore{margin-top:22px!important;padding-top:0!important}
.fm-head{margin-bottom:0!important}
.muted.count{font-size:15.5px}
.panel-head .muted.count{align-self:baseline}

/* Core Four as the tiles from "Meet your Core Four"; Two More as the rows from "Pick your Two More" */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.tile{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(74,40,60,.10);border:2px solid transparent;text-align:left;transition:border-color .15s,transform .15s}
.tile:active{transform:scale(.99)}
.tile[disabled]{opacity:.5;cursor:default}
.tile .ph{display:block;aspect-ratio:4/3;background:#EEE center/cover no-repeat}
.tile .tx{display:flex;align-items:flex-start;gap:10px;padding:12px 12px 14px}
.tile .tc{width:22px;height:22px;border-radius:50%;border:1.5px solid rgba(23,23,27,.3);background:#fff;display:grid;place-items:center;flex:none;margin-top:1px}
.tile .tc svg{display:none}
.tile p{font-size:13.5px;font-weight:500;line-height:1.35;color:var(--ink)}
.tile.on{border-color:var(--ink)}
.tile.on .tc{background:var(--ink);border-color:var(--ink)}
.tile.on .tc svg{display:block}
.picks2{display:grid;gap:10px;margin-top:12px}
.pick2{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:18px;background:#fff;border:2px solid transparent;text-align:left;box-shadow:0 8px 24px rgba(74,40,60,.07);transition:border-color .15s,transform .15s}
.pick2:active{transform:scale(.99)}
.pick2[disabled]{opacity:.5;cursor:default}
.pick2 .ico{width:40px;height:40px;border-radius:12px;background:var(--fill);display:grid;place-items:center;flex:none}
.pick2 .ico .ci{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pick2 .pt2{flex:1;min-width:0}
.pick2 .pt2 b{display:block;font-weight:500;font-size:15px;line-height:1.4}
.pick2 .sq{width:24px;height:24px;border-radius:8px;border:1.5px solid rgba(23,23,27,.3);flex:none;display:grid;place-items:center;background:#fff}
.pick2 .sq svg{display:none}
.pick2.on{border-color:var(--ink);background:var(--fill)}
.pick2.on .sq{background:var(--ink);border-color:var(--ink)}
.pick2.on .sq svg{display:block}
.fewmore{margin-top:22px!important;padding-top:0!important;border-top:0!important}
.fm-head{margin-bottom:0!important}
@container app (min-width:700px){ .tiles{grid-template-columns:repeat(4,1fr);gap:14px} .tile p{font-size:14px} }

/* Today's checklist: the "Your Reset is ready" card from the quiz, now checkable */
.rc2{background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 20px 60px rgba(74,40,60,.12)}
.rc2-hero{height:150px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:100%;gap:3px;overflow:hidden}
.rc2-hero img{width:100%;height:100%;min-height:0;object-fit:cover;display:block}
.rc2-body{padding:6px 22px 10px}
.rc2-lab{display:flex;justify-content:space-between;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);font-weight:600;margin:18px 0 2px}
.rc2-lab span:last-child{letter-spacing:.06em}
.rc2-lab.two{color:var(--soft)}
.rc2-lab.sp{color:#D9693A}
.rc2-r{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:14px;width:100%;padding:11px 0;border-bottom:1px solid var(--line);text-align:left}
.rc2-r:last-child{border-bottom:0}
.rc2-r[disabled]{opacity:.5;cursor:default}
.rc2-r .ic{width:34px;height:34px;border-radius:10px;background:var(--fill);display:grid;place-items:center}
.rc2-r .ic svg{width:17px;height:17px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rc2-r.two .ic{background:linear-gradient(135deg,#F3E4F0 0%,#E9E3F8 50%,#DCE2FB 100%)}
.rc2-r.sp .ic{background:linear-gradient(135deg,#FDE7DA,#E6EAFD)}
.rc2-r.sp .ic svg{fill:#D9693A;stroke:none;width:15px;height:15px}
.rc2-r .t{font-size:15.5px;font-weight:500;line-height:1.35}
.rc2-r .ck{width:26px;height:26px;border-radius:50%;border:1.5px solid rgba(23,23,27,.28);display:grid;place-items:center;flex:none;transition:background .2s,border-color .2s}
.rc2-r .ck svg{display:none}
.rc2-r.on .ck{background:var(--done-ink);border-color:var(--done-ink)}
.rc2-r.on .ck svg{display:block}
.rc2-r .t b{text-decoration:line-through;text-decoration-color:transparent;transition:text-decoration-color .25s,color .25s}
.rc2-r.on .t{color:var(--soft)}
.rc2-r.on .t b{text-decoration-color:currentColor}
.rc2-foot{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;background:var(--fill);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
.rc2-foot b{font-family:"Instrument Serif",serif;font-weight:400;letter-spacing:0;text-transform:none;font-size:19px;color:var(--ink)}
@container app (min-width:700px){ .rc2-hero{height:180px} .rc2-body{padding:6px 28px 12px} .rc2-foot{padding:16px 28px} }

/* Sidebar: the v4 look (warm cream with a hairline edge) */
@container app (min-width:1000px){
  .shell .side{background:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,.55)),radial-gradient(560px 280px at -140px -60px,rgba(142,166,242,.20),transparent 70%),#F5F3F0!important;border-right:.5px solid rgba(60,60,67,.12);padding:28px 14px 20px}
  .shell .side nav{gap:2px}
  .shell .side button{padding:10px 12px;border-radius:12px;font-size:15px;font-weight:500;color:#48474F}
  .shell .side button.on{background:#fff!important;color:var(--ink)!important;box-shadow:0 1px 3px rgba(0,0,0,.05)}
  .shell .side-foot{border-top:.5px solid rgba(60,60,67,.12)}
}

/* Today, decluttered */
.dayline2{margin-top:18px}
.dl-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.dl-top b{font-family:"Instrument Serif",serif;font-weight:400;font-size:26px;line-height:1}
.dl-top b span{font-size:18px;color:var(--soft)}
.dl-top > span{font-size:14px;color:var(--soft);text-align:right}
.dl-bar{height:8px;border-radius:8px;background:var(--fill);margin-top:10px;overflow:hidden}
.dl-bar i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#F78A5A,#F3B7C4 55%,#8EA6F2)}
.foot.slip{justify-content:center}
.colR{grid-template-columns:1fr!important}

.gh{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.gh h2{font-size:25px;line-height:1.1}
.gh p{font-size:14px;color:var(--soft);margin-top:4px}
.tring{position:relative;width:64px;height:64px;flex:none}
.tring > svg{width:100%;height:100%;transform:rotate(-90deg)}
.tring .rt{fill:none;stroke:var(--fill);stroke-width:5}
.tring .rv{fill:none;stroke:url(#rg2);stroke-width:5;stroke-linecap:round;transition:stroke-dashoffset .5s ease}
.tring.full .rv{stroke:var(--done-ink)}
.tring > span{position:absolute;inset:0;display:grid;place-content:center;text-align:center;line-height:1}
.tring b{font-family:"Instrument Serif",serif;font-weight:400;font-size:21px}
.tring small{font-size:10.5px;color:var(--soft);margin-top:2px}
.tring .tick{width:28px;height:28px;background:var(--done-ink)}
.tring .tick svg{width:13px;height:13px;display:block}
.read.gl{margin-top:14px;align-self:flex-start;display:inline-flex;width:100%;justify-content:center}
.colR .spark{order:0!important}
@container app (min-width:700px){ .read.gl{width:auto} }

.dayline2.withring{display:flex;align-items:center;gap:16px}
.dl-main{flex:1;min-width:0}
.dl-top b{white-space:nowrap}
.dl-top > span{font-size:13.5px;line-height:1.3}

.countdown{display:flex;align-items:center;gap:18px}
.cd-n{font-family:"Instrument Serif",serif;font-weight:400;font-size:64px;line-height:.85;letter-spacing:-.02em;background:linear-gradient(115deg,#F78A5A,#F3B7C4 55%,#8EA6F2);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.04em}
.cd-t small{display:block;font-size:14px;color:var(--soft)}
.cd-t strong{display:block;font-family:"Instrument Serif",serif;font-weight:400;font-size:26px;line-height:1.1}
.cd-gift{width:52px;height:52px;border-radius:16px;background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9);display:grid;place-items:center;flex:none}

/* All six done: solid green disc with a white check */
.tring.full > svg{display:none}
.tring.full > span{border-radius:50%;background:var(--done-ink);animation:ringdone .45s cubic-bezier(.3,1.4,.5,1)}
.tring.full .tick{width:auto;height:auto;background:none}
.tring.full .tick svg{width:26px;height:26px}
@keyframes ringdone{from{transform:scale(.7);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.tring.full > span{animation:none}}

/* Spark button: white with a black outline */
.spark .cta{background:#fff!important;color:var(--ink)!important;border:1.5px solid var(--ink)!important;box-shadow:none!important}

.rc2-foot .sk{display:flex;align-items:center;gap:8px}
.rc2-foot .sk svg.i{width:16px;height:16px;color:#D9693A}
.rc2-foot em{font-style:normal;font-size:13.5px;letter-spacing:0;text-transform:none;color:var(--soft)}

.tring b{font-family:"Figtree",system-ui,sans-serif;font-weight:600;font-size:16px;letter-spacing:-.01em}

.today-head{display:flex;align-items:center;gap:14px;padding:18px 0 16px;border-bottom:1px solid var(--line)}
.today-head .tring{width:52px;height:52px}
.today-head .tring b{font-size:14px}
.today-head .tring small{display:none}
.today-head > div:last-child b{display:block;font-weight:600;font-size:16px}
.today-head > div:last-child small{display:block;font-size:13.5px;color:var(--soft);margin-top:1px}
.today-head .tring.full .tick svg{width:22px;height:22px}

.rc2-foot.tf{text-transform:none;letter-spacing:0;font-size:14px;color:var(--ink);padding:12px 22px}
.tf-l{display:flex;align-items:center;gap:12px}
.tf-l b{white-space:nowrap;font-family:"Figtree",system-ui,sans-serif;font-weight:600;font-size:15px;color:var(--ink)}
.tf .tring{width:40px;height:40px}
.tf .tring .rt{stroke:#E8E4DD}
.tf .tring b{font-size:11.5px}
.tf .tring small{display:none}
.tf .tring.full .tick svg{width:18px;height:18px}
.tf-r{white-space:nowrap;display:flex;align-items:center;gap:6px;color:var(--soft);font-size:13.5px}
.tf-r svg.i{width:15px;height:15px;color:#D9693A}

.dl-top b{font-family:"Figtree",system-ui,sans-serif!important;font-weight:600!important;font-size:18px!important;letter-spacing:-.01em}
.dl-top b span{font-size:15px!important;font-weight:500;color:var(--soft)}

/* Menu */
.menu-page{display:grid;gap:14px}
.mhero h2{font-size:27px;line-height:1.2;font-weight:400}
.mhero h2 em{font-style:italic;background:linear-gradient(115deg,#F78A5A,#E9A0B4 55%,#8EA6F2);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.05em}
.madd{display:flex;gap:8px}
.madd .field{flex:1;min-width:0;height:48px;margin:0}
.madd .btn{padding:0 20px!important;min-height:48px;border-radius:14px!important;font-size:15.5px!important}
.mlab{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);font-weight:600;margin:20px 0 2px}
.mrow{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.mrow:last-child{border-bottom:0}
.mrow .dot{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#F9B08C,#8EA6F2);flex:none}
.mrow .mt{flex:1;font-size:15.5px;font-weight:500;line-height:1.35}
.mrow.own .dot{background:#D9693A}
.mx{width:30px;height:30px;border-radius:50%;background:var(--fill);color:var(--soft);font-size:18px;line-height:1;display:grid;place-items:center;flex:none}

.mempty{text-align:center;padding:34px 24px!important}
.mempty h3{font-family:"Instrument Serif",serif;font-weight:400;font-size:26px}
.mempty p{font-size:15px;color:var(--soft);margin:8px auto 22px;max-width:34ch;line-height:1.5}
.madd-more{margin-top:14px}
.mpick{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.mp{display:inline-flex;align-items:center;gap:8px;padding:9px 14px 9px 10px;border-radius:999px;background:var(--fill);font-size:14.5px;font-weight:500;border:1.5px solid transparent}
.mp .pl{width:20px;height:20px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:15px;line-height:1;color:var(--ink)}
.mp .pl svg{width:10px;height:10px}
.mp.on{background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD);border-color:var(--ink)}
.mp.on .pl{background:var(--ink)}

.mempty{text-align:left!important;padding:28px 24px!important}
.mempty h3{font-size:28px!important;margin-bottom:6px}
.mempty p{margin:10px 0 0!important;max-width:none!important;font-size:15.5px!important;color:#55535B!important}
.mempty .btn{margin-top:24px}

.mempty .mq{font-family:"Instrument Serif",serif;font-style:italic;font-size:22px!important;color:var(--ink)!important;line-height:1.25}


/* Add-to-menu sheet: button pinned to the bottom of the sheet on a white fade */
.sheet:has(.mdone){padding-bottom:0!important}
.mdone{--px:24px;--pb:calc(22px + env(safe-area-inset-bottom));position:sticky;bottom:0;margin:18px calc(var(--px) * -1) 0;padding:34px var(--px) var(--pb);background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.92) 38%,#fff 62%);z-index:2;box-shadow:0 12px 0 #fff}
@container app (min-width:700px){ .mdone{--px:32px;--pb:28px} }

/* Dopamine Menu intro: on the background like the quiz screens */
.mintro{text-align:center;max-width:520px;margin:0 auto;padding:4px 4px 10px}
.mintro p{font-size:15.5px;line-height:1.55;color:#55535B;margin:12px auto 0;max-width:36ch}
.mi-h{font-family:"Instrument Serif",serif;font-weight:400;font-size:34px;line-height:1.08;margin-top:6px;color:var(--ink)}
.mi-h em,.mi-q em{font-style:italic;background:linear-gradient(115deg,#F78A5A,#E9A0B4 55%,#8EA6F2);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.06em}
.mintro .mi-q{font-family:"Instrument Serif",serif;font-style:italic;font-size:27px;line-height:1.2;color:var(--ink);margin-top:18px}
.mi-art{position:relative;height:230px;margin:0 auto 10px;max-width:360px}
.mi-glow{position:absolute;left:50%;top:52%;width:280px;height:200px;margin:-100px 0 0 -140px;border-radius:50%;background:radial-gradient(closest-side,rgba(249,176,140,.55),rgba(243,183,196,.35) 55%,rgba(142,166,242,0));filter:blur(8px);animation:miglow 5s ease-in-out infinite}
.mi-card{position:absolute;left:50%;top:18px;width:122px;margin:0 0 0 -61px;background:#fff;border-radius:18px;padding:6px 6px 10px;box-shadow:0 14px 34px rgba(74,40,60,.16);opacity:0;animation:deal .7s cubic-bezier(.2,.9,.3,1.2) forwards,float 6s ease-in-out infinite}
.mi-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:13px}
.mi-card figcaption{font-size:12px;font-weight:600;margin-top:7px;color:var(--ink)}
.mi-card.c0{--r:-9deg;--x:-108px;--y:16px;animation-delay:.05s,.8s}
.mi-card.c1{--r:0deg;--x:0px;--y:0px;z-index:2;animation-delay:.2s,1.1s}
.mi-card.c2{--r:9deg;--x:108px;--y:16px;animation-delay:.35s,1.4s}
.mi-spark{position:absolute;z-index:3;color:#D9693A;opacity:0;animation:twk 2.6s ease-in-out infinite}
.mi-spark svg{width:18px;height:18px;fill:currentColor}
.mi-spark.s1{left:14%;top:8px;animation-delay:.9s}
.mi-spark.s2{right:12%;top:150px;animation-delay:1.6s}
.mi-spark.s2 svg{width:13px;height:13px}
.mi-rv{opacity:0;transform:translateY(10px);animation:rvin .6s ease forwards;animation-delay:var(--d,0s)}
.mintro .btn{margin-top:24px}
.mq{margin:20px -18px 0;display:grid;gap:8px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.mq-row{overflow:hidden}
.mq-t{display:flex;gap:8px;width:max-content;animation:mqs 22s linear infinite}
.mq-row.rev .mq-t{animation-direction:reverse;animation-duration:26s}
.mq-p{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;background:#fff;font-size:14px;font-weight:500;color:var(--ink);box-shadow:0 4px 14px rgba(74,40,60,.07);white-space:nowrap}
.mq-p i{width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#F78A5A,#8EA6F2)}
@keyframes deal{from{opacity:0;transform:translate(0,60px) rotate(0) scale(.9)}to{opacity:1;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes miglow{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.08);opacity:1}}
@keyframes twk{0%,100%{opacity:0;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1) rotate(20deg)}}
@keyframes rvin{to{opacity:1;transform:none}}
@keyframes mqs{from{transform:translateX(0)}to{transform:translateX(-33.333%)}}
@media (prefers-reduced-motion:reduce){.mi-card,.mi-rv,.mq-t,.mi-glow,.mi-spark{animation:none!important;opacity:1!important}.mi-card{transform:translate(var(--x),var(--y)) rotate(var(--r))}.mi-rv{transform:none}}
@container app (min-width:700px){ .mi-art{height:270px} .mi-card{width:140px;margin-left:-70px} .mi-card.c0{--x:-126px} .mi-card.c2{--x:126px} .mi-h{font-size:40px} }

.mi-card.c0 figcaption{text-align:left;padding-left:4px}
.mi-card.c2 figcaption{text-align:right;padding-right:4px}

/* The menu itself: same card style as the Today checklist */
.mymenu{width:100%;max-width:560px;margin:0 auto;justify-self:center}
.mymenu .rc2-body{padding-top:4px}
.mymenu .rc2-lab{align-items:center}
.mm-edit{font-size:12.5px;letter-spacing:.04em;text-transform:none;font-weight:600;color:var(--soft);padding:4px 0 4px 10px}
.rc2-r.mm{cursor:default}
.rc2-r.mm .ic{background:linear-gradient(135deg,#F3E4F0 0%,#E9E3F8 50%,#DCE2FB 100%)}
.rc2-r.mm .ic svg.own{fill:#D9693A;stroke:none;width:15px;height:15px}
.rc2-r.mm .mx{width:28px;height:28px}
.mm-foot{width:100%;justify-content:center!important;font-size:14.5px!important;letter-spacing:0!important;text-transform:none!important;color:var(--ink)!important;font-weight:600;padding:16px 22px!important}
.mm-foot:active{background:#EDE9E2}
.mymenu.anim .rc2-r.mm{opacity:0;transform:translateY(6px);animation:rvin .45s ease forwards;animation-delay:var(--d)}
@media (prefers-reduced-motion:reduce){.mymenu.anim .rc2-r.mm{animation:none;opacity:1;transform:none}}

.mm-grid .rc2-r{border-bottom:0;border-top:1px solid var(--line)}
.mm-grid .rc2-r:first-child{border-top:0}
@container app (min-width:1000px){
  .mymenu{max-width:none}
  .mymenu .rc2-body{padding:6px 28px 12px}
  .mm-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
  .mm-grid .rc2-r:nth-child(2){border-top:0}
}

/* Intro, cleaned up: all ink, one scrolling row, even spacing */
.mintro{max-width:460px}
.mi-art{height:215px;margin-bottom:18px}

.mi-h{font-size:32px!important;text-wrap:balance}
.mi-copy{margin-top:14px}
.mintro .mi-copy p{font-size:15.5px;line-height:1.6;color:#4A4852;margin:0 auto 12px;max-width:34ch}
.mintro .mi-copy p:last-child{margin-bottom:0}
.mintro .mi-copy .mi-q{font-family:"Instrument Serif",serif;font-style:italic;font-size:24px;line-height:1.25;color:var(--ink);margin:4px auto 14px}
.mq{margin:22px -18px 18px}
.mq-t{animation-duration:34s}
.mq-p{background:#fff;box-shadow:none;border:1px solid var(--line)}
.mq-p i{background:#C9C5CE}
.mintro .btn{margin-top:26px}

/* Intro photos: a clean row like the quiz, no tilt or captions */
.mi-art{height:auto!important;max-width:340px;padding:14px 0 6px;margin-bottom:18px}
.mi-strip{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.mi-strip img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;border-radius:18px;box-shadow:0 12px 30px rgba(74,40,60,.14);opacity:0;animation:stripin .7s cubic-bezier(.2,.9,.3,1) forwards}
.mi-strip .p1{animation-delay:.12s}
.mi-strip .p2{animation-delay:.24s}
.mi-spark.s1{left:-6px;top:0}
.mi-spark.s2{right:-8px;top:auto;bottom:22%}
.mi-spark.s3{left:42%;top:-10px;animation-delay:2.1s}
.mi-spark.s3 svg{width:11px;height:11px}
@keyframes stripin{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mi-strip img{animation:none;opacity:1}}

/* Intro v2: empty menu tease, question as headline, left-aligned copy */
.mintro{text-align:center}
.mintro .mi-h{text-align:center;font-size:33px!important}
.mintro .mi-h em{font-style:italic;background:none;color:var(--ink);padding:0}

.mi-art{max-width:300px;margin-left:auto;margin-right:auto}
.mi-tease{position:relative;background:#fff;border-radius:22px;padding:22px 22px 24px;box-shadow:0 16px 44px rgba(74,40,60,.14);text-align:center;transform:rotate(-1.5deg);animation:teasein .7s cubic-bezier(.2,.9,.3,1.1) both}
.mi-tease::before{content:"";position:absolute;inset:7px;border:1px solid #EFE8DF;border-radius:16px;pointer-events:none}
.mt-k{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--soft);font-weight:600}
.mt-h{font-family:"Instrument Serif",serif;font-size:26px;line-height:1.05;margin-top:4px;color:var(--ink)}
.mt-orn{display:flex;align-items:center;gap:8px;margin:12px auto 4px;max-width:150px;color:#D9693A}
.mt-orn i{flex:1;height:1px;background:#E9E2D8}
.mt-orn svg{width:11px;height:11px;fill:currentColor}
.mt-row{display:block;height:9px;border-radius:9px;background:var(--fill);margin-top:14px;transform-origin:left;animation:rowin .5s ease both;animation-delay:var(--d)}
.mt-row:nth-of-type(2){width:78%;margin-inline:auto 0}
.mt-row:nth-of-type(2){margin-left:0}
.mt-row:nth-of-type(3){width:88%}
@keyframes teasein{from{opacity:0;transform:rotate(-1.5deg) translateY(18px) scale(.96)}to{opacity:1;transform:rotate(-1.5deg)}}
@keyframes rowin{from{opacity:0;transform:scaleX(.4)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mi-tease,.mt-row{animation:none;opacity:1;transform:rotate(-1.5deg)}.mt-row{transform:none}}

/* ===== Today animations ===== */
/* 5. Photos drift slowly sideways */
.feed{overflow:hidden!important;scroll-snap-type:none!important;border-radius:20px}
.feed-t{display:flex;width:max-content;animation:feeddrift 60s linear infinite}
.feed:hover .feed-t{animation-play-state:paused}
.feed-t figure{flex:0 0 168px!important;width:168px;margin:0 10px 0 0!important}
@container app (min-width:700px){ .feed-t figure{flex-basis:210px!important;width:210px;margin-right:14px!important} }
@container app (min-width:1000px){ .feed-t figure{flex-basis:262px!important;width:262px;margin-right:18px!important} }
@keyframes feeddrift{from{transform:translateX(0)}to{transform:translateX(-25%)}}

/* 3. Cards rise in, top to bottom, when she opens Today */
.enter-mark{display:none}
.enter-mark ~ .feed,.enter-mark ~ .bannerwrap,.enter-mark ~ .grid .colL > *,.enter-mark ~ .grid .colR > *{animation:cardin .6s cubic-bezier(.2,.9,.3,1) both}
.enter-mark ~ .bannerwrap{animation-delay:.07s}
.enter-mark ~ .grid .colL > :nth-child(1){animation-delay:.14s}
.enter-mark ~ .grid .colL > :nth-child(2){animation-delay:.22s}
.enter-mark ~ .grid .colR > :nth-child(1){animation-delay:.3s}
.enter-mark ~ .grid .colR > :nth-child(2){animation-delay:.38s}
@keyframes cardin{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* 4. The 30-day bar grows in */
.enter-mark ~ .grid .dl-bar i{transform-origin:left;animation:barin 1s cubic-bezier(.3,.8,.3,1) .45s both}
@keyframes barin{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* 1. Checking something off */
.rc2-r.just .ck{animation:ckpop .38s cubic-bezier(.3,1.6,.5,1)}
.rc2-r.just .ck svg path{stroke-dasharray:24;stroke-dashoffset:24;animation:ckdraw .3s ease .12s forwards}
.rc2-r.just .t{animation:tfade .45s ease both}
.rc2-r .t{transition:color .3s}
@keyframes ckpop{0%{transform:scale(.6)}60%{transform:scale(1.15)}100%{transform:none}}
@keyframes ckdraw{to{stroke-dashoffset:0}}
@keyframes tfade{from{color:var(--ink)}to{color:var(--soft)}}

/* 8. Today's day breathes; a newly finished day pops */
@keyframes todaypulse{0%,100%{box-shadow:0 0 0 0 rgba(247,138,90,0)}50%{box-shadow:0 0 0 6px rgba(247,138,90,.18)}}
.dcell.pop > span{animation:ckpop .5s cubic-bezier(.3,1.6,.5,1) .3s both}
.dcell.today.pop > span{animation:ckpop .5s cubic-bezier(.3,1.6,.5,1) .3s both}
@keyframes todayglow{0%,100%{box-shadow:inset 0 0 0 2px var(--ink),0 0 0 0 rgba(247,138,90,0),0 0 0 rgba(247,138,90,0)}50%{box-shadow:inset 0 0 0 2px var(--ink),0 0 0 6px rgba(247,138,90,.2),0 0 18px rgba(247,138,90,.45)}}

@media (prefers-reduced-motion:reduce){
  .feed-t,.enter-mark ~ *,.enter-mark ~ .grid *,.rc2-r.just *,.dcell.pop *{animation:none!important}
  .rc2-r.just .ck svg path{stroke-dashoffset:0}
}

/* Ring: no pop when it turns green */
.tring.full > span{animation:none!important}

/* Cards rise in when any page opens (Today has its own version) */
.ein{animation:cardin .6s cubic-bezier(.2,.9,.3,1) both;animation-delay:var(--ed,0s)}
@media (prefers-reduced-motion:reduce){.ein{animation:none!important}}


/* Completion pop-up */
.halo span:nth-child(1){background:#F1E3A0!important}
.halo span:nth-child(2){background:#9ED8B8!important}
.halo span:nth-child(3){background:#CFE6A8!important}
.cbar{max-width:300px;margin:22px auto 0}
.cb-t{height:8px;border-radius:8px;background:var(--fill);overflow:hidden}
.cb-t i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#F78A5A,#F3B7C4 55%,#8EA6F2);width:var(--to);animation:cbfill 1s cubic-bezier(.3,.8,.3,1) .7s both}
.cb-l{font-size:13px;color:var(--soft);margin-top:8px}
@keyframes cbfill{from{width:var(--from)}to{width:var(--to)}}
.creward{display:inline-flex;align-items:center;gap:10px;margin:18px auto 0!important;padding:11px 16px;border-radius:14px;background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9);font-size:15px!important;color:var(--ink)}
.creward svg.i{width:18px;height:18px;flex:none}
.creward b{font-weight:600}
.cnote{color:var(--soft)!important;font-size:15px!important;margin-top:16px!important}
@media (prefers-reduced-motion:reduce){.cb-t i{animation:none}}

.hero-p .trio{grid-template-columns:1fr 1fr!important;margin-top:34px!important}

/* Menu: headline and Pick one for me */
.mm-head{padding:18px 0 4px;text-align:left}
.mm-head h3{font-family:"Instrument Serif",serif;font-weight:400;font-size:24px;line-height:1.2;color:var(--ink);max-width:28ch}
.mm-pick{margin-top:16px;gap:8px!important;padding:12px 20px!important;font-size:15.5px!important}
.mm-pick svg{width:15px;height:15px;fill:#F9B08C;stroke:none}
.mymenu .rc2-lab{margin-top:22px}
/* Pick pop-up */
.mpk{text-align:center;padding-top:4px}
.mpk-card{margin:14px auto 4px;animation:mpkin .45s cubic-bezier(.3,1.4,.5,1) both}
.mpk-ic{display:grid;place-items:center;width:84px;height:84px;margin:10px auto 18px;border-radius:26px;background:linear-gradient(135deg,#F3E4F0 0%,#E9E3F8 50%,#DCE2FB 100%);box-shadow:0 12px 30px rgba(74,40,60,.12)}
.mpk-ic svg{width:38px;height:38px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mpk-ic svg.own{fill:#D9693A;stroke:none;width:30px;height:30px}
.mpk h2{font-size:32px;line-height:1.15;max-width:16ch;margin:0 auto}
.mpk .actions{margin-top:26px}
@keyframes mpkin{from{opacity:0;transform:scale(.9) translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mpk-card{animation:none}}
@container app (min-width:1000px){ .mm-head{display:flex;justify-content:space-between;align-items:center;gap:24px} .mm-pick{margin-top:0;flex:none} .mm-head h3{max-width:none} }

/* Menu header on phones: headline full width, button full width under it */
.mm-head h3{max-width:none;text-wrap:pretty}
.mm-pick{display:flex!important;width:100%;justify-content:center;min-height:50px}
@container app (min-width:1000px){ .mm-pick{width:auto;display:inline-flex!important} }

.tf-r svg.i{color:var(--soft)!important}

/* Menu intro only animates when the tab opens */
.mintro:not(.play) .mi-rv{animation:none!important;opacity:1!important;transform:none!important}
.mintro:not(.play) .mi-tease{animation:none!important;opacity:1!important;transform:rotate(-1.5deg)!important}
.mintro:not(.play) .mt-row{animation:none!important;opacity:1!important;transform:none!important}

.page .hero-p .trio{margin-top:44px!important}

/* You: section titles line up with their Change buttons */
.ycol .panel-head{align-items:center!important;margin-bottom:14px}
.ycol .panel-head h2{margin:0!important;line-height:1.1}

/* Lesson button, not yet read: a small row with icon, label, title and arrow */
.read.has-sub{white-space:normal;text-align:left;justify-content:flex-start!important;gap:12px;padding:10px 14px 10px 10px;border-radius:16px!important;width:100%}
.read .rd-ic{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.75);display:grid;place-items:center;flex:none;font-style:normal}
.read .rd-ic svg{width:18px;height:18px}
.read .rd-t{flex:1;min-width:0;display:block;font-weight:600;font-size:15px;line-height:1.3;color:var(--ink)}
.read .rd-t small{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:#7A7882;margin-bottom:2px}
.read .rd-go{width:16px;height:16px;flex:none;fill:none;stroke:#9A98A0;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@container app (min-width:700px){ .hero .read.has-sub{width:340px;flex:none} }

/* Greeting sits level with the lesson button on wider screens */
@container app (min-width:700px){ .panel-head.hero{align-items:center!important} .panel-head.hero h2{margin:0!important} }

/* Month calendar (after the 30 days) */
.mcal .cal-head{display:flex;justify-content:space-between;align-items:center}
.mc-nav{display:flex;gap:6px}
.mc-nav button{width:34px;height:34px;border-radius:50%;background:var(--fill);display:grid;place-items:center}
.mc-nav button[disabled]{opacity:.35;cursor:default}
.mc-nav svg{width:14px;height:14px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mc-dow{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:11.5px;font-weight:600;letter-spacing:.06em;color:var(--soft);margin:14px 0 4px}
.mcal .wk-row{display:grid;grid-template-columns:repeat(7,1fr)}
.dcell.off > span{background:transparent!important;color:#D2CEC7!important;box-shadow:none!important}
.reset-rec{font-size:14.5px;color:var(--soft);margin:6px 0 0}
.page .hero-p .reset-rec + .trio{margin-top:20px!important}

/* Bottom tab bar: attached to the bottom edge, frosted, no fill on the selected tab */
.shell .tabs{left:0!important;right:0!important;bottom:0!important;border-radius:0!important;box-shadow:none!important;
  background:rgba(252,251,248,.95)!important;-webkit-backdrop-filter:saturate(1.6) blur(20px)!important;backdrop-filter:saturate(1.6) blur(20px)!important;
  border-top:.5px solid rgba(60,60,67,.14)!important;padding:6px 8px calc(4px + env(safe-area-inset-bottom))!important}
.shell .tabs button{background:none!important;border-radius:0!important;padding:6px 0 4px!important;gap:3px!important;font-size:10.5px!important;font-weight:600!important;letter-spacing:.01em;color:#A3A1A8!important}
.shell .tabs button svg.i{width:24px;height:24px;stroke-width:1.6}
.shell .tabs button.on{background:none!important;color:var(--ink)!important}
.shell .tabs button.on svg.i{stroke-width:2}
.main{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}

/* Calendar header: icon tile + title */
.cal-hd{display:flex;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.cal-hd h2{margin:0!important;font-size:24px!important;line-height:1.1}
.cal-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD)}
.cal-ic svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* Calendar header: gradient band like the quiz's "Your starting point" card */
.panel:has(> .cal-hd2){padding:0!important;overflow:hidden}
.panel:has(> .cal-hd2) > :not(.cal-hd2){margin:20px 20px 22px!important}
.cal-hd2{display:block;padding:18px 20px 16px;background:linear-gradient(115deg,#FBE3D6 0%,#F4E6EC 50%,#E4E8FB 100%)}
.ch-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:4px}
.ch-k{margin:0!important;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#D9693A;margin:0 0 4px}
.cal-hd2 h2{margin:0!important;font-size:26px!important;line-height:1.1}
.ch-r{font-size:13.5px;color:#7A7882;white-space:nowrap;padding-top:1px}
@container app (min-width:700px){ .cal-hd2{padding:20px 26px 18px} .panel:has(> .cal-hd2) > :not(.cal-hd2){margin:22px 26px 26px!important} }

/* =============== LIQUID GLASS VARIANT =============== */
/* Background: the app's own colors, drifting slowly like the first glass version */
.shell{position:relative;background:var(--wash)!important;overflow:hidden}
.shell::before,.shell::after{content:"";position:absolute;z-index:0;border-radius:50%;pointer-events:none;filter:blur(40px)}
.shell::before{width:70vmax;height:60vmax;right:-28vmax;top:-30vmax;background:radial-gradient(closest-side,rgba(249,176,140,.42),rgba(249,176,140,0));animation:blobA 28s ease-in-out infinite alternate}
.shell::after{width:76vmax;height:64vmax;left:-32vmax;bottom:-30vmax;background:radial-gradient(closest-side,rgba(142,166,242,.36),rgba(142,166,242,0));animation:blobB 34s ease-in-out infinite alternate}
@keyframes blobA{from{transform:translate(0,0) scale(1)}to{transform:translate(-16vmax,14vmax) scale(1.15)}}
@keyframes blobB{from{transform:translate(0,0) scale(1)}to{transform:translate(18vmax,-16vmax) scale(1.12)}}
@media (prefers-reduced-motion:reduce){.shell::before,.shell::after{animation:none}}
.shell > .main,.shell > .side{position:relative;z-index:1}
.shell > .tabs,.shell > .scrim,.shell > .toast{z-index:5}

/* Glass cards */
.panel,.rc2,.mymenu,.rcard,.note-bar,.mintro .mi-tease,.pcard{
  background:rgba(255,255,255,.52)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.6);backdrop-filter:blur(26px) saturate(1.6);
  border:1px solid rgba(255,255,255,.75)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 12px 40px rgba(74,40,60,.10)!important}
.panel.spark{background:linear-gradient(135deg,rgba(253,231,218,.7),rgba(230,234,253,.6))!important}
.note-bar{background:rgba(255,255,255,.45)!important}
.stat,.trio > div,.daystat div,.stat-tile{background:rgba(255,255,255,.5)!important;border:1px solid rgba(255,255,255,.8)!important;box-shadow:none!important}
.rc2-foot,.pc-foot,.mm-foot{background:rgba(255,255,255,.38)!important;border-top:1px solid rgba(255,255,255,.6)}
.rc2-r .ic,.lic,.read .rd-ic,.q,.task,.check,.mine li,.rw-li,.opt,.chip,.field,.seg,.mc-nav button,.mx,.step,.mp{background:rgba(255,255,255,.55)!important}
ol.mine{background:transparent!important;border:0!important;box-shadow:none!important}
.rc2-r,.mrow,.li{border-color:rgba(60,60,67,.10)!important}
.mm-head h3,.cal-hd2 h2{color:var(--ink)}
.cal-hd2{background:linear-gradient(115deg,rgba(251,227,214,.85),rgba(244,230,236,.7) 50%,rgba(228,232,251,.85))!important}
.read{background:linear-gradient(90deg,rgba(253,231,218,.9),rgba(230,234,253,.9))!important}
.read.is-read{background:rgba(230,242,226,.85)!important}
.dcell > span,.jc{background:rgba(255,255,255,.55)}
.mq-p{background:rgba(255,255,255,.6)!important;border-color:rgba(255,255,255,.8)!important}

/* Top bar, tabs, sidebar */
.shell .tabs{background:rgba(255,255,255,.55)!important;border-top:1px solid rgba(255,255,255,.7)!important;-webkit-backdrop-filter:blur(24px) saturate(1.6)!important;backdrop-filter:blur(24px) saturate(1.6)!important}
@container app (min-width:1000px){
  .shell .side{background:rgba(255,255,255,.4)!important;border-right:1px solid rgba(255,255,255,.6)!important;-webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5)}
  .shell .side button.on{background:rgba(255,255,255,.75)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 4px 14px rgba(74,40,60,.08)!important}
}
.avatar{box-shadow:0 0 0 2px rgba(255,255,255,.8)}

/* Sheets */
.scrim{background:rgba(40,30,40,.28)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sheet{background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6);border:1px solid rgba(255,255,255,.8)}

/* Buttons keep their weight so they still read as the primary action */
.btn.soft,.btn.ghost{background:rgba(255,255,255,.6)!important;border:1px solid rgba(255,255,255,.8)!important}

/* Glass check marks: soft mint glass with a deep green check */
.rc2-r.on .ck,.tring.full > span,.read.is-read .tick,.complete .tick,.rcard .mins.is-done .tick,.dl-ck,.tf .tick,.mpk .tick{
  background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95))!important;
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 3px 10px rgba(47,125,91,.18)!important}
.rc2-r.on .ck svg,.tring.full .tick svg,.read.is-read .tick svg,.complete .tick svg,.rcard .mins.is-done .tick svg,.tf .tick svg{stroke:#1F6B49!important}
.tring.full .tick{background:none!important;border:0!important;box-shadow:none!important}
.dcell.done > span,.dcell.today.done > span,.jc.done,.jc.today.done{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95))!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset}
.dcell.done > span > svg path,.jc.done svg path{stroke:#1F6B49}

.read.is-read{background:linear-gradient(90deg,rgba(214,242,222,.85),rgba(190,232,206,.75))!important}
.done-card,.complete{background:linear-gradient(135deg,rgba(214,242,222,.8),rgba(190,232,206,.7))!important;color:#1F6B49!important}

/* Checked circles keep the same gray border as unchecked ones */
.rc2-r.on .ck{border:1.5px solid rgba(255,255,255,.9)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 3px 10px rgba(47,125,91,.18)!important}

/* Lesson done: same gray border on the check; spark done: green gradient card */
.read.is-read .tick{border:1.5px solid rgba(255,255,255,.9)!important}
.panel.spark.is-done{background:linear-gradient(135deg,rgba(251,244,208,.85),rgba(230,243,211,.8) 50%,rgba(207,236,217,.85))!important}
.panel.spark.is-done .done-row{background:rgba(255,255,255,.55)!important;color:#1F6B49}
.panel.spark.is-done .stamp{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95))!important;border:1.5px solid rgba(255,255,255,.9)!important;box-shadow:0 3px 10px rgba(47,125,91,.18)!important}
.panel.spark.is-done .stamp svg path{stroke:#1F6B49}

/* Desktop sidebar matches the phone tab bar: same frosted glass, selected item in bold black with no pill */
@container app (min-width:1000px){
  .shell .side{background:rgba(255,255,255,.82)!important;border-right:1px solid rgba(255,255,255,.8)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6)!important;backdrop-filter:blur(30px) saturate(1.6)!important}
  .shell .side button{color:#A3A1A8!important;font-weight:600!important}
  .shell .side button.on{background:none!important;box-shadow:none!important;color:var(--ink)!important}
  .shell .side button.on svg.i{stroke-width:2}
  .shell .side-foot button{color:#7A7882!important;font-weight:500!important}
}

/* Completion pop-up check matches the other checks */
.halo .disc{background:linear-gradient(135deg,rgba(214,242,222,.98),rgba(160,220,186,.98))!important;border:1.5px solid rgba(255,255,255,.9);box-shadow:0 6px 24px rgba(47,125,91,.18)!important}
.halo .disc path{stroke:#1F6B49}


/* Checklist icons: frosted gradient tiles */
.rc2-r .ic{background:linear-gradient(135deg,rgba(253,231,218,.85),rgba(247,233,236,.75) 50%,rgba(230,234,253,.85))!important;border:1px solid rgba(255,255,255,.85);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 2px 8px rgba(74,40,60,.06);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.rc2-r.two .ic{background:linear-gradient(135deg,rgba(243,228,240,.85),rgba(233,227,248,.8) 50%,rgba(220,226,251,.85))!important}

/* Progress stat boxes: light gray border */
.hero-p .trio > div{border:1px solid rgba(60,60,67,.14)!important}

/* Lesson list */
.lsl{margin-top:16px}
.lsl-r{display:flex;align-items:center;gap:14px;width:100%;padding:12px 4px;border-bottom:1px solid var(--line);text-align:left}
.lsl-r:last-child{border-bottom:0}
.lsl-d{width:34px;height:34px;border-radius:50%;background:var(--fill);display:grid;place-items:center;font-family:"Instrument Serif",serif;font-size:17px;color:var(--ink);flex:none}
.lsl-r.done .lsl-d{background:var(--done);color:var(--done-ink)}
.lsl-t{flex:1;min-width:0;font-size:15px;font-weight:500;line-height:1.3;color:var(--ink)}
.lsl-r.done .lsl-t{color:var(--soft)}
.lsl-new{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:#D9693A;flex:none}
.lsl-r .tick{width:22px;height:22px;flex:none;background:var(--done-ink)}
.lsl-r .tick svg{width:10px;height:10px}

/* Lesson list: rows look tappable, gradient numbers */
.lsl{display:grid;gap:8px}
.lsl-r{padding:12px 14px!important;border:0!important;border-radius:16px;background:var(--fill);transition:transform .12s}
.lsl-r:active{transform:scale(.985)}
.lsl-d{background:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD)!important;color:var(--ink)!important}
.lsl-r.done .lsl-d{background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9)!important;color:var(--done-ink)!important}
.lsl-go{width:14px;height:14px;flex:none;fill:none;stroke:#A3A1A8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-left:2px}

/* Desktop: navigation floats at the bottom instead of a sidebar */
@container app (min-width:1000px){
  .shell .side{display:none!important}
  .shell .tabs{display:flex!important;left:50%!important;right:auto!important;bottom:24px!important;transform:translateX(-50%);width:auto;border-radius:22px!important;padding:8px!important;gap:4px;
    background:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.8)!important;border-top:1px solid rgba(255,255,255,.8)!important;
    box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 14px 40px rgba(74,40,60,.16)!important;
    -webkit-backdrop-filter:blur(24px) saturate(1.6)!important;backdrop-filter:blur(24px) saturate(1.6)!important}
  .shell .tabs button{flex-direction:row!important;gap:10px!important;padding:14px 26px!important;border-radius:16px!important;font-size:16px!important;max-width:none;color:#8A8891!important}
  .shell .tabs button svg.i{width:21px;height:21px}
  .shell .tabs button.on{background:var(--ink)!important;color:#fff!important}
  .main{padding-bottom:140px!important}
}

/* Desktop nav: wide floating bar, icons over labels, like Spotify on iPad */
@container app (min-width:1000px){
  .shell .tabs{width:auto!important;justify-content:center!important;border-radius:22px!important;padding:10px 12px!important;gap:6px!important;
    background:rgba(255,255,255,.7)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 16px 44px rgba(74,40,60,.16)!important}
  .shell .tabs button{flex:none!important;width:104px;flex-direction:column!important;gap:5px!important;padding:6px 0!important;border-radius:14px!important;font-size:12.5px!important;font-weight:500!important;color:#8A8891!important;background:none!important}
  .shell .tabs button svg.i{width:23px;height:23px;stroke-width:1.6}
  .shell .tabs button.on{background:none!important;color:var(--ink)!important;font-weight:600!important}
  .shell .tabs button.on svg.i{stroke-width:2.1}
}

/* Logo inside the desktop nav bar */
.tabs-logo{display:none}
@container app (min-width:1000px){
  .tabs-logo{display:flex;align-items:center;gap:9px;font-family:"Instrument Serif",serif;font-size:19px;color:var(--ink);padding:0 22px 0 14px;margin-right:6px;border-right:1px solid rgba(60,60,67,.14);align-self:stretch;white-space:nowrap}
  .tabs-logo i{width:16px;height:16px;border-radius:50%;background:linear-gradient(135deg,#F9B08C,#F3C6D6 45%,#8EA6F2);flex:none}
}

button.me{cursor:pointer;border-radius:999px;padding:4px 4px 4px 12px;margin:-4px -4px -4px -12px;transition:background .15s}
button.me:active{background:rgba(23,23,27,.06)}

/* Spark button: frosted instead of solid white */
.spark .cta{background:rgba(255,255,255,.7)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 6px 18px rgba(74,40,60,.08)!important}

/* Lesson button, read: same row, green */
.read.is-read.has-sub{background:linear-gradient(90deg,#FBF4D0,#E6F3D3 50%,#CFECD9)!important}
.read .rd-ic.done{background:var(--done-ink)}
.read .rd-ic.done svg{width:15px;height:15px;stroke:#fff}
.read.is-read .rd-t small{color:#2F7D5B}

.read.is-read.has-sub{background:linear-gradient(90deg,rgba(214,242,222,.85),rgba(190,232,206,.75))!important}
.read .rd-ic.done{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95))!important;border:1.5px solid rgba(255,255,255,.9)}
.read .rd-ic.done svg{stroke:#1F6B49}

/* Lesson list: frosted green checks */
.lsl-r .tick{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95))!important;border:1.5px solid rgba(255,255,255,.9)}
.lsl-r .tick svg{stroke:#1F6B49}

/* Menu intro card: more solid so the preview reads clearly */
.mintro .mi-tease{background:rgba(255,255,255,.82)!important}
.mintro .mt-row{background:rgba(23,23,27,.08)!important}

/* ---------- Badges ---------- */
.badges .panel-head{align-items:center}
.bd-fam{margin-top:16px}
.bd-lab{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--soft);margin:0 0 8px}
.bd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bd{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px 12px;border-radius:18px;background:var(--fill);text-align:center;transition:transform .12s}
.bd:active{transform:scale(.97)}
.bd-ic{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#E9E5DE}
.bd-ic svg{width:22px;height:22px;fill:none;stroke:#B4B0A9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bd.on .bd-ic{background:linear-gradient(135deg,#F9B08C,#F3C6D6 45%,#8EA6F2);box-shadow:0 6px 16px rgba(74,40,60,.14)}
.bd.on .bd-ic svg{stroke:#fff}
.bd-n{font-size:12.5px;font-weight:600;color:#B4B0A9;line-height:1.25}
.bd.on .bd-n{color:var(--ink)}
.bd-sheet{text-align:center}
.bd-sheet .bd-ic.big{width:84px;height:84px;margin:6px auto 16px}
.bd-sheet .bd-ic.big svg{width:38px;height:38px}
.bd-sheet .bd-ic.big.on{background:linear-gradient(135deg,#F9B08C,#F3C6D6 45%,#8EA6F2);box-shadow:0 10px 30px rgba(74,40,60,.18)}
.bd-sheet .bd-ic.big.on svg{stroke:#fff}
.bd-sheet h2{font-size:30px}
.bd-sheet > p{color:var(--soft)}
@container app (min-width:700px){ .bd-grid{grid-template-columns:repeat(6,minmax(0,1fr))} }

.bd{background:rgba(255,255,255,.45)!important;border:1px solid rgba(255,255,255,.7)}
.bd-ic{background:rgba(255,255,255,.55)}

/* ---------- Earned badges: medal look ---------- */
.bd{position:relative;overflow:hidden}
.bd.on{background:linear-gradient(160deg,#FFF6F0,#F6EFF5 55%,#EEF0FC)}
.bd.on .bd-ic{position:relative;width:52px;height:52px;background:conic-gradient(from 210deg,#F78A5A,#F6B5C3,#B6C3F5,#F6B5C3,#F78A5A);box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(247,138,90,.35),0 10px 22px rgba(74,40,60,.18),inset 0 -6px 12px rgba(0,0,0,.08),inset 0 6px 12px rgba(255,255,255,.55)}
.bd.on .bd-ic::before{content:"";position:absolute;inset:6px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);pointer-events:none}
.bd.on .bd-ic::after{content:"";position:absolute;left:-40%;top:-60%;width:60%;height:220%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0));transform:rotate(25deg);animation:shine 5s ease-in-out infinite;pointer-events:none}
.bd.on .bd-ic svg{stroke:#fff;stroke-width:1.9;filter:drop-shadow(0 1px 1px rgba(74,40,60,.35));position:relative;z-index:1}
.bd.on .bd-n{color:var(--ink)}
.bd.on .bd-sp{position:absolute;width:10px;height:10px;color:#F9B08C;opacity:0;animation:twk 3.2s ease-in-out infinite}
.bd.on .bd-sp svg{width:10px;height:10px;fill:currentColor;stroke:none;display:block}
.bd.on .bd-sp.a{top:8px;right:10px;animation-delay:.4s}
.bd.on .bd-sp.b{bottom:34px;left:9px;color:#8EA6F2;width:7px;height:7px;animation-delay:1.7s}
.bd.on .bd-sp.b svg{width:7px;height:7px}
@keyframes shine{0%,60%{left:-40%}100%{left:120%}}
.bd-sheet .bd-ic.big.on{background:conic-gradient(from 210deg,#F78A5A,#F6B5C3,#B6C3F5,#F6B5C3,#F78A5A)!important;box-shadow:0 0 0 4px #fff,0 0 0 5.5px rgba(247,138,90,.35),0 16px 36px rgba(74,40,60,.22),inset 0 -8px 16px rgba(0,0,0,.08),inset 0 8px 16px rgba(255,255,255,.55)!important;position:relative;overflow:hidden}
.bd-sheet .bd-ic.big.on::before{content:"";position:absolute;inset:9px;border-radius:50%;border:2px solid rgba(255,255,255,.7)}
.bd-sheet .bd-ic.big.on::after{content:"";position:absolute;left:-40%;top:-60%;width:60%;height:220%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0));transform:rotate(25deg);animation:shine 4s ease-in-out infinite}
.bd-sheet .bd-ic.big.on svg{filter:drop-shadow(0 1px 2px rgba(74,40,60,.35));position:relative;z-index:1}
.bd .bd-ic{transition:transform .15s}
.bd:active .bd-ic{transform:scale(.94)}
@media (prefers-reduced-motion:reduce){.bd.on .bd-ic::after,.bd.on .bd-sp,.bd-sheet .bd-ic.big.on::after{animation:none}}

/* Badges: no inner ring, shimmer stays on the medal only */
.bd.on .bd-ic::before,.bd-sheet .bd-ic.big.on::before{display:none}
.bd.on .bd-sp{display:none}

.bd.on .bd-ic{overflow:hidden;isolation:isolate}

/* Badge tooltips on hover (or tap) */
.bd{overflow:visible!important;cursor:default;outline:none}
.bd:active{transform:none!important}
.bd-tip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);width:190px;padding:10px 12px;border-radius:12px;background:rgba(23,23,27,.94);color:#fff;font-size:12.5px;line-height:1.4;text-align:left;box-shadow:0 10px 26px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .15s,translate .15s;translate:0 4px;z-index:20}
.bd-tip b{display:block;font-size:13px;margin-bottom:2px}
.bd-tip small{display:block;margin-top:5px;font-size:11px;color:rgba(255,255,255,.65)}
.bd-tip::after{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-top-color:rgba(23,23,27,.94)}
.bd:hover .bd-tip,.bd:focus .bd-tip,.bd:focus-within .bd-tip{opacity:1;translate:0 0}
.bd-grid > :nth-child(3n+1) .bd-tip{left:0;transform:none}
.bd-grid > :nth-child(3n+1) .bd-tip::after{left:28px}
.bd-grid > :nth-child(3n) .bd-tip{left:auto;right:0;transform:none}
.bd-grid > :nth-child(3n) .bd-tip::after{left:auto;right:22px}
@container app (min-width:700px){
  .bd-grid > :nth-child(3n+1) .bd-tip,.bd-grid > :nth-child(3n) .bd-tip{left:50%;right:auto;transform:translateX(-50%)}
  .bd-grid > :nth-child(3n+1) .bd-tip::after,.bd-grid > :nth-child(3n) .bd-tip::after{left:50%;right:auto}
  .bd-grid > :nth-child(6n+1) .bd-tip{left:0;transform:none}
  .bd-grid > :nth-child(6n+1) .bd-tip::after{left:28px}
  .bd-grid > :nth-child(6n) .bd-tip{left:auto;right:0;transform:none}
  .bd-grid > :nth-child(6n) .bd-tip::after{left:auto;right:22px}
}
.bd-fam:nth-of-type(2) .bd-grid .bd-tip{bottom:auto;top:calc(100% + 8px);translate:0 -4px}
.bd-fam:nth-of-type(2) .bd-grid .bd:hover .bd-tip,.bd-fam:nth-of-type(2) .bd-grid .bd:focus .bd-tip{translate:0 0}
.bd-fam:nth-of-type(2) .bd-grid .bd-tip::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:rgba(23,23,27,.94)}

/* ---------- Badge shape: scalloped, like a real badge ---------- */
.bd-ic{background:none!important;box-shadow:none!important;overflow:visible!important;border-radius:0!important;filter:drop-shadow(0 6px 10px rgba(74,40,60,.16))}
.bd-ic::after{content:"";position:absolute;inset:-3px;clip-path:polygon(50.0% 0.0%,59.7% 7.6%,71.7% 5.0%,77.1% 16.0%,89.1% 18.8%,89.2% 31.1%,98.7% 38.9%,93.5% 50.0%,98.7% 61.1%,89.2% 68.9%,89.1% 81.2%,77.1% 84.0%,71.7% 95.0%,59.7% 92.4%,50.0% 100.0%,40.3% 92.4%,28.3% 95.0%,22.9% 84.0%,10.9% 81.2%,10.8% 68.9%,1.3% 61.1%,6.5% 50.0%,1.3% 38.9%,10.8% 31.1%,10.9% 18.8%,22.9% 16.0%,28.3% 5.0%,40.3% 7.6%);background:#fff;z-index:0;display:block;left:-3px;top:-3px;width:auto;height:auto;transform:none;animation:none}
.bd-ic::before{content:"";position:absolute;inset:0;clip-path:polygon(50.0% 0.0%,59.7% 7.6%,71.7% 5.0%,77.1% 16.0%,89.1% 18.8%,89.2% 31.1%,98.7% 38.9%,93.5% 50.0%,98.7% 61.1%,89.2% 68.9%,89.1% 81.2%,77.1% 84.0%,71.7% 95.0%,59.7% 92.4%,50.0% 100.0%,40.3% 92.4%,28.3% 95.0%,22.9% 84.0%,10.9% 81.2%,10.8% 68.9%,1.3% 61.1%,6.5% 50.0%,1.3% 38.9%,10.8% 31.1%,10.9% 18.8%,22.9% 16.0%,28.3% 5.0%,40.3% 7.6%);background:#E4E0D9;z-index:1;display:block;border:0}
.bd.on .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,conic-gradient(from 210deg,#F78A5A,#F6B5C3,#B6C3F5,#F6B5C3,#F78A5A);animation:shine2 5s ease-in-out infinite}
.bd.on .bd-ic::after{background:#fff}
.bd:not(.on) .bd-ic::after{background:#F3F0EB}
.bd-ic svg{position:relative;z-index:2}
.bd.on .bd-ic{filter:drop-shadow(0 8px 14px rgba(74,40,60,.22))}
@keyframes shine2{0%,55%{background-position:200% 0,0 0}100%{background-position:-100% 0,0 0}}
.bd-sheet .bd-ic.big{filter:drop-shadow(0 12px 22px rgba(74,40,60,.22))}
.bd-sheet .bd-ic.big.on::after{inset:-4px;background:#fff;left:-4px;top:-4px}
.bd-sheet .bd-ic.big.on::before{inset:0}
@media (prefers-reduced-motion:reduce){.bd.on .bd-ic::before{animation:none}}

.bd.on .bd-ic::before,.bd-sheet .bd-ic.big.on::before{display:block!important;left:0;top:0;right:0;bottom:0;width:auto;height:auto;border:0;border-radius:0}
.bd.on .bd-ic::after,.bd-sheet .bd-ic.big.on::after{left:-3px;top:-3px;right:-3px;bottom:-3px;width:auto;height:auto;transform:none;animation:none;background:#fff}
.bd-sheet .bd-ic.big.on::after{left:-4px;top:-4px;right:-4px;bottom:-4px}
.bd-sheet .bd-ic.big.on{background:none!important;box-shadow:none!important;overflow:visible!important;border-radius:0!important}

/* Badge tooltip: frosted gray */
.bd-tip{background:rgba(236,235,233,.88)!important;color:var(--ink)!important;-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);border:1px solid rgba(255,255,255,.8);box-shadow:0 10px 26px rgba(74,40,60,.16)!important}
.bd-tip small{color:var(--soft)!important}
.bd-tip::after{border-top-color:rgba(236,235,233,.92)!important}
.bd-fam:nth-of-type(2) .bd-grid .bd-tip::after{border-top-color:transparent!important;border-bottom-color:rgba(236,235,233,.92)!important}

.bd-tip{visibility:hidden;transition:opacity .15s,translate .15s,visibility 0s .15s}
.bd:hover .bd-tip,.bd:focus .bd-tip,.bd:focus-within .bd-tip{visibility:visible;transition-delay:0s}

.bd-tip{display:none}
.bd:hover .bd-tip,.bd:focus .bd-tip,.bd:focus-within .bd-tip{display:block;animation:rvin .15s ease both}

/* Review pop-up */

/* ---------- Badge reveal ---------- */
.shell .tabs button{position:relative}
.bd-newtag{color:#E07A45;font-weight:600}
.bdo{position:absolute;inset:0;z-index:30;background:rgba(252,251,248,0);transition:background .4s}
.bdo.show{background:rgba(252,251,248,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.bdo.out{background:rgba(252,251,248,0);-webkit-backdrop-filter:none;backdrop-filter:none}
.bdo .bdo-medal{position:absolute;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;display:block;z-index:3;transform-origin:center;pointer-events:none}
.bdo .bdo-medal .bd-ic{width:100%!important;height:100%!important;margin:0}
.bdo-glow{position:absolute;width:280px;height:280px;margin:-140px 0 0 -140px;border-radius:50%;background:radial-gradient(closest-side,rgba(249,176,140,.55),rgba(243,183,196,.35) 55%,rgba(142,166,242,0));filter:blur(10px);opacity:0;transform:scale(.6);transition:opacity .5s,transform .6s;z-index:1}
.bdo.show .bdo-glow{opacity:1;transform:scale(1)}
.bdo-sp{position:absolute;width:0;height:0;z-index:2;opacity:0;transition:opacity .3s .3s}
.bdo.show .bdo-sp{opacity:1}
.bdo-sp i{position:absolute;left:-7px;top:-7px;width:14px;height:14px;color:#F9B08C;transform:rotate(var(--a)) translateY(-96px);animation:twk 2.4s ease-in-out infinite}
.bdo-sp i:nth-child(even){color:#8EA6F2;animation-delay:.8s}
.bdo-sp i svg{width:14px;height:14px;fill:currentColor;display:block}
.bdo-text{position:absolute;left:0;right:0;text-align:center;padding:0 28px;opacity:0;transform:translateY(10px);transition:opacity .4s .25s,transform .4s .25s;z-index:4}
.bdo.show .bdo-text{opacity:1;transform:none}
.bdo-text .meta{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#E07A45;margin:0 0 6px}
.bdo-text h2{font-family:"Instrument Serif",serif;font-weight:400;font-size:34px;line-height:1.05}
.bdo-text p{color:var(--soft);margin-top:8px;font-size:15.5px;max-width:34ch;margin-inline:auto}
.bdo-text .btn{margin-top:22px;min-width:140px}
.bd.just-in .bd-ic{animation:ckpop .5s cubic-bezier(.3,1.6,.5,1) both}

/* ---------- Badge colors: one per step ---------- */
.bd.on.t1 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FBC5A6,#F78A5A)}
.bd.on.t2 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F9C9D5,#E8809F)}
.bd.on.t3 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#DCCBF4,#A88BE0)}
.bd.on.t4 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#C0CCF7,#7E97EE)}
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F6DE95,#DDA24A)}
.bd.on.t6 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#8B6FBF,#4A3878)}
.bd.on.t6 .bd-ic::after{background:linear-gradient(135deg,#F6DE95,#DDA24A)}
.bd.on.t0 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,conic-gradient(from 210deg,#F78A5A,#F6B5C3,#B6C3F5,#F6B5C3,#F78A5A)}

/* Check-in: starting point shown up front and on every slider */
.sp-card{margin-top:16px;padding:14px 16px;border-radius:18px;background:linear-gradient(115deg,rgba(251,227,214,.7),rgba(244,230,236,.6) 50%,rgba(228,232,251,.7))}
.sp-k{font-size:11.5px!important;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#D9693A;margin:0 0 8px!important;line-height:1.4!important}
.sp-row{display:grid;grid-template-columns:1fr 90px auto;align-items:center;gap:12px;padding:6px 0;font-size:14px}
.sp-row b{font-family:"Instrument Serif",serif;font-weight:400;font-size:18px;min-width:44px;text-align:right}
.sp-bar{height:6px;border-radius:6px;background:rgba(255,255,255,.7);overflow:hidden}
.sp-bar i{display:block;height:100%;border-radius:6px;background:#E07A45}
.q-base{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;color:var(--soft);margin-top:6px}
.q-base b{color:var(--ink)}
.q-base em{font-style:normal;font-weight:600;padding:2px 8px;border-radius:999px;font-size:12.5px}
.q-base em.up{background:var(--done);color:var(--done-ink)}
.q-base em.down{background:#F6E1DA;color:#B54E2B}
.rng{position:relative}
.rng-mark{position:absolute;top:50%;width:2px;height:16px;margin:-8px 0 0 -1px;background:#E07A45;border-radius:2px;pointer-events:none;opacity:.8}
.rng input{position:relative;z-index:1}

/* Previous sparks link on the spark card */
.sp-prev{display:block;width:100%;text-align:center;margin-top:12px;font-size:14px;font-weight:600;color:var(--soft);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(126,124,134,.4)}
.spark.is-done .sp-prev{color:var(--soft);text-decoration-color:rgba(126,124,134,.4)}

/* ---------- Badge metals: bronze → silver → gold → rose gold → platinum → holographic ---------- */
.bd.on.t1 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#E8B48E,#B96F3E)}
.bd.on.t2 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F4F4F6,#B3B6BF)}
.bd.on.t3 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F8E49C,#D9A53C)}
.bd.on.t4 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F7D2C8,#D67F66)}
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FAFBFE,#C3CEE4)}
.bd.on.t6 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,conic-gradient(from 200deg,#F78A5A,#F6E39A,#B6E8D5,#B6C3F5,#E0B3F0,#F6B5C3,#F78A5A)}
.bd.on.t6 .bd-ic::after{background:linear-gradient(135deg,#F8E49C,#D9A53C)}
.bd.on.t0 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F9B6A3,#E9A9C4 55%,#B7C3F3)}
.bd.on.t2 .bd-ic svg,.bd.on.t5 .bd-ic svg{stroke:#4A4852;filter:drop-shadow(0 1px 1px rgba(255,255,255,.7))}
.bd.on.t3 .bd-ic svg{stroke:#6B4A12;filter:drop-shadow(0 1px 1px rgba(255,255,255,.5))}
.bd.on.t1 .bd-ic svg,.bd.on.t4 .bd-ic svg,.bd.on.t6 .bd-ic svg,.bd.on.t0 .bd-ic svg{stroke:#fff}

/* Diamond finish */
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.9) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FFFFFF 0%,#E3F0FB 35%,#BFD6F2 60%,#E9F2FC 100%)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#F5FAFF,#B9CFEA)}
.bd.on.t5 .bd-ic svg{stroke:#3B4F6E}

/* Pearl finish */
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.95) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FFFFFF 0%,#FBEFF1 30%,#EFE6F6 55%,#F6ECE4 78%,#FFFFFF 100%)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#FFFFFF,#E9DDEB)}
.bd.on.t5 .bd-ic svg{stroke:#6A5670;filter:drop-shadow(0 1px 1px rgba(255,255,255,.9))}

/* Pearl: a touch deeper, darker rim, stronger shadow so it stands off the background */
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.95) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FDF9FA 0%,#F3DCE6 30%,#E2D3F1 55%,#F3E2D6 78%,#FBF7F4 100%)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#EFE3EA,#C9B9D6)}
.bd.on.t5 .bd-ic{filter:drop-shadow(0 8px 14px rgba(74,40,60,.28))}

/* Platinum finish */
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.9) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F7F7F9 0%,#D9DBE2 35%,#B9BCC7 60%,#E4E6EC 100%)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#FFFFFF,#C4C7D1)}
.bd.on.t5 .bd-ic svg{stroke:#3E4250;filter:drop-shadow(0 1px 1px rgba(255,255,255,.8))}
.bd.on.t5 .bd-ic{filter:drop-shadow(0 8px 14px rgba(40,40,60,.28))}

/* Platinum, deeper blue-steel */
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#8E9BB8 0%,#5B6A8F 40%,#3E4B6E 70%,#7784A6 100%)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#D6DCEA,#8F9BB8)}
.bd.on.t5 .bd-ic svg{stroke:#fff;filter:drop-shadow(0 1px 1px rgba(20,25,45,.4))}
.bd.on.t5 .bd-ic{filter:drop-shadow(0 8px 14px rgba(30,40,70,.3))}

/* Iridescent finish: soft shifting pastels, lighter than the rainbow tier */
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.85) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,rgba(255,255,255,.35),rgba(255,255,255,0) 60%),conic-gradient(from 160deg,#CFE9F5,#D9D2F5,#F5D3E3,#F9E4CF,#D6F0DF,#CFE9F5)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#F3EEF8,#C9BFE3)}
.bd.on.t5 .bd-ic svg{stroke:#5A4E70;filter:drop-shadow(0 1px 1px rgba(255,255,255,.8))}
.bd.on.t5 .bd-ic{filter:drop-shadow(0 8px 14px rgba(74,40,60,.26))}

/* Deeper shades so every badge takes a white icon */
.bd.on.t3 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F1CB62,#C98A1E 60%,#E7B848)}
.bd.on.t3 .bd-ic::after{background:linear-gradient(135deg,#F8E3A0,#D9A53C)}
.bd.on.t5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,conic-gradient(from 160deg,#8FC4E6,#A797E3,#E39BC2,#F0B98C,#93CDAF,#8FC4E6)}
.bd.on.t5 .bd-ic::after{background:linear-gradient(135deg,#E9E1F4,#B7A9DD)}
.bd.on.t6 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,conic-gradient(from 200deg,#F0703C,#E5B93A,#5FC59A,#5C8DE8,#B478E0,#E86FA0,#F0703C)}
.bd.on .bd-ic svg{stroke:#fff!important;filter:drop-shadow(0 1px 1.5px rgba(40,30,50,.45))!important}


/* Rainbow badge rim: a pale rainbow instead of gold */
.bd.on.t6 .bd-ic::after,.bd-sheet .bd-ic.big.on.t6::after{background:conic-gradient(from 200deg,#FBD3C2,#F8ECC0,#CDEEDD,#CBD8F7,#E6D0F3,#F9CFDD,#FBD3C2)!important}

/* Milestone rim matches its finish; softer badge shadows */
.bd.on.t0 .bd-ic::after,.bd-sheet .bd-ic.big.on.t0::after{background:linear-gradient(135deg,#FBD8CE,#E9CCE0 55%,#D6DDF8)!important}
.bd.on .bd-ic,.bd.on.t5 .bd-ic{filter:drop-shadow(0 5px 9px rgba(74,40,60,.15))!important}
.bd-sheet .bd-ic.big{filter:drop-shadow(0 8px 16px rgba(74,40,60,.16))!important}

/* Test: white rim on every badge */
.bd.on .bd-ic::after,.bd-sheet .bd-ic.big.on::after,.bd.on.t3 .bd-ic::after,.bd.on.t5 .bd-ic::after,.bd.on.t6 .bd-ic::after,.bd.on.t0 .bd-ic::after,.bd-sheet .bd-ic.big.on.t6::after,.bd-sheet .bd-ic.big.on.t0::after{background:#fff!important}

/* Gold: brighter and richer */
.bd.on.t3 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FFE27A 0%,#F5B92E 45%,#D98F14 75%,#F2C24A 100%)}

/* Milestone badges: six finishes of their own */
.bd.on.tm1 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#7EDDB0,#2A9C6C)}
.bd.on.tm1 .bd-ic::after{background:#fff}
.bd.on.tm1 .bd-ic svg{stroke:#fff}
.bd.on.tm2 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#8FAAF8,#3F5FD8)}
.bd.on.tm2 .bd-ic::after{background:#fff}
.bd.on.tm2 .bd-ic svg{stroke:#fff}
.bd.on.tm3 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#FFAD84,#E8583A)}
.bd.on.tm3 .bd-ic::after{background:#fff}
.bd.on.tm3 .bd-ic svg{stroke:#fff}
.bd.on.tm4 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#F58FA6,#C22E52)}
.bd.on.tm4 .bd-ic::after{background:#fff}
.bd.on.tm4 .bd-ic svg{stroke:#fff}
.bd.on.tm5 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#C9A6F5,#7A4CCB)}
.bd.on.tm5 .bd-ic::after{background:#fff}
.bd.on.tm5 .bd-ic svg{stroke:#fff}
.bd.on.tm6 .bd-ic::before{background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 70%) 0 0/300% 100% no-repeat,linear-gradient(135deg,#7FDBE6,#2591A6)}
.bd.on.tm6 .bd-ic::after{background:#fff}
.bd.on.tm6 .bd-ic svg{stroke:#fff}

/* Photos: same height, a little narrower so they read taller than square */
.feed-t figure{flex-basis:148px!important;width:148px!important}
@container app (min-width:700px){ .feed-t figure{flex-basis:178px!important;width:178px!important} }
@container app (min-width:1000px){ .feed-t figure{flex-basis:198px!important;width:198px!important} }

/* Reveal glow matches the badge color */
.bdo.g-3 .bdo-glow{background:radial-gradient(closest-side,rgba(245,185,46,.6),rgba(255,226,122,.35) 55%,rgba(245,185,46,0))}
.bdo.g-5 .bdo-glow{background:radial-gradient(closest-side,rgba(167,151,227,.55),rgba(143,196,230,.35) 55%,rgba(227,155,194,0))}
.bdo.g-6 .bdo-glow{background:conic-gradient(from 200deg,rgba(240,112,60,.5),rgba(229,185,58,.5),rgba(95,197,154,.5),rgba(92,141,232,.5),rgba(180,120,224,.5),rgba(232,111,160,.5),rgba(240,112,60,.5));-webkit-mask:radial-gradient(closest-side,#000 40%,transparent);mask:radial-gradient(closest-side,#000 40%,transparent)}
.bdo.g-m1 .bdo-glow{background:radial-gradient(closest-side,rgba(42,156,108,.5),rgba(126,221,176,.3) 55%,rgba(42,156,108,0))}
.bdo.g-m2 .bdo-glow{background:radial-gradient(closest-side,rgba(63,95,216,.5),rgba(143,170,248,.3) 55%,rgba(63,95,216,0))}
.bdo.g-m3 .bdo-glow{background:radial-gradient(closest-side,rgba(232,88,58,.5),rgba(255,173,132,.3) 55%,rgba(232,88,58,0))}
.bdo.g-m4 .bdo-glow{background:radial-gradient(closest-side,rgba(194,46,82,.5),rgba(245,143,166,.3) 55%,rgba(194,46,82,0))}
.bdo.g-m5 .bdo-glow{background:radial-gradient(closest-side,rgba(122,76,203,.5),rgba(201,166,245,.3) 55%,rgba(122,76,203,0))}
.bdo.g-m6 .bdo-glow{background:radial-gradient(closest-side,rgba(37,145,166,.5),rgba(127,219,230,.3) 55%,rgba(37,145,166,0))}


/* You tab: soft borders on the inputs and selections */
.ycol .mine li,.ycol .rw-li,.ycol .seg,.ycol .chip{border:1px solid rgba(60,60,67,.12)!important;box-shadow:0 2px 8px rgba(74,40,60,.05)!important}
.ycol .switch .track{box-shadow:inset 0 0 0 1px rgba(60,60,67,.12),0 2px 8px rgba(74,40,60,.05)}
.ycol .seg{padding:3px}
.ycol .seg button.on{box-shadow:0 2px 6px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.05)!important}
.ycol .panel .btn.ghost,.ycol .panel .btn.soft{border:1px solid rgba(60,60,67,.14)!important;box-shadow:0 2px 8px rgba(74,40,60,.05)!important}
.testing .chip{border:1px solid rgba(60,60,67,.14)!important}

/* You tab: light gray fills on the inputs and selections */
.ycol .mine li,.ycol .rw-li,.ycol .seg,.ycol .chip,.ycol .panel .btn.ghost,.ycol .panel .btn.soft{background:#EFEDEA!important;border-color:rgba(60,60,67,.14)!important}
.ycol .seg button.on{background:var(--ink)!important;color:#fff!important}
.ycol .switch .track{background:#E2DFDB}
.ycol .switch.on .track{background:var(--done-ink)}

/* You tab: no borders on the inputs; Change buttons back to white */
.ycol .mine li,.ycol .rw-li,.ycol .seg,.ycol .chip{border:0!important;box-shadow:none!important}
.ycol .panel .btn.ghost,.ycol .panel .btn.soft{background:rgba(255,255,255,.7)!important;border:1px solid rgba(60,60,67,.14)!important;box-shadow:0 2px 8px rgba(74,40,60,.05)!important}
.ycol .switch .track{box-shadow:none}

/* Menu card header: matches the other cards */
.mm-head2{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-top:18px}
.mm-head2 h2{font-family:"Instrument Serif",serif;font-weight:400;font-size:24px;line-height:1.1;margin:0}
.mm-head2 .sub{font-size:14.5px;color:var(--soft);margin-top:6px;line-height:1.45;max-width:none;padding-right:8px}
.mm-head2 .mm-edit{padding-top:6px}
.mymenu .mm-pick{margin:18px 0 14px}
.mm-grid{margin-top:8px}
@container app (min-width:1000px){ .mymenu .mm-pick{width:auto;display:inline-flex!important} }

/* Add to your menu: cream so it reads as a button */
.mm-foot{background:linear-gradient(90deg,rgba(253,231,218,.9),rgba(247,233,236,.85) 50%,rgba(230,234,253,.9))!important;border-top:1px solid rgba(255,255,255,.7)!important;color:var(--ink)!important}
.mm-foot:active{filter:brightness(.97)}

/* Today checklist footer: same wash as the menu bar */
.rc2-foot.tf{background:linear-gradient(90deg,rgba(253,231,218,.9),rgba(247,233,236,.85) 50%,rgba(230,234,253,.9))!important;border-top:1px solid rgba(255,255,255,.7)!important}
.tf .tring .rt{stroke:rgba(255,255,255,.7)}

/* 1. Habits footer turns green when all six are done */
.rc2.is-complete .rc2-foot.tf{background:linear-gradient(90deg,rgba(251,244,208,.95),rgba(230,243,211,.9) 50%,rgba(207,236,217,.95))!important}

/* 2. Badge reveal: plain soft shadow instead of a colored glow; text centered */
.bdo .bdo-glow{background:radial-gradient(closest-side,rgba(74,40,60,.16),rgba(74,40,60,.06) 55%,rgba(74,40,60,0))!important;-webkit-mask:none!important;mask:none!important;filter:blur(14px)}
.bdo-text,.bdo-text .meta,.bdo-text h2,.bdo-text p{text-align:center!important}
.bdo-text .meta{width:100%;display:block}

/* 3. Selected ideas in the add-to-menu pop-up show the gradient */
.mp.on{background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD)!important;border-color:var(--ink)!important}

/* 4. Tooltips: hover on desktop, tap on phones (auto-hides) */
@media (hover: none){
  .bd:hover .bd-tip,.bd:focus .bd-tip,.bd:focus-within .bd-tip{display:none}
  .bd.tip .bd-tip{display:block;animation:rvin .15s ease both}
}

/* Add to your menu: white with a light border */
.mm-foot{background:#fff!important;border-top:1px solid rgba(60,60,67,.12)!important}
.mm-foot:active{background:#F5F3F0!important;filter:none}

/* ---------- Lesson reader: a full page, not a sheet ---------- */
.reader{position:absolute;inset:0;z-index:20;background:var(--wash);overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column}
.reader.enter{animation:readin .32s cubic-bezier(.2,.9,.3,1)}
@keyframes readin{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.rd-hero{position:relative;flex:none;height:min(42vh,330px);background:#EEE center/cover no-repeat}
.rd-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,0) 30%,rgba(252,251,248,0) 70%,var(--wash) 100%)}
.rd-close{position:absolute;top:calc(14px + env(safe-area-inset-top));left:16px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:grid;place-items:center;z-index:2;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.rd-close svg{width:15px;height:15px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.rd-body{flex:1;padding:6px 26px 24px;max-width:600px;width:100%;margin:0 auto}
.rd-body .rd-k{font-size:12px;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#D9693A;margin:0 0 10px}
.rd-body h1{font-family:"Instrument Serif",serif;font-weight:400;font-size:36px;line-height:1.08;letter-spacing:-.01em;margin:0 0 14px}
.rd-line{height:3px;border-radius:3px;background:rgba(23,23,27,.08);margin:0 0 22px;overflow:hidden}
.rd-line i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#F78A5A,#F3B7C4 55%,#8EA6F2)}
.rd-body p{font-size:17px;line-height:1.7;color:#2E2D33;margin:0 0 18px}
.rd-foot{flex:none;padding:12px 26px calc(22px + env(safe-area-inset-bottom));max-width:600px;width:100%;margin:0 auto;display:grid;gap:12px;background:linear-gradient(180deg,rgba(252,251,248,0),var(--wash) 30%)}
.rd-prev{text-align:center;font-size:14.5px;font-weight:600;color:var(--soft);text-decoration:underline;text-underline-offset:4px}
@container app (min-width:1000px){ .reader{left:0} .rd-hero{height:300px} .rd-body{max-width:680px;padding:10px 40px 30px} .rd-foot{max-width:680px} }

/* ---------- Lesson reader: editorial ---------- */
.reader.art .rd-hero{height:min(46vh,380px)}
.rd-cap{position:absolute;right:14px;bottom:26px;font-family:"Newsreader",Georgia,serif;font-style:italic;font-size:12.5px;color:rgba(255,255,255,.9);text-shadow:0 1px 8px rgba(0,0,0,.35);max-width:60%;text-align:right;line-height:1.3}
.reader.art .rd-body{padding:4px 30px 28px;max-width:560px}
.reader.art .rd-body h1{font-size:44px;line-height:1;letter-spacing:-.02em;margin:0 0 14px;text-wrap:balance}
.reader.art .rd-body .rd-deck{font-family:"Newsreader",Georgia,serif;font-style:italic;font-size:20px;line-height:1.35;color:#4A4852;margin:0 0 16px}
.reader.art .rd-body .rd-meta{font-family:"Figtree",system-ui,sans-serif;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--soft);margin:0 0 26px;padding-bottom:14px;border-bottom:1px solid rgba(23,23,27,.12)}
.reader.art .rd-body p{font-family:"Newsreader",Georgia,serif;font-size:18.5px;line-height:1.72;color:#26252B;margin:0 0 22px;max-width:34em}
.reader.art .rd-body p.rd-first::first-letter{font-family:"Instrument Serif",serif;font-size:74px;line-height:.78;float:left;padding:8px 8px 0 0;color:var(--ink)}
.rd-quote{margin:30px 0;padding:18px 0;border-top:1px solid rgba(23,23,27,.14);border-bottom:1px solid rgba(23,23,27,.14);font-family:"Instrument Serif",serif;font-style:italic;font-size:25px;line-height:1.25;text-align:center;color:var(--ink)}
.reader.art .rd-body .rd-end{margin:6px 0 26px;text-align:left}
.rd-end i{display:inline-block;width:11px;height:11px;border-radius:50%;background:linear-gradient(135deg,#F9B08C,#F3C6D6 45%,#8EA6F2)}
.reader.art .rd-body .rd-next{font-family:"Figtree",system-ui,sans-serif;font-size:15px;color:var(--ink);margin:0;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.8)}
.rd-next small{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#D9693A;margin-bottom:3px}
.reader.art .rd-foot{max-width:560px}
.reader.art .rd-line{display:none}
@container app (min-width:700px){ .reader.art .rd-body{max-width:640px;padding:10px 44px 32px} .reader.art .rd-body h1{font-size:52px} .reader.art .rd-foot{max-width:640px} }

/* Headline spans the full width; no deck, caption, end mark or teaser */
.reader.art .rd-body h1{text-wrap:wrap;max-width:none;font-size:clamp(33px,9.4vw,44px);line-height:1.06;margin-bottom:18px}
.reader.art .rd-body{max-width:none}
.reader.art .rd-body p{max-width:none}
@container app (min-width:700px){ .reader.art .rd-body{max-width:640px} .reader.art .rd-body h1{font-size:46px} }

/* Lesson reader on desktop: an article column */
@container app (min-width:1000px){
  .reader.art{padding-top:28px}
  .reader.art .rd-hero{width:min(760px,calc(100% - 80px));height:400px;margin:0 auto;border-radius:26px;background-position:center center;box-shadow:0 18px 44px rgba(74,40,60,.14)}
  .reader.art .rd-hero::after{display:none}
  .reader.art .rd-close{position:fixed;top:22px;left:22px}
  .reader.art .rd-body{max-width:760px;padding:34px 40px 28px}
  .reader.art .rd-body h1{margin-bottom:16px}
  .reader.art .rd-body p{font-size:20px;line-height:1.7}
  .reader.art .rd-foot{max-width:760px}
}

/* Trophy case: barely-there shadows */
.bd .bd-ic,.bd.on .bd-ic,.bd.on.t5 .bd-ic{filter:drop-shadow(0 2px 3px rgba(74,40,60,.08))!important}
.bd{box-shadow:none!important}
.bd-sheet .bd-ic.big{filter:drop-shadow(0 4px 8px rgba(74,40,60,.1))!important}

/* ======= Follows the phone: dark when the phone is in dark mode (including automatic at night) ======= */
@media (prefers-color-scheme: dark){
html:not([data-theme="light"]){--ink:#F2EEF4;--soft:#9A94A6;--line:rgba(255,255,255,.08);--wash:#121019;--fill:rgba(255,255,255,.06);
  --done:linear-gradient(115deg,rgba(120,200,160,.22),rgba(92,190,150,.16));--done-sm:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.16));--done-ink:#8FE0B8;
  --grad:linear-gradient(135deg,rgba(247,138,90,.18),rgba(243,183,196,.12) 50%,rgba(142,166,242,.18));--card-shadow:0 18px 50px rgba(0,0,0,.35)}
html:not([data-theme="light"]),html:not([data-theme="light"]) body,html:not([data-theme="light"]) .shell{background:#121019!important;color:var(--ink)}
html:not([data-theme="light"]) .shell::before{background:radial-gradient(closest-side,rgba(247,138,90,.22),rgba(247,138,90,0))!important}
html:not([data-theme="light"]) .shell::after{background:radial-gradient(closest-side,rgba(142,166,242,.2),rgba(142,166,242,0))!important}
html:not([data-theme="light"]) .panel,html:not([data-theme="light"]) .rc2,html:not([data-theme="light"]) .mymenu,html:not([data-theme="light"]) .rcard,html:not([data-theme="light"]) .note-bar,html:not([data-theme="light"]) .pcard,html:not([data-theme="light"]) .mi-tease,html:not([data-theme="light"]) .sheet{background:rgba(30,27,40,.62)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 18px 50px rgba(0,0,0,.35)!important}
html:not([data-theme="light"]) .sheet{background:rgba(26,23,35,.94)!important}
html:not([data-theme="light"]) .scrim{background:rgba(0,0,0,.55)!important}
html:not([data-theme="light"]) .bd,html:not([data-theme="light"]) .lsl-r,html:not([data-theme="light"]) .ls-link,html:not([data-theme="light"]) .q,html:not([data-theme="light"]) .task,html:not([data-theme="light"]) .sp-card,html:not([data-theme="light"]) .chip,html:not([data-theme="light"]) .mp,html:not([data-theme="light"]) .opt,html:not([data-theme="light"]) .field,html:not([data-theme="light"]) .mine li,html:not([data-theme="light"]) .rw-li,html:not([data-theme="light"]) .seg,html:not([data-theme="light"]) .mq-p,html:not([data-theme="light"]) .stat,html:not([data-theme="light"]) .trio > div,html:not([data-theme="light"]) .daystat div,html:not([data-theme="light"]) .ycol .mine li,html:not([data-theme="light"]) .ycol .rw-li,html:not([data-theme="light"]) .ycol .seg,html:not([data-theme="light"]) .ycol .chip{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;color:var(--ink)}
html:not([data-theme="light"]) .ycol ol.mine,html:not([data-theme="light"]) .ol.mine,html:not([data-theme="light"]) ol.mine{background:transparent!important;border:0!important}
html:not([data-theme="light"]) .ycol .mine li *,html:not([data-theme="light"]) .ycol .rw-li *{color:var(--ink)!important}
html:not([data-theme="light"]) .rc2-foot,html:not([data-theme="light"]) .pc-foot,html:not([data-theme="light"]) .rc2-foot.tf,html:not([data-theme="light"]) .mm-foot{background:rgba(255,255,255,.05)!important;border-top:1px solid rgba(255,255,255,.08)!important;color:var(--ink)!important}
html:not([data-theme="light"]) .rc2-foot.tf{background:linear-gradient(90deg,rgba(247,138,90,.14),rgba(243,183,196,.1) 50%,rgba(142,166,242,.14))!important}
html:not([data-theme="light"]) .rc2.is-complete .rc2-foot.tf{background:linear-gradient(90deg,rgba(120,200,160,.2),rgba(92,190,150,.14))!important}
html:not([data-theme="light"]) .cal-hd2,html:not([data-theme="light"]) .read,html:not([data-theme="light"]) .read.has-sub,html:not([data-theme="light"]) .panel.spark,html:not([data-theme="light"]) .panel.spark.bloom{background:linear-gradient(115deg,rgba(247,138,90,.16),rgba(243,183,196,.1) 50%,rgba(142,166,242,.16))!important;color:var(--ink)!important}
html:not([data-theme="light"]) .panel.spark.is-done,html:not([data-theme="light"]) .read.is-read.has-sub{background:linear-gradient(115deg,rgba(120,200,160,.2),rgba(92,190,150,.12))!important}
html:not([data-theme="light"]) .read .rd-ic,html:not([data-theme="light"]) .rc2-r .ic,html:not([data-theme="light"]) .lic,html:not([data-theme="light"]) .ic,html:not([data-theme="light"]) .lsl-d{background:rgba(255,255,255,.08)!important;border:0!important;box-shadow:none!important}
html:not([data-theme="light"]) .rc2-r .ic svg,html:not([data-theme="light"]) .read .rd-ic svg,html:not([data-theme="light"]) .ic svg{stroke:var(--ink)!important}
html:not([data-theme="light"]) .muted,html:not([data-theme="light"]) .sub,html:not([data-theme="light"]) .cnote,html:not([data-theme="light"]) .meta,html:not([data-theme="light"]) .bd-n,html:not([data-theme="light"]) .lsl-t,html:not([data-theme="light"]) .rc2-lab,html:not([data-theme="light"]) .bd-lab{color:var(--soft)}
html:not([data-theme="light"]) .rc2-r .t,html:not([data-theme="light"]) .mrow .mt,html:not([data-theme="light"]) .mm-head2 h2,html:not([data-theme="light"]) .panel h2,html:not([data-theme="light"]) .dl-top b,html:not([data-theme="light"]) h1,html:not([data-theme="light"]) h2,html:not([data-theme="light"]) h3,html:not([data-theme="light"]) .topbar h1,html:not([data-theme="light"]) .me b{color:var(--ink)!important}
html:not([data-theme="light"]) .rc2-r.on .t{color:#7E788A!important}
html:not([data-theme="light"]) .task,html:not([data-theme="light"]) .spark .task{color:#D8D3DE!important}
html:not([data-theme="light"]) .btn{background:#F2EEF4!important;color:#16131E!important;box-shadow:none!important}
html:not([data-theme="light"]) .btn svg{stroke:#16131E}
html:not([data-theme="light"]) .btn.soft,html:not([data-theme="light"]) .btn.ghost,html:not([data-theme="light"]) .spark .cta,html:not([data-theme="light"]) .ycol .panel .btn.ghost,html:not([data-theme="light"]) .ycol .panel .btn.soft{background:rgba(255,255,255,.08)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.14)!important}
html:not([data-theme="light"]) .ycol .seg button.on{background:#F2EEF4!important;color:#16131E!important}
html:not([data-theme="light"]) .ycol .seg button{color:var(--soft)!important;background:transparent!important}
html:not([data-theme="light"]) .rc2-r .ck{border-color:rgba(255,255,255,.28)!important;background:transparent!important}
html:not([data-theme="light"]) .rc2-r.on .ck,html:not([data-theme="light"]) .tick,html:not([data-theme="light"]) .tring.full > span,html:not([data-theme="light"]) .lsl-r .tick,html:not([data-theme="light"]) .read .rd-ic.done,html:not([data-theme="light"]) .panel.spark.is-done .stamp,html:not([data-theme="light"]) .halo .disc{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important;border:1.5px solid rgba(255,255,255,.35)!important;box-shadow:0 0 16px rgba(95,197,150,.25)!important}
html:not([data-theme="light"]) .rc2-r.on .ck svg,html:not([data-theme="light"]) .tick svg,html:not([data-theme="light"]) .read .rd-ic.done svg,html:not([data-theme="light"]) .halo .disc path,html:not([data-theme="light"]) .panel.spark.is-done .stamp svg path,html:not([data-theme="light"]) .tring.full svg path{stroke:#10261C!important}
html:not([data-theme="light"]) .tring .rt{stroke:rgba(255,255,255,.12)!important}
html:not([data-theme="light"]) .dl-bar,html:not([data-theme="light"]) .bigbar,html:not([data-theme="light"]) .cb-t,html:not([data-theme="light"]) .sp-bar,html:not([data-theme="light"]) .rd-line{background:rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .dcell > span,html:not([data-theme="light"]) .jc{background:rgba(255,255,255,.06)!important;color:#8A8497!important;box-shadow:none!important}
html:not([data-theme="light"]) .dcell.done > span{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important;color:#10261C!important}
html:not([data-theme="light"]) .dcell.done > span > svg path{stroke:#10261C!important}
html:not([data-theme="light"]) .dcell.missed > span{background:transparent!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)!important}
html:not([data-theme="light"]) .dcell.today > span{background:transparent!important;box-shadow:inset 0 0 0 2px #F2EEF4!important;color:#F2EEF4!important}
html:not([data-theme="light"]) .shell .tabs{background:rgba(20,17,28,.85)!important;border-color:rgba(255,255,255,.08)!important}
html:not([data-theme="light"]) .shell .tabs button{color:#7E788A!important}
html:not([data-theme="light"]) .shell .tabs button.on{color:#F2EEF4!important}
@container app (min-width:1000px){html:not([data-theme="light"]) .shell .tabs{background:rgba(26,23,35,.85)!important;border:1px solid rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .tabs-logo{color:var(--ink)!important;border-color:rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .shell .side{background:rgba(20,17,28,.85)!important}
}
html:not([data-theme="light"]) .avatar{box-shadow:0 0 0 2px rgba(255,255,255,.12)!important}
html:not([data-theme="light"]) .feed img,html:not([data-theme="light"]) .rd-hero,html:not([data-theme="light"]) .mi-strip img{filter:brightness(.78) saturate(.9)!important}
html:not([data-theme="light"]) .reader,html:not([data-theme="light"]) .reader.art{background:#121019!important}
html:not([data-theme="light"]) .rd-hero::after{background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,0) 30%,rgba(18,16,25,0) 70%,#121019 100%)!important}
html:not([data-theme="light"]) .rd-foot{background:linear-gradient(180deg,rgba(18,16,25,0),#121019 30%)!important}
html:not([data-theme="light"]) .reader.art .rd-body p{color:#D6D1DC!important}
html:not([data-theme="light"]) .reader.art .rd-body .rd-meta,html:not([data-theme="light"]) .rd-quote{border-color:rgba(255,255,255,.12)!important}
html:not([data-theme="light"]) .rd-close{background:rgba(26,23,35,.85)!important}
html:not([data-theme="light"]) .rd-close svg{stroke:#F2EEF4!important}
html:not([data-theme="light"]) .bd:not(.on) .bd-ic::before{background:rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .bd:not(.on) .bd-ic::after{background:rgba(255,255,255,.05)!important}
html:not([data-theme="light"]) .bd:not(.on) .bd-ic svg{stroke:#6E6879!important}
html:not([data-theme="light"]) .bd.on{background:rgba(255,255,255,.08)!important}
html:not([data-theme="light"]) .bd-tip{background:rgba(36,32,48,.95)!important;color:var(--ink)!important;border-color:rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .bdo.show{background:rgba(18,16,25,.8)!important}
html:not([data-theme="light"]) .mp.on{background:linear-gradient(115deg,rgba(247,138,90,.25),rgba(243,183,196,.18) 48%,rgba(142,166,242,.25))!important;border-color:#F2EEF4!important}
html:not([data-theme="light"]) .mp .pl{background:rgba(255,255,255,.12)!important;color:var(--ink)!important}
html:not([data-theme="light"]) .creward{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14))!important;color:var(--ink)!important}
html:not([data-theme="light"]) .field::placeholder{color:#6E6879}
html:not([data-theme="light"]) .halo span{opacity:.45!important}
html:not([data-theme="light"]) .sp-card{background:linear-gradient(115deg,rgba(247,138,90,.14),rgba(142,166,242,.14))!important}
html:not([data-theme="light"]) .toast{background:#F2EEF4!important;color:#16131E!important}
html:not([data-theme="light"]) .pct{filter:brightness(1.2)}
html:not([data-theme="light"]) .rc2-r.two .ic,html:not([data-theme="light"]) .rc2-r.mm .ic{background:rgba(255,255,255,.08)!important}
html:not([data-theme="light"]) .panel-head .btn,html:not([data-theme="light"]) .ycol .panel-head .btn{background:rgba(255,255,255,.08)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important}
html:not([data-theme="light"]) .spark .cta{background:rgba(255,255,255,.1)!important;color:var(--ink)!important}
html:not([data-theme="light"]) .mintro .mi-tease{background:linear-gradient(160deg,rgba(44,38,58,.92),rgba(30,27,42,.92))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 18px 44px rgba(0,0,0,.45)!important}
html:not([data-theme="light"]) .mi-tease::before{border-color:rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .mt-k{color:#B7B0C4!important}
html:not([data-theme="light"]) .mt-h{color:#F2EEF4!important}
html:not([data-theme="light"]) .mt-orn i{background:rgba(255,255,255,.14)!important}
html:not([data-theme="light"]) .mintro .mt-row{background:rgba(255,255,255,.1)!important}
html:not([data-theme="light"]) .mi-glow{opacity:.55;filter:blur(18px)}
html:not([data-theme="light"]) .mintro .mi-copy p,html:not([data-theme="light"]) .mintro p{color:#B9B3C4!important}
html:not([data-theme="light"]) .mintro .mi-copy .mi-q,html:not([data-theme="light"]) .mintro .mi-h{color:#F2EEF4!important}
html:not([data-theme="light"]) .mq-p{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;color:#E6E1EA!important}
html:not([data-theme="light"]) .mintro .btn{background:rgba(255,255,255,.1)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important}
html:not([data-theme="light"]) .btn,html:not([data-theme="light"]) .btn.soft,html:not([data-theme="light"]) .btn.ghost,html:not([data-theme="light"]) .spark .cta,html:not([data-theme="light"]) .mm-pick,html:not([data-theme="light"]) .rd-foot .btn,html:not([data-theme="light"]) .sheet .btn,html:not([data-theme="light"]) .reader .btn,html:not([data-theme="light"]) .mintro .btn,html:not([data-theme="light"]) .bdo-text .btn,html:not([data-theme="light"]) .panel-head .btn,html:not([data-theme="light"]) .ycol .panel .btn{background:rgba(255,255,255,.1)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important}
html:not([data-theme="light"]) .btn svg{stroke:var(--ink)!important}
html:not([data-theme="light"]) .mm-pick svg{fill:#F9B08C!important;stroke:none!important}
html:not([data-theme="light"]) .btn[disabled]{opacity:.4}
html:not([data-theme="light"]) .btn:active{background:rgba(255,255,255,.16)!important}
html:not([data-theme="light"]) .ycol .seg button.on{background:rgba(255,255,255,.16)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)!important}
html:not([data-theme="light"]) .kick,html:not([data-theme="light"]) .ch-k,html:not([data-theme="light"]) .rd-k,html:not([data-theme="light"]) .rd-body .rd-k,html:not([data-theme="light"]) .sp-k,html:not([data-theme="light"]) .bdo-text .meta,html:not([data-theme="light"]) .bd-newtag,html:not([data-theme="light"]) .lsl-new,html:not([data-theme="light"]) .sp-prev,html:not([data-theme="light"]) .spark .sp-prev,html:not([data-theme="light"]) .rd-prev,html:not([data-theme="light"]) .q-base em.down,html:not([data-theme="light"]) .mc-k,html:not([data-theme="light"]) .tf-r .fl,html:not([data-theme="light"]) .kick svg{color:#F4C2AA!important}
html:not([data-theme="light"]) .kick svg,html:not([data-theme="light"]) .spark .kick svg{fill:#F4C2AA!important}
html:not([data-theme="light"]) .sp-prev{text-decoration-color:rgba(244,194,170,.4)!important}
html:not([data-theme="light"]) .dcell .ms,html:not([data-theme="light"]) .mi-spark,html:not([data-theme="light"]) .mm-pick svg,html:not([data-theme="light"]) .bd-sp{color:#F4C2AA!important;fill:#F4C2AA!important}
html:not([data-theme="light"]) .q-base em.down{background:rgba(244,194,170,.14)!important}

html:not([data-theme="light"]) .kicker,html:not([data-theme="light"]) .spark .kicker,html:not([data-theme="light"]) .panel.spark .kicker{color:#F4C2AA!important}
html:not([data-theme="light"]) .kicker svg{fill:#F4C2AA!important;stroke:none}
html:not([data-theme="light"]) .ch-top .ch-k{color:#F4C2AA!important}
html:not([data-theme="light"]) .mdone{background:linear-gradient(180deg,rgba(26,23,35,0) 0%,rgba(26,23,35,.92) 38%,#1A1723 62%)!important;box-shadow:0 12px 0 #1A1723!important}
html:not([data-theme="light"]) .madd .field,html:not([data-theme="light"]) .sheet .field{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important;color:var(--ink)!important}
html:not([data-theme="light"]) .mlab{color:var(--soft)!important}
}
html[data-theme="dark"]{--ink:#F2EEF4;--soft:#9A94A6;--line:rgba(255,255,255,.08);--wash:#121019;--fill:rgba(255,255,255,.06);
  --done:linear-gradient(115deg,rgba(120,200,160,.22),rgba(92,190,150,.16));--done-sm:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.16));--done-ink:#8FE0B8;
  --grad:linear-gradient(135deg,rgba(247,138,90,.18),rgba(243,183,196,.12) 50%,rgba(142,166,242,.18));--card-shadow:0 18px 50px rgba(0,0,0,.35)}
html[data-theme="dark"],html[data-theme="dark"] body,html[data-theme="dark"] .shell{background:#121019!important;color:var(--ink)}
html[data-theme="dark"] .shell::before{background:radial-gradient(closest-side,rgba(247,138,90,.22),rgba(247,138,90,0))!important}
html[data-theme="dark"] .shell::after{background:radial-gradient(closest-side,rgba(142,166,242,.2),rgba(142,166,242,0))!important}
html[data-theme="dark"] .panel,html[data-theme="dark"] .rc2,html[data-theme="dark"] .mymenu,html[data-theme="dark"] .rcard,html[data-theme="dark"] .note-bar,html[data-theme="dark"] .pcard,html[data-theme="dark"] .mi-tease,html[data-theme="dark"] .sheet{background:rgba(30,27,40,.62)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 18px 50px rgba(0,0,0,.35)!important}
html[data-theme="dark"] .sheet{background:rgba(26,23,35,.94)!important}
html[data-theme="dark"] .scrim{background:rgba(0,0,0,.55)!important}
html[data-theme="dark"] .bd,html[data-theme="dark"] .lsl-r,html[data-theme="dark"] .ls-link,html[data-theme="dark"] .q,html[data-theme="dark"] .task,html[data-theme="dark"] .sp-card,html[data-theme="dark"] .chip,html[data-theme="dark"] .mp,html[data-theme="dark"] .opt,html[data-theme="dark"] .field,html[data-theme="dark"] .mine li,html[data-theme="dark"] .rw-li,html[data-theme="dark"] .seg,html[data-theme="dark"] .mq-p,html[data-theme="dark"] .stat,html[data-theme="dark"] .trio > div,html[data-theme="dark"] .daystat div,html[data-theme="dark"] .ycol .mine li,html[data-theme="dark"] .ycol .rw-li,html[data-theme="dark"] .ycol .seg,html[data-theme="dark"] .ycol .chip{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;color:var(--ink)}
html[data-theme="dark"] .ycol ol.mine,html[data-theme="dark"] .ol.mine,html[data-theme="dark"] ol.mine{background:transparent!important;border:0!important}
html[data-theme="dark"] .ycol .mine li *,html[data-theme="dark"] .ycol .rw-li *{color:var(--ink)!important}
html[data-theme="dark"] .rc2-foot,html[data-theme="dark"] .pc-foot,html[data-theme="dark"] .rc2-foot.tf,html[data-theme="dark"] .mm-foot{background:rgba(255,255,255,.05)!important;border-top:1px solid rgba(255,255,255,.08)!important;color:var(--ink)!important}
html[data-theme="dark"] .rc2-foot.tf{background:linear-gradient(90deg,rgba(247,138,90,.14),rgba(243,183,196,.1) 50%,rgba(142,166,242,.14))!important}
html[data-theme="dark"] .rc2.is-complete .rc2-foot.tf{background:linear-gradient(90deg,rgba(120,200,160,.2),rgba(92,190,150,.14))!important}
html[data-theme="dark"] .cal-hd2,html[data-theme="dark"] .read,html[data-theme="dark"] .read.has-sub,html[data-theme="dark"] .panel.spark,html[data-theme="dark"] .panel.spark.bloom{background:linear-gradient(115deg,rgba(247,138,90,.16),rgba(243,183,196,.1) 50%,rgba(142,166,242,.16))!important;color:var(--ink)!important}
html[data-theme="dark"] .panel.spark.is-done,html[data-theme="dark"] .read.is-read.has-sub{background:linear-gradient(115deg,rgba(120,200,160,.2),rgba(92,190,150,.12))!important}
html[data-theme="dark"] .read .rd-ic,html[data-theme="dark"] .rc2-r .ic,html[data-theme="dark"] .lic,html[data-theme="dark"] .ic,html[data-theme="dark"] .lsl-d{background:rgba(255,255,255,.08)!important;border:0!important;box-shadow:none!important}
html[data-theme="dark"] .rc2-r .ic svg,html[data-theme="dark"] .read .rd-ic svg,html[data-theme="dark"] .ic svg{stroke:var(--ink)!important}
html[data-theme="dark"] .muted,html[data-theme="dark"] .sub,html[data-theme="dark"] .cnote,html[data-theme="dark"] .meta,html[data-theme="dark"] .bd-n,html[data-theme="dark"] .lsl-t,html[data-theme="dark"] .rc2-lab,html[data-theme="dark"] .bd-lab{color:var(--soft)}
html[data-theme="dark"] .rc2-r .t,html[data-theme="dark"] .mrow .mt,html[data-theme="dark"] .mm-head2 h2,html[data-theme="dark"] .panel h2,html[data-theme="dark"] .dl-top b,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] .topbar h1,html[data-theme="dark"] .me b{color:var(--ink)!important}
html[data-theme="dark"] .rc2-r.on .t{color:#7E788A!important}
html[data-theme="dark"] .task,html[data-theme="dark"] .spark .task{color:#D8D3DE!important}
html[data-theme="dark"] .btn{background:#F2EEF4!important;color:#16131E!important;box-shadow:none!important}
html[data-theme="dark"] .btn svg{stroke:#16131E}
html[data-theme="dark"] .btn.soft,html[data-theme="dark"] .btn.ghost,html[data-theme="dark"] .spark .cta,html[data-theme="dark"] .ycol .panel .btn.ghost,html[data-theme="dark"] .ycol .panel .btn.soft{background:rgba(255,255,255,.08)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.14)!important}
html[data-theme="dark"] .ycol .seg button.on{background:#F2EEF4!important;color:#16131E!important}
html[data-theme="dark"] .ycol .seg button{color:var(--soft)!important;background:transparent!important}
html[data-theme="dark"] .rc2-r .ck{border-color:rgba(255,255,255,.28)!important;background:transparent!important}
html[data-theme="dark"] .rc2-r.on .ck,html[data-theme="dark"] .tick,html[data-theme="dark"] .tring.full > span,html[data-theme="dark"] .lsl-r .tick,html[data-theme="dark"] .read .rd-ic.done,html[data-theme="dark"] .panel.spark.is-done .stamp,html[data-theme="dark"] .halo .disc{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important;border:1.5px solid rgba(255,255,255,.35)!important;box-shadow:0 0 16px rgba(95,197,150,.25)!important}
html[data-theme="dark"] .rc2-r.on .ck svg,html[data-theme="dark"] .tick svg,html[data-theme="dark"] .read .rd-ic.done svg,html[data-theme="dark"] .halo .disc path,html[data-theme="dark"] .panel.spark.is-done .stamp svg path,html[data-theme="dark"] .tring.full svg path{stroke:#10261C!important}
html[data-theme="dark"] .tring .rt{stroke:rgba(255,255,255,.12)!important}
html[data-theme="dark"] .dl-bar,html[data-theme="dark"] .bigbar,html[data-theme="dark"] .cb-t,html[data-theme="dark"] .sp-bar,html[data-theme="dark"] .rd-line{background:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .dcell > span,html[data-theme="dark"] .jc{background:rgba(255,255,255,.06)!important;color:#8A8497!important;box-shadow:none!important}
html[data-theme="dark"] .dcell.done > span{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important;color:#10261C!important}
html[data-theme="dark"] .dcell.done > span > svg path{stroke:#10261C!important}
html[data-theme="dark"] .dcell.missed > span{background:transparent!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)!important}
html[data-theme="dark"] .dcell.today > span{background:transparent!important;box-shadow:inset 0 0 0 2px #F2EEF4!important;color:#F2EEF4!important}
html[data-theme="dark"] .shell .tabs{background:rgba(20,17,28,.85)!important;border-color:rgba(255,255,255,.08)!important}
html[data-theme="dark"] .shell .tabs button{color:#7E788A!important}
html[data-theme="dark"] .shell .tabs button.on{color:#F2EEF4!important}
@container app (min-width:1000px){html[data-theme="dark"] .shell .tabs{background:rgba(26,23,35,.85)!important;border:1px solid rgba(255,255,255,.1)!important}
html[data-theme="dark"] .tabs-logo{color:var(--ink)!important;border-color:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .shell .side{background:rgba(20,17,28,.85)!important}
}
html[data-theme="dark"] .avatar{box-shadow:0 0 0 2px rgba(255,255,255,.12)!important}
html[data-theme="dark"] .feed img,html[data-theme="dark"] .rd-hero,html[data-theme="dark"] .mi-strip img{filter:brightness(.78) saturate(.9)!important}
html[data-theme="dark"] .reader,html[data-theme="dark"] .reader.art{background:#121019!important}
html[data-theme="dark"] .rd-hero::after{background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,0) 30%,rgba(18,16,25,0) 70%,#121019 100%)!important}
html[data-theme="dark"] .rd-foot{background:linear-gradient(180deg,rgba(18,16,25,0),#121019 30%)!important}
html[data-theme="dark"] .reader.art .rd-body p{color:#D6D1DC!important}
html[data-theme="dark"] .reader.art .rd-body .rd-meta,html[data-theme="dark"] .rd-quote{border-color:rgba(255,255,255,.12)!important}
html[data-theme="dark"] .rd-close{background:rgba(26,23,35,.85)!important}
html[data-theme="dark"] .rd-close svg{stroke:#F2EEF4!important}
html[data-theme="dark"] .bd:not(.on) .bd-ic::before{background:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .bd:not(.on) .bd-ic::after{background:rgba(255,255,255,.05)!important}
html[data-theme="dark"] .bd:not(.on) .bd-ic svg{stroke:#6E6879!important}
html[data-theme="dark"] .bd.on{background:rgba(255,255,255,.08)!important}
html[data-theme="dark"] .bd-tip{background:rgba(36,32,48,.95)!important;color:var(--ink)!important;border-color:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .bdo.show{background:rgba(18,16,25,.8)!important}
html[data-theme="dark"] .mp.on{background:linear-gradient(115deg,rgba(247,138,90,.25),rgba(243,183,196,.18) 48%,rgba(142,166,242,.25))!important;border-color:#F2EEF4!important}
html[data-theme="dark"] .mp .pl{background:rgba(255,255,255,.12)!important;color:var(--ink)!important}
html[data-theme="dark"] .creward{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14))!important;color:var(--ink)!important}
html[data-theme="dark"] .field::placeholder{color:#6E6879}
html[data-theme="dark"] .halo span{opacity:.45!important}
html[data-theme="dark"] .sp-card{background:linear-gradient(115deg,rgba(247,138,90,.14),rgba(142,166,242,.14))!important}
html[data-theme="dark"] .toast{background:#F2EEF4!important;color:#16131E!important}
html[data-theme="dark"] .pct{filter:brightness(1.2)}
html[data-theme="dark"] .rc2-r.two .ic,html[data-theme="dark"] .rc2-r.mm .ic{background:rgba(255,255,255,.08)!important}
html[data-theme="dark"] .panel-head .btn,html[data-theme="dark"] .ycol .panel-head .btn{background:rgba(255,255,255,.08)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important}
html[data-theme="dark"] .spark .cta{background:rgba(255,255,255,.1)!important;color:var(--ink)!important}
html[data-theme="dark"] .mintro .mi-tease{background:linear-gradient(160deg,rgba(44,38,58,.92),rgba(30,27,42,.92))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 18px 44px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .mi-tease::before{border-color:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .mt-k{color:#B7B0C4!important}
html[data-theme="dark"] .mt-h{color:#F2EEF4!important}
html[data-theme="dark"] .mt-orn i{background:rgba(255,255,255,.14)!important}
html[data-theme="dark"] .mintro .mt-row{background:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .mi-glow{opacity:.55;filter:blur(18px)}
html[data-theme="dark"] .mintro .mi-copy p,html[data-theme="dark"] .mintro p{color:#B9B3C4!important}
html[data-theme="dark"] .mintro .mi-copy .mi-q,html[data-theme="dark"] .mintro .mi-h{color:#F2EEF4!important}
html[data-theme="dark"] .mq-p{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;color:#E6E1EA!important}
html[data-theme="dark"] .mintro .btn{background:rgba(255,255,255,.1)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important}
html[data-theme="dark"] .btn,html[data-theme="dark"] .btn.soft,html[data-theme="dark"] .btn.ghost,html[data-theme="dark"] .spark .cta,html[data-theme="dark"] .mm-pick,html[data-theme="dark"] .rd-foot .btn,html[data-theme="dark"] .sheet .btn,html[data-theme="dark"] .reader .btn,html[data-theme="dark"] .mintro .btn,html[data-theme="dark"] .bdo-text .btn,html[data-theme="dark"] .panel-head .btn,html[data-theme="dark"] .ycol .panel .btn{background:rgba(255,255,255,.1)!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important}
html[data-theme="dark"] .btn svg{stroke:var(--ink)!important}
html[data-theme="dark"] .mm-pick svg{fill:#F9B08C!important;stroke:none!important}
html[data-theme="dark"] .btn[disabled]{opacity:.4}
html[data-theme="dark"] .btn:active{background:rgba(255,255,255,.16)!important}
html[data-theme="dark"] .ycol .seg button.on{background:rgba(255,255,255,.16)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)!important}
html[data-theme="dark"] .kick,html[data-theme="dark"] .ch-k,html[data-theme="dark"] .rd-k,html[data-theme="dark"] .rd-body .rd-k,html[data-theme="dark"] .sp-k,html[data-theme="dark"] .bdo-text .meta,html[data-theme="dark"] .bd-newtag,html[data-theme="dark"] .lsl-new,html[data-theme="dark"] .sp-prev,html[data-theme="dark"] .spark .sp-prev,html[data-theme="dark"] .rd-prev,html[data-theme="dark"] .q-base em.down,html[data-theme="dark"] .mc-k,html[data-theme="dark"] .tf-r .fl,html[data-theme="dark"] .kick svg{color:#F4C2AA!important}
html[data-theme="dark"] .kick svg,html[data-theme="dark"] .spark .kick svg{fill:#F4C2AA!important}
html[data-theme="dark"] .sp-prev{text-decoration-color:rgba(244,194,170,.4)!important}
html[data-theme="dark"] .dcell .ms,html[data-theme="dark"] .mi-spark,html[data-theme="dark"] .mm-pick svg,html[data-theme="dark"] .bd-sp{color:#F4C2AA!important;fill:#F4C2AA!important}
html[data-theme="dark"] .q-base em.down{background:rgba(244,194,170,.14)!important}

html[data-theme="dark"] .kicker,html[data-theme="dark"] .spark .kicker,html[data-theme="dark"] .panel.spark .kicker{color:#F4C2AA!important}
html[data-theme="dark"] .kicker svg{fill:#F4C2AA!important;stroke:none}
html[data-theme="dark"] .ch-top .ch-k{color:#F4C2AA!important}
html[data-theme="dark"] .mdone{background:linear-gradient(180deg,rgba(26,23,35,0) 0%,rgba(26,23,35,.92) 38%,#1A1723 62%)!important;box-shadow:0 12px 0 #1A1723!important}
html[data-theme="dark"] .madd .field,html[data-theme="dark"] .sheet .field{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important;color:var(--ink)!important}
html[data-theme="dark"] .mlab{color:var(--soft)!important}


@media (prefers-color-scheme: dark){
html:not([data-theme="light"]) .avatar{box-shadow:0 0 0 2px rgba(255,255,255,.9)!important}
}
html[data-theme="dark"] .avatar{box-shadow:0 0 0 2px rgba(255,255,255,.9)!important}


/* Two More picker: time stepper inside a chosen habit */
.opt.pick .pk-body{flex:1;min-width:0;text-align:left}
.opt.pick .pk-body b{display:block;font-weight:500}
.opt.pick .lim{display:flex;align-items:center;gap:10px;margin:8px 0 14px}
.opt.pick .lb{width:30px;height:30px;border-radius:50%;border:1.5px solid rgba(23,23,27,.18);background:#fff;font-size:18px;line-height:1;font-weight:500;color:var(--ink);display:grid;place-items:center;cursor:pointer;flex:none;user-select:none;-webkit-user-select:none}
.opt.pick .lb:active{transform:scale(.94)}
.opt.pick .lb.off{opacity:.3;cursor:default}
.opt.pick .lv{position:relative;min-width:84px;text-align:center;font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.15;font-variant-numeric:tabular-nums}
.opt.pick .lv small.rec{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:3px;font-size:11px;font-weight:600;color:#D9693A;white-space:nowrap}
.opt.pick .lv small.rec.hide{visibility:hidden}
@container app (min-width:700px){ .opt.pick .pk-body{display:flex;align-items:center;gap:18px} .opt.pick .pk-body b{flex:1} .opt.pick .lim{margin:0 6px 0 0} .opt.pick.on{padding-bottom:18px} }
@media (prefers-color-scheme: dark){
html:not([data-theme="light"]) .opt.pick .lb{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:var(--ink)}
}
html[data-theme="dark"] .opt.pick .lb{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:var(--ink)}

/* Sign out button at the bottom of the You tab */
.signout{display:flex;justify-content:center;margin:26px 0 6px}
.signout .btn{min-width:160px;text-align:center;justify-content:center}
/* Appearance picker (You tab): a swatch for each choice; Auto is split light/dark on the diagonal */
.appear{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.ap{display:flex;flex-direction:column;align-items:center;gap:8px;background:none!important;border:0!important;padding:0;cursor:pointer;color:var(--soft);font:inherit;-webkit-tap-highlight-color:transparent}
.ap-sw{position:relative;display:block;width:100%;height:66px;border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(128,128,128,.25);transition:box-shadow .2s,transform .2s}
.ap-light,.ap-auto{background:radial-gradient(circle at 82% 18%,rgba(249,176,140,.65),rgba(249,176,140,0) 58%),radial-gradient(circle at 14% 92%,rgba(142,166,242,.55),rgba(142,166,242,0) 58%),#FCFBF8}
.ap-dark,.ap-auto::after{background:radial-gradient(circle at 82% 18%,rgba(247,138,90,.42),rgba(247,138,90,0) 58%),radial-gradient(circle at 14% 92%,rgba(142,166,242,.40),rgba(142,166,242,0) 58%),#121019}
.ap-auto::after{content:"";position:absolute;inset:0;clip-path:polygon(100% 0,100% 100%,0 100%)}
.ap-l{font-size:14px;font-weight:600}
.ap.on{color:var(--ink)}
.ap.on .ap-sw{box-shadow:0 0 0 2px var(--wash),0 0 0 4px var(--ink)}
.ap:active .ap-sw{transform:scale(.97)}

/* ---------- Picture badges (Resets) ---------- */
.bd.has-img .bd-ic::before,.bd.has-img .bd-ic::after,.bd-sheet.has-img .bd-ic.big::before,.bd-sheet.has-img .bd-ic.big::after{display:none!important;content:none!important}
.bd.has-img .bd-ic{width:64px!important;height:64px!important;filter:none!important;background:none!important}
.bd.has-img .bd-ic .bd-img{width:100%;height:100%;object-fit:contain;display:block;position:relative;z-index:2;-webkit-user-select:none;user-select:none}
.bd.has-img.on .bd-ic .bd-img{filter:drop-shadow(0 6px 12px rgba(74,40,60,.22))}
.bd.has-img:not(.on) .bd-ic .bd-img{filter:grayscale(1) brightness(1.08) contrast(.85);opacity:.42}
.bd.has-img.just-in .bd-ic{animation:ckpop .5s cubic-bezier(.3,1.6,.5,1) both}
.bd-sheet.has-img .bd-ic.big{width:150px!important;height:150px!important;background:none!important;filter:none!important;margin:2px auto 14px}
.bd-sheet.has-img .bd-ic.big .bd-img{width:100%;height:100%;object-fit:contain;display:block}
.bd-sheet.has-img .bd-ic.big.on .bd-img{filter:drop-shadow(0 12px 24px rgba(74,40,60,.24))}
.bd-sheet.has-img .bd-ic.big:not(.on) .bd-img{filter:grayscale(1) brightness(1.08) contrast(.85);opacity:.42}
.bdo .bdo-medal.has-img .bd-ic{width:100%!important;height:100%!important}
html:not([data-theme="light"]) .bd.has-img:not(.on) .bd-ic .bd-img,html[data-theme="dark"] .bd.has-img:not(.on) .bd-ic .bd-img{filter:grayscale(1) brightness(.7)!important;opacity:.5}

/* ---------- Emoji tiles (Core Four, lesson) and app logos (Two More) ---------- */
.rc2-r .ic.emo{font-size:18px;line-height:1;font-style:normal}
.rc2-r .ic.app{background:#fff!important;border:1px solid rgba(255,255,255,.9);overflow:hidden;padding:0}
.rc2-r .ic.app img{width:22px;height:22px;border-radius:6px;display:block;object-fit:contain}
.read .rd-ic.emo{font-size:20px;line-height:1;font-style:normal}
html:not([data-theme="light"]) .rc2-r .ic.app,html[data-theme="dark"] .rc2-r .ic.app{background:#fff!important;border:0!important}

/* Dark mode: a day that is both today and done keeps the green fill (the today ring was wiping it out) */
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) .dcell.today.done > span{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important;box-shadow:0 0 0 2px #12101A,0 0 0 4px #F2EEF4!important;color:#10261C!important}
html:not([data-theme="light"]) .dcell.today.done > span > svg path{stroke:#10261C!important}
}
html[data-theme="dark"] .dcell.today.done > span{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important;box-shadow:0 0 0 2px #12101A,0 0 0 4px #F2EEF4!important;color:#10261C!important}
html[data-theme="dark"] .dcell.today.done > span > svg path{stroke:#10261C!important}

/* You tab: invite a friend */
.panel.invite .sub{margin:4px 0 12px}
.inv-msg{margin-top:12px!important;background:#ECEAE6!important;border-radius:16px;padding:14px 16px;font-size:15px;line-height:1.45;color:var(--ink);box-shadow:0 6px 18px rgba(74,40,60,.06);border:1px solid rgba(255,255,255,.9);-webkit-user-select:text;user-select:text;margin-bottom:12px}
.inv-msg b{font-weight:600;color:#4F6BD6;word-break:break-word}
.inv-msg{box-shadow:none!important;border:0!important}
.panel.invite .btn.wide{width:100%}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .inv-msg{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.08)!important;color:var(--ink)!important;box-shadow:none!important}
html:not([data-theme="light"]) .inv-msg b{color:#9FB2F5}}
html[data-theme="dark"] .inv-msg{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.08)!important;color:var(--ink)!important;box-shadow:none!important}
html[data-theme="dark"] .inv-msg b{color:#9FB2F5}

/* Two More = apps: logo tiles in the change sheet and the setup picker */
.opt.pick .ic,.pick2 .ic{width:36px;height:36px;flex:none;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:#fff;box-shadow:0 2px 6px rgba(74,40,60,.08)}
.opt.pick .ic img,.pick2 .ic img{width:26px;height:26px;border-radius:7px;display:block;object-fit:contain}
.opt.pick .ic.emo,.pick2 .ic.emo{font-size:19px;line-height:1}
.opt.pick{align-items:center}
.opt.pick .pbox{flex:none}
.opt.pick > .ic{margin-right:4px}

/* Change your Two More: one row per app, stepper on the right (same layout as the quiz) */
.opt.pick .pk-body{display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0}
.opt.pick .pk-body b{flex:1;min-width:0;font-weight:500;line-height:1.25}
.opt.pick .lim{display:flex!important;align-items:center;gap:6px;margin:0!important;flex:none}
.opt.pick .lb{width:28px!important;height:28px!important;font-size:17px!important}
.opt.pick .lv{min-width:0!important;padding:0 2px;font-size:13.5px!important;white-space:nowrap}
.opt.pick.on{padding-bottom:12px!important}
@media (max-width:430px){
  .opt.pick .lim{flex-direction:column;gap:3px!important}
  .opt.pick .lim .lb[data-dir="1"]{order:0}
  .opt.pick .lim .lv{order:1}
  .opt.pick .lim .lb[data-dir="-1"]{order:2}
  .opt.pick .lb{width:26px!important;height:26px!important}
}
/* Change your Two More: logo fills its tile, thin light grey border, no white backing */
.opt.pick .ic{background:none!important;box-shadow:none!important;border:1px solid rgba(23,23,27,.12);border-radius:10px;overflow:hidden;padding:0}
.opt.pick .ic img{width:100%!important;height:100%!important;border-radius:0!important;object-fit:cover!important}
.opt.pick .ic.emo{background:rgba(23,23,27,.04)!important}
html:not([data-theme="light"]) .opt.pick .ic,html[data-theme="dark"] .opt.pick .ic{border-color:rgba(255,255,255,.18)}

/* Badge reveal: one centered column — medal, then text — at every screen size */
.bdo{position:fixed!important;inset:0;display:flex;align-items:center;justify-content:center}
.bdo-stack{display:flex;flex-direction:column;align-items:center;width:100%;padding:0 28px;margin-top:-4vh}
.bdo-slot{position:relative;width:var(--bdo-size,140px);height:var(--bdo-size,140px);flex:none}
.bdo .bdo-slot .bdo-medal{position:absolute!important;left:0;top:0;width:100%!important;height:100%!important}
.bdo .bdo-slot .bdo-glow,.bdo .bdo-slot .bdo-sp{left:50%;top:50%}
.bdo .bdo-text{position:relative!important;left:auto;right:auto;top:auto!important;width:100%;max-width:520px;margin-top:22px;padding:0}
.bdo .bdo-text .meta{margin:0 auto 6px!important;max-width:none!important}
/* Two More logos everywhere in the app: logo fills its tile, no white backing */
.rc2-r .ic.app,.pick2 .ic.app{background:none!important;box-shadow:none!important;border:1px solid rgba(23,23,27,.12)!important;overflow:hidden;padding:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.rc2-r .ic.app img,.pick2 .ic.app img{width:100%!important;height:100%!important;border-radius:0!important;object-fit:cover!important}
html:not([data-theme="light"]) .rc2-r .ic.app,html[data-theme="dark"] .rc2-r .ic.app,html:not([data-theme="light"]) .pick2 .ic.app,html[data-theme="dark"] .pick2 .ic.app{background:none!important;border:1px solid rgba(255,255,255,.18)!important}
/* "Add a different app" row in the Two More picker */
.opt.pick.addapp{background:transparent;border:1.5px dashed rgba(23,23,27,.22);color:var(--ink);cursor:pointer}
.opt.pick.addapp .pk-body b{font-weight:500}
.opt.pick.addapp .ic.addic{border:0!important;background:var(--grad,linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD))!important}
.opt.pick.addapp .ic.addic svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round}
.opt.pick.addapp.open{border-style:solid;border-color:var(--ink);background:var(--fill);cursor:default;gap:10px}
.opt.pick.addapp.open .field{flex:1;min-width:0;width:0;height:42px;margin:0;padding:0 14px;font-size:16px}
.opt.pick.addapp.open .btn{width:auto;flex:none;height:42px;min-height:0;padding:0 18px;margin:0;font-size:15px}
@media (prefers-color-scheme: dark){ html:not([data-theme="light"]) .opt.pick.addapp{border-color:rgba(255,255,255,.22)} html:not([data-theme="light"]) .opt.pick.addapp.open{border-color:var(--ink)} }
html[data-theme="dark"] .opt.pick.addapp{border-color:rgba(255,255,255,.22)} html[data-theme="dark"] .opt.pick.addapp.open{border-color:var(--ink)}

/* Today list: bold habit name, gray time line under it (Oct 11) */
.rc2-r .t b{display:block;font-size:17px;font-weight:600;line-height:1.3;color:inherit}
.rc2-r .t small{display:block;margin-top:2px;font-size:13.5px;font-weight:400;line-height:1.3;color:var(--soft)}
.rc2-r.on .t b{color:var(--soft)}
/* Today list: icon tile spans the name + time lines (Oct 11) */
.rc2-r:not(.mm){grid-template-columns:42px 1fr auto}
.rc2-r:not(.mm) .ic{width:42px!important;height:42px!important;border-radius:12px}
.rc2-r:not(.mm) .ic.emo{font-size:22px}
/* Today hero: day ring + "Phone Reset", like the app mockup (Oct 11). The lesson sits in its own row under it. */
.panel.dhero{padding:20px 24px!important}
.dh-row{display:flex;align-items:center;gap:20px}
.dh-ring{position:relative;width:92px;height:92px;flex:none}
.dh-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.dh-ring .dh-tr{fill:none;stroke:rgba(23,23,27,.07);stroke-width:9}
.dh-ring .dh-rv{fill:none;stroke:url(#rgdh);stroke-width:9;stroke-linecap:round;transition:stroke-dashoffset .6s ease}
.dh-ring b{position:absolute;inset:0;display:grid;place-items:center;font-family:"Instrument Serif",serif!important;font-weight:400;font-size:46px;line-height:1;color:var(--ink);padding-bottom:2px}
.dh-t{min-width:0}
.dh-t h2{font-family:"Instrument Serif",serif!important;font-weight:400;font-size:34px!important;line-height:1.02;margin:0;letter-spacing:-.005em}
.dh-t .dh-day{margin:5px 0 0;font-size:17px;font-weight:700;color:var(--soft);line-height:1.2}
.dh-t .dh-rw{margin:3px 0 0;font-size:13.5px;font-weight:400;color:var(--soft);line-height:1.3}
.read.dh-read{display:flex;width:100%;margin:0;text-align:left}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .dh-ring .dh-tr{stroke:rgba(255,255,255,.1)}}
html[data-theme="dark"] .dh-ring .dh-tr{stroke:rgba(255,255,255,.1)}
/* Lesson: inside the Phone Reset card on desktop, its own row under it on phones (Oct 11) */
.read.dh-in{display:none}
/* Lesson sits beside "Phone Reset" whenever the column is wide enough; otherwise it is its own card under it (never stacked inside) */
.colL{container-type:inline-size;container-name:dhcol}
.read.dh-out{box-shadow:var(--card-shadow)!important;position:relative;z-index:3}
@container dhcol (min-width:670px){ .read.dh-in{display:flex;flex:1;min-width:0;max-width:440px;margin:0 0 0 auto!important} .read.dh-in small{white-space:nowrap} .read.dh-out{display:none!important} .dh-t{flex:none;margin-right:28px} }

/* Ten feed photos instead of four: same drift speed per photo */
.feed-t{animation-duration:150s!important} /* 15s per photo × 10 photos (keep in step with FEED_IMGS in app.js) */
/* "View previous sparks" in gray, dark mode too */
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .sp-prev{color:var(--soft)!important;text-decoration-color:rgba(255,255,255,.25)!important}}
html[data-theme="dark"] .sp-prev{color:var(--soft)!important;text-decoration-color:rgba(255,255,255,.25)!important}

/* You tab, Your Two More: same rows as the Today list (Oct 11) */
.mine2{list-style:none;margin:6px 0 0;padding:0}
.mine2 li{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:14px;padding:11px 0;border-top:1px solid var(--line)}
.mine2 li:first-child{border-top:0}
.mine2 .ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,rgba(243,228,240,.85),rgba(233,227,248,.8) 50%,rgba(220,226,251,.85))}
.mine2 .ic.emo{font-size:22px;line-height:1;font-style:normal}
.mine2 .ic.app{background:none;border:1px solid rgba(23,23,27,.12);padding:0}
.mine2 .ic.app img{width:100%;height:100%;object-fit:cover;display:block}
.mine2 .t b{display:block;font-size:17px;font-weight:700;line-height:1.3;color:var(--ink)}
.mine2 .t small{display:block;margin-top:2px;font-size:13.5px;font-weight:400;line-height:1.3;color:var(--soft)}
.mine.mine2{display:grid!important;gap:8px}
.mine.mine2 li{padding:12px 14px;border-top:0!important;border-radius:var(--mine-r,14px)!important}

/* ===== All-done pop-up: frosted glass redesign (Oct 11). Scoped to .celebrate only. ===== */
.scrim:has(.celebrate){align-items:center!important;padding:20px!important;background:linear-gradient(180deg,rgba(253,231,218,.22),rgba(247,233,236,.18) 50%,rgba(230,234,253,.26))!important;-webkit-backdrop-filter:blur(16px) saturate(1.4)!important;backdrop-filter:blur(16px) saturate(1.4)!important}
.scrim .sheet:has(.celebrate){position:relative;max-width:420px;border-radius:34px!important;padding:30px 24px 24px!important;overflow:hidden;
  background:linear-gradient(165deg,rgba(244,243,242,.94),rgba(238,237,237,.88))!important;
  -webkit-backdrop-filter:blur(40px) saturate(1.8)!important;backdrop-filter:blur(40px) saturate(1.8)!important;
  border:1px solid rgba(255,255,255,.75)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 -1px 0 rgba(255,255,255,.35) inset,0 2px 6px rgba(74,40,60,.05),0 30px 80px rgba(74,40,60,.20)!important;
  animation:glassin .5s cubic-bezier(.2,.9,.25,1.05) both}
.scrim .sheet:has(.celebrate)::before{content:"";position:absolute;inset:-30% -20% auto;height:70%;pointer-events:none;z-index:0;
  background:radial-gradient(40% 55% at 28% 50%,rgba(241,227,160,.32),transparent 70%),radial-gradient(38% 50% at 72% 45%,rgba(158,216,184,.32),transparent 70%),radial-gradient(30% 40% at 50% 70%,rgba(207,230,168,.32),transparent 70%)}
.sheet .celebrate{position:relative;z-index:1;padding-top:0}
@keyframes glassin{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
/* check: brand gradient disc with a glossy top, brand halo behind it */
.sheet .celebrate .halo{width:150px;height:118px;margin:0 auto 4px}
.sheet .celebrate .halo span{filter:blur(22px)}
.sheet .celebrate .halo span:nth-child(1){background:#F1E3A0!important;width:92px;height:92px;left:8px;top:10px}
.sheet .celebrate .halo span:nth-child(2){background:#9ED8B8!important;width:86px;height:86px;right:6px;top:18px}
.sheet .celebrate .halo span:nth-child(3){background:#CFE6A8!important;width:76px;height:76px;left:38px;bottom:0}
.sheet .celebrate .halo .disc{width:68px;height:68px;margin:-34px 0 0 -34px;background:linear-gradient(135deg,rgba(214,242,222,.98),rgba(160,220,186,.98))!important;border:1.5px solid rgba(255,255,255,.9)!important;box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 10px 26px rgba(47,125,91,.22)!important;overflow:hidden}
.sheet .celebrate .halo .disc::after{content:"";position:absolute;left:8%;right:8%;top:4%;height:46%;border-radius:50% 50% 45% 45%;background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0))}
.sheet .celebrate .halo .disc svg{position:relative;z-index:1}
.sheet .celebrate .halo .disc path{stroke:#1F6B49!important}
/* type */
.sheet .celebrate .meta{display:inline-block;margin:0 auto 12px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.85);box-shadow:0 1px 0 #fff inset,0 2px 8px rgba(74,40,60,.06);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#6E6B76}
.sheet .celebrate h2{font-family:"Instrument Serif",serif!important;font-weight:400;font-size:clamp(30px,8.4vw,36px)!important;line-height:1.05;letter-spacing:-.005em}
.sheet .celebrate .streakline{font-size:21px!important;color:#5E5B66!important;margin-top:6px}
/* progress + reward as glass */
.sheet .celebrate .cbar{max-width:none;margin:22px 0 0;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.8);box-shadow:0 1px 0 rgba(255,255,255,.9) inset}
.sheet .celebrate .cb-t{height:8px;background:rgba(23,23,27,.07)!important}
.sheet .celebrate .cb-l{display:flex;justify-content:space-between;margin-top:9px;font-size:13px;font-weight:600;color:#6E6B76}
.sheet .celebrate .creward{display:flex!important;justify-content:center;margin:10px 0 0!important;padding:13px 16px;border-radius:18px;background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9)!important;border:1px solid rgba(255,255,255,.8);box-shadow:0 1px 0 rgba(255,255,255,.9) inset;font-size:15px!important;color:var(--ink)}
.sheet .celebrate .creward svg.i{stroke:#1F6B49}
.sheet .celebrate .actions{margin-top:20px}
/* dark mode */
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .scrim:has(.celebrate){background:rgba(10,8,14,.45)!important}
 html:not([data-theme="light"]) .scrim .sheet:has(.celebrate){background:linear-gradient(165deg,rgba(48,42,58,.92),rgba(30,27,40,.88))!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)!important}
 html:not([data-theme="light"]) .sheet .celebrate .meta,html:not([data-theme="light"]) .sheet .celebrate .cbar{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important;color:var(--ink)}
 html:not([data-theme="light"]) .sheet .celebrate .streakline,html:not([data-theme="light"]) .sheet .celebrate .cb-l{color:var(--soft)!important}
}
html[data-theme="dark"] .scrim:has(.celebrate){background:rgba(10,8,14,.45)!important}
html[data-theme="dark"] .scrim .sheet:has(.celebrate){background:linear-gradient(165deg,rgba(48,42,58,.92),rgba(30,27,40,.88))!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .sheet .celebrate .meta,html[data-theme="dark"] .sheet .celebrate .cbar{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important;color:var(--ink)}
html[data-theme="dark"] .sheet .celebrate .streakline,html[data-theme="dark"] .sheet .celebrate .cb-l{color:var(--soft)!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .sheet .celebrate .creward{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14))!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important} html:not([data-theme="light"]) .sheet .celebrate .creward svg.i{stroke:#9BE3BF} html:not([data-theme="light"]) .sheet .celebrate .halo .disc{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important} html:not([data-theme="light"]) .sheet .celebrate .halo .disc path{stroke:#10261C!important}}
html[data-theme="dark"] .sheet .celebrate .creward{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14))!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
html[data-theme="dark"] .sheet .celebrate .creward svg.i{stroke:#9BE3BF}
html[data-theme="dark"] .sheet .celebrate .halo .disc{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important}
html[data-theme="dark"] .sheet .celebrate .halo .disc path{stroke:#10261C!important}

/* All-done pop-up v3: green progress panel, reward with a gift tile (Oct 11) */
.sheet .celebrate .cbar{background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9)!important;border-color:rgba(255,255,255,.85)!important}
.sheet .celebrate .cb-t{background:rgba(31,107,73,.10)!important}
.sheet .celebrate .cb-t i{background:linear-gradient(90deg,#C9E59A,#7FCFA2 55%,#3FA977)!important}
.sheet .celebrate .cb-l{color:#2F6E52!important}
.sheet .celebrate .creward{background:rgba(255,255,255,.6)!important;gap:12px!important;padding:10px 16px 10px 10px!important;justify-content:flex-start!important}
.sheet .celebrate .creward svg.i{box-sizing:content-box;width:20px!important;height:20px!important;padding:9px;border-radius:12px;stroke:#fff!important;background:linear-gradient(135deg,#F78A5A,#EFA3B6 55%,#8EA6F2);box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 4px 12px rgba(217,105,58,.25)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .sheet .celebrate .cbar{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14))!important;border-color:rgba(255,255,255,.1)!important} html:not([data-theme="light"]) .sheet .celebrate .cb-l{color:#9BE3BF!important} html:not([data-theme="light"]) .sheet .celebrate .creward{background:rgba(255,255,255,.07)!important} html:not([data-theme="light"]) .sheet .celebrate .creward svg.i{stroke:#fff!important}}
html[data-theme="dark"] .sheet .celebrate .cbar{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14))!important;border-color:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .sheet .celebrate .cb-l{color:#9BE3BF!important}
html[data-theme="dark"] .sheet .celebrate .creward{background:rgba(255,255,255,.07)!important}
html[data-theme="dark"] .sheet .celebrate .creward svg.i{stroke:#fff!important}
/* standalone lesson card: solid base under its gradient so no shadow shows through */
.read.dh-out{background:linear-gradient(90deg,rgba(253,231,218,.9),rgba(230,234,253,.9)),#fff!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .read.dh-out{background:linear-gradient(90deg,rgba(247,138,90,.14),rgba(142,166,242,.14)),#1E1B26!important}}
html[data-theme="dark"] .read.dh-out{background:linear-gradient(90deg,rgba(247,138,90,.14),rgba(142,166,242,.14)),#1E1B26!important}

/* Top bar: the logo on every tab and screen size (page name kept for screen readers); logo removed from the desktop nav bar (Oct 11) */
.topbar h1.tlogo{display:flex;align-items:center;gap:10px;font-family:"Instrument Serif",serif!important;font-weight:400;font-size:30px!important;line-height:1;letter-spacing:-.005em;color:var(--ink)}
.topbar h1.tlogo i{width:24px;height:24px;border-radius:50%;flex:none;background:radial-gradient(circle at 30% 25%,#F9B08C,#F3C6D6 45%,#8EA6F2 100%);box-shadow:0 3px 10px rgba(74,40,60,.15)}
.topbar h1.tlogo em{font-style:italic}
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tabs .tabs-logo{display:none!important}
.ch-top .ch-r{margin-left:auto}
/* Lesson done: the same green gradient as the finished Spark card (solid base under it for the standalone card) */
.read.is-read,.read.is-read.has-sub{background:linear-gradient(135deg,rgba(251,244,208,.85),rgba(230,243,211,.8) 50%,rgba(207,236,217,.85))!important}
.read.dh-out.is-read{background:linear-gradient(135deg,rgba(251,244,208,.85),rgba(230,243,211,.8) 50%,rgba(207,236,217,.85)),#fff!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .read.is-read,html:not([data-theme="light"]) .read.is-read.has-sub,html:not([data-theme="light"]) .read.dh-out.is-read{background:linear-gradient(115deg,rgba(120,200,160,.2),rgba(92,190,150,.12)),#1E1B26!important}}
html[data-theme="dark"] .read.is-read,html[data-theme="dark"] .read.is-read.has-sub,html[data-theme="dark"] .read.dh-out.is-read{background:linear-gradient(115deg,rgba(120,200,160,.2),rgba(92,190,150,.12)),#1E1B26!important}

/* Reset calendar header: title and dates on one line, even padding; green once the day is fully done (Oct 11) */
.cal-hd2 .ch-top.ch-one{align-items:center;margin:0!important;flex-wrap:nowrap}
.cal-hd2 .ch-top.ch-one h2{white-space:nowrap}
.cal-hd2 .ch-top.ch-one .ch-r{white-space:nowrap;flex:none}
.cal-hd2{padding:18px 20px!important}
@container app (min-width:700px){ .cal-hd2{padding:20px 26px!important} }
.cal-hd2.all-done{background:linear-gradient(135deg,rgba(251,244,208,.85),rgba(230,243,211,.8) 50%,rgba(207,236,217,.85))!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .cal-hd2.all-done{background:linear-gradient(115deg,rgba(120,200,160,.2),rgba(92,190,150,.12))!important}}
html[data-theme="dark"] .cal-hd2.all-done{background:linear-gradient(115deg,rgba(120,200,160,.2),rgba(92,190,150,.12))!important}
.cal-hd2 .ch-top.ch-one{gap:10px}
.cal-hd2 .ch-top.ch-one h2{font-size:clamp(20px,6vw,26px)!important}
.cal-hd2 .ch-top.ch-one .ch-r{font-size:clamp(12.5px,3.5vw,15px)!important}
.cal-hd2{container-type:inline-size}
.cal-hd2 .ch-top.ch-one h2{font-size:clamp(18px,7.1cqi,26px)!important}
.cal-hd2 .ch-top.ch-one .ch-r{font-size:clamp(11.5px,4.1cqi,15px)!important}

/* ===== Every pop-up: the same frosted glass as the all-done pop-up (Oct 11). Content unchanged. ===== */
.scrim{background:linear-gradient(180deg,rgba(253,231,218,.22),rgba(247,233,236,.18) 50%,rgba(230,234,253,.26))!important;-webkit-backdrop-filter:blur(16px) saturate(1.4)!important;backdrop-filter:blur(16px) saturate(1.4)!important}
.scrim .sheet{background:linear-gradient(165deg,rgba(244,243,242,.94),rgba(238,237,237,.88))!important;-webkit-backdrop-filter:blur(40px) saturate(1.8)!important;backdrop-filter:blur(40px) saturate(1.8)!important;border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 -1px 0 rgba(255,255,255,.35) inset,0 2px 6px rgba(74,40,60,.05),0 30px 80px rgba(74,40,60,.20)!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .scrim{background:rgba(10,8,14,.45)!important} html:not([data-theme="light"]) .scrim .sheet{background:linear-gradient(165deg,rgba(48,42,58,.92),rgba(30,27,40,.88))!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)!important}}
html[data-theme="dark"] .scrim{background:rgba(10,8,14,.45)!important}
html[data-theme="dark"] .scrim .sheet{background:linear-gradient(165deg,rgba(48,42,58,.92),rgba(30,27,40,.88))!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)!important}

/* Dark mode: when two buttons sit together, the main one is light and filled, the other is outlined, so they never look the same (Oct 11) */
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn:not(.soft):not(.ghost){background:#F2EEF4!important;color:#16131E!important;border:1px solid #F2EEF4!important;box-shadow:none!important}html:not([data-theme="light"]) :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn:not(.soft):not(.ghost) svg{stroke:#16131E!important}html:not([data-theme="light"]) :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn.soft,html:not([data-theme="light"]) :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn.ghost{background:transparent!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.22)!important}}
html[data-theme="dark"] :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn:not(.soft):not(.ghost){background:#F2EEF4!important;color:#16131E!important;border:1px solid #F2EEF4!important;box-shadow:none!important}html[data-theme="dark"] :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn:not(.soft):not(.ghost) svg{stroke:#16131E!important}html[data-theme="dark"] :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn.soft,html[data-theme="dark"] :has(> .btn:not(.soft):not(.ghost)):has(> .btn.soft, > .btn.ghost) > .btn.ghost{background:transparent!important;color:var(--ink)!important;border:1px solid rgba(255,255,255,.22)!important}

/* Dark mode: every main button is the light filled one; the remove (×) on activities is visible (Oct 11) */
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .btn:not(.soft):not(.ghost):not(.panel-head .btn),html:not([data-theme="light"]) .mm-pick{background:#F2EEF4!important;color:#16131E!important;border:1px solid #F2EEF4!important;box-shadow:none!important}html:not([data-theme="light"]) .btn:not(.soft):not(.ghost):not(.panel-head .btn) svg,html:not([data-theme="light"]) .mm-pick svg{stroke:#16131E!important;fill:none}html:not([data-theme="light"]) .mm-pick svg.i{fill:#D9693A!important;stroke:none!important}html:not([data-theme="light"]) .btn:not(.soft):not(.ghost):active{background:#DCD6E0!important}html:not([data-theme="light"]) .mx{background:rgba(255,255,255,.16)!important;color:#F2EEF4!important;border:1px solid rgba(255,255,255,.22)!important}}
html[data-theme="dark"] .btn:not(.soft):not(.ghost):not(.panel-head .btn),html[data-theme="dark"] .mm-pick{background:#F2EEF4!important;color:#16131E!important;border:1px solid #F2EEF4!important;box-shadow:none!important}html[data-theme="dark"] .btn:not(.soft):not(.ghost):not(.panel-head .btn) svg,html[data-theme="dark"] .mm-pick svg{stroke:#16131E!important;fill:none}html[data-theme="dark"] .mm-pick svg.i{fill:#D9693A!important;stroke:none!important}html[data-theme="dark"] .btn:not(.soft):not(.ghost):active{background:#DCD6E0!important}html[data-theme="dark"] .mx{background:rgba(255,255,255,.16)!important;color:#F2EEF4!important;border:1px solid rgba(255,255,255,.22)!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .mm-pick svg{fill:#D9693A!important;stroke:none!important}}
html[data-theme="dark"] .mm-pick svg{fill:#D9693A!important;stroke:none!important}

/* Invite a friend: "Your link:" under the button (Oct 11) */
.invite .inv-link{margin:12px 0 0;text-align:center;font-size:13.5px;color:var(--soft);word-break:break-all;-webkit-user-select:all;user-select:all}
.invite .inv-link span{color:var(--ink);font-weight:600}
.mintro .btn + .mq{margin-top:26px!important}

/* Progress: three stats (lessons read, sparks complete, day streak) */
.trio.trio3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.trio.trio3 span{white-space:normal;line-height:1.25}
.trio .rd svg{stroke:#7A7FC9}
/* App background: the larger orange and blue glows from the quiz (Oct 11) */
.shell::before{width:100vmax!important;height:88vmax!important;right:-34vmax!important;top:-36vmax!important}
.shell::after{width:106vmax!important;height:92vmax!important;left:-38vmax!important;bottom:-36vmax!important}

/* You tab: email, help links, legal links, delete (Oct 11) */
.y-email{margin:10px 2px 0;font-size:13.5px;color:var(--soft);word-break:break-all}
.y-email b{color:var(--ink);font-weight:600}
.ylinks{padding:8px 22px!important}
.ylink{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;width:100%;padding:12px 0;text-align:left;color:var(--ink);text-decoration:none;background:none;border:0;font:inherit;cursor:pointer}
.ylink + .ylink{border-top:1px solid var(--line)}
.yl-ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD);border:1px solid rgba(255,255,255,.9)}
.yl-ic svg{width:21px;height:21px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.yl-t b{display:block;font-size:16px;font-weight:700;line-height:1.3}
.yl-t small{display:block;margin-top:2px;font-size:13px;color:var(--soft)}
.yl-go{width:14px;height:14px;fill:none;stroke:var(--soft);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ylegal{display:flex;justify-content:center;gap:10px;margin:22px 0 0;font-size:13.5px;color:var(--soft)}
.ylegal a{color:var(--soft);text-decoration:underline;text-underline-offset:3px}
.ylegal + .signout{margin-top:12px!important}
.ydel{text-align:center;margin:18px 0 8px}
.ydel button{background:none;border:0;font:inherit;font-size:13px;color:#B0453A;text-decoration:underline;text-underline-offset:3px;cursor:pointer;opacity:.85}
.a2hs{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}
.a2hs li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.8);font-size:15px;line-height:1.35}
.a2n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:14px;color:#fff;background:linear-gradient(135deg,#F78A5A,#E7A0B4 55%,#8EA6F2)}
a.btn{display:block;text-align:center;text-decoration:none}
.btn.btn-danger{background:#B0453A!important;color:#fff!important;border-color:#B0453A!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .yl-ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)} html:not([data-theme="light"]) .a2hs li{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1)} html:not([data-theme="light"]) .ydel button{color:#F08A7E}}
html[data-theme="dark"] .yl-ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .a2hs li{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .ydel button{color:#F08A7E}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .sheet .actions > .btn.btn-danger{background:#C9564A!important;color:#fff!important;border-color:#C9564A!important}}
html[data-theme="dark"] .sheet .actions > .btn.btn-danger{background:#C9564A!important;color:#fff!important;border-color:#C9564A!important}
.sheet .actions > .btn.btn-danger{background:#B0453A!important;color:#fff!important;border-color:#B0453A!important}
html body .sheet .actions:has(> .btn) > a.btn.btn-danger.btn-danger{background:#B0453A!important;color:#fff!important;border:1px solid #B0453A!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body .sheet .actions:has(> .btn) > a.btn.btn-danger.btn-danger{background:#C9564A!important;border-color:#C9564A!important}}
html[data-theme="dark"] body .sheet .actions:has(> .btn) > a.btn.btn-danger.btn-danger{background:#C9564A!important;border-color:#C9564A!important}
.signout + .ydel{margin-top:6px}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body .sheet .actions:has(> .btn):has(> .btn) > a.btn.btn-danger.btn-danger.btn-danger.btn-danger.btn-danger{background:#C9564A!important;color:#fff!important;border-color:#C9564A!important}}
html[data-theme="dark"] body .sheet .actions:has(> .btn):has(> .btn) > a.btn.btn-danger.btn-danger.btn-danger.btn-danger.btn-danger{background:#C9564A!important;color:#fff!important;border-color:#C9564A!important}

/* Sign out: one clean border; legal links under it (Oct 11) */
html body .signout .btn{box-shadow:0 2px 8px rgba(74,40,60,.05)!important;border:1px solid rgba(23,23,27,.14)!important;background:rgba(255,255,255,.7)!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body .signout .btn{background:transparent!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:none!important}}
html[data-theme="dark"] body .signout .btn{background:transparent!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:none!important}
.signout + .ylegal{margin-top:14px!important}
.ylegal + .ydel{margin-top:10px}

.help-mail{margin:16px 0 0;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.8);text-align:center;font-size:17px;font-weight:700;-webkit-user-select:all;user-select:all;word-break:break-all}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .help-mail{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1)}}
html[data-theme="dark"] .help-mail{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1)}
.yl-t small em{font-style:italic}
/* Gradient boxes with a transparent border: start the gradient at the outer edge so it doesn't wrap into the border (the thin green line on the left of a read lesson) */
.read,.read.is-read,.read.dh-out,.panel.spark,.cal-hd2,.rc2-foot{background-origin:border-box!important}
html body .read.read,html body .read.read.is-read,html body .panel.spark.spark,html body .cal-hd2.cal-hd2,html body .rc2-foot.rc2-foot{background-origin:border-box!important}

/* ===== Day 30 completion: full-screen frosted takeover (Oct 11) ===== */
.fin-scrim{position:absolute;inset:0;z-index:40;overflow-y:auto;display:flex;align-items:flex-start;justify-content:center;padding:max(28px,env(safe-area-inset-top)) 20px 32px;
  background:linear-gradient(180deg,rgba(253,231,218,.55),rgba(247,233,236,.45) 50%,rgba(230,234,253,.6));-webkit-backdrop-filter:blur(26px) saturate(1.5);backdrop-filter:blur(26px) saturate(1.5)}
.fin-scrim.enter{animation:finfade .5s ease both}
@keyframes finfade{from{opacity:0}to{opacity:1}}
.fin-glow{position:fixed;border-radius:50%;filter:blur(50px);pointer-events:none;opacity:.75}
.fin-glow.g1{width:420px;height:420px;left:-140px;top:-120px;background:radial-gradient(closest-side,rgba(247,138,90,.55),transparent)}
.fin-glow.g2{width:460px;height:460px;right:-170px;top:120px;background:radial-gradient(closest-side,rgba(142,166,242,.5),transparent)}
.fin-glow.g3{width:380px;height:380px;left:10%;bottom:-160px;background:radial-gradient(closest-side,rgba(243,183,196,.55),transparent)}
.fin{position:relative;width:100%;max-width:440px;margin:auto 0;text-align:center;border-radius:34px;padding:22px 22px 18px;
  background:linear-gradient(165deg,rgba(255,255,255,.74),rgba(255,255,255,.5));-webkit-backdrop-filter:blur(40px) saturate(1.8);backdrop-filter:blur(40px) saturate(1.8);
  border:1px solid rgba(255,255,255,.8);box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 30px 80px rgba(74,40,60,.18)}
.fin-scrim.enter .fin{animation:finrise .7s cubic-bezier(.2,.9,.25,1.05) both}
@keyframes finrise{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
.fin-x{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.6);display:grid;place-items:center;cursor:pointer;z-index:2}
.fin-x svg{width:13px;height:13px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.fin-ring{position:relative;width:184px;height:184px;margin:14px auto 6px}
.fin-ring::before{content:"";position:absolute;inset:18px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,.55));box-shadow:0 10px 30px rgba(74,40,60,.10)}
.fin-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.fin-ring .fr-t{fill:none;stroke:rgba(23,23,27,.06);stroke-width:9}
.fin-ring .fr-v{fill:none;stroke:url(#fing);stroke-width:9;stroke-linecap:round;stroke-dashoffset:0;filter:drop-shadow(0 4px 10px rgba(231,140,150,.35))}
.fin-scrim.enter .fr-v{animation:findraw 1.6s cubic-bezier(.45,0,.2,1) .25s both}
@keyframes findraw{from{stroke-dashoffset:var(--c)}to{stroke-dashoffset:0}}
.fin-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.fin-num b{font-family:"Instrument Serif",serif!important;font-weight:400;font-size:84px;line-height:.9;letter-spacing:-.02em;background:linear-gradient(135deg,#E9774A,#D98AA0 55%,#7F98EC);-webkit-background-clip:text;background-clip:text;color:transparent}
.fin-num small{margin-top:4px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#8A8792}
.fin-sp{position:absolute;width:16px;height:16px;opacity:0}
.fin-sp svg{width:100%;height:100%;fill:#E9A07E}
.fin-sp.s1{top:4px;right:18px}.fin-sp.s2{bottom:16px;left:2px;width:12px;height:12px}.fin-sp.s2 svg{fill:#9EB0F0}.fin-sp.s3{top:40px;left:-8px;width:10px;height:10px}.fin-sp.s3 svg{fill:#E7A0B4}
.fin-scrim .fin-sp{animation:finsp 3.2s ease-in-out infinite}
.fin-scrim .fin-sp.s1{animation-delay:1.6s}.fin-scrim .fin-sp.s2{animation-delay:2.2s}.fin-scrim .fin-sp.s3{animation-delay:2.7s}
@keyframes finsp{0%,100%{opacity:0;transform:scale(.6) rotate(0)}40%,60%{opacity:1;transform:scale(1) rotate(25deg)}}
.fin-pill{display:inline-block;margin:10px auto 0;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.9);box-shadow:0 1px 0 #fff inset,0 2px 8px rgba(74,40,60,.06);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#6E6B76}
.fin-h{margin:12px 0 0!important;font-family:"Instrument Serif",serif!important;font-weight:400;font-size:clamp(30px,8.6vw,38px)!important;line-height:1.05;letter-spacing:-.005em}
.fin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}
.fin-stats div{padding:13px 6px 11px;border-radius:18px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.85);box-shadow:0 1px 0 rgba(255,255,255,.9) inset}
.fin-stats b{display:block;font-family:"Instrument Serif",serif!important;font-weight:400;font-size:34px;line-height:1}
.fin-stats span{display:block;margin-top:5px;font-size:12px;color:#7E7C86;line-height:1.2}
.fin-rw{display:flex;align-items:center;gap:14px;margin-top:10px;padding:12px 16px 12px 12px;border-radius:20px;text-align:left;background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9);border:1px solid rgba(255,255,255,.85)}
.fin-gift{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#F78A5A,#EFA3B6 55%,#8EA6F2);box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 4px 12px rgba(217,105,58,.25)}
.fin-gift svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fin-rw small{display:block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#2F6E52}
.fin-rw b{display:block;margin-top:2px;font-size:18px;font-weight:700;line-height:1.25;color:var(--ink)}
.fin-go{margin:14px 0 0;font-family:"Instrument Serif",serif;font-style:italic;font-size:22px;color:#5E5B66}
.fin-actions{display:grid;gap:10px;margin-top:16px}
.fin-link{background:none;border:0;font:inherit;font-size:14.5px;font-weight:600;color:#7E7C86;padding:6px;cursor:pointer;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(126,124,134,.4)}
@media (prefers-reduced-motion:reduce){.fin-scrim *,.fin-scrim{animation:none!important}}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .fin-scrim{background:rgba(14,12,20,.6)}
 html:not([data-theme="light"]) .fin{background:linear-gradient(165deg,rgba(48,42,58,.78),rgba(30,27,40,.66));border-color:rgba(255,255,255,.12);box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)}
 html:not([data-theme="light"]) .fin-ring::before{background:radial-gradient(closest-side,rgba(255,255,255,.1),rgba(255,255,255,.03));box-shadow:none}
 html:not([data-theme="light"]) .fin-ring .fr-t{stroke:rgba(255,255,255,.08)}
 html:not([data-theme="light"]) .fin-pill,html:not([data-theme="light"]) .fin-stats div,html:not([data-theme="light"]) .fin-x{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1);box-shadow:none;color:var(--ink)}
 html:not([data-theme="light"]) .fin-x svg{stroke:var(--ink)}
 html:not([data-theme="light"]) .fin-rw{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14));border-color:rgba(255,255,255,.1)}
 html:not([data-theme="light"]) .fin-rw small{color:#9BE3BF}
 html:not([data-theme="light"]) .fin-go,html:not([data-theme="light"]) .fin-stats span{color:var(--soft)}
 html:not([data-theme="light"]) .fin-glow{opacity:.35}
}
html[data-theme="dark"] .fin-scrim{background:rgba(14,12,20,.6)}
html[data-theme="dark"] .fin{background:linear-gradient(165deg,rgba(48,42,58,.78),rgba(30,27,40,.66));border-color:rgba(255,255,255,.12);box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)}
html[data-theme="dark"] .fin-ring::before{background:radial-gradient(closest-side,rgba(255,255,255,.1),rgba(255,255,255,.03));box-shadow:none}
html[data-theme="dark"] .fin-ring .fr-t{stroke:rgba(255,255,255,.08)}
html[data-theme="dark"] .fin-pill,html[data-theme="dark"] .fin-stats div,html[data-theme="dark"] .fin-x{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1);box-shadow:none;color:var(--ink)}
html[data-theme="dark"] .fin-x svg{stroke:var(--ink)}
html[data-theme="dark"] .fin-rw{background:linear-gradient(135deg,rgba(120,200,160,.22),rgba(92,190,150,.14));border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .fin-rw small{color:#9BE3BF}
html[data-theme="dark"] .fin-go,html[data-theme="dark"] .fin-stats span{color:var(--soft)}
html[data-theme="dark"] .fin-glow{opacity:.35}
.fin-link{justify-self:center;text-align:center}
.fin-stats span{white-space:nowrap;font-size:11.5px}
.fin-h{text-wrap:balance}
.fin-rw + .fin-actions{margin-top:20px}

/* Pop-up secondary buttons: one border, not a grey inset ring plus a white outer border (Oct 12) */
.sheet .actions .btn.soft{background:#fff!important;border:1px solid rgba(60,60,67,.16)!important;box-shadow:none!important}

/* Look back a day on the habit card (Oct 13): quiet date row with arrows above Core Four */
.rc2-nav{display:flex;align-items:center;justify-content:center;gap:6px;margin:-6px -22px 2px;padding:12px 22px;background:rgba(255,255,255,.6);border-bottom:1px solid rgba(255,255,255,.95);box-shadow:0 1px 0 rgba(74,40,60,.06)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .rc2-nav{background:rgba(255,255,255,.06);border-bottom-color:rgba(255,255,255,.08);box-shadow:none}}
html[data-theme="dark"] .rc2-nav{background:rgba(255,255,255,.06);border-bottom-color:rgba(255,255,255,.08);box-shadow:none}
.rc2-nav b{min-width:120px;text-align:center;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--soft);font-weight:600}
.rc2.is-past .rc2-nav b{color:var(--ink)}
.rc2-arr{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:transparent;border:0;color:var(--soft);cursor:pointer;transition:background .15s,opacity .15s}
.rc2-arr svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rc2-arr:hover:not(:disabled){background:rgba(23,23,27,.06);color:var(--ink)}
.rc2-arr:disabled{opacity:.25;cursor:default}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .rc2-arr:hover:not(:disabled){background:rgba(255,255,255,.1)}}
html[data-theme="dark"] .rc2-arr:hover:not(:disabled){background:rgba(255,255,255,.1)}
@container app (min-width:700px){ .rc2-nav{margin:-6px -28px 2px;padding-left:28px;padding-right:28px} }

/* Stock activities without their own line icon: spark mark in the regular icon color (orange is kept for ones she typed) */
.rc2-r.mm .ic svg.stock{fill:currentColor;stroke:none;width:15px;height:15px;opacity:.75}
.mpk-ic svg.stock{fill:currentColor;stroke:none;width:30px;height:30px;opacity:.75}

/* Hobby Girl Collection (Oct 13) */
.bd-sub{margin:-4px 0 14px;font-size:14px;line-height:1.45;color:var(--soft)}

/* ===== Hobby Girl Collection: tall numbered cards, silhouettes until earned (Oct 13) ===== */
.badges.hg .panel-head h2 i{font-style:italic}
.badges.hg .hg-count{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--soft)}
.badges.hg .bd-sub{margin:-2px 0 16px}
.hg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hg-fam{margin-top:18px}
.hg-fam:first-of-type{margin-top:0}
.hg-lab{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--soft);margin:0 0 10px}
.hg-card.bd{position:relative;display:flex!important;flex-direction:column;align-items:center;gap:6px;padding:40px 12px 16px!important;border-radius:22px!important;background:rgba(255,255,255,.5)!important;border:1px solid rgba(255,255,255,.8)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 10px 26px rgba(74,40,60,.06)!important;overflow:hidden!important;cursor:pointer;text-align:center;-webkit-tap-highlight-color:transparent;transition:transform .15s}
.hg-card.bd:active{transform:scale(.98)}
.hg-card.bd.on{background:linear-gradient(170deg,rgba(255,255,255,.85),rgba(255,255,255,.55))!important}
.hg-card.bd.on{border-color:rgba(247,138,90,.55)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 10px 26px rgba(74,40,60,.06)!important}
.hg-num{position:absolute;left:14px;top:12px;font-size:12px;font-weight:600;color:var(--soft);letter-spacing:.04em}
.hg-lock{position:absolute;right:11px;top:10px;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.75);display:grid;place-items:center;border:1px solid rgba(255,255,255,.9)}
.hg-lock svg{width:11px;height:11px;fill:none;stroke:var(--soft);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hg-card.bd.has-img .bd-ic{width:100%!important;height:auto!important;aspect-ratio:1;max-width:150px;margin:0 auto;filter:none!important;background:none!important;border-radius:0!important;box-shadow:none!important}
.badges.hg .hg-card.bd.has-img .bd-ic .bd-img{width:100%;height:100%;object-fit:contain;display:block;opacity:1!important;filter:none!important}
.badges.hg .hg-card.bd.has-img.on .bd-ic .bd-img{filter:none!important}
.badges.hg .hg-card.bd.has-img.on .bd-ic::after{content:"";position:absolute;left:28%;right:28%;bottom:2%;height:8%;border-radius:50%;background:radial-gradient(ellipse,rgba(74,40,60,.26),rgba(74,40,60,0) 70%);filter:blur(4px);z-index:0}
.badges.hg .hg-card.bd.has-img .bd-ic{position:relative}
.badges.hg .hg-card.bd.has-img .bd-ic .bd-img{position:relative;z-index:1}
.badges.hg .hg-card.bd.has-img.locked .bd-ic .bd-img{filter:brightness(0) opacity(.13)!important;opacity:1!important}
.hg-name{font-family:"Instrument Serif",serif;font-size:21px;line-height:1.1;color:var(--ink);margin-top:4px}
.hg-name i{font-style:italic}
.hg-card.locked .hg-name{color:var(--soft);font-size:20px}
.hg-how{font-size:12.5px;line-height:1.35;color:var(--soft);font-weight:500;max-width:150px}
.hg-card.bd.on .hg-how{color:var(--ink)}
.hg-pill{display:inline-flex;align-items:center;gap:7px;margin-top:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.95);font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--soft);box-shadow:0 2px 8px rgba(74,40,60,.05)}
.hg-pill i{width:6px;height:6px;border-radius:50%;background:#B4B0A9}
.hg-pill.new{background:#17171B;border-color:#17171B;color:#fff}
.hg-pill.new i{background:#F78A5A}
.hg-pill.unlocked i{background:linear-gradient(135deg,#F78A5A,#8EA6F2)}
.hg-when{font-size:11.5px;color:var(--soft);margin-top:6px}
/* sheet */
.hg-sheet{text-align:center}
.hg-sheet.has-img .bd-ic.big{width:210px!important;height:210px!important;margin:0 auto 10px}
.sheet .hg-sheet.has-img .bd-ic.big{position:relative}
.sheet .hg-sheet.has-img .bd-ic.big .bd-img{opacity:1!important;filter:none!important;position:relative;z-index:1}
.sheet .hg-sheet.has-img .bd-ic.big.on::after{content:"";position:absolute;left:28%;right:28%;bottom:2%;height:8%;border-radius:50%;background:radial-gradient(ellipse,rgba(74,40,60,.28),rgba(74,40,60,0) 70%);filter:blur(5px);z-index:0}
.sheet .hg-sheet.has-img.locked .bd-ic.big .bd-img{filter:brightness(0) opacity(.13)!important;opacity:1!important}
.hg-sheet .hg-title{font-family:"Instrument Serif",serif;font-size:34px;line-height:1.05;margin:12px 0 8px;font-weight:400}
.hg-sheet .hg-how.big{font-size:16px;max-width:none;color:var(--soft);margin:0 auto}
.hg-sheet .hg-when{margin-top:10px;font-size:13px}
.hg-sheet .actions{margin-top:22px}
.bdo-text .bd-sheet-n{margin:-6px 0 8px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--soft)}
@container app (min-width:700px){ .hg-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .hg-card.bd{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
 html:not([data-theme="light"]) .hg-card.bd.on{background:rgba(255,255,255,.1)!important}
 html:not([data-theme="light"]) .badges.hg .hg-card.bd.has-img.locked .bd-ic .bd-img,html:not([data-theme="light"]) .sheet .hg-sheet.has-img.locked .bd-ic.big .bd-img{filter:brightness(0) invert(1) opacity(.18)!important;opacity:1!important}
 html:not([data-theme="light"]) .hg-lock,html:not([data-theme="light"]) .hg-pill{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.14)}
 html:not([data-theme="light"]) .hg-pill.new{background:#F2EEF4;border-color:#F2EEF4;color:#16131E}
}
html[data-theme="dark"] .hg-card.bd{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
html[data-theme="dark"] .hg-card.bd.on{background:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .badges.hg .hg-card.bd.has-img.locked .bd-ic .bd-img,html[data-theme="dark"] .sheet .hg-sheet.has-img.locked .bd-ic.big .bd-img{filter:brightness(0) invert(1) opacity(.18)!important;opacity:1!important}
html[data-theme="dark"] .hg-lock,html[data-theme="dark"] .hg-pill{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.14)}
html[data-theme="dark"] .hg-pill.new{background:#F2EEF4;border-color:#F2EEF4;color:#16131E}
.hg-pill.earned{background:rgba(255,255,255,.55);border-color:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);color:var(--ink);text-transform:none;letter-spacing:.02em;font-size:11.5px;font-weight:600}
.hg-pill.earned i{background:linear-gradient(135deg,#F78A5A,#E7A0B4 55%,#8EA6F2);width:7px;height:7px}
.hg-sheet .hg-sheet-n{margin:0 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--soft)}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .hg-pill.earned{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:var(--ink)} }
html[data-theme="dark"] .hg-pill.earned{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:var(--ink)}


/* ===== Hobby girl unlock screen (Oct 13, from the merge package) ===== */
.hgu{position:absolute;inset:0;z-index:40;opacity:1;isolation:isolate;overflow:hidden;background:#FCFBF8}
.hgu-s1 > *{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.hgu.in .hgu-s1 > *{opacity:1;transform:none}
.hgu.in .hgu-s1 > :nth-child(2){transition-delay:.08s}.hgu.in .hgu-s1 > :nth-child(3){transition-delay:.16s}.hgu.in .hgu-s1 > :nth-child(4){transition-delay:.3s}
.hgu.in .hgu-s1 > .hgu-brand{transition-delay:.4s}
.hgu.out{opacity:0;transition:opacity .3s}
.hgu-wash{position:absolute;inset:0;overflow:hidden;z-index:0;background:#FCFBF8}
.hgu-wash::before,.hgu-wash::after{content:"";position:absolute;border-radius:50%;filter:blur(40px)}
.hgu-wash::before{width:88vmax;height:75vmax;right:-35vmax;top:-37vmax;background:radial-gradient(closest-side,rgba(249,176,140,.42),rgba(249,176,140,0))}
.hgu-wash::after{width:95vmax;height:80vmax;left:-40vmax;bottom:-37vmax;background:radial-gradient(closest-side,rgba(142,166,242,.36),rgba(142,166,242,0))}
.hgu-wash i{display:none}
.hgu-x{position:absolute;top:max(14px,env(safe-area-inset-top,0px) + 8px);right:14px;z-index:3;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.7);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(74,40,60,.08)}
.hgu-x svg{width:14px;height:14px;fill:none;stroke:#5C5A66;stroke-width:2;stroke-linecap:round}
.hgu-screen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:max(56px,env(safe-area-inset-top,0px) + 40px) 24px 40px;text-align:center;z-index:1}
.hgu h1{margin:0;font:400 32px/1.02 "Instrument Serif",serif;letter-spacing:-.015em;text-wrap:balance;color:#17171B;max-width:22ch}
.hgu h1 em,.hgu h1 i{font-style:italic}
.hgu .hg-pill{margin:0}
.hgu-sub{margin:0;font-size:14px;color:#5C5A66;max-width:28ch}
.hgu .btn{width:100%;max-width:280px;color:#fff!important;background:#17171B!important;background-image:linear-gradient(180deg,#2C2C30,#161618 55%,#0F0F11)!important;border:0!important;box-shadow:0 10px 26px rgba(23,23,27,.18)!important}
.hgu-ghost{background:none;border:0;color:#5C5A66;font:600 13px var(--sans,"Figtree",sans-serif);padding:8px;cursor:pointer}
.hgu-s1{transition:opacity .35s,transform .35s}
.hgu-s1.out{opacity:0;transform:scale(1.04);pointer-events:none}
.hgu-sil{position:relative;height:min(270px,36vh);width:100%;max-width:360px;margin:10px 0 64px;cursor:pointer;display:flex;align-items:flex-end;justify-content:center}
.hgu-sil::before{content:"";position:absolute;left:30%;right:30%;bottom:-4px;height:9%;border-radius:50%;background:radial-gradient(ellipse,rgba(74,40,60,.18),rgba(74,40,60,0) 70%);filter:blur(5px)}
.hgu-sil .bd-img,.hgu-fig .bd-img{position:relative;height:100%;width:auto;max-width:100%;object-fit:contain;display:block}
.hgu-sil .bd-img{filter:brightness(0) opacity(.16);transition:filter .4s}
.hgu-sil.opening .bd-img{filter:brightness(0) opacity(0)}
.hgu-sil.opening ~ .hgu-tap,.hgu-sil.opening .hgu-tap{opacity:0;transition:opacity .25s}
.hgu-s2{opacity:0;pointer-events:none;transition:opacity .3s}
.hgu-s2.in{opacity:1;pointer-events:auto}
.hgu-glow{position:absolute;left:50%;top:44%;width:420px;height:420px;margin:-210px 0 0 -210px;border-radius:50%;z-index:-1;background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,255,255,0) 62%);opacity:0;transform:scale(.4)}
.hgu-s2.in .hgu-glow{animation:none;opacity:0}
@keyframes hguGlow{to{opacity:1;transform:scale(1)}}
.hgu-fig{position:relative;height:min(300px,40vh);width:100%;max-width:360px;display:flex;align-items:flex-end;justify-content:center;margin:0 0 10px}
.hgu-fig::before{content:"";position:absolute;left:30%;right:30%;bottom:-4px;height:9%;border-radius:50%;background:radial-gradient(ellipse,rgba(74,40,60,.28),rgba(74,40,60,0) 70%);filter:blur(5px)}
.hgu-fig .bd-img{transform:scale(.3) translateY(60px);opacity:0}
.hgu-s2.in .hgu-fig .bd-img{animation:hguPop .7s cubic-bezier(.2,1.5,.35,1) .15s forwards}
@keyframes hguPop{to{transform:scale(1) translateY(0);opacity:1}}
.hgu-text{display:flex;flex-direction:column;align-items:center;gap:8px;opacity:0;transform:translateY(10px)}
.hgu-s2.in .hgu-text{animation:hguRise .5s ease-out .6s forwards}
.hgu-actions{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;margin-top:10px;opacity:0;transform:translateY(10px)}
.hgu-s2.in .hgu-actions{animation:hguRise .5s ease-out .9s forwards}
@keyframes hguRise{to{opacity:1;transform:translateY(0)}}
.hgu-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hgu-confetti i{position:absolute;top:40%;left:50%;width:8px;height:12px;border-radius:2px;opacity:0}
.hgu-s2.in .hgu-confetti i{animation:hguFly 1.5s cubic-bezier(.2,.8,.4,1) forwards}
@keyframes hguFly{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r))}}
.hgu-brand{position:absolute;left:0;right:0;bottom:max(22px,env(safe-area-inset-bottom,0px) + 14px);display:flex;flex-direction:column;align-items:center;gap:6px}
.hgu-brand span{font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8B8995}
.hgu-brand img{height:16px;width:auto;opacity:.9}
.hgu.still .hgu-tap,.hgu.still .hgu-s2.in *{animation-duration:.01s!important;animation-delay:0s!important}
.hgu.still .hgu-fig .bd-img{transform:none;opacity:1}

/* Review prompt copy (Oct 13) */

/* Pop-up chrome (Oct 13): grab line on phones (slide down to close), X in the corner on desktop */
.scrim > .sheet{position:relative}
.sh-grab{display:block;width:38px;height:5px;border-radius:3px;background:rgba(60,60,67,.22);margin:-12px auto 14px;flex:none}
.sh-x{display:none;position:absolute;top:14px;right:14px;z-index:5;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.7);place-items:center;cursor:pointer;padding:0}
.sh-x svg{width:13px;height:13px;fill:none;stroke:var(--soft);stroke-width:2;stroke-linecap:round}
.sh-x:hover svg{stroke:var(--ink)}
@container app (min-width:700px){ .sh-grab{display:none} .sh-x{display:grid} }
.scrim .sheet:has(.celebrate) .sh-grab{position:relative;z-index:2}
.scrim .sheet:has(.celebrate) .sh-x{z-index:6}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .sh-grab{background:rgba(255,255,255,.28)} html:not([data-theme="light"]) .sh-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)} }
html[data-theme="dark"] .sh-grab{background:rgba(255,255,255,.28)}
html[data-theme="dark"] .sh-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}

/* You page bottom (Oct 13): Sign out joins the links card, quiet footer, new delete sheet */
.ylink.yl-out{grid-template-columns:42px 1fr}
.ylink.yl-out .yl-ic{background:rgba(255,255,255,.75)!important}
.yfoot{display:flex;flex-direction:column;align-items:center;gap:10px;margin:26px 0 8px}
.yfoot .yf-logo{height:18px;width:auto;opacity:.55}
.yfoot .ylegal{margin:0!important;gap:8px;font-size:13px}
.yfoot .ylegal span{color:var(--soft);opacity:.8}
.yfoot .ylegal a{text-decoration:none}
.yfoot .ydel{margin:6px 0 0!important}
.yfoot .ydel button{color:var(--soft)!important;opacity:1;font-size:13.5px}
.del-sheet{text-align:center}
.del-sheet h2{font-family:"Instrument Serif",serif;font-weight:400;font-size:34px;line-height:1.05}
.del-sheet h2 em{font-style:italic}
.del-sub{color:var(--soft);margin:8px 0 16px}
.del-list{list-style:none;margin:0 0 14px;padding:0;text-align:left;border-radius:18px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.9)}
.del-list li{position:relative;padding:12px 16px 12px 36px;font-size:15px;line-height:1.4;color:var(--ink)}
.del-list li + li{border-top:1px solid var(--line)}
.del-list li::before{content:"";position:absolute;left:16px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--soft)}
.del-in{text-align:center;margin-bottom:12px}
.btn.del-go{background:#C9676A!important;background-image:none!important;border:0!important;color:#fff!important;box-shadow:0 10px 24px rgba(201,103,106,.22)!important}
.btn.del-go.off{opacity:.5;pointer-events:none;box-shadow:none!important}
.del-never{display:block;margin:12px auto 0;background:none;border:0;padding:8px 14px;font:600 15px var(--sans,inherit);color:var(--ink);cursor:pointer}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .del-list{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1)} html:not([data-theme="light"]) .yfoot .yf-logo{filter:invert(1);opacity:.5} }
html[data-theme="dark"] .del-list{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .yfoot .yf-logo{filter:invert(1);opacity:.5}
/* Date + day arrows under the headline: date flush with the headline, arrows as a small pair of round buttons after it */
.dh-nav{display:flex;align-items:center;gap:10px;margin:8px 0 0}
.dh-nav b{font-size:14px;color:var(--soft);font-weight:700;white-space:nowrap;min-width:7.4em}
.dh-arrows{display:flex;gap:4px}
.dh-arrows .rc2-arr{width:26px;height:26px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(23,23,27,.07);color:var(--ink)}
.dh-arrows .rc2-arr svg{width:11px;height:11px;stroke-width:2.2}
.dh-arrows .rc2-arr:hover:not(:disabled){background:#fff}
.dh-arrows .rc2-arr:disabled{opacity:.35}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .dh-arrows .rc2-arr{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}}
html[data-theme="dark"] .dh-arrows .rc2-arr{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}

.rc2-r.mm .ic .emo-i{font-size:19px;line-height:1;font-style:normal}
.mpk-ic .emo-i{font-size:42px;line-height:1;font-style:normal}

/* ===== Day-complete sheet (Oct 14): check / milestone ring, 30 dots, gift row. Day 30 takes the whole screen. ===== */
.scrim:has(.dc-in){align-items:center!important;padding:20px!important;background:linear-gradient(180deg,rgba(253,231,218,.22),rgba(247,233,236,.18) 50%,rgba(230,234,253,.26))!important;-webkit-backdrop-filter:blur(16px) saturate(1.4)!important;backdrop-filter:blur(16px) saturate(1.4)!important}
.scrim .sheet:has(.dc-in){position:relative;max-width:400px;border-radius:30px!important;padding:26px 20px 20px!important;overflow:hidden;
  background:rgba(255,255,255,.66)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6)!important;backdrop-filter:blur(30px) saturate(1.6)!important;
  border:1px solid rgba(255,255,255,.9)!important;box-shadow:inset 0 1px 0 #fff,0 30px 70px rgba(40,25,45,.25)!important;animation:glassin .5s cubic-bezier(.2,.9,.25,1.05) both}
.scrim .sheet:has(.dc-in) .sh-grab{display:none}
.scrim .sheet:has(.dc-in) .sh-x{display:grid;top:14px;right:14px;width:30px;height:30px;background:rgba(255,255,255,.8);border:1px solid #fff;z-index:6}
.dc-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.dc-glow{position:absolute;left:50%;top:-60px;width:320px;height:320px;margin-left:-160px;border-radius:50%;z-index:-1;pointer-events:none;background:radial-gradient(circle,rgba(206,238,220,.9),rgba(252,246,214,.5) 45%,rgba(252,246,214,0) 70%)}
.dc-in.m .dc-glow{background:radial-gradient(circle,rgba(249,176,140,.75),rgba(142,166,242,.45) 45%,rgba(142,166,242,0) 70%)}
.dc-check{width:64px;height:64px;border-radius:50%;background:#BFE8C8;display:grid;place-items:center;box-shadow:0 0 0 .5px rgba(255,255,255,.9),0 10px 24px rgba(46,125,71,.18);animation:dcpop .5s cubic-bezier(.2,1.4,.4,1) both}
.dc-check svg{width:30px;height:30px;fill:none;stroke:#2E7D47;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@keyframes dcpop{from{transform:scale(.2)}}
.dc-num{position:relative;width:118px;height:118px;display:grid;place-items:center}
.dc-num svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.dc-num circle{fill:none;stroke-width:6;stroke-linecap:round}
.dc-num .dc-track{stroke:rgba(23,23,27,.07)}
.dc-num .dc-bar{stroke-dasharray:330;animation:dcring .9s cubic-bezier(.2,.8,.3,1) .15s both}
@keyframes dcring{from{stroke-dashoffset:330}}
.dc-num b{font:400 56px/1 "Instrument Serif",serif;letter-spacing:-.03em;color:var(--ink)}
.dc-num small{position:absolute;bottom:18px;font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8B8995}
.dc-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.75);border:1px solid #fff;font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5C5A66}
.dc-pill i{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#F9B08C,#8EA6F2)}
.dc-h{margin:0;font:400 30px/1.05 "Instrument Serif",serif!important;letter-spacing:-.015em;text-wrap:balance;color:var(--ink)}
.dc-h em{font-style:italic}
.dc-sub{margin:0;font:italic 400 17px/1.3 "Instrument Serif",serif;color:#5C5A66;max-width:28ch}
.dc-dots{display:grid;grid-template-columns:repeat(10,1fr);gap:7px;width:100%;padding:12px;border-radius:18px;background:rgba(255,255,255,.55);border:1px solid #fff}
.dc-dots i{aspect-ratio:1;border-radius:50%;background:rgba(23,23,27,.08);display:block}
.dc-dots i.on{background:linear-gradient(135deg,#CFEEDD,#9FD9B5)}
.dc-dots i.now{background:linear-gradient(135deg,#CFEEDD,#9FD9B5);box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(95,191,134,.55);transform:scale(1.15)}
.dc-gift{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.6);border:1px solid #fff;font-size:13px;color:#5C5A66;text-align:left}
.dc-gift i{flex:none;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#F9B08C,#8EA6F2);display:grid;place-items:center;font-style:normal;font-size:16px}
.dc-gift b{color:var(--ink);font-weight:700}
.dc-gift.dark{background:#17171B;color:rgba(255,255,255,.8);border-color:#17171B}
.dc-gift.dark b{color:#fff}
.dc-in .btn.dc-share{margin-top:4px;border-radius:22px!important;padding:14px}
.dc-ghost{background:none;border:0;color:#5C5A66;font:600 13px "Figtree",sans-serif;padding:4px;cursor:pointer}
.dc-confetti{position:absolute;inset:-30px;pointer-events:none;overflow:hidden;z-index:-1}
.dc-confetti i{position:absolute;top:28%;left:50%;width:7px;height:11px;border-radius:2px;opacity:0;animation:dcfly 1.6s cubic-bezier(.2,.8,.4,1) forwards}
@keyframes dcfly{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r))}}
/* Day 30: full screen */
.dc-scrim{position:absolute;inset:0;z-index:40;overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:max(28px,env(safe-area-inset-top)) 22px max(28px,env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.75)),linear-gradient(180deg,rgba(253,231,218,.55),rgba(247,233,236,.45) 50%,rgba(230,234,253,.6));-webkit-backdrop-filter:blur(26px) saturate(1.5);backdrop-filter:blur(26px) saturate(1.5)}
.dc-scrim.enter{animation:finfade .5s ease both}
.dc.final{position:relative;width:100%;max-width:400px;margin:auto 0}
.dc-scrim.enter .dc.final{animation:finrise .7s cubic-bezier(.2,.9,.25,1.05) both}
.dc-in.final .dc-glow{top:-20px;width:420px;height:420px;margin-left:-210px;background:radial-gradient(circle,rgba(255,255,255,.95),rgba(249,176,140,.6) 35%,rgba(142,166,242,.45) 60%,rgba(142,166,242,0) 75%);animation:dcbreathe 4s ease-in-out infinite}
@keyframes dcbreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.dc-in.final .dc-num{width:150px;height:150px}
.dc-in.final .dc-num b{font-size:76px}
.dc-in.final .dc-num circle{stroke-width:7}
.dc-in.final .dc-num .dc-bar{stroke-dasharray:420;animation:dcring30 1.4s cubic-bezier(.45,0,.2,1) .25s both}
@keyframes dcring30{from{stroke-dashoffset:420}}
.dc-in.final .dc-h{font-size:38px!important}
.dc-in.final .dc-sub{font-size:19px}
.dc-in.final .dc-confetti i{width:9px;height:14px;animation-duration:2.4s}
.dc-in.final .btn.dc-share{background:linear-gradient(135deg,#F9B08C,#8EA6F2)!important;color:var(--ink)!important;box-shadow:0 10px 26px rgba(142,166,242,.35)!important}
.dc-in.final .btn.dc-two{margin-top:0;background:rgba(255,255,255,.92)!important;color:var(--ink)!important;border:1px solid #fff;box-shadow:inset 0 1px 0 #fff,0 10px 26px rgba(74,40,60,.12)!important;border-radius:22px!important;padding:14px}
.dc-wm{height:16px;width:auto;opacity:.6;margin-top:6px}
.dc-spark{position:absolute;font-size:18px;opacity:0;animation:dctwinkle 2.6s ease-in-out infinite;pointer-events:none}
@keyframes dctwinkle{0%,100%{opacity:0;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1) rotate(20deg)}}
@media (prefers-reduced-motion:reduce){.dc-check,.dc-confetti i,.dc-in.final .dc-glow,.dc-spark{animation:none}.dc-confetti i{display:none}.dc-num .dc-bar{animation:none}}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .scrim .sheet:has(.dc-in){background:linear-gradient(165deg,rgba(48,42,58,.78),rgba(30,27,40,.7))!important;border-color:rgba(255,255,255,.12)!important}
 html:not([data-theme="light"]) .dc-scrim{background:linear-gradient(180deg,rgba(26,23,35,.86),rgba(18,16,25,.92))!important}
 html:not([data-theme="light"]) .dc-pill,html:not([data-theme="light"]) .dc-dots,html:not([data-theme="light"]) .dc-gift:not(.dark){background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;color:var(--soft)}
 html:not([data-theme="light"]) .dc-dots i{background:rgba(255,255,255,.1)}
 html:not([data-theme="light"]) .dc-dots i.on,html:not([data-theme="light"]) .dc-dots i.now{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
 html:not([data-theme="light"]) .dc-sub,html:not([data-theme="light"]) .dc-ghost{color:var(--soft)}
 html:not([data-theme="light"]) .dc-gift.dark{background:#fff;color:rgba(23,23,27,.75);border-color:#fff}
 html:not([data-theme="light"]) .dc-gift.dark b{color:#17171B}
 html:not([data-theme="light"]) .dc-num .dc-track{stroke:rgba(255,255,255,.1)}
 html:not([data-theme="light"]) .dc-glow{opacity:.5}
 html:not([data-theme="light"]) .scrim .sheet:has(.dc-in) .sh-x{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.15)}
}
html[data-theme="dark"] .scrim .sheet:has(.dc-in){background:linear-gradient(165deg,rgba(48,42,58,.78),rgba(30,27,40,.7))!important;border-color:rgba(255,255,255,.12)!important}
html[data-theme="dark"] .dc-scrim{background:linear-gradient(180deg,rgba(26,23,35,.86),rgba(18,16,25,.92))!important}
html[data-theme="dark"] .dc-pill,html[data-theme="dark"] .dc-dots,html[data-theme="dark"] .dc-gift:not(.dark){background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;color:var(--soft)}
html[data-theme="dark"] .dc-dots i{background:rgba(255,255,255,.1)}
html[data-theme="dark"] .dc-dots i.on,html[data-theme="dark"] .dc-dots i.now{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html[data-theme="dark"] .dc-sub,html[data-theme="dark"] .dc-ghost{color:var(--soft)}
html[data-theme="dark"] .dc-gift.dark{background:#fff;color:rgba(23,23,27,.75);border-color:#fff}
html[data-theme="dark"] .dc-gift.dark b{color:#17171B}
html[data-theme="dark"] .dc-num .dc-track{stroke:rgba(255,255,255,.1)}
html[data-theme="dark"] .dc-glow{opacity:.5}
html[data-theme="dark"] .scrim .sheet:has(.dc-in) .sh-x{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.15)}

/* ===== Start-over sheets (Oct 14): glass card, scrolling body, pinned footer ===== */
.scrim:has(.so){align-items:center!important;padding:14px!important;background:rgba(23,23,27,.18)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.scrim .sheet:has(.so){position:relative;display:flex;flex-direction:column;max-width:420px;max-height:calc(100% - 26px);height:auto;border-radius:30px!important;padding:0!important;overflow:hidden;
  background:rgba(255,255,255,.74)!important;-webkit-backdrop-filter:blur(30px) saturate(1.6)!important;backdrop-filter:blur(30px) saturate(1.6)!important;
  border:1px solid rgba(255,255,255,.9)!important;box-shadow:inset 0 1px 0 #fff,0 30px 70px rgba(40,25,45,.25)!important;animation:none}
.scrim.enter .sheet:has(.so){animation:glassin .4s cubic-bezier(.2,.9,.25,1.05) both!important}
.scrim .sheet:has(.so) .sh-grab{position:absolute;left:50%;top:14px;width:36px;height:4px;margin:0 0 0 -18px;z-index:3;background:rgba(23,23,27,.15);border-radius:4px}
@container app (min-width:700px){ .scrim .sheet:has(.so) .sh-grab{display:none} }
.scrim .sheet:has(.so) .sh-x{display:grid;top:12px;right:12px;width:30px;height:30px;background:rgba(255,255,255,.85);border:1px solid #fff;z-index:6}
.so{display:flex;flex-direction:column;min-height:0;flex:1;max-height:inherit}
.so-body{flex:1;min-height:0;overflow-y:auto;padding:30px 18px 20px;display:flex;flex-direction:column;gap:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.so-body::-webkit-scrollbar{display:none}
.so-body>*{flex-shrink:0}
.so-pill{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.75);border:1px solid #fff;font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5C5A66}
.so-pill i{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#F9B08C,#8EA6F2)}
.so-pill.g{color:#2E7D47}.so-pill.g i{background:#2E7D47}
.so-h{margin:-6px 0 0;font:400 30px/1.05 "Instrument Serif",serif!important;letter-spacing:-.015em;text-wrap:balance;color:var(--ink);text-align:left}
.so-h em{font-style:italic}
.so-lead{margin:-6px 0 0!important;font-size:13.5px!important;color:#5C5A66;line-height:1.5!important;text-align:left}
.so-kr{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.so-kr div{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.9)}
.so-kr b{display:block;font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8B8995;margin-bottom:5px}
.so-kr span{display:block;font-size:12px;color:#5C5A66;line-height:1.4}
.so-kr .k b{color:#2E7D47}
.so-sec{display:block;text-align:left;font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8B8995;margin-bottom:-8px}
.so-sec2{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:-8px}
.so-sec2 .so-sec{margin-bottom:0}
.so-sec2.top{margin-bottom:-2px;align-items:center;padding-right:40px}
.so-link,.so-back{background:none;border:0;padding:0;font:600 12px "Figtree",sans-serif;color:#5C5A66;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.so-back{font-size:13px;text-decoration:none}
.so-cnt{font-size:11px;color:#8B8995;font-weight:600}
.so-seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(255,255,255,.6);border:1px solid #fff;margin:0}
.so-seg button{flex:1;border:0;border-radius:999px;padding:10px 0;font:600 13px "Figtree",sans-serif;color:#5C5A66;background:none;cursor:pointer;transition:.15s;text-align:center;display:flex;align-items:center;justify-content:center}
.so-seg button.on{background:var(--ink);color:#fff}
.so-hint{margin:-8px 0 0!important;font-size:12px!important;color:#8B8995;line-height:1.4!important;text-align:left}
.so-rows{display:flex;flex-direction:column;gap:6px}
.so-row{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.6);border:1px solid #fff}
.so-row .ic,.so-lim .ic,.so-apps .ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;overflow:hidden;background:rgba(255,255,255,.7);box-shadow:0 0 0 .5px rgba(255,255,255,.9),0 1px 3px rgba(40,25,45,.12);font-size:16px}
.so-row .ic img,.so-lim .ic img,.so-apps .ic img{width:100%;height:100%;object-fit:cover;display:block}
.so-row .t{flex:1;min-width:0}
.so-row b{display:block;font-size:13.5px;font-weight:600;color:var(--ink)}
.so-row small{display:block;font-size:11px;color:#5C5A66}
.so-dates{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.so-dates button{border:1px solid #fff;border-radius:14px;padding:11px 6px;background:rgba(255,255,255,.6);cursor:pointer;font:600 12.5px "Figtree",sans-serif;color:var(--ink);text-align:center;display:flex;align-items:center;justify-content:center}
.so-dates button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.so-strip{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 6px;margin-top:-8px;scrollbar-width:none}
.so-strip::-webkit-scrollbar{display:none}
.so-strip button{flex:none;width:46px;text-align:center;justify-content:center;border:1px solid #fff;border-radius:12px;padding:7px 0;background:rgba(255,255,255,.6);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px;font:700 13px "Figtree",sans-serif;color:var(--ink)}
.so-strip button small{font:600 9px "Figtree",sans-serif;color:#8B8995;letter-spacing:.06em;text-transform:uppercase}
.so-strip button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.so-strip button.on small{color:rgba(255,255,255,.7)}
.so-sum{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.6);border:1px solid #fff;font-size:12.5px;color:#5C5A66}
.so-sum b{color:var(--ink);font-weight:600}
.so-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.so-apps button{position:relative;text-align:center;justify-content:center;height:96px;padding:8px 4px;margin:0;border:1px solid rgba(255,255,255,.9);border-radius:16px;padding:9px 4px 8px;background:rgba(255,255,255,.55);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;font:600 10.5px "Figtree",sans-serif;color:#5C5A66;transition:.15s;min-width:0}
.so-apps button span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.so-apps button .ic{width:36px;height:36px;border-radius:11px;font-size:19px;flex:none}
.so-apps button.on{background:rgba(255,255,255,.9);color:var(--ink);box-shadow:0 0 0 2px var(--ink)}
.so-apps button.on::after{content:"";position:absolute;top:6px;right:6px;width:14px;height:14px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 1.5px #fff}
.so-apps button.full{opacity:.42}
.so-lim.empty{opacity:.4}
.so-lim.empty .ic{background:rgba(23,23,27,.05);box-shadow:none}
.so-lim.empty b{color:var(--soft);font-weight:500}
.so-apps button.on::before{content:"";position:absolute;top:9.5px;right:9px;width:6px;height:3px;border-left:1.6px solid #fff;border-bottom:1.6px solid #fff;transform:rotate(-45deg);z-index:1}
.so-apps button.so-addapp i{width:36px;height:36px;border-radius:11px;border:1.5px dashed rgba(23,23,27,.25);display:grid;place-items:center;font-style:normal;font-size:20px;line-height:1;color:#8B8995;box-sizing:border-box;flex:none}
.so-add{margin-top:-8px}
.so-lim{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 12px;border-radius:14px;background:rgba(255,255,255,.6);border:1px solid #fff}
.so-lim .ic{width:28px;height:28px;border-radius:8px}
.so-lim b{flex:1;font-size:13.5px;font-weight:600;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.so-step{display:flex;align-items:center;border-radius:999px;background:rgba(255,255,255,.8);border:1px solid #fff;overflow:hidden;flex:none}
.so-step button{border:0;background:none;width:30px;height:30px;font:600 16px "Figtree",sans-serif;color:#5C5A66;cursor:pointer}
.so-step button:disabled{opacity:.3}
.so-step span{min-width:84px;text-align:center;font:700 12px "Figtree",sans-serif;color:var(--ink)}
.so.noback .so-body{padding-top:54px}
/* You-page sheets reusing the start-over glass */
.so.yo .so-body{padding-top:40px;gap:14px}
.so.yo .so-h{font-size:28px;padding-right:34px}
.so.yo .field{margin:0;background:rgba(255,255,255,.7);border:1px solid #fff;box-shadow:inset 0 1px 0 #fff}
.so.yo .chips{gap:8px}
.so.yo .chip{background:rgba(255,255,255,.65);border:1px solid #fff;box-shadow:inset 0 1px 0 #fff}
.so.yo .chip{display:inline-flex;align-items:center;gap:7px}
.so.yo .chip.on{background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD)!important;color:var(--ink)!important;border:1.5px solid var(--ink)!important}
.so.yo .chip .ck{width:19px;height:19px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none;box-shadow:0 0 0 .5px rgba(23,23,27,.12)}
.so.yo .chip .ck svg{width:10px;height:10px}
.so.yo .madd{margin:0}
.so.yo .madd .field{height:48px}
.so.yo .mlab{margin:14px 0 -4px}
.so.yo .mpick{margin-top:0}
.so.yo .mp{background:rgba(255,255,255,.65);border:1.5px solid rgba(255,255,255,.9);box-shadow:inset 0 1px 0 #fff}
.so.yo .mp.on{background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD)!important;border:1.5px solid var(--ink)!important}
.so.yo .mp.on .pl{background:#fff!important;box-shadow:0 0 0 .5px rgba(23,23,27,.12)}
.so.yo .help-mail{margin:0;background:rgba(255,255,255,.6);border:1px solid #fff}
.so.yo .a2hs{margin:0}
.so.yo .so-foot .btn.soft{border-radius:22px!important;padding:15px}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .so.yo .field,html:not([data-theme="light"]) .so.yo .chip,html:not([data-theme="light"]) .so.yo .help-mail{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
 html:not([data-theme="light"]) .so.yo .chip.on,html:not([data-theme="light"]) .so.yo .mp.on{background:linear-gradient(115deg,rgba(247,138,90,.25),rgba(243,183,196,.18) 48%,rgba(142,166,242,.25))!important;border-color:#F2EEF4!important;color:var(--ink)!important}
 html:not([data-theme="light"]) .so.yo .mp{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
}
html[data-theme="dark"] .so.yo .field,html[data-theme="dark"] .so.yo .chip,html[data-theme="dark"] .so.yo .help-mail{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
html[data-theme="dark"] .so.yo .chip.on,html[data-theme="dark"] .so.yo .mp.on{background:linear-gradient(115deg,rgba(247,138,90,.25),rgba(243,183,196,.18) 48%,rgba(142,166,242,.25))!important;border-color:#F2EEF4!important;color:var(--ink)!important}
html[data-theme="dark"] .so.yo .mp{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
.so-foot{flex:none;padding:12px 18px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px;border-top:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.35)}
.so-foot .btn{border-radius:22px!important;padding:15px}
.so-ghost{background:none;border:0;color:#5C5A66;font:600 13px "Figtree",sans-serif;padding:6px;cursor:pointer;text-align:center;width:100%}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .scrim .sheet:has(.so){background:rgba(30,27,40,.78)!important;border-color:rgba(255,255,255,.12)!important}
 html:not([data-theme="light"]) .so-pill,html:not([data-theme="light"]) .so-kr div,html:not([data-theme="light"]) .so-seg,html:not([data-theme="light"]) .so-row,html:not([data-theme="light"]) .so-dates button,html:not([data-theme="light"]) .so-strip button,html:not([data-theme="light"]) .so-sum,html:not([data-theme="light"]) .so-apps button,html:not([data-theme="light"]) .so-lim,html:not([data-theme="light"]) .so-step{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important}
 html:not([data-theme="light"]) .so-seg button.on,html:not([data-theme="light"]) .so-dates button.on,html:not([data-theme="light"]) .so-strip button.on{background:#F2EEF4!important;color:#17171B!important}
 html:not([data-theme="light"]) .so-strip button.on small{color:rgba(23,23,27,.6)}
 html:not([data-theme="light"]) .so-apps button.on{box-shadow:0 0 0 2px #F2EEF4;background:rgba(255,255,255,.14)!important}
 html:not([data-theme="light"]) .so-apps button.on::after{background:#F2EEF4;box-shadow:0 0 0 1.5px #1E1B28}
 html:not([data-theme="light"]) .so-apps button.on::before{border-color:#17171B}
 html:not([data-theme="light"]) .so-lead,html:not([data-theme="light"]) .so-kr span,html:not([data-theme="light"]) .so-row small,html:not([data-theme="light"]) .so-sum,html:not([data-theme="light"]) .so-pill,html:not([data-theme="light"]) .so-seg button,html:not([data-theme="light"]) .so-apps button,html:not([data-theme="light"]) .so-ghost,html:not([data-theme="light"]) .so-link,html:not([data-theme="light"]) .so-back,html:not([data-theme="light"]) .so-step button{color:var(--soft)}
 html:not([data-theme="light"]) .so-pill.g{color:#8FE0B8}html:not([data-theme="light"]) .so-pill.g i{background:#8FE0B8}
 html:not([data-theme="light"]) .so-kr .k b{color:#8FE0B8}
 html:not([data-theme="light"]) .so-foot{background:rgba(255,255,255,.04);border-top-color:rgba(255,255,255,.08)}
 html:not([data-theme="light"]) .scrim .sheet:has(.so) .sh-x{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.15)}
}
html[data-theme="dark"] .scrim .sheet:has(.so){background:rgba(30,27,40,.78)!important;border-color:rgba(255,255,255,.12)!important}
html[data-theme="dark"] .so-pill,html[data-theme="dark"] .so-kr div,html[data-theme="dark"] .so-seg,html[data-theme="dark"] .so-row,html[data-theme="dark"] .so-dates button,html[data-theme="dark"] .so-strip button,html[data-theme="dark"] .so-sum,html[data-theme="dark"] .so-apps button,html[data-theme="dark"] .so-lim,html[data-theme="dark"] .so-step{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .so-seg button.on,html[data-theme="dark"] .so-dates button.on,html[data-theme="dark"] .so-strip button.on{background:#F2EEF4!important;color:#17171B!important}
html[data-theme="dark"] .so-strip button.on small{color:rgba(23,23,27,.6)}
html[data-theme="dark"] .so-apps button.on{box-shadow:0 0 0 2px #F2EEF4;background:rgba(255,255,255,.14)!important}
html[data-theme="dark"] .so-apps button.on::after{background:#F2EEF4;box-shadow:0 0 0 1.5px #1E1B28}
html[data-theme="dark"] .so-apps button.on::before{border-color:#17171B}
html[data-theme="dark"] .so-lead,html[data-theme="dark"] .so-kr span,html[data-theme="dark"] .so-row small,html[data-theme="dark"] .so-sum,html[data-theme="dark"] .so-pill,html[data-theme="dark"] .so-seg button,html[data-theme="dark"] .so-apps button,html[data-theme="dark"] .so-ghost,html[data-theme="dark"] .so-link,html[data-theme="dark"] .so-back,html[data-theme="dark"] .so-step button{color:var(--soft)}
html[data-theme="dark"] .so-pill.g{color:#8FE0B8}html[data-theme="dark"] .so-pill.g i{background:#8FE0B8}
html[data-theme="dark"] .so-kr .k b{color:#8FE0B8}
html[data-theme="dark"] .so-foot{background:rgba(255,255,255,.04);border-top-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .scrim .sheet:has(.so) .sh-x{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.15)}

/* ===== Official pop-up (Oct 14): every regular pop-up matches the hobby girl pop-up on Progress.
   Bottom sheet with a grab bar on phones, centered card with an × on desktop, same frosted glass and scrim.
   The Day 30 full-screen finale (.dc-scrim / .fin-scrim) is separate and untouched. ===== */
.scrim:is(:has(.so),:has(.dc-in),:has(.celebrate)){align-items:flex-end!important;padding:0!important;
  background:linear-gradient(180deg,rgba(253,231,218,.22),rgba(247,233,236,.18) 50%,rgba(230,234,253,.26))!important;-webkit-backdrop-filter:blur(16px) saturate(1.4)!important;backdrop-filter:blur(16px) saturate(1.4)!important}
.scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)){max-width:560px!important;max-height:88%!important;border-radius:28px 28px 0 0!important;
  background:linear-gradient(165deg,rgba(244,243,242,.94),rgba(238,237,237,.88))!important;-webkit-backdrop-filter:blur(40px) saturate(1.8)!important;backdrop-filter:blur(40px) saturate(1.8)!important;
  border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 -1px 0 rgba(255,255,255,.35) inset,0 2px 6px rgba(74,40,60,.05),0 30px 80px rgba(74,40,60,.20)!important;animation:none!important}
.scrim.enter .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)){animation:rise .26s ease!important}
.scrim .sheet:has(.celebrate)::before{display:none}
.scrim .sheet:has(.so){padding-bottom:0!important}
.so-foot{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
/* grab bar on phones, × on desktop, same as the hobby girl pop-up */
.scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-x{display:none;top:14px;right:14px;width:34px;height:34px;background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.9)}
.scrim .sheet:is(:has(.dc-in),:has(.celebrate)) .sh-grab{display:block;position:relative;z-index:2;width:38px;height:5px;border-radius:3px;background:rgba(60,60,67,.22);margin:-12px auto 14px}
.scrim .sheet:has(.so) .sh-grab{display:block;position:absolute;top:14px;left:50%;width:38px;height:5px;margin:0 0 0 -19px;border-radius:3px;background:rgba(60,60,67,.22)}
@container app (min-width:700px){
  .scrim:is(:has(.so),:has(.dc-in),:has(.celebrate)){align-items:center!important;padding:24px!important}
  .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)){border-radius:28px!important;max-height:calc(100% - 48px)!important}
  .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-x{display:grid}
  .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-grab{display:none}
}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .scrim:is(:has(.so),:has(.dc-in),:has(.celebrate)){background:rgba(10,8,14,.45)!important}
 html:not([data-theme="light"]) .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)){background:linear-gradient(165deg,rgba(48,42,58,.92),rgba(30,27,40,.88))!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)!important}
 html:not([data-theme="light"]) .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}
 html:not([data-theme="light"]) .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-grab{background:rgba(255,255,255,.28)}
}
html[data-theme="dark"] .scrim:is(:has(.so),:has(.dc-in),:has(.celebrate)){background:rgba(10,8,14,.45)!important}
html[data-theme="dark"] .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)){background:linear-gradient(165deg,rgba(48,42,58,.92),rgba(30,27,40,.88))!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 30px 80px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16)}
html[data-theme="dark"] .scrim .sheet:is(:has(.so),:has(.dc-in),:has(.celebrate)) .sh-grab{background:rgba(255,255,255,.28)}

/* Restart and Two More pop-ups: larger type (Oct 14). The You-page sheets (.so.yo) keep their sizes. */
.so:not(.yo) .so-pill{font-size:11px;padding:6px 12px}
.so:not(.yo) .so-pill i{width:7px;height:7px}
.so:not(.yo) .so-h{font-size:34px!important}
.so:not(.yo) .so-lead{font-size:15.5px!important}
.so:not(.yo) .so-kr b{font-size:11px}
.so:not(.yo) .so-kr span{font-size:14px}
.so:not(.yo) .so-sec{font-size:11px}
.so:not(.yo) .so-link{font-size:14px}
.so:not(.yo) .so-back{font-size:15px}
.so:not(.yo) .so-seg button{font-size:15px;padding:11px 0}
.so:not(.yo) .so-hint{font-size:14px!important}
.so:not(.yo) .so-row b{font-size:15.5px}
.so:not(.yo) .so-row small{font-size:13px}
.so:not(.yo) .so-dates button{font-size:14.5px;padding:12px 6px}
.so:not(.yo) .so-strip button{width:52px;font-size:15px}
.so:not(.yo) .so-strip button small{font-size:10.5px}
.so:not(.yo) .so-apps button{font-size:12px;height:100px}
.so:not(.yo) .so-lim b{font-size:15.5px}
.so:not(.yo) .so-step span{font-size:13.5px;min-width:96px}
.so:not(.yo) .so-ghost{font-size:15px}
.so:not(.yo) .so-foot .btn{font-size:16px}

/* Pop-up inner cards: solid white with a hairline so they stand off the frosted sheet (light mode only) */
html:not([data-theme="dark"]) .scrim .sheet :is(.so-row,.so-kr > div,.so-seg,.so-dates button:not(.on),.so-strip button:not(.on),.so-apps button:not(.on),.so-lim,.so-sum,.so-pill,.help-mail,.a2hs li,.dc-pill,.dc-dots,.dc-gift:not(.dark),.hg-pill),
html:not([data-theme="dark"]) .scrim .sheet .so.yo :is(.field,.chip:not(.on),.mp:not(.on)){
  background:#fff!important;border:1px solid #fff!important;box-shadow:none!important}
html:not([data-theme="dark"]) .scrim .sheet .so-step{background:rgba(23,23,27,.04)!important;border:0!important}
html:not([data-theme="dark"]) .scrim .sheet .so-lim.empty{background:rgba(255,255,255,.7)!important}
html:not([data-theme="dark"]) .scrim .sheet .so-apps button.on{background:#fff!important}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .scrim .sheet :is(.so-row,.so-kr > div,.so-seg,.so-dates button:not(.on),.so-strip button:not(.on),.so-apps button:not(.on),.so-lim,.so-sum,.so-pill,.help-mail,.a2hs li,.dc-pill,.dc-dots,.dc-gift:not(.dark),.hg-pill),
 html:not([data-theme="light"]) .scrim .sheet .so.yo :is(.field,.chip:not(.on),.mp:not(.on)){background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:none!important}
 html:not([data-theme="light"]) .scrim .sheet .so-step{background:rgba(255,255,255,.06)!important}
 html:not([data-theme="light"]) .scrim .sheet .so-apps button.on{background:rgba(255,255,255,.14)!important}
}

/* Pause toggle: on = the same mint glass as the check marks */
.switch.on .track,.ycol .switch.on .track{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95))!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.85),0 2px 8px rgba(47,125,91,.15)!important}
.switch.on .track::after{box-shadow:0 1px 3px rgba(31,107,73,.25)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .switch.on .track{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important}}
html[data-theme="dark"] .switch.on .track{background:linear-gradient(135deg,#9BE3BF,#5FC596)!important}

/* Notification bars: buttons are solid black with white text */
.note-bar .btn,.note-bar .btn.ghost{background:linear-gradient(180deg,#2C2C30 0%,#161618 55%,#0F0F11 100%)!important;color:#fff!important;border:0!important;box-shadow:0 8px 20px rgba(23,23,27,.16),inset 0 1px 0 rgba(255,255,255,.10)!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .note-bar .btn,html:not([data-theme="light"]) .note-bar .btn.ghost{background:#F2EEF4!important;color:#17171B!important}}
html[data-theme="dark"] .note-bar .btn,html[data-theme="dark"] .note-bar .btn.ghost{background:#F2EEF4!important;color:#17171B!important}
.panel-head .btn{white-space:nowrap;flex:none}
.panel-head.stack{flex-direction:column;align-items:stretch;gap:14px}
.panel-head.stack > div{text-align:left;align-self:stretch;margin:0;width:100%}
.panel-head.stack .btn{width:100%}
@container app (min-width:700px){ .panel-head.stack{flex-direction:row;align-items:center;justify-content:space-between} .panel-head.stack > div{width:auto;flex:1;min-width:0} .panel-head.stack .btn{width:auto} }

/* Notification bars: light blue gradient so they stand out on the page */
.note-bar,.note-bar.wash{background:linear-gradient(135deg,#E8F0FE 0%,#DEE6FB 55%,#D3DDF8 100%)!important;border:1px solid rgba(90,110,200,.20)!important;box-shadow:0 6px 18px rgba(90,110,200,.12)!important;color:#2A3A78}
.note-bar > span:first-child b{color:#1E2C5E}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .note-bar,html:not([data-theme="light"]) .note-bar.wash{background:linear-gradient(115deg,rgba(142,166,242,.12),rgba(142,166,242,.34))!important;border-color:rgba(142,166,242,.22)!important}}
html[data-theme="dark"] .note-bar,html[data-theme="dark"] .note-bar.wash{background:linear-gradient(115deg,rgba(142,166,242,.12),rgba(142,166,242,.34))!important;border-color:rgba(142,166,242,.22)!important}

/* You page: the pause panel takes the quiz's blue box while paused */
.panel.is-paused,.panel.nr-blue{background:linear-gradient(135deg,#E8F0FE 0%,#DEE6FB 55%,#D3DDF8 100%)!important;border:1px solid rgba(90,110,200,.20)!important;box-shadow:0 6px 18px rgba(90,110,200,.12)!important}
.panel.is-paused h2,.panel.nr-blue h2{color:#1E2C5E!important}
.panel.is-paused .sub,.panel.nr-blue .sub{color:#2A3A78!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .panel.is-paused,html:not([data-theme="light"]) .panel.nr-blue{background:linear-gradient(115deg,rgba(142,166,242,.12),rgba(142,166,242,.34))!important;border-color:rgba(142,166,242,.22)!important} html:not([data-theme="light"]) .panel.is-paused h2,html:not([data-theme="light"]) .panel.nr-blue h2,html:not([data-theme="light"]) .panel.is-paused .sub,html:not([data-theme="light"]) .panel.nr-blue .sub{color:var(--ink)!important}}
html[data-theme="dark"] .panel.is-paused,html[data-theme="dark"] .panel.nr-blue{background:linear-gradient(115deg,rgba(142,166,242,.12),rgba(142,166,242,.34))!important;border-color:rgba(142,166,242,.22)!important}
html[data-theme="dark"] .panel.is-paused h2,html[data-theme="dark"] .panel.nr-blue h2,html[data-theme="dark"] .panel.is-paused .sub,html[data-theme="dark"] .panel.nr-blue .sub{color:var(--ink)!important}

/* Daily mode hero (after Day 30): ring = today's habits, label = today's date (Oct 14) */
.dhero-daily .dh-ring b{font-size:34px}

/* Emoji icons for streak (Today + Progress), lessons and sparks (Progress) (Oct 14) */
.emo-s{font-style:normal;font-size:14px;line-height:1;display:inline-block;margin-right:4px;vertical-align:-1px}
.tf-r .emo-s,.trio .emo-s{margin-right:0}.tf-r .emo-s{font-size:15px}

/* Progress in daily mode: the streak is the only counter (Oct 14) */
.trio.trio1{grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* Start-over sheet: reward section matches the Change-your-reward pop-up (Oct 14) */
.so .so-rw{display:flex;flex-direction:column;gap:12px}
.so .so-rw .so-sec{margin-bottom:-2px}
.so .so-rw .field{margin:0;background:rgba(255,255,255,.7);border:1px solid #fff;box-shadow:inset 0 1px 0 #fff}
.so .so-rw .chips{gap:8px}
.so .so-rw .chip{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.65)!important;border:1px solid #fff;box-shadow:inset 0 1px 0 #fff!important}
.so .so-rw .chip.on{background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD)!important;color:var(--ink)!important;border:1.5px solid var(--ink)!important}
.so .so-rw .chip .ck{width:19px;height:19px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none;box-shadow:0 0 0 .5px rgba(23,23,27,.12)}
.so .so-rw .chip .ck svg{width:10px;height:10px}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .so .so-rw .field,html:not([data-theme="light"]) .so .so-rw .chip{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important}
 html:not([data-theme="light"]) .so .so-rw .chip.on{background:linear-gradient(115deg,rgba(247,138,90,.25),rgba(243,183,196,.18) 48%,rgba(142,166,242,.25))!important;border-color:#F2EEF4!important} }
html[data-theme="dark"] .so .so-rw .field,html[data-theme="dark"] .so .so-rw .chip{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.1)!important}
html[data-theme="dark"] .so .so-rw .chip.on{background:linear-gradient(115deg,rgba(247,138,90,.25),rgba(243,183,196,.18) 48%,rgba(142,166,242,.25))!important;border-color:#F2EEF4!important}

/* Tappable images: a press goes to the button or link, so iOS never lifts the picture or shows the save preview. Other images (like the story preview) keep press-and-hold to save. */
a img,button img,[data-act] img,[data-go] img{pointer-events:none;-webkit-touch-callout:none;-webkit-user-drag:none;user-select:none}
a,button{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}

/* ===== Today card (Oct 16 handoff layout, current page colours). Sits where the old Phone Reset card was: above Core Four, beside the Spark.
   The card itself is the usual .panel; the lesson box is the usual .read (so its colours, done state and dark mode match the rest of the app). ===== */
.oi-today-wrap{container-type:inline-size}
.oi-today{display:flex;align-items:center;gap:24px}
.oi-today *{box-sizing:border-box}
.oi-today .oit-l{flex:1 1 auto;display:flex;align-items:center;gap:20px;min-width:auto}
.oi-today .oit-ring{position:relative;width:92px;height:92px;flex:none}
.oi-today .oit-ring svg{display:block;width:100%;height:100%}
.oi-today .oit-trk{fill:none;stroke:rgba(23,23,27,.07)}
.oi-today .oit-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.oi-today .oit-num b{font:400 40px/.9 "Instrument Serif",Georgia,serif;color:var(--ink)}
.oi-today .oit-num span{font-size:9.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--soft);margin-top:3px}
.oi-today .oit-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:auto}
.oi-today .oit-row{flex:none}
.oi-today .oit-greet{margin:0;font-family:"Instrument Serif",serif!important;font-weight:400;font-size:38px!important;line-height:1.02;letter-spacing:-.01em;color:var(--ink)}
.oi-today .oit-row{display:flex;align-items:center;gap:10px}
.oi-today .oit-nav{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(23,23,27,.06)}
.oi-today .oit-nav button{width:28px;height:28px;border-radius:50%;border:0;background:none;display:grid;place-items:center;color:var(--ink);cursor:pointer;padding:0;box-shadow:none;min-height:0}
.oi-today .oit-nav button:hover:not(:disabled){background:#fff}
.oi-today .oit-nav button:disabled{opacity:.35;cursor:default}
.oi-today .oit-nav svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.oi-today .oit-nav span{font-size:14px;font-weight:700;color:var(--soft);padding:0 6px;white-space:nowrap}
.oi-today .oit-tag{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--soft);padding:5px 9px;border-radius:999px;background:rgba(23,23,27,.05)}
/* lesson: the app's own lesson button (same look as before), placed by the new layout */
.oi-today .read.oit-les{flex:0 1 380px;width:auto;max-width:440px;min-width:0;margin:0 0 0 auto}
.oi-today .read.oit-les small{white-space:nowrap}
/* side-by-side layout: the lesson box sits closer to the card's right edge */
@container (min-width:670px){ .panel.dhero.oi-today{padding-right:12px!important;gap:32px} }
/* Day N of 30 heading; date black on today, grey on past days; lesson box the same size every day */
.oi-today .oit-greet b{font-weight:400;color:var(--ink)}
.oi-today .oit-greet span{color:var(--soft)}
.oi-today .oit-nav span{width:104px;padding:0;text-align:center;color:var(--soft)}
.oi-today .oit-nav span.oit-now{color:var(--ink)}
.oi-today .read.oit-les{min-height:80px}
@container (min-width:670px){
  .oi-today .oit-l{flex:none}
  .oi-today .read.oit-les{flex:1 1 0;max-width:440px}
}
/* narrow column (phones): stacked */
@container (max-width:669px){
  .oi-today{flex-direction:column;align-items:stretch;gap:16px}
  .oi-today .oit-l{gap:16px}
  .oi-today .oit-ring{width:82px;height:82px}
  .oi-today .oit-num b{font-size:34px}
  .oi-today .oit-tag{display:none}
  .oi-today .read.oit-les{flex:none;width:100%;max-width:none}
}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .oi-today .oit-trk{stroke:rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .oi-today .oit-nav{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .oi-today .oit-nav button:hover:not(:disabled){background:rgba(255,255,255,.12)}
  html:not([data-theme="light"]) .oi-today .oit-tag{background:rgba(255,255,255,.08)}
  }
html[data-theme="dark"] .oi-today .oit-trk{stroke:rgba(255,255,255,.1)}
html[data-theme="dark"] .oi-today .oit-nav{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
html[data-theme="dark"] .oi-today .oit-nav button:hover:not(:disabled){background:rgba(255,255,255,.12)}
html[data-theme="dark"] .oi-today .oit-tag{background:rgba(255,255,255,.08)}
/* Feed photos: room below/above the strip so their soft shadows fade out instead of being cut off into a visible box */

/* Day complete: progress bar instead of the 30 dots (grows to today's day on open); gift row on a soft gradient */
.dc-prog{width:100%;padding:16px 16px 18px;border-radius:22px;background:#fff;text-align:left}
.dc-in .dc-prog-h{margin:0 0 12px!important;font:400 30px/1 "Instrument Serif",Georgia,serif!important;letter-spacing:-.01em!important;color:var(--ink)!important}
.dc-in .dc-prog-h b{font-weight:400!important;color:var(--ink)!important}
.dc-in .dc-prog-h span{color:#8B8995!important}
.dc-prog-bar{height:12px;border-radius:999px;background:#EEEDEC;overflow:hidden}
.dc-prog-bar i{display:block;height:100%;width:var(--w);min-width:12px;border-radius:999px;background:linear-gradient(90deg,#CFEEDD,#9FD9B5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);animation:dcprog 1.1s cubic-bezier(.2,.8,.3,1) .25s both}
@keyframes dcprog{from{width:12px}to{width:var(--w)}}
html:not([data-theme="dark"]) .scrim .sheet .dc-in .dc-gift:not(.dark){background:linear-gradient(110deg,#FDE7DA,#F3E6EE 50%,#E6EAFD)!important;border:1px solid #fff!important}
html:not([data-theme="dark"]) .dc-in .dc-gift:not(.dark) i{background:#fff}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .dc-in .dc-gift:not(.dark) i{background:linear-gradient(135deg,#F9B08C,#8EA6F2)} }
@media (prefers-reduced-motion:reduce){ .dc-prog-bar i{animation:none} }
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .dc-prog{background:rgba(255,255,255,.08)}
  html:not([data-theme="light"]) .dc-prog-bar{background:rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .dc-in .dc-prog-h span{color:rgba(255,255,255,.5)!important}
}
html[data-theme="dark"] .dc-prog{background:rgba(255,255,255,.08)}
html[data-theme="dark"] .dc-prog-bar{background:rgba(255,255,255,.1)}
html[data-theme="dark"] .dc-in .dc-prog-h span{color:rgba(255,255,255,.5)!important}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .scrim .sheet .dc-in .dc-gift:not(.dark){background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.1)!important} }
/* Milestone and day-30 pop-ups use the peach-to-blue glow, so the bar matches it */
.dc-in.m .dc-prog-bar i{background:linear-gradient(90deg,#F9B08C,#8EA6F2)}

/* Day-complete share button: camera icon on the left */
.dc-in .btn.dc-share{display:flex;align-items:center;justify-content:center;gap:9px}
.dc-in .btn.dc-share .dc-cam{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Day-complete line under the headline: use the full width, wrap evenly only when it has to */
.dc-in .dc-sub{max-width:none;padding:0 2px;text-wrap:pretty}

/* Hobby girl share buttons: camera icon on the left, same as the day pop-up */
.btn.ig-share{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.btn.ig-share .dc-cam{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Collection complete: all 24 hobby girls (Oct 17 design). Phone layout scales with the screen; a wider layout from 900px. */
.hgd{position:fixed;inset:0;z-index:10000;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:max(54px,calc(env(safe-area-inset-top) + 40px)) 22px max(40px,calc(env(safe-area-inset-bottom) + 24px));
  background:radial-gradient(460px 380px at 100% 0%,rgba(247,138,90,.30),transparent 62%),radial-gradient(460px 420px at 0% 100%,rgba(142,166,242,.30),transparent 62%),radial-gradient(380px 300px at 50% 30%,rgba(243,183,196,.34),transparent 70%),#FCFBF8;
  font-family:"Figtree",system-ui,sans-serif;color:#17171B;-webkit-font-smoothing:antialiased;animation:hgdfade .4s ease both;transition:opacity .3s}
.hgd.out{opacity:0}
@keyframes hgdfade{from{opacity:0}}
.hgd canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.hgd-x{position:absolute;top:max(18px,calc(env(safe-area-inset-top) + 10px));right:18px;z-index:6;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.8);box-shadow:0 4px 14px rgba(74,40,60,.10);display:grid;place-items:center;cursor:pointer}
.hgd-x svg{width:12px;height:12px;stroke:#55525C;stroke-width:2.2;stroke-linecap:round;fill:none}
.hgd-top{position:relative;z-index:3;text-align:center;margin-top:24px}
.hgd-top::before{content:"";position:absolute;z-index:-1;left:-22px;right:-22px;top:30px;height:220px;border-radius:50%;background:radial-gradient(closest-side,rgba(252,251,248,.9) 50%,rgba(252,251,248,0));pointer-events:none}
.hgd-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.85);border:1px solid #fff;box-shadow:0 6px 18px rgba(74,40,60,.10);font:700 10.5px "Figtree",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#3A3840;animation:hgdup .5s .15s cubic-bezier(.2,.8,.2,1) both}
.hgd-pill i{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#E2774F,#D27C96,#7489DC)}
.hgd-pill b{display:inline;font-weight:700;color:#17171B;background:none;padding:0}
.hgd-pill .hgd-n{display:inline-block;min-width:1.2em;text-align:right}
.hgd-pill .hgd-n.hgd-tick{animation:hgdtick .5s cubic-bezier(.2,1.6,.4,1)}
@keyframes hgdtick{0%{transform:translateY(-6px);opacity:0}100%{transform:none;opacity:1}}
.hgd h1{margin:16px 0 0;font:400 46px/1 "Instrument Serif",Georgia,serif;letter-spacing:-.02em;color:#17171B;animation:hgdpop .7s .3s cubic-bezier(.2,1.3,.4,1) both}
.hgd h1 em{font-style:italic;background:linear-gradient(115deg,#E2774F,#D27C96 52%,#7489DC);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.06em}
.hgd h1 .br{display:none}
.hgd-sub{margin:14px auto 0;max-width:300px;font:400 16px/1.45 "Figtree",sans-serif;color:#6E6B76;animation:hgdup .5s .55s ease both}
@keyframes hgdpop{from{opacity:0;transform:scale(.86) translateY(10px)}to{opacity:1;transform:none}}
@keyframes hgdup{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.hgd-crew{position:relative;z-index:4;flex:1;width:100%;min-height:0;display:flex;align-items:center;justify-content:center}
.hgd-in{position:relative;width:100%;height:340px;transform-origin:50% 50%}
.hgd-in .halo{position:absolute;left:50%;top:50%;width:460px;height:380px;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,236,226,.6) 45%,transparent);filter:blur(4px);animation:hgdfade 1s .2s both}
.hgd-in .ground{position:absolute;left:50%;bottom:4px;width:400px;height:34px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(74,40,60,.16),transparent);animation:hgdfade .8s .6s both}
.hgd-g{position:absolute;display:block;transform-origin:50% 100%;animation:hgdin .62s cubic-bezier(.25,1.5,.45,1) both}
.hgd-g::after{content:"";position:absolute;left:50%;top:38%;width:70%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) scale(.2);border:2px solid rgba(210,124,150,.55);opacity:0;animation:hgdring .6s ease-out both;animation-delay:inherit;pointer-events:none}
.hgd-g img{width:100%;height:auto;display:block;filter:drop-shadow(0 6px 8px rgba(74,40,60,.14));animation:hgdbob 3.2s ease-in-out infinite;animation-delay:var(--bd,0s);transform-origin:50% 100%;-webkit-user-drag:none;user-select:none}
@keyframes hgdin{0%{opacity:0;transform:translateY(46px) scale(.2) rotate(-8deg)}55%{opacity:1}75%{transform:translateY(-6px) scale(1.06) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes hgdring{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1.25)}}
@keyframes hgdbob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3px) rotate(var(--tilt,0deg))}}
.hgd-actions{position:relative;z-index:6;width:100%;max-width:420px;display:flex;flex-direction:column;align-items:center}
.hgd-btn{display:flex;align-items:center;justify-content:center;text-align:center;padding:0 20px;width:100%;height:56px;border:0;border-radius:999px;background:linear-gradient(180deg,#2A2A2E,#141417);color:#fff;font:600 17px "Figtree",sans-serif;box-shadow:0 12px 28px rgba(23,23,27,.24),inset 0 1px 0 rgba(255,255,255,.08);cursor:pointer}
/* wide screens */
.hgd.d{padding-top:50px;background:radial-gradient(900px 600px at 100% 0%,rgba(247,138,90,.28),transparent 62%),radial-gradient(900px 640px at 0% 100%,rgba(142,166,242,.28),transparent 62%),radial-gradient(700px 420px at 50% 30%,rgba(243,183,196,.32),transparent 70%),#FCFBF8}
.hgd.d .hgd-x{top:24px;right:28px;width:40px;height:40px}
.hgd.d .hgd-top{margin-top:0}
.hgd.d .hgd-top::before{left:50%;right:auto;width:980px;margin-left:-490px;top:40px;height:230px}
.hgd.d .hgd-pill{font-size:11.5px;padding:9px 16px}
.hgd.d h1{font-size:68px;white-space:nowrap;margin:18px auto 0}
.hgd.d h1 .br{display:inline}
.hgd.d .hgd-sub{font-size:18px;max-width:none;white-space:nowrap;margin-top:16px}
.hgd.d .hgd-in{height:380px}
.hgd.d .hgd-in .halo{width:1200px;height:480px}
.hgd.d .hgd-in .ground{width:1100px;height:46px}
.hgd.d .hgd-actions{width:340px}
@media (prefers-reduced-motion:reduce){.hgd,.hgd-pill,.hgd h1,.hgd-sub,.hgd-g,.hgd-g img,.hgd-g::after,.hgd-in .halo,.hgd-in .ground{animation:none!important}}

/* Review ask (Oct 22): one sheet, rating then a text box */
.rva{text-align:center}
.rva-icon{width:64px;height:64px;border-radius:15px;display:block;margin:4px auto 0;box-shadow:0 6px 16px rgba(74,40,60,.14),0 0 0 .5px rgba(0,0,0,.06)}
.rva-q{margin:16px 0 0;font:400 32px/1.05 "Instrument Serif",Georgia,serif;letter-spacing:-.01em}
.rva-q em{font-style:italic}
.rva-h{margin:2px 0 0;font:400 32px/1.05 "Instrument Serif",Georgia,serif;letter-spacing:-.01em}
.rva-sub{margin:8px auto 0!important;max-width:310px;font-size:15px!important;line-height:1.45!important;color:var(--soft)}
.rva-stars{display:flex;justify-content:center;gap:8px;margin:22px 0 4px}
.rva-stars button{border:0;background:none;padding:4px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.rva-stars svg{width:44px;height:44px;display:block;overflow:visible}
.rva-stars path{fill:transparent;stroke:#B9B3BE;stroke-width:1.6;stroke-linejoin:round;transition:fill .15s,stroke .15s}
.rva-stars button.on path{fill:#F7B23B;stroke:#F7B23B}
.rva-stars button.on svg{animation:rvaPop .35s cubic-bezier(.2,1.6,.4,1)}
@keyframes rvaPop{40%{transform:scale(1.25)}}
.rva-minis{display:flex;justify-content:center;gap:3px;margin-bottom:12px}
.rva-minis svg{width:18px;height:18px;display:block}
.rva-minis path{fill:#D9D4D6}
.rva-minis .on path{fill:#F7B23B}
.rva-text{margin-top:18px;min-height:104px;height:auto!important;padding:14px 16px!important;resize:none;line-height:1.45;text-align:left}
.rva-link{display:block;margin:14px auto 0;border:0;background:none;padding:8px 12px;font:600 15px var(--sans,inherit);color:var(--soft);cursor:pointer}
.rva-link:hover{color:var(--ink)}
@media (prefers-reduced-motion:reduce){.rva-stars button.on svg{animation:none}}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .rva-stars button:not(.on) path{stroke:rgba(255,255,255,.3)} html:not([data-theme="light"]) .rva-minis span:not(.on) path{fill:rgba(255,255,255,.18)} }
html[data-theme="dark"] .rva-stars button:not(.on) path{stroke:rgba(255,255,255,.3)}
html[data-theme="dark"] .rva-minis span:not(.on) path{fill:rgba(255,255,255,.18)}

/* Tap to reveal: frosted glass pill, gradient outline, twinkling sparkle, slow shine */
.hgu-tap{position:absolute;left:50%;top:calc(100% + 22px);transform:translate(-50%,0);z-index:2;
  display:inline-flex;align-items:center;gap:9px;height:52px;padding:0 24px;border-radius:999px;overflow:hidden;white-space:nowrap;cursor:pointer;
  font:600 15.5px Figtree,-apple-system,sans-serif;color:#17171B;
  background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.25) 55%,rgba(255,255,255,.4));
  -webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:inset 0 1.5px 0 #fff,inset 0 -6px 12px rgba(183,167,218,.12),0 10px 28px rgba(74,40,60,.10);
  transition:transform .1s}
.hgu-tap::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;pointer-events:none;
  background:linear-gradient(115deg,#F3B7C4,#C9B6F2 55%,#B7A7DA);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.hgu-tap::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.9),transparent);animation:hguSheen 3s ease-in-out infinite}
.hgu-tap svg{width:18px;height:18px;flex:none}
.hgu-tap .hgu-tw{transform-origin:19px 18px;animation:hguTwinkle 1.8s ease-in-out infinite}
.hgu-sil:active .hgu-tap{transform:translate(-50%,0) scale(.95)}
@keyframes hguSheen{0%,55%{left:-60%}100%{left:130%}}
@keyframes hguTwinkle{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.4);opacity:.4}}
@media (prefers-reduced-motion:reduce){.hgu-tap::after,.hgu-tap .hgu-tw{animation:none}}

/* No night-mode version: the unlock screen keeps its light background (#FCFBF8) in night mode, so the light pill stays as is */

/* Oct 22: pop-up buttons and the plain link under them sit a touch higher on phones, so the link isn't right at the
   bottom edge (easier to tap, fewer accidental taps on the button above it). +12px. */
@container app (max-width:699px){
  .scrim > .sheet{padding-bottom:calc(38px + env(safe-area-inset-bottom))!important}
  .so-foot{padding-bottom:calc(28px + env(safe-area-inset-bottom))!important}
  .rd-foot{padding-bottom:calc(34px + env(safe-area-inset-bottom))!important}
  .scrim .sheet:has(.dc-in){padding-bottom:32px!important}
  .scrim .sheet:has(.celebrate){padding-bottom:36px!important}
}

/* Tab dot (Oct 23): gradient dot (no pulse), on Progress (a hobby girl waiting) and on Activities (first login) */
.tab-dot{position:absolute;top:3px;left:calc(50% + 9px);width:9px;height:9px;border-radius:50%;pointer-events:none;background:linear-gradient(135deg,#F9B08C,#F3C6D6 50%,#8EA6F2);box-shadow:0 0 0 2px rgba(252,251,248,.95),0 2px 6px rgba(74,40,60,.18)}
@container app (min-width:1000px){ .tab-dot{top:4px;left:calc(50% + 10px)} }
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .tab-dot{box-shadow:0 0 0 2px rgba(20,17,28,.95),0 2px 6px rgba(0,0,0,.4)} }
html[data-theme="dark"] .tab-dot{box-shadow:0 0 0 2px rgba(20,17,28,.95),0 2px 6px rgba(0,0,0,.4)}

/* ---------- One-Minute Lessons (Oct 23 design): list + lesson, full page on the hobby girl reveal wash ---------- */
.lsn{position:absolute;inset:0;z-index:20;background:#FCFBF8;overflow:hidden;color:var(--ink);--lsoft:#8C8A92;--lread:"Newsreader",Georgia,serif;--lserif:"Instrument Serif",Georgia,serif}
.lsn.enter{animation:readin .32s cubic-bezier(.2,.9,.3,1)}
.lsn-wash{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;opacity:.7}
.lsn-wash::before,.lsn-wash::after,.lsn-wash i{content:"";position:absolute;border-radius:50%;filter:blur(60px)}
.lsn-wash::before{width:110vmax;height:110vmax;right:-50vmax;top:-60vmax;background:radial-gradient(circle,rgba(249,176,140,1),rgba(249,176,140,0) 70%)}
.lsn-wash::after{width:120vmax;height:120vmax;left:-65vmax;bottom:-70vmax;background:radial-gradient(circle,rgba(142,166,242,1),rgba(142,166,242,0) 70%)}
.lsn-wash i{width:90vmax;height:90vmax;left:10vmax;top:20vmax;filter:blur(50px);background:radial-gradient(circle,rgba(255,214,190,1),rgba(255,214,190,0) 70%)}
.lsn-scroll{position:absolute;inset:0;z-index:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.lsn-page{position:relative;max-width:600px;margin:0 auto;min-height:100%;padding:calc(30px + env(safe-area-inset-top)) 28px 60px;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .32s}
.lsn-page.closing{transform:translateY(100vh)!important;opacity:.4}
/* the blog's barely-there column: faint white, hairline sides, fades in at the top and out at the bottom */
.lsn-page::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(255,255,255,.21);border-left:1px solid rgba(255,255,255,.45);border-right:1px solid rgba(255,255,255,.45);-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 200px,#000 calc(100% - 80px),transparent);mask-image:linear-gradient(180deg,transparent 0,#000 200px,#000 calc(100% - 80px),transparent)}
.lsn-h{margin:0 0 6px;font:400 40px/1 var(--lserif);letter-spacing:-.02em}
.lsn-sub,.lsn-sec{font:600 11.5px Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--lsoft)}
.lsn-prog{height:3px;border-radius:2px;background:rgba(23,23,27,.08);margin:16px 0 30px;overflow:hidden}
.lsn-prog i{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#F78A5A,#F3B7C4 55%,#8EA6F2)}
.lsn-sec{margin:26px 0 10px}
.lsn-prog + .lsn-sec{margin-top:0}
/* today's lesson */
.lsn-today{display:block;width:100%;text-align:left;padding:0;font:inherit;color:inherit;cursor:pointer;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #fff;box-shadow:0 10px 30px rgba(40,30,20,.08)}
.lsn-today .ph{display:block;height:190px;background:#DDD center/cover no-repeat;position:relative}
.lsn-today .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.28))}
.lsn-today .tx{display:block;padding:16px 18px 18px}
.lsn-today .lsn-sub{display:block;margin-bottom:6px}
.lsn-today .t{display:block;margin:0 0 6px;font:400 28px/1.05 var(--lserif);letter-spacing:-.015em}
.lsn-today .p{display:block;margin:0;font:400 16px/1.5 var(--lread);color:#4B4950}
.lsn-today .lsn-cta{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font:600 14px Figtree,system-ui,sans-serif;color:var(--ink)}
.lsn-today .lsn-cta svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* list */
.lsn-list{display:flex;flex-direction:column}
.lsn-row{display:grid;grid-template-columns:76px 1fr auto;gap:14px;align-items:center;width:100%;padding:12px 0;border:0;border-top:1px solid rgba(23,23,27,.07);background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}
.lsn-row:first-child{border-top:0}
.lsn-row .ph{width:76px;height:58px;border-radius:12px;background:#DDD center/cover no-repeat}
.lsn-row .n{min-width:0}
.lsn-row .n small{display:block;font:600 10.5px Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--lsoft);margin-bottom:3px}
.lsn-row .n b{display:block;font:400 19px/1.15 var(--lserif);letter-spacing:-.01em}
.lsn-row .st{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 2px 6px rgba(47,125,91,.12)}
.lsn-row .st svg{width:13px;height:13px;fill:none;stroke:#2F7D5B;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.lsn-row .st.open{background:rgba(255,255,255,.3);box-shadow:inset 0 1px 2px rgba(74,40,60,.06);border:1.5px solid rgba(23,23,27,.16)}
.lsn-row.lock{opacity:.55;cursor:default}
.lsn-row.lock .ph{filter:grayscale(1);opacity:.6}
.lsn-row.lock .st{background:rgba(23,23,27,.06);box-shadow:none}
.lsn-row.lock .st svg{stroke:var(--lsoft);stroke-width:2}
/* lesson page */
.lsn-lesson{padding-top:calc(22px + env(safe-area-inset-top));padding-bottom:calc(120px + env(safe-area-inset-bottom))}
.lsn-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.lsn-back{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font:600 14px Figtree,system-ui,sans-serif;color:var(--lsoft);cursor:pointer}
.lsn-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lsn-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:22px;box-shadow:0 14px 40px rgba(74,40,60,.14)}
.lsn-lesson h1{margin:34px 0 10px;font:400 44px/1.02 var(--lserif);letter-spacing:-.02em}
.lsn-meta{font:600 11.5px Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--lsoft);padding-bottom:18px;border-bottom:1px solid rgba(23,23,27,.08);margin-bottom:22px}
.lsn-lesson p{margin:0 0 22px;font:400 19px/1.75 var(--lread);color:#2B2A30}
.lsn-lesson p.first::first-letter{float:left;font:400 74px/.8 var(--lserif);margin:8px 10px 0 0;color:var(--ink)}
.lsn-pull{margin:30px 0;padding:22px 0;border-top:1px solid rgba(23,23,27,.08);border-bottom:1px solid rgba(23,23,27,.08);text-align:center;font:italic 400 24px/1.3 var(--lserif);color:var(--ink)}
/* close controls: X on desktop, grab bar + swipe down on phones; fixed Done Reading */
.lsn-x{position:absolute;top:18px;right:22px;z-index:6;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.7);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:inset 0 1px 0 #fff,0 6px 18px rgba(74,40,60,.12);display:grid;place-items:center;cursor:pointer;color:var(--ink);padding:0}
.lsn-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.lsn-x:hover{background:#fff}
.lsn-grab{display:none;width:38px;height:5px;border-radius:3px;background:rgba(23,23,27,.18);margin:-6px auto 14px}
.lsn-done{position:absolute;left:50%;bottom:calc(22px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(560px,calc(100% - 40px));z-index:5;border:0;border-radius:18px;padding:17px;background:var(--ink);color:#fff;font:700 16px Figtree,system-ui,sans-serif;text-align:center;display:block;cursor:pointer;box-shadow:0 14px 34px rgba(23,23,27,.28)}
@container app (max-width:640px){
  .lsn-page{padding:calc(18px + env(safe-area-inset-top)) 20px 60px}
  .lsn-lesson{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
  .lsn-page::before{display:none}
  .lsn-x{display:none}
  .lsn-grab{display:block}
}
/* night */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .lsn{background:#121019;color:#F2EEF4;--lsoft:#9A94A6}
  html:not([data-theme="light"]) .lsn-wash{opacity:.22}
  html:not([data-theme="light"]) .lsn-page::before{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.06)}
  html:not([data-theme="light"]) .lsn-prog{background:rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .lsn-today{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.3)}
  html:not([data-theme="light"]) .lsn-today .p{color:#C9C3D0}
  html:not([data-theme="light"]) .lsn-today .lsn-cta,html:not([data-theme="light"]) .lsn-row,html:not([data-theme="light"]) .lsn-lesson h1,html:not([data-theme="light"]) .lsn-pull,html:not([data-theme="light"]) .lsn-lesson p.first::first-letter{color:#F2EEF4}
  html:not([data-theme="light"]) .lsn-row{border-top-color:rgba(255,255,255,.07)}
  html:not([data-theme="light"]) .lsn-row:first-child{border-top:0}
  html:not([data-theme="light"]) .lsn-row .st.open{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.22)}
  html:not([data-theme="light"]) .lsn-row.lock .st{background:rgba(255,255,255,.06)}
  html:not([data-theme="light"]) .lsn-lesson p{color:#D6D1DC}
  html:not([data-theme="light"]) .lsn-meta,html:not([data-theme="light"]) .lsn-pull{border-color:rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .lsn-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);box-shadow:none;color:#F2EEF4}
  html:not([data-theme="light"]) .lsn-grab{background:rgba(255,255,255,.28)}
  html:not([data-theme="light"]) .lsn-done{background:#F2EEF4;color:#17171B;box-shadow:0 14px 34px rgba(0,0,0,.4)}
}
html[data-theme="dark"] .lsn{background:#121019;color:#F2EEF4;--lsoft:#9A94A6}
html[data-theme="dark"] .lsn-wash{opacity:.22}
html[data-theme="dark"] .lsn-page::before{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.06)}
html[data-theme="dark"] .lsn-prog{background:rgba(255,255,255,.1)}
html[data-theme="dark"] .lsn-today{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.3)}
html[data-theme="dark"] .lsn-today .p{color:#C9C3D0}
html[data-theme="dark"] .lsn-today .lsn-cta,html[data-theme="dark"] .lsn-row,html[data-theme="dark"] .lsn-lesson h1,html[data-theme="dark"] .lsn-pull,html[data-theme="dark"] .lsn-lesson p.first::first-letter{color:#F2EEF4}
html[data-theme="dark"] .lsn-row{border-top-color:rgba(255,255,255,.07)}
html[data-theme="dark"] .lsn-row:first-child{border-top:0}
html[data-theme="dark"] .lsn-row .st.open{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.22)}
html[data-theme="dark"] .lsn-row.lock .st{background:rgba(255,255,255,.06)}
html[data-theme="dark"] .lsn-lesson p{color:#D6D1DC}
html[data-theme="dark"] .lsn-meta,html[data-theme="dark"] .lsn-pull{border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .lsn-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);box-shadow:none;color:#F2EEF4}
html[data-theme="dark"] .lsn-grab{background:rgba(255,255,255,.28)}
html[data-theme="dark"] .lsn-done{background:#F2EEF4;color:#17171B;box-shadow:0 14px 34px rgba(0,0,0,.4)}

/* ---------- Daily Sparks list (Oct 23 design): same page as the lessons, its own look ---------- */
.spk-row{grid-template-columns:44px 1fr auto;padding:13px 0}
.spk-num{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font:400 21px/1 "Instrument Serif",Georgia,serif;color:var(--ink);background:linear-gradient(135deg,#FDE7DA,#F7E9EC 55%,#E6EAFD);border:1px solid rgba(255,255,255,.95);box-shadow:inset 0 1px 0 #fff,0 4px 12px rgba(74,40,60,.08)}
.spk-row .n b{font:600 15.5px/1.3 Figtree,system-ui,sans-serif!important;letter-spacing:0}
.spk-row .n small{margin-bottom:2px}
.spk-today{display:block;width:100%;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer;position:relative;border-radius:22px;overflow:hidden;background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD);border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 14px 36px rgba(74,40,60,.12)}
.spk-today .tx{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:start;padding:22px}
.spk-today .lsn-sub{display:flex;align-items:center;gap:8px;color:#7A6572}
.spk-today .lsn-sub svg{width:16px;height:16px;flex:none}
.spk-today .st{grid-row:1/3;grid-column:2;margin-top:2px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 2px 6px rgba(47,125,91,.12)}
.spk-today .st svg{width:13px;height:13px;fill:none;stroke:#2F7D5B;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.spk-today .st.open{background:rgba(255,255,255,.55);box-shadow:inset 0 1px 2px rgba(74,40,60,.06);border:1.5px solid rgba(23,23,27,.16)}
.spk-today .t{grid-column:1;display:block;margin:4px 0 0;font:400 30px/1.05 "Instrument Serif",Georgia,serif;letter-spacing:-.015em}
.spk-today .task{grid-column:1/-1;display:block;margin-top:12px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.72);font:400 16px/1.55 Figtree,system-ui,sans-serif;color:#2B2A30}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .spk-num{background:linear-gradient(135deg,rgba(249,176,140,.22),rgba(243,183,196,.14) 55%,rgba(142,166,242,.2));border-color:rgba(255,255,255,.12);box-shadow:none;color:#F2EEF4}
  html:not([data-theme="light"]) .spk-today{background:linear-gradient(115deg,rgba(247,138,90,.22),rgba(243,183,196,.14) 48%,rgba(142,166,242,.2));border-color:rgba(255,255,255,.1);box-shadow:0 14px 36px rgba(0,0,0,.3)}
  html:not([data-theme="light"]) .spk-today .lsn-sub{color:#C8B8C4}
  html:not([data-theme="light"]) .spk-today .t{color:#F2EEF4}
  html:not([data-theme="light"]) .spk-today .task{background:rgba(255,255,255,.08);color:#E4DEE8}
  html:not([data-theme="light"]) .spk-today .st.open{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.22)}
}
html[data-theme="dark"] .spk-num{background:linear-gradient(135deg,rgba(249,176,140,.22),rgba(243,183,196,.14) 55%,rgba(142,166,242,.2));border-color:rgba(255,255,255,.12);box-shadow:none;color:#F2EEF4}
html[data-theme="dark"] .spk-today{background:linear-gradient(115deg,rgba(247,138,90,.22),rgba(243,183,196,.14) 48%,rgba(142,166,242,.2));border-color:rgba(255,255,255,.1);box-shadow:0 14px 36px rgba(0,0,0,.3)}
html[data-theme="dark"] .spk-today .lsn-sub{color:#C8B8C4}
html[data-theme="dark"] .spk-today .t{color:#F2EEF4}
html[data-theme="dark"] .spk-today .task{background:rgba(255,255,255,.08);color:#E4DEE8}
html[data-theme="dark"] .spk-today .st.open{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.22)}

/* ---------- Single spark page (Oct 23 design): today's-spark card with the button inside, app's spark done state ---------- */
.spk-page .lsn-top{margin-bottom:16px}
.spk-card{position:relative;margin-top:6px;border-radius:22px;overflow:hidden;background:linear-gradient(115deg,#FDE7DA,#F7E9EC 48%,#E6EAFD);border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 14px 36px rgba(74,40,60,.12);transition:background .4s}
.spk-card .tx{display:block;padding:22px}
.spk-card .lsn-sub{display:flex;align-items:center;gap:8px;color:#7A6572;margin-bottom:4px}
.spk-card .k-open{display:inline-flex;align-items:center;gap:8px}
.spk-card .k-open svg{width:16px;height:16px;flex:none}
.spk-card .k-done{color:#2F7D5B}
.spk-card .t{display:block;margin:4px 0 0;font:400 30px/1.05 "Instrument Serif",Georgia,serif;letter-spacing:-.015em}
.spk-card .task{display:block;margin:12px 0 0;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.72);font:400 16px/1.55 Figtree,system-ui,sans-serif;color:#2B2A30}
.spk-card .in-cta{margin-top:14px}
.spk-mark{display:block;width:100%;padding:16px;border-radius:18px;background:rgba(255,255,255,.9);color:var(--ink);border:1.5px solid var(--ink);box-shadow:0 8px 22px rgba(74,40,60,.1);font:700 16px Figtree,system-ui,sans-serif;text-align:center;cursor:pointer}
.spk-card .done-row{display:flex;justify-content:center;align-items:center;padding:14px 18px;border-radius:999px;background:rgba(255,255,255,.55);color:#1F6B49;font:500 15px Figtree,system-ui,sans-serif}
.spk-card .stamp{display:none;position:absolute;top:18px;right:18px;width:48px;height:48px;border-radius:50%;place-items:center;z-index:2;background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95));border:1.5px solid rgba(255,255,255,.9);box-shadow:0 3px 10px rgba(47,125,91,.18)}
.spk-card.is-done{background:linear-gradient(135deg,rgba(251,244,208,.85),rgba(230,243,211,.8) 50%,rgba(207,236,217,.85))}
.spk-card.is-done .stamp{display:grid}
.spk-card.is-done .stamp.just{animation:spkStampIn .55s cubic-bezier(.2,1.4,.3,1) both}
.spk-card.is-done .stamp.just path{stroke-dasharray:30;stroke-dashoffset:30;animation:spkDraw .45s ease .3s forwards}
.spk-card.is-done .lsn-sub,.spk-card.is-done .t{padding-right:60px}
.spk-card.is-done .t{color:#55535B}
.spk-card.is-done .task{opacity:.5;text-decoration:line-through;text-decoration-color:rgba(23,23,27,.35)}
@keyframes spkStampIn{from{transform:scale(.3) rotate(-25deg);opacity:0}to{transform:none;opacity:1}}
@keyframes spkDraw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.spk-card.is-done .stamp.just,.spk-card.is-done .stamp.just path{animation:none;stroke-dashoffset:0}}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .spk-card{background:linear-gradient(115deg,rgba(247,138,90,.22),rgba(243,183,196,.14) 48%,rgba(142,166,242,.2));border-color:rgba(255,255,255,.1);box-shadow:0 14px 36px rgba(0,0,0,.3)}
  html:not([data-theme="light"]) .spk-card .lsn-sub{color:#C8B8C4}
  html:not([data-theme="light"]) .spk-card .t{color:#F2EEF4}
  html:not([data-theme="light"]) .spk-card .task{background:rgba(255,255,255,.08);color:#E4DEE8}
  html:not([data-theme="light"]) .spk-mark{background:rgba(255,255,255,.06);color:#F2EEF4;border-color:rgba(255,255,255,.7);box-shadow:none}
  html:not([data-theme="light"]) .spk-card.is-done{background:linear-gradient(135deg,rgba(120,200,160,.2),rgba(80,170,130,.16))}
  html:not([data-theme="light"]) .spk-card.is-done .t{color:#B9B3C0}
  html:not([data-theme="light"]) .spk-card .k-done,html:not([data-theme="light"]) .spk-card .done-row{color:#A6E3C2}
  html:not([data-theme="light"]) .spk-card .done-row{background:rgba(255,255,255,.08)}
}
html[data-theme="dark"] .spk-card{background:linear-gradient(115deg,rgba(247,138,90,.22),rgba(243,183,196,.14) 48%,rgba(142,166,242,.2));border-color:rgba(255,255,255,.1);box-shadow:0 14px 36px rgba(0,0,0,.3)}
html[data-theme="dark"] .spk-card .lsn-sub{color:#C8B8C4}
html[data-theme="dark"] .spk-card .t{color:#F2EEF4}
html[data-theme="dark"] .spk-card .task{background:rgba(255,255,255,.08);color:#E4DEE8}
html[data-theme="dark"] .spk-mark{background:rgba(255,255,255,.06);color:#F2EEF4;border-color:rgba(255,255,255,.7);box-shadow:none}
html[data-theme="dark"] .spk-card.is-done{background:linear-gradient(135deg,rgba(120,200,160,.2),rgba(80,170,130,.16))}
html[data-theme="dark"] .spk-card.is-done .t{color:#B9B3C0}
html[data-theme="dark"] .spk-card .k-done,html[data-theme="dark"] .spk-card .done-row{color:#A6E3C2}
html[data-theme="dark"] .spk-card .done-row{background:rgba(255,255,255,.08)}

/* Spark eyebrows (Oct 23): Today's card matches the spark page: purply star + "Spark N of 30"; green star + "Spark done" */
.spark .kicker.spk-k,.spark.is-done .kicker.spk-k{display:flex;align-items:center;gap:8px;font:600 11.5px Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#7A6572!important}
.spark.is-done .kicker.spk-k{color:#2F7D5B!important}
.kicker.spk-k .spk-star,.spk-card .spk-star{width:16px;height:16px;flex:none}
.spk-card .k-done{display:inline-flex;align-items:center;gap:8px}
@media (prefers-color-scheme:dark){ html:not([data-theme="light"]) .spark .kicker.spk-k{color:#C8B8C4!important} html:not([data-theme="light"]) .spark.is-done .kicker.spk-k{color:#A6E3C2!important} }
html[data-theme="dark"] .spark .kicker.spk-k{color:#C8B8C4!important}
html[data-theme="dark"] .spark.is-done .kicker.spk-k{color:#A6E3C2!important}

/* ---------- Night mode (Oct 24): hobby girl reveal, collection complete, phone reset checklist ---------- */
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) .hgu,html:not([data-theme="light"]) .hgu-wash{background:#121019}
html:not([data-theme="light"]) .hgu-wash::before,html:not([data-theme="light"]) .hgu-wash::after{opacity:.45}
html:not([data-theme="light"]) .hgu h1{color:#F2EEF4}
html:not([data-theme="light"]) .hgu-sub,html:not([data-theme="light"]) .hgu-ghost{color:#B7B1C0}
html:not([data-theme="light"]) .hgu-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);box-shadow:none}
html:not([data-theme="light"]) .hgu-x svg{stroke:#D6D1DC}
html:not([data-theme="light"]) .hgu .btn{background:#F2EEF4!important;background-image:none!important;color:#17171B!important;box-shadow:0 10px 26px rgba(0,0,0,.4)!important}
html:not([data-theme="light"]) .hgu .btn svg{stroke:#17171B}
html:not([data-theme="light"]) .hgu-sil .bd-img{filter:brightness(0) invert(1) opacity(.14)}
html:not([data-theme="light"]) .hgu-sil.opening .bd-img{filter:brightness(0) invert(1) opacity(0)}
html:not([data-theme="light"]) .hgu-sil::before,html:not([data-theme="light"]) .hgu-fig::before{background:radial-gradient(ellipse,rgba(0,0,0,.55),rgba(0,0,0,0) 70%)}
html:not([data-theme="light"]) .hgu-glow{background:radial-gradient(circle,rgba(255,255,255,.14),rgba(255,255,255,0) 62%)}
html:not([data-theme="light"]) .hgu-brand span{color:#8B8595}
html:not([data-theme="light"]) .hgu-brand img{content:url(/img/email/logo-night.png)}
html:not([data-theme="light"]) .hgu-tap{color:#F2EEF4;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05) 55%,rgba(255,255,255,.09));box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 28px rgba(0,0,0,.35)}
html:not([data-theme="light"]) .hgu-tap::after{background:linear-gradient(100deg,transparent,rgba(255,255,255,.18),transparent)}
html:not([data-theme="light"]) .hgd,html:not([data-theme="light"]) .hgd.d{background:radial-gradient(460px 380px at 100% 0%,rgba(247,138,90,.16),transparent 62%),radial-gradient(460px 420px at 0% 100%,rgba(142,166,242,.16),transparent 62%),radial-gradient(380px 300px at 50% 30%,rgba(243,183,196,.12),transparent 70%),#121019;color:#F2EEF4}
html:not([data-theme="light"]) .hgd-x{background:rgba(255,255,255,.1);box-shadow:none}
html:not([data-theme="light"]) .hgd-x svg{stroke:#D6D1DC}
html:not([data-theme="light"]) .hgd-top::before{background:radial-gradient(closest-side,rgba(18,16,25,.85) 50%,rgba(18,16,25,0))}
html:not([data-theme="light"]) .hgd-pill{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);box-shadow:none;color:#C9C3D0}
html:not([data-theme="light"]) .hgd-pill b,html:not([data-theme="light"]) .hgd h1{color:#F2EEF4}
html:not([data-theme="light"]) .hgd-sub{color:#B7B1C0}
html:not([data-theme="light"]) .hgd-in .halo{background:radial-gradient(closest-side,rgba(255,255,255,.12),rgba(243,183,196,.08) 45%,transparent)}
html:not([data-theme="light"]) .hgd-in .ground{background:radial-gradient(closest-side,rgba(0,0,0,.45),transparent)}
html:not([data-theme="light"]) .hgd-g img{filter:drop-shadow(0 6px 8px rgba(0,0,0,.4))}
html:not([data-theme="light"]) .hgd-btn{background:#F2EEF4;color:#17171B;box-shadow:0 12px 28px rgba(0,0,0,.4)}
html:not([data-theme="light"]) .check{background:transparent!important;color:var(--ink)}
html:not([data-theme="light"]) .check .cb{border-color:rgba(255,255,255,.5)}
html:not([data-theme="light"]) .check.on .cb{background:#F2EEF4;border-color:#F2EEF4}
html:not([data-theme="light"]) .check.on .cb svg{stroke:#17171B}
}
html[data-theme="dark"] .hgu,html[data-theme="dark"] .hgu-wash{background:#121019}
html[data-theme="dark"] .hgu-wash::before,html[data-theme="dark"] .hgu-wash::after{opacity:.45}
html[data-theme="dark"] .hgu h1{color:#F2EEF4}
html[data-theme="dark"] .hgu-sub,html[data-theme="dark"] .hgu-ghost{color:#B7B1C0}
html[data-theme="dark"] .hgu-x{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);box-shadow:none}
html[data-theme="dark"] .hgu-x svg{stroke:#D6D1DC}
html[data-theme="dark"] .hgu .btn{background:#F2EEF4!important;background-image:none!important;color:#17171B!important;box-shadow:0 10px 26px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .hgu .btn svg{stroke:#17171B}
html[data-theme="dark"] .hgu-sil .bd-img{filter:brightness(0) invert(1) opacity(.14)}
html[data-theme="dark"] .hgu-sil.opening .bd-img{filter:brightness(0) invert(1) opacity(0)}
html[data-theme="dark"] .hgu-sil::before,html[data-theme="dark"] .hgu-fig::before{background:radial-gradient(ellipse,rgba(0,0,0,.55),rgba(0,0,0,0) 70%)}
html[data-theme="dark"] .hgu-glow{background:radial-gradient(circle,rgba(255,255,255,.14),rgba(255,255,255,0) 62%)}
html[data-theme="dark"] .hgu-brand span{color:#8B8595}
html[data-theme="dark"] .hgu-brand img{content:url(/img/email/logo-night.png)}
html[data-theme="dark"] .hgu-tap{color:#F2EEF4;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05) 55%,rgba(255,255,255,.09));box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 28px rgba(0,0,0,.35)}
html[data-theme="dark"] .hgu-tap::after{background:linear-gradient(100deg,transparent,rgba(255,255,255,.18),transparent)}
html[data-theme="dark"] .hgd,html[data-theme="dark"] .hgd.d{background:radial-gradient(460px 380px at 100% 0%,rgba(247,138,90,.16),transparent 62%),radial-gradient(460px 420px at 0% 100%,rgba(142,166,242,.16),transparent 62%),radial-gradient(380px 300px at 50% 30%,rgba(243,183,196,.12),transparent 70%),#121019;color:#F2EEF4}
html[data-theme="dark"] .hgd-x{background:rgba(255,255,255,.1);box-shadow:none}
html[data-theme="dark"] .hgd-x svg{stroke:#D6D1DC}
html[data-theme="dark"] .hgd-top::before{background:radial-gradient(closest-side,rgba(18,16,25,.85) 50%,rgba(18,16,25,0))}
html[data-theme="dark"] .hgd-pill{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);box-shadow:none;color:#C9C3D0}
html[data-theme="dark"] .hgd-pill b,html[data-theme="dark"] .hgd h1{color:#F2EEF4}
html[data-theme="dark"] .hgd-sub{color:#B7B1C0}
html[data-theme="dark"] .hgd-in .halo{background:radial-gradient(closest-side,rgba(255,255,255,.12),rgba(243,183,196,.08) 45%,transparent)}
html[data-theme="dark"] .hgd-in .ground{background:radial-gradient(closest-side,rgba(0,0,0,.45),transparent)}
html[data-theme="dark"] .hgd-g img{filter:drop-shadow(0 6px 8px rgba(0,0,0,.4))}
html[data-theme="dark"] .hgd-btn{background:#F2EEF4;color:#17171B;box-shadow:0 12px 28px rgba(0,0,0,.4)}
html[data-theme="dark"] .check{background:transparent!important;color:var(--ink)}
html[data-theme="dark"] .check .cb{border-color:rgba(255,255,255,.5)}
html[data-theme="dark"] .check.on .cb{background:#F2EEF4;border-color:#F2EEF4}
html[data-theme="dark"] .check.on .cb svg{stroke:#17171B}
/* Night mode (Oct 24): readable text on the blue note bars (daily mode, paused, starts tomorrow); light-text logo */
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) .note-bar,html:not([data-theme="light"]) .note-bar.wash,html:not([data-theme="light"]) .note-bar span{color:#DCE3FB}
html:not([data-theme="light"]) .yfoot .yf-logo{content:url(/img/email/logo-night.png);filter:none;opacity:.6}
html:not([data-theme="light"]) .dc-wm{content:url(/img/email/logo-night.png)}
}
html[data-theme="dark"] .note-bar,html[data-theme="dark"] .note-bar.wash,html[data-theme="dark"] .note-bar span{color:#DCE3FB}
html[data-theme="dark"] .yfoot .yf-logo{content:url(/img/email/logo-night.png);filter:none;opacity:.6}
html[data-theme="dark"] .dc-wm{content:url(/img/email/logo-night.png)}

/* ===== Habit tips drop-down (Oct 24): tap the habit for tips, tap the circle to mark it done ===== */
.rc2-row{position:relative}
.rc2-body .rc2-r{display:flex;align-items:center}
.rc2-body .rc2-r .tsp{flex:none;width:40px}
.rc2-body .rc2-r .t{flex:1;min-width:0}
.rc2-body .rc2-row:has(+ .tippan:last-child) .rc2-r{border-bottom:0}
.rc2-body .rc2-row:has(+ .tippan.open) .rc2-r{border-bottom-color:transparent!important}
.tchev{position:absolute;top:50%;right:32px;transform:translateY(-50%);width:44px;height:44px;padding:0;border:0;background:none;border-radius:50%;display:grid;place-items:center;color:#B4B0BA;cursor:pointer;transition:color .2s,background .2s;-webkit-tap-highlight-color:transparent}
@media (hover:hover){.tchev:hover{background:rgba(255,255,255,.7);color:#8C8A92}}
.tchev:active{background:rgba(142,166,242,.14)}
.tchev svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.tchev.on{color:#8C8A92}
.tchev.on svg{transform:rotate(180deg)}
.ckhit{display:grid;place-items:center;padding:0 0 0 10px}
.tippan{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.tippan.open{grid-template-rows:1fr;border-bottom:1px solid rgba(60,60,67,.10)}
.tippan:last-child.open{border-bottom:0}
.tippan>ul{overflow:hidden;margin:0;padding:0;list-style:none;counter-reset:tp;visibility:hidden;transition:visibility 0s .3s}
.tippan.open>ul{visibility:visible;transition-delay:0s}
.tippan.open>ul{margin:0 0 14px;padding:2px 16px;border-radius:16px;background:linear-gradient(135deg,rgba(236,240,253,.9),rgba(222,228,250,.85));border:1px solid rgba(142,166,242,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 28px rgba(142,166,242,.14)}
.tippan li{counter-increment:tp;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:baseline;padding:11px 0;border-top:1px solid rgba(142,166,242,.2);font-family:Figtree,system-ui,sans-serif}
.tippan li::before{content:"0" counter(tp);display:block;font:700 12.5px Figtree,system-ui,sans-serif;letter-spacing:.06em;background:linear-gradient(135deg,#8EA6F2,#6F86D8);-webkit-background-clip:text;background-clip:text;color:transparent}
.tippan li>div{min-width:0}
.tippan li b{display:inline;font:500 15.5px/1.45 Figtree,system-ui,sans-serif;color:#202852}
.tippan li.th{display:block;padding:13px 0 2px;border-top:0;font:700 11.5px Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#6F86D8;counter-increment:none}
.tippan li.th::before{content:none}
.tippan li.th+li{border-top:0}
@media (prefers-reduced-motion:reduce){.tippan,.tchev svg{transition:none}}
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) .tchev{color:#77718A}

html:not([data-theme="light"]) .tchev.on{color:#A9A3B5}
html:not([data-theme="light"]) .tippan.open>ul{background:linear-gradient(135deg,rgba(142,166,242,.16),rgba(111,134,216,.12));border-color:rgba(142,166,242,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
html:not([data-theme="light"]) .tippan li{border-top-color:rgba(142,166,242,.18)}
html:not([data-theme="light"]) .tippan li::before{background:linear-gradient(135deg,#B4C3F7,#8EA6F2);-webkit-background-clip:text;background-clip:text}
html:not([data-theme="light"]) .tippan li b{color:#E4E7F8}
html:not([data-theme="light"]) .tippan li.th{color:#9FB2F5}
}
html[data-theme="dark"] .tchev{color:#77718A}

html[data-theme="dark"] .tchev.on{color:#A9A3B5}
html[data-theme="dark"] .tippan.open>ul{background:linear-gradient(135deg,rgba(142,166,242,.16),rgba(111,134,216,.12));border-color:rgba(142,166,242,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
html[data-theme="dark"] .tippan li{border-top-color:rgba(142,166,242,.18)}
html[data-theme="dark"] .tippan li::before{background:linear-gradient(135deg,#B4C3F7,#8EA6F2);-webkit-background-clip:text;background-clip:text}
html[data-theme="dark"] .tippan li b{color:#E4E7F8}
html[data-theme="dark"] .tippan li.th{color:#9FB2F5}
@media (hover:hover) and (prefers-color-scheme:dark){html:not([data-theme="light"]) .tchev:hover{background:rgba(255,255,255,.08);color:#A9A3B5}}
@media (hover:hover){html[data-theme="dark"] .tchev:hover{background:rgba(255,255,255,.08);color:#A9A3B5}}
/* No divider under the fourth Core Four habit (Oct 24): the Two More label gives the break */
.rc2-body .rc2-row:has(+ .tippan + .rc2-lab) .rc2-r,.rc2-body .rc2-row:has(+ .rc2-lab) .rc2-r{border-bottom:0!important}
.rc2-body .tippan:has(+ .rc2-lab){border-bottom:0!important}
/* Habit rows are now a wrapper (.rc2-row) around the check-off button and the tips button, so every button is the last child: keep the dividers */
.rc2-body .rc2-row .rc2-r:last-child{border-bottom:1px solid var(--line)}
.rc2-body .rc2-row:has(+ .tippan:last-child) .rc2-r:last-child,.rc2-body .rc2-row:has(+ .tippan + .rc2-lab) .rc2-r:last-child,.rc2-body .rc2-row:has(+ .tippan.open) .rc2-r:last-child{border-bottom-color:transparent!important}
/* Today heading never wraps on narrow phones ("Day 14 of 30" next to the ring) */
.oit-greet{white-space:nowrap}
@media (max-width:379px){.oit-greet{font-size:33px!important}}
/* Daily mode (Oct 25): lessons and Sparks stay reachable from Today */
.keep-lib .sub{margin:4px 0 12px}
.keep-lib-row{display:flex;gap:10px;flex-wrap:wrap}
.keep-lib-row .btn{flex:1 1 150px}
/* A weekly payment that didn't go through (Oct 25): the Today banner, and the paused screen from day 7 */
.bill-bar{background:linear-gradient(135deg,rgba(253,231,218,.9),rgba(247,233,236,.85) 55%,rgba(230,234,253,.9))!important;border:1px solid rgba(249,176,140,.35)!important}
.bill-bar span{font-weight:500}
/* Paused-for-payment takeover: her own app blurred behind a glass card with the day she'll pick up on. */
.bp-on>.side,.bp-on>.main,.bp-on>.tabs{filter:blur(16px) saturate(1.4);pointer-events:none;user-select:none}
.bp{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:32px 20px calc(32px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(253,231,218,.22),rgba(247,233,236,.18) 50%,rgba(230,234,253,.26))}
.bp-card{width:100%;max-width:400px;text-align:center;padding:34px 26px 26px;border-radius:28px;background:linear-gradient(165deg,rgba(244,243,242,.94),rgba(238,237,237,.88));-webkit-backdrop-filter:blur(40px) saturate(1.8);backdrop-filter:blur(40px) saturate(1.8);border:1px solid rgba(255,255,255,.75);box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 -1px 0 rgba(255,255,255,.35) inset,0 2px 6px rgba(74,40,60,.05),0 30px 80px rgba(74,40,60,.20);color:var(--ink)}
.bp-ring{position:relative;width:108px;height:108px;margin:0 auto 22px}
.bp-ring svg.r{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.bp-ring .t{fill:none;stroke:rgba(23,23,27,.07);stroke-width:8}
.bp-ring .b{fill:none;stroke:url(#bprg);stroke-width:8;stroke-linecap:round;stroke-dasharray:282.7;stroke-linejoin:round;opacity:.55}
.bp-ring .num{position:absolute;inset:0;display:grid;place-items:center;font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:44px;line-height:1;letter-spacing:-.02em;color:#6F6C76}
.bp-ring .pz{position:absolute;right:-2px;bottom:2px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.7),0 4px 12px rgba(74,40,60,.14)}
.bp-ring .pz i{display:flex;gap:4px}
.bp-ring .pz i::before,.bp-ring .pz i::after{content:"";width:4px;height:12px;border-radius:2px;background:linear-gradient(180deg,#F78A5A,#8EA6F2)}
.bp h1:focus{outline:none}
.bp h1{margin:0;font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:40px;line-height:1.05;letter-spacing:-.02em;text-wrap:balance;color:var(--ink)}
.bp-sub{margin:10px auto 0;max-width:300px;font-size:16px;line-height:1.45;color:var(--soft);text-wrap:balance}
.bp-btn{display:block;width:100%;text-align:center;text-decoration:none;margin-top:26px;padding:18px;border:0;border-radius:22px;background:linear-gradient(180deg,#2C2C30 0%,#161618 55%,#0F0F11 100%);box-shadow:0 10px 26px rgba(23,23,27,.18),inset 0 1px 0 rgba(255,255,255,.1);color:#fff;font-weight:700;font-size:17px;letter-spacing:-.01em;cursor:pointer}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .bp{background:linear-gradient(180deg,rgba(247,138,90,.10),rgba(243,183,196,.07) 50%,rgba(142,166,242,.14))}
html:not([data-theme="light"]) .bp-card{background:linear-gradient(165deg,rgba(38,38,44,.94),rgba(28,28,33,.90));border-color:rgba(255,255,255,.10);box-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 30px 80px rgba(0,0,0,.55)}
html:not([data-theme="light"]) .bp-ring .t{stroke:rgba(255,255,255,.10)}
html:not([data-theme="light"]) .bp-ring .num{color:#A8A5B0}
html:not([data-theme="light"]) .bp-ring .pz{background:#2C2C33;box-shadow:0 0 0 4px rgba(255,255,255,.06),0 4px 12px rgba(0,0,0,.45)}
html:not([data-theme="light"]) .bp-btn{background:linear-gradient(180deg,#F7F5F2 0%,#ECE9E4 100%);box-shadow:0 10px 26px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.6);color:#17171B}}
html[data-theme="dark"] .bp{background:linear-gradient(180deg,rgba(247,138,90,.10),rgba(243,183,196,.07) 50%,rgba(142,166,242,.14))}
html[data-theme="dark"] .bp-card{background:linear-gradient(165deg,rgba(38,38,44,.94),rgba(28,28,33,.90));border-color:rgba(255,255,255,.10);box-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 30px 80px rgba(0,0,0,.55)}
html[data-theme="dark"] .bp-ring .t{stroke:rgba(255,255,255,.10)}
html[data-theme="dark"] .bp-ring .num{color:#A8A5B0}
html[data-theme="dark"] .bp-ring .pz{background:#2C2C33;box-shadow:0 0 0 4px rgba(255,255,255,.06),0 4px 12px rgba(0,0,0,.45)}
html[data-theme="dark"] .bp-btn{background:linear-gradient(180deg,#F7F5F2 0%,#ECE9E4 100%);box-shadow:0 10px 26px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.6);color:#17171B}

/* Daily mode all-done sheet (Oct 25, Landon's design): her last seven days as checks, today ringed on the right */
.dw-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.dw-d{display:flex;flex-direction:column;align-items:center;gap:6px}
.dw-d i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95));box-shadow:0 1px 0 rgba(255,255,255,.9) inset}
.dw-d i svg{width:14px;height:14px;fill:none;stroke:#1F6B49;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.dw-d small{font-size:11px;font-weight:600;letter-spacing:.06em;color:#8B8995}
.dw-d.now i{box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(95,191,134,.55);transform:scale(1.08)}
.dw-d.now small{color:var(--ink)}
.dw-d.miss i{background:rgba(23,23,27,.08);box-shadow:none}
.dw-d.miss i svg{display:none}
.dc-prog.dw{padding:14px 12px 12px;margin-top:6px}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .dw-d small{color:rgba(255,255,255,.5)}
  html:not([data-theme="light"]) .dw-d.now small{color:var(--ink)}
  html:not([data-theme="light"]) .dw-d.now i{box-shadow:0 0 0 2px #1C1A22,0 0 0 3.5px rgba(95,191,134,.7)}
  html:not([data-theme="light"]) .dw-d.miss i{background:rgba(255,255,255,.1)}
}
html[data-theme="dark"] .dw-d small{color:rgba(255,255,255,.5)}
html[data-theme="dark"] .dw-d.now small{color:var(--ink)}
html[data-theme="dark"] .dw-d.now i{box-shadow:0 0 0 2px #1C1A22,0 0 0 3.5px rgba(95,191,134,.7)}
html[data-theme="dark"] .dw-d.miss i{background:rgba(255,255,255,.1)}

/* ---------- Daily mode Today page (Oct 25) ---------- */

/* Today card: date in the ring, ring fills through the month */
.oi-today.daily .oit-num .mo{margin:0 0 3px}
.oi-today.daily .oit-num b{font:400 40px/.9 "Instrument Serif",Georgia,serif;letter-spacing:-.02em}
.oi-today.daily .oit-greet{text-wrap:balance}
@container (max-width:420px){.oi-today.daily .oit-greet{font-size:32px!important}}

/* Next hobby girl tile (option E) */
.hgt{margin-left:auto;width:340px;display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;border:0;border-radius:22px;background:linear-gradient(115deg,#F9B08C 0%,#EDB3C6 50%,#A9B8F2 100%);box-shadow:0 10px 26px rgba(180,120,140,.22),inset 0 1px 0 rgba(255,255,255,.45);font:inherit;color:var(--ink);text-align:left;cursor:pointer;min-width:0}
.hgt:active{transform:scale(.99)}
.hgt-img{flex:none;width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.hgt-img img{width:52px;height:52px;object-fit:contain;filter:brightness(0) invert(1);opacity:.8}
.hgt.is-earned .hgt-img{background:rgba(255,255,255,.7)}
.hgt.is-earned .hgt-img img{filter:none;opacity:1}
.hgt-t{display:flex;flex-direction:column;flex:1;min-width:0}
.hgt-t small{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(40,25,40,.6)}
.hgt-t b{font:400 24px/1.05 "Instrument Serif",Georgia,serif;margin-top:3px;white-space:nowrap;color:#1E1620}
.hgt-t span{font-size:13px;color:rgba(40,25,40,.7);margin-top:2px;white-space:nowrap}
.hgt-when{flex:none;margin-left:8px;width:58px;height:58px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.85);font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#6E6B76;line-height:1}
.hgt-when b{font:400 26px/.9 "Instrument Serif",Georgia,serif;letter-spacing:0;text-transform:none;color:#17171B;margin-bottom:2px}
.hgt-when b.sm{font-size:19px;margin:0}
.hgt-when i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#CFEEDD,#9FD9B5)}
.hgt-when i svg{width:14px;height:14px}
.hgt-when i svg path{stroke:#1F6B49}
@container (max-width:560px){
  .oi-today.daily{flex-wrap:wrap}
  .hgt{margin-left:0;width:100%;gap:12px;padding:12px}
  .hgt-img{width:54px;height:54px;border-radius:16px}
  .hgt-img img{width:44px;height:44px}
  .hgt-t b{font-size:21px}
  .hgt-t span{white-space:normal;line-height:1.3}
  .hgt-when{width:52px;height:52px;margin-left:auto}
  .hgt-when b{font-size:23px}
}

/* Previous Lessons & Sparks */
.lsp h2,.mcal .cal-hd2 .mc-top h2{margin:0!important;font-size:26px!important;line-height:1.1!important}
.lsp-list{border-radius:18px;background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px rgba(255,255,255,.95),0 1px 3px rgba(23,23,27,.04);overflow:hidden}
.lsp-r{width:100%;display:flex;align-items:center;gap:14px;padding:13px 14px;border:0;background:none;text-align:left;cursor:pointer;font:inherit;color:var(--ink);min-height:0;box-shadow:none}
.lsp-r + .lsp-r{border-top:1px solid rgba(23,23,27,.06)}
.lsp-r:hover{background:rgba(255,255,255,.6)}
.lsp-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:19px;background:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD);border:1px solid rgba(255,255,255,.95)}
.lsp-ic.sp svg{width:18px;height:18px;fill:#E7A0B4}
.lsp-t{flex:1;min-width:0}
.lsp-t b{display:block;font-size:15.5px;font-weight:600}
.lsp-t small{display:block;font-size:13px;color:var(--soft);margin-top:1px}
.ls-go{width:14px;height:14px;fill:none;stroke:#A3A1A8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Month calendar: month + arrows on the gradient heading */
.mc-top{display:flex;justify-content:space-between;align-items:center;min-height:32px}
.mc-top .mc-nav button{width:32px;height:32px;background:rgba(255,255,255,.7)!important;border:1px solid rgba(255,255,255,.9)}
.mc-body .mc-dow{margin-top:0}

/* Night mode */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .lsp-list{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
  html:not([data-theme="light"]) .lsp-r + .lsp-r{border-top-color:rgba(255,255,255,.08)}
  html:not([data-theme="light"]) .lsp-r:hover{background:rgba(255,255,255,.05)}
  html:not([data-theme="light"]) .lsp-ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .mc-top .mc-nav button{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.15)}
  html:not([data-theme="light"]) .hgt{box-shadow:0 10px 26px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35)}
}
html[data-theme="dark"] .lsp-list{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme="dark"] .lsp-r + .lsp-r{border-top-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .lsp-r:hover{background:rgba(255,255,255,.05)}
html[data-theme="dark"] .lsp-ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .mc-top .mc-nav button{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.15)}
html[data-theme="dark"] .hgt{box-shadow:0 10px 26px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35)}

/* Next hobby girl tile, night mode */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .hgt{background:linear-gradient(115deg,rgba(247,138,90,.26) 0%,rgba(231,160,180,.2) 50%,rgba(142,166,242,.32) 100%)!important;box-shadow:0 10px 26px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.12)!important;color:#F2EEF4}
  html:not([data-theme="light"]) .hgt-img{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
  html:not([data-theme="light"]) .hgt-img img{opacity:.75}
  html:not([data-theme="light"]) .hgt.is-earned .hgt-img{background:rgba(255,255,255,.14)}
  html:not([data-theme="light"]) .hgt-t small{color:rgba(242,238,244,.6)}
  html:not([data-theme="light"]) .hgt-t b{color:#F2EEF4}
  html:not([data-theme="light"]) .hgt-t span{color:rgba(242,238,244,.72)}
  html:not([data-theme="light"]) .hgt-when{background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);color:rgba(242,238,244,.6)}
  html:not([data-theme="light"]) .hgt-when b{color:#F2EEF4}
}
html[data-theme="dark"] .hgt{background:linear-gradient(115deg,rgba(247,138,90,.26) 0%,rgba(231,160,180,.2) 50%,rgba(142,166,242,.32) 100%)!important;box-shadow:0 10px 26px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.12)!important;color:#F2EEF4}
html[data-theme="dark"] .hgt-img{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
html[data-theme="dark"] .hgt-img img{opacity:.75}
html[data-theme="dark"] .hgt.is-earned .hgt-img{background:rgba(255,255,255,.14)}
html[data-theme="dark"] .hgt-t small{color:rgba(242,238,244,.6)}
html[data-theme="dark"] .hgt-t b{color:#F2EEF4}
html[data-theme="dark"] .hgt-t span{color:rgba(242,238,244,.72)}
html[data-theme="dark"] .hgt-when{background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);color:rgba(242,238,244,.6)}
html[data-theme="dark"] .hgt-when b{color:#F2EEF4}

/* Night mode: habit row dividers (the light-mode gray disappears on the dark card) */
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .rc2-r,html:not([data-theme="light"]) .mrow,html:not([data-theme="light"]) .li{border-color:rgba(255,255,255,.09)!important}}
html[data-theme="dark"] .rc2-r,html[data-theme="dark"] .mrow,html[data-theme="dark"] .li{border-color:rgba(255,255,255,.09)!important}

/* ---------- Add to Home Screen (Oct 26) ---------- */

/* Bar: phones only, full width across the top of Today, scrolls away with the page */
.hsbar{display:none}
@media (max-width:640px){
  .hsbar{display:flex;align-items:center;gap:10px;margin:-16px -14px 14px;padding:10px 14px 10px 8px;background:rgba(248,248,250,.94);-webkit-backdrop-filter:blur(20px) saturate(1.8);backdrop-filter:blur(20px) saturate(1.8);border-bottom:.5px solid rgba(60,60,67,.29);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
  .hsbar-x{flex:none;width:22px;height:22px;border:0;background:none;padding:0;display:grid;place-items:center;cursor:pointer;color:#8E8E93;min-height:0;box-shadow:none}
  .hsbar-x svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .hsbar-ic{flex:none;width:56px;height:56px;border-radius:13px;box-shadow:0 0 0 .5px rgba(0,0,0,.14)}
  .hsbar-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25;letter-spacing:-.01em}
  .hsbar-t b{font-size:15px;font-weight:600;color:#000}
  .hsbar-t span{font-size:12.5px;margin-top:1px;color:#8E8E93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hsbar-go{flex:none;border:0;cursor:pointer;min-width:62px;min-height:0;padding:6px 14px;border-radius:999px;background:#E9E9EE;color:#007AFF;font:700 14px -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;letter-spacing:.02em;box-shadow:none}
  .hsbar-go:active{background:#DCDCE1}
}

/* Pop-up (inside the app's normal .scrim/.sheet) */
.hs-pop{display:flex;flex-direction:column;align-items:center;text-align:center}
.hs-ic{width:72px;height:72px;border-radius:17px;box-shadow:0 0 0 .5px rgba(0,0,0,.12),0 10px 24px rgba(74,40,60,.16);margin:4px 0 16px}
.hs-h{margin:0 0 20px!important;font:400 30px/1.08 "Instrument Serif",Georgia,serif!important;letter-spacing:-.015em;color:var(--ink);white-space:nowrap}
.hs-h em{font-style:italic}
.hs-steps{list-style:none;margin:0 0 22px;padding:6px 16px;width:100%;border-radius:20px;background:linear-gradient(135deg,rgba(236,240,253,.9),rgba(222,228,250,.85));border:1px solid rgba(142,166,242,.28);text-align:left}
.hs-steps li{display:flex;align-items:center;gap:14px;padding:12px 0;font:500 15.5px/1.9 Figtree,system-ui,sans-serif;color:#202852}
.hs-steps li + li{border-top:1px solid rgba(142,166,242,.22)}
.hs-steps li.hs-where{display:block;padding:12px 0 2px;font:700 10.5px/1.3 Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#6B73A6}
.hs-steps li.hs-where + li{border-top:0}
.hs-steps li > i{flex:none;width:26px;font:400 24px/1 "Instrument Serif",Georgia,serif;font-style:normal;background:linear-gradient(135deg,#8EA6F2,#5D74D6);-webkit-background-clip:text;background-clip:text;color:transparent}
.hs-chip{display:inline-flex;align-items:center;gap:5px;margin:0 2px;padding:3px 9px;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(32,40,82,.08),inset 0 0 0 .5px rgba(32,40,82,.1);font-weight:600;line-height:1.5;color:#17171B;vertical-align:middle;white-space:nowrap}
.hs-chip svg{width:15px;height:15px;fill:#007AFF}
.hs-chip svg.st{fill:none;stroke:#007AFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hs-chip.blue{color:#007AFF}
.hs-chip.g svg{fill:#1A73E8}
.hs-chip.g svg.st{fill:none;stroke:#1A73E8}
.hs-done{text-align:center}
.hs-close{margin-top:10px;border:0;background:none;padding:6px 12px;cursor:pointer;font:600 14px Figtree,system-ui,sans-serif;color:#5C5A66;min-height:0;box-shadow:none}

/* Night mode */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .hsbar{background:rgba(28,28,30,.94);border-bottom-color:rgba(255,255,255,.12)}
  html:not([data-theme="light"]) .hsbar-t b{color:#fff}
  html:not([data-theme="light"]) .hsbar-go{background:#2C2C2E;color:#0A84FF}
  html:not([data-theme="light"]) .hs-steps{background:rgba(142,166,242,.12);border-color:rgba(142,166,242,.22)}
  html:not([data-theme="light"]) .hs-steps li{color:#E6E8F5}
  html:not([data-theme="light"]) .hs-steps li.hs-where{color:#A9B2E0}
  html:not([data-theme="light"]) .hs-chip{background:rgba(255,255,255,.1);box-shadow:none;color:#fff}
  html:not([data-theme="light"]) .hs-close{color:#A9A6B2}
}
html[data-theme="dark"] .hsbar{background:rgba(28,28,30,.94);border-bottom-color:rgba(255,255,255,.12)}
html[data-theme="dark"] .hsbar-t b{color:#fff}
html[data-theme="dark"] .hsbar-go{background:#2C2C2E;color:#0A84FF}
html[data-theme="dark"] .hs-steps{background:rgba(142,166,242,.12);border-color:rgba(142,166,242,.22)}
html[data-theme="dark"] .hs-steps li{color:#E6E8F5}
html[data-theme="dark"] .hs-steps li.hs-where{color:#A9B2E0}
html[data-theme="dark"] .hs-chip{background:rgba(255,255,255,.1);box-shadow:none;color:#fff}
html[data-theme="dark"] .hs-close{color:#A9A6B2}

/* Habit rows (Oct 26): only the circle is tappable. The row is plain text; the circle gets a 44px tap target. */
.rc2-r{cursor:default}
.rc2-r.is-locked{opacity:.5}
.rc2-r .ckhit{align-self:stretch;width:36px;min-height:48px;margin:-11px 0;padding:0;justify-items:end;border:0;background:none;display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:none}
.rc2-r .ckhit[disabled]{cursor:default}
.rc2-r .ckhit:focus-visible{outline:2px solid #8EA6F2;outline-offset:2px;border-radius:50%}

/* iPhone scrolling (Oct 26): the page behind the app can't move or bounce, so every swipe scrolls the app itself.
   No -webkit-overflow-scrolling:touch on .main: on iOS that puts the page in its own rendering layer, and the filtered
   photos and silhouettes inside it then render wrong (grey photos, uneven greys, stutter on scroll). Found Oct 27. */
/* iPhone "text autosizing": after the phone wakes, Safari can decide some blocks of text (it picked the habit rows) are
   too small to read and inflate them. Telling it never to adjust text size stops that. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{overflow:hidden;overscroll-behavior:none}
.main{overscroll-behavior-y:contain}

/* Lessons and Sparks on phones (Oct 26): the lists, a single lesson and a single Spark all get the close X in the corner
   like desktop, and no grab line */
@container app (max-width:640px){
  .lsn .lsn-x{display:grid;place-items:center;top:calc(8px + env(safe-area-inset-top));right:14px;width:36px;height:36px}
  .lsn .lsn-x svg{width:14px;height:14px}
  .lsn .lsn-grab{display:none}
}

/* Delete account (Oct 27): error line in the sheet */
.del-err{margin:0 0 12px;font-size:13.5px;line-height:1.45;color:#B0453A}
.del-err a{color:inherit}
.del-go[disabled]{cursor:default}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .del-err{color:#F08A7E}}
html[data-theme="dark"] .del-err{color:#F08A7E}

/* Tapping a habit's picture or name opens its tips, same as the arrow */
.rc2-r [data-act="tips"]{cursor:pointer;-webkit-tap-highlight-color:transparent}
.rc2-r .tt{display:contents}

/* Night mode: day-complete pop-ups, normal days + daily mode (Oct 29). Day 30 keeps its own look. */
html[data-theme="dark"] .dc-in:not(.m):not(.final) .dc-glow{opacity:1;background:radial-gradient(circle,rgba(95,197,150,.34),rgba(95,197,150,.12) 42%,rgba(95,197,150,0) 70%)}
html[data-theme="dark"] .dc-in.m:not(.final) .dc-glow{opacity:.6}
html[data-theme="dark"] .dc-in:not(.final) .dc-check{background:linear-gradient(135deg,#9BE3BF,#5FC596);box-shadow:0 0 0 7px rgba(95,197,150,.14),0 12px 30px rgba(95,197,150,.32)}
html[data-theme="dark"] .dc-in:not(.final) .dc-check svg{stroke:#10261C}
html[data-theme="dark"] .dc-in:not(.final) .dc-pill{color:#CFCBDA!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important}
html[data-theme="dark"] .dc-in:not(.final) .dc-prog-bar i{background:linear-gradient(90deg,#9BE3BF,#5FC596)}
html[data-theme="dark"] .dc-in.m:not(.final) .dc-prog-bar i{background:linear-gradient(90deg,#F9B08C,#E7A0B4 55%,#8EA6F2)}
html[data-theme="dark"] .dw-d i{background:rgba(255,255,255,.1);box-shadow:none}
html[data-theme="dark"] .dw-d i svg{stroke:#10261C}
html[data-theme="dark"] .dw-d.miss i{background:rgba(255,255,255,.1)}
html[data-theme="dark"] .dw-d:not(.miss) i{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html[data-theme="dark"] .dw-d.now i{box-shadow:0 0 0 2px #2B2636,0 0 0 3.5px rgba(155,227,191,.7)}
html[data-theme="dark"] .dw-d small{color:rgba(255,255,255,.45)}
html[data-theme="dark"] .dw-d.now small{color:#fff}
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) .dc-in:not(.m):not(.final) .dc-glow{opacity:1;background:radial-gradient(circle,rgba(95,197,150,.34),rgba(95,197,150,.12) 42%,rgba(95,197,150,0) 70%)}
html:not([data-theme="light"]) .dc-in.m:not(.final) .dc-glow{opacity:.6}
html:not([data-theme="light"]) .dc-in:not(.final) .dc-check{background:linear-gradient(135deg,#9BE3BF,#5FC596);box-shadow:0 0 0 7px rgba(95,197,150,.14),0 12px 30px rgba(95,197,150,.32)}
html:not([data-theme="light"]) .dc-in:not(.final) .dc-check svg{stroke:#10261C}
html:not([data-theme="light"]) .dc-in:not(.final) .dc-pill{color:#CFCBDA!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important}
html:not([data-theme="light"]) .dc-in:not(.final) .dc-prog-bar i{background:linear-gradient(90deg,#9BE3BF,#5FC596)}
html:not([data-theme="light"]) .dc-in.m:not(.final) .dc-prog-bar i{background:linear-gradient(90deg,#F9B08C,#E7A0B4 55%,#8EA6F2)}
html:not([data-theme="light"]) .dw-d i{background:rgba(255,255,255,.1);box-shadow:none}
html:not([data-theme="light"]) .dw-d i svg{stroke:#10261C}
html:not([data-theme="light"]) .dw-d.miss i{background:rgba(255,255,255,.1)}
html:not([data-theme="light"]) .dw-d:not(.miss) i{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html:not([data-theme="light"]) .dw-d.now i{box-shadow:0 0 0 2px #2B2636,0 0 0 3.5px rgba(155,227,191,.7)}
html:not([data-theme="light"]) .dw-d small{color:rgba(255,255,255,.45)}
html:not([data-theme="light"]) .dw-d.now small{color:#fff}
}

/* ---------- Day pop-up (Oct 29) ---------- */
.dp{display:flex;flex-direction:column;gap:14px;text-align:left}
.dp-head{display:flex;align-items:center;gap:16px;padding:2px 2px 4px}
.dp-badge{position:relative;flex:none;width:64px;height:64px;border-radius:50%;display:grid;place-items:center}
.dp-badge.done{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95));box-shadow:0 0 0 .5px rgba(255,255,255,.9),0 10px 24px rgba(46,125,71,.18)}
.dp-badge.done svg{width:28px;height:28px;fill:none;stroke:#1F6B49;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.dp-badge.part svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.dp-badge.part circle{fill:none;stroke-width:5;stroke-linecap:round}
.dp-badge.part .t{stroke:rgba(23,23,27,.07)}
.dp-badge.part .b{stroke:url(#dpG)}
.dp-missed .dp-badge.part .b{stroke:#C9C5CF}
.dp-badge b{font:400 24px/1 "Instrument Serif",Georgia,serif;color:var(--ink);letter-spacing:-.02em}
.dp-badge b em{font-style:normal;font-size:15px;color:#A8A5AE}
.dp-hd{min-width:0}
.dp-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.75);border:1px solid #fff;font:700 9.5px/1.2 Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#5C5A66}
.dp-pill i{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#F9B08C,#8EA6F2)}
.dp-pill.done{color:#1F6B49}
.dp-pill.done i{background:#5FC596}
.dp-pill.missed i{background:#C9C5CF}
.dp-h{margin:6px 0 0!important;font:400 34px/1 "Instrument Serif",Georgia,serif!important;letter-spacing:-.02em;color:var(--ink)}
.dp-date{margin:4px 0 0;font-size:14px;color:var(--soft)}
/* the six habits */
.dp-card{padding:4px 16px 8px;border-radius:20px;background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px rgba(255,255,255,.95),0 1px 3px rgba(23,23,27,.04)}
.dp-lab{display:flex;justify-content:space-between;margin:12px 0 2px;font:700 10.5px Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8B8995}
.dp-list{list-style:none;margin:0;padding:0}
.dp-list li{border-top:1px solid rgba(23,23,27,.06)}
.dp-row{width:100%;display:flex;align-items:center;gap:12px;padding:8px 0;border:0;background:none;text-align:left;cursor:pointer;font:inherit;color:inherit;min-height:0;box-shadow:none;border-radius:0}
.dp-row:disabled{cursor:default}
.dp-row:active:not(:disabled) .dp-ck{transform:scale(.9)}
.dp-ck{transition:transform .12s,background .2s}
.dp-list li:first-child{border-top:0}
.dp-ic{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:16px;background:linear-gradient(135deg,#FDE7DA,#F7E9EC 50%,#E6EAFD);border:1px solid rgba(255,255,255,.95);overflow:hidden}
.dp-ic img{width:100%;height:100%;object-fit:cover;display:block}
.dp-ic:has(img){background:none;border:0}
.dp-t{flex:1;min-width:0;font:500 14.5px/1.3 Figtree,system-ui,sans-serif;color:var(--ink)}
.dp-list li:not(.on) .dp-t{color:#8C8A92}
.dp-list li:not(.on) .dp-ic{opacity:.55;filter:saturate(.6)}
.dp-ck{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 1.5px #DCD8D1}
.dp-list li.on .dp-ck{background:linear-gradient(135deg,rgba(214,242,222,.95),rgba(160,220,186,.95));box-shadow:0 1px 0 rgba(255,255,255,.9) inset}
.dp-ck svg{width:12px;height:12px}
.dp-ck svg path{stroke:#1F6B49}
/* Spark + Lesson rows */
.dp-more{display:flex;flex-direction:column;gap:10px}
.dp-link{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:0;border-radius:18px;text-align:left;cursor:pointer;font:inherit;color:var(--ink);min-height:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.9)}
.dp-link.spark{background:linear-gradient(115deg,#FDE7DA 0%,#F3E4F0 50%,#E0E5FD 100%)}
.dp-link.lesson{background:rgba(255,255,255,.7)}
.dp-link.is-done{background:linear-gradient(115deg,#FBF4D0,#E6F3D3 50%,#CFECD9)}
.dp-li{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.75);font-size:17px}
.dp-li svg{width:16px;height:16px;fill:#E9774A}
.dp-link.is-done .dp-li{background:linear-gradient(135deg,#DFF1E2,#BFE3CB)}
.dp-link.is-done .dp-li svg{fill:none;width:13px;height:13px}
.dp-link.is-done .dp-li svg path{stroke:#1F6B49}
.dp-lt{flex:1;min-width:0}
.dp-lt small{display:block;font:700 10px/1.2 Figtree,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#7F7C88;margin-bottom:3px}
.dp-link.is-done .dp-lt small{color:#2F7D5B}
.dp-lt b{display:block;font:600 15px/1.3 Figtree,system-ui,sans-serif}
.dp-go{flex:none;width:14px;height:14px;fill:none;stroke:#A3A1A8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dp-close{align-self:center;margin-top:2px;border:0;background:none;padding:6px 14px;cursor:pointer;font:600 14px Figtree,system-ui,sans-serif;color:#5C5A66;min-height:0;box-shadow:none}

/* Night mode */
html[data-theme="dark"] .dp-badge.done,html[data-theme="dark"] .dp-list li.on .dp-ck{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html[data-theme="dark"] .dp-badge.done svg path,html[data-theme="dark"] .dp-ck svg path,html[data-theme="dark"] .dp-link.is-done .dp-li svg path{stroke:#10261C}
html[data-theme="dark"] .dp-badge.part .t{stroke:rgba(255,255,255,.1)}
html[data-theme="dark"] .dp-missed .dp-badge.part .b{stroke:rgba(255,255,255,.3)}
html[data-theme="dark"] .dp-pill{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#CFCBDA}
html[data-theme="dark"] .dp-pill.done{color:#9BE3BF}
html[data-theme="dark"] .dp-card,html[data-theme="dark"] .dp-link.lesson{background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme="dark"] .dp-list li{border-top-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .dp-list li:not(.on) .dp-t{color:rgba(255,255,255,.45)}
html[data-theme="dark"] .dp-ck{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.2)}
html[data-theme="dark"] .dp-ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .dp-link.spark{background:linear-gradient(115deg,rgba(247,138,90,.16),rgba(243,183,196,.1) 50%,rgba(142,166,242,.16));box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme="dark"] .dp-link.is-done{background:rgba(95,197,150,.14);box-shadow:inset 0 0 0 1px rgba(155,227,191,.18)}
html[data-theme="dark"] .dp-link.is-done .dp-li{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html[data-theme="dark"] .dp-link.is-done .dp-lt small{color:#9BE3BF}
html[data-theme="dark"] .dp-li{background:rgba(255,255,255,.1)}
html[data-theme="dark"] .dp-lt small{color:rgba(255,255,255,.5)}
html[data-theme="dark"] .dp-close{color:#A9A6B2}

@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) .dp-badge.done,html:not([data-theme="light"]) .dp-list li.on .dp-ck{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html:not([data-theme="light"]) .dp-badge.done svg path,html:not([data-theme="light"]) .dp-ck svg path,html:not([data-theme="light"]) .dp-link.is-done .dp-li svg path{stroke:#10261C}
html:not([data-theme="light"]) .dp-badge.part .t{stroke:rgba(255,255,255,.1)}
html:not([data-theme="light"]) .dp-missed .dp-badge.part .b{stroke:rgba(255,255,255,.3)}
html:not([data-theme="light"]) .dp-pill{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#CFCBDA}
html:not([data-theme="light"]) .dp-pill.done{color:#9BE3BF}
html:not([data-theme="light"]) .dp-card,html:not([data-theme="light"]) .dp-link.lesson{background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html:not([data-theme="light"]) .dp-list li{border-top-color:rgba(255,255,255,.08)}
html:not([data-theme="light"]) .dp-list li:not(.on) .dp-t{color:rgba(255,255,255,.45)}
html:not([data-theme="light"]) .dp-ck{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.2)}
html:not([data-theme="light"]) .dp-ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}
html:not([data-theme="light"]) .dp-link.spark{background:linear-gradient(115deg,rgba(247,138,90,.16),rgba(243,183,196,.1) 50%,rgba(142,166,242,.16));box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html:not([data-theme="light"]) .dp-link.is-done{background:rgba(95,197,150,.14);box-shadow:inset 0 0 0 1px rgba(155,227,191,.18)}
html:not([data-theme="light"]) .dp-link.is-done .dp-li{background:linear-gradient(135deg,#9BE3BF,#5FC596)}
html:not([data-theme="light"]) .dp-link.is-done .dp-lt small{color:#9BE3BF}
html:not([data-theme="light"]) .dp-li{background:rgba(255,255,255,.1)}
html:not([data-theme="light"]) .dp-lt small{color:rgba(255,255,255,.5)}
html:not([data-theme="light"]) .dp-close{color:#A9A6B2}
}
