/*
  The automations family's pictures (docs/pages/service_pages/pictures/automations.py), for /services/automations, /services/automations/ai-receptionist
  and /services/crm, linked after service-page.css as each page's picture_css. They follow service-page.css's rules for every picture: sizes
  in em, the font size from the box's width (100cqw divided by --w, set here and never inline), so each scales whole from 2560 px to 320, and a
  box under 440 or 480 px draws the wide ones 22 em wide with their parts stacked. The business is a made-up electrician, Foxtail Electric,
  with a color of its own, a burnt orange for its bubbles, buttons and switches (--fx), so nothing in a picture reads as RSL/A's own site.
  Flat fills only, no motion. Row text is sized on its own spans, never on a row that holds a pill, so em sizes never compound.
*/
.ui { --fx: #c2410c; --fx-deep: #9a3412; --fx-soft: #fff1e6; --fx-edge: #f6d6bd; --rail: #cdd3dd; }
.ui:where([class*="fx-"]) :where(ul, ol, dl) { margin: 0; padding: 0; list-style: none; }   /* zero specificity beyond .ui, so a rule below may set a list's own padding */

/* Each picture's width in em: the headers' 26, 30 and 34, the steps' 22, the parts of the work 24 to 32 */
.fx-week { --w: 26; }
.fx-calls { --w: 30; }
.fx-board { --w: 34; }
.fx-repeats, .fx-chain, .fx-test, .fx-guide, .fx-flow, .fx-tests, .fx-places, .fx-hand { --w: 22; }
.fx-followup, .fx-reminders, .fx-invoice, .fx-missed, .fx-voice, .fx-question, .fx-transfer, .fx-contact, .fx-ended, .fx-import, .fx-stages, .fx-cal,
.fx-thread, .fx-reg, .fx-today { --w: 24; }
.fx-booking-day, .fx-review { --w: 28; }
.fx-form { --w: 32; }

/* ── Shared parts ── */
/* The top row: the screen's title, quieter lines beside it, and the Example tag where a deck says so */
.fx-top { display: flex; align-items: flex-start; gap: 0.6em; margin-bottom: 0.85em; }
.ui p.fx-top__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1em 0.55em; min-width: 0; }
.fx-top__title b { font-size: 1.05em; font-weight: 650; letter-spacing: -0.015em; }
.fx-top__title span { color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); font-weight: 500; white-space: nowrap; }
.fx-top .fx-pill { margin-left: auto; }
.fx-example {
  flex: none; margin-left: auto; padding: 0.25em 0.6em; border: 0.0625em solid var(--ui-line); border-radius: 9999px;
  background-color: var(--ui-fill); color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.fx-ico { display: grid; place-items: center; flex: none; width: 1.9em; height: 1.9em; border-radius: 0.5em; background-color: var(--fx-soft); color: var(--fx-deep); }
.fx-ico svg { width: 1.05em; height: 1.05em; }
.fx-avatar { display: grid; place-items: center; flex: none; width: 1.8em; height: 1.8em; border-radius: 50%; background-color: var(--fx); color: #fff; font-size: 0.85em; font-weight: 700; line-height: 1; }
.fx-avatar svg { width: 1em; height: 1em; }
.fx-avatar.is-person { background-color: var(--night); }
.fx-pill { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.2em 0.6em; border-radius: 9999px; font-size: max(0.64em, min(11px, 0.8em)); font-weight: 650; line-height: 1.3; white-space: nowrap; }
.fx-pill svg { flex: none; width: 1em; height: 1em; }
.fx-pill.is-green { background-color: #dcfce7; color: #15803d; }
.fx-pill.is-amber { background-color: #fef3c7; color: #a15c07; }
.fx-pill.is-blue { background-color: #dbeafe; color: #1d4ed8; }
.fx-pill.is-red { background-color: #fee4e2; color: #b42318; }
.fx-pill.is-gray { background-color: var(--ui-fill); color: var(--slate); }
.fx-pill.is-brand { background-color: var(--fx-soft); color: var(--fx-deep); }
.fx-tick { display: grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border-radius: 0.3em; background-color: #16a34a; color: #fff; }
.fx-tick svg { width: 0.85em; height: 0.85em; stroke-width: 3.5; }
.fx-when { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; }
.fx-bar { display: block; width: 8em; height: 0.6em; border-radius: 9999px; background-color: #d9dce1; }
/* A name row over a phone's chat or a card */
.fx-head { display: flex; align-items: center; gap: 0.55em; margin-bottom: 0.6em; padding-bottom: 0.55em; border-bottom: 0.0625em solid var(--ui-line); }
.fx-head b { font-size: 0.86em; font-weight: 650; }
.fx-head .fx-bar { width: 6em; }

/* A chat: gray bubbles in, orange bubbles out, a quiet line for what the system did */
.fx-chat { display: flex; flex-direction: column; gap: 0.4em; }
.ui p.fx-b { max-width: 86%; padding: 0.55em 0.8em; border-radius: 1em; font-size: max(0.76em, min(11px, 0.95em)); line-height: 1.35; }
.fx-b.is-in { align-self: flex-start; background-color: var(--ui-fill); border-bottom-left-radius: 0.3em; }
.fx-b.is-out { align-self: flex-end; background-color: var(--fx); color: #fff; border-bottom-right-radius: 0.3em; }
.fx-b.is-context { background-color: #e7eaf0; color: var(--night); }
.ui p.fx-meta { color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 500; }
.fx-meta b { margin-left: 0.4em; color: var(--night); font-weight: 650; }
.fx-meta.is-out { align-self: flex-end; }
.ui p.fx-sys { align-self: center; margin-top: 0.1em; padding: 0.3em 0.9em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; text-align: center; }
.fx-link { display: block; width: 7em; height: 0.15em; margin-top: 0.45em; border-radius: 9999px; background-color: currentColor; opacity: 0.6; }
.ui p.fx-day { display: flex; align-items: center; gap: 0.6em; margin-block: 0.25em; color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 600; }
.fx-day::before, .fx-day::after { content: ""; flex: 1; height: 0.0625em; background-color: var(--ui-line); }
/* A phone: a dark bezel round a white screen; is-cut leaves the bottom open for a step the card's edge cuts */
.fx-phone { width: 16em; max-width: 100%; margin-inline: auto; padding: 0.4em; border-radius: 1.6em; background-color: var(--night); box-shadow: 0 0.4em 1.1em rgb(12 14 18 / 0.25); }
.fx-phone__screen { display: flex; flex-direction: column; gap: 0.5em; min-height: 12em; padding: 0.8em 0.7em; border-radius: 1.25em; background-color: #fff; }
.fx-phone.is-cut { padding-bottom: 0; border-radius: 1.6em 1.6em 0 0; }
.fx-phone.is-cut .fx-phone__screen { border-radius: 1.25em 1.25em 0 0; }
/* The cards a phone sits on */
.fx-missed, .fx-thread, .fx-hand, .fx-test { background-color: var(--fx-soft); }
/* The steps: the box follows the picture, so the three share one height and the card's edge cuts only the white under the last row */
.svc-shot--step:has(> :is(.fx-repeats, .fx-chain, .fx-test, .fx-guide, .fx-flow, .fx-tests, .fx-places, .fx-hand)) { height: auto; }
.svc-shot--step > :is(.fx-repeats, .fx-chain, .fx-test, .fx-guide, .fx-flow, .fx-tests, .fx-places, .fx-hand) { min-height: 17.6em; margin-bottom: -1em; }

/* ── AI automations: the header ── */
.fx-week__list { display: grid; gap: 0.4em; }
.fx-week__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 3.4em; align-items: center; gap: 0.7em; padding: 0.55em 0.7em; border: 0.0625em solid var(--ui-line); border-radius: 0.75em; }
.fx-week__name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2em 0.5em; font-size: 0.82em; font-weight: 600; line-height: 1.25; }
.fx-switch { position: relative; width: 2.2em; height: 1.25em; border-radius: 9999px; background-color: var(--fx); }
.fx-switch::after { content: ""; position: absolute; top: 0.18em; right: 0.18em; width: 0.89em; height: 0.89em; border-radius: 50%; background-color: #fff; }
.fx-week__runs { color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ── AI automations: the steps ── */
.ui p.fx-repeats__head { margin-bottom: 0.2em; color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 600; text-align: right; }
.fx-repeats__list li { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.6em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-repeats__list li > span:first-child { min-width: 0; font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; line-height: 1.25; }

.fx-chain__steps { display: grid; gap: 0.5em; }
.fx-node { position: relative; display: flex; align-items: center; gap: 0.6em; padding: 0.3em 0.6em 0.3em 0.35em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.fx-node .fx-ico { width: 1.5em; height: 1.5em; border-radius: 0.4em; }
.fx-node > span:last-child { font-size: max(0.76em, min(11px, 0.95em)); font-weight: 600; }
.fx-node + .fx-node::before { content: ""; position: absolute; bottom: 100%; left: 1.1em; width: 0.125em; height: 0.5em; background-color: var(--rail); }
.fx-node.is-ask { border-style: dashed; border-color: #b4bcc9; }
.fx-chain__split { position: relative; display: flex; justify-content: center; gap: 0.5em; margin-top: 0.5em; }

.fx-test { padding-bottom: 0; }
.ui p.fx-strip { display: flex; align-items: baseline; gap: 0.6em; margin-bottom: 0.7em; }
.fx-strip b { font-size: 1.05em; font-weight: 650; }
.fx-strip span { color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); }
.fx-test__body { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 0.9em; align-items: start; }
.fx-test .fx-phone { width: auto; margin: 0; }
.fx-test .fx-phone__screen { min-height: 14em; }
.fx-test .fx-b { max-width: 100%; font-size: max(0.7em, min(11px, 0.875em)); }
.fx-ticks { display: grid; gap: 0.8em; padding-top: 0.5em; }
.fx-ticks li { display: flex; align-items: flex-start; gap: 0.5em; }
.fx-ticks li span:last-child { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; line-height: 1.3; }

/* ── AI automations: the parts of the work ── */
.fx-booking { display: flex; align-items: center; gap: 0.7em; padding: 0.7em; border: 0.0625em solid var(--ui-line); border-radius: 0.75em; }
.fx-booking p { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.fx-booking p b { font-size: 0.9em; }
.fx-booking p span { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }
.ui ol.fx-timeline { margin: 0.9em 0 0 0.45em; padding-left: 1em; border-left: 0.125em solid var(--rail); }
.fx-timeline li { position: relative; display: grid; grid-template-columns: 5em minmax(0, 1fr); align-items: start; gap: 0.5em; padding-bottom: 0.8em; }
.fx-timeline li::before { content: ""; position: absolute; top: 0.18em; left: -1.45em; width: 0.62em; height: 0.62em; border-radius: 50%; background-color: var(--fx); box-shadow: 0 0 0 0.2em #fff; }
.fx-timeline li > div > b { font-size: 0.8em; font-weight: 650; }
.fx-timeline .fx-b { display: inline-block; max-width: 100%; margin-top: -0.2em; }
.fx-branch { display: flex; align-items: center; gap: 0.5em; margin: 0.1em 0 0 1.4em; padding: 0.5em 0.8em; border: 0.0625em dashed #b4bcc9; border-radius: 0.6em; color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 600; }
.fx-branch svg { width: 1.15em; height: 1.15em; }

.fx-mail { padding: 0.9em; border: 0.0625em solid var(--ui-line); border-radius: 0.75em; }
.fx-mail__from { display: flex; align-items: center; gap: 0.5em; font-size: 0.8em; }
.fx-mail__from svg { width: 1.2em; height: 1.2em; color: var(--slate); }
.ui p.fx-mail__for { margin-top: 0.7em; color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); }
.ui p.fx-mail__sum { font-size: 1.9em; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fx-mail__pay { display: block; width: 7.5em; height: 1.9em; margin-top: 0.6em; border-radius: 9999px; background-color: var(--fx); }
.ui ol.fx-steps { margin-top: 1.1em; padding-left: 0.2em; }
.fx-step { position: relative; display: flex; align-items: center; gap: 0.7em; padding-bottom: 0.75em; }
.fx-step:last-child { padding-bottom: 0; }
.fx-step i { flex: none; width: 0.7em; height: 0.7em; border-radius: 50%; background-color: #b4bcc9; }
.fx-step:not(:last-child)::after { content: ""; position: absolute; top: 0.95em; bottom: 0.1em; left: 0.29em; width: 0.125em; background-color: var(--ui-line); }
.fx-step span { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; }
.fx-step.is-paid i { background-color: #16a34a; }
.fx-step.is-paid span { color: #15803d; }

.fx-call { display: flex; align-items: center; align-self: center; gap: 0.4em; padding: 0.3em 0.8em; border-radius: 9999px; background-color: #fee4e2; color: #b42318; font-size: max(0.68em, min(11px, 0.85em)); font-weight: 650; }
.ui p.fx-call svg { width: 1.2em; height: 1.2em; }
.ui p.fx-chip { display: flex; align-items: center; align-self: center; gap: 0.4em; padding: 0.35em 0.9em; border-radius: 9999px; background-color: var(--fx-soft); color: var(--fx-deep); font-size: max(0.68em, min(11px, 0.85em)); font-weight: 650; }
.fx-chip svg { width: 1.1em; height: 1.1em; stroke-width: 3; }

.ui p.fx-wave { display: flex; align-items: center; gap: 0.6em; padding-block: 0.45em; }
.fx-wave svg { flex: none; width: 1em; height: 1em; fill: currentColor; }
.fx-wave span { display: flex; align-items: center; gap: 0.14em; height: 1.4em; }
.fx-wave i { display: block; width: 0.17em; height: calc(var(--h) * 0.1em); border-radius: 9999px; background-color: currentColor; opacity: 0.85; }
.fx-note { align-self: flex-start; width: 84%; max-height: 5.4em; padding: 0.6em 0.8em; overflow: hidden; border: 0.0625em solid var(--ui-line); border-radius: 0.75em; }
.fx-note p { font-size: max(0.76em, min(11px, 0.95em)); line-height: 1.5; }
.fx-note b { font-weight: 650; }
.ui p.fx-note__more { display: grid; gap: 0.45em; margin-top: 0.4em; }
.fx-note__more i { display: block; width: 70%; height: 0.5em; border-radius: 9999px; background-color: var(--ui-fill); }
.ui p.fx-pick { display: flex; flex-wrap: wrap; align-self: flex-start; gap: 0.4em; }
.fx-pick span { padding: 0.45em 0.9em; border-radius: 9999px; background-color: var(--fx-soft); color: var(--fx-deep); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; box-shadow: inset 0 0 0 0.0625em var(--fx-edge); }
.fx-pick .is-off { background-color: #fff; color: var(--slate); box-shadow: inset 0 0 0 0.0625em var(--ui-line); }

/* ── AI receptionist: the header ── */
.fx-calls__tiles { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 0.6em; }
.ui p.fx-calls__big { display: flex; flex-direction: column; justify-content: center; padding: 0.7em 0.9em; border-radius: 0.75em; background-color: var(--fx-soft); }
.fx-calls__big span { color: var(--fx-deep); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; }
.fx-calls__big b { font-size: 2.6em; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.fx-calls__counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4em; }
.fx-calls__counts li { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0.4em 0.6em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.fx-calls__counts li:last-child { grid-column: span 2; }
.fx-calls__counts span { color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); line-height: 1.25; }
.fx-calls__counts b { font-size: 1.2em; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ui p.fx-calls__h { margin: 0.9em 0 0.2em; font-size: 0.82em; font-weight: 650; }
.fx-calls__list li { display: grid; grid-template-columns: 5.2em 4.8em minmax(0, 1fr); align-items: center; gap: 0.6em; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-calls__list .fx-pill { justify-self: start; }
.fx-calls__what { font-size: max(0.74em, min(11px, 0.925em)); line-height: 1.3; }

/* ── AI receptionist: the steps ── */
.fx-guide__rows > div { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); align-items: baseline; gap: 0.6em; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-guide dt { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 600; }
.fx-guide dd { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; line-height: 1.25; text-wrap: pretty; }

.fx-flow__greet { display: flex; align-items: center; gap: 0.6em; }
.fx-flow__box { display: block; padding: 0.35em 0.7em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; background-color: #fff; font-size: max(0.76em, min(11px, 0.95em)); font-weight: 650; }
.fx-flow__side { position: relative; padding: 0.3em 0.6em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 600; white-space: nowrap; }
.fx-flow__side::before { content: ""; position: absolute; top: 50%; right: 100%; width: 0.85em; height: 0.125em; background-color: var(--rail); }
.ui p.fx-flow__ask { position: relative; width: max-content; margin: 0.8em auto 0; border-color: var(--fx-edge); background-color: var(--fx-soft); color: var(--fx-deep); }
.fx-flow__ask::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 0.125em; height: 0.8em; background-color: var(--rail); }
.fx-flow__ask::after { content: ""; position: absolute; top: 100%; left: 50%; width: 0.125em; height: 0.5em; background-color: var(--rail); }
.ui ul.fx-flow__cols { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5em; margin-top: 0.5em; padding-top: 0.5em; }
.fx-flow__cols::before { content: ""; position: absolute; top: 0; right: 16.6%; left: 16.6%; height: 0.125em; background-color: var(--rail); }
.fx-flow__cols li { display: flex; flex-direction: column; align-items: center; gap: 0.25em; text-align: center; }
.fx-flow__branch { color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 650; }
.fx-flow__cols i { width: 0.125em; height: 0.45em; background-color: var(--rail); }
.fx-flow__end { padding: 0.3em 0.5em; border: 0.0625em solid var(--ui-line); border-radius: 0.5em; font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.fx-flow__miss { padding: 0.25em 0.5em; border: 0.0625em dashed #b4bcc9; border-radius: 0.5em; color: var(--slate); font-size: max(0.58em, min(11px, 0.725em)); font-weight: 600; line-height: 1.25; }
.ui p.fx-flow__after { margin-top: 0.7em; padding: 0.45em 0.8em; border-radius: 0.6em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; text-align: center; }

.fx-tests__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6em; padding: 0.42em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-n { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 700; }
.fx-tests__what { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; line-height: 1.25; }
.fx-tests__what em { display: block; color: var(--slate); font-size: 0.86em; font-style: normal; font-weight: 500; }

/* ── AI receptionist: the parts of the work ── */
.ui p.fx-from { display: flex; align-items: center; align-self: flex-start; gap: 0.4em; margin-top: 0.2em; padding: 0.3em 0.8em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; }
.fx-from svg { width: 1.1em; height: 1.1em; }

.fx-booking-day__body { display: grid; grid-template-columns: minmax(0, 1fr) 10em; gap: 0.9em; align-items: start; }
.fx-slots li { display: grid; grid-template-columns: 4em minmax(0, 1fr); align-items: start; gap: 0.5em; margin-bottom: 0.35em; padding: 0.6em 0.7em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.fx-slots li:last-child { margin-bottom: 0; }
.fx-slots li > div { display: flex; flex-direction: column; min-width: 0; }
.fx-slots b { font-size: 0.8em; font-weight: 650; }
.fx-slots span:not(.fx-when) { font-size: max(0.72em, min(11px, 0.9em)); }
.fx-slots em { margin-top: 0.15em; color: var(--fx-deep); font-size: max(0.64em, min(11px, 0.8em)); font-style: normal; font-weight: 600; }
.fx-slot.is-booked { border-color: var(--fx-edge); background-color: var(--fx-soft); }
.fx-slot.is-open b { color: #15803d; }

.fx-transfer .fx-phone { width: 11em; }
.fx-transfer .fx-phone__screen { min-height: 9.5em; }
.fx-incoming { display: flex; flex-direction: column; align-items: center; gap: 0.15em; padding-top: 0.5em; text-align: center; }
.fx-incoming span { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); }
.fx-incoming b { font-size: 0.95em; font-weight: 650; }
.ui p.fx-incoming__say { padding: 0.5em 0.7em; border-radius: 0.8em; background-color: var(--ui-fill); font-size: max(0.68em, min(11px, 0.85em)); text-align: center; }
.ui p.fx-incoming__btns { display: flex; justify-content: center; gap: 2.4em; margin-top: 0.4em; }
.fx-incoming__btns i { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; color: #fff; }
.fx-incoming__btns svg { width: 1.1em; height: 1.1em; }
.fx-incoming__btns .is-no { background-color: #d92d20; }
.fx-incoming__btns .is-yes { background-color: #16a34a; }
.ui ul.fx-transfer__rows { margin-top: 0.9em; }
.fx-transfer__rows li { display: grid; grid-template-columns: 5.4em minmax(0, 1fr) auto; align-items: center; gap: 0.2em 0.6em; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-transfer__rows li > span:nth-child(2) { font-size: max(0.76em, min(11px, 0.95em)); font-weight: 600; }
.fx-transfer__rows em { grid-column: 2 / -1; color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-style: normal; }

.fx-contact__rows > div { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); align-items: center; gap: 0.6em; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-contact dt { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 600; }
.fx-contact dd { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; line-height: 1.25; }
.fx-contact dd .fx-pill { font-size: 0.82em; }
.fx-contact dd .fx-bar { width: 9em; }
.ui p.fx-contact__note { display: flex; align-items: center; gap: 0.5em; margin-top: 0.4em; padding: 0.55em 0.8em; border-radius: 0.6em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }
.fx-contact__note svg { flex: none; width: 1.2em; height: 1.2em; }

.ui p.fx-ended__big { display: flex; align-items: baseline; gap: 0.5em; margin-bottom: 0.4em; }
.fx-ended__big b { font-size: 3em; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.fx-ended__big span { color: var(--slate); font-size: 0.85em; font-weight: 500; }
.fx-ended__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 2.6em; align-items: center; gap: 0.6em; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-ended__list li > span:first-child { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; }
.fx-ended__list b { color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-variant-numeric: tabular-nums; text-align: right; }
.ui p.fx-ended__foot { margin-top: 0.4em; padding: 0.55em 0.8em; border-radius: 0.6em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); line-height: 1.35; }

.fx-review__list li { padding: 0.65em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-review__saw { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6em; font-size: 0.82em; font-weight: 600; }
.fx-review__saw b { color: var(--fx-deep); font-variant-numeric: tabular-nums; }
.fx-review__fix { display: flex; align-items: center; gap: 0.5em; margin-top: 0.25em; color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 500; }
.fx-review__fix svg { flex: none; width: 1.1em; height: 1.1em; color: var(--fx); }

/* ── CRM: the header ── */
.fx-board__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5em; align-items: start; }
.fx-col { padding: 0.55em; border-radius: 0.7em; background-color: var(--ui-fill); }
.ui p.fx-col__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.3em; }
.fx-col__head b { font-size: max(0.76em, min(11px, 0.95em)); font-weight: 650; line-height: 1.2; }
.fx-col__head span { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 700; }
.ui p.fx-col__sum { color: var(--fx-deep); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; }
.fx-col ul { display: grid; gap: 0.35em; margin-top: 0.45em; }
.fx-job { padding: 0.5em; border-radius: 0.5em; background-color: #fff; box-shadow: 0 0.05em 0.15em rgb(12 14 18 / 0.08); font-size: max(0.68em, min(11px, 0.85em)); font-weight: 600; line-height: 1.25; }
.fx-more { padding: 0.25em 0.5em; border: 0.0625em dashed #b4bcc9; border-radius: 9999px; color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 650; text-align: center; }

/* ── CRM: the steps ── */
.fx-places__rows li { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; margin-bottom: 0.4em; padding: 0.55em 0.7em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.fx-places__rows span { display: flex; align-items: center; gap: 0.5em; font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; }
.fx-places__rows span svg { width: 1.15em; height: 1.15em; color: var(--slate); }
.fx-places__rows b { font-size: 0.86em; font-variant-numeric: tabular-nums; }
.fx-places__rows .is-both { border-color: #f4d58a; background-color: #fef3c7; }
.fx-places__rows .is-both span { color: #7a4a06; }
.ui p.fx-places__note { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }

.fx-hand { padding-bottom: 0; }
.fx-hand .fx-phone { width: 19em; }
.fx-hand .fx-phone__screen { gap: 0.4em; padding-bottom: 0; }
.ui p.fx-hand__h { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 650; }
.fx-hand__team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4em; }
.fx-hand__team li { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2em; padding: 0.35em 0.55em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.fx-hand__team b { font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; }
.fx-hand__vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35em; }
.fx-hand__vids li { display: flex; align-items: center; gap: 0.45em; min-height: 1.9em; padding: 0.35em 0.5em; border-radius: 0.5em; background-color: var(--ui-fill); }
.fx-hand__vids svg { flex: none; width: 1em; height: 1em; color: var(--fx); fill: currentColor; }
.fx-hand__vids span { font-size: max(0.66em, min(11px, 0.825em)); font-weight: 600; line-height: 1.2; }

/* ── CRM: the parts of the work ── */
.fx-import__rows li { display: flex; align-items: center; justify-content: space-between; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-import__rows span { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; }
.fx-import__rows b { font-size: 0.9em; font-variant-numeric: tabular-nums; }
.fx-import__rows .is-merged span, .fx-import__rows .is-merged b { color: var(--slate); }
.fx-import__rows .is-total { padding-inline: 0.7em; border: 0; border-radius: 0.6em; background-color: var(--fx-soft); }
.fx-import__rows .is-total span { color: var(--fx-deep); }
.fx-import__rows .is-total b { font-size: 1.2em; }
.ui p.fx-import__h { margin: 0.8em 0 0.35em; font-size: 0.82em; font-weight: 650; }
.fx-import__tags { display: flex; flex-wrap: wrap; gap: 0.4em; }
.fx-import__tags li { display: flex; align-items: center; gap: 0.45em; padding: 0.3em 0.7em; border-radius: 9999px; background-color: var(--ui-fill); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; }
.fx-import__tags b { color: var(--fx-deep); font-variant-numeric: tabular-nums; }
.ui p.fx-import__sent { display: flex; align-items: center; gap: 0.5em; margin-top: 0.8em; color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); }
.fx-import__sent svg { width: 1.2em; height: 1.2em; }

.fx-stages__list li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 0.2em 0.5em; padding: 0.45em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-stages__list .fx-ico { width: 1.4em; height: 1.4em; background-color: transparent; color: #98a0ae; }
.fx-stages__list b { font-size: 0.82em; font-weight: 650; white-space: nowrap; }
.fx-stages__list li > span { justify-self: end; padding: 0.15em 0.55em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.6em, min(11px, 0.75em)); font-weight: 600; line-height: 1.3; text-align: right; }

.fx-form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0.7em; align-items: center; }
.fx-formcard { height: 100%; padding: 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.75em; }
.fx-formcard.is-contact { background-color: var(--fx-soft); border-color: var(--fx-edge); }
.ui p.fx-formcard__h { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.5em; font-size: max(0.78em, min(11px, 0.975em)); }
.fx-formcard__h svg { flex: none; width: 1.3em; height: 1.3em; }
.fx-formcard__h b { font-weight: 650; }
.ui p.fx-formcard__t { margin-bottom: 0.5em; font-size: 0.84em; font-weight: 650; }
.fx-formcard .fx-bar { width: 70%; margin-bottom: 0.6em; }
.ui p.fx-q { color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; }
.ui p.fx-a { margin-bottom: 0.5em; padding: 0.35em 0.55em; border-radius: 0.4em; background-color: var(--ui-fill); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; line-height: 1.3; }
.ui p.fx-formcard__sent { margin-top: 0.3em; color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); }
.fx-formcard dl > div { padding: 0.4em 0; border-top: 0.0625em solid var(--fx-edge); }
.fx-formcard dt { color: var(--fx-deep); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 600; }
.fx-formcard dd { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 650; line-height: 1.25; }
.fx-form__go { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background-color: var(--fx); color: #fff; }
.fx-form__go svg { width: 1.1em; height: 1.1em; }

.fx-cal__rules li { display: flex; align-items: center; gap: 0.7em; padding: 0.4em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-cal__rules .fx-ico { width: 1.7em; height: 1.7em; }
.fx-cal__rules li span:last-child { font-size: 0.8em; font-weight: 600; }
.fx-cal__strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5em; margin-top: 0.7em; }
.fx-cal__strip p { display: flex; flex-direction: column; padding: 0.55em 0.75em; border-radius: 0.6em; background-color: var(--ui-fill); }
.fx-cal__strip span { color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); }
.fx-cal__strip b { font-size: 0.95em; font-weight: 700; }

.fx-thread .fx-phone__screen { min-height: 14em; }
.fx-thread .fx-head { margin-bottom: 0.4em; }
.fx-thread .fx-bar { width: 5em; }
.ui p.fx-chan { display: flex; align-items: center; gap: 0.4em; color: var(--slate); font-size: max(0.6em, min(11px, 0.75em)); font-weight: 600; }
.fx-chan svg { flex: none; width: 1.2em; height: 1.2em; }
.fx-chan.is-out { align-self: flex-end; }
.ui p.fx-mailchip { align-self: flex-start; padding: 0.5em 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; }

.fx-reg__rows li { display: flex; align-items: flex-start; gap: 0.7em; padding: 0.5em 0; border-top: 0.0625em solid var(--ui-line); }
.fx-reg__rows li > div { display: grid; min-width: 0; }
.fx-reg__rows span { color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; }
.fx-reg__rows b { font-size: 0.8em; font-weight: 650; }
.fx-reg__rows em { margin-top: 0.2em; padding: 0.2em 0.55em; border-radius: 0.4em; background-color: #fef3c7; color: #7a4a06; font-size: max(0.64em, min(11px, 0.8em)); font-style: normal; font-weight: 600; line-height: 1.3; }
.ui p.fx-reg__ready { display: flex; align-items: center; gap: 0.5em; margin-top: 0.4em; padding: 0.6em 0.8em; border-radius: 0.6em; background-color: #dcfce7; color: #15803d; font-size: max(0.78em, min(11px, 0.975em)); font-weight: 650; }
.fx-reg__ready svg { width: 1.2em; height: 1.2em; stroke-width: 3; }

.fx-today__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5em; }
.fx-today__tiles li { display: flex; flex-direction: column; padding: 0.6em 0.75em; border: 0.0625em solid var(--ui-line); border-radius: 0.7em; }
.fx-today__tiles span { color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 500; }
.fx-today__tiles b { font-size: 1.7em; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.fx-today__tiles em { color: var(--fx-deep); font-size: max(0.66em, min(11px, 0.825em)); font-style: normal; font-weight: 650; }
.fx-today__lists { margin-top: 0.7em; padding: 0.7em 0.8em; border-radius: 0.7em; background-color: var(--ui-fill); }
.ui .fx-today__lists p { margin-bottom: 0.3em; font-size: max(0.78em, min(11px, 0.975em)); font-weight: 650; }
.fx-today__lists li { display: flex; align-items: center; justify-content: space-between; padding: 0.3em 0; }
.fx-today__lists li span { font-size: max(0.74em, min(11px, 0.925em)); font-weight: 600; }
.fx-today__lists li b { padding: 0.05em 0.6em; border-radius: 9999px; background-color: #fff; font-size: max(0.74em, min(11px, 0.925em)); font-variant-numeric: tabular-nums; }

/* A narrow box (a phone, and the rows from 1024 to about 1250 px): the wide pictures 22 em wide, their parts stacked */
@container (max-width: 479px) {
  .fx-week, .fx-calls, .fx-board, .fx-booking-day, .fx-review, .fx-form { --w: 22; }
  .fx-calls__tiles { grid-template-columns: minmax(0, 1fr); }
  .ui p.fx-calls__big { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .fx-calls__list li { grid-template-columns: auto minmax(0, 1fr); gap: 0.3em 0.6em; }
  .fx-calls__what { grid-column: 1 / -1; }
  .fx-board__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-booking-day__body { grid-template-columns: minmax(0, 1fr); }
  .fx-booking-day .fx-chat { flex-direction: row; flex-wrap: wrap; align-items: baseline; }
  .fx-form { grid-template-columns: minmax(0, 1fr); }
  .fx-form__go { justify-self: center; rotate: 90deg; }
}

/* ── The CRM page's own layout ── */
/* Two steps (the CRM page holds its third until Rahul says yes) take the row between them, not two thirds of it */
@media (min-width: 1024px) { .svc-steps:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* and the handover's seven video cards all show above the card's edge */
.svc-steps:has(> li:nth-child(2):last-child) .svc-shot--step > .ui { min-height: 19.4em; }
/* Chauffeur on Demand's logo is white lettering made for a dark background (common.CLIENT_LOGOS: is-knockout), so on the quote's tinted card it
   shows as the same gray silhouette the logos row gives it, at the width of its shape */
.svc-quote__logo[src$="/chauffeur-on-demand.webp"] { width: 142px; height: 50px; filter: brightness(0); opacity: 0.6; }
/* One card in the quotes row (built for three) sits in the middle at a reading width, not in a third of the row */
.svc-says:has(> li:only-child) { grid-template-columns: minmax(0, 44em); justify-content: center; }

/* The calm pass (2026-11-17): on a phone (a picture about 290 px wide) these draw at about 17 px, so no label goes under about 10 */
@media (max-width: 767px) {
  .svc-calm :is(.fx-places, .fx-import, .fx-stages, .fx-cal, .fx-thread, .fx-reg, .fx-today) { --w: 17; }
  .svc-calm .fx-hand { --w: 19.5; }   /* its tutorial names fit their chips */
  .svc-calm .fx-form { --w: 17.5; }
  .svc-calm :is(.fx-repeats, .fx-chain) { --w: 16; }
  .svc-calm .fx-test { --w: 19; }
  .svc-calm :is(.fx-followup, .fx-reminders, .fx-invoice, .fx-missed, .fx-voice) { --w: 17; }
}
/* Automations' step pictures, larger on a desktop too (they were 10.6 px at their smallest) */
@media (min-width: 768px) { .svc-calm :is(.fx-repeats, .fx-chain) { --w: 18; } }

/* The calm pass on the AI receptionist (2026-11-17): its step pictures draw larger, and every picture on a phone */
.svc-calm :is(.fx-guide, .fx-flow, .fx-tests) { --w: 18; }
@media (max-width: 767px) {
  .svc-calm :is(.fx-guide, .fx-flow, .fx-tests) { --w: 16.5; }
  .svc-calm :is(.fx-question, .fx-transfer, .fx-contact, .fx-ended, .fx-booking-day, .fx-review) { --w: 17.5; }
}
