/* /connect page styles. Page-scoped: every rule hangs off .use-page so the
   global components in style.css are untouched. Colours are tokens only. */
.use-page .hero .lede { margin-left: 0; margin-right: 0; max-width: 62ch; }
.use-page .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- main switcher card ---------- */
.use-card { padding: 0; overflow: hidden; }
.use-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hairline); }
.use-tab { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px 20px;
  border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent;
  color: var(--text-muted); font: inherit; text-align: left; cursor: pointer; }
.use-tab + .use-tab { border-left: 1px solid var(--hairline); }
.use-tab .ic { width: 22px; height: 22px; }
.use-tab-t { display: block; font-weight: 600; font-size: var(--fs-body); color: var(--text-strong); }
.use-tab-sub { display: block; font-size: var(--fs-small); color: var(--text-muted); margin-top: 2px; }
.use-tab:hover { background: var(--surface-sunken); }
.use-tab[aria-selected="true"] { background: var(--surface-tint); border-bottom-color: var(--primary); color: var(--teal-700); }
.use-tab[aria-selected="true"] .use-tab-t { color: var(--teal-700); }
.use-tab:focus-visible, .use-page button:focus-visible, .use-page summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.use-panel { padding: clamp(16px, 3vw, 32px); }
.use-panel[hidden] { display: none; }
.use-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; }
.use-step + .use-step { margin-top: 28px; }
.use-step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-tint); color: var(--teal-700); font-size: var(--fs-small); font-weight: 600; }
.use-step-h { margin: 3px 0 10px; font-size: var(--fs-h4); font-weight: 600; color: var(--text-strong); }
.use-step-body { min-width: 0; }
.use-sub { margin: 14px 0 6px; font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.use-p { margin: 0 0 10px; font-size: var(--fs-body-sm); line-height: 1.6; color: var(--text-body); max-width: 70ch; }

/* copy field: one mono line that scrolls inside its own box */
.cfield { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 6px 6px 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--surface-sunken); }
.cfield > .ic { color: var(--primary); }
.cfield code { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--code);
  font-size: var(--fs-mono); color: var(--text-strong); background: none; padding: 6px 0; }
.cfield-lg { padding: 8px 8px 8px 16px; background: var(--surface-card); border-color: var(--hairline-strong); }
.cfield-lg code { font-size: var(--fs-body-sm); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--surface-card);
  color: var(--text-muted); font: inherit; font-size: var(--fs-small); font-weight: 500; cursor: pointer; }
.copy-btn:hover { color: var(--teal-700); border-color: var(--primary); }
.copy-btn .ic { width: 15px; height: 15px; }
.copy-btn.is-done { color: var(--teal-700); border-color: var(--primary); background: var(--surface-tint); }

/* client segmented control */
.seg2 { display: flex; width: fit-content; max-width: 100%; margin-left: 0; margin-right: auto; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface-sunken); }
.seg2 button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent;
  color: var(--text-muted); font: inherit; font-size: var(--fs-small); font-weight: 500; cursor: pointer; }
.seg2 button img, .seg2 button .ic { width: 18px; height: 18px; }
.seg2 button[aria-selected="true"] { background: var(--surface-card); border-color: var(--hairline-strong);
  color: var(--text-strong); box-shadow: var(--shadow-card); }
.seg-panel[hidden] { display: none; }

/* prompt chips */
.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.prompt-item { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--hairline);
  border-radius: var(--radius); background: var(--surface-card); transition: border-color .15s; }
.prompt-item:hover { border-color: var(--primary); }
.prompt-chip { display: flex; flex-direction: column; gap: 10px; flex: 1; width: 100%; padding: 14px 16px 12px;
  border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; border-radius: var(--radius); }
.prompt-q { font-size: var(--fs-body-sm); line-height: 1.5; color: var(--text-strong); }
.prompt-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.prompt-foot .ic { margin-left: auto; width: 15px; height: 15px; color: var(--text-faint); }
.prompt-chip.is-done .prompt-foot .ic { color: var(--primary); }
.prompt-done { font-size: var(--fs-label); color: var(--teal-700); }
.tool-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-sunken); border: 1px solid var(--hairline); font-family: var(--code);
  font-size: var(--fs-label); color: var(--text-body); white-space: nowrap; }
