/* Ludoq — Home, approved "Plan" layout (v5, Nov 24 · unified Nov 25) + the My tasks section. Ported from _mock/layouts.css (.v5).
   Rules: section titles 15/20 semibold · gutter 20 · card padding 16 · item gap 8 · radius 12 cards / 8 items / 6 chips ·
   thumbs 16:9 · secondary text --fg-muted · no text under 12px. Spacing rhythm 24 (sections) / 20 (cards in a row) /
   16 (card padding, section header → content) / 12 (card header → content) / 8 (items). Selection = raised white on grey, never a black stroke.
   Shared parts (styles.css, Design System v1) — not restyled here: .card (+ .card.media in Recent), .section-head, .t-section,
   .page-head.greeting, .setup-strip, .progress, .badge, .notice, .empty (.sm / .create), .icon-tile, .switch, .chip (+ .chip-x),
   the underline tab bar .utabs (Recent header), .seg, .view-all, .btn, .ib, avatars (.tav/.av). Values = v1 tokens only. */
/* Premium pass §4: Home uses the one wide cap (--page-max, 1312 of content) like the list pages; fluid below it */
.lib.is-home.page-wrap{max-width:var(--page-max)}
.hm{margin:0 auto;display:flex;flex-direction:column;gap:var(--section-gap);color:var(--fg-default);font-size:var(--fs-13);line-height:1.35}
.hm *{box-sizing:border-box}
.hm a{color:inherit;text-decoration:none}
.hm h1,.hm h2,.hm h3,.hm p,.hm ul,.hm ol{margin:0}
.hm ul,.hm ol{padding:0;list-style:none}
.hm img{display:block}
.lib.is-home.page-wrap{padding-top:var(--space-24);padding-bottom:var(--page-bottom)}

