/* Suite components. docs/DESIGN-SYSTEM-SUITE.md section 5 names each one by meaning. Pages compose these
   classes and do not restyle them; every value comes from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: var(--suite-weight-regular) var(--suite-type-14)/var(--suite-leading-20) var(--suite-font);
  color: var(--suite-text);
  background: var(--suite-bg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; }
/* A link in running text is ink with a hairline underline that darkens on hover. Anchors that carry a component class draw themselves. */
a:not([class]), .link { color: var(--suite-text); text-decoration: underline; text-decoration-thickness: var(--suite-border-width); text-underline-offset: var(--suite-space-half); text-decoration-color: var(--suite-border-strong); }
a:not([class]):hover, .link:hover { text-decoration-color: var(--suite-text); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.mono { font-family: var(--suite-font-mono); font-size: calc((var(--suite-type-12) + var(--suite-type-13)) / 2); }
.muted { color: var(--suite-text-secondary); }
.faint { color: var(--suite-text-tertiary); }
.small { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
.xs { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); }
.strong { font-weight: var(--suite-weight-medium); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: var(--suite-border-width); height: var(--suite-border-width); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Icons are 16px by default, stroke 1.5. The 14px size is retired, so .i-sm is the default; .i-xs sits inside chips and badges, .i-lg in the rail and top bar, .i-xl in empty states. */
.i { width: var(--suite-icon-16); height: var(--suite-icon-16); flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: calc(-1 * var(--suite-ring-width)); }
.i-xs { width: var(--suite-icon-12); height: var(--suite-icon-12); }
.i-sm { width: var(--suite-icon-16); height: var(--suite-icon-16); }
.i-lg { width: var(--suite-icon-20); height: var(--suite-icon-20); }
.i-xl { width: var(--suite-icon-24); height: var(--suite-icon-24); }

:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }

/* Layout helpers */
.stack { display: flex; flex-direction: column; gap: var(--suite-space-3); }
.stack-sm { display: flex; flex-direction: column; gap: var(--suite-space-2); }
.stack-lg { display: flex; flex-direction: column; gap: var(--suite-space-6); }
.cluster { display: flex; align-items: center; gap: var(--suite-space-2); flex-wrap: wrap; }
/* A DNS record part: label, value and Copy in three fixed columns, so every line of a record reads down the same edges. The phone puts the value under the label and Copy. */
.dns-line { display: grid; grid-template-columns: var(--suite-space-10) minmax(0, 1fr) auto; align-items: start; column-gap: var(--suite-space-3); row-gap: var(--suite-space-1); }
.dns-line > .label { line-height: var(--suite-control-sm); }
.dns-value { overflow-wrap: anywhere; user-select: all; min-width: 0; padding-block: var(--suite-space-1); }
.dns-note { grid-column: 2 / -1; }
@media (max-width: 767px) {
  .dns-line { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
  .dns-line > .dns-value { grid-row: 2; grid-column: 1 / -1; padding-block: 0 var(--suite-space-2); }
  .dns-line > .btn { grid-row: 1; grid-column: 2; }
  .dns-line > .label { align-self: center; }
}
.spread { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-3); }
/* A heading with a hint beside it: when the row is too narrow for both, the hint drops under the heading instead of squeezing into a second column. */
.guide-head { flex-wrap: wrap; row-gap: var(--suite-space-1); }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: var(--suite-space-4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1fr) var(--suite-panel); align-items: start; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.measure { max-width: var(--suite-measure); }
[hidden] { display: none !important; }

/* Shell: the top bar (section 5.29) across the full width, the rail (5.28) and the content under it, the product and brand switchers (5.30) */
.shell { display: grid; grid-template-columns: var(--suite-rail) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); min-height: 100vh; }
.shell > .topbar { grid-column: 1 / -1; }
/* The rail: header, a scrolling body and a sticky footer share one subtle plane edged by a hairline. */
.sidebar {
  position: sticky; top: var(--suite-topbar); align-self: start; height: calc(100vh - var(--suite-topbar)); display: flex; flex-direction: column; min-height: 0;
  background: var(--suite-surface-subtle); border-right: var(--suite-border-width) solid var(--suite-border);
}
.rail-head { flex: none; height: calc(var(--suite-topbar) + var(--suite-space-2)); display: flex; align-items: center; padding: 0 var(--suite-space-2); }
.rail-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--suite-space-2) var(--suite-space-4); display: flex; flex-direction: column; gap: var(--suite-space-4); }
.rail-foot { flex: none; height: var(--suite-topbar); display: flex; align-items: center; padding: 0 var(--suite-space-2); border-top: var(--suite-border-width) solid var(--suite-border); }
.sidebar .nav-group { display: flex; flex-direction: column; gap: var(--suite-space-half); }
.sidebar .nav-group[data-zone="settings"] { margin-top: auto; }
.nav-more > summary { list-style: none; cursor: pointer; color: var(--suite-text-tertiary); }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more[open] > summary { color: var(--suite-text-secondary); }
/* The fold's disclosure chevron sits at the row's trailing edge, where every other row keeps its count, and turns up while the fold is open. */
.nav-more > summary > .i { margin-left: auto; color: var(--suite-text-tertiary); transition: transform var(--suite-duration-fast) var(--suite-ease-out); }
.nav-more[open] > summary > .i { transform: rotate(180deg); }
.sidebar .nav-label { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); padding: var(--suite-space-2) var(--suite-space-2) var(--suite-space-1); font-weight: var(--suite-weight-medium); }
.nav-item {
  display: flex; align-items: center; gap: var(--suite-space-2); height: var(--suite-control-md); padding: 0 var(--suite-space-2);
  border-radius: var(--suite-radius-md); color: var(--suite-text-secondary); text-decoration: none;
  font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium);
  transition: background var(--suite-duration-fast) var(--suite-ease-out), color var(--suite-duration-fast) var(--suite-ease-out);
}
.nav-item > .i { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-secondary); }
.nav-item:hover:not([aria-current]) { background: var(--suite-fill-hover); color: var(--suite-text); }
.nav-item:hover:not([aria-current]) > .i { color: var(--suite-text); }
.nav-item:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
/* The current item reads at a glance in both themes: the selected fill under its label and icon in the product colour, weight 600, and no bar. The product base clears 4.5:1 on the selected fill for every live product (design system 2.7). */
.nav-item[aria-current] { background: var(--suite-fill-selected); color: var(--suite-product); font-weight: var(--suite-weight-semibold); }
.nav-item[aria-current] > .i { color: var(--suite-product); }
/* Counts of work waiting are the product's own: its soft fill under its base. */
.sidebar .nav-slot .badge { background: var(--suite-product-soft); color: var(--suite-product); }
.nav-item .badge, .nav-item > .dot { margin-left: auto; }
/* A product's glyph in the rail is the same mark the Suite draws everywhere, in the row's own ink. */
.pmark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: var(--suite-icon-24); height: var(--suite-icon-24); border-radius: var(--suite-radius-md); background: var(--suite-product); color: var(--suite-product-on); }
.pmark svg { width: var(--suite-icon-16); height: var(--suite-icon-16); }
.pmark.sm { width: var(--suite-icon-20); height: var(--suite-icon-20); border-radius: var(--suite-radius-sm); }
.pmark.sm svg { width: var(--suite-icon-12); height: var(--suite-icon-12); }
/* A work queue's count sits in a slot that keeps its width when empty, so a live update changes the slot's text and no row moves. */
.nav-slot { margin-left: auto; display: inline-flex; justify-content: flex-end; min-width: var(--suite-space-5); }
.nav-slot .badge { margin-left: 0; }

/* The account menu button in the rail footer: avatar, name and chevron. */
.account-btn {
  display: flex; align-items: center; gap: var(--suite-space-2); width: 100%; height: var(--suite-control-xl); padding: 0 var(--suite-space-2);
  border: 0; border-radius: var(--suite-radius-md); background: transparent; color: var(--suite-text); cursor: pointer; text-align: left;
  font: inherit; font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium);
}
.account-btn:hover { background: var(--suite-fill-hover); }
.account-btn:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
.account-btn .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-btn > .i { flex: none; color: var(--suite-text-tertiary); }
/* The footer menu opens upward from the rail's bottom edge, over the page, never below the button. */
#account-menu { position: fixed; top: auto !important; bottom: calc(var(--suite-topbar) + var(--suite-space-1)); left: var(--suite-space-2) !important; width: calc(var(--suite-rail) - var(--suite-space-4)); max-width: calc(100vw - var(--suite-space-4)); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: var(--suite-z-sticky); height: var(--suite-topbar);
  display: flex; align-items: center; gap: var(--suite-space-2); padding: 0; padding-inline-end: var(--suite-gutter);
  background: var(--suite-bg); border-bottom: var(--suite-border-width) solid var(--suite-border);
}
/*
 * Every control and the title in the top bar keep their size; when the bar is short of room the search field narrows,
 * down to its icon, so no button is ever pushed past the edge. On a phone the search is an icon already and the title
 * ends in an ellipsis instead.
 */
.topbar > * { flex: none; }
/* The station: the product switcher over the rail's width, a divider, then the title. Its bottom edge carries the 2px station line in the product's colour, over the bar's hairline, to 24 past the title; it never animates its width. */
.topbar > .station { position: relative; display: flex; align-items: center; height: 100%; min-width: var(--suite-rail); max-width: 100%; padding-right: var(--suite-space-6); margin-right: auto; flex: 0 1 auto; }
.station::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--suite-border-width)); height: var(--suite-ring-width); background: var(--suite-product); transition: background var(--suite-duration-fast) var(--suite-ease-out); }
.station-divider { flex: none; width: var(--suite-border-width); height: var(--suite-icon-20); margin: 0 var(--suite-space-4); background: var(--suite-border); }
.title-dot { flex: none; width: var(--suite-space-2); height: var(--suite-space-2); border-radius: var(--suite-radius-full); background: var(--suite-product); }
/* The product switcher's trigger: 36 tall, the product's mark, its name and a chevron, lined up with the brand switcher below it. */
.product-trigger {
  display: flex; align-items: center; gap: var(--suite-space-2); flex: none; height: var(--suite-control-lg); margin-left: var(--suite-space-2); padding: 0 var(--suite-space-2);
  border: 0; border-radius: var(--suite-radius-md); background: transparent; color: var(--suite-text); font: inherit; cursor: pointer; text-align: left;
}
.product-trigger:hover { background: var(--suite-fill-hover); }
.product-trigger:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
.product-trigger.is-static { cursor: default; }
.product-trigger.is-static:hover { background: transparent; }
.product-trigger .product-name { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); white-space: nowrap; }
.product-trigger > .i { flex: none; color: var(--suite-text-tertiary); }
/* The list: 320 wide, rows 48 tall with the mark, the name over its line, the count, the number key and a check; the current row and the keyboard-active row carry the product's 2px bar. */
#product-menu { width: var(--suite-switcher-menu-w); max-width: calc(100vw - var(--suite-space-4)); max-height: 30rem; overflow-y: auto; padding: var(--suite-space-1) var(--suite-space-1) 0; }
/* The sheet header (title and close) exists only where the list is a bottom sheet. */
#product-menu .product-sheet-head { display: none; }
@media (max-width: 767px) {
  #product-menu .product-sheet-head { display: flex; align-items: center; justify-content: space-between; height: var(--suite-space-12); padding-inline: var(--suite-space-3) var(--suite-space-1); }
  #product-menu .product-sheet-title { margin: 0; font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
}
#product-menu .product-search { padding: var(--suite-space-1) var(--suite-space-1) var(--suite-space-2); }
#product-menu .product-row { position: relative; height: 3rem; gap: var(--suite-space-2); text-decoration: none; color: var(--suite-text); }
#product-menu .product-row .pmark { width: var(--suite-icon-24); height: var(--suite-icon-24); }
#product-menu .product-row .pmark svg { width: var(--suite-icon-16); height: var(--suite-icon-16); }
#product-menu .product-row .grow { min-width: 0; display: flex; flex-direction: column; }
.product-row-name { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); }
.product-row-sub { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The current product shows the selected fill and a semibold name; the keyboard-focused row shows the focus ring. */
#product-menu .product-row[aria-checked="true"] { background: var(--suite-fill-selected); }
#product-menu .product-row[aria-checked="true"] .product-row-name { font-weight: var(--suite-weight-semibold); }
#product-menu .product-row:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
#product-menu .product-row .badge { background: var(--suite-product-soft); color: var(--suite-product); }
#product-menu .product-row > .i { flex: none; color: var(--suite-text); }
.topbar h1 { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* On the Needs you route the page owns the h1, so the crumb is a paragraph drawn the same. */
.topbar p#page-title { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Beside the collapsed rail on a narrow screen, the bar's quiet text buttons show their icon only; the label stays for screen readers. */
@media (min-width: 768px) and (max-width: 1023px) {
  .topbar .btn.ghost.sm > span:not(.badge) { position: absolute; width: var(--suite-border-width); height: var(--suite-border-width); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.topbar .crumb { color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-regular); text-decoration: none; }
a.crumb:hover { color: var(--suite-text); }
.crumbs { flex: 0 1 auto; min-width: 0; }
.crumbs ol { display: flex; align-items: center; gap: var(--suite-space-2); margin: 0; padding: 0; list-style: none; min-width: 0; }
.crumbs li { display: flex; align-items: center; gap: var(--suite-space-2); min-width: 0; }
.crumbs li > .i { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-tertiary); }
.crumbs li:not(:last-child) { flex: none; }
/* Back belongs to the phone, where no rail is shown; from a tablet up the product switcher keeps the bar's leading edge, above the brand switcher. The menu lives in the phone tab bar's More. */
.topbar .menu-btn { display: none; }

.content { padding: var(--suite-page-top) var(--suite-gutter) var(--suite-page-bottom); display: flex; flex-direction: column; gap: var(--suite-section-gap); margin-inline: auto; max-width: var(--suite-content-w); width: 100%; min-width: 0; overflow-x: clip; }
/* A region with nothing in it takes no place in the page rhythm, so empty slots do not stack their gaps between the heading and the first section. */
.content > [data-region]:empty { display: none; }
/* A module host marked full bleed fills the viewport below the top bar: no padding, width cap or gap. */
.content:has(> .module-host[data-layout="full"]) { padding: 0; max-width: none; gap: 0; height: calc(100dvh - var(--suite-topbar)); }
/* A module draws inside this column and never widens it. */
.module-host { min-width: 0; max-width: 100%; }
.module-host[data-layout="full"] { flex: 1 1 auto; min-height: 0; min-width: 0; }
.page-head { display: flex; align-items: center; gap: var(--suite-space-4); flex-wrap: wrap; }
.page-head > div:first-child { flex: 0 1 auto; min-width: 0; }
.page-head h2 { font-size: var(--suite-type-24); line-height: var(--suite-leading-32); font-weight: var(--suite-weight-semibold); letter-spacing: -0.015em; text-wrap: balance; }
.page-head p { color: var(--suite-text-secondary); font-size: var(--suite-type-14); line-height: var(--suite-leading-22); margin-top: var(--suite-space-2); max-width: var(--suite-measure); overflow-wrap: anywhere; text-wrap: pretty; }
.page-head p.caption { display: block; margin-top: var(--suite-space-1); color: var(--suite-text-tertiary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); }
.page-head p.lede:first-child { margin-top: 0; }
@media (max-width: 767px) { .page-head > div:first-child { flex: 1 1 100%; } }

/* Brand switcher (section 5.30): a 40px menu button filling the rail header, with the brand tile, name, relation line and chevrons. */
.entity-switcher {
  display: flex; align-items: center; gap: var(--suite-space-2); width: 100%; height: var(--suite-control-xl); flex: none; padding: 0 var(--suite-space-2);
  border-radius: var(--suite-radius-md); background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--suite-text); font: inherit;
}
.entity-switcher:hover { background: var(--suite-fill-hover); }
.entity-switcher:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
.entity-switcher .name { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); }
.entity-switcher .sub { display: block; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entity-switcher > .grow { min-width: 0; }
.entity-switcher > .i { flex: none; color: var(--suite-text-tertiary); }
/* The brand menu stays 8px inside the rail's right border; its rows end in a fixed-width column so counts and status dots align. */
#entity-menu { max-width: calc(var(--suite-rail) - var(--suite-space-4)); }
#entity-menu .menu-cues { flex: none; display: inline-flex; align-items: center; justify-content: flex-end; gap: var(--suite-space-2); min-width: var(--suite-space-12); }
/* A brand tile reads its glance from the two custom properties on it; without them it is a neutral tile. The ring keeps a white or near-black glance visible. */
.avatar {
  width: var(--suite-icon-24); height: var(--suite-icon-24); border-radius: var(--suite-radius-md); flex: none; display: grid; place-items: center; overflow: hidden;
  font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-semibold);
  color: var(--suite-brand-on-glance, var(--suite-text)); background: var(--suite-brand-glance, var(--suite-fill-selected));
  box-shadow: inset 0 0 0 var(--suite-border-width) var(--suite-brand-ring, var(--suite-border));
}
.avatar.sm { width: var(--suite-control-xs); height: var(--suite-control-xs); border-radius: var(--suite-radius-sm); }
.avatar > img { width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
/* A person's avatar is round, neutral and carries initials. */
.avatar.round { width: var(--suite-control-sm); height: var(--suite-control-sm); border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); color: var(--suite-text); box-shadow: none; }
.avatar.round.sm { width: var(--suite-icon-24); height: var(--suite-icon-24); }
/* The brand tile in the phone top bar: a 44px button holding the tile. */
.brand-tile { align-items: center; justify-content: center; flex: none; min-width: var(--suite-touch); height: var(--suite-touch); padding: 0; border: 0; border-radius: var(--suite-radius-md); background: transparent; cursor: pointer; }
.brand-tile:hover { background: var(--suite-fill-hover); }
.brand-tile:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }

/* The keyboard sheet's wrapper holds only its scrim and dialog, which position themselves. */
.palette-host { display: contents; }

/* The first stop for the keyboard: parked above the page, it drops into view only while focused. */
.skip-link {
  position: fixed; top: var(--suite-space-2); left: var(--suite-space-2); z-index: var(--suite-z-skip); padding: var(--suite-space-2) var(--suite-space-3); border-radius: var(--suite-radius-md);
  background: var(--suite-surface-inverse); color: var(--suite-text-inverse); font-weight: var(--suite-weight-medium); text-decoration: none; transform: translateY(calc(-100% - var(--suite-space-2)));
}
.skip-link:focus { transform: none; }
/* Script moves focus to the page title and the content on each route change for screen readers; neither takes a ring, since neither can be acted on. */
#page-title:focus, main.content[tabindex="-1"]:focus { outline: none; }
.content:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }


/* Phone tab bar */
.tabbar { display: none; }

/* The Post product's app inside the shell frame: fills the content area, no chrome of its own. */
.embed { display: block; width: 100%; height: calc(100dvh - var(--suite-topbar) - var(--suite-space-10) - var(--suite-space-2)); min-height: var(--suite-embed-min); border: 0; border-radius: var(--suite-radius-md); background: var(--suite-surface); }

/* The account menu's head names who is signed in; it is a label, not an item. */
.account-head { display: flex; align-items: center; gap: var(--suite-space-2); min-height: var(--suite-control-lg); padding: 0 var(--suite-space-2); color: var(--suite-text); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); }
/* The collapsed rail's tooltip (5.19): beside its own item, vertically centred on it, drawn by rail-tips.ts. */
.rail-tip { position: fixed; z-index: var(--suite-z-menu); max-width: var(--suite-tooltip-w); padding: var(--suite-space-1) var(--suite-space-2); border-radius: var(--suite-radius-md); background: var(--suite-surface-inverse); color: var(--suite-text-inverse); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); white-space: nowrap; pointer-events: none; transform: translateY(-50%); }

