/* ==========================================================================
   UMMAH DIRECTORY: THE REGISTER (r1832, Oct 10 2026)

   Tab, Oct 10 2026: profile pages "modern and professional and clean design
   (world-class standards)", and a directory that "should feel like a complete
   full directory". Brief: /root/handoffs/directory/proof/r1832-design/BRIEF.md

   The direction: a well-set public register. Names are set like entries in a
   reference book; every claim carries its source the way a register carries
   marginal notes. Literata (r1717) for names, headings and our summary;
   Atkinson Hyperlegible Next for controls, labels and notes. Both are named
   with their metric-matched fallbacks in directory.css, which also holds the
   six-step type scale.

   Kept, because they are ruled: ivory, forest and brass (r1240); the pointed
   arch on every portrait and the khatam at three scales (r1246); the dotted
   ledger; the forest nameplate. No uppercase tracked label anywhere: a role or
   a place follows the name, never sits above it (DESIGN-STANDARD 1b).

   Plain CSS, NOT in the Vite build. Linked LAST, from professionals/partials/
   head, so it follows directory.css, profile-card.css and crisis-fold.css.
   EVERY RULE is scoped to the editorial theme, so the private "Modern" theme
   (ud-theme-modern.css) is exactly as it was. Tokens only: no new colour.
   No em dashes.
   ========================================================================== */

/* ── Base: the page, the measure, the browser surfaces ─────────────────────── */

[data-ud-theme=editorial] .ud-page {
    font-family: var(--ud-sans);
    font-size: var(--ud-t-m);
    line-height: 1.55;
    color: var(--ud-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[data-ud-theme=editorial] .ud-page ::selection { background: var(--ud-forest-tint); color: var(--ud-forest-deep); }
[data-ud-theme=editorial] .ud-page input,
[data-ud-theme=editorial] .ud-page select { caret-color: var(--ud-forest); accent-color: var(--ud-forest); }

/* Links: one underline style everywhere, never the browser's. */
[data-ud-theme=editorial] .ud-link,
[data-ud-theme=editorial] .ud-rowlink {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
    transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
[data-ud-theme=editorial] .ud-link:hover,
[data-ud-theme=editorial] .ud-rowlink:hover { text-decoration-color: currentColor; }

/* ── Type ──────────────────────────────────────────────────────────────── */

[data-ud-theme=editorial] .ud-h1 {
    font-family: var(--ud-display);
    font-weight: 400;
    font-size: var(--ud-t-d);
    line-height: 1.08;
    letter-spacing: -0.018em;
    color: var(--ud-ink);
}

[data-ud-theme=editorial] .ud-h2 {
    font-family: var(--ud-display);
    font-weight: 600;
    font-size: var(--ud-t-xl);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

[data-ud-theme=editorial] .ud-h3 {
    font-family: var(--ud-display);
    font-weight: 600;
    font-size: var(--ud-t-l);
    line-height: 1.3;
}

[data-ud-theme=editorial] .ud-lead {
    font-size: var(--ud-t-l);
    line-height: 1.5;
    color: var(--ud-ink-2);
    max-width: 34em;
}

[data-ud-theme=editorial] .ud-small { font-size: var(--ud-t-s); line-height: 1.55; }
[data-ud-theme=editorial] .ud-fine { font-size: var(--ud-t-xs); line-height: 1.55; color: var(--ud-ink-3); }

/* THE KICKER, RETIRED AS AN EYEBROW. Where the class names a section (the
   index of professions, how it works, a privacy contents list) it is drawn
   as that section's heading. Where it sits above a page's title it is a quiet
   running head in the reading face, sentence case, never tracked capitals. */
[data-ud-theme=editorial] .ud-kicker {
    font-family: var(--ud-display);
    font-style: italic;
    font-weight: 400;
    font-size: var(--ud-t-m);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-ink-2);
}
[data-ud-theme=editorial] h2.ud-kicker {
    font-style: normal;
    font-weight: 600;
    font-size: var(--ud-t-xl);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ud-ink);
}

/* ── Buttons and fields ────────────────────────────────────────────────── */

[data-ud-theme=editorial] .ud-btn {
    border-radius: 10px;
    font-family: var(--ud-sans);
    font-weight: 600;
    letter-spacing: 0.005em;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
[data-ud-theme=editorial] .ud-btn--primary { box-shadow: 0 1px 0 rgba(15, 74, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
[data-ud-theme=editorial] .ud-btn:active { transform: translateY(1px); }

[data-ud-theme=editorial] .ud-field {
    min-height: 48px;
    border-radius: 10px;
    font-family: var(--ud-sans);
    font-size: var(--ud-t-m);
}

/* Focus: the contrast ring lives in OUTLINE, which nothing overrides
   (DESIGN-STANDARD defect 14). */
[data-ud-theme=editorial] .ud-page :is(a, button, input, select, summary):focus-visible {
    outline: 2px solid var(--ud-forest-deep);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    [data-ud-theme=editorial] .ud-btn,
    [data-ud-theme=editorial] .ud-link,
    [data-ud-theme=editorial] .ud-rowlink { transition: none; }
    [data-ud-theme=editorial] .ud-btn:active { transform: none; }
}

/* ── Header ────────────────────────────────────────────────────────────── */

[data-ud-theme=editorial] .ud-header { background: color-mix(in srgb, var(--ud-paper) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }
[data-ud-theme=editorial] .ud-brand__name { font-family: var(--ud-display); font-weight: 600; font-size: var(--ud-t-l); line-height: 1.1; letter-spacing: -0.005em; }
[data-ud-theme=editorial] .ud-header__link,
[data-ud-theme=editorial] .ud-header__signin { font-size: var(--ud-t-s); }
@media (max-width: 419px) {
    [data-ud-theme=editorial] .ud-brand { gap: 8px; }
    [data-ud-theme=editorial] .ud-brand__name { font-size: var(--ud-t-m); }
}

/* ── The search panel (index.blade.php, r1832) ─────────────────────────────
   One panel, three cells: what, where, go. Each field has a visible label
   set inside its cell, so a later free-text field (name, profession,
   specialty, language) drops into the first cell without changing the panel.
   On a phone the cells stack; from 720px they sit in one row with a
   hairline between the two fields. */
[data-ud-theme=editorial] .ud-search--panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 24px;
    max-width: 820px;
    padding: 6px;
    background: var(--ud-card);
    border: 1px solid var(--ud-edge);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(28, 27, 24, 0.06), 0 12px 28px -18px rgba(28, 27, 24, 0.35);
}

[data-ud-theme=editorial] .ud-search__field {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 11px;
    transition: background-color 0.15s ease;
}
[data-ud-theme=editorial] .ud-search__field:hover { background: var(--ud-paper); }
[data-ud-theme=editorial] .ud-search__field:focus-within { background: var(--ud-forest-tint); }
[data-ud-theme=editorial] .ud-search__field + .ud-search__field { border-top: 1px solid var(--ud-line); border-radius: 0 0 11px 11px; }

[data-ud-theme=editorial] .ud-search__label {
    padding: 10px 14px 0;
    font-size: var(--ud-t-xs);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ud-ink-2);
    cursor: pointer;
}

[data-ud-theme=editorial] .ud-search--panel .ud-field {
    min-height: 44px;
    padding: 0 14px 8px;
    border: 0;
    border-radius: 0 0 11px 11px;
    background-color: transparent;
    font-size: var(--ud-t-m);
    color: var(--ud-ink);
}
[data-ud-theme=editorial] .ud-search--panel select.ud-field { padding-right: 40px; background-position: right 16px center; cursor: pointer; }
/* The ring for a field is drawn on its whole cell, inside the panel. */
[data-ud-theme=editorial] .ud-search--panel .ud-field:focus-visible { outline: none; }
[data-ud-theme=editorial] .ud-search__field:has(.ud-field:focus-visible) { outline: 2px solid var(--ud-forest-deep); outline-offset: -2px; }

[data-ud-theme=editorial] .ud-search__go { margin: 6px 0 0; min-height: 52px; border-radius: 11px; font-size: var(--ud-t-m); }

@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-search--panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        align-items: stretch;
        border-radius: 16px;
        padding: 6px;
    }
    [data-ud-theme=editorial] .ud-search__field { border-radius: 11px; }
    [data-ud-theme=editorial] .ud-search__field + .ud-search__field { border-top: 0; border-radius: 11px; }
    [data-ud-theme=editorial] .ud-search__field + .ud-search__field::before {
        content: '';
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        border-left: 1px solid var(--ud-line);
    }
    [data-ud-theme=editorial] .ud-search__field:hover + .ud-search__field::before,
    [data-ud-theme=editorial] .ud-search__field + .ud-search__field:hover::before,
    [data-ud-theme=editorial] .ud-search__field:focus-within + .ud-search__field::before,
    [data-ud-theme=editorial] .ud-search__field + .ud-search__field:focus-within::before { border-left-color: transparent; }
    [data-ud-theme=editorial] .ud-search__label { padding: 10px 18px 0; }
    [data-ud-theme=editorial] .ud-search--panel .ud-field { padding: 0 18px 10px; border-radius: 0 0 11px 11px; }
    [data-ud-theme=editorial] .ud-search__go { margin: 0 0 0 6px; padding: 0 30px; border-radius: 11px; min-height: 56px; }
}

/* ── Chips ─────────────────────────────────────────────────────────────── */

[data-ud-theme=editorial] .ud-chip {
    min-height: 44px;
    padding: 0 16px;
    border-color: var(--ud-line-strong);
    font-size: var(--ud-t-s);
    color: var(--ud-ink-2);
}
/* One chip style: the regions lead the row and are set in the stronger weight. */
[data-ud-theme=editorial] .ud-chip--region,
[data-ud-theme=editorial] .ud-chip--index { border-color: var(--ud-edge); background: var(--ud-card); color: var(--ud-forest-deep); font-weight: 600; }
[data-ud-theme=editorial] .ud-chip--on { border-color: var(--ud-forest-deep); background: var(--ud-forest-deep); color: var(--ud-on-action); }
[data-ud-theme=editorial] .ud-page a.ud-chip--on { color: var(--ud-on-action); }
/* Oct 16 2026 (the r1859 rewalk's Editorial control): a selected chip's count kept brass-ink on the
   forest ground (#74500F on #0F4A26, 1.43:1). It takes the chip's own on-action colour. */
[data-ud-theme=editorial] .ud-chip.ud-chip--on .ud-chip__n { color: inherit; }

/* ── The home hero ─────────────────────────────────────────────────────── */

/* The greeting (r1246): once, on the home. Set in the reading face's italic,
   as a greeting is spoken, never as a tracked label. */
[data-ud-theme=editorial] .ud-hero .ud-greeting {
    font-family: var(--ud-display);
    font-style: italic;
    font-weight: 400;
    font-size: var(--ud-t-l);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-brass-ink);
    margin: 0 0 12px;
}

[data-ud-theme=editorial] .ud-directory--home .ud-hero { padding-bottom: 8px; }
[data-ud-theme=editorial] .ud-directory--home .ud-hero .ud-h1 { max-width: 12.5em; }
[data-ud-theme=editorial] .ud-directory--home .ud-hero .ud-lead { margin-top: 14px; }

@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-directory--home .ud-hero .ud-search--panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; margin-top: 28px; }
    [data-ud-theme=editorial] .ud-directory--home .ud-hero .ud-h1 { min-height: 0; }
}
@media (min-width: 1000px) {
    [data-ud-theme=editorial] .ud-directory--home .ud-hero { padding: 56px 0 24px; column-gap: 72px; grid-template-columns: minmax(0, 1fr) 320px; }
    [data-ud-theme=editorial] .ud-directory--home .ud-hero .ud-search--panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
    [data-ud-theme=editorial] .ud-directory--home .ud-hero .ud-window { width: 320px; margin: -12px 0 -24px; }
}