/* shared */
/* section cards = the kit .card (padding 16, radius 12, --shadow-sm); .hm-sec only stacks the parts */
.hm-sec{display:flex;flex-direction:column}
/* section header (§3.4): .section-head + .t-section title + optional count + View all ›, 28 high, 12 to the content */
.section-head.hm-sech{align-items:center;justify-content:flex-start;gap:var(--space-8);height:var(--h-28);margin-bottom:var(--card-head-gap)}
.hm-sech>.view-all{margin-left:auto}
.hm-sech>.t-section{white-space:nowrap}
/* section counter (direction B): a small grey counter beside the label in the header row — "Goals 6", "My tasks 14" */
.hm-n{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 7px;border-radius:var(--radius-chip);background:var(--ctl-fill-2);font:500 var(--fs-12)/20px var(--font-sans);color:var(--fg-muted-on-fill);white-space:nowrap;font-variant-numeric:tabular-nums}
.hm-n.txt{min-width:0;height:auto;padding:0;background:transparent;font:400 var(--fs-13)/var(--lh-20) var(--font-sans);color:var(--fg-muted)}
.hm-n.sm{font-size:var(--fs-13)}
.hm-dot{display:inline-block;width:6px;height:6px;border-radius:var(--radius-mark);flex:none}
.hm-dot-rec{background:var(--rec)}.hm-dot-due{background:var(--icon-default)}.hm-dot-done{background:var(--success-fg)}
.hm-lg{display:flex;gap:var(--space-12);font:var(--type-caption-strong);color:var(--fg-muted);white-space:nowrap}
.hm-lg>span{display:inline-flex;align-items:center;gap:var(--space-6)}
.hm-week-r2>.progress{flex:1}
.hm-tx{display:flex;flex-direction:column;gap:var(--space-2);min-width:0;flex:1}
.hm-tx .t1{font:var(--type-label);color:var(--fg-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-tx .t2{display:block;font:var(--type-caption);color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-tx .t2 .ic{display:inline-block;vertical-align:-2px;margin-right:var(--space-4)}
.hm-avs{display:inline-flex;align-items:center;flex:none}
.hm-avs .tav+.tav{margin-left:calc(var(--space-4) * -1)}
.hm-avs>.tav{border-radius:var(--radius-full);box-shadow:0 0 0 2px var(--av-ring)}   /* the av-stack cut-out ring */
.hm-more{margin-left:var(--space-4);font:var(--type-caption-strong);color:var(--fg-muted)}
.hm-mini{position:relative;flex:none;display:block;width:48px;height:27px;border-radius:var(--radius-chip);overflow:hidden;background:var(--bg-track);outline:1px solid var(--border-subtle);outline-offset:-1px}
.hm-mini img{width:100%;height:100%;object-fit:cover}
.hm-stack{position:relative;flex:none;width:48px;height:27px}
.hm-stack-b{position:absolute;left:var(--space-4);right:calc(var(--space-4) * -1);top:calc(var(--space-4) * -1);height:27px;border-radius:var(--radius-chip);background:var(--bg-strong);box-shadow:inset 0 0 0 1px var(--border-field)}
.hm-stack .hm-mini{position:absolute;inset:0}
.hm-nd{width:6px;height:6px;border-radius:var(--radius-full);background:var(--fg-default);flex:none}
.hm .who{opacity:1;pointer-events:auto}   /* shell.css fades ".sb-mini .who" (meant for the sidebar account row) — never the names on Home cards */
.hm-ok{color:var(--success-fg)}

/* 1 · greeting + create (Nov 25) — the kit page header (§3.3): title 24/32 + one status line on the left, the actions on
   the right of the same row (40 high, white: New ▾ = .btn.secondary, Record = .btn.rec). No icon tile. */
.page-head.greeting{flex-direction:row;align-items:center;gap:var(--space-16);margin:0}
.page-head.greeting>.ph-t{gap:var(--space-6)}
@media (max-width:760px){   /* the tab bar's + opens the same create sheet on phones; ⋯ stays, top right of the greeting */
  .hm-acts .btn{display:none}
  .page-head.greeting{flex-direction:row;align-items:flex-start;flex-wrap:nowrap}
  .page-head.greeting>.ph-t{flex:1;min-width:0}
  .page-head.greeting>.hm-acts{width:auto;flex:none;margin:calc(var(--space-4) * -1) calc(var(--space-8) * -1) 0 auto}
}
.hm-acts{gap:var(--space-8)}
.hm-more-b[aria-expanded="true"]{background:var(--bg-pressed)}

/* 1b · Your first week = the kit .setup-strip with journey steps (§10.2): done = a check drawn in blue ink, no fill;
   the next step is ink medium (Ludoq positioning, Nov 28: blue is Apply's; the strip itself is neutral on Home); See all opens the sheet */
.jr .ss-step{color:var(--fg-muted)}
.jr .ss-step.is-done{color:var(--fg-muted)}
.jr .ss-step.jr-next{color:var(--fg-default);font-weight:var(--fw-medium)}
.jr .ss-step.jr-next:hover{color:var(--fg-default)}
.jr-dot{display:inline-grid;place-items:center;width:16px;height:16px;flex:none;color:var(--icon-accent)}   /* done: the check alone; open steps use the kit .ss-dot ring */
.jr-ck{width:16px;height:16px;display:block}
.jr-ck path{stroke-dasharray:1;stroke-dashoffset:0}
.hm-enter .jr-ck path{animation:jr-draw var(--dur-slow) var(--ease-out-quint, var(--ease)) backwards;animation-delay:calc(var(--d, 0ms) + 240ms)}
@keyframes jr-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.jr .jr-more{border:0;background:none;cursor:pointer;font:inherit;color:var(--fg-muted);padding:0}
.jr .jr-more:hover{color:var(--fg-default)}
.jr .ss-steps .ss-step>span:not(.ss-dot):not(.jr-dot){white-space:nowrap}
.jr-all{flex:none;margin-left:auto;padding:0 var(--space-4);border:0;background:none;cursor:pointer}
.setup-strip.jr>.jr-all+.ib{margin-left:0}
.jr.is-done .ss-n{font:var(--type-caption);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* 1c · Weekly recap (§13.4): one E1 card, facts in a line, the most watched video */
.hm-recap .hm-sech>.view-all{border:0;background:none;padding:0;cursor:pointer}
.hm-facts{display:flex;flex-wrap:wrap;gap:var(--space-4) var(--space-24);font:var(--type-body);color:var(--fg-muted)}
.hm-facts b{font:var(--type-title-lg);color:var(--fg-default);margin-right:var(--space-4)}
.hm-top{display:flex;align-items:center;gap:var(--space-12);margin-top:var(--space-12);padding:var(--space-8);margin-left:calc(var(--space-8) * -1);margin-right:calc(var(--space-8) * -1);border-radius:var(--radius-item);transition:background var(--dur-slow) var(--ease)}
.hm-top:hover{background:var(--bg-row-hover)}
.hm-top>.ic{flex:none;color:var(--icon-muted)}
.hm-top .hm-mini{width:64px;height:36px}
.hm-top .hm-mini>*{width:100%;height:100%;object-fit:cover}

/* the quiet "Customize Home" link under the last section, and the all-hidden state */
.hm-cust{align-self:center;display:inline-flex;align-items:center;gap:var(--space-6);height:28px;padding:0 var(--space-8);border:0;border-radius:var(--radius-item);background:none;font:var(--type-caption);color:var(--fg-muted);cursor:pointer;transition:color var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.hm-cust:hover{color:var(--fg-default);background:var(--bg-row-hover)}
.hm-cust .ic{width:14px;height:14px}
.hm-empty{border:1px dashed var(--border-strong);border-radius:var(--radius-card)}

/* 2 · onboarding strip = the kit .setup-strip (§2.36); Home adds only the side note on a step and the all-set line */
.ss-step small{font:var(--type-caption);color:var(--fg-muted)}
.setup-strip.is-done>.ss-n{font:var(--type-caption)}
.setup-strip{white-space:nowrap}

.hm .hm-st{display:flex;flex-wrap:wrap;align-items:center;row-gap:var(--space-4);margin-left:calc(var(--space-20) * -1);clip-path:inset(-6px -6px -6px 16px);font:var(--type-body);color:var(--fg-muted)}
/* phones: no negative margin + clip trick (it started the line 4px off-screen); the parts wrap with a plain gap, no '·' at a line start */
@media (max-width:760px){.hm .hm-st{margin-left:0;clip-path:none;column-gap:var(--space-12)}.hm-st i{display:none}}
.hm-sp{display:inline-flex;align-items:center;white-space:nowrap}
.hm-st b{font-weight:600;color:var(--fg-default)}
.hm-st i{flex:none;width:20px;text-align:center;font-style:normal;color:var(--icon-disabled)}
.hm-st a{border-radius:var(--radius-mark);transition:color var(--dur-fast) var(--ease)}
.hm-st a:hover{color:var(--fg-default)}

/* 4a · SOLO: This week + pipeline */
.hm-week{flex-direction:row;gap:var(--space-20);align-items:stretch}
.hm-week-s{flex:none;width:240px;display:flex;flex-direction:column;justify-content:center;gap:var(--space-6)}
.hm-week-r1{display:flex;align-items:baseline;gap:var(--space-6)}
.hm-week-r2{display:flex;align-items:center;gap:var(--space-10);font:var(--type-caption-strong);color:var(--fg-default);white-space:nowrap}
.hm-days{flex:1;min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-8)}
.hm-day{display:flex;flex-direction:column;gap:var(--space-8);min-width:0;padding:var(--space-8);border-radius:var(--radius-item);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border-subtle)}
.hm-day.today{background:var(--sel-bg);box-shadow:var(--sel-shadow)}
.hm-day.today .hm-day-h b{color:var(--accent)}
.hm-day-h{display:flex;justify-content:space-between;align-items:center;gap:var(--space-6);white-space:nowrap}
.hm-day-h b{font:600 var(--fs-13)/var(--lh-16) var(--font-sans)}
.hm-day-h span{font:var(--type-caption);color:var(--fg-muted)}
.hm-day.past .hm-day-h b{color:var(--fg-muted)}
.hm-day-c{display:flex;align-items:center;gap:var(--space-6);min-width:0;min-height:22px}
.hm-day-c>.chip{min-width:0}   /* the kit .chip */
.hm-day-c>.chip>span:last-child{overflow:hidden;text-overflow:ellipsis}
.hm-day-c>.chip.is-done{text-decoration:line-through}
.hm-plus1{font:var(--type-caption-strong);color:var(--fg-muted)}
.hm-pipe{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-20)}
.hm-col{display:flex;flex-direction:column;min-width:0;padding:var(--space-16);border-radius:var(--radius-card);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border-subtle);scroll-margin:96px}
.hm-col-h{display:flex;align-items:center;gap:var(--space-6);height:var(--h-28);margin-bottom:var(--card-head-gap);white-space:nowrap}
.hm-col-h b{font:var(--type-section)}
.hm-col-h>.ib{margin-left:auto;margin-right:calc(var(--space-6) * -1)}
.hm-col-l{display:flex;flex-direction:column;gap:var(--space-8)}
.hm-col:not(.open) .hm-x{display:none}
.hm-pk{display:flex;align-items:center;gap:var(--space-10);height:52px;padding:0 var(--space-10) 0 var(--space-12);border-radius:var(--radius-item);background:var(--bg-surface);box-shadow:var(--shadow-sm);min-width:0}
.hm-pk.ai{background:var(--bg-selected);box-shadow:inset 0 0 0 1px var(--accent-line-soft)}
.hm-pk .hm-tx .t2 .ic{flex:none}
.hm-ai{color:var(--fg-muted)}
.hm-ai .ic{color:var(--icon-default)}
.hm-more5{align-self:flex-start;margin-top:var(--space-10);padding:0;border:0;background:none;cursor:pointer}   /* the kit .view-all on a button */
.hm-pin .input{width:100%}
.hm-flash{outline:var(--focus-width) solid transparent;outline-offset:var(--focus-offset);animation:hm-flash calc(var(--dur-spring) * 2) var(--ease) 1}
@keyframes hm-flash{0%,100%{outline-color:transparent}20%,60%{outline-color:var(--focus-color)}}

/* 4b · COMPANY: Today | Needs you */
.hm-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--space-20);align-items:stretch}   /* both cards share the row height (no hole under a short Today); Today's list stays at the top */
.hm-calls{display:flex;flex-direction:column}
.hm-call{display:flex;align-items:center;gap:var(--space-10);height:40px;border-top:1px solid var(--border-subtle);min-width:0}
.hm-call:first-child{border-top:0}
.hm-call.now{background:var(--bg-selected);margin:0 calc(var(--space-8) * -1);padding:0 var(--space-8);border-radius:var(--radius-item);border-top-color:transparent}
.hm-call.now+.hm-call{border-top-color:transparent}
.hm-call.now .hm-avs{--av-ring:var(--bg-selected)}
.hm-ct{width:68px;flex:none;font:600 var(--fs-13)/var(--lh-16) var(--font-sans);color:var(--fg-default);white-space:nowrap}
.hm-call.past .hm-ct,.hm-call.past .hm-cbody b{color:var(--fg-muted)}
.hm-call.now .hm-ct{color:var(--accent)}
.hm-cbody{flex:1;min-width:0;display:flex;align-items:baseline;gap:var(--space-8);white-space:nowrap;overflow:hidden}
.hm-cbody b{font:var(--type-label);overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;min-width:0}
.hm-cbody small{flex:none;font:var(--type-caption);color:var(--fg-muted)}
.hm-soon{color:var(--accent);font-weight:600}
.hm-cg{width:100px;flex:none;display:flex}
.hm-ca{width:64px;flex:none;display:flex;justify-content:flex-end}
/* Notetaker switch: the shared .switch.sm look (28×16) with its label */
.hm-tg{display:inline-flex;align-items:center;gap:var(--space-6);height:24px;font:var(--type-caption-strong);color:var(--fg-muted);white-space:nowrap;cursor:pointer}
.hm-tg:has(:checked){color:var(--fg-default)}
.hm-tg>.ic{margin:0 calc(var(--space-2) * -1) 0 0;color:var(--icon-muted)}
.hm-lh{display:flex;align-items:center;gap:var(--space-10);height:28px;margin-top:var(--space-8);font:600 var(--fs-12)/var(--lh-16) var(--font-sans);color:var(--fg-muted)}
.hm-lh::after{content:"";flex:1;height:1px;background:var(--border-subtle);order:1}
.hm-lh>.hm-lg{order:2;font-weight:500}
.hm-later{display:flex;align-items:center;height:34px;border-top:1px solid var(--border-subtle)}
.hm-later-a{flex:1;min-width:0;align-self:stretch;display:flex;align-items:center;gap:var(--space-12);border-radius:var(--radius-item)}
.hm-later-a:hover .hm-lb b{color:var(--fg-accent)}
.hm-later-a:focus-visible{outline:2px solid var(--focus-color);outline-offset:0}
.hm-lb b{transition:color var(--dur-fast) var(--ease)}
.hm-later:first-child{border-top:0}
.hm-later .hm-ct{font-weight:500;color:var(--fg-muted)}
.hm-lb{flex:1;display:flex;align-items:center;gap:var(--space-8);min-width:0}
.hm-lb b{font:var(--type-label);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-ls{flex:none;text-align:right;font:var(--type-caption-strong);color:var(--fg-muted);white-space:nowrap}
.hm-nocal{display:flex;align-items:center;gap:var(--space-10);padding:var(--space-12);border-radius:var(--radius-item);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border-subtle);font:var(--type-body-sm);color:var(--fg-muted)}
.hm-nocal>.ic{flex:none;color:var(--fg-muted)}
.hm-nocal span{flex:1}
.hm-none{margin-top:var(--space-6);padding-left:var(--space-80);font:var(--type-caption);color:var(--fg-muted)}
.hm-none.flush{margin:0;padding:var(--space-10) 0}
.hm-today .hm-calls:has(+ .hm-note){margin-bottom:var(--space-16)}
/* tip under Today = the kit .notice; Home keeps it on one line on wide screens */
.hm-note{margin-top:auto;align-items:center;white-space:nowrap}
.hm-note>.ic{flex:none;margin-top:0}
.hm-note span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.hm-note a{flex:none;font-weight:500;color:var(--fg-default)}
.hm-note a:hover{color:var(--fg-accent)}
.hm-nl{display:flex;flex-direction:column;gap:var(--space-8)}
.hm-nr{display:flex;align-items:center;gap:var(--space-10);min-width:0;min-height:52px}
.hm-nr+.hm-nr{padding-top:var(--space-8);border-top:1px solid var(--border-subtle);min-height:60px}
.hm-wait{margin-top:auto;padding-top:var(--space-16)}
.hm-wait .hm-lh{margin:0 0 var(--space-4)}
.hm-wait ul{display:flex;flex-direction:column}
.hm-wr{display:flex;align-items:center;gap:var(--space-10);height:44px;margin:0 calc(var(--space-8) * -1);padding:0 var(--space-8);border-radius:var(--radius-item)}
.hm-wr:hover{background:var(--bg-row-hover)}
.hm-wr .hm-tx .t1{font-size:var(--fs-13);line-height:16px}
.hm-wa{flex:none;font:var(--type-caption);color:var(--fg-muted)}
.hm-nb{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-6)}
.hm-n1{display:flex;align-items:center;gap:var(--space-6);font:var(--type-caption);color:var(--fg-muted);white-space:nowrap;min-width:0}
.hm-n1 b{font:600 var(--fs-13)/var(--lh-16) var(--font-sans);color:var(--fg-default);overflow:hidden;text-overflow:ellipsis}
.hm-n1>b{flex:0 0 auto;max-width:100%}
.hm-n1>b+span{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}   /* the name wins over the type label */
.hm-due{margin-left:auto;flex:none}   /* the kit .badge (.accent when due today or tomorrow) */
.hm-ago{margin-left:auto;flex:none;font:var(--type-caption);color:var(--fg-muted)}
.hm-n2{display:flex;align-items:center;gap:var(--space-10)}
.hm-n2 em{flex:1;min-width:0;font:var(--type-label);font-style:normal;color:var(--fg-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-zero{display:flex;align-items:center;gap:var(--space-10);min-height:44px}
.hm-zero-ic{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:var(--radius-item);background:var(--success-bg);color:var(--success-fg)}
.hm-zero .hm-tx .t1{font-weight:600}
.hm-needs.zero .hm-lh{margin:var(--space-12) 0 var(--space-4)}
.hm-sug{display:flex;flex-direction:column;gap:var(--space-8)}
.hm-sug li{display:flex;align-items:center;gap:var(--space-10);padding:var(--space-10);border-radius:var(--radius-item);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border-subtle)}
.hm-sug .icon-tile{color:var(--icon-default)}

/* Shared with you — slim strip: compact row items built from the media card parts (real thumb, title 14/600, avatar meta) */
.hm-shared .hm-n{color:var(--fg-default)}
.hm-sh-l{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-20)}
.hm-sh{display:flex;align-items:center;gap:var(--space-12);min-width:0;border-radius:var(--radius-item)}
.hm-sh-th{position:relative;flex:none;width:96px;height:54px;border-radius:var(--radius-item);overflow:hidden;background:var(--bg-track);outline:1px solid var(--border-subtle);outline-offset:-1px;isolation:isolate}
.hm-sh-th>img{width:100%;height:100%;object-fit:cover}
.hm-sh-th .pjm-notes{inset:var(--space-10) var(--space-8);gap:var(--space-4)}
.hm-sh-th .pjm-notes span{min-height:18px;padding:0;color:transparent;box-shadow:var(--thumb-chip-shadow)}   /* too small to read: colour only */
.hm-sh-th .thumb-dur{right:var(--space-4);bottom:var(--space-4);height:18px;padding:0 var(--space-4)}
.hm-sh-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-2)}
.hm-sh-t{display:flex;align-items:center;gap:var(--space-6);min-width:0}
.hm-sh-t .card-t{flex:0 1 auto;min-width:0}
.hm-sh-note{font:var(--type-caption);color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 5 · Recent — header = the shared .utabs bar (40 tall, full-width hairline); cards = the shared .card.media */
.hm-recent .utabs{margin-bottom:var(--space-16)}
.hm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-20)}
.hm-grid>.hm-rc:nth-child(n+5){display:none}          /* one row of four at full width; 3 × 2 and 2 × 2 below */
/* the whole card opens the item (the title link stretches over it; the thumbnail link stays the keyboard stop) */
.hm-rc .card-t a::after{content:"";position:absolute;inset:0;z-index:var(--z-raised);border-radius:inherit}
.hm-rc .card-t a{transition:color var(--dur-fast) var(--ease)}
.hm-rc:hover .card-t a{color:var(--fg-accent)}
.hm-crop{position:absolute;inset:0;background-repeat:no-repeat}
/* board cards: the project page's notes, scaled to this card — one row of three, clear of the type chip */
.hm-rc .pjm-notes{inset:var(--space-40) var(--space-12) var(--space-12);align-content:start}
.hm-rc .pjm-notes span:nth-child(n+4){display:none}
/* meta:avatar + name · time always; the last part (views · Notes ready · Sent to …) only when it fits whole —
   otherwise it wraps onto a second line that the fixed height hides (no half-cut "Sent …") */