/* Search trigger: a button styled as a field that opens the command palette (section 5.32) */
.search-box { margin-left: auto; position: relative; flex: 0 1 auto; min-width: var(--suite-control-md); }
.search-box > .search-toggle { display: none; }
.search-field {
  display: flex; align-items: center; gap: var(--suite-space-2); height: var(--suite-control-md); width: var(--suite-search-w); max-width: 100%; min-width: 0; overflow: hidden; padding: 0 var(--suite-space-2) 0 var(--suite-space-3);
  border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-md); background: var(--suite-surface-subtle); color: var(--suite-text-tertiary);
  font: inherit; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); text-align: left; cursor: pointer;
  transition: background var(--suite-duration-fast) var(--suite-ease-out), border-color var(--suite-duration-fast) var(--suite-ease-out);
}
.search-field .i { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); }
.search-field:hover { background: var(--suite-fill-hover); border-color: var(--suite-border-strong); }
.search-field:focus-within { background: var(--suite-surface); border-color: var(--suite-focus); box-shadow: 0 0 0 var(--suite-space-half) var(--suite-focus); }
.search-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--suite-text); font: inherit; appearance: none; }
.search-input::placeholder { color: var(--suite-text-tertiary); }
.search-input::-webkit-search-cancel-button { display: none; }
/* The dropdown card of the top-bar search field */
.search-panel {
  position: absolute; z-index: var(--suite-z-menu); top: calc(100% + var(--suite-space-1)); right: 0; width: min(var(--suite-form-w), calc(100vw - var(--suite-space-8)));
  max-height: min(60vh, calc(var(--suite-row) * 10)); overflow-y: auto; padding: var(--suite-space-1); display: flex; flex-direction: column;
  background: var(--suite-surface-overlay); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); box-shadow: var(--suite-shadow-overlay);
}
.search-opt { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-row); padding: 0 var(--suite-space-3); border-radius: var(--suite-radius-md); color: var(--suite-text); text-decoration: none; }
.search-opt:hover { background: var(--suite-fill-hover); }
.search-opt[aria-selected="true"] { background: var(--suite-fill-selected); }
.search-opt .i { color: var(--suite-text-tertiary); }
.search-close { flex: none; }
.search-notes { display: flex; flex-direction: column; }
.search-empty { display: flex; gap: var(--suite-space-3); align-items: flex-start; padding: var(--suite-space-4) var(--suite-space-3); color: var(--suite-text-tertiary); }
.search-group { padding: var(--suite-space-2) var(--suite-space-3) var(--suite-space-1); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); }
.search-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-aside { flex: 0 1 45%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); }
.search-note { display: flex; align-items: center; gap: var(--suite-space-2); padding: var(--suite-space-2) var(--suite-space-3); color: var(--suite-text-tertiary); }
/* Command palette: a centred overlay of commands and records (section 5.32) */
.overlay-host { position: fixed; inset: 0; z-index: var(--suite-z-modal); display: flex; justify-content: center; align-items: flex-start; padding: 12vh var(--suite-space-4) var(--suite-space-4); }
.overlay-host > .sheet-scrim { z-index: 0; }
.palette {
  position: relative; z-index: 1; display: flex; flex-direction: column; width: min(var(--suite-palette-w), 100%); max-height: min(70vh, calc(var(--suite-row) * 12));
  background: var(--suite-surface-overlay); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl); box-shadow: var(--suite-shadow-overlay); overflow: hidden;
  animation: palette-in var(--suite-duration-base) var(--suite-ease-out);
}
.palette-field { flex: none; display: flex; align-items: center; gap: var(--suite-space-3); height: calc(var(--suite-row) + var(--suite-space-2)); padding: 0 var(--suite-space-4); color: var(--suite-text-tertiary); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.palette-field .i { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); }
.palette-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--suite-text); font: inherit; font-size: var(--suite-type-16); line-height: var(--suite-leading-24); appearance: none; }
.palette-input::placeholder { color: var(--suite-text-tertiary); }
/* A 2px indeterminate line under the field; it appears only once a read has run for 150ms */
.palette-progress { flex: none; position: relative; height: var(--suite-space-half); overflow: hidden; opacity: 0; animation: palette-progress-show 0s linear 150ms forwards; }
.palette-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--suite-text); animation: palette-progress-run 1.2s var(--suite-ease-out) infinite; }
.palette-prefixes { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--suite-space-2); padding: var(--suite-space-3) var(--suite-space-4) var(--suite-space-1); }
.palette-prefix {
  display: inline-flex; align-items: center; gap: var(--suite-space-1); height: var(--suite-chip-h); padding: 0 var(--suite-space-2); border: 0; border-radius: var(--suite-radius-sm);
  background: var(--suite-fill-hover); color: var(--suite-text); font: inherit; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); cursor: pointer;
}
.palette-prefix:hover { background: var(--suite-fill-selected); color: var(--suite-text); }
.palette-prefix[aria-pressed="true"] { background: var(--suite-fill-selected); color: var(--suite-text); font-weight: var(--suite-weight-medium); }
.palette-prefix .palette-prefix-key { font-weight: var(--suite-weight-medium); color: var(--suite-text); }
.palette-prefix span { color: var(--suite-text-secondary); }
.palette-list { flex: 1; min-height: 0; overflow-y: auto; padding: var(--suite-space-1) var(--suite-space-1) calc(var(--suite-control-lg) + var(--suite-space-half) + var(--suite-space-1)); scroll-padding-bottom: calc(var(--suite-control-lg) + var(--suite-space-half)); }
.palette-group { padding: var(--suite-space-2) var(--suite-space-3) var(--suite-space-1); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); color: var(--suite-text-tertiary); }
.palette-opt { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-control-xl); padding: 0 var(--suite-space-3); border-radius: var(--suite-radius-md); color: var(--suite-text); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); cursor: pointer; }
.palette-opt:hover { background: var(--suite-fill-hover); }
.palette-opt[aria-selected="true"] { background: var(--suite-fill-selected); }
.palette-opt .i { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-tertiary); }
.palette-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-aside { flex: 0 1 45%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); }
.palette-confirm { flex: 0 1 60%; min-width: 0; color: var(--suite-warning-fg); text-align: right; }
.palette-chip { flex: none; padding: 0 var(--suite-space-2); border-radius: var(--suite-radius-sm); background: var(--suite-fill-hover); color: var(--suite-text-secondary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); }
.palette-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--suite-space-1); padding: var(--suite-space-4); color: var(--suite-text-tertiary); }
.palette-notes { flex: none; display: flex; flex-direction: column; }
.palette-note { display: flex; align-items: center; gap: var(--suite-space-2); padding: var(--suite-space-2) var(--suite-space-4); color: var(--suite-text-tertiary); }
.palette-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-3); min-height: calc(var(--suite-control-lg) + var(--suite-space-half)); padding: var(--suite-space-1) var(--suite-space-4); border-top: var(--suite-border-width) solid var(--suite-border); color: var(--suite-text-tertiary); }
.palette-scope { flex: none; display: inline-flex; align-items: center; height: var(--suite-chip-h); padding: 0 var(--suite-space-2); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-full); background: transparent; color: var(--suite-text-secondary); font: inherit; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); cursor: pointer; }
.palette-scope:hover { background: var(--suite-fill-hover); color: var(--suite-text); }
.palette-scope[aria-pressed="true"] { background: var(--suite-fill-selected); border-color: var(--suite-border-strong); color: var(--suite-text); font-weight: var(--suite-weight-medium); }
.palette-scope:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-space-half); }
/* The foot holds only the scope switch; with the switch hidden there is nothing to show. */
.palette-foot:not(:has(.palette-scope:not([hidden]))) { display: none; }
@keyframes palette-in { from { opacity: 0; transform: translateY(calc(var(--suite-space-1) * -1)); } }
@keyframes palette-progress-show { to { opacity: 1; } }
@keyframes palette-progress-run { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .palette { animation: none; } .palette-progress::after { animation: none; width: 100%; opacity: 0.4; } }
@media (max-width: 767px) {
  .overlay-host { padding: var(--suite-space-3); }
  .palette { width: 100%; max-height: calc(100dvh - var(--suite-space-6)); }
  .palette-input { font-size: var(--suite-type-16); }
  .palette-opt { min-height: var(--suite-touch); }
  .palette-foot { display: none; }
}

/* Menus and popovers */
/* Groups the popup menus in one landmark without adding a box, so their absolute placement is unchanged. */
.menus { display: contents; }
.menu {
  position: absolute; z-index: var(--suite-z-menu); min-width: var(--suite-menu-w); max-width: 20rem; padding: var(--suite-space-1);
  background: var(--suite-surface-overlay); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg);
  box-shadow: var(--suite-shadow-overlay); animation: menu-in var(--suite-duration-base) var(--suite-ease-out);
}
.menu .menu-item {
  display: flex; align-items: center; gap: var(--suite-space-2); width: 100%; min-height: var(--suite-control-md); padding: 0 var(--suite-space-2);
  border-radius: var(--suite-radius-md); background: none; border: 0; text-align: left; cursor: pointer; text-decoration: none;
  font-size: var(--suite-type-14); line-height: var(--suite-leading-20); color: var(--suite-text);
}
.menu .menu-item:hover, .menu .menu-item:focus-visible { background: var(--suite-fill-hover); }
.menu .menu-item .icon { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-secondary); }
.menu .menu-item.danger, .menu .menu-item.danger .icon { color: var(--suite-danger-fg); }
.menu .menu-label {
  display: flex; align-items: center; min-height: var(--suite-space-6); padding: 0 var(--suite-space-2);
  font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); color: var(--suite-text-tertiary);
}
.menu .menu-sep { height: var(--suite-border-width); margin: var(--suite-space-1) 0; background: var(--suite-border); }
/* The current row of a menu or the product switcher keeps the selected fill and its icon in the product colour; the keyboard-active row shows the hover fill. */
.menu .menu-item[aria-current="true"], .menu .menu-item[aria-selected="true"], .menu .menu-item.is-current { background: var(--suite-fill-selected); }
.menu .menu-item[aria-current="true"] .icon, .menu .menu-item[aria-selected="true"] .icon, .menu .menu-item.is-current .icon { color: var(--suite-product, var(--suite-text)); }
.menu .menu-item.is-active { background: var(--suite-fill-hover); }
/* A product row carries its own colour: the icon and the count badge read the row's product, not the page's. */
.menu .menu-item[data-product-id] { --suite-product: var(--product-row, var(--suite-product, var(--suite-text))); }
.menu .menu-item[data-product-id="outreach"] { --product-row: var(--suite-product-outreach); }
.menu .menu-item[data-product-id="social"] { --product-row: var(--suite-product-social); }
.menu .menu-item[data-product-id="studio"] { --product-row: var(--suite-product-studio); }
.menu .menu-item[data-product-id="operator"] { --product-row: var(--suite-product-operator); }
/* A switch row in a menu: the label grows and its state reads as a word at the end. */
.menu .menu-item[role="menuitemcheckbox"][aria-checked="true"] .faint { color: var(--suite-text); font-weight: var(--suite-weight-medium); }
@keyframes menu-in { from { opacity: 0; transform: translateY(var(--suite-space-1)); } }
/* On a phone menu items are touch targets. */
@media (max-width: 767px) { .menu .menu-item { min-height: var(--suite-touch); } }

/* Buttons (docs/DESIGN-SYSTEM-SUITE.md 5.1). A bare .btn is the secondary variant; .primary, .ghost, .danger and .danger-solid are the others. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--suite-space-2);
  min-height: var(--suite-control-md); min-width: var(--btn-locked-w, 0); padding: 0 var(--suite-space-3);
  border-radius: var(--suite-radius-md); border: var(--suite-border-width) solid var(--suite-border-strong); cursor: pointer;
  background: var(--suite-surface); color: var(--suite-text);
  font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium);
  text-decoration: none; text-align: center;
  transition: background var(--suite-duration-fast) var(--suite-ease-out), border-color var(--suite-duration-fast) var(--suite-ease-out), color var(--suite-duration-fast) var(--suite-ease-out);
}
.btn:hover { background: var(--suite-fill-hover); }
.btn:active { background: var(--suite-fill-selected); }
.btn:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }
.btn > svg { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); }

.btn.primary { background: var(--suite-primary); border-color: transparent; color: var(--suite-on-primary); }
.btn.primary:hover { background: var(--suite-primary-hover); }
.btn.primary:active { background: var(--suite-primary-pressed); }

.btn.ghost { background: transparent; border-color: transparent; color: var(--suite-text-secondary); }
.btn.ghost:hover { background: var(--suite-fill-hover); color: var(--suite-text); }
.btn.ghost:active { background: var(--suite-fill-selected); color: var(--suite-text); }

.btn.danger { background: var(--suite-surface); border-color: var(--suite-danger-border); color: var(--suite-danger-fg); }
.btn.danger:hover { background: var(--suite-danger-bg); }
.btn.danger:active { background: var(--suite-danger-bg); border-color: var(--suite-danger-fg); }

/* The filled destructive button appears only inside a confirm dialog. */
.btn.danger-solid { background: var(--suite-danger-solid); border-color: transparent; color: var(--suite-on-danger-solid); }
.btn.danger-solid:hover, .btn.danger-solid:active { background: var(--suite-danger-solid-hover); }

.btn.sm { min-height: var(--suite-control-sm); padding: 0 calc(var(--suite-space-2) + var(--suite-space-half)); gap: var(--suite-space-1); font-size: var(--suite-type-13); }
.btn.lg { min-height: var(--suite-control-lg); padding: 0 calc(var(--suite-space-3) + var(--suite-space-half)); }
.btn.xl { min-height: var(--suite-control-xl); padding: 0 var(--suite-space-4); }
.btn.block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed; background: var(--suite-fill-selected); border-color: transparent; color: var(--suite-text-disabled);
}
.btn:not(.primary):not(.danger-solid)[disabled], .btn:not(.primary):not(.danger-solid)[aria-disabled="true"] { background: var(--suite-surface); border-color: var(--suite-border); }
.btn.ghost[disabled], .btn.ghost[aria-disabled="true"] { background: transparent; border-color: transparent; }

/* Loading: a spinner replaces the leading icon, clicks are ignored, and the width stays at --btn-locked-w, which the page action sets from the rest width. */
.btn.is-pending { pointer-events: none; }
.btn.is-pending > svg { display: none; }
.btn.is-pending::before {
  content: ""; flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); border-radius: var(--suite-radius-full);
  border: var(--suite-ring-width) solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite;
}
.btn.is-done { background: var(--suite-success-bg); border-color: var(--suite-success-border); color: var(--suite-success-fg); }

/* Icon buttons are square at the size of their variant. */
.btn-icon { width: var(--suite-control-md); padding: 0; }
.btn-icon.sm { width: var(--suite-control-sm); }
.btn-icon.lg { width: var(--suite-control-lg); }
.btn-icon.xl { width: var(--suite-control-xl); }

/* Every button is a full touch target on a phone and on a coarse pointer. */
@media (max-width: 767px), (any-pointer: coarse) {
  .btn { min-height: var(--suite-touch); }
  .btn-icon { min-width: var(--suite-touch); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Segmented control: a filter or view choice of two to four options on the same data. The selected segment lifts onto the surface; in dark it takes the selected fill. */
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: var(--suite-space-half); padding: var(--suite-space-half); background: var(--suite-fill-hover); border-radius: var(--suite-radius-md); }
.seg button, .seg a {
  height: var(--suite-control-sm); padding: 0 var(--suite-space-3); border: var(--suite-border-width) solid transparent; border-radius: calc(var(--suite-radius-md) - var(--suite-space-half)); background: none;
  color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: var(--suite-space-1);
  white-space: nowrap; flex: none;
}
.seg button:hover, .seg a:hover { color: var(--suite-text); }
.seg [aria-pressed="true"], .seg [aria-current="true"], .seg [aria-checked="true"] { background: light-dark(var(--suite-surface), var(--suite-fill-selected)); border-color: var(--suite-border); color: var(--suite-text); }
.seg :focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }
.seg :disabled { color: var(--suite-text-disabled); cursor: not-allowed; }

/* Tabs: underline tabs switch the views of a page, so they never look like the segmented control. The selected tab carries a 2px bar on the row's bottom edge in the current product's colour, the ink where no product is set. */
.tabs { display: flex; gap: var(--suite-space-half); overflow-x: auto; scrollbar-width: none; height: var(--suite-control-xl); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.tabs { scroll-snap-type: x proximity; }
.tabs > * { scroll-snap-align: start; flex: none; }
/* On a phone the strip scrolls sideways: an edge fade on the trailing side shows that more tabs wait. */
@media (max-width: 767px) { .tabs { mask-image: linear-gradient(to right, var(--suite-text) calc(100% - var(--suite-space-8)), transparent); } }
.tabs [role="tab"], .tabs a {
  height: 100%; padding: 0 var(--suite-space-3); border: 0; background: none; border-radius: 0; color: var(--suite-text-secondary);
  font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: var(--suite-space-2);
}
.tabs [role="tab"]:hover, .tabs a:hover { color: var(--suite-text); }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { color: var(--suite-text); box-shadow: inset 0 calc(-1 * var(--suite-ring-width)) 0 var(--suite-product, var(--suite-text)); }
.tabs :focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
.tabs .count { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-regular); color: var(--suite-text-tertiary); }

/* Field anatomy: label above, control, then one hint or one error. The error replaces the hint and carries an icon, so colour is never the only cue. */
.field { display: flex; flex-direction: column; gap: var(--suite-space-1); min-width: 0; }
.field > label, .label { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); color: var(--suite-text-secondary); }
.field .hint { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-tertiary); text-wrap: pretty; }
.field .err { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-danger-fg); display: flex; gap: var(--suite-space-1); align-items: flex-start; }
.field .err .i { width: var(--suite-icon-16); height: var(--suite-icon-16); flex: none; margin-top: var(--suite-space-half); }
.field > :is(.input, .select, .textarea) { max-width: var(--suite-field-w); }

/* Input, select and textarea: 32 tall in toolbars and filters, 36 inside a field (forms), 40 on sign-in and onboarding. Focus draws a 2px blue edge with no offset and no glow. */
.input, .select, .textarea {
  width: 100%; height: var(--suite-control-md); padding: 0 var(--suite-space-3); border-radius: var(--suite-radius-md);
  border: var(--suite-border-width) solid var(--suite-border-control); background: var(--suite-surface); color: var(--suite-text);
  font-size: var(--suite-type-14); line-height: var(--suite-leading-20);
  transition: border-color var(--suite-duration-fast) var(--suite-ease-out), box-shadow var(--suite-duration-fast) var(--suite-ease-out);
}
.field .input, .field .select, .input.lg, .select.lg { height: var(--suite-control-lg); }
.input.xl, .select.xl { height: var(--suite-control-xl); }
.input::placeholder, .textarea::placeholder { color: var(--suite-text-tertiary); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--suite-text-tertiary); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--suite-focus); box-shadow: 0 0 0 var(--suite-border-width) var(--suite-focus); }
.input.invalid, .textarea.invalid, .select.invalid, .input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--suite-danger-fg); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--suite-surface-subtle); border-color: var(--suite-border); color: var(--suite-text-disabled); cursor: not-allowed; }
.input[readonly], .textarea[readonly] { background: var(--suite-surface-subtle); border-color: var(--suite-border); color: var(--suite-text); }
.input.mono, .textarea.mono { font-family: var(--suite-font-mono); font-size: calc((var(--suite-type-12) + var(--suite-type-13)) / 2); }
.textarea { height: auto; min-height: var(--suite-textarea-min); padding: var(--suite-space-2) var(--suite-space-3); line-height: var(--suite-leading-22); resize: vertical; }

/* A leading icon sits 12 from the left and the text indents to 36. */
.input-icon { position: relative; display: block; width: 100%; }
.input-icon > .i { position: absolute; left: var(--suite-space-3); top: 50%; transform: translateY(-50%); width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-tertiary); pointer-events: none; }
.input-icon > .input { padding-left: calc(var(--suite-space-8) + var(--suite-space-1)); }

/* Select: the native element with the chevron drawn from two gradients, 16px of room on the right. */
.select {
  appearance: none; padding-right: var(--suite-space-8); cursor: pointer;
  background-image:
    linear-gradient(to top right, transparent calc(50% - var(--suite-space-half) * 0.375), var(--suite-text-tertiary) 0 calc(50% + var(--suite-space-half) * 0.375), transparent 0),
    linear-gradient(to top left, transparent calc(50% - var(--suite-space-half) * 0.375), var(--suite-text-tertiary) 0 calc(50% + var(--suite-space-half) * 0.375), transparent 0);
  background-size: var(--suite-space-1) var(--suite-space-1), var(--suite-space-1) var(--suite-space-1);
  background-position: calc(100% - var(--suite-space-3) - var(--suite-space-1)) 50%, calc(100% - var(--suite-space-3)) 50%;
  background-repeat: no-repeat;
}

/* Checkbox and radio: a 16px box drawn on the native input; checked fills with the primary and draws its mark in the on-primary colour. The whole label is the hit area. */
.check { display: inline-flex; align-items: center; gap: var(--suite-space-2); cursor: pointer; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); }
.check input {
  appearance: none; flex: none; display: grid; place-content: center; margin: 0; cursor: pointer;
  width: var(--suite-icon-16); height: var(--suite-icon-16); border: var(--suite-border-width) solid var(--suite-border-control); border-radius: var(--suite-radius-sm); background: var(--suite-surface);
}
.check input[type="radio"] { border-radius: var(--suite-radius-full); }
.check input::before { content: ""; background: var(--suite-on-primary); transform: scale(0); }
.check input[type="checkbox"]::before { width: var(--suite-icon-12); height: var(--suite-icon-12); clip-path: polygon(14% 44%, 0 58%, 40% 100%, 100% 20%, 86% 6%, 40% 72%); }
.check input[type="radio"]::before { width: calc(var(--suite-icon-12) / 2); height: calc(var(--suite-icon-12) / 2); border-radius: var(--suite-radius-full); }
.check input:hover { border-color: var(--suite-text-tertiary); }
.check input:checked, .check input:indeterminate { background: var(--suite-primary); border-color: var(--suite-primary); }
.check input:checked::before { transform: scale(1); }
.check input[type="checkbox"]:indeterminate::before { width: calc(var(--suite-icon-12) * 2 / 3); height: var(--suite-space-half); clip-path: none; transform: scale(1); }
.check input:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }
.check input:disabled { background: var(--suite-fill-hover); border-color: var(--suite-border); cursor: not-allowed; }
.check input:disabled:checked { background: var(--suite-text-disabled); border-color: var(--suite-text-disabled); }

