/* people view: the Folded design (2026-10-09 picks). Loaded after app.css, so its rules win.
   The list: whoever needs you lifts off as paper above a dashed fold; everyone else lies flat below it.
   The sheet: their side above a drawn crease, your side folded under it on a darker sheet. */
.ppbar,#pagePeople,#ppSheet,#thChips{--pp-line2:color-mix(in srgb,var(--ink) 20%,transparent);--pp-wash:rgba(var(--accent-rgb),.14)}
.ppbar .ci,#pagePeople .ci,#ppSheet .ci,#thChips .ci{flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#pagePeople button,#ppSheet button,.ppbar button{font:inherit;min-height:0;-webkit-tap-highlight-color:transparent}

/* ---- the head: the title, and your handle as the Findable switch */
body.onpeople .ppbar{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ppbar .pptitle{margin:0;font-family:var(--display);font-style:italic;font-weight:700;font-size:28px;line-height:1.05;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
.ppmepill{flex:0 1 auto;display:flex;align-items:center;gap:7px;min-width:0;height:38px;padding:0 6px 0 11px;border-radius:99px;background:var(--panel);border:1px solid var(--line);color:var(--ink);cursor:pointer}
.ppmepill .ci{width:18px;height:18px;color:var(--faint);transition:color .2s}
.ppmepill.on .ci{color:var(--accent-soft)}
.ppbar .ppme{font-family:inherit;font-style:normal;font-size:14px;font-weight:600;letter-spacing:0;line-height:1;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;-webkit-text-fill-color:currentColor;background:none}
.ppmepill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* the switch, one family: a small one in the pill, the full one on the fold */
.ppsw{flex:none;position:relative;width:44px;height:26px;border-radius:99px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--pp-line2);transition:background .2s,box-shadow .2s}
.ppsw i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--faint);transition:left .22s var(--ease),background .2s}
.ppsw.on{background:var(--accent);box-shadow:none} .ppsw.on i{left:21px;background:var(--panel)}
.ppmepill .ppsw{width:30px;height:18px;background:var(--bg2)} .ppmepill .ppsw i{top:3px;left:3px;width:12px;height:12px}
.ppmepill.on .ppsw{background:var(--accent);box-shadow:none} .ppmepill.on .ppsw i{left:15px;background:var(--panel)}

/* ---- the page */
#pagePeople{margin-top:0;padding:0 2px}
#pagePeople .ppadd{display:flex;align-items:center;gap:10px;height:48px;margin:2px 0 14px;padding:0 5px 0 13px;border-radius:12px;background:var(--bg2);border:1px solid var(--line);color:var(--faint);transition:border-color .15s,box-shadow .15s}
#pagePeople .ppadd:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.2)}
#pagePeople .ppadd .ci{width:19px;height:19px}
#pagePeople .ppadd input{flex:1;min-width:0;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;color:var(--ink);font:inherit;font-size:16px}
#pagePeople .ppadd input::placeholder{color:var(--faint)}
#pagePeople .ppadd button{flex:none;height:38px;padding:0 15px;border-radius:9px;background:var(--panel);border:1px solid var(--pp-line2);color:var(--ink);font-weight:600;font-size:14px;cursor:pointer}