.tool-chip.is-job::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.badge-warn { display: inline-flex; align-items: center; gap: 6px; margin: 0 16px 12px; align-self: flex-start;
  padding: 3px 10px; border-radius: 999px; background: var(--warn-bg); border: 1px solid var(--warn-line);
  color: var(--warn-ink); font-size: var(--fs-label); font-weight: 500; text-decoration: none; }
.badge-warn:hover { text-decoration: underline; }
.badge-warn .ic { width: 14px; height: 14px; }
.use-note { margin: 12px 0 0; font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; }

/* command rows */
.cmd-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.cmd-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.cmd-row + .cmd-row { border-top: 1px solid var(--hairline); }
.cmd-row-l { font-size: var(--fs-small); font-weight: 500; color: var(--text-muted); }
.cmd-row code { min-width: 0; overflow-x: auto; white-space: nowrap; font-family: var(--code); font-size: var(--fs-mono); color: var(--text-strong); background: none; }
.cmd-row .copy-btn { padding: 0 8px; }
.cmd-row .copy-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* code window */
.codewin { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--surface-sunken); }
.codewin + .codewin, .use-more + .codewin { margin-top: 12px; }
.codewin-bar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--hairline); background: var(--surface-card); }
.codewin-name { font-family: var(--code); font-size: var(--fs-label); color: var(--text-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.codewin-bar .copy-btn { margin-left: auto; }
.codewin pre { margin: 0; padding: 14px 16px; overflow-x: auto; background: none; border: 0; }
.codewin code { font-family: var(--code); font-size: var(--fs-mono); line-height: 1.65; white-space: pre; color: var(--text-strong); background: none; }

/* expanders */
.use-more { margin-top: 16px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface-card); }
.use-more > summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; list-style: none;
  font-size: var(--fs-body-sm); font-weight: 500; color: var(--text-strong); }
.use-more > summary::-webkit-details-marker { display: none; }
.use-more > summary .ic { color: var(--text-faint); }
.use-more > summary .chev { margin-left: auto; transition: transform .15s; }
.use-more[open] > summary .chev { transform: rotate(180deg); }
.use-more-body { padding: 0 16px 16px; min-width: 0; }
.use-more-body > :first-child { margin-top: 0; }
.use-more-body p, .use-more-body li { font-size: var(--fs-small); line-height: 1.6; color: var(--text-body); }
.use-more-body ul { margin: 0; padding-left: 18px; }
.use-more-body li + li { margin-top: 6px; }

/* ---------- capability grid ---------- */
.use-page .band-head h2 { display: flex; align-items: center; gap: 10px; }
.h-ic { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--surface-tint); color: var(--teal-700); flex: none; }
.h-ic .ic { width: 18px; height: 18px; }
.cap-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 12px; font-size: var(--fs-small); color: var(--text-muted); }
.cap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cap-grid { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.cap-grid th, .cap-grid td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--hairline); }
.cap-grid thead th { border-top: 0; background: var(--surface-sunken); font-size: var(--fs-label); font-weight: 600; color: var(--text-muted); }
.cap-grid thead th .ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.cap-grid tbody th { width: 26%; font-weight: 600; font-size: var(--fs-body-sm); }
.cap-grid tbody th a { color: var(--text-strong); text-decoration: none; }
.cap-grid tbody th a:hover { color: var(--link); text-decoration: underline; }
.cap-id { display: block; margin-top: 2px; font-family: var(--code); font-size: var(--fs-label); font-weight: 400; color: var(--text-faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.none { font-size: var(--fs-small); color: var(--text-faint); }

/* ---------- limit tiles ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface-card); }
.stat-tile .h-ic { margin-bottom: 10px; }
.stat-num { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-strong); line-height: 1.15; }
.use-stat-label { font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.stat-note { margin: 6px 0 0; font-size: var(--fs-small); line-height: 1.55; color: var(--text-body); }
.stat-note code, .use-more-body code, .use-note code, .use-p code { font-family: var(--code); font-size: var(--fs-label); overflow-wrap: anywhere; }

/* ---------- next link ---------- */
.next-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.next-row p { margin: 0; color: var(--text-muted); font-size: var(--fs-body-sm); }
.next-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--radius-sm);
  background: var(--primary); color: var(--band-text); font-weight: 600; font-size: var(--fs-body-sm); text-decoration: none; }
