/* The Day pane's Tasks row (tasks.html only): the quick actions on ONE line, with a More menu for the chips that do not fit.
   Its own sheet because this chrome belongs to neither the calendar-grid sheet nor the list sheet: the head is drawn by the list's
   renderer and placed by the calendar host (JS/alt/alt-tasks-rows.js altRenderPaneChrome()). Compact by design (the 24px chip and the 26px sm button, 11px type);
   which chips show is measured in script (.a-tpane-over), never counted here. Colours are tokens only, so both themes follow. */
.a-cal-split .a-tpane-h{ flex-wrap:nowrap; }
.a-cal-split .a-tpane-h .a-count-chip{ margin-left:0; }
.a-tpane-qa{
  display:flex; align-items:center; gap:3px; flex:0 1 auto; min-width:0; margin-left:auto;
  white-space:nowrap;
}
/* #altQuickActions keeps its own id and hidden state; inside the pane its chips are items of the one row. */
.a-tpane-qa > #altQuickActions{ display:contents; }
.a-tpane-qa > #altFilterChips{ display:inline-flex; align-items:center; gap:3px; flex:0 0 auto; margin:0; }
.a-tpane-qa .a-qf-label{ font-size:0; gap:0; }
.a-tpane-qa .a-chip,
.a-tpane-qa .a-btn.sm{ padding:0 6px; font-size:var(--a-fs-11); white-space:nowrap; flex:0 0 auto; }
.a-tpane-qa .a-chip{ line-height:var(--a-lh-ctl); }
/* Filter... and Clear are the list toolbar's default-height `.a-btn` (the List strip shows them at 32); in this one-line row they take the
   pane's compact padding so the row still fits at its 340px minimum, the height staying on the ladder. */
.a-tpane-qa > #altFilterChips .a-btn{ padding:0 var(--a-sp-6); }
/* Filter... is icon-only here; its accessible name is on the button (aria-label), and the count badge stays. */
.a-tpane-qa #altMoreFiltersBtn .a-lbl{ display:none; }
.a-cal-split .a-tpane-h .a-tab.sm{ padding:0 7px; }
.a-tpane-qa .a-tpane-over{ display:none !important; }
.a-tpane-more{ gap:4px; }
.a-tpane-more > svg{ width:11px; height:11px; flex:0 0 auto; }
/* An active chip inside More: the pressed colours every chip uses. */
.a-tpane-more.on{ background:var(--a-blue-soft); border-color:var(--a-blue); color:var(--a-blue-text); }
/* ONE line, nothing clipped: the fixed parts never shrink or wrap (the fit loop moves chips to More instead), and when even that is not
   enough the Tasks caption becomes accessible-only. Filter... and Clear never go in More; the fold-all button is icon-only here. */
.a-cal-split .a-tpane-h > :not(.a-tpane-qa){ flex:0 0 auto; white-space:nowrap; }
.a-tpane-h.a-tpane-tight > .a-cg-side-h{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.a-tpane-qa > #altFilterChips .a-btn .a-lbl{ display:none; }
.a-tpane-qa > #altFilterChips #altClearFilters .a-lbl{ display:inline; }
/* Tight (set by the fit when every chip is already in More and the row is still too wide): smaller gaps and tab padding, and Clear
   keeps its icon and count but not its caption (its accessible name and title are on the button). */
.a-cal-split .a-tpane-h.a-tpane-tight{ gap:4px; }
.a-cal-split .a-tpane-h.a-tpane-tight .a-tab.sm{ padding:0 5px; }
.a-tpane-h.a-tpane-tight .a-tpane-qa > #altFilterChips #altClearFilters .a-lbl{ display:none; }
.a-tpane-more .a-lbl:empty{ display:none; }
.a-cal-split .a-tpane-h.a-tpane-tight .a-tab.sm{ padding:0 4px; }
.a-tpane-h.a-tpane-tight .a-tpane-qa #altFilterCount2{ display:none; }
.a-cal-split .a-tpane-h.a-tpane-tight{ position:relative; }
.a-tpane-h.a-tpane-tight > .a-cg-side-h{ top:50%; left:0; }
/* The group holding the day the calendar shows (altPaneMarkShownDay()): a 3px left edge in the accent, never the only cue (the head
   also reads "· on screen"). Drawn in the column's gutter, above the rows, so marking a group moves nothing. */
.a-cal-split #altList .a-group.is-shown-day{ position:relative; }
.a-cal-split #altList .a-group.is-shown-day::before{
  content:""; position:absolute; left:-7px; top:0; bottom:0; width:3px; border-radius:var(--a-r-pill); background:var(--a-blue); pointer-events:none;
}
/* The pane's footer line ("3 more this week · 1 later — See all tasks"): the hint text and its small tertiary button on one wrapping
   row, the button centred on the text (its 26px .a-btn.sm is the pointer floor; audit F10). */
.a-tpane-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 4px; min-width:0; }
.a-tpane-foot .a-btn.sm{ padding:0 6px; }