.hm-rc .card-meta{flex-wrap:wrap;height:20px;row-gap:var(--space-8)}
.hm-rc .card-meta>.hm-mg{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:var(--space-6);overflow:hidden}
.hm-rc .card-meta>.hm-mg>*{flex:none;white-space:nowrap}
.hm-rc .card-meta>.hm-mg>.who{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.hm-rc .card-meta>.hm-tail{flex:none;display:inline-flex;align-items:center;gap:var(--space-6);min-width:auto;overflow:visible;white-space:nowrap}
.card-thumb .thumb-ph{position:absolute;inset:0;display:grid;place-items:center;color:var(--fg-muted)}
.hm-cr{grid-column:span 1;min-width:0;cursor:default}   /* the kit dashed create card .empty.create + .icon-tile */
.hm-cr.wide{grid-column:1/-1;flex-direction:row;align-items:center;text-align:left;gap:var(--space-14);min-height:96px}
.hm-cr .hm-tx{flex:none;align-items:center}
.hm-cr .hm-tx .t1{font-weight:600;white-space:normal}
.hm-cr .hm-tx .t2{white-space:normal}
.hm-cr.wide .hm-tx{flex:1;align-items:flex-start}
.hm-cr-a{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-8)}

/* the wide cap (1312 of content) fits five 220px cards (§4) */
@container (min-width:1180px){
  .hm-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .hm-grid>.hm-rc:nth-child(5){display:flex}
}
/* narrower windows (the Home is a container: .is-home) */
@container (max-width:1000px){
  .ss-step small{display:none}
  .hm-pipe{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-grid>.hm-rc:nth-child(5),.hm-grid>.hm-rc:nth-child(6){display:flex}
  .hm-invite{grid-column:1/-1;flex-direction:row;align-items:center;text-align:left;gap:var(--space-14)}
  .hm-invite .hm-tx{flex:1;align-items:flex-start}
  .hm-week{flex-direction:column}
  .hm-week-s{width:auto}
}
@container (max-width:860px){
  .hm-row{grid-template-columns:1fr}
}
/* Recent header stays one row:first the count pills go and the tabs close up; only when even that can't fit,
   Everyone | Mine and View all move to a slim row under the tabs, right above the cards they act on */
@container (max-width:800px){
  .hm-recent[data-mode="team"] .utabs{gap:var(--space-20)}
  .hm-recent[data-mode="team"] .utabs .ut-n{display:none}
  .hm-sh-l{grid-template-columns:1fr;gap:var(--space-12)}
}
@container (max-width:620px){
  .hm-recent[data-mode="solo"] .utabs{gap:var(--space-20)}
  .hm-recent[data-mode="solo"] .utabs .ut-n{display:none}
}
@container (max-width:610px){
  .hm-recent[data-mode="team"] .utabs{flex-wrap:wrap;height:auto;row-gap:0;overflow:visible;box-shadow:none} /* ds-allow: L13 (wraps; the hairline moves to the top of .utabs-end, right under the tabs) */
  .hm-recent[data-mode="team"] .utabs-end{flex-basis:100%;justify-content:space-between;margin:0;padding-top:var(--space-12);box-shadow:inset 0 1px 0 var(--border-subtle)}
}
@container (max-width:470px){
  .hm-recent[data-mode="solo"] .utabs{flex-wrap:wrap;height:auto;row-gap:0;overflow:visible;box-shadow:none} /* ds-allow: L13 (as above) */
  .hm-recent[data-mode="solo"] .utabs-end{flex-basis:100%;justify-content:flex-end;margin:0;padding-top:var(--space-12);box-shadow:inset 0 1px 0 var(--border-subtle)}
}
@container (max-width:640px){
  .hm-pipe{grid-template-columns:1fr}
  .hm-days{display:flex;overflow-x:auto;margin:0 calc(var(--space-16) * -1);padding:var(--space-2) var(--space-16);scroll-padding:0 16px;scroll-snap-type:x proximity;scrollbar-width:none}
  .hm-days::-webkit-scrollbar{display:none}
  .hm-day{flex:0 0 136px;scroll-snap-align:start}
  .hm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12)}
  .hm-grid>.hm-rc:nth-child(n+5){display:none}
  .hm-cr.wide,.hm-invite{flex-direction:column;align-items:center;text-align:center}
  .hm-cr.wide .hm-cr-a{justify-content:center}
  .ss-steps{display:none}
  .ss-t a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--accent-line-soft)}
  .hm-cg,.hm-avs{display:none}
  .hm-call{height:auto;min-height:48px;padding-top:var(--space-6);padding-bottom:var(--space-6)}
  .hm-nocal{flex-wrap:wrap}
  .hm-nocal span{flex:1 1 calc(100% - 26px)}
  .hm-nocal .btn{margin-left:calc(var(--space-16) + var(--space-10))}
  .hm-note{align-items:flex-start;white-space:normal}
  .hm-note span{white-space:normal}
  .hm-cbody{flex-direction:column;align-items:flex-start;gap:var(--space-2)}
  .hm-cbody b{max-width:100%}
  .hm-calls .hm-csug{padding-left:0;margin-top:0}
  .hm-csug .hm-cs-l{display:none}
}
@container (max-width:520px){
  .hm-recent .utabs{column-gap:var(--space-16)}
  .hm-recent .utabs .ut-n{display:none}
}

/* ───────── My tasks (Loom lessons §2.2): the door next to Needs you + the section card. No floating widget. ───────── */
.hm-tkdoor{display:inline-flex;align-items:center;gap:var(--space-4);font:400 var(--fs-13)/var(--lh-20) var(--font-sans);color:var(--fg-muted);white-space:nowrap;transition:color var(--dur-fast) var(--ease)}
.hm-tkdoor[hidden]{display:none}
.hm-tkdoor:hover{color:var(--fg-default)}
.hm-tkdoor .ic{width:14px;height:14px;margin-left:calc(var(--space-2) * -1)}
.hm-tkdoor:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset);border-radius:var(--radius-mark)}
/* "Add a task — press Enter" = the kit .input 40 with a leading plus in --icon-accent (the old .input-wrap layout, kept
   here: .search-field would take the "/" shortcut, and this is not a search) */