.next-btn:hover { background: var(--teal-700); color: var(--band-text); }

@media (max-width: 860px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .use-tab { flex-direction: column; justify-content: center; gap: 4px; padding: 10px 6px; text-align: center; min-height: 56px; }
  .use-tab-sub { display: none; }
  .prompt-grid, .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .cmd-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cmd-row-l { grid-column: 1 / -1; }
  .use-step { grid-template-columns: minmax(0, 1fr); }
  .use-step-n { display: none; }
  .cap-grid, .cap-grid tbody, .cap-grid tr, .cap-grid th, .cap-grid td { display: block; width: auto; }
  .cap-grid thead { display: none; }
  .cap-grid tbody th { width: auto; border-top: 1px solid var(--hairline-strong); background: var(--surface-sunken); }
  .cap-grid tbody tr:first-child th { border-top: 0; }
  .cap-grid td { border-top: 0; padding-top: 4px; }
  .cap-grid td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: var(--fs-label); font-weight: 600; color: var(--text-muted); }
  .seg2 { display: flex; }
  .seg2 button { flex: 1; justify-content: center; padding: 0 8px; }
}

/* review r1 */
.prompt-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.use-page .seg2 { justify-content: flex-start; align-self: flex-start; }
.use-step-body > .seg2 { margin-left: 0; }
@media (prefers-color-scheme: dark) {
  .seg2 img[src*="chatgpt"] { filter: invert(1); }
}
/* style.css centres #seg-client for the old layout; this page left-aligns it. */
.use-page #seg-client { margin-inline: 0 auto; }
@media (max-width: 640px) {
  .cfield .copy-btn { padding: 0 8px; }
  .cfield .copy-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.cmd-row code { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; }
@media (max-width: 640px) { .seg-long { display: none; } }
/* final polish */
.prompt-item { position: relative; }
.prompt-item:has(.badge-warn) .prompt-q { margin-bottom: 34px; }
.prompt-item .badge-warn { position: absolute; left: 16px; bottom: 46px; margin: 0; max-width: calc(100% - 32px); }
@media (max-width: 640px) {
  .cap-grid td:has(> .none) { display: none; }
}
@media (max-width: 640px) {
  .prompt-item:has(.badge-warn) .prompt-q { margin-bottom: 0; }
  .prompt-item .badge-warn { position: static; margin: 0 16px 12px; }
}
.use-page .stat-note { white-space: normal; }
.next-row p { display: flex; align-items: center; gap: 10px; }
.cmd-row-l { display: inline-flex; align-items: center; gap: 8px; } .cmd-row-l .ic { color: var(--text-faint); width: 16px; height: 16px; }
.use-sub { display: flex; align-items: center; gap: 6px; }
.use-sub .ic { width: 15px; height: 15px; color: var(--text-faint); }
.cap-grid thead th .ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.cap-grid tbody th { position: relative; padding-left: 52px; }
.cap-mic { position: absolute; left: 16px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-tint); color: var(--teal-700); }
.cap-mic .ic { width: 15px; height: 15px; }
@media (max-width: 640px) { .cap-grid tbody th { padding-left: 50px; } .cap-mic { top: 10px; } }
@media (max-width: 640px) {
  .use-page .cap-grid tbody th { padding-left: 16px !important; display: flow-root; }
  .use-page .cap-mic { position: static; float: left; margin: 0 10px 0 0; }
}

