/* CLIENT BELL card (Nov 7 2026; mockup docs/ux-review/mockups/client-bell-20261107.html). Applies only when
   client-bell.js has taken over the drawer (class b2-on, server flag bellEngine). The legacy drawer children are
   hidden, not removed, so their scripts keep working and the flag can be turned off at any time. */
#clientAssistantDrawer.b2-on:not([hidden]){display:flex!important;flex-direction:column;padding:10px 10px 12px!important;gap:0;overflow:hidden!important;border-radius:var(--ds-radius-lg,16px);background:var(--card,#181B22);border:1px solid var(--line2,rgba(255,255,255,.12));grid-template-columns:none!important}
#clientAssistantDrawer.b2-on>*:not(#bellV2){display:none!important}
#bellClientWorkspace[data-surface] #clientAssistantDrawer.b2-on{max-height:min(560px,calc(100dvh - var(--nav,64px) - 96px - env(safe-area-inset-bottom,0px)))}
#i1TrainBellSheet #clientAssistantDrawer.b2-on:not([hidden]){max-height:none;height:calc(100dvh - 32px);border:0;background:transparent}
.b2{display:flex;flex-direction:column;gap:8px;min-height:0;flex:1 1 auto;color:var(--text,#ECEEF2);font-size:var(--ds-fs-body,15px);line-height:1.45}
.b2 [hidden]{display:none!important}
.b2-h{display:flex;align-items:center;gap:8px;min-height:32px}
.b2-t{font-weight:700;font-size:var(--ds-fs-body,15px)}
.b2-dot{width:8px;height:8px;border-radius:50%;background:#3ccf8e;display:inline-block;flex:none}
.b2-dot.off{background:#6b7280}
/* BELL_TOPICS: amber while Bell writes. */
.b2-dot.wr{background:#f2b441}
/* BELL_TOPICS typing layout: while the client types, the suggestion chips fold away so the question and the start of
   the answer keep the room above the keyboard. */
.b2.b2-typing>.b2-chips{display:none!important}
html.b2-kb #clientAssistantDrawer.b2-on:not([hidden]){max-height:calc(var(--b2-vvh,100dvh) - 12px)!important}
html.b2-kb .b2-hello{display:none}
.b2-sp{flex:1}
.b2-ib{width:32px!important;height:32px!important;min-height:32px!important;min-width:32px;border-radius:var(--ds-radius-md,12px);border:0;background:transparent;color:var(--muted,#9AA1AE);font-size:var(--ds-fs-heading,17px);line-height:32px;padding:0;margin:0;cursor:pointer;text-align:center}
.b2-ib:hover,.b2-ib:focus-visible{background:var(--card-2,#20242D);color:var(--text,#ECEEF2)}
.b2-menu{border:1px solid var(--line2,rgba(255,255,255,.12));background:var(--card-2,#20242D);border-radius:var(--ds-radius-md,12px);padding:8px;display:flex;flex-direction:column;gap:4px}
.b2-about p{margin:0 0 6px;font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE)}
.b2-menu-item{min-height:40px!important;text-align:left;border:0;background:transparent;color:var(--text,#ECEEF2);border-radius:var(--ds-radius-sm,8px);padding:8px 10px;font:inherit;cursor:pointer}
.b2-menu-item:hover,.b2-menu-item:focus-visible{background:var(--card,#181B22)}
.b2-thread{display:flex;flex-direction:column;gap:8px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1 1 auto;padding:2px}
.b2-hello{margin:0;padding:2px 4px;font-size:var(--ds-fs-body,15px)}
.b2-hello .m{display:block;color:var(--muted,#9AA1AE);font-size:var(--ds-fs-small,12px);margin-top:2px}
.b2-me{align-self:flex-end;background:var(--accent-soft,rgb(212 31 25/.14));border:1px solid rgb(212 31 25/.35);border-radius:var(--ds-radius-lg,16px) var(--ds-radius-lg,16px) var(--ds-radius-sm,8px) var(--ds-radius-lg,16px);padding:7px 11px;max-width:85%;overflow-wrap:anywhere;white-space:pre-wrap}
.b2-bot{align-self:flex-start;background:var(--card-2,#20242D);border:1px solid var(--line,rgba(255,255,255,.07));border-radius:var(--ds-radius-lg,16px) var(--ds-radius-lg,16px) var(--ds-radius-lg,16px) var(--ds-radius-sm,8px);padding:9px 11px;max-width:92%;overflow-wrap:anywhere}
.b2-bot.warn{border-color:rgba(242,180,65,.45)}
.b2-bot p{margin:0}
.b2-wait p{color:var(--muted,#9AA1AE);letter-spacing:.2em}
.b2-tag{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);margin-bottom:3px}
.b2-stats{display:grid;gap:5px;margin:8px 0 6px}
.b2-st{background:var(--input,#0C0E12);border-radius:var(--ds-radius-md,12px);padding:6px 4px;text-align:center;min-width:0}
.b2-st b{display:block;font-size:var(--ds-fs-body,15px);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.b2-st span{display:block;font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Nov 21 2026 (Devin's recording): the small dark-red source link was hard to read on the dark card. It reads in the
   card's own text colour, underlined in the accent, so it passes contrast in both themes. */
.b2-src{display:inline-block;margin-top:4px;font-size:var(--ds-fs-small,12px);color:var(--text,#ECEEF2);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent,rgb(212 31 25));text-decoration-thickness:2px;text-underline-offset:3px;background:none;border:0;padding:4px 0;min-height:32px!important;width:auto!important;cursor:pointer;font-family:inherit;text-align:left}
.b2-foot{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);margin-top:5px}
/* Nov 16: per-lift next-step lines in a Bell answer. */
.b2-next{list-style:none;margin:8px 0 4px;padding:0;display:grid;gap:6px}
.b2-next li{background:var(--input,#0C0E12);border-radius:var(--ds-radius-md,12px);padding:8px 10px;min-width:0;overflow-wrap:anywhere}
.b2-next b,.b2-next span{display:block}
.b2-next-why{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);margin-top:2px}
.b2-based{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.b2-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;flex:none}
.b2-chips::-webkit-scrollbar{display:none}
.b2-chip{flex:none;white-space:nowrap;border:1px solid var(--line2,rgba(255,255,255,.12));background:var(--card-2,#20242D);color:var(--text,#ECEEF2);border-radius:var(--ds-radius-pill,999px);padding:6px 11px!important;font:inherit;font-size:var(--ds-fs-small,12px);min-height:34px!important;width:auto!important;margin:0;cursor:pointer}
.b2-chip.a{border-color:var(--accent,rgb(212 31 25));color:var(--accent,rgb(212 31 25));background:var(--accent-soft,rgb(212 31 25/.14))}
.b2-chip.b2-mini{font-size:var(--ds-fs-small,12px);padding:2px 8px!important;min-height:22px!important;cursor:default}
.b2-composer{display:flex;align-items:center;gap:6px;background:var(--input,#0C0E12);border:1px solid var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-pill,999px);padding:5px 5px 5px 14px;margin:0;flex:none}
.b2-composer:focus-within{border-color:var(--accent,rgb(212 31 25))}
/* Client review Nov 15 2026 (A18): the field's focus ring is one plain outline drawn inside the pill, so the drawer's
   edge never clips it into arcs. */
.b2-composer:focus-within{outline:none!important}
.b2-composer:has(input:focus-visible){outline:var(--ds-focus-width,2px) solid var(--ds-focus,#7fb4ff)!important;outline-offset:-2px!important}
.b2-composer:has(textarea:focus-visible){outline:var(--ds-focus-width,2px) solid var(--ds-focus,#7fb4ff)!important;outline-offset:-2px!important}
/* Nov 20 2026: the composer is a text box that grows to three lines (client-bell.js fitComposer). One line looks as it
   did; taller, the pill becomes a rounded box and Send sits on the last line. */
#bellV2 .b2-composer textarea{flex:1;min-width:0;width:auto;display:block;box-sizing:border-box;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;color:var(--text,#ECEEF2);font:inherit;font-size:max(16px,var(--ds-fs-body,15px));line-height:22px;height:34px;min-height:34px!important;max-height:78px;padding:6px 0!important;margin:0!important;resize:none;overflow-y:hidden;overflow-x:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.b2-composer.b2-multi{align-items:flex-end;border-radius:var(--ds-radius-lg,18px)}
/* A stored answer's asked date is its first line. */
.b2-asked{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);margin:0 0 4px}
.b2-composer input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:var(--text,#ECEEF2);font:inherit;font-size:max(16px,var(--ds-fs-body,15px));height:34px;min-height:34px;padding:0;margin:0}
.b2-send{width:34px!important;height:34px!important;min-height:34px!important;min-width:34px;border-radius:50%;background:var(--accent,rgb(212 31 25));color:var(--ds-on-accent,#ffffff);border:0;font-size:var(--ds-fs-body,15px);font-weight:700;padding:0;margin:0;cursor:pointer;flex:none}
@media(prefers-reduced-motion:reduce){.b2 *{transition:none!important;animation:none!important}}
/* S2: navigation bubble and peek (the opened screen shows under a small card). */
.b2-navb{align-self:flex-start;display:flex;gap:8px;align-items:center;font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);background:transparent;border:1px dashed var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-md,12px);padding:6px 10px}
.b2-navb.ok{border-style:solid;color:#3ccf8e;border-color:rgba(60,207,142,.4)}
#clientAssistantDrawer.b2-peek .b2-thread>:not(:nth-last-child(-n+2)),#clientAssistantDrawer.b2-peek .b2-hello{display:none}
#clientAssistantDrawer.b2-peek{max-height:min(300px,45dvh)!important}
/* S3: prepared cards. Same shape for every card: title, editable fields, foot, Cancel + Save. */
.b2-card{align-self:stretch;background:var(--card-2,#20242D);border:1px solid var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-lg,16px);padding:10px;display:flex;flex-direction:column;gap:6px}
.b2-ttl{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.b2-sum{font-weight:650}
.b2-field{display:flex;flex-direction:column;gap:3px;margin:0}
.b2-flabel{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE)}
.b2-field input,.b2-field select,.b2-field textarea{background:var(--input,#0C0E12);border:1px solid var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-md,12px);padding:8px 10px;font:inherit;font-size:max(16px,var(--ds-fs-body,15px));color:var(--text,#ECEEF2);min-height:40px;width:100%;box-sizing:border-box;margin:0}
.b2-field textarea{resize:vertical;min-height:64px}
/* ONE SCALE (Nov 20 2026): the readiness card's energy and readiness are five buttons, as on the Morning check. */
.b2-five-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.b2-five-btn{min-height:44px;min-width:0;padding:0;border:1px solid var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-sm,10px);background:transparent;color:var(--text,#ECEEF2);font:inherit;font-weight:600}
.b2-five-btn[aria-checked="true"]{background:var(--text,#ECEEF2);color:var(--bg,#0f1115);border-color:var(--text,#ECEEF2)}
.b2-opts{display:flex;flex-wrap:wrap;gap:4px}
.b2-err{font-size:var(--ds-fs-small,12px);color:#f2b441}.b2-err:empty{display:none}
.b2-row{display:flex;gap:6px;margin-top:2px}
.b2-btn{flex:1;text-align:center;border-radius:var(--ds-radius-md,12px);padding:10px 0!important;font-weight:650;font-size:var(--ds-fs-body,15px);border:1px solid var(--line2,rgba(255,255,255,.12));background:var(--card,#181B22);color:var(--text,#ECEEF2);min-height:44px!important;margin:0;cursor:pointer;width:auto!important}
.b2-btn.p{background:var(--accent,rgb(212 31 25));border-color:var(--accent,rgb(212 31 25));color:var(--ds-on-accent,#ffffff)}
.b2-btn:disabled{opacity:.6}
/* S5: change card (before → after per exercise). */
.b2-diff{display:flex;flex-direction:column;border:1px solid var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-md,12px);padding:4px 10px;background:var(--card,#181B22)}
.b2-drow{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid var(--line,rgba(255,255,255,.07));font-size:var(--ds-fs-small,12px)}
.b2-drow:first-child{border-top:0}
.b2-drow.same{color:var(--muted,#9AA1AE)}
.b2-dname{flex:0 1 45%;min-width:0}
.b2-dval{flex:1 1 55%;text-align:right;min-width:0}
.b2-dval s{color:var(--muted,#9AA1AE)}
/* S8 polish: Meet Bell sizing (§6) and the Bell button. */
dialog.bell-consent.b2-consent{max-width:min(420px,calc(100vw - 24px))!important;padding:16px!important;border-radius:var(--ds-radius-lg,16px)!important}
dialog.bell-consent.b2-consent h2{font-size:var(--ds-fs-heading,17px);margin:0 0 6px}
dialog.bell-consent.b2-consent p{font-size:var(--ds-fs-small,12px);margin:0 0 8px;line-height:1.45}
dialog.bell-consent.b2-consent .b2-more{background:none;border:0;color:var(--accent,rgb(212 31 25));font:inherit;font-size:var(--ds-fs-small,12px);padding:0;margin:0 0 8px;min-height:32px;cursor:pointer}
dialog.bell-consent.b2-consent .b2-consent-k{color:var(--muted,#9AA1AE);font-size:var(--ds-fs-small,12px)}
dialog.bell-consent.b2-consent fieldset{border:0;padding:0;margin:0}
dialog.bell-consent.b2-consent legend{font-size:var(--ds-fs-small,12px);letter-spacing:.06em;color:var(--muted,#9AA1AE);padding:0;margin-bottom:2px}
dialog.bell-consent.b2-consent .bell-consent-check{display:flex;gap:10px;align-items:flex-start;min-height:48px;padding:10px;border:1px solid var(--line2,rgba(255,255,255,.12));border-radius:var(--ds-radius-md,12px);margin-top:8px;font-size:var(--ds-fs-small,12px);line-height:1.4;cursor:pointer;box-sizing:border-box}
dialog.bell-consent.b2-consent .bell-consent-check input{flex:0 0 22px;width:22px!important;height:22px!important;min-height:22px!important;margin:0;accent-color:var(--accent,rgb(212 31 25))}
dialog.bell-consent.b2-consent .b2-consent-row{display:flex;gap:6px;margin-top:10px}
dialog.bell-consent.b2-consent .b2-consent-row .btn{display:block!important;flex:1;width:auto;min-height:44px;margin:0}
html.b2-ready #clientAssistantTrigger{border-radius:var(--ds-radius-pill,999px)!important;padding:10px 18px!important;min-height:44px;font-weight:700}
/* Never scroll sideways: every Bell child fits the card width. */
#clientAssistantDrawer.b2-on{overflow-x:hidden!important}
.b2{width:100%;max-width:100%;overflow:hidden;box-sizing:border-box}
.b2 *{box-sizing:border-box}
.b2-thread{overflow-x:hidden}
.b2-thread>*{max-width:100%;min-width:0}
.b2-card,.b2-diff,.b2-drow,.b2-row{min-width:0;max-width:100%}
.b2-dname,.b2-dval{overflow-wrap:anywhere}
/* Z-order and placement (Nov 8, Devin's tablet/desktop report). The Bell card is the card the client is talking to, so
   while it is open it sits above the other floating cards: the "Turn on notifications?" card is z-index 40 and used to
   cover Bell's answer on phones. 45 stays under real modals (dialogs use the top layer). The notifications card itself
   is unchanged: it is still there, behind Bell, and in front again once Bell is minimised.
   At >= 768 px, outside Train, the open card used to dock BELOW the whole Today page (off-screen at 1280 × 800, and
   half under the notifications card at 820 × 1180). There it now floats bottom-right above the tab bar, fully in view,
   like the phone card. Train's side-by-side desktop layout is untouched. */
#bellClientWorkspace #clientAssistantDrawer.b2-on:not([hidden]){z-index:45}
@media (min-width:768px){
  /* The host is position:sticky, which makes it a stacking context: it has to carry the z-index too. */
  body:not(:has(#view-workout.active)) #bellClientWorkspace #bellDesktopConversationHost:has(>#clientAssistantDrawer.b2-on:not([hidden])){z-index:45}
  body:not(:has(#view-workout.active)) #bellClientWorkspace #bellDesktopConversationHost #clientAssistantDrawer.b2-on:not([hidden]){
    position:fixed;z-index:45;left:auto;top:auto;right:24px;
    bottom:calc(var(--nav,64px) + 12px + env(safe-area-inset-bottom,0px));
    width:min(420px,calc(100vw - 48px));
    max-height:min(640px,calc(100dvh - var(--nav,64px) - 96px - env(safe-area-inset-bottom,0px)))}
}
/* CL-20 (Nov 13 2026): Ask Bell must never squeeze Today. With the 380 px panel docked beside it, a no-coach Today
   (640 px page) fell from 576 px to 172 px. Today now keeps its column:
   - 900 to 1399 px: Bell opens OVER the page, a right-hand panel on a scrim. Tap the scrim, press Escape, or use
     Bell's own close button to put it away (client-bell.js). The page under it keeps its full width.
   - 1400 px and up: the page grid widens by the panel (380 px + 24 px gap), so Today keeps its width beside Bell.
   Phones and 760 to 899 px keep the bottom sheet; Train keeps its own side-by-side layout. */
@media (min-width:900px) and (max-width:1399px){
  body:has(#view-daily.active) #bellClientWorkspace .bell-workspace-layout>#bellDesktopConversationHost:has(>#clientAssistantDrawer:not([hidden])){
    position:fixed!important;inset:0!important;top:0!important;width:auto!important;max-width:none!important;flex:none!important;
    z-index:46!important;background:rgba(0,0,0,.5);display:block!important}
  body:has(#view-daily.active) #bellClientWorkspace #bellDesktopConversationHost>#clientAssistantDrawer:not([hidden]){
    position:fixed!important;left:auto!important;right:24px!important;top:72px!important;
    bottom:calc(var(--nav,64px) + 12px + env(safe-area-inset-bottom,0px))!important;
    width:min(400px,calc(100vw - 48px))!important;max-width:none!important;height:auto!important;max-height:none!important;
    margin:0!important;z-index:47!important;box-shadow:var(--ds-shadow-3,0 16px 48px rgba(0,0,0,.55))}
  body:has(#view-daily.active) #bellClientWorkspace #bellDesktopConversationHost>#clientAssistantDrawer.b2-peek:not([hidden]){max-height:none!important}
}
@media (min-width:1024px) and (max-width:1399px){
  body:has(#view-daily.active) #bellClientWorkspace #bellDesktopConversationHost>#clientAssistantDrawer:not([hidden]){top:24px!important;bottom:24px!important}
}
@media (min-width:1400px){
  body:has(#view-daily.active):has(#bellDesktopConversationHost>#clientAssistantDrawer:not([hidden])){--ra-main-w:1404px}
  body.bs-coachless:has(#view-daily.active):has(#bellDesktopConversationHost>#clientAssistantDrawer:not([hidden])){--ra-main-w:1044px}
}
/* CR-29 (client review, Nov 14 2026): 44 px touch targets in Ask Bell on a phone or any touch screen: the header ⋯ and ×,
   every chip, the send button and the ⋯ panel actions. A mouse desktop keeps the compact sizes. The two ⋯ actions read
   as buttons: Turn off my Bell a secondary button, Close a text button. */
@media (max-width:1023px),(pointer:coarse){
  .b2-h{min-height:44px}
  .b2-ib{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;line-height:44px}
  .b2-chip{min-height:44px!important}
  .b2-send{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important}
  .b2-menu-item{min-height:44px!important}
}
.b2-menu-item.b2-menu-off{border:1px solid var(--line2,rgba(255,255,255,.12));background:var(--card,#181B22);text-align:center;font-weight:600}
.b2-menu-item.b2-menu-close{color:var(--muted,#9AA1AE);text-align:center;text-decoration:underline;text-underline-offset:3px}
/* VP-24 (visual pass, Nov 14 2026): "Your past questions" opens inside Bell from the ⋯ menu. While it shows, it is the
   panel's only scrolling area; the conversation, chips and composer come back with ‹ Back. */
.b2.b2-past-on>.b2-thread,.b2.b2-past-on>.b2-chips,.b2.b2-past-on>.b2-composer{display:none!important}
.b2-past{display:flex;flex-direction:column;gap:6px;min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.b2-past-h{display:flex;align-items:center;gap:6px;flex:none}
.b2-past-t{margin:0;font-size:var(--ds-fs-body,15px);font-weight:700}
.b2-past details.bell-past{display:block;border:0;padding:0;margin:0}
.b2-past details.bell-past>summary{display:none}
.b2-past .bell-past-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.b2-past .bell-past-item{background:var(--card-2,#20242D);border:1px solid var(--line,rgba(255,255,255,.07));border-radius:var(--ds-radius-md,12px);padding:9px 11px;overflow-wrap:anywhere}
.b2-past .bell-past-item p{margin:0 0 4px}
.b2-past .bell-past-q{font-weight:650}
.b2-past .bell-past-item small,.b2-past [role=status]{font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE)}
.b2-past [role=status]{margin:0 0 4px}
.b2-past .bell-past-facts{margin:0 0 4px;padding-left:18px}
/* VP-20 (visual pass, Nov 14 2026): Meet Bell. Dark native scrollbars, never sideways, a height that fits the screen,
   the text as the only scroll area and the buttons under it. The scrim hides the page, and the composer behind it is
   not drawn while the sign-off is open. */
dialog.bell-consent.b2-consent{color-scheme:dark;width:min(560px,calc(100vw - 24px))!important;max-width:min(560px,calc(100vw - 24px))!important;max-height:min(90dvh,720px)!important;overflow:hidden!important;box-sizing:border-box}
dialog.bell-consent.b2-consent[open]{display:flex!important;flex-direction:column}
dialog.bell-consent.b2-consent>.bell-consent-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
dialog.bell-consent.b2-consent>.bell-consent-actions{flex:none;position:static!important;margin:8px 0 0!important;padding:10px 0 0!important;box-shadow:none!important;border-top:1px solid var(--line2,rgba(255,255,255,.12))}
dialog.bell-consent.b2-consent>.bell-consent-actions p{margin:0}
dialog.bell-consent.b2-consent::backdrop{background:rgba(0,0,0,.78)}
html:has(dialog.bell-consent[open]) #bellV2Form,html:has(dialog.bell-consent[open]) #bellV2Chips{visibility:hidden}
/* Bell explains why (Nov 16 2026): the reason line on a change card, and under each changed line. */
.b2-why{margin:4px 0 8px;line-height:1.4}
.b2-dwhy{font-size:var(--ds-fs-small,12px);color:var(--muted);padding:0 0 6px;line-height:1.4}
/* Meet Bell at 390 / 320 px (Devin, Nov 16: "Until" showed as "Unti"). The action row's -20px side margins made the
   scrolling body 20px wider than it looks, so lines could run under its edge and the scrollbar. No sideways overflow,
   a fixed scrollbar gutter, long words may wrap, and every plain line after the first starts below Bell's picture. */
/* F6 (Nov 19 2026): clip, not hidden. overflow-x:hidden made the body its own scroll box, so the sticky Turn on Bell /
   Not now footer stuck to the body (which never scrolls) instead of the dialog, and sat below the fold at 390x844. */
dialog.bell-consent .bell-consent-body{overflow-x:clip;scrollbar-gutter:stable;min-width:0}
dialog.bell-consent .bell-consent-body>.bell-consent-actions{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
dialog.bell-consent .bell-consent-body p{overflow-wrap:anywhere;max-width:100%}
dialog.bell-consent .bell-signoff-plain+.bell-signoff-plain{clear:right}
/* Client wave 2 item 5 (Nov 21 2026, BELL_PLAN_GROUNDED): the date range right under an answer's numbers. */
.b2-range{margin:6px 0 0;font-size:var(--ds-fs-small,13px);color:var(--muted,#B0B9C9)}

/* Nov 22 2026 (Devin's recording). 13: no coloured dot; small "writing…" words only while Bell works. */
.b2-dot,.b2-dot.off{width:auto;height:auto;border-radius:0;background:none;display:none;font-size:var(--ds-fs-small,12px);color:var(--muted,#9AA1AE);font-weight:400}
.b2-dot.wr{background:none;display:inline}
.b2-dot:empty{display:none}
/* 12: chips are at most four, on one or two rows, and step aside while the keyboard is open. */
.b2-chips{flex-wrap:wrap;overflow-x:visible;max-height:84px;overflow-y:hidden}
html.b2-kb .b2 .b2-chips{display:none!important}
/* Buttons inside an answer. */
.b2-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.b2-actions .b2-btn{flex:0 1 auto;min-height:40px}
/* 11: earlier days fold behind a small divider. */
.b2-earlier-t{align-self:center;background:none;border:0;color:var(--muted,#9AA1AE);font-size:var(--ds-fs-small,12px);padding:6px 12px;min-height:32px;cursor:pointer;display:flex;align-items:center;gap:8px;width:100%}
.b2-earlier-t::before,.b2-earlier-t::after{content:"";flex:1;height:1px;background:currentColor;opacity:.3}
.b2-earlier{display:flex;flex-direction:column;gap:inherit;opacity:.8}
.b2-earlier[hidden]{display:none}
/* 10: one saved line with its own View in Fuel and Undo; older Fuel answers are dimmed. */
.b2-navb.b2-saved{flex-wrap:wrap;max-width:100%}
.b2-saved-acts{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 100%}
.b2-saved-note{color:var(--muted,#9AA1AE)}
.b2-bot.b2-stale{opacity:.6}
/* 3 and 7: one final reply; a reworded line fades in rather than snapping. */
.b2-writing p{color:var(--muted,#9AA1AE);font-style:italic}
.b2-soft{animation:b2soft .35s ease}
@keyframes b2soft{from{opacity:.35}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.b2-soft{animation:none}}