/* a person, lifted (needs you) or flat */
#pagePeople .pppaper{position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:10px;background:var(--panel);border-radius:20px 20px 8px 8px;box-shadow:var(--shadow),0 0 0 1px var(--line);cursor:pointer}
#pagePeople .pppaper.ppask{cursor:default;padding-right:10px}
#pagePeople .pppaper.lift{animation:pp-lift .6s var(--ease) both}
#pagePeople .ppflat{position:relative;display:flex;align-items:center;gap:12px;min-height:66px;padding:0 2px;cursor:pointer}
#pagePeople .ppflat+.ppflat::before{content:"";position:absolute;top:0;left:58px;right:0;border-top:1px solid var(--line)}
#pagePeople .ppflat.ppsent{cursor:default;opacity:.7}
#pagePeople #ppDisco .ppflat{cursor:default}
#pagePeople [data-pp]{transition:transform .12s var(--ease)}
#pagePeople [data-pp]:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:14px}
#pagePeople [data-pp]:active{transform:scale(.99)}
#pagePeople .ppav{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-style:italic;font-weight:700;font-size:19px;letter-spacing:-.02em;line-height:1;background:var(--ink);color:var(--bg);cursor:pointer}
#pagePeople .ppav.p{background:var(--bg2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--pp-line2)}
#pagePeople .ppav.c{background:var(--pp-wash);color:var(--accent-soft)}
#pagePeople span.ppav{cursor:default}
#pagePeople .ppmid{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:2px}
#pagePeople .ppt1{display:flex;align-items:center;gap:8px;line-height:1.25;min-width:0}
#pagePeople .ppt1 b{font-size:16px;font-weight:600;color:var(--ink)}
#pagePeople .ppt1 time{flex:none;margin-left:auto;font-size:12.5px;color:var(--faint);font-variant-numeric:tabular-nums}
#pagePeople .ppt2{display:flex;align-items:center;gap:10px;line-height:1.3;min-width:0}
#pagePeople .ppell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#pagePeople .ppt2 .ppell{flex:1;font-size:15px;color:var(--dim)}
#pagePeople .unread .ppt1 b{font-weight:750}
#pagePeople .unread .ppt1 time{color:var(--accent-soft);font-weight:650}
#pagePeople .unread .ppt2 .ppell{color:var(--ink)}
#pagePeople .ppdot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent)}
#pagePeople .ppaccept{flex:none;height:38px;padding:0 15px;border-radius:12px;background:var(--panel);border:1px solid var(--pp-line2);color:var(--ink);font-weight:600;font-size:14.5px;white-space:nowrap;cursor:pointer}
#pagePeople .pppaper .ppaccept{background:var(--ink);color:var(--bg);border-color:transparent}
#pagePeople .ppx{flex:none;width:38px;height:38px;padding:0;border-radius:50%;border:1px solid var(--pp-line2);background:transparent;color:var(--dim);display:grid;place-items:center;cursor:pointer}
#pagePeople .ppx .ci{width:17px;height:17px}

/* the fold between who needs you and everyone else: a dashed line that draws itself once per change */
#pagePeople .ppfoldline{display:block;width:100%;height:14px;margin:2px 0 0}
#pagePeople .ppfoldline path{fill:none;stroke:var(--faint);stroke-width:1.4;stroke-dasharray:2 5;stroke-linecap:round;vector-effect:non-scaling-stroke}
#pagePeople .ppfoldline.draw{animation:pp-wipe .8s var(--ease) .15s both}

/* find other Ottipod users: a row with a reason, not a floating link */
#pagePeople .ppnear{display:flex;align-items:center;gap:12px;width:100%;margin-top:8px;padding:12px 2px 4px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}
#pagePeople .ppring{flex:none;width:44px;height:44px;border-radius:50%;border:1px dashed var(--pp-line2);display:grid;place-items:center;color:var(--accent-soft)}
#pagePeople .ppring .ci{width:21px;height:21px}
#pagePeople .ppnmain{flex:1;min-width:0;display:grid;line-height:1.3}
#pagePeople .ppnmain b{font-size:16px;font-weight:600}
#pagePeople .ppnmain small{font-size:13px;color:var(--faint)}
#pagePeople .ppchev{width:18px;height:18px;color:var(--faint);transition:transform .25s var(--ease)}
#pagePeople .ppnear.open .ppchev{transform:rotate(90deg)}
#pagePeople #ppDisco{margin-top:4px}
#pagePeople .ppempty{padding:18px 10px 8px;text-align:center;color:var(--faint);font-size:14px;line-height:1.5}

/* ---- the person sheet */
#ppSheet.ppsheet{overscroll-behavior:contain;padding:0;background:var(--panel);border-top:0;border-radius:24px 24px 0 0;box-shadow:var(--shadow),0 0 0 1px var(--line);overflow-x:hidden;overflow-y:auto}
#ppSheet .ppgrab{width:38px;height:4px;border-radius:99px;background:var(--pp-line2);margin:9px auto 6px}
#ppSheet .pptop{padding:4px 18px 14px}
#ppSheet .ppid{display:flex;align-items:center;gap:14px}
#ppSheet .ppidt{min-width:0}
#ppSheet .ppidt h3{margin:0;font-family:var(--display);font-style:italic;font-weight:700;font-size:26px;line-height:1.05;letter-spacing:-.03em;color:var(--ink);overflow-wrap:anywhere}
#ppSheet .ppidt p{margin:4px 0 0;font-size:14px;line-height:1.35;color:var(--dim)}
#ppSheet .ppidt p span{color:var(--faint)}