.tk-addw{position:relative;display:flex;align-items:center}
.tk-addw>.ic{position:absolute;left:var(--space-12);width:16px;height:16px;color:var(--icon-accent);pointer-events:none}
.tk-addw>.tk-in{width:100%;height:40px;padding-left:var(--field-pad-icon)}
.tk-cv{width:12px;height:12px;margin-left:calc(var(--space-2) * -1);color:var(--icon-muted)}
.tk-who{display:inline-flex;align-items:center;gap:var(--space-4);white-space:nowrap}
.tk-chips{margin-top:var(--space-8);gap:var(--space-6)}   /* the kit .btn-row of button.chip (aria-pressed when set) + .chip-x */
.tk-chips[hidden]{display:none}
.tk-chips>.chip{max-width:100%}
.tk-cl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}
.tk-date{width:auto}
.tk-list{list-style:none;margin:var(--space-8) 0 0;padding:0;display:flex;flex-direction:column}
.tk-row{position:relative;display:flex;align-items:flex-start;gap:var(--space-10);min-height:44px;padding:var(--space-10) var(--space-8);border-radius:var(--radius-item);transition:background var(--dur-fast) var(--ease)}
.tk-row+.tk-row{box-shadow:inset 0 1px 0 var(--border-subtle)}
.tk-row:hover{background:var(--bg-row-hover);box-shadow:none}
.tk-row:hover+.tk-row{box-shadow:none}
.tk-row .check{margin:var(--space-2) 0 0}
.tk-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-4)}
.tk-tx{font:var(--type-body);color:var(--fg-default);overflow-wrap:anywhere}
.tk-row.striking .tk-tx{color:var(--fg-muted);text-decoration:line-through;transition:color var(--dur-slow)}
.tk-m{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-6) var(--space-10);font:var(--type-caption);color:var(--fg-muted)}
.tk-due{display:inline-flex;align-items:center;gap:var(--space-4);white-space:nowrap}
.tk-due.today{color:var(--fg-default);font-weight:500}
.tk-due.late{color:var(--danger-fg);font-weight:500}
.tk-l{max-width:180px;overflow:hidden;text-overflow:ellipsis;text-decoration:none}   /* the kit .badge as a link */
.tk-l .ic{color:var(--fg-muted)}
.tk-lt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-l:hover{color:var(--fg-default)}
/* the section: field on the left, the next five on the right at full width; stacked when the column is narrow */
.hm-tasks{container-type:inline-size}
.hm-tk-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-4)}
/* Home rows are one line: text, then due and moment on the right (the full detail lives in Inbox › Tasks) */
.hm-tasks .tk-row{align-items:center;min-height:40px;padding:var(--space-8)}
.hm-tasks .tk-row .check{margin:0}
.hm-tasks .tk-b{flex-direction:row;align-items:center;gap:var(--space-12)}
.hm-tasks .tk-tx{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-tasks .tk-m{flex:none;flex-wrap:nowrap}
@container (max-width:520px){
  .hm-tasks .tk-row{align-items:flex-start;padding:var(--space-10) var(--space-8)}
  .hm-tasks .tk-row .check{margin-top:var(--space-2)}
  .hm-tasks .tk-b{flex-direction:column;align-items:stretch;gap:var(--space-4)}
  .hm-tasks .tk-tx{white-space:normal}
  .hm-tasks .tk-m{flex-wrap:wrap}
}
.hm-tk-hint{display:flex;align-items:flex-start;gap:var(--space-6);margin-top:var(--space-10);font:var(--type-caption);color:var(--fg-muted)}
.hm-tk-hint .ic{flex:none;margin-top:var(--space-2)}
.hm-tk-add:has(.tk-chips:not([hidden])) .hm-tk-hint{display:none}
.hm-tk-more{margin:var(--space-8) var(--space-8) 0;font:var(--type-caption);color:var(--fg-muted)}
.hm-tk-none{margin-top:var(--space-12)}
@container (min-width:880px){
  .hm-tk-wrap{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--space-24);align-items:start}
  .hm-tk-wrap .tk-list,.hm-tk-wrap .hm-tk-none{margin-top:0}
  .hm-tk-wrap .tk-row:first-child{padding-top:var(--space-8)}
}

/* ───────── a new workspace (Loom lessons §5.2): two start cards + samples ───────── */
.hm-start{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-20)}
.hm-sc{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-8)}
.hm-sc .icon-tile{margin-bottom:var(--space-4)}
.hm-sc p{max-width:56ch;font:var(--type-body-sm);color:var(--fg-muted)}
.hm-sc-a{margin-top:var(--space-8)}
/* Spaces decisions §10: the "Start with · New space" chip under the two cards (Business people who can create spaces) */
.hm-start>.chip-row.start:has(>.chip-row-chips){grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--space-12);margin-top:calc(var(--space-4) * -1)}
.hm-start>.chip-row.start>.chip-row-chips{justify-content:flex-start}
.hm-samples{display:flex;flex-direction:column}
.hm-samples>.hm-sech{height:auto;min-height:var(--h-28);flex-wrap:wrap;row-gap:var(--space-2)}
.hm-samples>.hm-sech>.hm-n{white-space:normal}
.hm-full{align-self:flex-start;margin-top:var(--space-16);padding:0;border:0;background:none;cursor:pointer}
@media (max-width:760px){.hm-start{grid-template-columns:1fr}}

/* ───────── Continue (Loom lessons §5.1): the first Recent card while a Play-in-order collection is in progress ───────── */
.hm-cont .card-thumb{position:relative}
.hm-cont-bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--bg-track)}
.hm-cont-bar>i{display:block;height:100%;background:var(--accent);border-radius:0 var(--radius-mark) var(--radius-mark) 0}
.hm-cont-n{margin-top:var(--space-2);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--type-caption);color:var(--fg-muted)}
.hm-cont-a{display:flex;align-items:center;gap:var(--space-4);margin-top:var(--space-8)}

/* ───────── "Waiting for you" email example (Loom lessons §4.5) ───────── */
.hm-dg-meta{display:flex;flex-wrap:wrap;gap:var(--space-4);font:var(--type-caption);color:var(--fg-muted)}
.hm-dg-meta b{font-weight:500;color:var(--fg-default)}
.hm-dg-subj{margin:var(--space-8) 0 var(--space-12);font:var(--type-title-sm);color:var(--fg-default)}
.hm-dg-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hm-dg-l li{display:flex;align-items:center;gap:var(--space-12);min-height:48px;padding:var(--space-8) 0}
.hm-dg-l li+li{border-top:1px solid var(--border-subtle)}
.hm-dg-l .hm-mini{width:64px;height:36px}
.hm-dg-note{font:var(--type-caption);color:var(--fg-muted)}
.hm-pl{display:inline-flex;align-items:center;gap:var(--space-4);vertical-align:-2px}
.hm-pl img{flex:none}

