/* Departure board (2 Dec 2026, her pick after "Making Loopweek feel cool"): Loopweek as an airport board.
   White ground, ink, board black for the moments that matter, times in a fixed mono column, one colored dot per kind of
   thing. Funnel Display and Funnel Sans (her 2 Dec pick; roman only: every italic in the app renders upright because the browser may not fake italics) and
   DM Mono. Laid over app.css, so nothing is removed; ?look=classic shows today's look to compare. */
html.look-board {
  --paper: #FFFFFF;
  --card: #F4F4F2;
  --paper-2: #EDEDEA;
  --ink: #111111;
  --ink-2: #6B6B6B;
  --rule: rgba(17, 17, 17, .10);
  --rule-2: rgba(17, 17, 17, .22);
  --forest: #111111;
  --forest-2: #2A2A2A;
  --on-forest: #FFFFFF;
  --sage: #1F9D55;
  --sage-wash: #E9F6EE;
  --gold: #D9D9D6;
  --gold-2: #6B6B6B;
  --gold-lt: #EDEDEA;
  --sun: #111111;
  --sun-deep: #000000;
  --sun-wash: #EFEFEC;
  --dusk: #FFFFFF;
  --on-dusk: #111111;
  --on-dusk-2: #6B6B6B;
  --live: #1F9D55;
  --board: #16181A;
  --board-on: #7EE2A8;
  --amber: #D99A00;
  --amber-wash: #FFF6DC;
  /* her pick, 2 Dec (audit mock-up, type B): Funnel Display for headings, Funnel Sans for text, DM Mono for times */
  --serif: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --sans: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-synthesis: none;
  background: #FFFFFF;
}
html.look-board body { font-family: var(--sans); letter-spacing: 0; -webkit-font-smoothing: antialiased; }
/* the website tells: no grey tap flash, no selectable button text, no image callouts */
html.look-board button, html.look-board .btn, html.look-board .chip, html.look-board a { -webkit-tap-highlight-color: transparent; }
html.look-board button, html.look-board .btn, html.look-board .chip, html.look-board .tabs { -webkit-user-select: none; user-select: none; }
html.look-board img { -webkit-touch-callout: none; }