/* the disc: the face on a plate, the distance a dot on its rim. It plays: drag the dot */
#ppSheet .ppdisc{flex:none;position:relative;width:88px;height:88px;perspective:240px;touch-action:none;user-select:none;-webkit-user-select:none}
#ppSheet .ppdisc.near{cursor:grab} #ppSheet .ppdisc.near.held{cursor:grabbing}
#ppSheet .ppdisc svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#ppSheet .pprim{fill:none;stroke:var(--pp-line2);stroke-width:1}
#ppSheet .ppplate{fill:var(--bg);stroke:var(--line);stroke-width:1}
#ppSheet .pparc{fill:none;stroke:rgba(var(--accent-rgb),.42);stroke-width:2;stroke-linecap:round}
#ppSheet .pprimdot{fill:var(--accent);stroke:var(--panel);stroke-width:2;transition:r .2s var(--ease)}
#ppSheet .ppdisc.held .pprimdot{r:6px}
#ppSheet .ppdav{position:absolute;left:20px;top:20px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--bg);font-family:var(--display);font-style:italic;font-weight:700;font-size:21px;letter-spacing:-.02em;line-height:1;transition:transform .45s var(--ease);will-change:transform;pointer-events:none}
#ppSheet .ppdisc.held .ppdav{transition:transform .08s linear}

/* their side: Message is the one ink button */
#ppSheet .ppcrease:focus-visible,#ppSheet .ppswrow:focus-visible,#ppSheet .ppremove2:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* their pod: pictures (emoji are what gets sent) and sounds */
#ppSheet #ppPod{margin-top:12px}
#ppSheet .pppodh{margin:10px 2px 6px;font-size:13px;font-weight:600;color:var(--faint)}
#ppSheet .ppgrid{display:flex;flex-wrap:wrap;gap:6px;margin:0}
#ppSheet .ppgrid button{width:44px;height:44px;padding:0;border-radius:12px;background:var(--bg2);border:1px solid var(--line);font-size:22px;line-height:1;display:grid;place-items:center;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;cursor:pointer}
#ppSheet .ppsnds{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#ppSheet .ppsnds .snd{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:99px;background:var(--bg2);border:1px solid var(--line);color:var(--dim);font-size:13.5px;font-weight:500;white-space:nowrap;cursor:pointer;transition:transform .12s var(--ease)}
#ppSheet .ppsnds .snd .ci{width:16px;height:16px}
#ppSheet .ppgrid button:active,#ppSheet .ppsnds .snd:active{transform:scale(.94)}

/* the crease: drawn once as the sheet opens; pull it and it gives, pull hard and your side flips open */
#ppSheet .ppcrease{display:block;width:100%;height:24px;margin:-2px 0 0;padding:0;border:0;border-radius:0;background:transparent;touch-action:none;cursor:ns-resize;user-select:none;-webkit-user-select:none}
#ppSheet .ppcrease svg{display:block;width:100%;height:100%}
#ppSheet .ppcfill{fill:var(--bg2)}
#ppSheet .ppcline{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;transition:stroke .2s}
#ppSheet .ppcline.draw{stroke-dasharray:1 1;stroke-dashoffset:1;animation:pp-draw .9s var(--ease) .12s forwards}
#ppSheet .ppcrease.armed .ppcline{stroke:var(--accent)}

/* your side, folded under on the darker sheet */
#ppSheet .ppfold{background:var(--bg2);margin-top:-1px;padding:0 18px calc(8px + env(safe-area-inset-bottom));transform-origin:50% 0}
#ppSheet .ppfold.flip{animation:pp-unfold .55s var(--ease)}
#ppSheet .ppfold h4{margin:0;padding:2px 0 4px;font-family:var(--display);font-style:italic;font-weight:700;font-size:19px;letter-spacing:-.02em;color:var(--ink)}
#ppSheet .ppfold h4 span{margin-left:8px;font-family:Geist,Inter,system-ui,sans-serif;font-style:normal;font-weight:400;font-size:13px;letter-spacing:0;color:var(--faint)}
#ppSheet .ppswrow{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:6px 0;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:15.5px;text-align:left;cursor:pointer;transform-origin:50% 50%}
#ppSheet .ppswrow+.ppswrow{border-top:1px solid var(--line)}
#ppSheet .ppswrow>.ci{width:20px;height:20px;color:var(--dim)}
#ppSheet .ppswt{flex:1;min-width:0;display:grid}
#ppSheet .ppswt small{display:block;font-size:12.5px;line-height:1.35;color:var(--faint);max-height:calc(var(--pull,0) * 36px);opacity:var(--pull,0);overflow:hidden;transition:max-height .3s var(--ease),opacity .25s}
#ppSheet .ppfold.open .ppswt small{max-height:36px;opacity:1}
#ppSheet .ppswrow.flip{animation:pp-flip .42s var(--ease)}
#ppSheet .ppremove2{display:block;width:100%;margin-top:2px;padding:12px 0;border:0;border-radius:10px;background:transparent;color:var(--faint);font-size:14px;font-weight:600;text-align:center;cursor:pointer}
#ppSheet .ppremove2:hover{color:var(--danger)}