/* ── List pages: the heading plate ─────────────────────────────────────── */

[data-ud-theme=editorial] .ud-headplate { border-radius: 18px; box-shadow: 0 22px 40px -30px rgba(14, 59, 33, 0.7); }
[data-ud-theme=editorial] .ud-headplate::before { border-color: color-mix(in srgb, var(--ud-brass) 70%, transparent); border-radius: 10px; }
[data-ud-theme=editorial] .ud-headplate .ud-h1 { font-weight: 400; color: var(--ud-plate-ink); }
[data-ud-theme=editorial] .ud-headplate__lead { font-size: var(--ud-t-m); line-height: 1.5; color: color-mix(in srgb, var(--ud-plate-ink) 88%, var(--ud-plate)); opacity: 1; }
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-headplate { padding: 44px 52px 42px; }
    [data-ud-theme=editorial] .ud-headplate__lead { font-size: var(--ud-t-l); margin-top: 12px; }
}

/* ── Results: the bar above the list, and its sections ─────────────────── */

[data-ud-theme=editorial] .ud-results { margin-top: 8px; }
[data-ud-theme=editorial] .ud-results__title { margin: 40px 0 0; }
[data-ud-theme=editorial] .ud-count {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 32px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ud-line);
    font-size: var(--ud-t-s);
    color: var(--ud-ink-2);
}
[data-ud-theme=editorial] .ud-results__title + .ud-count { margin-top: 8px; }

/* Close matches (r1822): its own heading and its own line, after the list. */
[data-ud-theme=editorial] .ud-close { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ud-line); }
[data-ud-theme=editorial] .ud-close__note { margin: 6px 0 16px; max-width: 60ch; }

/* ── Cards: an entry in the register ───────────────────────────────────── */

[data-ud-theme=editorial] .ud-grid--three { gap: 16px; }
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-grid--three { gap: 20px; }
}