/* A settings row (5.5): the label and its description on the left, the switch on the right, level with the label. */
.switch-row { display: flex; align-items: flex-start; gap: var(--suite-space-6); }
.switch-row label { display: block; font-weight: var(--suite-weight-medium); color: var(--suite-text); }
.switch-row .hint { margin-top: var(--suite-space-1); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-tertiary); text-wrap: pretty; }
/* Switch: a 32x20 track and a 16px knob with no shadow, ringed in dark. On, the track is the primary and the knob slides 12px. */
.toggle { display: inline-block; position: relative; width: var(--suite-switch-w); height: var(--suite-icon-20); flex: none; }
.toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.toggle span { position: absolute; inset: 0; border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); box-shadow: inset 0 0 0 var(--suite-border-width) var(--suite-border-control); transition: background var(--suite-duration-fast) var(--suite-ease-out); pointer-events: none; }
.toggle span::after { content: ""; position: absolute; top: var(--suite-space-half); left: var(--suite-space-half); width: var(--suite-icon-16); height: var(--suite-icon-16); border-radius: var(--suite-radius-full); background: var(--suite-surface); box-shadow: 0 0 0 var(--suite-border-width) light-dark(transparent, var(--suite-border-control)); transition: transform var(--suite-duration-fast) var(--suite-ease-out), background var(--suite-duration-fast) var(--suite-ease-out); }
.toggle input:checked + span { background: var(--suite-primary); box-shadow: none; }
.toggle input:checked + span::after { background: var(--suite-on-primary); transform: translateX(calc(var(--suite-switch-w) - var(--suite-icon-16) - 2 * var(--suite-space-half))); }
.toggle input:focus-visible + span { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }
.toggle input:disabled { cursor: not-allowed; }
.toggle input:disabled + span { opacity: 0.5; }

/* Phone: text fields use 16px type so iOS does not zoom a focused field, and every control is 44 tall. */
@media (max-width: 767px), (any-pointer: coarse) {
  .input, .select { height: var(--suite-touch); }
  .input, .select, .textarea { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); }
  .tabs { height: var(--suite-touch); }
  .check { min-height: var(--suite-touch); }
  .toggle input { inset: calc(-1 * var(--suite-space-3)) 0; height: var(--suite-touch); }
}

/* Cues: status dots keep a shape per state so meaning never rests on colour alone */
.status { display: inline-flex; align-items: center; gap: calc(var(--suite-space-1) + var(--suite-space-half)); }
.dot { width: var(--suite-space-2); height: var(--suite-space-2); border-radius: var(--suite-radius-full); display: inline-block; flex: none; background: var(--suite-idle); }
.dot.ok { background: var(--suite-success-fg); }
.dot.warn { background: transparent; box-shadow: inset 0 0 0 var(--suite-ring-width) var(--suite-warning-fg); }
.dot.danger { background: var(--suite-danger-fg); border-radius: var(--suite-border-width); transform: rotate(45deg) scale(0.9); }
.dot.info { background: var(--suite-info-fg); }
.dot.agent { background: var(--suite-text-secondary); }
.chip {
  display: inline-flex; align-items: center; gap: var(--suite-space-1); height: var(--suite-chip-h); padding: 0 var(--suite-space-2);
  border-radius: var(--suite-radius-sm); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium);
  background: var(--suite-fill-hover); color: var(--suite-text-secondary); white-space: nowrap;
}
.chip .i { width: var(--suite-icon-12); height: var(--suite-icon-12); vertical-align: 0; }
.state-word { display: inline-flex; align-items: center; gap: var(--suite-space-2); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-regular); color: var(--suite-text-secondary); white-space: nowrap; }
.code-block { margin: 0; max-width: 100%; white-space: pre; overflow-x: auto; }
.chip.ok { background: var(--suite-success-bg); color: var(--suite-success-fg); }
.chip.warn { background: var(--suite-warning-bg); color: var(--suite-warning-fg); }
.chip.danger { background: var(--suite-danger-bg); color: var(--suite-danger-fg); }
.chip.info { background: var(--suite-info-bg); color: var(--suite-info-fg); }
.chip.idle, .chip.agent, .chip.model { background: var(--suite-fill-hover); color: var(--suite-text-secondary); }
/* Product chip: names the product a row belongs to. Each id binds its own soft fill and base text. */
.chip.product { background: var(--suite-product-soft, var(--suite-fill-hover)); color: var(--suite-product, var(--suite-text-secondary)); }
.chip.product[data-product-id="outreach"], .badge.product[data-product-id="outreach"] { background: var(--suite-product-outreach-soft); color: var(--suite-product-outreach); }
.chip.product[data-product-id="social"], .badge.product[data-product-id="social"] { background: var(--suite-product-social-soft); color: var(--suite-product-social); }
.chip.product[data-product-id="studio"], .badge.product[data-product-id="studio"] { background: var(--suite-product-studio-soft); color: var(--suite-product-studio); }
.chip.product[data-product-id="operator"], .badge.product[data-product-id="operator"] { background: var(--suite-product-operator-soft); color: var(--suite-product-operator); }
/* Delta chip: an arrow, a signed value and an accessible name carrying the words, so direction never rests on colour. Better and worse use the semantic tints, flat is neutral. */
.chip.delta { gap: var(--suite-space-1); padding: 0 var(--suite-space-2) 0 var(--suite-space-1); font-variant-numeric: tabular-nums; }
.chip.delta.better { background: var(--suite-success-bg); color: var(--suite-success-fg); }
.chip.delta.worse { background: var(--suite-danger-bg); color: var(--suite-danger-fg); }
.chip.delta.flat { background: var(--suite-fill-hover); color: var(--suite-text-secondary); }
.chip.accent { background: var(--suite-fill-selected); color: var(--suite-text); }
.badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: var(--suite-control-xs); height: var(--suite-control-xs); padding-inline: var(--suite-space-1);
  border-radius: var(--suite-radius-full); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-semibold);
  font-variant-numeric: tabular-nums; background: var(--suite-fill-selected); color: var(--suite-text);
}
/* Product badge: rail counts of work waiting. Product solid: the phone tab bar count. Both read the current product, the ink where none is set. */
.badge.product { background: var(--suite-product-soft, var(--suite-fill-selected)); color: var(--suite-product, var(--suite-text)); }
.badge.product-solid { background: var(--suite-product, var(--suite-primary)); color: var(--suite-product-on, var(--suite-on-primary)); }
.badge.danger { background: var(--suite-danger-solid); color: var(--suite-on-danger-solid); }
.badge.ink, .badge.accent { background: var(--suite-primary); color: var(--suite-on-primary); }
.band {
  display: inline-grid; place-items: center; width: var(--suite-icon-24); height: var(--suite-icon-24); border-radius: var(--suite-radius-sm);
  font-size: var(--suite-type-12); font-weight: var(--suite-weight-semibold); background: var(--suite-fill-hover); color: var(--suite-text-secondary);
}
.band.a { background: var(--suite-success-bg); color: var(--suite-success-fg); }
.band.b { background: var(--suite-fill-selected); color: var(--suite-text); }
.band.c { background: var(--suite-warning-bg); color: var(--suite-warning-fg); }
.band.d { background: var(--suite-fill-hover); color: var(--suite-text-tertiary); }
.actor { display: inline-flex; align-items: center; gap: var(--suite-space-1); color: var(--suite-text-secondary); font-size: var(--suite-type-13); white-space: nowrap; }
.actor.agent { color: var(--suite-text-secondary); }
.kbd, kbd {
  display: inline-grid; place-items: center; min-width: var(--suite-control-xs); height: var(--suite-control-xs); padding: 0 var(--suite-space-1); border-radius: var(--suite-radius-sm);
  border: var(--suite-border-width) solid var(--suite-border); background: var(--suite-surface); color: var(--suite-text-secondary); font: var(--suite-weight-medium) var(--suite-type-12)/var(--suite-leading-16) var(--suite-font);
}
:root[data-theme="dark"] .kbd, :root[data-theme="dark"] kbd { background: var(--suite-fill-hover); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kbd, :root:not([data-theme="light"]) kbd { background: var(--suite-fill-hover); } }
@media (max-width: 767px) { .kbd, kbd { display: none; } }

/* Why: a machine judgement with its reason and source */
.why { display: flex; align-items: baseline; gap: var(--suite-space-2); color: var(--suite-text-secondary); min-width: 0; }
.why a { color: var(--suite-text-secondary); text-decoration-color: var(--suite-border); text-underline-offset: var(--suite-space-half); }
.why a:hover { color: var(--suite-text); }
.facts { background: var(--suite-surface-subtle); border-radius: var(--suite-radius-md); padding: var(--suite-space-2) var(--suite-space-3); display: flex; flex-direction: column; gap: var(--suite-space-1); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.facts li { list-style: none; display: flex; gap: var(--suite-space-2); }
.facts ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--suite-space-1); }


/* A chip longer than its row wraps inside it on a phone instead of pushing the page wider. */
@media (max-width: 767px) {
  .chip { height: auto; min-height: var(--suite-chip-h); max-width: 100%; padding-block: var(--suite-space-half); white-space: normal; }
}

/* Cards: one white plane, a hairline edge, no shadow. */
.card { background: var(--suite-surface); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl); padding: var(--suite-card-pad); min-width: 0; }
.card.flush { padding: 0; }
.card.sunken { background: var(--suite-surface-subtle); border-color: transparent; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-3); margin-bottom: var(--suite-card-head-gap); }
.card.flush .card-head { margin-bottom: 0; padding: var(--suite-space-4) var(--suite-card-pad); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.card-head h3 { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.card-head h4, .h4 { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.card.flush .card-head h3, .workbench .card-head h3 { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); }
.card-head.stacked { flex-direction: column; align-items: flex-start; gap: var(--suite-space-1); }
.card[data-brand-picker] { width: 100%; max-width: calc(var(--suite-panel) + 4 * var(--suite-space-10)); margin-inline: auto; }
.section-title { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.card.clickable, a.card, button.card { color: inherit; text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: border-color var(--suite-duration-fast) var(--suite-ease-out); }
.card.clickable:hover, a.card:hover, button.card:hover { border-color: var(--suite-border-strong); }
.card.clickable:focus-visible, a.card:focus-visible, button.card:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }

/* Stats: a standalone tile is a card; tiles inside .stat-card are cells of one card divided by hairlines. */
.stat { background: var(--suite-surface); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl); padding: var(--suite-card-pad); display: flex; flex-direction: column; gap: var(--suite-space-2); min-width: 0; min-height: calc(var(--suite-space-16) + var(--suite-space-2)); }
.stat .label { color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
.stat .value { color: var(--suite-text); font-size: var(--suite-type-28); line-height: var(--suite-leading-36); letter-spacing: -0.015em; font-weight: var(--suite-weight-semibold); font-variant-numeric: tabular-nums; }
.stat .value.unknown { color: var(--suite-text-tertiary); font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-regular); }
.stat .meta { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.stat-card { display: grid; gap: var(--suite-border-width); grid-template-columns: repeat(auto-fit, minmax(calc(var(--suite-space-10) * 5), 1fr)); background: var(--suite-border); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl); overflow: hidden; min-width: 0; }
.stat-card > .stat { border: 0; border-radius: 0; text-decoration: none; }
.stat-card > .stat .label { text-decoration: none; }
/* Today's "Doing on its own" card: rows align to the card padding, the quota bar sits under its row, and the refused block is set off by a hairline. */
.on-its-own { display: flex; flex-direction: column; gap: var(--suite-space-4); --suite-product: var(--suite-product-outreach); }
.on-its-own .row { padding-left: 0; padding-right: 0; }
.on-its-own .row:last-child { border-bottom: var(--suite-border-width) solid var(--suite-border); }
.on-its-own progress { display: block; width: 100%; height: var(--suite-space-1); margin: var(--suite-space-2) 0 var(--suite-space-1); border: 0; border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); overflow: hidden; appearance: none; }
.on-its-own progress::-webkit-progress-bar { background: var(--suite-fill-selected); }
.on-its-own progress::-webkit-progress-value { background: var(--suite-product, var(--suite-primary)); border-radius: var(--suite-radius-full); }
.on-its-own progress::-moz-progress-bar { background: var(--suite-product, var(--suite-primary)); border-radius: var(--suite-radius-full); }
.on-its-own-refused { padding-top: var(--suite-space-5); }
.on-its-own-refused h4.h4 { margin-top: var(--suite-space-2); padding-top: var(--suite-space-4); border-top: var(--suite-border-width) solid var(--suite-border); }
.on-its-own-refused .row { min-height: var(--suite-row); }
/* The setup card in the aside: a clear title, and steps and the toggle that left-align with it. */
section[aria-label="First steps"] { gap: var(--suite-space-3); }
section[aria-label="First steps"] > .guide-head > h3.label { font-size: var(--suite-type-14); line-height: var(--suite-leading-22); font-weight: var(--suite-weight-semibold); color: var(--suite-text); }
section[aria-label="First steps"] > .guide-head > .faint { flex-basis: 100%; }
.on-its-own > .stack-sm { gap: var(--suite-space-2); }
/* A cell that opens the rows behind it is a button or a link: hover fill and an inset focus ring. */
button.stat, a.stat { width: 100%; font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background var(--suite-duration-fast) var(--suite-ease-out); }
button.stat:hover, a.stat:hover { background: var(--suite-fill-hover); }
button.stat:focus-visible, a.stat:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); }
/* Delta chip: an arrow, a sign and a value; better and worse take the semantic tints, flat is neutral. */
.delta-up, .delta-down { color: var(--suite-text-secondary); }
.delta-chip { display: inline-flex; align-items: center; gap: var(--suite-space-1); height: var(--suite-space-5); padding: 0 var(--suite-space-2) 0 var(--suite-space-1); border-radius: var(--suite-radius-sm); background: var(--suite-fill-hover); color: var(--suite-text-secondary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta-chip .i { width: var(--suite-icon-12); height: var(--suite-icon-12); }
.delta-chip.better { background: var(--suite-success-bg); color: var(--suite-success-fg); }
.delta-chip.worse { background: var(--suite-danger-bg); color: var(--suite-danger-fg); }
/* Stat cell: label and icon, value beside its sparkline, delta chip with the comparison in words. */
.stat-cell { padding: var(--suite-card-pad); gap: var(--suite-space-2); }
.stat-cell .label.spread { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-2); }
.stat-cell .stat-icon { width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-tertiary); flex: none; }
.stat-cell .progress-cell { margin-top: auto; }
.stat-main { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-3); min-width: 0; }
.stat-main .value .of { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-regular); color: var(--suite-text-secondary); }
.stat-delta { display: flex; align-items: center; gap: var(--suite-space-2); min-width: 0; }
.stat-delta .meta { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.spark { flex: none; overflow: visible; }
.spark-line { fill: none; stroke: var(--suite-chart-primary); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark-base { stroke: var(--suite-chart-comparison); stroke-width: 1; }
.spark-dot { fill: var(--suite-chart-primary); }
/* A stat card built from stat cells is a size container: an auto-fit grid of the cells that exist: one row when they fit, 2x2 on a phone, hairlines between. */
.stat-cards { container-type: inline-size; min-width: 0; }
.stat-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--suite-border-width); background: var(--suite-border); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl); overflow: hidden; min-width: 0; }
.stat-card-grid > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stat-card-grid > .stat { border: 0; border-radius: 0; }
/* Four across at 840 wide or more, and exactly one column per cell that exists, so no empty slot shows the hairline fill. */
@container (min-width: 840px) { .stat-card-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .stat-card-grid > .stat:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 767px) { .stat-cell .spark { display: none; } }

/* Progress: a 4px bar; quota bars say what they count and change fill at 80% and 100%. */
.bar { height: var(--suite-space-1); border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--suite-product, var(--suite-primary)); }
.bar.ok > span { background: var(--suite-product, var(--suite-primary)); }
.bar.warn > span { background: var(--suite-warning-fg); }
.bar.danger > span { background: var(--suite-danger-fg); }
.progress-label { display: flex; justify-content: space-between; gap: var(--suite-space-3); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); margin-bottom: var(--suite-space-1); font-variant-numeric: tabular-nums; }

/* Product mark: the product's glyph on its own colour. */
.product-mark { display: inline-grid; place-items: center; flex: none; border-radius: var(--suite-radius-md); background: var(--suite-product); color: var(--suite-product-on); }
.product-mark[data-size="20"] { width: var(--suite-icon-20); height: var(--suite-icon-20); }
.product-mark[data-size="24"] { width: var(--suite-icon-24); height: var(--suite-icon-24); }
.product-mark .i { width: 70%; height: 70%; }
.product-mark[data-product-mark="outreach"] { --suite-product: var(--suite-product-outreach); --suite-product-on: var(--suite-product-outreach-on); }
.product-mark[data-product-mark="social"] { --suite-product: var(--suite-product-social); --suite-product-on: var(--suite-product-social-on); }
.product-mark[data-product-mark="studio"] { --suite-product: var(--suite-product-studio); --suite-product-on: var(--suite-product-studio-on); }
.product-mark[data-product-mark="operator"] { --suite-product: var(--suite-product-operator); --suite-product-on: var(--suite-product-operator-on); }
/* A meter is the 4px bar as a progress element; a bar about one product on a shared screen names that product. */
.progress-cell { min-width: 0; }
.meter { display: block; width: 100%; height: var(--suite-space-1); border: 0; border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); overflow: hidden; appearance: none; }
.meter::-webkit-progress-bar { background: var(--suite-fill-selected); }
.meter::-webkit-progress-value { background: var(--suite-product, var(--suite-primary)); border-radius: var(--suite-radius-full); }
.meter::-moz-progress-bar { background: var(--suite-product, var(--suite-primary)); border-radius: var(--suite-radius-full); }
.meter.warn::-webkit-progress-value { background: var(--suite-warning-fg); }
.meter.warn::-moz-progress-bar { background: var(--suite-warning-fg); }
.meter.danger::-webkit-progress-value { background: var(--suite-danger-fg); }
.meter.danger::-moz-progress-bar { background: var(--suite-danger-fg); }
[data-product-bar="outreach"] { --suite-product: var(--suite-product-outreach); }
[data-product-bar="social"] { --suite-product: var(--suite-product-social); }
[data-product-bar="studio"] { --suite-product: var(--suite-product-studio); }
[data-product-bar="operator"] { --suite-product: var(--suite-product-operator); }
/* Aside panel header: an optional 16px icon before the title and a count or status at the right. */
.card-head .aside-icon { width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-secondary); flex: none; }
.card-head .aside-title { display: inline-flex; align-items: center; gap: var(--suite-space-2); min-width: 0; }

/* Steps */
.stepper { display: flex; gap: var(--suite-space-1); flex-wrap: wrap; counter-reset: step; }
.stepper a, .stepper span {
  display: inline-flex; align-items: center; gap: var(--suite-space-2); height: var(--suite-control-md); padding: 0 var(--suite-space-3) 0 var(--suite-space-2);
  border-radius: var(--suite-radius-md); color: var(--suite-text-secondary); text-decoration: none; font-weight: var(--suite-weight-medium);
}
.stepper .n { width: var(--suite-icon-20); height: var(--suite-icon-20); border-radius: var(--suite-radius-full); display: grid; place-items: center; background: var(--suite-fill-selected); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-secondary); }
.stepper .done { color: var(--suite-text-secondary); }
.stepper .done .n { background: var(--suite-success-bg); color: var(--suite-success-fg); }
.stepper [aria-current="step"] { color: var(--suite-text); background: var(--suite-fill-hover); }
.stepper [aria-current="step"] .n { background: var(--suite-primary); color: var(--suite-on-primary); }

/* Setup checklist: 40px step rows with a 16px state mark, a state word on the right, and Start on the next step only. */
.checklist { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.checklist-row { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-row); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); color: var(--suite-text); }
.checklist-row + .checklist-row { border-top: var(--suite-border-width) solid var(--suite-border); }
.checklist-mark { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); border-radius: var(--suite-radius-full); box-sizing: border-box; border: var(--suite-ring-width) solid var(--suite-border-control); display: grid; place-items: center; }
.checklist-row.done .checklist-mark { background: var(--suite-primary); border-color: var(--suite-primary); color: var(--suite-on-primary); }
.checklist-row.done .checklist-label { color: var(--suite-text-secondary); }
.checklist-label { flex: 1; min-width: 0; }
.checklist-state { flex: none; font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.checklist-detail { padding: 0 0 var(--suite-space-3) calc(var(--suite-icon-16) + var(--suite-space-3)); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
/* Rail strip: a link over a 4px bar. */
.setup-strip { display: flex; flex-direction: column; gap: var(--suite-space-1); min-height: var(--suite-row); justify-content: center; padding: 0 var(--suite-space-3); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); color: var(--suite-text-secondary); text-decoration: none; }

/* Reading surfaces: a reply, a draft, a post */
.prose { font-size: var(--suite-type-14); line-height: var(--suite-leading-22); max-width: var(--suite-measure); }
.prose p + p { margin-top: var(--suite-space-3); }
.draft { background: var(--suite-surface-subtle); border-radius: var(--suite-radius-md); padding: var(--suite-space-3) var(--suite-space-4); font-size: var(--suite-type-14); line-height: var(--suite-leading-22); }
.draft mark { background: var(--suite-fill-hover); color: inherit; border-radius: var(--suite-radius-sm); padding: 0 var(--suite-space-half); }
.footer-note { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-tertiary); }

.bar > span.indeterminate { width: 40%; animation: indeterminate 1.4s var(--suite-ease-out) infinite; }
@keyframes indeterminate { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .bar > span.indeterminate { animation: none; width: 100%; opacity: 0.5; } }
@media (max-width: 767px) { .card { padding: var(--suite-space-4); } .card.flush { padding: 0; } .card.flush .card-head { padding: var(--suite-space-3) var(--suite-space-4); } }


