/*
  The Bakersfield family's second sheet (docs/pages/service_pages/pictures/bakersfield_b.py): the pictures of Bakersfield local SEO,
  Bakersfield reputation management and Bakersfield Business Profile management. Screens for a made-up pest control company, Sunline Pest
  Control (an orange band on a white van, navy crew shirts, a half sun mark), drawn with the same colors as the first Bakersfield sheet
  (pictures-bakersfield-a.css) so the six pages show one business. They sit on the .ui system in service-page.css: every size 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 down to 320, and a
  box under 480 px draws the wide ones 22 em wide with their parts stacked. Flat fills only, no ruled lines behind anything (Rahul found
  street-map and grid lines busy), Inter only, no motion.
*/
.ui { --sun: #f97316; --sun-deep: #c2410c; --sun-tint: #fff1e3; --sun-line: #fed7aa; --navy: #1f3552; --ok: #15803d; --ok-tint: #dcfce7; }
.ui :is(ul, ol) { list-style: none; padding: 0; }

/* The line under each page's header picture, on the glass: the picture is of a made up business */
.ui-made { max-width: 30em; margin: calc(var(--rim) + 0.7rem) auto 0; color: rgb(255 255 255 / 0.74); font-size: 0.8125rem; line-height: 1.45; text-align: center; text-wrap: balance; }

/* Each picture's width in em: the headers' 30, the steps' 24, the rows' 34 */
.ui-heat, .ui-inbox, .ui-clean { --w: 30; }
.ui-twoph, .ui-first, .ui-spot, .ui-own, .ui-cats, .ui-chg { --w: 24; }
.ui-hold, .ui-seen, .ui-rvm, .ui-lst, .ui-did, .ui-asks, .ui-aiset, .ui-sug, .ui-edit, .ui-post, .ui-wk { --w: 34; }
.ui-edit--area, .ui-edit--book { --w: 30; }

/* ── Shared parts ── */
/* The top row: the screen's title, a quieter line beside it, and the Example tag in the corner of a screen with a before number */
.ui-top { display: flex; align-items: flex-start; gap: 0.6em; margin-bottom: 0.85em; }
.ui p.ui-top__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1em 0.55em; min-width: 0; }
.ui-top__title b { font-size: 1.05em; font-weight: 650; letter-spacing: -0.015em; }
.ui-top__title span { color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); font-weight: 500; }
.ui-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.7em, min(11px, 0.875em)); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
/* A status chip (every text on its fill 4.5:1 or better) */
.ui-chip { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.22em 0.65em; border-radius: 9999px; font-size: max(0.68em, min(11px, 0.85em)); font-weight: 650; line-height: 1.3; white-space: nowrap; }
.ui-chip svg { flex: none; width: 1em; height: 1em; stroke-width: 3; }
.ui-chip.is-green { background-color: var(--ok-tint); color: var(--ok); }
.ui-chip.is-gray { background-color: var(--ui-fill); color: var(--slate); }
.ui-chip.is-blue { background-color: var(--tint); color: var(--anchor-deep); }
.ui-chip.is-amber { background-color: #fef3c7; color: #8a4b05; }
/* A person as a round initial, white on a flat color */
.ui-av { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 9999px; color: #fff; font-size: 0.8em; font-weight: 650; line-height: 1; }
.ui-av.is-blue { background-color: #2563eb; }
.ui-av.is-green { background-color: #15803d; }
.ui-av.is-violet { background-color: #6d28d9; }
.ui-av.is-rose { background-color: #be123c; }
.ui-av.is-teal { background-color: #0f766e; }
/* Rows of a label, a flat bar and its count (who holds the top three, where people saw the profile) */
.ui-brs { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; align-items: center; gap: 0.7em 0.8em; }
.ui-brs > li { display: contents; }
.ui-brs__name { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 550; }
.ui-brs__bar { display: block; height: 0.95em; overflow: hidden; border-radius: 9999px; background-color: var(--ui-fill); }
.ui-brs__bar i { display: block; height: 100%; border-radius: 9999px; }
.ui-brs > li > b { font-size: 0.9em; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ui-brs .is-gray i { background-color: #b7bfcb; }
.ui-brs .is-sun i { background-color: var(--sun); }
.ui-brs .is-sun .ui-brs__name { color: var(--sun-deep); font-weight: 700; }
.ui-brs .is-navy i { background-color: var(--navy); }
.ui-brs .is-steel i { background-color: #7a93b4; }

/* ══ Local SEO in Bakersfield ═══════════════════════════════════════════════════════════════════════════════════════ */

/* The header's: Sunline's heat map for pest control on October 13. A flat, quiet map (pale ground, the Kern River as one soft band, no
   streets and no lines), 169 round spots with no numbers in them, the parts of town named in the gaps between rows, a pin by
   Riverlakes, and what the colors mean beside it (under the map in a narrow box) */
.ui-heat__body { display: grid; grid-template-columns: minmax(0, 1fr) 6.4em; align-items: start; gap: 1em; }
.ui-heat__map { padding: 0.55em; border-radius: 0.9em; background-color: #edf1f6; }
.ui-heat__grid { position: relative; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); grid-template-rows: repeat(13, minmax(0, 1fr)); aspect-ratio: 1; }
.ui-heat__grid > i { position: relative; z-index: 1; display: block; justify-self: center; align-self: center; width: 0.7em; height: 0.7em; border-radius: 9999px; background-color: #c3cad5; }
.ui-heat__grid > i.is-top, .ui-heat__key i.is-top { background-color: var(--ok); }
.ui-heat__grid > i.is-near, .ui-heat__key i.is-near { background-color: var(--amber); }
.ui-heat__grid > i.is-mid, .ui-heat__key i.is-mid { background-color: #d92d20; }
.ui-heat__grid > i.is-base { display: grid; place-items: center; width: 1.55em; height: 1.55em; color: #fff; box-shadow: 0 0 0 0.18em #fff, 0 0.1em 0.35em rgb(12 14 18 / 0.3); }
.ui-heat__grid > i.is-base svg { width: 0.95em; height: 0.95em; stroke-width: 2.4; }
.ui-heat__river { position: absolute; z-index: 0; left: -0.55em; width: calc(100% + 1.1em); top: calc(100% * 4 / 13 - 0.95em); height: 1.9em; }
.ui-heat__river path { fill: #d3e3f6; }
.ui-heat__name { position: absolute; z-index: 2; color: #475163; font-size: max(0.68em, min(11px, 0.85em)); font-weight: 600; line-height: 1; white-space: nowrap; transform: translate(-50%, -50%); }
.ui-heat__name.is-l { transform: translate(0, -50%); }
.ui-heat__side { display: grid; gap: 0.7em; align-content: start; }
.ui p.ui-heat__now { font-size: 0.82em; line-height: 1.3; }
.ui-heat__now b { color: var(--ok); font-size: 1.7em; font-weight: 700; letter-spacing: -0.02em; }
.ui p.ui-heat__then { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); line-height: 1.3; }
.ui-heat__then b { color: var(--night); font-weight: 650; }
.ui-heat__key { display: grid; gap: 0.4em; }
.ui-heat__key li { display: flex; align-items: center; gap: 0.45em; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); line-height: 1.2; }
.ui-heat__key i { flex: none; width: 0.85em; height: 0.85em; border-radius: 9999px; background-color: #c3cad5; }

/* The steps. Local SEO's step pictures sit in a box 230 px tall that cuts them wherever it falls; these keep their last line, so the box
   follows the picture and the card's bottom edge cuts only the white under it. The three share one height, so their tops line up */
.svc-shot--step:has(> :is(.ui-twoph, .ui-first, .ui-spot, .ui-own, .ui-cats, .ui-chg)) { height: auto; }
.svc-shot--step > :is(.ui-twoph, .ui-first, .ui-spot) { min-height: 21.2em; margin-bottom: -1em; }
.svc-shot--step > :is(.ui-own, .ui-cats, .ui-chg) { min-height: 20.3em; margin-bottom: -1em; }
.ui-first, .ui-spot, .ui-cats, .ui-chg { display: flex; flex-direction: column; }

/* Step 1: two phones, one search, two parts of town, two different lists */
.ui-twoph { padding: 1em 1em 1.2em; }
.ui-twoph__phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0.8em; }
.ui-ph { min-width: 0; padding: 0.6em 0.6em 0.7em; border-radius: 1em; background-color: var(--ui-fill); }
.ui p.ui-ph__from { display: grid; font-size: max(0.74em, min(11px, 0.925em)); line-height: 1.2; }
.ui-ph__from b { font-weight: 650; }
.ui-ph__from small { color: var(--slate); font-size: 0.92em; }
.ui p.ui-ph__bar { display: flex; align-items: center; gap: 0.4em; margin-top: 0.4em; padding: 0.35em 0.6em; border-radius: 9999px; background-color: #fff; font-size: max(0.72em, min(11px, 0.9em)); white-space: nowrap; }
.ui-ph__bar svg { flex: none; width: 1.1em; height: 1.1em; color: var(--slate); }
.ui-ph__bar b { font-weight: 600; }
.ui ul.ui-ph__list { display: grid; gap: 0.35em; margin-top: 0.5em; }
.ui-ph__list > li { display: grid; gap: 0.3em; justify-items: start; padding: 0.42em 0.55em; border-radius: 0.6em; background-color: #fff; }
.ui-ph__name { display: grid; gap: 0.25em; min-width: 0; }
.ui-ph__name i { display: block; width: 4.6em; height: 0.42em; border-radius: 0.3em; background-color: #cdd3dd; }
.ui-ph__name small { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); line-height: 1.2; }
.ui-ph__name b { font-size: max(0.76em, min(11px, 0.95em)); font-weight: 700; line-height: 1.2; }
.ui-ph__list > li.is-you { background-color: var(--sun-tint); box-shadow: inset 0 0 0 0.0625em var(--sun-line); }
.ui p.ui-ph__miss { margin-top: 0.3em; padding: 0.4em 0.55em; border: 0.0625em dashed #b8c0cc; border-radius: 0.6em; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); line-height: 1.35; }
.ui-ph__miss b { color: var(--night); font-weight: 650; }

/* Step 2: Sunline's first map, three searches, and the plan */
.ui p.ui-first__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6em; margin-bottom: 0.9em; font-size: 0.86em; }
.ui-first__head b { font-weight: 650; }
.ui-first__head span { color: var(--slate); }
.ui ul.ui-first__list { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; align-items: center; gap: 1em 0.7em; margin-bottom: 1.1em; }
.ui-first__list > li { display: contents; font-size: 0.92em; }
.ui-first__list > li > span:first-child { font-weight: 550; }
.ui-first__bar { display: block; height: 0.95em; overflow: hidden; border-radius: 9999px; background-color: var(--ui-fill); }
.ui-first__bar i { display: block; height: 100%; border-radius: 9999px; background-color: var(--sun); }
.ui-first__list > li > b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ui p.ui-first__plan { margin-top: auto; padding-top: 0.9em; border-top: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.78em, min(11px, 0.975em)); line-height: 1.45; }
.ui-first__plan b { color: var(--night); font-weight: 650; }

/* Step 3: one spot in Downtown on four maps */
.ui-spot__body { display: flex; align-items: center; gap: 0.9em; margin-bottom: 1em; }
.ui-spot__mini { position: relative; flex: none; width: 8.5em; height: 8.6em; overflow: hidden; border-radius: 0.7em; background-color: #edf1f6; }
.ui-spot__mini svg { position: absolute; left: 0; top: 2em; width: 100%; height: 2em; }
.ui-spot__mini path { fill: #d3e3f6; }
.ui-spot__mini i { position: absolute; left: 48%; top: 60%; width: 1em; height: 1em; border-radius: 9999px; background-color: var(--ok); box-shadow: 0 0 0 0.2em #fff; transform: translate(-50%, -50%); }
.ui p.ui-spot__cap { color: var(--slate); font-size: 0.8em; line-height: 1.4; }
.ui ol.ui-spot__maps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5em; margin-top: auto; }
.ui-spot__maps li { display: grid; gap: 0.2em; padding: 0.8em 0.3em; border-radius: 0.65em; background-color: var(--ui-fill); text-align: center; }
.ui-spot__maps span { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); }
.ui-spot__maps b { font-size: 1.25em; font-weight: 700; }
.ui-spot__maps .is-top { background-color: var(--ok-tint); }
.ui-spot__maps .is-top b { color: var(--ok); }

/* Row 3: new reviews a month, one dot a review */
.ui ol.ui-rvm__cols { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4em; margin-top: 0.4em; }
.ui-rvm__cols > li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35em; }
.ui-rvm__dots { display: grid; grid-template-columns: repeat(3, 0.8em); gap: 0.28em; justify-content: center; align-content: end; height: 5.4em; }
.ui-rvm__dots i { display: block; width: 0.8em; height: 0.8em; border-radius: 9999px; background-color: #b7bfcb; }
.ui-rvm__cols .is-after .ui-rvm__dots i { background-color: var(--sun); }
.ui-rvm__cols b { font-size: 1.2em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ui-rvm__cols small { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); line-height: 1.2; text-align: center; }
.ui-rvm__cols > li:nth-child(2)::before { content: ""; position: absolute; left: -0.2em; top: 0; width: 0.125em; height: 5.4em; border-radius: 9999px; background-color: var(--sun-line); }
.ui-rvm__flag { position: absolute; z-index: 1; left: 0.5em; top: 0; color: var(--sun-deep); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 650; line-height: 1.25; white-space: nowrap; }

/* Row 4: listings that match, and one listing copying another's mistake */
.ui-lst__count { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.8em; }
.ui-lst__count p { display: grid; gap: 0.1em; padding: 0.7em 0.8em; border-radius: 0.8em; text-align: center; }
.ui-lst__count small { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); }
.ui-lst__count b { font-size: 1.6em; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ui-lst__count .is-before { background-color: var(--ui-fill); }
.ui-lst__count .is-before b { color: var(--slate); }
.ui-lst__count .is-after { background-color: var(--ok-tint); }
.ui-lst__count .is-after b { color: var(--ok); }
.ui-lst__arrow { color: var(--slate); }
.ui-lst__arrow svg { display: block; width: 1.3em; height: 1.3em; stroke-width: 1.6; }
.ui-lst__chain { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.8em; margin-top: 1em; }
.ui-lst__site { display: grid; justify-items: start; gap: 0.5em; padding: 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.8em; }
.ui-lst__id { display: flex; align-items: center; gap: 0.5em; }
.ui-lst__id > b { font-size: 0.86em; font-weight: 650; }
.ui-lst__tile { display: grid; place-items: center; flex: none; width: 1.9em; height: 1.9em; border-radius: 0.45em; }
.ui-lst__tile.is-color { background-color: #fff; box-shadow: inset 0 0 0 0.0625em var(--ui-line); }
.ui-lst__tile .ui-mark { width: 1.15em; height: 1.15em; }
.ui-lst__old { padding: 0.3em 0.6em; border-radius: 0.5em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); font-weight: 600; white-space: nowrap; }
.ui-lst__old.is-copy { background-color: #fef3c7; color: #8a4b05; }

/* Row 5: what people did after finding the profile */
.ui-did__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em; }
.ui-did__tiles li { display: grid; align-content: start; gap: 0.2em; padding: 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.8em; }
.ui-did__tiles small { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); }
.ui-did__tiles b { font-size: 1.7em; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ui-did__tiles span { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); line-height: 1.25; }
.ui-did__tiles .is-none b { color: var(--slate); font-size: 1.05em; line-height: 1.5; }
.ui p.ui-did__drop { display: flex; align-items: center; gap: 0.4em; margin-top: 0.9em; color: var(--bad); font-size: max(0.76em, min(11px, 0.95em)); font-weight: 600; }
.ui-did__drop svg { flex: none; width: 1.1em; height: 1.1em; stroke-width: 3; }

/* ══ Reputation management in Bakersfield ═══════════════════════════════════════════════════════════════════════════ */

/* The header's: Sunline's newest Google reviews as the owner sees them, with who wrote each reply */
.ui p.ui-inbox__sort { margin-bottom: 0.7em; }
.ui-sort { display: inline-flex; align-items: center; gap: 0.25em; padding: 0.3em 0.55em 0.3em 0.75em; border: 0.0625em solid var(--ui-line); border-radius: 9999px; font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; }
.ui-sort svg { width: 1.1em; height: 1.1em; }
.ui p.ui-inbox__strip { display: flex; justify-content: space-between; gap: 0.6em; padding: 0.55em 0.8em; border-radius: 0.6em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); }
.ui-inbox__strip b { color: var(--night); font-weight: 650; }
.ui-inbox__list > li { padding-block: 0.9em; border-bottom: 0.0625em solid var(--ui-line); }
.ui-inbox__list > li:last-child { padding-bottom: 0; border-bottom: 0; }
.ui p.ui-rv__who { display: flex; align-items: center; gap: 0.5em; }
.ui-rv__who b { font-size: 0.84em; font-weight: 650; }
.ui-rv__who small { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }
.ui p.ui-rv__text { margin-top: 0.5em; font-size: 0.8em; line-height: 1.4; }
.ui-rv__reply { display: grid; justify-items: start; gap: 0.4em; margin-top: 0.6em; }
.ui-rv__reply > p { padding: 0.55em 0.75em; border-left: 0.2em solid #c4cad4; border-radius: 0 0.5em 0.5em 0; background-color: var(--ui-fill); font-size: max(0.74em, min(11px, 0.925em)); line-height: 1.4; }

/* Row 1: one day of asks */
.ui-asks__list > li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.75em; padding-block: 0.7em; border-bottom: 0.0625em solid var(--ui-line); }
.ui-asks__job { display: grid; min-width: 0; }
.ui-asks__job b { font-size: 0.84em; font-weight: 650; }
.ui-asks__job small { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }
.ui-asks__when { display: grid; justify-items: end; gap: 0.25em; }
.ui-asks__when small { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); }
.ui p.ui-asks__foot { margin-top: 0.8em; color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); }
.ui-asks__foot b { color: var(--night); font-weight: 700; }

/* Row 2: the reply settings */
.ui p.ui-aiset__on { padding-bottom: 0.8em; border-bottom: 0.0625em solid var(--ui-line); }
.ui-aiset__list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8em; padding-block: 0.75em; border-bottom: 0.0625em solid var(--ui-line); }
.ui-aiset__list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.ui-aiset__list dt { color: var(--slate); font-size: max(0.78em, min(11px, 0.975em)); }
.ui-aiset__list dd { font-size: 0.84em; font-weight: 650; text-align: right; }

/* ══ Business Profile management in Bakersfield ═════════════════════════════════════════════════════════════════════ */
.ui-tag { flex: none; padding: 0.15em 0.55em; border-radius: 0.4em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 650; line-height: 1.3; }

/* The header's: Sunline's cleanup, what Google showed beside what is true */
.ui p.ui-clean__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8em; margin-bottom: 0.3em; color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.ui-clean__list > li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 0.8em; padding-block: 0.65em; border-top: 0.0625em solid var(--ui-line); }
.ui-clean__list s { color: var(--slate); font-size: max(0.78em, min(11px, 0.975em)); text-decoration-thickness: 0.08em; }
.ui-clean__list li > span { display: grid; justify-items: start; gap: 0.3em; }
.ui-clean__list b { font-size: 0.82em; font-weight: 650; }
.ui p.ui-clean__foot { display: flex; align-items: center; gap: 0.5em; margin-top: 0.7em; padding: 0.6em 0.8em; border-radius: 0.6em; background-color: var(--sun-tint); color: var(--sun-deep); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; }
.ui-clean__foot svg { flex: none; width: 1.2em; height: 1.2em; }

/* Step 1: every starting point an owner can be in */
.ui-own__list { display: grid; gap: 0.4em; }
.ui-own__list > li { display: grid; gap: 0.2em; padding: 0.5em 0.7em; border-radius: 0.65em; background-color: var(--ui-fill); }
.ui-own__list > li.is-you { background-color: var(--ok-tint); box-shadow: inset 0 0 0 0.0625em #86d3a3; }
.ui-own__case { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }
.ui-own__do { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em 0.55em; }
.ui-own__do b { font-size: 0.82em; font-weight: 650; }
.ui-own__do small { color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }

/* Step 2: the categories on the first 20 profiles */
.ui p.ui-cats__cols { display: grid; grid-template-columns: minmax(0, 1fr) 3.64em 8.18em; gap: 0.5em; margin-bottom: 0.6em; padding-bottom: 0.5em; border-bottom: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.ui-cats__cols span:nth-child(2) { text-align: right; }
.ui ul.ui-cats__list { display: grid; gap: 1.1em; margin-bottom: 1.1em; }
.ui-cats__list > li { display: grid; grid-template-columns: minmax(0, 1fr) 2.4em 5.4em; align-items: center; gap: 0.5em; }
.ui-cats__name { font-size: 0.86em; font-weight: 550; }
.ui-cats__list > li > b { font-size: 1em; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ui p.ui-cats__foot { margin-top: auto; padding-top: 0.7em; border-top: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }

/* Step 3: the changes, each core field in an edit of its own */
.ui p.ui-chg__cols { display: flex; gap: 0.7em; margin-bottom: 0.2em; padding-bottom: 0.5em; border-bottom: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.ui-chg__cols span:first-child { flex: none; width: 3.9em; }
.ui ul.ui-chg__list { margin-bottom: 0.8em; }
.ui-chg__list > li { display: flex; align-items: center; gap: 0.7em; padding-block: 0.85em; border-bottom: 0.0625em solid var(--ui-line); }
.ui-chg__list li > span { flex: none; width: 3.4em; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }
.ui-chg__list li > b { flex: 1; min-width: 0; font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; }
.ui p.ui-chg__foot { margin-top: auto; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }

/* Row 1: how a merge is asked for, from Maps' Suggest an edit panel */
.ui-sug__panel { padding: 0.9em; border: 0.0625em solid var(--ui-line); border-radius: 0.8em; }
.ui p.ui-sug__dup { display: grid; gap: 0.15em; }
.ui-sug__dup b { font-size: 0.9em; font-weight: 650; }
.ui-sug__dup span { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); }
.ui ul.ui-sug__choices { display: grid; gap: 0.4em; margin-top: 0.7em; }
.ui-sug__choices li { display: flex; align-items: center; gap: 0.55em; padding: 0.55em 0.7em; border-radius: 0.55em; background-color: var(--ui-fill); font-size: max(0.78em, min(11px, 0.975em)); }
.ui-sug__choices i { flex: none; width: 1em; height: 1em; border-radius: 9999px; box-shadow: inset 0 0 0 0.14em #8b94a3; }
.ui-sug__choices li.is-on { background-color: var(--tint); font-weight: 650; }
.ui-sug__choices li.is-on i { background: radial-gradient(circle, var(--anchor) 38%, transparent 42%); box-shadow: inset 0 0 0 0.14em var(--anchor); }
.ui p.ui-sug__to { display: flex; align-items: center; gap: 0.6em; margin-top: 0.7em; padding: 0.6em 0.7em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.ui-sug__to svg { flex: none; width: 1.3em; height: 1.3em; color: var(--ok); stroke-width: 3; }
.ui-sug__to span { display: grid; }
.ui-sug__to b { font-size: 0.82em; font-weight: 650; }
.ui-sug__to small { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); }
.ui ol.ui-sug__steps { display: flex; gap: 0.5em; margin-top: 0.8em; }
.ui-sug__steps li { flex: 1; padding: 0.5em 0.7em; border-radius: 0.55em; background-color: var(--ui-fill); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; text-align: center; }
.ui-sug__steps li:last-child { background-color: var(--ok-tint); color: var(--ok); }
.ui p.ui-sug__foot { margin-top: 0.7em; color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); }
.ui-sug__foot b { color: var(--night); }

/* Rows 2 to 5: the profile editor's fields, divided by hairlines */
.ui-edit__row { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 0.8em; padding-block: 0.8em; border-top: 0.0625em solid var(--ui-line); }
.ui p.ui-edit__label { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; }
.ui-edit__body { display: grid; justify-items: start; gap: 0.45em; min-width: 0; }
.ui p.ui-edit__old { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; color: var(--slate); font-size: max(0.78em, min(11px, 0.975em)); }
.ui p.ui-edit__new { font-size: 0.82em; font-weight: 650; line-height: 1.35; }
.ui p.ui-edit__line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; font-size: 0.8em; }
.ui-edit__line b { font-weight: 650; }
.ui-edit__line s { color: var(--slate); }
.ui-edit__line small { color: var(--slate); font-size: 0.85em; }
.ui-edit__cats { display: grid; gap: 0.55em; width: 100%; }
.ui-edit__cats li { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6em; font-size: max(0.78em, min(11px, 0.975em)); }
.ui-edit__cats li > span { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2em 0.5em; }
.ui-edit__cats b { font-weight: 650; }
.ui-edit__cats em { color: var(--slate); font-size: 0.9em; font-style: normal; white-space: nowrap; }
.ui-edit__cats .is-off s { color: var(--slate); }
/* A chip or a tag inside a smaller line keeps the size it has on its own (the em of the line is .78 or .8) */
.ui-edit__cats .ui-chip, .ui-edit__old .ui-chip { font-size: 0.87em; }
.ui-edit__line .ui-chip { font-size: 0.85em; }
.ui-edit__cats .ui-tag { font-size: 0.9em; }
.ui-edit__cats .is-off small { flex-basis: 100%; color: var(--slate); font-size: 0.85em; }
.ui-edit__chips { display: flex; flex-wrap: wrap; gap: 0.4em; }
.ui-edit__chips li { padding: 0.3em 0.7em; border-radius: 9999px; background-color: var(--ui-fill); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 550; }
.ui p.ui-edit__count { color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); }
.ui-edit__count b { color: var(--night); }
.ui p.ui-edit__foot { display: flex; align-items: center; gap: 0.4em; margin-top: 0.4em; padding-top: 0.7em; border-top: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }
.ui-edit__foot svg { flex: none; width: 1.25em; height: 1.25em; color: var(--ok); stroke-width: 3; }
.ui-book__btns { display: flex; flex-wrap: wrap; gap: 0.5em; }
.ui-book__btns li { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.5em 1em; border-radius: 9999px; box-shadow: inset 0 0 0 0.0625em #c4cad4; font-size: max(0.76em, min(11px, 0.95em)); font-weight: 600; }
.ui-book__btns svg { width: 1.1em; height: 1.1em; }
.ui-book__btns li.is-on { box-shadow: inset 0 0 0 0.14em var(--anchor); color: var(--anchor-deep); }

/* Row 6: a scheduled post with the owner's own photo, beside the photos she sent */
.ui-post__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 0.9em; }
.ui-post__card { display: grid; gap: 0.6em; padding: 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.8em; }
.ui p.ui-post__when { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }
.ui-post__when b { padding: 0.25em 0.7em; border-radius: 9999px; box-shadow: inset 0 0 0 0.0625em #c4cad4; color: var(--night); font-weight: 600; }
.ui-post__photo { display: block; width: 100%; height: auto; border-radius: 0.5em; }
.ui p.ui-post__text { font-size: max(0.78em, min(11px, 0.975em)); line-height: 1.4; }
.ui p.ui-post__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; }
.ui-post__side { display: grid; gap: 0.7em; }
.ui p.ui-post__sent { font-size: max(0.78em, min(11px, 0.975em)); }
.ui-post__sent b { font-size: 1.7em; font-weight: 700; }
.ui p.ui-post__counts { display: flex; gap: 1em; color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); }
.ui-post__counts b { color: var(--night); }
.ui ul.ui-post__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4em; }
.ui-post__tiles li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 0.5em; color: var(--slate); }
.ui-post__tiles svg { width: 1.5em; height: 1.5em; }
.ui-post__tiles .is-a { background-color: #d5dde8; }
.ui-post__tiles .is-b { background-color: #e6dccd; }
.ui-post__tiles .is-c { background-color: #d1e0d6; }

/* Row 7: October week by week, flat cells */
.ui-wk__grid { display: grid; grid-template-columns: max-content repeat(4, minmax(0, 1fr)); align-items: center; gap: 0.4em 0.5em; }
.ui-wk__grid > b { color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; text-align: center; }
.ui-wk__label { font-size: max(0.74em, min(11px, 0.925em)); font-weight: 550; }
.ui-wk__cell { padding: 0.45em 0.3em; border-radius: 0.5em; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; text-align: center; }
.ui-wk__cell.is-undone { background-color: #fef3c7; color: #8a4b05; }
.ui-wk__cell.is-rank { background-color: var(--ok-tint); color: var(--ok); font-size: 0.9em; font-weight: 700; }
.ui-wk__cell.is-rank.is-out { background-color: var(--ui-fill); color: var(--slate); }
.ui p.ui-wk__sub { margin-block: 0.9em 0.4em; color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 650; }
.ui p.ui-wk__foot { margin-top: 0.8em; padding-top: 0.7em; border-top: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); }

/* ══ Narrow boxes ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
/* A phone's step card: the steps' pictures 22 em wide */
@container (max-width: 339px) {
  .ui-twoph, .ui-first, .ui-spot, .ui-own, .ui-cats, .ui-chg { --w: 22; }
}
/* A narrow box (a phone, the header from 1024 to about 1240 px, the rows from 1024 to 1249 px): the headers 24 em wide, the rows 22, their
   side by side parts stacked */
@container (max-width: 479px) {
  .ui-heat, .ui-inbox, .ui-clean { --w: 24; }
  .ui-hold, .ui-seen, .ui-rvm, .ui-lst, .ui-did, .ui-asks, .ui-aiset, .ui-sug, .ui-edit, .ui-post, .ui-wk { --w: 22; }
  .ui-post__body { grid-template-columns: minmax(0, 1fr); }
  .ui-edit__row { grid-template-columns: minmax(0, 1fr); gap: 0.4em; }
  .ui-wk__grid { grid-template-columns: 5.4em repeat(4, minmax(0, 1fr)); }
  .ui-wk__cell { padding-inline: 0.15em; font-size: max(0.64em, min(11px, 0.8em)); }
  .ui-heat__body { grid-template-columns: minmax(0, 1fr); gap: 0.8em; }
  .ui-heat__side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4em 0.8em; }
  .ui-heat__key { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-lst__count, .ui-lst__chain { gap: 0.5em; }
  .ui-lst__site { align-self: stretch; padding: 0.6em; }
  .ui-lst__id > b { font-size: max(0.78em, min(11px, 0.975em)); white-space: nowrap; }
  .ui-did__tiles .is-none b { font-size: 0.9em; }
  .ui-did__tiles { gap: 0.4em; }
  .ui-did__tiles li { padding: 0.6em; }
  .ui-asks__list > li { grid-template-columns: auto minmax(0, 1fr); }
  .ui-asks__when { grid-column: 2; justify-items: start; }
}

/* The calm pass (2026-11-17): Bakersfield Local SEO's step pictures draw larger */
.svc-calm .ui-twoph { --w: 20; }
.svc-calm .ui-first, .svc-calm .ui-spot { --w: 19; }
@media (max-width: 767px) {
  .svc-calm .ui-twoph, .svc-calm .ui-first, .svc-calm .ui-spot { --w: 17; }
  .svc-calm .ui-hold, .svc-calm .ui-seen, .svc-calm .ui-rvm, .svc-calm .ui-lst, .svc-calm .ui-did { --w: 18; }
}
/* The calm pass on Bakersfield reputation and Business Profile (2026-11-17): their pictures draw larger */
.svc-calm :is(.ui-own, .ui-cats, .ui-chg) { --w: 18.5; }
.svc-calm :is(.ui-asks, .ui-aiset, .ui-sug, .ui-post, .ui-wk) { --w: 30; }
@media (max-width: 767px) {
  .svc-calm :is(.ui-own, .ui-cats, .ui-chg) { --w: 17; }
  .svc-calm :is(.ui-asks, .ui-aiset, .ui-sug, .ui-edit, .ui-post, .ui-wk) { --w: 18; }
}
