/* notes view: the Folded design (2026-10-09 picks). Loaded after app.css, so its rules win.
   Notes list: direction B "Folded · The crease is now". Note page: direction C "Rethought · Your words, then who does what". */

/* ================= Notes list ================= */
body.onchats{--vn-line2:rgba(var(--hi),.2);--vn-wash:rgba(var(--accent-rgb),.14);--vn-gut:14px;--vn-top:6px}
/* the header row sits on the day's paper: the same sheet colour as the disc under it */
body.onchats header.top{background:var(--panel);border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
body.onchats header.top .chtabs{display:none}   /* Open / All sit on the disc, next to "Notes" */
body.onchats .chsearch{min-height:40px;height:40px;border-radius:99px;padding:0 14px 0 38px;font-size:14.5px;background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23878c96' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") no-repeat 12px 50%/18px;border:1px solid var(--line);box-shadow:none}
body.onchats .chbar .plus{width:40px;height:40px;min-height:0;border-radius:99px;background:var(--bg);border:1px solid var(--line);font-size:0;position:relative}   /* min-height 0: the app-wide 46 px made it 40 by 46 (2026-10-20) */
body.onchats .chbar .plus::before,body.onchats .chbar .plus::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.7px;border-radius:2px;background:var(--ink);transform:translate(-50%,-50%)}
body.onchats .chbar .plus::after{transform:translate(-50%,-50%) rotate(90deg)}

/* the disc: a huge circle of paper whose rim curves under the header; the day's words print round its edge */
.chday{position:relative;height:112px;margin:calc(-1 * var(--vn-top,6px)) calc(-1 * var(--vn-gut,14px)) 0;isolation:isolate}
.chrim{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:hidden}
.chrim-pl{fill:var(--panel);stroke:var(--line);stroke-width:1}
.chrimhit{position:absolute;left:0;right:0;bottom:0;height:50px;touch-action:pan-y;cursor:grab}
.chday.words .chrimhit:active{cursor:grabbing}
.chday:not(.words) .chrimhit{display:none}
.chhd{display:flex;align-items:flex-start;gap:10px;padding:8px calc(var(--vn-gut,14px) + 2px) 0}
.chtt{flex:1;min-width:0}
.chtt h2{margin:0;font:italic 700 30px/1 var(--display);letter-spacing:-.035em;color:var(--ink)}
.chtt p{margin:5px 0 0;font-size:13.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:1.3em}
.chtt p b{color:var(--accent-soft);font-weight:650;font-variant-numeric:tabular-nums}
.chseg{flex:none;display:flex;height:38px;padding:3px;border-radius:99px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);margin-top:-2px}
.chseg button{min-height:0;height:32px;padding:0 13px;border:0;border-radius:99px;background:transparent;font-size:13.5px;font-weight:500;color:var(--faint)}
.chseg button.on{background:var(--panel);color:var(--ink);font-weight:650;box-shadow:0 1px 3px -1px rgba(var(--shade),.3),0 0 0 1px var(--line)}
.chseg button:hover{transform:none}
#pageNotes .podnudge{margin-top:10px}