/* Card interiors use the type roles: 14 title, 13 body, 12 caption, on an 8px rhythm. */
.card > .stack, .card > .stack-sm { gap: var(--suite-space-2); }
.card:not(.flush) { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
.card:not(.flush) .row-title, .card:not(.flush) .strong { font-size: var(--suite-type-14); font-weight: var(--suite-weight-semibold); }
.card:not(.flush) .small { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
.card:not(.flush) .faint.small, .card:not(.flush) .hint, .card:not(.flush) .muted.small { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-secondary); }
/* A mailbox's detail lays out as a label column and a value column instead of leaving the left half empty. */
.card[data-item] > .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: var(--suite-space-6); row-gap: var(--suite-space-2); }
.card[data-item] > .grid-2 > .stack-sm { gap: var(--suite-space-2); }
@media (max-width: 767px) { .card[data-item] > .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* The launch panel's rows stay one line: the label gives way with an ellipsis and the chip keeps its width. */
[data-launch] .row > .chip, [data-launch] .row > .dot { flex-shrink: 0; }
[data-launch] .row { flex-wrap: nowrap; }
[data-part="template-actions"] { flex-wrap: nowrap; }
[data-part="launch-head"] .h4 { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); }

/* Lists and rows: one line is --suite-row tall, hairline between rows, none after the last. */
.list { display: flex; flex-direction: column; }
.row {
  display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-row); padding: var(--suite-space-2) var(--suite-space-4);
  border-bottom: var(--suite-border-width) solid var(--suite-border); text-decoration: none; color: inherit; position: relative;
  transition: background var(--suite-duration-fast) var(--suite-ease-out), opacity var(--suite-duration-base) var(--suite-ease-out), transform var(--suite-duration-base) var(--suite-ease-out);
}
.row:last-child { border-bottom: 0; }
a.row, .row[data-row], .row.clickable { cursor: pointer; }
a.row:hover, .row[data-row]:hover, .row.clickable:hover { background: var(--suite-fill-hover); }
.row.is-focused { background: var(--suite-fill-hover); box-shadow: inset 0 0 0 var(--suite-ring-width) var(--suite-focus); }
.row.is-selected, .row[aria-selected="true"] { background: var(--suite-fill-selected); }
/* The open record keeps the selected fill. */
.row.is-current, .row[aria-current="true"] { background: var(--suite-fill-selected); }
.row .row-title { font-weight: var(--suite-weight-medium); }
/* Row actions are always reachable: tertiary at rest, full strength on hover or focus. */
.row .row-actions { display: flex; gap: var(--suite-space-1); color: var(--suite-text-tertiary); transition: color var(--suite-duration-fast) var(--suite-ease-out); }
.row:hover .row-actions, .row.is-focused .row-actions, .row:focus-within .row-actions { color: var(--suite-text); }
.row.is-leaving { opacity: 0; transform: translateX(var(--suite-space-3)); }
.row-meta { display: flex; align-items: center; gap: var(--suite-space-2); color: var(--suite-text-tertiary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); white-space: nowrap; }
.list-summary { display: flex; align-items: center; gap: var(--suite-space-2); padding: var(--suite-space-2) var(--suite-space-4); color: var(--suite-text-tertiary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }

/* Tables: body rows take --suite-row-dense and header cells --suite-control-xl, hairlines only, no vertical rules, no stripes. */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
.tbl th {
  position: sticky; top: var(--suite-topbar); z-index: var(--suite-z-sticky); height: var(--suite-control-xl); text-align: left;
  font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); color: var(--suite-text-tertiary);
  padding: 0 var(--suite-space-3); white-space: nowrap; background: var(--suite-surface); border-bottom: var(--suite-border-width) solid var(--suite-border);
}
.tbl th:first-child, .tbl td:first-child { padding-left: var(--suite-space-4); }
.tbl th:last-child, .tbl td:last-child { padding-right: var(--suite-space-4); }
.card.flush .tbl th:first-child, .card.flush .tbl td:first-child { padding-inline-start: var(--suite-card-pad); }
.card.flush .tbl th:last-child, .card.flush .tbl td:last-child { padding-inline-end: var(--suite-card-pad); }
.tbl th[aria-sort] { color: var(--suite-text); }
.tbl th > button { all: inherit; display: inline-flex; align-items: center; gap: var(--suite-space-1); padding: 0; cursor: pointer; }
.tbl th > button:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); border-radius: var(--suite-radius-sm); }
.tbl th > button .i { opacity: 0; width: var(--suite-icon-12); height: var(--suite-icon-12); }
.tbl th[aria-sort] > button .i, .tbl th > button:hover .i, .tbl th > button:focus-visible .i { opacity: 1; }
.tbl.is-scrolled th { box-shadow: var(--suite-shadow-raised); }
.tbl td { padding: 0 var(--suite-space-3); height: var(--suite-row-dense); vertical-align: middle; color: var(--suite-text-secondary); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.tbl td:first-child, .tbl td.title { color: var(--suite-text); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl.two-line td { height: var(--suite-row-2); }
.tbl td .sub { display: block; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.tbl tbody tr { transition: background var(--suite-duration-fast) var(--suite-ease-out); }
.tbl tbody tr:hover td { background: var(--suite-fill-hover); }
.tbl tbody tr.is-selected td, .tbl tbody tr[aria-selected="true"] td { background: var(--suite-fill-selected); }
.tbl tbody tr.is-current td, .tbl tbody tr[aria-current="true"] td { background: var(--suite-fill-selected); }
.tbl tbody tr.is-focused td { box-shadow: inset 0 var(--suite-ring-width) 0 var(--suite-focus), inset 0 calc(-1 * var(--suite-ring-width)) 0 var(--suite-focus); }
.tbl tbody tr.is-focused td:first-child { box-shadow: inset var(--suite-ring-width) var(--suite-ring-width) 0 var(--suite-focus), inset 0 calc(-1 * var(--suite-ring-width)) 0 var(--suite-focus); }
.tbl tbody tr.is-focused td:last-child { box-shadow: inset calc(-1 * var(--suite-ring-width)) var(--suite-ring-width) 0 var(--suite-focus), inset 0 calc(-1 * var(--suite-ring-width)) 0 var(--suite-focus); }
.tbl .num, .num { text-align: right; font-variant-numeric: tabular-nums; }
/* A row header (the brand name) is a body cell: 13/20 on the row, the same hairline as its neighbours, not a sticky column header. */
.tbl-wrap .tbl th { top: 0; }
/* A progress cell: a 4px bar 72 wide in the product colour, the count after it. */
.cell-progress { display: inline-flex; align-items: center; gap: var(--suite-space-2); font-variant-numeric: tabular-nums; }
.cell-progress .bar { width: 4.5rem; height: var(--suite-space-1); border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); overflow: hidden; }
.cell-progress .bar > span { display: block; height: 100%; background: var(--suite-product, var(--suite-text)); }
/* The source mark of a row on a shared screen: the 20px product mark in its leading slot. */
.row .source-mark { flex: none; width: var(--suite-icon-20, 1.25rem); height: var(--suite-icon-20, 1.25rem); color: var(--suite-product, var(--suite-text-secondary)); }
.tbl tbody th[scope="row"], .tbl tfoot th[scope="row"] { position: static; height: var(--suite-row-dense); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); color: var(--suite-text); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.tbl tbody tr:last-child th[scope="row"] { border-bottom: 0; }
.tbl tbody tr:hover th[scope="row"] { background: var(--suite-fill-hover); }
.tbl tfoot th, .tbl tfoot td { height: var(--suite-row); border-top: var(--suite-border-width) solid var(--suite-border); border-bottom: 0; font-weight: var(--suite-weight-medium); color: var(--suite-text); }
/* The selection column is 40 wide; its checkbox shows on row hover and whenever a row is checked. */
.tbl .col-check { width: var(--suite-row); padding-left: var(--suite-space-4); padding-right: 0; }
.tbl .col-check .check { opacity: 0; }
.tbl tr:hover .col-check .check, .tbl .col-check .check:focus-within, .tbl .col-check .check:has(:checked), .tbl.has-selection .col-check .check { opacity: 1; }
/* The row menu is a 28px ghost icon button at the far right, visible at rest. */
.tbl .col-menu { width: var(--suite-control-sm); text-align: right; }
.row-menu { display: inline-grid; place-items: center; width: var(--suite-control-sm); height: var(--suite-control-sm); border-radius: var(--suite-radius-md); color: var(--suite-text-tertiary); }
tr:hover .row-menu, .row-menu:hover, .row-menu:focus-visible, .row:hover .row-menu { color: var(--suite-text); }
/* Positioned so an absolutely placed .sr-only cell label scrolls with the table instead of widening the page. */
.tbl-wrap { overflow-x: auto; position: relative; }
.tbl-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-2); height: var(--suite-row); padding: 0 var(--suite-space-4); border-top: var(--suite-border-width) solid var(--suite-border); color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }

/* Queue */
.queue { display: flex; flex-direction: column; }
.queue-item {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: var(--suite-space-3); align-items: center;
  min-height: var(--suite-row-2); padding: var(--suite-space-2) var(--suite-space-4); border-bottom: var(--suite-border-width) solid var(--suite-border); background: var(--suite-surface); text-decoration: none; color: inherit;
  transition: background var(--suite-duration-fast) var(--suite-ease-out), opacity var(--suite-duration-base) var(--suite-ease-out), transform var(--suite-duration-base) var(--suite-ease-out);
}
.queue-item:last-child { border-bottom: 0; }
.queue-item:hover { background: var(--suite-fill-hover); }
.queue-item.is-focused { box-shadow: inset 0 0 0 var(--suite-ring-width) var(--suite-focus); background: var(--suite-fill-hover); }
.queue-item.is-current { background: var(--suite-fill-selected); }
.queue-item.is-leaving {
  opacity: 0; transform: translateX(var(--suite-space-4)); height: 0; min-height: 0; padding-block: 0; overflow: hidden; interpolate-size: allow-keywords;
  transition: opacity var(--suite-duration-fast) var(--suite-ease-out), transform var(--suite-duration-fast) var(--suite-ease-out), height var(--suite-duration-fast) var(--suite-ease-out), padding var(--suite-duration-fast) var(--suite-ease-out);
}
/* The kind tile is neutral; only a state colours it. */
.kind {
  width: var(--suite-space-8); height: var(--suite-space-8); border-radius: var(--suite-radius-md); display: grid; place-items: center; background: var(--suite-fill-hover); color: var(--suite-text-secondary);
}
.kind.ok { background: var(--suite-success-bg); color: var(--suite-success-fg); }
.kind.warn { background: var(--suite-warning-bg); color: var(--suite-warning-fg); }
.kind.danger { background: var(--suite-danger-bg); color: var(--suite-danger-fg); }
.kind.agent, .kind.model { background: var(--suite-fill-hover); color: var(--suite-text-secondary); }
.kind.accent { background: var(--suite-fill-selected); color: var(--suite-text); }
.queue-item .title { font-weight: var(--suite-weight-medium); }
.queue-item .sub { color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-aside .queue-item .sub { white-space: normal; }
.queue-item .actions { display: flex; gap: var(--suite-space-1); align-items: center; flex: none; }
.queue-item .actions .btn { flex: none; white-space: nowrap; }
.queue-item .lead { display: inline-grid; place-items: center; width: var(--suite-icon-16); color: var(--suite-text-secondary); }
.queue-item .lead .i { width: var(--suite-icon-16); height: var(--suite-icon-16); }
.time { color: var(--suite-text-tertiary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); white-space: nowrap; }
/* Where the column is narrow (the aside, a card grid) the actions drop under the text, aligned with it. */
.overview-aside .queue-item { grid-template-columns: var(--suite-icon-20) var(--suite-icon-16) minmax(0, 1fr); }
.overview-aside .queue-item .actions { grid-column: 3; flex-wrap: wrap; }
/* The setup card in the aside: a card title with its note beneath, the current step in a quiet inset box (status icon in the product colour, text, the action under the text), and "show the other steps" as a left-aligned ghost row. The product mark is the same on every step, so it is left out. */
[aria-label="First steps"] .guide-head h3.label, [aria-label="First steps"] .guide-head > h3.label { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); color: var(--suite-text); text-transform: none; letter-spacing: 0; }
[aria-label="First steps"] .queue { border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); background: var(--suite-surface-subtle); padding: var(--suite-space-1) var(--suite-space-2); }
[aria-label="First steps"] .queue-item { grid-template-columns: var(--suite-icon-16) minmax(0, 1fr); align-items: start; padding-inline: var(--suite-space-2); }
[aria-label="First steps"] .queue-item:hover { background: transparent; }
[aria-label="First steps"] .queue-item > .product-mark { display: none; }
[aria-label="First steps"] .queue-item > .lead { color: var(--suite-product, var(--suite-text-secondary)); }
[aria-label="First steps"] .queue-item .actions { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
[aria-label="First steps"] .list-summary { padding: 0; justify-content: flex-start; }
[aria-label="First steps"] .list-summary .btn { width: auto; max-width: 100%; height: auto; min-height: var(--suite-control-sm); padding-inline: var(--suite-space-2); justify-content: flex-start; text-align: left; }
/* A one-line list row in a feed: leading mark, text, meta, time. */
.list-row:not(.queue-item) { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-row); padding: 0 var(--suite-space-4); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.list-row:not(.queue-item):last-child { border-bottom: 0; }
.list-row:not(.queue-item) > .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row > .faint { flex: none; white-space: nowrap; }

/* Filter chip: an applied filter, "Status is Active". The field reads secondary, the operator tertiary, the value strong. */
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--suite-space-2); min-height: var(--suite-control-md); }
.filter-chip {
  display: inline-flex; align-items: center; gap: var(--suite-space-1); height: var(--suite-control-sm); padding: 0 var(--suite-space-1) 0 var(--suite-space-2);
  border-radius: var(--suite-radius-md); background: var(--suite-surface); border: var(--suite-border-width) solid var(--suite-border-strong);
  font-size: var(--suite-type-13); line-height: var(--suite-leading-20); white-space: nowrap; color: var(--suite-text);
  transition: background var(--suite-duration-fast) var(--suite-ease-out);
}
.filter-chip:hover { background: var(--suite-fill-hover); }
.filter-chip .filter-field { color: var(--suite-text-secondary); }
.filter-chip .filter-op { color: var(--suite-text-tertiary); }
.filter-chip .filter-value { font-weight: var(--suite-weight-medium); color: var(--suite-text); }
.filter-chip .filter-dot { width: var(--suite-space-2); height: var(--suite-space-2); border-radius: var(--suite-radius-full); background: var(--suite-brand-glance, var(--suite-idle)); box-shadow: 0 0 0 var(--suite-border-width) var(--suite-brand-ring); }
/* The remove button is 20 with a 24 hit area. */
.filter-chip .filter-remove {
  position: relative; display: inline-grid; place-items: center; width: var(--suite-control-xs); height: var(--suite-control-xs); border-radius: var(--suite-radius-sm); color: var(--suite-text-tertiary);
}
.filter-chip .filter-remove::after { content: ""; position: absolute; inset: calc(-1 * var(--suite-space-half)); }
.filter-chip .filter-remove:hover { color: var(--suite-text); background: var(--suite-fill-selected); }
.filter-chip button:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-space-half); }

/* Bulk bar: replaces the header row in place at the same height, inverse fill, nothing moves. */
.bulk-bar {
  position: sticky; top: 0; z-index: var(--suite-z-sticky); display: flex; align-items: center; gap: var(--suite-space-2);
  height: var(--suite-row); padding: 0 var(--suite-space-2) 0 var(--suite-space-4); background: var(--suite-surface-inverse); color: var(--suite-text-inverse);
  font-size: var(--suite-type-13); line-height: var(--suite-leading-20);
  --suite-focus: var(--suite-focus-on-inverse);
}
.card > .bulk-bar, .tbl-wrap > .bulk-bar { border-radius: var(--suite-radius-lg) var(--suite-radius-lg) 0 0; }
.bulk-bar .count { font-weight: var(--suite-weight-medium); }
.bulk-bar a, .bulk-bar .link { color: var(--suite-text-inverse); text-decoration: underline; text-underline-offset: var(--suite-space-half); }
.bulk-bar .spacer { flex: 1; }
.bulk-bar .btn, .actionbar .btn { background: transparent; color: var(--suite-text-inverse); }
.bulk-bar .btn:hover, .actionbar .btn:hover { background: var(--suite-inverse-hover); }
.bulk-bar .btn.primary, .actionbar .btn.primary { background: var(--suite-text-inverse); color: var(--suite-surface-inverse); }
.bulk-bar .btn.primary:hover, .actionbar .btn.primary:hover { background: var(--suite-text-inverse); opacity: 0.9; }
.bulk-bar .bulk-close { margin-left: auto; width: var(--suite-control-sm); height: var(--suite-control-sm); }
/* The floating selection bar (sticky at the bottom of the page) shares the inverse treatment. */
.actionbar {
  position: sticky; bottom: var(--suite-space-4); z-index: var(--suite-z-actionbar); display: flex; align-items: center; gap: var(--suite-space-2);
  padding: var(--suite-space-2) var(--suite-space-2) var(--suite-space-2) var(--suite-space-4); border-radius: var(--suite-radius-lg); background: var(--suite-surface-inverse); color: var(--suite-text-inverse);
  box-shadow: var(--suite-shadow-raised); width: fit-content; margin: 0 auto; max-width: 100%;
}
/* On an inverted surface the ring is the on-inverse blue, since the standard one sits on its own background. */
.actionbar, .toast { --suite-focus: var(--suite-focus-on-inverse); }
@media (max-width: 767px) {
  .bulk-bar { height: var(--suite-topbar); top: var(--suite-topbar); width: 100%; }
}

/* Links that name a row's subject read as titles, underlined only on hover. */
.tbl td a, a.row-title, .row-title a { text-decoration: none; font-weight: var(--suite-weight-medium); }
.tbl td a:hover, a.row-title:hover, .row-title a:hover { text-decoration: underline; text-underline-offset: var(--suite-space-half); }

.row.top { align-items: flex-start; }
/* A status dot centres on the first text line of a top-aligned row, and an action keeps its full width instead of being squeezed by the text beside it. */
.row.top > .dot { margin-top: calc((var(--suite-leading-20) - var(--suite-space-2)) / 2); }
.row > .btn { flex: none; }