[data-ud-theme=editorial] .ud-card {
    border-color: var(--ud-line);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(28, 27, 24, 0.04);
}
[data-ud-theme=editorial] .ud-card:hover { border-color: var(--ud-line-strong); box-shadow: 0 18px 34px -24px rgba(28, 27, 24, 0.45); transform: translateY(-2px); }
[data-ud-theme=editorial] .ud-card__name a::after { border-radius: 16px; }

[data-ud-theme=editorial] .ud-card__head { gap: 16px; padding: 20px 20px 0; }
/* The name first, then the role and the place under it: no eyebrow. */
[data-ud-theme=editorial] .ud-card__id { display: flex; flex-direction: column; padding-top: 2px; }
[data-ud-theme=editorial] .ud-card__name { order: 1; font-family: var(--ud-display); font-weight: 600; font-size: var(--ud-t-l); line-height: 1.25; letter-spacing: -0.005em; }
[data-ud-theme=editorial] .ud-card__creds { font-family: var(--ud-sans); font-weight: 400; font-size: var(--ud-t-s); color: var(--ud-ink-2); letter-spacing: 0; }
[data-ud-theme=editorial] .ud-card__role {
    order: 2;
    margin: 6px 0 0;
    font-size: var(--ud-t-s);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-forest-deep);
}
[data-ud-theme=editorial] .ud-card__place { order: 3; margin: 2px 0 0; font-size: var(--ud-t-s); color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-card__practice { order: 4; margin: 2px 0 0; font-size: var(--ud-t-s); color: var(--ud-ink); }

[data-ud-theme=editorial] .ud-card__body { padding: 12px 20px 16px; }
[data-ud-theme=editorial] .ud-tag { padding: 3px 10px; font-size: var(--ud-t-xs); border-color: var(--ud-line); background: var(--ud-paper); }
[data-ud-theme=editorial] .ud-tag--online { border-color: var(--ud-forest-line); background: var(--ud-forest-tint); color: var(--ud-forest-deep); }

[data-ud-theme=editorial] .ud-card__foot { margin: 0 20px; padding: 12px 0 16px; gap: 8px; border-top-color: var(--ud-line); }
[data-ud-theme=editorial] .ud-source { font-size: var(--ud-t-xs); line-height: 1.5; color: var(--ud-ink-3); }

/* The way out of the card: a drawn arrow (one stroke, authored SVG), never a
   text glyph. */
[data-ud-theme=editorial] .ud-card__go { font-size: var(--ud-t-s); font-weight: 600; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
[data-ud-theme=editorial] .ud-card__go:not(.ud-card__go--tail)::after,
[data-ud-theme=editorial] .ud-card__go-tail::after {
    content: '';
    display: inline-block;
    vertical-align: 0.05em;
    width: 14px;
    height: 10px;
    margin-left: 8px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h11.5M8.5 1l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h11.5M8.5 1l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── The index of professions, the steps, why be listed ────────────────── */

[data-ud-theme=editorial] .ud-directory__board { margin-top: 64px; padding-top: 40px; }
[data-ud-theme=editorial] .ud-directory__board h2.ud-kicker { margin-bottom: 16px; }
[data-ud-theme=editorial] .ud-board__count { font-family: var(--ud-sans); font-weight: 600; color: var(--ud-forest-deep); font-variant-numeric: tabular-nums; }

[data-ud-theme=editorial] .ud-how { margin-top: 56px; padding-top: 40px; }
[data-ud-theme=editorial] .ud-how__title { font-family: var(--ud-display); font-weight: 600; font-size: var(--ud-t-l); }
[data-ud-theme=editorial] .ud-how__text { font-size: var(--ud-t-s); line-height: 1.55; color: var(--ud-ink-2); }

[data-ud-theme=editorial] .ud-why__count { font-family: var(--ud-sans); font-weight: 600; font-size: var(--ud-t-m); line-height: 1.5; color: var(--ud-ink); }

/* ── The nameplate: the signature (r1240, r1246) ───────────────────────────
   The portrait in the pointed arch on the forest plate, the name large in
   the reading face, the role and the place under it, the practice under
   that. The lattice field keeps to the plate's edge. */
[data-ud-theme=editorial] .ud-plate {
    border-radius: 20px;
    padding: 24px 20px 26px;
    column-gap: 18px;
    box-shadow: 0 30px 50px -36px rgba(14, 59, 33, 0.8);
}
[data-ud-theme=editorial] .ud-plate::before { inset: 10px; border-color: color-mix(in srgb, var(--ud-brass) 70%, transparent); border-radius: 12px; }

[data-ud-theme=editorial] .ud-plate .ud-arch--plate { width: 116px; }
[data-ud-theme=editorial] .ud-plate__name {
    margin: 18px 0 0;
    font-family: var(--ud-display);
    font-weight: 400;
    font-size: var(--ud-t-d);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--ud-plate-ink);
}

/* The meta line: the role and the place, after the name. */
[data-ud-theme=editorial] .ud-plate__meta {
    grid-column: 1 / -1;
    margin: 10px 0 0;
    font-size: var(--ud-t-m);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-plate-ink);
}
[data-ud-theme=editorial] .ud-plate__meta .ud-plate__role { font-weight: 600; color: var(--ud-brass-light); }
[data-ud-theme=editorial] .ud-plate__meta .ud-plate__place { display: inline; }
[data-ud-theme=editorial] .ud-plate__meta .ud-plate__dot { display: inline; margin: 0 4px; color: var(--ud-brass-light); }
[data-ud-theme=editorial] .ud-plate__practice { margin: 4px 0 0; font-size: var(--ud-t-m); color: color-mix(in srgb, var(--ud-plate-ink) 88%, var(--ud-plate)); opacity: 1; }
[data-ud-theme=editorial] .ud-plate__address { margin: 12px 0 0; font-size: var(--ud-t-s); letter-spacing: 0; }

[data-ud-theme=editorial] .ud-btn--onplate { min-height: 48px; padding: 0 24px; border-radius: 999px; }

/* THE PHONE NAMEPLATE (Tab's Oct 5 ruling holds: the plate stays short and
   carries the visitor's action into the first screen). The arch and the name
   sit side by side; the role and the place, the practice and the action run
   the plate's full width under them, so nothing is squeezed into a narrow
   column and the button never breaks onto three lines. */
@media (max-width: 719px) {
    [data-ud-theme=editorial] .ud-entry .ud-plate {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 0;
        align-items: end;
        padding: 20px 20px 22px;
    }
    [data-ud-theme=editorial] .ud-entry .ud-plate__text { display: contents; }
    [data-ud-theme=editorial] .ud-entry .ud-plate .ud-arch--plate { grid-column: 1; grid-row: 1; width: 88px; }
    [data-ud-theme=editorial] .ud-entry .ud-plate__name { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: var(--ud-t-xl); line-height: 1.12; letter-spacing: -0.01em; }
    [data-ud-theme=editorial] .ud-entry .ud-plate__meta { grid-column: 1 / -1; margin: 16px 0 0; }
    [data-ud-theme=editorial] .ud-entry .ud-plate__practice { grid-column: 1 / -1; margin: 2px 0 0; }
    [data-ud-theme=editorial] .ud-entry .ud-plate__address { grid-column: 1 / -1; }
    [data-ud-theme=editorial] .ud-entry .ud-plate__go { grid-column: 1 / -1; margin: 16px 0 0; }
    /* The lattice never sits under a word (r1246): the name has this corner. */
    [data-ud-theme=editorial] .ud-entry .ud-plate::after { display: none; }
}

@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-plate { gap: 40px; padding: 44px 52px 44px 44px; align-items: center; }
    [data-ud-theme=editorial] .ud-plate::before { inset: 12px; }
    [data-ud-theme=editorial] .ud-plate .ud-arch--plate { width: 168px; }
    [data-ud-theme=editorial] .ud-plate__name { margin: 0; }
    [data-ud-theme=editorial] .ud-plate__meta { margin-top: 14px; font-size: var(--ud-t-l); }
    [data-ud-theme=editorial] .ud-plate__practice { font-size: var(--ud-t-l); }
    [data-ud-theme=editorial] .ud-plate__go { margin-top: 24px; }
}
@media (min-width: 1000px) {
    [data-ud-theme=editorial] .ud-plate__name { font-size: 46px; }
    [data-ud-theme=editorial] .ud-plate__text { max-width: calc(100% - 168px - 40px - 100px); }
}
@media (min-width: 1120px) {
    [data-ud-theme=editorial] .ud-plate__name { font-size: var(--ud-t-d); }
    [data-ud-theme=editorial] .ud-plate__text { max-width: calc(100% - 168px - 40px - 170px); }
}

