/* ==== estate-refresh.css ==== */
/**
 * Estate colour and motion layer, Nov 3 2026. One shared file; each site loads the copy built for it
 * (core plus that site's property bridge, see build.py), AFTER its own CSS, and sets <html data-estate="...">.
 * Tokens: brand-system/tokens.css. Contrast: estate-refresh/contrast.py.
 *  1. Action green is #0A7B3D (white text 5.37:1). #166534 is the pressed state.
 *  2. One tint per section (mint, sky, sand, rose). Ink on a tint is 14:1 or better.
 *  3. Focus rings and links wear the accent. The seal never changes colour.
 *  4. Night: mint #34D399 marks live and success; the property colours have night values.
 *  5. Motion: transform and opacity, 90 to 140 ms press, 2 px lift on hover, only when the visitor has not asked
 *     for reduced motion. Nothing starts hidden, so no content needs JS.
 */

/* ── 1. Tokens ─────────────────────────────────────────────────────────────── */
html[data-estate] {
  --er-green: #0A7B3D;
  --er-green-pressed: #166534;
  --er-tint-mint: #EAF7EE;
  --er-tint-sky: #EAF2FE;
  --er-tint-sand: #FFF4DD;
  --er-tint-rose: #FDE8F1;
  --er-night: #0B1510;
  --er-night-raised: #14221A;
  --er-night-text: #F8F5EC;
  --er-night-soft: #B9C6BD;
  --er-mint: #34D399;
  --er-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* The accent: the estate green by day, mint by night. */
  --er-accent: #0A7B3D;
  --er-accent-hover: #166534;
  --er-on-accent: #FFFFFF;
  --er-accent-tint: #EAF7EE;
  --er-ok: #0A7B3D;
  --er-ok-tint: #EAF7EE;
  --er-shadow-lift: 0 10px 24px rgba(15, 31, 23, 0.12), 0 2px 6px rgba(15, 31, 23, 0.07);
}
/* Night: mint is the accent and the live/success colour on the night surface (9.68:1). Buttons take dark ink on the mint fill.
   Day: every site keeps the estate green. Per-property accent colours are a proposal, see held/. */
@media (prefers-color-scheme: dark) {
  html[data-estate="email"], html[data-estate="causes"] {
    --er-accent: #34D399; --er-accent-hover: #6EE7B7; --er-accent-tint: rgba(52, 211, 153, 0.10);
    --er-ok: #34D399; --er-ok-tint: rgba(52, 211, 153, 0.10);
    --er-on-accent: #0B1510;
    --er-shadow-lift: 0 10px 24px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
  }
}