#chList{padding-top:6px}
#chList .ci{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* the note that needs you, lifted off the day as a sheet: Otti's question on an ink bar you answer from here */
.chsheet{position:relative;margin:4px -2px 0;padding:14px 14px 12px;background:var(--panel);border-radius:26px 26px 10px 10px;box-shadow:var(--shadow),0 0 0 1px var(--line);cursor:pointer;transform-origin:50% 100%}
.chsheet>p{margin:8px 2px 10px;font-size:15px;line-height:1.4;color:var(--dim);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* the next ones that wait on you: smaller sheets tucked just under it */
.chsheet.lift{animation:vnLift .9s .15s var(--ease) both}
.chsheet.settle{animation:vnSettle .7s var(--ease) both}
@keyframes vnLift{from{transform:perspective(900px) rotateX(16deg) translateY(10px);opacity:.35}to{transform:none;opacity:1}}
@keyframes vnSettle{0%{transform:translateY(-7px)}45%{transform:translateY(2.5px)}72%{transform:translateY(-1px)}100%{transform:none}}

/* the crease: a drawn charcoal fold with an accent dot at now; everything under it lies flat */

/* the flat rows */
#chList .chsec{margin:14px 2px 2px;font-size:15px;color:var(--dim)}
#chList .chsec .chsecn{font-size:12.5px}
#chList .nrow{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-height:56px;padding:6px 2px;border-radius:14px}
.ndisc{position:relative;width:36px;height:36px;flex:none;border-radius:50%;display:grid;place-items:center;color:var(--ink);box-shadow:inset 0 0 0 1px var(--vn-line2)}
.ndisc .ci{width:19px;height:19px}
.ndisc.hot{background:var(--vn-wash);box-shadow:none;color:var(--accent-soft)}
.ndisc.otti,.ndisc.working{box-shadow:none}
.ndisc .ring{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);transform:rotate(-90deg);overflow:visible}
.ndisc .ring circle{fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:66 100}
.ndisc .ring circle.track{stroke:var(--line);stroke-width:2;stroke-dasharray:none}
.ntx{display:grid;min-width:0;text-align:left}
.ntx strong{font-size:15px;font-weight:600;line-height:1.3;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ntx>span{font-size:13.5px;line-height:1.35;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ntx em{font-style:normal;font-weight:600;color:var(--dim)}
/* a note someone shared with you says who, first on its line (Praz, 2026-10-20: "a badge that it was shared by praz") */
.ntx .nby{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--accent-soft);margin-right:2px}
.ntx .nby svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nrow.unread .ntx>span{color:var(--dim)}
.nr{display:grid;justify-items:end;gap:5px;align-self:start;padding-top:4px}
.nr time{font-size:12.5px;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap}
.nrow.unread .nr time{color:var(--ink);font-weight:650}
.nun{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:11.5px;font-weight:700;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.chsheet .nun{flex:none}
.nsh{font-style:normal;display:flex;align-items:center;gap:3px;font-size:12px;color:var(--faint)}
.nsh .ci{width:15px;height:15px}
#chList .nrow.stale .ntx strong{color:var(--dim)} #chList .nrow.stale .ndisc{opacity:.7}
#chList .chempty .chips .ci{width:17px;height:17px;margin-right:6px;vertical-align:-3px}

@media (min-width:900px){
  body.onchats{--vn-gut:10px;--vn-top:8px}
  .chsheet{margin-left:0;margin-right:0}
}
@media (prefers-reduced-motion:reduce){
  .chsheet.lift,.chsheet.settle{animation:none}
}

/* ================= Note page ================= */
#pageThread.note{--vn-line2:rgba(var(--hi),.22)}
#pageThread.note .thav{display:none}
#pageThread.note .thhead{border-bottom-color:transparent;background:var(--bg);padding-top:calc(4px + env(safe-area-inset-top));padding-bottom:2px}
#pageThread.note .thname{font:italic 700 18px/1.2 var(--display);letter-spacing:-.02em;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}   /* the whole title, two lines if it needs them (2026-11-07: a long title was only ever an ellipsis) */
#pageThread.note .thsub{font-size:13px;color:var(--faint);margin-top:1px}
/* the close: the last of the actions, on the right (2026-10-20, Praz: "I've sent it, on the right side; the other actions on the left") */
.thclose{display:flex;justify-content:flex-end;margin-top:4px;padding:12px 0 2px;border-top:1px solid var(--line)}
.thdraft+.thclose{margin-top:14px}   /* air between the draft card and the close */
.thclose .thdone{margin:0}
#pageThread .thmore{display:grid;place-items:center;padding:0;background:transparent;border:0;color:var(--ink)}
#pageThread .thmore svg{width:22px;height:22px}
#pageThread.note:not(.dayq) #thChips{display:none}
#pageThread.note .thbody{background:var(--bg);padding:6px 20px 16px;gap:0}
/* the note as a sheet of paper (2026-11-08): the note shape, the title in the display face on it; the bar keeps only the way back and the menu */
#pageThread.note:not(.dayq) .thbody{padding:6px 12px 18px}
#pageThread.note:not(.dayq) .thhead .thwho{visibility:hidden}
.thpaper{background:var(--panel);border:1px solid var(--line);border-radius:30px 30px 10px 10px;padding:22px 20px 18px;box-shadow:0 18px 40px -22px rgba(28,29,33,.35),0 4px 10px -6px rgba(28,29,33,.18)}
@media (prefers-color-scheme:dark){ .thpaper{box-shadow:0 22px 50px -22px rgba(0,0,0,.8)} }
.thphead{margin:0 0 16px}
.thptitle{margin:0;font:italic 700 26px/1.1 var(--display);letter-spacing:-.03em;color:var(--ink);text-wrap:balance;overflow-wrap:anywhere}
.thpmeta{margin:7px 0 0;font-size:13.5px;color:var(--faint)}
.thpaper .thsrc{margin-top:0}
.thpaper .thq p{font-size:19px;color:var(--dim)}   /* the words step under the title now that the title is on the sheet */
#pageThread .ci{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* your words, as the headline */
.thq{margin:2px 0 14px;padding:0}
.thq p{margin:0;font:italic 700 22px/1.14 var(--display);letter-spacing:-.025em;color:var(--ink);text-wrap:balance;overflow-wrap:anywhere}
.thq.long p{font-size:19px;line-height:1.2}
.thq.clamp:not(.open) p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}   /* four lines, then More (2026-10-20) */
.thqmore.linkbtn{flex:none;width:auto;padding:6px 6px;font-size:13px;font-weight:600;color:var(--accent-soft)}
.thq .q{color:var(--accent-soft)}
.thq footer,.thsrc{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;color:var(--faint);min-width:0}
.thq footer>span,.thsrc>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thsrc{margin:2px 0 14px}
.thsrc>span{white-space:normal}
.thconv.linkbtn{flex:none;width:auto;display:inline-flex;align-items:center;gap:0;padding:6px 0 6px 6px;font-size:13px;font-weight:600;color:var(--accent-soft)}
/* Open in Gmail / WhatsApp: the alert itself (2026-10-21); the app's mark, small, then the words */
.thopen.linkbtn{flex:none;width:auto;display:inline-flex;align-items:center;gap:5px;padding:6px 0 6px 6px;font-size:13px;font-weight:600;color:var(--accent-soft);white-space:nowrap}
.thopen .aplogo{width:14px;height:14px;flex:none}
.seenopen.linkbtn{display:inline-flex;align-items:center;margin-left:6px;padding:0 2px;font-size:12px;font-weight:600;color:var(--accent-soft);vertical-align:baseline}
.thconv .ci{width:16px;height:16px}

/* "1 of 3 done" */
.thmeter{display:flex;align-items:baseline;gap:8px;padding:12px 2px 10px;border-top:1px solid var(--line)}
.thmeter .fig{font:italic 700 26px/1 var(--display);font-variant-numeric:tabular-nums;letter-spacing:-.03em;color:var(--ink)}
.thmeter>span:not(.fig):not(.bar){font-size:13px;color:var(--faint)}
.thmeter .bar{margin-left:auto;align-self:center;display:flex;gap:4px}
.thmeter .bar i{width:26px;height:6px;border-radius:99px;background:var(--vn-line2)}
.thmeter .bar i.on{background:var(--ink)}
.thmeter .bar i.now{background:linear-gradient(90deg,var(--accent) 55%,var(--vn-line2) 55%)}
.thmeter .bar.long i{width:96px;background:linear-gradient(90deg,var(--ink) var(--p),var(--vn-line2) var(--p))}

/* the steps: an owner, the step, its action */
.thplan{list-style:none;margin:0;padding:0}
.thstep{display:flex;gap:12px;padding:11px 2px;border-top:1px solid var(--line);align-items:flex-start}
.thplan:first-child .thstep:first-child{border-top:0}
.thstep .whob{all:unset;flex:none;cursor:pointer;border-radius:99px}
.thstep .whob:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.who{flex:none;position:relative;width:28px;height:28px;box-sizing:border-box;border-radius:99px;display:grid;place-items:center;color:var(--ink)}
.who .ci{width:17px;height:17px}
.who.done{background:var(--ink);color:var(--bg)}
.who.done .ci{width:15px;height:15px;stroke-width:2.4}
.who.you{box-shadow:inset 0 0 0 1.6px var(--ink)}
.who.them{box-shadow:inset 0 0 0 1.6px var(--vn-line2);color:var(--dim)}
.who.open{border:1.6px dashed var(--vn-line2)}
.who.otti{box-shadow:inset 0 0 0 1.6px var(--vn-line2)}
.who.otti.onnow{box-shadow:none}
.who .om{width:10px;height:16px;position:relative}
.who .arc{position:absolute;inset:0;width:28px;height:28px;transform:rotate(-90deg);overflow:visible}
.who .arc circle{fill:none;stroke-width:2;stroke-linecap:round}
.who .arc .track{stroke:var(--vn-line2)}
.who .arc .run{stroke:var(--accent);stroke-dasharray:74 100}
.who .arc.draw .run{animation:thArc 1.6s var(--ease) both}
@keyframes thArc{from{stroke-dasharray:0 100}to{stroke-dasharray:74 100}}
.thstep.done .who:not(.done){background:var(--ink);box-shadow:none;border-color:transparent}   /* ticked here, before the server answers */
.thstep .tx{flex:1;min-width:0}
.thstep .tx>b{display:block;font-size:15px;font-weight:500;line-height:1.35;color:var(--ink)}
.thstep .tx>small{display:block;font-size:12.5px;color:var(--faint);margin-top:2px}
.thstep.done .tx>b{color:var(--dim)}
.thstep.onnow .tx>small{color:var(--accent-soft);font-weight:500}
.thacts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:10px}
.thacts .ink{min-height:0;height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--ink);color:var(--bg);font-size:14.5px;font-weight:600;display:inline-flex;align-items:center;gap:8px;box-shadow:var(--shadow)}
.thacts .ink .ci{width:18px;height:18px;stroke-width:2}
.thacts .ghost{min-height:0;height:36px;padding:0 2px;border:0;background:transparent;font-size:13.5px;font-weight:600;color:var(--dim)}
.thacts .ink+.ghost{margin-left:4px}
.thacts button:hover{transform:none}
.thacts button:disabled{opacity:.5}
.thend{padding:4px 2px 2px;border-top:1px solid var(--line)}
.thend .thacts{margin-top:8px}
.thlog{display:flex;align-items:center;gap:10px;margin:12px 0 4px;font-size:12.5px;color:var(--faint);text-align:center}
.thlog::before,.thlog::after{content:"";flex:1;min-width:16px;height:1px;background:var(--line)}