/* The record last opened from a list is softly pointed out on return, then fades; with reduced motion it holds still and is removed by the app. */
[data-row].is-recent { animation: recent-fade 4s ease-out forwards; }
@keyframes recent-fade { from { background: var(--suite-fill-selected); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { [data-row].is-recent { animation: none; background: var(--suite-fill-selected); } }

/* A fold toggle outside a flush card lines up with the section title above it, not indented past it. */
.stack > .list-summary, .card:not(.flush) > .list-summary, .card:not(.flush) > .stack > .list-summary { padding-inline: 0; }

/* The All brands picker takes the full content width and sits on the left edge, like every other region. */
.card[data-brand-picker] { max-width: none; margin-inline: 0; }
/* Set widths for the All brands summary: the brand flexes, each count is one width, the action is one width. */
.tbl col.col-num { width: 6.5rem; }
.tbl col.col-action { width: 5.5rem; }
/* A card's footnote lines carry the card head's padding. */
.card-foot { padding: var(--suite-space-3) var(--suite-card-pad) var(--suite-space-4); }

/* Side panel, drawer, dialog and phone sheet */
.panel {
  position: sticky; top: calc(var(--suite-topbar) + var(--suite-space-2)); display: flex; flex-direction: column; gap: var(--suite-space-4);
  max-height: calc(100vh - var(--suite-topbar) - var(--suite-space-6)); overflow-y: auto; padding: var(--suite-space-4);
  background: var(--suite-surface); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl);
}
.sheet-scrim { position: fixed; inset: 0; background: var(--suite-scrim); z-index: var(--suite-z-scrim); }
/* The drawer: from the right, full height, one border on its leading edge. */
.sheet {
  position: fixed; z-index: var(--suite-z-drawer); right: 0; top: 0; bottom: 0; width: min(var(--suite-drawer-w), 100vw);
  display: flex; flex-direction: column; gap: var(--suite-space-4); overflow-y: auto; padding: var(--suite-space-5);
  background: var(--suite-surface-dialog); border-left: var(--suite-border-width) solid var(--suite-border); box-shadow: var(--suite-shadow-overlay);
  animation: slide-in var(--suite-duration-slow) var(--suite-ease-out);
}
.dialog {
  position: fixed; z-index: var(--suite-z-modal); left: 50%; top: 18vh; transform: translateX(-50%);
  width: min(var(--suite-dialog-md), calc(100vw - var(--suite-space-8))); max-height: 80dvh; overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--suite-space-4); padding: var(--suite-space-5);
  background: var(--suite-surface-dialog); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl);
  box-shadow: var(--suite-shadow-overlay);
}
.dialog.sm { width: min(var(--suite-dialog-sm), calc(100vw - var(--suite-space-8))); }
.dialog.lg { width: min(var(--suite-dialog-lg), calc(100vw - var(--suite-space-8))); }
@keyframes slide-in { from { transform: translateX(var(--suite-space-6)); opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
/* Under 768px the drawer and dialog become bottom sheets with a drag handle. */
@media (max-width: 767px) {
  .sheet, .dialog {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 90dvh; transform: none;
    padding-bottom: calc(var(--suite-space-5) + env(safe-area-inset-bottom));
    border: 0; border-top: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-space-3) var(--suite-space-3) 0 0;
    animation: sheet-up var(--suite-duration-slow) var(--suite-ease-out);
  }
  .sheet::before, .dialog::before {
    content: ""; flex: none; align-self: center; width: 2.25rem; height: var(--suite-space-1); margin-top: calc(var(--suite-space-2) - var(--suite-space-5));
    border-radius: var(--suite-radius-full); background: var(--suite-border-strong);
  }
}

/* Banners, toasts, empty, error, skeleton */
/* Banner: a condition of a page or section. Neutral by default; a tone sets the fill, the 1px edge and the icon colour. */
.banner { display: flex; align-items: flex-start; gap: var(--suite-space-3); padding: var(--suite-space-3) var(--suite-space-4); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); background: var(--suite-surface-subtle); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.banner .i { margin-top: var(--suite-space-half); }
.banner.danger { background: var(--suite-danger-bg); border-color: var(--suite-danger-border); }
.banner.danger > .i { color: var(--suite-danger-fg); }
.banner.warn { background: var(--suite-warning-bg); border-color: var(--suite-warning-border); }
.banner.warn > .i { color: var(--suite-warning-fg); }
.banner.ok { background: var(--suite-success-bg); border-color: var(--suite-success-border); }
.banner.ok > .i { color: var(--suite-success-fg); }
.banner.info { background: var(--suite-info-bg); border-color: var(--suite-info-border); }
.banner.info > .i { color: var(--suite-info-fg); }
.banner.agent > .i { color: var(--suite-text-secondary); }
.banner .body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.banner .title { display: block; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); color: var(--suite-text); }
/* An alert beside what it concerns: the same anatomy at a smaller pad, its fixes keep their full width and sit on the first line of the message. */
.inline-alert { align-items: center; padding: var(--suite-space-2) var(--suite-space-3); }
.inline-alert .btn { flex: none; white-space: nowrap; }
.inline-alert > .i { margin-top: 0; }
/* Toast: bottom right on a desktop, bottom centre above the tab bar and the device safe area on a phone. One shows at a time. */
.toast-region { position: fixed; z-index: var(--suite-z-toast); right: var(--suite-toast-inset); bottom: var(--suite-toast-bottom); max-width: calc(100vw - var(--suite-toast-inset) * 2); display: flex; justify-content: flex-end; pointer-events: none; }
/* While the freshness pill shows, a toast sits above it instead of over it. */
body:has(.live-cue:not(:empty)) .toast-region { bottom: calc(var(--suite-toast-bottom) + var(--suite-cue-clear)); }
/* The live stream's freshness cue: empty while the screen is current, one muted line in the corner once updates have stopped a while. Fixed, so it never moves the page. */
.live-cue { position: fixed; z-index: var(--suite-z-toast); right: var(--suite-space-4); bottom: var(--suite-space-4); max-width: var(--suite-panel); padding: var(--suite-space-1) var(--suite-space-3); border-radius: var(--suite-radius-full); background: var(--suite-surface); color: var(--suite-text-secondary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); box-shadow: var(--suite-shadow-overlay); pointer-events: none; }
.live-cue:empty { display: none; }
@media (max-width: 767px) { .live-cue { bottom: calc(var(--suite-tabbar-total) + var(--suite-space-2)); } }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: var(--suite-space-3); width: fit-content; max-width: var(--suite-toast-w); min-height: var(--suite-touch); padding: var(--suite-space-3) var(--suite-space-3) var(--suite-space-3) var(--suite-space-4);
  border-radius: var(--suite-radius-lg); background: var(--suite-surface-inverse); color: var(--suite-text-inverse); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); box-shadow: var(--suite-shadow-overlay); animation: rise var(--suite-duration-base) var(--suite-ease-out);
}
.toast-text { min-width: 0; overflow-wrap: anywhere; text-wrap: pretty; }
.toast :focus-visible { outline-color: var(--suite-focus-on-inverse); }
.toast .btn { flex: none; min-height: var(--suite-control-sm); background: transparent; color: var(--suite-text-inverse); text-decoration: underline; text-underline-offset: var(--suite-space-half); }
.toast .btn:hover { background: var(--suite-inverse-hover); }
.toast .btn.ghost { color: var(--suite-text-inverse); }
.toast .btn.btn-icon { text-decoration: none; }
.toast > .i { flex: none; color: var(--suite-success-on-inverse); }
.toast.danger > .i { color: var(--suite-danger-on-inverse); }
.toast.warn > .i { color: var(--suite-warning-on-inverse); }
.toast.info > .i { color: var(--suite-info-on-inverse); }
.toast.is-leaving { opacity: 0; transition: opacity var(--suite-duration-fast) var(--suite-ease-out); }
@media (max-width: 767px) {
  .toast-region { left: var(--suite-toast-inset); bottom: var(--suite-toast-bottom-phone); justify-content: center; }
  body:has(.live-cue:not(:empty)) .toast-region { bottom: calc(var(--suite-toast-bottom-phone) + var(--suite-cue-clear)); }
  .toast { width: 100%; max-width: none; }
}
/* The banner slot is the content's first child: full content width at the top of the content and in flow (5.18), so it never covers a row. Toasts and the freshness cue keep their own fixed places. The focus shell of a one-task setup draws no slot. */
.notify-banner { flex: none; }
.notify-banner:empty, .shell[data-focus] .notify-banner { display: none; }
.notify-banner[data-enter] { animation: notify-banner-in var(--suite-duration-base) var(--suite-ease-out); }
@keyframes notify-banner-in { from { opacity: 0; translate: 0 var(--suite-space-2); } }
/* A full-bleed module host has no content padding, so the banner above it keeps the page's inset. */
.content:has(> .module-host[data-layout="full"]) > .notify-banner:not(:empty) { margin: var(--suite-space-4) var(--suite-gutter); }
@media (max-width: 767px) {
  /* On a phone the text takes the full width beside the icon and close, and the action sits on its own row under the text, so the banner stays short. */
  .notify-banner .banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; padding: var(--suite-space-2) var(--suite-space-3); }
  .notify-banner .banner > .body { grid-column: 2; }
  /* On a phone the kind word runs into the text and the text stops at two lines; the full text is still read out, and the action opens the screen that explains it. */
  .notify-banner .banner > .body > .title { display: inline; margin-inline-end: var(--suite-space-1); }
  .notify-banner .banner > .body > div { display: inline; }
  .notify-banner .banner > .body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .notify-banner .banner > [data-banner-close] { grid-column: 3; grid-row: 1; }
  .notify-banner .banner > [data-banner-action] { grid-column: 2 / -1; justify-self: start; }
}
.notify-banner .banner { align-items: center; }
.notify-banner .banner .btn { flex: none; white-space: nowrap; }
@keyframes rise { from { transform: translateY(var(--suite-space-2)); opacity: 0; } }
/* Nothing yet: in place of the region it fills, centred, with an icon, a title, one sentence and one action. Inside a card narrower than 320 it is left-aligned. */
.empty { display: flex; flex-direction: column; align-items: center; gap: var(--suite-space-1); padding: var(--suite-space-12) var(--suite-space-4) var(--suite-space-4); text-align: center; container-type: inline-size; }
.empty .kind { flex: none; margin-bottom: var(--suite-space-2); color: var(--suite-text-tertiary); }
.empty h3 { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); color: var(--suite-text); }
.empty p { max-width: 44ch; color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); text-wrap: pretty; }
.empty .cluster { justify-content: center; margin-top: var(--suite-space-3); }
@container (max-width: 320px) { .empty { align-items: flex-start; text-align: left; } .empty .cluster { justify-content: flex-start; } }
/* Nothing waiting: one calm line with no icon and no action. */
.first-run { max-width: var(--suite-dialog-md); margin: 0 auto; }
.first-run-next { margin-top: var(--suite-space-3); text-align: center; color: var(--suite-text-tertiary); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); }
.empty.calm { padding: var(--suite-space-3) var(--suite-space-4); align-items: flex-start; text-align: left; }
.empty.calm p { color: var(--suite-text-secondary); }
/* Skeleton: content regions only, drawn after 300ms so a fast load never flashes one. The sweep is static under reduced motion. */
.skeleton { background: linear-gradient(90deg, var(--suite-fill-hover), var(--suite-fill-selected), var(--suite-fill-hover)); background-size: 200% 100%; animation: skeleton-reveal 0s linear var(--suite-duration-slow) backwards, shimmer 1.4s linear infinite; border-radius: var(--suite-radius-sm); height: var(--suite-row); }
.skeleton.bar { height: var(--suite-space-3); }
@keyframes skeleton-reveal { from { visibility: hidden; } }
@keyframes shimmer { to { background-position: -200% 0; } }
/* Data already on screen that is being fetched again keeps its render, dimmed, instead of a skeleton. */
.is-refreshing { opacity: 0.6; transition: opacity var(--suite-duration-fast) var(--suite-ease-out); }
/* Spinner: one in-flight action, in a button, in a field or beside a row. */
.spinner { display: inline-block; flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); border: var(--suite-ring-width) solid currentColor; border-right-color: transparent; border-radius: var(--suite-radius-full); animation: spin 700ms linear infinite; }

/* Needs you queue: bell, panel, tabs and rows. Drawn by src/notify/. Spec: docs/DESIGN-SYSTEM-SUITE.md 5.33 and 6.14. */
.badge.warn { background: var(--suite-warning-bg); color: var(--suite-warning-fg); box-shadow: inset 0 0 0 var(--suite-border-width) var(--suite-warning-border); }
.notify-bell-host { position: relative; display: inline-flex; }
.notify-bell { position: relative; }
.notify-bell .notify-count { position: absolute; top: calc(-1 * var(--suite-space-1)); right: calc(-1 * var(--suite-space-1)); transform-origin: center; background: var(--suite-primary); color: var(--suite-on-primary); }
.notify-count.accent { background: var(--suite-primary); color: var(--suite-on-primary); }
.notify-count.is-stale { background: transparent; color: var(--suite-text); box-shadow: inset 0 0 0 var(--suite-space-half) var(--suite-text-tertiary); }
.notify-count.is-bumped { animation: notify-bump var(--suite-duration-base) var(--suite-ease-out); }
@keyframes notify-bump { 50% { transform: scale(1.1); } }
/* The panel is drawn on the document body and anchored by the bell's measured position, so no blurred ancestor becomes its containing block. */
.notify-panel {
  position: fixed; top: calc(max(var(--notify-top, var(--suite-topbar)), var(--suite-topbar)) + var(--suite-space-2)); right: var(--notify-right, 0); z-index: var(--suite-z-tray); width: var(--suite-panel); max-width: calc(100vw - var(--suite-space-4));
  max-height: min(32.5rem, calc(100vh - var(--suite-topbar) - var(--suite-space-6))); overflow-y: auto; padding: 0;
  background: var(--suite-surface-overlay); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-xl); box-shadow: var(--suite-shadow-overlay); animation: notify-in var(--suite-duration-base) var(--suite-ease-out);
}
.notify-panel[hidden] { display: none; }
@keyframes notify-in { from { opacity: 0; } }
/* While a toast shows, the panel stops above it so the toast never covers a row's actions. */
body:has(.toast) .notify-panel { max-height: min(32.5rem, calc(100vh - var(--suite-topbar) - var(--suite-space-8) - var(--suite-toast-bottom) - var(--suite-touch) * 2)); }
.notify-view { display: flex; flex-direction: column; }
/* The route is a page, so its list keeps the page's own spacing between the heading, tabs and rows. */
.notify-view[data-variant="route"] { gap: var(--suite-space-3); }
.notify-head { display: flex; align-items: center; gap: var(--suite-space-2); }
/* The panel scrolls inside itself, so its header and tabs stay at the top of the list. */
.notify-panel .notify-head { position: sticky; top: 0; z-index: var(--suite-z-sticky); min-height: var(--suite-topbar); padding: 0 var(--suite-space-3) 0 var(--suite-space-4); background: var(--suite-surface-overlay); }
.notify-head .notify-total { margin-left: auto; }
.notify-title { margin: 0; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); }
.notify-title:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-space-half); }
.notify-head-actions { display: inline-flex; align-items: center; gap: var(--suite-space-1); margin-left: auto; }
/* Two underline tabs under the header; the active tab's count reads as 12px tertiary text. */
.notify-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: var(--suite-border-width) solid var(--suite-border); }
.notify-panel .notify-tabs { position: sticky; top: var(--suite-topbar); z-index: var(--suite-z-sticky); padding-inline: var(--suite-space-2); background: var(--suite-surface-overlay); }
.notify-tab { position: relative; display: inline-flex; align-items: center; gap: var(--suite-space-2); min-height: var(--suite-control-xl); padding: 0 var(--suite-space-3); border: 0; background: transparent; font: inherit; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); color: var(--suite-text-secondary); cursor: pointer; white-space: nowrap; }
.notify-tab:hover { color: var(--suite-text); }
.notify-tab:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: calc(-1 * var(--suite-ring-width)); border-radius: var(--suite-radius-sm); }
.notify-tab[aria-selected="true"] { color: var(--suite-text); }
.notify-tab[aria-selected="true"]::after { content: ""; position: absolute; left: var(--suite-space-3); right: var(--suite-space-3); bottom: calc(-1 * var(--suite-border-width)); height: var(--suite-ring-width); background: var(--suite-text); }
.notify-tab-count { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-regular); color: var(--suite-text-tertiary); font-variant-numeric: tabular-nums; }
.notify-tabpanel { display: flex; flex-direction: column; }
.notify-tabpanel[hidden] { display: none; }
.notify-panel .notify-tabpanel { padding: var(--suite-space-2) 0 var(--suite-space-3); }
.notify-group-head { display: flex; align-items: center; gap: var(--suite-space-2); margin: 0; padding: var(--suite-space-2) var(--suite-space-4) var(--suite-space-1); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); color: var(--suite-text-secondary); }
.notify-group + .notify-group { margin-top: var(--suite-space-2); }
.notify-list { list-style: none; margin: 0; padding: 0; }
/* A row is one line of title over one line of meta, a dot for unread at its left, and a menu at its right. */
.notify-panel .queue-item {
  position: relative; display: grid; grid-template-columns: var(--suite-space-2) var(--suite-icon-20) minmax(0, 1fr) auto; align-items: start; column-gap: var(--suite-space-3);
  min-height: var(--suite-row-2); padding: var(--suite-space-2) var(--suite-space-3) var(--suite-space-2) var(--suite-space-4); background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.notify-panel .queue-item + .queue-item { border-top: var(--suite-border-width) solid var(--suite-border); }
.notify-panel .queue-item:hover, .notify-panel .queue-item:focus-within { background: var(--suite-fill-hover); }
.notify-panel .queue-item .actions { grid-column: 3; grid-row: 2; justify-content: flex-start; }
.notify-panel .queue-item .notify-more { grid-column: 4; grid-row: 1; }
.notify-dot { grid-column: 1; align-self: start; width: var(--suite-space-2); height: var(--suite-space-2); margin-top: var(--suite-space-2); border-radius: var(--suite-radius-full); background: transparent; }
.notify-row.is-unseen .notify-dot { background: var(--notify-product); }
/* Each row carries its source product: the dot and mark take that product's own hue, whichever product is open. */
.notify-row { --notify-product: var(--suite-product-outreach); --notify-product-soft: var(--suite-product-outreach-soft); }
.notify-row[data-product="social"] { --notify-product: var(--suite-product-social); --notify-product-soft: var(--suite-product-social-soft); }
.notify-row[data-product="studio"] { --notify-product: var(--suite-product-studio); --notify-product-soft: var(--suite-product-studio-soft); }
.notify-mark { grid-column: 2; display: inline-flex; align-items: center; justify-content: center; width: var(--suite-icon-20); height: var(--suite-icon-20); margin-top: var(--suite-space-half); border-radius: var(--suite-radius-sm); background: var(--notify-product-soft); color: var(--notify-product); }
.notify-mark .i { width: var(--suite-icon-16); height: var(--suite-icon-16); }
.notify-panel .queue-item > .kind { grid-column: 2; margin-top: var(--suite-space-half); color: var(--suite-text-secondary); }
.notify-panel .queue-item > .grow { grid-column: 3; min-width: 0; }
.notify-row .actions { flex-wrap: wrap; justify-content: flex-end; }
.notify-row .title { display: inline-flex; align-items: center; min-height: var(--suite-control-sm); color: var(--suite-text); text-decoration: none; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-regular); }
/* An unread title is weight 500: unread is never colour alone. */
.notify-row.is-unseen .title { font-weight: var(--suite-weight-medium); }
.notify-row .title:hover { text-decoration: underline; }
.notify-row .sub { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
/* A chip in the list wraps inside its row at every width, so a long brand or agent name never widens the panel. */
.notify-panel .chip, .notify-route .chip { height: auto; min-height: var(--suite-chip-h); min-width: 0; max-width: 100%; padding-block: var(--suite-space-half); white-space: normal; }
.notify-error { color: var(--suite-danger-fg); margin: var(--suite-space-1) 0 0; }
.notify-past .title { color: var(--suite-text-secondary); font-weight: var(--suite-weight-regular); }
/* Everything else shows its list open and without a disclosure; the details element stays so a closed list never hides history from a script. */
.notify-earlier summary { display: flex; align-items: center; min-height: var(--suite-control-md); padding-inline: var(--suite-space-4); cursor: pointer; color: var(--suite-text-secondary); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
.notify-tabpanel .notify-earlier > summary { display: none; }
.notify-checking { margin: 0; padding: var(--suite-space-4); }
.notify-skeleton { display: flex; flex-direction: column; gap: var(--suite-space-2); padding: var(--suite-space-3) var(--suite-space-4); }
.notify-skeleton .skeleton { height: var(--suite-row-2); }
.notify-when { white-space: nowrap; }
.notify-attribution { max-width: 100%; }
.notify-more { position: relative; display: inline-flex; }
/* The row menu shows on hover and focus, and always where there is no hover. */
.notify-row .notify-more > .btn { opacity: 0; }
.notify-row:hover .notify-more > .btn, .notify-row:focus-within .notify-more > .btn, .notify-row .notify-more > .btn[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .notify-row .notify-more > .btn { opacity: 1; } }
.notify-menu { top: calc(100% + var(--suite-space-1)); right: 0; margin: 0; padding-inline-start: 0; list-style: none; }
/* In the panel the menu opens leftwards from the right-hand button and stays inside the scroll container. */
.notify-panel .notify-menu { left: auto; right: 0; }
.notify-drafts-toggle { margin-top: var(--suite-space-1); }
.notify-drafts { display: flex; flex-direction: column; gap: var(--suite-space-2); margin-top: var(--suite-space-2); }
.notify-drafts[hidden] { display: none; }
.notify-draft { display: flex; align-items: flex-start; gap: var(--suite-space-2); padding-block: var(--suite-space-1); }
.notify-draft .actions { display: flex; flex: none; gap: var(--suite-space-1); }
.notify-failed { display: flex; flex-direction: column; align-items: flex-start; gap: var(--suite-space-2); padding: var(--suite-space-4); }
.notify-failed p, .notify-stale { margin: 0; }
.notify-stale { padding: var(--suite-space-2) var(--suite-space-4); }
.notify-panel .empty { padding: var(--suite-space-8) var(--suite-space-4); }
.notify-empty-title { margin: 0; font-weight: var(--suite-weight-semibold); }
.notify-confirm-q { margin: 0; font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.notify-route { display: flex; flex-direction: column; gap: var(--suite-space-4); max-width: var(--suite-reading-w); }
@media (prefers-reduced-motion: reduce) { .notify-count.is-bumped, .notify-panel { animation: none; } }
/* Phone: the panel is a full-height sheet above the tab bar, and every target is touch size. */
@media (max-width: 767px) {
  .notify-panel { position: fixed; top: var(--suite-topbar); right: 0; bottom: var(--suite-tabbar-total); left: 0; width: auto; max-width: none; max-height: none; border-width: var(--suite-border-width) 0 0; border-radius: 0; }
  .notify-bell .notify-count { top: calc(-1 * var(--suite-space-half)); right: calc(-1 * var(--suite-space-half)); }
  .notify-tab { min-height: var(--suite-touch); }
  .notify-panel .notify-tabs { top: var(--suite-topbar); }
  body:has(.toast) .notify-panel { max-height: none; bottom: calc(var(--suite-toast-bottom-phone) + var(--suite-touch) * 2); }
  .notify-row .title { min-height: var(--suite-touch); }
  .notify-more { position: static; }
  .notify-panel .notify-menu, .notify-menu { left: var(--suite-toast-inset); right: var(--suite-toast-inset); width: auto; min-width: 0; }
}

/* Onboarding: one form column; the sentence saying where the person is sits under the heading. */
.onb { display: flex; flex-direction: column; gap: var(--suite-space-6); width: min(var(--suite-form-w), 100%); margin-inline: auto; }
.onb-side { order: -1; color: var(--suite-text-secondary); }
.onb-list { margin: 0; padding-left: var(--suite-space-5); }
.break-all { word-break: break-all; }
.onb .stepper { gap: 0; flex-wrap: nowrap; }
.onb .stepper a, .onb .stepper span { padding: 0 var(--suite-space-1); gap: var(--suite-space-1); }
.onb .stepper a:not([aria-current="step"]) .lbl, .onb .stepper span:not([aria-current="step"]) .lbl { display: none; }
.onb progress.bar { display: block; width: 100%; appearance: none; border: 0; }
.onb progress.bar::-webkit-progress-bar { background: var(--suite-fill-selected); }
.onb progress.bar::-webkit-progress-value { background: var(--suite-primary); border-radius: var(--suite-radius-full); }
.onb progress.bar::-moz-progress-bar { background: var(--suite-primary); border-radius: var(--suite-radius-full); }
.onb progress.bar.warn::-webkit-progress-value { background: var(--suite-warning-fg); }
.onb progress.bar.warn::-moz-progress-bar { background: var(--suite-warning-fg); }

/* Sign-in: one centred card, 400 wide, before there is a session. */
.gate { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: var(--suite-space-8) var(--suite-space-4); }
.gate-col { width: min(var(--suite-gate-w), 100%); display: flex; flex-direction: column; align-items: stretch; gap: var(--suite-space-6); }
.gate-brand { display: flex; flex-direction: column; align-items: center; gap: var(--suite-space-3); font-size: var(--suite-type-28); line-height: var(--suite-leading-36); font-weight: var(--suite-weight-semibold); letter-spacing: -0.01em; color: var(--suite-text); }
.gate-mark { width: var(--suite-logo-lg); height: var(--suite-logo-lg); }
.gate .card { padding: var(--suite-space-6); gap: var(--suite-space-5); }
.gate .stack-sm { text-align: center; }
.gate .cluster { justify-content: center; }
.gate .btn.lg { flex: 1 1 auto; }
.gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--suite-space-2) var(--suite-space-4); }

/* Brand setup: a focus column for the website step and a split with the found panel for the review. Setup belongs to no product, so progress and spinners are ink. */
.setup-steps { display: flex; flex-direction: column; gap: var(--suite-space-2); margin-bottom: var(--suite-space-8); }
.setup-step-words { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.setup-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--suite-space-2); }
.setup-bar span { height: var(--suite-space-1); border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); }
.setup-bar span.on { background: var(--suite-primary); }
.setup-col, .setup-form, .setup-sections, .setup-section { display: flex; flex-direction: column; }
.setup-col { gap: var(--suite-space-6); }
.setup-form { gap: var(--suite-space-6); }
.setup-title { margin: 0 0 var(--suite-space-2); font-size: var(--suite-type-28); line-height: var(--suite-leading-36); font-weight: var(--suite-weight-semibold); }
.setup-lede { margin: 0 0 var(--suite-space-8); font-size: var(--suite-type-14); line-height: var(--suite-leading-22); color: var(--suite-text-secondary); }
.setup-col > .setup-title + .setup-lede { margin-bottom: var(--suite-space-2); }
.setup-field { display: flex; flex-direction: column; gap: var(--suite-space-2); }
.setup-field label { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); }
.setup-field .hint, .setup-note { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.setup-field .err { display: flex; align-items: flex-start; gap: var(--suite-space-1); margin-top: calc(-1 * var(--suite-space-1)); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-danger-fg); }
.setup-field .err .i { flex: none; width: var(--suite-icon-16); height: var(--suite-icon-16); margin-top: var(--suite-space-half); color: var(--suite-danger-fg); }
.input.hero, .select.hero, .btn.hero { height: var(--suite-control-hero); min-height: var(--suite-control-hero); }
.input.hero, .select.hero { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); width: 100%; }
.btn.hero { padding: 0 var(--suite-space-4); font-size: var(--suite-type-16); }
.select.xl { width: 100%; }
.link-btn { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--suite-text); }
.setup-read { display: flex; flex-direction: column; gap: var(--suite-space-4); padding: var(--suite-space-6); }
.setup-card-title { margin: 0; font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.setup-line { height: var(--suite-space-half); background: var(--suite-fill-selected); overflow: hidden; }
.setup-line span { display: block; width: 40%; height: 100%; background: var(--suite-primary); animation: setup-slide 1.4s ease-in-out infinite; }
@keyframes setup-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.setup-found-row, .setup-page-row { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-row); }
.setup-found-row .muted { margin-left: auto; color: var(--suite-text-secondary); }
.setup-review { margin-top: var(--suite-space-16); }
.setup-sections { gap: var(--suite-space-10); }
.setup-section { gap: var(--suite-form-gap); }
.setup-section-title { margin: 0; font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.setup-chips { display: flex; flex-wrap: wrap; gap: var(--suite-space-2); }
.chip-x { display: inline-flex; margin-left: var(--suite-space-1); padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.setup-add { display: flex; gap: var(--suite-space-2); }
.setup-add .input { flex: 1; min-width: 0; }
.setup-proof { display: flex; justify-content: space-between; align-items: center; gap: var(--suite-space-4); min-height: var(--suite-row); font-size: var(--suite-type-14); line-height: var(--suite-leading-22); }
.setup-proof.unlinked { padding: var(--suite-space-2) var(--suite-space-3); border: var(--suite-border-width) solid var(--suite-warning-border); border-radius: var(--suite-radius-lg); }
.setup-warn { display: inline-flex; align-items: center; gap: var(--suite-space-1); flex: none; font-size: var(--suite-type-12); color: var(--suite-warning-fg); }
.setup-create { display: flex; flex-direction: column; gap: var(--suite-space-2); margin-top: var(--suite-space-10); }
.setup-found { display: flex; flex-direction: column; gap: var(--suite-space-2); padding: var(--suite-space-6); }
.setup-host { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.setup-path { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); min-width: 0; overflow-wrap: anywhere; }
.setup-page-row { justify-content: space-between; border-top: var(--suite-border-width) solid var(--suite-border); }
.setup-found-foot { display: flex; justify-content: flex-end; }
.setup-disclosure { margin-bottom: var(--suite-space-6); }
.setup-disclosure summary { display: flex; align-items: center; min-height: var(--suite-row); cursor: pointer; font-size: var(--suite-type-14); font-weight: var(--suite-weight-medium); }
.setup-disclosure .setup-found { padding: 0; border: 0; box-shadow: none; }
@media (min-width: 1100px) { .setup-disclosure { display: none; } }
@media (max-width: 1099px) { .split-aside .setup-found { display: none; } }
/* Under 768 the primary and Back sit in a raised bottom bar that clears the safe area. */
@media (max-width: 767px) {
  .setup-create { position: sticky; bottom: 0; z-index: var(--suite-z-actionbar); margin-inline: calc(-1 * var(--suite-space-4)); padding: var(--suite-space-4); padding-bottom: calc(var(--suite-space-4) + env(safe-area-inset-bottom)); background: var(--suite-surface); box-shadow: var(--suite-shadow-raised); }
  .setup-review { margin-top: var(--suite-space-6); }
}

/* Brand kit */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--suite-search-w), 1fr)); gap: var(--suite-space-3); }
/* Every picture holds a calm ground until its file arrives, so a slow load never shows a hole. Images are never filtered; the inset ring separates a white image from a white page and a black one from a black page. */
img { background: var(--suite-surface-subtle); }
.kit-tile { margin: 0; display: flex; flex-direction: column; gap: var(--suite-space-2); min-width: 0; }
.kit-logo { display: flex; align-items: center; justify-content: center; height: calc(var(--suite-space-16) + var(--suite-space-8)); padding: var(--suite-space-4); border-radius: var(--suite-radius-lg); background: var(--suite-surface-subtle); box-shadow: inset 0 0 0 var(--suite-border-width) var(--suite-brand-ring); }
.kit-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: transparent; }
.kit-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--suite-radius-lg); background: var(--suite-surface-subtle); outline: var(--suite-border-width) solid var(--suite-image-ring); outline-offset: calc(var(--suite-border-width) * -1); }
/* Media library: a grid of 160 minimum tiles. An img carries width and height attributes, which become its CSS height unless the rule sets height, so the tile fixes height:auto and lets aspect-ratio plus object-fit:contain draw every file whole. */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(var(--suite-space-16) * 2.5), 1fr)); gap: var(--suite-space-4); padding: 0 var(--suite-space-4) var(--suite-space-4); }
.media-tile { margin: 0; display: flex; flex-direction: column; gap: var(--suite-space-2); min-width: 0; }
.media-thumb { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--suite-radius-lg); background: var(--suite-surface-subtle); box-shadow: inset 0 0 0 var(--suite-border-width) var(--suite-image-ring); color: var(--suite-text-tertiary); }
img.media-thumb { outline: var(--suite-border-width) solid var(--suite-image-ring); outline-offset: calc(var(--suite-border-width) * -1); box-shadow: none; }
.media-upload { display: flex; flex-direction: column; gap: var(--suite-space-3); }
@media (min-width: 768px) { .media-upload { flex-direction: row; align-items: flex-end; } .media-upload .field { flex: 1 1 auto; } }
.kit-specimen { display: flex; flex-direction: column; gap: var(--suite-space-2); }
.kit-sample { font-size: var(--suite-type-14); line-height: var(--suite-leading-22); color: var(--suite-text); }
.kit-sample.heading { font-size: var(--suite-type-28); line-height: var(--suite-leading-36); font-weight: var(--suite-weight-semibold); }
.kit-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--suite-space-16), 1fr)); gap: var(--suite-space-3); }
.kit-swatch { display: flex; flex-direction: column; gap: var(--suite-space-1); min-width: 0; }
.kit-chip { display: block; width: 100%; height: var(--suite-space-12); border-radius: var(--suite-radius-md); box-shadow: inset 0 0 0 var(--suite-border-width) var(--suite-brand-ring); }
/* Brand settings groups. A logo made for dark grounds sits on the inverse surface. */
.kit-logo.on-dark { background: var(--suite-surface-inverse); }
.brand-list { padding: 0 var(--suite-space-2) var(--suite-space-2); }
.brand-group { padding: 0 var(--suite-space-2) var(--suite-space-3); }
.brand-note { padding: var(--suite-space-2) var(--suite-space-3); }
.brand-wrap { flex-wrap: wrap; }