/* ── 2. Tint scale: one tint per section, ink on top ──────────────────────── */
/* --er-t-* is the tint a surface should use now: the day tint, or the same hue at 8% over the night surface. */
html[data-estate] { --er-t-mint: #EAF7EE; --er-t-sky: #EAF2FE; --er-t-sand: #FFF4DD; --er-t-rose: #FDE8F1; }
@media (prefers-color-scheme: dark) {
  html[data-estate="email"], html[data-estate="causes"] {
    --er-t-mint: color-mix(in srgb, #34D399 8%, #0B1510);
    --er-t-sky:  color-mix(in srgb, #5AA2FF 8%, #0B1510);
    --er-t-sand: color-mix(in srgb, #F2B84B 8%, #0B1510);
    --er-t-rose: color-mix(in srgb, #FF6FA8 8%, #0B1510);
  }
}
.er-tint-mint, [data-tint="mint"] { background-color: var(--er-t-mint, #EAF7EE); }
.er-tint-sky,  [data-tint="sky"]  { background-color: var(--er-t-sky, #EAF2FE); }
.er-tint-sand, [data-tint="sand"] { background-color: var(--er-t-sand, #FFF4DD); }
.er-tint-rose, [data-tint="rose"] { background-color: var(--er-t-rose, #FDE8F1); }

/* ── 3. Motion: every button and card ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html[data-estate] :is(
      .btn, .btn-primary, .btn-secondary, .btn-gold, .btn-glass, .btn-primary-on-tint, .nav-cta,
      .umg-btn, .ucr-btn, .ucr-card-btn, .ucr-promo-btn, .cube-btn, .handle-main-btn, .handle-btn,
      .handle-success-cta, .ladder-cta, .domain-cta, .contact-cta-btn, .umg-pass-btn, .uc-sec-cta,
      .uc-who-cta, .uc-orgstrip-cta, .er-btn, button[type="submit"]:not([class*="toggle"])):not(.sticky-cta),
  html[data-estate] :is(
      .feature-card, .domain-card, .listing-card, .ucr-card, .ucr-tile, .uc-sec, .uc-who-card,
      .skill-tile-1, .skill-tile-2, .skill-tile-3, .oh-tile, .er-card) {
    transition-property: transform, opacity, box-shadow, background-color, border-color, color;
    transition-duration: 140ms, 140ms, 200ms, 160ms, 160ms, 160ms;
    transition-timing-function: var(--er-ease);
  }
  html[data-estate] :is(
      .feature-card, .domain-card, .listing-card, .ucr-card, .ucr-tile, .uc-sec, .uc-who-card,
      .skill-tile-1, .skill-tile-2, .skill-tile-3, .oh-tile, .er-card) { transition-duration: 200ms, 200ms, 240ms, 160ms, 160ms, 160ms; }
  @media (hover: hover) {
    html[data-estate] :is(
        .btn, .btn-primary, .btn-secondary, .btn-gold, .btn-glass, .btn-primary-on-tint, .nav-cta,
        .umg-btn, .ucr-btn, .ucr-card-btn, .ucr-promo-btn, .cube-btn, .handle-main-btn, .handle-btn,
        .handle-success-cta, .ladder-cta, .domain-cta, .contact-cta-btn, .umg-pass-btn, .uc-sec-cta,
        .uc-who-cta, .uc-orgstrip-cta, .er-btn):not(.sticky-cta):not(:disabled):hover,
    html[data-estate] :is(
        .feature-card, .domain-card, .listing-card, .ucr-card, .ucr-tile, .uc-sec, .uc-who-card,
        .skill-tile-1, .skill-tile-2, .skill-tile-3, .oh-tile, .er-card):hover {
      transform: translateY(-2px);
      box-shadow: var(--er-shadow-lift);
    }
  }
  html[data-estate] :is(
      .btn, .btn-primary, .btn-secondary, .btn-gold, .btn-glass, .btn-primary-on-tint, .nav-cta,
      .umg-btn, .ucr-btn, .ucr-card-btn, .ucr-promo-btn, .cube-btn, .handle-main-btn, .handle-btn,
      .handle-success-cta, .ladder-cta, .domain-cta, .contact-cta-btn, .umg-pass-btn, .uc-sec-cta,
      .uc-who-cta, .uc-orgstrip-cta, .er-btn, button[type="submit"]):not(.sticky-cta):not(:disabled):active,
  html[data-estate] :is(
      .feature-card, .domain-card, .listing-card, .ucr-card, .ucr-tile, .uc-sec, .uc-who-card,
      .skill-tile-1, .skill-tile-2, .skill-tile-3, .oh-tile, .er-card):active {
    transform: scale(0.97);
    transition-duration: 90ms;
    box-shadow: none;
  }
  /* The @name check field: the row turns to the green ready state in about 200 ms. */
  html[data-estate] .handle-input-row,
  html[data-estate] .handle-feedback { transition: border-color 200ms var(--er-ease), background-color 200ms var(--er-ease), box-shadow 200ms var(--er-ease), color 200ms var(--er-ease); }
}
/* Ready state (no motion needed): the row goes green when the name is free. */
html[data-estate] .handle-check:has(.handle-feedback.ok) .handle-input-row,
html[data-estate] .er-name-field[data-state="ok"] {
  border-color: var(--er-ok);
  background-color: var(--er-ok-tint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--er-ok) 22%, transparent);
}
html[data-estate] .handle-feedback.ok { color: var(--er-ok); }

/* Focus rings wear the property colour. */
html[data-estate] :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--er-accent); outline-offset: 3px; }

/* ── Property bridge: places ── */
/* 4f. UmmahPlaces: green action, night values through the Tailwind colour variables. */
html[data-estate="places"] { --color-brand-500: #0A7B3D; --color-brand-600: #166534; --color-brand-700: #0A7B3D; --color-brand-800: #166534; }
/* Nov 3 2026 P1: the night block below is OFF for this site. It re-pointed the Tailwind colour variables only, so every
   surface with a hard-coded light background (search result cards, pills, the listing facts and share cards, the map, the
   footer) stayed light while its text turned cream: 1.09:1 on the search cards. It applies only when <html data-night="on">,
   which no page sets, until every light surface has a night pair and two blind seats pass it. Day colours are unchanged. */
html[data-estate="places"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  html[data-estate="places"][data-night="on"] {
    color-scheme: dark;
    --color-warm-50: #0B1510; --color-warm-100: #14221A; --color-warm-200: #26372C; --color-warm-300: #3A4D41;
    --color-warm-400: #9AA89F; --color-warm-500: #A9B6AD; --color-warm-600: #B9C6BD; --color-warm-700: #D5DED7; --color-warm-800: #E8EEE9; --color-warm-900: #F8F5EC;
    --color-gray-50: #101C15; --color-gray-100: #14221A; --color-gray-200: #26372C; --color-gray-500: #A9B6AD; --color-gray-600: #B9C6BD; --color-gray-700: #D5DED7; --color-gray-800: #E8EEE9; --color-gray-900: #F8F5EC;
    --color-brand-50: rgba(52,211,153,.10); --color-brand-100: rgba(52,211,153,.16);
    --color-brand-500: #34D399; --color-brand-600: #34D399; --color-brand-700: #34D399; --color-brand-800: #6EE7B7; --color-brand-900: #A7F3D0;
    --color-amber-50: rgba(242,184,75,.10); --color-amber-700: #F2B84B; --color-amber-800: #F2B84B;
  }
  html[data-estate="places"][data-night="on"] body { background-color: #0B1510; color: #F8F5EC; }
  html[data-estate="places"][data-night="on"] .bg-white { background-color: #14221A; }
  html[data-estate="places"][data-night="on"] [class*="bg-white/9"], html[data-estate="places"][data-night="on"] [class*="bg-white/8"] { background-color: rgba(20,34,26,.94); }
  html[data-estate="places"][data-night="on"] :is([style*="#50432f" i], [style*="#2F4038" i], [style*="#4A5C52" i]) { color: #B9C6BD !important; }
  html[data-estate="places"][data-night="on"] [style*="#8A6D2F" i] { color: #F2B84B !important; }
  html[data-estate="places"][data-night="on"] [style*="#0c753d" i] { color: #34D399 !important; }
  html[data-estate="places"][data-night="on"] #uc-ummah-one-banner { color: var(--er-night-soft) !important; }
  html[data-estate="places"][data-night="on"] :is(.bg-warm-800) { background-color: #0E1A13; }
  html[data-estate="places"][data-night="on"] :is(.bg-warm-900) { background-color: #060D09; }
  html[data-estate="places"][data-night="on"] :is(.bg-brand-500, .bg-brand-600, .bg-brand-700, [class~="bg-brand-600/90"]) { background-color: #0A7B3D; }
  html[data-estate="places"][data-night="on"] :is(.bg-brand-50, .bg-brand-100) { background-color: rgba(52,211,153,.12); }
  html[data-estate="places"][data-night="on"] :is(.bg-brand-500, .bg-brand-600, .bg-brand-700) :is(span, svg) { color: #fff; }
  html[data-estate="places"][data-night="on"] .border-gray-200, html[data-estate="places"][data-night="on"] .border-gray-100 { border-color: #26372C; }
  html[data-estate="places"][data-night="on"] :is(input, select, textarea) { background-color: #0B1510; color: #F8F5EC; }
        }

/* ==== up-type.css ==== */
/* UmmahPlaces type system (Nov 5 2026, Tab: "see sitewide text and font").
   Two families only, both from Bunny Fonts (no Google):
     Outfit    = every UI and body word  (--font-sans)
     Literata  = headings and place names (--font-display), 600 and 700
   One scale, one line-height pair, one measure. Page CSS reads these tokens, never a raw px size.
   Rules sit in @layer base so any Tailwind utility on an element still wins. */
:root {
  --up-fs-meta: 0.8125rem;   /* 13px: the floor. Dates, counts, source lines. Nothing smaller. */
  --up-fs-sm:   0.9375rem;   /* 15px: labels, hints, card detail */
  --up-fs-body: 1rem;        /* 16px: body, inputs (16 stops iOS zoom on focus) */
  --up-fs-lede: 1.1875rem;   /* 19px: the one intro paragraph under an H1 */
  --up-fs-h3:   1.25rem;     /* 20px */
  --up-fs-h2:   clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);   /* 22 to 28px */
  --up-fs-h1:   clamp(2rem, 1.55rem + 2vw, 2.75rem);         /* 32 to 44px */
  --up-lh-body: 1.6;
  --up-lh-head: 1.18;
  --up-measure: 62ch;        /* reading line: 55 to 70 characters */
}
@layer base {
  :where(h1, h2, h3, h4) { text-wrap: balance; }
  :where(p, li, dd, figcaption) { text-wrap: pretty; }
}
/* The shared footer asks for Instrument Sans, which this host never loads, so it fell to a system face.
   Point it at the face the rest of the page already has. */
body .umgf { --umgf-font-ui: var(--font-sans, 'Outfit', system-ui, sans-serif); }
.up-measure { max-width: var(--up-measure); }

/* ==== design-m34.css ==== */
/* design-m34.css: UmmahPlaces, NEXT-TO-90 moves 3 and 4 (FIX class, Nov 24 2026). Loaded last by layouts/app.
   Plain CSS, no Tailwind class added. No copy, count or claim change.
   Move 3 = taps at least 44x44, text contrast 4.5:1, from the design gate v2 fail lists (rescore-pm, 19:30Z).
   Move 4 = no pattern behind running text; the hero arch beside the heading stays the one motif. */

/* Move 3, contrast. Category label on photo tiles: white on black/50 measured 4.47:1; black/60 clears 4.5:1. */
span.rounded-full.text-white.text-xs.bg-black\/50 { background-color: rgba(0, 0, 0, .6); }
/* State suffix after a place's city (", UK"): gray-400 measured 2.45:1 on white; gray-500 is 4.83:1. */
span.text-gray-400.font-normal { color: #6b7280; }

/* Move 3, taps. Breadcrumb links in the category hero (Home 38x20). */
section.relative.overflow-hidden > div.relative > nav.mb-3 > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -12px; }
/* The negative margin keeps the 44px hit area without growing the hero (the 20px line stays the layout box). */
/* Filter & Search (42 tall) and the Muslim-owned chip (30 tall). */
section.relative.overflow-hidden a[href*="/search?category="] { min-height: 44px; margin-block: -1px; }
main#main-content a[href*="muslim_owned="] { min-height: 44px; }
/* Near-me row: Use my location (28 tall) and its dismiss x (13x24, gray-400 at 2.49:1). */
main#main-content div.mb-4.flex.items-center.gap-3 > button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
main#main-content div.mb-4.flex.items-center.gap-3 > button.text-gray-400 { color: #4b5563; }
/* Sort select (34 tall). */
select#category-sort { min-height: 44px; }
/* Header search icon button (40 wide at 1440). */
.up-hdr-search form button[type="submit"] { min-width: 44px; justify-content: center; }
/* Laravel pager: Next, page numbers and the current page (38 tall). */
nav[role="navigation"] a,
nav[role="navigation"] span[aria-current="page"] > span,
nav[role="navigation"] span[aria-disabled="true"] > span { min-height: 44px; min-width: 44px; justify-content: center; }

/* Move 4. Star tile pattern over the category photo tiles (behind their labels) and behind the
   "Own a Muslim-Friendly Business" card text; the diamond geo-pattern behind the category hero text. */
div.mix-blend-overlay.pointer-events-none:has(pattern),
svg.absolute.inset-0:has(pattern[id="ctaTile"]),
section.relative.overflow-hidden > div.absolute.inset-0.geo-pattern { display: none; }

/* Move 4, one filled action colour. "Use my location" was a second green fill (brand-600) beside the page's
   action green; it is a secondary action, so it becomes an outline in the action green (7.0:1 on white). */
main#main-content div.mb-4.flex.items-center.gap-3 > button.bg-brand-600 { background: transparent; color: #0a7b3d; border: 1.5px solid #0a7b3d; }
main#main-content div.mb-4.flex.items-center.gap-3 > button.bg-brand-600:hover { background: #eef7f1; color: #0a7b3d; }

/* Round 2 (r5075, slop tells, Nov 25). Same words, fewer tells.
   1. The page wallpaper: a gold star tile on <body> sat behind every band of running text (the cream band
      under the hero at 390, the cards, the pager). The ground stays its colour; the tile goes.
   2. The faint 6% star in the category hero sat behind the title. It goes; the hero keeps its colour.
   3. The hero heading's last words were a gold italic accent ("near you."). Same words, one colour, upright. */
body { background-image: none; }
section.relative.overflow-hidden > div.absolute.right-0.pointer-events-none[aria-hidden="true"] { display: none; }
h1.font-display-hero em.font-display-italic { color: inherit; font-style: normal; font-family: inherit; }
/* 4. INSTRUMENT CORRECTION, not a fix (same pixels). With the wallpaper gone, the gate measured the white labels
      on the category photo tiles against the cream page: the photo is an <img> and the dark scrim a sibling layer,
      and the gate reads neither. The tile now carries a dark ground colour under both (#0a5c2e, from the tile's own
      gradient); a reader sees the same photo and scrim, and if a photo fails, white text sits on dark green. */
a.group.relative.block.overflow-hidden:has(> div.absolute.inset-0.bg-gradient-to-t) { background-color: #0a5c2e; }

/* ==== v4-places.css ==== */
/* UmmahPlaces v4 FIX round (Nov 30 2026, Standard v4, queue row 17). Loaded LAST, after the estate sheets.
   1. Radii: four values only (6, 12, 16, full). The shared ummah.city tokens.css sets Tailwind's radius variables to 4, 8, 12, 16, 24;
      this file maps them onto the kit's four so every rounded-* class on the site agrees. The arch crop and full pills are untouched.
   2. The shared feedback block took 10px corners; it takes the field radius here, with a selector that beats the block's own. */
:root {
  --radius-xs: 6px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 16px;
  --radius-3xl: 16px;
}
:root .umgf-block input[type=email],
:root .umgf-block textarea,
:root .umgf-block button,
:root .umgf-block .umgf-panel { border-radius: 12px; }

/* 3. Type scale: the hero chips were 13px, a size nothing else on the page uses. They take the caption size. */
.ai-chip { font-size: 14px; }

/* 4. Two helpers the compiled Tailwind file does not hold (it has no build step in this round). */
.v4-outline { border-color: #5e7066; }   /* the outline button's edge: 5.4 to 1 on white, so the shape reads (3 to 1 needed) */
.v4-r6 { border-radius: 6px; }           /* small boxes: the skip link and the footer summary's focus corner */

/* 5. A very long name (over 60 characters, Arabic or Latin) steps down one size so Call and Directions stay near the first screen (worst case, break-ui). */
.up-board .up-nameboard__name[data-long] { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }

/* 6. Hero chips: six fit one row at 768 (they wrapped one chip onto a second row when the label went to 14px). */
@media (min-width: 640px) and (max-width: 1023.98px) { .up-hero-chips .ai-chip { padding-left: 12px; padding-right: 12px; } .up-hero-chips { gap: 8px; } }

/* ==== wave-dec4.css ==== */
/* UmmahPlaces wave, Dec 4 2026 (FIX, design v5). Loaded LAST, after v4-places.css.
   1. Body face: Golos Text (r5531, r5532), self-hosted from the estate kit (OFL). Outfit is retired here.
      Literata stays the display face until the Find board rules on the family pair.
   2. The category list head: no band, no wallpaper. The list is the page. */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/golos/golos-text-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/golos/golos-text-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/golos/golos-text-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/golos/golos-text-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:600 700;font-display:swap;src:url(/fonts/golos/golos-text-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:600 700;font-display:swap;src:url(/fonts/golos/golos-text-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{--font-sans:"Golos Text",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
body .umgf{--umgf-font-ui:var(--font-sans)}

.up-cathead{padding-top:12px}
.up-cathead__row{display:flex;flex-direction:column;gap:4px 24px;margin-top:4px}
.up-cathead__name{font-size:28px;line-height:1.15;overflow-wrap:anywhere;text-wrap:balance}
@media (min-width:640px){
  .up-cathead{padding-top:28px}
  .up-cathead__row{flex-direction:row;align-items:flex-end;justify-content:space-between;margin-top:8px}
  .up-cathead__name{font-size:36px}
}
@media (min-width:1024px){.up-cathead__name{font-size:48px}}
/* Halal and certification rails: closed on a phone until "Halal filters" is tapped, always open from 640. */
/* Round 3: the halal filters open from their chip at every width, so the places start higher on a desktop too. */
.up-halal-filters[data-open="false"]{display:none}
.up-filter-label{margin:8px 0 0;font-size:14px;line-height:20px;font-weight:600;color:var(--color-warm-800,#3d3529)}
/* 3. No ALL CAPS labels on the place page: the category line, section heads and source lines read in sentence case. */
.up-fact__source,.up-factline__label,.up-board .up-nameboard__category,.up-board .up-acts__head,.up-board .up-ledger__head,.up-flow .up-kicker{text-transform:none;letter-spacing:0}
/* 4. The pager wraps instead of pushing the page sideways (Golos sets wider than Outfit; 768 measured 778 wide). */
nav[role="navigation"] span.inline-flex.rounded-md{flex-wrap:wrap;row-gap:4px}
/* 5. The list's one filter row scrolls sideways until 1024, then wraps. */
@media (min-width:1024px){.up-filter-row{flex-wrap:wrap;min-width:0}}
/* 6. Category lists: the compact place rows below 640, the photo card grid from 640. One or the other, never both. */
.up-list-wide{display:none}
@media (min-width:640px){.up-list-phone{display:none}.up-list-wide{display:grid}}
/* 7. Golos sets about 5 percent wider than Outfit. Four places that wrapped or cut because of it (blind seats, Dec 4):
      the hero chips keep one row, the home rail heading keeps one line on a phone, the header search has more room
      and a cut placeholder ends in an ellipsis. */
@media (min-width:640px){.up-hero-chips .ai-chip{padding-left:12px;padding-right:12px}.up-hero-chips{gap:8px}}
@media (max-width:639.98px){.up-rail-h{font-size:18px}}
@media (min-width:1024px){header .up-hdr-search{margin-left:12px;margin-right:12px;max-width:26rem}}
.nav-search-input{text-overflow:ellipsis}.nav-search-input::placeholder{text-overflow:ellipsis}
/* 8. Round 3 (blind pair 2): the phone row keeps rating, open state and the save heart; one thumb size; small wraps. */
.up-list-phone .rs-thumb,.up-list-phone .rs-thumb--icon{width:72px;height:72px}
.up-list-phone .rs-card{align-items:stretch}
.up-list-phone .rs-main{align-items:flex-start}
.rs-side{flex:none;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:4px}
.rs-save{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:9999px;background:transparent;color:#6f6051;cursor:pointer}
.rs-save--on{color:#b91c1c}
.rs-rich{font-size:14px;color:var(--color-warm-700,#50432f)}
.rs-open{color:var(--color-brand-800,#0f4a26);font-weight:600}
@media (min-width:640px) and (max-width:1023.98px){.up-hero-chips .ai-chip{padding-left:10px;padding-right:10px;font-size:14px}.up-hero-chips{gap:6px}}
@media (min-width:1024px){header .up-hdr-search{margin-left:8px;margin-right:8px;max-width:30rem}}
.nav-search-input::placeholder{letter-spacing:-.01em}
footer p,.up-bc-guide{text-wrap:pretty}
/* 9. Round 4: the guide method line fits one line at 390 in Golos. */
.lv .lv-method{letter-spacing:-.02em;text-wrap:pretty}
/* 11. Round 5: the Golos 500 face is back (the halal row line and other medium text keep their emphasis; 12 KB). A disabled pager step looks disabled. */
nav[role="navigation"] span.cursor-not-allowed{color:#8a7f70;background:#f3efe8;border-color:#e8e0d4}

