/* Build 2 (19 Nov 2026): the owner's Today and Holly (b2.js), the "Jennifer pattern".
   Mock-ups ~/holly/design/holly-desktop/v2. Talentport colours: ink #111, yellow #F5C500 (soft
   #FFF4B9), warm grey page #F4F4EF, white cards, system type. One container level, sentence
   case, one prominent button per card, no gradients, no rails. Only while html.b2-on (CONFIG
   BUILD2 + PORTAL_V4, the owner as himself); off, none of this applies. */
html.b2-on {
  --b2-ink: #111; --b2-mute: #6E6E68; --b2-bg: #F4F4EF; --b2-card: #fff; --b2-line: #E4E4DD; --b2-fill: #EEEEE8;
  --b2-y: #F5C500; --b2-ys: #FFF4B9; --b2-ytx: #6B5400; --b2-red: #B42318; --b2-redbg: #FDECEA; --b2-green: #1E6B34; --b2-greenbg: #E5F3E8;
  --b2-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
html.b2-on .b2-i { width: 20px; height: 20px; flex: none; }

/* ---- shared parts ---------------------------------------------------------------------- */
html.b2-on .b2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--b2-font); cursor: pointer; white-space: nowrap; color: var(--b2-ink); background: none; -webkit-tap-highlight-color: transparent; }
html.b2-on .b2-btn.is-y { background: var(--b2-y); }
html.b2-on .b2-btn.is-ink { background: var(--b2-ink); color: #fff; }
html.b2-on .b2-btn.is-out { background: var(--b2-card); border-color: #D6D6CF; }
html.b2-on .b2-btn.is-dark { background: transparent; color: #fff; border-color: #55554F; }
html.b2-on .b2-btn[disabled] { opacity: .45; cursor: default; }
html.b2-on .b2-btn:focus-visible, html.b2-on .b2-opt:focus-visible, html.b2-on .b2-row:focus-visible, html.b2-on .b2-chip:focus-visible, html.b2-on .b2-tab:focus-visible { outline: 2px solid var(--b2-ink); outline-offset: 2px; }
html.b2-on .b2-ibtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--b2-ink); cursor: pointer; }
html.b2-on .b2-ibtn:hover { background: var(--b2-fill); }
html.b2-on .b2-ibtn.is-on { color: var(--b2-ytx); }
html.b2-on .b2-link { padding: 0; border: 0; background: none; color: var(--b2-ink); font: 600 15px var(--b2-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
html.b2-on .b2-tag { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font: 600 12.5px/1.3 var(--b2-font); }
html.b2-on .b2-tag.is-ok { background: var(--b2-ys); color: var(--b2-ytx); }
html.b2-on .b2-k { display: block; font: 400 13.5px/1.3 var(--b2-font); color: var(--b2-mute); }
html.b2-on .b2-mute { color: var(--b2-mute); margin: 0; font-size: 14px; line-height: 1.45; }
html.b2-on .b2-small { font-size: 13px; }
html.b2-on .b2-empty { color: var(--b2-mute); font-size: 14px; padding: 8px 12px; margin: 0; }
html.b2-on .b2-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html.b2-on .b2-bar { display: block; height: 6px; border-radius: 3px; background: var(--b2-fill); overflow: hidden; }
html.b2-on .b2-bar i { display: block; height: 100%; background: var(--b2-y); border-radius: 3px; }
html.b2-on .b2-bar.is-ind i { width: 35%; animation: b2-ind 1.4s ease-in-out infinite; }
@keyframes b2-ind { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { html.b2-on .b2-bar.is-ind i { animation: none; width: 100%; opacity: .5; } }
html.b2-on .b2-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 28px; margin: 4px 0 2px; font-size: 15px; line-height: 1.4; }
html.b2-on .b2-facts div { display: contents; }
html.b2-on .b2-facts dt { color: var(--b2-mute); }
html.b2-on .b2-facts dd { margin: 0; color: var(--b2-ink); overflow-wrap: anywhere; }
html.b2-on .b2-facts dd.is-red { color: var(--b2-red); }
html.b2-on .b2-sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; border: 0; padding: 0; background: #DADAD3; cursor: pointer; }
html.b2-on .b2-sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
html.b2-on .b2-sw.is-on { background: var(--b2-y); }
html.b2-on .b2-sw.is-on i { left: 19px; background: var(--b2-ink); }
html.b2-on .b2-sw.is-wait { opacity: .55; }
html.b2-on .b2-sw.is-none { opacity: .45; cursor: default; display: inline-block; }
html.b2-on .b2-sw[disabled] { cursor: default; }

/* ---- the Holly page (computer) ------------------------------------------------------------- */
@media (min-width: 769px) {
  html.b2-desk.b2-hpage #view-holly.active { display: grid; grid-template-columns: minmax(250px, 316px) minmax(0, 1fr); gap: 16px; align-items: stretch;
    height: calc(100dvh - var(--d2-top)); padding: 16px; box-sizing: border-box; background: var(--b2-bg); max-width: none; }
  html.b2-desk.b2-hpage #view-holly > #holly-home, html.b2-desk.b2-hpage #view-holly > #holly-board, html.b2-desk.b2-hpage #view-holly > .hb-dim { display: none !important; }
  html.b2-desk.b2-hpage #view-holly > .b2-side { display: none; }
  html.b2-desk.b2-paned #view-holly > #holly-chat { display: none !important; }
  html.b2-desk .b2-hl, html.b2-desk #view-holly > #holly-chat.b2-thread, html.b2-desk .b2-pane { min-height: 0; background: var(--b2-card); border-radius: 18px; overflow: hidden; }
  html.b2-desk .b2-hl { display: flex; flex-direction: column; padding: 20px 16px 12px; font-family: var(--b2-font); color: var(--b2-ink); box-sizing: border-box; }
  html.b2-desk .b2-lh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 14px; }
  html.b2-desk .b2-lh h2 { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -.2px; }
  html.b2-desk .b2-lbody { flex: 1 1 auto; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
  html.b2-desk .b2-side { display: flex; flex-direction: column; gap: 16px; min-height: 0; overflow-y: auto; font-family: var(--b2-font); color: var(--b2-ink); }
  html.b2-desk .b2-pane { display: flex; flex-direction: column; font-family: var(--b2-font); color: var(--b2-ink); }
  html.b2-desk .b2-pane[hidden] { display: none; }
}
@media (min-width: 1280px) {
  html.b2-desk.b2-hpage #view-holly.active { grid-template-columns: minmax(260px, 316px) minmax(0, 1fr) minmax(250px, 308px); }
  html.b2-desk.b2-hpage #view-holly > .b2-side { display: flex; }
}
html.b2-on .b2-search { display: block; margin: 0 0 12px; }
html.b2-on .b2-search input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 14px; border: 1px solid #D6D6CF; border-radius: 12px; background: var(--b2-card); color: var(--b2-ink);
  font: 15px var(--b2-font); outline: none; -webkit-appearance: none; appearance: none; }
html.b2-on .b2-search input:focus { border-color: var(--b2-ink); }
html.b2-on .b2-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
html.b2-on .b2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
html.b2-on .b2-chip { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #D6D6CF; background: var(--b2-card); color: var(--b2-ink); font: 600 13.5px var(--b2-font); cursor: pointer; }
html.b2-on .b2-chip.is-on { background: var(--b2-ink); border-color: var(--b2-ink); color: #fff; }
html.b2-on .b2-sec { margin: 0 0 14px; }
html.b2-on .b2-sh { margin: 0 4px 8px; font: 400 13.5px var(--b2-font); color: var(--b2-mute); }
html.b2-on .b2-group { display: flex; flex-direction: column; gap: 2px; }
html.b2-on .b2-row { display: flex; flex-direction: column; align-items: stretch; gap: 3px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: none; text-align: left; color: var(--b2-ink); font-family: var(--b2-font); cursor: pointer; }
html.b2-on .b2-row:hover { background: #F7F7F3; }
html.b2-on .b2-row.is-on { background: var(--b2-fill); }
html.b2-on .b2-r1 { display: flex; align-items: flex-start; gap: 8px; }
html.b2-on .b2-r1 b { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
html.b2-on .b2-rt { flex: none; font-size: 13px; color: var(--b2-mute); padding-top: 1px; }
html.b2-on .b2-r2 { font-size: 14px; color: #3D3D38; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.b2-on .b2-r3 { font-size: 13px; color: var(--b2-mute); }
html.b2-on .b2-r3.is-red { color: var(--b2-red); font-weight: 600; }
html.b2-on .b2-row .b2-tag { margin-top: 3px; }
html.b2-on .b2-foot { border-top: 1px solid var(--b2-line); padding-top: 8px; margin-top: 4px; }
html.b2-on .b2-skillrow .b2-rt { font-size: 14px; }
html.b2-on .b2-deep { margin: 2px 12px 14px; font-size: 14px; }
html.b2-on .b2-arow { display: flex; align-items: flex-start; gap: 10px; padding: 0 12px 0 0; border-radius: 12px; }
html.b2-on .b2-arow.is-on { background: var(--b2-fill); }
html.b2-on .b2-arow .b2-sw { margin-top: 12px; }
html.b2-on .b2-amain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 11px 0 11px 12px; border: 0; background: none; text-align: left; color: var(--b2-ink); font-family: var(--b2-font); cursor: pointer; }
html.b2-on .b2-amain b { font-size: 15px; font-weight: 600; }

/* the conversation */
html.b2-on #holly-chat.b2-thread { display: flex; flex-direction: column; background: var(--b2-card); }
html.b2-on #holly-chat.b2-thread .ck-strip-slot { display: none !important; }
html.b2-on #holly-chat.b2-thread .hc-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; background: var(--b2-card); padding: 20px 22px 16px; gap: 14px; font-family: var(--b2-font); }
html.b2-on .b2-ch { flex: none; display: flex; align-items: center; gap: 4px; padding: 16px 16px 14px 22px; border-bottom: 1px solid var(--b2-line); background: var(--b2-card); }
html.b2-on .b2-ct2 { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-family: var(--b2-font); }
html.b2-on .b2-ct2 b { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--b2-ink); }
html.b2-on .b2-ct2 span { font-size: 14px; color: var(--b2-mute); }
html.b2-on #holly-chat.b2-thread .ck-b { font-size: 15px; line-height: 1.45; padding: 12px 16px; border-radius: 16px; max-width: min(84%, 460px); }
html.b2-on #holly-chat.b2-thread .ck-b.is-them { background: #F1F1EC; box-shadow: none; border-bottom-left-radius: 16px; }
html.b2-on #holly-chat.b2-thread .ck-b.is-me { background: var(--b2-ink); color: #fff; border-bottom-right-radius: 16px; }
html.b2-on #holly-chat.b2-thread .ck-b.is-me .ck-voice .ck-vtime, html.b2-on #holly-chat.b2-thread .ck-b.is-me .ck-vspd { color: #D8D8D2; }
html.b2-on #holly-chat.b2-thread .ck-b.is-me.is-voice { padding: 14px 16px; min-width: min(300px, 80%); }
html.b2-on #holly-chat.b2-thread .ck-voice.is-mine .ck-vplay { background: var(--b2-y); color: var(--b2-ink); width: 40px; height: 40px; }
html.b2-on #holly-chat.b2-thread .ck-voice.is-mine .ck-wave i { background: #77776F; }
html.b2-on #holly-chat.b2-thread .ck-voice.is-mine .ck-wave i.on { background: #fff; }
html.b2-on #holly-chat.b2-thread .ck-voice.is-mine .ck-vwords { color: #fff; font-size: 15px; line-height: 1.45; }
html.b2-on #holly-chat.b2-thread .ck-row.is-me .hc-att, html.b2-on #holly-chat.b2-thread .ck-row.is-me .hc-atts { background: var(--b2-ink); border-radius: 16px; padding: 8px; }
html.b2-on #holly-chat.b2-thread .ck-cards { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 12px; }
html.b2-on .b2-card, html.b2-on .b2-q { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid var(--b2-line); border-radius: 16px; background: var(--b2-card); font-family: var(--b2-font); color: var(--b2-ink); box-shadow: none; }
html.b2-on .b2-ctt, html.b2-on .b2-qt { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
html.b2-on .b2-cd { margin: 0; font-size: 15px; line-height: 1.45; color: #3D3D38; }
html.b2-on .b2-opts { display: flex; flex-direction: column; gap: 8px; }
html.b2-on .b2-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid #D6D6CF; border-radius: 10px; background: var(--b2-card);
  text-align: left; color: var(--b2-ink); font: 15px var(--b2-font); cursor: pointer; }
html.b2-on .b2-opt:hover:not([disabled]) { background: #F7F7F3; }
html.b2-on .b2-opt.is-pick { border-color: var(--b2-ink); font-weight: 600; }
html.b2-on .b2-opt.is-dim { color: var(--b2-mute); }
html.b2-on .b2-other { display: flex; gap: 6px; }
html.b2-on .b2-other input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #D6D6CF; border-radius: 10px; font: 15px var(--b2-font); color: var(--b2-ink); background: var(--b2-card); outline: none; }
html.b2-on .b2-other input:focus { border-color: var(--b2-ink); }
html.b2-on .b2-other input:placeholder-shown + .b2-osend { display: none; }
html.b2-on .b2-osend { min-height: 46px; border-radius: 10px; }
html.b2-on .b2-q .b2-mute .b2-i { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
html.b2-on #holly-chat.b2-thread .ck-rcpt .ck-rline { font-size: 14px; }
html.b2-on #holly-chat.b2-thread .ck-rcpt.is-done .ck-rline .ck-i { color: var(--b2-green); }
/* composer: attach, camera, the box, the mic (yellow); send once there is something to send */
html.b2-on #holly-chat.b2-thread .hc-composer { flex: none; border-top: 1px solid var(--b2-line); padding: 12px 16px; background: var(--b2-card); }
html.b2-on #holly-chat.b2-thread .hc-chips { display: none; }
html.b2-on #holly-chat.b2-thread .hc-input-row { display: flex; align-items: center; gap: 6px; }
html.b2-on #holly-chat.b2-thread .hc-input-row textarea { flex: 1 1 auto; min-height: 44px; padding: 11px 16px; border: 1px solid #D6D6CF; border-radius: 22px; font: 15px/1.4 var(--b2-font); background: var(--b2-card); }
html.b2-on #holly-chat.b2-thread .hc-input-row .hc-clip { width: 40px; height: 40px; border-radius: 10px; color: var(--b2-ink); background: none; }
html.b2-on #holly-chat.b2-thread .hc-input-row .hc-mic { width: 44px; height: 44px; border-radius: 50%; background: var(--b2-y); color: var(--b2-ink); }

/* the right column */
html.b2-on .b2-card2, html.b2-on .b2-side .b2-card { padding: 20px 22px; border-radius: 18px; background: var(--b2-card); border: 0; }
html.b2-on .b2-side .b2-card { display: flex; flex-direction: column; gap: 10px; }
html.b2-on .b2-side h3, html.b2-on .b2-sheet h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
html.b2-on .b2-side .b2-btn { align-self: flex-start; }
html.b2-on .b2-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
html.b2-on .b2-steps li { display: flex; gap: 10px; font-size: 15px; line-height: 1.35; }
html.b2-on .b2-sg { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #BDBDB5; display: grid; place-items: center; box-sizing: border-box; }
html.b2-on .b2-steps li.is-done .b2-sg { background: var(--b2-ink); border-color: var(--b2-ink); color: #fff; }
html.b2-on .b2-steps li.is-now .b2-sg { border-color: var(--b2-y); border-width: 2px; }
html.b2-on .b2-sg .b2-i { width: 13px; height: 13px; stroke-width: 2.6; }
html.b2-on .b2-inrow { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--b2-line); }
html.b2-on .b2-inrow:first-of-type { border-top: 0; padding-top: 2px; }
html.b2-on .b2-inrow b { font-size: 15px; }
html.b2-on .b2-inrow span { font-size: 13.5px; color: var(--b2-mute); }

/* Automations and Skills in the centre */
html.b2-on .b2-pbody { flex: 1 1 auto; overflow-y: auto; padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
html.b2-on .b2-bub { align-self: flex-start; max-width: 460px; padding: 12px 16px; border-radius: 16px; background: #F1F1EC; line-height: 1.45; }
html.b2-on .b2-ok { max-width: 440px; padding: 18px 20px; border: 1px solid var(--b2-line); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
html.b2-on .b2-ok h4 { margin: 0; font-size: 16px; line-height: 1.35; }
html.b2-on .b2-what { margin: -8px 0 0; line-height: 1.45; }
html.b2-on .b2-why { margin: 0; line-height: 1.45; }
html.b2-on .b2-why b { color: var(--b2-red); }
html.b2-on .b2-run { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; margin-top: -6px; }
html.b2-on .b2-run small { grid-column: 1 / -1; color: var(--b2-mute); font-size: 13.5px; }
html.b2-on .b2-run .is-red { color: var(--b2-red); }
html.b2-on .b2-run .is-green { color: var(--b2-green); }
html.b2-on .b2-skills { gap: 6px; }
html.b2-on .b2-skill { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
html.b2-on .b2-skill > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html.b2-on .b2-skill b { font-size: 15.5px; }
html.b2-on .b2-skill span { font-size: 14.5px; color: #3D3D38; }

/* the chat menu (pin, rename, file under, archive) */
html.b2-on .b2-menu { position: fixed; z-index: 120; max-height: 70vh; overflow: auto; padding: 8px; border-radius: 14px; background: var(--b2-card); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-family: var(--b2-font); color: var(--b2-ink); box-sizing: border-box; }
html.b2-on .b2-mrow { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 9px; background: none; text-align: left; font: 15px var(--b2-font); color: var(--b2-ink); cursor: pointer; }
html.b2-on .b2-mrow:hover { background: var(--b2-fill); }
html.b2-on .b2-mrow.is-input { padding: 0; }
html.b2-on .b2-mrow input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #D6D6CF; border-radius: 9px; font: 15px var(--b2-font); }
html.b2-on .b2-mh { padding: 6px 12px 8px; font-size: 15px; }
html.b2-on .b2-mk { display: block; padding: 10px 12px 4px; font-size: 13px; color: var(--b2-mute); }
html.b2-on .b2-macts { display: flex; gap: 8px; padding: 10px 4px 4px; }
html.b2-on .b2-mscroll { max-height: 46vh; overflow: auto; }
html.b2-on .b2-menu .b2-mute { padding: 8px 12px 4px; }

/* ---- Today (computer): 4 → 3 → 2 → 1 by the room it has ------------------------------------- */
html.b2-on .b2-today { container-type: inline-size; font-family: var(--b2-font); color: var(--b2-ink); }
html.b2-desk .tt-today-on .b2-today, html.b2-desk .b2-today:not(.is-phone) { padding: 8px 0 24px; }
html.b2-on .b2-th { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin: 0 0 22px; }
html.b2-on .b2-th h1 { margin: 0; font-size: 36px; font-weight: 700; letter-spacing: -.3px; line-height: 1.15; }
html.b2-on .b2-th > div > p { margin: 6px 0 0; font-size: 17px; color: var(--b2-mute); }
html.b2-on .b2-quote { margin: 4px 0 0; max-width: 420px; font-size: 14px; line-height: 1.45; color: var(--b2-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.b2-on .b2-th .b2-quote { flex: 0 1 420px; text-align: right; }
html.b2-on .b2-qwho { white-space: nowrap; }
html.b2-on .b2-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
html.b2-on .b2-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px 22px; border-radius: 18px; background: var(--b2-card); }
html.b2-on .b2-big { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.3px; }
html.b2-on .b2-big small { font-size: 17px; font-weight: 500; color: var(--b2-mute); letter-spacing: 0; }
html.b2-on .b2-big.is-wait { color: #C8C8C0; }
html.b2-on .b2-big.is-mask { letter-spacing: 2px; color: #3D3D38; }
html.b2-on .b2-tile .b2-bar { margin-top: 10px; }
html.b2-on .b2-tile .b2-link { align-self: flex-start; }
html.b2-on .b2-avs { display: flex; padding-left: 7px; }
html.b2-on .b2-avs i { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; border: 2px solid #fff; background: #E3E3DC; color: #6E6E68; display: grid; place-items: center; font: 700 10.5px var(--b2-font); font-style: normal; }
html.b2-on .b2-avs i.is-in { background: var(--b2-y); color: var(--b2-ink); }
html.b2-on .b2-calls { display: flex; align-items: flex-end; gap: 16px; }
html.b2-on .b2-cbars { flex: 1 1 auto; display: flex; align-items: flex-end; gap: 5px; height: 48px; min-width: 0; }
html.b2-on .b2-cbars > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 3px; height: 100%; }
html.b2-on .b2-cbars i { display: block; background: var(--b2-ink); border-radius: 2px 2px 0 0; }
html.b2-on .b2-cbars small { font-size: 10px; color: var(--b2-mute); text-align: center; overflow: hidden; }
html.b2-on .b2-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
html.b2-on .b2-card2 { display: flex; flex-direction: column; min-width: 0; box-sizing: border-box; }
html.b2-on .b2-card2 > h3 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 17px; font-weight: 700; }
html.b2-on .b2-card2 > h3 span { font-weight: 400; font-size: 15px; color: var(--b2-mute); }
html.b2-on #b2c-need, html.b2-on #b2c-cli, html.b2-on #b2c-team { grid-column: span 2; }
html.b2-on .b2-li { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 0; border: 0; background: none; text-align: left; font-family: var(--b2-font); color: var(--b2-ink); }
html.b2-on .b2-li.is-btn { cursor: pointer; }
html.b2-on .b2-lmain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 0; border: 0; background: none; text-align: left; color: var(--b2-ink); font-family: var(--b2-font); cursor: pointer; }
html.b2-on .b2-lmain b { font-size: 15.5px; font-weight: 600; }
html.b2-on .b2-lmain span { font-size: 14px; color: var(--b2-mute); overflow: hidden; text-overflow: ellipsis; }
html.b2-on .b2-li .b2-btn { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
html.b2-on .b2-age { flex: none; font-size: 15px; color: var(--b2-mute); }
html.b2-on .b2-age.is-strong { color: var(--b2-ink); font-weight: 700; }
html.b2-on .b2-more { margin-top: 6px; align-self: flex-start; font-size: 14px; }
html.b2-on .b2-st { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
html.b2-on .b2-st.is-green { background: var(--b2-greenbg); color: var(--b2-green); }
html.b2-on .b2-st.is-red { background: var(--b2-redbg); color: var(--b2-red); }
html.b2-on .b2-st.is-grey { background: var(--b2-fill); color: var(--b2-mute); }
html.b2-on .b2-team .b2-g { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; padding: 8px 0; align-items: baseline; }
html.b2-on .b2-team .b2-g span { font-size: 15px; color: var(--b2-mute); }
html.b2-on .b2-team .b2-g b { font-size: 15px; font-weight: 400; }
html.b2-on .b2-flag { display: flex; align-items: center; gap: 12px 14px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--b2-ys); }
html.b2-on .b2-flag > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html.b2-on .b2-flag b { font-size: 15px; }
html.b2-on .b2-flag span { font-size: 14px; color: #3D3D38; }
html.b2-on .b2-flag .b2-btn { min-height: 38px; font-size: 14.5px; }
html.b2-on .b2-flag.is-done { background: var(--b2-greenbg); color: var(--b2-green); font-weight: 600; }
html.b2-on .b2-flag.is-done span { flex: 1 1 auto; color: var(--b2-green); }
html.b2-on .b2-flag.is-done .b2-i { color: var(--b2-green); }
html.b2-on .b2-holly { background: var(--b2-ink) !important; color: #fff; }
html.b2-on .b2-holly > h3 { color: #fff; }
html.b2-on .b2-hq { flex: 1 1 auto; margin: 0 0 18px; font-size: 19px; font-weight: 600; line-height: 1.35; }
html.b2-on .b2-pflag { margin: 0 0 18px; }
@container (max-width: 1399px) {
  .b2-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  #b2c-need { grid-column: span 2 !important; order: 1; } #b2c-holly { order: 2; }
  #b2c-cli, #b2c-team { grid-column: span 1 !important; } #b2c-cli { order: 3; } #b2c-team { order: 4; } #b2c-run { order: 5; }
}
@container (max-width: 999px) {
  .b2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .b2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #b2c-need { grid-column: span 2 !important; } #b2c-cli, #b2c-team { order: 3; } #b2c-run { order: 5; } #b2c-holly { order: 6; }
}
@container (max-width: 719px) {
  .b2-cards { grid-template-columns: minmax(0, 1fr) !important; }
  #b2c-need, #b2c-cli, #b2c-team, #b2c-holly { grid-column: span 1 !important; }
  #b2c-need { order: 1; } #b2c-cli { order: 2; } #b2c-team { order: 3; } #b2c-run { order: 4; } #b2c-holly { order: 5; }
  .b2-th .b2-quote { text-align: left; }
}
@container (max-width: 459px) { .b2-tiles { grid-template-columns: minmax(0, 1fr) !important; } }
/* Today sits on the page grey, beside desk2's own Home padding */
html.b2-desk #view-home { background: var(--b2-bg); }
html.b2-desk #view-home .b2-today { max-width: none; }

/* ---- the clock-out sheet --------------------------------------------------------------------- */
html.b2-on .b2-sheetwrap { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; font-family: var(--b2-font); color: var(--b2-ink); }
html.b2-on .b2-scrim { position: absolute; inset: 0; background: rgba(17,17,17,.32); }
html.b2-on .b2-dialog { position: relative; width: min(520px, calc(100vw - 32px)); box-sizing: border-box; padding: 24px; border-radius: 20px; background: var(--b2-card); box-shadow: 0 20px 50px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 12px; }
html.b2-on .b2-dialog h2 { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 700; }
html.b2-on .b2-dialog > p { margin: 0; font-size: 15px; line-height: 1.45; color: #3D3D38; }
html.b2-on .b2-csf { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
html.b2-on .b2-csf label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--b2-mute); }
html.b2-on .b2-csf label.is-wide { flex: 1 1 200px; }
html.b2-on .b2-csf input { height: 42px; padding: 0 12px; border: 1px solid #D6D6CF; border-radius: 10px; font: 15px var(--b2-font); color: var(--b2-ink); background: var(--b2-card); }
html.b2-on .b2-err { margin: 0; color: var(--b2-red); font-size: 14px; }
html.b2-on .b2-dialog .b2-acts { margin-top: 6px; }
html.b2-on .b2-sheetwrap.is-phone { place-items: end stretch; }
html.b2-on .b2-sheetwrap.is-phone .b2-dialog { width: 100%; border-radius: 22px 22px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
html.b2-on .py-rec .b2-tsundo { margin-left: auto; }

/* ---- the phone ------------------------------------------------------------------------------------ */
html.b2-phone #mobile-bottom-nav, html.b2-phone #mobile-more-sheet, html.b2-phone #p4-backbar { display: none !important; }
html.b2-phone body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); background: var(--b2-bg); }
html.b2-phone .b2-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px env(safe-area-inset-bottom);
  background: rgba(244,244,239,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid #E0E0D8; font-family: var(--b2-font); }
html.b2-phone .b2-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; padding: 4px 0 6px; border: 0; background: none; color: #77776F; font: 500 11.5px var(--b2-font); cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.b2-phone .b2-tab.is-on { color: var(--b2-ink); font-weight: 700; }
html.b2-phone .b2-tabi { position: relative; display: grid; place-items: center; height: 26px; }
html.b2-phone .b2-tabi .b2-i { width: 25px; height: 25px; }
html.b2-phone .b2-badge { position: absolute; top: -6px; left: 15px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--b2-y); color: var(--b2-ink); font: 700 11px/18px var(--b2-font); text-align: center; }
html.b2-phone .b2-ptop { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; }
html.b2-phone .b2-logo { width: 140px; height: auto; }
html.b2-phone .b2-lt { margin: 4px 0 2px; font-size: 34px; font-weight: 700; letter-spacing: -.3px; color: var(--b2-ink); font-family: var(--b2-font); }
html.b2-phone .b2-lsub { margin: 0 0 14px; font-size: 17px; color: var(--b2-mute); font-family: var(--b2-font); }
html.b2-phone .b2-search input { height: 48px; font-size: 17px; border-radius: 14px; }
html.b2-phone .b2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 0 16px; }
html.b2-phone .b2-chips::-webkit-scrollbar { display: none; }
html.b2-phone .b2-chip { flex: none; min-height: 40px; padding: 0 16px; font-size: 15px; }
html.b2-phone .b2-group { background: var(--b2-card); border-radius: 16px; overflow: hidden; gap: 0; }
html.b2-phone .b2-row { border-radius: 0; padding: 14px 16px; }
html.b2-phone .b2-row + .b2-row { border-top: 1px solid var(--b2-line); }
html.b2-phone .b2-r1 { align-items: center; }
html.b2-phone .b2-r1 b { font-size: 17px; }
html.b2-phone .b2-r2 { font-size: 15.5px; white-space: normal; }
html.b2-phone .b2-r3 { font-size: 14.5px; }
html.b2-phone .b2-r1 .b2-i { color: var(--b2-mute); }
html.b2-phone .b2-arow { border-radius: 0; padding-right: 14px; }
html.b2-phone .b2-arow + .b2-arow { border-top: 1px solid var(--b2-line); }
html.b2-phone .b2-amain { padding: 12px 0 12px 16px; }
html.b2-phone .b2-foot { margin-top: 14px; border-top: 0; padding-top: 0; }
/* Holly on the phone: the list, or the chat, or Automations / Skills */
html.b2-phone.b2-hpage #view-holly.active { display: block; padding: 0; background: var(--b2-bg); }
html.b2-phone.b2-hpage #view-holly > #holly-home, html.b2-phone.b2-hpage #view-holly > #holly-board, html.b2-phone.b2-hpage #view-holly > .hb-dim, html.b2-phone.b2-hpage #view-holly > .b2-side { display: none !important; }
html.b2-phone.b2-hpage .b2-hl { display: none; padding: calc(8px + env(safe-area-inset-top)) 16px 24px; font-family: var(--b2-font); color: var(--b2-ink); }
html.b2-phone.b2-plist .b2-hl { display: block; }
html.b2-phone.b2-plist #view-holly > #holly-chat, html.b2-phone.b2-paned #view-holly > #holly-chat, html.b2-phone.b2-paned .b2-hl { display: none !important; }
html.b2-phone .b2-pane { min-height: calc(100dvh - 80px); background: var(--b2-card); font-family: var(--b2-font); color: var(--b2-ink); padding-top: env(safe-area-inset-top); display: flex; flex-direction: column; }
html.b2-phone .b2-pane[hidden] { display: none; }
html.b2-phone .b2-pane .b2-ch { padding-left: 16px; }
html.b2-phone .b2-pane .b2-pbody { padding: 16px; }
html.b2-phone.b2-hpage #view-holly > #holly-chat.b2-thread { height: calc(100dvh - 76px - env(safe-area-inset-bottom) - var(--kbd-inset, 0px)); border-radius: 0; }
html.b2-phone .b2-ph { flex: none; background: var(--b2-card); padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--b2-line); font-family: var(--b2-font); }
html.b2-phone .b2-pnav { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 6px 6px; background: var(--b2-bg); }
html.b2-phone .b2-back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px 0 2px; border: 0; background: none; color: var(--b2-ink); font: 17px var(--b2-font); cursor: pointer; }
html.b2-phone .b2-back .b2-i { width: 24px; height: 24px; }
html.b2-phone .b2-nowbtn { min-height: 40px; font-size: 16px; }
html.b2-phone .b2-ptitle { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 20px; }
html.b2-phone .b2-ptitle b { font-size: 21px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.b2-phone .b2-ptitle > span:not(.b2-sp) { font-size: 17px; color: var(--b2-mute); }
html.b2-phone .b2-sp { flex: 1 1 auto; }
html.b2-phone #holly-chat.b2-thread .hc-list { background: var(--b2-bg); padding: 16px; }
html.b2-phone #holly-chat.b2-thread .ck-b.is-them { background: var(--b2-card); }
html.b2-phone #holly-chat.b2-thread .ck-b { font-size: 17px; max-width: 86%; }
html.b2-phone .b2-card, html.b2-phone .b2-q { padding: 18px 18px; }
html.b2-phone .b2-ctt, html.b2-phone .b2-qt { font-size: 17.5px; }
html.b2-phone .b2-opt, html.b2-phone .b2-other input { min-height: 50px; font-size: 17px; }
html.b2-phone .b2-facts { font-size: 15.5px; gap: 6px 16px; }
html.b2-phone #holly-chat.b2-thread .hc-composer { padding: 10px 12px calc(10px - var(--kbd-inset, 0px)); }
html.b2-phone #holly-chat.b2-thread .hc-input-row textarea { font-size: 17px; }
/* the Now sheet and More */
html.b2-phone .b2-sheetwrap:not(.is-clock) { place-items: end stretch; }
html.b2-desk .b2-sheetwrap:not(.is-clock) { place-items: stretch end; }
html.b2-desk.b2-on .b2-sheet { width: min(360px, 100vw); max-height: none; border-radius: 0; padding: 16px; }
html.b2-desk .b2-sheeth .b2-ibtn { margin-left: auto; }
html.b2-desk .b2-nowbtn { min-height: 36px; padding: 0 14px; font-size: 14px; margin-right: 6px; }
@media (min-width: 1280px) { html.b2-desk .b2-narrow { display: none; } }
html.b2-on .b2-sheet { position: relative; max-height: 80vh; overflow: auto; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--b2-bg); display: flex; flex-direction: column; gap: 12px; }
html.b2-on .b2-sheeth { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 0 4px; font-size: 17px; }
html.b2-on .b2-sheet .b2-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: var(--b2-card); border: 0; }
html.b2-on .b2-sheet .b2-btn { align-self: flex-start; }
html.b2-phone .b2-morewrap { position: fixed; inset: 0 0 calc(64px + env(safe-area-inset-bottom)); z-index: 95; overflow-y: auto; padding: calc(8px + env(safe-area-inset-top)) 16px 24px; background: var(--b2-bg); font-family: var(--b2-font); color: var(--b2-ink); }
html.b2-phone .b2-moretop { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
html.b2-phone .b2-morewrap .b2-sh { margin-top: 20px; }
html.b2-phone .b2-morewrap .b2-r1 { align-items: center; }
html.b2-phone .b2-morewrap .b2-r2 { color: var(--b2-mute); font-size: 14px; }
/* Today on the phone */
html.b2-phone #view-home .b2-today.is-phone { padding: calc(4px + env(safe-area-inset-top)) 16px 24px; }
html.b2-phone .b2-pday { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.3px; line-height: 1.15; }
html.b2-phone .b2-psum { font-size: 16px; margin: 4px 0 6px; }
html.b2-phone .b2-today.is-phone .b2-quote { margin: 0 0 18px; font-size: 14px; max-width: none; }
html.b2-phone .b2-pcard { display: block; width: 100%; box-sizing: border-box; padding: 16px 18px; border-radius: 18px; background: var(--b2-card); border: 0; text-align: left; font-family: var(--b2-font); color: var(--b2-ink); }
html.b2-phone .b2-up { display: flex; flex-direction: column; gap: 6px; margin: 0 0 6px; }
html.b2-phone .b2-uph { display: flex; justify-content: space-between; color: var(--b2-mute); font-size: 15px; }
html.b2-phone .b2-up h2 { margin: 2px 0 0; font-size: 22px; font-weight: 700; }
html.b2-phone .b2-up .b2-acts { margin-top: 8px; }
html.b2-phone .b2-psh { margin: 20px 4px 8px; font: 400 15px var(--b2-font); color: var(--b2-mute); }
html.b2-phone .b2-tl { margin: 0 0 8px; font-size: 16px; }
html.b2-phone .b2-pcard.b2-li { display: flex; padding: 16px 18px; }
html.b2-phone .b2-pcard .b2-li .b2-i, html.b2-phone .b2-pcard.b2-li > .b2-i { color: var(--b2-mute); }
html.b2-phone .b2-lmain em.is-red { font-style: normal; color: var(--b2-red); }
html.b2-phone .b2-holly { margin-top: 22px; padding: 20px; border-radius: 18px; }
html.b2-phone .b2-holly .b2-hq { font-size: 18px; }
html.b2-phone .b2-holly > h3 { margin: 0 0 10px; font-size: 16px; }
html.b2-phone .b2-flag { flex-wrap: wrap; }
/* desk2 centres Holly's parts in an 820px column: here the column is the card itself */
html.b2-on #view-holly #holly-chat.b2-thread > *, html.b2-on #view-holly #holly-chat.b2-thread .hc-composer > * { max-width: none; margin-left: 0; margin-right: 0; }
html.b2-on #view-holly #holly-chat.b2-thread .hc-composer .hc-input-row { border: 0; box-shadow: none; background: none; padding: 0; }
/* the cards are in the thread and Now counts them: no "N waiting · Go through them" row */
html.b2-on #holly-chat.b2-thread .ck-waiting, html.b2-on #holly-chat.b2-thread .ck-waitwrap { display: none; }
/* the owner's Today uses the whole width (desk2's Home column stops at 1200-1240px) */
html.b2-desk.tp-desk2 .d2-home { max-width: none; }
/* no dead space on a wide screen: Today and Holly fill the window (the shell caps pages at 1440px) */
html.b2-desk #main-content:has(> #view-home.active), html.b2-desk #main-content:has(> #view-holly.active) { max-width: none; }
html.b2-phone #view-holly #holly-chat.b2-thread { padding: 0; margin: 0; width: auto; }
/* desk2 sizes .hc itself (a fixed height and side padding): here the grid row sizes it */
html.b2-desk.b2-hpage #view-holly > #holly-chat.b2-thread { height: auto; max-height: none; padding: 0; margin: 0; }
html.b2-desk.b2-hpage #view-holly > .b2-hl, html.b2-desk.b2-hpage #view-holly > .b2-pane, html.b2-desk.b2-hpage #view-holly > .b2-side { max-height: 100%; }

/* Team card (26 Nov 2026): birthdays, anniversaries and announcements, in the slot beside Holly. */
html.b2-on .b2-moments .b2-msub { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 0 6px; font-size: 13px; font-weight: 600; color: var(--b2-mute); text-transform: none; }
html.b2-on .b2-moments .b2-msub + .b2-li, html.b2-on .b2-moments .b2-msub + .b2-mute { margin-top: 0; }
html.b2-on .b2-moments .b2-mute + .b2-msub, html.b2-on .b2-moments .b2-li + .b2-msub { margin-top: 14px; }
html.b2-on .b2-moments .b2-msub .b2-link { font-size: 14px; font-weight: 600; }
html.b2-on .b2-mom { display: flex; align-items: center; gap: 10px; }
html.b2-on .b2-memo { font-size: 18px; line-height: 1; }
html.b2-on .b2-mom.is-today { background: rgba(255, 204, 0, .16); border-radius: 10px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; width: calc(100% + 16px); box-sizing: border-box; }
html.b2-on .b2-moments .b2-udot { width: 8px; height: 8px; border-radius: 50%; background: #ffcc00; flex: none; }
@container (max-width: 1399px) { #b2c-moments { order: 2; } }