/* Otti's live draft, inside its step */
.thdraft{margin-top:10px;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:11px 13px 6px;box-shadow:var(--shadow)}
.thdraft header{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--faint);margin-bottom:5px;min-width:0}
.thdraft header .ci{width:16px;height:16px;flex:none}
.thdraft header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thdraft p{margin:0;font-size:14.5px;line-height:1.42;color:var(--ink);white-space:pre-line;overflow-wrap:anywhere}
.thdraft p.writing{color:var(--dim)}
.thdraft .caret{display:inline-block;width:1.5px;height:1.05em;margin-left:2px;vertical-align:-2px;background:var(--accent);animation:thBlink 1s steps(1) 6 both}
@keyframes thBlink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}
.thdraft footer{display:flex;gap:16px;margin-top:8px;padding-top:2px;border-top:1px solid var(--line)}
.thdraft footer .linkbtn{padding:8px 0;font-size:13px;font-weight:600;color:var(--dim)}

/* a learning note: the points, then why they matter to you */
.thpoints{margin:0 0 4px;padding:0;list-style:none}
.thpoints li{position:relative;padding:10px 2px 10px 22px;border-top:1px solid var(--line);font-size:15px;line-height:1.42;color:var(--ink)}
.thpoints li:first-child{border-top:0}
.thpoints li::before{content:"";position:absolute;left:4px;top:18px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.thwhyit{margin:6px 0 12px;padding:12px 14px;border-radius:16px;background:var(--panel);box-shadow:0 0 0 1px var(--line)}
.thwhyit b{display:block;font:italic 700 15px/1.2 var(--display);letter-spacing:-.015em;color:var(--ink);margin-bottom:3px}
.thwhyit p{margin:0;font-size:14.5px;line-height:1.42;color:var(--dim)}

/* the chat, unfolded below the steps */
.thchat{display:flex;flex-direction:column;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.thchat[hidden]{display:none}   /* a hidden chat drew its top hairline under the sheet (2026-11-08) */
.thchat[hidden]{display:none}
#pageThread.dayq .thchat{border-top:0;margin-top:0;padding-top:4px}

/* the fold: the chat as one row over the composer */
.thfold{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;margin:0 0 8px;padding:0 4px;border:0;background:transparent;font-size:13px;font-weight:400;color:var(--dim);text-align:left}
.thfold[hidden]{display:none}
.thfold .ci{width:17px;height:17px;flex:none}
.thfold span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thfold b{font-weight:600;color:var(--ink)}
.thfold .fch{color:var(--faint)}
.thfold:hover{transform:none}
#pageThread.note .thfoot{border-top:1px solid var(--line);background:var(--bg);padding-top:8px}
#pageThread.note .throw input{min-height:46px;border-radius:99px;padding:0 18px}
#pageThread.note .thgo{width:46px;height:46px}

#thSheet [data-thx] span svg{width:18px;height:18px;vertical-align:-3px}

@media (min-width:900px){
  #pageThread.note .thbody{padding:16px 32px}
  .thq p{font-size:28px}
}
@media (prefers-reduced-motion:reduce){
  .who .arc.draw .run,.thdraft .caret{animation:none}
}

/* the pod nudge above the list: an icon, what, and why, on a paper sheet in the accent's wash */
.podnudge{display:grid!important;grid-template-columns:auto 1fr;column-gap:12px;row-gap:1px;align-items:center;padding:12px 16px;border-radius:18px;border:1px solid rgba(var(--accent-rgb),.32);background:rgba(var(--accent-rgb),.08);flex-wrap:nowrap}
.podnudge[hidden]{display:none!important}
.podnudge .ci{grid-row:1 / span 2;width:22px;height:22px;fill:none;stroke:var(--accent-soft);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.podnudge b{font-size:14.5px;font-weight:700;color:var(--ink);min-width:0}
.podnudge span{font-size:13px;color:var(--dim);min-width:0}

/* ---- one header on every tab: the landing page's lockup (2026-10-09: "a mismatch between the logo, the app and
   the landing page"). Notes keeps its search as an icon beside it that opens into the field. ---- */
header.top .brand{font-family:var(--display);font-style:italic;font-weight:700;font-size:24px;letter-spacing:-.03em;align-items:baseline;gap:9px;color:var(--ink);cursor:pointer}
header.top .brand .logo.mk{width:24px;height:24px;flex:none;align-self:baseline;position:relative;top:4px}
body.onchats .chbar{flex:1 1 auto;justify-content:flex-end;margin:0 8px 0 10px}
body.onchats .chsearch{flex:0 0 40px;width:40px;padding:0 0 0 38px;cursor:pointer;transition:flex-basis .22s var(--ease,ease),padding .22s}
body.onchats .chsearch:not(:focus):placeholder-shown::placeholder{color:transparent}
body.onchats .chsearch:focus,body.onchats .chsearch:not(:placeholder-shown){flex:1 1 auto;padding:0 14px 0 38px;cursor:text}
body.onchats header.top:has(.chsearch:focus) .brand,body.onchats header.top:has(.chsearch:not(:placeholder-shown)) .brand{display:none}
@media (prefers-reduced-motion: reduce){ body.onchats .chsearch{transition:none} }
/* People's title row now opens its page instead of replacing the header */
#pagePeople>.ppbar{display:flex;margin:6px 0 14px}

/* one header per tab: the header names the page, so the page's own title is not repeated under it */
#chDay .chtt h2,#dayTitle,#pagePeople .pptitle,#podTitle{display:none}
#chDay .chtt p{margin-top:2px}

/* the dial on the rim: labels with counts; the one over the marker is ink, the chosen one in the accent */
.chrim-seg{font:600 12.5px/1 Geist,system-ui,sans-serif;fill:var(--faint);letter-spacing:.01em;transition:fill .15s}
.chrim-seg .n{fill:var(--faint);opacity:.75;font-weight:500}
.chrim-seg.under{fill:var(--ink)}
.chrim-seg.on{fill:var(--accent-soft)} .chrim-seg.on .n{fill:var(--accent-soft)}
.chrim-mark{fill:var(--accent)}
.chdialx{margin-left:6px;padding:3px 10px;min-height:0;border-radius:99px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:12px;font-weight:600;cursor:pointer}



/* the note page, redone 2026-10-20 (Praz: "actionable things and less text"): the words, then the rows Otti can act on, the
   close, then the two ways in (the person, the matter) folded to one row each. Every row is one grammar: a 40 px disc, the
   verb, one line of what it does, a chevron. The lead row (the first not yet done) has the page's one filled disc */
/* a meeting note's body (2026-10-22): the gist, the to-dos as ticks, then short labelled lists */
.thmeet{margin:0 0 14px}
.thmsum{margin:2px 0 4px;font-size:15.5px;line-height:1.5;color:var(--ink);text-wrap:pretty}
.thmh{margin:18px 0 4px;font-family:inherit;font-style:normal;font-size:12px;line-height:1.3;font-weight:700;color:var(--faint)}
.thmtodo{list-style:none;margin:0;padding:0}
.thmtodo .thstep{padding:9px 0;align-items:center}
.thmtodo .thstep:first-child{border-top:0}
.thmtodo .thstep .tx>b{font-size:15px;font-weight:500;white-space:normal}
.thmlist{margin:0;padding:0 0 0 18px;display:grid;gap:6px}
.thmlist li{font-size:14.5px;line-height:1.45;color:var(--dim);padding-left:2px}
.thmlist li::marker{color:var(--faint)}
.thabout{margin:2px 0 12px;font-size:14.5px;line-height:1.45;color:var(--dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}   /* only when it adds to the words */
.thcan{margin:2px 0 0}
.thcan .thstep,.thway{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:0 12px;padding:10px 0;border-top:1px solid var(--line);cursor:pointer}
.thcan .thstep:first-child{border-top:0}
.thway{width:100%;min-height:60px;margin:0;background:none;border-left:0;border-right:0;border-bottom:0;border-radius:0;color:inherit;font:inherit;text-align:left;box-shadow:none}
.thcan .thstep .whob{all:unset;cursor:pointer;border-radius:99px}
.thcan .who,.thway .who{width:40px;height:40px;transition:transform 90ms cubic-bezier(.2,0,0,1)}
.who.ring,.who.act{box-shadow:inset 0 0 0 1.5px var(--vn-line2);color:var(--ink)}
.who.lead{box-shadow:inset 0 0 0 1.6px var(--ink);color:var(--ink)}   /* the lead row's ring is ink, the others hairline; no filled disc (2026-10-20, Praz: outline, not fill) */
.who .aplogo{width:19px;height:19px;vertical-align:0}
.who.lead .aplogo{color:inherit!important}
.who.ring .ci,.who.act .ci,.who.lead .ci{width:20px;height:20px}
.thcan .thstep .tx>b,.thway .tx>b{display:block;font-size:16px;font-weight:600;line-height:1.3;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thcan .thstep .tx>small,.thway .tx>small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px;font-size:13.5px;line-height:1.38;color:var(--dim);white-space:normal}
.thact.ran .tx>b{color:var(--ink)}   /* done once is not done for good: the title stays as it was */
.thact.ran .tx>small{color:var(--faint)}
.thchev{width:18px;height:18px;color:var(--faint);stroke-width:2;transition:transform .2s var(--ease)}
.thcan .thstep:active,.thway:active{background:rgba(var(--hi),.04)}
.thcan .thstep:active .who,.thway:active .who{transform:scale(.95)}
.thway:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.thctx{margin-top:14px;border-top:1px solid var(--line)}
.thctx .thway:first-child,.thctx .thmatter:first-child .thway{border-top:0}
.thway .psav{width:40px;height:40px;font-size:16px;background:var(--bg2);box-shadow:none}
.thmatter.open .thmrow .thchev{transform:rotate(90deg)}
.thmbody{padding:0 0 12px 52px}
.thmbody .thlknow{margin:0 0 4px;font-size:14px;font-weight:500;line-height:1.4;color:var(--dim)}
.thmbody .thltl{margin-top:8px}
.thmbody .thlkfoot{margin-top:8px}

/* ---- people (2026-10-17): the strip under the Notes header, a note's "With Gaurav", and one person's page ---- */
.chpeople{display:flex;gap:8px;overflow-x:auto;padding:2px 16px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chpeople::-webkit-scrollbar{display:none}
.psch{flex:none;display:flex;align-items:center;gap:7px;padding:4px 12px 4px 4px;border:1px solid var(--line);border-radius:99px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .15s ease-out,border-color .15s ease-out}
@media (hover:hover){.psch:hover{border-color:rgba(var(--hi),.28)}}
.psch:focus-visible,.pslink:focus-visible,.psrow:focus-visible{outline:2px solid var(--accent-soft);outline-offset:2px}
.psch .psn{font-size:12px;font-weight:600;color:var(--faint);font-variant-numeric:tabular-nums}
.psav{width:26px;height:26px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--bg2);color:var(--ink);font-family:var(--display);font-weight:700;font-size:13px;line-height:1}
.psav.big{width:64px;height:64px;font-size:28px;margin:0 auto 10px}
.pslink.thway{color:var(--ink)}
.pslink .thchev{margin:0}
#pagePerson{position:fixed;inset:0;z-index:38;background:var(--bg);overflow-y:auto;overscroll-behavior:contain}
#pagePerson[hidden]{display:none}
.pshead{position:sticky;top:0;z-index:1;display:flex;align-items:center;padding:calc(6px + env(safe-area-inset-top)) 8px 6px;background:rgba(var(--bg-rgb),.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.psbody{max-width:720px;margin:0 auto;padding:0 16px calc(40px + env(safe-area-inset-bottom))}
.pshero{text-align:center;padding:4px 0 18px}
.pshero h1{margin:0;font-family:var(--display);font-size:28px;font-weight:700;letter-spacing:-.025em;line-height:1.1}
.pshero p{margin:6px 0 0;color:var(--dim);font-size:15px}
.psacts{display:flex;gap:8px;justify-content:center;margin-top:14px}
.psacts a{display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.psacts svg{width:18px;height:18px}
.psrow{display:flex;align-items:center;gap:12px;width:100%;padding:11px 2px;border:none;border-radius:0;box-shadow:none;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:15px;text-align:left}
button.psrow{cursor:pointer}
.psic{width:32px;height:32px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--bg2);color:var(--dim)}
.psic svg{width:17px;height:17px}
.psrow.missed .psic{color:var(--danger-soft)}
.pstx{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pstx b{font-weight:600}
.psev{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px} .pssrc{font-size:12px;color:var(--faint);letter-spacing:.01em}
.psrow time{flex:none;font-size:13px;color:var(--faint);font-variant-numeric:tabular-nums}
.psrow.done .pstx{color:var(--dim)}
.psnone{margin:4px 2px 10px;color:var(--faint);font-size:14px}
@media (prefers-reduced-motion:reduce){.psch{transition:none}}
/* three lists (2026-10-18): To do · Otti closed · Done, each with its count */
.chseg button{padding:0 10px}
.chseg .chfn,.chtab .chfn{margin-left:4px;font-size:12px;font-weight:600;color:var(--faint);font-variant-numeric:tabular-nums}
.chseg button.on .chfn{color:var(--dim)}
.chseg button[data-chf="otti"]:not(.on) .chfn{color:var(--accent,var(--ink))}
/* how Otti knew (2026-10-18): the close as a small card — when, the app and who, their words, why it counts */
.thproof{margin:14px 0 6px;padding:12px 14px;border:1px solid var(--line,rgba(255,255,255,.1));border-radius:14px;background:rgba(var(--hi,255,255,255),.03)}
.thproof .tph{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink)}
.thproof .tph b{font-weight:650}
.thproof .tpck{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:rgba(var(--accent-rgb),.16);color:var(--accent)}
.thproof .tpck svg{width:11px;height:11px}
.thproof time{margin-left:auto;font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums}
.thproof .tpsrc{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:13px;color:var(--dim)}
.thproof .tpsrc .aplogo{width:15px;height:15px;flex:none}
.thproof blockquote{margin:6px 0 0;padding:0 0 0 10px;border-left:2px solid rgba(var(--accent-rgb),.5);font-size:14px;line-height:1.45;color:var(--ink)}
.thproof .tpwhy{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--dim)}
.thproof .tpwhy b{display:block;font-size:11px;font-weight:700;color:var(--faint);margin-bottom:2px}
.thproof .tpfoot{margin:10px 0 0;font-size:12px;color:var(--faint)}
/* Otti's brief (2026-10-18): the Notes home opens with a line in Otti's words and the two or three things that need you,
   each ready to act on; "Not now" lets the next one rise. Below it the list; at the end, the day as it went */
.brief{margin:6px 0 18px}
.bcard{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:12px 14px;margin:0 0 10px;cursor:pointer;box-shadow:0 18px 40px -22px rgba(var(--shade),.35)}
.bcard .bwho{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.bcard .bav{width:32px;height:32px;border-radius:50%;background:var(--bg2);display:grid;place-items:center;font-weight:700;font-size:13.5px;color:var(--ink);flex:none}
.bcard .bav.ic svg{width:17px;height:17px}
.bcard .bwho b{display:block;font-size:14.5px;font-weight:600;color:var(--ink)}
.bcard .bwho small{display:block;font-size:12.5px;color:var(--faint);margin-top:1px}
.bcard h3{font-family:var(--display);font-style:italic;font-weight:700;font-size:18px;line-height:1.2;letter-spacing:-.02em;margin:2px 0 4px;color:var(--ink)}
.bcard p{font-size:14.5px;line-height:1.45;color:var(--dim);margin:0}
.bcard .bdraft{margin-top:8px;background:var(--bg2);border-radius:14px;padding:10px 12px;font-size:14px;line-height:1.45;color:var(--dim);border-left:3px solid var(--accent);white-space:pre-line}
.bcard .bdraft span{display:block;font-size:12px;color:var(--faint);margin-bottom:2px}
/* one filled button per card at most, the rest quiet (Praz, 23:52: "why all primary buttons and so big?") */
.bbtns{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.bbtn{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 12px;border-radius:99px;border:1px solid var(--line);background:none;color:var(--ink);font:600 13.5px Geist,system-ui,sans-serif;cursor:pointer}
.bbtn .aplogo{width:15px;height:15px}
.bbtn.ink{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.bbtn.quiet{border-color:transparent;color:var(--faint);margin-left:auto}
.bbtn.link{min-height:0;padding:0;border:0;background:none;color:var(--accent-soft);font-size:12.5px}
.bbtn.bmore{width:100%;justify-content:center;background:none;color:var(--dim)}
.bbtn:active{transform:scale(.96)}
.bstory .bline{border-left:2px dashed var(--line);margin:4px 0 0 10px;padding-left:16px}
.bev{position:relative;padding:2px 0 14px;cursor:pointer}
.bev:before{content:'';position:absolute;left:-23px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--bg);border:2px solid var(--accent)}
.bev b{display:block;font-size:15px;font-weight:600;color:var(--ink)}
.bev small{display:block;font-size:13px;color:var(--faint);margin-top:2px;line-height:1.4}
.bev .botti{color:var(--accent-soft);font-weight:600}
.challdone,.chback{display:inline-flex;align-items:center;gap:6px;margin:6px 2px 16px;background:none;border:0;color:var(--dim);font:600 14px Geist,system-ui,sans-serif;cursor:pointer;min-height:40px}
.chback svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2}
@media (prefers-reduced-motion:reduce){.bbtn:active{transform:none}}
.bcard.gone,.nrow.gone{pointer-events:none}
/* while a note folds away, the notes under it rise into the gap; the browser's scroll anchoring would instead scroll the
   page up by the same height and pull the header into view (the "jump", 2026-10-19 00:14) */
#chList{overflow-anchor:none}
/* a row's own small buttons: its closing word and Dismiss (2026-10-19) */
/* the row's one pill, under the time; Dismiss is a swipe left (phone) or a hover x (mouse) */
#chList .nrow{position:relative;touch-action:pan-y}
#chList .nrow.can .nr{gap:6px;padding-top:2px}
#chList .nact{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px 0 8px;border-radius:99px;border:1px solid var(--line);font:500 12px/1 Geist,system-ui,sans-serif;color:var(--dim);cursor:pointer;white-space:nowrap;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}
#chList .nact svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.4}
#chList .nact:active{transform:scale(.95)}
@media (hover:hover){ #chList .nact:hover{color:var(--ink);border-color:var(--vn-line2)} }
#chList .nact:focus-visible,#chList .nx:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#chList .nx{display:none}
@media (hover:hover) and (pointer:fine){
  #chList .nrow.can .nr{grid-template-columns:auto auto;grid-template-areas:"t t" "x a";column-gap:4px}
  #chList .nrow.can .nr time{grid-area:t} #chList .nrow.can .nact{grid-area:a}
  #chList .nx{grid-area:x;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:var(--faint);cursor:pointer;opacity:0;transition:opacity .15s ease-out,color .15s ease-out}
  #chList .nrow:hover .nx,#chList .nx:focus-visible{opacity:1} #chList .nx:hover{color:var(--ink)}
  #chList .nx svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
}
#chList .nrow.can.unread .nr time::before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--accent);vertical-align:1px}
#chList .nrow.can>*{transform:translateX(var(--sx,0px));transition:transform .24s cubic-bezier(.22,1,.36,1)}
#chList .nrow.can.drag>*{transition:none}
#chList .nrow.can::after{content:"Dismiss";position:absolute;right:6px;top:50%;transform:translateY(-50%);font:500 13px Geist,system-ui,sans-serif;color:var(--faint);opacity:var(--sp,0);pointer-events:none}
#chList .nrow.can.arm::after{color:var(--ink)}
@media (prefers-reduced-motion:reduce){ #chList .nrow.can>*{transition:none} }
.thproof .tpby{font-style:normal;font-size:12px;color:var(--faint);margin-left:6px}

/* what got done today (2026-10-19 10:38): one short line, two columns side by side, each a list that scrolls inside */
.wins{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:10px 12px 8px;margin:0 0 12px}
.wins .whd{display:flex;align-items:center;gap:8px;margin:0 2px 8px}
.wins .whd b{font-size:14.5px;font-weight:600;color:var(--ink)}
.wins .whd .wn{font-family:var(--display);font-style:italic;font-weight:800;font-size:18px;color:var(--accent-soft);margin-right:2px;font-variant-numeric:tabular-nums}
.wins .wck{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(var(--accent-rgb),.16);color:var(--accent-soft);flex:none}
.wins .wck svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.6}
.wins .wcols{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wins .wcol{min-width:0;background:var(--bg2);border-radius:14px;padding:8px 10px 4px}
.wins .wcol h4{display:flex;align-items:baseline;gap:6px;margin:0 0 4px;font:600 12.5px Geist,system-ui,sans-serif;color:var(--dim)}
.wins .wcol h4 span{color:var(--faint);font-weight:500;font-variant-numeric:tabular-nums}
.wins .wlist{list-style:none;margin:0;padding:0;max-height:168px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;mask-image:linear-gradient(#000 calc(100% - 18px),transparent)}
.wins .wlist::-webkit-scrollbar{display:none}
.wins .wrow{padding:6px 0 7px;border-top:1px solid var(--line);cursor:pointer}
.wins .wrow:first-child{border-top:0}
.wins .wrow b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--ink)}
.wins .wrow small{display:flex;align-items:center;gap:4px;margin-top:2px;font-size:12px;color:var(--faint);white-space:nowrap;overflow:hidden}
.wins .wrow small time{font-variant-numeric:tabular-nums;flex:none}
.wins .wrow small span{overflow:hidden;text-overflow:ellipsis}
.wins .wrow small time:not(:last-child)::after{content:"·";margin-left:4px}
.wins .wrow small svg,.wins .wrow small img{width:12px;height:12px;flex:none}
.wins .wrow .bbtn.link{font-size:12px;margin-top:3px}
.wins .wnone{margin:2px 0 8px;font-size:12.5px;line-height:1.35;color:var(--faint)}
.wins.gone{pointer-events:none}
/* who or what a note is about, on its row (2026-10-19 11:35) */
#chList .nbadge{display:inline-flex;align-items:center;max-width:9em;height:20px;padding:0 8px;margin-right:6px;border-radius:99px;background:var(--bg2);border:1px solid var(--line);font:600 11.5px/1 Geist,system-ui,sans-serif;color:var(--dim);vertical-align:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
#chList .nbadge.topic{cursor:default;font-weight:500}
@media (hover:hover){ #chList .nbadge[data-person]:hover{color:var(--ink);border-color:var(--vn-line2)} }
#chList .nbadge:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
/* each note with its next step (2026-10-19): icon, whole title, who and when, one button on the right */
#chList .stgrp{margin:8px 2px 0}
#chList .sth{display:flex;align-items:baseline;gap:8px;font-family:var(--display);font-style:italic;font-weight:700;font-size:20px;letter-spacing:-.02em;color:var(--ink);margin:16px 0 2px}
#chList .sth span{font-family:var(--sans,inherit);font-style:normal;font-weight:500;font-size:13.5px;color:var(--faint)}
#chList .strow{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
#chList .sth+.strow,#chList .stfold+.strow{border-top:0}
#chList .stic{flex:none;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;color:var(--dim)}
#chList .stic .ci{width:19px;height:19px}
#chList .strow.working .stic{border-color:var(--accent);color:var(--accent)}
#chList .strow.done .stic{background:var(--bg2);border-color:transparent}
#chList .stbody{all:unset;box-sizing:border-box;flex:1;min-width:0;cursor:pointer;border-radius:8px}
#chList .stbody:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#chList .stbody strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:500;font-size:15.5px;line-height:1.3;color:var(--ink)}
#chList .stbody.unread strong{font-weight:650}
#chList .strow.done strong{color:var(--faint);text-decoration:line-through;text-decoration-color:rgba(var(--hi),.3)}
#chList .stsub{display:flex;align-items:center;flex-wrap:wrap;gap:2px 0;margin-top:3px;font-size:13px;color:var(--faint)}
#chList .stsub i{font-style:normal;margin-left:4px}
#chList .stsub i.soon{color:var(--accent-soft);font-weight:600;background:none;padding:0;border-radius:0}
/* a plain note closes with a round tick, not a past-tense word ("Booked" read as a state); labelled buttons are real actions */
/* the done tick: a quiet hairline circle, never louder than the row's one action (2026-10-19, Praz: "the tick buttons don't look
   proper"). 36 px to see, 44 px to hit; it lights to ink only when pressed */
#chList .sttick{flex:none;position:relative;box-sizing:border-box;width:34px;height:34px;min-height:0;min-width:0;aspect-ratio:1;border-radius:50%;border:1px solid rgba(var(--hi),.16);background:transparent;color:var(--faint);display:grid;place-items:center;padding:0;cursor:pointer;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform 90ms cubic-bezier(.2,0,0,1)}
#chList .sttick::before{content:"";position:absolute;inset:-5px}
#chList .sttick .ci{width:16px;height:16px;stroke-width:2}
#chList .sttick:active{transform:scale(.92);background:var(--ink);color:var(--bg);border-color:var(--ink)}
@media (hover:hover) and (pointer:fine){ #chList .sttick:hover{border-color:rgba(var(--hi),.4);color:var(--ink)} }
#chList .sttick:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#chList .stbtns{flex:none;display:flex;align-items:center;gap:10px}
#chList .stsub .nun{margin:0 7px 0 0;height:18px;min-width:18px;font-size:11px}
#chList .strow.working .stsub{color:var(--accent-soft)}
#chList .stgo{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 15px;border-radius:99px;border:1px solid rgba(var(--hi),.2);background:transparent;color:var(--ink);font:inherit;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap}
#chList .stgo .ci{width:15px;height:15px;stroke-width:2.2}
#chList .stgo .aplogo{width:15px;height:15px;color:inherit!important;opacity:.9}   /* the app's mark as an outline in the button's own ink (2026-10-20, Praz: "too overwhelming" filled; "an outline logo is fine") */
#chList .stgo.pri:not(.app){background:var(--ink);color:var(--bg);border-color:var(--ink)}   /* an app button is never filled (2026-10-20, Praz: "Maps still is fill color?"); Check and Answer keep the ink pill */
#chList .stfold{all:unset;box-sizing:border-box;display:flex;justify-content:space-between;width:100%;padding:14px 0;border-top:1px solid var(--line);color:var(--dim);font-weight:600;font-size:14px;cursor:pointer}
#chList .stfold b{color:var(--ink);margin-left:4px}
#chList .stfold:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* All / Work / Personal (2026-10-19): three pills under the header, in place of the curved category rim */
#chDay .chrim,#chDay .chrimhit{display:none}
#pageNotes .chday{height:auto;padding-bottom:8px}   /* no rim, so the header is only as tall as its line */
.chcats{display:flex;gap:8px;padding:4px 28px 2px 2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}   /* the row scrolls; the fade says so (2026-10-20) */
.chcats::-webkit-scrollbar{display:none}
.chcats button{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:99px;border:1px solid var(--line);background:transparent;color:var(--dim);font:inherit;font-weight:600;font-size:13.5px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,transform 90ms cubic-bezier(.2,0,0,1)}
.chcats button span{font-weight:500;opacity:.7;margin-left:4px;font-variant-numeric:tabular-nums}
.chcats button .aplogo{width:14px;height:14px;margin-right:6px;color:inherit!important;vertical-align:0}   /* the source's mark, in the pill's own ink */
.chcats .chcsep{flex:none;width:1px;height:20px;align-self:center;background:var(--line);margin:0 2px}
.chcats button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chcats button:active{transform:scale(.97)}
.chcats button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* to do → done (2026-10-19): the circle fills with a tick in the accent, the title strikes, then the row folds; the
   "Done today" count pops as it lands */
#chList .strow.autodone .stic{background:var(--accent);border-color:var(--accent);color:#fff;animation:stdone .45s cubic-bezier(.2,0,0,1)}
#chList .strow.autodone .stic .ci{stroke-width:2.6}
#chList .strow.autodone strong{color:var(--faint);text-decoration:line-through;text-decoration-color:rgba(var(--hi),.35);transition:color .3s}
#chList .strow.autodone .stsub{color:var(--accent-soft);font-weight:600}
#chList .stfold.pop b{display:inline-block;animation:stpop .55s cubic-bezier(.2,0,0,1)}
@keyframes stdone{0%{transform:scale(.6)}60%{transform:scale(1.15)}100%{transform:none}}
@keyframes stpop{0%{transform:none}40%{transform:scale(1.6)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){ #chList .strow.autodone .stic,#chList .stfold.pop b{animation:none} }
/* a note's own page: its done button sits under the paragraph, an outline pill (the page's one filled button stays the composer's);
   the matter card ends with why it was linked and a quiet "Not this matter" (2026-10-19) */
.thdone{display:inline-flex;width:auto;max-width:max-content;align-self:flex-start;box-sizing:border-box;align-items:center;gap:7px;min-height:40px;margin:14px 0 6px;padding:0 16px;border-radius:99px;border:1px solid rgba(var(--hi),.2);background:transparent;color:var(--ink);font:inherit;font-weight:600;font-size:14.5px;cursor:pointer;transition:background .15s ease-out,border-color .15s ease-out,transform 90ms cubic-bezier(.2,0,0,1)}
.thdone .ci{width:16px;height:16px;stroke-width:2.2}
.thdone:active{transform:scale(.97);background:rgba(var(--hi),.08)}
.thdone:focus-visible,.thapart:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.thlkfoot{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px}
.thlkfoot .thlkwhy{flex:1;min-width:0}
.thapart{flex:none;background:none;border:0;padding:8px 0 8px 8px;margin:-8px 0;color:var(--faint);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(var(--hi),.2);text-underline-offset:3px}
@media (hover:hover) and (pointer:fine){ .thapart:hover{color:var(--ink)} .thdone:hover{border-color:rgba(var(--hi),.4)} }
/* a friend's note, read only (2026-10-19) */
#fnSheet .fnlead{font-size:13px;margin:0 0 4px} #fnSheet h3{margin:0 0 8px}
#fnSheet .fnwhat{margin:0 0 10px;font-size:15px;line-height:1.45;color:var(--ink)}
#fnSheet .fnquote{margin:0 0 14px;padding:0 0 0 12px;border-left:2px solid rgba(var(--hi),.16);font-size:14px;line-height:1.45;color:var(--dim);font-style:italic}
/* the conversation sheet: what the phone's apps said about the same thing (2026-10-19) */
.convctx{margin:12px 0 4px;display:grid;gap:10px}
.convctxh{font-size:12.5px;font-weight:600;color:var(--faint)}
.convctxr{display:flex;align-items:flex-start;gap:10px} .convctxr .aplogo{flex:none;width:20px;height:20px;margin-top:2px}
.convctxr>div{min-width:0;display:flex;flex-direction:column;gap:2px} .convctxr b{font-weight:600;font-size:14.5px;line-height:1.35;color:var(--ink)} .convctxr small{font-size:12.5px;color:var(--faint)}
.convctxdot{flex:none;width:8px;height:8px;margin:7px 6px 0;border-radius:50%;background:rgba(var(--hi),.3)}
/* Today: a chat's grouped messages lead with the app's mark, not its name (2026-10-19) */
.drow.pgrp .ftext>span .aplogo{width:16px;height:16px;margin-right:7px;vertical-align:-3px}
/* More › Permissions and onboarding's phone step (2026-10-19) */
.permrow{align-items:center} .permrow .ltx small{line-height:1.4}
.permic{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(var(--hi),.14);color:var(--faint)}
.permic .mmi{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.permic.on{color:var(--ink);border-color:rgba(var(--hi),.28)}
.permok{flex:none;font-size:13px;font-weight:600;color:var(--accent)} .permrow .ltx small.permoff{display:block;margin-top:3px;font-size:13.5px;color:var(--dim)}
.permlede{margin:4px 0 12px} .permset{margin:14px 0 4px}
.onbperms{text-align:left}
/* What Otti saw (2026-10-20): a day's inputs, newest first, each with where it was used */
.seensheet .seenday,.seensheet .seenchips{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 10px}
.seensheet .chip b{font-weight:600;color:var(--faint);margin-left:2px}
.seenlede{margin:2px 0 10px;font-size:13.5px;color:var(--dim);line-height:1.45} .seenwhat{margin:-2px 0 8px;font-size:13px;color:var(--faint)}
.seenrow{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.seenrow time{flex:none;width:62px;font-size:12.5px;color:var(--faint);padding-top:2px;font-variant-numeric:tabular-nums}
.seentx{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.seentx small{font-size:12px;color:var(--faint)} .seentx p{margin:0;font-size:14.5px;line-height:1.4;color:var(--ink);overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.seennote{font-size:13px;color:var(--accent-soft)}
.seenuse{font-size:12.5px;line-height:1.45;color:var(--dim)} .seenuse b{font-weight:600;color:var(--faint)}
.seenuse.none{font-size:12px;color:var(--faint)}
.seenrow.dropped .seentx p{color:var(--dim)}
.permrow .permoffbtn{color:var(--dim)} .permon{font-style:normal;font-size:12px;font-weight:600;color:var(--accent);margin-left:6px}

/* the Notes upsell banner (2026-10-22, Praz: "it looks so bad. It needs to be some nice banner"): a title in the display
   italic, one plain sentence with the price, one filled button; a warm wash of the accent from the corner */
.chpause.npup{position:relative;display:grid;justify-items:start;gap:6px;margin:6px 0 14px;padding:18px 18px 16px;border-radius:20px;
  background:radial-gradient(130% 120% at 100% 0%,rgba(var(--accent-rgb),.24),transparent 58%),rgba(var(--hi),.035);
  border:1px solid rgba(var(--accent-rgb),.3);box-shadow:0 16px 30px -22px rgba(0,0,0,.8);color:var(--dim)}
.npup .npup-t{font:italic 700 19px/1.2 var(--display);letter-spacing:-.015em;color:var(--ink);text-wrap:balance}
.npup .npup-x{flex:none;font-size:14px;line-height:1.45;color:var(--dim);max-width:46ch;text-wrap:pretty}
.npup .npup-go{margin-top:8px;min-height:0;height:42px;padding:0 20px;border:0;border-radius:99px;background:var(--ink);color:var(--bg);font-size:14.5px;font-weight:700;letter-spacing:-.005em;box-shadow:0 10px 20px -12px rgba(0,0,0,.7);transition:transform .18s var(--spring,ease),box-shadow .18s}
.npup .npup-go:active{transform:scale(.97)}
.npup .npup-go:focus-visible{outline:2px solid rgba(var(--accent-rgb),.8);outline-offset:3px}

/* the Notes rows, quieter (2026-10-22, Praz: "Some badges are cut off" and "it looks cluttered. Beautify it"): a soft disc for the
   icon with a dot when something is new, the title, one line under it (when · who or what it belongs to, cut with an ellipsis),
   a lighter app pill and tick on the right */
.chpause.npup{margin:14px 2px 0}   /* the same 14 px above and below it, and the rows' own 2 px inset (2026-10-23, Praz: "The padding needs to be uniform") */
#chList .stgrp:first-child .sth{margin-top:2px}
#chList .strow{gap:14px;padding:14px 0}
#chList .stic{position:relative;width:38px;height:38px;border:0;background:rgba(var(--hi),.055);color:var(--dim)}
#chList .stic .ci{width:18px;height:18px}
#chList .strow.unread .stic::after{content:"";position:absolute;top:1px;right:1px;width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2.5px var(--bg)}
#chList .strow.working .stic{border:0;background:rgba(var(--accent-rgb),.14)}
#chList .stsub{flex-wrap:nowrap;white-space:nowrap;overflow:hidden;margin-top:4px;font-size:13px;line-height:1.3}
#chList .stsub .stt{flex:none}
#chList .stsub .nbadge{all:unset;display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim);font-weight:500;cursor:default}
#chList .stsub .nbadge::before{content:"\00b7";margin:0 6px;color:var(--faint)}
#chList .stsub .nbadge[data-person]{cursor:pointer;color:var(--ink)}
#chList .stsub .nbadge:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:4px}
#chList .stgo{min-height:34px;padding:0 13px;font-size:13.5px;border-color:rgba(var(--hi),.14)}
#chList .stbtns{gap:6px}
#chList .sttick{width:34px;height:34px;border-color:rgba(var(--hi),.1);color:var(--faint)}

/* the notes waiting behind a plan: hidden lines and their count (2026-10-22) */
.npup .npup-wait{display:flex;align-items:center;gap:12px;margin-top:6px;padding:10px 12px;border-radius:14px;background:rgba(var(--hi),.045);font-size:13.5px;line-height:1.4;color:var(--dim)}
.npup .npup-wait b{color:var(--ink);font-weight:650}
.npup .npup-ghost{flex:none;display:grid;gap:5px;width:54px}
.npup .npup-ghost i{display:block;height:6px;border-radius:99px;background:rgba(var(--hi),.16);filter:blur(1.2px)}
.npup .npup-ghost i:nth-child(2){width:80%} .npup .npup-ghost i:nth-child(3){width:60%}

/* notes paused, made plain (2026-10-23): blurred waiting notes under a card that says what and how */
.chpause.lockd{position:relative;display:block;margin:14px 2px 0;padding:0;border:0;background:none;box-shadow:none;min-height:236px}
.lockd .lk-rows{filter:blur(4.5px);opacity:.6;pointer-events:none;user-select:none;-webkit-user-select:none}
.lockd .lk-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.lockd .lk-row:first-child{border-top:0}
.lockd .lk-ic{flex:none;width:38px;height:38px;border-radius:50%;background:rgba(var(--hi),.08)}
.lockd .lk-tx{flex:1;min-width:0}
.lockd .lk-tx b{display:block;font-size:15.5px;font-weight:500;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lockd .lk-tx i{display:block;width:42%;height:9px;margin-top:8px;border-radius:99px;background:rgba(var(--hi),.13)}
.lockd .lk-tick{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid rgba(var(--hi),.14)}
.lockd .lk-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:min(330px,92%);display:grid;justify-items:center;gap:6px;padding:18px 18px 16px;border-radius:22px;text-align:center;background:var(--panel-solid,var(--bg2));border:1px solid rgba(var(--accent-rgb),.32);box-shadow:0 22px 44px -22px rgba(0,0,0,.85)}
.lockd .lk-card b{font:italic 700 18px/1.25 var(--display);letter-spacing:-.015em;color:var(--ink);text-wrap:balance}
.lockd .lk-card>span:not(.lk-lock){font-size:13.5px;line-height:1.45;color:var(--dim);text-wrap:pretty}
.lockd .lk-card .npup-go{margin-top:8px}
.lk-lock{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:rgba(var(--accent-rgb),.16);color:var(--accent)}
.lk-lock svg{width:19px;height:19px}

/* in the Notes card the list sits centred as a block, its lines left (2026-10-23) */
.lockd .lk-card .keeps{justify-self:center;text-align:left;margin-top:6px}
.lockd .lk-card .keeps .keepsh{text-align:center}
.chpause.lockd{min-height:300px}

.lockd .lk-card .lk-from{font-size:12.5px;color:var(--faint);margin-top:2px}
.chpause.lockd{min-height:430px}
/* under Needs you, a part of the list: the list's own inset and rhythm (2026-10-23) */
#chList .chpause.inlist{margin:4px 0 6px}
#chList .chpause.lockd.inlist{border-bottom:1px solid var(--line);padding-bottom:6px}

/* Share, over the composer (2026-10-26): two plain buttons side by side */
.thsharebar{display:flex;gap:4px;padding:0 2px 6px;justify-content:flex-start}.thsharebar[hidden]{display:none}
.thsharebar .thsb{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 10px;border-radius:999px;border:0;background:none;color:var(--faint);font:500 12.5px Geist,system-ui,sans-serif;letter-spacing:.01em;transition:color .15s,background .15s}
.thsharebar .thsb svg{width:14px;height:14px;opacity:.8}
.thsharebar .thsb:active{color:var(--ink);background:rgba(var(--hi),.06)}
/* a friend's note as a page (2026-11-08): read only, nothing to type, nothing to do; the conversation link stays */
#pageThread.theirs .thfoot,#pageThread.theirs #thMore,#pageThread.theirs #thShare,#pageThread.theirs .thclose,#pageThread.theirs .thchips{display:none}