/* ── A person's page: the body ─────────────────────────────────────────── */

[data-ud-theme=editorial] .ud-entry { padding-top: 12px; }
[data-ud-theme=editorial] .ud-crumbs { font-size: var(--ud-t-s); }

[data-ud-theme=editorial] .ud-entry .ud-entry__grid { margin-top: 32px; gap: 48px; }
[data-ud-theme=editorial] .ud-entry .ud-entry__main { gap: 0; }
[data-ud-theme=editorial] .ud-entry .ud-entry__main > section + section,
[data-ud-theme=editorial] .ud-entry .ud-entry__main > .ud-section + section,
[data-ud-theme=editorial] .ud-entry .ud-entry__main > section + .ud-section,
[data-ud-theme=editorial] .ud-entry .ud-entry__main > .ud-jump + .ud-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--ud-line); }
[data-ud-theme=editorial] .ud-entry .ud-section { margin-top: 0; }
@media (min-width: 900px) {
    [data-ud-theme=editorial] .ud-entry .ud-entry__grid:not(.ud-entry__grid--stack) { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 72px; margin-top: 44px; }
    [data-ud-theme=editorial] .ud-entry .ud-entry__grid:not(.ud-entry__grid--stack) .ud-entry__side { top: 88px; }
}

/* Section headings: the one glyph (r1246) as the bullet, no trailing rule. */
[data-ud-theme=editorial] .ud-entry .ud-h2 { font-size: var(--ud-t-l); }
@media (min-width: 560px) {
    [data-ud-theme=editorial] .ud-entry .ud-h2 { font-size: var(--ud-t-xl); }
}
/* One ornament, not one per heading: the glyph stays on the plate, the board's
   active row and the claim list, and leaves the section headings. */
[data-ud-theme=editorial] .ud-entry .ud-h2::before,
[data-ud-theme=editorial] .ud-entry .ud-h3::before { display: none; }
[data-ud-theme=editorial] .ud-entry .ud-h2::after,
[data-ud-theme=editorial] .ud-entry .ud-h3::after { display: none; }

/* The words: our summary, and a quoted line when one is approved. */
[data-ud-theme=editorial] .ud-entry .ud-whyhere,
[data-ud-theme=editorial] .ud-entry .ud-quote {
    margin-top: 20px;
    padding: 24px 24px 22px 76px;
    max-width: 680px;
    border: 1px solid var(--ud-line);
    border-radius: 16px;
    background: var(--ud-card);
}
[data-ud-theme=editorial] .ud-entry .ud-whyhere__label {
    margin: 0;
    font-size: var(--ud-t-s);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-ink-2);
}
[data-ud-theme=editorial] .ud-entry .ud-whyhere__lead {
    margin: 8px 0 14px;
    font-family: var(--ud-display);
    font-style: italic;
    font-weight: 400;
    font-size: var(--ud-t-xl);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ud-ink);
    padding-bottom: 0;
    border: 0;
}
[data-ud-theme=editorial] .ud-entry .ud-whyhere__text:not(.ud-whyhere__lead),
[data-ud-theme=editorial] .ud-entry .ud-prose p {
    font-family: var(--ud-display);
    font-size: var(--ud-t-l);
    line-height: 1.65;
    color: var(--ud-ink);
    max-width: 34em;
}
[data-ud-theme=editorial] .ud-entry .ud-prose { max-width: 680px; }
[data-ud-theme=editorial] .ud-entry .ud-prose p { margin: 0 0 14px; }
[data-ud-theme=editorial] .ud-entry #ud-about + .ud-prose { margin-top: 16px !important; }
@media (max-width: 559px) {
    [data-ud-theme=editorial] .ud-entry .ud-whyhere,
    [data-ud-theme=editorial] .ud-entry .ud-quote { padding: 20px 18px 18px; }
    [data-ud-theme=editorial] .ud-entry .ud-whyhere::before,
    [data-ud-theme=editorial] .ud-entry .ud-quote::before,
    [data-ud-theme=editorial] .ud-entry .ud-whyhere::after,
    [data-ud-theme=editorial] .ud-entry .ud-quote::after { display: none; }
}

/* THE NOTES. Every "not checked", "not claimed", "we wrote this summary"
   line keeps its words; they are drawn as one consistent note: the reading
   size of a caption, ink, never hidden, never a coloured stripe. */
