/* Loopweek v2, from her archive "Things to Do. On Earth.": ivory paper, forest green, gold only as thin rules. Italic serif for moments, Jost for facts. */
:root {
  --paper: #F7F3EA;
  --card: #FFFBF2;
  --paper-2: #ECE6D7;
  --ink: #1C2A22;
  --ink-2: #566056;
  --rule: rgba(28, 42, 34, .13);
  --rule-2: rgba(28, 42, 34, .26);
  --forest: #193C30;
  --forest-2: #244B39;
  --on-forest: #FFF8E9;
  --sage: #8CA884;
  --sage-wash: rgba(140, 168, 132, .22);
  --gold: #B8954A;
  --gold-2: #8A6C2E;
  --gold-lt: #EBCB8B;
  /* older names, kept so every screen picks up the new colors */
  --sun: var(--forest);
  --sun-deep: #0F271E;
  --sun-wash: var(--sage-wash);
  --dusk: var(--forest);
  --on-dusk: var(--on-forest);
  --on-dusk-2: #C6D1C1;
  --live: #3F7D4E;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --col: 560px;
  --tabs: 72px;
  color-scheme: light;
}
html.bodoni { --serif: "Bodoni Moda", Didot, "Bodoni 72", serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--sun); color: var(--ink); }
html { background: var(--dusk); }
body {
  background: var(--dusk); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh;
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(28, 42, 34, .4); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.on-photo :focus-visible, .photo-card :focus-visible { outline-color: #fff; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app { max-width: var(--col); margin: 0 auto; background: var(--paper); min-height: calc(100vh - 48px); position: relative; padding-bottom: calc(var(--tabs) + 24px); }
#app.wide { --col: 880px; max-width: 880px; }
#app.bare { padding-bottom: 0; }
.wrap { padding: 0 24px; }

/* type */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.fine { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.wm { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; }
.wm i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); margin-left: 3px; vertical-align: .12em; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.s { width: 15px; height: 15px; }
.tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; border-radius: 2px;
  font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .01em; width: 100%; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #F4B850; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: #2C2520; }
.btn.line { border: 1px solid var(--rule-2); color: var(--ink); }
.btn.line:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn.sm { min-height: 44px; font-size: 14px; padding: 12px 14px; width: auto; }
.linkbtn { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28, 42, 34, .35); font-size: 14px; padding: 12px 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.linkbtn:hover { text-decoration-color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 2px;
  font-size: 14px; color: var(--ink); background: transparent; transition: background-color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.on { background: var(--sun); border-color: var(--sun); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* photos and the Henge sun sweep */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; z-index: 1; }
.henge { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.henge::before {
  content: ""; position: absolute; top: -40%; bottom: -40%; width: 46%; left: -60%;
  background: linear-gradient(90deg, rgba(239, 169, 55, 0), rgba(255, 196, 96, .38) 50%, rgba(239, 169, 55, 0));
  transform: rotate(29deg); mix-blend-mode: screen; animation: henge 2.6s cubic-bezier(.16, 1, .3, 1) .5s 1 both;
}
.row-henge::before { background: linear-gradient(90deg, rgba(239, 169, 55, 0), rgba(239, 169, 55, .45) 50%, rgba(239, 169, 55, 0)); mix-blend-mode: multiply; animation-delay: 0s; animation-duration: 1.6s; }
@keyframes henge { from { left: -60%; } to { left: 150%; } }

/* tab bar */
.tabs {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--col); height: var(--tabs); z-index: 20;
  display: grid; grid-template-columns: repeat(6, 1fr); background: var(--paper); border-top: 1px solid var(--rule); padding: 6px 8px env(safe-area-inset-bottom);
}
#app.wide + .tabs, .tabs.wide { max-width: 880px; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; color: var(--ink-2); text-decoration: none; letter-spacing: .02em; min-height: 56px; }
.tab[aria-current="page"] { color: var(--ink); font-weight: 500; }
.tab[aria-current="page"]::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sun-deep); }
.tab:hover { color: var(--ink); }

/* device note */
.devnote { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-2); padding: 14px 24px 0; text-align: center; }
.devnote i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--ink-2); flex: none; }

/* ---------- Welcome ---------- */
.welcome { position: relative; min-height: calc(100vh - 48px); min-height: calc(100svh - 48px); color: #fff; overflow: hidden; background: #120D09; display: flex; flex-direction: column; }
.welcome .photo { object-position: 28% 50%; }
.welcome .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .45) 0%, rgba(14, 10, 7, .05) 20%, rgba(14, 10, 7, .1) 36%, rgba(14, 10, 7, .78) 58%, rgba(14, 10, 7, .95) 100%); }
.welcome .top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: baseline; padding: 24px 28px 0; }
.welcome .body { position: relative; z-index: 3; margin-top: auto; padding: 0 28px 32px; }
.cap { font-size: 13px; color: rgba(255, 255, 255, .82); letter-spacing: .02em; margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.cap::before { content: ""; width: 18px; height: 1px; background: rgba(255, 255, 255, .6); }
.welcome h1 { font-size: 46px; line-height: 1.02; margin-bottom: 24px; }
.welcome h1 em { color: var(--sun); }
.welcome .btn.sun { flex-direction: column; gap: 2px; min-height: 64px; }
.welcome .btn.sun small { font-size: 13px; font-weight: 400; color: rgba(28, 42, 34, .82); }
.zonepick { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .85); flex-wrap: wrap; }
.zonepick button { min-height: 44px; padding: 12px; color: #fff; font-size: 14px; border: 1px solid transparent; border-radius: 2px; }
.zonepick button[aria-pressed="true"] { border-color: rgba(255, 255, 255, .55); }
.keep { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 8px; }
.two-out { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px; }
.two-out button { min-height: 50px; padding: 12px; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.two-out button + button { border-left: 1px solid rgba(255, 255, 255, .4); }
.two-out button:hover { background: rgba(255, 255, 255, .08); }
.welcome .fine { color: rgba(255, 255, 255, .78); margin-top: 10px; font-size: 13px; }
.welcome .visit { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.welcome .credit { position: relative; z-index: 3; padding: 0 28px 18px; font-size: 11px; color: rgba(255, 255, 255, .7); }

/* auth sheet */
.sheet { background: var(--paper); color: var(--ink); border-radius: 2px; padding: 22px 20px 20px; }
.sheet h2 { font-size: 30px; line-height: 1.05; margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input, .field select {
  min-height: 48px; border: 1px solid var(--rule-2); border-radius: 2px; background: #fff; padding: 12px 14px; font-size: 16px; color: var(--ink);
}
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.err { color: #8E2A14; font-size: 14px; margin-top: 10px; min-height: 1em; }
.ok { color: var(--live); font-size: 14px; margin-top: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- top bar used on inner screens ---------- */
.prog { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); padding: 16px 24px 0; }
.prog .back { width: 44px; height: 44px; margin-left: -12px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.prog .bars { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.prog .bars i { height: 2px; background: var(--rule); }
.prog .bars i.on { background: var(--ink); }

/* ---------- Onboarding ---------- */
.onb h1 { font-size: 40px; line-height: 1.04; margin: 30px 0 10px; }
.hint { font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.list { margin-top: 20px; border-top: 1px solid var(--rule); }
.opt-row {
  width: 100%; display: grid; grid-template-columns: 52px 1fr 26px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule);
  min-height: 72px; text-align: left;
}
.opt-row.nofr { grid-template-columns: 1fr 26px; }
.opt-row .fr { width: 52px; height: 52px; border: 1px solid var(--rule); overflow: hidden; background: var(--paper); }
.opt-row .fr img { width: 100%; height: 100%; object-fit: cover; }
.opt-row .nm { font-size: 17px; }
.opt-row[aria-pressed="true"] .nm, .opt-row[aria-checked="true"] .nm { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: -.01em; }
.opt-row .sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.ck { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(28, 42, 34, .3); display: flex; align-items: center; justify-content: center; }
[aria-pressed="true"] > .ck, [aria-checked="true"] > .ck { background: var(--sun); border-color: var(--sun); }
.learnbox { padding: 16px 0 6px; border-bottom: 1px solid var(--rule); }
.learnbox .field { margin-top: 0; }
.learnbox .chips { margin-top: 12px; }
.foot { padding: 24px 24px 32px; }
.foot .next { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.daygrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 22px; }
.daygrid button { min-height: 72px; border: 1px solid var(--rule-2); border-radius: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 0; }
.daygrid button b { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.daygrid button span { font-size: 12px; color: var(--ink-2); }
.daygrid button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.daygrid button[aria-pressed="true"] span { color: var(--paper-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-2); border-radius: 2px; margin-top: 22px; }
.seg button { min-height: 52px; padding: 12px; font-size: 16px; }
.seg button + button { border-left: 1px solid var(--rule-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sub-h { font-family: var(--serif); font-size: 22px; margin: 26px 0 10px; }

/* ---------- Week ---------- */
.hero { position: relative; height: 240px; overflow: hidden; color: #fff; background: #241A12; }
.hero .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .42), rgba(14, 10, 7, .08) 34%, rgba(14, 10, 7, .6) 62%, rgba(14, 10, 7, .88)); }
.hero .txt { position: absolute; left: 24px; right: 24px; bottom: 16px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hero h1 { font-size: 46px; line-height: .95; }
.hero .meta { font-size: 13px; color: rgba(255, 255, 255, .9); margin-top: 8px; }
.hero .topline { position: absolute; top: 16px; left: 24px; right: 24px; z-index: 3; display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.goalsun { text-align: right; font-size: 13px; color: rgba(255, 255, 255, .92); line-height: 1.35; flex: none; }
.suns { display: flex; gap: 5px; justify-content: flex-end; margin-bottom: 6px; }
.suns i { width: 11px; height: 11px; border-radius: 50%; border: 1.2px solid var(--sun); }
.suns i.on { background: var(--sun); }
.srcline { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 24px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }
.banner { margin: 16px 24px 0; padding: 14px 16px; background: var(--paper-2); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner p { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.check { background: var(--paper-2); padding: 14px 24px 6px; }
.check h2 { font-size: 20px; font-style: italic; margin-bottom: 4px; }
.ci { padding: 10px 0 12px; border-top: 1px solid var(--rule); }
.ci:first-of-type { border-top: 0; }
.ci .t { font-size: 15px; font-weight: 500; }
.ci .s { font-size: 13px; color: var(--ink-2); }
.segs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.segs button { min-height: 44px; padding: 12px; border: 1px solid var(--rule-2); border-radius: 2px; font-size: 14px; background: var(--paper); }
.segs button:hover { border-color: var(--ink); }
.ci.done { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.days { padding: 0 24px; }
.day { display: grid; grid-template-columns: 46px 70px 1fr; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule); position: relative; }
.day .d { font-family: var(--serif); font-size: 21px; line-height: 1; }
.day .d small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-2); margin-top: 5px; }
.day .t { font-size: 13px; color: var(--ink-2); padding-top: 3px; white-space: nowrap; }
.day .ti { font-size: 16px; font-weight: 500; line-height: 1.22; }
.day .pl { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.day .why { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.act { display: flex; flex-wrap: wrap; row-gap: 4px; column-gap: 12px; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 13px; }
.src { color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.src em { font-family: var(--serif); font-size: 14px; color: var(--ink); }
.acts { display: flex; gap: 2px; margin-right: -8px; }
.acts button, .acts a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 12px 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.acts button:hover, .acts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.acts .locked { background: var(--sun); padding: 12px; border-radius: 2px; font-weight: 500; margin-left: 4px; }
.acts .locked:hover { text-decoration: none; background: #F4B850; }
.reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--ink-2); align-items: center; }
.reasons .chip { min-height: 40px; padding: 12px; font-size: 13px; }
.day.free .ti, .day.hol .ti { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }
.day.busy { padding: 10px 0; }
.day.busy .ti { font-weight: 400; font-size: 14px; color: var(--ink-2); }
.day.past { opacity: .62; }
.day.lit .ti { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; }
.hol-name { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
.sugg { margin-top: 8px; border-top: 1px solid var(--rule); }
.sg { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.sg .tt { font-size: 14px; font-weight: 500; line-height: 1.25; }
.sg .mm { font-size: 12px; color: var(--ink-2); margin-top: 2px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sg .chip { min-height: 40px; padding: 12px; font-size: 13px; }
.keepbtn { margin-top: 4px; }
.weekacts { padding: 22px 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.weekacts .full { grid-column: 1 / -1; }
.feedbox { margin: 12px 24px 0; padding: 14px; border: 1px solid var(--rule-2); font-size: 14px; }
.feedbox code { display: block; font-family: var(--sans); font-size: 13px; word-break: break-all; background: var(--paper-2); padding: 12px; margin: 8px 0; }

/* ---------- Month ---------- */
.mhero { position: relative; height: 270px; overflow: hidden; color: #fff; background: #241A12; }
.mhero .photo { object-position: 50% 46%; }
.mhero .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .45), rgba(14, 10, 7, 0) 35%, rgba(14, 10, 7, .78)); }
.mhero .txt { position: absolute; left: 24px; right: 24px; bottom: 16px; z-index: 3; }
.mhero h1 { font-size: 58px; line-height: .92; letter-spacing: -.03em; }
.mhero p { font-family: var(--serif); font-style: italic; font-size: 18px; margin-top: 8px; color: rgba(255, 255, 255, .95); }
.mtabs { display: flex; gap: 8px; padding: 14px 24px 0; }
.mgrid { padding: 6px 24px 0; }
.mg { display: grid; grid-template-columns: 104px repeat(var(--w, 4), 1fr); align-items: center; }
.mg.hd { font-size: 12px; color: var(--ink-2); padding: 10px 0 6px; border-bottom: 1px solid var(--rule); }
.mg.hd span { text-align: center; }
.mg.r { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.mg .gn { font-size: 15px; font-weight: 500; line-height: 1.15; }
.mg .gn small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.dots { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.2px solid var(--ink); }
.dots i.f { background: var(--ink); }
.dots i.g { background: var(--sun); border-color: var(--sun-deep); }
.dots i.cb { border: 2px solid var(--sun-deep); width: 12px; height: 12px; margin-top: -1px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-top: 10px; align-items: center; }
.legend span { display: flex; gap: 5px; align-items: center; }
.legend i { width: 9px; height: 9px; border-radius: 50%; border: 1.1px solid var(--ink); }
.legend i.f { background: var(--ink); }
.legend i.g { background: var(--sun); border-color: var(--sun-deep); }
.legend i.cb { border: 2px solid var(--sun-deep); }
.comeback { margin: 18px 24px 0; padding: 14px 16px; background: var(--paper-2); }
.comeback h3 { font-size: 21px; }
.comeback p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.year { padding: 28px 24px 0; }
.year h2 { font-size: 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.year h2 small { font-family: var(--sans); font-size: 12px; color: var(--ink-2); letter-spacing: 0; }
.ybars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 64px; margin-top: 12px; }
.ybars i { display: block; border-radius: 1px; border: 1px solid rgba(28, 42, 34, .3); }
.ybars i.dt { background: var(--ink); border-color: var(--ink); }
.ybars i.now { background: var(--sun); border-color: var(--sun-deep); }
.ylab { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; font-size: 11px; color: var(--ink-2); text-align: center; margin-top: 4px; }
.ylist { margin-top: 10px; }
.yrow { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; align-items: baseline; }
.yrow b { font-family: var(--serif); font-weight: 400; font-size: 16px; }
.yrow small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.yrow.now b { font-style: italic; }

/* ---------- Crew, invites, polls ---------- */
.photo-card { position: relative; height: 300px; margin: 16px 16px 0; border-radius: 4px; overflow: hidden; color: #fff; background: #241A12; }
.photo-card .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .45), rgba(14, 10, 7, .05) 30%, rgba(14, 10, 7, .82)); }
.photo-card .from { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: 13px; z-index: 3; }
.photo-card .txt { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; }
.photo-card h1, .photo-card h2 { font-size: 38px; line-height: .98; }
.photo-card .when { font-size: 14px; margin-top: 8px; color: rgba(255, 255, 255, .92); }
.who { display: flex; align-items: center; gap: 12px; padding: 14px 24px 0; }
.av { display: flex; }
.av span { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; background: var(--paper-2); border: 1.5px solid var(--paper); margin-left: -8px; color: var(--ink); }
.av span:first-child { margin-left: 0; }
.av span.you { background: var(--sun); font-family: var(--sans); font-size: 12px; font-weight: 500; }
.who .names { font-size: 14px; flex: 1; }
.who .cnt { text-align: right; font-family: var(--serif); font-size: 30px; line-height: .9; }
.who .cnt small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-2); }
.send { padding: 6px 24px 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.via { display: flex; flex-wrap: wrap; gap: 0 10px; }
.sec { padding: 22px 24px 0; }
.sec > h2 { font-size: 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.sec > h2 small { font-family: var(--sans); font-size: 13px; color: var(--ink-2); letter-spacing: 0; }
.lrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.lrow .tt { font-size: 15px; font-weight: 500; }
.lrow .mm { font-size: 13px; color: var(--ink-2); }
.opt {
  position: relative; width: 100%; min-height: 50px; border: 1px solid var(--rule-2); border-radius: 2px; margin-bottom: 8px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; padding: 12px 14px; font-size: 15px; overflow: hidden; text-align: left;
}
.opt::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--paper-2); z-index: 0; transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.opt.lead::before { background: var(--sun-wash); }
.opt span, .opt small { position: relative; z-index: 1; }
.opt small { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.opt[aria-pressed="true"] { border-color: var(--ink); }
button.opt:hover { border-color: var(--ink); }
.safe { padding: 16px 24px 0; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.empty { padding: 18px 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-2); }

/* ---------- Share ---------- */
.shares { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 16px 24px 0; }
.shares figure { display: flex; flex-direction: column; gap: 10px; }
.shares canvas { width: 100%; height: auto; border-radius: 6px; background: #120D09; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .55); }
.shares .story-c { max-width: 330px; margin: 0 auto; }
.shares .recap-c { max-width: 400px; margin: 0 auto; }
.shares figcaption { font-size: 13px; color: var(--ink-2); text-align: center; }
.filepick { position: relative; }
.filepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.filepick input:focus-visible + .btn { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- You ---------- */
.you-head { padding: 28px 24px 8px; border-bottom: 1px solid var(--rule); }
.you-head h1 { font-size: 44px; line-height: 1; }
.you-head p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.ans { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.ans .k { font-size: 13px; color: var(--ink-2); }
.ans .v { font-size: 16px; }
.learned p { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.learned p + p { margin-top: 6px; }
.learned .fine { font-family: var(--sans); margin-top: 8px; }
.next-list li { list-style: none; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.next-list li small { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.credits { padding: 24px 24px 0; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.credits b { font-weight: 500; color: var(--ink); }
.danger { color: #8E2A14; }
dialog { border: 0; padding: 22px; max-width: 360px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); border-radius: 2px; margin: auto; }
dialog::backdrop { background: rgba(14, 10, 7, .6); }
dialog h2 { font-size: 26px; margin-bottom: 8px; }
dialog p { font-size: 15px; color: var(--ink-2); }
dialog .row2 { margin-top: 18px; }
/* Shared lists: the people in one, with Remove or Hide their ideas; Report and Leave (1 Dec 2026) */
.bl-people { list-style: none; margin: 6px 0 0; padding: 0; }
.bl-people li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.bl-people li small { color: var(--ink-2); font-size: 13px; }
.bl-out { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
/* Asking before anything goes to Anthropic (1 Dec 2026) */
dialog.ai-ask { max-width: 400px; }
dialog.ai-ask p + p { margin-top: 10px; }
dialog.ai-ask .ai-fine { font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabs) + 14px); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 16px; font-size: 14px; border-radius: 2px; z-index: 50; max-width: calc(100% - 32px); }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 40px; }
  #app { margin-top: 28px; min-height: auto; box-shadow: 0 0 0 1px rgba(239, 230, 218, .12), 0 40px 70px -30px rgba(0, 0, 0, .7); }
  .tabs { bottom: 16px; border: 1px solid var(--rule); }
  #app.bare { margin-top: 28px; }
  .welcome { min-height: 820px; }
  .hero { height: 300px; }
  .hero h1 { font-size: 60px; }
  #app.wide .days .day { grid-template-columns: 70px 90px 1fr; gap: 12px; }
  #app.wide .day .d { font-size: 26px; }
  #app.wide .weekacts { grid-template-columns: repeat(3, 1fr); }
  #app.wide .weekacts .full { grid-column: auto; }
  #app.wide .sugg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; border-top: 0; }
  #app.wide .sg { border-top: 1px solid var(--rule); grid-template-columns: 1fr; }
  #app.wide .sg .chip { justify-self: start; }
  #app.wide .mhero { height: 320px; }
  #app.wide .monthyear { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8px; }
  .shares { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .henge::before { animation: none; display: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}
.tabs[hidden] { display: none; }
#app { display: flow-root; }
.learned p.fine { font-family: var(--sans); font-size: 13px; line-height: 1.5; margin-top: 10px; }
a.chip { text-decoration: none; }
.welcome .sheet .fine { color: var(--ink-2); }
.mg.hd span small { display: block; font-size: 11px; }
.mg.hd { align-items: end; }
@media (max-width: 430px) {
  .mg { grid-template-columns: 78px repeat(var(--w, 4), 1fr); }
  .dots { gap: 3px; }
  .dots i { width: 8px; height: 8px; }
  .dots i.cb { width: 10px; height: 10px; }
  .welcome h1 { font-size: 40px; }
  .hero h1 { font-size: 42px; }
  .wrap, .days, .srcline, .mgrid, .sec, .year, .who, .send, .check, .weekacts { padding-left: 20px; padding-right: 20px; }
  .day { grid-template-columns: 42px 64px 1fr; }
}
@media (max-width: 430px) {
  .daygrid { grid-template-columns: repeat(4, 1fr); }
  .daygrid button { padding: 12px; }
}
.sg .mm { display: block; }
.sg .mm .src { display: inline-flex; }
.weekacts .btn { padding: 12px 10px; font-size: 15px; }
.field { min-width: 0; }
.field input { width: 100%; min-width: 0; }

/* ---------- Google Calendar busy times ---------- */
.srcline.cal { justify-content: flex-start; }
.day.cal .calrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.day.cal .ti { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); }
.clash { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #8E2A14; margin-bottom: 4px; }
.gcal { display: grid; gap: 12px; padding: 14px 0 4px; }
.gcal p { font-size: 15px; line-height: 1.45; }
.gcal .btn { justify-self: start; }
.gcal.off { grid-template-columns: 1fr auto; align-items: center; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.gcal.off small { font-size: 12px; white-space: nowrap; }
.gcal.on p b { font-weight: 500; color: var(--live); }

/* Why this? + more/less like this */
.why { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.why summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28, 42, 34, .35); min-height: 32px; display: inline-flex; align-items: center; }
.why ul { margin: 4px 0 0; padding-left: 18px; }
.why li { margin: 2px 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumbs .chip { min-height: 40px; padding: 10px 12px; font-size: 13px; }

/* Connections */
.feedadd { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.feedadd input { flex: 1; min-width: 180px; font: inherit; border: 1px solid var(--rule-2); border-radius: 10px; padding: 10px 12px; background: #fff; }

/* Lock screen + text versions */
.shares canvas.lock-c { aspect-ratio: 1179 / 2556; width: 100%; max-width: 300px; height: auto; border-radius: 28px; }
.howto { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.howto summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.howto ol { margin: 6px 0 0; padding-left: 20px; }
.as-text { font: 400 26px/1.2 var(--serif); margin: 22px 0 10px; }

/* ================= November 2026: the week as a calendar, plan and approve, bucket list, your year ================= */
/* Loopweek is its own site now, so there is no studio bar above the app. */
#app { min-height: 100vh; }
.welcome { min-height: 100vh; min-height: 100svh; }
.tab { text-align: center; line-height: 1.1; }

/* ---------- week header ---------- */

/* ---------- the calendar: time down the left, days across ---------- */
.calwrap { position: relative; overflow: hidden; }
.cal { --hr: 44px; --gut: 42px; }
.cal-hd { display: grid; grid-template-columns: var(--gut) repeat(var(--n), minmax(0, 1fr)); position: sticky; top: 0; z-index: 6; background: var(--paper); border-bottom: 1px solid var(--rule-2); }
.dh { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; text-decoration: none; font-size: 12px; color: var(--ink-2); border-left: 1px solid var(--rule); }
.dh b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); line-height: 1; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.dh.today span { color: var(--ink); font-weight: 500; }
.dh.today b { background: var(--sun); font-size: 18px; }
.dh.past b { color: var(--ink-2); }
.dh:hover b { text-decoration: underline; text-underline-offset: 3px; }
.cal-body { display: grid; grid-template-columns: var(--gut) minmax(0, 1fr); padding-top: 9px; }
.gut { position: relative; height: calc(var(--rows) * var(--hr)); }
.gut span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.gut .ss { right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); outline: 1px solid var(--sun-deep); font-size: 0; z-index: 3; }
.cols { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); height: calc(var(--rows) * var(--hr)); border-bottom: 1px solid var(--rule); }
.lines { position: absolute; inset: 0; pointer-events: none; }
.ln { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--rule); }
.gapband { position: absolute; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--rule); background: var(--paper-2); font-style: normal; }
.gapband span { font-size: 11px; color: var(--ink-2); letter-spacing: .06em; }
.col { position: relative; border-left: 1px solid var(--rule); min-width: 0; }
.col.past { background: rgba(28, 42, 34, .04); }
.col.today { background: rgba(239, 169, 55, .09); }
.col.hol { background: rgba(234, 225, 211, .7); }
.ss-line { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--sun-deep); opacity: .6; z-index: 1; pointer-events: none; }
.blk { position: absolute; z-index: 2; overflow: hidden; text-align: left; padding: 4px 4px 3px; border-radius: 2px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; line-height: 1.16; transition: transform .15s; }
.blk b { font-weight: 500; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.blk .bt { font-size: 11px; opacity: .78; white-space: nowrap; }
.blk .bs { display: none; }
.blk.s-ok { background: var(--sun); color: var(--ink); }
.blk.s-ok.went { box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
.blk.s-ok.missed { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-2); text-decoration: line-through; }
.blk.s-prop { background: rgba(239, 169, 55, .16); box-shadow: inset 0 0 0 1px var(--paper); outline: 1.5px dashed var(--sun-deep); outline-offset: -1.5px; color: var(--ink); }
.blk.s-own { background: var(--ink); color: var(--paper); }
.blk.s-ext { background: var(--paper-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
.blk:hover { transform: translateY(-1px); }
.blk:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 4; }
.col.past .blk { opacity: .72; }
.open, .notfree { position: absolute; left: 2px; right: 2px; z-index: 1; border-radius: 2px; font-size: 11px; color: var(--ink-2); display: flex; align-items: flex-start; justify-content: center; padding-top: 7px; text-align: center; line-height: 1.15; }
.open { border: 1px dashed var(--rule-2); }
.open:hover { border-color: var(--ink); color: var(--ink); }
.open.kept { border-style: solid; font-family: var(--serif); font-style: italic; font-size: 12px; }
.notfree { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(28, 42, 34, .07) 5px 6px); }
.notfree:hover { color: var(--ink); }
.hol-l { position: absolute; top: 5px; left: 2px; right: 2px; z-index: 1; font-family: var(--serif); font-style: italic; font-size: 12px; line-height: 1.1; color: var(--ink-2); text-align: center; overflow-wrap: anywhere; hyphens: auto; }
.nowline { position: absolute; left: -1px; right: 0; height: 2px; background: var(--ink); z-index: 3; pointer-events: none; }
.nowline::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 20px 12px; font-size: 12px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i, .st { width: 12px; height: 12px; border-radius: 2px; display: inline-block; flex: none; }
i.s-ok { background: var(--sun); }
i.s-prop { outline: 1.5px dashed var(--sun-deep); outline-offset: -1.5px; background: rgba(239, 169, 55, .16); }
i.s-own { background: var(--ink); }
i.s-ext { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
i.ssk { width: 14px; height: 0; border-radius: 0; border-top: 1px dashed var(--sun-deep); }
.cal-henge { z-index: 5; }
.cal-henge::before { mix-blend-mode: multiply; background: linear-gradient(90deg, rgba(239, 169, 55, 0), rgba(239, 169, 55, .42) 50%, rgba(239, 169, 55, 0)); animation-delay: 0s; animation-duration: 1.8s; }

/* one day, hour by hour */
.cal.one { --hr: 66px; --gut: 58px; }
.cal.one .gut span { font-size: 12px; right: 10px; }
.cal.one .blk { padding: 8px 12px; font-size: 14px; gap: 3px; line-height: 1.22; }
.cal.one .blk b { font-size: 16px; }
.cal.one .blk .bt, .cal.one .blk .bs { display: block; font-size: 13px; opacity: .82; white-space: normal; }
.cal.one .open, .cal.one .notfree { font-size: 14px; left: 8px; right: 8px; padding-top: 12px; }
.cal.one .hol-l { font-size: 16px; }

/* approve bar */
.okbar { position: sticky; bottom: var(--tabs); z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; background: var(--paper); border-top: 1px solid var(--rule-2); box-shadow: 0 -12px 24px -20px rgba(28, 42, 34, .55); }
.okbar p { font-size: 14px; line-height: 1.25; }
.okbar p b { font-weight: 500; }
.okbar p small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.okbtns { display: flex; gap: 8px; flex: none; }
.okbar.done { position: static; box-shadow: none; border-top: 0; border-bottom: 1px solid var(--rule); }

/* bottom sheet */
dialog.bs { max-width: 560px; width: 100%; margin: auto auto 0; border-radius: 12px 12px 0 0; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; }
dialog.bs.in { animation: sheet-in .26s cubic-bezier(.16, 1, .3, 1); }
@keyframes sheet-in { from { transform: translateY(28px); opacity: 0; } }
.bs-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.bs-x:hover { color: var(--ink); }
.bs-k { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding-right: 36px; }
dialog.bs h2 { font-size: 30px; line-height: 1.05; margin-bottom: 6px; }
dialog.bs .bs-m { font-size: 15px; color: var(--ink-2); }
dialog.bs .bs-m em { font-family: var(--serif); color: var(--ink); }
.bs-why { list-style: none; margin-top: 12px; border-top: 1px solid var(--rule); }
.bs-why li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; display: flex; gap: 9px; align-items: center; }
.bs-why li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun-deep); flex: none; }
.bs-act { margin-top: 16px; }
.bs-alts { margin-top: 20px; }
dialog.bs .bs-over { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); line-height: 1.25; margin-bottom: 6px; }
dialog.bs .bs-src { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
dialog.bs .bs-q { font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: 14px; color: var(--ink); }
dialog.bs .sugg { margin-top: 12px; }
dialog.bs .sg .mm, dialog.bs .sg .tt { color: inherit; }
dialog.bs .sg .mm { color: var(--ink-2); font-size: 12px; }
dialog.bs .sg .tt { font-size: 14px; color: var(--ink); }
.segs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.reasons.bs-act { font-size: 14px; }

/* add my own */
.ownform { margin-top: 4px; }
.row3 { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; }
.ownform .btn { margin-top: 4px; }
.ownform .err { margin-top: 6px; }

/* plan my week */
.plist { margin-top: 18px; border-top: 1px solid var(--rule); }
.pday { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.prow { width: 100%; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 6px; align-items: start; text-align: left; padding: 10px; min-height: 56px; border-radius: 2px; margin: 4px 0; }
.prow .pt { font-size: 13px; color: var(--ink-2); padding-top: 2px; white-space: nowrap; }
.prow b { display: block; font-size: 16px; font-weight: 500; line-height: 1.22; }
.prow small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.prow .pw { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 15px; margin-top: 3px; }
.prow > .ic { align-self: center; color: var(--ink-2); }

/* goals: how often */
.often { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.often button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule-2); border-radius: 2px; }
.often button[disabled] { opacity: .3; cursor: default; }
.often span { min-width: 128px; text-align: center; }

/* bucket list */
.badd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 16px 24px 8px; }
.badd input { min-height: 48px; border: 1px solid var(--rule-2); border-radius: 2px; background: #fff; padding: 12px 14px; font-size: 16px; min-width: 0; }
.badd .btn { min-height: 48px; padding: 12px 20px; }
.brow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.brow .tt { font-size: 16px; font-weight: 500; line-height: 1.25; }
.brow .mm { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.brow.done .tt { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; }
.bacts { display: flex; gap: 6px; align-items: center; }
.bacts .chip { padding: 10px 12px; font-size: 13px; }
.xbtn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); margin-right: -12px; }
.xbtn:hover { color: var(--ink); }
.chip .ic.s { width: 13px; height: 13px; }

/* this month / your year */
.mhero .topline { position: absolute; top: 16px; left: 24px; right: 24px; z-index: 3; display: flex; justify-content: space-between; font-size: 12px; }
.ynums { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.ynums div { padding: 18px 24px 16px; border-top: 1px solid var(--rule); }
.ynums div:nth-child(odd) { border-right: 1px solid var(--rule); }
.ynums div:nth-child(-n+2) { border-top: 0; }
.ynums b { display: block; font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: .95; letter-spacing: -.03em; }
.ynums div:first-child b { color: var(--sun-deep); }
.ynums span { font-size: 14px; color: var(--ink-2); }
.ybars2 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 112px; margin-top: 10px; }
.yb { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; }
.yb span { font-size: 11px; color: var(--ink-2); min-height: 13px; }
.yb i { width: 100%; background: var(--ink); border-radius: 1px; display: block; }
.yb.top i { background: var(--sun); outline: 1px solid var(--sun-deep); }
.yb.later i { background: var(--rule-2); }
.yb small { font-size: 11px; color: var(--ink-2); }
.yrow2 { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; align-items: baseline; }
.yrow2 b { font-family: var(--serif); font-weight: 400; font-size: 16px; }
.yrow2 small { display: block; font-size: 13px; color: var(--ink-2); }
.lv { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); outline: 1px solid var(--sun-deep); margin-left: 8px; vertical-align: .12em; }
.ymonth summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); cursor: pointer; list-style: none; min-height: 48px; }
.ymonth summary::-webkit-details-marker { display: none; }
.ymonth summary b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.ymonth[open] summary b { font-style: italic; }
.ymonth summary small { font-size: 13px; color: var(--ink-2); }
.ymonth .yrow2 { grid-template-columns: 34px minmax(0, 1fr); }
.with { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.shares.yshare { padding: 8px 0 0; }
.how { padding-left: 20px; font-size: 15px; line-height: 1.45; }
.how li { padding: 4px 0; }
.how li::marker { font-family: var(--serif); color: var(--ink-2); }

@media (min-width: 700px) {
  .cal { --hr: 52px; --gut: 58px; }
  .gut span { font-size: 12px; right: 10px; }
  .blk { font-size: 13px; padding: 6px 7px; line-height: 1.2; }
  .blk .bt { font-size: 12px; }
  .open, .notfree { font-size: 12px; }
  dialog.bs { margin: auto; border-radius: 4px; max-width: 480px; }
}
@media (max-width: 430px) {
  .badd, .ynums div { padding-left: 20px; padding-right: 20px; }
  .okbar { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 370px) {
  .okbar p small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.bs.in { animation: none; }
  .blk { transition: none; }
}

/* one check-in at a time, so the calendar stays near the top */
.check.one { padding: 12px 24px 12px; display: grid; gap: 8px; }
.check.one h2 { font-size: 17px; margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.check.one h2 small { font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-2); letter-spacing: 0; }
.check.one .t { font-size: 15px; font-weight: 500; line-height: 1.2; }
.check.one .s { font-size: 13px; color: var(--ink-2); }
.check.one .segs { margin-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.check.one .segs button { padding: 10px 4px; }
@media (max-width: 430px) { .check.one { padding-left: 20px; padding-right: 20px; } }

.morelinks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; margin-top: 2px; }
#app.wide .weekacts { grid-template-columns: repeat(3, 1fr); }

/* ---------- the calendar lives on dusk: hero, zoom and grid are one dark block, where gold reads ---------- */
.night { background: var(--dusk); color: var(--on-dusk); }
.night :focus-visible { outline-color: #fff; }
.hero.short { height: 124px; }
.hero.short h1 { font-size: 36px; }
.zoom { --z-line: var(--rule-2); --z-dim: var(--ink-2); --z-on-bg: var(--ink); --z-on-fg: var(--paper); --z-fg: var(--ink);
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--rule); }
.night .zoom { --z-line: rgba(239, 230, 218, .3); --z-dim: var(--on-dusk-2); --z-on-bg: var(--on-dusk); --z-on-fg: var(--ink); --z-fg: var(--on-dusk); border-bottom-color: rgba(239, 230, 218, .14); }
.zoom > div { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--z-line); border-radius: 2px; }
.zoom > div > * { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--z-dim); text-decoration: none; }
.zoom > div > * + * { border-left: 1px solid var(--z-line); }
.zoom > div > *:hover { color: var(--z-fg); }
.zoom [aria-current="page"], .zoom [aria-current="page"]:hover { background: var(--z-on-bg); color: var(--z-on-fg); font-weight: 500; }
.zarrow { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--z-fg); }
.night .cal-hd { background: var(--dusk); border-bottom-color: rgba(239, 230, 218, .22); }
.night .dh { color: var(--on-dusk-2); border-left-color: rgba(239, 230, 218, .1); }
.night .dh b { color: var(--on-dusk); }
.night .dh.today span { color: var(--on-dusk); }
.night .dh.today b { background: var(--sun); color: var(--ink); }
.night .dh.past b { color: var(--on-dusk-2); }
.night .gut span { color: var(--on-dusk-2); }
.night .cols { border-bottom-color: rgba(239, 230, 218, .14); }
.night .ln { border-top-color: rgba(239, 230, 218, .1); }
.night .col { border-left-color: rgba(239, 230, 218, .1); }
.night .col.past { background: rgba(0, 0, 0, .24); }
.night .col.today { background: rgba(239, 169, 55, .08); }
.night .col.hol { background: rgba(239, 230, 218, .05); }
.night .gapband { background: #241C16; border-top-color: rgba(239, 230, 218, .1); }
.night .gapband span { color: var(--on-dusk-2); }
.night .ss-line { border-top-color: var(--sun); opacity: .55; }
.night .blk.s-ok { background: var(--sun); color: var(--ink); }
.night .blk.s-ok.went { box-shadow: inset 0 0 0 1.5px var(--on-dusk); }
.night .blk.s-ok.missed { background: transparent; box-shadow: inset 0 0 0 1px rgba(239, 230, 218, .32); color: var(--on-dusk-2); }
.night .blk.s-prop { background: rgba(239, 169, 55, .1); box-shadow: none; outline: 1.5px dashed var(--sun); outline-offset: -1.5px; color: var(--on-dusk); }
.night .blk.s-own { background: var(--on-dusk); color: var(--ink); }
.night .blk.s-ext { background: rgba(239, 230, 218, .12); color: var(--on-dusk-2); box-shadow: inset 0 0 0 1px rgba(239, 230, 218, .22); }
.night .blk:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.night .blk.over { box-shadow: -2px 0 0 var(--dusk); z-index: 3; }
.night .col.past .blk { opacity: .7; }
.night .open { border-color: rgba(239, 230, 218, .34); color: var(--on-dusk-2); }
.night .open:hover { border-color: var(--on-dusk); color: var(--on-dusk); }
.night .notfree { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(239, 230, 218, .1) 5px 6px); color: var(--on-dusk-2); }
.night .notfree:hover { color: var(--on-dusk); }
.night .hol-l { color: var(--on-dusk-2); }
.night .nowline, .night .nowline::before { background: var(--on-dusk); }
.night .cal-legend { color: var(--on-dusk-2); padding-bottom: 14px; }
.night i.s-prop { outline-color: var(--sun); background: rgba(239, 169, 55, .1); }
.night i.s-own { background: var(--on-dusk); }
.night i.s-ext { background: rgba(239, 230, 218, .12); box-shadow: inset 0 0 0 1px rgba(239, 230, 218, .22); }
.night i.ssk { border-top-color: var(--sun); }
.night .cal-henge::before { mix-blend-mode: screen; background: linear-gradient(90deg, rgba(239, 169, 55, 0), rgba(255, 196, 96, .38) 50%, rgba(239, 169, 55, 0)); }
.dayhead { padding: 14px 20px 14px; border-bottom: 1px solid rgba(239, 230, 218, .14); }
.dayhead h1 { font-size: 34px; line-height: 1; }
.dayhead p { font-size: 13px; color: var(--on-dusk-2); margin-top: 6px; }

/* ---------- the week in words, under the grid ---------- */
.agenda { padding: 20px 24px 0; }
.agenda h2 { font-size: 24px; }
.agenda .plist { margin-top: 8px; }
.pday .d { font-family: var(--serif); font-size: 21px; line-height: 1; padding-top: 14px; text-decoration: none; display: block; }
.pday .d small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-2); margin-top: 5px; }
.pday.today .d { font-style: italic; }
.pday.today .d small::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); outline: 1px solid var(--sun-deep); margin-left: 5px; vertical-align: .08em; }
.prow.s-prop { outline: 1.5px dashed var(--sun-deep); outline-offset: -1.5px; background: rgba(239, 169, 55, .14); }
.prow.s-prop:hover { background: rgba(239, 169, 55, .26); }
.prow.s-ok { box-shadow: inset 4px 0 0 var(--sun); padding-left: 14px; }
.prow:not(.s-prop):hover b { text-decoration: underline; text-underline-offset: 3px; }
.pempty { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); padding: 12px 10px 12px 0; min-height: 48px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
button.pempty:hover { color: var(--ink); }

/* ---------- redo sheet and the "instead" options ---------- */
.bs-h { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: -.02em; margin: 24px 0 6px; }
.bs-foot { position: sticky; bottom: calc(-22px - env(safe-area-inset-bottom)); background: var(--paper); padding: 14px 0 calc(22px + env(safe-area-inset-bottom)); margin: 20px 0 calc(-22px - env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-2); }
.alt-edge { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); margin-top: 3px; }
.bs-alts .linkbtn { margin-top: 4px; }
.okbar .linkbtn { min-height: 0; padding: 4px 0; font-size: 12px; }
.okbar.done .linkbtn { font-size: 14px; padding: 0 4px; }
@media (max-width: 430px) { .agenda, .dayhead { padding-left: 20px; padding-right: 20px; } }

/* ---------- after the design review: sizes, focus, toast, onboarding ---------- */
h1[tabindex="-1"]:focus { outline: none; }
.toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
.tag, .yrow small, .hol-name { text-transform: none; letter-spacing: .02em; }
.yb span, .yb small, .yrow small, .welcome .credit, .gapband span { font-size: 12px; }
.blk b { -webkit-hyphens: manual; hyphens: manual; }
.blk.short .bt { display: none; }
.cal.one .blk.short .bt { display: block; }
@media (max-width: 699px) {
  .gut span, .blk, .blk .bt, .open, .notfree { font-size: 12px; }
  .gut .ss { font-size: 0; }
  .blk { line-height: 1.12; padding: 4px 3px 3px; letter-spacing: -.01em; }
  .cal.one .blk { font-size: 14px; letter-spacing: 0; padding: 8px 12px; line-height: 1.22; }
  .cal.one .blk .bt, .cal.one .blk .bs { font-size: 13px; }
  .cal.one .open, .cal.one .notfree { font-size: 14px; }
}
.opt-row .fr img { transition: filter .2s, opacity .2s; }
.opt-row[aria-pressed="false"] .fr img { filter: grayscale(1); opacity: .5; }
.foot { position: sticky; bottom: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--rule); padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); }
.foot .next { margin-bottom: 8px; }
.okbar .linkbtn { min-height: 44px; padding: 0 2px; font-size: 14px; }
.okbar p small .linkbtn { display: inline-flex; }
.bs-src a, .bs-src .src { display: inline-flex; align-items: center; min-height: 44px; }
.welcome .zonepick span { margin-right: 2px; }
.welcome .zonepick button { border-color: rgba(255, 255, 255, .45); }
@media (max-width: 430px) { .foot { padding-left: 20px; padding-right: 20px; } }

/* ---------- the record, and rows that open a certificate ---------- */
.record div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.record div:first-child { border-top: 1px solid var(--rule); }
.record dt { font-size: 15px; color: var(--ink-2); }
.record dd { font-family: var(--serif); font-size: 22px; line-height: 1.15; text-align: right; max-width: 220px; }
.record dd small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.record dd.sm { font-family: var(--sans); font-size: 14px; }
a.yrow2 { text-decoration: none; min-height: 48px; }
a.yrow2:hover span { text-decoration: underline; text-underline-offset: 3px; }
.onb .seg button { font-size: 15px; padding: 12px 8px; }

/* ---------- Goals: a ruled page you write on ---------- */
.ghead { padding: 30px 24px 20px; border-bottom: 1px solid var(--rule-2); }
.gkick { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.ghead h1 { font-size: 38px; line-height: 1.04; }
.glede { font-size: 15px; color: var(--ink-2); margin-top: 12px; line-height: 1.45; max-width: 460px; }
.gswitch { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; flex-wrap: wrap; }
.gswitch button { position: relative; width: 54px; min-height: 44px; flex: none; }
.gswitch button i { position: absolute; left: 0; right: 0; top: 7px; height: 30px; border-radius: 15px; background: var(--paper-2); border: 1px solid var(--rule-2); }
.gswitch button i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-2); transition: transform .2s; }
.gswitch button[aria-checked="true"] i { background: var(--ink); border-color: var(--ink); }
.gswitch button[aria-checked="true"] i::after { transform: translateX(24px); background: var(--sun); }
.gswitch small { font-size: 13px; color: var(--ink-2); }
.gsec { padding: 28px 24px 4px; }
.gsec-h { border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.gsec-h h2 { font-size: 30px; }
.gsec-h p { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); margin-top: 2px; }
.glist { list-style: none; }
.gl, .gnew { display: grid; grid-template-columns: 30px 34px minmax(0, 1fr) 36px; align-items: start; border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; }
.glist .gl { transition: transform .16s ease; }
.gl.dragging { z-index: 5; transition: none; box-shadow: 0 12px 26px -14px rgba(28, 42, 34, .5); background: #FBF7F0; }
.gh { min-height: 54px; display: flex; align-items: center; justify-content: flex-start; color: var(--ink-2); cursor: grab; touch-action: none; margin-left: -6px; }
.gl.dragging .gh { cursor: grabbing; }
.gn { font-family: var(--serif); font-size: 22px; line-height: 1; padding-top: 16px; font-variant-numeric: lining-nums; }
.gnew .gn { grid-column: 2; color: var(--ink-2); }
.gt { padding: 12px 0 10px 12px; min-width: 0; border-left: 1px solid var(--rule-2); align-self: stretch; }
.gnew .gt { grid-column: 3 / 5; }
.gtext, .gnew textarea, .gedit { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.24; color: var(--ink); text-align: left; width: 100%; }
.gtext { min-height: 30px; display: block; overflow-wrap: anywhere; }
.gtext:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule-2); }
.gnew textarea, .gedit { border: 0; background: transparent; resize: none; padding: 0; min-height: 30px; overflow: hidden; display: block; }
.gedit { background: var(--paper-2); padding: 2px 6px; margin-left: -6px; }
.gnew textarea::placeholder { color: var(--ink-2); opacity: .75; }
.gnew textarea:focus-visible, .gedit:focus-visible { outline: none; }
.gnew:focus-within { border-bottom-color: var(--ink); }
.gl.done .gtext { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--ink); color: var(--ink-2); }
.gm { font-size: 13px; color: var(--ink-2); margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.gpc { font-size: 13px; color: var(--ink); border: 1px solid var(--rule-2); border-radius: 2px; padding: 3px 8px; min-height: 30px; position: relative; }
.gpc::after { content: ""; position: absolute; inset: -8px -4px; }
.gpc:hover { border-color: var(--ink); }
.gmore { min-height: 54px; display: flex; align-items: center; justify-content: flex-end; color: var(--ink-2); }
.gmore:hover, .gh:hover { color: var(--ink); }
.gl.fresh .gn, .gl.fresh .gtext { animation: g-ink .55s ease-out both; }
@keyframes g-ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.gundo { font-size: 14px; color: var(--ink-2); padding: 8px 0 0; }
.gideas { margin-top: 16px; padding: 12px 16px 6px; background: var(--paper-2); }
.gideas-h { font-size: 13px; color: var(--ink-2); padding-bottom: 6px; }
.gidea { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule); }
.gidea p { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.25; }
.gidea small { font-size: 12px; color: var(--ink-2); }
.gidea .chip { padding: 10px 12px; font-size: 13px; }
.gidea .xbtn { margin-right: -10px; }
.gwants { padding: 24px 24px 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.gadv { display: grid; gap: 8px; margin-top: 14px; }
.gadv-o { text-align: left; border: 1px solid var(--rule-2); border-radius: 2px; padding: 12px 14px; min-height: 52px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gadv-o span { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.gadv-o:hover { border-color: var(--ink); }
.bs-list { display: flex; flex-direction: column; align-items: flex-start; margin-top: 8px; }
@media (max-width: 430px) { .ghead, .gsec, .gwants { padding-left: 20px; padding-right: 20px; } .ghead h1 { font-size: 34px; } }
@media (max-width: 370px) { .tab { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .gl.fresh .gn, .gl.fresh .gtext { animation: none; } .glist .gl { transition: none; } }

/* ---------- Goals, after the research ---------- */
.gfocus { font-size: 14px; color: var(--ink); padding: 10px 0 2px; }
.gneed { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.gneed .linkbtn { font-size: 13px; padding: 0 2px; min-height: 36px; color: var(--ink); }
.gstuck { font-size: 14px; color: var(--ink-2); padding-top: 8px; }
.gstuck .linkbtn { color: var(--ink); }
.gpaste { margin-top: 10px; padding: 14px 16px; background: var(--paper-2); }
.gpaste p { font-size: 15px; margin-bottom: 10px; }
.gpaste .btn { width: 100%; }
.gback { align-items: flex-start; }
.gback p { font-family: var(--serif); font-size: 18px; }
.gback ol { margin: 6px 0 0 22px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; }

/* ---------- the star: a motto and one reading a day, small until asked for ---------- */
.gtitle { display: flex; align-items: center; gap: 6px; }
.ghead .gtitle h1 { font-size: 40px; line-height: 1; }
.ghead .glede { margin-top: 8px; }
.star { position: relative; display: inline-flex; }
.star-b { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--sun-deep); }
.star-b .ic { width: 22px; height: 22px; fill: var(--sun); stroke: var(--sun-deep); }
.star-pop { display: none; position: absolute; top: 46px; left: -8px; z-index: 30; width: min(320px, calc(100vw - 40px)); background: var(--dusk); color: var(--on-dusk); padding: 16px 18px 8px; border-radius: 2px; box-shadow: 0 18px 40px -18px rgba(14, 10, 7, .6); }
.star.open .star-pop { display: block; }
@media (hover: hover) { .star:hover .star-pop { display: block; } }
.star-pop::before { content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px; background: var(--dusk); transform: rotate(45deg); }
.star-m { display: block; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; color: var(--sun); padding-bottom: 10px; border-bottom: 1px solid rgba(239, 230, 218, .18); }
.star-t { display: block; font-family: var(--serif); font-size: 17px; margin-top: 10px; }
.star-x { display: block; font-size: 14px; line-height: 1.5; color: var(--on-dusk-2); margin-top: 4px; }
.star-pop .linkbtn { color: var(--on-dusk); text-decoration-color: rgba(239, 230, 218, .45); font-size: 14px; }

/* ---------- Vision: photographs from the future ---------- */
.vhead .gtitle h1 { font-size: 34px; }
.vseg { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border: 1px solid var(--rule-2); border-radius: 2px; }
.vseg button { min-height: 44px; padding: 0 18px; font-size: 14px; }
.vseg button + button { border-left: 1px solid var(--rule-2); }
.vseg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vseg small { font-size: 12px; opacity: .7; margin-left: 4px; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 0; }
.vt { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--dusk); color: #fff; text-decoration: none; }
.vt:nth-child(5n + 1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.vt-ph, .vt-ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vt-ph img { object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.vt:hover .vt-ph img { transform: scale(1.03); }
.vt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, .35), rgba(14, 10, 7, 0) 30%, rgba(14, 10, 7, .1) 50%, rgba(14, 10, 7, .86)); }
.vt-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 12px; letter-spacing: .04em; color: #fff; background: rgba(14, 10, 7, .55); padding: 3px 8px; border-radius: 2px; }
.vt-tx { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 2; }
.vt-tx b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 20px; line-height: 1.12; text-wrap: balance; }
.vt-tx small { display: block; font-size: 12px; color: rgba(255, 255, 255, .86); margin-top: 5px; line-height: 1.35; }
.vt.done .vt-ph img { filter: saturate(.75); }
.vt:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.vprev { margin: 16px 20px 0; padding: 14px 16px; background: var(--paper-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vprev p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.2; }
.vprev p small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.vprev div { display: flex; gap: 8px; }
.vempty { padding: 28px 20px 0; }
.vempty p, p.vempty { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-2); margin-bottom: 14px; }
.vret { padding: 16px 20px 0; font-size: 13px; color: var(--ink-2); }
.va-ph { position: relative; height: 360px; overflow: hidden; color: #fff; background: var(--dusk); }
.va-ph .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .5), rgba(14, 10, 7, 0) 30%, rgba(14, 10, 7, .2) 55%, rgba(14, 10, 7, .9)); }
.va-ph .vt-tag { top: 16px; left: auto; right: 16px; }
.va-back { position: absolute; top: 8px; left: 8px; z-index: 3; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
.va-ph .txt { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3; }
.va-ph h1 { font-size: 38px; line-height: 1.02; }
.va-where { font-size: 13px; color: rgba(255, 255, 255, .88); margin-bottom: 8px; }
.va-gap { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.va-gap div { padding: 16px 20px 18px; }
.va-gap div + div { border-left: 1px solid var(--rule); background: var(--paper-2); }
.va-gap small { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; line-height: 1.35; }
.va-gap p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.2; }
.vform .vf { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.vform label { display: block; font-size: 13px; color: var(--ink-2); }
.vform textarea { width: 100%; border: 0; background: transparent; resize: none; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; color: var(--ink); padding: 4px 0 2px; min-height: 30px; }
.vform textarea::placeholder { color: var(--ink-2); opacity: .7; }
.vform textarea:focus-visible { outline: none; }
.vform .vf:focus-within { border-bottom-color: var(--ink); }
.vform .fine { margin-top: 8px; }
.va-acts { display: grid; gap: 8px; padding-top: 20px; }
.vmem { display: grid; gap: 8px; }
.vmem textarea { min-height: 72px; border: 1px solid var(--rule-2); border-radius: 2px; background: #fff; padding: 10px 12px; font-size: 16px; resize: vertical; }
.va-done { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.15; }
.va-mem { margin-top: 12px; padding: 12px 16px; border-left: 2px solid var(--ink); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; }
.va-more { display: flex; flex-direction: column; align-items: flex-start; }
::view-transition-old(vt-photo), ::view-transition-new(vt-photo) { animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); height: 100%; object-fit: cover; }
@media (max-width: 430px) { .tab { font-size: 11.5px; letter-spacing: 0; } .tab .ic { width: 19px; height: 19px; } }
@media (prefers-reduced-motion: reduce) { .vt-ph img { transition: none; } }
/* the star's card sits under the title, full width on a phone, never past the edge */
.gtitle { position: relative; }
.gtitle .star { position: static; }
.gtitle .star-pop { left: 0; right: 0; width: auto; max-width: 380px; top: calc(100% + 6px); text-align: left; }
.gtitle .star-pop::before { display: none; }

/* ================= Motion system (motion.js). Transforms and opacity only; nothing waits on an animation. ================= */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
/* editorial type: words rise into place */
.w-rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
.w-rise .w > span { display: inline-block; transform: translateY(108%); transition: transform .95s var(--ease) calc(var(--i, 0) * 55ms + 80ms); }
.w-rise.is-in .w > span { transform: none; }
/* reveals */
[data-reveal="rise"] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
[data-reveal="rise"].is-in { opacity: 1; transform: none; }
[data-reveal="photo"] { clip-path: inset(10% 6% 10% 6% round 2px); transition: clip-path 1.1s var(--ease); }
[data-reveal="photo"] img { transform: scale(1.12); transition: transform 1.5s var(--ease); }
[data-reveal="photo"].is-in { clip-path: inset(0 0 0 0 round 2px); }
[data-reveal="photo"].is-in img { transform: none; }
/* progress marks */
.marks { display: flex; gap: 5px; margin-top: 8px; }
.marks i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; transform: scale(0); transition: transform .45s var(--ease) calc(var(--i, 0) * 70ms + 200ms); }
.marks i.went { background: #fff; }
.marks i.gone { border-style: dashed; opacity: .6; }
.marks.ink i { border-color: var(--ink); }
.marks.ink i.went { background: var(--ink); }
.marks.is-in i { transform: scale(1); }
/* tactile buttons */
.btn, .chip, .vseg button, .vplay { transition: transform .12s ease, background-color .2s, color .2s, border-color .2s; }
.btn:active, .chip:active, .vseg button:active, .vplay:active { transform: scale(.97); }

/* ================= Vision, rebuilt: an editorial board with depth ================= */
.vhero { position: relative; min-height: 76vh; min-height: 76svh; display: flex; align-items: flex-end; color: #fff; background: #120D09; }
.vhero-ph { position: absolute; inset: 0; overflow: hidden; }
.vhero-ph .photo { transform: scale(calc(1.1 - var(--hp, 0) * .1)) translateY(calc(var(--hp, 0) * 60px)); transform-origin: 50% 70%; will-change: transform; }
.vhero .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .55) 0%, rgba(14, 10, 7, .05) 28%, rgba(14, 10, 7, .2) 52%, rgba(14, 10, 7, .92) 100%); opacity: calc(1 + var(--hp, 0) * .4); }
.vhero-tx { position: relative; z-index: 3; padding: 0 22px 30px; width: 100%; }
.vhero-k { font-size: 14px; letter-spacing: .02em; color: rgba(255, 255, 255, .88); margin-bottom: 14px; }
.vhero .gtitle h1 { font-size: clamp(46px, 13vw, 92px); line-height: .94; letter-spacing: -.035em; }
.vhero .gtitle h1 em { color: var(--sun); }
.vhero .gtitle { align-items: flex-end; }
.vhero .star-b { margin-bottom: 6px; }
.vhero-s { font-size: 15px; color: rgba(255, 255, 255, .85); margin-top: 14px; max-width: 420px; line-height: 1.45; }
.vbar { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(244, 238, 229, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.vbar .vseg { margin: 0; display: inline-grid; grid-template-columns: repeat(3, auto); }
.vbar .vseg > * { min-height: 44px; padding: 0 14px; font-size: 14px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
.vbar .vseg > * + * { border-left: 1px solid var(--rule-2); }
.vbar .vseg [aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vplay { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 13px; border: 1px solid var(--rule-2); border-radius: 2px; }
.vplay .ic { fill: currentColor; stroke: none; }
.vfil { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 2px; scrollbar-width: none; }
.vfil::-webkit-scrollbar { display: none; }
.vfil .chip { flex: none; padding: 10px 14px; }
.vboard { perspective: 1400px; padding: 14px 16px 0; }
.vmosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 10px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .7s var(--ease); }
.vmosaic .vt { aspect-ratio: auto; grid-column: auto; overflow: visible; background: none; }
.vmosaic .vt::after { display: none; }
.vmosaic .vt-xl { grid-column: 1 / -1; height: 66vw; max-height: 460px; }
.vmosaic .vt-w { grid-column: 1 / -1; height: 44vw; max-height: 320px; }
.vmosaic .vt-t { grid-row: span 2; height: calc(116vw + 10px); max-height: 640px; }
.vmosaic .vt-s { height: 58vw; max-height: 315px; }
.vt-in { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; background: var(--dusk); transform: translate3d(0, var(--py, 0px), 0); }
.vt[data-depth="1"] .vt-in { transform: translate3d(0, var(--py, 0px), -20px); }
.vt[data-depth="3"] .vt-in { transform: translate3d(0, var(--py, 0px), 26px); box-shadow: 0 22px 40px -26px rgba(14, 10, 7, .7); }
.vt-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, .4), rgba(14, 10, 7, 0) 28%, rgba(14, 10, 7, .08) 48%, rgba(14, 10, 7, .9)); }
.vt-ph img { transition: transform .9s var(--ease); }
.vt:hover .vt-ph img { transform: scale(1.045); }
.vt-tag { z-index: 3; }
.vt-pin { position: absolute; top: 10px; right: 10px; z-index: 3; width: 28px; height: 28px; border-radius: 50%; background: rgba(14, 10, 7, .55); display: flex; align-items: center; justify-content: center; }
.vt-pin .ic { fill: var(--sun); stroke: var(--sun); }
.vt-tx { z-index: 3; }
.vt-no { display: block; font-size: 12px; color: rgba(255, 255, 255, .78); margin-bottom: 4px; }
.vmosaic .vt-xl .vt-tx b, .vmosaic .vt-w .vt-tx b { font-size: clamp(24px, 7.4vw, 40px); }
.vmosaic .vt-t .vt-tx b { font-size: clamp(22px, 6.4vw, 32px); }
.vt-fail { display: none; position: absolute; inset: 0; z-index: 2; padding: 44px 14px 0; font-size: 13px; line-height: 1.4; color: var(--on-dusk-2); }
.vt.img-failed .vt-fail { display: block; }
.vt.img-failed .vt-ph { display: none; }
.vsec-h { font-size: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 26px 20px 12px; }
.vsec-h small { font-family: var(--sans); font-size: 13px; color: var(--ink-2); }
.vdone .vmosaic { padding: 0 16px; }
.vt.done .vt-ph img { filter: saturate(.85); }
/* the memory wall: things that actually happened */
.vwm { padding: 4px 16px 18px; }
.vwm h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 8px; border-bottom: 1px solid var(--rule); margin-bottom: 10px; }
.vwm h3 small { font-family: var(--sans); font-size: 13px; color: var(--ink-2); }
.vwgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.vwi { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--dusk); color: #fff; }
.vwi.big { grid-column: span 2; grid-row: span 2; }
.vwi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vwi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, 0) 40%, rgba(14, 10, 7, .88)); }
.vwi figcaption { position: absolute; left: 8px; right: 8px; bottom: 7px; z-index: 2; }
.vwi figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 13px; line-height: 1.15; }
.vwi.big figcaption b { font-size: 21px; }
.vwi figcaption small { display: block; font-size: 11px; color: rgba(255, 255, 255, .8); margin-top: 2px; }
.vwi:not(.big) figcaption small { display: none; }
.vwmore { grid-column: 1 / -1; font-size: 14px; color: var(--ink); padding: 8px 4px 0; }
.vend { padding: 40px 24px 8px; text-align: center; font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink-2); }
.vend em { display: block; color: var(--ink); }
/* one goal, opened */
.va-hero { position: relative; min-height: 66vh; min-height: 66svh; color: #fff; background: #120D09; display: flex; align-items: flex-end; }
.va-hero .shade { background: linear-gradient(180deg, rgba(14, 10, 7, .55), rgba(14, 10, 7, 0) 26%, rgba(14, 10, 7, .2) 55%, rgba(14, 10, 7, .92)); }
.va-hero .vt-tag { top: 16px; left: auto; right: 16px; }
.va-hero .txt { position: relative; z-index: 3; padding: 0 22px 26px; }
.va-hero h1 { font-size: clamp(38px, 11vw, 72px); line-height: .98; letter-spacing: -.03em; }
.va-swipe { padding: 20px 0 0; }
.va-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.va-track::-webkit-scrollbar { display: none; }
.va-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.va-pane { position: relative; scroll-snap-align: start; height: 300px; overflow: hidden; border-radius: 2px; background: var(--dusk); color: #fff; }
.va-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.va-pane.proc img { filter: grayscale(1) contrast(.9) brightness(.9); transform: scale(2.2); transform-origin: 18% 88%; }
.va-pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, .1), rgba(14, 10, 7, .88)); }
.va-pane figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.va-pane small { display: block; font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.va-pane span { display: block; font-size: 14px; color: rgba(255, 255, 255, .92); margin-top: 6px; }
.va-pane b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 26px; line-height: 1.12; margin-top: 4px; }
.va-pane.proc b { font-style: normal; }
.va-dots { display: flex; gap: 6px; padding: 10px 20px 0; }
.va-dots button { min-height: 40px; padding: 0 12px; font-size: 13px; border-radius: 20px; border: 1px solid var(--rule-2); color: var(--ink-2); }
.va-dots button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.va-rec h2 { font-size: 24px; margin-bottom: 8px; }
.va-count { display: flex; align-items: flex-end; gap: 24px; padding: 6px 0 12px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.va-count p { display: flex; flex-direction: column; }
.va-count b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.va-count span { font-size: 13px; color: var(--ink-2); }
.va-count .marks { margin: 0 0 8px auto; }
.va-donesec .va-done { margin-bottom: 6px; }
/* the week, as a film */
#filmhost .film { position: fixed; inset: 0; z-index: 100; background: #0d0a07; color: #fff; display: flex; flex-direction: column; }
.film-bars { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; z-index: 3; display: flex; gap: 4px; }
.film-bars i { flex: 1; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; border-radius: 1px; }
.film-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.film-bars i.done b { width: 100%; }
.film-bars i.on b { animation: film-bar var(--ms, 3200ms) linear forwards; }
.film-bars i.paused b { width: 0; }
@keyframes film-bar { to { width: 100%; } }
.film-stage { position: relative; flex: 1; overflow: hidden; cursor: pointer; }
.film-frame { position: absolute; inset: 0; animation: film-in .9s var(--ease) both; }
.film-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: film-push 6s linear both; }
@keyframes film-in { from { opacity: 0; } }
@keyframes film-push { from { transform: scale(1.12); } to { transform: scale(1); } }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 10, 7, .45), rgba(13, 10, 7, 0) 30%, rgba(13, 10, 7, .25) 55%, rgba(13, 10, 7, .92)); }
.film-tx { position: absolute; left: 24px; right: 24px; bottom: 110px; z-index: 2; animation: film-rise 1s var(--ease) .15s both; }
@keyframes film-rise { from { opacity: 0; transform: translateY(24px); } }
.film-k { font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .78); margin-bottom: 10px; }
.film-tx h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 10vw, 68px); line-height: 1; letter-spacing: -.02em; }
.film-s { font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: 12px; color: rgba(255, 255, 255, .9); }
.film-ctl { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 3; display: flex; justify-content: center; gap: 8px; padding: 0 16px; }
.film-b { min-width: 48px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 24px; color: #fff; font-size: 16px; background: rgba(13, 10, 7, .35); }
.film-b:hover { border-color: #fff; }
.film-x { margin-left: 8px; }

@media (min-width: 700px) {
  .vhero-tx { padding: 0 48px 44px; }
  .vmosaic { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .vmosaic .vt-xl { grid-column: span 2; grid-row: span 2; height: 520px; max-height: none; }
  .vmosaic .vt-w { grid-column: span 2; height: 253px; }
  .vmosaic .vt-t { grid-row: span 2; height: 520px; }
  .vmosaic .vt-s { height: 253px; }
  .vwgrid { grid-template-columns: repeat(6, 1fr); }
  .va-track { grid-auto-columns: calc(50% - 26px); }
  .va-pane { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-rise .w > span, [data-reveal], [data-reveal] img, .marks i { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .vhero-ph .photo, .vt-in, .vmosaic { transform: none !important; }
  .film-frame, .film-frame img, .film-tx { animation: none !important; }
  .film-bars i.on b { animation: none; width: 100%; }
  .btn:active, .chip:active { transform: none; }
}
.vhero .gtitle .star-pop { top: auto; bottom: calc(100% + 8px); }
/* depth is parallax and shadow only: pushing tiles toward the viewer in 3D made them look misaligned */
.vt[data-depth="1"] .vt-in, .vt[data-depth="3"] .vt-in { transform: translate3d(0, var(--py, 0px), 0); }
.vmosaic { transform-style: flat; }

/* ================= 27 Nov 2026: her archive's look. Ivory paper, forest green, gold only as thin rules ================= */
html, body { background: #E9E3D5; }
::selection { background: var(--sage-wash); color: var(--ink); }
h1, h2, h3 { font-style: italic; font-weight: 400; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: italic; }
.wm { font-style: italic; }
.wm i { background: var(--gold); }
.serif { letter-spacing: -.01em; }

/* buttons, chips and fields: pills and soft corners */
.btn { border-radius: 999px; transition: background-color .16s, color .16s, border-color .16s, transform .16s; }
.btn:active { transform: scale(.98); }
.btn.sun, .btn.ink { background: var(--forest); color: var(--on-forest); }
.btn.sun:hover, .btn.ink:hover { background: var(--forest-2); }
.btn.line { border-color: var(--rule-2); background: var(--card); }
.btn.line:hover { border-color: var(--forest); }
.chip { border-radius: 999px; background: var(--card); }
.chip:hover { border-color: var(--forest); }
.chip[aria-pressed="true"], .chip.on { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.field input, .field select, .badd input, .feedadd input { border-radius: 12px; background: var(--card); }
.seg, .two-out { border-radius: 999px; overflow: hidden; }
.seg button[aria-pressed="true"], .daygrid button[aria-pressed="true"], .segs button[aria-pressed="true"] { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.daygrid button { border-radius: 14px; background: var(--card); }
.segs button { border-radius: 999px; background: var(--card); }
.often button { border-radius: 999px; background: var(--card); }
.opt { border-radius: 12px; background: var(--card); }
.ck { border-color: var(--rule-2); }
[aria-pressed="true"] > .ck, [aria-checked="true"] > .ck { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.acts .locked { background: var(--forest); color: var(--on-forest); border-radius: 999px; }
.acts .locked:hover { background: var(--forest-2); }
.av span.you { background: var(--forest); color: var(--on-forest); }
.toast { background: var(--forest); color: var(--on-forest); border-radius: 999px; padding: 12px 18px; }
dialog { border-radius: 20px; background: var(--paper); }
dialog::backdrop { background: rgba(16, 32, 25, .5); }
dialog.bs { border-radius: 22px 22px 0 0; }
@media (min-width: 700px) { dialog.bs { border-radius: 20px; } }
.sheet { border-radius: 20px; }

/* cards */
.banner, .comeback { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.banner p { font-style: italic; }
.check { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; margin: 14px 16px 0; }
.check.one { padding: 12px 16px 14px; }
@media (max-width: 430px) { .check.one { padding-left: 16px; padding-right: 16px; } }
.feedbox { border-radius: 14px; background: var(--card); }
.photo-card { border-radius: 16px; }
.empty, .pempty { font-style: italic; }

/* tab bar */
.tabs { background: var(--card); border-top: 1px solid var(--rule); }
.tab { color: var(--ink-2); }
.tab[aria-current="page"] { color: var(--forest); font-weight: 600; }
.tab[aria-current="page"]::after { background: var(--forest); }
@media (min-width: 900px) { .tabs { border-radius: 18px; } #app { box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -40px rgba(16, 32, 25, .35); } }

/* the motto star: gold mark, forest note */
.star-b { color: var(--gold-2); }
.star-b .ic { fill: var(--gold); stroke: var(--gold-2); }
.star-pop, .star-pop::before { background: var(--forest); }
.star-pop { border-radius: 14px; }
.star-m { color: var(--gold-lt); }
.gswitch button[aria-checked="true"] i::after { background: var(--forest); }

/* words on photographs keep a warm light accent */
.welcome h1 em, .vhero .gtitle h1 em { color: var(--gold-lt); }

/* ---------- the week, light: no photo, just the week ---------- */
.wkhead { padding: 18px 20px 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.wkhead .topline { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.wkhead h1 { font-size: 40px; line-height: 1; color: var(--forest); }
.wkhead .meta { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.wkhead .goalsun { color: var(--ink-2); }
.wkhead .suns i { border-color: var(--forest); }
.wkhead .suns i.on { background: var(--forest); }
.wktop { padding: 16px 20px 0; display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--ink-2); }
.zoom > div { border-radius: 999px; overflow: hidden; background: var(--card); }
.zoom [aria-current="page"], .zoom [aria-current="page"]:hover { background: var(--forest); color: var(--on-forest); }
.cal-hd { background: var(--paper); }
.dh.today b { background: var(--forest); color: var(--on-forest); }
.dh.today span { color: var(--forest); font-weight: 600; }
.col.today { background: rgba(140, 168, 132, .12); }
.col.past { background: rgba(28, 42, 34, .035); }
.col.hol { background: rgba(236, 230, 215, .8); }
.gapband { background: var(--paper-2); }
.gut .ss { background: var(--gold); outline-color: var(--gold-2); }
.ss-line { border-top-color: var(--gold); opacity: .8; }
i.ssk { border-top-color: var(--gold); }
.blk { border-radius: 6px; }
.blk.s-ok { background: var(--forest); color: var(--on-forest); }
.blk.s-ok.went { box-shadow: inset 0 0 0 2px var(--sage); }
.blk.s-ok.missed { background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-2); }
.blk.s-prop { background: var(--card); box-shadow: none; outline: 1.5px dashed var(--forest-2); outline-offset: -1.5px; color: var(--ink); }
.blk.s-own { background: #DCE5D5; color: var(--ink); box-shadow: inset 3px 0 0 var(--forest-2); }
.blk.s-ext { background: var(--paper-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.open, .notfree { border-radius: 6px; }
.open { border-color: rgba(28, 42, 34, .22); }
.open:hover { border-color: var(--forest); color: var(--forest); }
i.s-ok { background: var(--forest); }
i.s-prop { outline: 1.5px dashed var(--forest-2); background: var(--card); }
i.s-own { background: #DCE5D5; box-shadow: inset 3px 0 0 var(--forest-2); }
.nowline, .nowline::before { background: var(--gold-2); }
.cal-henge::before { mix-blend-mode: multiply; background: linear-gradient(90deg, rgba(140, 168, 132, 0), rgba(140, 168, 132, .5) 50%, rgba(140, 168, 132, 0)); }
.okbar { background: var(--card); }
.dayhead { border-bottom: 1px solid var(--rule); }
.dayhead h1 { color: var(--forest); }
.dayhead p { color: var(--ink-2); }

/* the week in words */
.prow { border-radius: 12px; }
.prow.s-prop { outline: 1.5px dashed var(--forest-2); background: var(--card); }
.prow.s-prop:hover { background: var(--sage-wash); }
.prow.s-ok { box-shadow: inset 4px 0 0 var(--forest); background: var(--card); }
.prow .pw { color: var(--forest-2); }
.pday.today .d { color: var(--forest); }
.pday.today .d small::after { background: var(--forest); outline: 0; }
.agenda h2 { color: var(--forest); }

/* month and year marks */
.dots i.g, .legend i.g { background: var(--forest); border-color: var(--forest); }
.dots i.cb, .legend i.cb { border-color: var(--forest); }
.ybars i.now, .yb.top i { background: var(--forest); outline-color: var(--forest); border-color: var(--forest); }
.ynums div:first-child b { color: var(--forest); }
.lv { background: var(--forest); outline: 0; }
.opt.lead::before { background: var(--sage-wash); }

/* ---------- Today, on top of the week ---------- */
.tdband { margin: 12px 16px 4px; padding: 16px 16px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; }
.td-top { display: flex; align-items: center; gap: 12px; }
.td-top h2 { font-size: 24px; line-height: 1.1; color: var(--forest); }
.datechip { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 54px; height: 58px; border: 1px solid var(--rule-2); border-radius: 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); line-height: 1.15; }
.datechip b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; letter-spacing: -.01em; color: var(--ink); line-height: 1; margin: 1px 0; }
.habs { margin-top: 14px; }
.habs-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.habs-h h3 { font-size: 17px; color: var(--ink); }
.habs-h span { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.habs-h .linkbtn { font-size: 13px; padding: 8px 4px; min-height: 36px; }
.hab-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 4px; margin-top: 8px; }
.hab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 2px; min-height: 76px; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.hab-c { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--forest-2); color: var(--forest); background: var(--card); transition: background-color .16s, color .16s, transform .16s; }
.hab-c .ic { width: 22px; height: 22px; }
.hab-c i { font-family: var(--serif); font-style: italic; font-size: 20px; }
.hab-t { font-size: 12px; line-height: 1.15; color: var(--ink-2); text-align: center; }
.hab.done .hab-c { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.hab.done .hab-t { color: var(--ink); font-weight: 500; }
.hab.skip .hab-c { border-style: dashed; border-color: var(--rule-2); color: var(--ink-2); }
.hab:active .hab-c { transform: scale(.94); }
.hab:focus-visible { outline: none; }
.hab:focus-visible .hab-c { outline: 2px solid var(--ink); outline-offset: 2px; }
.hab-new { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.hab-new b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: var(--ink); }
.hab-new-b { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.td-list { margin-top: 12px; border-top: 1px solid var(--rule); }
.td-row { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; align-items: center; text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); min-height: 52px; }
.td-row:last-child { border-bottom: 0; }
.td-row .pt { font-size: 13px; color: var(--ink-2); }
.td-row b { display: block; font-size: 15px; font-weight: 500; line-height: 1.2; }
.td-row small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.td-row.td-ok small { color: var(--forest-2); font-weight: 500; }
.td-row.td-prop b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; }
.td-row:hover b { text-decoration: underline; text-underline-offset: 3px; }
.td-row > .ic { color: var(--ink-2); }

/* the evergreen idea under the week */
.evg { margin: 16px 16px 0; }
.evg-ph { position: relative; height: 230px; border-radius: 18px; overflow: hidden; color: #fff; background: var(--forest); }
.evg-ph .shade { background: linear-gradient(180deg, rgba(12, 22, 17, .15), rgba(12, 22, 17, 0) 35%, rgba(12, 22, 17, .78)); }
.evg-tx { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 3; }
.evg-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.evg-tx h2 { font-size: 27px; line-height: 1.05; margin-top: 6px; }
.evg-m { font-size: 13px; margin-top: 6px; opacity: .92; }
.evg-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 2px 0; }
.evg-s { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--forest); }
.evg-b { display: flex; gap: 8px; }
.evg-cr { font-size: 11px; color: var(--ink-2); padding: 6px 2px 0; }
@media (prefers-reduced-motion: reduce) { .hab-c { transition: none; } .hab:active .hab-c { transform: none; } }

/* ---------- Vision: polaroids on ivory ---------- */
.vhead { padding: 26px 20px 8px; }
.vhead-k { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.vhead .gtitle h1 { font-size: clamp(42px, 12vw, 76px); line-height: .98; color: var(--forest); letter-spacing: -.03em; }
.vhead .gtitle { align-items: flex-end; }
.vhead-s { font-size: 14px; color: var(--ink-2); margin-top: 10px; max-width: 420px; line-height: 1.45; }
.vbar { background: var(--paper); }
.polboard { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 18px 20px 8px; }
.pol { position: relative; display: block; background: #FFFDF8; padding: 8px 8px 10px; border-radius: 3px; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 1px rgba(28, 42, 34, .08), 0 14px 26px -16px rgba(28, 42, 34, .45); transform: rotate(var(--rot, 0deg)); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; }
.pol::before { content: ""; position: absolute; top: -9px; left: 50%; width: 62px; height: 20px; margin-left: -31px; z-index: 3; background: rgba(232, 221, 194, .82);
  box-shadow: 0 1px 2px rgba(28, 42, 34, .12); transform: rotate(calc(var(--rot, 0deg) * -1.6)); }
.pol.wide { grid-column: 1 / -1; }
.pol-ph { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.pol.wide .pol-ph { aspect-ratio: 16 / 11; }
.pol-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pol.done .pol-ph img { filter: saturate(.9) sepia(.08); }
.pol-tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 11px; letter-spacing: .03em; color: #fff; background: rgba(16, 32, 25, .58); padding: 4px 8px; border-radius: 999px; }
.pol .vt-pin { top: 8px; right: 8px; }
.pol-cap { display: block; padding: 8px 2px 0; }
.pol-cap b { display: block; font-family: var(--hand); font-weight: 500; font-size: 23px; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.pol.wide .pol-cap b { font-size: 27px; }
.pol-cap small { display: block; font-size: 11px; color: var(--ink-2); margin-top: 4px; line-height: 1.35; }
.pol-cap .marks { margin-top: 6px; }
a.pol:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 1px 1px rgba(28, 42, 34, .08), 0 20px 32px -18px rgba(28, 42, 34, .5); }
a.pol:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.pol .vt-fail { display: none; position: absolute; inset: 0; z-index: 1; padding: 40px 12px 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.pol.img-failed .vt-fail { display: block; }
.pol.img-failed .pol-ph img { display: none; }
.vdone .polboard { padding-top: 10px; }
.va-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 10px; }
.va-pair .pol-cap b { font-size: 21px; }
@media (min-width: 700px) { .polboard { grid-template-columns: repeat(3, 1fr); gap: 34px 22px; padding: 22px 28px 8px; } .pol.wide { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .pol { transition: none; } a.pol:hover { transform: rotate(var(--rot, 0deg)); } }

/* goal rows: a small picture that opens the goal */
.gt:has(.gthumb) { position: relative; padding-right: 62px; }
.gthumb { position: absolute; top: 12px; right: 0; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: block; background: var(--paper-2); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }

/* small steps */
.vsteps h2 small { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-2); }
.vstep { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--rule); }
.vstep-b { display: flex; align-items: center; gap: 12px; min-height: 48px; text-align: left; font-size: 15px; padding: 6px 0; }
.vstep-b .ck { flex: none; }
.vstep.on .vstep-b span:last-child { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(28, 42, 34, .35); }
.vstep-add { padding: 12px 0 0; }

/* the bucket list: we should, it happened */
.btl-card { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px 6px; margin: 4px 0 14px; }
.btl-t { font-family: var(--hand); font-size: 26px; line-height: 1.05; color: var(--ink); }
.btl { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: start; gap: 8px; margin-top: 12px; }
.btl-a, .btl-b { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.btl-b { align-items: flex-end; text-align: right; }
.btl-a i, .btl-b i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--forest); background: var(--card); margin-bottom: 4px; }
.btl-b i { background: var(--forest); }
.btl b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: var(--forest); }
.btl small { font-size: 12px; color: var(--ink-2); }
.btl-line { position: relative; height: 12px; border-top: 1.5px dashed var(--sage); margin-top: 6px; text-align: center; }
.btl-line small { position: relative; top: 6px; }
.vseg, .vbar .vseg { border-radius: 999px; overflow: hidden; background: var(--card); }
.vseg button[aria-pressed="true"], .vbar .vseg [aria-pressed="true"] { background: var(--forest); color: var(--on-forest); }
.vplay { border-radius: 999px; background: var(--card); }
.vplay:hover { border-color: var(--forest); }
.vprev { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }

/* ---------- Discover ---------- */
.dhead { padding: 14px 20px 6px; }
.dback { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 14px; color: var(--ink-2); text-decoration: none; margin-left: -4px; }
.dback:hover { color: var(--forest); }
.dhead h1 { font-size: clamp(38px, 11vw, 60px); line-height: .98; color: var(--forest); letter-spacing: -.03em; margin-top: 4px; }
.dsub { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.45; }
.dfil { padding: 8px 20px 4px; display: grid; gap: 8px; }
.dfil .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; }
.dfil .chips::-webkit-scrollbar { display: none; }
.dfil .chip { flex: none; min-height: 40px; padding: 8px 14px; }
.dfil a.chip .ic { margin-left: 2px; }
.dlist { padding: 12px 16px 0; display: grid; gap: 12px; }
.dcard { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 16px 16px 6px; }
.dk { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.dcard h3 { font-size: 25px; line-height: 1.08; margin-top: 6px; color: var(--ink); }
.dm { font-size: 13px; color: var(--ink-2); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 0 6px; align-items: center; }
.dw { font-size: 13px; line-height: 1.4; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sage-wash); color: var(--ink); }
.dw span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-2); margin-bottom: 2px; }
.da { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.da .btn { width: 100%; padding: 10px 8px; font-size: 14px; }
.dx { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 2px; }
.dx .linkbtn { font-size: 13px; color: var(--ink-2); }
.dlist > .btn { margin-top: 2px; }
.devg h2 small { font-family: var(--sans); font-style: normal; }
.dideal { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.dideal-ph { width: 112px; height: 132px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.dideal-ph img { width: 100%; height: 100%; object-fit: cover; }
.dideal h3 { font-size: 20px; line-height: 1.1; margin-top: 4px; }
.dideal .linkbtn { font-size: 13px; padding: 8px 0; min-height: 40px; }
@media (max-width: 360px) { .da { grid-template-columns: 1fr; } }

/* ---------- The Sunday edition ---------- */
.edcard { display: grid; gap: 2px; margin: 14px 16px 0; padding: 16px; border-radius: 18px; background: var(--forest); color: var(--on-forest); text-decoration: none; }
.edcard .dk { color: rgba(255, 248, 233, .75); }
.edcard b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.05; }
.edcard > span:last-child { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; opacity: .9; margin-top: 4px; }
.edcard .ed-did { font-size: 14.5px; margin-top: 4px; }
.edcard .ed-next { font-size: 14px; opacity: .85; }
.edcard .ed-go { margin-top: 8px; font-weight: 500; }
.ed-next-p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.ed-next-p b { color: var(--ink); font-weight: 500; }
.edcard:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.edition .dhead h1 { font-size: clamp(42px, 12vw, 68px); }
.edlede { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); margin-top: 8px; }
.edcover { width: min(78%, 340px); margin: 22px auto 8px; }
.edcover .pol-ph { aspect-ratio: 5 / 4; }
.edstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 16px 0; }
.edstat { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 10px 10px; text-align: center; }
.edstat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--forest); }
.edstat span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.2; }
.edunk { margin: 10px 20px 0; font-size: 13px; color: var(--ink-2); }
.edrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.edrow p b { display: block; font-weight: 500; font-size: 15px; line-height: 1.25; }
.edrow p small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.edfrac { font-family: var(--serif); font-size: 19px; color: var(--forest); white-space: nowrap; }
.edbar { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.edbar i { display: block; height: 100%; background: var(--forest); border-radius: 999px; }
.hgrid { display: grid; gap: 2px; margin-top: 6px; }
.hg-r { display: grid; grid-template-columns: minmax(84px, 1.4fr) repeat(7, minmax(22px, 1fr)) 44px; align-items: center; gap: 2px; min-height: 34px; }
.hg-h span { font-size: 11px; color: var(--ink-2); text-align: center; }
.hg-t { font-size: 13px; line-height: 1.15; }
.hg-n { font-size: 12px; color: var(--ink-2); text-align: right; }
.hs { display: flex; justify-content: center; }
.hs i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.hs.done i { background: var(--forest); }
.hs.skip i { height: 0; border-top: 2px solid var(--ink-2); border-radius: 0; width: 12px; }
.hs.unknown i { border: 1.5px solid var(--rule-2); }
.hs.notdue i, .hs.future i { background: transparent; }
.ednext-l { list-style: none; margin: 4px 0 14px; }
.ednext-l li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.ednext-l li span { font-size: 13px; color: var(--ink-2); }
.edshare canvas { width: 100%; height: auto; max-width: 360px; margin: 0 auto; display: block; border-radius: 12px; box-shadow: 0 20px 40px -26px rgba(16, 32, 25, .6); }

/* ---------- A person on record (top of You) ---------- */
.you-head.rec { padding: 20px 20px 18px; }
.rec-top { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.rec-av { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--on-forest); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 32px; }
.you-head.rec h1 { font-size: 40px; color: var(--forest); }
.you-head.rec .rec-top p { margin-top: 2px; }
.rec-now { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.25; margin-top: 16px; color: var(--ink); }
.rec-now small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.rec-stats { padding: 16px 0 0; }
.rec-says h2 { font-size: 20px; margin: 20px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rec-says h2 small { font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-2); }
.chip.static { cursor: default; min-height: 36px; padding: 6px 14px; }
.chip.static:hover { border-color: var(--rule-2); }
.rec-bars { display: grid; gap: 10px; }
.rec-bar { display: grid; grid-template-columns: 112px minmax(0, 1fr) 24px; gap: 10px; align-items: center; font-size: 14px; }
.rec-bar i { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; display: block; }
.rec-bar i b { display: block; height: 100%; border-radius: 999px; background: var(--forest-2); min-width: 0; }
.rec-bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.rec-says .fine { margin-top: 10px; }
.happening { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--forest); }
.we-should { font-family: var(--serif); font-style: italic; font-size: 20px; opacity: .92; margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .btn:active, .chip:active { transform: none; } }
.welcome .btn.sun small { color: rgba(255, 248, 233, .82); }

/* Goals: one list, with an optional date */
.gsec.one { padding-top: 18px; }
.gsec.one .glist { border-top: 2px solid var(--ink); }
.gby-b { font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28, 42, 34, .35); padding: 6px 0; }
.gby-b.on { color: var(--forest); font-weight: 500; text-decoration: none; background: var(--sage-wash); border-radius: 999px; padding: 2px 10px; }
.gby-b:hover { color: var(--forest); }
.gby-f { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0 0; }
.gby-f input { min-height: 46px; }
.gdl { margin-top: 4px; font-size: 13px; line-height: 1.2; }
.gdl .gby-b { padding: 4px 0; font-size: 13px; }
.gdl .gby-b.on { padding: 3px 10px; }

/* recovery code, shown once */
.rcode-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.rcode-c { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 23px; letter-spacing: .06em; color: var(--forest); background: var(--card); border: 1.5px dashed var(--forest-2); border-radius: 14px; padding: 14px 12px; margin: 10px 0 12px; text-align: center; user-select: all; -webkit-user-select: all; word-break: break-all; }
.sheet .rcode .fine { color: var(--ink-2); }
.rcode-c { font-size: clamp(16px, 5.2vw, 23px); letter-spacing: .04em; white-space: nowrap; word-break: normal; padding: 14px 8px; }

/* ================= 28 Nov 2026: Home, the app at a glance ================= */
.tdband .td-top h1 { font-size: 28px; line-height: 1.05; color: var(--forest); }
.td-line { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); margin-top: 4px; line-height: 1.3; }
.glance { padding: 18px 16px 0; }
.hm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 132px; padding: 14px 14px 13px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; overflow: hidden;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s, border-color .18s; }
.hm:hover { border-color: var(--rule-2); box-shadow: 0 10px 24px -18px rgba(16, 32, 25, .45); transform: translateY(-1px); }
.hm:active { transform: scale(.985); }
.hm:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.hm-n { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1; color: var(--forest); }
.hm small { font-size: 12px; color: var(--ink-2); line-height: 1.3; margin-top: auto; }
.hm-t { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-big { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: .95; color: var(--forest); }
/* Discover: the one big photo tile */
.hm-disc { grid-column: 1 / -1; min-height: 200px; color: #fff; background: var(--forest); border: 0; justify-content: space-between; }
.hm-disc .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.hm-disc:hover .photo { transform: scale(1.03); }
.hm-disc .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 22, 17, .35), rgba(12, 22, 17, .05) 40%, rgba(12, 22, 17, .82)); }
.hm-disc .hm-n, .hm-disc .hm-b { position: relative; z-index: 2; }
.hm-disc .hm-n { color: #fff; font-size: 26px; }
.hm-b b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 25px; line-height: 1.08; text-wrap: balance; }
.hm-b small { display: block; color: rgba(255, 255, 255, .88); margin-top: 6px; }
/* the week: a short list */
.hm-week { grid-column: 1 / -1; min-height: 0; }
.hm-list { list-style: none; display: grid; gap: 4px; margin: 2px 0 2px; }
.hm-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.3; align-items: baseline; }
.hm-list li span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hm-list li.is-ok { font-weight: 500; }
.hm-list li.is-prop { font-family: var(--serif); font-style: italic; font-size: 15px; }
.hm-thumbs { display: flex; margin-top: 2px; }
.hm-thumbs img { width: 38px; height: 38px; object-fit: cover; border-radius: 10px; border: 2px solid var(--card); margin-left: -10px; }
.hm-thumbs img:first-child { margin-left: 0; }
.hm-count { font-size: 13px; color: var(--ink-2); }
.hm-count b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--forest); margin-right: 2px; }
.hm-count b + b, .hm-count b:nth-of-type(2) { margin-left: 8px; }
.hm-pol { display: block; width: 62px; padding: 4px 4px 10px; background: #FFFDF8; border-radius: 2px; transform: rotate(-4deg); box-shadow: 0 6px 14px -8px rgba(28, 42, 34, .5); margin: 2px 0 0 4px; }
.hm-pol img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
@media (min-width: 700px) { .hm-grid { grid-template-columns: repeat(4, 1fr); } .hm-disc { grid-column: span 2; grid-row: span 2; min-height: 280px; } .hm-week { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .hm, .hm-disc .photo { transition: none; } .hm:hover, .hm:active, .hm-disc:hover .photo { transform: none; } }
/* Goals: list or vision */
.gseg { display: inline-flex; margin-top: 12px; border: 1px solid var(--rule-2); }
.gseg > * { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; font-size: 14px; color: var(--ink); text-decoration: none; }
.gseg > * + * { border-left: 1px solid var(--rule-2); }
.gseg [aria-current="page"] { background: var(--forest); color: var(--on-forest); }
/* You: friends link; Friends: way back */
.rec-friends { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; }
.rec-friends b { display: block; font-weight: 500; font-size: 15px; }
.rec-friends small { display: block; font-size: 12px; color: var(--ink-2); }
.rec-friends:hover { border-color: var(--forest); }
.crewback { margin: 10px 0 0 16px; }

/* ================= 28 Nov 2026: the week is a list. A time and what it is, grouped by day ================= */
.dstrip { position: sticky; top: 0; z-index: 8; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 8px 12px 10px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.ds { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 14px; color: var(--ink-2); font-size: 11px; letter-spacing: .04em; transition: background-color .16s; }
.ds b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.05; color: var(--ink); }
.ds em { display: flex; gap: 3px; height: 6px; margin-top: 2px; }
.ds em i { width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--forest-2); }
.ds em i.on { background: var(--forest); border-color: var(--forest); }
.ds:hover { background: var(--card); }
.ds.past { opacity: .5; }
.ds.today { background: var(--forest); color: var(--on-forest); }
.ds.today b { color: var(--on-forest); }
.ds.today em i { border-color: var(--on-forest); }
.ds.today em i.on { background: var(--on-forest); }
.agenda h2 { font-size: 22px; }
.aglegend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.aglegend span { display: inline-flex; align-items: center; gap: 6px; }
.mk { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mk.ok, .prow.s-ok .mk { background: var(--forest); }
.mk.prop, .prow.s-prop .mk { border: 1.5px dashed var(--forest-2); }
.mk.mine, .prow.s-mine .mk { border-radius: 2px; background: var(--sage); }
.pday { scroll-margin-top: 92px; }
.prow, .prow.s-ok, .prow.s-prop { box-shadow: none; outline: 0; background: transparent; border-radius: 12px; padding: 10px 8px; margin: 2px 0; grid-template-columns: 86px minmax(0, 1fr) auto; }
.prow:hover, .prow.s-prop:hover { background: var(--card); }
.prow .pt { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; color: var(--ink); font-size: 13px; padding-top: 3px; }
.prow.s-ok b { font-weight: 500; }
.prow.s-prop b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }
.prow.s-prop .pt { color: var(--ink-2); }
.prow small { line-height: 1.35; }
a.pempty { text-decoration: none; color: var(--ink-2); }
a.pempty:hover { color: var(--forest); }
.agenda.one-day { padding-top: 10px; }
.agenda.one-day .pday { grid-template-columns: 0 minmax(0, 1fr); }
.agenda.one-day .pday .d { display: none; }
@media (prefers-reduced-motion: reduce) { .ds { transition: none; } }
.weekacts .btn { white-space: nowrap; font-size: 14px; padding: 12px 10px; min-height: 48px; }

/* ================= 28 Nov 2026: Discover as tickets ================= */
.dhead h1 { color: var(--forest); }
.dline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-2); margin-top: 6px; }
.tix { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; padding: 0 0 6px; box-shadow: 0 1px 0 rgba(28, 42, 34, .04), 0 14px 28px -24px rgba(16, 32, 25, .5); }
.tix-ph { position: relative; height: 150px; margin: 0; overflow: hidden; background: var(--paper-2); }
.tix.lead .tix-ph { height: 210px; }
.tix-ph img { width: 100%; height: 100%; object-fit: cover; }
.tix-ph figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: #fff; background: rgba(16, 32, 25, .5); padding: 2px 7px; border-radius: 999px; }
.tix-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
/* the stub: date and time, cut off by a perforated line */
.tix-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 16px 4px 12px; color: var(--forest); text-align: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.tix-stub b { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.02em; line-height: 1; margin: 2px 0; }
.tix-stub em { font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 10px; font-variant-numeric: tabular-nums; }
.tix-stub em small { display: block; font-size: 10px; color: var(--ink-2); letter-spacing: .08em; }
.tix-stub::after { content: ""; position: absolute; top: 10px; bottom: 6px; right: 0; width: 0; border-right: 1.5px dashed rgba(28, 42, 34, .22); }
.tix-body { padding: 14px 16px 2px 14px; min-width: 0; }
.tix-body h3 { font-size: 23px; line-height: 1.1; color: var(--ink); text-wrap: balance; }
.tix.lead .tix-body h3 { font-size: 27px; }
.tix .dm { margin-top: 5px; }
.tix .da { padding: 0 14px; }
.tix .dx { padding: 0 14px; }
.tix-done { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px 6px; font-size: 14px; color: var(--ink-2); }
.stamp { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--forest); border: 1.5px solid var(--forest); border-radius: 8px; padding: 3px 10px 4px; transform: rotate(-4deg); letter-spacing: .01em; }
.tix.added { border-color: rgba(36, 75, 57, .45); }
#app.wide .dlist { grid-template-columns: 1fr 1fr; } #app.wide .tix.lead { grid-column: 1 / -1; }
/* the tab cross-fade stays short */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
.dclash { font-size: 13px; color: #8E2A14; margin-top: 8px; }

/* ================= 28 Nov 2026: bucket list like her archive: counts, then photo cards with a tick ================= */
.bhead { padding: 26px 20px 6px; }
.bhead h1 { font-size: clamp(40px, 11vw, 60px); line-height: 1; color: var(--forest); letter-spacing: -.03em; }
.blede { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; max-width: 420px; }
.bstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.bstat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px 10px; color: var(--ink-2); font-size: 12px; line-height: 1.2; text-align: center; }
.bstat + .bstat { border-left: 1px solid var(--rule); }
.bstat b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--forest); }
.bstat[aria-pressed="true"] { background: var(--card); color: var(--ink); }
.bstat[aria-pressed="true"] span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--forest); }
.bgrid { display: grid; gap: 14px; padding: 6px 16px 0; }
.bcard { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.bcard-ph { position: relative; height: 136px; margin: 0; background: var(--paper-2); }
.bcard-ph img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.bcard-ph figcaption { position: absolute; left: 10px; top: 10px; font-size: 11px; color: #fff; background: rgba(16, 32, 25, .55); padding: 3px 9px; border-radius: 999px; }
.bcard.done .bcard-ph img { filter: saturate(.85) sepia(.06); }
.bcard-tx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px 10px 16px; }
.bcard-tx h3 { font-size: 21px; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.bcard.done h3 { color: var(--ink-2); }
.bcard-tx .mm { font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.35; }
.tick { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--forest-2); display: flex; align-items: center; justify-content: center; color: var(--forest); background: var(--card); flex: none; transition: background-color .2s, color .2s; }
.tick svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tick:hover svg { opacity: .35; }
.tick.on { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.tick.on svg { opacity: 1; }
.bcard.just .tick svg path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: tickdraw .38s cubic-bezier(.16, 1, .3, 1) .05s forwards; }
.bcard.just .tick { animation: tickpop .38s cubic-bezier(.16, 1, .3, 1); }
@keyframes tickdraw { to { stroke-dashoffset: 0; } }
@keyframes tickpop { 0% { transform: scale(.86); } 60% { transform: scale(1.06); } 100% { transform: none; } }
.bcard-act { display: flex; align-items: center; gap: 8px; padding: 0 12px 12px 16px; }
.bcard-act .chip { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.bcard-act .xbtn { margin-left: auto; margin-right: -6px; }
@media (min-width: 700px) { .bgrid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .bcard.just .tick svg path { animation: none; stroke-dashoffset: 0; } .bcard.just .tick { animation: none; } .tick, .bcard-ph img { transition: none; } }

/* habits: each one has its own small gesture when it's done (from her motion bible) */
.hab.just .hab-c { animation: habpop .42s cubic-bezier(.16, 1, .3, 1); }
.hab.just.h-go .hab-c { animation: habpop .42s cubic-bezier(.16, 1, .3, 1), rays .7s ease-out; }
.hab.just.h-mv .hab-c { animation: hop .5s cubic-bezier(.2, .8, .3, 1); }
.hab.just.h-rw .hab-c { animation: pageturn .5s cubic-bezier(.16, 1, .3, 1); }
.hab.just.h-td .hab-c { animation: settle .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes habpop { 0% { transform: scale(.82); } 60% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes rays { 0% { box-shadow: 0 0 0 0 rgba(235, 203, 139, .9); } 100% { box-shadow: 0 0 0 14px rgba(235, 203, 139, 0); } }
@keyframes hop { 0% { transform: none; } 35% { transform: translateY(-9px); } 65% { transform: translateY(1px) scaleY(.94); } 100% { transform: none; } }
@keyframes pageturn { 0% { transform: perspective(160px) rotateY(-80deg); } 100% { transform: perspective(160px) rotateY(0); } }
@keyframes settle { 0% { transform: rotate(-14deg) scale(.9); } 55% { transform: rotate(5deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hab.just .hab-c, .hab.just.h-go .hab-c, .hab.just.h-mv .hab-c, .hab.just.h-rw .hab-c, .hab.just.h-td .hab-c { animation: none; } }

/* ================= 28 Nov 2026: four tabs; her picture at the top opens the profile ================= */
.tabs { grid-template-columns: repeat(4, 1fr); }
.appbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px 4px 20px; }
.appbar .wm { font-size: 20px; color: var(--ink); text-decoration: none; }
.appbar .tag { font-size: 11px; color: var(--ink-2); letter-spacing: .1em; }
.me { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--forest); color: var(--on-forest); text-decoration: none;
  font-family: var(--serif); font-style: italic; font-size: 19px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--rule-2); transition: transform .16s; }
.me img { width: 100%; height: 100%; object-fit: cover; }
.me:hover { transform: scale(1.04); }
.me:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
/* Vision, Goals, Bucket list: one switch at the top of the Vision tab */
.lnav { display: grid; grid-template-columns: repeat(3, 1fr); margin: 8px 16px 0; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); }
.lnav a { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: background-color .16s, color .16s; }
.lnav a:hover { color: var(--ink); }
.lnav a[aria-current="page"] { background: var(--forest); color: var(--on-forest); font-weight: 500; }
.lnav + .ghead, .lnav + .bhead, .lnav + .vhead { padding-top: 18px; }
/* Home: your year runs the full width now that You lives at the top */
.hm.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: baseline; gap: 12px; }
.hm.wide small { margin-top: 0; }
/* the profile */
.you-top { padding: 10px 16px 0; }
.rec-av { position: relative; cursor: pointer; overflow: hidden; }
.rec-av img { width: 100%; height: 100%; object-fit: cover; }
.rec-av:focus-within { outline: 2px solid var(--forest); outline-offset: 3px; }
.rec-pic { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .me, .lnav a { transition: none; } .me:hover { transform: none; } }

/* ================= 28 Nov 2026: not bland. Her planner palette: white pages, black buttons, one color at a time ================= */
:root {
  --paper: #faf8f4; --card: #ffffff; --paper-2: #f0ede6;
  --ink: #17151f; --ink-2: #5f5b66; --rule: rgba(23, 21, 31, .1); --rule-2: rgba(23, 21, 31, .24);
  --forest: #17151f; --forest-2: #2b2833; --on-forest: #ffffff;
  --accent: #c8432a; --accent-w: #fde9e2;
  --sage: var(--accent); --sage-wash: var(--accent-w);
}
/* each tab has its own color, like her planners */
html[data-tone="home"] { --accent: #c8432a; --accent-w: #fde9e2; }
html[data-tone="week"] { --accent: #7353c0; --accent-w: #efe9fb; } /* purple, from her Figma Calendar (3 Dec 2026) */
html[data-tone="vision"] { --accent: #7353c0; --accent-w: #efe9fb; }
html[data-tone="discover"] { --accent: #0b7476; --accent-w: #e0f2f1; }
html, body { background: #efece5; }
/* each kind of thing keeps one color everywhere */
.tone-move { --tc: #c8432a; --tw: #fde9e2; }
.tone-learn { --tc: #2f5bd3; --tw: #e8eefc; }
.tone-night { --tc: #7353c0; --tw: #efe9fb; }
.tone-culture { --tc: #3d5a80; --tw: #e8eef5; }
.tone-outside { --tc: #0b7476; --tw: #e0f2f1; }
.tone-people { --tc: #c93b62; --tw: #fbe6ee; }
.tone-work { --tc: #b94a22; --tw: #fff0e2; }
.tone-ink { --tc: #17151f; --tw: #f0ede6; }
/* a color card: what shows when there's no photo of the actual thing */
.cover { background: var(--tc, var(--accent)); color: #fff; }
.cover-word { font-family: var(--serif); font-style: italic; font-weight: 400; color: #fff; line-height: 1.02; text-wrap: balance; }
.cover-hand { font-family: var(--hand); font-weight: 500; color: rgba(255, 255, 255, .92); line-height: 1.1; }
/* accents now follow the tab */
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] .ic { color: var(--accent); }
.tab[aria-current="page"]::after { background: var(--accent); }
.hab.done .hab-c { background: var(--accent); border-color: var(--accent); }
.hab-c { border-color: var(--ink); color: var(--ink); }
.datechip { border-color: var(--accent); color: var(--accent); }
.datechip b { color: var(--accent); }
.tdband .td-top h1 { color: var(--ink); }
.stamp { color: var(--accent); border-color: var(--accent); }
.lnav a[aria-current="page"] { background: var(--ink); }
.me { background: var(--accent); }
.td-row.td-ok small { color: var(--accent); }
.gn { color: var(--tc, var(--ink)); }
.btn { border-radius: 12px; }
.chip { border-radius: 999px; }
::selection { background: var(--accent); color: #fff; }
/* color cards in each place a stand-in photo used to be */
.cover .cover-word { padding: 0 14px; }
.hm-disc.cover { background: var(--tc); }
.hm-disc.cover .shade { display: none; }
.hm-thumbs { display: flex; gap: 6px; }
.hm-thumbs i { display: block; width: 22px; height: 22px; border-radius: 7px; background: var(--tc); }
.hm-pol.cover { display: flex; align-items: center; justify-content: center; width: 70px; height: 74px; padding: 6px; border: 5px solid #fff; border-bottom-width: 14px; background: var(--tc); }
.hm-pol.cover .cover-word { font-size: 12px; padding: 0; text-align: center; }
.pol-ph.cover { display: flex; align-items: flex-end; padding: 12px; }
.pol-ph.cover .cover-word { padding: 0; font-size: clamp(20px, 5.6vw, 28px); }
.pol.wide .pol-ph.cover .cover-word { font-size: clamp(26px, 8vw, 40px); }
.pol-ph.cover + .pol-cap b { display: none; }
.bcard-ph.cover { display: flex; align-items: flex-end; padding: 16px; height: 120px; }
.bcard-ph.cover .cover-word { padding: 0; font-size: 26px; }
.bcard-ph.cover + .bcard-tx h3 { font-size: 0; height: 0; overflow: hidden; }
.va-hero.cover { background: var(--tc); }
.va-hero.cover .shade { background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .25)); }
.va-pane.cover { background: var(--tc); }
.va-pane.cover.proc { background: var(--tw); color: var(--ink); }
.va-pane.cover.proc figcaption, .va-pane.cover.proc figcaption * { color: var(--ink); text-shadow: none; }
.vwi.cover { background: var(--tc); }
.film-color { position: absolute; inset: 0; background: var(--tc); }
.photo-card.cover { background: var(--tc); }
.photo-card.cover .shade { background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .3)); }
.opt-row .fr.cover { border: 0; border-radius: 12px; background: var(--tc); }
/* tickets: the date stub takes the event's color */
.tix-stub { background: var(--tw); color: var(--tc); }
.tix-stub::after { display: none; }
.tix-stub em { color: var(--ink); }

/* the week: one short title, then the list */
.wknav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px auto; align-items: center; gap: 4px; padding: 6px 12px 4px; }
.wknav h1 { font-size: 28px; line-height: 1.1; text-align: center; color: var(--ink); }
.wknav .zarrow { color: var(--ink); }
.wkmonth { font-size: 14px; color: var(--ink-2); padding: 10px 6px 10px 10px; text-underline-offset: 3px; }
.wkmonth:hover { color: var(--accent); }
.agenda { padding-top: 4px; }
.pday { border-bottom: 1px solid var(--rule); }
.pday .d { color: var(--ink); }
.pday.today .d { color: var(--accent); }
.pday.today .d small::after { background: var(--accent); }
.prow .mk, .prow.s-ok .mk { background: var(--tc, var(--ink)); }
.prow.s-prop .mk { background: transparent; border: 1.5px dashed var(--tc, var(--ink)); }
.prow.s-mine .mk { background: var(--paper-2); border: 1.5px solid var(--ink-2); }
.prow.s-ok b { color: var(--ink); }
.weekacts { grid-template-columns: 1fr 1fr; }
.wkmore { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); text-align: center; }
.wkmore summary { cursor: pointer; padding: 10px; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.wkmore summary::-webkit-details-marker { display: none; }
.wkmore .morelinks { justify-content: center; }

/* ================= 28 Nov 2026: three tabs. The extras live in the profile ================= */
.tabs { grid-template-columns: repeat(3, 1fr); }
.life { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.life-t { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 104px; padding: 14px 14px 12px; border-radius: 16px; text-decoration: none; transition: transform .16s cubic-bezier(.16, 1, .3, 1); }
.life-t:first-child { grid-column: 1 / -1; min-height: 120px; }
.life-t b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.05; color: #fff; }
.life-t small { font-size: 13px; color: rgba(255, 255, 255, .9); }
.life-t:hover { transform: translateY(-2px); }
.life-t:active { transform: scale(.98); }
.life-t:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.rec-h { font-size: 22px; margin: 26px 0 0; }
.settings-h { font-size: 26px; padding: 30px 20px 0; border-top: 1px solid var(--rule); margin-top: 24px; }
.lback { margin: 8px 0 0 16px; }
.lnav { grid-template-columns: repeat(4, 1fr); }
.lnav a { font-size: 13px; }
.habs-page { margin-top: 8px; }
.hg-h span.now { color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .life-t { transition: none; } .life-t:hover, .life-t:active { transform: none; } }

/* ================= 28 Nov 2026: the calendar as an itinerary ================= */
.agenda { padding: 6px 16px 0; }
.iday { padding: 14px 0 8px; border-bottom: 1px solid var(--rule); scroll-margin-top: 16px; }
.iday-h { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); padding: 0 4px 10px; }
.iday-h b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1; }
.iday-h span { font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }
.iday.today .iday-h b { color: var(--accent); }
.iday-h:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* the timeline: a thin line, a dot per item in its color */
.itl { list-style: none; position: relative; margin: 0 0 4px; padding: 0; }
.itl::before { content: ""; position: absolute; left: 75px; top: 8px; bottom: 8px; width: 1.5px; background: var(--rule-2); border-radius: 2px; }
.it { position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 20px; padding: 5px 0; }
.it time { font-size: 13px; font-weight: 500; color: var(--ink); padding-top: 14px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.it::before { content: ""; position: absolute; left: 70px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--tc, var(--ink)); box-shadow: 0 0 0 3px var(--paper); z-index: 1; }
.it.prop::before { background: var(--paper); border: 2px dashed var(--tc, var(--ink)); width: 8px; height: 8px; }
.it.mine::before { border-radius: 3px; background: var(--ink-2); }
.it-card { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 11px 40px 11px 14px; min-width: 0; box-shadow: 0 1px 0 rgba(23, 21, 31, .03); }
.it.ok .it-card { border-color: transparent; background: var(--tw, var(--paper-2)); }
.it.prop .it-card { border: 1.5px dashed rgba(23, 21, 31, .24); background: var(--card); }
.it-k { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tc, var(--ink-2)); font-weight: 600; margin-bottom: 3px; }
.it.mine .it-k { color: var(--ink-2); }
.it-main { display: block; width: 100%; text-align: left; color: var(--ink); }
.it-main b { display: block; font-size: 16px; font-weight: 500; line-height: 1.25; }
.it.prop .it-main b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; }
.it-main small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.35; }
.it-main:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.it-acts { display: flex; gap: 8px; margin-top: 10px; }
.it-acts .btn { width: auto; min-height: 38px; padding: 8px 14px; font-size: 14px; }
.it-acts .btn small { font-size: 12px; opacity: .7; margin-left: 4px; }
.iday-empty { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-2); padding: 2px 4px 8px; }
.iday-empty .linkbtn { font-family: var(--serif); font-style: italic; font-size: 18px; padding: 0; min-height: 0; color: var(--ink-2); }
.iday-add { display: flex; gap: 18px; padding: 2px 4px 4px 86px; }
.iday-add .linkbtn { font-size: 13px; color: var(--ink-2); text-decoration: none; gap: 5px; min-height: 40px; }
.iday-add .linkbtn:hover { color: var(--accent); }
.agenda.one-day .iday-h { display: none; }
/* the why: a small star, the reason on hover or tap */
.why { position: absolute; top: 6px; right: 6px; z-index: 3; }
.tix-body h3 .why, .why.inline { position: relative; top: auto; right: auto; display: inline-block; vertical-align: .1em; margin-left: 6px; }
.why-b { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold-2, #8a6c2e); }
.why-b .ic { width: 16px; height: 16px; fill: var(--gold-lt, #EBCB8B); stroke: var(--gold-2, #8a6c2e); }
.why-b:hover, .why.is-open .why-b { background: var(--paper-2); }
.why-pop { display: none; position: absolute; right: 0; top: 36px; width: max-content; max-width: 230px; padding: 9px 12px; border-radius: 12px; background: var(--ink); color: #fff; font: 400 13px/1.35 var(--sans); font-style: normal; letter-spacing: 0; text-transform: none; box-shadow: 0 14px 30px -14px rgba(23, 21, 31, .6); z-index: 20; white-space: normal; }
.why-pop::before { content: ""; position: absolute; top: -5px; right: 12px; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.tix-body h3 .why-pop { right: auto; left: -8px; }
.tix-body h3 .why-pop::before { right: auto; left: 18px; }
@media (hover: hover) { .why:hover .why-pop { display: block; } }
.why.is-open .why-pop, .why-b:focus-visible + .why-pop { display: block; }
.it { grid-template-columns: 62px minmax(0, 1fr); gap: 28px; }
.itl::before { left: 76px; }
.it::before { left: 71px; }
.it.prop::before { left: 71px; }
.iday-add { padding-left: 90px; }
.weekacts { grid-template-columns: 1fr; }
/* tickets let the star's note spill past their edge */
.tix { overflow: visible; }
.tix-ph { border-radius: 17px 17px 0 0; }
.tix-row { border-radius: 0 0 17px 17px; }
.tix-stub { border-radius: 0 0 0 0; }
.tix:not(:has(.tix-ph)) .tix-stub { border-top-left-radius: 17px; }
.tix-body h3 .why-pop { left: auto; right: -10px; }
.tix-body h3 .why-pop::before { left: auto; right: 18px; }
.why-b:focus { outline: none; }
.why-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
#app .weekacts, #app.wide .weekacts { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
#app .weekacts .btn { width: 100%; }
/* the pottery photo has a yellow rail on its right edge: crop it out */
.hm-disc, .tix-ph, .bcard-ph, .vwi, .gthumb, .pol-ph, .va-pane { overflow: hidden; }
:is(.hm-disc, .tix-ph, .bcard-ph, .vwi, .gthumb, .pol-ph, .va-pane) img[src$="clay-hands.jpg"] { scale: 1.13; }
.hm-disc.cover.on-photo .shade { display: block; }
.hm-disc.on-photo .hm-b { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.it-acts .btn { white-space: nowrap; }
.it-acts .btn small { display: inline; margin: 0 0 0 5px; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
/* the star sits in the title's line without making the line taller */
.tix-body h3 .why { height: 1em; vertical-align: baseline; margin-left: 4px; }
.tix-body h3 .why-b { width: 30px; height: 30px; margin: -13px -6px 0 -6px; vertical-align: middle; }
.tix-body h3 .why-pop { top: 24px; }

/* ---------- Letters to the next you ---------- */
:root { --env: #f1e7d3; --env-2: #e8d9bd; --env-3: #d9c6a2; --wax: #a3302a; --wax-2: #d0594a; --letter: #fffdf8; }
.env { position: relative; width: 100%; aspect-ratio: 1.6; perspective: 1200px; }
.env > span { position: absolute; display: block; }
.env-big { max-width: 320px; margin: 0 auto; }
.env-mini { width: 88px; flex: none; }
.env-tiny { width: 56px; flex: none; }
.env-back { inset: 0; z-index: 0; background: var(--env-3); border-radius: 7px; box-shadow: 0 24px 40px -26px rgba(23, 21, 31, .55), 0 2px 5px -2px rgba(23, 21, 31, .18); }
.env-paper { left: 7%; right: 7%; top: 7%; bottom: 7%; z-index: 2; background: var(--letter); border-radius: 3px; box-shadow: 0 1px 4px rgba(23, 21, 31, .14);
  padding: 11% 11% 0; display: flex !important; flex-direction: column; gap: 10%; transition: transform .9s var(--ease); }
.env-paper i { display: block; height: 2px; border-radius: 2px; background: rgba(23, 21, 31, .16); }
.env-paper i:nth-child(1) { width: 34%; } .env-paper i:nth-child(2) { width: 92%; } .env-paper i:nth-child(3) { width: 84%; } .env-paper i:nth-child(4) { width: 90%; } .env-paper i:nth-child(5) { width: 48%; }
.env.is-none .env-paper i { opacity: 0; }
.env-front { inset: 0; z-index: 3; border-radius: 7px; background: var(--env); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--env), var(--env-2)); clip-path: polygon(0 100%, 50% 50%, 100% 100%); }
.env-flap { left: 0; right: 0; top: 0; height: 60%; z-index: 4; background: linear-gradient(180deg, var(--env-2), #e2d1b1); clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0; backface-visibility: visible; transition: transform .7s var(--ease), z-index 0s .35s; }
.env.is-none .env-flap, .env.is-draft .env-flap, .env.is-open .env-flap { transform: rotateX(180deg); z-index: 1; filter: brightness(.96); }
.env.is-none .env-paper, .env.is-draft .env-paper, .env.is-open .env-paper { transform: translateY(-34%); }
.env-seal { left: 50%; top: 57%; z-index: 6; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid !important; place-items: center; opacity: 0;
  border-radius: 48% 52% 50% 50% / 53% 47% 53% 47%; color: rgba(255, 236, 226, .9);
  background: radial-gradient(circle at 34% 28%, var(--wax-2), var(--wax) 58%, #741f1a);
  box-shadow: 0 0 0 2px rgba(163, 48, 42, .55), inset 0 -3px 5px rgba(60, 8, 4, .35), inset 0 2px 3px rgba(255, 200, 190, .25), 0 6px 10px -5px rgba(70, 12, 8, .6); }
.env-seal::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(255, 226, 214, .38); }
.env-seal .ic { width: 44%; height: 44%; }
.env.is-sealed .env-seal, .env.is-arrived .env-seal { opacity: 1; }
.env-stamp { right: 6%; bottom: 11%; z-index: 5; width: 15%; aspect-ratio: .8; padding: 2.5%; background: var(--letter); border-radius: 1px; box-shadow: 0 1px 2px rgba(23, 21, 31, .2); display: grid !important; }
.env-stamp::after { content: ""; position: absolute; inset: -2px; border: 3px dotted var(--env); border-radius: 2px; }
.env-stamp b { display: grid; place-items: center; background: var(--accent); color: #fff; font: italic 400 15px/1 var(--serif); }
.env-mini .env-stamp b, .env-tiny .env-stamp b { font-size: 0; }
.env-pm { right: 13%; bottom: 13%; z-index: 6; width: 25%; aspect-ratio: 1; border: 1.5px solid rgba(23, 21, 31, .42); border-radius: 50%; transform: rotate(-14deg);
  display: grid !important; place-content: center; text-align: center; color: rgba(23, 21, 31, .5); font: 500 7.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.env-pm b { font-size: 11px; letter-spacing: .04em; }
.env-pm::after { content: ""; position: absolute; right: 96%; top: 30%; width: 115%; height: 40%; background: repeating-linear-gradient(180deg, rgba(23, 21, 31, .34) 0 1.5px, transparent 1.5px 6px); }
.env-hand { left: 8%; bottom: 13%; z-index: 5; font: italic 400 17px/1 var(--serif); color: rgba(23, 21, 31, .7); }
/* opening: the seal comes off, the flap lifts, the letter rises */
.env.opening .env-seal { animation: seal-off .4s var(--ease) forwards; }
.env.opening .env-flap { transform: rotateX(180deg); z-index: 1; transition: transform .75s var(--ease) .3s, z-index 0s .7s; }
.env.opening .env-paper { transform: translateY(-70%); transition: transform .9s var(--ease) .85s; }
@keyframes seal-off { 40% { transform: translate(-50%, -50%) scale(1.12) rotate(-6deg); opacity: 1; } 100% { transform: translate(-50%, -20%) scale(.8) rotate(-18deg); opacity: 0; } }
.envstage { padding: 64px 28px 6px; }
/* the vision board card and Home */
.lcard { display: flex; align-items: center; gap: 18px; margin: 18px 20px 4px; padding: 26px 18px 18px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; }
.lcard.is-arrived { background: var(--accent-w); border-color: transparent; }
.lcard-env { padding-top: 8px; text-decoration: none; }
.lcard-t { min-width: 0; }
.lcard h2 { font: italic 400 24px/1.05 var(--serif); color: var(--ink); }
.lcard p { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); margin-top: 5px; }
.lcard .lcard-s { font-size: 12.5px; margin-top: 3px; }
.lcard-b { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.lcard-b .linkbtn { font-size: 14px; }
.lhome { display: flex; align-items: center; gap: 16px; margin: 14px 16px 0; padding: 22px 16px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.lhome.is-arrived { background: var(--ink); color: #fff; border-color: transparent; }
.lhome b { display: block; font: italic 400 24px/1.05 var(--serif); }
.lhome small { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13.5px; line-height: 1.4; margin-top: 4px; opacity: .85; }
.lhome:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.is-arrived .env-mini { animation: env-bob 3.2s ease-in-out infinite; }
@keyframes env-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
/* the list of letters */
.lsec { padding: 0 20px; }
.lsec .vsec-h { padding-left: 0; padding-right: 0; }
.lrow { display: flex; align-items: center; gap: 16px; padding: 18px 0 14px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.lrow .env-tiny { margin-top: 6px; }
.lrow-t { flex: 1; min-width: 0; }
.lrow-t b { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.lrow.is-open .lrow-t b { font: italic 400 18px/1.25 var(--serif); }
.lrow-t small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.lrow > .ic { color: var(--ink-2); flex: none; }
.lrow:hover .lrow-t b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* writing and reading */
.lhead { padding: 18px 20px 4px; }
.lhead.center, .lacts.center { text-align: center; justify-content: center; }
.lk { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.lk-top { padding: 14px 20px 0; letter-spacing: .06em; }
.lhead h1 { font: italic 400 clamp(32px, 9vw, 44px)/1.02 var(--serif); color: var(--ink); margin-top: 6px; letter-spacing: -.02em; }
.lsub { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 10px auto 0; max-width: 420px; }
.ldead { font: italic 400 18px/1.35 var(--serif); color: var(--ink); margin-top: 16px; }
.lacts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px; }
.lacts .fine { width: 100%; margin: 0; }
.lopen { min-width: 200px; }
.paper { position: relative; margin: 16px 16px 0; padding: 26px 22px 18px; background: var(--letter); border: 1px solid rgba(23, 21, 31, .07); border-radius: 6px;
  box-shadow: 0 1px 0 rgba(23, 21, 31, .04), 0 22px 40px -28px rgba(23, 21, 31, .5); }
.paper::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 6px 6px 0 0; background: var(--accent); opacity: .85; }
.paper:focus-within { box-shadow: 0 0 0 2px var(--accent), 0 22px 40px -28px rgba(23, 21, 31, .5); }
.paper-d { text-align: right; font: italic 400 15px/1 var(--serif); color: var(--ink-2); margin-bottom: 18px; }
.paper textarea, .paper-t { display: block; width: 100%; font: 400 19px/32px var(--serif); color: var(--ink); }
.paper textarea { min-height: 320px; border: 0; outline: 0; resize: none; padding: 0; overflow: hidden;
  background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(23, 21, 31, .09) 31px 32px); background-attachment: local; }
.paper textarea::placeholder { color: rgba(23, 21, 31, .34); font-style: italic; }
.paper-t p + p { margin-top: 32px; }
.paper-n { font-size: 12.5px; color: var(--ink-2); text-align: right; min-height: 16px; margin-top: 6px; }
.paper-tag { position: absolute; left: 22px; top: 22px; }
.paper.unfold { transform-origin: 50% 0; animation: unfold .8s var(--ease) both; }
@keyframes unfold { from { opacity: 0; transform: perspective(900px) rotateX(-14deg) translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.lideas { padding: 18px 20px 0; }
.lideas > p { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.lideas > div { display: flex; flex-wrap: wrap; gap: 8px; }
.lideas .chip { display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.lideas .chip:disabled { opacity: .45; }
/* the record next to an opened letter */
.lrec { margin: 30px 20px 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.lrec h2 { font: italic 400 30px/1.05 var(--serif); }
.lrec-s { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.lrec h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin: 26px 0 4px; }
.lrec-none { font-family: var(--serif); font-size: 19px; margin-top: 14px; }
.lnums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.lnums div { padding: 16px 14px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
.lnums b { display: block; font: 400 38px/1 var(--serif); color: var(--ink); }
.lnums small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.lsnap li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); list-style: none; }
.lsnap span { font-size: 15.5px; line-height: 1.35; }
.lsnap em { flex: none; font-style: normal; font-size: 12.5px; color: var(--ink-2); text-align: right; max-width: 48%; }
.lsnap .is-done em { color: #fff; background: var(--ink); padding: 4px 10px; border-radius: 999px; transform: rotate(-2deg); }
.lsnap .is-gone span { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.btn.danger { background: #8e2a14; border-color: #8e2a14; color: #fff; }
.bs-p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .env-paper, .env-flap { transition: none; }
  .is-arrived .env-mini, .paper.unfold { animation: none; }
}
/* postmark sits beside the stamp, its cancel lines run over the stamp, away from the seal */
.env-pm { right: 19%; bottom: 15%; width: 22%; }
.env-pm::after { right: auto; left: 72%; top: 28%; width: 62%; height: 44%; }
.env-hand { left: 7%; bottom: 10%; font-size: 15.5px; }
.lhead h1 { text-wrap: balance; }
.lrec h3 { font: 500 12.5px/1.3 var(--sans); font-style: normal; letter-spacing: .08em; }
.lnums { grid-template-columns: repeat(var(--n, 2), 1fr); }
.lsnap em { max-width: 56%; }
.env-pm { right: 17%; }
/* room above the envelope for an open flap (and for the flap of one being opened) */
.envstage { padding-top: 44px; }
.envstage:has(.is-draft), .envstage:has(.is-arrived) { padding-top: 136px; }
.lhome small { display: block; }
.lhome .nw { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-weight: 500; }
.envstage:has(.is-draft), .envstage:has(.is-arrived) { padding-top: 124px; }
.devnote.is-wait i { background: #c98a1e; }
/* a note with a link in it reads as one sentence, not three columns */
.devnote.is-wait { display: block; line-height: 1.5; }
.devnote.is-wait i { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.devnote.is-wait .linkbtn { display: inline; min-height: 0; padding: 0; font-size: inherit; }
/* undo inside the note at the top */
.toast.has-undo { display: flex; align-items: center; gap: 14px; }
.toast-undo { color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; min-height: 32px; }
/* welcome, in the app's own look: no gold text, and the main button reads on the dark photo */
.welcome h1 em, .welcome h1 em:where(*) { color: #fff; opacity: .86; }
.welcome .btn.sun { background: #fff; border-color: #fff; color: var(--ink); }
.welcome .btn.sun small { color: var(--ink-2); }
.welcome .btn.sun:hover { background: #f4f1ec; }

/* ================= 28 Nov 2026: the to-do tab, now the board (To do, Doing, On hold, Done) =================
   Her words in italic type on cream cards, Done is a button and a dated stamp, done cards make a pile in the dark green
   column (dark green = done) and the record sits under the board. One column at a time on a phone, all four on a computer. */
html[data-tone="todo"] { --accent: #c93b62; --accent-w: #fbe6ee; }
.tabs { grid-template-columns: repeat(4, 1fr); }
.tab { font-size: 11.5px; letter-spacing: 0; white-space: nowrap; }
.lg-h { padding: 8px 0 14px; border-bottom: 1px solid var(--ink); }
.lg-h h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 46px; line-height: 1; letter-spacing: -.01em; margin: 8px 0 0; color: var(--ink); }
.lg-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); }
.lg-sh h2 { font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0; }
.lg-sh span { font-size: 13px; color: var(--ink-2); }
.hm-todo .hm-t { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.15; }

.bd { padding: 6px 20px 36px; --bd-ease: cubic-bezier(.16, 1, .3, 1); }
.bd-todo { --col: var(--ink); }
.bd-done { --col: var(--accent); }

/* the column switcher (phone) */
/* the top of the Board (1 Dec 2026): a small date, then one row: To do | Done (| On hold) as one switch, Timeline and Focus tools beside it */
.bd-head { padding-top: 6px; }
.bd-date { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.bd-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px -20px 0; padding: 8px 20px; background: var(--paper); }
.bd-nav { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.bd-nav button { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; padding: 0 14px; align-items: center; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .18s, background-color .18s; }
.bd-nav button[aria-current="true"] { color: var(--paper); background: var(--ink); }
.bd-nav .bd-n { font-family: var(--sans); font-size: 12.5px; line-height: 1; font-weight: 500; color: inherit; opacity: .75; font-variant-numeric: tabular-nums; }
.bd-nav .bd-n:empty { display: none; }
.bd-nav button.got .bd-n { animation: bd-got .6s var(--bd-ease); }
@keyframes bd-got { 30% { transform: scale(1.4); } }
.bd-ink { display: none; } /* the selected button carries its own fill, so it never goes missing after a resize */
.bd-links { display: flex; gap: 14px; flex-shrink: 0; }
.bd-links a, .bd-links button { font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; min-height: 40px; display: inline-flex; align-items: center; }
.bd-links a:hover, .bd-links button:hover { text-decoration-color: currentColor; }

/* the board */
.bd-board { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 34px); gap: 12px; margin: 14px -20px 0; padding: 2px 20px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.bd-board::-webkit-scrollbar { display: none; }
.bd-board.is-dragging { scroll-snap-type: none; }
.bd-col { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 52vh; padding: 12px 10px 12px; border-radius: 18px; background: var(--paper-2); transition: box-shadow .18s, background-color .18s; }
.bd-col.is-over { box-shadow: inset 0 0 0 2px var(--col); }
.bd-ch { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; }
@media (max-width: 899px) { .bd-ch h2, .bd-ch .bd-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .bd-ch { justify-content: flex-end; padding-top: 0; } .bd-ch:not(:has(.bd-selctl)) { display: none; } }
.bd-ch h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-style: normal; font-size: 21px; line-height: 1; letter-spacing: -.005em; color: var(--ink); }
.bd-ch h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--col); }
.bd-ch .bd-n { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 99px; background: rgba(28, 42, 34, .08); color: var(--ink-2); }
.bd-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 0 0 10px; padding: 4px 4px 4px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.bd-add:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.bd-add input { min-width: 0; min-height: 44px; border: 0; background: transparent; font: italic 400 19px/1.2 var(--serif); color: var(--ink); padding: 0; }
.bd-add input:focus { outline: none; }
.bd-add input::placeholder { color: var(--ink-2); opacity: .75; }
.bd-add .btn { width: auto; }
.bd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bd-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; border-radius: 14px; background: var(--card); box-shadow: 0 1px 0 rgba(28, 42, 34, .06), 0 8px 18px -14px rgba(28, 42, 34, .5); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; transition: box-shadow .15s, transform .1s; }
.bd-card:active { transform: scale(.985); }
.bd-t { display: grid; gap: 4px; min-height: 58px; padding: 12px 0 12px 14px; text-align: left; align-content: center; color: var(--ink); }
.bd-t:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 10px; }
.bd-w { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -.005em; overflow-wrap: anywhere; }
.bd-next { font-size: 13px; line-height: 1.3; color: var(--ink); }
.bd-m { font-size: 12.5px; color: var(--ink-2); }
.bd-do { min-height: 52px; padding: 0 12px 0 4px; display: flex; align-items: center; }
.bd-do span { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); transition: background-color .12s, color .12s; }
.bd-do:focus-visible span { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .bd-do:hover span { background: var(--ink); color: var(--paper); } } /* a phone tap never leaves the next card looking done (2 Dec audit) */
.bd-do:focus-visible { outline: none; }
.bd-card.is-holder { background: transparent; box-shadow: none; outline: 1.5px dashed var(--rule-2); outline-offset: -1.5px; }
.bd-card.is-holder > * { visibility: hidden; }
.bd-ghost { list-style: none; will-change: transform; }
.bd-ghost.is-lifted { box-shadow: 0 26px 40px -18px rgba(28, 42, 34, .55); cursor: grabbing; transition: none; }
.bd-empty { list-style: none; padding: 8px 8px 14px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.bd-note { margin: 0 6px 10px; font-size: 13px; line-height: 1.4; color: var(--accent); }
.bd-hint { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }

/* proposed to-dos: dashed like the Calendar's proposed plans, until she approves one */
.bd-propask { display: flex; align-items: center; gap: 10px; width: 100%; margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; border: 1.5px dashed var(--rule-2); color: var(--ink); text-align: left; }
.bd-propask .ic { flex: none; color: var(--ink-2); }
.bd-propask span { display: grid; gap: 2px; font-size: 14px; font-weight: 500; }
.bd-propask small { font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.bd-propask:hover { border-color: var(--ink-2); }
.bd-props { margin: 16px 0 0; }
.bd-ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 6px; }
.bd-ph h3 { margin: 0; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bd-ph h3 span { font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.bd-ph .linkbtn { font-size: 13.5px; }
.bd-ph .linkbtn[disabled] { opacity: .45; }
.bd-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bd-prop { display: grid; gap: 6px; padding: 10px 10px 8px 14px; border-radius: 14px; border: 1.5px dashed rgba(23, 21, 31, .24); background: var(--card); }
.bd-pt { display: flex; align-items: flex-start; gap: 2px; color: var(--ink); }
.bd-pt .why { position: relative; top: -4px; right: auto; flex: none; margin: 0 -6px 0 0; } /* the why-star sits after the words, like the Calendar's */
.bd-pt .bd-w { flex: 1; min-width: 0; }
.bd-pa { display: flex; align-items: center; gap: 14px; }
.bd-pa .btn .ic { margin-right: 4px; }
.bd-pa .btn { width: auto; }
.bd-pa .linkbtn { font-size: 13.5px; color: var(--ink-2); }
.bd-pfoot { margin: 8px 6px 0; }
.bd-pfoot .linkbtn { font-size: 12.5px; color: var(--ink-2); }
.bd-propbusy { display: flex; align-items: center; gap: 8px; margin: 0 6px 8px; font-size: 13.5px; color: var(--ink-2); }
.bd-propbusy i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px dashed var(--ink-2); animation: bd-spin 1.4s linear infinite; }
@keyframes bd-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bd-propbusy i { animation: none; } }

/* Done: dark green, a pile with the date stamped on, the last few underneath */
/* Done is light like the other columns: it leads by coming first and by its dated list, not by a dark fill */
.bd-done { background: var(--paper-2); color: var(--ink); }

/* the record */
.bd-rec { margin-top: 38px; scroll-margin-top: 16px; }
.bd-wk { margin-top: 18px; }
.bd-wk h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink); }
.bd-wk h3 span { color: var(--ink-2); font-weight: 400; }
.bd-wk ol { list-style: none; margin: 0; padding: 0; }
.bd-ri { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--rule); text-align: left; color: var(--ink); }
.bd-ri:hover .bd-rt { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bd-rt { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.bd-rt small { display: block; font-family: var(--sans); font-style: normal; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.bd-ri time { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* the card's sheet */
.bd-edit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 4px; }
.bd-edit input { min-width: 0; min-height: 48px; border: 0; border-bottom: 1.5px solid var(--rule-2); border-radius: 0; background: transparent; font: italic 400 27px/1.15 var(--serif); padding: 6px 0; color: var(--ink); }
.bd-edit input:focus { outline: none; border-bottom-color: var(--accent); }
.bd-edit .btn { width: auto; }
.bd-move { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 16px 0 6px; padding: 4px; border-radius: 14px; background: var(--paper-2); }
.bd-move button { min-height: 44px; padding: 0 4px; border-radius: 10px; font-size: 13.5px; color: var(--ink-2); transition: background-color .15s, color .15s; }
.bd-move button:hover { color: var(--ink); }
.bd-move button[aria-pressed="true"] { background: var(--card); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(28, 42, 34, .15); }
.bd-gh { margin: 22px 0 4px; font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; font-size: 21px; color: var(--ink); }
.bd-games { list-style: none; margin: 0 0 6px; padding: 0; }
.bd-games li + li { border-top: 1px solid var(--rule); }
.bd-game { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 4px; text-align: left; color: var(--ink); border-radius: 10px; transition: background-color .15s; }
.bd-game:hover { background: var(--accent-w); }
.bd-gt { display: grid; gap: 2px; }
.bd-gt b { font-weight: 500; font-size: 16px; }
.bd-gt span { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.bd-gi { position: relative; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; }
.bd-g-tiny .bd-gi { background: #e0583b; }
.bd-g-tiny .bd-gi::before { content: ""; position: absolute; left: 9px; bottom: 9px; width: 6px; height: 20px; border-radius: 2px; background: rgba(255, 255, 255, .9); box-shadow: 8px 7px 0 -0px rgba(255, 255, 255, .75), 16px 12px 0 rgba(255, 255, 255, .6); clip-path: inset(0 -20px 0 0); }
.bd-g-flip .bd-gi { background: #2f5bd3; }
.bd-g-flip .bd-gi::before { content: "H"; position: absolute; inset: 8px; border-radius: 50%; background: #f6c445; box-shadow: inset 0 0 0 2px #d9a21b; color: #2f2a1c; font: italic 600 15px/24px var(--serif); text-align: center; }
.bd-g-map .bd-gi { background: #3d5a80; }
.bd-g-map .bd-gi::before { content: ""; position: absolute; left: 7px; right: 7px; top: 19px; border-top: 2px dashed rgba(255, 255, 255, .85); transform: rotate(-18deg); }
.bd-g-map .bd-gi::after { content: ""; position: absolute; right: 8px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.bd-back { margin: -6px 0 2px -4px; gap: 4px; font-size: 13.5px; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.bd-sadd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 8px; }
.bd-sadd input { min-width: 0; min-height: 46px; border: 0; border-bottom: 1.5px solid var(--rule-2); border-radius: 0; background: transparent; font: italic 400 19px/1.2 var(--serif); padding: 6px 0; color: var(--ink); }
.bd-sadd input:focus { outline: none; border-bottom-color: var(--accent); }
.bd-sadd .btn { width: auto; }
.bd-coinbox { display: grid; place-items: center; height: 150px; perspective: 600px; margin: 6px 0 2px; }
.bd-coin { position: relative; width: 92px; height: 92px; transform-style: preserve-3d; }
.bd-coin.is-tails { transform: rotateY(180deg); }
.bd-coin i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden; background: radial-gradient(circle at 35% 30%, #fbe08a, #e7b437 70%); box-shadow: inset 0 0 0 4px #d39d22, inset 0 0 0 7px #f3cd61; font: italic 500 40px/1 var(--serif); color: #4a3a12; font-style: italic; }
.bd-coin i.t { transform: rotateY(180deg); }
.bs.is-flipping .bd-verdict, .bs.is-flipping .bs-act { opacity: 0; }
.bd-verdict, .bd-verdict ~ .bs-act { transition: opacity .2s .05s; }
.bd-verdict { text-align: center; }
.bd-steps { list-style: none; margin: 12px 0 4px; padding: 0; }
.bd-steps li { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; border-bottom: 1px solid var(--rule); }
.bd-st { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 52px; padding: 8px 0; text-align: left; color: var(--ink); }
.bd-sn { font-size: 12px; letter-spacing: .12em; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.bd-ss { font-size: 12px; padding: 1px 7px 2px; transform: none; justify-self: start; }
.bd-stt { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.bd-steps .is-done .bd-stt { color: var(--ink-2); }
.bd-sx { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); }
.bd-sx:hover { color: var(--ink); }

/* a computer: both columns at once */
@media (min-width: 900px) {
  #app.wider { --col: 1120px; max-width: 1120px; }
  .tabs.wider { max-width: 1120px; }
  .bd-nav { display: none; }
  .bd-bar { justify-content: flex-end; position: static; margin: -30px 0 0; padding: 0; background: none; }
  .bd-board { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; overflow: visible; align-items: start; }
  .bd-col { min-height: 440px; }
  .bd-card, .bd-drow { cursor: grab; }
  .bd-card:hover { box-shadow: 0 1px 0 rgba(28, 42, 34, .06), 0 12px 22px -14px rgba(28, 42, 34, .55); }
  .bd-w { font-size: 17.5px; }
  .bd-rec { max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-ink, .bd-do span, .bd-col { transition: none; }
  .bd-nav button.got .bd-n { animation: none; }
}

/* ================= 28 Nov 2026: done first, and steps inside a card =================
   Done is the first column: something already done goes straight onto the pile, stamped. A card's next step
   can be ticked from the card itself; steps live in the card's sheet, not behind a game. */
.bd-did { margin-bottom: 4px; }
.bd-did .btn { background: var(--ink); color: var(--paper); border: 0; }
.bd-card .bd-t { grid-column: 1; grid-row: 1; }
.bd-card .bd-do { grid-column: 2; grid-row: 1; }
.bd-nx { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 10px; margin: -6px 12px 10px 14px; padding: 8px 10px; min-height: 40px; border-radius: 10px; background: var(--paper-2); text-align: left; font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.bd-nx i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-2); transition: border-color .15s, background-color .15s; }
.bd-nx span { min-width: 0; overflow-wrap: anywhere; }
button.bd-nx:hover i, button.bd-nx:focus-visible i { border-color: var(--accent); background: var(--accent-w); }
button.bd-nx:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bd-nx.is-all { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; font-size: 15px; color: var(--accent); background: var(--accent-w); }
.bd-card.is-ready .bd-do span { background: var(--ink); color: var(--paper); }
.bd-gh small { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-2); margin-left: 6px; }
.bd-stepsec { margin-top: 6px; }
.bd-already { grid-column: 1 / -1; justify-self: start; font-size: 13.5px; min-height: 36px; padding: 2px 0; }
@media (prefers-reduced-motion: reduce) { .bd-nx i { transition: none; } }
.bd-nx small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1px; }
@media (min-width: 900px) { .bd-did input { font-size: 16.5px; } }

/* Done as a record of what she did (28 Nov 2026, replaces the pile): by day, each line with the time and what it was */
.bd-dl { margin-top: 4px; }
.bd-dl section + section { margin-top: 12px; }
.bd-dl h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 4px 2px; font: 600 11.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bd-dl h3 span { color: var(--ink-2); }
.bd-dl h3 span { font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bd-dl ol { list-style: none; margin: 0; padding: 0; }
.bd-dr { width: 100%; display: grid; grid-template-columns: 20px 62px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 4px; border-top: 1px solid var(--rule); border-radius: 0; text-align: left; color: var(--ink); }
.bd-dck { align-self: start; width: 20px; height: 20px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--on-forest, #fff); }
.bd-dck .ic { width: 12px; height: 12px; }
/* a line in Done drags back to To do (1 Dec 2026): its place while it moves, and the line under the finger */
.bd-drow { touch-action: pan-y; }
.bd-drow.is-holder { outline: 1.5px dashed var(--rule-2); outline-offset: -1.5px; border-radius: 12px; }
.bd-drow.is-holder > * { visibility: hidden; }
.bd-list .bd-drow.is-holder { min-height: 48px; }
.bd-drow.bd-ghost { background: var(--card); border-radius: 12px; }
.bd-drow.bd-ghost .bd-dr { border-top: 0; padding-inline: 10px; }
.bd-nav button.is-over { color: var(--ink); background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 10px; }
.bd-dr time { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd-dr span { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.bd-dr small { display: block; font-family: var(--sans); font-style: normal; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.bd-dr:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bd-dr:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.bd-recgo { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 8px; padding: 0 4px; font-size: 14px; font-weight: 500; color: var(--ink); }
.bd-recgo .ic { width: 16px; height: 16px; }

/* ================= 28 Nov 2026: the week map, brought in from goal-lab mock-up 12 =================
   Each day: a header (name, Map, Travel, +), its plans as planner lines (time, circle, what and where), and a map of that
   day on the right. Paper, ink and the Calendar's blue; each plan keeps its kind's color (--tc) on its circle and its pin. */
.wm-day.iday { margin: 12px 0 0; padding: 14px; border: 1px solid var(--rule); border-radius: 18px; background: var(--card); scroll-margin-top: 16px; }
.agenda .plist { border-top: 0; margin-top: 8px; }
.wm-dh { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: center; }
.wm-thumb { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--accent); }
.wm-dh.has-sub .wm-thumb { grid-row: 1 / span 2; align-self: start; }
.wm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wm-thumb.dot { width: 14px; height: 14px; border-radius: 50%; justify-self: center; }
.wm-dh.has-sub .wm-thumb.dot { grid-row: 1; align-self: center; }
.wm-day.past .wm-thumb.dot { background: var(--rule-2); }
.wm-name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1; color: var(--accent); text-decoration: none; min-width: 0; }
.wm-day.past .wm-name { color: var(--ink); }
.wm-name:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.wm-tools { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; }
.wm-sub { grid-column: 2 / -1; font-size: 13px; color: var(--ink-2); }
/* Map and Travel: on = tinted in the Calendar's blue, off = a dashed outline. The same spot on every day */
.wm-vbtn { position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; color: var(--ink); background: var(--accent-w); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.wm-vbtn .ic { width: 15px; height: 15px; color: var(--accent); }
.wm-vbtn[aria-pressed="false"] { color: var(--ink-2); background: var(--card); border: 1px dashed var(--rule-2); }
.wm-vbtn[aria-pressed="false"] .ic { color: var(--ink-2); }
.wm-add { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; }
.wm-add .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.wm-vbtn::after { content: ""; position: absolute; inset: -4px 0; }
.wm-add::after { content: ""; position: absolute; inset: -4px -4px -4px -2px; } /* a 44 px tap area */
/* the day's list and its map */
.wm-body { display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 12px; align-items: stretch; margin-top: 12px; }
.wm-body.nomap { grid-template-columns: minmax(0, 1fr); }
.wm-list { min-width: 0; }
.wm-plans { list-style: none; margin: 0; padding: 0; }
.wm-plan { display: grid; grid-template-columns: 40px 26px minmax(0, 1fr); column-gap: 8px; align-items: start; border-radius: 12px; transition: background-color .3s; }
.wm-plan.wm-flash { background: var(--paper-2); }
.wm-plans.notravel .wm-plan + .wm-plan { margin-top: 2px; }
.wm-tm { padding-top: 4px; text-align: right; font-size: 14px; font-weight: 500; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wm-tm small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .06em; color: var(--ink-2); margin-top: 2px; }
.wm-num { position: relative; width: 26px; height: 26px; margin-top: 3px; border-radius: 50%; background: var(--tc, var(--ink)); color: #fff; display: flex; align-items: center; justify-content: center; font: 600 12px/1 var(--sans); }
.wm-num.wm-tap::after { content: ""; position: absolute; inset: -9px; } /* a 44 px tap area */
.wm-num .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.wm-num.ring { background: var(--card); border: 2px solid var(--ink-2); }
.wm-plan.is-done .wm-num.ring { background: var(--ink-2); }
.wm-plan.k-prop .wm-num { background: var(--card); color: var(--tc, var(--ink)); border: 2px dashed var(--tc, var(--ink)); }
.wm-plan.is-missed .wm-num { opacity: .45; }
.wm-num.pop { animation: wm-pop .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes wm-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.wm-tx { position: relative; display: flex; align-items: flex-start; gap: 4px; min-width: 0; }
.wm-main { display: block; flex: 1; min-width: 0; text-align: left; padding: 3px 0 10px; min-height: 44px; color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; }
.wm-main b { display: block; font-weight: 500; font-size: 16px; line-height: 1.25; }
.wm-plan.k-prop .wm-main b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }
.wm-plan.is-missed .wm-main b { color: var(--ink-2); }
.wm-main small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 1px; }
.wm-tx .why { position: relative; top: auto; right: auto; flex: none; margin: 0 -6px 0 0; } /* the why-star sits after the title, not over it */
.wm-ok { grid-column: 3; justify-self: start; margin: -4px 0 10px; }
/* travel minutes sit on the dotted line between two circles */
.wm-leg button { position: relative; display: flex; align-items: center; gap: 6px; min-height: 34px; margin: -6px 0 2px 60px; padding: 0 0 0 14px; border: 0; border-left: 2px dotted color-mix(in srgb, var(--accent) 45%, transparent); background: none; font: inherit; font-size: 12.5px; color: var(--ink-2); cursor: pointer; text-align: left; }
.wm-leg button:hover { color: var(--ink); }
.wm-leg button::after { content: ""; position: absolute; inset: -5px 0; } /* a 44 px tap area */
.wm-dh.is-only { display: flex; justify-content: flex-end; }
.wm-leg .ic { width: 15px; height: 15px; flex: none; }
.wm-addline { display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 2px 2px 4px; }
.wm-addline span { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* the map is as tall as its day's list (within limits) and stays in view on long days; tap it to open it bigger */
.wm-map { position: relative; min-width: 0; }
.wm-mapwrap { position: sticky; top: 10px; height: 100%; min-height: var(--wm-min, 150px); max-height: var(--wm-max, 300px); border-radius: 14px; cursor: zoom-in; }
.wm-dmap { height: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: #e9e9e6; }
.wm-dmap.leaflet-container { cursor: zoom-in; font-family: var(--sans); }
.wm-x { position: absolute; left: 6px; bottom: 6px; z-index: 500; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(10, 9, 14, .2); pointer-events: none; }
.wm-x .ic { width: 14px; height: 14px; }
.wm-dmap .leaflet-control-attribution, .wm-big .leaflet-control-attribution { font-size: 8px; line-height: 1.3; padding: 1px 5px; background: rgba(255, 255, 255, .72); color: var(--ink-2); }
.wm-dmap .leaflet-control-attribution a, .wm-big .leaflet-control-attribution a { color: inherit; }
.wm-osm { filter: grayscale(1) sepia(.12) brightness(1.08) contrast(.86); } /* only if the grey tiles fail */
.wm-big { height: min(62vh, 560px); border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); margin: 12px 0 8px; background: #e9e9e6; }
/* pins: the same number as the plan and its kind's color; a check once she went */
.wm-pin { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tc); color: #fff; font: 600 13px/1 var(--sans); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(10, 9, 14, .3); transition: transform .18s; }
.wm-pin .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.wm-pin.hi { transform: scale(1.3); }
.wm-pin.prop { background: #fff; color: var(--tc); border: 2px dashed var(--tc); }
.wm-pin.home { width: 30px; height: 30px; background: var(--ink); color: #fff; border-radius: 9px; }
.wm-pin.home .ic { width: 15px; height: 15px; stroke-width: 1.8; }
.wm-pin.sm { width: 22px; height: 22px; font-size: 11px; }
.wm-pin.home.sm { width: 24px; height: 24px; border-radius: 7px; }
.wm-pin.home.sm .ic { width: 13px; height: 13px; }
/* getting there: compare walking, subway and bike */
.wm-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 6px; }
.wm-mode { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.wm-mode b { font-weight: 500; font-size: 14px; }
.wm-mode span { font-size: 12px; color: var(--ink-2); }
.wm-mode[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.wm-mode[aria-pressed="true"] span { color: rgba(255, 255, 255, .8); }
.wm-sub-h { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; margin: 22px 0 6px; }
/* earlier this week: the days already lived, one tap away */
.wm-earlier { margin-top: 18px; }
.wm-earlier > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 4px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.wm-earlier > summary::-webkit-details-marker { display: none; }
.wm-earlier > summary::after { content: "+"; font-family: var(--sans); font-style: normal; font-size: 18px; color: var(--ink-2); margin-left: auto; }
.wm-earlier[open] > summary::after { content: "−"; }
.wm-earlier > summary small { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-2); }
/* phones: a tighter header and row beside the map, so names and titles keep room */
@media (max-width: 699px) {
  .wm-pin.sm { width: 20px; height: 20px; font-size: 10px; }
  .wm-pin.home.sm { width: 22px; height: 22px; border-radius: 6px; }
  .wm-body { grid-template-columns: minmax(0, 1fr) 33%; gap: 10px; }
  .wm-dh { grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 10px; }
  .wm-thumb { width: 34px; height: 34px; border-radius: 10px; }
  .wm-name { font-size: 23px; }
  .wm-tools { gap: 5px; }
  .wm-vbtn { padding: 0 9px; }
  .wm-vbtn .ic { display: none; }
  .wm-body:not(.nomap) .wm-plan { grid-template-columns: 32px 24px minmax(0, 1fr); column-gap: 7px; }
  .wm-body:not(.nomap) .wm-tm { font-size: 13px; }
  .wm-body:not(.nomap) .wm-num { width: 24px; height: 24px; font-size: 11px; }
  .wm-body:not(.nomap) .wm-main b { font-size: 15px; }
  .wm-body:not(.nomap) .wm-plan.k-prop .wm-main b { font-size: 16.5px; }
  .wm-body:not(.nomap) .wm-main small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12.5px; } /* two lines: who's going and where both fit */
  .wm-body:not(.nomap) .wm-leg button { margin-left: 50px; padding-left: 12px; }
}
@media (max-width: 359px) {
  /* the smallest phones: the map goes under the list, so titles keep the full width */
  .wm-body:not(.nomap) { grid-template-columns: minmax(0, 1fr); }
  .wm-body:not(.nomap) .wm-plan { grid-template-columns: 40px 26px minmax(0, 1fr); }
  .wm-mapwrap { height: 160px; min-height: 0; }
  .wm-dh { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 8px; }
  .wm-thumb { width: 28px; height: 28px; border-radius: 8px; }
  .wm-name { font-size: 20px; }
  .wm-vbtn { padding: 0 7px; }
  .wm-tools { gap: 4px; }
}
@media (min-width: 700px) {
  .wm-body { grid-template-columns: minmax(0, 1fr) 44%; gap: 18px; }
  .wm-map { --wm-min: 180px; --wm-max: 340px; }
}
@media (min-width: 980px) { .wm-map { --wm-max: 380px; } }
@media (prefers-reduced-motion: reduce) {
  .wm-num.pop { animation: none; }
  .wm-pin, .wm-plan { transition: none; }
}

/* a place on her own plans (28 Nov 2026): a quiet note after the label */
.ownform .field label small { font-weight: 400; color: var(--ink-2); margin-left: 6px; }

/* the Calendar, 28 Nov 2026: a modest day name with its date; done plans crossed out and folded at the end of the day */
.wm-name { font-size: 20px; display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wm-name small { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-2); letter-spacing: .01em; }
.wm-plan.is-done .wm-main b { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--ink-2); color: var(--ink-2); }
.wm-plan.is-done .wm-main small { color: var(--ink-2); opacity: .8; }
.wm-plan.is-done .wm-tm { opacity: .6; }
.wm-donefold { margin-top: 6px; border-top: 1px solid var(--rule); }
.wm-donefold summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 2px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.wm-donefold summary::-webkit-details-marker { display: none; }
.wm-donefold summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.wm-donefold[open] summary::before { transform: rotate(45deg); }
.wm-donefold summary span { font-variant-numeric: tabular-nums; }
.wm-alldone { font-family: var(--serif); font-style: italic; }
@media (prefers-reduced-motion: reduce) { .wm-donefold summary::before { transition: none; } }
.wm-donefold { margin: 0 0 6px; border-top: 0; border-bottom: 1px solid var(--rule); }
.wm-plan.is-gone { opacity: .62; }
.wm-plan.is-gone:hover, .wm-plan.is-gone:focus-within { opacity: 1; }
/* Games: a visible way in from the Board header, and from a card */
.bd-head { position: relative; }
.bd-gamesbtn { position: absolute; right: 0; bottom: 18px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.bd-gamesbtn:hover { background: var(--ink); color: var(--paper); }
.bd-allgames { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 10px; font-size: 14px; }
/* 29 Nov 2026: one pair of Map and Travel switches for the Calendar; each day's name and date on one line */
.wm-view { display: flex; justify-content: flex-end; gap: 8px; margin: 2px 0 10px; }
.wm-name { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.wm-name small { white-space: nowrap; }
.wm-weekline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.wm-weekline .linkbtn { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; min-height: 32px; padding: 4px 0; }
.ownform input[type="date"] { min-height: 48px; }
.ownform .row3.two { grid-template-columns: 1fr 1fr; }
.ownform input[type="date"] { width: 100%; }
.bs-m + .fine { margin-top: 10px; }
/* Plan my week with Claude */
.bs-ai { margin: 2px 0 8px; }
.bs-ai .chip .ic { margin-right: 4px; }
.bs-claude { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--paper-2); font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.bs-claude .ic { flex: none; margin-top: 2px; fill: var(--gold-lt, #EBCB8B); stroke: var(--gold-2, #8a6c2e); }
.bs-claude small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.okbar.is-busy p b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; border: 1.5px dashed currentColor; animation: bd-spin 1.4s linear infinite; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .okbar.is-busy p b::after { animation: none; } }
.wk-claude { display: flex; align-items: center; gap: 10px; width: calc(100% - 48px); margin: 12px 24px 0; padding: 11px 14px; border-radius: 14px; border: 1.5px dashed var(--rule-2); background: var(--card, #fff); color: var(--ink); text-align: left; }
.wk-claude .ic { flex: none; fill: var(--gold-lt, #EBCB8B); stroke: var(--gold-2, #8a6c2e); }
.wk-claude span { display: grid; gap: 2px; font-size: 14.5px; font-weight: 500; }
.wk-claude small { font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.wk-claude:hover { border-color: var(--ink-2); }

/* ---------- Month: a calendar by default, goals by week as the other view (29 Nov 2026) ---------- */
.mnav { grid-template-columns: 44px minmax(0, 1fr) 44px; padding-top: 10px; }
.mnav h1 small { font-family: var(--sans); font-size: 14px; color: var(--ink-2); font-style: normal; }
.msum { margin: 0 24px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.mmode { justify-content: center; margin: 12px 24px 0; }
.mmode button { min-height: 38px; padding: 0 16px; }
.mcal { padding: 14px 16px 0; }
.mcal-h, .mcal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mcal-h span { text-align: center; font-size: 11px; letter-spacing: .1em; color: var(--ink-2); padding-bottom: 6px; }
.mcal-g { gap: 3px; }
.mc { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 52px; padding: 6px 0 4px; border-radius: 10px; background: var(--card, #fff); color: var(--ink); text-decoration: none; }
.mc.out { background: transparent; color: var(--ink-2); opacity: .45; }
.mc.past .mn { color: var(--ink-2); }
.mc.today { box-shadow: inset 0 0 0 1.5px var(--forest); }
.mc.today .mn { font-weight: 600; }
.mc .mn { font-size: 14px; line-height: 1; font-variant-numeric: tabular-nums; }
.mc .mk { display: flex; gap: 3px; align-items: center; min-height: 8px; }
.mc .mk b { font-size: 10px; font-weight: 500; color: var(--ink-2); }
.mcal i, .mcal-k i, .mlist li::before { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); flex: none; }
.mcal-k i.k-done, .mcal i.k-done { background: var(--forest); box-shadow: 0 0 0 1.5px var(--card, #fff), 0 0 0 2.5px var(--forest); }
.mcal-k i.k-own, .mcal i.k-own { background: transparent; border: 1.5px solid var(--ink); width: 8px; height: 8px; }
.mcal-k i.k-prop, .mcal i.k-prop, .mcal i.k-sug { background: transparent; border: 1.5px dashed var(--forest); width: 8px; height: 8px; }
.mcal-k i.k-goal, .mcal i.k-goal { background: var(--gold-lt, #EBCB8B); border-radius: 1px; transform: rotate(45deg); width: 6px; height: 6px; }
.mcal-k { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 4px 0; font-size: 12px; color: var(--ink-2); }
.mcal-k span { display: inline-flex; align-items: center; gap: 6px; }
.mlist { padding: 22px 24px 0; }
.mlist h2 { font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.mld { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); }
.mld-h { font-size: 12px; color: var(--ink-2); text-decoration: none; padding-top: 2px; }
.mld-h b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.05; color: var(--ink); }
.mld ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mld li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px; align-items: baseline; }
.mld .mt { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mld .mx { font-family: var(--serif); font-size: 17px; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.mld .mx small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.mld li.k-prop .mx, .mld li.k-sug .mx { font-style: italic; }
.mld li.k-done .mx { text-decoration: line-through; text-decoration-color: rgba(28, 42, 34, .35); color: var(--ink-2); }
.mlist-e { margin: 14px 24px 0; font-size: 13px; color: var(--ink-2); }
.mlist li::before { display: none; }
.mc { border: 0; font: inherit; cursor: pointer; }
.mc[aria-pressed="true"] { background: var(--forest); color: var(--on-forest, #fff); }
.mc[aria-pressed="true"] .mn { color: inherit; }
.mc[aria-pressed="true"] i { box-shadow: 0 0 0 1.5px var(--on-forest, #fff); }
.mld.one { grid-template-columns: minmax(0, 1fr); border-top: 0; padding-top: 0; }
.mlist-e0 { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.mlist-a { display: flex; gap: 18px; margin: 12px 0 0; font-size: 14px; }

/* the way into the yes/no cards */
.rv-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: calc(100% - 48px); margin: 12px 24px 0; padding: 12px 14px; border-radius: 14px; background: var(--forest); color: var(--on-forest, #fff); text-align: left; font-size: 14.5px; }
.rv-banner b { font-weight: 600; }
.rv-go { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; opacity: .9; }
/* the yes/no cards */
.rv-k { display: flex; justify-content: space-between; align-items: baseline; }
.rv-undo { font-size: 14px; }
.rv-card { position: relative; margin: 6px 0 0; padding: 0 0 14px; border-radius: 18px; background: var(--card, #fff); box-shadow: 0 1px 0 rgba(28, 42, 34, .06), 0 14px 30px -20px rgba(28, 42, 34, .6); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .2s ease; }
.rv-card[data-lean="yes"] { box-shadow: 0 0 0 2px var(--forest); }
.rv-card[data-lean="no"] { box-shadow: 0 0 0 2px var(--ink-2); }
.rv-ph { display: block; width: 100%; height: 150px; object-fit: cover; }
div.rv-ph { display: flex; align-items: flex-end; padding: 14px 16px; box-sizing: border-box; }
div.rv-ph .cover-word { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.05; }
.rv-when { margin: 14px 16px 0; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.rv-card h2 { margin: 4px 16px 0; font-size: 26px; line-height: 1.12; }
.rv-where { margin: 6px 16px 0; font-size: 14px; color: var(--ink-2); }
.rv-why { display: flex; gap: 6px; align-items: flex-start; margin: 10px 16px 0; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.rv-why .ic { flex: none; margin-top: 2px; fill: var(--gold-lt, #EBCB8B); stroke: var(--gold-2, #8a6c2e); }
.rv-src { display: inline-block; margin: 10px 16px 0; font-size: 14px; }
.rv-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.rv-nowhy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.rv-nowhy .chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
.rv-hint { margin-top: 10px; }
.rv-done { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.rv-done li a { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); text-decoration: none; }
.rv-done li a span { font-family: var(--serif); font-size: 17px; color: var(--ink); }

/* the year ahead: one row a month */
.yahead { padding: 10px 24px 0; }
.yam { display: grid; grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 10px; align-items: start; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--rule); text-align: left; color: var(--ink); }
.yam .ic { align-self: center; color: var(--ink-2); }
.yam-m { font-family: var(--serif); font-size: 22px; line-height: 1.05; }
.yam-m small { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--ink-2); }
.yam.now .yam-m { font-style: italic; }
.yam-x { display: grid; gap: 3px; min-width: 0; font-size: 14.5px; line-height: 1.3; }
.yam-x > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yam-x .k-sug { font-style: italic; color: var(--ink-2); }
.yam-x .k-goal::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 2px 1px; background: var(--gold-lt, #EBCB8B); transform: rotate(45deg); vertical-align: middle; }
.yam-x small { font-size: 12.5px; color: var(--ink-2); }
.yam-none { color: var(--ink-2); }
/* goals across the year */
.ygoals { padding: 12px 16px 0; }
.yg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.yg.hd { border-bottom: 0; padding-bottom: 2px; }
.yg.hd span { text-align: center; font-size: 11px; color: var(--ink-2); }
.yg-n { font-size: 13.5px; line-height: 1.25; padding-right: 6px; }
.yg-n b { font-family: var(--serif); font-weight: 400; }
.yg-n small { display: block; font-size: 11.5px; color: var(--ink-2); }
.yg > span:not(.yg-n) { height: 22px; border-radius: 5px; background: var(--paper-2); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--on-forest, #fff); }
.yg > span.has { background: var(--forest); }
.yg > span.due { box-shadow: inset 0 0 0 2px var(--gold-lt, #EBCB8B); }
.yg.hd > span { background: none; height: auto; color: var(--ink-2); }
.yg > span:not(.yg-n) { height: 20px; }
.yg .yg-n { grid-column: 1 / -1; padding: 0 0 4px; }
.yg.hd > span:first-child { display: none; }

/* ---------- Calendar, simpler (29 Nov 2026, her ask: one +, smaller days, plain marks, maps optional) ---------- */
.ctools { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 16px 0; }
.ct-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card, #fff); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.ct-btn .ic { width: 16px; height: 16px; flex: none; }
.ct-btn.ct-add { background: var(--forest); border-color: var(--forest); color: var(--on-forest, #fff); }
.ct-btn[data-act="suggest"] .ic { fill: var(--gold-lt, #EBCB8B); stroke: var(--gold-2, #8a6c2e); }
.ct-btn[aria-pressed="true"] { background: var(--paper-2); border-color: var(--forest); }
.ct-btn[disabled] { opacity: .65; cursor: default; }
.wknav { grid-template-columns: 44px minmax(0, 1fr) 44px; }
/* a day with plans: a smaller card, no photo, no + of its own */
.wm-day.iday { margin: 8px 0 0; padding: 10px 12px 6px; border-radius: 14px; }
.wm-name { font-size: 20px; }
.wm-body { margin-top: 6px; }
.wm-todo { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 2px 0 2px 4px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.wm-todo:hover { color: var(--ink); }
.of-hint { min-height: 18px; margin: 6px 0 0; font-size: 13.5px; color: var(--forest); }
.of-hint:empty { display: none; }
/* the cards come in like a deal */
.rv-card { animation: rv-in .3s cubic-bezier(.16, 1, .3, 1); }
@keyframes rv-in { from { transform: translateY(16px) rotate(-1.5deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rv-card { animation: none; } }
.ct-btn.ct-rv { border-color: var(--forest); }
.ct-btn.ct-rv b { font-weight: 600; }
.mnav h1 small { font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--ink-2); }
.wm-asked, .wm-none { margin: 10px 4px 0; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); }
.bs-act .btn .ic.s { margin-right: 4px; }
input[type="time"], input[type="date"] { min-height: 48px; }

/* the Day page: tap its name to pick any day (29 Nov 2026) */
.dpick { position: relative; display: block; cursor: pointer; min-width: 0; }
.dpick h1 small .ic { width: 13px; height: 13px; margin-left: 5px; vertical-align: -1px; }
.dpick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; }
.dpick:has(input:focus-visible) h1 { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: 2px; }

/* repeating plans (29 Nov 2026) */
.ownform .own-until[hidden] { display: none; }
.own-scope { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.own-scope legend { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; width: 100%; }
.own-scope label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--ink); cursor: pointer; }
.own-scope input { width: 18px; height: 18px; accent-color: var(--forest); }
.bs-ask { margin-top: 6px; }
.bs-ask .linkbtn { margin-top: 10px; }
.yam-x2 { font-style: normal; font-size: 12px; color: var(--ink-2); margin-left: 2px; }

/* Suggest: just pick for me, or guide it (29 Nov 2026) */
.sguide { margin-top: 22px; padding-top: 4px; border-top: 1px solid var(--rule-2); }
.sg-n { border: 0; padding: 0; margin: 12px 0 0; }
.sg-n legend { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.sg-segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sg-segs label { position: relative; }
.sg-segs input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sg-segs span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); font-size: 14px; color: var(--ink); }
.sg-segs input:checked + span { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.sg-segs input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 2px; }
.sguide .btn { width: 100%; margin-top: 16px; }
.sguide .field small { font-size: 12px; color: var(--ink-2); margin-left: 4px; }

/* Discover: how many match, and check again (29 Nov 2026) */
.dcount { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }
.dsub .linkbtn { font-size: 13px; }
.dcount { padding: 0 20px; }
.dsub .linkbtn { display: inline-block; min-height: 0; padding: 8px 0; margin: -8px 0; line-height: 1.45; }
/* ===== games on the Board (29 Nov 2026) ===== */
/* game tiles: their own quiet color, a game piece, a name, one line, a play mark */
.gm-h { margin-top: 14px; }
.gm-tiles { display: grid; gap: 8px; margin: 8px 0 14px; }
.gm-tiles.gm-two { grid-template-columns: 1fr 1fr; }
.gm-tile { --t: var(--forest); --tb: #e7efe9; position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; min-height: 64px; padding: 12px 34px 12px 12px; border-radius: 16px; background: var(--tb); color: var(--ink); text-align: left; transition: transform .12s, box-shadow .15s; }
.gm-two .gm-tile { grid-template-columns: 1fr; align-items: start; min-height: 112px; padding: 14px 14px 14px; }
.gm-tile:hover { box-shadow: 0 10px 22px -16px rgba(23, 21, 31, .55); }
.gm-tile:active { transform: scale(.98); }
.gm-piece { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--t); color: var(--on-forest); }
.gm-ic { width: 22px; height: 22px; }
.gm-tx b { display: block; font: italic 400 19px/1.15 var(--serif); }
.gm-tx small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.gm-play { position: absolute; right: 10px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--t); color: var(--on-forest); }
.gm-play .ic { width: 11px; height: 11px; fill: currentColor; }
.gm-clock { --t: var(--forest); --tb: #e4ede7; }
.gm-two-x, .gm-two { }
.gm-tile.gm-two { --t: #9a5b13; --tb: #f5ead8; }
.gm-tiny { --t: #7b3b5a; --tb: #f3e3ea; }
.gm-flip { --t: #8a6c2e; --tb: #f4ecd8; }
.gm-spin { --t: #2b4a7a; --tb: #e3e9f3; }
.gm-power { --t: #a23b2a; --tb: #f6e2dd; }
/* a saved timer on a card */
.bd-clockchip { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 10px 14px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--forest); color: var(--on-forest); font-size: 12.5px; font-weight: 500; }
.bd-clockchip .gm-ic { width: 16px; height: 16px; } .bd-clockchip .ic { width: 10px; height: 10px; fill: currentColor; }
/* select several */
.bd-selctl { margin-left: auto; display: flex; gap: 14px; }
.bd-selbtn { font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.bd-card.is-selecting { position: relative; grid-template-columns: minmax(0, 1fr); }
.bd-card.is-selecting .bd-t { grid-column: 1; padding-left: 50px; padding-right: 14px; }
.bd-tick { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--rule-2); display: grid; place-items: center; color: var(--on-forest); }
.bd-card.is-picked { box-shadow: inset 0 0 0 2px var(--forest), 0 8px 18px -14px rgba(28, 42, 34, .5); }
.bd-card.is-picked .bd-tick { background: var(--forest); border-color: var(--forest); }
.bd-card.is-picked .bd-tick .ic { width: 13px; height: 13px; }
.bd-selbar { position: fixed; left: 0; right: 0; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; padding: 0 12px; pointer-events: none; }
.bd-selbar.is-new { animation: bd-up .28s cubic-bezier(.16,1,.3,1); }
.bd-selbar-in { pointer-events: auto; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--card); box-shadow: 0 18px 40px -18px rgba(23, 21, 31, .55), inset 0 0 0 1px var(--rule); }
.bd-selbar p { margin: 0; font-size: 14px; } .bd-selbar p b { font: italic 400 22px/1 var(--serif); margin-right: 2px; }
.bd-selbar .linkbtn { font-size: 13.5px; margin-left: 8px; }
.bd-selbar .btn { width: auto; display: inline-flex; align-items: center; gap: 8px; } .bd-selbar .btn .gm-ic { width: 18px; height: 18px; }
.bd-selbar .btn[disabled] { opacity: .4; }
@keyframes bd-up { from { transform: translateY(20px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bd-selbar.is-new { animation: none; } }
/* the multi sheet */
.gm-sel { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gm-sel li { padding: 4px 10px; border-radius: 999px; background: var(--paper-2); font: italic 400 15px/1.3 var(--serif); }
.gm-sel .gm-more { font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.gm-queue { margin: 6px 0 10px; padding-left: 22px; display: grid; gap: 4px; font: italic 400 17px/1.3 var(--serif); }
.gm-stopwatch { display: flex; align-items: center; gap: 12px; margin: 10px 0 2px; color: var(--forest); }
.gm-stopwatch .gm-ic { width: 44px; height: 44px; } .gm-stopwatch b { font: italic 400 44px/1 var(--serif); letter-spacing: -.02em; }
.gm-mins { margin-bottom: 4px; } .gm-note { margin-top: 8px; }
/* the wheel */
.gm-wheelbox { position: relative; width: min(280px, 78vw); margin: 10px auto 6px; aspect-ratio: 1; }
.gm-wheel { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 16px 36px -20px rgba(23, 21, 31, .7), 0 0 0 6px var(--on-forest), 0 0 0 7px var(--rule-2); }
.gm-pointer { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid #a23b2a; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.gm-wl { font: 500 8px/1 var(--sans); fill: var(--on-forest); }
.gm-wl.is-dark { fill: var(--forest); }

/* the stage: Beat the clock, Power hour */
body.pl-open { overflow: hidden; }
.pl-stage { position: fixed; inset: 0; z-index: 200; background: radial-gradient(120% 80% at 50% 0%, #24513f 0%, var(--forest) 55%, #12291f 100%); color: var(--on-forest); display: grid; place-items: center; animation: pl-in .3s cubic-bezier(.16,1,.3,1); }
@keyframes pl-in { from { opacity: 0; transform: scale(1.02); } }
.pl-in { width: min(420px, 100%); padding: 22px 22px calc(28px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 14px; text-align: center; }
.pl-top { width: 100%; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(235, 203, 139, .45); padding-bottom: 10px; }
.pl-k { font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 250, 240, .75); }
.pl-x { width: 40px; height: 40px; border-radius: 50%; color: var(--on-forest); font-size: 16px; }
.pl-task { margin: 4px 0 0; font: italic 400 32px/1.1 var(--serif); letter-spacing: -.01em; color: var(--on-forest); max-width: 16ch; }
.pl-ring { position: relative; width: min(260px, 70vw); aspect-ratio: 1; }
.pl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pl-bg { fill: none; stroke: rgba(255, 250, 240, .14); stroke-width: 10; }
.pl-fg { fill: none; stroke: var(--on-forest); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.pl-read { position: absolute; inset: 0; display: grid; place-content: center; }
.pl-time { font: 400 64px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pl-read small { margin-top: 6px; font-size: 13px; color: rgba(255, 250, 240, .7); }
.pl-stage.is-last .pl-fg { stroke: #f4a7bd; } .pl-stage.is-last .pl-time { color: #f4a7bd; }
.pl-ctl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pl-ctl button, .pl-three button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 250, 240, .35); color: var(--on-forest); font-size: 14px; }
.pl-ctl button[aria-pressed="false"] { opacity: .6; }
.pl-done { min-height: 56px; width: 100%; max-width: 320px; border-radius: 999px; background: var(--on-forest); color: var(--forest); font: 600 17px/1 var(--sans); letter-spacing: .02em; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.pl-done:active { transform: scale(.98); }
.pl-tip { margin: 0; font-size: 12.5px; color: rgba(255, 250, 240, .6); }
.pl-end { gap: 18px; padding-top: 22px; }
.pl-stamp { margin: 28px 0 0; padding: 11px 18px; border: 2px solid var(--on-forest); outline: 2px solid #c93b62; border-radius: 10px; background: #c93b62; font: 600 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--on-forest); transform: rotate(-3deg); box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); }
.pl-pop { animation: pl-stamp .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes pl-stamp { from { transform: rotate(-3deg) scale(1.8); opacity: 0; } }
.pl-acts { display: grid; gap: 10px; width: 100%; justify-items: center; }
.pl-three { display: grid; gap: 10px; width: 100%; max-width: 320px; justify-items: stretch; margin: 0 auto; }
.pl-link { color: rgba(255, 250, 240, .8); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; min-height: 40px; }
@media (prefers-reduced-motion: reduce) { .pl-stage, .pl-pop { animation: none; } .pl-fg { transition: none; } }
.gm-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .gm-go .gm-ic { width: 20px; height: 20px; }
.gm-again { text-align: center; margin: 10px 0 0; } .gm-again .linkbtn { font-size: 14px; min-height: 40px; }
.pl-sum { margin: 0 0 4px; font: italic 400 20px/1.3 var(--serif); color: rgba(255, 250, 240, .85); }
.bd-selspace { height: 96px; }

/* Beat the clock on a card, the win, the break */
/* Beat the clock is the big thing on a card: minutes and Start, two taps from the Board */
.gm-hero { display: grid; gap: 12px; margin: 14px 0 10px; padding: 16px; border-radius: 20px; background: var(--forest); color: var(--on-forest); }
.gm-hero-h { display: flex; align-items: center; gap: 12px; }
.gm-hero .gm-piece { background: rgba(255, 250, 240, .12); color: var(--on-forest); }
.gm-hero h3 { margin: 0; font: italic 400 24px/1.1 var(--serif); color: var(--on-forest); }
.gm-hero-h p { margin: 2px 0 0; font-size: 13px; color: rgba(255, 250, 240, .75); }
.gm-hero .gm-mins { display: flex; align-items: center; gap: 6px; margin: 0; }
.gm-min { flex: 1 1 0; min-width: 0; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 250, 240, .35); color: var(--on-forest); font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.gm-min[aria-pressed="true"] { background: var(--on-forest); color: var(--forest); border-color: var(--on-forest); }
.gm-unit { font-size: 13px; color: rgba(255, 250, 240, .7); margin-left: 2px; }
.gm-start { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; background: var(--on-forest); color: var(--forest); font: 600 17px/1 var(--sans); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .6); }
.gm-start .ic { width: 12px; height: 12px; fill: currentColor; }
.gm-start:active { transform: scale(.98); }
.gm-attach { justify-self: center; min-height: 36px; font-size: 13.5px; color: rgba(255, 250, 240, .85); text-decoration: underline; text-underline-offset: 3px; }
/* the other three, small, in one row */
.gm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.gm-mini { --t: var(--forest); --tb: #e4ede7; display: grid; align-content: start; justify-items: start; gap: 8px; min-height: 92px; padding: 12px; border-radius: 14px; background: var(--tb); color: var(--ink); text-align: left; }
.gm-mini .gm-piece { width: 32px; height: 32px; border-radius: 10px; }
.gm-mini .gm-ic { width: 18px; height: 18px; }
.gm-mini b { font: italic 400 16px/1.2 var(--serif); }
.gm-mini:active { transform: scale(.98); }
.gm-mini.gm-two { --t: #9a5b13; --tb: #f5ead8; }

/* the win: where it went, and what's next */
.pl-meta { margin: -6px 0 0; font-size: 14px; color: rgba(255, 250, 240, .75); }
.pl-next { display: grid; justify-items: center; gap: 4px; width: 100%; max-width: 320px; padding-top: 14px; border-top: 1px solid rgba(255, 250, 240, .18); }
.pl-next small { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 250, 240, .65); }
.pl-next b { font: italic 400 24px/1.2 var(--serif); }
.pl-alt { min-height: 52px; width: 100%; max-width: 320px; border-radius: 999px; border: 1.5px solid rgba(255, 250, 240, .6); color: var(--on-forest); font: 600 16px/1 var(--sans); }
.pl-links { display: flex; justify-content: center; gap: 22px; margin: 0; }
/* steps on the clock */
.pl-step { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 320px; padding: 10px 16px 10px 12px; border-radius: 14px; background: rgba(255, 250, 240, .08); border: 1px solid rgba(255, 250, 240, .2); color: var(--on-forest); text-align: left; margin: 0; }
.pl-step i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255, 250, 240, .8); display: grid; place-items: center; font-style: normal; font-size: 14px; }
.pl-step span { font-size: 16px; line-height: 1.3; } .pl-step small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 250, 240, .65); margin-bottom: 2px; }
.pl-step.is-all i { background: var(--on-forest); color: var(--forest); border-color: var(--on-forest); }
/* the break: light and quiet */
.pl-stage.is-break { background: #F7F3EA; color: #1C2A22; }
.pl-stage.is-break .pl-k, .pl-stage.is-break .pl-read small, .pl-stage.is-break .pl-tip, .pl-stage.is-break .pl-next small { color: #566056; }
.pl-stage.is-break .pl-x, .pl-stage.is-break .pl-task, .pl-stage.is-break .pl-link { color: #1C2A22; }
.pl-stage.is-break .pl-task { font-size: 28px; }
.pl-stage.is-break .pl-bg { stroke: rgba(28, 42, 34, .1); }
.pl-stage.is-break .pl-fg { stroke: #8CA884; }
.pl-stage.is-break .pl-next { border-top-color: rgba(28, 42, 34, .13); }
.pl-stage.is-break .pl-done { background: var(--forest); color: var(--on-forest); }
.gm-mini.gm-tiny { --t: #7b3b5a; --tb: #f3e3ea; } .gm-mini.gm-flip { --t: #8a6c2e; --tb: #f4ecd8; }

/* all 26 games, inside the card */
.gx-more { margin: 4px 0 14px; border-top: 1px solid var(--rule); }
.gx-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; font: italic 400 19px/1.2 var(--serif); color: var(--ink); text-align: left; }
.gx-n { font: 500 12px/1 var(--sans); padding: 4px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.gx-toggle .ic { margin-left: auto; width: 14px; height: 14px; transition: transform .2s; }
.gx-more.is-open .gx-toggle .ic { transform: rotate(90deg); }
.gx-list { display: grid; gap: 14px; padding: 2px 0 6px; }
.gx-q { margin: 0; font-size: 13px; color: var(--ink-2); }
.gx-feel h4 { margin: 0 0 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gx-games { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-g { min-height: 38px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font: italic 400 15.5px/1.2 var(--serif); color: var(--ink); text-align: left; }
.gx-g:hover { border-color: var(--ink); }
.gx-g:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .gx-toggle .ic { transition: none; } }
/* the panel a game plays in, over the card */
dialog.gx { position: fixed; inset: 0; width: min(100%, 640px); max-width: none; height: 100dvh; max-height: none; margin: 0 auto; padding: 0; border: 0; background: var(--paper); display: flex; flex-direction: column; animation: gx-in .28s cubic-bezier(.16,1,.3,1); }
dialog.gx::backdrop { background: rgba(23, 21, 31, .45); }
@keyframes gx-in { from { transform: translateY(24px); opacity: 0; } }
.gx-top { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; border-bottom: 1px solid var(--rule); background: var(--card); }
.gx-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px 0 4px; font: 500 15px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.gx-back .ic { width: 14px; height: 14px; }
.gx-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic 400 16px/1.2 var(--serif); color: var(--ink-2); }
.gx-frame { flex: 1; width: 100%; border: 0; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { dialog.gx { animation: none; } }

/* a game plays right where she picks it */
.gx-g[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.gm-mini[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--t); }
.gx-inline { margin: 10px 0 4px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2), 0 14px 30px -24px rgba(23, 21, 31, .6); overflow: hidden; animation: gx-open .3s cubic-bezier(.16,1,.3,1); scroll-margin-top: 12px; }
@keyframes gx-open { from { opacity: 0; transform: translateY(-6px); } }
.gx-inline-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--rule); }
.gx-inline-h b { font: italic 400 19px/1.2 var(--serif); }
.gx-close { min-height: 36px; padding: 0 12px; border-radius: 999px; font: 500 13.5px/1 var(--sans); color: var(--ink-2); }
.gx-close:hover { color: var(--ink); background: var(--paper-2); }
.gx-iframe { display: block; width: 100%; height: 480px; border: 0; background: transparent; }
.gx-loading { margin: 0; padding: 40px 16px; text-align: center; font-size: 14px; color: var(--ink-2); }
.gx-small { padding-bottom: 14px; }
.gx-small > :not(.gx-inline-h) { margin-left: 16px; margin-right: 16px; }
.gx-small .bd-chips { margin-top: 12px; }
.gx-small .bd-coinbox { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .gx-inline { animation: none; } }
/* the timer scrolls on a small or sideways phone, or with large text, so Done! and ✕ are always reachable */
.pl-stage { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding-top: env(safe-area-inset-top); }
.pl-stage > .pl-in { margin: auto; }

/* the week, days side by side (29 Nov 2026) */
.wkmode { margin-top: 16px; }
.wgrid { --hour: 40px; --gut: 28px; margin: 14px 12px 0; }
.wg-head { display: grid; grid-template-columns: var(--gut) repeat(7, minmax(0, 1fr)); gap: 0 2px; position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 6px 0; }
.wg-d { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0; min-height: 44px; justify-content: center; border-radius: 10px; color: var(--ink); text-decoration: none; }
.wg-d b { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.wg-d span { font-size: 17px; font-variant-numeric: tabular-nums; }
.wg-d.today { background: var(--forest); color: var(--on-forest); }
.wg-d.today b { color: var(--on-forest); }
.wg-d.past { opacity: .55; }
.wg-body { display: grid; grid-template-columns: var(--gut) repeat(7, minmax(0, 1fr)); gap: 0 2px; height: calc(var(--rows) * var(--hour));
  background: repeating-linear-gradient(to bottom, var(--rule-2) 0 1px, transparent 1px var(--hour)); background-position: 0 0; }
.wg-times { display: grid; grid-template-rows: repeat(var(--rows), var(--hour)); }
.wg-times span { font-size: 10px; color: var(--ink-2); transform: translateY(-6px); background: var(--paper); line-height: 1; padding-right: 2px; justify-self: start; }
.wg-col { position: relative; border-left: 1px solid var(--rule); }
.wg-col.today { background: color-mix(in srgb, var(--forest) 6%, transparent); }
.wg-col.past .wg-ev { opacity: .6; }
.wg-ev { position: absolute; display: flex; flex-direction: column; align-items: stretch; gap: 1px; padding: 3px 3px 2px; overflow: hidden; text-align: left;
  border-radius: 6px; background: var(--tw, var(--card)); border: 0; border-left: 3px solid var(--tc, var(--ink)); color: var(--ink); box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--paper); min-height: 22px; }
.wg-ev .wg-t { display: flex; align-items: center; gap: 2px; font-size: 9.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wg-ev .wg-t i { font-style: normal; font-size: 9px; min-width: 13px; height: 13px; border-radius: 50%; background: var(--tc, var(--ink)); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.wg-ev .wg-t .ic { width: 11px; height: 11px; }
.wg-ev .wg-n { font-size: 11px; line-height: 1.2; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.wg-ev.k-prop { background: var(--card); border: 1.5px dashed var(--tc, var(--forest)); }
.wg-ev.k-own, .wg-ev.k-ext { background: var(--card); border: 1px solid var(--ink); border-left-width: 3px; }
.wg-ev.k-ext { border-color: var(--rule-2); color: var(--ink-2); }
.wg-ev.is-done .wg-n { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .35); }
.wg-ev:focus-visible { outline: 2px solid var(--forest); outline-offset: 1px; z-index: 1; }
.wg-none { font-size: 14px; color: var(--ink-2); margin: 14px 4px 0; }
.wg-k { margin-top: 14px; }
@media (min-width: 900px) {
  .wgrid { --hour: 52px; --gut: 44px; margin: 18px 0 0; }
  .wg-times span { font-size: 12px; }
  .wg-ev { padding: 5px 6px; }
  .wg-ev .wg-t { font-size: 11.5px; }
  .wg-ev .wg-n { font-size: 13.5px; }
  .wg-d b { font-size: 12px; }
  .wg-d span { font-size: 20px; }
}
/* overlapping plans: on a phone the later one sits a little to the right, over the earlier one, so both keep words whole;
   on a computer they share the column side by side */
.wg-ev { left: calc(var(--lane, 0) * 9px); width: calc(100% - var(--lane, 0) * 9px); }
.wg-ev[style*="--lane:0"] + .wg-ev { z-index: 1; }
.wg-ev:not([style*="--lane:0"]) { z-index: 1; box-shadow: -2px 0 0 var(--paper), 0 0 0 1px var(--paper); }
.wgrid { margin: 14px 6px 0; --gut: 24px; }
.wg-times span { transform: translateY(2px); }
.wg-ev .wg-n { font-size: 10.5px; word-break: normal; }
@media (min-width: 900px) {
  .wgrid { margin: 18px 0 0; --gut: 44px; }
  .wg-ev { left: calc(var(--lane, 0) / var(--of, 1) * 100%); width: calc(100% / var(--of, 1)); }
  .wg-ev .wg-n { font-size: 13.5px; }
}
/* a word too long for a phone column is cut at the edge (or hyphenated), never split letter by letter */
.wg-ev .wg-n { overflow-wrap: normal; word-break: keep-all; }

/* Appearance on the profile (29 Nov 2026) */
.look-segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.look-segs button { width: 100%; }
.look-note { margin-top: 10px; }
/* ---------- Goals: list rows, next step with a day, Still yours? (29 Nov 2026) ---------- */
.gnext { font-size: 13.5px; line-height: 1.4; color: var(--ink); margin-top: 4px; }
.gnext .linkbtn { font-size: 13.5px; }
.gnext.is-done { color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.gdl { display: flex; flex-wrap: wrap; gap: 6px; }
.gstill { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); font-size: 14.5px; line-height: 1.45; }
.gstill p { margin: 0; }
.gstill-t { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 6px 0 10px !important; }
.gstill-b { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gstill-b .btn, .gstill .row2 .btn { width: auto; }
.gstill textarea, .bs textarea#gn-t, .bs textarea#gg-t, .bs textarea#gq-a { width: 100%; margin: 6px 0 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--card); font: italic 400 18px/1.3 var(--serif); color: var(--ink); resize: none; }
.gs-goal { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }
.gs-segs { margin: 10px 0 12px; }
.gs-segs button[aria-pressed="true"], .gs-often .segs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gs-often { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; flex-wrap: wrap; }
.gs-often b { font-family: var(--serif); font-size: 26px; min-width: 22px; text-align: center; }
.gs-often .segs { margin-top: 0; }
.gs-look { margin-top: 18px; }
.gw-h { display: block; margin: 12px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gwhen .chips { margin-bottom: 8px; }
.gwhen input { min-height: 44px; margin: 0 0 8px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--rule-2); background: var(--card); font: inherit; }
.bs-foot .why { position: relative; top: auto; right: auto; }
.gdl { align-items: center; column-gap: 16px; }
.gdl .gby-b { display: inline-flex; width: auto; }
/* the Goals page: her list, Add a goal, Need ideas? */
.gstat { margin-top: 4px; }
.gstat-b { font: inherit; font-size: 13.5px; line-height: 1.35; color: var(--forest, var(--ink)); text-align: left; padding: 4px 0; }
.gstat-b:hover { text-decoration: underline; text-underline-offset: 3px; }
.gfoot { margin: 14px 0 0; }
.gfoot .linkbtn { font-size: 14px; color: var(--ink-2); }
.gwants { font-size: 13px; }
.gc-end { display: flex; justify-content: space-between; margin: 10px 0 0; }
.gc-end .linkbtn { font-size: 14px; }
/* add a goal: a button by the title, and Add on the line itself */
.gtitle { align-items: center; }
.gaddtop { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 500; color: var(--ink); }
.gaddtop:hover { background: var(--ink); color: var(--paper); }
.gnew-t { display: flex; align-items: center; gap: 10px; }
.gnew-t textarea { flex: 1; min-width: 0; }
.gadd-b { width: auto; flex: none; }

/* ---------- the goal page (29 Nov 2026) ---------- */
.gv { padding-bottom: 6px; }
.gv-k { display: flex; align-items: center; gap: 8px; }
.gv-title { margin: 6px 0 0; }
.gv-title button { font: italic 400 32px/1.08 var(--serif); letter-spacing: -.015em; color: var(--ink); text-align: left; padding: 0; }
.gv-tin { width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--card); font: italic 400 24px/1.2 var(--serif); color: var(--ink); resize: none; }
.gv-smart { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; flex-wrap: wrap; }
.gv-smart .why { position: relative; top: auto; right: auto; margin-left: -8px; }
.gv-letters { display: flex; gap: 6px; }
.gv-letters span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 12.5px/1 var(--sans); letter-spacing: .04em; color: var(--ink-2); border: 1.5px solid var(--rule-2); background: transparent; transition: background-color .25s, color .25s, border-color .25s; }
.gv-letters span.on { background: var(--forest, var(--forest)); border-color: var(--forest, var(--forest)); color: #fff; }
.gv-smart .linkbtn { font-size: 14px; }
.gv-check { list-style: none; margin: 8px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); display: grid; gap: 12px; }
.gv-check li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.gv-cl { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--sans); border: 1.5px solid var(--rule-2); color: var(--ink-2); }
.gv-check li.on .gv-cl { background: var(--forest, var(--forest)); border-color: var(--forest, var(--forest)); color: #fff; }
.gv-check b { font-size: 14px; font-weight: 600; }
.gv-check p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.gv-check p small { display: block; color: var(--ink-2); font-size: 12.5px; }
.gv-check .linkbtn { font-size: 13.5px; margin-top: 2px; }
.gv-check .chips { margin-top: 6px; }
.gv-rows { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.gv-row { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.gv-lh { display: flex; align-items: center; gap: 2px; }
.gv-lh .why { position: relative; top: auto; right: auto; }
.gv-l { font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gv-v { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 4px; padding: 2px 0; text-align: left; color: var(--ink); }
.gv-v span { font: italic 400 20px/1.25 var(--serif); }
.gv-v .gv-add { font: 400 15px/1.35 var(--sans); color: var(--ink-2); }
.gv-v .ic { flex: none; color: var(--ink-2); opacity: .6; }
.gv-row.is-open { background: var(--card); margin: 0 -14px; padding: 12px 14px 14px; border-radius: 14px; border-bottom-color: transparent; box-shadow: inset 0 0 0 1px var(--rule); }
.gv-q { margin: 6px 0 10px; font: italic 400 22px/1.2 var(--serif); color: var(--ink); }
.gv-in, .gv-date { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--paper); font: italic 400 18px/1.2 var(--serif); color: var(--ink); }
.gv-date { font: 400 16px/1 var(--sans); }
.gv-sub { display: block; margin: 10px 0 6px; font-size: 13px; color: var(--ink-2); }
.gv-chips { margin-bottom: 8px; }
.gv-act { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.gv-act .btn { width: auto; }
.gv-act .linkbtn { font-size: 14px; color: var(--ink-2); }
.gv-note { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gv-opts { display: grid; gap: 8px; }
.gv-opt { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--rule-2); background: var(--paper); color: var(--ink); position: relative; }
.gv-opt b { font: italic 400 19px/1.2 var(--serif); }
.gv-opt small { font-size: 13px; color: var(--ink-2); }
.gv-opt i { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest, var(--forest)); }
.gv-opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.gv .gwhen { margin-top: 10px; }
.gv .gc-end { margin-top: 16px; }
.gv-row.is-open .gv-q { margin: 0 0 10px; }
.gv-row.is-open .gv-lh { align-items: flex-start; }
.gv-lh .why-pop { right: auto; left: -8px; }
.gv-lh .why-pop::before { right: auto; left: 18px; }

/* the goal page: compact kind row, one calendar, your person, tips, Make it SMART */
/* kind of goal: one compact row */
.gv-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: var(--paper-2); gap: 3px; }
.gv-seg button { min-height: 40px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.gv-seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(23, 21, 31, .12), inset 0 0 0 1px var(--rule); }
.gv-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
/* by when: one easy calendar */
.gv-cal { margin-top: 2px; }
.gv-cal-h { display: flex; align-items: center; justify-content: space-between; }
.gv-cal-h b { font: italic 400 20px/1 var(--serif); }
.gv-cal-h .xbtn[disabled] { opacity: .25; }
.gv-cal-y { display: flex; gap: 6px; margin: 8px 0 10px; }
.gv-cal-y button { flex: 1; min-height: 34px; border-radius: 999px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--rule-2); }
.gv-cal-y button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gv-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.gv-cal-g i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); padding: 4px 0; }
.gv-cal-g button { aspect-ratio: 1; min-height: 38px; border-radius: 50%; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
.gv-cal-g button:hover:not([disabled]) { background: var(--paper-2); }
.gv-cal-g button[disabled] { color: var(--ink-2); opacity: .35; }
.gv-cal-g button.is-today { box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.gv-cal-g button.is-sel { background: var(--ink); color: var(--paper); }
/* make it SMART */
.gv-smartgo { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 2px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; }
.gv-smartgo .ic { fill: var(--gold-lt, #EBCB8B); stroke: var(--gold-lt, #EBCB8B); }
.gv-card { margin: 10px 0 4px; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule), 0 10px 24px -18px rgba(23, 21, 31, .5); font-size: 14.5px; line-height: 1.45; }
.gv-card p { margin: 0; }
.gv-ck { margin: 10px 0 4px !important; font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gv-ck:first-child { margin-top: 0 !important; }
.gv-version { font: italic 400 22px/1.25 var(--serif); color: var(--ink); }
.gv-tl, .gv-ql { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.gv-ql { list-style: none; padding: 0; }
.gv-ql li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.gv-ql .linkbtn { font-size: 13.5px; flex: none; }
/* your person, and tips */
.gv-askthem { width: auto; margin-top: 12px; }
.gv-tips { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 10px; }
.gv-tips summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-size: 14.5px; font-weight: 500; }
.gv-tips ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 10px; font-size: 14px; line-height: 1.45; }
.gv-tips small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }

/* ---------- Home: hold a card to move it (29 Nov 2026) ---------- */
.hm-grid > .hm.is-wide { grid-column: 1 / -1; }
.hm-grid > .hm.is-half { grid-column: auto; grid-row: auto; min-height: 132px; }
@media (min-width: 700px) {
  .hm-grid > .hm.is-wide { grid-column: span 2; }
  .hm-grid > .hm.hm-disc.is-wide { grid-row: span 2; }
}
.hm-grid .hm { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.hm-grid .hm.is-lifted { box-shadow: 0 18px 40px rgba(23, 21, 31, .26); z-index: 6; cursor: grabbing; transition: box-shadow .18s ease; pointer-events: none; }
.hm-grid.is-moving { cursor: grabbing; }
.hm-grid:not(.is-moving) .hm { cursor: grab; }
.hm-grid.is-moving .hm:not(.is-lifted) { opacity: .72; }
.hm-grid .hm.just-moved { animation: hm-moved .6s ease-out; }
@keyframes hm-moved { 0% { box-shadow: 0 0 0 0 rgba(23, 21, 31, .3); } 100% { box-shadow: 0 0 0 10px rgba(23, 21, 31, 0); } }
.hm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 14px; margin: 10px 4px 0; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.hm-foot .linkbtn { font-size: 12.5px; min-height: 32px; padding: 4px 2px; color: var(--ink-2); }
.hm-menu { display: grid; gap: 8px; margin-top: 14px; }
.hm-menu button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font-size: 16px; text-align: left; }
.hm-menu button[disabled] { opacity: .4; }
.hm-menu .ic { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .hm-grid .hm, .hm-grid .hm.just-moved { transition: none; animation: none; } }
/* her order, exactly: no packing on a phone; a half card on its own fills the row */
.hm-grid { grid-auto-flow: row; }
.hm-grid > .hm.is-half.is-alone { grid-column: 1 / -1; }
@media (min-width: 700px) { .hm-grid { grid-auto-flow: row dense; } .hm-grid > .hm.is-half.is-alone { grid-column: auto; } }

/* the grid: choose the days, and the week's map underneath (29 Nov 2026) */
.wg-head, .wg-body { grid-template-columns: var(--gut) repeat(var(--cols, 7), minmax(0, 1fr)); }
.wg-days { justify-content: center; margin: 10px 12px 0; gap: 6px; }
.wg-days button { min-height: 36px; padding: 0 12px; font-size: 13px; }
.wg-3nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: 8px 12px 0; text-align: center; font-size: 14px; color: var(--ink-2); }
.wg-map { margin: 22px 12px 0; }
.wg-map h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; display: flex; align-items: baseline; gap: 8px; }
.wg-map h2 small { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-2); }
.wg-map .wm-mapwrap { position: relative; top: 0; height: 240px; min-height: 0; max-height: none; margin-top: 10px; }
.wg-map .fine { margin-top: 8px; }
.wg-ev.wm-flash { outline: 2px solid var(--forest); outline-offset: 1px; z-index: 3; }
@media (min-width: 900px) { .wg-map .wm-mapwrap { height: 360px; } .wg-map, .wg-days, .wg-3nav { margin-left: 0; margin-right: 0; } }

/* suggestions on the calendar: dashed like proposals, with a star, until approved or skipped */
.wm-plan.k-sug .wm-num { background: var(--card); color: var(--tc, var(--ink)); border: 2px dashed var(--tc, var(--ink)); }
.wm-plan.k-sug .wm-main b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }
.wg-ev.k-sug { background: var(--card); border: 1.5px dashed var(--tc, var(--forest)); }
.wg-ev.k-sug .wg-t .ic { color: var(--gold, #b8923a); }

/* the price, said before approving */
.sg-price { margin-top: 10px; font-size: 18px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.sg-price.unk { font-size: 15px; font-weight: 400; color: var(--ink-2); }
.sg-price small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; font-weight: 400; }
.rv-card .sg-price { margin-top: 6px; }
.rv-hide { margin-top: 6px; }
.rv-card .sg-price { margin: 8px 16px 0; }

/* ---------- the calendar, like a phone calendar (29 Nov 2026): one header row, the path up, a day's week strip ---------- */
#app.cal { touch-action: pan-y pinch-zoom; } /* a sideways swipe goes to the next or last day, week or month */
.calhead { display: flex; align-items: center; gap: 8px; padding: 12px 14px 4px 14px; }
.calhead .me { margin-left: 0; flex: none; }
.calhead .tag { font-size: 11px; color: var(--ink-2); letter-spacing: .1em; }
.ctrail { display: flex; align-items: center; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; color: var(--forest); font-size: 15px; }
.ctrail .ic { width: 20px; height: 20px; flex: none; margin-left: -4px; }
.ctrail button { min-height: 44px; padding: 0 3px; font-weight: 500; color: var(--forest); }
.ctrail button:hover { text-decoration: underline; text-underline-offset: 3px; }
.ctrail i { font-style: normal; color: var(--rule-2); padding: 0 2px; }
.calplus { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--on-forest); display: grid; place-items: center; }
.calplus .ic { width: 20px; height: 20px; }
/* the week's seven days on a day: tap one to go to it */
.dstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 6px 12px 2px; }
.ds { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; text-decoration: none; color: var(--ink); border-radius: 14px; min-height: 44px; }
.ds b { font-size: 11px; font-weight: 500; color: var(--ink-2); letter-spacing: .05em; }
.ds span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.ds i { width: 5px; height: 5px; border-radius: 50%; }
.ds.has i { background: var(--ink-2); }
.ds.sel span { background: var(--forest); color: var(--on-forest); }
.ds.today:not(.sel) span { box-shadow: inset 0 0 0 1.5px var(--forest); }
.ds.past { opacity: .55; }
/* the toolbar: Today first when you're away, List / Grid at the end */
.ctools { align-items: center; }
.ctools .ct-sp { flex: 1; }
.ctools .wkmode { margin: 0; }
.ctools .wkmode button { min-height: 38px; padding: 0 14px; }
/* the month: a way into each week at the start of its row; a day opens */
.mcal-h, .mcal-g { grid-template-columns: 18px repeat(7, minmax(0, 1fr)); }
.mwk { display: grid; place-items: center; color: var(--forest); min-height: 44px; }
.mwk .ic { width: 14px; height: 14px; }
/* the year: twelve small months */
.ycal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; margin: 16px 14px 0; align-items: start; }
.ym { display: flex; flex-direction: column; align-items: stretch; text-align: left; padding: 6px 4px 8px; border-radius: 12px; }
.ym:hover { background: var(--card); }
.ym-h { font-family: var(--serif); font-style: italic; font-size: 19px; margin: 0 0 6px 2px; color: var(--ink); }
.ym-h small { font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--ink-2); }
.ym.now .ym-h { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.ym-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.ym-g span { font-size: 8.5px; line-height: 14px; text-align: center; color: var(--ink); position: relative; font-variant-numeric: tabular-nums; }
.ym-g span.o { color: transparent; }
.ym-g span.has::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--forest); }
.ym-g span.today { background: var(--forest); color: var(--on-forest); border-radius: 50%; }
.ym > small { font-size: 11px; color: var(--ink-2); margin: 6px 0 0 2px; }
@media (min-width: 900px) { .ycal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; } .ym-g span { font-size: 11px; line-height: 18px; } .ym-h { font-size: 22px; } }
/* one day as a grid: one wide column */
.wgrid.one .wg-head { display: none; }
.wgrid.one .wg-ev { padding: 5px 8px; }
.wgrid.one .wg-ev .wg-t { font-size: 11.5px; }
.wgrid.one .wg-ev .wg-n { font-size: 14px; }
.ymode4 { gap: 5px; flex-wrap: nowrap; margin-left: 10px; margin-right: 10px; }
.ymode4 button { padding: 0 11px; font-size: 14px; white-space: nowrap; }

/* Pick days: from one day to another, up to a week (29 Nov 2026) */
.wg-pick { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 8px; align-items: end; margin: 10px 12px 0; }
.wg-pick label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); min-width: 0; }
.wg-pick input { width: 100%; min-width: 0; min-height: 44px; padding: 6px 8px; font-size: 14px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); color: var(--ink); }
.wg-pick .zarrow { height: 44px; }
@media (min-width: 900px) { .wg-pick { margin-left: 0; margin-right: 0; max-width: 520px; } }

/* the whole week in the List: a day with nothing planned is one thin line (29 Nov 2026) */
.wm-emptyday { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; padding: 12px 16px; border: 1px dashed var(--rule-2); border-radius: 16px; text-decoration: none; color: var(--ink-2); min-height: 44px; }
.wm-emptyday b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--ink-2); line-height: 1.1; }
.wm-emptyday small { font-size: 13px; }
.wm-emptyday span { margin-left: auto; font-size: 13px; }
.wm-emptyday:hover { border-color: var(--ink-2); color: var(--ink); }
.wm-emptyday.today b { color: var(--forest); }
/* Add says what it is */
.calplus { width: auto; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.calplus .ic { width: 18px; height: 18px; }

/* ---------- the Board, tidier (29 Nov 2026): a check mark, categories, a day and a deadline, swipe to erase ---------- */
.bd-card { position: relative; touch-action: pan-y; } /* a sideways swipe on a card is hers (erase); up and down still scroll */
.bd-card.has-cat { box-shadow: inset 4px 0 0 var(--tc), 0 1px 0 rgba(28, 42, 34, .06), 0 8px 18px -14px rgba(28, 42, 34, .5); }
.bd-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.bd-m > span { display: inline-flex; align-items: center; gap: 4px; }
.bd-m .ic { width: 12px; height: 12px; }
.bd-cat { color: var(--tc); font-weight: 500; }
.bd-due { color: var(--ink); }
.bd-due.is-now { color: #b3261e; font-weight: 500; }
/* done is a check mark */
.bd-do span { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); }
.bd-do span .ic { width: 17px; height: 17px; opacity: .22; transition: opacity .12s; }
.bd-do:focus-visible span .ic, .bd-card.is-ready .bd-do span .ic { opacity: 1; }
@media (hover: hover) { .bd-do:hover span .ic { opacity: 1; } }
/* erase: a small x on a computer (on hover), a swipe on a phone */
.bd-x { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink-2); box-shadow: 0 1px 4px rgba(28, 42, 34, .22); opacity: 0; transition: opacity .12s; z-index: 2; }
.bd-x .ic { width: 12px; height: 12px; }
.bd-card:hover .bd-x, .bd-x:focus-visible { opacity: 1; }
.bd-x:hover { color: #b3261e; }
@media (hover: none) { .bd-x { display: none; } }
.bd-card.is-swiping { box-shadow: 0 8px 22px -10px rgba(28, 42, 34, .5); }
.bd-card.is-swiping::after { content: "Erase"; position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 500; color: #b3261e; white-space: nowrap; }
.bd-didgo { display: grid; place-items: center; width: 44px; padding: 0; }
.bd-didgo .ic { width: 18px; height: 18px; }
.bd-selbar-in .btn.line { width: auto; }

/* the card's sheet: Beat the clock in one row */
.gm-clock { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; padding: 8px; border-radius: 999px; background: var(--paper-2); }
.gm-cp { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--on-forest); }
.gm-cp .gm-ic { width: 20px; height: 20px; }
.gm-cm { display: flex; gap: 4px; flex: 1; min-width: 0; }
.gm-c { flex: 1 1 0; min-width: 0; min-height: 40px; border-radius: 999px; font: 500 15px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.gm-c small { font-size: 11px; font-weight: 400; color: var(--ink-2); margin-left: 2px; }
.gm-c[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(28, 42, 34, .18); }
.gm-cgo { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--forest); color: var(--on-forest); font-weight: 500; }
.gm-cgo .ic { width: 12px; height: 12px; fill: currentColor; }
.gm-ckeep { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.gm-ckeep .ic { width: 16px; height: 16px; }
.gm-ckeep[aria-pressed="true"] { background: var(--forest); color: var(--on-forest); }
/* on her calendar, a time, a deadline */
.bd-when { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; margin: 14px 0 4px; }
.bw { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.bw > span { display: inline-flex; align-items: center; gap: 5px; }
.bw .ic { width: 13px; height: 13px; }
.bw input { width: 100%; min-width: 0; min-height: 44px; padding: 6px 10px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 15px; }
.bw.is-off { opacity: .5; }
/* category: one tap */
.bd-cats { margin: 12px 0 2px; }
.bd-catrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bd-cw { display: inline-flex; align-items: center; }
.bd-cc { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font-size: 14px; color: var(--ink); }
.bd-cc i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.bd-cc[aria-pressed="true"] { background: var(--tw); border-color: var(--tc); font-weight: 500; }
.bd-cplus { color: var(--ink-2); border-style: dashed; }
.bd-cplus .ic { width: 12px; height: 12px; }
.bd-cdel { width: 28px; height: 28px; margin-left: -4px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.bd-cdel .ic { width: 11px; height: 11px; }
.bd-catnew { display: inline-flex; gap: 6px; align-items: center; }
.bd-catnew input { width: 130px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); font-size: 14px; }
.bd-catnew .btn { width: auto; }
.bd-unstuck { margin-top: 14px; }
.bs-act .bd-erase { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #b3261e; }
.bs-act .bd-erase .ic { width: 13px; height: 13px; }

/* to-dos on the Calendar: a square to tick, in their category's color */
.wm-plan.k-todo .wm-sq { border-radius: 7px; background: var(--card); color: var(--tc, var(--ink)); box-shadow: inset 0 0 0 2px var(--tc, var(--ink)); }
.wm-plan.k-todo.is-done .wm-sq { background: var(--tc, var(--ink)); color: #fff; }
.wm-plan.k-todo .wm-main b { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 16px; }
.wg-ev.k-todo { background: var(--card); border-radius: 4px; }
.mcal i.k-todo, .mcal-k i.k-todo { background: transparent; border: 1.5px solid var(--ink); border-radius: 2px; width: 7px; height: 7px; }
.mcal i.k-due { background: #b3261e; border-radius: 1px; width: 6px; height: 6px; }

/* ---------- Discover: filters in three pills, and the cards one at a time (29 Nov 2026) ---------- */
.dfil { gap: 10px; }
.dpills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dpills::-webkit-scrollbar { display: none; }
.dpill { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 15px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.dpill:hover { border-color: var(--ink); }
.dpill .dpill-c { transform: rotate(90deg); opacity: .55; transition: transform .2s ease; }
.dpill[aria-expanded="true"] .dpill-c { transform: rotate(-90deg); }
.dpill.on { background: var(--forest); border-color: var(--forest); color: var(--on-forest, #fff); }
.dpill.on .dpill-c { opacity: .8; }
.dclear { flex: none; font-size: 14px; padding: 0 4px; }
.dpanel { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); animation: dp-in .18s ease-out; }
@keyframes dp-in { from { opacity: 0; transform: translateY(-4px); } }
.dfil .dpanel .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.dpanel .chip { min-height: 38px; padding: 7px 13px; }
.dpanel .chip small { margin-left: 6px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dpanel .chip[aria-pressed="true"] small { color: inherit; opacity: .75; }
.dp-h { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 2px; }
.dp-pick { display: flex; gap: 10px; }
.dp-pick label { flex: 1; min-width: 0; display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.dp-pick input, .dp-up input { min-height: 40px; width: 100%; border-radius: 10px; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); padding: 0 10px; font: 15px var(--sans); }
.dp-up { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.dp-up input { width: 92px; }
.dp-done { margin-left: auto; align-self: center; font-size: 14px; padding: 0 4px; }
.dcount-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px 0; }
.dcount-row .dcount { padding: 0; margin: 0; min-width: 0; }
.segs.dmode { flex: none; margin: 0; flex-wrap: nowrap; }
.segs.dmode button { min-height: 34px; padding: 0 12px; font-size: 13px; }

.dc { padding: 10px 16px 0; max-width: 480px; margin: 0 auto; }
.dc-k { display: flex; justify-content: space-between; align-items: baseline; min-height: 26px; padding: 0 4px 8px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dc-stack { position: relative; padding-bottom: 8px; }
.dc-under { position: absolute; left: 12px; right: 12px; top: 14px; bottom: 0; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); box-shadow: 0 12px 24px -22px rgba(16, 32, 25, .5); }
.dc-card { z-index: 1; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; transition: transform .2s ease; animation: dc-in .28s cubic-bezier(.16, 1, .3, 1); }
@keyframes dc-in { from { transform: translateY(12px) scale(.97); opacity: .4; } }
.dc-card:active { cursor: grabbing; }
.dc-card:focus { outline: none; }
.dc-card:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.dc-card .dc-ph { height: 112px; }
.dc-card .dc-ph img { pointer-events: none; -webkit-user-drag: none; }
.dc-ph.cover { display: flex; align-items: flex-end; padding: 14px 18px; border-radius: 17px 17px 0 0; background: var(--tc); }
.dc-ph.cover .cover-word { padding: 0; font-size: 30px; letter-spacing: -.02em; }
.dc-card .tix-body h3 { font-size: 25px; }
.dc-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #18241e; font-size: 12.5px; font-weight: 500; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .3); transition: opacity .12s; }
.dc-lean { position: absolute; top: 14px; padding: 7px 13px; border-radius: 999px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .12s; pointer-events: none; }
.dc-lean.yes { right: 14px; background: #1f5a3e; color: #fff; }
.dc-lean.no { left: 14px; background: #fff; color: #18241e; box-shadow: 0 0 0 1.5px #18241e inset; }
.dc-card[data-lean="yes"] .dc-lean.yes, .dc-card[data-lean="no"] .dc-lean.no { opacity: 1; }
.dc-card[data-lean] .dc-tag { opacity: 0; }
.dc-card[data-lean=""] .dc-tag { opacity: 1; }
.dc-acts { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.dc-b { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px -10px rgba(16, 32, 25, .45); transition: transform .12s ease, border-color .12s; }
.dc-b:hover { border-color: var(--ink); }
.dc-b:active { transform: scale(.95); }
.dc-b .ic { width: 22px; height: 22px; }
.dc-b.sm { width: 42px; height: 42px; }
.dc-b.save { width: auto; padding: 0 16px; border-radius: 999px; font: 500 14px/1 var(--sans); }
.dc-b.sm .ic { width: 18px; height: 18px; }
.dcount .dclear { margin-left: 4px; font-size: 13px; }
.dc-yes { flex: 1; max-width: 250px; min-height: 52px; }
.dc-why { justify-content: center; margin-top: 12px; }
.dc-x { display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 13px; }
.dc-end { padding-top: 14px; }
.dc-end h2 { font-size: 26px; line-height: 1.12; padding: 0 4px; }
.dc-end .fine, .dc-end .rv-done { margin: 10px 4px 0; }
.dc-endacts { display: grid; gap: 10px; margin-top: 16px; padding: 0 4px; }
@media (prefers-reduced-motion: reduce) { .dc-card, .dpanel { animation: none; } .dc-card { transition: none; } }

/* Discover, after her look (29 Nov 2026): a short title, small pictures everywhere a listing is shown */
.dhead h1 { font-size: 34px; line-height: 1.05; letter-spacing: -.02em; }
.dsub { margin-top: 6px; }
.tix-ph { height: 104px; }
.tix.lead .tix-ph { height: 132px; }
.rv-ph { height: 112px; }
.tix.dc-card .dc-ph { height: 112px; }
.dpill { min-height: 38px; padding: 0 11px 0 14px; }

/* Discover cards, one row (29 Nov 2026, her ask: "the picture could be on the left side of the actual event details ... I still
   want to see clearly what day it is"): the picture or its kind's color on the left with the day on it, the details on the right */
.dc-card { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 rgba(28, 42, 34, .04), 0 14px 28px -24px rgba(16, 32, 25, .5); }
.dc-row { display: grid; grid-template-columns: 38% minmax(0, 1fr); min-height: 184px; }
.dc-side { position: relative; overflow: hidden; background: var(--tw); }
.dc-side.cover { background: var(--tc); }
.dc-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.dc-date { position: absolute; left: 10px; top: 10px; display: grid; justify-items: center; min-width: 54px; padding: 6px 8px 8px; border-radius: 12px; background: var(--card); color: var(--tc); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; }
.dc-date b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--ink); margin: 2px 0 1px; text-transform: none; }
.dc-kind { position: absolute; left: 12px; right: 10px; bottom: 12px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.05; color: #fff; text-wrap: balance; }
.dc-main { min-width: 0; padding: 14px 14px 14px 15px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dc-main .dc-tag { position: static; max-width: 100%; padding: 4px 10px; background: var(--tw); color: var(--ink); box-shadow: none; font-size: 12px; margin-bottom: 2px; }
.dc-when { font-size: 13.5px; font-weight: 500; color: var(--tc); font-variant-numeric: tabular-nums; }
.dc-main h3 { font-size: 22px; line-height: 1.12; color: var(--ink); text-wrap: balance; margin: 1px 0 2px; }
.dc-main .dm { margin: 0; font-size: 13.5px; line-height: 1.4; }
.dc-main .dclash { margin: 2px 0 0; font-size: 13px; }
.dc-credit { margin-top: auto; padding-top: 6px; font-size: 10.5px; color: var(--ink-2); line-height: 1.3; }
.dc-card[data-lean] .dc-date { opacity: 1; }
.dc-main h3 .why { position: relative; top: auto; right: auto; display: inline-block; vertical-align: .1em; margin-left: 6px; height: 1em; }
.dc-main h3 .why-b { width: 30px; height: 30px; margin: -13px -6px 0 -6px; vertical-align: middle; }
.dc-main h3 .why-pop { top: 24px; left: auto; right: -10px; }
.dc-main h3 .why-pop::before { left: auto; right: 18px; }

/* Discover: search, Where, and interests of her own (29 Nov 2026) */
.dsearch { position: relative; display: flex; align-items: center; }
.dsearch > .ic { position: absolute; left: 14px; color: var(--ink-2); pointer-events: none; }
.dsearch input { width: 100%; min-height: 44px; padding: 0 40px 0 38px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: 15px var(--sans); -webkit-appearance: none; appearance: none; }
.dsearch input::-webkit-search-cancel-button { display: none; }
.dsearch input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.dsearch .dp-x { position: absolute; right: 6px; }
.dp-x { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.dp-x:hover { color: var(--ink); background: var(--paper-2); }
.dp-minechip { display: inline-flex; align-items: center; gap: 0; }
.dp-minechip .dp-x { width: 28px; height: 28px; margin-left: -2px; }
.dp-add { display: inline-flex; align-items: center; gap: 6px; }
.dp-add input { width: 150px; min-height: 38px; border-radius: 999px; border: 1px dashed var(--rule-2); background: var(--paper); color: var(--ink); padding: 0 14px; font: 14px var(--sans); }
.dp-add .btn { min-height: 36px; }
#dp-hood { width: 170px; }
.dc-off { margin: 10px 4px 0; }
.dc-off .chip { gap: 6px; }
.dc-off .chip .ic { opacity: .6; }
.vempty .dc-off { margin: 10px 0 0; }

/* a full day (29 Nov 2026) */
.full-on { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.full-on li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 17px; color: var(--ink); }
.rv-full { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--paper-2); font-size: 14px; color: var(--ink); }
.rv-full .why, #sheet h2 .why { position: relative; top: auto; right: auto; display: inline-block; vertical-align: .1em; margin-left: 6px; }
.rv-full { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-full .why { margin: 0; flex: none; }

/* While you're there: one quiet line under a plan (29 Nov 2026) */
.wm-near { list-style: none; margin: -2px 0 6px; padding-left: 82px; }
.wm-near button { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border: 1px dashed var(--rule-2); border-radius: 999px; background: none; color: var(--ink-2); font: 13px/1.3 var(--sans); text-align: left; cursor: pointer; }
.wm-near button:hover { color: var(--ink); border-color: var(--ink-2); }
.wm-near b { font-weight: 500; color: var(--ink); }
.wm-near span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.near-when { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.near-ph { border-radius: 14px; margin: 8px 0 6px; height: 140px; }
.wm-near { padding-left: 48px; }
.wm-near button { display: flex; align-items: flex-start; border-radius: 14px; padding: 7px 12px 8px; }
.wm-near button .ic { margin-top: 2px; flex: none; }
.wm-near span { white-space: normal; overflow: visible; }
.wm-near b { display: block; }
/* ---------- the Board, round two (29 Nov 2026): a scroll wheel for times, a flag for deadlines, categories on top ---------- */
/* a scroll wheel: three rows, the middle one is the value (her ask: the numbers above and below should be easy to see) */
.wh { position: relative; display: inline-block; height: 66px; flex: none; }
.wh::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 22px; border-radius: 7px; background: var(--card); box-shadow: 0 1px 3px rgba(28, 42, 34, .16); pointer-events: none; }
.wh-l { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; height: 66px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-y; cursor: ns-resize; outline: none; border-radius: 8px;
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, .55), #000 30%, #000 70%, rgba(0, 0, 0, .55)); mask-image: linear-gradient(rgba(0, 0, 0, .55), #000 30%, #000 70%, rgba(0, 0, 0, .55)); }
.wh-l::-webkit-scrollbar { display: none; }
.wh-l::before, .wh-l::after { content: ""; display: block; height: 22px; }
.wh-l li { height: 22px; scroll-snap-align: center; text-align: center; font: 400 14px/22px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; user-select: none; -webkit-user-select: none; transition: color .12s; }
.wh-l li.is-sel { color: var(--ink); font-weight: 600; font-size: 16px; }
.wh-l:focus-visible { -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 2px var(--ink); }
/* Beat the clock: the clock, the minutes wheel, Start */
.gm-cw { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.gm-cw .wh { width: 46px; }
.gm-cw small { font-size: 13px; color: var(--ink-2); }
/* the time, the US way */
.bd-when { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bd-when .bw input { min-height: 70px; }
.bw-time { display: flex; align-items: center; gap: 1px; min-height: 70px; overflow: hidden; padding: 0 2px 0 6px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); }
.bw-time .wh { width: 28px; }
.bw-time [data-wheel="at-m"] { width: 30px; }
.bw-time [data-wheel="at-p"] { width: 38px; margin-left: 4px; }
.bw-time .wh::before { background: var(--paper-2); box-shadow: none; }
.bw-time > b { font-weight: 600; color: var(--ink); }
.bw-x { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.bw-x .ic { width: 11px; height: 11px; }
.bw-add { min-height: 70px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px dashed var(--rule-2); border-radius: 12px; color: var(--ink-2); font-size: 14px; padding: 0 10px; }
.bw-add .ic { width: 12px; height: 12px; }
.bw-add:disabled { opacity: .7; }
.bw.is-off { opacity: 1; }
/* a deadline is a flag */
.bd-due { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px 1px 7px; border-radius: 999px; background: #fbe9e6; color: #8f1f17; font-weight: 500; }
.bd-due .ic { width: 12px; height: 12px; color: #b3261e; }
.bd-due.is-now { background: #b3261e; color: #fff; }
.bd-due.is-now .ic { color: #fff; }
.bw-due > span .ic { color: #b3261e; }
.wm-due { display: inline-flex; align-items: center; gap: 3px; color: #b3261e; font-weight: 500; }
.wm-due .ic { width: 11px; height: 11px; }
/* the categories, on top of the Board */
.bd-fil { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 2px 2px; }
.bd-fil::-webkit-scrollbar { display: none; }
.bd-fc { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font-size: 14px; color: var(--ink); }
.bd-fc i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.bd-fc span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bd-fc[aria-pressed="true"] { background: var(--tw); border-color: var(--tc); font-weight: 500; }
.bd-fc:not([class*="tone-"])[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* steps: "I already did this one" shows once she's writing one */
.bd-already { display: inline-flex; align-items: center; gap: 5px; }
.bd-already .ic { width: 12px; height: 12px; }
.bd-sadd input:placeholder-shown ~ .bd-already { display: none; }

/* the timer: the time left, called out, and the music */
.pl-cue { margin: -4px 0 0; min-height: 22px; font: 600 15px/22px var(--sans); letter-spacing: .04em; color: var(--on-forest); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.pl-cue.is-on { opacity: 1; transform: none; }
.pl-sound { display: grid; justify-items: center; gap: 8px; }
.pl-mus { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255, 250, 240, .1); }
.pl-mus button { min-height: 36px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; color: rgba(255, 250, 240, .78); }
.pl-mus button[aria-pressed="true"] { background: var(--on-forest); color: var(--forest); font-weight: 500; }
.pl-voice { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: rgba(255, 250, 240, .78); }
.pl-voice[aria-pressed="true"] { color: var(--on-forest); }
@media (prefers-reduced-motion: reduce) { .pl-cue { transition: none; transform: none; } }

/* dragging a card onto another makes it a step: the card it would go into says so */
.bd-card.is-nest { box-shadow: 0 0 0 2px var(--accent), 0 10px 24px -14px rgba(28, 42, 34, .5); }
.bd-card.is-nest::after { content: "Make it a step"; position: absolute; right: 12px; top: -11px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font: 500 12px/18px var(--sans); letter-spacing: .02em; pointer-events: none; }
.wh-l { cursor: grab; }
.wh-l:active { cursor: grabbing; }

/* a card's steps: closed, the step she's on and an arrow; open, all of them to tick */
.bd-sl { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: stretch; gap: 4px; margin: -6px 12px 10px 14px; }
.bd-sl .bd-nx { grid-column: auto; grid-row: auto; flex: 1; min-width: 0; margin: 0; }
.bd-stog { flex: none; width: 40px; min-height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); background: var(--paper-2); }
.bd-stog .ic { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .18s; }
.bd-stog[aria-expanded="true"] .ic { transform: rotate(-90deg); }
.bd-stog:hover { color: var(--ink); }
.bd-sl.is-open { display: block; padding: 4px 4px 6px 10px; border-radius: 10px; background: var(--paper-2); }
.bd-sh { display: flex; align-items: center; justify-content: space-between; margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.bd-sl.is-open .bd-stog { background: transparent; min-height: 34px; }
.bd-sl ol { list-style: none; margin: 0; padding: 0; display: grid; }
.bd-si { width: 100%; display: flex; align-items: flex-start; gap: 10px; padding: 7px 6px 7px 0; text-align: left; font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.bd-si i { flex: none; width: 18px; height: 18px; margin-top: 0; border-radius: 50%; border: 1.5px solid var(--ink-2); display: grid; place-items: center; font-style: normal; }
.bd-si i .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.bd-si.is-done i { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bd-si.is-done span { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--rule-2); }
.bd-si.is-now span { font-weight: 500; }
.bd-si:hover i { border-color: var(--accent); }
.bd-si + .bd-si, .bd-sl li + li { border-top: 1px solid var(--rule); }
@media (prefers-reduced-motion: reduce) { .bd-stog .ic { transition: none; } }

/* ---------- Subgoals (29 Nov 2026): a goal's subgoals sit under it, lettered; drag one goal onto another to make it a subgoal ---------- */
.gl.sub:not(.dragging), .gl.as-sub { grid-template-columns: 30px 58px minmax(0, 1fr) 36px; }
.gl.sub:not(.dragging) .gn, .gl.as-sub .gn { padding-left: 26px; font-size: 17px; padding-top: 15px; color: var(--ink-2); }
.gl.sub:not(.dragging) .gtext, .gl.as-sub .gtext { font-size: 18px; }
.gl.sub:not(.dragging) .gt, .gl.as-sub .gt { padding-top: 11px; padding-bottom: 8px; }
.gl.sub:not(.dragging) .gh, .gl.sub:not(.dragging) .gmore { min-height: 48px; }
.gl.gl-fold { display: none; }
.gl.is-nest, .gl.is-full { box-shadow: inset 0 0 0 2px var(--forest, var(--forest)); background: var(--card, #FBF7F0); }
.gl.is-full { box-shadow: inset 0 0 0 2px var(--rule-2); }
.gl.is-nest::after, .gl.is-full::after { content: "Make it a subgoal"; position: absolute; right: 12px; top: -11px; z-index: 2; padding: 2px 10px; border-radius: 999px; background: var(--forest, var(--forest)); color: var(--on-forest, #fff); font: 500 12px/18px var(--sans); letter-spacing: .02em; pointer-events: none; }
.gl.is-full::after { content: "Already has 5"; background: var(--ink-2); color: var(--paper); }
.gl.lit { animation: g-lit 1.3s ease-out both; }
@keyframes g-lit { from { background: color-mix(in srgb, var(--forest, var(--forest)) 14%, var(--paper)); } to { background: var(--paper); } }
.ghint { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.gv-k .gv-up { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; min-height: 0; }
.gv-sgs { margin-top: 18px; }
.gv-sgs h3 { font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gv-sgs h3 small { margin-left: 6px; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.gv-sgs ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.gv-sgs li { border-bottom: 1px solid var(--rule); }
.gv-sg { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 0; text-align: left; color: var(--ink); }
.gv-sg .gn { font-size: 17px; padding-top: 0; color: var(--ink-2); flex: none; width: 18px; }
.gv-sgt { flex: 1; min-width: 0; font: italic 400 18px/1.25 var(--serif); overflow-wrap: anywhere; }
.gv-sgs li.done .gv-sgt { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--ink-2); }
.gv-sg .ic { flex: none; color: var(--ink-2); opacity: .6; }
.gv-sgadd { display: flex; gap: 8px; margin-top: 10px; }
.gv-sgadd input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--paper); font: italic 400 17px/1.2 var(--serif); color: var(--ink); }
.gv-sgadd .btn { width: auto; flex: none; }
.gv-sgs .gv-note { margin-top: 10px; }
.gv .gc-end { flex-wrap: wrap; gap: 8px 16px; }
@media (prefers-reduced-motion: reduce) { .gl.lit { animation: none; } }
.gl.dragging.nesting { opacity: .82; }

/* ---------- The goal page, quicker to fill in (29 Nov 2026) ---------- */
.gv-cal-m { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: -2px 0 10px; }
.gv-cal-m button { min-height: 32px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); }
.gv-cal-m button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.gv-cal-m button[disabled] { opacity: .3; }
.gv-chips .chip.is-flip { box-shadow: inset 0 0 0 1.5px var(--forest, var(--forest)); }
.gv-chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Choose your goals (29 Nov 2026): gather, sort, pick a few; and a short read ---------- */
.chhead { padding-bottom: 4px; }
.chs { padding: 22px 20px 6px; border-top: 1px solid var(--rule); margin-top: 18px; }
.chs-h { display: flex; align-items: baseline; gap: 10px; font: italic 400 26px/1.1 var(--serif); }
.chs-h small { margin-left: auto; font: 400 13px/1 var(--sans); color: var(--ink-2); }
.chn { font: 400 15px/1 var(--sans); color: var(--ink-2); font-variant-numeric: lining-nums; min-width: 14px; }
.chs-s { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; }
.chs-empty { font-style: italic; font-family: var(--serif); font-size: 16px; }
.chq { margin-top: 14px; padding: 16px 16px 10px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.chq-k { display: flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.chq-k span { letter-spacing: 0; text-transform: none; font-weight: 400; font-size: 12.5px; }
.chq-q { margin-top: 10px; font: italic 400 25px/1.2 var(--serif); color: var(--ink); min-height: 60px; }
.chq-in { display: flex; gap: 8px; margin-top: 14px; }
.chq-in input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--paper); font: italic 400 17px/1.2 var(--serif); color: var(--ink); }
.chq-in .btn { width: auto; flex: none; }
.chq-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.chq-nav .xbtn[disabled], .chq-nav .linkbtn[disabled] { opacity: .3; }
.chq-nav .linkbtn { font-size: 14px; }
.chb { margin-top: 6px; }
.chb .chips { margin-top: 8px; }
.chl { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.chi { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.chi-t { flex: 1; min-width: 0; font: italic 400 18px/1.25 var(--serif); overflow-wrap: anywhere; }
.chi.is-should .chi-t { color: var(--ink-2); }
.chi-b { display: flex; align-items: center; gap: 6px; flex: none; }
.chi-b .chip { padding: 6px 10px; font-size: 12.5px; min-height: 32px; }
.chi-b .xbtn { margin-right: -8px; }
.chorder { margin-top: 14px; width: 100%; }
.tot { margin-top: 14px; padding: 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--forest, var(--forest)); }
.tot-h { font: 600 11.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tot-p { display: grid; gap: 8px; margin-top: 12px; }
.tot-c { min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--rule-2); background: var(--paper); text-align: left; font: italic 400 20px/1.2 var(--serif); color: var(--ink); }
.tot-c:hover { border-color: var(--ink); }
.tot-c:active { transform: scale(.98); }
.tot-or { text-align: center; font: italic 400 15px/1 var(--serif); color: var(--ink-2); }
.tot-f { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.tot-f .linkbtn { font-size: 14px; }
.tot-f span { margin-left: auto; }
.chp { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.chp li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--rule); }
.chp-b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 0; min-height: 52px; text-align: left; color: var(--ink); }
.chp-c { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rule-2); display: grid; place-items: center; }
.chp li.on .chp-c { background: var(--forest, var(--forest)); box-shadow: none; color: var(--on-forest, #fff); }
.chp-n { flex: none; font: 400 15px/1 var(--sans); color: var(--ink-2); font-variant-numeric: lining-nums; min-width: 22px; }
.chp-t { flex: 1; min-width: 0; font: italic 400 19px/1.25 var(--serif); overflow-wrap: anywhere; }
.chp li:not(.on) .chp-t { color: var(--ink-2); }
.chp-s { flex: none; font-size: 13px; color: var(--ink-2); }
.chgo { margin-top: 16px; width: 100%; }
.chgo[disabled] { opacity: .45; }
.chfine { margin-top: 8px; }
.chread { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 20px 8px; padding: 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none; }
.chread small { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.chread b { font: italic 400 21px/1.2 var(--serif); }
.chart { padding: 0 20px 30px; }
.chart .bhead { padding-left: 0; padding-right: 0; }
.chart h2 { margin-top: 26px; font: italic 400 23px/1.2 var(--serif); }
.chart p, .chart li { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.chart ul, .chart ol { padding-left: 20px; }
.chart .src { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); white-space: normal; overflow-wrap: anywhere; }
.chart .src a { color: inherit; }
.chart .chtry { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.chart .chtry b { font: italic 400 19px/1.25 var(--serif); }
.gfoot { display: flex; gap: 18px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .tot-c:active { transform: none; } }
.chart .chtry-b { margin-top: 26px; width: 100%; }

/* ---------- Choose your goals as a notepad (29 Nov 2026): ruled lines, a margin, her words in handwriting ---------- */
.pad { position: relative; margin-top: 14px; padding: 26px 14px 18px 40px; border-radius: 6px 6px 14px 14px; background: var(--card);
  box-shadow: 0 1px 0 var(--rule), 0 14px 30px -24px rgba(28, 42, 34, .45), inset 0 0 0 1px var(--rule); }
.pad::before { content: ""; position: absolute; top: 0; bottom: 0; left: 30px; width: 1px; background: color-mix(in srgb, var(--gold, #b8945a) 55%, transparent); }
.pad::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px; border-radius: 6px 6px 0 0; background: radial-gradient(circle at 50% 60%, var(--paper) 2.6px, transparent 3px) 8px 0 / 22px 12px repeat-x, color-mix(in srgb, var(--paper-2) 70%, var(--card)); }
.pq + .pq { margin-top: 18px; }
.pq-q { display: flex; align-items: flex-start; gap: 4px; font: italic 400 16px/1.3 var(--serif); color: var(--ink-2); }
.pq-a { list-style: none; margin: 0; padding: 0; }
.pa { display: flex; align-items: flex-end; gap: 6px; min-height: 40px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.pa-t { flex: 1; min-width: 0; padding: 4px 0 2px; font: 500 24px/1.15 var(--hand); color: var(--ink); overflow-wrap: anywhere; }
.pa.is-should .pa-t { color: var(--ink-2); }
.pa-m { display: flex; align-items: center; gap: 0; flex: none; padding-bottom: 4px; }
.pa-m button { position: relative; min-height: 30px; padding: 0 5px; font: 400 17px/1 var(--hand); color: var(--ink-2); }
.pa-m button[aria-pressed="true"] { color: var(--ink); }
.pa-m button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 2px -1px 1px; border: 1.5px solid var(--forest, var(--forest)); border-radius: 50% 46% 52% 44% / 56% 50% 50% 44%; transform: rotate(-3deg); pointer-events: none; }
.pa-m .pa-x { min-width: 26px; padding: 0; color: var(--ink-2); opacity: .6; }
.pq-in { display: block; width: 100%; height: 40px; padding: 4px 0 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: transparent; font: 500 24px/1 var(--hand); color: var(--ink); }
.pq-in:focus { outline: none; border-bottom-color: var(--forest, var(--forest)); }
.pmore { margin-top: 16px; }
.pmore .linkbtn { font-size: 14px; }
.pchips { margin-top: 14px; }
.pchips p { font-size: 13px; color: var(--ink-2); }
.pchips .chips { margin-top: 6px; }
.tot-c, .chp-t { font-family: var(--hand); font-style: normal; font-weight: 500; font-size: 24px; line-height: 1.1; }
.chread { gap: 10px; }
.chread b { flex: 1; }
.chread small { font-size: 12.5px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .pa-m button[aria-pressed="true"]::after { transform: none; } }

/* ---------- Choose your goals, smaller, with its path in one line (30 Nov 2026) ---------- */
.chhead { padding: 18px 20px 4px; }
.chhead h1 { font: italic 400 34px/1.05 var(--serif); color: var(--forest); letter-spacing: -.02em; }
.chsteps { list-style: none; display: flex; gap: 6px; margin: 12px 0 0; padding: 0; }
.chsteps li { flex: 1; }
.chsteps button { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 34px; padding: 0 2px; font-size: 13.5px; color: var(--ink-2); border-bottom: 2px solid var(--rule); }
.chsteps button[disabled] { opacity: .45; }
.chsteps li.on button { color: var(--ink); border-bottom-color: var(--forest, var(--forest)); font-weight: 500; }
.chsteps li.done button { color: var(--ink); border-bottom-color: color-mix(in srgb, var(--forest, var(--forest)) 40%, transparent); }
.chsn { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11.5px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.chsteps li.on .chsn { background: var(--forest, var(--forest)); color: var(--on-forest, #fff); box-shadow: none; }
.chsteps li.done .chsn { color: var(--forest, var(--forest)); }
.chsn .ic.s { width: 12px; height: 12px; }
.chs { padding: 10px 20px 4px; margin-top: 4px; border-top: 0; }
.chs-h { font-size: 20px; }
.pad { margin-top: 4px; padding: 22px 12px 12px 36px; }
.pad::before { left: 26px; }
.pq + .pq { margin-top: 10px; }
.pq-q { font-size: 15px; }
.pa { min-height: 34px; }
.pa-t { font-size: 21px; }
.pa-m button { font-size: 16px; min-height: 28px; }
.pq-in { height: 34px; font-size: 21px; }
.pmore { margin-top: 10px; }
.pmore + .pmore { margin-top: 4px; }
.pideas { display: grid; gap: 2px; margin-top: 4px; }
.pidea { display: flex; align-items: center; gap: 8px; min-height: 36px; text-align: left; font: 500 20px/1.15 var(--hand); color: var(--ink-2); border-bottom: 1px dashed color-mix(in srgb, var(--ink) 16%, transparent); }
.pidea:hover { color: var(--ink); }
.pidea .ic.s { flex: none; width: 12px; height: 12px; }
.chorder { margin-top: 6px; }
.tot { margin-top: 6px; padding: 12px; }
.tot-c { min-height: 50px; padding: 10px 12px; font-size: 21px; }
.chp { margin-top: 8px; }
.chp-b { min-height: 44px; padding: 6px 0; }
.chp-t { font-size: 21px; }
.chgo { margin-top: 12px; }
.chreadl { margin: 18px 20px 8px; font-size: 13.5px; color: var(--ink-2); }
.chreadl a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Goal or bucket list, kept apart (30 Nov 2026) ---------- */
.gadd-bs { display: flex; gap: 6px; align-items: center; flex: none; }
.gadd-bl[hidden] { display: none; }
.gother { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.gother a { color: var(--ink-2); text-underline-offset: 3px; }
.gother a:hover { color: var(--ink); }
.pidea-r { display: flex; align-items: center; gap: 2px; }
.pidea-r .pidea { flex: 1; min-width: 0; }
.pidea-r .xbtn { flex: none; color: var(--ink-2); opacity: .6; }
.gnew-bl { display: flex; justify-content: flex-end; margin-top: 8px; }
.gnew-bl:has(button[hidden]) { display: none; }

/* ---------- Bucket list, simpler (30 Nov 2026): a count line, a Top 10 in rows, Later and Done folded ---------- */
.bcount { padding: 14px 20px 0; font-size: 13.5px; color: var(--ink-2); }
.bcount .linkbtn { font-size: inherit; }
.bsec { padding: 6px 20px 0; }
.bsec-h { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font: italic 400 22px/1.1 var(--serif); }
.bsec-h small { font: 400 12.5px/1 var(--sans); color: var(--ink-2); }
.blist { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.brow { display: grid; grid-template-columns: auto 52px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.brow:not(:has(.brow-n)) { grid-template-columns: 52px minmax(0, 1fr) 44px; }
.brow-n { min-width: 14px; font: 400 14px/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.brow-ph { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--paper-2); display: block; }
.brow-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brow-t { min-width: 0; }
.brow-t b { display: block; font: italic 400 19px/1.2 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.brow-t small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.brow-a { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; }
.brow-a .linkbtn { font-size: 13px; min-height: 28px; }
.brow-x { min-height: 28px; margin-left: auto; color: var(--ink-2); opacity: .6; }
.brow-a .linkbtn[aria-pressed="true"] { color: var(--forest, var(--forest)); font-weight: 600; }
.brow .tick { width: 40px; height: 40px; }
.brow.done .brow-t b { color: var(--ink-2); }
.brow.just { animation: g-lit 1.2s ease-out both; }
.bempty { margin-top: 10px; font: italic 400 16px/1.4 var(--serif); color: var(--ink-2); }
.bmore { margin-top: 10px; }
.bmore .linkbtn { font-size: 14px; }
.bideas { margin-top: 4px; }
.bfold { margin-top: 14px; }
.bfold-b { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 12px 0; border-top: 1px solid var(--rule); font: italic 400 21px/1.1 var(--serif); color: var(--ink); text-align: left; }
.bfold-b small { font: 400 12.5px/1 var(--sans); color: var(--ink-2); }
.bfold-b .ic { margin-left: auto; align-self: center; color: var(--ink-2); transition: transform .2s ease; }
.bfold-b[aria-expanded="true"] .ic { transform: rotate(90deg); }
.bdone-tl { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .bfold-b .ic { transition: none; } .brow.just { animation: none; } }
.brow-ph.cover { background: var(--tc, var(--paper-2)); }
button.brow-t { text-align: left; padding: 4px 0; min-height: 44px; color: inherit; }
.brow-a { grid-column: 1 / -1; padding: 0 0 2px; }
.brow:has(.brow-n) .brow-a { padding-left: 24px; }
.brow.is-open { background: var(--card); border-radius: 12px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
/* no photo: a light tint of its color and its first letter, never a heavy block (30 Nov 2026) */
.brow-ph.brow-ini { display: grid; place-items: center; background: var(--tw, var(--paper-2)); color: var(--tc, var(--ink)); font: italic 400 26px/1 var(--serif); }
[data-theme="night"] .brow-ph.brow-ini { background: color-mix(in srgb, var(--tc, #888) 24%, var(--card)); color: color-mix(in srgb, var(--tc, #fff) 45%, #fff); }
/* ---------- a card's sheet: Add to my calendar, Add a deadline, and the card's week to drag onto (29 Nov 2026) ---------- */
.bd-when { display: block; margin: 14px 0 4px; }
.bw-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.bw-go, .bw-set { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; width: 100%; min-width: 0; padding: 0 12px; border-radius: 999px; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-go { justify-content: center; border: 1px dashed var(--rule-2); background: transparent; }
.bw-go:hover { border-color: var(--ink); }
.bw-go .ic, .bw-set .ic { width: 14px; height: 14px; flex: none; }
.bw-due .ic { color: #b3261e; }
.bw-go[aria-expanded="true"] { border-style: solid; border-color: var(--ink); }
.bw-pill { display: flex; align-items: center; min-width: 0; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); }
.bw-pill .bw-set { padding-right: 4px; }
.bw-pill .bw-x { margin: 0 8px 0 0; }
.bw-pill.bw-due { border-color: #e9b8b2; }
.bw-pill.bw-due .bw-set { color: #8d1f19; font-weight: 500; }
.bd-when .bw-at { flex-direction: row; align-items: center; gap: 10px; margin-top: 10px; }
.bd-when .bw-at > span { flex: none; width: 58px; }
.bd-when .bw-at .bw-time, .bd-when .bw-at .bw-add { flex: 1; min-height: 70px; }
.bw-pick { margin-top: 10px; padding: 12px 12px 10px; border: 1px solid var(--rule-2); border-radius: 16px; background: var(--card); }
.bwp-top { display: flex; align-items: center; gap: 10px; }
.bwp-chip { position: relative; z-index: 2; flex: 0 1 auto; min-width: 0; max-width: 62%; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 12px; border-radius: 10px; border-left: 4px solid var(--tc, #17151f); background: var(--paper); box-shadow: 0 1px 2px rgba(23, 21, 31, .12), 0 4px 12px rgba(23, 21, 31, .08); font: italic 400 16px/1.15 var(--serif); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.bwp-chip.is-flag { border-left: 0; font: 500 14px/1 var(--sans); color: #8d1f19; }
.bwp-chip.is-flag .ic { width: 14px; height: 14px; color: #b3261e; }
.bwp-chip.is-drag { cursor: grabbing; z-index: 30; box-shadow: 0 10px 28px rgba(23, 21, 31, .22); }
.bwp-hint { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink-2); }
.bwp-top .gx-close { flex: none; }
.bwp-nav { display: flex; align-items: center; margin: 10px 0 4px; }
.bwp-mon { flex: 1; font: italic 400 17px/1.2 var(--serif); color: var(--ink); }
.bwp-nav .zarrow { width: 38px; height: 38px; color: var(--ink); }
.bwp-nav .zarrow:disabled { opacity: .3; }
.bwp-nav .zarrow .ic { width: 16px; height: 16px; }
.bwp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.bwp-d { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 62px; padding: 6px 0 5px; border-radius: 10px; color: var(--ink); }
.bwp-d small { font-size: 10.5px; letter-spacing: .02em; color: var(--ink-2); }
.bwp-d b { font: 500 16px/1.1 var(--sans); }
.bwp-d.is-today b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.bwp-d.is-sel { background: var(--forest); color: var(--on-forest); }
.bwp-d.is-sel small { color: rgba(255, 250, 240, .75); }
.bwp-d:disabled { opacity: .35; }
.bwp-d:not(:disabled):not(.is-sel):hover { background: var(--paper-2); }
.bw-pick.is-due .bwp-d { min-height: 72px; }
.bw-pick.is-due .bwp-d[aria-pressed="true"] { background: #fbe9e6; box-shadow: inset 0 0 0 1.5px #b3261e; }
.bwp-mk { display: flex; align-items: center; gap: 2px; height: 12px; }
.bwp-mk s { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; }
.bwp-mk u { width: 7px; height: 7px; border-radius: 2px; background: var(--tc, #17151f); }
.bwp-d.is-sel .bwp-mk u { outline: 1px solid var(--on-forest); }
.bwp-mk .ic.f { width: 10px; height: 10px; color: #b3261e; }
.bwp-hours { position: relative; margin-top: 8px; max-height: 272px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--rule); }
.bwp-h { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 34px; padding: 7px 4px 5px; border-bottom: 1px solid var(--rule); text-align: left; color: var(--ink); }
.bwp-h:hover { background: var(--paper-2); }
.bwp-h.is-past { opacity: .5; }
.bwp-t { flex: none; width: 52px; font-size: 12px; color: var(--ink-2); padding-top: 2px; }
.bwp-any .bwp-t { font-size: 12px; }
.bwp-its { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.bwp-it { max-width: 100%; padding: 2px 8px; border-radius: 6px; background: var(--tw, #f0ede6); color: var(--ink); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bwp-me { max-width: 100%; padding: 3px 9px; border-radius: 6px; background: var(--forest); color: var(--on-forest); font: italic 400 14px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 4px 0 0 var(--tc, var(--forest)); }
.bwp-h.is-over, .bwp-d.is-over { background: #e3eee7; box-shadow: inset 0 0 0 2px var(--forest); }
.bwp-h.is-over.is-half { background: linear-gradient(to bottom, transparent 50%, #e3eee7 50%); }
.bw-pick.is-due .bwp-d.is-over { background: #fbe9e6; box-shadow: inset 0 0 0 2px #b3261e; }
@media (prefers-reduced-motion: no-preference) { .bw-pick { animation: bwp-in .2s cubic-bezier(.16, 1, .3, 1); } @keyframes bwp-in { from { opacity: 0; transform: translateY(-4px); } } }

/* More games: each category closed until she opens it, so all six show at once */
.gx-list { gap: 0; }
.gx-q { margin-bottom: 4px; }
.gx-feel { border-bottom: 1px solid var(--rule); }
.gx-fh { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; text-align: left; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gx-fh:hover { color: var(--ink); }
.gx-fh .gx-n { letter-spacing: 0; text-transform: none; }
.gx-fh .ic { margin-left: auto; width: 13px; height: 13px; transition: transform .2s; }
.gx-feel.is-open .gx-fh { color: var(--ink); }
.gx-feel.is-open .gx-fh .ic { transform: rotate(90deg); }
.gx-feel .gx-games { padding: 0 0 12px; }
.gx-feel .gx-inline { margin-bottom: 12px; }

/* ---------- a card's sheet, round three (29 Nov 2026): the clock as a small block with the categories beside it; Break it down ---------- */
.bd-duo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin: 14px 0 6px; }
.bd-duo .gm-clock { flex-direction: column; align-items: stretch; gap: 6px; width: 150px; margin: 0; padding: 8px 8px 10px; border-radius: 20px; }
.gm-ct { display: flex; align-items: center; gap: 4px; }
.bd-duo .gm-cw { justify-content: flex-start; }
.bd-duo .gm-cw .wh { width: 40px; }
.gm-cb { display: flex; align-items: center; gap: 4px; }
.bd-duo .gm-cgo { flex: 1; justify-content: center; padding: 0 12px; }
.bd-duo .bd-cats { margin: 0; }
.bd-duo .bd-catrow { gap: 5px; }
.bd-duo .bd-cc { min-height: 34px; padding: 0 11px; font-size: 13.5px; }
.bd-duo .bd-catnew input { width: 100%; max-width: 120px; }
.bd-brkp-row { margin: 10px 0 0; }
.bd-brk { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 10px; border: 1px dashed var(--rule-2); border-radius: 999px; font-size: 14px; color: var(--ink); }
.bd-brk:hover { border-color: var(--ink); }
.bd-brk:disabled { opacity: .7; }
.bd-brk .gm-ic { width: 18px; height: 18px; color: #7a3a5c; }
.bd-brk-err { margin-top: 6px; color: #8d1f19; }
.bd-brkp { margin-top: 12px; padding: 10px 12px 12px; border: 1px dashed var(--rule-2); border-radius: 14px; }
.bd-brkk { margin: 0 0 4px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.bd-brkp ul { list-style: none; margin: 0; padding: 0; }
.bd-brkp li { display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; align-items: center; gap: 4px; min-height: 44px; border-bottom: 1px solid var(--rule); }
.bd-brkp li span { font: italic 400 16.5px/1.25 var(--serif); color: var(--ink); }
.bd-padd { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--rule-2); font-size: 13px; color: var(--ink); }
.bd-padd .ic, .bd-pno .ic { width: 11px; height: 11px; }
.bd-pno { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-2); }
.bd-brka { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.bd-brka .btn { width: auto; }
.bd-brkp .fine { margin: 8px 0 0; }
/* the deadline among the hours: a red flag; the other spot (card or deadline) shows quietly */
.bwp-due { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; background: #fbe9e6; color: #8d1f19; font: 500 13px/1.2 var(--sans); white-space: nowrap; }
.bwp-due .ic { width: 11px; height: 11px; color: #b3261e; }
.bwp-me.is-quiet { background: var(--tw, #f0ede6); color: var(--ink); font-size: 13px; box-shadow: inset 3px 0 0 var(--tc, #17151f); }
.bwp-due.is-quiet { background: transparent; box-shadow: inset 0 0 0 1px #e9b8b2; }
.bw-pick.is-due .bwp-h.is-over { background: #fbe9e6; box-shadow: inset 0 0 0 2px #b3261e; }
.bw-pick.is-due .bwp-h.is-over.is-half { background: linear-gradient(to bottom, transparent 50%, #fbe9e6 50%); }
.bw-pick.is-due .bwp-d.is-sel { background: #8d1f19; }
.bwp-d.is-sel .bwp-mk .ic.f { color: var(--on-forest); }
/* the date and time, typed or picked by hand (29 Nov 2026) */
.bwp-type { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 8px; margin: 10px 0 2px; }
.bwp-f { display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 44px; padding: 0 6px 0 9px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--paper); color: var(--ink-2); }
.bwp-f:focus-within { border-color: var(--ink); }
.bwp-f .ic { width: 13px; height: 13px; }
.bwp-f input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); font: 400 14.5px/1.2 var(--sans); padding: 8px 0; }
.bwp-f input:focus { outline: none; }
.bw-pick.is-due .bwp-f .ic { color: #b3261e; }



/* Home's Discover: one event is one short row, like the Calendar card (29 Nov 2026) */
.hm-grid > .hm.hm-disc { min-height: 0; color: var(--ink); background: var(--card); border: 1px solid var(--rule); justify-content: flex-start; }
.hm-grid > .hm.hm-disc.is-wide { grid-row: auto; }
.hm-grid > .hm.hm-disc .hm-n { color: var(--forest); font-size: 21px; }
.hm-ev { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 2px; }
.hm-evp { display: block; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--tc, var(--paper-2)); }
.hm-evt { min-width: 0; }
.hm-evt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: italic 400 18px/1.15 var(--serif); color: var(--ink); }
.hm-evt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }

/* ---------- the Board: Done's tally (no chart since 1 Dec 2026); the record's own page ---------- */
.bd-tally { margin: 2px 0 12px; padding: 14px 14px 12px; border-radius: 16px; background: var(--card); box-shadow: 0 1px 0 var(--rule); }
.bd-tn { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.bd-tn b { font: italic 400 46px/0.9 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.bd-tn span { font-size: 14px; color: var(--ink); }
.bd-tn small { margin-left: auto; font-size: 12.5px; color: var(--ink-2); }
.bd-tl { margin: 10px 0 0; font: italic 400 17px/1.25 var(--serif); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .bd-tally.is-bump .bd-tn b { animation: bd-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
  .bd-tally.is-bump .bd-tl { animation: bd-in .5s .15s both cubic-bezier(.16, 1, .3, 1); }
  @keyframes bd-pop { 0% { transform: scale(.6); opacity: .3; } 60% { transform: scale(1.18); } 100% { transform: none; opacity: 1; } }
  @keyframes bd-in { from { opacity: 0; transform: translateY(4px); } }
}
.bd-recpage .lg-h .dback { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.bd-recpage .bd-rec { margin-top: 10px; }
.bwp-top .gx-close { margin-left: auto; }

/* ---------- Goals: in focus and on hold (30 Nov 2026) ---------- */
.gzone { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.gzone small, .gzone span small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); font-size: 12.5px; }
.gzone span { margin-left: auto; color: var(--ink-2); font-weight: 600; }
.gl.is-hold .gtext, .gl.is-hold .gn { color: var(--ink-2); }
.gl.hold-first { position: relative; margin-top: 30px; border-top: 1px solid var(--rule-2); }
.gl.hold-first::before { content: "On hold"; position: absolute; left: 0; top: -24px; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gl.dragging.hold-first::before { display: none; }
.gfull { margin: 14px 0 4px; font: italic 400 17px/1.3 var(--serif); color: var(--ink-2); }
.gv-planh { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; font: italic 400 21px/1.1 var(--serif); color: var(--ink); }
.gv-planh small { font: 500 12.5px/1 var(--sans); color: var(--ink-2); }

/* ---------- the timeline: goals and their milestones, month by month (30 Nov 2026) ---------- */
.bd-hbtns { position: absolute; right: 0; bottom: 18px; display: flex; gap: 8px; }
.bd-hbtns .bd-gamesbtn { position: static; }
.tl .lg-h .dback { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.tl-chart { position: relative; margin-top: 14px; padding: 26px 0 22px; }
.tl-months { position: absolute; top: 0; left: 0; right: 0; height: 20px; }
.tl-months span { position: absolute; top: 0; padding-left: 4px; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.tl-months small { font-weight: 500; letter-spacing: 0; }
.tl-grid { position: absolute; top: 18px; bottom: 0; left: 0; right: 0; pointer-events: none; }
.tl-grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.tl-now { position: absolute; top: 0; bottom: 0; left: var(--today); width: 2px; margin-left: -1px; background: var(--accent); z-index: 2; }
.tl-now span { position: absolute; bottom: -18px; left: 4px; font: 600 10.5px/1 var(--sans); color: var(--accent); white-space: nowrap; }
.tl-zone { position: relative; z-index: 3; margin: 16px 0 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.tl-rows, .tl-subs { list-style: none; margin: 0; padding: 0; }
.tl-row { position: relative; padding: 8px 0 10px; border-bottom: 1px solid var(--rule); }
.tl-lab { position: relative; z-index: 3; display: flex; align-items: baseline; gap: 6px; width: 100%; text-align: left; color: var(--ink); }
.tl-n { flex: none; font: italic 400 15px/1 var(--serif); color: var(--tc, var(--ink)); }
.tl-t { flex: 1; min-width: 0; font: italic 400 17px/1.2 var(--serif); }
.tl-lab small { flex: none; font-size: 12px; color: var(--ink-2); }
.tl-track { position: relative; height: 18px; margin-top: 6px; }
.tl-bar { position: absolute; top: 3px; height: 12px; border-radius: 6px; background: var(--tc, var(--forest)); }
.tl-bar.is-open { background: repeating-linear-gradient(90deg, var(--tc, var(--forest)) 0 8px, transparent 8px 13px); opacity: .55; height: 4px; top: 7px; }
.tl-bar.is-ongoing { background: repeating-linear-gradient(135deg, var(--tc, var(--forest)) 0 5px, color-mix(in srgb, var(--tc, var(--forest)) 45%, transparent) 5px 10px); }
.tl-end, .tl-dia, .tl-step { position: absolute; top: 50%; z-index: 2; display: block; }
.tl-end { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--tc, var(--forest)); }
.tl-dia { width: 12px; height: 12px; margin: -6px 0 0 -6px; transform: rotate(45deg); border-radius: 2px; background: var(--tc, var(--forest)); }
.tl-dia.is-done { background: var(--paper); box-shadow: inset 0 0 0 2px var(--tc, var(--forest)); }
.tl-step { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.is-beyond { opacity: .5; }
.tl-row.is-sub { margin-left: 18px; padding: 6px 0 8px; border-bottom: 1px dashed var(--rule); }
.tl-row.is-sub:last-child { border-bottom: 0; }
.tl-row.is-sub .tl-t { font-size: 15px; }
.tl-row.is-sub .tl-track { height: 14px; margin-top: 4px; }
.tl-row.is-sub.is-done .tl-t { text-decoration: line-through; color: var(--ink-2); }
.tl-subs { margin-top: 6px; border-top: 1px dashed var(--rule); }
/* the goal ladder on the Timeline (1 Dec 2026): a milestone's tasks, a square at the task's date, a dot for each dated to-do */
.tl-tasks { list-style: none; margin: 4px 0 0; padding: 0; }
.tl-row.is-task { margin-left: 18px; padding: 4px 0 6px; border-bottom: 0; }
.tl-row.is-task .tl-t { font: 400 14px/1.25 var(--sans); color: var(--ink); }
.tl-row.is-task .tl-track { height: 12px; margin-top: 3px; }
.tl-row.is-task.is-done .tl-t { text-decoration: line-through; color: var(--ink-2); }
.tl-sq, .tl-td { position: absolute; top: 50%; z-index: 2; display: block; }
.tl-sq { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 2px; background: var(--tc, var(--forest)); box-shadow: 0 0 0 2px var(--paper); }
.tl-sq.is-done { background: var(--paper); box-shadow: inset 0 0 0 2px var(--tc, var(--forest)); }
.tl-td { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 1.5px var(--paper); }
.tl-td.is-done { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.tl-nodate { margin-top: 32px; }
.tl-nodate ul { list-style: none; margin: 0; padding: 0; }
.tl-ndb { display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; font: italic 400 17px/1.2 var(--serif); color: var(--ink); }
/* two columns (names left, the chart right) only when the page is wide enough for both */
.tl { container-type: inline-size; }
@container (min-width: 760px) {
  .tl-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px 0; }
  .tl-row .tl-track { margin-top: 0; }
  .tl-subs { grid-column: 1 / -1; margin: 4px 0 0; }
  .tl-row.is-sub { grid-template-columns: 282px minmax(0, 1fr); }
  .tl-row.is-sub .tl-track { margin-left: 0; }
  .tl-months, .tl-grid { left: 316px; }
  .tl-lab, .tl-zone { background: none; }
}
.tl-row.is-sub > .tl-track { margin-left: -18px; }
.tl-lab { background: var(--paper); padding: 2px 0; }
.tl-zone { display: table; background: var(--paper); padding-right: 8px; }
/* many months on a narrow screen: one letter each, the year under its first month */
.tl-months b { font-weight: inherit; }
.tl-months i { display: none; font-style: normal; }
@container (max-width: 759px) {
  .tl-chart.many { padding-top: 34px; }
  .tl-chart.many .tl-grid { top: 30px; }
  .tl-chart.many .tl-months b { display: none; }
  .tl-chart.many .tl-months i { display: inline; }
  .tl-chart.many .tl-months small { display: block; margin-top: 3px; font-size: 9.5px; }
}
/* a milestone's tasks line up with the chart: full width on a phone, their own label column on a wide screen */
.tl-row.is-sub .tl-row.is-task > .tl-track { margin-left: -36px; }
@container (min-width: 760px) {
  .tl-tasks { grid-column: 1 / -1; }
  .tl-row.is-task { grid-template-columns: 264px minmax(0, 1fr); padding: 4px 0; }
  .tl-row.is-sub .tl-row.is-task > .tl-track { margin-left: 0; }
  .tl-row.is-sub > .tl-track { margin-left: 0; } /* a milestone's diamond sits on its date (it was 18px early on a wide screen) */
}

/* ---------- a goal's own page: one white page (30 Nov 2026) ---------- */
.gp-doc { --page: #FFFFFF; margin: 14px 0 32px; padding: 30px 26px 28px; background: var(--page); border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -26px rgba(28, 42, 34, .45); }
.gp-title { margin: 0; font: italic 400 44px/1.02 var(--serif); color: var(--ink); text-wrap: balance; }
.gp-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.gp-ph { margin: 18px 0 0; }
.gp-ph img { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 4px; }
.gp-ph figcaption { margin-top: 4px; font-size: 11px; color: var(--ink-2); }
.gp-h { margin: 26px 0 8px; font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gp-plan { list-style: none; margin: 0; padding: 0; counter-reset: gp; }
.gp-plan li { counter-increment: gp; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: baseline; border-bottom: 1px solid var(--rule); }
.gp-plan li::before { content: "(" counter(gp) ")"; font: italic 400 17px/1 var(--serif); color: var(--tc, var(--move, #c8432a)); padding-top: 12px; }
.gp-plan li.gp-new::before { content: "(" counter(gp) ")"; opacity: .45; }
.gp-line, .gp-ans { width: 100%; min-height: 44px; padding: 8px 0; border: 0; background: none; text-align: left; font: 400 19px/1.3 var(--serif); color: var(--ink); }
.gp-line:focus { outline: none; box-shadow: inset 0 -2px 0 var(--ink); }
.gp-line::placeholder { color: var(--ink-2); opacity: .7; font-style: italic; }
.gp-ans small { display: block; margin-top: 2px; font: 400 12.5px/1.3 var(--sans); color: var(--ink-2); }
.gp-miss { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.gp-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 12px; border: 1px dashed var(--rule-2); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: none; }
.gp-chip:hover { border-color: var(--ink); color: var(--ink); }
.gp-chip .ic { width: 11px; height: 11px; }
.gp-why { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: italic 400 21px/1.35 var(--serif); color: var(--ink); }
.gp-habs, .gp-ms { list-style: none; margin: 0; padding: 0; }
.gp-habs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.gp-dots { display: flex; gap: 4px; }
.gp-dots i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: normal 600 11px/1 var(--sans); color: var(--ink-2); }
.gp-dots i.on { background: var(--forest); color: var(--on-forest); }
.gp-dots i.now { box-shadow: 0 0 0 1.5px var(--ink); }
.gp-dots i.ahead { opacity: .45; }
.gp-add { display: flex; gap: 8px; margin-top: 10px; }
.gp-add input { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 12px; background: transparent; font-size: 15px; color: var(--ink); }
.gp-add .btn { width: auto; }
.gp-ms a { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 15.5px; }
.gp-ms li.done span { color: var(--ink-2); text-decoration: line-through; }
.gp-ms time { font-size: 12.5px; color: var(--ink-2); }
.gp-ms .gp-dia { position: static; display: block; width: 10px; height: 10px; transform: rotate(45deg); border-radius: 1.5px; background: var(--forest); }
.gp-ms .gp-dia.open { background: none; box-shadow: inset 0 0 0 2px var(--forest); }
.gp-sofar { margin: 0; font: italic 400 18px/1.35 var(--serif); color: var(--ink); }
.gp-sq { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 10px); gap: 2.5px; margin-top: 12px; }
.gp-sq i { width: 10px; height: 10px; border-radius: 2.5px; background: var(--paper-2); }
.gp-sq i.on { background: var(--forest); }
.gp-sq i.now { outline: 1.5px solid var(--ink); outline-offset: 1px; }
.gp-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-2); }
a.gtext { color: inherit; text-decoration: none; }
@media (max-width: 420px) { .gp-doc { padding: 24px 18px 22px; } .gp-title { font-size: 36px; } }
/* the song that's on, credited, with Next song (30 Nov 2026) */
.pl-now-w:empty { display: none; }
.pl-now { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 10px; margin: 0; max-width: 340px; font-size: 12.5px; line-height: 1.35; color: rgba(255, 250, 240, .66); text-align: center; }
.pl-now a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 250, 240, .3); text-underline-offset: 2px; }
.pl-now a:first-of-type { color: var(--on-forest); text-decoration: none; font-weight: 500; }
.pl-nx { min-height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255, 250, 240, .22); font-size: 12.5px; color: rgba(255, 250, 240, .85); }
.pl-nx:hover { border-color: rgba(255, 250, 240, .5); color: var(--on-forest); }
/* Home's top card (30 Nov 2026): the date, and the letter beside it where the greeting was */
.td-top { align-items: center; }
.td-letter { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.td-letter .env-mini { width: 88px; }
.td-letter > span { min-width: 0; }
.td-letter b { display: block; font: 500 15px/1.25 var(--sans); }
.td-letter small { display: block; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.td-letter .nw { display: inline-flex; align-items: center; gap: 2px; margin-top: 2px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.td-letter:hover .nw { text-decoration: underline; text-underline-offset: 3px; }
.td-letter.is-arrived .env-mini { animation: env-bob 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .td-letter.is-arrived .env-mini { animation: none; } }
/* beside the date: sunset (or sunrise) and the weather (30 Nov 2026, her pick) */
.td-beside { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.td-beside b { font: 500 17px/1.25 var(--sans); color: var(--ink); }
.td-beside span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }

/* the date with sunrise and weather (or the letter) as a header at the very top; the card under it starts with the habits */
.td-head { margin: 10px 16px 0; }
.tdband > .habs:first-child, .tdband > .hab-new:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* Calendar and Discover at half width, side by side (30 Nov 2026): the time above the title, the photo above the event */
.hm-grid > .hm.hm-week.is-half .hm-list li { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hm-grid > .hm.hm-week.is-half .hm-list li + li { margin-top: 4px; }
.hm-grid > .hm.hm-disc.is-half .hm-ev { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hm-grid > .hm.hm-disc.is-half .hm-evp { width: 100%; height: 76px; }

/* ---------- The vision board as one poster (30 Nov 2026) ----------
   A board of cream card stock: her photos as prints (white border, a slight turn, a soft shadow) at mixed sizes, and her
   own words on colored paper where there's no photo. Goals and bucket list together. */
.vposter { margin: 14px 16px 0; padding: 16px 12px 18px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; box-shadow: inset 0 0 0 6px rgba(255, 253, 248, .45); }
.vp-title { margin: 2px 4px 14px; font: italic 400 22px/1.1 var(--serif); color: var(--ink); text-align: center; letter-spacing: -.005em; }
.vp-title em { color: var(--forest); }
.vp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 104px; grid-auto-flow: row dense; gap: 12px 10px; }
.vp-t { position: relative; min-width: 0; transform: rotate(var(--rot, 0deg)); transition: transform .2s ease; }
.vp-t.big { grid-column: span 2; grid-row: span 2; }
.vp-t.wide { grid-column: span 2; }
.vp-t.tall { grid-row: span 2; }
.vp-a { position: absolute; inset: 0; display: block; overflow: hidden; color: var(--ink); text-decoration: none; border-radius: 2px; }
.vp-t.ph .vp-a { background: #fffdf8; padding: 5px 5px 0; box-shadow: 0 1px 2px rgba(23, 21, 31, .14), 0 6px 14px rgba(23, 21, 31, .10); }
.vp-t.ph img { display: block; width: 100%; height: calc(100% - 5px); object-fit: cover; border-radius: 1px; }
/* her words: a strip of paper laid over the bottom of the print */
.vp-t.ph .vp-w { position: absolute; left: 8px; right: 14px; bottom: 9px; padding: 4px 7px 5px; background: #fffdf8; color: var(--ink); font: italic 400 13px/1.15 var(--serif); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; box-shadow: 0 1px 3px rgba(23, 21, 31, .16); transform: rotate(calc(var(--rot, 0deg) * -1.4)); }
.vp-t.big.ph .vp-w { font-size: 17px; left: 12px; right: 30px; bottom: 14px; padding: 6px 10px 7px; }
/* no photo: her words, cut out of colored paper */
.vp-t.words .vp-a { display: flex; align-items: center; justify-content: center; padding: 12px 10px; background: var(--tc, var(--forest)); color: #fff; box-shadow: 0 1px 2px rgba(23, 21, 31, .14), 0 6px 14px rgba(23, 21, 31, .08); }
.vp-t.words .vp-w { font: italic 400 15px/1.12 var(--serif); text-align: center; text-wrap: balance; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.vp-t.words.big .vp-w { font-size: 24px; }
.vp-t.words.wide .vp-w, .vp-t.words.tall .vp-w { font-size: 17px; }
.vp-a:hover, .vp-a:focus-visible { outline: none; }
.vp-t:hover, .vp-t:focus-within { transform: rotate(0deg); }
.vp-a:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
/* the camera: a picture right here */
.vp-add { position: absolute; top: -6px; right: -6px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fffdf8; color: var(--ink); border: 1px solid var(--rule-2); box-shadow: 0 2px 6px rgba(23, 21, 31, .14); }
.vp-t.ph .vp-add { opacity: 0; transition: opacity .15s; }
.vp-t.ph:hover .vp-add, .vp-t.ph:focus-within .vp-add { opacity: 1; }
@media (hover: none) { .vp-t.ph .vp-add { opacity: .92; width: 26px; height: 26px; } }
.vp-add .ic { width: 15px; height: 15px; }
.vp-cred { margin-top: 10px; font-size: 11.5px; line-height: 1.4; }
@media (min-width: 700px) { .vp-grid { grid-auto-rows: 120px; } }
@media (prefers-reduced-motion: reduce) { .vp-t { transition: none; } }
/* the picture picker */
.vpic-now { display: grid; place-items: center; margin: 6px 0 12px; }
.vpic-now img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
.vpic-now small { justify-self: start; margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.vpic-none { width: 100%; min-height: 110px; display: grid; place-items: center; padding: 14px; border-radius: 8px; background: var(--tc, var(--forest)); color: #fff; font: italic 400 20px/1.15 var(--serif); text-align: center; }
.vpic-up { margin-top: 4px; }
.vpic-h { margin: 18px 0 8px; font: 500 15px/1.2 var(--sans); }
.vpic-q { display: flex; gap: 8px; margin-bottom: 10px; }
.vpic-q input { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 15px var(--sans); }
.vpic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vpic-o { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink-2); }
.vpic-o img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.vpic-o small { font-size: 10.5px; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vpic-o:hover img, .vpic-o:focus-visible img { outline: 2px solid var(--ink); outline-offset: 2px; }
/* polish (30 Nov 2026): the caption is clamped inside its paper strip, so no half line shows */
.vp-t.ph .vp-w, .vp-t.words .vp-w { display: block; }
.vp-w > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vp-t.words .vp-w > span { -webkit-line-clamp: 5; }
.vp-t.ph:not(.big) .vp-w { font-size: 12px; left: 7px; right: 10px; bottom: 8px; padding: 3px 6px 4px; }
/* never a black block in the light look: ink-colored words go on forest green paper */
.vp-t.words.tone-ink .vp-a, .vpic-none.tone-ink { background: var(--forest); }
/* the camera: only on the ones without a picture, inside the corner; on a computer it also shows on a photo when pointed at */
.vp-add { top: 6px; right: 6px; width: 26px; height: 26px; background: rgba(255, 253, 248, .88); border-color: transparent; box-shadow: none; }
.vp-t.ph .vp-add { display: none; }
@media (hover: hover) { .vp-t.ph .vp-add { display: grid; opacity: 0; } .vp-t.ph:hover .vp-add, .vp-t.ph:focus-within .vp-add { opacity: 1; } }
.vp-add .ic { width: 14px; height: 14px; }
/* Suggest photos for the whole board */
.vp-sug { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; }
.vp-sug small { font-size: 13px; color: var(--ink-2); }
.vp-sug .btn .ic { width: 15px; height: 15px; margin-right: 4px; }
.vall-row { padding: 12px 0; border-top: 1px solid var(--rule); }
.vall-row:first-of-type { border-top: 0; }
.vall-t { margin: 0 0 8px; font: italic 400 17px/1.2 var(--serif); }
.vall-ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vpic-o.is-on img { outline: 3px solid var(--forest); outline-offset: 2px; }
.vall-b { display: flex; justify-content: flex-end; margin-top: 14px; }
/* Create a picture, in the picker and in Suggest photos (30 Nov 2026) */
.vmake-go { width: 100%; justify-content: center; }
.vmake-out { margin-top: 8px; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); }
.vmake-out img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vmake-b { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.vall-t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.vall-t small { font-size: 13px; color: var(--ink-2); }
.vall-row .vmade { width: 100%; max-width: 220px; margin: 6px 0 8px; }
/* ---------- The movie, cut like a film (30 Nov 2026): a title, changing shots, grain, rolling credits ---------- */
.fl { position: absolute; inset: 0; overflow: hidden; }
.fl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl .film-color { position: absolute; inset: 0; background: var(--tc, var(--forest)); }
/* the slow push and pan, a different one each shot */
.fl img.kb-in { animation: kb-in 7s ease-out both; }
.fl img.kb-out { animation: kb-out 7s ease-out both; }
.fl img.kb-left { animation: kb-left 7s ease-out both; }
.fl img.kb-right { animation: kb-right 7s ease-out both; }
@keyframes kb-in { from { transform: scale(1.02); } to { transform: scale(1.16); } }
@keyframes kb-out { from { transform: scale(1.18); } to { transform: scale(1.04); } }
@keyframes kb-left { from { transform: scale(1.14) translateX(3%); } to { transform: scale(1.14) translateX(-3%); } }
@keyframes kb-right { from { transform: scale(1.14) translateX(-3%); } to { transform: scale(1.14) translateX(3%); } }
/* black title cards */
.fl-black { background: #070605; display: grid; place-items: center; text-align: center; padding: 24px; }
.fl-pre { margin: 0; font: 500 12px/1.2 var(--sans); letter-spacing: .32em; color: rgba(255, 255, 255, .78); animation: fl-fade 2.6s ease both; }
.fl-end { margin: 0; font: italic 400 clamp(34px, 10vw, 60px)/1 var(--serif); color: #fff; }
.fl-title h2 { font-size: clamp(46px, 13vw, 84px); }
/* words that arrive one by one */
.fl-words span, .fl-end span, .fl-title h2 span { display: inline-block; animation: fl-word .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.25s + var(--d, 0s)); }
@keyframes fl-word { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fl-fade { 0% { opacity: 0; } 25%, 75% { opacity: 1; } 100% { opacity: 0; } }
/* letterbox: the picture in a wide band, the words under it like a subtitle */
.fl-box { background: #070605; display: flex; flex-direction: column; justify-content: center; }
.fl-band { position: relative; width: 100%; aspect-ratio: 2.39 / 1; overflow: hidden; }
.fl-cap { padding: 22px 24px 0; text-align: center; color: #fff; animation: film-rise 1s var(--ease) .2s both; }
.fl-cap h2 { font: italic 400 clamp(28px, 8vw, 46px)/1.05 var(--serif); letter-spacing: -.015em; }
.fl-cap .film-s { font-size: 17px; }
/* a magazine page: the photo above, the words on paper */
.fl-page { background: var(--paper); display: grid; grid-template-rows: 62% 1fr; }
.fl-ph { position: relative; overflow: hidden; }
.fl-paper { padding: 20px 24px; color: var(--ink); border-top: 3px solid var(--gold); animation: film-rise 1s var(--ease) .2s both; }
.fl-paper .film-k { color: var(--forest); }
.fl-paper h2 { font: italic 400 clamp(30px, 8.5vw, 48px)/1.02 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.fl-paper .film-s { color: var(--ink-2); }
/* moving type on the item's own color */
.fl-type { background: var(--tc, var(--forest)); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 26px 60px; }
.fl-type .fl-words { font: italic 400 clamp(40px, 12vw, 76px)/.98 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
/* rolling credits */
.fl-credits { overflow: hidden; }
.fl-roll { animation: fl-roll 7s linear both; }
.fl-roll p { margin: 0 0 26px; font: italic 400 24px/1.15 var(--serif); color: #fff; }
.fl-roll small { display: block; margin-bottom: 4px; font: 500 11px/1.2 var(--sans); letter-spacing: .22em; color: rgba(255, 255, 255, .6); font-style: normal; }
@keyframes fl-roll { from { transform: translateY(70vh); } to { transform: translateY(-60vh); } }
/* a little film grain over everything */
.film-grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .fl img, .fl-words span, .fl-end span, .fl-title h2 span, .fl-pre, .fl-roll, .film-grain, .fl-cap, .fl-paper { animation: none !important; }
  .fl-roll { transform: none; }
}
/* the song's name in the film's corner; a tap plays the next one */
.film-song { position: absolute; z-index: 4; top: calc(max(12px, env(safe-area-inset-top)) + 14px); right: 12px; max-width: 70%; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(7, 6, 5, .35); color: rgba(255, 255, 255, .86); font: 500 12px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.film-song:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
.fl-roll .fl-lic { margin-top: 6px; font: 400 11px/1.4 var(--sans); color: rgba(255, 255, 255, .55); font-style: normal; }

.vall-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 10px; }
/* ---------- The vision board as one tight collage (1 Dec 2026, her pick: "A collage, like picture 1"): pictures in different
   heights, a few quote cards on soft paper, titled "The life I want" ---------- */
.vcol { margin: 14px 16px 0; }
.vcol-h { margin: 0 0 12px; font: 600 26px/1.1 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.vcol-grid { column-count: 2; column-gap: 8px; }
@media (min-width: 700px) { .vcol-grid { column-count: 3; column-gap: 10px; } }
.vc { position: relative; display: block; break-inside: avoid; margin: 0 0 8px; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.vc > a { display: block; position: relative; color: inherit; text-decoration: none; }
.vc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-ph { aspect-ratio: var(--ar, 1); }
.vc-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 15, 0) 58%, rgba(12, 18, 15, .62)); pointer-events: none; }
.vc-cap { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; color: #fff; font: italic 400 15px/1.12 var(--serif); text-shadow: 0 1px 8px rgba(0, 0, 0, .3); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* an item with no picture yet: its words on its own color */
.vc-words { background: var(--tc, var(--forest)); }
.vc-words > a { display: flex; align-items: flex-end; min-height: 150px; padding: 14px 12px; color: #fff; font: italic 400 21px/1.08 var(--serif); text-wrap: balance; }
/* quote cards, on soft paper */
.vc-q { padding: 16px 14px 14px; background: var(--tw, var(--paper-2)); color: var(--ink); }
.vc-q blockquote { margin: 0; font: 600 16px/1.3 var(--sans); letter-spacing: -.005em; }
.vc-q cite { display: block; margin-top: 10px; font: 400 12px/1.3 var(--sans); font-style: normal; color: var(--ink-2); }
.vc .vp-add { top: 8px; right: 8px; opacity: 1; width: 30px; height: 30px; }
.vc.vc-ph .vp-add { opacity: 0; transition: opacity .15s; }
.vc.vc-ph:hover .vp-add, .vc.vc-ph:focus-within .vp-add { opacity: 1; }
@media (hover: none) { .vc.vc-ph .vp-add { opacity: 1; } }
.vc > a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.vc-ph > a { height: 100%; }
.vcol .vp-sug { margin: 0 0 12px; }
/* ---------- The board's own controls (1 Dec 2026, her ask: "how does the user add more pictres? delete?? anything"): + Add puts
   on a photo from the phone, a created picture, real photos or a line of her own; Edit shows an × on everything ---------- */
.vcol-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.vcol-top .vcol-h { margin: 0; }
.vcol-act { display: flex; gap: 8px; flex: none; }
.vcol-act .btn .ic { width: 14px; height: 14px; }
.vcol-note { margin: 0 0 10px; }
.vc-x { position: absolute; top: 8px; left: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; border: 0; background: rgba(20, 24, 22, .84); color: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.vc-x .ic { width: 14px; height: 14px; }
.vc-x:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.vcol.editing .vc { outline: 1px dashed var(--rule-2); outline-offset: 2px; }
.vcol.editing .vc.vc-ph .vp-add { opacity: 1; }
/* her own pictures have no caption, so no shade */
.vc-free::after { display: none; }
/* her own words, in the serif kept for her words */
.vc-mine blockquote { font: italic 400 19px/1.22 var(--serif); letter-spacing: 0; }
.vc-mine { padding: 18px 14px 16px; }
/* the one she just added lands with a soft pop and a ring */
.vc-new { box-shadow: 0 0 0 2px var(--forest); animation: vc-land .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vc-land { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vc-new { animation: none; } }
.vb-off { margin: 6px 0 0; font: 400 13.5px/1.5 var(--sans); color: var(--ink-2); }
.vb-off .linkbtn { font: inherit; color: var(--ink); }
/* the Add sheet */
.vb-q input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 15px var(--sans); box-sizing: border-box; }
.vb-qb { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }
.vb-qb .btn .ic { width: 14px; height: 14px; }
.vb-line { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.vb-line textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: italic 400 17px/1.3 var(--serif); resize: vertical; }
.vempty .btn + .btn { margin-left: 8px; }
/* in Edit, a card of words makes room for the × */
.vcol.editing .vc-q { padding-top: 48px; }
.vb-off .linkbtn { padding: 6px 0; margin: 0; min-height: 0; }
/* ---------- Boxes she fills (1 Dec 2026, her ask: "it's just like boxes ... users can just upload their own pictures that they
   find"): an item with no photo is an empty frame with its words and "Add a photo"; the whole box opens the picker ---------- */
.vc-box { aspect-ratio: var(--ar, 1); background: transparent; border: 1.5px dashed var(--rule-2); border-radius: 10px; }
.vc-boxin { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 12px 12px; border: 0; background: color-mix(in srgb, var(--paper-2) 55%, transparent); color: var(--ink); text-align: left; cursor: pointer; border-radius: inherit; }
.vc-boxin:hover { background: var(--paper-2); }
.vc-boxin:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.vc-boxt { font: italic 400 19px/1.12 var(--serif); text-wrap: balance; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.vc-boxp { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--sans); color: var(--ink-2); }
.vc-boxp .ic { width: 14px; height: 14px; }
.vcol.editing .vc-box { outline: none; }
.vcol.editing .vc-boxin { padding-top: 48px; }
/* the example board: the same collage, quieter, labeled Example */
.vex { margin-bottom: 26px; }
.vex .vc-cap { font-size: 14px; }
.vex-cred { margin: 6px 0 0; }
.vex-open { margin-top: 4px; }
.vb-none { margin-top: 10px; }
.vpic-up .btn { width: 100%; justify-content: center; }
/* ---------- the bucket list as lists (30 Nov 2026): memories, list covers, a list's page, shared lists ---------- */
.bl-sec { padding: 0 16px; margin-top: 18px; }
.bl-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font: 500 17px/1.2 var(--sans); color: var(--ink); }
.bl-h small { font-size: 13px; color: var(--ink-2); font-weight: 400; }
/* memories: the newest first, a photo each (hers, kept on the phone) or the thing's color */
.bl-mrow { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 6px; margin: 0 -16px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.bl-mrow::-webkit-scrollbar { display: none; }
.bl-mc { position: relative; flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.bl-md { position: absolute; top: 8px; left: 8px; z-index: 1; display: inline-flex; align-items: baseline; gap: 3px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #17151f; }
.bl-md small { font-size: 12px; }
.bl-md b { font: 600 12px/1.3 var(--sans); }
.bl-mp { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--tc, var(--paper-2)); display: grid; place-items: center; }
.bl-mp img { width: 100%; height: 100%; object-fit: cover; }
.bl-mp i { font: italic 400 48px/1 var(--serif); color: #fff; }
.bl-mt { font: 500 13.5px/1.25 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* the lists: covers in two columns, New list first */
.bl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.bl-tile { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.bl-cov { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 4px; }
.bl-cov img { width: 100%; height: 100%; object-fit: cover; }
.bl-tone { width: 100%; height: 100%; display: grid; place-items: center; background: var(--tc); color: #fff; font: italic 400 44px/1 var(--serif); }
.bl-tile b { font: 500 15px/1.25 var(--sans); overflow-wrap: anywhere; }
.bl-tile small { font-size: 13px; color: var(--ink-2); }
.bl-with { display: inline-flex; align-items: center; gap: 4px; color: var(--forest) !important; }
.bl-with .ic { width: 13px; height: 13px; }
.bl-new .bl-cov { background: transparent; border: 1.5px dashed var(--rule-2); color: var(--forest); }
.bl-new .bl-cov .ic { width: 28px; height: 28px; }
.bl-new:hover .bl-cov { border-color: var(--forest); }
.bl-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
/* a list's page: its cover with the way back, Share and its name */
.bl-head { position: relative; height: 210px; margin: 0 0 4px; overflow: hidden; color: #fff; }
.bl-hcov { position: absolute; inset: 0; display: grid; }
.bl-hcov img { width: 100%; height: 100%; object-fit: cover; }
.bl-hcov .bl-tone { font-size: 96px; opacity: .9; }
.bl-shade { position: absolute; inset: 0; background: rgba(15, 20, 17, .34); }
.bl-cred { position: absolute; right: 10px; bottom: 6px; font-size: 10.5px; color: rgba(255, 255, 255, .85); }
.bl-top { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bl-back { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; color: #fff; text-decoration: none; font-size: 14.5px; }
.bl-back .ic { width: 16px; height: 16px; }
.bl-tacts { display: flex; gap: 8px; }
.bl-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #17151f; font: 500 14px/1 var(--sans); cursor: pointer; }
.bl-pill .ic { width: 14px; height: 14px; }
.bl-pill.bl-icon { width: 36px; padding: 0; justify-content: center; }
.bl-ttl { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.bl-ttl h1 { margin: 0; font: 600 34px/1.08 var(--serif); font-style: normal; letter-spacing: -.01em; overflow-wrap: anywhere; }
.bl-ttl p { margin: 4px 0 0; font-size: 14px; color: rgba(255, 255, 255, .9); }
/* ideas: a circle to tick, then what it is */
.bl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bl-it { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; min-height: 64px; padding: 6px 12px 6px 6px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.bl-tick { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.bl-tick::before { content: ""; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--forest-2); transition: background-color .15s, transform .15s; }
.bl-tick:hover::before { background: var(--sage-wash); }
.bl-tick:active::before { transform: scale(.9); }
.bl-items.is-ro .bl-tick { pointer-events: none; opacity: .5; }
.bl-itt { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 4px; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
span.bl-itt { cursor: default; }
.bl-itt b { font: 400 16px/1.3 var(--sans); overflow-wrap: anywhere; }
.bl-itt small { font-size: 13px; color: var(--ink-2); }
.bl-ita { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 4px 6px; }
.bl-ita .linkbtn { min-height: 32px; font-size: 13.5px; }
.bl-it.just { animation: habpop .42s cubic-bezier(.16, 1, .3, 1); }
.bl-empty { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.bl-add { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 6px 6px 12px; border: 1.5px dashed var(--rule-2); border-radius: 14px; }
.bl-add:focus-within { border-color: var(--forest); border-style: solid; }
.bl-plus { color: var(--forest); display: grid; }
.bl-add input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px/1.3 var(--sans); color: var(--ink); padding: 10px 0; }
.bl-add input:focus { outline: none; }
.bl-join { margin: 14px 16px 0; padding: 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); display: grid; gap: 10px; }
.bl-join p { margin: 0; font-size: 14.5px; }
.bl-join input { min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 12px; font: 400 16px var(--sans); background: var(--paper); color: var(--ink); }
.bl-get { margin-top: 24px; text-align: center; }
.bl-wait { padding-top: 40px; text-align: center; }
/* the sheets: New list, It happened, a memory, Share */
.bl-form { display: grid; gap: 12px; }
.bl-lab { margin: 4px 0 0; font: 500 13px/1.2 var(--sans); color: var(--ink-2); }
.bl-ex { margin-top: -4px; }
.bl-covs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bl-cv { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--paper-2); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.bl-cv img { width: 100%; height: 100%; object-fit: cover; }
.bl-cv small { font-size: 11.5px; }
.bl-cv.on { border-color: var(--forest); box-shadow: 0 0 0 2px var(--card) inset; }
.bl-cv-own { gap: 0; align-content: center; }
.bl-cv-own input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bl-cv-own .ic { width: 20px; height: 20px; }
.bl-cv-none { background: var(--tone-c, #7353c0); color: #fff; }
.bl-who { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bl-who legend { width: 100%; margin-bottom: 6px; }
.bl-who label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 14.5px; cursor: pointer; }
.bl-who label:has(input:checked) { border-color: var(--forest); background: var(--sage-wash); }
.bl-who input { accent-color: var(--forest); }
.bl-go { width: 100%; }
.bl-del { justify-self: center; color: #a3361e; }
.bl-photo { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 14px; border: 1.5px dashed var(--rule-2); border-radius: 14px; cursor: pointer; }
.bl-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bl-photo .ic { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--forest); }
.bl-photo span { font: 500 15px/1.2 var(--sans); }
.bl-photo small { font-size: 12.5px; color: var(--ink-2); }
.bl-memph { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; margin: 4px 0 10px; }
.bl-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bl-file { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.bl-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bl-link input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 12px; font: 400 13.5px var(--sans); color: var(--ink-2); background: var(--paper); }
@media (min-width: 700px) { .bl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bl-head { height: 240px; border-radius: 0 0 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .bl-it.just { animation: none; } .bl-tick::before { transition: none; } }
.bl-form textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); }
/* the list look she loves (30 Nov 2026, Lovewick's Wishlists): one bold serif title, white space, one row a list */
.bl-title { margin: 18px 16px 18px; font: 600 34px/1.08 var(--serif); font-style: normal; letter-spacing: -.01em; color: var(--ink); }
.bl-rows { list-style: none; margin: 0 16px; padding: 0; display: grid; gap: 14px; }
.bl-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer; }
.bl-th { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--paper-2); }
.bl-th img { width: 100%; height: 100%; object-fit: cover; }
.bl-th .bl-tone { font-size: 28px; }
.bl-dash { background: transparent; border: 1.5px dashed var(--forest); }
.bl-dash i { width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--on-forest); display: grid; place-items: center; }
.bl-dash .ic { width: 16px; height: 16px; }
.bl-nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bl-nm b { font: 600 17px/1.25 var(--sans); overflow-wrap: anywhere; }
.bl-nm small { font-size: 13px; color: var(--forest); }
.bl-create .bl-nm b { color: var(--forest); }
.bl-n { font-size: 16px; color: var(--ink-2); padding-right: 6px; }
.bl-row:hover .bl-nm b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl-start { margin: 22px 16px 0; }
.bl-sh { font: 600 30px/1.1 var(--serif) !important; font-style: normal !important; }
/* Memories: a date, a line, a big photo, like the timeline in her favorite couples app */
.bl-up { display: inline-flex; align-items: center; gap: 4px; margin: 10px 0 0 16px; min-height: 36px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.bl-up .ic { width: 16px; height: 16px; }
.bl-tl { list-style: none; margin: 0 16px; padding: 0; display: grid; gap: 22px; }
.bl-tl li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.bl-tld { display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.bl-tld small { font-size: 12px; color: var(--ink-2); }
.bl-tld b { font: 500 20px/1.1 var(--sans); }
.bl-tld::after { content: ""; flex: 1; width: 1px; margin-top: 8px; background: var(--rule-2); }
.bl-tlc { display: grid; gap: 8px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.bl-tlp { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--tc, var(--paper-2)); }
.bl-tlp img { width: 100%; height: 100%; object-fit: cover; }
.bl-tlp i { font: italic 400 64px/1 var(--serif); color: #fff; }
.bl-tlc b { font: 500 16px/1.3 var(--sans); }

.bl-tlp:not(:has(img)) { aspect-ratio: 5 / 2; }
.bl-tlp:not(:has(img)) i { font-size: 44px; }
/* suggestions inside a list (30 Nov 2026): one quiet button; ideas dashed like every suggestion, Add or Not this */
.bl-sugb { margin: 12px 0 0; }
.bl-sugb.bl-sugall { margin: 26px 16px 0; }
.bl-sugs.bl-sugall { margin: 22px 16px 0; }
.bl-sugm { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.bl-sugm a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.bl-sugbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px dashed var(--rule-2); border-radius: 999px; background: none; color: var(--ink); font: 500 14.5px/1 var(--sans); cursor: pointer; }
.bl-sugbtn .ic { width: 14px; height: 14px; color: var(--gold); }
.bl-sugbtn:hover { border-color: var(--forest); }
.bl-sugs { margin-top: 14px; }
.bl-sug { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px; padding: 10px 10px 10px 14px; border: 1.5px dashed var(--rule-2); border-radius: 14px; background: transparent; }
.bl-sugt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bl-sugt b { font: 400 16px/1.3 var(--sans); }
.bl-sugt small { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.bl-sugx, .bl-sugp { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; }
.bl-sugx { background: none; color: var(--ink-2); }
.bl-sugx:hover { color: var(--ink); background: var(--rule); }
.bl-sugp { background: var(--ink); color: var(--paper); }
.bl-sugx .ic, .bl-sugp .ic { width: 18px; height: 18px; }
.bl-sugf { display: flex; gap: 18px; margin: 10px 0 0; }
/* the goal page (30 Nov 2026): SMART at the front, Help me plan, a + answered right where it is, proposals to keep */
.gp-smart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.gp-smart .gv-smartgo { margin: 0; }
.gp-smart .why { position: relative; top: auto; right: auto; margin-left: -6px; }
.gp-doc .gv-card { margin-top: 12px; }
.gp-help { margin-top: 4px; }
.gp-ctx { position: relative; }
.gp-ctx textarea { display: block; width: 100%; min-height: 64px; padding: 4px 46px 4px 0; border: 0; border-bottom: 1px solid var(--rule); background: repeating-linear-gradient(to bottom, transparent 0 29px, var(--rule) 29px 30px); background-attachment: local; resize: vertical; font: italic 400 18px/30px var(--serif); color: var(--ink); }
.gp-ctx textarea::placeholder { color: var(--ink-2); }
.gp-ctx textarea:focus { outline: none; border-bottom-color: var(--ink); }
.gp-mic { position: absolute; right: 0; top: 2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule-2); background: none; color: var(--ink); }
.gp-mic .ic { width: 19px; height: 19px; }
.gp-mic[aria-pressed="true"] { background: var(--gold, #B8954A); border-color: var(--gold, #B8954A); color: #1C2A22; }
.gp-listen { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.gp-help-b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; }
.gp-help-b .btn { width: auto; }
.gp-propbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); }
.gp-propbar span { margin-right: auto; }
.gp-q { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--rule); }
.gp-q .gv-q { margin-top: 0; }
.gp-props { list-style: none; margin: 6px 0 0; padding: 0; }
.gp-prop { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px; min-height: 44px; border-bottom: 1px dotted var(--rule-2); }
.gp-plan li.gp-prop { grid-template-columns: 36px minmax(0, 1fr) auto auto; border-bottom-style: dotted; }
.gp-plan li.gp-prop::before { opacity: .75; padding-top: 0; }
.gp-pt { font: italic 400 18px/1.3 var(--serif); color: var(--ink-2); padding: 8px 0; }
.gp-pk, .gp-pn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--ink-2); }
.gp-pk { color: var(--forest, var(--forest)); }
.gp-pk:hover, .gp-pn:hover { background: var(--paper); }
/* the SMART row fits one line on a phone: letters, what they mean, Make it SMART */
.gp-smart { gap: 8px; flex-wrap: nowrap; }
.gp-smart .gv-letters { gap: 4px; }
.gp-smart .gv-letters span { width: 26px; height: 26px; font-size: 11.5px; }
.gp-smart .why { margin-left: -4px; }
.gp-smart .gv-smartgo { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
@media (max-width: 340px) { .gp-smart { flex-wrap: wrap; } }
/* section notes: a ★ beside the name, the note on hover or tap */
.gp-h .gp-tip { position: relative; top: auto; right: auto; display: inline-flex; vertical-align: middle; margin: -6px 0 -6px 4px; letter-spacing: 0; text-transform: none; }
.gp-h .gp-tip .why-pop { text-transform: none; letter-spacing: 0; font: 400 13px/1.4 var(--sans); }
/* erase: one tap, on everything she added (on a computer it shows on hover or focus; on a phone it's always there, quietly) */
.gp-x { flex: none; width: 34px; height: 34px; display: grid; place-items: center; align-self: center; border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer; }
.gp-x .ic { width: 13px; height: 13px; }
.gp-x:hover, .gp-x:focus-visible { background: var(--paper); color: #b3261e; }
@media (hover: hover) { .has-x .gp-x { opacity: 0; transition: opacity .12s; } .has-x:hover .gp-x, .has-x:focus-within .gp-x { opacity: 1; } }
@media (hover: none) { .has-x .gp-x { opacity: .65; } }
.gp-plan li.has-x { grid-template-columns: 36px minmax(0, 1fr) auto; }
.gp-habs li.has-x { grid-template-columns: minmax(0, 1fr) auto auto; }
.gp-ms li.has-x { display: flex; align-items: center; border-bottom: 1px solid var(--rule); }
.gp-ms li.has-x a { flex: 1; min-width: 0; border-bottom: 0; }
.gp-whyrow { display: flex; align-items: flex-start; gap: 6px; }
.gp-whyrow .gp-why { flex: 1; min-width: 0; }
.gp-end { margin: 28px 0 0; }
.gp-erasegoal { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.gp-erasegoal .ic { width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) { .has-x .gp-x { transition: none; } }
/* ---------- The goal ladder (1 Dec 2026): Plan and Why tabs, the "Ladder" look she picked ---------- */
.gp-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0 4px; padding: 3px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; }
.gp-tabs button { min-height: 38px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 14.5px/1 var(--sans); cursor: pointer; }
.gp-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.lad-sum { margin-top: 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.lad-top { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.lad-top p { margin: 0; min-width: 0; }
.lad-top p b { display: block; font: 500 15.5px/1.3 var(--sans); color: var(--ink); }
.lad-top p span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.lad-ring { --p: 0; flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--forest) calc(var(--p) * 1%), var(--paper-2) 0); }
.lad-ring > span { width: 50px; height: 50px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font: 500 16px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.lad-ring > span small { font-size: 10px; margin-left: 1px; }
.lad-ring.sm { width: 36px; height: 36px; }
.lad-ring.sm > span { width: 28px; height: 28px; font-size: 11px; }
.lad-counts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.lad-counts div { text-align: center; padding: 10px 8px 11px; }
.lad-counts div + div { border-left: 1px solid var(--rule); }
.lad-counts b { display: block; font: 500 19px/1.15 var(--sans); }
.lad-counts small { font-size: 12.5px; color: var(--ink-2); }
.lad-counts .c-m b { color: var(--accent); } .lad-counts .c-t b { color: var(--ink); } .lad-counts .c-d b { color: var(--forest); }
.lad-sech { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lad-sech .gp-h { margin-bottom: 8px; }
.lad-sug { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--rule-2); background: none; color: var(--ink); font: 500 13px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.lad-sug .ic { width: 13px; height: 13px; color: var(--gold); }
.lad-sug:hover { border-color: var(--ink-2); }
.lad-ms { margin: 0 0 10px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; }
.lad-msh { display: flex; align-items: center; gap: 11px; padding: 12px 12px 12px 13px; }
.lad-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 500 15px/1 var(--sans); }
.lad-num .ic { width: 15px; height: 15px; }
.lad-ms.done .lad-num { background: var(--forest); }
.lad-mst { flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; }
.lad-mst b { display: block; font: 500 16px/1.3 var(--sans); }
.lad-mst small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.lad-chev { flex: none; width: 32px; height: 32px; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.lad-chev .ic { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .15s; }
.lad-ms.is-open .lad-chev .ic { transform: rotate(-90deg); }
.lad-msb { border-top: 1px solid var(--rule); padding: 4px 14px 10px; }
.lad-msonly { margin-top: 0; }
.lad-msonly .lad-msb { border-top: 0; }
.lad-msacts { display: flex; gap: 16px; margin: 6px 0 2px; font-size: 13px; }
.lad-task { padding: 10px 0 2px; }
.lad-task + .lad-task { border-top: 1px solid var(--rule); }
.lad-taskh { position: relative; display: flex; align-items: flex-start; gap: 11px; }
.lad-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--rule-2); background: none; color: transparent; display: grid; place-items: center; cursor: pointer; }
.lad-box .ic { width: 13px; height: 13px; }
.lad-box.on { background: var(--forest); border-color: var(--forest); color: var(--on-forest, #fff); }
.lad-box:disabled { cursor: default; }
.lad-tt { flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; }
.lad-tt b { display: block; font: 500 15px/1.3 var(--sans); }
.lad-tt small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-2); }
.lad-todos { list-style: none; margin: 6px 0 0 33px; padding: 0; }
.lad-todos li { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-top: 1px solid var(--rule); }
.lad-todos li:first-child { border-top: 0; }
.lad-circ { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--rule-2); background: none; color: transparent; display: grid; place-items: center; cursor: pointer; }
.lad-circ .ic { width: 12px; height: 12px; }
.lad-circ:hover { border-color: var(--forest); color: var(--forest); }
li.done .lad-circ, .lad-circ[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest, #fff); }
.lad-tx { flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); text-decoration: none; cursor: pointer; }
.lad-tx > span { display: block; font: italic 400 16.5px/1.3 var(--serif); }
.lad-tx small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
li.done .lad-tx > span { text-decoration: line-through; color: var(--ink-2); }
.lad-bd { color: #c93b62; }
.lad-adds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 4px 33px; font-size: 13.5px; }
.lad-adds .linkbtn { display: inline-flex; align-items: center; gap: 4px; }
.lad-adds .linkbtn .ic { width: 12px; height: 12px; }
.lad-adds-t { margin-left: 0; padding-top: 8px; border-top: 1px solid var(--rule); }
.lad-adds-m { margin: 4px 0 0; }
.lad-full { margin: 6px 0 4px; }
.lad-form { display: grid; gap: 8px; margin: 8px 0 6px; padding: 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); }
.lad-form input[name=t] { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); color: var(--ink); font: italic 400 16px/1.3 var(--serif); }
.lad-date input { min-height: 38px; padding: 6px 10px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); color: var(--ink); font: 400 14px/1.2 var(--sans); }
.lad-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lad-erasems { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--ink-2); }
.lad-editing { display: block !important; border-top: 0 !important; }
.lad-sugp { margin: 8px 0 12px; padding: 12px; border-radius: 16px; border: 1px dashed var(--rule-2); background: var(--paper); }
.lad-lvl { padding: 12px 14px; border-radius: 14px; background: var(--accent-w, var(--paper-2)); }
.lad-lvl b { font: 500 15px/1.3 var(--sans); color: var(--ink); }
.lad-lvl p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.lad-lim { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--card); color: var(--accent); font-size: 12.5px; }
.lad-sugp .gp-ctx { margin-top: 10px; }
.lad-props { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.lad-prop { display: grid; gap: 8px; padding: 11px 12px; border-radius: 14px; border: 1.5px dashed var(--rule-2); background: var(--card); }
.lad-prop b { display: block; font: italic 400 17px/1.3 var(--serif); color: var(--ink); }
.lad-prop small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.lad-pa { display: flex; gap: 8px; }
.lad-pa .btn .ic { width: 12px; height: 12px; margin-right: 3px; }
.lad-propbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0 0; font-size: 13.5px; }
.gp-askrow { margin: 18px 0 4px; }
/* Home: Next to-dos */
.nxt { margin: 12px 16px 0; padding: 14px 16px 8px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; }
.nxt-h { margin: 0 0 4px; font: 500 16px/1.3 var(--sans); color: var(--ink); }
.nxt ul { list-style: none; margin: 0; padding: 0; }
.nxt li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.nxt li:first-child { border-top: 0; }
/* Board: a goal's to-do says which goal */
.bd-goal { display: inline-flex; align-items: center; gap: 4px; color: #7353c0; }
.bd-goal .ic { width: 12px; height: 12px; }
/* a goal that sounds like a to-do */
.gsmall { margin: 10px 0 0; padding: 14px 16px; border-radius: 16px; background: #fbe6ee; color: var(--ink); }
.gsmall b { font: 500 15px/1.3 var(--sans); }
.gsmall p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; }
.gsmall .gv-act { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .lad-chev .ic { transition: none; } }
/* a goal's title in the Bucket list title's font (1 Dec 2026, her ask: "let's keep the same font that we have in the bucket list") */
.gp-title { font: 600 34px/1.08 var(--serif); font-style: normal; letter-spacing: -.01em; }
@media (max-width: 420px) { .gp-title { font-size: 32px; } }
/* ---------- One title style for Vision, Goals, Bucket list and Habits (1 Dec 2026, her ask: "I love the font of the bucket list
   and size ... consistent across the habits, the done, the goals, the bucket list"): the Bucket list's bold serif at 34px ---------- */
.gtitle h1.lt-title, .vhead .gtitle h1.lt-title, .ghead .gtitle h1.lt-title { font: 600 34px/1.08 var(--serif); font-style: normal; letter-spacing: -.01em; color: var(--ink); }
.vhead { padding: 14px 16px 8px; }
.ghead { padding: 14px 16px 16px; }
.vhead .gtitle { align-items: center; }
/* the Vision bar without Done: the movie, and the way to what happened */
.vbar .vmem-link { font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); min-height: 44px; display: inline-flex; align-items: center; }
/* the memory lane: a goal or a place under its name; things she went to aren't buttons */
a.bl-tlc, div.bl-tlc { text-decoration: none; color: var(--ink); }
div.bl-tlc { cursor: default; }
.bl-tlc small { margin-top: -4px; font-size: 13px; color: var(--ink-2); }
/* ---------- The Goals overview (1 Dec 2026, her ask, after her screenshot: the date, how many tasks, no subgoals, an overview of
   how many are active). An overview card, the goals in focus as cards, On hold and Done as rows like the Bucket list's. ---------- */
.gov-ov { display: flex; align-items: center; gap: 18px; margin: 4px 0 0; padding: 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; }
.gov-ot { font: 500 15px/1.3 var(--sans); color: var(--ink); }
.gov-ot small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.gov-n { display: flex; gap: 20px; margin-top: 8px; }
.gov-n span { font-size: 13px; color: var(--ink-2); }
.gov-n b { display: block; font: 600 22px/1.1 var(--serif); font-style: normal; color: var(--ink); }
.gov-ov.no-ring .gov-n { margin-top: 6px; }
.gov-tl { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; min-height: 32px; font-size: 13.5px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gov-tl .ic { width: 12px; height: 12px; }
.gov-h { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 10px; font: 500 15px/1.2 var(--sans); color: var(--ink); }
.gov-h small { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.glist.gov { display: grid; gap: 12px; }
.gov .gl { display: block; border-bottom: 0; background: none; }
.gov .gn { font: inherit; padding: 0; color: inherit; }
.gov .gh { min-height: 28px; width: 28px; margin: 0 2px 0 -7px; justify-content: center; }
.gov .gmore { min-height: 32px; width: 32px; justify-content: center; }
.gov .gl.dragging { background: none; box-shadow: none; }
.gov .gl.dragging.gcard, .gov .gl.dragging .gh-main { box-shadow: 0 12px 26px -14px rgba(28, 42, 34, .5); }
.gc-th { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--tc, var(--paper-2)); color: #fff; }
.gc-th img { width: 100%; height: 100%; object-fit: cover; }
.gc-th i { font: italic 400 26px/1 var(--serif); }
.gc-th.sm { width: 48px; height: 48px; }
.gc-th.sm i { font-size: 22px; }
.gc-thl { display: block; border-radius: 10px; }
.gc-name, .gov .gtext.gc-name { font: 600 21px/1.15 var(--serif); font-style: normal; letter-spacing: -.005em; color: var(--ink); overflow-wrap: anywhere; }
/* a goal in focus */
.gcard { padding: 14px 12px 12px 14px; background: var(--card) !important; border: 1px solid var(--rule); border-radius: 18px; }
.gc-top { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.gc-no { display: flex; align-items: center; font-size: 13px; line-height: 1; color: var(--ink-2); }
.gc-t .gtext { min-height: 0; margin-top: 2px; }
.gc-t .gedit { margin-top: 4px; font-size: 20px; }
.gc-by { margin-top: 5px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.gc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-right: -4px; }
.lad-ring.gc-ring { width: 48px; height: 48px; }
.lad-ring.gc-ring > span { width: 38px; height: 38px; font-size: 13.5px; }
.lad-ring.gc-ring > span small { font-size: 9px; }
.gc-c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.gc-c span { font-size: 12.5px; color: var(--ink-2); }
.gc-c b { display: block; font: 500 16px/1.25 var(--sans); color: var(--ink); }
.gc-plan { margin-top: 12px; }
.gc-next { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.gc-next a { min-width: 0; color: var(--ink); text-decoration: none; }
.gc-next i { font: italic 400 16px/1.3 var(--serif); }
.gc-next small { font-size: 13.5px; color: var(--ink-2); }
.gc-next a:hover i { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.gc-next .lad-circ { border-color: var(--forest); }
.gcard .gneed { margin-top: 10px; }
/* on hold: a row like the Bucket list's, with its handle */
.ghold { display: grid !important; grid-template-columns: 28px 48px minmax(0, 1fr) 32px; align-items: center; gap: 0 12px; padding: 2px 0; }
.ghold .gh { margin: 0 -6px 0 -4px; }
.gh-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--ink); text-decoration: none; }
.gh-main .gc-name { font-size: 17px; line-height: 1.2; }
.gh-main small { font-size: 13px; color: var(--ink-2); }
.gh-main:hover .gc-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gov .gl.hold-first { margin-top: 40px; border-top: 0; }
.gov .gl.hold-first::before { content: "On hold"; top: -30px; font: 500 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
/* done and let go */
.gov-done { list-style: none; display: grid; gap: 12px; }
.gd-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.gd-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gd-row .gc-name { font-size: 17px; line-height: 1.2; }
.gd-row small { font-size: 13px; color: var(--ink-2); }
.gd-go { color: var(--ink-2); padding-right: 4px; }
.gd-row:hover .gc-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gov-more { margin-top: 10px; }
.gov ~ .gnew { margin-top: 14px; border-top: 1px solid var(--rule); }
.gsec.one { padding-left: 16px; padding-right: 16px; }
.gsec.one .glist.gov { border-top: 0; }
.gc-thl { text-decoration: none; }
.gc-plan { font-size: 13.5px; color: var(--ink-2); }
.gc-plan a { color: var(--forest); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
/* ---------- A new goal (1 Dec 2026, her picks: one field, then its page): one field, an optional date, Add goal ---------- */
.gnew-s { display: grid; gap: 12px; margin-top: 4px; }
.gnew-l { font: 500 15px/1.3 var(--sans); color: var(--ink); }
.gnew-s textarea#gn-all { width: 100%; min-height: 64px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--card); font: 600 21px/1.25 var(--serif); font-style: normal; color: var(--ink); resize: none; }
.gnew-s textarea#gn-all::placeholder { color: var(--ink-2); opacity: .6; font-weight: 400; }
.gnew-s textarea#gn-all:focus-visible { outline: 2px solid var(--forest); outline-offset: 1px; }
.gnew-d { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 2px; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink); }
.gnew-d small { font-size: 13px; color: var(--ink-2); margin-left: 4px; }
.gnew-d input { font: 500 15px var(--sans); color: var(--ink); background: none; border: 0; text-align: right; min-height: 40px; }
.gnew-act { display: grid; gap: 8px; margin-top: 4px; }
.gnew-act .btn.ink { width: 100%; }
.gnew-act [hidden] { display: none; }
.gnew-note { font-size: 13px; color: var(--ink-2); }
.gnew-foot { text-align: center; }
.gnew-full { font-size: 15px; color: var(--ink); margin-top: 6px; }
.gnew-s .gsmall, .gnew-s .gpaste { margin: 0; }
.gov-empty { margin: 8px 0 4px; }
/* the Why tab: four sections in order, the rest under More, SMART at the end */
.gp-why.sm { font-size: 18px; }
.gp-why small { display: block; margin-top: 2px; font: 400 13px/1.3 var(--sans); font-style: normal; color: var(--ink-2); }
[role="tabpanel"] > .gp-smart { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }
/* ---------- Finish or delete a goal (1 Dec 2026, her picks): a check like a Board card's, an × on hover on a computer, swipe left on a phone ---------- */
.gc-do { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -2px; }
.gc-do span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .12s, color .12s; }
.gc-do .ic { width: 16px; height: 16px; opacity: .22; transition: opacity .12s; }
.gc-do:hover .ic, .gc-do:focus-visible .ic { opacity: 1; }
.gc-do:hover span, .gc-do:focus-visible span { background: var(--ink); color: var(--paper); }
.gc-do:focus-visible { outline: none; }
.ghold { grid-template-columns: 28px 48px minmax(0, 1fr) 40px !important; }
.gov > li, .gov-done > li { position: relative; touch-action: pan-y; }
.gc-x { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink-2); box-shadow: 0 1px 4px rgba(28, 42, 34, .22); opacity: 0; transition: opacity .12s; z-index: 2; }
.gc-x .ic { width: 12px; height: 12px; }
.gov > li:hover .gc-x, .gov-done > li:hover .gc-x, .gc-x:focus-visible { opacity: 1; }
.gc-x:hover { color: #b3261e; }
.ghold .gc-x { top: 50%; right: 44px; transform: translateY(-50%); }
.gov-done .gc-x { top: 50%; right: 26px; transform: translateY(-50%); }
@media (hover: none) { .gc-x { display: none; } }
.gov > li.is-swiping, .gov-done > li.is-swiping { z-index: 3; }
.gov > li.ghold.is-swiping, .gov-done > li.is-swiping { background: var(--paper); }
.gov > li.is-swiping::after, .gov-done > li.is-swiping::after { content: "Delete"; position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 500; color: #b3261e; white-space: nowrap; }
/* rename in place on the goal's page */
.gp-title-in { display: block; width: 100%; border: 0; border-bottom: 1.5px solid var(--forest); background: none; padding: 0 0 4px; resize: none; overflow: hidden; color: var(--ink); }
.gp-title-in:focus-visible { outline: none; }
/* the done moment */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.gd-moment { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 8px 4px 4px; }
.lad-ring.gd-ring { width: 96px; height: 96px; animation: gd-fill 1s cubic-bezier(.2, .7, .2, 1) both; }
.lad-ring.gd-ring > span { width: 80px; height: 80px; font-size: 22px; }
@keyframes gd-fill { from { --p: 0; } }
dialog.bs h2.gd-t { margin: 6px 0 0; font: 600 30px/1.1 var(--serif); font-style: normal; letter-spacing: -.01em; }
.gd-day { font: 500 15px var(--sans); color: var(--forest); }
.gd-took { font-size: 14px; color: var(--ink-2); }
.gd-photo { width: 100%; margin-top: 6px; }
.gd-ph { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-top: 6px; }
.gd-mem { font-size: 14px; color: var(--ink-2); }
.gd-mem a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gd-act { display: grid; gap: 8px; justify-items: center; width: 100%; margin-top: 4px; }
.gd-act .btn.ink { width: 100%; }
@media (prefers-reduced-motion: reduce) { .lad-ring.gd-ring { animation: none; } }

/* View: Map, Travel and List / Grid under one button, opened in place under the toolbar (audit, 1 Dec 2026) */
.ct-view .ic { transform: rotate(90deg); transition: transform .15s ease-out; }
.ct-view[aria-expanded="true"] { border-color: var(--forest); }
.ct-view[aria-expanded="true"] .ic { transform: rotate(-90deg); }
.ct-vp { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--rule-2); border-radius: 16px; background: var(--card, #fff); }
.ct-vp .wkmode { margin: 0 4px 0 0; }
.ct-vp .wkmode button { min-height: 38px; padding: 0 14px; }
@media (prefers-reduced-motion: reduce) { .ct-view .ic { transition: none; } }

/* the week's home base, travel and budget sheet (audit, 1 Dec 2026) */
.fit-h { padding-right: 52px; }
.fit-hoods { margin-top: 10px; }
.gov-empty .gov-what { margin: 0 0 12px; color: var(--ink-2, #4a4a44); font-size: 16px; }
/* no zero counts: an empty count shows nothing (audit, 1 Dec 2026) */
.bd-n:empty, .bl-n:empty { display: none; }

/* ---------- the sidebar (1 Dec 2026): a menu button at the top left of every screen; the menu slides in from the left ---------- */
.menubtn { flex: none; width: 40px; height: 40px; margin-left: -8px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.menubtn .ic { width: 22px; height: 22px; }
@media (hover: hover) { .menubtn:hover, .appback:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); } }
.menubtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.appbar .menubtn { margin-right: -4px; }
.calhead .menubtn { margin-left: -4px; }
.snav { position: fixed; inset: 0 auto 0 0; width: min(304px, 84vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-right: 1px solid var(--rule); border-radius: 0 18px 18px 0; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); box-shadow: 18px 0 40px -24px rgba(28, 42, 34, .45); }
.snav::backdrop { background: rgba(28, 42, 34, .28); }
.snav-in { display: flex; flex-direction: column; min-height: 100%; padding: max(12px, env(safe-area-inset-top)) 12px max(14px, env(safe-area-inset-bottom)) 12px; }
.snav-h { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px 12px; }
.snav-h .wm { font-size: 22px; color: var(--ink); text-decoration: none; }
.snav-x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.snav-x:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.snav-l ul { list-style: none; margin: 0; padding: 5px 0; }
.snav-l ul + ul { border-top: 1px solid var(--rule); }
.snav-l a { display: flex; align-items: center; gap: 14px; min-height: 42px; padding: 0 12px; border-radius: 12px; font-size: 16px; color: var(--ink); text-decoration: none; }
.snav-l a .ic { flex: none; width: 21px; height: 21px; color: var(--ink-2); }
.snav-l a:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.snav-l a[aria-current="page"] { background: var(--accent-w, color-mix(in srgb, var(--accent) 12%, transparent)); font-weight: 500; }
.snav-l a[aria-current="page"] .ic { color: var(--accent); }
.snav-l a:focus-visible, .snav-me:focus-visible, .snav-x:focus-visible, .snav-h .wm:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.snav-me { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.snav-me .me { margin: 0; width: 36px; height: 36px; flex: none; }
.snav-me b { display: block; font-weight: 500; font-size: 15px; }
.snav-me small { display: block; font-size: 13px; color: var(--ink-2); }
.snav-me[aria-current="page"] b { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .snav[open] { animation: snav-in .22s cubic-bezier(.16, 1, .3, 1); }
  .snav[open]::backdrop { animation: snav-fade .22s ease-out; }
  .snav.is-closing { animation: snav-out .18s ease-in forwards; }
  .snav.is-closing::backdrop { animation: snav-fade .18s ease-in reverse forwards; }
  @keyframes snav-in { from { transform: translateX(-100%); } }
  @keyframes snav-out { to { transform: translateX(-100%); } }
  @keyframes snav-fade { from { opacity: 0; } }
}

/* ---------- goal questions (1 Dec 2026): three taps while adding a goal, the rest in Why, a plan from the answers ---------- */
.gc-kind { margin: 10px 0 2px; font-size: 13.5px; color: var(--ink-2); }
.gc-kind b { font-weight: 500; color: var(--forest); }
.gc-kind .linkbtn { margin-left: 6px; font-size: 13px; }
.gc-q { margin: 14px 0 0; }
.gc-q > p { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.gc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-chip { min-height: 36px; font-size: 14px; }
.gc-chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.gc-safe { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--paper-2); font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.gc-why { margin-bottom: 8px; }
.gc-why .gc-q:first-child { margin-top: 4px; }
.gc-wq { margin-top: 16px; }
.gc-wq > p { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: var(--ink); display: flex; align-items: flex-start; gap: 2px; }
.gc-ta { width: 100%; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); font: italic 400 17px/1.35 var(--serif); color: var(--ink); resize: vertical; }
.gc-act { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.gp-chip.is-guess { border-color: var(--forest); color: var(--forest); }
.gc-plan { margin: 6px 0 18px; padding: 14px 14px 12px; border: 1.5px dashed var(--rule-2); border-radius: 18px; }
.gc-ph { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.gc-ms { list-style: none; margin: 0; padding: 0; }
.gc-ms > li { padding: 8px 0; border-top: 1px solid var(--rule); }
.gc-ms > li:first-child { border-top: 0; }
.gc-ms > li > b { display: flex; gap: 6px; font-weight: 500; font-size: 15px; }
.gc-ms > li > b i { font: italic 400 15px var(--serif); color: var(--accent); }
.gc-task { margin: 6px 0 0 20px; }
.gc-task > span { font-size: 14.5px; }
.gc-task ul { margin: 2px 0 0; padding: 0; list-style: none; }
.gc-task li { display: flex; gap: 8px; align-items: baseline; padding: 2px 0; font: italic 400 16px/1.35 var(--serif); color: var(--ink); }
.gc-task li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.3px solid var(--ink-2); transform: translateY(1px); }
/* while the plan from her answers is waiting, the empty "Start with a milestone" summary would say the same thing */
.gc-plan + .lad-sum { display: none; }
/* the add sheet's questions as + bubbles (1 Dec 2026): the whole question in the bubble, wrapping when long */
.gc-bubbles { margin-top: 12px; flex-wrap: wrap; }
.gc-bubbles .gp-chip { white-space: normal; text-align: left; height: auto; min-height: 36px; padding-block: 7px; }
.gc-ans { margin-top: 12px; }
.gc-ans > small { display: block; margin-bottom: 4px; font-size: 13px; color: var(--ink-2); }

/* The goal's deadline, first on Plan; the calendar one month at a time (1 Dec 2026) */
.gp-due { display: flex; align-items: center; gap: 6px; margin: 14px 0 6px; }
.gp-duet { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); text-align: left; font: 500 15px/1.2 var(--sans); color: var(--ink); }
.gp-duet .ic { color: #c0392b; flex: none; }
.gp-duet[aria-expanded="true"] { border-color: var(--ink); }
.gp-duemiss { margin: 14px 0 6px; }
.gp-duemiss .ic { color: #c0392b; }
.gp-dueq { margin: 0 0 14px; padding: 12px 12px 10px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.gv-cal-t { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; font: italic 400 20px/1 var(--serif); color: var(--ink); }
.gv-cal-t .ic { transition: transform .2s; opacity: .6; }
.gv-cal-t[aria-expanded="true"] .ic { transform: rotate(180deg); }
.gv-cal-t:hover { background: var(--paper-2); }
.gv-cal-h + .gv-cal-g { margin-top: 6px; }
.gv-cal-h + .gv-cal-m { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 4px; }
.gv-cal-h + .gv-cal-m button { min-height: 42px; font-size: 14px; }
.gv-cal-h + .gv-cal-m button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.gv-cal-t .gv-cal-chev { transform: rotate(90deg); }
.gv-cal-t[aria-expanded="true"] .gv-cal-chev { transform: rotate(-90deg); }
.gp-dueq .gv-cal-g button { aspect-ratio: auto; min-height: 0; height: 38px; width: 38px; justify-self: center; }
.gp-dueq .gv-cal-g { row-gap: 0; }
.ts-box:empty { display: none; } .ts-box { margin: 10px 0 2px; min-height: 65px; }
/* Sign in with Apple (iPhone app only): Apple's black button, full width, after the form */
.apple-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--ink-2); font-size: 13px; }
.apple-or::before, .apple-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.apple-btn { width: 100%; background: #000; color: #fff; border-color: #000; font-weight: 500; }
.apple-btn span { font-size: 1.15em; margin-right: 2px; }
.bs-ical { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
/* the one-line Add (2 Dec): what was understood shows as chips; the fields fold under Change details */
.of-hint span { display: inline-block; margin: 0 6px 6px 0; padding: 6px 10px; border-radius: 8px; background: var(--card); color: var(--ink); font: 500 13px/1.2 var(--mono, var(--sans)); }
.of-hint:not(:empty) { margin-top: 10px; }
.of-more { margin: 4px 0 10px; }
.of-more > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--ink-2); list-style: none; }
.of-more > summary::-webkit-details-marker { display: none; }
.of-more > summary::after { content: "›"; margin-left: 6px; transition: transform .2s; }
.of-more[open] > summary::after { transform: rotate(90deg); }

/* Day one: a whole day, planned (2 Dec 2026, her pick B). Only until the first plan; then Home as usual. */
.d1 { margin: 14px 16px 6px; }
.d1 .lk { margin: 0 0 6px; }
.d1-h { font-size: 32px; line-height: 1.04; margin: 0 0 8px; }
.d1-lede { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.d1-card { border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.d1-ph { position: relative; height: 150px; background: var(--board, #16181A) center / cover no-repeat; display: flex; align-items: flex-end; padding: 12px 14px; }
.d1-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.d1-ph b { position: relative; z-index: 1; color: #fff; font-family: var(--serif); font-weight: 800; font-size: 23px; line-height: 1.05; letter-spacing: -.03em; }
.d1-cr { position: absolute; z-index: 1; top: 6px; right: 8px; font-size: 10px; color: rgba(255,255,255,.9); }
.d1-stops { list-style: none; margin: 0; padding: 14px 14px 4px; }
.d1-stop { display: grid; grid-template-columns: 74px 12px minmax(0, 1fr); gap: 10px; align-items: start; }
.d1-t { font-family: var(--mono, ui-monospace, Menlo, monospace); font-size: 13px; font-weight: 500; padding-top: 1px; white-space: nowrap; }
.d1-stop > i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin-top: 4px; }
.d1-w { min-width: 0; }
.d1-w b { display: block; font-size: 16px; line-height: 1.2; font-weight: 650; }
.d1-w small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.d1-leg { font-family: var(--mono, ui-monospace, Menlo, monospace); font-size: 11px; color: var(--ink-2); padding: 6px 0 8px 89px; position: relative; }
.d1-leg::before { content: ""; position: absolute; left: 78px; top: -2px; bottom: -2px; width: 2px; background: var(--rule-2, rgba(17,17,17,.22)); }
.d1-act { display: flex; align-items: center; gap: 12px; padding: 10px 14px 14px; }
.d1-act .btn { flex: 1; }
.d1-who { display: grid; gap: 8px; margin-top: 6px; }
.d1-who button { display: flex; gap: 12px; align-items: center; text-align: left; min-height: 64px; padding: 12px 14px; border-radius: 14px; background: var(--paper, #fff); box-shadow: inset 0 0 0 1px var(--rule-2, rgba(17,17,17,.22)); font: inherit; color: inherit; cursor: pointer; }
.d1-who b { display: block; font-size: 16px; font-weight: 650; }
.d1-who small { display: block; font-size: 13px; color: var(--ink-2); }
.d1-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--card); display: grid; place-items: center; font-weight: 700; }

/* the Calendar card's proposals and their filters (2 Dec 2026) */
.hm-week .hm-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hm-filt { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 2px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2, rgba(17,17,17,.25)); text-underline-offset: 4px; cursor: pointer; position: relative; }
.hm-filt::after { content: ""; position: absolute; inset: -6px -8px; }
.hm-filt b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #1F9D55; color: #fff; font-size: 11px; display: inline-grid; place-items: center; text-decoration: none; }
.hm-week .hm-list li.is-prop { outline: 1px dashed #C4483F; outline-offset: 2px; border-radius: 4px; }
.hm-week .hm-list li.is-prop { margin: 4px 2px; }
.hs-panel { grid-column: 1 / -1; margin: -4px 0 4px; padding: 10px 12px 8px; border-radius: 12px; background: var(--paper, #fff); box-shadow: inset 0 0 0 1px var(--rule, rgba(17,17,17,.12)); }
.hs-chips, .hs-bp { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-bp { margin-top: 6px; }
.hs-c { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px; background: none; box-shadow: inset 0 0 0 1px var(--rule-2, rgba(17,17,17,.22)); font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.hs-c[aria-pressed="true"] { color: #13703B; box-shadow: inset 0 0 0 1.5px #1F9D55; font-weight: 600; }
.hs-tf input { width: 110px; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule-2, rgba(17,17,17,.22)); background: none; font: inherit; font-size: 13px; color: var(--ink); }
.hs-own { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule-2, rgba(17,17,17,.22)); }
.hs-own input { width: 56px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); }
.hs-own span { font-size: 13px; color: var(--ink-2); }
.hs-line { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.hm-week .hm-list li.is-prop { outline-offset: 0; margin: 4px 0; padding: 3px 6px; }
/* proposed, said in words (2 Dec 2026, her: "don't add the red thing ... just say that it's proposed") */
.hm-week .hm-list li.is-prop { outline: 0; margin: 0; padding: 0; border-radius: 0; }
.hm-prop { margin-left: 8px; font-style: normal; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #8A6300; white-space: nowrap; }
.hm-list li span.hm-lt { font-size: inherit; color: inherit; font-variant-numeric: normal; }

/* Today, planned (2 Dec 2026): filters and Suggest again at the top, a + on each stop */
.d1-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.d1-top .lk { margin: 0; }
.d1-tools { display: inline-flex; gap: 14px; }
.d1-tools .linkbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 13px; font-weight: 600; }
.d1-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #1F9D55; color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.d1 .hs-panel { margin: 6px 0 10px; }
.d1-stop { position: relative; }
button.d1-w { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.d1-add, .d1-ok { flex: none; margin-left: auto; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--rule-2, rgba(17,17,17,.22)); background: none; color: var(--ink); cursor: pointer; position: relative; }
.d1-add::after { content: ""; position: absolute; inset: -4px; }
.d1-ok { border-color: #1F9D55; background: #1F9D55; color: #fff; cursor: default; }
.d1-stop.is-on .d1-w small { color: #13703B; }
.d1-stop { grid-template-columns: 74px 12px minmax(0, 1fr) 36px; } .d1-add, .d1-ok { margin-left: 0; margin-top: -6px; }
.hs-row2 { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; align-items: start; padding: 6px 0; border-top: 1px solid var(--rule, rgba(17,17,17,.1)); }
.hs-row2:first-child { border-top: 0; padding-top: 0; }
.hs-lab { padding-top: 9px; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.hs-from { align-self: center; font-size: 12px; color: var(--ink-2); }
.hs-panel .hs-tf input { width: 100%; min-width: 160px; }

/* the to-do card as a focus sheet (2 Dec 2026, her "after" picture) */
.fs { display: grid; gap: 14px; padding-top: 2px; }
.fs-goal { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: #DCEFEA; color: #1E6E62; font-size: 13px; font-weight: 600; text-decoration: none; }
.fs-goal i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.fs-k { margin: 0; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.fs-title textarea { display: block; width: 100%; resize: none; border: 0; padding: 0; background: none; font-family: "Newsreader", Georgia, serif; font-style: italic; font-weight: 500; font-size: 32px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); field-sizing: content; min-height: 1.15em; }
.fs-title textarea:focus { outline: none; box-shadow: 0 2px 0 var(--rule-2, rgba(17,17,17,.25)); }
.fs-dial { position: relative; justify-self: center; width: min(220px, 62vw); aspect-ratio: 1; border-radius: 50%; touch-action: none; cursor: grab; background: radial-gradient(circle at 50% 38%, #FBF8F1 0%, #EFE9DC 72%, #E6DECD 100%); box-shadow: inset 0 -6px 14px rgba(120, 100, 60, .12), 0 10px 24px rgba(60, 50, 30, .10); }
.fs-dial:focus-visible { outline: 2px solid #2C8C7E; outline-offset: 4px; }
.fs-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-track { fill: none; stroke: rgba(0,0,0,.04); stroke-width: 14; }
.fs-arc { fill: none; stroke: #2C8C7E; stroke-width: 14; stroke-linecap: butt; transition: stroke-dashoffset .12s ease-out; }
.fs-tick { stroke: rgba(40,35,25,.35); stroke-width: 1.6; stroke-linecap: round; }
.fs-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.fs-num b { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: 64px; line-height: 1; color: var(--ink); }
.fs-num small { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.fs-go { display: flex; justify-content: center; align-items: center; gap: 8px; }
.fs-start { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #1E1C1A; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.fs-pin { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2, rgba(17,17,17,.2)); background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.fs-pin[aria-pressed="true"] { background: #DCEFEA; color: #1E6E62; border-color: #2C8C7E; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-2, rgba(17,17,17,.18)); background: var(--paper, #fff); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.fs-chip.is-on { border-color: #2C8C7E; color: #1E6E62; }
.fs-chip[aria-expanded="true"] { background: #F1EDE4; }
.fs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tc, var(--ink)); }
.fs-more { padding: 10px 12px; border-radius: 14px; background: var(--paper, #fff); box-shadow: inset 0 0 0 1px var(--rule, rgba(17,17,17,.1)); }
.fs-more .bd-gh { display: none; }
.fs-clear { margin: 0 0 6px; text-align: right; }
.fs-steps { padding: 12px 14px; border-radius: 16px; background: var(--paper, #fff); box-shadow: 0 1px 0 var(--rule, rgba(17,17,17,.06)); }
.fs-sh { margin: 0 0 8px; font-family: var(--mono, monospace); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fs-steps ol { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 2px; }
.fs-steps li { display: flex; align-items: center; }
.fs-si { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.fs-si i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(40,35,25,.4); display: grid; place-items: center; }
.fs-steps li.is-done .fs-si span { color: var(--ink-2); text-decoration: line-through; }
.fs-steps li.is-done .fs-si i { background: #2C8C7E; border-color: #2C8C7E; color: #fff; }
.fs-sx { width: 36px; height: 36px; border: 0; background: none; color: var(--ink-2); opacity: .5; cursor: pointer; }
.fs-sadd { display: flex; gap: 6px; align-items: center; border-top: 1px solid var(--rule, rgba(17,17,17,.08)); padding-top: 6px; }
.fs-sadd input { flex: 1; min-width: 0; min-height: 40px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.fs-sgo { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-2, rgba(17,17,17,.2)); background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.fs-erase { margin: 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .fs-arc { transition: none; } }
.fs-chips { gap: 6px; } .fs-chip { min-height: 38px; padding: 0 12px; font-size: 13px; gap: 5px; }

/* Today, planned: a small header (2 Dec 2026) */
.d1-top { align-items: flex-start; }
.d1-k { margin: 0; display: grid; gap: 2px; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.d1-k small { font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.d1 > .d1-lede { margin-top: 8px; }
.d1-card { margin-top: 10px; }

/* habits: ticked fills green; the ring draws itself, the circle fills, a soft pulse goes out (2 Dec 2026) */
.hab-c { position: relative; }
.hab-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.hab-ring circle { fill: none; stroke: #1F9D55; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 154; stroke-dashoffset: 154; }
.hab.done .hab-ring circle { stroke-dashoffset: 0; }
.hab.done .hab-c { background: #1F9D55; border-color: #1F9D55; color: #fff; }
.hab.done .hab-t { color: #13703B; font-weight: 600; }
.hab.done.just .hab-ring circle { animation: hab-draw .5s cubic-bezier(.6,0,.3,1) both; }
.hab.done.just .hab-c { animation: hab-fill .8s ease both; }
.hab.done.just .hab-c::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1F9D55; animation: hab-pulse .9s .45s ease-out both; pointer-events: none; }
.hab.done.just .hab-c .ic { animation: hab-check .35s .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes hab-draw { from { stroke-dashoffset: 154; } to { stroke-dashoffset: 0; } }
@keyframes hab-fill { 0%, 55% { background: var(--card); color: transparent; } 100% { background: #1F9D55; color: #fff; } }
@keyframes hab-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@keyframes hab-check { from { transform: scale(.3); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hab.done.just .hab-ring circle, .hab.done.just .hab-c, .hab.done.just .hab-c::after, .hab.done.just .hab-c .ic { animation: none; } }

/* all-day plans sit in their own row above the hours (2 Dec) */
.wg-allday { display: grid; grid-template-columns: var(--gut) repeat(var(--cols, 7), minmax(0, 1fr)); gap: 0 2px; padding: 4px 0 6px; border-bottom: 1px solid var(--rule); }
.wg-allday > .wg-gut { font-size: 10px; line-height: 1.1; color: var(--ink-2); align-self: center; }
.wg-allday > div { display: grid; gap: 2px; align-content: start; min-width: 0; }
.wg-ad { display: block; width: 100%; min-height: 26px; padding: 3px 4px; border: 0; border-radius: 6px; background: var(--card); color: var(--ink); font: inherit; font-size: 11px; line-height: 1.15; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; hyphens: auto; cursor: pointer; }

/* The add line at the top of To do looks like the next card to write: type, Return, it's in. (2 Dec) */
.bd-add[data-form="todo"] input { font: 500 17px/1.25 var(--sans, "Jost"); }
.bd-addgo { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--rule-2); background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.bd-add:focus-within .bd-addgo { border-color: var(--accent); color: var(--accent); }
/* Discover: "+ Bucket list" reads like its neighbor "Add to Friday", same type and height (2 Dec) */
.dc-acts .dc-bl { min-height: 52px; width: auto; flex: none; padding-inline: 16px; font: inherit; font-weight: 600; font-size: 15px; gap: 4px; }
.dc-acts .dc-yes { font-size: 15px; font-weight: 600; }

/* the first-run tour, full screen over everything (2 Dec 2026) */
#tour { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3000; background: #121116; color-scheme: normal; }
html:not([data-theme="night"]) #tour { background: #fff; }

/* App icon picker (2 Dec 2026, Skyline Loop colorways) */
.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; margin-top: 14px; }
.ai-b { display: grid; justify-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; color: var(--ink); font: 400 12px/1.2 var(--sans); text-align: center; cursor: pointer; }
.ai-b img { filter: none !important; width: 60px; height: 60px; border-radius: 22.37%; display: block; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.10); }
.ai-b[aria-checked="true"] img { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.ai-b[aria-checked="true"] span { font-weight: 600; }

/* Day title: "Today · Wed 2 Dec" in one font, one line (2 Dec 2026, her ask) */
.dpick h1 small { font: inherit !important; font-size: inherit !important; letter-spacing: inherit !important; text-transform: none !important; color: var(--ink-2); margin: 0 !important; }
.wknav .dpick h1 { white-space: nowrap; font-size: min(28px, 6.6vw); }

/* The iPhone keyboard: sheets sit on it, and shrink to what's left of the screen (2 Dec 2026) */
html.kb-up dialog.bs[open] { margin-bottom: var(--kb, 0px); max-height: calc(var(--vvh, 100vh) - 16px); padding-bottom: 16px; }
html.kb-up .jw { bottom: var(--kb, 0px); }
html.kb-up .jw-bar { padding-bottom: 6px; }
html.kb-up .jfab { display: none; } /* not through the keyboard glass */
/* Back beside the logo on every page that isn't a tab (2 Dec 2026); the page's own small back link steps aside so there's one way back */
.appback { flex: none; width: 44px; height: 44px; margin-left: -12px; margin-right: -6px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.appback .ic { width: 24px; height: 24px; }
.appback:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
html.appback-on .dback, html.appback-on .lback, html.appback-on .bl-up, html.appback-on .bl-back { display: none !important; }

/* ---------- The iPhone way (2 Dec 2026, iphone-ux skill; her: "it doesn't feel easy... it sucks") ---------- */
/* The top bar stays while the page scrolls, and nothing shows under the clock and battery */
.appbar, .calhead { position: sticky; top: 0; z-index: 40; background: var(--paper); }
html.is-native .appbar, html.is-native .calhead { top: env(safe-area-inset-top); }
html.is-native body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: var(--paper); z-index: 45; pointer-events: none; }
/* No outline square after a tap; outlines stay for a keyboard on the website */
html.is-native button:focus-visible, html.is-native a:focus-visible, html.is-native [role="button"]:focus-visible { outline: none; }
/* Small controls get a thumb-sized touch area (44 points) without looking bigger */
.gp-x { position: relative; }
.gp-x::after { content: ""; position: absolute; inset: -10px; }
/* Add a plan: suggest one or open the calendar, then write your own */
.addway { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; }
.addway .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.addway-or { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }

.calfab { display: none; }
/* ---------- Thumb reach (2 Dec 2026, her yes to the mock-up prototypes/thumb-reach) ---------- */
/* 1. Her places on Home: a row to swipe, under the date */
.hl-places { display: flex; gap: 10px; overflow-x: auto; margin: 16px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hl-places::-webkit-scrollbar { display: none; }
.hl-places a { flex: none; width: 66px; display: grid; justify-items: center; gap: 6px; font: 600 12px/1.2 var(--sans); color: var(--ink); text-align: center; text-decoration: none; }
.hl-pi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, var(--paper)); color: var(--c); }
.hl-pi .ic { width: 24px; height: 24px; }
:root[data-theme="night"] .hl-pi { background: color-mix(in srgb, var(--c) 26%, transparent); }
@media (max-width: 699px) {
  /* 2. Calendar: + Add floats at the bottom right, above the tabs, in reach of a thumb */
  .calhead .calplus { display: none; }
  .calfab { position: fixed; right: 18px; bottom: calc(var(--tabs) + env(safe-area-inset-bottom) + 30px); z-index: 35; display: inline-flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 17px var(--sans); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
  .calfab .ic { width: 20px; height: 20px; }
  html.kb-up .calfab { display: none; }
  #app.cal { padding-bottom: calc(var(--tabs) + 110px); }
  .bd-board { padding-bottom: 96px; }
}
.addway:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 699px) { html.is-native.typing #tabs, html.is-native.typing .calfab { display: none; } }

/* iPhone zooms the whole page when a field's text is under 16px. On touch screens every small field is 16px. */
@media (pointer: coarse) {
  .nt-fnew input, .bd-oadd input, .lad-in-task input[name=t], .lad-in-todo input[name=t], .wg-pick input, .bw input, .bd-catnew input,
  .dp-pick input, .dp-up input, .dsearch input, .dp-add input, .bwp-f input, .gp-add input, .vpic-q input, .vb-q input, .bl-link input,
  .lad-date input, .gnew-d input, .hs-tf input, .hs-own input, .fs-sadd input, .rt-pl input, .gw-ok textarea { font-size: 16px !important; }
}

/* An empty To do is a small reward, not a blank (2 Dec 2026, her ask) */
.bd-list[data-list="todo"] > .bd-empty:not(:empty) { padding: 18px 8px 20px; font: italic 400 19px/1.3 var(--serif); color: var(--ink); }

/* Discover: every card the same size; long text ends in "..." and the full card is one tap away (2 Dec 2026, her ask) */
.tix .tix-body h3, .tix.lead .tix-body h3 { font-size: 23px; display: flex; align-items: flex-start; }
.tix-body h3 .tt, .dc-main h3 .tt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-main h3 { display: flex; align-items: flex-start; }
.dc-main h3 .dc-open { display: inline; }
.tix-body .dm, .dc-main .dm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tix-body .dclash, .dc-main .dclash { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tix-body { display: flex; flex-direction: column; height: var(--tix-h, 180px); }
.tix-cr { margin-top: auto; padding-bottom: 8px; font-size: 10.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tix-stub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tix.has-ph .tix-stub { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.tix.has-ph .tix-stub > :not(img) { position: relative; z-index: 1; }
.tix.has-ph .tix-stub em, .tix.has-ph .tix-stub em small { color: #fff; }
.tix .tix-stub { border-top-left-radius: 17px; overflow: hidden; }
.dc-row { height: var(--dc-h, 280px); min-height: 0; }
.dc-main .dc-tag { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; }
.dideal { height: 196px; overflow: hidden; }
.dideal h3, .dideal .dm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-main .dm { width: 100%; }

/* The card's timer: Start, then the minutes on a wheel (a phone shows its own scroll wheel) */
.wx-clock { display: inline-flex; align-items: stretch; padding: 0; gap: 0; overflow: hidden; }
.wx-clock .wx-go { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 4px 0 12px; color: inherit; background: none; border: 0; }
.wx-min { position: relative; display: flex; align-items: center; }
.wx-min select { appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; min-height: 44px; padding: 0 26px 0 6px; cursor: pointer; }
.wx-min::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.wx-min select:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; border-radius: 8px; }

/* The calendar's own row sits under the Loopweek bar (2 Dec 2026) */
.appbar + .calhead { position: relative; top: auto; z-index: auto; padding-top: 2px; }
html.is-native .appbar + .calhead { top: auto; } /* 3 Dec 2026: in the iPhone app the status-bar offset pushed the Year / Month path under the day strip, so only the week showed */
.appbar + .calhead .ctrail { margin-left: 6px; }
.appbar + .calhead .calplus { margin-left: auto; }

/* Goals: swipe right to finish one; finished goals on their own page; the done moment celebrates (2 Dec 2026, her ask) */
.gov > li.is-doneing::after { content: "Done"; left: auto; right: calc(100% + 14px); color: var(--forest); font-weight: 600; }
.gacc-line { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; padding: 14px 16px; min-height: 52px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); color: var(--ink); text-decoration: none; }
.gacc-line b { font: italic 400 20px/1.2 var(--serif); flex: 1; }
.gacc-line > span { font: 500 15px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gacc-line .ic { color: var(--forest); }
.gacc-head { padding: 6px 0 10px; }
.gacc-head p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.gacc-list { margin-top: 4px; }
.gacc-empty { padding: 18px 0; }
.gd-moment { position: relative; }
.gd-yay { font: italic 400 30px/1.1 var(--serif); color: var(--forest); text-align: center; margin: 6px 0 2px; }
.gd-confetti { position: absolute; inset: -20px 0 auto; height: 360px; pointer-events: none; overflow: hidden; z-index: 2; }
.gd-confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 12px; border-radius: 2px; background: var(--c); transform: rotate(var(--r)) scale(var(--s)); opacity: 0; animation: gd-fall 1.6s cubic-bezier(.2, .7, .4, 1) var(--d) forwards; }
@keyframes gd-fall { 0% { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(var(--s)); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(340px) rotate(calc(var(--r) + 420deg)) scale(var(--s)); } }
@media (prefers-reduced-motion: reduce) { .gd-confetti { display: none; } }
.gd-row:not(:has(.gc-th)) { grid-template-columns: minmax(0, 1fr) auto; }
.gacc .gov-done > li { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.gacc-head { padding: 10px 20px 12px; }
.gd-row > span:not(.gc-th):not(.gd-go) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

/* Discover's map (3 Dec 2026): price pins in each kind's color, her own plans in ink, the tapped one's card under the map */
.dxm { margin: 4px 0 0; }
.dx-map { height: min(56vh, 520px); border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); background: #e9e9e6; }
.dx-map.dx-nomap::after { content: "The map didn't load. The list still has everything."; display: grid; place-items: center; height: 100%; color: var(--ink-2); font-size: 14px; padding: 20px; text-align: center; }
.dx-pinwrap { background: none; border: 0; }
.dx-pin { position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 999px; background: #fff; color: var(--tc); border: 2px solid var(--tc); font: 700 12px/1 var(--sans); white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .15s; }
.dx-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; background: inherit; border-right: 2px solid var(--tc); border-bottom: 2px solid var(--tc); transform: translateX(-50%) rotate(45deg); }
.dx-pin.mine { background: var(--tc); color: #fff; }
.dx-pin.on { background: var(--tc); color: #fff; transform: translate(-50%, -100%) scale(1.18); z-index: 2; }
.dx-cap { margin: 8px 4px 0; font-size: 13px; color: var(--ink-2); }
.dx-hint { margin: 10px 4px; font-size: 14px; color: var(--ink-2); }
.dx-sel { margin-top: 12px; }
.dx-own { padding: 14px 16px; border: 1px solid var(--rule); border-radius: 18px; background: var(--card); }
.dx-own .dx-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dx-own h3 { font-size: 22px; margin: 4px 0; }
.dx-dot { position: absolute; width: 14px; height: 14px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--tc); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); cursor: pointer; }
.dx-dot::before { content: ""; position: absolute; inset: -12px; } /* a finger-sized target around a small dot */

/* Discover's tools and Plan a day (3 Dec 2026) */
.dx-tools { display: flex; gap: 8px; margin: 2px 20px 12px; }
.dx-tools .btn { flex: 1; justify-content: center; }
.dxp-l { margin: 14px 0 6px; font-size: 13px; color: var(--ink-2); }
.dxp-c { flex-wrap: wrap; }
.dxp-theme { display: flex; gap: 8px; margin-top: 10px; }
.dxp-theme input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); color: var(--ink); font: 16px var(--sans); }
.dxp-off { margin-top: 14px; }
.dxp-list { list-style: none; margin: 16px 0 0; padding: 0; }
.dxp-stop { display: grid; grid-template-columns: 26px 62px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 0; }
.dxp-n { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--tc); border: 2px dashed var(--tc); display: grid; place-items: center; font: 700 12px var(--sans); }
.dxp-t { font: 500 13px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dxp-w { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dxp-w b { font: 500 16px/1.25 var(--sans); }
.dxp-w small { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxp-a { display: flex; align-items: center; gap: 2px; }
.dxp-a .linkbtn { font-size: 13px; }
.dxp-leg { display: flex; align-items: center; gap: 6px; margin-left: 9px; padding: 2px 0 2px 22px; border-left: 2px dotted var(--rule-2); font-size: 12.5px; color: var(--ink-2); }
.dxp-leg .ic { width: 13px; height: 13px; }
.dxp-more { margin: 4px 0 0; }
.dxp-map { height: 220px; }
html[data-theme="night"] .dx-pin.mine { --tc: #f2efe8; color: #17151f; }
/* the tapped pin's card floats over the bottom of the map, so it's seen right away (Airbnb, Google Maps) */
.dx-wrap { position: relative; }
.dx-sel { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 500; margin: 0; padding: 12px 14px 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--tc); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.dx-sel .dx-k { font: 600 12.5px var(--sans); color: var(--tc); }
.dx-sel h3 { font-size: 19px; line-height: 1.2; margin: 3px 34px 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dx-sel .dm { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-sela { display: flex; gap: 8px; margin-top: 10px; }
.dx-on { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sans); color: var(--forest); }
.dx-selx { position: absolute; top: 8px; right: 8px; }
/* Edit words (owners only, 3 Dec 2026) */
html.copy-editing #app :is(h1, h2, h3, p, span, b, small, a, button, li, label) { cursor: text; }
html.copy-editing #app { outline: 2px dashed var(--accent, #E2553D); outline-offset: -2px; }
.cw-bar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 300; display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--ink, #111); color: var(--paper, #fff); font: 500 14px var(--sans); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); white-space: nowrap; }
.cw-bar button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--paper, #fff); color: var(--ink, #111); font: 600 14px var(--sans); }
.cw-ed { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--kb, 0px) + 12px); z-index: 310; max-width: 480px; margin: 0 auto; padding: 16px; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, .3); border: 1px solid var(--rule); }
.cw-was { font: 500 13px var(--sans); color: var(--ink-2); margin-bottom: 8px; }
.cw-ed textarea { width: 100%; border: 1.5px solid var(--rule-2); border-radius: 12px; padding: 10px 12px; font: 400 17px/1.35 var(--sans); background: var(--paper); color: var(--ink); resize: none; }
.cw-ed .fine { margin: 6px 0 10px; }
.cw-acts { display: flex; align-items: center; gap: 14px; }
.cw-h { font-size: 18px; margin: 18px 0 8px; } .cw-h small { color: var(--ink-2); font-size: 14px; }
.cw-list { list-style: none; display: grid; gap: 10px; }
.cw-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.cw-list li span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-list s { color: var(--ink-2); font-size: 13px; }

/* Goals, from her Figma edits (3 Dec 2026): a round +, one thin progress bar, "Wins" as a plain row */
.gaddtop { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border: 0; border-radius: 50%; background: var(--accent); color: #fff; }
.gaddtop .ic { width: 22px; height: 22px; }
.gaddtop:hover { background: var(--accent); filter: brightness(1.08); color: #fff; }
.gov-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
.gov-track { flex: 1; height: 6px; border-radius: 999px; background: var(--accent-w); overflow: hidden; }
.gov-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.gov-bar b { font: 500 13px var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }
.gacc-line { border: 0; background: none; padding: 14px 0; border-radius: 0; }
.gacc-line b { font: 600 17px/1.2 var(--sans); }
.gacc-line > span { font: 400 14px var(--sans); }
.gacc-line .ic { color: var(--accent); }
/* Goals' star: A little help with goals (her Figma card, 3 Dec 2026) */
.gh-help h2 { font: 600 22px/1.2 var(--sans); margin: 0 0 14px; }
.gh-choose { color: var(--accent); font: 500 16px var(--sans); text-decoration: none; }
.gh-lede { margin: 12px 0 16px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.gh-k { margin: 0 0 14px; }
.gh-k b { display: block; font: 600 15px var(--sans); margin-bottom: 3px; }
.gh-k p { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.gh-ok { width: 100%; justify-content: center; min-height: 46px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: 600 15px var(--sans); margin-top: 4px; }

/* Calendar from her Figma edits (3 Dec 2026): no map on the days, Route per plan, Suggested / Confirmed, Add to week, Today tinted */
.wm-day .wm-body.nomap { display: block; }
.wm-dh .wm-name { display: flex; align-items: baseline; justify-content: space-between; flex: 1; gap: 8px; }
.wm-dh .wm-name small { margin-left: auto; font: 400 13px var(--sans); color: var(--ink-2); }
.wm-day:not(.today) .wm-thumb { display: none; }
.wm-day.today .wm-thumb { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; background: var(--accent); overflow: hidden; }
.wm-day.today .wm-thumb img { display: none; }
.wm-day.today { background: color-mix(in srgb, var(--accent-w) 70%, var(--card)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.wm-day.today .wm-name { color: var(--accent); }
.wm-k { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 2px 0 5px; }
.wm-lead { margin: 4px 0 0; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.wm-acts { display: flex; align-items: center; gap: 14px; margin: 10px 0 2px; }
.wm-acts:empty { display: none; }
.wm-ok { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--accent-w); color: var(--accent); font: 500 14px var(--sans); }
.wm-route { min-height: 40px; padding: 0; border: 0; background: none; color: var(--accent); font: 500 14px var(--sans); }
.wm-num.ring:not(.wm-tap) { display: none; }
.ct-share { align-self: center; padding: 0 6px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); font: 500 14px var(--sans); text-decoration: none; }
.wr-sheet h2 { font: 600 24px/1.2 var(--sans); margin: 0 0 12px; }
.wr-t { font: 500 18px/1.3 var(--sans); margin-bottom: 8px; }
.wr-w { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.wr-lead { font: 500 14px var(--sans); color: var(--accent); margin-bottom: 14px; }
.wr-map { height: 280px; border-radius: 16px; overflow: hidden; }
.wr-done { width: 100%; justify-content: center; min-height: 46px; margin-top: 12px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: 600 15px var(--sans); }
.wm-plan { grid-template-columns: 44px auto minmax(0, 1fr); }
.wm-nosp { width: 0; }
.wm-plan .wm-tx { display: block; padding-right: 28px; }
.wm-plan .wm-tx .why { position: absolute; top: 0; right: 0; }
.wm-plan .wm-main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.wm-plan .wm-main b { font: 600 17px/1.25 var(--sans); }
html .wm-plan .wm-acts .wm-ok { font: 500 14px var(--sans); text-transform: none; letter-spacing: 0; background: var(--accent-w); color: var(--accent); border: 0; }
html .wm-plan .wm-acts .wm-route { font: 500 14px var(--sans); text-transform: none; letter-spacing: 0; }
.wm-plan .wm-tm { font: 600 15px/1.1 var(--sans); }
.wm-plan .wm-tm small { display: block; font: 400 11px var(--sans); text-transform: uppercase; color: var(--ink-2); }
html .wm-plan .wm-num.wm-tap.ring, html.look-board .wm-plan[style*="--tc"]:not(.is-done) .wm-num.wm-tap.ring { width: 22px; height: 22px; min-width: 22px; margin-top: 18px; background: none !important; border: 1.5px solid var(--ink-2); color: var(--accent) !important; box-shadow: none !important; }
html .wm-plan.is-done .wm-num.wm-tap.ring { background: var(--accent) !important; border-color: var(--accent); color: #fff !important; }