/* ---------- Autumn Budget spec: bare sections, cards only for charts/tiles/expanders ---------- */
.use-page > section.band:not(.use-card) { background: none; border: 0; box-shadow: none; padding: 0; margin-top: 48px; }
.use-page > section.band:not(.use-card) > .band-head { margin: 0 0 20px; }
.use-page .band-head h2 { font-size: 20px; line-height: 32px; font-weight: 600; color: var(--gray-800); gap: 12px; }
.use-page .band-head .section-intro { margin: 4px 0 0 44px; font-size: 15px; color: var(--text-faint); }
.use-page .h-ic { border-radius: 50%; background: var(--surface-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent); }
/* tool grid: a bare table, row rules only */
.use-page .table-scroll { border: 0; background: none; box-shadow: none; padding: 0; }
.use-page .cap-grid { border: 0; border-radius: 0; }
.use-page .cap-grid th, .use-page .cap-grid td { border-top-color: var(--surface-sunken); }
.use-page .cap-grid thead th { background: none; font-weight: 500; border-bottom: 1px solid var(--hairline); }
/* limit tiles: one card, borderless tiles */
.use-page .stat-grid { gap: 24px; padding: 24px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-card); }
.use-page .stat-tile { border: 0; padding: 0; background: none; }
.use-page .stat-num { font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.use-page .stat-tile .h-ic { width: 28px; height: 28px; margin-bottom: 8px; }
.use-page .use-stat-label { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.use-page .stat-note { font-size: 13px; color: var(--text-faint); }
.use-page > section.next-row { padding: 0; background: none; border: 0; box-shadow: none; margin-top: 48px; }
.use-page .cap-legend { margin-bottom: 8px; }
/* neutralise the global first-child band-head grid; use the spec heading recipe */
.use-page > section.band > .band-head:first-child { display: block !important; position: static; padding: 0; border: 0; }
.use-page > section.band > .band-head:first-child > * { grid-column: auto; grid-row: auto; }
.use-page > section.band > .band-head:first-child::before, .use-page > section.band > .band-head:first-child::after { content: none !important; display: none !important; }
.use-page > section.band > .band-head:first-child > h2 { display: flex; align-items: center; margin: 0; font-size: 20px; line-height: 32px; }
.use-page > section.band > .band-head:first-child { margin: 0 0 20px !important; inset: auto; left: auto; }
.use-page > section.band { overflow: visible; }
/* AB review fixes */
.use-page .stat-tile:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--hairline); }
.use-page .stat-tile:nth-child(n+4) { padding-top: 20px; border-top: 1px solid var(--hairline); }
.use-page .table-scroll { border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-card); overflow-x: auto; }
.use-page .cap-grid th, .use-page .cap-grid td { padding-top: 10px; padding-bottom: 10px; }
.use-page .cap-grid tbody tr:first-child th, .use-page .cap-grid tbody tr:first-child td { border-top: 0; }
@media (max-width: 860px) {
  .use-page .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-page .stat-tile:not(:nth-child(3n+1)), .use-page .stat-tile:nth-child(n+4) { padding: 0; border: 0; }
  .use-page .stat-tile:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--hairline); }
  .use-page .stat-tile:nth-child(n+3) { padding-top: 16px; border-top: 1px solid var(--hairline); }
  .use-page .stat-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .use-page .stat-num { font-size: 22px; }
}
@media (max-width: 640px) { .use-page .cap-grid td { padding: 4px 16px 10px !important; } }