/* ───────── motion (Nov 24): springs from styles.css (--spring-*, --dur-*); off for reduced motion ───────── */
@keyframes hm-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes hm-pop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes hm-fold{0%{opacity:1;max-height:96px}100%{opacity:0;transform:translateX(16px);max-height:0;padding-top:0;padding-bottom:0;margin:0}}
/* staggered entrance: sections, then the cards inside them (fill backwards: nothing is held after it ends, so hover lifts still work) */
.hm.hm-enter>*{--d:0ms;animation:hm-rise var(--dur-spring) var(--spring-soft) backwards;animation-delay:var(--d)}
.hm.hm-enter>:nth-child(2){--d:50ms}.hm.hm-enter>:nth-child(3){--d:100ms}.hm.hm-enter>:nth-child(4){--d:150ms}
.hm.hm-enter>:nth-child(5){--d:200ms}.hm.hm-enter>:nth-child(6){--d:250ms}.hm.hm-enter>:nth-child(7){--d:300ms}
.hm.hm-enter :is(.hm-pipe,.hm-grid,.hm-days,.hm-sh-l,.hm-row,.hm-col-l,.hm-nl)>*{animation:hm-rise var(--dur-spring) var(--spring-soft) backwards;animation-delay:calc(var(--d) + 60ms + var(--i) * 40ms)}
.hm.hm-enter :is(.hm-pipe,.hm-grid,.hm-days,.hm-sh-l,.hm-row,.hm-col-l,.hm-nl)>:nth-child(2){--i:1}
.hm.hm-enter :is(.hm-pipe,.hm-grid,.hm-days,.hm-sh-l,.hm-row,.hm-col-l,.hm-nl)>:nth-child(3){--i:2}
.hm.hm-enter :is(.hm-pipe,.hm-grid,.hm-days,.hm-sh-l,.hm-row,.hm-col-l,.hm-nl)>:nth-child(4){--i:3}
.hm.hm-enter :is(.hm-pipe,.hm-grid,.hm-days,.hm-sh-l,.hm-row,.hm-col-l,.hm-nl)>:nth-child(5){--i:4}
.hm.hm-enter :is(.hm-pipe,.hm-grid,.hm-days,.hm-sh-l,.hm-row,.hm-col-l,.hm-nl)>:nth-child(n+6){--i:5}
/* hover: lift 2px, the shadow grows (the Recent cards lift through .card.hover in styles.css) */
.hm :is(.hm-pk,.hm-sh-th){transition:transform var(--dur-spring-fast) var(--spring-snappy),box-shadow var(--dur-slow) var(--ease),background var(--dur-slow) var(--ease)}
.hm .hm-pk:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-sh:hover .hm-sh-th{transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-sh:hover .card-t{color:var(--fg-accent)}
.hm .hm-sh .card-t{transition:color var(--dur-fast) var(--ease)}
/* list rows: a soft tint that reaches 8px past the text, no layout shift */
.hm :is(.hm-call:not(.now),.hm-later){position:relative;isolation:isolate}
.hm :is(.hm-call:not(.now),.hm-later)>*{position:relative;z-index:var(--z-raised)}
.hm :is(.hm-call:not(.now),.hm-later)::before{content:"";position:absolute;inset:0 calc(var(--space-8) * -1);border-radius:var(--radius-item);background:var(--bg-row-hover);opacity:0;z-index:var(--z-base);transition:opacity var(--dur-slow) var(--ease)}
.hm :is(.hm-call:not(.now),.hm-later):hover::before{opacity:1}
.hm .hm-wr{transition:background var(--dur-slow) var(--ease)}
/* presses */
.hm :is(.btn,.ib,.hm-tg,.view-all,.seg button,.hm-more5){transition-property:background,color,box-shadow,transform;transition-duration:var(--dur-slow),var(--dur-slow),var(--dur-slow),var(--dur-spring-fast);transition-timing-function:var(--ease),var(--ease),var(--ease),var(--spring-snappy)}
.hm :is(.btn,.ib,.seg button):active{transform:scale(var(--press-scale));transition-duration:var(--dur-instant)}
.hm :is(.hm-pk,.hm-sh):active :is(.hm-sh-th),.hm .hm-pk:active{transform:scale(var(--press-scale-card));transition-duration:var(--dur-instant)}
.hm .hm-new{animation:hm-pop var(--dur-spring-fast) var(--spring-snappy) backwards}
/* My tasks: rows pop in and fold away */
.tk-row.tk-new{animation:hm-pop var(--dur-spring-fast) var(--spring-snappy) backwards}
.tk-row.tk-out{overflow:hidden;pointer-events:none;animation:hm-fold var(--dur-slow) var(--ease) forwards}
@media (prefers-reduced-motion: reduce){
  .hm.hm-enter>*,.hm.hm-enter *,.hm .hm-new,.hm-flash,.tk-row.tk-new,.tk-row.tk-out{animation:none!important}
  .hm *{transition-duration:.001ms!important}
  .jr-ck path{animation:none!important}
  .hm :is(.hm-pk,.hm-sh-th,.hm-sug li,.btn,.ib,.seg button,.card.hover):is(:hover,:active),.hm .hm-sh:hover .hm-sh-th{transform:none!important}
}
html.reduce-motion .hm :is(.hm-pk,.hm-sh-th,.hm-sug li,.btn,.ib,.seg button,.card.hover):is(:hover,:active),html.reduce-motion .hm .hm-sh:hover .hm-sh-th{transform:none!important}
html.reduce-motion .hm.hm-enter *,html.reduce-motion .hm.hm-enter>*,html.reduce-motion .hm-flash,html.reduce-motion .jr-ck path,html.reduce-motion .tk-row.tk-new,html.reduce-motion .tk-row.tk-out{animation:none!important}
html.reduce-motion .hm *{transition-duration:.001ms!important}

/* ───────── Notion lessons (Nov 26) ───────── */
/* §4.2 one ⋯ per block header: quiet until the block is hovered or focused (always there on touch) */
.hm-bm{flex:none;margin-left:auto;color:var(--icon-muted);opacity:0;transition:opacity var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.hm-sech>.view-all~.hm-bm,.utabs-end>.hm-bm{margin-left:var(--space-2)}
.hm-week-r1>.hm-bm{align-self:center}
:is(.hm-sec,.hm-pipe-sec,.hm-recent):is(:hover,:focus-within) .hm-bm,.hm-bm:focus-visible,.hm-bm[aria-expanded="true"]{opacity:1}
@media (hover:none){.hm-bm{opacity:1}}
.hm-pipe-sec{display:flex;flex-direction:column}
.hm-row.needs-first{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
@media (max-width:1100px){.hm-row.needs-first{grid-template-columns:1fr}}
/* §4.2 Show 4 / 8 / 12 on Recent: the chosen count, whatever the grid width */
.hm-grid[data-show]>.hm-rc:nth-child(n){display:flex}

/* §4.3 "Start with" — the kit chip row (styles.css .chip-row.start) under a centred empty state */
.hm-cr.wide.hm-cr-start{flex-direction:column;align-items:center;text-align:center;gap:var(--space-8);padding-top:var(--space-24);padding-bottom:var(--space-24)}
.hm-cr.wide.hm-cr-start .hm-tx{flex:none;align-items:center}
.hm-cr-start .chip-row.start{margin-top:var(--space-8)}

/* §4.4 notes for the next call: a quiet button on the row, a 360 popover with the field */
.hm-call.is-next .hm-ca{width:auto;gap:var(--space-8);align-items:center}
.hm-pn{color:var(--fg-muted)}
.hm-pn:hover{color:var(--fg-default)}
.hm-pn.is-set .ic{color:var(--success-fg)}
.hm-pn-pop{width:360px;max-width:calc(100vw - 32px);padding:var(--space-12)}
.hm-pnf{display:flex;flex-direction:column;gap:var(--space-10)}
.hm-pnf-h{display:flex;align-items:baseline;gap:var(--space-8);margin:0;font:var(--type-caption);color:var(--fg-muted);min-width:0}
.hm-pnf-h b{font:var(--type-label);color:var(--fg-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.hm-pnf-t{resize:none;min-height:0;overflow:auto}
.hm-pnf-f{display:flex;align-items:center;gap:var(--space-8)}
.hm-pnf-n{flex:1;display:inline-flex;align-items:center;gap:var(--space-4);font:var(--type-caption);color:var(--fg-muted)}
.hm-pnf-n .ic{width:12px;height:12px}
/* below 1360 the next-call row keeps its title whole: "Add notes" folds to an icon button (aria-label + tooltip keep the name) */
@media (max-width:1359px){.hm-pn span{display:none}.hm-pn{aspect-ratio:1;padding:0;justify-content:center}}

/* Tau lessons (Nov 27) · Brief: a quiet button on the next call (beside Join); on later calls it shows on hover and focus */
.hm-brief{position:relative;color:var(--fg-muted)}
.hm-brief:hover,.hm-brief[aria-expanded="true"]{color:var(--fg-default)}
.hm-brief .ic{color:var(--icon-default)}
.hm-brief-dot{position:absolute;top:var(--space-4);right:var(--space-4);width:6px;height:6px;border-radius:var(--radius-full);background:var(--success-dot)}
.hm-call:not(.is-next) .hm-brief{opacity:0;transition:opacity var(--dur-fast) var(--ease)}
.hm-call:not(.is-next):hover .hm-brief,.hm-call:not(.is-next):focus-within .hm-brief,.hm-call:not(.is-next) .hm-brief[aria-expanded="true"]{opacity:1}
@media (hover:none){.hm-call:not(.is-next) .hm-brief{opacity:1}}
/* Tau lessons · one-click follow-ups under the call that just ended (no new section: a row of the Today list) */
.hm-csug{display:flex;align-items:center;gap:var(--space-8);min-height:32px;margin:calc(var(--space-6) * -1) 0 var(--space-4);padding-left:calc(var(--space-64) + var(--space-4) + var(--space-10));min-width:0}
.hm-cs-l{flex:none;display:inline-flex;align-items:center;gap:var(--space-4);font:var(--type-caption-strong);color:var(--fg-muted)}
.hm-cs-l .ic{color:var(--icon-default)}
.hm-cs-a{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap}
.hm-cs-done{display:inline-flex;align-items:center;gap:var(--space-4);height:24px;padding:0 var(--space-8);font:var(--type-caption-strong);color:var(--fg-muted);animation:hm-cs-in var(--dur-spring) var(--spring-soft) both}
.hm-cs-done .ic{color:var(--success-fg)}
@keyframes hm-cs-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
.hm-cs-x{flex:none;color:var(--fg-muted);opacity:0;transition:opacity var(--dur-fast) var(--ease)}
.hm-csug:hover .hm-cs-x,.hm-cs-x:focus-visible{opacity:1}
@media (hover:none){.hm-cs-x{opacity:1}}
.hm-csug+.hm-call{border-top-color:var(--border-subtle)}
@media (prefers-reduced-motion: reduce){.hm-cs-done{animation:none}.hm-brief,.hm-cs-x{transition:none}}
html.reduce-motion .hm-cs-done{animation:none}
@media (prefers-reduced-motion: reduce){.hm-bm{transition:none}}
html.reduce-motion .hm-bm{transition:none}
/* the next call carries one more control: its title and meta stack so the title stays whole */
.hm-call.is-next{height:auto;min-height:52px;padding-top:var(--space-6);padding-bottom:var(--space-6)}
.hm-call.is-next .hm-cbody{flex-direction:column;align-items:flex-start;gap:var(--space-2)}
.hm-call.is-next .hm-cbody b{max-width:100%}

/* ───────── Tasks decisions T3 (Nov 27): Needs you tier + My tasks under Today ───────── */
.hm-tkcol{display:flex;flex-direction:column;gap:var(--space-20);min-width:0}
.hm-tkcol>.hm-today{flex:none}
.hm-tkcol>.hm-tasks{flex:1}
.hm-row:has(>.hm-tkcol){align-items:start}   /* the wide column is two cards; Needs you keeps its own height */
.hm-row:has(>.hm-tkcol) .hm-wait{margin-top:var(--space-4)}
.hm-nr-ic{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:var(--radius-full);background:var(--danger-bg);color:var(--danger-fg)}
.hm-due.late{background:var(--danger-bg);color:var(--danger-fg)}
.hm-wmore{order:3;font:500 var(--fs-12)/var(--lh-16) var(--font-sans);color:var(--fg-muted)}
.hm-wmore:hover{color:var(--fg-default)}
.hm-tk-g .hm-lh{margin-top:var(--space-12)}
.hm-tk-g:first-child .hm-lh{margin-top:var(--space-8)}
.hm-tk-g .tk-list{margin-top:var(--space-2)}
.hm-tasks .tk-tx{display:block;padding:0;border:0;background:none;text-align:left;font:var(--type-body);color:var(--fg-default);cursor:pointer;border-radius:var(--radius-mark)}
.hm-tasks .tk-tx:hover{color:var(--fg-accent)}
.hm-tasks .tk-tx:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}
.hm-tasks .tk-p{max-width:180px}
.hm-tasks .tk-personal .ic{color:var(--icon-muted)}
.hm-tk-g .hm-lh>span:first-child{order:0}
.hm-tk-overdue .hm-lh>span:first-child{color:var(--danger-fg)}
.hm-tk-more{margin:var(--space-8) 0 0 var(--space-8)}
.hm-n2-wrap em{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@container (max-width:860px){
  .hm-row:has(>.hm-tkcol)>.hm-needs{order:-1}   /* one column: the priority tier first, then Today and My tasks */
}

/* ───────── Privacy decisions (founder Nov 27): "You missed {meeting}" — one recap card at the top of Needs you ───────── */
.hm-nr.hm-missed{align-items:flex-start;padding:var(--space-12);margin:0 calc(var(--space-4) * -1);border-radius:var(--radius-item);background:var(--bg-subtle)}
.hm-nr.hm-missed+.hm-nr{border-top:0}
.hm-missed .hm-nb{gap:var(--space-8)}
.hm-missed .hm-n1{white-space:normal}
.hm-missed .hm-n1>span:not(.hm-nr-ic){white-space:nowrap}
.hm-nr-ic.is-info{width:24px;height:24px;background:var(--accent-weak);color:var(--fg-accent)}
.hm-ms-x{margin-left:auto;flex:none}
.hm-ms-sum{margin:0;font:var(--type-body);color:var(--fg-default);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hm-ms-g{display:flex;flex-direction:column;gap:var(--space-2)}
.hm-ms-h{font:600 var(--fs-12)/var(--lh-16) var(--font-sans);color:var(--fg-muted)}
.hm-ms-g ul{display:flex;flex-direction:column;gap:var(--space-2);margin:0;padding:0;list-style:none}
.hm-ms-g li{position:relative;padding-left:var(--space-12);font:var(--type-caption);color:var(--fg-default)}
.hm-ms-g li::before{content:"";position:absolute;left:2px;top:7px;width:4px;height:4px;border-radius:var(--radius-full);background:var(--icon-muted)}
.hm-ms-g li:has(>.hm-ms-tk){padding-left:0}
.hm-ms-g li:has(>.hm-ms-tk)::before{display:none}
.hm-ms-tk{display:flex;align-items:center;gap:var(--space-6);width:100%;min-height:28px;padding:0 var(--space-6);margin-left:calc(var(--space-6) * -1);border:0;border-radius:var(--radius-mark);background:none;font:var(--type-caption);color:var(--fg-default);text-align:left;cursor:pointer}
.hm-ms-tk:hover{background:var(--bg-hover)}
.hm-ms-tk:focus-visible{outline:2px solid var(--focus-color);outline-offset:1px}
.hm-ms-tk .ic{flex:none;color:var(--icon-muted)}
.hm-ms-tk>span:first-of-type{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-ms-due,.hm-ms-t{flex:none;color:var(--fg-muted)}
.hm-ms-none{margin:0;font:var(--type-caption);color:var(--fg-muted)}
.hm-ms-a{display:flex;justify-content:flex-end}
.hm-ms-meta{margin:calc(var(--space-6) * -1) 0 0;font:var(--type-caption);color:var(--fg-muted)}

/* ───────── Ludoq focus F6 (Nov 28): the one loop on Home ─────────
   First open = Record / Upload (/ Meeting) · What should Ludoq prepare? · Ready for you. Established Home: one calm chips
   line under the greeting, Ready for you under Needs you (Company) or as its own card (Solo). One blue: none of this is
   filled blue; Record wears the red dot. Spring motion on hover; instant with reduced motion. */
.hm-first{max-width:880px;gap:var(--space-32)}
.hm-first-h .hm-promise{margin-top:var(--space-4);max-width:60ch;font:var(--type-body);color:var(--fg-muted)}
.hm-cap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16)}
.hm-cap.has-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm .hm-cap-c{display:flex;align-items:center;gap:var(--space-14);min-height:96px;padding:var(--space-20);color:var(--fg-default)}
.hm-cap-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius-card);background:var(--bg-subtle);color:var(--icon-default)}
.hm-cap-ic .rec-dot{width:14px;height:14px;border-radius:var(--radius-full);background:var(--rec);box-shadow:0 0 0 4px color-mix(in srgb,var(--rec) 18%,transparent)}
.hm-cap-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-2)}
.hm-cap-t b{font:var(--type-title);color:var(--fg-default)}
.hm-cap-t small{font:var(--type-body-sm);color:var(--fg-muted)}
.hm-cap-go{flex:none;color:var(--icon-muted);transition:transform var(--dur-spring-fast) var(--spring-snappy),color var(--dur-fast) var(--ease)}
.hm-cap-c:hover .hm-cap-go{transform:translateX(3px);color:var(--icon-default)}

.hm-prep-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-12)}
.hm-prep-g>span{display:flex;min-width:0}
.hm .hm-prep-c{display:flex;align-items:center;gap:var(--space-10);min-width:0;width:100%;min-height:40px;padding:var(--space-8) var(--space-14);border-radius:var(--radius-full);background:var(--bg-surface);box-shadow:inset 0 0 0 1px var(--border-subtle);
  font:var(--type-label-sm);color:var(--fg-default);transition:background var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease),transform var(--dur-spring-fast) var(--spring-snappy)}