/* Calendar grid */
.cal { display: grid; grid-template-columns: var(--suite-cal-label) repeat(7, minmax(0, 1fr)); gap: var(--suite-space-half); }
.cal .cal-head { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); padding: var(--suite-space-2); font-weight: var(--suite-weight-medium); }
.cal .cal-time { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); padding: var(--suite-space-1) var(--suite-space-2); text-align: right; }
.cal .cal-cell { background: var(--suite-surface); min-height: var(--suite-cal-cell); border-radius: var(--suite-radius-sm); padding: var(--suite-space-1); display: flex; flex-direction: column; gap: var(--suite-space-half); }
.cal .cal-cell.today { background: var(--suite-fill-selected); }
.post-pill { display: flex; align-items: center; gap: var(--suite-space-1); padding: var(--suite-space-half) var(--suite-space-2); border-radius: var(--suite-radius-sm); background: var(--suite-surface-subtle); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); cursor: grab; min-width: 0; }
.post-pill.pending { background: var(--suite-warning-bg); }
.post-pill.scheduled { background: var(--suite-fill-selected); }
.post-pill.sent { background: var(--suite-success-bg); }
.post-pill.failed { background: var(--suite-danger-bg); }
.post-pill.slot { background: transparent; color: var(--suite-text-tertiary); outline: var(--suite-border-width) dashed var(--suite-border); outline-offset: calc(-1 * var(--suite-border-width)); cursor: pointer; }

/* Public pages: no shell, Suite neutrals only; a client's logo and glance tile are the only brand marks */
.public { min-height: 100vh; display: grid; place-items: start center; padding: var(--suite-space-10) var(--suite-space-4); background: var(--suite-bg); }
.public .card { width: min(var(--suite-form-w), 100%); padding: var(--suite-space-6); }

/* The side panel needs room beside the sidebar: below 1100 px it stacks under the list, the same width at which the screens switch between wide and narrow behaviour. */
@media (max-width: 1099px) {
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; max-height: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Between a phone and a laptop the rail collapses to 56: the brand tile, a 40px icon button per entry with its name as a tooltip, a dot for a count, and the avatar alone in the footer. */
@media (min-width: 768px) and (max-width: 1099px) {
  .shell { grid-template-columns: var(--suite-rail-collapsed) minmax(0, 1fr); }
  .topbar { padding: 0 var(--suite-space-6) 0 0; }
  .topbar > .station { min-width: 0; }
  .rail-head, .rail-foot { padding: 0; justify-content: center; }
  .rail-body { padding-inline: var(--suite-space-2); align-items: center; }
  .sidebar .nav-group { width: 100%; align-items: center; }
  .sidebar .nav-label, .sidebar .nav-item > span:not(.badge):not(.pmark), .sidebar .entity-switcher .grow, .sidebar .entity-switcher > .i, .account-btn .grow, .account-btn > .i { display: none; }
  .sidebar .nav-item { position: relative; justify-content: center; width: var(--suite-control-xl); height: var(--suite-control-xl); padding: 0; }
  .sidebar .nav-item .badge, .sidebar .nav-item .nav-slot { position: absolute; top: var(--suite-space-2); right: var(--suite-space-2); margin: 0; min-width: 0; }
  .sidebar .nav-item .badge { width: var(--suite-space-2); min-width: 0; height: var(--suite-space-2); padding: 0; overflow: hidden; font-size: 0; }
  .sidebar .nav-item .dot { position: absolute; top: var(--suite-space-2); right: var(--suite-space-2); margin: 0; }
  .sidebar .entity-switcher, .account-btn { justify-content: center; width: var(--suite-control-xl); padding: 0; }
  #account-menu { width: var(--suite-menu-w); }
  /* The search trigger narrows to its icon first when the bar is short of room. */
  .topbar .search-field { width: var(--suite-control-md); padding: 0; justify-content: center; }
  .topbar .search-field > span { display: none; }
}
@media (min-width: 1440px) { .topbar { padding: 0 var(--suite-space-8) 0 0; } }

@media (max-width: 767px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; z-index: var(--suite-z-drawer); left: 0; top: 0; height: 100dvh; width: var(--suite-drawer-sm); background: var(--suite-surface-dialog); box-shadow: var(--suite-shadow-overlay);
    transform: translateX(-100%); visibility: hidden; transition: transform var(--suite-duration-base) var(--suite-ease-out), visibility 0s linear var(--suite-duration-base);
  }
  /* A closed drawer is off screen and also out of the Tab order and the accessibility tree; it becomes visible before it slides in and stays so until it has slid out. */
  body.drawer-open .sidebar { transform: none; visibility: visible; transition-delay: 0s; }
  body.drawer-open .drawer-scrim { display: block; }
  .drawer-scrim { display: none; position: fixed; inset: 0; z-index: var(--suite-z-scrim); background: var(--suite-scrim); }
  #account-menu { width: calc(var(--suite-drawer-sm) - var(--suite-space-4)); z-index: calc(var(--suite-z-drawer) + 1); }
  /* Touch-size controls leave a phone bar little room, so the gaps tighten before the title is cut. */
  .topbar { padding: 0 var(--suite-space-2); gap: var(--suite-space-half); }
  /* The brand tile reads first, then the station: the mark and chevron of the product switcher beside the title, which together open the product sheet. */
  .topbar > .station { min-width: 0; padding-right: var(--suite-space-2); order: 0; }
  .topbar > .brand-tile { order: -1; }
  /* Back, when there is history, leads the bar at its edge, ahead of the brand tile. */
  .topbar .menu-btn[data-act="back"] { display: inline-flex; order: -2; }
  .station-divider, .product-trigger .product-name { display: none; }
  .product-trigger { margin-left: 0; min-width: var(--suite-touch); height: var(--suite-touch); }
  .product-trigger > .i { width: var(--suite-icon-12); height: var(--suite-icon-12); }
  /* The product list is a sheet from the bottom at 70dvh, rows 56. */
  #product-menu { position: fixed; top: auto !important; left: 0 !important; right: 0; bottom: 0; width: 100vw; max-width: 100vw; max-height: 70dvh; border-radius: var(--suite-radius-xl) var(--suite-radius-xl) 0 0; z-index: calc(var(--suite-z-drawer) + 1); box-shadow: 0 0 0 100vmax var(--suite-scrim); }
  #product-menu .product-row { height: 3.5rem; }
  .topbar h1 { flex: 0 1 auto; }
  .topbar p#page-title { flex: 0 1 auto; }
  .guide-head { flex-direction: column; align-items: flex-start; }
  .topbar .hide-sm { display: none; }
  .topbar #topbar-primary { width: var(--suite-touch); min-width: 0; min-height: var(--suite-touch); height: var(--suite-touch); padding: 0; border-radius: var(--suite-radius-md); background: var(--suite-surface); color: var(--suite-text); border-color: var(--suite-border-strong); }
  /* The brand tile is the phone's brand switcher, so the current brand is in view with the drawer closed. */
  .topbar .brand-tile { display: inline-flex; }
  .topbar .search-field { width: var(--suite-touch); height: var(--suite-touch); padding: 0; justify-content: center; border-color: transparent; background: transparent; }
  .topbar .search-field > span { display: none; }
  .search-box > .search-toggle { display: inline-flex; min-width: var(--suite-touch); height: var(--suite-touch); }
  .search-box .search-field { display: none; width: 100%; min-width: 0; height: var(--suite-touch); }
  .search-field:focus-within { min-width: 0; }
  .search-box { position: static; flex: none; min-width: 0; }
  .search-box.is-open { flex: 1; min-width: 0; }
  .search-box.is-open > .search-toggle { display: none; }
  .search-box.is-open .search-field { display: flex; }
  body.search-open .topbar > :not(.search-box) { display: none; }
  .search-panel { top: 100%; left: 0; right: 0; width: auto; height: calc(100dvh - var(--suite-topbar) - var(--suite-tabbar-total)); max-height: none; border-radius: 0; box-shadow: none; }
  .search-opt { min-height: var(--suite-touch); }
  .content { padding-bottom: calc(var(--suite-page-bottom) + var(--suite-tabbar-total)); }
  .content:has(> .module-host[data-layout="full"]) { padding: 0; gap: 0; height: calc(100dvh - var(--suite-topbar) - var(--suite-tabbar-total)); }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-sm { display: none !important; }
  .row .row-actions { opacity: 1; }
  /* A mailbox row's figures and chips wrap under the address, and a person's actions sit on their own line, so nothing is squeezed to a word per line. */
  [data-mailbox].row { flex-wrap: wrap; row-gap: var(--suite-space-1); }
  [data-mailbox].row .grow { flex: 1 1 calc(100% - var(--suite-space-8)); }
  [data-mailbox].row > .small, [data-mailbox].row > .chip { white-space: nowrap; }
  .row.top[data-item] { flex-wrap: wrap; }
  .row.top[data-item] > .cluster:last-child { flex: 1 1 100%; padding-inline-start: calc(var(--suite-space-6) + var(--suite-space-3)); }
  /* The tab bar: five fixed tabs of at least 48x48, a 24px icon over a 12px label, no blur; the open tab carries a 2px bar on its top edge. */
  .tabbar {
    box-sizing: border-box; height: var(--suite-tabbar-total);
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; z-index: var(--suite-z-menu); left: 0; right: 0; bottom: 0;
    background: var(--suite-bg); border-top: var(--suite-border-width) solid var(--suite-border); padding: 0 var(--suite-space-1) env(safe-area-inset-bottom);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 0; padding: var(--suite-space-half) 0 0; color: var(--suite-text-secondary); text-decoration: none; font-size: var(--suite-type-12); line-height: 1.15; font-weight: var(--suite-weight-medium); position: relative; min-height: var(--suite-tabbar); min-width: var(--suite-space-12); justify-content: flex-start; text-align: center; overflow-wrap: anywhere; }
  .tabbar a > span:not(.badge) { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tabbar a > .i { width: var(--suite-icon-24); height: var(--suite-icon-24); }
  .tabbar a[aria-current="page"] { color: var(--suite-text); font-weight: var(--suite-weight-semibold); }
  .tabbar a[aria-current="page"] > .i { color: var(--suite-product); }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: calc(-1 * var(--suite-border-width)); left: var(--suite-space-3); right: var(--suite-space-3); height: var(--suite-ring-width); background: var(--suite-product); }
  .tabbar .badge, .tabbar .dot { position: absolute; top: var(--suite-space-1); left: 55%; }
  .tabbar .badge { background: var(--suite-product); color: var(--suite-product-on); }
  .tabbar .dot { left: calc(50% + var(--suite-space-3)); }
  .crumbs li:not(:last-child) { display: none; }
  .crumbs li > .i { display: none; }
  .tbl.stack-sm-rows thead { display: none; }
  .tbl.stack-sm-rows tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: var(--suite-space-2) 0; }
  .tbl.stack-sm-rows td { height: auto; padding: var(--suite-space-half) var(--suite-space-3); }
  .tbl.stack-sm-rows td.num { text-align: left; }
  /* The campaign summary folds to a list row (5.11): brand, the count waiting on a person, Open; the other counts sit behind Open. */
  .tbl[data-campaign-summary] tr { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: var(--suite-space-3); min-height: var(--suite-row-2); padding: 0 var(--suite-space-3); border-bottom: var(--suite-border-width) solid var(--suite-border); }
  .tbl[data-campaign-summary] tbody tr:last-child { border-bottom: 0; }
  .tbl[data-campaign-summary] th, .tbl[data-campaign-summary] td { border: 0; padding: 0; height: auto; background: none; }
  .tbl[data-campaign-summary] td.num:not(.key) { display: none; }
  .tbl[data-campaign-summary] td.num.key { text-align: right; white-space: nowrap; }
  .tbl[data-campaign-summary] tr:hover :is(th, td) { background: none; }
  .actionbar { bottom: calc(var(--suite-tabbar-total) + var(--suite-space-2)); }
  .sticky-sm { position: sticky; bottom: calc(var(--suite-tabbar-total) + var(--suite-space-2)); z-index: var(--suite-z-actionbar); background: var(--suite-surface); padding: var(--suite-space-2); border-radius: var(--suite-radius-lg); box-shadow: var(--suite-shadow-raised); }
  .queue-item { grid-template-columns: var(--suite-icon-20) var(--suite-icon-16) minmax(0, 1fr); align-items: start; }
  .queue-item .actions { grid-column: 3; justify-content: flex-start; flex-wrap: wrap; }
  .sheet { width: 100vw; }
  /* Every control is a full touch target on a phone. */
  .btn, .btn.sm, .btn.lg, .input, .select, .nav-item, .menu-item, .seg button, .seg a, [role="tab"] { min-height: var(--suite-touch); }
  .btn, .btn-icon, .btn-icon.sm, .seg button, .seg a { min-width: var(--suite-touch); }
  .btn.sm, .seg button, .seg a { height: auto; }
  [aria-label="First steps"] .list-summary .btn { min-height: var(--suite-touch); }
  /* A link that names a row's subject is a touch target as tall as a control. */
  a.row-title, .row-title a, .tbl td a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--suite-touch); }
  /* So is the skip link, and a link that stands alone in a sentence as the way to act on it. */
  .skip-link, a.touch-link { display: inline-flex; align-items: center; min-height: var(--suite-touch); }
}
@media (min-width: 768px) { .show-sm { display: none !important; } }