/* headings: bold, tight, upright */
html.look-board h1, html.look-board h2, html.look-board h3, html.look-board .lt-title { font-family: var(--serif); font-weight: 800; letter-spacing: -.035em; font-style: normal; }
html.look-board h2 { font-weight: 750; letter-spacing: -.025em; }
html.look-board .appbar .wm { font-family: var(--serif); font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
html.look-board .appbar .wm i { background: var(--ink); }
/* small labels read like the board's column headers */
html.look-board .bs-k, html.look-board .appbar .tag, html.look-board .sub-h small, html.look-board .lk { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* buttons: ink, squarer, mono labels for statuses */
html.look-board .btn { border-radius: 12px; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
html.look-board .btn.sun, html.look-board .btn.ink { background: var(--ink); color: var(--paper); }
html.look-board .btn.sun:hover, html.look-board .btn.ink:hover { background: #2A2A2A; }
html.look-board .btn.line { background: var(--paper); border: 1px solid var(--ink); }
html.look-board .btn:active, html.look-board .chip:active { transform: scale(.97); transition: transform .1s; }
html.look-board .chip { border-radius: 10px; background: var(--paper); border-color: var(--rule-2); font-family: var(--sans); }
html.look-board .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* the tab bar sits flush with the bottom edge, full width, like a standard iPhone app (2 Dec 2026, her: "why is it not towards
   the bottom and like easier to use?"; it was a floating pill). Frosted, a hairline on top, icons with labels, the home
   indicator's space inside it. */
html.look-board .tabs { width: 100%; bottom: 0; height: calc(52px + env(safe-area-inset-bottom, 0px)); padding: 2px 4px env(safe-area-inset-bottom, 0px); border-radius: 0; border: 0; border-top: 0.5px solid rgba(0, 0, 0, .14); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7); box-shadow: none; }
html.look-board .tabs .tab { min-height: 50px; gap: 2px; }
html.look-board .tabs a, html.look-board .tabs button { font-family: var(--sans); }

/* sheets and cards: quieter edges */
html.look-board .sheet { border-radius: 22px 22px 0 0; }
html.look-board .card, html.look-board .gv-card, html.look-board .hm-card { border-radius: 16px; }

/* ===== the calendar as a departures board ===== */
html.look-board .wm-day.iday { border: 0; border-radius: 18px; background: var(--card); }
html.look-board .wm-name { font-family: var(--serif); font-weight: 800; font-style: normal; letter-spacing: -.03em; color: var(--ink); }
html.look-board .wm-date, html.look-board .wm-hd small { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
html.look-board .wm-tm { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink); }
html.look-board .wm-tm small { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); text-transform: lowercase; }
html.look-board .wm-main b, html.look-board .wm-tx b { font-family: var(--sans); font-weight: 650; font-style: normal; letter-spacing: -.015em; }
/* a proposal waits in amber; approving turns it to board black with green, like a confirmed departure */
html.look-board .wm-plan.k-prop .wm-num { background: var(--amber-wash); color: #8A6300; box-shadow: inset 0 0 0 1.5px var(--amber); }
html.look-board .wm-ok { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 8px; min-height: 36px; padding: 6px 12px; }
html.look-board .wm-plan.flip .wm-num, html.look-board .wm-plan.flip .wm-ok { animation: lb-flip .42s cubic-bezier(.3, .7, .2, 1); }
@keyframes lb-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-90deg); } 55% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }

/* ===== the Board: done is a time-stamp ===== */
html.look-board .bd-w { font-family: var(--sans); font-weight: 650; letter-spacing: -.015em; }
html.look-board .bd-card { border-radius: 14px; box-shadow: none; background: var(--card); }
html.look-board .bd-date, html.look-board .bd-nav .bd-n { font-family: var(--mono); }

/* numbers that are the point read in mono */
html.look-board .wm-leg span, html.look-board .sg-price, html.look-board .gc-n, html.look-board .bd-tally b { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* photos: black and white in lists so any listing looks curated; full color where she looks closer */
html.look-board .dc-ph, html.look-board .hm-disc .ph, html.look-board .bl-cover img { filter: grayscale(1) contrast(1.04); }

@media (prefers-reduced-motion: reduce) { html.look-board .wm-plan.flip .wm-num, html.look-board .wm-plan.flip .wm-ok { animation: none; } }

/* ===== maps: a route map, not a postcard. Grey tiles, an ink route, pins like gate markers ===== */
html.look-board .leaflet-tile-pane { filter: grayscale(1) contrast(1.05) brightness(1.02); }
html.look-board .wm-pin { border-radius: 7px; font-family: var(--mono); font-weight: 600; font-size: 12px; background: #111; color: #fff; box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(0,0,0,.5); }
html.look-board .wm-pin.prop, html.look-board .wm-pin.sug { background: var(--amber-wash); color: #8A6300; box-shadow: 0 0 0 2px #fff, inset 0 0 0 1.5px var(--amber); }
html.look-board .wm-pin.done { background: var(--board); color: var(--board-on); }
html.look-board .wm-pin.home { background: #fff; color: #111; box-shadow: 0 0 0 1.5px #111, 0 4px 10px -4px rgba(0,0,0,.4); }

/* ===== Done: each line wears its time like a board stamp ===== */
html.look-board .bd-dr time { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; background: var(--board); color: var(--board-on); border-radius: 6px; padding: 3px 7px; }
html.look-board .bd-dck { color: var(--sage); }
/* approved and her own plans: confirmed departures, board black with a green number; done is the check */
html.look-board .wm-plan.k-ok .wm-num, html.look-board .wm-plan.k-own .wm-num { background: var(--board); color: var(--board-on); font-family: var(--mono); font-weight: 600; box-shadow: none; border-radius: 7px; }
html.look-board .wm-plan.k-own .wm-num { background: #fff; color: #111; box-shadow: inset 0 0 0 1.5px #111; }
html.look-board .wm-plan .wm-num { border-radius: 7px; font-family: var(--mono); }

/* ===== her picks from the audit mock-up (2 Dec): nothing readable under 11px ===== */
html.look-board .datechip, html.look-board .dc-date, html.look-board .tix-ph figcaption, html.look-board .tix-stub em small,
html.look-board .mc .mk b, html.look-board .wg-times span, html.look-board .wg-ev .wg-t, html.look-board .wg-ev .wg-n,
html.look-board .dc-credit, html.look-board .bwp-d small, html.look-board .tl-chart.many .tl-months small, html.look-board .vpic-o small,
html.look-board .bl-cred, html.look-board .lad-ring > span small, html.look-board .tl-now { font-size: 11px; }
html.look-board .wg-ev .wg-t i { font-size: 10px; }
/* every control answers a 44pt finger without looking bigger (Apple's minimum; the audit found 20 of 59 on the Week under it) */
html.look-board :is(.why-b, .lad-circ, .gh, .wm-todo, .gov-tl, .gc-next a, .gc-plan a, .gother a, .gwants a, .wm-name, .dpill, .linkbtn, .bd-selbtn, .btn.sm, .chip, .appbar .wm, .tl-lab) { position: relative; }
html.look-board :is(.why-b, .wm-num, .lad-circ, .gh, .wm-todo, .gov-tl, .gc-next a, .gc-plan a, .gother a, .gwants a, .wm-name, .dpill, .linkbtn, .bd-selbtn, .btn.sm, .chip, .appbar .wm, .tl-lab)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
}
/* five tabs (her pick, 2 Dec): Home, Calendar, Board, Discover, You. The side menu's button stays at the top left on a phone
   too (2 Dec, her: "no no no put it back!!!!" after it had been hidden on phones) */
html.look-board .tabs { grid-template-columns: repeat(5, 1fr); } /* Goals, Calendar, Home, Board, Discover */

/* ===== Notes and the journal (2 Dec 2026): a departure board of notes. Times up front in mono, the note in bold, what it's on
   as a small black tag, journal entries as an outlined tag. ===== */
.nt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nt-head h1 { margin: 0; }
.nt-search { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; border: 1.5px solid var(--ink); border-radius: 12px; padding: 0 14px; min-height: 46px; }
.nt-search input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 16px var(--sans); color: var(--ink); min-width: 0; }
.nt-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; margin: 0 -2px; }
.nt-chips::-webkit-scrollbar { display: none; }
.nt-chip { flex: none; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.nt-chip small { font: inherit; opacity: .6; margin-left: 4px; }
.nt-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nt-chip.ghost { border-style: dashed; }
.nt-fnew { display: flex; gap: 6px; align-items: center; flex: none; }
.nt-fnew input { min-height: 40px; border: 1.5px solid var(--ink); border-radius: 8px; padding: 0 10px; font: 500 15px var(--sans); width: 150px; }
.nt-count { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 6px 0 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; width: 100%; text-align: left; padding: 14px 2px; border-bottom: 1px solid var(--rule); background: none; color: var(--ink); min-height: 44px; }
.nt-row:hover { background: var(--card); }
.nt-when { font: 500 12px/1.3 var(--mono); text-transform: uppercase; }
.nt-when small { display: block; font-size: 11px; color: var(--ink-2); }
.nt-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nt-t { font: 700 17px/1.25 var(--sans); overflow-wrap: anywhere; }
.nt-p { font: 400 14.5px/1.4 var(--sans); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-ph { display: flex; gap: 4px; }
.nt-ph img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.nt-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nt-tag { font: 500 11px var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; background: var(--card); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-tag.k { background: var(--board); color: var(--board-on); }
.nt-tag.j { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
/* on a goal or a card */
.nt-on { margin-top: 18px; }
.nt-onh { display: flex; align-items: center; gap: 8px; }
.nt-onh small { font: 500 12px var(--mono); color: var(--ink-2); }
.nt-onh .linkbtn { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.nt-on .nt-row { grid-template-columns: 74px minmax(0, 1fr); }
/* the editor */
.nt-title { width: 100%; border: 0; outline: 0; font: 700 22px var(--sans); background: transparent; color: var(--ink); padding: 4px 0; }
.nt-text { width: 100%; min-height: 140px; border: 0; outline: 0; resize: vertical; font: 400 17px/1.5 var(--sans); background: transparent; color: var(--ink); }
.nt-phs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.nt-phs span { position: relative; }
.nt-phs img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; display: block; }
.nt-phs button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.nt-ck { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.nt-ck input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.nt-ck input[type="text"] { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--rule); outline: 0; font: 400 16px var(--sans); background: transparent; color: var(--ink); padding: 6px 0; }
.nt-ck.d input[type="text"] { text-decoration: line-through; color: var(--ink-2); }
.nt-tools { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--rule); margin-top: 6px; }
.nt-tools label.btn { cursor: pointer; }
.nt-att { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.nt-att span { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.nt-att b { font: 600 15px var(--sans); overflow-wrap: anywhere; }
.nt-pick { display: flex; flex-direction: column; max-height: 55vh; overflow: auto; margin: 6px 0; }
.nt-pick button { text-align: left; padding: 12px 4px; min-height: 44px; border-bottom: 1px solid var(--rule); font: 500 15px var(--sans); color: var(--ink); background: none; }
.nt-pick button b { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-right: 8px; }
.nt-pick button.sub { padding-left: 22px; color: var(--ink-2); }
.nt-pick button.sub2 { padding-left: 40px; color: var(--ink-2); font-size: 14px; }
.nt-youlink { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--ink); border-radius: 12px; color: var(--ink); text-decoration: none; font: 600 16px var(--sans); }
.nt-youlink small { margin-left: auto; font: 500 12px var(--mono); color: var(--ink-2); }

/* the extras bar holds Notes too (2 Dec 2026): five across */
.lnav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lnav a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; padding-right: 4px; }

/* Home's outside picture (2 Dec 2026): the Brooklyn Bridge as New York is right now, with the date and sunset on it */
.td-head.has-wx { position: relative; }
.td-wx { margin: 0; position: relative; border-radius: 16px; overflow: hidden; height: 176px; background: var(--board, #16181A); }
.td-wx img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-wx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 62%); pointer-events: none; }
.td-wx figcaption { position: absolute; top: 8px; right: 10px; z-index: 1; }
.td-wx figcaption a { font: 400 11px/1.3 var(--sans); color: rgba(255,255,255,.82); text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.td-head.has-wx .td-top { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.td-head.has-wx .td-beside b, .td-head.has-wx .td-beside span { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.td-head.has-wx .td-letter { background: rgba(255,255,255,.94); border-radius: 12px; padding: 6px 10px; }
@media (min-width: 900px) { .td-wx { height: 220px; } }
.td-head.has-wx .datechip { background: rgba(255,255,255,.94); border-color: transparent; }

/* ===== the new taps (2 Dec 2026, her preview): a plan opens in place, one main button, the rest under the ⋯ ===== */
html.look-board .wm-plan.is-open { background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); padding: 8px 8px 10px 4px; margin: 4px -6px; position: relative; }
html.look-board .wm-plan .wx { grid-column: 1 / -1; padding: 6px 0 0 48px; display: grid; gap: 3px; }
html.look-board .wx-f { margin: 0; display: flex; gap: 8px; font-size: 13.5px; line-height: 1.35; }
html.look-board .wx-f span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); min-width: 72px; padding-top: 2px; }
html.look-board .wx-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
html.look-board .wx-acts .btn { min-height: 44px; padding: 0 16px; width: auto; flex: 0 0 auto; }
html.look-board .wx-acts .wx-more { width: 44px; padding: 0; justify-content: center; }
html.look-board .wx-menu { position: absolute; right: 8px; bottom: -6px; transform: translateY(100%); z-index: 30; min-width: 210px; background: var(--paper); border-radius: 16px; padding: 4px 0; box-shadow: 0 0 0 1px var(--rule), 0 18px 30px -14px rgba(0,0,0,.4); display: grid; }
html.look-board .wx-menu [role=menuitem] { display: block; text-align: left; padding: 12px 16px; min-height: 44px; font: 500 15px var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--rule); }
html.look-board .wx-menu [role=menuitem]:last-child { border-bottom: 0; }
html.look-board .wx-menu [role=menuitem]:hover, html.look-board .wx-menu [role=menuitem]:focus-visible { background: var(--card); }
@media (max-width: 480px) { html.look-board .wm-plan .wx { padding-left: 10px; } html.look-board .wx-f span { min-width: 70px; } }
/* the new taps: the line a friend sees at the end of an invite, the way most people will find Loopweek */
html.look-board .made-with { padding: 20px 24px 40px; margin-top: 18px; border-top: 1px solid var(--rule); }
html.look-board .made-with p { margin: 0 0 10px; font-size: 15px; }
html.look-board .made-with .lk { margin-bottom: 4px; }
html.look-board .made-with .btn { width: auto; display: inline-flex; padding: 0 18px; }
/* the new taps: Add's chips are buttons; tapping one changes just that part, right in the sheet */
html.look-board .of-hint .of-chip { font: 500 13px var(--mono); background: var(--card); border: 1px solid var(--rule-2); border-radius: 8px; padding: 0 10px; min-height: 36px; color: var(--ink); margin: 0 6px 6px 0; }
html.look-board .of-hint .of-chip:active { background: var(--ink); color: var(--paper); }
html.look-board .of-load { margin: 6px 0 10px; }
/* the new taps: a to-do opens in place */
html.look-board .bd-card.is-open { background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); position: relative; }
html.look-board .bd-open { grid-column: 1 / -1; padding: 4px 4px 2px; }
html.look-board .bd-os { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
html.look-board .bd-oadd input { width: 100%; min-height: 44px; border: 0; border-bottom: 1px dashed var(--rule-2); background: transparent; font: 15px var(--sans); padding: 0 2px; color: var(--ink); }
html.look-board .bd-oadd input:focus { outline: none; border-bottom-color: var(--ink); }
html.look-board .bd-open .wx-menu { right: 6px; bottom: -6px; }
html.look-board .bd-open .wx-acts { flex-wrap: nowrap; gap: 6px; }
html.look-board .bd-open .wx-acts .btn { padding: 0 12px; font-size: 14px; white-space: nowrap; }
html.look-board .bd-open .wx-acts .btn.sun { flex: 1 1 auto; }
/* the new taps: Discover's filter menus drop down over the cards and never push them */
html.look-board.ux-disc .dfil { position: relative; }
html.look-board.ux-disc .dfil > .dpanel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 1px var(--rule), 0 22px 40px -18px rgba(0,0,0,.45); max-height: 60vh; overflow: auto; margin: 0; }
html.look-board.ux-disc .dp-more .dpanel { position: static; box-shadow: none; padding: 0; background: none; margin: 0 0 8px; }
html.look-board.ux-disc .dp-done { display: block; margin: 8px 0 0 auto; font-weight: 600; }
html.look-board.ux-disc .dpills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html.look-board.ux-disc .dpills::-webkit-scrollbar { display: none; }
html.look-board .dc-open { all: unset; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
html.look-board .dc-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
html.look-board.ux-disc .dpills { gap: 6px; }
html.look-board.ux-disc .dpill { padding-left: 13px; padding-right: 11px; }

/* ux-taps flow 6: a goal's next step on top */
html.look-board.ux-goal .gx-back { display: inline-block; margin: 4px 0 8px; font: 500 15px/1.2 Jost, system-ui, sans-serif; color: var(--ink); text-decoration: none; padding: 8px 0; }
html.look-board.ux-goal .gx-next { background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 16px 14px; margin: 12px 0 18px; }
html.look-board.ux-goal .gx-k { font: 600 11px/1 Jost, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.66); margin: 0 0 8px; }
html.look-board.ux-goal .gx-t { font-size: 21px; line-height: 1.25; margin: 0; color: #fff; }
html.look-board.ux-goal .gx-s { font-size: 14px; color: rgba(255,255,255,.72); margin: 4px 0 0; }
html.look-board.ux-goal .gx-acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
html.look-board.ux-goal .gx-did { background: #fff; color: var(--ink); border-color: #fff; }
html.look-board.ux-goal .gx-day { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
html.look-board.ux-goal .gx-pct { font-size: 13px; color: rgba(255,255,255,.66); margin: 12px 0 0; }
html.look-board.ux-goal .gx-acts { flex-wrap: nowrap; }
html.look-board.ux-goal .gx-acts .btn { flex: 1 1 0; width: auto; min-height: 44px; padding: 10px 12px; margin: 0; white-space: nowrap; }
html.look-board.ux-goal .gx-back { margin-left: 18px; }

/* ux-taps flow 7: You as a short list */
html.look-board.ux-you .yx-head { padding-bottom: 8px; }
html.look-board.ux-you .yx-list { display: block; margin: 10px 18px 18px; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--paper); }
html.look-board.ux-you .yx-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--rule); font-size: 16px; }
html.look-board.ux-you .yx-row:first-child { border-top: 0; }
html.look-board.ux-you .yx-row span { flex: 1; }
html.look-board.ux-you .yx-row small { color: var(--ink-2); font-size: 14px; text-align: right; max-width: 52%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.look-board.ux-you .yx-row .ic { color: var(--ink-2); flex: none; }
html.look-board.ux-you .yx-row:active { background: var(--card); }
html.look-board.ux-you .yx-sh { margin: 22px 18px 0; font: 600 12px/1 Jost, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
html.look-board.ux-you .yx-sub { padding: 0 0 40px; }
html.look-board.ux-you .yx-h { margin: 6px 18px 8px; font-size: 30px; line-height: 1.15; }
html.look-board.ux-you .yx-sub .sec > h2:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.look-board.ux-you .yx-lede { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
html.look-board.ux-you .yx-send .via { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ux-taps flow 8: the Sunday card */
html.look-board.ux-share .wx-recap { margin: 12px 18px 16px; padding: 18px 16px 14px; border: 1px solid var(--rule-2); border-radius: 16px; background: var(--paper); }
html.look-board.ux-share .wr-k { margin: 0; font: 400 12px/1.2 "DM Mono", Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
html.look-board.ux-share .wr-h { margin: 8px 0 12px; font-size: 30px; line-height: 1.1; }
html.look-board.ux-share .wr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
html.look-board.ux-share .wr-stats div { background: var(--paper); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
html.look-board.ux-share .wr-stats small { font: 400 11px/1.2 "DM Mono", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
html.look-board.ux-share .wr-stats b { font-size: 24px; }
html.look-board.ux-share .wr-acts { display: flex; gap: 8px; margin-top: 14px; }
html.look-board.ux-share .wr-acts .btn { flex: 1 1 0; width: auto; margin: 0; min-height: 44px; white-space: nowrap; }
html.look-board.ux-share .wr-all { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
html.look-board.ux-share .wr-stats div:last-child:nth-child(odd) { grid-column: span 2; }
html.look-board.ux-you .yx-k { margin: 0 0 8px; font: 400 12px/1.2 "DM Mono", Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
html.look-board.ux-you .yx-card { border: 1px solid var(--rule-2); border-radius: 14px; padding: 14px; background: var(--card); }
html.look-board.ux-you .yx-card p { margin: 0 0 6px; font-size: 18px; line-height: 1.35; }
html.look-board.ux-you .yx-card small { color: var(--ink-2); font-size: 13px; }
html.look-board.ux-you .yx-tell .fine { margin-top: 14px; }

/* Add: Outlook-style repeats, start and end, all day (2 Dec) */
.ownform .of-dayrow { align-items: end; }
.ownform .of-all { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.ownform .own-custom { margin: 8px 0 4px; }
.ownform .of-every { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ownform .of-every input { width: 64px; }
.ownform .of-every select { flex: 1; }
.ownform .of-days { display: flex; gap: 6px; border: 0; padding: 0; margin: 10px 0 0; flex-wrap: wrap; }
.ownform .of-days legend { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; width: 100%; }
.ownform .of-day { position: relative; }
.ownform .of-day input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ownform .of-day span[aria-hidden] { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule-2); font-size: 15px; }
.ownform .of-day input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ownform .of-day input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.ownform .own-until { border: 0; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.ownform .own-until legend { font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.ownform .own-until label { display: flex; align-items: center; gap: 8px; font-size: 15px; min-height: 40px; }
.ownform .own-until input[type="number"] { width: 72px; }
.ownform .own-until input[type="date"] { flex: 1; max-width: 200px; }
.ownform .of-every input, .ownform .of-every select, .ownform .own-until input[type="number"], .ownform .own-until input[type="date"] { min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); font: inherit; font-size: 16px; color: var(--ink); }

/* Where: suggestions with addresses, the address under the field and in the plan's sheet (2 Dec) */
.ownform .of-place { position: relative; }
.ownform .of-wl { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 280px; overflow: auto; }
.ownform .of-wl li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; cursor: pointer; min-height: 44px; justify-content: center; }
.ownform .of-wl li b { font-weight: 500; font-size: 16px; }
.ownform .of-wl li small { color: var(--ink-2); font-size: 13px; }
.ownform .of-wl li:hover, .ownform .of-wl li.on { background: var(--card); }
.ownform .of-addr { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14px; color: var(--ink-2); min-height: 0; }
.ownform .of-addr:empty { display: none; }
.bs-where { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 4px; font-size: 16px; }
.bs-where > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bs-where b { font-weight: 500; }
.bs-where small { color: var(--ink-2); font-size: 14px; }
.bs-where .ic { margin-top: 3px; }

/* dark mode in the board look (2 Dec audit: main buttons were white on white, the tab bar stayed light glass) */
html.look-board[data-theme="night"] .btn.sun, html.look-board[data-theme="night"] .btn.ink { background: var(--ink); color: var(--paper); }
html.look-board[data-theme="night"] .btn.sun:hover, html.look-board[data-theme="night"] .btn.ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--paper)); }
html.look-board[data-theme="night"] .tabs { background: rgba(22, 22, 26, .88); box-shadow: none; border-top-color: rgba(255, 255, 255, .12); }
html.look-board[data-theme="night"].ux-goal .gx-next { background: var(--card); color: var(--ink); border: 1px solid var(--rule-2); }
html.look-board[data-theme="night"].ux-goal .gx-t { color: var(--ink); }
html.look-board[data-theme="night"].ux-goal .gx-k, html.look-board[data-theme="night"].ux-goal .gx-s, html.look-board[data-theme="night"].ux-goal .gx-pct { color: var(--ink-2); }
html.look-board[data-theme="night"].ux-goal .gx-did { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html.look-board[data-theme="night"].ux-goal .gx-day { color: var(--ink); border-color: var(--rule-2); }
/* the Board card's ⋯ menu opens inside the card, never over the next card (2 Dec audit: taps on Erase went to the card below) */
html.look-board .bd-open .wx-menu { position: static; transform: none; margin: 10px 0 0; width: 100%; box-shadow: 0 0 0 1px var(--rule-2); }
html.look-board .wm-plan .wx-menu { position: static; transform: none; margin: 10px 0 0; width: 100%; box-shadow: 0 0 0 1px var(--rule-2); }
/* the Board on a phone: one column at a time, no peek of the next one, and a sideways finger never scrolls the board
   (a left swipe on a card erases it; the To do / Done tabs switch columns) (2 Dec audit) */
@media (max-width: 899px) {
  html.look-board .bd-board { grid-auto-columns: 100%; gap: 40px; touch-action: pan-y; }
}
/* toasts sit low, above the tab bar and Assist, like iPhone's, never over the header (2 Dec audit) */
html.look-board .toast { top: auto; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); width: max-content; max-width: calc(100% - 32px); line-height: 1.35; }
/* her own plan with no pin is a round mark, never the square a to-do has; before its day it's a quiet dot (2 Dec audit) */
html.look-board .wm-num.ring:not(.wm-sq) { border-radius: 50%; }
html.look-board span.wm-num.ring { width: 12px; height: 12px; min-width: 12px; margin: 6px 7px 0; border: 0; background: var(--ink); }
/* Discover: every filter pill stays in sight (an active one was off the edge), and a filter's menu scrolls inside itself,
   so Done is never under the tab bar (2 Dec audit) */
html.look-board.ux-disc .dpills { flex-wrap: wrap; overflow: visible; }
html.look-board.ux-disc .dfil > .dpanel { max-height: min(60vh, calc(100vh - 260px)); overflow-y: auto; overscroll-behavior: contain; }
html.look-board.ux-disc .dfil > .dpanel .dp-done { position: sticky; bottom: -12px; display: block; width: 100%; padding: 12px 0; background: var(--paper); text-align: right; }
html.look-board.ux-share .wr-line { margin: 0; font-size: 16px; color: var(--ink-2); }
html.look-board.ux-share .wr-line b { color: var(--ink); font-weight: 600; }
html.look-board.ux-share .wr-acts { flex-wrap: wrap; }
html.look-board.ux-share .wr-acts .btn { min-width: 0; flex: 1 1 140px; }
/* Done's time chip never cuts off "AM" (2 Dec audit) */
html.look-board .bd-dr time { flex: none; white-space: nowrap; min-width: max-content; }
html.look-board .bd-dr { grid-template-columns: 20px auto minmax(0, 1fr); }
html.look-board .chip.on, html.look-board a.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* the time wheel: hour, minutes, AM/PM (2 Dec, her ask: no military time) */
.tw { display: inline-flex; align-items: center; gap: 2px; min-height: 66px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); }
.tw .wh { width: 34px; }
.tw .wh:last-child { width: 40px; margin-left: 4px; }
.tw .wh-l li { font-size: 15px; }
.tw .wh-l li.is-sel { font-size: 18px; }
.tw-c { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 1px; }
.ownform .lbl { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.ownform .of-times .field .tw { width: 100%; justify-content: center; }
.ownform .of-count { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.ownform .of-count input { width: 64px; min-height: 40px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); font: inherit; color: var(--ink); }

/* To do by day: a quiet heading per day, tap to fold (2 Dec) */
.bd-list > .bd-gh { list-style: none; margin: 10px 0 4px; }
.bd-list > .bd-gh:first-child { margin-top: 2px; }
.bd-gh button { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 36px; padding: 4px 2px; border: 0; background: none; font: 600 13px/1.2 var(--sans); letter-spacing: .02em; color: var(--ink); text-align: left; cursor: pointer; }
.bd-gh button .ic { transition: transform .15s; transform: rotate(90deg); color: var(--ink-2); }
.bd-gh button[aria-expanded="false"] .ic { transform: none; }
.bd-gh button b { margin-left: auto; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.bd-gh.is-late button span { color: #B3261E; }
@media (prefers-reduced-motion: reduce) { .bd-gh button .ic { transition: none; } }
.bd-tally-line { margin: 2px 2px 10px; font-size: 13px; color: var(--ink-2); }

/* erase is a trash can (on hover with a mouse; a finger swipes left); a done line's check puts it back (2 Dec) */
.fs-top { display: flex; align-items: center; gap: 10px; padding-right: 44px; }
.fs-top > :first-child { flex: 1; min-width: 0; }
.fs-trash { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.fs-trash:hover { background: var(--card); color: #B3261E; }
.fs-donek { margin: 4px 0 8px; font-size: 14px; color: var(--ink-2); }
.fs-done-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.fs-done-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fs-done-steps li i { width: 14px; height: 14px; border: 1.5px solid var(--ink-2); border-radius: 50%; }
.fs-done-steps li.is-done span { color: var(--ink-2); text-decoration: line-through; }
.bd-drow { position: relative; display: flex; align-items: center; }
.bd-drow .bd-dr { flex: 1; min-width: 0; }
html.look-board .bd-dr { grid-template-columns: auto minmax(0, 1fr); }
.bd-drow .bd-back { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin: 0 2px 0 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; }
.bd-drow .bd-back:hover { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.bd-drow .bd-x { flex: none; }
@media (hover: hover) { .bd-drow .bd-x { opacity: 0; } .bd-drow:hover .bd-x, .bd-drow .bd-x:focus-visible { opacity: 1; } }
@media (hover: none) { .bd-drow .bd-x { display: grid; place-items: center; opacity: .7; } } /* a phone sees the erase too (2 Dec 2026: "trying to delete the done, it's not like going in") */
.bd-drow .bd-x { position: static; width: 32px; height: 32px; box-shadow: none; background: none; margin-left: 2px; }
.bd-drow .bd-x:hover, .bd-card .bd-x:hover { color: #B3261E; }
.bd-x .ic { width: 14px; height: 14px; }
/* The record sits at the foot of Done, quiet, not right under what she did (2 Dec, her ask: "it's so tempting to click on it") */
.bd-done .bd-dl { flex: 1; display: flex; flex-direction: column; }
.bd-done .bd-recgo { margin-top: auto; padding-top: 32px; align-self: flex-start; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.bd-done .bd-recgo .ic { width: 14px; height: 14px; }

/* pull to refresh (iPhone app): a small ring under the status bar that turns as she pulls, then spins */
.ptr { position: fixed; z-index: 80; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 6px); width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: var(--card, #fff); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 6px 16px -8px rgba(0, 0, 0, .35); opacity: 0; transform: translate(-50%, 0); transition: opacity .15s; pointer-events: none; }
.ptr svg { width: 100%; height: 100%; display: block; }
.ptr.is-ready { color: var(--ink); }
.ptr.is-busy svg { animation: ptr-spin .8s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ptr.is-busy svg { animation: none; } }

/* 2. a sheet's grab bar: drag it (or the sheet once it's at its top) down to close */
dialog.bs .bs-grab { display: block; width: 38px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .18); margin: -12px auto 12px; }
html[data-theme="night"] dialog.bs .bs-grab { background: rgba(255, 255, 255, .28); }
@media (min-width: 900px) { dialog.bs .bs-grab { display: none; } }

/* 8. swiping a Board card right marks it done: past the line it shows the check */
.bd-card.is-swipe-done { box-shadow: inset 4px 0 0 #2f7d4f; }
.wm-plan.is-swipe-ok { box-shadow: inset 4px 0 0 #2f7d4f; }

/* 10. loading placeholders: soft gray shapes that shimmer, then the real things fill in */
.skel { display: grid; gap: 12px; padding: 8px 0 16px; }
.skel i { display: block; border-radius: 12px; background: linear-gradient(90deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.11) 40%, rgba(0,0,0,.06) 80%); background-size: 240% 100%; animation: sk-glow 1.3s ease-in-out infinite; }
.skel .sk-ph { height: 150px; }
.skel .sk-row { display: grid; gap: 7px; padding: 12px; background: none; animation: none; }
.skel .sk-row b { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.11) 40%, rgba(0,0,0,.06) 80%); background-size: 240% 100%; animation: sk-glow 1.3s ease-in-out infinite; }
.skel .sk-row b:first-child { width: 72%; height: 15px; }
.skel .sk-row b:last-child { width: 44%; }
html[data-theme="night"] .skel i, html[data-theme="night"] .skel .sk-row b { background-image: linear-gradient(90deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.12) 40%, rgba(255,255,255,.06) 80%); }
@keyframes sk-glow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skel i, .skel .sk-row b { animation: none; } }
.wm-plan.is-swipe-no { box-shadow: inset -4px 0 0 #b3261e; }

/* Home's nudge when there are no goals yet */
.gnudge { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 4px 0 16px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.gnudge p { margin: 0; display: grid; gap: 2px; min-width: 0; }
.gnudge b { font-size: 17px; }
.gnudge small { color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.gnudge .btn { flex: none; }

/* the calendar's header on a narrow phone: the ☰ is back beside the path, so everything tightens a little and the path's last
   word ends in "…" rather than being clipped mid-letter */
.ctrail button:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) {
  html.look-board .calhead { gap: 4px; padding-left: 10px; padding-right: 10px; }
  html.look-board .calhead .menubtn { width: 34px; margin-left: -2px; }
  html.look-board .ctrail { font-size: 14px; }
  html.look-board .ctrail button { padding: 0 2px; }
  html.look-board .calplus { padding-left: 12px; padding-right: 12px; }
}

/* The Skyline Loop lockup (2 Dec 2026): the mark, then "loopweek" in Young Serif, plum on light, orange on dark */
.wm { display: inline-flex; align-items: center; gap: 7px; font-family: "Young Serif", Georgia, serif !important; font-style: normal !important; font-weight: 400 !important; letter-spacing: -.02em !important; color: #2B1640; text-decoration: none; }
.wm .wm-mark { width: 1.2em; height: 1.2em; flex: none; display: block; filter: none !important; }
:root .wm, :root .appbar .wm, :root .snav-h .wm { color: #2B1640 !important; }
:root[data-theme="night"] .wm, :root[data-theme="night"] .appbar .wm, :root[data-theme="night"] .snav-h .wm { color: #FF8A3D !important; }
:root[data-theme="night"] .wm .wm-mark { content: url("mark-dark.svg"); }
/* Discover's one Filters panel (2 Dec 2026): above the cards, solid, scrolls inside */
html.look-board .dfil { position: relative; z-index: 70; }
html.look-board .dfil > .dp-all { position: absolute; left: 16px; right: 16px; padding: 14px; top: calc(100% + 6px); z-index: 70; background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--rule), 0 22px 40px -18px rgba(0,0,0,.55); max-height: min(62vh, calc(100vh - 240px)); overflow-y: auto; overscroll-behavior: contain; }
html.look-board .dp-all .dpanel { position: static; box-shadow: none; padding: 0; background: none; border: 0; margin: 0 0 8px; animation: none; }
.dpill-all { display: inline-flex; align-items: center; gap: 6px; }
.dpill-all .d1-n { min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 11px; }
.bs h2 .why, #sh-h .why { position: relative; inset: auto; display: inline-flex; vertical-align: middle; margin-left: 8px; }
/* The goal page's why, then the ways it could fail (2 Dec 2026, her pick B) */
.gw { margin: 6px 0 14px; display: grid; gap: 12px; }
.gw-q { font: 600 18px/1.25 var(--display, var(--serif)); margin: 0 0 8px; color: var(--ink); }
.gw .chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 8px; }
.gw-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.gw-line input { min-width: 0; min-height: 44px; border-radius: 12px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); padding: 0 12px; font: inherit; }
.gw-line .btn { width: auto; }
.gw-acts { display: flex; gap: 14px; margin: 6px 0 0; }
.gw-quote { display: block; width: 100%; text-align: left; border: 0; border-left: 3px solid #FF8A3D; background: none; color: var(--ink); padding: 4px 0 4px 12px; font: italic 400 18px/1.35 "Young Serif", var(--serif), Georgia, serif; cursor: pointer; }
.gw-fail { display: grid; gap: 8px; }
.gw-pair { display: grid; gap: 4px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 10px 12px; color: var(--ink); font: inherit; cursor: pointer; }
.gw-pair.is-ed { cursor: default; }
.gw-then { color: #2f9e62; font-size: 14.5px; line-height: 1.35; }
:root[data-theme="night"] .gw-then { color: #7ad19a; }
.gw-then.none { color: var(--ink-2); }
.gw-x { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink); font-size: 14.5px; }
.gw-x > span { color: #d9534f; }
.gw-x .gp-x { margin-left: auto; position: static; }
.gw-ok { display: grid; gap: 6px; margin-top: 4px; }
.gw-ok .btn { justify-self: end; width: auto; }
.gw-ok label { color: #2f9e62; font-size: 13.5px; white-space: nowrap; }
:root[data-theme="night"] .gw-ok label { color: #7ad19a; }
.gw-ok textarea { min-width: 0; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper, transparent); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.35; padding: 8px 10px; resize: none; }
.gw-ok textarea:focus { outline: none; border-color: var(--ink); }
.gw-quote.is-static { cursor: default; margin: 6px 0 14px; }
.gw-quote small { display: block; margin-top: 4px; font: 400 12.5px var(--sans, system-ui); font-style: normal; color: var(--ink-2); }
.gw-keep { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-keep .btn { width: auto; flex: 1 1 auto; }
.gw-card { position: relative; margin: 4px 0 14px; padding: 14px 14px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); }
.gw-card .gw-q { padding-right: 34px; }
.gw-skip { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.gw-skip:hover { color: var(--ink); }
.gw-card .gw-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 10px; padding: 0 14px; scroll-padding: 14px; }
.gw-card .gw-row::-webkit-scrollbar { display: none; }
.gw-card .gw-row .chip { flex: none; }
.gw-card .gw-q { margin-bottom: 10px; }

/* New goal sheet (2 Dec 2026, her: "the fonts are all a mess"): one goal line, a By row that reads as a date */
.gnew-s { gap: 14px; }
.gnew-s textarea#gn-all { overflow: hidden; resize: none; min-height: 52px; font: 600 19px/1.3 "Funnel Display", var(--display, var(--sans)) !important; padding: 13px 14px; }
.gnew-s textarea#gn-all::placeholder { font-weight: 400; }
.gnew-d { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 2px; border-bottom: 1px solid var(--rule); font: 500 15px/1.2 "Funnel Sans", var(--sans); color: var(--ink-2); }
.gnew-d .linkbtn { margin-left: auto; font-size: 14px; }
.gnew-dv { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); font: 600 15px "Funnel Sans", var(--sans); cursor: pointer; }
.gnew-dv.none { color: var(--ink-2); font-weight: 500; }
.gnew-dv input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.gnew-note { font: 400 13px/1.4 "Funnel Sans", var(--sans); }
/* The goal page on one type scale: title, headings, body, small */
html.look-board .gp-doc .gp-h { font: 600 12px/1.2 "Funnel Sans", var(--sans) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
html.look-board .gp-doc .gp-h .linkbtn { font: 600 13px "Funnel Sans", var(--sans) !important; letter-spacing: 0; text-transform: none; }
html.look-board .gp-doc .gw-q { font: 600 17px/1.3 "Funnel Display", var(--display, var(--sans)); }
html.look-board .gp-doc .chip, html.look-board .gp-doc .lad-sug { font: 500 14px "Funnel Sans", var(--sans); }
html.look-board .gp-doc .gp-tabs button { font: 600 15px "Funnel Sans", var(--sans); }
html.look-board .gp-doc .gp-meta, html.look-board .gp-doc .gp-meta * { font-size: 13px; }
html.look-board .gp-doc b { font-size: 15px; font-weight: 600; }
html.look-board .gw-quote { font: 500 17px/1.35 "Funnel Display", var(--display, var(--sans)); font-style: normal; }
/* A light tile in dark mode needs a dark letter (2 Dec 2026: "K" was white on white) */
:root[data-theme="night"] .tone-ink .gc-th { color: #17151f; }
.gc-fold { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; margin: 18px 0 6px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 600 15px "Funnel Sans", var(--sans); text-align: left; cursor: pointer; }
.gc-fold small { margin-left: auto; font: 400 13px "Funnel Sans", var(--sans); color: var(--ink-2); }
.gc-fold .ic { transition: transform .15s; }
.gc-fold.is-open .ic { transform: rotate(90deg); }
html.look-board .gp-doc .gw { margin-top: 18px; }
html.look-board .gp-doc .gw .gp-h { margin: 0 0 8px; }
html.look-board .gp-doc .gw-fail .gw-q, html.look-board .gp-doc .gw-ask .gw-q { font: 600 15px/1.35 "Funnel Sans", var(--sans); margin: 8px 0 8px; }
html.look-board .gp-doc .gw-card .gw-q { font: 600 17px/1.3 "Funnel Display", var(--display, var(--sans)); }

/* More as one short form (2 Dec 2026) */
.gm { display: grid; gap: 18px; margin: 18px 0 8px; }
.gm-f { display: grid; gap: 8px; }
.gm-f > label, .gm-l { font: 600 13px/1.3 "Funnel Sans", var(--sans); color: var(--ink-2); margin: 0; }
.gm input[type=text], .gm input:not([type]), .gm input[name] { min-width: 0; width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); padding: 0 12px; font: 400 16px "Funnel Sans", var(--sans); }
.gm input:focus { outline: none; border-color: var(--ink); }
.gm .chips { display: flex; gap: 7px; margin: 0; }
.gm .gw-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.gm .gw-row::-webkit-scrollbar { display: none; }
.gm .gw-row .chip { flex: none; }
.gm-pair { display: grid; gap: 6px; padding: 10px; border-radius: 14px; border: 1px solid var(--rule); }
.gm-pair input[name] { background: transparent; }
.gm-then { font: 500 13px "Funnel Sans", var(--sans); color: #2f9e62; }
:root[data-theme="night"] .gm-then { color: #7ad19a; }
.gm-seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); justify-self: start; }
.gm-seg label { position: relative; }
.gm-seg input { position: absolute; opacity: 0; inset: 0; }
.gm-seg span { display: block; padding: 7px 14px; border-radius: 999px; font: 500 14px "Funnel Sans", var(--sans); color: var(--ink-2); cursor: pointer; }
.gm-seg input:checked + span { background: var(--ink); color: var(--paper, #111); }
.gm-save { width: 100%; }
/* Your why, in five steps (2 Dec 2026, her design, in the app's look) */
.ws-goal { margin: 2px 0 6px; color: var(--ink-2); font: 500 14px "Funnel Sans", var(--sans); }
.ws-head { display: flex; align-items: baseline; justify-content: space-between; }
.ws-head h2 { margin: 0; }
.ws-count { color: var(--ink-2); font: 500 13px "Funnel Sans", var(--sans); }
.ws-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0 14px; }
.ws-bar i { height: 4px; border-radius: 2px; background: var(--rule); }
.ws-bar i.on { background: #FF8A3D; }
.ws-list { display: grid; gap: 8px; }
.ws-step { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.ws-step.is-open { display: grid; gap: 10px; cursor: default; border-color: var(--ink); padding: 14px; }
.ws-t { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 17px/1.25 "Funnel Display", var(--display, var(--sans)); }
.ws-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rule-2, var(--rule)); font: 600 13px "Funnel Sans", var(--sans); color: var(--ink-2); }
.ws-step.is-open .ws-n { background: var(--ink); color: var(--paper, #111); border-color: var(--ink); }
.ws-ck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #FF8A3D; color: #1c1a17; }
.ws-sum { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ws-sum b { font: 600 15px "Funnel Sans", var(--sans); }
.ws-sum span, .ws-sum small { font: 400 13.5px "Funnel Sans", var(--sans); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-ed { flex: none; font: 600 13px "Funnel Sans", var(--sans); color: var(--ink-2); }
.ws-step .chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.ws-step .chip.on { background: var(--ink); color: var(--paper, #111); border-color: var(--ink); }
.ws-step .chip .ic { margin-right: 4px; }
.ws-in { min-width: 0; width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--rule); background: var(--paper, transparent); color: var(--ink); padding: 0 12px; font: 400 16px "Funnel Sans", var(--sans); }
.ws-in:focus { outline: none; border-color: var(--ink); }
.ws-foot { display: grid; gap: 10px; justify-items: center; margin-top: 16px; }
.ws-next { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500; }
.ws-next b { font-weight: 700; }
/* The Why tab */
.wt { display: grid; gap: 12px; margin-top: 16px; }
.wt-card { display: grid; gap: 6px; width: 100%; text-align: left; padding: 18px; border-radius: 18px; border: 0; background: #FF8A3D; color: #1c1a17; cursor: pointer; font: inherit; }
.wt-card small { font: 600 13px "Funnel Sans", var(--sans); opacity: .8; }
.wt-card span { font: 600 22px/1.25 "Funnel Display", var(--display, var(--sans)); }
.wt-card.is-empty { background: var(--card); color: var(--ink); border: 1.5px dashed var(--rule-2, var(--rule)); }
.wt-card.is-empty span { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; }
.wt-list { border-radius: 16px; border: 1px solid var(--rule); background: var(--card); overflow: hidden; }
.wt-row { display: flex; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--rule); background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.wt-row:first-child { border-top: 0; }
.wt-row.is-static { cursor: default; }
.wt-row > .ic { flex: none; margin-top: 2px; color: #FF8A3D; }
.wt-row > span { display: grid; gap: 3px; min-width: 0; }
.wt-row small { font: 500 12.5px "Funnel Sans", var(--sans); color: var(--ink-2); }
.wt-row b { font: 400 15.5px/1.35 "Funnel Sans", var(--sans); }
.wt-row em { font: 500 15px "Funnel Sans", var(--sans); font-style: normal; color: var(--ink-2); }
.wt-then { color: #2f9e62 !important; }
.wt-hint { margin: 0; text-align: center; font: 400 13px "Funnel Sans", var(--sans); color: var(--ink-2); }
.wt-more { display: grid; gap: 8px; }
/* Goal plan (2 Dec 2026, her: milestones bigger, then tasks, then to-dos smaller; one font family; tap to change) */
html.look-board .lad-mst b { font: 600 17px/1.25 "Funnel Display", var(--display, var(--sans)) !important; }
html.look-board .lad-tt b { font: 600 15px/1.3 "Funnel Sans", var(--sans) !important; }
html.look-board .lad-tx span, html.look-board .lad-todos li > span { font: 400 14.5px/1.35 "Funnel Sans", var(--sans) !important; }
html.look-board .lad-mst small, html.look-board .lad-tt small, html.look-board .lad-tx small { font: 400 12.5px "Funnel Sans", var(--sans) !important; color: var(--ink-2); }
.lad-inline { display: block; margin: 0; padding: 0; background: none; border: 0; }
.lad-inline input[name=t] { width: 100%; min-height: 40px; padding: 4px 10px; border-radius: 10px; border: 1px solid var(--ink); background: var(--card); color: var(--ink); }
.lad-in-ms input[name=t] { font: 600 17px "Funnel Display", var(--display, var(--sans)); }
.lad-in-task input[name=t] { font: 600 15px "Funnel Sans", var(--sans); }
.lad-in-todo input[name=t] { font: 400 14.5px "Funnel Sans", var(--sans); }
.lad-inline input[name=t]:focus { outline: none; }
.lad-msacts { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.lad-erasems { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2) !important; }
.lad-dadd, .lad-dv label { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 10px; border-radius: 999px; font: 500 13px "Funnel Sans", var(--sans); cursor: pointer; }
.lad-dadd { color: var(--ink-2); border: 1px dashed var(--rule-2, var(--rule)); }
.lad-dv { display: inline-flex; align-items: center; gap: 2px; }
.lad-dv label { color: var(--ink); background: var(--card); border: 1px solid var(--rule); }
.lad-dv label .ic { color: #d9534f; }
.lad-dadd input, .lad-dv input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; }
.lad-dx { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.lad-taskh .lad-dadd, .lad-taskh .lad-dv { flex: none; align-self: center; }
.lad-taskh .lad-dadd { padding: 0 8px; min-height: 26px; font-size: 12px; }
/* Goal cards without a picture (2 Dec 2026, her ask): the words take the room */
.gc-top:not(:has(.gc-thl)) { grid-template-columns: minmax(0, 1fr) auto; }
html.look-board .gcard .gc-name { font: 600 20px/1.2 "Funnel Display", var(--display, var(--sans)) !important; overflow-wrap: break-word; }
.gc-mkplan { margin: 12px 0 0; }
.gc-mkplan a { display: inline-flex; align-items: center; gap: 4px; font: 600 14px "Funnel Sans", var(--sans); color: var(--ink); text-decoration: none; }
.gc-mkplan a .ic { color: var(--ink-2); }
.ghold:not(:has(.gc-th)) { grid-template-columns: 28px minmax(0, 1fr) 40px !important; }
.gcard .gc-no span { font: 500 13px "Funnel Sans", var(--sans); color: var(--ink-2); }
.gcard .gc-name { margin-top: 2px; display: block; }
.gc-bar { height: 4px; border-radius: 2px; background: var(--rule); margin: 14px 0 0; overflow: hidden; }
.gc-bar i { display: block; height: 100%; border-radius: 2px; background: var(--ink); }
.gcard .gc-c { border-top: 0; padding-top: 0; margin-top: 10px; }
/* Side menu with color (2 Dec 2026, her ask: "make it cute ... colorful") */
.snav { background: var(--paper); }
.snav-in { background: linear-gradient(180deg, color-mix(in srgb, #FF8A3D 10%, transparent) 0, transparent 160px); }
.snav-l a { gap: 12px; min-height: 46px; font: 500 16px "Funnel Sans", var(--sans); }
.snav-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); }
.snav-l a .snav-ic .ic { width: 19px; height: 19px; color: var(--c) !important; }
.snav-l a:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.snav-l a[aria-current="page"] { background: color-mix(in srgb, var(--c) 16%, transparent); font-weight: 600; }
.snav-l a[aria-current="page"] .snav-ic { background: var(--c); }
.snav-l a[aria-current="page"] .snav-ic .ic { color: #fff !important; }
.snav-l li.is-sub a { min-height: 40px; padding-left: 30px; font-size: 15px; }
.snav-l li.is-sub .snav-ic { width: 28px; height: 28px; border-radius: 9px; }
.snav-l li.is-sub .snav-ic .ic { width: 16px; height: 16px; }
.snav-l ul + ul { border-top: 0; margin-top: 6px; }
/* Goals · Bucket list · Habits fills the width, three equal parts (2 Dec 2026, her ask) */
html.look-board .lnav { display: grid !important; grid-template-columns: repeat(3, 1fr); width: auto; }
html.look-board .lnav a { justify-content: center; text-align: center; }
.ws-t, .ws-t span { color: var(--ink) !important; }
/* Focus tools in the app (2 Dec 2026, the approved hand-off): a card's "Stuck? Try one" and the Board's Get unstuck */
.fx-stuck { margin: 14px 0 6px; }
.fx-h { margin: 0 0 10px; font: 600 15px "Funnel Sans", var(--sans); color: var(--ink); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 600 15px "Funnel Sans", var(--sans); cursor: pointer; }
.fx-tile { width: 36px; height: 36px; border-radius: 30%; display: grid; place-items: center; }
.fx-tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-tile.g-start { background: #FF8A3D; color: #2B1640; }
.fx-tile.g-much { background: #2B1640; color: #fff; }
:root[data-theme="night"] .fx-tile.g-much { background: #4A3570; }
.fx-all { margin-top: 10px; font-weight: 600; }
.fx-board { margin: 14px 0 4px; padding: 18px; border-radius: 22px; background: #2B1640; color: #fff; }
.fx-bt { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
html.look-board .fx-board h3, .fx-board h3 { margin: 0; font: 400 24px/1.15 "Young Serif", Georgia, serif !important; letter-spacing: 0 !important; color: #fff; }
.fx-board p { margin: 8px 0 14px; font: 400 15px "Funnel Sans", var(--sans); color: #E9E1F3; }
.fx-board .fx-chip { background: #FFE3A3; border-color: #FFE3A3; color: #2B1640; }
.fx-sky { flex: none; }
/* The side menu, bigger (2 Dec 2026, her: "a little too small for the entire thing"): wider, taller rows, larger words and icons */
.snav { width: min(348px, 88vw) !important; }
.snav-in { padding-left: 14px; padding-right: 14px; }
.snav-h { padding: 4px 4px 12px 10px; }
.snav-h .wm { font-size: 26px !important; }
.snav-l a { min-height: 56px !important; gap: 14px !important; font: 500 18px "Funnel Sans", var(--sans) !important; padding: 0 12px !important; border-radius: 14px !important; }
.snav-ic { width: 40px !important; height: 40px !important; border-radius: 12px !important; }
.snav-l a .snav-ic .ic { width: 22px !important; height: 22px !important; }
.snav-l li.is-sub a { min-height: 46px !important; padding-left: 36px !important; font-size: 16px !important; }
.snav-l li.is-sub .snav-ic { width: 32px !important; height: 32px !important; }
.snav-l li.is-sub .snav-ic .ic { width: 18px !important; height: 18px !important; }
.snav-me { padding: 14px 12px !important; gap: 14px !important; }
.snav-me .me { width: 44px !important; height: 44px !important; }
.snav-me b { font-size: 17px !important; }
.snav-me small { font-size: 14px !important; }
:root[data-theme="night"] .snav-ic { background: color-mix(in srgb, var(--c) 28%, transparent); }

/* ---------- The new Home, to compare (2 Dec 2026): her picture, in Loopweek's logo colors ---------- */
.hl-switch { display: flex; gap: 4px; margin: 10px 16px 0; padding: 4px; border-radius: 999px; background: var(--card); width: max-content; }
.hl-switch button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 13px/1 var(--sans); cursor: pointer; }
.hl-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.hl { --hl-or: #FF8A3D; --hl-plum: #2B1640; padding-bottom: 24px; }
.hl-head { padding: 18px 16px 4px; }
.hl .hl-date { margin: 0; font: 400 40px/1.05 "Young Serif", Georgia, serif !important; letter-spacing: -.01em !important; color: var(--ink); }
.hl-date em { font-style: normal; color: var(--hl-or); }
.hl-sum { margin: 8px 0 0; font: 500 15px/1.3 var(--sans); color: var(--ink-2); }
.hl-quick { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hl-quick > * { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-2, var(--rule)); background: var(--card); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; }
.hl-card { margin: 14px 16px 0; padding: 16px; background: var(--card); border-radius: 20px; }
.hl-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hl .hl-ch h2 { margin: 0; font: 400 21px/1.2 "Young Serif", Georgia, serif !important; letter-spacing: 0 !important; color: var(--ink); }
.hl-ch span, .hl-ch a { font: 500 13px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
.hl-ch a { color: var(--hl-or); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.hl-empty { margin: 0; color: var(--ink-2); font: 400 15px/1.4 var(--sans); }
.hl-empty a, .hl-empty .linkbtn { color: var(--hl-or); font-weight: 600; }
.hl-line ol { list-style: none; margin: 0; padding: 0; position: relative; }
.hl-line ol::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--rule-2, var(--rule)); }
.hl-line li { position: relative; display: grid; grid-template-columns: 12px 64px 1fr auto; gap: 10px; align-items: start; padding: 8px 0; }
.hl-line li .hl-dot { padding: 0; cursor: pointer; width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink-2); position: relative; z-index: 1; box-sizing: border-box; }
.hl-dot::after { content: ""; position: absolute; inset: -14px; }
.hl-line li.is-now .hl-dot { background: var(--hl-or); border-color: var(--hl-or); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hl-or) 25%, transparent); }
.hl-line li.is-done .hl-dot { background: var(--ink-2); border-color: var(--ink-2); }
.hl-t { font: 500 14px/1.3 var(--mono, "DM Mono", monospace); color: var(--ink-2); }
.hl-w b { display: block; font: 600 16px/1.3 var(--sans); color: var(--ink); }
.hl-w small { display: block; margin-top: 2px; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.hl-line li.is-done .hl-w b { text-decoration: line-through; color: var(--ink-2); font-weight: 500; }
.hl-now { align-self: center; padding: 4px 9px; border-radius: 999px; background: var(--hl-or); color: #2B1640; font: 700 11px/1 var(--sans); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.hl-next ul { list-style: none; margin: 0; padding: 0; }
.hl-next li { display: flex; align-items: center; gap: 12px; min-height: 44px; border-top: 1px solid var(--rule); }
.hl-next li:first-child { border-top: 0; }
.hl-next li span { font: 500 16px/1.3 var(--sans); color: var(--ink); }
.hl-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--ink-2); background: none; cursor: pointer; position: relative; }
.hl-box::after { content: ""; position: absolute; inset: -10px; }
.hl-box:hover { border-color: var(--hl-or); }
.hl-drop { margin: 22px 16px 0; }
.hl-pick { position: relative; border-radius: 22px; overflow: hidden; background: var(--card); }
.hl-pick img, .hl-pick .hl-ph { display: block; width: 100%; height: 190px; object-fit: cover; }
.hl-pick.no-ph { border-left: 6px solid var(--tc, #FF8A3D); padding-top: 14px; }
.hl-pick.no-ph .hl-badge { position: static; display: inline-block; margin: 0 16px; }
.hl-pick.no-ph .hl-pb { padding-top: 10px; }
.hl-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(20, 14, 28, .78); color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.hl-pb { padding: 14px 16px 16px; }
.hl .hl-pb h3 { margin: 0; font: 400 22px/1.2 "Young Serif", Georgia, serif !important; letter-spacing: 0 !important; color: var(--ink); }
.hl-pb p { margin: 4px 0 0; font: 400 14px/1.35 var(--sans); color: var(--ink-2); }
.hl-pa { display: flex; gap: 10px; margin-top: 14px; }
.hl-pa button { flex: 1; min-height: 48px; border-radius: 999px; font: 700 16px/1 var(--sans); cursor: pointer; }
.hl-in { border: 0; background: var(--hl-or); color: #2B1640; }
.hl-inv { border: 1.5px solid var(--rule-2, var(--rule)); background: none; color: var(--ink); }
.hl-goal { display: flex; align-items: center; gap: 14px; margin: 14px 16px 0; padding: 18px; border-radius: 22px; background: var(--hl-plum); color: #fff; text-decoration: none; }
.hl-gx { flex: 1; min-width: 0; }
.hl-gk { display: block; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #FFE3A3; }
.hl-goal b { display: block; margin-top: 8px; font: 400 21px/1.2 "Young Serif", Georgia, serif; }
.hl-goal small { display: block; margin-top: 6px; font: 500 14px/1.3 var(--sans); color: #E6DCEF; }
.hl-ring { flex: none; width: 64px; height: 64px; transform: rotate(-90deg); }
.hl-ring circle { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 6; }
.hl-ring circle.on { stroke: var(--hl-or); stroke-linecap: round; }
.hl-ring text { transform: rotate(90deg); transform-origin: 32px 32px; fill: #fff; font: 700 14px var(--sans); }
.hl .tdband { margin-top: 14px; }
:root[data-theme="night"] .hl-goal { background: #3A2152; }

/* Swipe a to-do left: a red Erase grows into the space it leaves, and stays open after a shorter swipe (2 Dec 2026, her pick) */
.bd-card > .bd-swdel, .bd-drow > .bd-swdel { position: absolute; top: 0; bottom: 0; left: calc(100% + 8px); width: max(0px, calc(var(--sw, 0px) - 8px)); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 14px; background: #D93A2B; color: #fff; font: 600 13px "Funnel Sans", var(--sans); white-space: nowrap; cursor: pointer; padding: 0; opacity: 1 !important; box-shadow: none; z-index: 1; }
.bd-swdel .ic { width: 18px; height: 18px; }
.bd-drow { position: relative; }
@media (hover: none) { .bd-col { overflow-x: clip; } } /* a swiped card stays inside its panel, like an iPhone list */

/* ---------- Goal page, simpler (2 Dec 2026, her asks): ring beside the name, tap the name to change it, trash top right ---------- */
.gp-trow { display: flex; align-items: flex-start; gap: 12px; }
.gp-trow .gp-title { flex: 1; min-width: 0; }
.gp-tname { all: unset; display: block; cursor: text; font: inherit; color: inherit; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; }
.gp-tname:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: 4px; }
.gp-ring { --p: 0; flex: none; width: 40px; height: 40px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--forest) calc(var(--p) * 1%), var(--paper-2) 0); position: relative; }
.gp-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--paper); }
.gp-ring > span { position: relative; font: 600 11px/1 "Funnel Sans", var(--sans); color: var(--ink-2); letter-spacing: 0; }
.gp-trash { flex: none; display: grid; place-items: center; min-width: 44px; height: 44px; margin: -2px -10px 0 0; border: 0; border-radius: 12px; background: none; color: var(--ink-2); cursor: pointer; }
.gp-trash .ic { width: 20px; height: 20px; }
.gp-trash:hover { color: #B3261E; }
.gp-trash.is-ask { margin-right: 0; padding: 0 14px; background: #D93A2B; color: #fff; font: 600 15px "Funnel Sans", var(--sans); border-radius: 999px; }
.gn-tag { flex: none; align-self: center; font: 500 13px/1 "Funnel Sans", var(--sans); color: var(--ink-2); padding: 6px 10px; border-radius: 999px; background: var(--paper-2); }
.gn-tag:empty { display: none; }
.gp-new .gp-title-in { font: 600 32px/1.1 var(--serif); }
.gp-new .gp-title-in::placeholder { color: var(--ink-2); opacity: .55; }
.gn-dl, .gn-due .gp-duet { position: relative; }
.gn-dl input, .gn-due .gp-duet input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.gn-help { margin: 18px 0 0; font-size: 14px; }
.bd-empty:empty { padding: 0; min-height: 8px; border: 0; }

/* ---------- Suggestions on a goal's plan (2 Dec 2026, her asks): no explainer box (it's in the star), Keep all and Suggest
   others on top with a small × at the right, "+ Add" and "Suggest", and a whole plan shown as milestone > task > to-do ---------- */
.lad-sugp { position: relative; }
.lad-proptop { margin: 0 0 8px; }
.lad-x { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); cursor: pointer; }
.lad-x .ic { width: 16px; height: 16px; }
.lad-x-top { position: absolute; top: 2px; right: 6px; margin: 0; z-index: 1; }
.lad-sugp .gp-ctx:first-of-type { margin-top: 34px; }
.lad-ptree, .lad-ptree ul { list-style: none; margin: 6px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--rule); }
.lad-ptree li { margin: 4px 0; font: 500 14px/1.3 "Funnel Sans", var(--sans); color: var(--ink); }
.lad-ptree ul li { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.lad-adds .gp-tip { position: relative; top: auto; right: auto; display: inline-flex; vertical-align: middle; margin: 0 0 0 -6px; }
.lad-adds .gp-tip .why-pop { font: 400 13px/1.4 var(--sans); }
.lad-adds-m .lad-sugplan { border-style: solid; border-color: var(--ink); font-weight: 600; }
/* Three places on Home (Goals, Calendar, Board): they share the row, a little bigger (2 Dec 2026, her pick) */
.hl-places-3 { overflow: visible; margin: 16px 0 0; padding: 2px 0 4px; gap: 12px; }
.hl-places-3 a { flex: 1; width: auto; font-size: 13px; }
.hl-places-3 .hl-pi { width: 100%; max-width: 96px; height: 56px; border-radius: 18px; }
/* Home's one wide, short bar: + Add a goal, in the goals orange (2 Dec 2026, her pick: "just have + goals and make shorter but longer") */
.hl-addgoal { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 16px 0 0; border: 0; border-radius: 14px; background: color-mix(in srgb, #FF8A3D 16%, var(--paper)); color: #C4561A; font: 600 15px "Funnel Sans", var(--sans); cursor: pointer; }
.hl-addgoal .ic { width: 16px; height: 16px; }
:root[data-theme="night"] .hl-addgoal { background: color-mix(in srgb, #FF8A3D 24%, transparent); color: #FFB27D; }
nav#tabs.tabs { grid-template-columns: repeat(5, 1fr); }
.lad-busy p { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 15px "Funnel Sans", var(--sans); color: var(--ink-2); }
.lad-busy .ic { animation: lad-spin 1.2s linear infinite; }
@keyframes lad-spin { to { transform: rotate(360deg); } }
.hl-sugday { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 12px 0 0; }
.hl-sugday small { font: 400 13px var(--sans); color: var(--ink-2); }
button.lad-num { border: 0; padding: 0; cursor: pointer; position: relative; }
button.lad-num::after { content: ""; position: absolute; inset: -6px; }
.lad-note { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); opacity: .55; cursor: pointer; }
.lad-note .ic { width: 16px; height: 16px; }
.lad-note.has { opacity: 1; color: #3D7BEA; }
.bd-orow { display: flex; align-items: center; gap: 8px; }
.bd-orow .bd-oadd { flex: 1; min-width: 0; }
.bd-osug { flex: none; white-space: nowrap; }
.bd-open .bd-brkp { margin-top: 8px; }
.bd-brkp ul { list-style: none; margin: 0; padding: 0; }
.bd-brkp li { display: flex; align-items: center; gap: 8px; min-height: 44px; border-top: 1px solid var(--rule); }
.bd-brkp li span { flex: 1; min-width: 0; }
.sg-pick { width: 100%; justify-content: center; }
.sg-more { margin-top: 14px; }
.sg-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font: 600 15px "Funnel Sans", var(--sans); color: var(--ink); }
.sg-more > summary::-webkit-details-marker { display: none; }
.sg-more > summary .ic { width: 14px; height: 14px; transition: transform .15s; }
.sg-more[open] > summary .ic { transform: rotate(90deg); }
.daymore > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; min-height: 44px; }
.daymore > summary::-webkit-details-marker { display: none; }
.daymore > summary h2 { margin: 0; }
.daymore > summary .ic { width: 16px; height: 16px; transition: transform .15s; }
.daymore[open] > summary .ic { transform: rotate(90deg); }
[data-ro-kind] > [data-ro] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
[data-ro].ro-drag { opacity: .85; transform: scale(1.02); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); border-radius: 14px; position: relative; z-index: 2; background: var(--card); }
.bl-sugask { margin: 12px 0 0; display: grid; gap: 8px; }
.bl-sugask label { font: 600 14px "Funnel Sans", var(--sans); }
.bl-sugask label small { font-weight: 400; color: var(--ink-2); }
.bl-wishrow { display: flex; gap: 8px; }
.bl-wishrow input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--rule-2, var(--rule)); border-radius: 12px; padding: 0 12px; background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.bl-sugask .linkbtn { justify-self: start; }
body:has(dialog[open]) .calfab, html:has(dialog[open]) .calfab { display: none; } /* the floating + Add never sits on a sheet */
[data-ro-kind] > [data-ro] a, [data-ro-kind] > [data-ro] img { -webkit-user-drag: none; }

/* A plan's Show switch and fold arrows (2 Dec 2026, her pick) */
.lad-sech { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lad-lv { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); gap: 2px; }
.lad-lv button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 12.5px "Funnel Sans", var(--sans); cursor: pointer; }
.lad-lv button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lad-tfold { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer; }
.lad-tfold .ic { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .15s; }
.lad-task.is-folded .lad-tfold .ic { transform: rotate(0deg); }

/* ---------- The Timeline, one card a goal (2 Dec 2026) ---------- */
.tl2 .tl2-zone { margin: 22px 0 10px; font: 700 12px/1 "Funnel Sans", var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tl2-goals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl2-goal { border-radius: 18px; background: var(--card); border-left: 4px solid var(--tc, var(--forest)); padding: 4px 6px 12px 10px; }
.tl2-gh { display: flex; align-items: center; }
.tl2-gb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 4px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.tl2-ring { width: 42px; height: 42px; margin: 0; background: conic-gradient(var(--tc, var(--forest)) calc(var(--p) * 1%), var(--paper-2) 0); }
.tl2-ring > span { font-size: 10.5px; }
.tl2-gt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tl2-gt b { font: 600 17px/1.25 "Funnel Sans", var(--sans); color: var(--ink); }
.tl2-gt small { font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.tl2-chev { flex: none; display: grid; place-items: center; width: 28px; color: var(--ink-2); }
.tl2-chev .ic { width: 14px; height: 14px; transition: transform .15s; }
.is-open > .tl2-gh .tl2-chev .ic, .tl2-ms.is-open > .tl2-mh .tl2-chev .ic { transform: rotate(90deg); }
.tl2-go { flex: none; display: grid; place-items: center; width: 40px; height: 44px; color: var(--ink-2); }
.tl2-go .ic { width: 14px; height: 14px; transform: rotate(180deg); }
.tl2-track { position: relative; height: 34px; margin: 2px 16px 4px 56px; }
.tl2-line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--tc, var(--forest)) 35%, var(--paper-2)); }
.tl2-now { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
.tl2-dia { position: absolute; top: 4px; width: 11px; height: 11px; margin-left: -5.5px; transform: rotate(45deg); background: var(--card); border: 2px solid var(--tc, var(--forest)); border-radius: 2px; }
.tl2-dia.is-done { background: var(--tc, var(--forest)); }
.tl2-flag { position: absolute; top: -2px; margin-left: -6px; color: var(--tc, var(--forest)); }
.tl2-flag .ic { width: 15px; height: 15px; }
.tl2-a, .tl2-b { position: absolute; top: 19px; font: 500 11.5px/1 var(--sans); color: var(--ink-2); }
.tl2-a { left: -6px; } .tl2-b { right: 0; }
.tl2-mss, .tl2-tasks { list-style: none; margin: 4px 0 0; padding: 0; }
.tl2-ms { border-top: 1px solid var(--rule); }
.tl2-mh { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 4px 6px 14px; border: 0; background: none; color: inherit; text-align: left; font: inherit; }
button.tl2-mh { cursor: pointer; }
div.tl2-mh { padding-right: 32px; }
.tl2-mdia { flex: none; width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid var(--tc, var(--forest)); border-radius: 2px; background: var(--card); }
.tl2-mdia.is-done { background: var(--tc, var(--forest)); }
.tl2-mt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tl2-mt b { font: 500 15px/1.3 "Funnel Sans", var(--sans); color: var(--ink); }
.tl2-ms.is-done .tl2-mt b { color: var(--ink-2); text-decoration: line-through; }
.tl2-mt small, .tl2-tt small { font: 400 12.5px/1.3 var(--sans); color: var(--ink-2); }
.tl2-chip { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: var(--paper-2); font: 600 12px/1 "Funnel Sans", var(--sans); color: var(--ink); white-space: nowrap; }
.tl2-chip .ic { width: 12px; height: 12px; }
.tl2-chip.is-none { background: none; color: var(--ink-2); font-weight: 500; }
.tl2-chip.is-late { color: #c8432a; }
.tl2-chip.is-done { background: color-mix(in srgb, var(--tc, var(--forest)) 16%, var(--paper)); color: var(--tc, var(--forest)); }
.tl2-tasks { margin: 0 0 6px 34px; border-left: 2px solid var(--rule); }
.tl2-task { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0 4px 12px; }
.tl2-sq { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--ink-2); color: var(--card); }
.tl2-sq .ic { width: 10px; height: 10px; }
.tl2-task.is-done .tl2-sq { background: var(--tc, var(--forest)); border-color: var(--tc, var(--forest)); }
.tl2-tt { flex: 1; min-width: 0; display: grid; gap: 2px; font: 400 14px/1.3 var(--sans); color: var(--ink); }
.tl2-task.is-done .tl2-tt { color: var(--ink-2); text-decoration: line-through; }
.tl2-empty { margin: 8px 14px 0; font: 400 14px var(--sans); color: var(--ink-2); }
/* A day's plans in order colors (2 Dec 2026): the circle matches its pin on the map; a proposal is the same color, outlined */
html.look-board .wm-plan[style*="--tc"]:not(.is-done) .wm-num { background: var(--tc) !important; color: #fff !important; box-shadow: none !important; }
html.look-board .wm-plan.k-prop[style*="--tc"]:not(.is-done) .wm-num { background: var(--card) !important; color: var(--tc) !important; box-shadow: inset 0 0 0 2px var(--tc) !important; }
html.look-board .wg-ev[style*="--tc"] { border-left-color: var(--tc) !important; }
/* map pins in the same order colors as their circles (2 Dec 2026) */
html.look-board .wm-pin:not(.home):not(.done) { background: var(--tc, #111); color: #fff; }
html.look-board .wm-pin.prop:not(.home), html.look-board .wm-pin.sug:not(.home) { background: #fff; color: var(--tc, #8A6300); box-shadow: 0 0 0 2px #fff, inset 0 0 0 2px var(--tc, var(--amber)); }

/* Home's For you: three short rows like search results (2 Dec 2026, her ask) */
.hl-foryou ul { list-style: none; margin: 0; padding: 0; }
.hl-foryou li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule); }
.hl-foryou li:first-child { border-top: 0; padding-top: 0; }
.hl-foryou .hl-t { font: 500 13px/1.3 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hl-fy { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; background: none; border: 0; padding: 4px 0; color: var(--ink); cursor: pointer; }
.hl-fy b { font: 500 16px/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-fy small { font: 400 13px/1.3 var(--sans); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-foryou .hl-in { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; color: var(--ink); font: 600 13px var(--sans); white-space: nowrap; }
.hl-more { margin: 4px 0 -6px; }
.hl-more .linkbtn { font-size: 14px; }
.hl-ch a.hl-go { font: inherit; color: inherit; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hl-ch a.hl-go::after { content: "›"; font: 400 22px/1 var(--sans); color: var(--ink-2); }
/* the last to-do ticked today stays in Next up, checked and crossed out (3 Dec 2026) */
.hl-box.on { display: grid; place-items: center; background: var(--forest); border-color: var(--forest); color: var(--on-forest, #fff); }
.hl-box.on .ic { width: 15px; height: 15px; }
.hl-next li.is-done span { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* Home you can make yours (her Figma "Your day", 3 Dec 2026) */
.hy { --hy: #7353c0; --hy-w: #f5f1fc; --hy-dark: #2d1843; }
html[data-theme="night"] .hy { --hy: #ad97e3; --hy-w: color-mix(in srgb, #ad97e3 16%, var(--card)); --hy-dark: #2a1c3d; }
.hy-head { padding: 8px 16px 4px; }
.hy-date { font: 400 13px var(--sans); color: var(--ink-2); }
.hy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hy-row h1 { font: 400 34px/1.1 "Young Serif", Georgia, serif; letter-spacing: -.01em; margin: 2px 0 0; }
.hy-cust { min-height: 36px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--hy-w); color: var(--hy); font: 500 12px var(--sans); }
.hy-more { font: 500 13px var(--sans); color: var(--hy); text-decoration: none; background: none; border: 0; padding: 0; min-height: 32px; }
.hy-shape { margin: 16px 16px 0; padding: 18px; border-radius: 20px; background: var(--hy-w); border: 1px solid color-mix(in srgb, var(--hy) 18%, transparent); }
.hy-shape h2 { margin: 0; font: 400 22px/1.2 "Young Serif", Georgia, serif; color: var(--ink); }
.hy-sub { margin: 6px 0 14px; font-size: 14px; color: var(--ink-2); }
.hy-mind { display: block; padding: 12px 14px; border-radius: 14px; background: var(--card); }
.hy-mind span { display: block; font: 600 10.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--hy); margin-bottom: 6px; }
.hy-mind textarea { width: 100%; border: 0; background: none; resize: none; font: 500 16px/1.4 var(--sans); color: var(--ink); padding: 0; }
.hy-mind textarea:focus { outline: none; }
.hy-ctx { display: flex; justify-content: space-between; align-items: center; margin: 10px 2px; font-size: 13px; color: var(--ink-2); }
.hy-ctx .linkbtn { color: var(--hy); font-size: 13px; min-height: 36px; text-decoration: none; }
.hy-ctx-ed { display: grid; gap: 8px; margin-top: 12px; }
.hy-ctx-ed .chips { flex-wrap: wrap; }
.hy-go { width: 100%; justify-content: center; min-height: 48px; border-radius: 12px; border: 0; background: var(--hy); color: #fff; font: 500 16px var(--sans); }
.hy-sec .hl-ch h2 { font: 400 21px/1.2 "Young Serif", Georgia, serif; }
.hy-next { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding-bottom: 12px; }
.hy-tm { font: 600 16px/1.1 var(--mono, ui-monospace); } .hy-tm small { display: block; font: 400 11px var(--sans); color: var(--ink-2); margin-top: 2px; }
.hy-w { display: flex; flex-direction: column; gap: 4px; } .hy-w b { font: 600 17px/1.25 var(--sans); } .hy-w small, .hy-later small { font-size: 13px; color: var(--ink-2); }
.hy-later { display: flex; flex-direction: column; gap: 3px; padding-top: 12px; border-top: 1px solid var(--rule); }
.hy-later b { font: 600 15px var(--sans); }
.hy-k { font: 500 10.5px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hy-goal { margin: 14px 16px 0; }
.hy-gcard { padding: 16px 18px; border-radius: 18px; background: var(--hy-dark); color: #fff; }
.hy-gk { font: 500 10.5px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.hy-gstep { display: flex; align-items: center; gap: 12px; font: 500 17px var(--sans); margin-bottom: 14px; }
.hy-gstep a { color: #fff; }
.hy-box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .8); background: none; position: relative; }
.hy-box::after { content: ""; position: absolute; inset: -11px; }
.hy-gbar { display: flex; align-items: center; gap: 12px; }
.hy-gbar span { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hy-gbar i { display: block; height: 100%; background: #fff; border-radius: inherit; }
.hy-gbar small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.hy-todo { list-style: none; margin: 0; padding: 0; }
.hy-todo li { display: flex; align-items: center; gap: 12px; min-height: 44px; border-top: 1px solid var(--rule); }
.hy-todo li:first-child { border-top: 0; } .hy-todo li span { font: 500 16px var(--sans); }
.hy-todo li.is-done span { color: var(--ink-2); text-decoration: line-through; }
.hy-ideas { list-style: none; margin: 0; padding: 0; }
.hy-ideas li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); }
.hy-ideas li:first-child { border-top: 0; padding-top: 0; }
.hy-fy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; background: none; border: 0; padding: 0; color: var(--ink); }
.hy-fy b { font: 600 16px/1.25 var(--sans); } .hy-fy small { font-size: 13px; color: var(--ink-2); }
.hy-one { display: flex; flex-direction: column; gap: 3px; } .hy-one b { font: 600 16px var(--sans); } .hy-one small { font-size: 13px; color: var(--ink-2); }
.hy-foot { text-align: center; margin: 22px 0 8px; } .hy-foot .linkbtn { color: var(--hy); text-decoration: none; font-size: 14px; }
.hy-ch { font: 400 26px/1.2 "Young Serif", Georgia, serif; }
.hy-list { list-style: none; margin: 14px 0; padding: 0; }
.hy-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); background: var(--card); touch-action: none; }
.hy-list li:first-child { border-top: 0; }
.hy-list li.is-drag { opacity: .85; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); border-radius: 12px; }
.hy-grip { cursor: grab; color: var(--ink-2); padding: 10px 4px; touch-action: none; }
.hy-l { flex: 1; display: flex; flex-direction: column; gap: 2px; } .hy-l b { font: 600 15px var(--sans); } .hy-l small { font-size: 12.5px; color: var(--ink-2); }
.hy-sw { flex: none; width: 46px; height: 28px; border-radius: 999px; border: 0; background: var(--rule-2, #ddd); position: relative; padding: 0; }
.hy-sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.hy-sw[aria-checked="true"] { background: #7353c0; } .hy-sw[aria-checked="true"] i { transform: translateX(18px); }
.hy-start { padding: 12px 14px; border-radius: 12px; background: #f5f1fc; color: #2a2a2a; }
html[data-theme="night"] .hy-start { background: color-mix(in srgb, #ad97e3 16%, var(--card)); color: var(--ink); }
.hy-start b { color: #7353c0; font: 500 13px var(--sans); } .hy-start p { font-size: 13px; margin-top: 4px; }
.hy-done { width: 100%; justify-content: center; min-height: 46px; border-radius: 999px; border: 0; background: #7353c0; color: #fff; font: 600 15px var(--sans); }
.hy-reset { text-align: center; } .hy-reset .linkbtn { color: #7353c0; text-decoration: none; }
.hy .hl-ch .hy-more { color: var(--hy); font-weight: 500; }

/* Saved lists above the Board (3 Dec 2026, her idea) */
.bd-lists { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.bd-lists::-webkit-scrollbar { display: none; }
.bd-lk { flex: none; font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.bd-lc { flex: none; display: inline-flex; align-items: center; gap: 2px; }
.bd-lc .chip { white-space: nowrap; min-height: 36px; }
.bd-lc .chip small { margin-left: 6px; color: var(--ink-2); font-size: 12px; }
.bd-lx { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); }
.bd-ledit { flex: none; font-size: 13px; min-height: 36px; }
.bd-lhint { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
/* Done: the last five, scratched off by hand; the newest one's line draws itself */
.bd-scratch { list-style: none; margin: 8px 0 0; padding: 0; }
.bd-drow.is-scratch .bd-dr > span { position: relative; display: inline-block; align-self: center; width: fit-content; max-width: 100%; color: var(--ink-2); }
.bd-drow.is-scratch .bd-dr > span::after { content: ""; position: absolute; left: -3px; right: -3px; top: calc(.62em - 4px); height: 9px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 9' preserveAspectRatio='none'%3E%3Cpath d='M1 5.5 C 18 2.5, 34 7.5, 52 4.5 S 88 2.2, 119 4.8' fill='none' stroke='%23E2553D' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 100% 100%; }
.bd-drow.is-scratch.fresh .bd-dr > span::after { animation: bd-scratch .55s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes bd-scratch { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .bd-drow.is-scratch.fresh .bd-dr > span::after { animation: none; } }

/* The Calendar's one-time offer to show her iPhone calendar (3 Dec 2026) */
.pc-offer { margin: 10px 0 12px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); }
.pc-offer p { margin: 0; font: 400 15px/1.4 var(--sans); color: var(--ink-2); }
.pc-offer p b { color: var(--ink); font-weight: 600; }
.pc-acts { display: flex; align-items: center; gap: 14px; margin-top: 12px; }

/* Home: the customize icon and moving sections on Home itself (3 Dec 2026) */
.hy-cust { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.hy-cust .ic { width: 22px; height: 22px; }
.hy-grip2 { display: inline-grid; place-items: center; width: 28px; height: 32px; margin: -6px 2px -6px -8px; padding: 0; border: 0; background: none; color: var(--ink-2); opacity: .55; vertical-align: middle; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.hy-grip2 .ic { width: 16px; height: 16px; }
.hy-grip2:hover, .hy-grip2:focus-visible { opacity: 1; }
.hy-grip2::after { content: ""; position: absolute; inset: -8px; }
.hy-grip2 { position: relative; }
.hy-secs.is-sorting { -webkit-user-select: none; user-select: none; }
.hy-secs > .is-lift { position: relative; z-index: 5; transform: scale(1.015); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); transition: transform .12s, box-shadow .12s; cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .hy-secs > .is-lift { transform: none; } }

/* Home: the day proposed once a day (3 Dec 2026) */
.hy-pacts { display: flex; gap: 14px; }
.hy-pacts .linkbtn { font: 600 14px var(--sans); min-height: 36px; }
.hdp-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.hdp-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.hdp-row.is-mine { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.hdp-row.is-prop { border: 1.5px dashed color-mix(in srgb, var(--hy, #7353c0) 55%, transparent); }
.hdp-t { font: 500 13px/1.3 var(--mono, "DM Mono", monospace); color: var(--ink-2); }
.hdp-w b { display: block; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.hdp-w small { display: block; margin-top: 2px; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.hdp-a { display: flex; align-items: center; gap: 4px; }
.hdp-ok { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--hy, #7353c0); color: #fff; cursor: pointer; }
.hdp-ok .ic { width: 16px; height: 16px; }
.hdp-all { margin-top: 12px; }

/* Home: the day as one line, and the top of Home in today's light (3 Dec 2026, her pick 4) */
.hy.tod-morning { background: linear-gradient(180deg, #fff1d9 0, #fff8ee 220px, transparent 420px); }
.hy.tod-afternoon { background: linear-gradient(180deg, #fde3c8 0, #f8dbe4 220px, transparent 440px); }
.hy.tod-evening { background: linear-gradient(180deg, #e6dbf6 0, #f2e7f1 220px, transparent 440px); }
.hy.tod-night { background: linear-gradient(180deg, #dfe3f3 0, #eef0f8 200px, transparent 420px); }
html[data-theme="night"] .hy.tod-morning { background: linear-gradient(180deg, #3a2e1c 0, transparent 380px); }
html[data-theme="night"] .hy.tod-afternoon { background: linear-gradient(180deg, #40261f 0, transparent 400px); }
html[data-theme="night"] .hy.tod-evening { background: linear-gradient(180deg, #2c2142 0, transparent 400px); }
html[data-theme="night"] .hy.tod-night { background: linear-gradient(180deg, #1a2036 0, transparent 380px); }
.dl { display: block; margin: 4px 16px 0; padding: 12px 14px 10px; border-radius: 18px; background: color-mix(in srgb, var(--paper) 78%, transparent); color: var(--ink); text-decoration: none; }
.dl-ticks { display: flex; justify-content: space-between; font: 500 12px var(--mono, "DM Mono", monospace); color: var(--ink-2); }
.dl-line { position: relative; display: block; height: 30px; margin: 4px 0 2px; }
.dl-line::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; border-radius: 1px; background: var(--rule-2); }
.dl-now { position: absolute; left: 0; top: 3px; width: 3px; height: 24px; border-radius: 2px; background: #FF8A3D; }
.dl-ev { position: absolute; top: 8px; height: 14px; border-radius: 7px; }
.dl-ev.is-prop { background: color-mix(in srgb, var(--hy, #7353c0) 30%, transparent); border: 1.5px dashed var(--hy, #7353c0); }
.dl-sun { position: absolute; top: 2px; transform: translateX(-50%); color: #e08a2c; line-height: 0; }
.dl-sun .ic { width: 18px; height: 18px; }
.dl-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font: 500 12px/1.4 var(--sans); color: var(--ink-2); }
.dl-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.dl-key i.is-prop { background: color-mix(in srgb, var(--hy, #7353c0) 30%, transparent); border: 1.5px dashed var(--hy, #7353c0); }

/* the top card holds the proposed day now; sections move by press and hold (3 Dec 2026) */
.dl { padding-bottom: 12px; }
.dl-tl { display: block; color: inherit; text-decoration: none; }
.dl .hdp-list { margin-top: 6px; }
.dl-none { margin: 8px 2px 0; font: 400 14px var(--sans); color: var(--ink-2); }
.dl-acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.dl-links { display: flex; gap: 16px; margin-left: auto; }
.dl-links .linkbtn { font: 600 14px var(--sans); min-height: 40px; }
#hy-secs > [data-hk] { -webkit-touch-callout: none; }
#hy-secs > [data-hk] h2 { -webkit-user-select: none; user-select: none; }

/* Home deep dive (5 Dec 2026, her picks): the card says which day it is; shorter rows (names at most two lines, the place on one) */
.dl-k { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 6px; font: 600 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--hy, #7353c0); }
.dl-k span { font: 500 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); text-align: right; }
.dl .hdp-w { min-width: 0; }
.dl .hdp-w b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl .hdp-w small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl .hdp-ok { width: 36px; height: 36px; }
.dl .hdp-ok::after { content: ""; position: absolute; inset: -4px; }
.dl .hdp-ok { position: relative; }

/* Home, 5 Dec 2026 (her asks): no "Your morning" title (the date and the sliders icon share a row); the goal card and the
   to-dos without titles; a + where it said "Add one"; sections side by side, two to a row at most */
.hy-row-date { align-items: center; }
.hy-row-date .hy-date { margin: 0; }
#hy-secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 16px 0; align-items: stretch; }
#hy-secs > [data-hk] { grid-column: 1 / -1; margin: 0 !important; min-width: 0; }
#hy-secs > .is-half { grid-column: auto; }
#hy-secs > .is-half .hy-gcard { padding: 14px; }
.hy-emptyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.hy-plus { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--hy-w, #f5f1fc); color: var(--hy, #7353c0); text-decoration: none; }
.hy-plus .ic { width: 22px; height: 22px; }
.hl-card.is-bare { padding-top: 10px; padding-bottom: 10px; }
#hy-secs > .is-half .hl-ch { flex-direction: column; align-items: flex-start; gap: 2px; }
#hy-secs > .is-half .hl-ch h2 { font-size: 18px; }
#hy-secs > .is-half.hy-goal { display: flex; } #hy-secs > .is-half.hy-goal .hy-gcard { flex: 1; }
/* Home's sections are held to move: no text selection or callout under the finger (5 Dec 2026) */
#hy-secs > [data-hk] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* Redo the plan: one round icon button, the same everywhere (5 Dec 2026) */
.redo-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: var(--hy-w, #f5f1fc); color: var(--hy, #7353c0); }
.redo-btn .ic { width: 22px; height: 22px; }
.redo-btn:disabled { opacity: .5; cursor: default; }
/* Home reads as one page (5 Dec 2026): the day card's title is a title like the other cards', with the redo icon beside it */
.dl-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.hl .dl-h h2 { margin: 0; font: 400 21px/1.2 "Young Serif", Georgia, serif !important; letter-spacing: 0 !important; color: var(--ink); }
.dl-h p { margin: 2px 0 0; font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
.dl-h .redo-btn { margin-right: -4px; }
.dl-acts { justify-content: flex-start; }
/* iOS check (5 Dec 2026). The iPhone app shows bigger text by laying the page out narrower (native.js LW_TEXTSCALE),
   so a narrow layout means big text: there, two-to-a-row sections take a row each (her arrangement stays saved),
   and a plan's time sits above its name so the name gets the full width. */
@media (max-width: 345px) {
  #hy-secs > .is-half { grid-column: 1 / -1; }
  .dl .hdp-row { grid-template-columns: 1fr auto; row-gap: 2px; }
  .dl .hdp-row .hdp-t { grid-column: 1; grid-row: 1; }
  .dl .hdp-row .hdp-w { grid-column: 1; grid-row: 2; }
  .dl .hdp-row .hdp-a { grid-column: 2; grid-row: 1 / 3; }
}
/* "3 to do ›": a 44-point tap area without looking bigger */
.hy-more { position: relative; }
.hy-more::after { content: ""; position: absolute; inset: -6px -4px; }
.hy-emptyrow { flex: 1; } /* fills a stretched card so the + sits at the right edge */
/* 5 Dec 2026, her pick: "the edition" without its title. The date line reads like a newspaper's, over a double rule;
   on opening Home it prints in and the cards rise one after another (once per visit). */
.hy-head .hy-row-date { padding-bottom: 6px; border-bottom: 3px double var(--ink); }
.hy-ed { flex: 1; display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.3 var(--mono, "DM Mono", monospace) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink) !important; }
@keyframes hy-print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hy-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hy-enter .hy-head .hy-row-date { animation: hy-print .7s cubic-bezier(.3,.7,.2,1) both; }
.hy-enter .dl, .hy-enter #hy-secs > [data-hk] { animation: hy-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.hy-enter .dl { animation-delay: .25s; }
.hy-enter #hy-secs > [data-hk]:nth-child(1) { animation-delay: .4s; } .hy-enter #hy-secs > [data-hk]:nth-child(2) { animation-delay: .48s; }
.hy-enter #hy-secs > [data-hk]:nth-child(3) { animation-delay: .56s; } .hy-enter #hy-secs > [data-hk]:nth-child(n+4) { animation-delay: .64s; }
/* her ask: a ticked to-do turns green, and the line strikes through like ink */
.hy { --hy-done: #2f7d55; } html[data-theme="night"] .hy { --hy-done: #6fcf97; }
.hy-todo li.is-done .hl-box.on { background: var(--hy-done); border-color: var(--hy-done); color: #fff; }
html[data-theme="night"] .hy-todo li.is-done .hl-box.on { color: #0f1c17; }
.hy-todo li.is-done span { color: var(--hy-done); text-decoration: none; }
.hy-todo li.is-done span > s { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 100% 1.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hy-todo li.is-new .hl-box.on { animation: hy-pop .4s cubic-bezier(.3,1.6,.5,1); }
.hy-todo li.is-new span > s { animation: hy-strike .5s .1s cubic-bezier(.3,.7,.2,1) both; }
@keyframes hy-pop { from { transform: scale(.6); } } @keyframes hy-strike { from { background-size: 0 1.5px; } }
@media (prefers-reduced-motion: reduce) { .hy-enter *, .hy-todo li.is-new * { animation: none !important; } }