.hm-prep-c>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-prep-c .ic{flex:none;color:var(--icon-muted)}
.hm .hm-prep-c:hover{background:var(--bg-hover);box-shadow:inset 0 0 0 1px var(--border-hover)}
.hm .hm-prep-c:active{transform:scale(.98)}
.hm-prep.is-big .hm-prep-c{min-height:56px;padding:var(--space-12) var(--space-16);border-radius:var(--radius-card);font:var(--type-label)}
.hm-prep.is-big .hm-prep-c>span{white-space:normal}
/* established Home: one line */
.hm-prep:not(.is-big){display:flex;align-items:center;gap:var(--space-12);min-width:0}
.hm-prep-l{flex:none;display:inline-flex;align-items:center;gap:var(--space-6);font:var(--type-label-sm);color:var(--fg-muted)}
.hm-prep-l .ic{color:var(--icon-muted)}
.hm-prep-row{display:flex;flex-wrap:wrap;gap:var(--space-8);min-width:0}
.hm-prep-row>span{display:flex}
.hm-prep:not(.is-big) .hm-prep-c{width:auto;min-height:32px;padding:var(--space-4) var(--space-12)}

.hm-ready{padding:var(--space-16) var(--space-20) var(--space-20)}
.hm-ready-h{display:flex;align-items:center;gap:var(--space-8);min-height:28px;margin-bottom:var(--space-8)}
.hm-ready-h .spacer{flex:1}
.hm-ready-all{border:0;background:none;padding:0;cursor:pointer}
.hm-ready .lqo{flex:none}
.hm-ready .lqo-list{padding:0;overflow:visible}
.hm-ready .lqo-grp+.lqo-grp{margin-top:var(--space-16)}
.hm-ready .lqo-empty{flex-direction:row;align-items:flex-start;text-align:left;gap:var(--space-12);padding:var(--space-8) 0 var(--space-4)}
.hm-ready .lqo-empty h3{margin-top:0}
.hm-ready .lqo-empty p{max-width:none;margin-top:var(--space-2)}
.hm-ready .lqo-empty-mark{flex:none;width:36px;height:36px}
.hm-rdcol{display:flex;flex-direction:column;gap:var(--space-20);min-width:0}
.hm-rdcol>.hm-ready .lqo-item{padding:var(--space-10)}
.hm-rdcol>.hm-ready .lqo-row{margin-top:var(--space-6)}

@media (max-width:1100px){.hm-prep-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .hm-first{gap:var(--space-24)}
  .hm-cap,.hm-cap.has-3{grid-template-columns:1fr;gap:var(--space-12)}
  .hm .hm-cap-c{min-height:76px;padding:var(--space-16)}
  .hm-prep-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-8)}
  .hm-prep.is-big .hm-prep-c{min-height:52px;padding:var(--space-10) var(--space-12);font:var(--type-label-sm)}
  .hm-prep:not(.is-big){flex-direction:column;align-items:flex-start;gap:var(--space-8)}
  .hm-prep-row{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none;padding-bottom:var(--space-2)}
  .hm-prep-row::-webkit-scrollbar{display:none}
  .hm-prep:not(.is-big) .hm-prep-c>span{overflow:visible}
  .hm-ready{padding:var(--space-14) var(--space-16) var(--space-16)}
}
@media (prefers-reduced-motion:reduce){.hm-prep-c,.hm-cap-go{transition:none!important}.hm-cap-c:hover .hm-cap-go{transform:none}}
html.reduce-motion .hm-prep-c,html.reduce-motion .hm-cap-go{transition:none!important}
.hm-first-h .ph-t p.hm-promise{white-space:normal;overflow:visible;text-overflow:clip}
.hm-ready .lqo-empty-t{align-items:flex-start}
.hm-prep.is-big>.hm-sech{height:auto;min-height:var(--h-28);flex-wrap:wrap;row-gap:var(--space-2)}
.hm-prep.is-big>.hm-sech>.hm-n{white-space:normal}

/* Ludoq positioning (Nov 28): blue = Apply. On Home the first-week strip is neutral (grey well, ink steps) so the Apply
   buttons in Ready for you are the only blue in the content; the established Home's New ▾ stays the header primary. */
.hm .setup-strip.jr{background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border-subtle)}
.hm .setup-strip.jr .ss-step:hover{background:var(--bg-hover)}
.hm .setup-strip.jr .ss-dot{box-shadow:inset 0 0 0 1px var(--border-hover)}
.hm .setup-strip.jr .is-done>.ss-dot{background:var(--icon-default);box-shadow:none}
.hm-first .cbx{margin-top:calc(var(--space-8) * -1)}
/* Circleback lessons (Nov 29): a failed meeting-bot join, first in Needs you */
.hm-bot-t{margin:var(--space-2) 0 0;font:var(--type-body-sm);color:var(--fg-muted)}
.hm-bot-a{display:flex;flex-wrap:wrap;gap:var(--space-4);margin-top:var(--space-8)}