[data-ud-theme=editorial] .ud-entry .ud-colophon {
    margin-top: 18px;
    padding: 14px 16px;
    max-width: 680px;
    border: 1px solid var(--ud-line);
    border-radius: 12px;
    background: var(--ud-wash);
}
[data-ud-theme=editorial] .ud-entry .ud-whyhere .ud-colophon { margin: 16px 0 18px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--ud-line); border-radius: 0; background: none; }
[data-ud-theme=editorial] .ud-entry .ud-colophon__note,
[data-ud-theme=editorial] .ud-entry .ud-colophon__line { font-size: var(--ud-t-s); line-height: 1.55; color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-entry .ud-colophon__line + .ud-colophon__line,
[data-ud-theme=editorial] .ud-entry .ud-colophon__note + .ud-colophon__line { margin-top: 4px; }
[data-ud-theme=editorial] .ud-entry .ud-colophon__check { color: var(--ud-ink); }
[data-ud-theme=editorial] .ud-entry .ud-prose + .ud-fine,
[data-ud-theme=editorial] .ud-entry .ud-whyhere .ud-fine { font-size: var(--ud-t-xs); color: var(--ud-ink-3); max-width: 62ch; }

/* The ledgers: reach, and the public records. The leaders stay (the site's
   own device); the labels lose their tracked capitals. */
[data-ud-theme=editorial] .ud-entry .ud-facts { max-width: 680px; }
[data-ud-theme=editorial] .ud-facts__row { padding: 13px 0; border-bottom-color: var(--ud-line); }
[data-ud-theme=editorial] .ud-facts__row:first-child { border-top-color: var(--ud-line); }
[data-ud-theme=editorial] .ud-facts dt {
    font-size: var(--ud-t-s);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-ink-2);
}
[data-ud-theme=editorial] .ud-facts__dots { border-bottom: 1.5px dotted var(--ud-line-strong); margin-top: 0.9em; }
[data-ud-theme=editorial] .ud-facts dd { font-size: var(--ud-t-m); color: var(--ud-ink); }
[data-ud-theme=editorial] .ud-pr__src { font-size: var(--ud-t-xs); color: var(--ud-ink-3); margin-top: 4px; }
[data-ud-theme=editorial] .ud-pr__intro { max-width: 60ch; }

[data-ud-theme=editorial] .ud-entry .ud-actions { margin-top: 24px; max-width: 680px; }
[data-ud-theme=editorial] .ud-entry .ud-actions .ud-btn--primary { border-radius: 999px; }
[data-ud-theme=editorial] .ud-entry .ud-actions .ud-btn--quiet { border-radius: 999px; }
[data-ud-theme=editorial] .ud-share { margin-top: 16px; gap: 4px 20px; }
[data-ud-theme=editorial] .ud-share__label { font-size: var(--ud-t-s); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ud-ink-2); }

/* What we know and what we do not know: a two-column register on a wide
   screen, the label beside its line; stacked on a phone. */
[data-ud-theme=editorial] .ud-entry .ud-known {
    margin-top: 20px;
    max-width: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid var(--ud-line);
}
[data-ud-theme=editorial] .ud-entry .ud-known dt {
    margin: 0;
    padding: 14px 0 0;
    font-size: var(--ud-t-s);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ud-ink);
}
[data-ud-theme=editorial] .ud-entry .ud-known dd {
    margin: 2px 0 0;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--ud-line);
    font-size: var(--ud-t-s);
    line-height: 1.55;
    color: var(--ud-ink-2);
}
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-entry .ud-known { grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; }
    [data-ud-theme=editorial] .ud-entry .ud-known dt { padding: 14px 0; border-bottom: 1px solid var(--ud-line); }
    [data-ud-theme=editorial] .ud-entry .ud-known dd { margin: 0; padding: 14px 0; }
}
[data-ud-theme=editorial] .ud-entry .ud-known__close { margin-top: 14px; max-width: 62ch; font-size: var(--ud-t-xs); color: var(--ud-ink-3); }

[data-ud-theme=editorial] .ud-entry > .ud-section { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--ud-line); }
[data-ud-theme=editorial] .ud-entry > .ud-section > .ud-grid { margin-top: 20px; }

/* The claim card, beside the page on a wide screen, last on a phone. */
[data-ud-theme=editorial] .ud-entry .ud-panel { border-radius: 16px; padding: 22px; }
[data-ud-theme=editorial] .ud-entry .ud-panel--wash { background: var(--ud-wash); border-color: var(--ud-line); }
[data-ud-theme=editorial] .ud-entry .ud-entry__side .ud-h3 { font-size: var(--ud-t-l); }

/* What claiming gives (r1841): a short list of things the code does, each
   with the one figure as its bullet. */
[data-ud-theme=editorial] .ud-points { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
[data-ud-theme=editorial] .ud-points li {
    position: relative;
    padding-left: 22px;
    font-size: var(--ud-t-s);
    line-height: 1.5;
    color: var(--ud-ink);
}
[data-ud-theme=editorial] .ud-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 11px;
    height: 11px;
    background: var(--ud-brass);
    -webkit-mask: var(--ud-glyph) center / contain no-repeat;
    mask: var(--ud-glyph) center / contain no-repeat;
}
[data-ud-theme=editorial] .ud-free { margin-top: 12px; font-size: var(--ud-t-s); font-weight: 400; line-height: 1.55; color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-free strong { color: var(--ud-forest-deep); font-weight: 600; }
[data-ud-theme=editorial] .ud-twin { gap: 8px; margin-top: 16px; }
@media (min-width: 900px) {
    [data-ud-theme=editorial] .ud-entry__side .ud-twin { grid-template-columns: minmax(0, 1fr); }
}
[data-ud-theme=editorial] .ud-twin .ud-btn { border-radius: 999px; }

/* The second image (r1830, r1833): one figure under the reach ledger. */
[data-ud-theme=editorial] .ud-figure { margin: 24px 0 0; max-width: 680px; }
[data-ud-theme=editorial] .ud-figure__frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--ud-line);
    background: var(--ud-wash);
    aspect-ratio: 3 / 2;
}
[data-ud-theme=editorial] .ud-figure__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* A map is never cropped: its own drawn attribution sits in its corner. */
[data-ud-theme=editorial] .ud-figure--map .ud-figure__frame { aspect-ratio: 16 / 10; }
[data-ud-theme=editorial] .ud-figure--map .ud-figure__img { object-fit: contain; }
/* r1898 design round (Oct 14 2026), seat A D8: the map figure read as an empty
   pale box at 768/1280. The image itself is baked from public tiles by the
   photos lane, so the durable fix is a re-render in a higher-contrast tile
   style (booked there); until then the block gets a defined frame and the
   tiles get a contrast lift so it reads as a map, not a blank. */
[data-ud-theme=editorial] .ud-figure--map .ud-figure__frame { border: 1px solid var(--ud-line); }
/* r1898 second pass (Oct 14 2026): the filter originally added here was DEAD (an older
   identical selector later in the file won the cascade; both recheck seats measured it).
   The one live map filter rule now stands at the map-quiet comment block below. */
[data-ud-theme=editorial] .ud-figure__tag {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ud-card);
    border: 1px solid var(--ud-line-strong);
    font-size: var(--ud-t-xs);
    font-weight: 600;
    color: var(--ud-ink);
}
[data-ud-theme=editorial] .ud-figure__cap { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 8px; font-size: var(--ud-t-xs); line-height: 1.5; color: var(--ud-ink-3); }
[data-ud-theme=editorial] .ud-figure__what { color: var(--ud-ink-2); }

/* The crisis line keeps its words and its place; it reads as a notice. */
[data-ud-theme=editorial] .ud-crisis { border-radius: 14px; }

/* The phone's action bar. */
[data-ud-theme=editorial] .ud-actbar { box-shadow: 0 -10px 24px -18px rgba(28, 27, 24, 0.5); }
[data-ud-theme=editorial] .ud-actbar .ud-btn { border-radius: 999px; }

