/* ==========================================================================
   THE AGENT'S BRIEF ON HOME (home-brief.js; deep review H5, redesigned as B4 on 9 Nov). Kit v3 parts on the card
   (10 Nov): .vx-card.vx-panel with its .vx-panel-head (.vx-avatar, .vx-title, .vx-eyebrow time, a ghost .vx-btn),
   .vx-rows of button.vx-row, button.vx-card tiles, .vx-badge, .vx-help; the sheet keeps its own parts. This file only
   places them; tokens only, no colour of its own.
   ========================================================================== */
.home-brief.hidden{display:none}

/* Head: face, From {name}, the time, Refresh at the end. One line. */
.home-brief-head{justify-content:flex-start;gap:var(--vx-sp-2h)}
.home-brief-head>h3{min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.home-brief-when{flex:none;font-variant-numeric:tabular-nums}
.home-brief-when:empty{display:none}
.home-brief-refresh{margin-inline-start:auto}

/* Headline: the body size, semibold, two lines at most; a tap opens the whole brief. Under the card's id so the kit's
   button.vx-row-text{display:block} (a reset for row buttons) does not undo the two-line box. */
#homeBrief .home-brief-lead{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;inline-size:100%;
  font:var(--vx-fw-semibold) var(--vx-fs-10)/1.4 var(--vx-font);color:var(--vx-ink)}
/* Under a finger the headline is a 44px tap even on one or two short lines, its words in the middle of it. */
@media (pointer:coarse){#homeBrief .home-brief-lead{min-block-size:var(--tap-min);-webkit-box-pack:center}}
.home-brief-said{margin:0}

/* The parts: one-line rows on the phone, three cards side by side on the desktop (body.desk, DESK_MEDIA) when the card
   has room for them. Beside the Calendar card (#homeTop) with My Agent docked the brief can be ~420px wide, too narrow
   for three cards, so the switch reads the brief's own width (container homebrief), not the window's. */
#homeBrief{container:homebrief/inline-size}
.home-brief-tiles{display:none;gap:var(--vx-sp-2h);grid-template-columns:repeat(var(--hb-cols,3),minmax(0,1fr))}
.home-brief-tile{display:grid;align-content:start;gap:var(--vx-sp-1h);padding:var(--vx-sp-3h);text-align:start;cursor:pointer}
.home-brief-tile-head{display:flex;align-items:center;gap:var(--vx-sp-2);min-inline-size:0;font:var(--vx-fw-semibold) var(--vx-fs-8)/1.3 var(--vx-font);color:var(--vx-ink)}
.home-brief-tile-head>b{flex:1;min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:inherit}
.home-brief-tile-head>svg{flex:none;inline-size:1.15em;block-size:1.15em;color:var(--vx-ink-3)}   /* the line's own size, ~16px */
.home-brief-tile-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:var(--vx-fw-regular) var(--vx-fs-6)/1.35 var(--vx-font);color:var(--vx-ink-3)}
@container homebrief (width >= 600px){
  body.desk .home-brief-lines{display:none}
  body.desk .home-brief-tiles{display:grid}
}

/* The sheet: the full headline, then a section per part. */
.home-brief-sheet{--verser-sheet-form-gap:var(--space-4)}
.home-brief-section>.verser-sec-head{margin:0}
.home-brief-full-lead{margin:0;font-size:var(--font-size-body);font-weight:600;line-height:1.45;color:var(--text)}
.home-brief-text{margin:0 0 var(--space-2);font-size:var(--font-size-small);line-height:1.55;color:var(--text)}
.home-brief-section .verser-row-list{margin-block-end:var(--space-2)}
.home-brief-section .verser-btn .icon{inline-size:16px;block-size:16px}