/* the messages page: their day and their pod as line icons */
#thChips [data-dmact]{display:inline-flex;align-items:center;gap:6px}
#thChips [data-dmact] .ci{width:16px;height:16px}

@keyframes pp-lift{from{transform:translateY(10px) scale(.985);opacity:.5}to{transform:none;opacity:1}}
@keyframes pp-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes pp-draw{to{stroke-dashoffset:0}}
@keyframes pp-unfold{0%{transform:perspective(700px) rotateX(-22deg)}60%{transform:perspective(700px) rotateX(4deg)}100%{transform:none}}
@keyframes pp-flip{0%{transform:perspective(500px) rotateX(0)}40%{transform:perspective(500px) rotateX(-38deg)}100%{transform:perspective(500px) rotateX(0)}}

@media (prefers-reduced-motion: reduce){
  #pagePeople .pppaper.lift,#pagePeople .ppfoldline.draw,#ppSheet .ppfold.flip,#ppSheet .ppswrow.flip{animation:none}
  #ppSheet .ppcline.draw{animation:none;stroke-dasharray:none;stroke-dashoffset:0}
  #ppSheet .ppdav,#ppSheet .ppswt small,.ppsw i,#pagePeople .ppchev{transition:none}
}

/* animals and vehicles keep their pictures (2026-10-09): the emoji are the sound, the name under it */
/* an animal is a sound pill like the others, its picture inline (2026-10-10: the stacked picture and word overflowed the
   36px pill and the labels ran into the next row) */
#ppSheet .snd.zoo{display:inline-flex;flex-direction:row;align-items:center;gap:6px;height:36px;padding:0 12px 0 9px}
#ppSheet .snd.zoo .se{font-size:18px;line-height:1}