/* Reduced motion: decorative loops stop; the pending spinner stays because it is the only sign of work. */
@media (prefers-reduced-motion: reduce) {
  .skeleton, .sheet, .toast { animation: none; }
}

@media (max-width: 767px) { .onb .btn, .onb .input, .onb .select { min-height: var(--suite-touch); } }

@media (max-width: 767px) { .gate .btn, .gate .input { min-height: var(--suite-touch); } .gate { align-items: flex-start; padding-top: var(--suite-space-12); } }

/* Page compositions (DESIGN-SYSTEM-SUITE.md section 4): overview, workbench, section layout and card grid. Wide screens put context beside the main column; narrower ones stack it. */

/* Card grid: peer cards fill the row and never leave an orphan narrower than the minimum. */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--suite-card-min)), 1fr)); gap: var(--suite-card-gap); align-items: start; min-width: 0; }
.card-grid[data-min="brand"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--suite-brand-card-min)), 1fr)); }

/* Overview: an optional full-width band, a main column and an aside of context panels. */
.overview { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: var(--suite-overview-w); margin-inline: auto; row-gap: var(--suite-section-gap); column-gap: var(--suite-overview-gap); align-items: start; min-width: 0; }
.overview-band, .overview-main, .overview-aside { min-width: 0; }
.overview-band { grid-column: 1 / -1; }
.overview-main { display: flex; flex-direction: column; gap: var(--suite-section-gap); }
.overview-aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--suite-card-min)), 1fr)); gap: var(--suite-card-gap); align-items: start; }
/* Every region of an overview screen (head, notices, body) shares the overview column, a section gap apart, so their left edges agree. `#content`
   is the shell's content column and also the Outreach module's own column inside its shadow root, which has no `.content` rules of its own. */
#content:has(> [data-region] > .overview) { display: flex; flex-direction: column; gap: var(--suite-section-gap); }
#content:has(> [data-region] > .overview) > [data-region] { width: 100%; max-width: var(--suite-overview-w); margin-inline: auto; }
#content:has(> [data-region] > .overview) > [data-region]:empty { display: none; }
/* No card stands alone in half the page: an empty main column gives the aside the full width as a card grid. */
.overview-main:empty { display: none; }
.overview:has(> .overview-main:empty) > .overview-aside { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--suite-card-min)), 1fr)); }

/* Workbench: list, pane and details, full bleed inside the content column. */
.workbench { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; margin-inline: calc(-1 * var(--suite-gutter)); border-block: var(--suite-border-width) solid var(--suite-border); background: var(--suite-surface); }
.workbench-list, .workbench-pane, .workbench-details { min-width: 0; min-height: 0; overflow-y: auto; }
.workbench-pane, .workbench-details { display: none; }
.workbench[data-view="pane"] > .workbench-list { display: none; }
.workbench[data-view="pane"] > .workbench-pane { display: block; }
/* The list, pane and details sit on the workbench's own plane, divided by its hairlines: no inner card edges, and the details keep the pane's inset. */
.workbench-list > .card, .workbench-pane > .panel { border: 0; border-radius: 0; position: static; max-height: none; overflow: visible; }
.workbench-pane > .panel { padding: var(--suite-space-5); }
.workbench-details { padding: var(--suite-space-5); }

/* Focus: one narrow centred column for a single task. Split: a main column with a sticky aside from 1100. */
.focus { width: 100%; max-width: var(--suite-focus-w); margin: var(--suite-space-16) auto 0; display: flex; flex-direction: column; }
.split { width: 100%; max-width: var(--suite-split-w); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--suite-space-6); }
.split-main, .split-aside { min-width: 0; }
@media (max-width: 767px) { .focus { margin-top: var(--suite-space-6); } }

/* Section layout: a section list, the content and an aside. */
.section-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--suite-section-gap); align-items: start; min-width: 0; }
.section-content, .section-aside, .section-content > *, .section-aside > *, .section-content :is(.card, .list, .row, .grow, .cluster, .stack, .stack-sm, .spread) { min-width: 0; }
.section-content :is(table, .tbl-wrap) { max-width: 100%; }
.section-content .tbl-wrap { overflow-x: auto; }
.section-content { display: grid; gap: var(--suite-card-gap); align-content: start; }
.section-content { max-width: var(--suite-reading-w); }
.section-aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--suite-card-min)), 1fr)); gap: var(--suite-card-gap); }
.section-list { display: flex; flex-wrap: nowrap; gap: var(--suite-space-1); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.section-list a { flex: none; white-space: nowrap; }
.section-list a { display: inline-flex; align-items: center; gap: var(--suite-space-2); min-height: var(--suite-control-md); padding: 0 var(--suite-space-3); border-radius: var(--suite-radius-md); color: var(--suite-text-muted); text-decoration: none; }
.section-list a:hover:not([aria-current]) { background: var(--suite-fill-hover); color: var(--suite-text); }
.section-list a[aria-current] { background: var(--suite-fill-selected); color: var(--suite-text); font-weight: var(--suite-weight-medium); }
.section-list .count { margin-inline-start: auto; color: var(--suite-text-muted); }
/* As a strip, the list fades at its right edge while sections lie past it (`data-more`, set by `fitSectionList`). */
.section-list[data-more] { mask-image: linear-gradient(to right, var(--suite-text) calc(100% - var(--suite-space-8)), transparent); }

/* On a phone the open details are a sheet over the list, between the top bar and the tab bar. */
@media (max-width: 767px) {
  .workbench[data-details="open"] > .workbench-details { display: block; position: fixed; inset: var(--suite-topbar) 0 var(--suite-tabbar-total) 0; z-index: var(--suite-z-drawer); overflow-y: auto; background: var(--suite-surface-overlay); }
}

@media (min-width: 768px) {
  .workbench { margin-inline: calc(-1 * var(--suite-gutter)); grid-template-columns: var(--suite-list-pane) minmax(var(--suite-pane-min), 1fr); height: calc(100dvh - var(--suite-topbar) - var(--suite-space-4)); }
  .workbench-list, .workbench-pane { display: block; }
  .workbench-list { border-inline-end: var(--suite-border-width) solid var(--suite-border); }
  .workbench-details { display: none; position: fixed; inset-block: var(--suite-topbar) 0; inset-inline-end: 0; width: var(--suite-drawer-sm); z-index: var(--suite-z-drawer); border-inline-start: var(--suite-border-width) solid var(--suite-border); background: var(--suite-surface-overlay); box-shadow: var(--suite-shadow-overlay); }
  .workbench[data-details="open"] > .workbench-details { display: block; }
}

@media (min-width: 1100px) {
  .workbench { margin-inline: calc(-1 * var(--suite-gutter)); }
  .section-layout { grid-template-columns: var(--suite-settings-nav) minmax(0, var(--suite-reading-w)); gap: var(--suite-section-gap); }
  .split { grid-template-columns: minmax(0, 1fr) var(--suite-split-aside); column-gap: var(--suite-space-16); }
  .split-aside { position: sticky; top: calc(var(--suite-topbar) + var(--suite-space-8)); align-self: start; }
  .section-list { position: sticky; top: calc(var(--suite-topbar) + var(--suite-space-4)); flex-direction: column; overflow-x: visible; }
  .section-aside { grid-column: 2; }
}

@media (min-width: 1280px) {
  .overview { grid-template-columns: minmax(0, 1fr) var(--suite-aside); }
  .overview-aside { grid-template-columns: minmax(0, 1fr); }
  /* With no aside the main column takes the whole overview width. */
  .overview:not(:has(> .overview-aside)) { grid-template-columns: minmax(0, 1fr); }
  .section-layout { grid-template-columns: var(--suite-settings-nav) minmax(0, var(--suite-reading-w)) var(--suite-details-w); }
  .section-aside { grid-column: 3; grid-template-columns: minmax(0, 1fr); }
  /* A screen with no Summary aside gives its content the reading width instead of leaving the aside's column empty. */
  .section-layout:not(:has(> .section-aside)) { grid-template-columns: var(--suite-settings-nav) minmax(0, var(--suite-reading-w)); }
}

@media (min-width: 1440px) {
  .workbench { grid-template-columns: var(--suite-list-pane) minmax(var(--suite-pane-min), 1fr) var(--suite-details-w); }
  .workbench-pane { border-inline-end: var(--suite-border-width) solid var(--suite-border); }
  /* The details are a column here, so the button that opens them as a drawer, and the drawer's own head, are not drawn. */
  .details-toggle { display: none; }
  .workbench-details, .workbench[data-details="open"] > .workbench-details { display: block; position: static; width: auto; z-index: auto; border-inline-start: 0; background: transparent; box-shadow: none; }
}

/* Connections email section: mailbox rows share columns, the Needs attention aside reads as marker then text, and section edges and disclosure rows line up. */
[data-mailbox-row] {
  display: grid; grid-template-columns: var(--suite-space-4) minmax(var(--suite-card-min), 1fr) 20ch 24ch 20ch auto;
  align-items: center; column-gap: var(--suite-space-3);
}
[data-mailbox-row] > [data-cell="warmup"], [data-mailbox-row] > [data-cell="limit"] { white-space: nowrap; }
[data-mailbox-row] > .grow { min-width: 0; flex-wrap: nowrap; }
[data-mailbox-row] > [data-cell="status"], [data-mailbox-row] > [data-cell="actions"] { flex-wrap: nowrap; justify-content: flex-start; }

[data-panel="attention"] [data-attention-row] { display: grid; grid-template-columns: var(--suite-space-2) minmax(0, 1fr); column-gap: var(--suite-space-3); align-items: start; padding-inline: 0; }
[data-attention-text] { overflow-wrap: normal; hyphens: none; word-break: normal; }

/* Region headings and groups sit 24 below what is above them. */
[data-region="email"], [data-region="social"], [data-region="advanced"] { margin-block-start: var(--suite-space-6); }
[data-group="email"] > section[aria-label="Mailboxes"], [data-group="email"] > section[aria-label="Domains"] { margin-block-start: var(--suite-space-6); }

/* Every disclosure row on Connections shares one left edge, left-aligned at every width. */
[data-region="advanced"] > .list-summary, [data-group="email"] .list-summary { padding-inline: 0; justify-content: flex-start; }
[data-region="advanced"] .list-summary .btn, [data-group="email"] .list-summary .btn { width: auto; justify-content: flex-start; text-align: start; }

@media (max-width: 767px) {
  [data-mailbox-row] { grid-template-columns: var(--suite-space-4) minmax(0, 1fr) auto; row-gap: var(--suite-space-1); }
  [data-mailbox-row] > [data-cell="warmup"], [data-mailbox-row] > [data-cell="limit"], [data-mailbox-row] > [data-cell="status"] { grid-row: 2; }
  [data-mailbox-row] > [data-cell="warmup"] { grid-column: 1 / 3; }
  [data-mailbox-row] > [data-cell="limit"] { grid-column: 3; }
  [data-mailbox-row] > [data-cell="status"] { grid-column: 1 / 4; grid-row: 3; }
  [data-mailbox-row] > [data-cell="actions"] { grid-row: 1; grid-column: 3; }
}

/* Row alignment: trailing columns line up row to row, and a row is one height whatever it holds. */

/* Meetings: relative time, reply action and meeting link keep one column each on every row. */
.meeting-trail { display: grid; grid-template-columns: 4rem 7.75rem 9rem; justify-items: start; gap: var(--suite-space-2); }
.meeting-trail > .row-actions { min-width: 0; }

/* Team: the two member actions sit side by side on one line; a wide screen keeps the row one line tall. */
.tbl .col-menu:has(.member-actions) { width: auto; }
.member-actions { display: flex; gap: var(--suite-space-2); white-space: nowrap; justify-content: flex-end; }
.member-actions .btn { white-space: nowrap; flex: none; }

/* Inbox: line one is the name and time, line two the label chip then the preview; every row is one height. */
.inbox-row { min-height: var(--suite-row-inbox); }
.inbox-row .grow { min-width: 0; }
.inbox-line { display: flex; align-items: center; gap: var(--suite-space-2); min-width: 0; }
.inbox-line > .chip { flex: none; }
.inbox-line > .truncate { min-width: 0; flex: 1 1 auto; }

/* Campaign actions: the secondary buttons are one group that adds no box of its own on a wide screen. */
.campaign-rest { display: contents; }

@media (max-width: 767px) {
  /* A campaign card's actions sit under one hairline: the primary on its own full-width row, then the rest in one row of ghost buttons. */
  .tbl td.campaign-actions { border-top: var(--suite-border-width) solid var(--suite-border); margin-top: var(--suite-space-2); padding-top: var(--suite-space-2); }
  .campaign-actions .cluster { flex-direction: column; align-items: stretch; }
  .campaign-actions .cluster > .btn { width: 100%; justify-content: center; }
  .campaign-rest { display: flex; flex-wrap: nowrap; gap: var(--suite-space-2); }
  .campaign-rest > .btn, .campaign-rest > span > .btn { flex: 1 1 0; min-width: 0; justify-content: center; background: transparent; border-color: transparent; color: var(--suite-text-secondary); }
  /* Each meeting is a two-line row: status and the cluster on line one, the reply on line two. */
  [data-meeting-row] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--suite-space-2); align-items: start; }
  [data-meeting-row] > .grow { display: contents; }
  [data-meeting-row] > .grow > .cluster:first-child { grid-column: 2; grid-row: 1; min-width: 0; }
  [data-meeting-row] > .grow > :not(.cluster:first-child) { grid-column: 1 / -1; }
  [data-meeting-row] > .meeting-trail { grid-column: 3; grid-row: 1; display: block; }
  /* Team: each table row is two lines with no column heads, name and role first, then access and actions; the actions keep the right edge. */
  .tbl.team-rows thead { display: none; }
  .tbl.team-rows tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--suite-space-3); row-gap: var(--suite-space-1); align-items: center; padding: var(--suite-space-3) var(--suite-card-pad); border-bottom: var(--suite-border-width) solid var(--suite-border); }
  .tbl.team-rows tbody tr:last-child { border-bottom: 0; }
  .card.flush .tbl.team-rows td:nth-child(n) { height: auto; padding: 0; border: 0; min-width: 0; background: none; }
  .tbl.team-rows td[colspan] { grid-column: 1 / -1; }
  .tbl.team-rows td.col-menu { grid-column: 2; justify-self: end; }
  .tbl.team-rows .member-name { flex-wrap: wrap; min-width: 0; }
  /* Names, handles and emails break where they must, so no text runs past a card on a phone. */
  .team-block { overflow-wrap: anywhere; }
}

/* Shell flows (design system 6.16.1 and 6.16.5): the rail's Accounts group and the focus page frame. */

/* Accounts: a 20 tile holding the platform's logo, the handle (or "Connect <platform>"), and a cue only when the account needs a look. */
.rail-account { position: relative; }
.rail-account > span.truncate { flex: 1 1 auto; min-width: 0; color: var(--suite-text-secondary); }
.rail-account[aria-current="page"] > span.truncate { color: var(--suite-text); }
.rail-account-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--suite-icon-20); height: var(--suite-icon-20); border-radius: var(--suite-radius-sm); background: var(--suite-fill-selected); color: var(--suite-text); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); }
.rail-account-tile .glyph { display: block; color: var(--suite-text); }
.rail-account-tile .glyph-linkedin { color: var(--suite-glyph-linkedin); }
.rail-account-tile .glyph-facebook { color: var(--suite-glyph-facebook); }
.rail-account-tile .glyph-instagram { color: var(--suite-glyph-instagram); }
.rail-account-tile .glyph-youtube { color: var(--suite-glyph-youtube); }
.rail-account-tile .glyph-bluesky { color: var(--suite-glyph-bluesky); }
.rail-account-tile .glyph-pinterest { color: var(--suite-glyph-pinterest); }
.rail-account-tile .glyph-gbp { color: var(--suite-glyph-gbp); }
.rail-account > .dot { margin-left: auto; }
.rail-accounts-error { padding: 0 var(--suite-space-2); }
.sidebar [data-zone="accounts"] > .btn { align-self: flex-start; margin-left: var(--suite-space-2); }

/* Collapsed rail: the 20 tiles only, the cue a dot at the top right. */
@media (min-width: 768px) and (max-width: 1099px) {
  .sidebar .rail-account > span.truncate { display: none; }
  .sidebar .rail-account > .dot { top: var(--suite-space-2); right: var(--suite-space-2); }
  .sidebar .rail-accounts-error, .sidebar [data-zone="accounts"] > .btn { display: none; }
}

/* Focus page: no rail and no tab bar, the content takes the full width, the top bar holds the mark, the page name and the way out. */
.shell[data-focus] { grid-template-columns: minmax(0, 1fr); }
.shell[data-focus] .sidebar, .shell[data-focus] ~ .tabbar { display: none; }
.focus-topbar { padding: 0 var(--suite-space-6); }
.focus-brand { display: flex; align-items: center; gap: var(--suite-space-2); margin-right: auto; min-width: 0; }
.focus-mark { flex: none; width: var(--suite-icon-24); height: var(--suite-icon-24); color: var(--suite-text); }
.focus-title { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }

/* Today (docs/plans/TODAY-R4.md, design system 6.16.2): the All brands cards, the Getting started card and the key numbers. */

/* Brand card: tile and name, health, then what waits and Open. */
.brand-card { display: flex; flex-direction: column; gap: var(--suite-space-4); min-height: calc(var(--suite-space-16) * 2 + var(--suite-space-12)); }
.brand-card-head { display: flex; align-items: center; gap: var(--suite-space-4); min-width: 0; }
.brand-card-tile .avatar { width: var(--suite-control-xl); height: var(--suite-control-xl); }
.brand-card-health { margin: 0; min-height: var(--suite-space-6); }
.brand-card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-4); margin-top: auto; padding-top: var(--suite-space-4); border-top: var(--suite-border-width) solid var(--suite-border); }
.brand-card-menu { position: relative; }
.brand-card-menu > summary { list-style: none; cursor: pointer; }
.brand-card-menu > summary::-webkit-details-marker { display: none; }
.brand-card-menu > .menu { position: absolute; inset-block-start: 100%; inset-inline-end: 0; z-index: var(--suite-z-menu); min-width: calc(var(--suite-space-16) * 3 + var(--suite-space-8)); }
.brand-card-add { align-self: stretch; align-items: flex-start; justify-content: center; text-decoration: none; color: inherit; }
.brands-filter { width: calc(var(--suite-space-16) * 3 + var(--suite-space-12)); }

/* Getting started: the title with the progress bar and its count as one unit at the right; Next steps beside Connect over Your brand from 1100 px, stacked below. */
.getting-started { display: grid; gap: var(--suite-space-6); }
.getting-started-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--suite-space-2) var(--suite-space-6); }
.getting-started-meter { display: flex; align-items: center; gap: var(--suite-space-3); flex: 0 1 calc(var(--suite-space-16) * 4); min-width: 0; }
.getting-started-meter > .bar { flex: 1 1 auto; min-width: var(--suite-space-16); }
.getting-started-meter > [data-band="count"] { flex: none; font-variant-numeric: tabular-nums; }
.getting-started-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--suite-space-6); }
.getting-started-side { display: grid; gap: var(--suite-space-6); align-content: start; min-width: 0; }
.getting-started-side > .getting-started-col + .getting-started-col { padding-top: var(--suite-space-6); border-top: var(--suite-border-width) solid var(--suite-border); }
.getting-started-col { display: grid; gap: var(--suite-space-1); align-content: start; min-width: 0; }
.getting-started-col > h3, .getting-started-title { margin-bottom: var(--suite-space-2); }
.getting-started-title { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-3); min-height: var(--suite-control-sm); }
.band-row > .grow { display: grid; min-width: 0; }
.band-row { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-row); min-width: 0; }
.band-title { overflow-wrap: anywhere; }
/* State is the mark: a green check for done, the product colour for the one next step, a quiet dot and title for later. */
.band-row[data-state="done"] .band-title, .band-row[data-state="later"] .band-title { color: var(--suite-text-secondary); }
.band-row[data-state="done"] > .i { color: var(--suite-success-fg); }
.band-row[data-state="next"] > .dot { background: var(--suite-product, var(--suite-text)); }
.band-row[data-state="next"] .band-title { font-weight: var(--suite-weight-medium); }
[data-band="voice"] { margin-block: var(--suite-space-2); }
[data-band="voice"] .chip { height: auto; min-height: var(--suite-chip-h); white-space: normal; max-width: 100%; overflow-wrap: anywhere; padding-block: var(--suite-space-1); }
@media (min-width: 1100px) {
  .getting-started-cols { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0; }
  .getting-started-cols > :first-child { padding-inline-end: var(--suite-space-8); }
  .getting-started-cols > :last-child { padding-inline-start: var(--suite-space-8); border-inline-start: var(--suite-border-width) solid var(--suite-border); }
}
@media (max-width: 1099px) {
  .getting-started-cols > .getting-started-side { padding-top: var(--suite-space-6); border-top: var(--suite-border-width) solid var(--suite-border); }
}