/* ───────── Home fix (founder, Nov 28): Needs you | My tasks side by side, one line per row ─────────
   Two compact cards, half width each on desktop, stacked on phones. Rows are 36px, one line: icon · object · quiet
   source · meta · one small action. Ready rows end in a compact blue "Apply" (blue = action); Apply all is quiet text. */
.hm-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--card-gap);align-items:stretch}
@media (max-width:1100px){.hm-pair{grid-template-columns:minmax(0,1fr)}}
.hm-pair>.card{min-width:0}
.hm-fy-g+.hm-fy-g{margin-top:var(--space-12)}
.hm-fy-h{display:flex;align-items:center;gap:var(--space-8);height:var(--h-28);font:600 var(--fs-12)/var(--lh-16) var(--font-sans);color:var(--fg-muted)}
.hm-fy-all,.hm-fy-allq{margin-left:auto}
/* the tinted Apply lives in styles.css (one rule for every Apply) */
.hm-fy-x{margin:0 0 var(--space-4);font:var(--type-caption);color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-fy{list-style:none;margin:0;padding:0}
.hm-fy-r{display:flex;align-items:center;gap:var(--space-10);min-height:var(--h-36);padding:var(--space-4) 0;border-top:1px solid var(--border-subtle)}
.hm-fy-r:first-child{border-top:0}
.hm-fy-ic{flex:none;width:24px;height:24px;display:grid;place-items:center;border-radius:var(--radius-item);background:var(--bg-muted);color:var(--icon-muted)}
.hm-fy-ic.is-neg{background:var(--bg-surface);color:var(--fg-default)}   /* direction B: no red tile; "Not joined" says it in words */
.hm-fy-r>.av{flex:none}
.hm-fy-t{flex:1 1 auto;min-width:0;display:flex;align-items:baseline;gap:var(--space-4);overflow:hidden;white-space:nowrap;padding:0;border:0;background:none;text-align:left;font:var(--type-body);color:var(--fg-default)}
a.hm-fy-t{text-decoration:none;border-radius:var(--radius-mark)}
a.hm-fy-t:hover b{color:var(--fg-accent)}
a.hm-fy-t:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}
.hm-fy-t b{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.hm-fy-s{flex:0 100 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--fg-muted)}
.hm-fy-m{flex:none;font:var(--type-caption);color:var(--fg-muted);font-variant-numeric:tabular-nums}
.hm-fy-late{color:var(--danger-fg)}
.hm-fy-soon{color:var(--fg-default)}
.hm-fy-r>.btn{flex:none}
.hm-fy-apply{min-width:56px;padding:0 var(--space-12);font-weight:500}
/* calm spec §0: Apply = SOLID blue, never tinted (the kit primary .btn) */
html:root[data-theme] .btn.hm-fy-apply:disabled{opacity:.6}
.hm-fy-none{display:flex;align-items:center;gap:var(--space-8);margin:0;min-height:var(--h-36);font:var(--type-body);color:var(--fg-muted)}
.hm-fy-none .ic{flex:none;color:var(--success-fg)}
.hm-fy-more{display:inline-flex;align-items:center;gap:var(--space-2);margin-top:var(--space-8);font:var(--type-caption);color:var(--fg-muted)}
.hm-fy-more:hover{color:var(--fg-default)}
/* My tasks: always one line (the narrow-container two-line layout is off), meta = due + moment, add field last and quiet */
.hm-tasks .hm-tk-wrap{display:flex;flex-direction:column;gap:0}
.hm-tasks .hm-tk-l{margin:0}
.hm-tasks .tk-row,.hm-pair .hm-tasks .tk-row{position:relative;align-items:center;min-height:var(--h-36);padding:var(--space-4) var(--space-2);border:0}
.hm-tasks .tk-row+.tk-row::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--border-subtle);pointer-events:none}
.hm-tasks .tk-row .check{margin:0}
.hm-tasks .tk-b{flex-direction:row;align-items:center;gap:var(--space-10)}
.hm-tasks .tk-tx{white-space:nowrap}
.hm-tasks .tk-m{flex:none;flex-wrap:nowrap;gap:var(--space-6)}
.hm-tasks .tk-dg-bar,.hm-tasks .tk-dg .tnum{display:none}
.hm-tasks .hm-tk-none{margin:0}
.hm-tasks .hm-tk-more{margin:var(--space-8) 0 0}
.hm-tasks .hm-tk-add{margin-top:var(--space-8)}
.hm-tasks .hm-tk-add .tq-addw>.tq-in{height:var(--h-32);background:transparent;box-shadow:none;border-color:transparent}
.hm-tasks .hm-tk-add .tq-addw>.tq-in:hover{background:var(--bg-hover)}
.hm-tasks .hm-tk-add .tq-addw>.tq-in:focus{background:var(--bg-surface);box-shadow:inset 0 0 0 1px var(--border-field)}
@container (max-width:520px){
  .hm-tasks .tk-row{align-items:center;padding:var(--space-4) var(--space-2)}
  .hm-tasks .tk-row .check{margin-top:0}
  .hm-tasks .tk-b{flex-direction:row;align-items:center;gap:var(--space-8)}
  .hm-tasks .tk-tx{white-space:nowrap}
  .hm-tasks .tk-m{flex-wrap:nowrap}
  .hm-tasks .tk-m>:not(.tk-due){display:none}
}
@media (max-width:760px){
  .hm-fy-s{display:none}
  .hm-fy-x{white-space:normal}
}

/* ───────── Calm spec §4 (Nov 28, binding): greeting · capture box · Needs you | My tasks · Recent ─────────
   Rows over tiles, one blue (New ▾, Record, Apply, Join), grey "From 'X'" lines, every empty state one line. */