/* ── The claim page (r1763 pass view, r1841) ───────────────────────────── */

[data-ud-theme=editorial] .ud-claimfor {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--ud-line);
    border-radius: 14px;
    background: var(--ud-card);
}
[data-ud-theme=editorial] .ud-claimfor .ud-arch { width: 56px; }
[data-ud-theme=editorial] .ud-claimfor__name { margin: 0; font-family: var(--ud-display); font-weight: 600; font-size: var(--ud-t-l); line-height: 1.25; }
[data-ud-theme=editorial] .ud-claimfor__place { margin: 2px 0 0; font-size: var(--ud-t-s); color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-claimsteps { list-style: decimal; margin: 10px 0 0; padding-left: 1.3em; font-size: var(--ud-t-s); line-height: 1.55; color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-claimsteps li::marker { font-family: var(--ud-display); font-weight: 600; color: var(--ud-brass-ink); }
[data-ud-theme=editorial] .ud-claimsteps li + li { margin-top: 8px; }

/* ── Footer ────────────────────────────────────────────────────────────── */

[data-ud-theme=editorial] .ud-footer { font-size: var(--ud-t-s); }
[data-ud-theme=editorial] .ud-footer__title { font-family: var(--ud-display); font-weight: 600; font-size: var(--ud-t-m); }

@media print {
    [data-ud-theme=editorial] .ud-plate,
    [data-ud-theme=editorial] .ud-headplate { box-shadow: none; }
}

/* ── Round 2 (r1832) ───────────────────────────────────────────────────── */

/* A list page on a phone keeps its first whole card on the first screen
   (r1260 round 4): the search panel is compact there. The labels stay for
   screen readers; the profession runs the panel's width, the city and the
   button share the second row. */
@media (max-width: 719px) {
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search--panel {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 4px;
        border-radius: 14px;
    }
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search__field--what { grid-column: 1 / -1; }
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search__label {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search--panel .ud-field { min-height: 48px; padding: 0 14px; border-radius: 10px; }
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search__field + .ud-search__field { border-radius: 0 0 0 10px; }
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search__go { margin: 4px 0 0 4px; min-height: 48px; padding: 0 18px; border-radius: 10px; }
}

/* The space between the place chips and the list is one step, not three. */
[data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) + .ud-results .ud-count { margin-top: 20px; }

/* ABOUT THIS PAGE (Tab, Oct 10 2026: "less prominent and conspicuous").
   One small muted line under the words, then a native disclosure that holds
   every note, word for word. The line is 13px in the third ink (6.6:1 on the
   paper, 7.1:1 on a card). The toggle is a full 44px target. */
[data-ud-theme=editorial] .ud-pagenote { margin-top: 14px; max-width: 680px; }
[data-ud-theme=editorial] .ud-pagenote__line { margin: 0; font-size: var(--ud-t-xs); line-height: 1.5; color: var(--ud-ink-3); }
[data-ud-theme=editorial] .ud-pagenote__more { margin: 0; }
[data-ud-theme=editorial] .ud-pagenote__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: -8px 0 -10px;
    font-size: var(--ud-t-xs);
    font-weight: 600;
    color: var(--ud-ink-2);
    cursor: pointer;
    list-style: none;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
[data-ud-theme=editorial] .ud-pagenote__toggle::-webkit-details-marker { display: none; }
[data-ud-theme=editorial] .ud-pagenote__toggle::after {
    content: '';
    width: 9px;
    height: 6px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l3.5 3.5L8 1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l3.5 3.5L8 1'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.15s ease;
}
[data-ud-theme=editorial] .ud-pagenote__more[open] > .ud-pagenote__toggle::after { transform: rotate(180deg); }
[data-ud-theme=editorial] .ud-pagenote__toggle:hover { color: var(--ud-ink); text-decoration-color: currentColor; }
[data-ud-theme=editorial] .ud-pagenote__body { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--ud-line); border-radius: 12px; background: var(--ud-wash); }
[data-ud-theme=editorial] .ud-whyhere .ud-pagenote__body { background: var(--ud-paper); }
[data-ud-theme=editorial] .ud-pagenote__body .ud-fine,
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-fine { margin: 0 !important; font-size: var(--ud-t-xs); color: var(--ud-ink-2); max-width: none; }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-colophon { margin: 6px 0 0; padding: 0; border: 0; border-radius: 0; background: none; max-width: none; }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-colophon__note,
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-colophon__line { font-size: var(--ud-t-xs); color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-colophon__check { color: var(--ud-ink); }
@media (prefers-reduced-motion: reduce) {
    [data-ud-theme=editorial] .ud-pagenote__toggle::after { transition: none; }
}


/* ── Round 2, the profile (Tab, Oct 10 2026, relayed) ──────────────────────
   No sidebar of ours. One reading column; on a wide screen the way to reach
   the person is a card beside it (never an empty column). Clean label and
   value rows, no leaders. The claim is one quiet line above "More ...". */
[data-ud-theme=editorial] .ud-entry .ud-entry__grid:not(.ud-entry__grid--stack) { grid-template-columns: minmax(0, 1fr); }
[data-ud-theme=editorial] .ud-entry .ud-entry__main { display: block; }
[data-ud-theme=editorial] .ud-entry .ud-entry__main > * + * { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--ud-line); }
[data-ud-theme=editorial] .ud-entry .ud-entry__main > .ud-claimline { margin-top: 40px; padding-top: 20px; }

@media (min-width: 960px) {
    [data-ud-theme=editorial] .ud-entry .ud-entry__main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        grid-template-rows: auto auto auto auto auto 1fr;
        column-gap: 56px;
        align-items: start;
    }
    [data-ud-theme=editorial] .ud-entry .ud-entry__main > * { grid-column: 1; }
    [data-ud-theme=editorial] .ud-entry .ud-entry__main > * + * { margin-top: 44px; padding-top: 36px; }
    [data-ud-theme=editorial] .ud-entry .ud-entry__main > .ud-entry__reach {
        grid-column: 2;
        grid-row: 1 / span 6;
        position: sticky;
        top: 88px;
        margin: 0;
        padding: 24px 24px 20px;
        border: 1px solid var(--ud-line);
        border-radius: 16px;
        background: var(--ud-card);
        box-shadow: 0 1px 2px rgba(28, 27, 24, 0.04);
    }
    [data-ud-theme=editorial] .ud-entry .ud-entry__main > .ud-entry__reach + * { margin-top: 0; padding-top: 0; border-top: 0; }
    [data-ud-theme=editorial] .ud-entry .ud-entry__main > .ud-entry__words + .ud-entry__reach + * { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--ud-line); }
    [data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-h2 { font-size: var(--ud-t-l); }
    [data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-figure { margin-top: 18px; }
    [data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-figure__frame { border-radius: 12px; }
}

/* Label and value rows (Tab: "random dotted lines"). One hairline between
   rows at most; the label muted, the value in ink; a source line small and
   muted UNDER its value. Two columns in the reading column on a wide screen;
   stacked on a phone and inside the reach card. */
[data-ud-theme=editorial] .ud-entry .ud-facts__dots { display: none; }
[data-ud-theme=editorial] .ud-entry .ud-facts { margin-top: 16px !important; border: 0; }
[data-ud-theme=editorial] .ud-entry .ud-facts__row {
    display: block;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--ud-line);
}
[data-ud-theme=editorial] .ud-entry .ud-facts__row:first-child { border-top: 0; padding-top: 4px; }
[data-ud-theme=editorial] .ud-entry .ud-facts__row:last-child { border-bottom: 0; }
[data-ud-theme=editorial] .ud-entry .ud-facts dt { font-size: var(--ud-t-xs); font-weight: 600; color: var(--ud-ink-3); }
[data-ud-theme=editorial] .ud-entry .ud-facts dd { max-width: none; margin: 2px 0 0; text-align: left; font-size: var(--ud-t-m); line-height: 1.45; text-wrap: pretty; }
[data-ud-theme=editorial] .ud-entry .ud-facts dd a { display: inline-block; padding: 11px 0; margin: -11px 0; line-height: 22px; }
[data-ud-theme=editorial] .ud-entry .ud-pr__src { display: block; margin-top: 2px; font-size: var(--ud-t-xs); line-height: 1.45; color: var(--ud-ink-3); text-wrap: pretty; }
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-entry .ud-pr .ud-facts__row { display: grid; grid-template-columns: 168px minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
    [data-ud-theme=editorial] .ud-entry .ud-pr dt { font-size: var(--ud-t-s); }
    [data-ud-theme=editorial] .ud-entry .ud-pr dd { margin: 0; }
}

[data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-actions:empty { display: none; }
[data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-actions { margin-top: 16px; }
[data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-actions .ud-fine { margin-top: 0; }
[data-ud-theme=editorial] .ud-entry .ud-entry__reach .ud-share { margin-top: 12px; }

/* The quiet claim line (Tab: the sidebar was "too prominent"). */
[data-ud-theme=editorial] .ud-claimline__row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 0; font-size: var(--ud-t-s); color: var(--ud-ink-2); }
[data-ud-theme=editorial] .ud-claimline__q { font-weight: 600; color: var(--ud-ink); }
[data-ud-theme=editorial] .ud-claimline__sep { color: var(--ud-ink-3); }
[data-ud-theme=editorial] .ud-claimline__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ud-forest-deep);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
[data-ud-theme=editorial] .ud-page a.ud-claimline__link { color: var(--ud-forest-deep); }
[data-ud-theme=editorial] .ud-claimline__link:hover { text-decoration-color: currentColor; }
[data-ud-theme=editorial] .ud-claimline__remove { display: inline; }
[data-ud-theme=editorial] .ud-claimline__remove > summary { list-style: none; }
[data-ud-theme=editorial] .ud-claimline__remove > summary::-webkit-details-marker { display: none; }
[data-ud-theme=editorial] .ud-claimline__remove[open] { flex: 1 1 100%; }
[data-ud-theme=editorial] .ud-claimline__remove .ud-details__body { margin: 4px 0 8px; padding: 14px; border: 1px solid var(--ud-line); border-radius: 12px; background: var(--ud-wash); }
[data-ud-theme=editorial] .ud-claimline__remove .ud-details__body .ud-btn { margin-top: 10px; }
[data-ud-theme=editorial] .ud-claimline__more { margin-top: 0; }
[data-ud-theme=editorial] .ud-claimline__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: var(--ud-t-xs);
    font-weight: 600;
    color: var(--ud-ink-2);
    cursor: pointer;
    list-style: none;
}
[data-ud-theme=editorial] .ud-claimline__toggle::-webkit-details-marker { display: none; }
[data-ud-theme=editorial] .ud-claimline__toggle::after,
[data-ud-theme=editorial] .ud-why-fold > summary::after {
    content: '';
    width: 9px;
    height: 6px;
    margin-left: 6px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l3.5 3.5L8 1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l3.5 3.5L8 1'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-ud-theme=editorial] .ud-claimline__more[open] > .ud-claimline__toggle::after { transform: rotate(180deg); }
[data-ud-theme=editorial] .ud-claimline__body { max-width: 560px; margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--ud-line); border-radius: 12px; background: var(--ud-wash); }
[data-ud-theme=editorial] .ud-claimline__body .ud-points { margin-top: 0; }

/* "About this page" holds the page's record as well (Tab, Oct 10 2026). */
[data-ud-theme=editorial] .ud-pagenote__h { margin: 14px 0 0; font-family: var(--ud-display); font-weight: 600; font-size: var(--ud-t-s); color: var(--ud-ink); }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known { margin-top: 6px; max-width: none; border-top: 0; }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known dt { font-size: var(--ud-t-xs); padding-top: 10px; }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known dd { font-size: var(--ud-t-xs); padding-bottom: 10px; color: var(--ud-ink-2); }
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known { grid-template-columns: 150px minmax(0, 1fr); column-gap: 16px; }
    [data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known dt,
    [data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known dd { padding: 8px 0; }
}
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known dd:last-of-type,
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known dt:last-of-type { border-bottom: 0; }
[data-ud-theme=editorial] .ud-entry .ud-pagenote__body .ud-known__close { margin-top: 8px; }

/* Focus on the forest plates is drawn in the plate's own ink (it was forest on forest). */
[data-ud-theme=editorial] .ud-plate :focus-visible,
[data-ud-theme=editorial] .ud-headplate :focus-visible { outline-color: var(--ud-plate-ink) !important; }

/* r1898 (Oct 14 2026), second pass: the map sat muted here by design, and BOTH blind
   recheck seats measured the result reading as a pale empty box (seat B proved the fix
   rule was dead: the computed filter was this rule's saturate(0.72)). The lift is now
   THE rule, in this spot, so no later rule can shadow it. The durable fix (a re-render
   in a higher-contrast tile style) stays booked with the photos lane. */
[data-ud-theme=editorial] .ud-figure--map .ud-figure__img { filter: contrast(1.08) saturate(1.15); }

/* ── Round 2, the lists ────────────────────────────────────────────────── */

/* The example card is one cell of the grid, not a half-row. */
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-grid--three > .ud-excard { grid-column: auto; max-width: none; height: 100%; align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px; border-radius: 16px; }
}

/* One row of every card's parts lines up across its row: head, body, foot. */
@media (min-width: 720px) {
    @supports (grid-template-rows: subgrid) {
        [data-ud-theme=editorial] .ud-grid--three { grid-auto-rows: auto; }
        [data-ud-theme=editorial] .ud-grid--three > .ud-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; height: auto; }
        [data-ud-theme=editorial] .ud-grid--three > .ud-excard { grid-row: span 3; }
        [data-ud-theme=editorial] .ud-grid--three > .ud-card > .ud-card__foot { align-self: end; }
    }
}

/* The professions index: one line per profession from 1000px; two columns on a phone. */
@media (min-width: 1000px) {
    [data-ud-theme=editorial] .ud-board__name { white-space: nowrap; }
    [data-ud-theme=editorial] .ud-board__dots { min-width: 8px; }
}
@media (max-width: 559px) {
    [data-ud-theme=editorial] .ud-board--cols { columns: 2; column-gap: 20px; }
    [data-ud-theme=editorial] .ud-board--cols .ud-board__dots { display: none; }
    [data-ud-theme=editorial] .ud-board--cols .ud-board__row { justify-content: space-between; font-size: var(--ud-t-s); }
    /* r1859 walk (Oct 15 2026): in the two phone columns a long name ("Therapists &
       Counsellors") pushed its count onto a line of its own (the base row wraps). Here the
       name wraps inside its own box and the count stays beside its last line. */
    [data-ud-theme=editorial] .ud-board--cols .ud-board__row { flex-wrap: nowrap; }
    [data-ud-theme=editorial] .ud-board--cols .ud-board__name { flex: 1 1 auto; }
    [data-ud-theme=editorial] .ud-board--cols .ud-board__count { flex: none; margin-left: 8px; }
}

/* On the home the index comes first (r1832): it opens right under the search. */
[data-ud-theme=editorial] .ud-directory--home .ud-directory__board { margin-top: 40px; padding-top: 32px; }
[data-ud-theme=editorial] .ud-directory--home .ud-directory__board + .ud-results .ud-results__title { margin-top: 48px; }

/* "Near me" sits under the people's heading on the home, with the count. */
[data-ud-theme=editorial] .ud-results__title + .ud-near { margin-top: 12px; }

/* The tagline under the wordmark (Tab, Oct 10 2026): one line, never wrapped. */
.ud-brand__words { display: flex; flex-direction: column; min-width: 0; }
.ud-brand__name { display: block; }
.ud-brand__tag { display: block; margin-top: 3px; font-family: var(--ud-sans); font-weight: 400; font-size: 11px; line-height: 1.1; letter-spacing: 0.01em; color: var(--ud-ink-3); white-space: nowrap; }
@media (max-width: 419px) {
    .ud-header__row { gap: 8px; }
    .ud-brand__tag { letter-spacing: 0; }
    .ud-header__signin { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 339px) {
    .ud-brand__tag { display: none; }
}

/* "Showing people near ..." (Tab: it "overflows"). The line wraps on its own;
   "Change" and "Near me" are 44px controls on their own row on a phone, and
   share the line on a wide screen; the count follows under them. */
[data-ud-theme=editorial] .ud-near { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; }
[data-ud-theme=editorial] .ud-near__line { flex: 1 1 100%; margin: 0; font-size: var(--ud-t-s); color: var(--ud-ink-2); text-wrap: pretty; }
[data-ud-theme=editorial] .ud-near__dot { display: none; }
[data-ud-theme=editorial] .ud-near__change { display: block; }
[data-ud-theme=editorial] .ud-near__change > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ud-edge);
    border-radius: 10px;
    background: var(--ud-card);
    color: var(--ud-forest-deep);
    font-size: var(--ud-t-s);
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
}
[data-ud-theme=editorial] .ud-near__change > summary::-webkit-details-marker { display: none; }
[data-ud-theme=editorial] .ud-near__change[open] { flex: 1 1 100%; order: 3; }
[data-ud-theme=editorial] .ud-near__change[open] > summary { background: var(--ud-forest-tint); }
[data-ud-theme=editorial] .ud-near__choices { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 6px 0 0; }
[data-ud-theme=editorial] .ud-near__choices a { display: inline-flex; align-items: center; min-height: 44px; }
[data-ud-theme=editorial] .ud-near__btn { min-height: 44px; padding: 0 16px; font-size: var(--ud-t-s); }
[data-ud-theme=editorial] .ud-near__out { flex: 1 1 100%; margin-top: 4px; }
[data-ud-theme=editorial] .ud-near + .ud-count { margin-top: 16px; }
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-near--located .ud-near__line { flex: 0 1 auto; }
}