/* ---- a person's chat: the chat on top, their day folded under a crease below (2026-10-10) */
#pageThread .dmct{display:flex;align-items:center;gap:6px}
#pageThread .dmct .ci,#thChips [data-dmact] .ci{flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#pageThread .dmct .ci{width:16px;height:16px;color:var(--accent-soft)}
#thChips [data-dmact]:disabled{opacity:.4}
#pageThread.dmsplit{overflow:hidden;--dm-line2:color-mix(in srgb,var(--ink) 20%,transparent)}
/* the day at the top, under the header; the messages and the composer at the bottom (2026-10-13) */
#pageThread.dmsplit>.thhead{order:-3}
#pageThread.dmsplit .dmday{order:-2}
#pageThread.dmsplit .dmdiv{order:-1}   /* the crease sits between their day and the messages (2026-10-13: "the separator should be in the middle") */
#pageThread.dmsplit .dmcrease{top:0;transform:scaleY(-1)}   /* its fill meets the pane above it */
#pageThread.dmsplit .thbody{flex:1 1 0;min-height:0}
#pageThread.dmsplit .thfoot{padding-bottom:8px;max-height:240px;overflow:hidden;transition:max-height .38s var(--ease),padding .38s var(--ease),opacity .25s}
#pageThread.dmsplit.dm-day .thbody{padding-top:0;padding-bottom:0}
#pageThread.dmsplit.dm-day .thfoot{max-height:0;padding-top:0;padding-bottom:0;border-top-color:transparent;opacity:0}
#pageThread .dmdiv{flex:none;position:relative;z-index:2;height:30px;touch-action:none;cursor:ns-resize;user-select:none;-webkit-user-select:none;background:var(--bg)}
#pageThread .dmdiv[hidden],#pageThread .dmday[hidden]{display:none}
#pageThread.dm-chat .dmdiv{height:30px}
#pageThread .dmcrease{position:absolute;left:0;right:0;top:14px;width:100%;height:16px;display:block}
#pageThread .dmcfill{fill:var(--bg2)}
#pageThread .dmcline{fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;vector-effect:non-scaling-stroke}
#pageThread .dmcline.draw{stroke-dasharray:1 1;stroke-dashoffset:1;animation:pp-draw .8s var(--ease) .1s forwards}
#pageThread .dmhandle{position:absolute;left:50%;top:15px;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;height:28px;min-height:0;padding:0 12px 0 10px;border-radius:99px;background:var(--panel);border:1px solid var(--line);box-shadow:0 4px 12px -6px rgba(var(--shade),.4);color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;white-space:nowrap;cursor:ns-resize;touch-action:none}
#pageThread .dmhandle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#pageThread .dmhico:empty{display:none}
#pageThread .dmsep{color:var(--faint);margin:0 1px}
#pageThread .dmmsg{color:var(--dim)}
#pageThread .dmhico .ci{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--dim)}
#pageThread .dmhandle.nudge{animation:dm-nudge .45s var(--ease)}
#pageThread .dmday{flex:none;height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:var(--bg2);transition:height .38s var(--ease)}
#pageThread.dm-drag .dmday,#pageThread.dm-drag .thfoot,#pageThread.dm-still .dmday,#pageThread.dm-still .thfoot{transition:none}
#pageThread .dmdhead{position:sticky;top:0;z-index:1;padding:6px 16px 8px;background:var(--bg2)}
#pageThread .dmdt{display:flex;align-items:center;justify-content:space-between;gap:10px}
#pageThread .dmdt h3{margin:0;min-width:0;font-family:var(--display);font-style:italic;font-weight:700;font-size:19px;line-height:1.15;letter-spacing:-.02em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pageThread .dmwhole{flex:none;display:flex;align-items:center;gap:5px;height:32px;min-height:0;padding:0 4px 0 10px;border:0;border-radius:99px;background:transparent;color:var(--accent-soft);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
#pageThread .dmwhole .ci,#pageThread .dmday .ci{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#pageThread .dmwhole .ci{width:15px;height:15px}
#pageThread .dmstats{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:2px;font-size:13px;color:var(--dim);font-variant-numeric:tabular-nums}
#pageThread .dmsep{width:3px;height:3px;border-radius:50%;background:var(--faint)}
#pageThread .dmnow{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-weight:600}
#pageThread .dmnow i{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:dm-pulse 1.8s ease-out infinite}
#pageThread .dmdlist{padding:0 12px 6px}
#pageThread .dmdday{margin:10px 4px 2px;font-size:12.5px;font-weight:600;color:var(--faint)}
/* the rail: one thin line, a node per thing that happened, newest first */
#pageThread .dmrail{position:relative}
#pageThread .dmrail::before{content:"";position:absolute;left:80px;top:10px;bottom:10px;width:1px;background:var(--dm-line2)}
#pageThread .dmrow{position:relative;display:grid;grid-template-columns:60px 14px minmax(0,1fr);align-items:start;column-gap:10px;width:100%;min-height:0;padding:8px 4px;border:0;border-radius:12px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background .15s}
#pageThread .dmrow.live{cursor:default}
#pageThread button.dmrow:active{background:rgba(var(--hi),.05)}
#pageThread .dmrow:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
#pageThread .dmrow time{padding-top:2px;font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums;text-align:right}
#pageThread .dmnode{position:relative;margin-top:5px;width:9px;height:9px;border-radius:50%;justify-self:center;background:var(--bg2);box-shadow:inset 0 0 0 1.5px var(--faint)}
#pageThread .dmrow.note .dmnode{border-radius:3px;background:var(--ink);box-shadow:none}
#pageThread .dmrow.note.done .dmnode,#pageThread .dmrow.note.note .dmnode{background:var(--faint)}
#pageThread .dmrow.note.working .dmnode,#pageThread .dmrow.note.review .dmnode{background:var(--accent)}
#pageThread .dmrow.live .dmnode{background:var(--accent);box-shadow:none;animation:dm-pulse 1.8s ease-out infinite}
#pageThread .dmrt{display:grid;min-width:0;line-height:1.3}
#pageThread .dmrt b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#pageThread .dmrt small{margin-top:1px;font-size:12.5px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pageThread .dmnote.open .dmrow{background:var(--panel)}
#pageThread .dmndet{margin:2px 4px 6px 74px;padding:8px 12px 10px;border-radius:12px;background:var(--panel);font-size:13.5px;line-height:1.45;color:var(--dim);animation:dm-open .3s var(--ease)}
#pageThread .dmndet p{margin:0 0 6px}
#pageThread .dmq{font-style:italic;color:var(--ink)}
#pageThread .dmk{font-weight:600;color:var(--ink)}
#pageThread .dmfaint{color:var(--faint);font-size:12.5px}
#pageThread .dmfrom,#pageThread .dmmore{display:inline-flex;align-items:center;height:32px;min-height:0;margin:0 0 6px;padding:0 12px;border-radius:99px;border:1px solid var(--dm-line2);background:transparent;color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
#pageThread .dmdfoot{display:flex;justify-content:center;padding:6px 0 calc(14px + env(safe-area-inset-bottom));min-height:20px}

