/* The line at the top of a main page (bsa-page-lead.mjs). One line on a desk, at most 40 px; where the page is narrow the steps
   wrap under the sentence. The steps are secondary buttons: the page's one orange button stays the only primary. */
.blead-wrap{container-type:inline-size;margin:0 0 8px}
.blead{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:24px;color:var(--bsa-ink,inherit)}
.blead-text{flex:1 1 320px;min-width:0;margin:0;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.blead-steps{display:flex;flex-wrap:wrap;gap:6px;flex:0 1 auto}
.blead-step{white-space:nowrap}
@media (pointer:fine){.blead .blead-step{min-height:24px;height:24px;padding:0 10px;font-size:12.5px;line-height:20px}}
@container (min-width:900px){
  .blead{flex-wrap:nowrap;max-height:40px}
  .blead-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .blead-steps{flex-wrap:nowrap}
}
@media (pointer:coarse){.blead-step{min-height:44px}}
/* Assistant off or not set up: nothing that belongs to it is on the page. The state is data-ai on the page root (bsa-ai-gate.mjs). */
[data-ai="off"] :is(.bcp-ai-nav,.bcp-ask-ai,.bai2,.bai2-here,.bai2-bubble,.bcm-ai-tool,.bcp-icon-button[data-ai-only]){display:none!important}
/* While the answer is not in yet the controls keep their room (the rail does not shift when it arrives) and cannot be seen or used. */
[data-ai="pending"] :is(.bcp-ai-nav,.bcp-ask-ai,.bai2-here,.bcm-ai-tool,.bcp-icon-button[data-ai-only]){visibility:hidden!important}
/* A quiet line is read by screen readers and not drawn (照片与验收: its 待处理 pills are the steps). */
.blead-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bcp-model-heading>.blead-wrap{grid-column:1 / -1;grid-row:2;margin:0}
@media(max-width:760px){.bcp-model-heading>.blead-wrap{grid-column:1;grid-row:auto}}
/* The records page's line lives in the page heading, which the other pages keep only for the outline: it is not read there either. */
.bsa-cloud[data-task]:not([data-task="photos"]) .bcp-heading>.blead-wrap{display:none}