/* ── Round 3 (r1832) ───────────────────────────────────────────────────── */

/* The claim line: the remove control is a link, not the old twin button. */
[data-ud-theme=editorial] .ud-claimline__remove > summary { width: auto; padding: 0; text-align: left; white-space: normal; background: none; border: 0; }
[data-ud-theme=editorial] .ud-claimline__remove[open] > summary { background: none; }
@media (max-width: 559px) {
    /* The question on its own line; the two links share the next one. */
    [data-ud-theme=editorial] .ud-claimline__q { flex: 1 1 100%; }
}

/* "More lawyers" (Tab, Oct 10 2026; r1746): the people without the faith label,
   under their own heading after the labelled ones. */
[data-ud-theme=editorial] .ud-moregroup { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ud-line); }
[data-ud-theme=editorial] .ud-moregroup > .ud-h2 { margin-bottom: 16px; }

/* ── The free-text search field (r1899, Oct 12 2026) ───────────────────────
   The panel's first cell is the words (name, profession or language). The
   profession and the place are the two filters under it; the button runs the
   panel's height. On a phone the cells stack in the order they are read. */
[data-ud-theme=editorial] .ud-search--free .ud-search__field--q .ud-field { font-size: var(--ud-t-l); }
[data-ud-theme=editorial] .ud-search--free .ud-search__field--q .ud-field::placeholder { color: var(--ud-ink-3, var(--ud-ink-2)); opacity: 1; }
[data-ud-theme=editorial] .ud-search--free .ud-search__field--what,
[data-ud-theme=editorial] .ud-search--free .ud-search__field--where { border-top: 1px solid var(--ud-line); border-radius: 0 0 11px 11px; }
@media (min-width: 720px) {
    [data-ud-theme=editorial] .ud-search--free .ud-search__field--q { grid-column: 1 / 3; grid-row: 1; }
    [data-ud-theme=editorial] .ud-search--free .ud-search__field--what { grid-column: 1; grid-row: 2; }
    [data-ud-theme=editorial] .ud-search--free .ud-search__field--where { grid-column: 2; grid-row: 2; }
    [data-ud-theme=editorial] .ud-search--free .ud-search__go { grid-column: 3; grid-row: 1 / span 2; align-self: stretch; }
    /* The hairline between the two filters stays; the first filter has none beside it. */
    [data-ud-theme=editorial] .ud-search--free .ud-search__field--what::before { display: none; }
    [data-ud-theme=editorial] .ud-search--free .ud-search__field--what,
    [data-ud-theme=editorial] .ud-search--free .ud-search__field--where { border-radius: 0 0 11px 11px; }
}
@media (max-width: 719px) {
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search--free .ud-search__field--q { grid-column: 1 / -1; }
    [data-ud-theme=editorial] .ud-hero:has(> .ud-headplate) .ud-search--free .ud-search__field--where { border-top: 1px solid var(--ud-line); border-radius: 0 0 0 10px; }
}