.hm-first{max-width:none;gap:var(--section-gap)}
.hm-first .cbr{margin-top:0}
/* Needs you: one list, two-line rows — lead · title / grey source line · quiet Dismiss · solid Apply */
.hm-fy-xr{display:flex;align-items:center;gap:var(--space-8);margin:calc(var(--space-4) * -1) 0 var(--space-4)}
.hm-fy-xr .hm-fy-x{flex:1;min-width:0;margin:0}
.hm-nxl{list-style:none;margin:0;padding:0}
.hm-nx{display:flex;align-items:center;gap:var(--space-12);min-height:52px;padding:var(--space-8) 0;border-top:1px solid var(--border-subtle)}
.hm-nx:first-child{border-top:0}
.hm-nx>.hm-fy-ic{width:28px;height:28px}
.hm-nx>.hm-fy-ic:not(.is-neg){background:var(--bg-subtle);color:var(--icon-default)}
.hm-nx>.av,.hm-nx>.tav{flex:none}
.hm-nx-b{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:var(--space-2)}
.hm-nx-t{display:block;min-width:0;padding:0;border:0;background:none;text-align:left;font:var(--type-label);color:var(--fg-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;border-radius:var(--radius-mark)}
span.hm-nx-t{cursor:default}
:is(a,button).hm-nx-t:hover{color:var(--fg-accent)}
.hm-nx-t:focus-visible,.hm-nx-src:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}
.hm-nx-s{display:block;min-width:0;font:var(--type-caption);color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm .hm-nx-s .hm-nx-src{color:var(--fg-muted);text-decoration:underline;text-decoration-color:var(--border-hover);text-underline-offset:2px;border-radius:var(--radius-mark)}
.hm .hm-nx-s .hm-nx-src:hover{color:var(--fg-default)}
.hm-nx-a{flex:none;display:flex;align-items:center;gap:var(--space-4)}
.hm-fy-dis{color:var(--fg-muted)}
/* declutter R4 (Nov 28): Dismiss appears on hover / keyboard focus; always on touch */
@media (hover:hover){.hm-nx .hm-fy-dis{opacity:0;transition:opacity var(--dur-fast) var(--ease)}.hm-nx:is(:hover,:focus-within) .hm-fy-dis{opacity:1}}
.hm-needs .hm-fy-more{margin-top:var(--space-4)}
/* Recent: one card, rows grouped Today / Yesterday / Earlier; "Coming up" on top with a calendar */
.hm-rh-r{margin-left:auto;display:inline-flex;align-items:center;gap:var(--space-12)}
.hm-rh-r>.view-all{margin-left:0}
.hm-rbody{display:flex;flex-direction:column;gap:var(--space-12)}
.hm-rg-h{margin:0 0 var(--space-2);font:600 var(--fs-12)/var(--lh-16) var(--font-sans);color:var(--fg-muted)}
.hm-rl{list-style:none;margin:0;padding:0}
.hm-rl>li{position:relative;display:flex;align-items:center;gap:var(--space-8);border-top:1px solid var(--border-subtle)}
.hm-rl>li:first-child{border-top:0}
.hm-rr{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-12);min-height:48px;padding:var(--space-6) var(--space-8);margin:0 calc(var(--space-8) * -1);border-radius:var(--radius-item);transition:background var(--dur-fast) var(--ease)}
.hm-rr:hover{background:var(--bg-row-hover)}
.hm-rr:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:calc(var(--focus-offset) * -1)}
.hm-rr-th{position:relative;flex:none;width:56px;height:32px;border-radius:var(--radius-chip);overflow:hidden;background:var(--bg-muted);box-shadow:inset 0 0 0 1px var(--border-subtle)}
.hm-rr-th>img,.hm-rr-th>.hm-crop{width:100%;height:100%;object-fit:cover;display:block}
.hm-rr-th.is-ic{display:grid;place-items:center;color:var(--icon-default);background:var(--bg-subtle)}
.hm-rr-d{position:absolute;right:2px;bottom:2px;padding:0 3px;border-radius:3px;background:rgba(43,42,39,.72);color:#fff;font:500 10px/14px var(--font-sans)}   /* ds-allow: L4 duration chip on a frame */
.hm-rr-b{flex:1;min-width:0;display:flex;align-items:baseline;gap:var(--space-12)}
.hm-rr-t{flex:0 1 auto;min-width:0;font:var(--type-label);color:var(--fg-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-rr-m{flex:0 100 auto;min-width:0;font:var(--type-body-sm);color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-rr-w{flex:none;margin-left:auto;font:var(--type-caption);color:var(--fg-muted)}
.hm-up-time{flex:none;width:72px;white-space:nowrap;font:var(--type-label-sm);color:var(--fg-default)}
.hm-up.is-now .hm-up-time,.hm-up .hm-soon{color:var(--fg-accent)}
.hm-up-join{flex:none;margin-left:var(--space-8)}
.hm-cont-x{flex:none}
.hm-rr-none{min-height:var(--h-36)}
.hm-rr-none .ic{color:var(--icon-muted)}
/* the foot: the first-week tip (dismissible) + Customize Home */
.hm-foot{display:flex;flex-direction:column;align-items:center;gap:var(--space-12)}
.hm-tip{display:flex;align-items:center;gap:var(--space-10);width:100%;min-height:40px;padding:var(--space-4) var(--space-6) var(--space-4) var(--space-12);border-radius:var(--radius-item);background:var(--bg-subtle);font:var(--type-body-sm);color:var(--fg-muted)}
.hm-tip-ic{flex:none;display:grid;place-items:center;color:var(--icon-muted)}
.hm-tip-t{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;column-gap:var(--space-8);row-gap:0}
.hm-tip-t b{font-weight:500;color:var(--fg-default)}
.hm-tip-nx a{color:var(--fg-default);text-decoration:underline;text-decoration-color:var(--border-hover);text-underline-offset:2px}
.hm-tip-all{flex:none;border:0;background:none;cursor:pointer}
.hm-tip-x{flex:none}
@media (max-width:760px){
  .hm-nx{align-items:center;flex-wrap:wrap;row-gap:var(--space-8);padding:var(--space-10) 0}
  .hm-nx-b{flex:1 1 0}
  .hm-nx-t,.hm-nx-s{white-space:normal}
  .hm-nx-a .btn{height:44px;min-width:56px;justify-content:center}
  .hm-nx:has(.hm-fy-dis){align-items:flex-start}
  .hm-nx:has(.hm-fy-dis) .hm-nx-b{flex:1 1 calc(100% - 44px)}
  .hm-nx:has(.hm-fy-dis) .hm-nx-a{flex:1 1 100%;padding-left:40px;gap:var(--space-8)}
  .hm-nx:has(.hm-fy-dis) .hm-nx-a{justify-content:flex-end}   /* declutter: a sized tinted Apply, not a full-width bar */
  .hm-nx:has(.hm-fy-dis) .hm-nx-a .hm-fy-apply{flex:none;padding:0 var(--space-16)}
  .hm-fy-xr{flex-wrap:wrap}
  .hm-rr{min-height:52px}
  .hm-up-time{width:64px}
  .hm-rr-b{flex-direction:column;align-items:stretch;gap:0}
  .hm-rh-r .seg{display:none}
  .hm-tip{align-items:flex-start;padding:var(--space-8) var(--space-6) var(--space-8) var(--space-12)}
  .hm-tip-ic{margin-top:var(--space-2)}
}
@media (prefers-reduced-motion:reduce){.hm-rr{transition:none}}
.hm-sech>.hm-rh-r~.hm-bm{margin-left:var(--space-2)}
/* Founder decision (Nov 28 eve): an empty Home's Record + Upload pair — two big calm tiles, Record ink-dot first */
.hm-sp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12)}
.hm-sp-c{display:flex;align-items:center;gap:var(--space-12);min-height:88px;padding:var(--space-16) var(--space-20);border-radius:var(--radius-card);background:var(--bg-surface);box-shadow:var(--shadow-sm);color:var(--fg-default);text-align:left;text-decoration:none;transition:box-shadow var(--dur-fast) var(--ease),transform var(--dur-fast) var(--ease)}
.hm-sp-c:hover{box-shadow:var(--shadow-md)}
.hm-sp-c:active{transform:scale(.99)}
.hm-sp-c:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}
.hm-sp-ic{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:var(--radius-full);background:var(--bg-muted);color:var(--icon-default)}
.hm-sp-c.is-rec .hm-sp-ic{background:var(--fg-default)}
.hm-sp-c.is-rec .rec-ink-dot{width:12px;height:12px}
.hm-sp-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-2)}
.hm-sp-t b{font:600 var(--fs-16,16px)/22px var(--font-sans)}
.hm-sp-t small{font:400 var(--fs-13)/18px var(--font-sans);color:var(--fg-muted)}
@media (max-width:760px){.hm-sp{grid-template-columns:minmax(0,1fr)}.hm-sp-c .kbd{display:none}}
@media (prefers-reduced-motion:reduce){.hm-sp-c{transition:none}.hm-sp-c:active{transform:none}}
/* Loved pass: call titles in Today open the call's note */
.hm-ctl{color:inherit;text-decoration:none}.hm-ctl:hover b{text-decoration:underline;text-underline-offset:2px}

/* Dashboard close §D2 (Nov 28): one notice line above the cards — a failed bot join or a missed-meeting recap. Ready for you
   holds only what Ludoq prepared; tasks to confirm open My tasks. */
.hm-notice{margin:0 0 var(--space-16);padding:var(--space-4) var(--space-16);border:1px solid var(--border-subtle);border-radius:14px;background:var(--bg-surface)}
.hm-notice[hidden]{display:none}
.hm-notice .hm-nxl{margin:0}
.hm-tk-sug{margin:0 0 var(--space-4);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-subtle)}
/* the status line's parts share the class name with the empty-Home start pair (.hm-sp grid): keep them inline */
.hm .hm-st .hm-sp{display:inline-flex;grid-template-columns:none;gap:0}
.hm .hm-notice{margin-bottom:0}
/* the one-line why + moment chip under "From" (apply-preview.js whyHtml) */
.hm .hm-nx-why{display:flex;align-items:center;gap:6px;min-width:0;margin:2px 0 0;font:var(--type-caption);color:var(--fg-muted)}
.hm .hm-nx-why>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm .hm-nx-t[data-hm="fy-open"]{border:0;background:none;padding:0;text-align:left;cursor:pointer}
/* Recent rows: the type mark (palette 1) sits before "Video · You" — same type labels and colours as My Library */
.hm-rr-m:has(.type-tile){display:inline-flex;align-items:center;gap:6px}
.hm-rr-m .type-tile{width:16px;height:16px;border-radius:var(--radius-mark)}
.hm-rr-m .type-tile .ic{width:10px;height:10px}
.hm-rr-m>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.hm-cnt{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:var(--radius-mark);background:var(--ctl-fill-2);font:500 var(--fs-12)/18px var(--font-sans);color:var(--fg-muted-on-fill);vertical-align:1px}
/* declutter R4 (Nov 28): the moment chip in a Ready row and the first-week hide × show on hover / focus; always on touch */
@media (hover:hover){
  .hm-nx .ap-mo,.hm-tip .hm-tip-x{opacity:0;transition:opacity var(--dur-fast) var(--ease)}
  .hm-nx:is(:hover,:focus-within) .ap-mo,.hm-tip:is(:hover,:focus-within) .hm-tip-x{opacity:1}
}

/* ───────── Today (Nov 28 close): time · title · people · Ludoq joins · Join (from 5 min before) ───────── */
.hm-trows{--tcol:88px;list-style:none;margin:0;padding:0}
.hm-trow{display:grid;grid-template-columns:var(--tcol) minmax(0,1fr) auto auto 56px;align-items:center;gap:var(--space-12);min-height:var(--h-40);padding:var(--space-4) 0}
.hm-trow+.hm-trow,.hm-tprep+.hm-trow{border-top:1px solid var(--border-subtle)}
.hm-tt{font:var(--type-body-sm);color:var(--fg-muted);white-space:nowrap}
.hm-tt.is-soon{color:var(--fg-default);font-weight:600}
.hm-ttl{min-width:0;border-radius:var(--radius-mark);color:var(--fg-default);text-decoration:none}
.hm-ttl b{display:block;font:500 var(--fs-14)/var(--lh-20) var(--font-sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-ttl:hover b{text-decoration:underline;text-underline-offset:3px}
.hm-ta{display:flex;justify-content:flex-end}
.hm-tprep{display:grid;grid-template-columns:var(--tcol) minmax(0,1fr);column-gap:var(--space-12);padding-bottom:var(--space-8)}
.hm-tprep>a{grid-column:2;justify-self:start}
.hm-tprep a{display:inline-flex;align-items:center;gap:var(--space-6);border-radius:var(--radius-mark);font:var(--type-caption);color:var(--fg-muted);text-decoration:none}
.hm-tprep a:hover{color:var(--fg-default)}
.hm-tprep .ic{color:var(--icon-muted)}
.hm-today-q .hm-nocal .ib{flex:none}
@media (max-width:760px){
  .hm-trows{--tcol:72px}
  .hm-trow{grid-template-columns:var(--tcol) minmax(0,1fr) auto;grid-template-areas:"t n j" "t s s";row-gap:var(--space-4)}
  .hm-trow>.hm-tt{grid-area:t;align-self:start;padding-top:var(--space-2)}
  .hm-trow>.hm-ttl{grid-area:n}
  .hm-trow>.hm-avs{display:none}
  .hm-trow>.hm-tj{grid-area:s}
  .hm-trow>.hm-ta{grid-area:j}
}