/* ---- share a note: a picker of your own notes */
#dmShareScrim{position:fixed;inset:0;z-index:61;background:rgba(var(--shade),calc(.55 * var(--shk)));animation:fadein .22s ease both}
#dmShareScrim[hidden],#dmShare[hidden]{display:none}
#dmShare{position:fixed;left:0;right:0;bottom:0;z-index:62;display:flex;flex-direction:column;max-height:78dvh;background:var(--panel);border-radius:24px 24px 0 0;box-shadow:var(--shadow),0 0 0 1px var(--line);padding:0 0 env(safe-area-inset-bottom);animation:ppin .38s var(--ease);--pp-line2:color-mix(in srgb,var(--ink) 20%,transparent)}
#dmShare .ci{flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#dmShare .ppgrab{width:38px;height:4px;border-radius:99px;background:var(--pp-line2);margin:9px auto 4px}
#dmShare .dmshead{display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 18px}
#dmShare h3{margin:0;font-family:var(--display);font-style:italic;font-weight:700;font-size:22px;letter-spacing:-.03em;color:var(--ink)}
#dmShare .ppx{width:38px;height:38px;min-height:0;padding:0;border-radius:50%;border:1px solid var(--pp-line2);background:transparent;color:var(--dim);display:grid;place-items:center;cursor:pointer}
#dmShare .ppx .ci{width:17px;height:17px}
#dmShare .dmssub{margin:2px 18px 10px;font-size:13.5px;color:var(--faint)}
#dmShare .dmsfind{display:flex;align-items:center;gap:10px;height:44px;margin:0 16px 6px;padding:0 13px;border-radius:12px;background:var(--bg2);border:1px solid var(--line);color:var(--faint)}
#dmShare .dmsfind:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.2)}
#dmShare .dmsfind .ci{width:18px;height:18px}
#dmShare .dmsfind input{flex:1;min-width:0;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;color:var(--ink);font:inherit;font-size:16px}
#dmShare .dmslist{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 12px}
#dmShare .dmslbl{margin:12px 8px 4px;font-size:12.5px;font-weight:600;color:var(--faint)}
#dmShare .dmsrow{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:8px;border:0;border-radius:14px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background .15s,transform .12s var(--ease)}
#dmShare .dmsrow:active{transform:scale(.99);background:rgba(var(--hi),.05)}
#dmShare .dmsrow:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
#dmShare .dmsrow.busy{opacity:.5}
#dmShare .dmsdisc{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--bg2);box-shadow:inset 0 0 0 1px var(--pp-line2);color:var(--ink)}
#dmShare .dmsdisc .ci{width:20px;height:20px}
#dmShare .dmsrow.done .dmsdisc{color:var(--faint)}
#dmShare .dmstx{flex:1;min-width:0;display:grid;line-height:1.3}
#dmShare .dmstx b{font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dmShare .dmstx small{font-size:13px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dmShare .dmk{font-weight:600;color:var(--ink)}
#dmShare .ppempty{padding:18px 10px 8px;text-align:center;color:var(--faint);font-size:14px}
@media (min-width:900px){ #dmShare{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 48px));max-height:80vh;border-radius:22px;animation:none} }

@keyframes dm-pulse{0%{box-shadow:0 0 0 0 rgba(var(--accent-rgb),.5)}70%,100%{box-shadow:0 0 0 7px rgba(var(--accent-rgb),0)}}
@keyframes dm-nudge{0%,100%{transform:translate(-50%,-50%)}35%{transform:translate(-50%,-62%)}70%{transform:translate(-50%,-44%)}}
@keyframes dm-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){
  #pageThread .dmday,#pageThread.dmsplit .thfoot{transition:none}
  #pageThread .dmcline.draw{animation:none;stroke-dasharray:none;stroke-dashoffset:0}
  #pageThread .dmhandle.nudge,#pageThread .dmndet,#pageThread .dmnow i,#pageThread .dmrow.live .dmnode,#dmShare,#dmShareScrim{animation:none}
}