/* Key numbers that are all zero are drawn quiet: short cells and values in the tertiary colour at 16/24. */
.today-stats[data-quiet] .stat { min-height: 0; padding-block: var(--suite-space-4); flex-direction: row; align-items: baseline; justify-content: space-between; }
.today-stats[data-quiet] .stat .value { color: var(--suite-text-tertiary); font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-regular); }
.today-stats[data-quiet] .stat > :not(.label, .stat-main) { display: none; }

/* The entry frame and panel (src/entry/frame.ts, panel.ts): the split every signed-out screen sits in. A form column and a panel of Kelter at work; under 960 the panel becomes a band above the form. */
.entry { --entry-inset: var(--suite-space-16); min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 30rem minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "top panel" "main panel" "foot panel"; background: var(--suite-bg); color: var(--suite-text); }
@media (min-width: 1280px) { .entry { --entry-inset: 5rem; grid-template-columns: 35rem minmax(0, 1fr); } }
.entry-top { grid-area: top; padding: var(--suite-space-10) var(--entry-inset) 0; }
.entry-brand { color: var(--suite-text); display: inline-flex; }
.entry-lockup { height: var(--suite-icon-20); width: auto; display: block; }
.entry-main { grid-area: main; align-self: center; box-sizing: border-box; width: 100%; max-width: calc(var(--suite-gate-w) + 2 * var(--entry-inset)); padding: var(--suite-space-8) var(--entry-inset); display: flex; flex-direction: column; gap: var(--suite-space-6); }
.entry-foot { grid-area: foot; box-sizing: border-box; width: 100%; max-width: calc(var(--suite-gate-w) + 2 * var(--entry-inset)); padding: 0 var(--entry-inset) var(--suite-space-10); display: flex; flex-direction: column; gap: var(--suite-space-2); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.entry-enter { animation: entry-in var(--suite-duration-base) var(--suite-ease-out); }
@keyframes entry-in { from { opacity: 0; transform: translateY(var(--suite-space-2)); } }

/* The panel: inverse ground, the stage and its caption in one column whose width is the stage's side. */
.entry-panel { grid-area: panel; container-type: size; position: sticky; top: var(--suite-space-4); height: calc(100dvh - var(--suite-space-8)); margin: var(--suite-space-4) var(--suite-space-4) var(--suite-space-4) 0; border-radius: var(--suite-radius-xl); background: var(--suite-surface-inverse); color: var(--suite-text-inverse); overflow: hidden; }
.entry-col { --s: min(35rem, calc(100cqw - 12rem), calc(100cqh - 15.5rem)); position: relative; width: var(--s); margin: 6rem auto 0; }
@container (max-height: 50rem) { .entry-col { margin-top: var(--suite-space-16); } }
.entry-art { display: block; }
.entry-stage { --m: calc(var(--s) / 2); --g: round(calc(var(--s) * 3 / 48), var(--suite-border-width)); --r: calc((var(--m) - var(--g)) / 2); position: relative; width: var(--s); height: var(--s); }
.entry-l { position: absolute; inset: 0; background: var(--suite-bg); color: var(--suite-text); clip-path: polygon(0 0, var(--m) 0, var(--m) var(--m), 100% var(--m), 100% 100%, 0 100%); }
.entry-queue { position: absolute; top: 0; left: 0; box-sizing: border-box; width: var(--m); height: var(--m); padding: var(--suite-space-6); display: flex; flex-direction: column; gap: var(--suite-space-2); overflow: hidden; }
.entry-head { font-size: var(--suite-type-16); line-height: var(--suite-leading-24); font-weight: var(--suite-weight-semibold); }
.entry-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.entry-row { display: flex; align-items: center; gap: var(--suite-space-3); box-sizing: border-box; height: var(--suite-row-2); max-height: var(--suite-row-2); padding: 0 var(--suite-space-2); border-radius: var(--suite-radius-md); overflow: hidden; transition: background var(--suite-duration-base) var(--suite-ease-out), opacity var(--suite-duration-base) var(--suite-ease-out), transform var(--suite-duration-base) var(--suite-ease-out), max-height var(--suite-duration-base) var(--suite-ease-out); }
.entry-row[data-state="selected"] { background: var(--suite-fill-selected); }
.entry-row[data-state="gone"] { opacity: 0; transform: translateX(calc(-1 * var(--suite-space-4))); max-height: 0; }
.entry-row-text { display: flex; flex-direction: column; min-width: 0; }
.entry-row-title { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-row-sub { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-empty { display: none; margin: 0; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.entry-stage[data-done="true"] .entry-empty { display: block; }

/* The item being approved: the three cards share one cell and cross-fade. */
.entry-item { position: absolute; left: 0; right: 0; top: var(--m); bottom: 0; box-sizing: border-box; padding: var(--suite-space-6); display: grid; }
.entry-card { grid-area: 1 / 1; display: flex; flex-direction: column; gap: var(--suite-space-2); min-width: 0; opacity: 0; transition: opacity var(--suite-duration-base) var(--suite-ease-out); font-size: var(--suite-type-14); line-height: var(--suite-leading-22); }
.entry-card[data-active="true"] { opacity: 1; }
.entry-card p { margin: 0; }
.entry-card-empty { color: var(--suite-text-secondary); }
.entry-meta { font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.entry-subject { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); }
.entry-chip { align-self: flex-start; margin-top: auto; }
.entry-handle { display: flex; align-items: center; gap: var(--suite-space-2); font-weight: var(--suite-weight-medium); }
.entry-handle .i { margin-left: auto; width: var(--suite-icon-16); height: var(--suite-icon-16); color: var(--suite-text-tertiary); }
.entry-post { padding: var(--suite-space-4); border-radius: var(--suite-radius-md); background: var(--suite-surface-subtle); font-size: var(--suite-type-20); line-height: var(--suite-leading-28); font-weight: var(--suite-weight-semibold); }
.entry-sheet { display: flex; gap: var(--suite-space-4); }
.entry-logo { display: grid; place-items: center; flex: 1; height: var(--suite-row-2); border-radius: var(--suite-radius-md); background: var(--suite-surface-subtle); }
.entry-logo svg { width: var(--suite-icon-24); height: var(--suite-icon-24); fill: var(--suite-text); }
.entry-logo[data-chosen="true"] { box-shadow: 0 0 0 var(--suite-ring-width) var(--suite-text); }

/* The circle: the symbol's circle, in the top right quarter. It takes a product hue only while that product's item is approved. */
.entry-circle { position: absolute; top: 0; right: 0; width: calc(2 * var(--r)); height: calc(2 * var(--r)); border-radius: var(--suite-radius-full); background: var(--suite-bg); display: grid; place-items: center; transition: background var(--suite-duration-slow) var(--suite-ease-out); }
.entry-circle.approve-outreach { background: var(--suite-entry-approve-outreach); }
.entry-circle.approve-social { background: var(--suite-entry-approve-social); }
.entry-circle.approve-studio { background: var(--suite-entry-approve-studio); }
.entry-check { width: 40%; height: 40%; fill: none; stroke: var(--suite-surface-inverse); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.entry-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--suite-duration-slow) var(--suite-ease-out); }
.entry-circle[class*="approve-"] .entry-check path { stroke-dashoffset: 0; }

.entry-caption { margin-top: var(--suite-space-10); padding-right: var(--suite-touch); }
.entry-voice { font-size: var(--suite-type-20); line-height: var(--suite-leading-28); font-weight: var(--suite-weight-semibold); color: var(--suite-text-inverse); }
.entry-beat { margin-top: var(--suite-space-2); min-height: var(--suite-leading-20); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-inverse-secondary); }
.entry-pause { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: var(--suite-control-md); height: var(--suite-control-md); padding: 0; border: 0; border-radius: var(--suite-radius-md); background: transparent; color: var(--suite-text-inverse); cursor: pointer; }
.entry-pause:hover { background: var(--suite-inverse-hover); }
.entry-pause:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus-on-inverse); outline-offset: var(--suite-ring-width); }
.entry-pause .i { width: var(--suite-icon-16); height: var(--suite-icon-16); }
@media (pointer: coarse) { .entry-pause { width: var(--suite-touch); height: var(--suite-touch); } }

/* Compact set: a small panel shows the head and two one-line rows, and the item shows its title and chip only. */
@container (max-width: 42rem), (max-height: 45.5rem) {
  .entry-queue { padding: var(--suite-space-4); }
  .entry-row { height: var(--suite-control-xl); max-height: var(--suite-control-xl); }
  .entry-row-sub, .entry-card p, .entry-meta, .entry-post, .entry-card-empty { display: none; }
  .entry-row[data-item="studio"]:not([data-state="selected"]):not([data-current="true"]) { display: none; }
  .entry-item { padding: var(--suite-space-4); }
}

/* Under 960 the panel is a band above the form: the stage cropped to the head and one row, the circle at the right, the voice line under it. */
@media (max-width: 959px) {
  .entry { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; grid-template-areas: "top" "panel" "main" "foot"; --entry-inset: var(--suite-space-4); }
  .entry-top { padding-top: var(--suite-space-4); }
  .entry-main, .entry-foot { margin-inline: auto; }
  .entry-main { align-self: start; }
  .entry-panel { position: relative; top: auto; height: 9.5rem; margin: var(--suite-space-6) var(--suite-space-4) 0; }
  .entry-col { width: auto; margin: 0; padding: var(--suite-space-4); }
  .entry-stage { width: 100%; height: 5.5rem; --r: var(--suite-space-8); }
  .entry-l { clip-path: none; right: auto; width: 16rem; }
  .entry-queue { position: static; width: auto; height: 100%; padding: var(--suite-space-3); }
  .entry-item, .entry-beat, .entry-empty { display: none; }
  .entry-row { height: var(--suite-control-xl); max-height: var(--suite-control-xl); }
  .entry-row:not([data-current="true"]), .entry-row[data-state="gone"] { display: none; }
  .entry-row-sub { display: none; }
  .entry-circle { right: 0; }
  .entry-caption { margin-top: var(--suite-space-2); padding-right: 0; }
  .entry-voice { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); }
  .entry-pause { right: 0; bottom: 0; width: var(--suite-touch); height: var(--suite-touch); }
}
@media (max-width: 767px) {
  .entry-lockup { height: var(--suite-icon-16); }
  .entry-top { padding-top: var(--suite-space-4); }
}

/* The sign-in screens inside the entry frame (src/entry/signin.ts, link.ts): heading, lede, the Google button, the divider, the address form, the resend row and the working line. */
.entry-asked { display: flex; align-items: center; gap: var(--suite-space-2); margin: 0; font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.entry-heads { display: flex; flex-direction: column; gap: var(--suite-space-2); }
.entry-h1 { margin: 0; font-size: var(--suite-type-28); line-height: var(--suite-leading-36); font-weight: var(--suite-weight-semibold); text-wrap: balance; overflow-wrap: anywhere; }
.entry-h1:focus { outline: none; }
.entry-lede { margin: 0; font-size: var(--suite-type-14); line-height: var(--suite-leading-22); color: var(--suite-text-secondary); text-wrap: pretty; }
.entry-address { font-weight: var(--suite-weight-medium); color: var(--suite-text); overflow-wrap: anywhere; }
.entry-hint { margin: 0; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.entry-form { display: flex; flex-direction: column; gap: var(--suite-space-3); }
.entry-main .btn.lg { min-height: var(--suite-control-hero); }
.entry-main .field .input, .entry-main .input.lg { height: var(--suite-control-hero); font-size: var(--suite-type-16); line-height: var(--suite-leading-24); }
.entry-google-btn { justify-content: center; gap: var(--suite-space-2); }
.entry-google { width: var(--suite-icon-20); height: var(--suite-icon-20); flex: none; }
.entry-spinner { width: var(--suite-icon-16); height: var(--suite-icon-16); flex: none; border-radius: var(--suite-radius-full); border: var(--suite-ring-width) solid var(--suite-border); border-top-color: var(--suite-text); animation: entry-spin 800ms linear infinite; }
@keyframes entry-spin { to { transform: rotate(360deg); } }
.entry-or { display: flex; align-items: center; gap: var(--suite-space-3); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.entry-or::before, .entry-or::after { content: ""; flex: 1; height: var(--suite-border-width); background: var(--suite-border); }
.entry-resend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--suite-space-2); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.entry-bar { position: relative; height: var(--suite-ring-width); width: 100%; overflow: hidden; background: var(--suite-border); }
.entry-bar > span { position: absolute; inset-block: 0; width: 40%; background: var(--suite-text); animation: entry-slide 1200ms var(--suite-ease-out) infinite; }
@keyframes entry-slide { from { inset-inline-start: -40%; } to { inset-inline-start: 100%; } }
@media (max-width: 767px) { .entry-lede-tail { display: none; } }
@media (prefers-reduced-motion: reduce) { .entry-spinner, .entry-bar > span { animation: none; } .entry-bar > span { inset-inline-start: 0; width: 100%; } }

/* First-time guides (src/guides/): a ring and one popover for a tour, a small ring for a hint, one in-flow card on a phone. The ring is the product hue and nothing else is coloured by the guide. */
.guide-ring { position: fixed; z-index: var(--suite-z-menu); box-sizing: border-box; border: var(--suite-ring-width) solid var(--suite-product); pointer-events: none; }

.guide-pop { position: fixed; z-index: var(--suite-z-menu); box-sizing: border-box; width: var(--suite-guide-w, 20rem); max-width: calc(100vw - 2 * var(--suite-space-4)); padding: var(--suite-space-4); background: var(--suite-surface-overlay); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); box-shadow: var(--suite-shadow-overlay); color: var(--suite-text); }
.guide-pop-hint { width: var(--suite-tooltip-w); }
.guide-pop.is-in { animation: guide-in var(--suite-duration-base) var(--suite-ease-out); }
.guide-pop[data-motion="swap"].is-in { animation: guide-swap var(--suite-duration-fast) var(--suite-ease-in); }
.guide-pop-hint.is-in { animation: guide-in var(--suite-duration-base) var(--suite-ease-out); }
@keyframes guide-in { from { opacity: 0; transform: translateY(var(--suite-space-1)); } }
@keyframes guide-swap { from { opacity: 0; } }

.guide-count { margin: 0 0 var(--suite-space-1); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); color: var(--suite-text-tertiary); }
.guide-title { margin: 0 0 var(--suite-space-1); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); }
.guide-title:focus { outline: none; }
.guide-title:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); border-radius: var(--suite-radius-sm); }
.guide-body { margin: 0 0 var(--suite-space-4); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.guide-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--suite-space-2); }
.guide-trail { display: flex; align-items: center; gap: var(--suite-space-2); margin-inline-start: auto; }

/* The hint ring: a 24 square button centred on the control's top right corner, drawing a 10 ring with a halo so it reads on any fill. A ring, never a dot, so it is not mistaken for an unread dot. */
.guide-hint { position: fixed; z-index: var(--suite-z-menu); box-sizing: border-box; width: var(--suite-icon-24); height: var(--suite-icon-24); padding: 0; margin: 0; border: 0; background: transparent; border-radius: var(--suite-radius-full); cursor: pointer; animation: guide-hint-in var(--suite-duration-base) var(--suite-ease-out); }
.guide-hint::after { content: ""; position: absolute; top: 50%; left: 50%; box-sizing: border-box; width: calc(var(--suite-space-2) + var(--suite-ring-width)); height: calc(var(--suite-space-2) + var(--suite-ring-width)); transform: translate(-50%, -50%); border: var(--suite-ring-width) solid var(--suite-product); border-radius: var(--suite-radius-full); background: transparent; box-shadow: 0 0 0 var(--suite-ring-width) var(--suite-bg); }
.guide-hint:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-space-half); }
@keyframes guide-hint-in { from { opacity: 0; } }

/* The phone card: in the page flow under the page head, white and black, no hue. Phones have no anchors to point at. */
.guide-card { display: none; box-sizing: border-box; margin: var(--suite-space-6) 0; padding: var(--suite-space-4); background: var(--suite-surface); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); color: var(--suite-text); }
@media (max-width: 767px) { .guide-card { display: block; } }
.guide-card-title { margin: 0 0 var(--suite-space-4); font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-semibold); }
.guide-card-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--suite-space-4); }
.guide-card-step { display: flex; align-items: flex-start; gap: var(--suite-space-3); }
.guide-card-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--suite-icon-20); height: var(--suite-icon-20); border-radius: var(--suite-radius-full); background: var(--suite-fill-selected); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-semibold); color: var(--suite-text-tertiary); }
.guide-card-text { min-width: 0; }
.guide-card-name { margin: 0; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); color: var(--suite-text); }
a.guide-card-name { display: inline-block; text-decoration: underline; text-underline-offset: var(--suite-space-half); }
.guide-card-body { margin: 0; font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.guide-card-foot { display: flex; justify-content: flex-end; margin-top: var(--suite-space-4); }
.guide-card-foot .btn { min-height: var(--suite-touch); }

/* Reduced motion: every change is instant. */
@media (prefers-reduced-motion: reduce) {
  .guide-pop, .guide-pop.is-in, .guide-pop[data-motion="swap"].is-in, .guide-hint { animation: none; transition: none; }
}

/* The invite card (src/entry/invite.ts) and the post sign-in screens (src/entry/landing.ts): Where to first and Nothing to open yet. */
.invite-card { border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); background: var(--suite-surface); overflow: hidden; }
.invite-brands { list-style: none; margin: 0; padding: 0; }
.invite-brand { display: flex; align-items: center; gap: var(--suite-space-3); min-height: var(--suite-space-12); padding: 0 var(--suite-space-4); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.invite-mark, .land-mark { display: grid; place-items: center; flex: none; width: var(--suite-control-xl); height: var(--suite-control-xl); border-radius: var(--suite-radius-md); background: var(--suite-surface-subtle); color: var(--suite-text); font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-semibold); }
.invite-brand-name { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); overflow-wrap: anywhere; }
.invite-more { padding: var(--suite-space-3) var(--suite-space-4); font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.invite-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--suite-space-2) var(--suite-space-6); margin: 0; padding: var(--suite-space-4); }
.invite-facts dt { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.invite-facts dd { margin: 0; display: flex; flex-direction: column; font-size: var(--suite-type-14); line-height: var(--suite-leading-20); }
.invite-role { font-size: var(--suite-type-13); color: var(--suite-text-secondary); }

.land { min-height: 100vh; min-height: 100dvh; background: var(--suite-bg); color: var(--suite-text); }
.land-top { display: flex; align-items: center; justify-content: space-between; height: var(--suite-space-16); padding: 0 var(--suite-space-6); border-bottom: var(--suite-border-width) solid var(--suite-border); }
.land-k { display: inline-flex; color: var(--suite-text); }
.land-account { display: grid; place-items: center; width: var(--suite-touch); height: var(--suite-touch); border: 0; border-radius: var(--suite-radius-full); background: var(--suite-surface-subtle); color: var(--suite-text); font: inherit; font-weight: var(--suite-weight-semibold); cursor: pointer; }
.land-main { box-sizing: border-box; max-width: 45rem; margin: 0 auto; padding: var(--suite-space-16) var(--suite-space-6) var(--suite-space-10); display: flex; flex-direction: column; gap: var(--suite-space-4); }
.land-h1 { margin: 0; font-size: var(--suite-type-28); line-height: var(--suite-leading-36); font-weight: var(--suite-weight-semibold); text-wrap: balance; }
.land-h1:focus { outline: none; }
.land-lede { margin: 0; font-size: var(--suite-type-14); line-height: var(--suite-leading-22); color: var(--suite-text-secondary); }
.land-label { margin: var(--suite-space-4) 0 0; font-size: var(--suite-type-12); line-height: var(--suite-leading-16); font-weight: var(--suite-weight-medium); color: var(--suite-text-tertiary); }
.land-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr)); gap: var(--suite-space-6); }
.land-card { display: flex; align-items: center; gap: var(--suite-space-4); box-sizing: border-box; min-height: 5rem; padding: var(--suite-space-6); border: var(--suite-border-width) solid var(--suite-border); border-radius: var(--suite-radius-lg); background: var(--suite-surface); color: var(--suite-text); font: inherit; text-align: left; cursor: pointer; }
.land-card:hover { background: var(--suite-surface-subtle); }
.land-card:focus-visible, .land-account:focus-visible { outline: var(--suite-ring-width) solid var(--suite-focus); outline-offset: var(--suite-ring-width); }
.land-text { display: flex; flex-direction: column; min-width: 0; }
.land-name { font-size: var(--suite-type-14); line-height: var(--suite-leading-20); font-weight: var(--suite-weight-medium); overflow-wrap: anywhere; }
.land-line { font-size: var(--suite-type-13); line-height: var(--suite-leading-20); color: var(--suite-text-secondary); }
.land-actions { margin-top: var(--suite-space-4); max-width: var(--suite-gate-w); }
@media (max-width: 767px) { .land-h1 { font-size: var(--suite-type-24); line-height: var(--suite-leading-32); } .land-main { padding-top: var(--suite-space-10); } }