/* ---------- shell v4 (Autumn Budget) pieces ---------- */
.use-page > .ab-sec { width: min(var(--shell-max, 1200px), calc(100% - 2 * var(--page-pad, 40px))); margin: var(--section-y, 48px) auto 0; }
.use-page > .ab-sec.use-card { margin-top: 24px; }
.use-page > .ab-sec:last-child { margin-bottom: var(--section-y, 48px); }
.use-page .use-card { padding: 0; overflow: hidden; }
/* continuous row rule on the tiles: no column gap, padding instead */
.use-page .stat-grid { column-gap: 0; row-gap: 0; }
.use-page .stat-tile { border-radius: 0; padding: 0 24px 20px; }
.use-page .stat-tile:nth-child(3n+1) { padding-left: 0; }
.use-page .stat-tile:nth-child(3n) { padding-right: 0; }
.use-page .stat-tile:nth-child(n+4) { padding-top: 20px; padding-bottom: 0; }
@media (max-width: 860px) {
  .use-page .stat-tile, .use-page .stat-tile:nth-child(n) { padding: 0 0 16px; border: 0; }
  .use-page .stat-tile:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--hairline); }
  .use-page .stat-tile:nth-child(n+3) { padding-top: 16px; border-top: 1px solid var(--hairline); }
}
/* review r3 */
.tool-chip.is-local { background: var(--ab-inset, var(--surface-sunken)); border-style: dashed; }
.tool-chip.is-local::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--text-faint); }
.use-panel .use-more { border: 0; border-top: 1px solid var(--hairline); border-radius: 0; background: none; margin-top: 20px; }
.use-panel .use-more > summary { padding-left: 0; padding-right: 0; }
.use-panel .use-more .use-more-body { padding-left: 0; padding-right: 0; }
.seg2 button[aria-selected="true"] { background: var(--surface-tint); border-color: transparent; box-shadow: none; color: var(--teal-700); }
.cfield .copy-btn { border: 0; background: none; }
.cfield .copy-btn:hover, .cfield .copy-btn.is-done { background: var(--surface-tint); }
.cfield + .codewin { margin-top: 12px; }
@media (max-width: 860px) {
  .use-page .stat-note { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .use-page .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .use-page .stat-tile, .use-page .stat-tile:nth-child(n) { padding: 0; border: 0; }
  .use-page .stat-tile:nth-child(n+2) { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--hairline); border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) { .use-page .cap-grid td::before { content: none; } }
/* warning pill always in flow, below the prompt text */
.prompt-item .badge-warn { position: static !important; margin: 0 16px 12px !important; }
.prompt-item:has(.badge-warn) .prompt-q { margin-bottom: 0 !important; }
/* icons for every item */
.use-step-h { display: flex; align-items: center; gap: 8px; }
.step-ic { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--surface-tint); color: var(--teal-700); }
.step-ic .ic { width: 14px; height: 14px; }
.prompt-chip { position: relative; padding-left: 46px; }
.prompt-ic { position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; display: grid; place-items: center; color: var(--teal-700); }
.prompt-ic .ic { width: 18px; height: 18px; }
.tool-chip .ic { width: 12px; height: 12px; color: var(--text-faint); }
.prompt-foot .tool-chip .ic { margin-left: 0; }
.cap-legend .tool-chip.is-job::before, .cap-legend .tool-chip.is-local::before { content: none; }
.repo-model { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--surface-tint); color: var(--teal-700); vertical-align: -4px; }
.repo-model .i { width: 12px; height: 12px; }
.next-btn .ic:first-child { width: 16px; height: 16px; }
.repo-model .i { fill: none; stroke: currentColor; } .repo-row .pp-ic { color: var(--text-muted); }
.fn-mark { color: var(--warn-ink); font-weight: 700; margin-left: 2px; }
#prompt-note { margin-top: 12px; }
#prompt-note sup { color: var(--warn-ink); font-weight: 700; }
#prompt-note a { color: var(--warn-ink); }

/* limit tiles: the shared stat-tile recipe, one row of three, bare icon beside the label */
.use-page .stat-grid { border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; gap: 12px !important; column-gap: 12px !important; row-gap: 12px !important; }
.use-page .stat-grid .stat-tile, .use-page .stat-grid .stat-tile:nth-child(n) { padding: 14px 16px !important; border-left-width: 1px !important; border-top-width: 1px !important; margin: 0 !important; min-height: 100%; }
.use-page .stat-tile .use-stat-label { display: inline-flex; align-items: center; gap: 6px; }
.use-page .stat-tile .lt-ic { width: 16px; height: 16px; color: var(--teal-700); flex: none; }
.use-page .stat-tile .stat-note { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
@media (min-width: 640px) { .use-page .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 639px) { .use-page .stat-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.prompt-ret { display: block; font-size: 12px; line-height: 1.4; color: var(--text-muted); }
/* the SVAR caveat footnote reads as a note, not an error */
.fn-mark, #prompt-note sup { color: var(--text-muted) !important; }
#prompt-note a { color: var(--text-muted) !important; text-decoration-color: var(--hairline-strong); }

/* client marks: monochrome, in the tab's own colour (the bare-icon rule) */
.use-mark { display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.use-mark-claude { --mark: url("/assets/claude-mark.svg"); }
.use-mark-chatgpt { --mark: url("/assets/chatgpt-mark.svg"); }