/* the time column fits "12:45 PM" on one line (2026-10-10: "9:02 / AM" wrapped) */
#pageThread .dmrow time{white-space:nowrap;font-variant-numeric:tabular-nums}
/* the pane's header is one row (2026-10-10): the handle already says whose day it is, so the figures sit left and the
   way to the full day right */
#pageThread .dmdt .dmstats{margin-top:0;min-width:0}

/* People, 2026-10-10 sweep: the marks on a row are small buttons; the sheet keeps only what was shared; the switches
   always say what they mean; the Findable switch says its name */
#ppSheet .ppcrease{cursor:default;touch-action:auto}
#ppSheet .ppswt small{max-height:none;opacity:1}
.ppmepill .ppme b{font-weight:600;color:var(--ink)}

/* a friend's pod (2026-10-10): the same spinner, playing glow, tick and cross as your own pod's tiles */
#ppSheet #ppPod button{position:relative}
#ppSheet #ppPod button.wait{color:transparent}
#ppSheet #ppPod button.wait>*{visibility:hidden}
#ppSheet #ppPod button.wait::after{content:'';position:absolute;inset:0;margin:auto;width:20px;height:20px;border-radius:50%;border:2.5px solid rgba(var(--accent-rgb),.22);border-top-color:var(--accent);animation:spin .7s linear infinite}
#ppSheet #ppPod button.playing{border-color:var(--accent);animation:podpulse .8s ease-in-out infinite}
#ppSheet #ppPod button.sent{border-color:rgba(var(--accent-rgb),.85)}
#ppSheet #ppPod button.sent::after{content:'✓';position:absolute;right:-5px;top:-5px;width:18px;height:18px;border-radius:50%;background:var(--accent);color:#1a1218;font-size:12px;font-weight:800;display:grid;place-items:center;font-family:Geist,sans-serif}
#ppSheet #ppPod button.fail::after{content:'✕';position:absolute;right:-5px;top:-5px;width:18px;height:18px;border-radius:50%;background:var(--danger);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;font-family:Geist,sans-serif}
#ppSheet #ppPod.locked button:not(.wait):not(.playing):not(.sent){opacity:.3;pointer-events:none}
@media (prefers-reduced-motion: reduce){ #ppSheet #ppPod button.playing{animation:none} }
#pageThread .dmchips{margin:0 16px 4px}
/* their day in the chat is their Journey (2026-10-30): the path on the pane's own ground, so its pins and labels cut the line cleanly */
#pageThread .dmjour{--bg:var(--bg2);position:relative;margin:2px 0 8px}
#pageThread .dmjour .jstop:hover{background:var(--panel)}
/* a friend, made simple (2026-11-20, Praz: "Sharing is just sharing the day with phone notifs and with sound from pod. Either or
   both"): their sheet is See their day, then two switches for your own day */
#ppSheet .ppseeday{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin-top:16px;padding:10px 14px;border:0;border-radius:16px;background:var(--bg2);color:var(--ink);text-align:left;cursor:pointer;transition:transform .15s var(--ease),background .2s}
#ppSheet .ppseeday:active{transform:scale(.98)}
#ppSheet .ppseeday>.ci{flex:none;width:22px;height:22px;color:var(--accent-soft)}
#ppSheet .ppseeday .ppseego{color:var(--faint);width:18px;height:18px}
#ppSheet .ppseet{flex:1;min-width:0;display:grid;gap:2px}
#ppSheet .ppseet b{font-size:16px;font-weight:600}
#ppSheet .ppseet small{font-size:12.5px;line-height:1.35;color:var(--faint)}
#ppSheet .ppseeday:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#ppSheet .ppnoday{margin:16px 0 0;font-size:14px;line-height:1.4;color:var(--faint)}
