/* Your days (2026-10-28; src-fragments/v2/parts/99zv-your-days.js, docs/Your-Days.md).
   Boards: "Resonate — Ships vs. Impresses", page "Your days — D, the pick (hero + timeline)". Light · Minimal glow:
   ground and wash from impresses.css, forest the one accent (sage at night), glass only on the floating layer (the
   round buttons, the bar), white cards with the soft shadow. */

#page.v2days{--yd-card:#FFFFFF;--yd-shadow:0 1px 3px rgba(18,32,26,.06);--yd-line:rgba(18,32,26,.12);--yd-ink:var(--imp-ink,#12201A);
  --yd-dim:var(--imp-dim,#55615B);--yd-acc:var(--imp-forest,#154A36);--yd-on:#FFF7EE;--yd-node:rgba(21,74,54,.08);
  background:var(--imp-wash,none) no-repeat,var(--imp-page,#FAF9F6);background-attachment:local;color:var(--yd-ink);padding:0}
html[data-theme="dark"] #page.v2days{--yd-card:#2C371E;--yd-shadow:0 1px 2px rgba(0,0,0,.28);--yd-line:rgba(255,248,240,.16);--yd-on:#1E2A10;--yd-node:rgba(196,208,177,.14)}
#page.v2days .yd{padding:max(10px,env(safe-area-inset-top)) 0 calc(118px + env(safe-area-inset-bottom));min-height:100%;box-sizing:border-box}

/* the top: Back, the title, (Today →), the month */
.yd-top{display:flex;align-items:center;gap:12px;padding:46px 16px 0;min-height:44px}
.yd-title{flex:1;min-width:0;margin:0;font:400 31px/44px var(--serif);letter-spacing:-.3px;white-space:nowrap;color:var(--yd-ink)}
.yd-top .v2-ib{flex:none;width:44px;height:44px}
.yd-tdy{flex:none;height:44px;padding:0 16px;border:0;border-radius:22px;display:inline-flex;align-items:center;gap:6px;font:700 15px/1 var(--sans,Figtree);
  color:var(--yd-acc);background:var(--imp-glass);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}

/* the date rail */
.yd-rail{display:flex;gap:6px;overflow-x:auto;padding:10px 16px 16px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.yd-rail::-webkit-scrollbar{display:none}
.yd-pill{flex:none;width:52px;height:78px;border-radius:26px;border:1px solid transparent;background:var(--yd-card);box-shadow:var(--yd-shadow);color:var(--yd-ink);
  display:flex;flex-direction:column;align-items:center;padding:8px 0 0;gap:1px;scroll-snap-align:center;cursor:pointer}
.yd-pw{font:400 12px/16px var(--mono);color:var(--yd-dim)}
.yd-pn{font:400 20px/26px var(--serif)}
.yd-pf{display:flex;height:20px;align-items:center}
.yd-pf>span{display:block;border-radius:50%;box-shadow:0 0 0 2px var(--yd-card)}
.yd-pf .av{width:18px!important;height:18px!important;font-size:0!important;line-height:0!important}
.yd-pn{display:block;height:26px}
.yd-pf>span+span{margin-left:-6px}
.yd-pl{font:500 11.5px/20px var(--sans,Figtree);color:var(--yd-dim);letter-spacing:-.2px}
.yd-pc{height:20px;display:flex;align-items:center;color:var(--yd-dim)}
.yd-pill.fut{background:transparent;box-shadow:none;border:1px dashed var(--yd-line)}
.yd-pill.fut .yd-pn{color:var(--yd-dim)}
.yd-pill.now:not(.on){border:2px solid var(--yd-acc)}
.yd-pill.on{background:var(--yd-acc);color:var(--yd-on);box-shadow:0 6px 16px rgba(var(--imp-forestRGB,21,74,54),.28)}
.yd-pill.on .yd-pw{color:var(--yd-on);opacity:.86}
.yd-pill.on .yd-pf>span{box-shadow:0 0 0 2px var(--yd-acc)}

/* the hero: the day's main talk */
.yd-head{padding:0 16px}
.yd-hero{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;border:0;background:none;color:inherit;padding:6px 8px 18px;text-align:center;cursor:pointer}
.yd-glow{position:absolute;left:-16px;right:-16px;top:-20px;height:260px;pointer-events:none;opacity:.9}
.yd-hf{position:relative;margin-bottom:12px}
.yd-stack{display:inline-flex;align-items:center}
.yd-sf{position:relative;display:block;border-radius:50%}
.yd-sf+.yd-sf{margin-left:calc(var(--s) * -.26)}
.yd-hf .yd-sf .av{box-shadow:inset -6px -8px 16px rgba(20,40,30,.2),0 14px 28px rgba(18,32,26,.16)!important}
.yd-node .yd-sf .av,.yd-card .yd-sf+.yd-sf .av{font-size:0!important}
.yd-more{width:var(--s);height:var(--s);display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--yd-card);color:var(--yd-ink);
  font:400 calc(var(--s) * .36)/1 var(--serif);box-shadow:var(--yd-shadow),inset 0 0 0 1px var(--yd-line)}
.yd-h{position:relative;display:block;max-width:340px;font:400 30px/1.12 var(--serif);letter-spacing:-.3px;color:var(--yd-ink)}
.yd-with{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin-top:10px;font:400 15px/20px var(--sans,Figtree);color:var(--yd-dim)}
.yd-with2{margin-top:2px}
.yd-wn{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yd-wt{flex:none;white-space:nowrap}
.yd-n2{position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:330px;margin-top:6px;font:400 15px/21px var(--sans,Figtree);color:var(--yd-dim)}
@media (max-width:360px){
  .yd-n2{-webkit-line-clamp:1}
  .yd-title{font-size:28px}
  .yd-h{font-size:23px}
  .yd-hf .yd-sf .av{transform:scale(.68);transform-origin:center}
  .yd-pill{width:46px;height:72px}
}

/* a day without a talk: its date as the title */
.yd-dt{padding:4px 4px 12px}
.yd-pm{margin:0;font:400 12.5px/16px var(--mono);color:var(--yd-dim);text-transform:lowercase}
.yd-dh{margin:4px 0 0;font:400 31px/38px var(--serif);color:var(--yd-ink)}

/* a quiet day */
.yd-quiet{display:flex;flex-direction:column;align-items:center;text-align:center;padding:6px 0 10px}
.yd-qline{display:block;width:0;height:40px;border-left:2px dashed var(--yd-line);margin:6px 0}
.yd-qh{margin:4px 0 0;font:400 54px/1.05 var(--serif);letter-spacing:-.6px;color:var(--yd-ink)}
.yd-qs{margin:6px 0 0;font:400 17px/24px var(--sans,Figtree);color:var(--yd-dim)}
.yd-qlog{min-height:44px;margin-top:8px;padding:0 10px;border:0;background:none;color:var(--yd-acc);font:700 15px/1 var(--sans,Figtree);display:inline-flex;align-items:center;gap:6px}
.yd-peek{width:100%;min-height:56px;padding:8px 14px;border:0;border-radius:22px;background:var(--yd-card);box-shadow:var(--yd-shadow);color:var(--yd-ink);display:flex;align-items:center;gap:12px;text-align:left}
.yd-peek .yd-ct{flex:1;min-width:0}

/* the first days of an account */
.yd-first{padding-top:18px}
.yd-fring{width:96px;height:96px;border-radius:50%;border:2px dashed var(--yd-line);display:flex;align-items:center;justify-content:center;color:var(--yd-acc);
  background:radial-gradient(circle,rgba(var(--imp-forestRGB,21,74,54),.08),transparent 70%)}
.yd-fh{margin:18px 0 0;max-width:300px;font:400 28px/1.15 var(--serif);color:var(--yd-ink)}

/* the timeline */
.yd-tl{list-style:none;margin:6px 0 0;padding:0 16px 0 0;position:relative}
.yd-tl::before{content:"";position:absolute;left:84px;top:20px;bottom:18px;width:2px;background:var(--yd-line)}
.yd-r{display:grid;grid-template-columns:76px 18px minmax(0,1fr);align-items:center;column-gap:4px;padding:5px 0}
.yd-tm{display:flex;flex-direction:column;align-items:flex-end;font:400 12.5px/16px var(--mono);color:var(--yd-dim);white-space:nowrap;padding-right:2px}
.yd-tm i{font-style:normal}
.yd-dot{justify-self:center;width:10px;height:10px;border-radius:50%;background:var(--imp-page,#FAF9F6);box-shadow:inset 0 0 0 2px var(--yd-dim);position:relative;z-index:1}
.yd-dot.on{background:var(--yd-acc);box-shadow:none}
.yd-dot.dia{border-radius:2px;transform:rotate(45deg);width:9px;height:9px}
.yd-dot.now{width:14px;height:14px;background:var(--yd-acc);box-shadow:0 0 0 4px rgba(var(--imp-forestRGB,21,74,54),.14)}
.yd-card{min-height:60px;width:100%;padding:10px 14px 10px 10px;border:0;border-radius:22px;background:var(--yd-card);box-shadow:var(--yd-shadow);color:var(--yd-ink);
  display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer}
.yd-ct{display:flex;flex-direction:column;min-width:0;gap:2px}
.yd-cn{display:flex;align-items:center;gap:6px;font:600 16px/21px var(--sans,Figtree);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yd-cs{font:400 14px/19px var(--sans,Figtree);color:var(--yd-dim);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.yd-tag{margin-left:auto;padding-left:8px;display:inline-flex;align-items:center;gap:3px;font:600 12px/1 var(--sans,Figtree);color:var(--yd-acc)}
.yd-node{min-height:44px;max-width:100%;padding:4px 14px 4px 6px;border:0;border-radius:22px;background:var(--yd-node);color:var(--yd-ink);display:inline-flex;align-items:center;gap:10px;justify-self:start;cursor:pointer}
.yd-nt{min-width:0;font:600 15px/20px var(--sans,Figtree);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yd-up{flex:none;font:600 13px/1 var(--sans,Figtree);color:var(--yd-acc)}
.yd-allday{display:flex;align-items:center;gap:8px;min-height:44px;font:600 16px/21px var(--sans,Figtree)}
.yd-nowt{font:400 12.5px/16px var(--mono);color:var(--yd-dim);display:flex;align-items:center;gap:10px}
.yd-nowt::after{content:"";flex:1;height:2px;background:var(--yd-line);min-width:40px}
.yd-priv{display:flex;align-items:center;justify-content:center;gap:6px;margin:18px 16px 0;font:400 13px/18px var(--sans,Figtree);color:var(--yd-dim)}

/* the bar */
.yd-bar{position:fixed;left:16px;right:16px;bottom:max(16px,calc(env(safe-area-inset-bottom) + 6px));z-index:5;padding:6px;border-radius:34px;
  background:var(--imp-glass2);box-shadow:inset 0 0 0 1px var(--imp-edge),var(--imp-hair),0 10px 30px rgba(18,32,26,.08);-webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%)}
.yd-log{width:100%;height:52px;border:0;border-radius:26px;background:var(--yd-acc);color:var(--yd-on);display:flex;align-items:center;justify-content:center;gap:8px;font:700 17px/1 var(--sans,Figtree)}

/* the month */
.yd-scrim{position:fixed;inset:0;z-index:6;background:rgba(18,32,26,.32)}
.yd-month{position:fixed;left:0;right:0;bottom:0;z-index:7;max-height:calc(100% - 140px);overflow-y:auto;padding:10px 16px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;
  border-radius:30px 30px 0 0;background:var(--yd-card);box-shadow:0 -10px 40px rgba(18,32,26,.18);animation:ydUp .44s cubic-bezier(.32,.72,0,1) both}
@keyframes ydUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.yd-grip{display:block;width:40px;height:5px;border-radius:3px;margin:0 auto 10px;background:var(--yd-line)}
.yd-mtop{display:flex;align-items:center;gap:8px}
.yd-mh{flex:1;margin:0;font:400 40px/1.1 var(--serif);color:var(--yd-ink)}
.yd-mh span{margin-left:8px;font:400 13px/1 var(--mono);color:var(--yd-dim)}
.yd-flip svg{transform:scaleX(-1)}
.yd-mtop .v2-ib[disabled]{opacity:.35}
.yd-mgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px 2px;margin-top:12px}
.yd-mw{text-align:center;font:400 12px/16px var(--mono);color:var(--yd-dim)}
.yd-mc{position:relative;height:56px;border:0;background:none;color:var(--yd-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;border-radius:16px;cursor:pointer}
.yd-mc.pad{pointer-events:none}
.yd-mn{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:600 15px/1 var(--sans,Figtree);color:var(--yd-dim);background:rgba(18,32,26,.04)}
html[data-theme="dark"] .yd-mn{background:rgba(255,248,240,.06)}
.yd-mdot{position:absolute;bottom:4px;width:5px;height:5px;border-radius:50%;background:var(--yd-ink)}
.yd-mnum{font:400 11px/12px var(--mono);color:var(--yd-dim);margin-top:2px}
.yd-mc.face{justify-content:flex-start;padding-top:2px}
.yd-mplus{position:absolute;top:24px;left:calc(50% + 8px);min-width:20px;height:18px;padding:0 4px;border-radius:9px;background:var(--yd-card);color:var(--yd-ink);font:700 11px/18px var(--sans,Figtree);box-shadow:var(--yd-shadow)}
.yd-mk{position:absolute;top:0;right:4px;color:var(--yd-dim)}
.yd-mc.now .yd-mn,.yd-mc.now .av{box-shadow:0 0 0 2px var(--imp-page,#FAF9F6),0 0 0 4px var(--yd-acc)!important}
.yd-mc.sel{background:var(--yd-node)}
.yd-mc.fut .yd-mn{background:none;border:1px dashed var(--yd-line)}
.yd-legend{margin:12px 0 0;text-align:center;font:400 12px/16px var(--mono);color:var(--yd-dim)}
.yd-soonh{margin-top:16px}
.yd-soon{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;font:400 15px/20px var(--sans,Figtree);color:var(--yd-dim)}
.yd-soon li{display:flex;align-items:center;gap:8px}
.yd-soon b{color:var(--yd-ink);font-weight:600}
.yd-goalrow{width:100%;min-height:52px;margin-top:14px;border:0;border-top:1px solid var(--yd-line);background:none;color:var(--yd-ink);display:flex;align-items:center;gap:8px;font:600 16px/1 var(--sans,Figtree);padding:0}
.yd-goalrow span:first-child{flex:1;text-align:left}
.yd-gv{font-weight:400;color:var(--yd-dim)}
.yd-mtoday{display:flex;margin:14px auto 0}

/* You: the "your days" row; the talk sheet's link; Today's chip */
html[data-ui="imp"][data-theme] #s-you .yc-days{width:100%;min-height:64px;margin-top:14px;padding:8px 14px 8px 16px;border:0;border-radius:26px;background:var(--yd-card,#FFFFFF);
  box-shadow:0 1px 3px rgba(18,32,26,.06);color:var(--imp-ink);display:flex;align-items:center;gap:10px;text-align:left}
html[data-ui="imp"][data-theme="dark"] #s-you .yc-days{background:#2C371E}
#s-you .yc-days .yd-ytx{flex:1;min-width:0;display:flex;flex-direction:column}
#s-you .yc-days .yc-lab{margin:0;padding:0;font:400 12px/16px var(--mono);color:var(--imp-dim)}
#s-you .yc-days .yd-yl{font:600 16px/21px var(--sans,Figtree);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sheet .yd-sheetlink{width:100%;min-height:52px;margin-top:4px;border-top:1px solid var(--line);gap:12px;color:var(--imp-ink,inherit)}
#sheet .yd-sheetlink .v2-rowtxt{flex:1}
/* Today's "Yesterday · Marcus" chip (board YDE-Today): a 28 px orb, 8 px in from the left; a long name ends in "…" */
html[data-ui="imp"][data-theme] #s-signal.tcd .tcd-chip.yd-chip{gap:8px;padding:0 16px 0 8px}
.tcd-chip.yd-chip .tcd-ci .av{width:28px!important;height:28px!important;font-size:11.5px!important;font-family:var(--serif)}
.tcd-chip.yd-chip .tcd-c2{max-width:8em;overflow:hidden;text-overflow:ellipsis}

@media (prefers-reduced-motion:reduce){.yd-month{animation:ydFade .2s ease-out both}@keyframes ydFade{from{opacity:0}to{opacity:1}}}
@media (prefers-contrast:more){.yd-pill,.yd-card,.yd-peek{box-shadow:inset 0 0 0 1px var(--yd-dim)}.yd-tl::before{background:var(--yd-dim)}}
@media (hover:hover) and (pointer:fine){.yd-card:hover,.yd-peek:hover,.yd-pill:not(.on):hover{filter:brightness(.98)}}
.yd-card:active,.yd-peek:active,.yd-pill:active,.yd-node:active,.yd-hero:active{transform:scale(.98);transition:transform .16s cubic-bezier(.23,1,.32,1)}
