/* Pathminder design system -- the stylesheet every surface that draws the design system
 * loads: the host portal and the PM2 meeting finder (through <c-pm.assets>).
 *
 * PM2'S OWN since 2026-11-08 (PM2 finder E3); edited here. It began as PM1's
 * meetings/static/meetings/finder.css at pathminder-meetings@b162df2b28eb
 * (release_digital_ocean), with PM1's comments stripped: the reasoning behind every
 * rule up to that commit is in that file and its history. What it should say comes
 * from the designer's design system (design_system/VENDORED.md, section 1), not
 * from PM1, which no longer feeds it.
 *
 * Two parts:
 *   1. PM1's build, as of that commit.
 *   2. PM2 ADDITIONS (at the end): design-system pieces PM2 built before PM1 had
 *      them, formerly additions.css, with their own comments. They come last, so
 *      where they meet part 1 they win, as they did as a separate file.
 *
 * Rules for every part (as PM1's): every literal once, in a token; no hex or px in a
 * rule outside the token blocks; hover inside @media (hover: hover) with :active
 * repeating it; one breakpoint at 768px. PM1's token dialect: a type token is
 * weight/size/line only, and the rule appends the family
 * (font: var(--type-row-title) var(--font-text)). A rule only one surface's pages
 * use is that surface's (hosts_web/static/hosts_web/css/hosts_web.css), never this file's.
 */
html { -webkit-tap-highlight-color: transparent; }

:root {

  --color-ink-strong: #1c2024;
  --color-ink-body: #3f4448;
  --color-ink-muted: #5c6166;
  --color-ink-subtle: #6b7075;
  --color-ink-glyph: #7b8085;
  --color-ink-disabled: #a3a8ac;
  --color-ink-separator: #b0b5b9;

  --color-surface-page: #edeeef;
  --color-surface-card: #ffffff;
  --color-surface-hover: #f5f7f8;
  --color-surface-selected: #f2f6f9;
  --color-line-row: #eceeef;
  --color-line-card: #e2e4e6;
  --color-line-control: #b9c4cc;

  --color-mode-in-person: #EA4335;
  --color-mode-online: #0B5CFF;
  --color-mode-hybrid: #7C3AED;

  --color-condition-ink: #7a541c;

  --color-condition-bg: #fbf5ea;
  --color-condition-line: #dcc396;
  --color-canceled: #8f2d2d;
  --color-canceled-bg: #f9e9e9;

  --color-canceled-row: #edeeef;
  --color-canceled-line: #e3c4c4;
  --color-line-selected: #cfdbe4;

  --color-scrim: rgba(18, 35, 46, .52);

  --color-fade-out: rgba(245, 247, 248, 0);

  --color-donate: #b3261e;
  --color-donate-hover: #8f1e18;
  --color-donate-ink: #ffffff;
  --color-crisis-ink: #9a3b1f;
  --color-crisis-ink-strong: #6b3520;
  --color-crisis-bg: #fdf3f0;
  --color-crisis-line: #f0d9d1;

  --color-action: #1a5c8a;
  --color-action-hover: #113f5f;
  --color-action-fill-hover: #16506f;
  --color-action-on: #ffffff;
  --color-action-tint: var(--color-surface-selected);

  --color-scope-local-rail: #ffffff;
  --color-scope-local-ink: #5a5a5a;
  --color-scope-local-bg: #ffffff;
  --color-scope-local-line: #9e9e9e;
  --color-scope-regional-rail: #2b7cb3;
  --color-scope-regional-ink: #17537c;
  --color-scope-regional-bg: #e7eff6;
  --color-scope-regional-line: #7da4bf;
  --color-scope-national-rail: #a8438a;
  --color-scope-national-ink: #872f6d;
  --color-scope-national-bg: #f9ebf5;
  --color-scope-national-line: #b587a7;

  --color-nav-bg: #ffffff;
  --color-nav-line: #e2e4e6;
  --color-nav-ink: #1c2024;
  --color-nav-muted: #5c6166;
  --color-nav-active-ink: #1a5c8a;
  --color-nav-active-line: #1a5c8a;
  --color-nav-tile-bg: #f5f7f8;
  --color-nav-tile-line: #e2e4e6;

  --opacity-chevron: .7;

  --mix-busy: 75%;

  --font-display: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --type-page-title: 700 30px/1.15;
  --type-section: 700 22px/1.2;
  --type-card-title: 700 19px/1.2;
  --type-tab: 700 18px/1;
  --type-code: 700 15px/1.2;

  --type-time: 700 24px/1.1;
  --type-row-title: 700 17px/1.3;

  --type-cta: 700 17px/1;
  --type-note-title: 700 15px/1.3;
  --type-body: 400 16px/1.55;
  --type-prose: 400 15px/1.55;
  --type-value: 400 15px/1.45;
  --type-label: 600 15px/1.3;
  --type-field-label: 600 14px/1.4;
  --type-meta: 400 14px/1.5;
  --type-helper: 400 13px/1.45;
  --type-caption: 400 13px/1.35;

  --type-day-slot: 600 13px/1.35;

  --type-distance: 700 16px/1.3;

  --type-proof: 400 13px/1;

  --type-count: 400 13px/1;
  --type-chip: 400 12px/1;
  --type-kicker: 600 12px/1;
  --type-eyebrow: 600 10px/1;
  --type-subhead: 600 16px/1.3;
  --type-glyph-label: 600 13px/1.2;
  --type-mark: 700 12px/1;
  --type-page-title-m: 700 26px/1.15;
  --type-section-m: 700 20px/1.2;
  --type-card-title-m: 700 18px/1.2;
  --type-row-title-m: 700 16px/1.3;

  --type-banner-title: 700 16px/1.3;

  --type-gate-title: 700 22px/1.2;
  --type-tab-m: 700 15px/1;

  --tracking-eyebrow: 0.12em;
  --tracking-code: 0.08em;

  --space-gutter: 36px;
  --space-gutter-mobile: 16px;
  --space-row: 18px;
  --space-fact-row: 13px;

  --space-facil-row-mobile: 11px;
  --space-chip: 7px 11px;

  --space-chip-applied: 0 9px 0 11px;
  --space-chip-applied-mobile: 9px 9px 9px 11px;

  --space-clearall: 0 4px;

  --space-option-clear: 10px 4px;
  --space-option-clear-mobile: 9px 2px 9px 7px;
  --space-pill: 7px 12px;
  --gap-hairline: 3px;
  --gap-glyph: 6px;
  --gap-chip: 9px;
  --gap-inline: 12px;
  --gap-block: 16px;
  --gap-group: 22px;
  --gap-band: 30px;

  --gap-fade: 24px;
  --gap-page: 48px;

  --radius-card: 10px;
  --radius-control: 9px;
  --radius-inline: 7px;
  --radius-sheet: 16px;
  --radius-device: 34px;
  --radius-pill: 999px;

  --size-input: 52px;
  --size-input-m: 50px;
  --size-button: 52px;
  --size-tap-min: 44px;

  --size-filterrow: 37px;

  --space-filterbutton-x: 13px;

  --size-glyph-chevron: 11px;

  --size-glyph-sheet-caret: 13px;
  --size-rail: 6px;

  --size-active-rail: 3px;

  --size-time-col: 104px;
  --size-fact-label: 150px;
  --size-sidebar: var(--size-popover-min);
  --measure-row: 640px;
  --measure-card: 1000px;
  --breakpoint: 768px;

  --shadow-overlay: 0 12px 30px rgba(28, 32, 36, .18);
  --shadow-sheet: 0 -8px 30px rgba(28, 32, 36, .2);

  --shadow-bar: 0 -6px 20px rgba(28, 32, 36, .12);

  --shadow-stuck: 0 6px 12px -6px rgba(28, 32, 36, .18);

  --shadow-drawer: -12px 0 30px rgba(28, 32, 36, .18);

  --layer-sticky: 10;
  --layer-popover: 20;
  --layer-suggestions: 25;
  --layer-nav: 30;
  --layer-dock: 35;

  --layer-sheet: 40;

  --layer-consent: 45;

  --layer-modal: 99999;

  --layer-tour: 50;

  --motion-dock: 180ms;

  --motion-reveal: 120ms ease-out;

  --motion-spin: 900ms linear;

  --size-glyph-term: 12px;
  --size-glyph-sm: 15px;
  --size-glyph: 16px;
  --size-glyph-row: 18px;
  --size-glyph-nav: 20px;

  --size-glyph-mode: 20px;
  --size-glyph-mode-box: 24px;

  --size-glyph-notice: 20px;

  --size-verification-mark: 23px;

  --space-row-mobile: 15px;
  --size-place-min: 118px;
  --size-place-max: 168px;
  --space-chip-mobile: 7px 10px;
  --size-verification-mark-mobile: 19px;
  --space-verification-row-mobile: 10px;
  --gap-verification-row-mobile: 5px;

  --size-beyond: 274px;
  --space-beyond-inset: 16px;

  --space-categoryhead: 30px var(--space-gutter) 22px;
  --space-categoryhead-mobile: 22px var(--space-gutter-mobile) 18px;
  --space-notes-list: 22px;  /* written notes' lists, indented (ReadMore form="notes") */
  --size-categoryhead-mark: 30px;
  --space-beyond: 16px 18px;

  --space-beyond-close: 2px 4px;
  --space-beyond-close-mobile: -4px -2px;
  --space-beyond-close-clear: 30px;
  --space-beyond-close-clear-mobile: 44px;
  --space-beyond-action: 10px 14px;

  --shadow-beyond: 0 4px 16px rgba(28, 32, 36, .12);

  --color-scrim-gesture: rgba(28, 32, 36, .55);
  --shadow-beyond-mobile: 0 4px 16px rgba(28, 32, 36, .2);
  --space-beyond-inset-mobile: 12px;

  --space-beyond-bottom-mobile: 75px;
  --space-beyond-mobile: 10px 12px;
  --space-beyond-action-mobile: 0 11px;
  --size-map: 220px;

  --size-mapview: 560px;
  --size-map-mobile: 170px;
  --size-map-where: 200px;

  --size-navbar: 64px;
  --size-nav-mark-mobile: 28px;
  --space-breadcrumb-mobile: 8px 0 10px;

  --space-banner-canceled: 15px var(--space-gutter);

  --lines-notes: 3;

  --space-notes-more-mobile: -15px 0;

  --space-mapstatus-list-mobile: -10px 0;

  --space-daygroup-prompt-mobile: -15.5px 0;

  --size-intro-band-first: 240px;
  --size-intro-band: 96px;
  --size-intro-band-first-mobile: 150px;
  --size-intro-band-mobile: 88px;
  --space-intro-overlap: 48px;
  --space-intro-overlap-mobile: 44px;

  --space-intro-bare: 24px var(--space-gutter) 0;
  --space-intro-bare-mobile: var(--gap-block) var(--space-gutter-mobile) 0;

  --space-rail-under-intro: 24px;

  --lines-intro: 2;
  --lines-intro-mobile: 3;
  --space-atc-mobile: -5px 0 -10px;

  /* The join gate's (the design system's JoinGate on the Dialog's surface, PM2 finder
     Phase 5 E): what it sets beyond the Dialog's own. The head's and foot's paddings,
     its 520px width and its phone sheet are the Dialog's (ADMIN A2); the tokens PM1's
     ported gate had for them went with it (follow-up B2b). */
  --shadow-gate: 0 18px 44px rgba(28, 32, 36, .22);
  --space-gate-body: 4px 26px 22px;
  --space-gate-body-mobile: 0 16px 22px;

  --space-gate-row: 12px 0;

  --lines-gate-row: 2;

  --space-optinbar: 14px var(--gap-block) 14px 20px;

  --space-optinbar-mobile: var(--gap-inline) var(--gap-inline) var(--gap-inline) 14px;
  --space-leave: 26px var(--space-gutter) var(--gap-page);

  --size-atc-menu: 230px;
  --size-atc-mark-slot: 22px;
  --space-atc-option: var(--gap-chip) var(--gap-block) var(--gap-chip)
    calc(var(--gap-block) + var(--size-atc-mark-slot) + var(--gap-inline));
  --size-glyph-menu: 24px;

  --size-suggestion-row: 48px;
  --size-suggestion-row-m: 52px;

  --space-suggestion-gutter: var(--gap-block);
  --space-suggestion-gutter-m: var(--gap-inline);
  --space-suggestion-label: calc(var(--gap-block) * 2 + var(--size-glyph));
  --space-suggestion-label-m: calc(var(--gap-inline) * 2 + var(--size-glyph));

  --space-suggestion-ring: 4px;

  --space-search-clear: 4px;
  --space-search-clear-m: 3px;

  --size-mode-col: 84px;
  --size-mode-col-mobile: 84px;
  --size-ver-col: 190px;

  --size-proof-slot: 22px;
  --size-proof-mark: 21px;

  --size-option-wordmark: 24px;
  --size-proof-mark-mobile: 20px;  /* VerificationMark on a phone: 75.5px wide, the brand's 72px minimum (design system 9d73e74) */

  --size-rail-mobile: 5px;

  --size-line-meta: 21px;
  --space-card-row: 18px 0;
  --space-card-time: 18px 0 18px 8px;
  --space-card-ver: 20px 22px 18px 0;
  --space-card-mobile: 16px 12px 16px 16px;

  --space-viewtoggle: 9px 13px;
  --space-viewtoggle-mobile: 15px;

  --space-viewtoggle-clear: 4px;
  --space-viewtoggle-clear-mobile: 3px;
  --space-daygroup-lead: 6px;
  --space-daygroup-inset: 4px;
  --space-daygroup-cover: var(--gap-inline);
  --space-daygroup-cover-mobile: var(--gap-chip);
  --space-daygroup:
    calc((var(--space-daygroup-lead) + var(--space-daygroup-cover)) / 2)
    var(--space-daygroup-inset);

  --size-menu-row: 52px;

  --size-drawer: 300px;
  --size-check-slot: 16px;

  --size-glyph-close: 22px;

  --space-controlrail-mobile: 14px 16px 0;
  --space-sheet-head: 14px 16px 12px;
  --space-sheet-row: 17px 16px;
  --space-sheet-foot: 12px 16px 20px;
  --space-sheet-close: -8px -8px -8px 0;
  --space-sheet-clear: 14px 4px;
  --size-sheet: 86dvh;
  --size-org-mark: 26px;
  --size-control-box: 20px;

  --size-glyph-check: 15px;  /* the Checkbox's tick: bi-check at 15px (the design system's Checkbox; was bi-check-lg at 14px) */

  --size-radio-ring: 6px;
  --size-footer-mark: 28px;
  --size-footer-wordmark: 36px;

  --size-footer-logo: 36px;
  --size-footer-logo-mobile: 32px;
  --size-footer-pathminder-mobile: 34px;  /* Pathminder's logo on a phone (Footer; 73.5px wide, the brand's 72px minimum) */
  --size-footer-logo-max: 260px;
  --size-switch-w: 44px;
  --size-switch-h: 26px;
  --size-switch-knob: 20px;
  --gap-wrap-footer: 4px;

  --space-footer-end: 36px;
  --space-footer: 22px 36px var(--space-footer-end);
  --space-detail-body: 26px 36px 34px;
  --space-detail-body-mobile: 16px 16px 28px;
  --space-detail-side-mobile: 0 16px 28px;
  --space-rule-gap: 10px;
  --space-detail-side: 26px 28px 34px;
  --space-action-block: 20px 22px;

  --space-action-block-mobile: var(--gap-block);
  --space-dock: 10px 16px;

  --size-grabber: 38px;
  --size-grabber-thick: 4px;
  --space-dock-grabber: 8px;
  --space-dock-top: 20px;
  --size-dock-handle: 120px;

  --space-safe-bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));

  --space-consent: var(--gap-block) var(--space-gutter);

  --space-bar-top-mobile: 12px;
  --space-sidelink-mobile: 14px 0;

  /* The tallest a promotion's image is drawn: a 600 x 1200 image's 300 x 600, as PM1's
     (product owner, 2026-11-24: "follow PM1's rules"). A phone takes the screen's
     height instead (the breakpoint below). */
  --size-resource-max: 600px;
  --space-sidelink-y: 11px;
  --space-sidelink: var(--space-sidelink-y) 0;
  --space-inline-control: 10px 12px;
  --space-breadcrumb: 15px 0;
  --size-nav-mark: 30px;
  --measure-explainer: 520px;

  --measure-errorcard: 480px;
  --space-verification-row: 14px;
  --size-cta: 54px;
  --size-detail-side: 320px;
  --size-popover-min: 320px;
  --size-popover-max: 420px;

  --size-popover-text: 340px;
  --space-page-end: 60px;

  --space-empty-results: 34px var(--space-gutter) 40px;
  --space-empty-records: 4px;
  --space-card-body: 26px;
  --space-card-body-end: 34px;

  --space-nav-link: 3px 1px 0;
  --space-tab: 12px 2px 14px;

  --space-tab-mobile: 9px 2px 11px;
  --space-option: 11px 14px;
  --space-control: 11px 13px;
  --gap-fact: 20px;

  --measure-form: 560px;
  --measure-prose: 620px;
  --size-aside: 300px;
  --size-contents: 240px;

  --size-rail-nav: 3px;

  --size-legend-rail: 30px;

  --size-legend-label: 200px;

  --space-page-body: 30px 36px 40px;
  --space-page-body-mobile: 20px 16px 28px;

  --space-note: 14px 16px;

  --space-notice-y: 13px;
  --space-notice-x: 15px;
  --space-legend-row: 14px;
  --space-legend-row-qa: 13px;     /* Help's questions and answers (Joining an online meeting; the Help mock) */
  --space-legend-row-proof: 16px;  /* Help's verification marks (Getting proof you attended; the Help mock) */
  --space-legend-row-mobile: 12px;
  --space-contents-link: 9px 12px;

  --space-contents-inset: 12px;

  --space-sticky: 24px;
  --space-textarea: 13px 14px;

  --measure-page: 720px;

  --size-date-field: 240px;

  --size-picker-time: 66px;
  --space-pathcheck: 24px 26px 28px;
  --space-pathcheck-mobile: 18px 16px 20px;

  --space-choice: 12px 14px;

  --focus-ring: 2px solid var(--color-action);
  --focus-offset: 2px;
}

@media (max-width: 767px) {
  :root {
    --space-gutter: var(--space-gutter-mobile);
    --space-footer-end: 32px;
    --space-footer: 18px 16px var(--space-footer-end);
    --space-page-body: var(--space-page-body-mobile);
    --size-rail: 5px;
    --type-page-title: var(--type-page-title-m);
    --type-section: var(--type-section-m);
    --type-card-title: var(--type-card-title-m);
    --type-row-title: var(--type-row-title-m);
    --space-daygroup-cover: var(--space-daygroup-cover-mobile);
    --size-filterrow: var(--size-tap-min);
    --space-option-clear: var(--space-option-clear-mobile);
    --space-viewtoggle-clear: var(--space-viewtoggle-clear-mobile);
    /* The whole promotion on one screen with the Support bar docked under it, as PM1's:
       the bar measures 89px, and 30px more over a home indicator; the rest is room. */
    --size-resource-max: min(600px, 100svh - 150px);
  }
}

*, *::before, *::after { box-sizing: border-box; }

body.pm {
  margin: 0;
  background: var(--color-surface-page);
  color: var(--color-ink-body);
  font: var(--type-value) var(--font-text);
  -webkit-font-smoothing: antialiased;
}

:where(.pm) h1, :where(.pm) h2, :where(.pm) h3, :where(.pm) p,
:where(.pm) ul, :where(.pm) ol, :where(.pm) figure, :where(.pm) form { margin: 0; padding: 0; }
:where(.pm) ul, :where(.pm) ol { list-style: none; }

:where(.pm) a { color: var(--color-action); text-decoration: none; }
@media (hover: hover) {
  :where(.pm) a:hover,
  .pm-sidelink:hover,
  .pm-copy:hover {
  color: var(--color-action-hover);
  text-decoration: underline;
}
}
:where(.pm) a:active,
.pm-sidelink:active,
.pm-copy:active {
  color: var(--color-action-hover);
  text-decoration: underline;
}

.pm :focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

:where(.pm) :where(a, button, summary) { border-radius: var(--radius-inline); }

.pm img { max-width: 100%; }

:where(.pm) button {
  font: inherit;
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .pm *, .pm *::before, .pm *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.pm-hidden { display: none; }

.pm-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pm-page-title { font: var(--type-page-title) var(--font-display); color: var(--color-ink-strong); }
.pm-section    { font: var(--type-section) var(--font-display); color: var(--color-ink-strong); }
.pm-card-title { font: var(--type-card-title) var(--font-text); color: var(--color-ink-strong); }
.pm-note-title { font: var(--type-note-title) var(--font-text); color: var(--color-ink-strong); }

.pm-note { font: var(--type-value) var(--font-text); color: var(--color-ink-muted); }
.pm-body       { font: var(--type-body) var(--font-text);   color: var(--color-ink-body); text-wrap: pretty; }
.pm-prose      { font: var(--type-prose) var(--font-text);  color: var(--color-ink-body); text-wrap: pretty; }
.pm-meta       { font: var(--type-meta) var(--font-text);   color: var(--color-ink-muted); }
/* A field's helper and error wrap with no orphan words (text-wrap: pretty), as the design system's
   SelectField, FileField, ImageField and ColorField draw them (SelectField's README). */
.pm-helper     { font: var(--type-helper) var(--font-text); color: var(--color-ink-subtle); text-wrap: pretty; }
.pm-label      { font: var(--type-label) var(--font-text);  color: var(--color-ink-strong); }

.pm-subhead    { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); text-wrap: pretty; }

.pm-body b, .pm-body strong,
.pm-prose b, .pm-prose strong { font-weight: 600; }

.pm-eyebrow {
  font: var(--type-eyebrow) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.pm-kicker {
  font: var(--type-kicker) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.pm-tabular { font-variant-numeric: tabular-nums; }

.pm-glyph { color: var(--color-ink-glyph); font-size: var(--size-glyph); line-height: 1; }
.pm-glyph--sm { font-size: var(--size-glyph-sm); }
.pm-glyph--row { font-size: var(--size-glyph-row); }

.pm-middot { color: var(--color-ink-separator); }
/* GlyphFact joins its items with plain middots, in the words' own ink. */
.pm-languages .pm-middot,
.pm-audiences .pm-middot,
.pm-focus .pm-middot { color: inherit; }

.pm-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--gap-block) var(--space-gutter) var(--space-page-end);
}

.pm-card {
  width: 100%;
  max-width: var(--measure-card);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);

  overflow: clip;
}

.pm-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  padding: var(--space-gutter);
}

.pm-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
}
.pm-stack--tight { gap: var(--gap-glyph); }
.pm-stack--prose { gap: var(--gap-chip); }
.pm-stack--rows  { gap: var(--gap-inline); }
.pm-stack--chip  { gap: var(--gap-glyph); }
.pm-stack--group { gap: var(--gap-group); }

.pm-row--center { justify-content: center; }

.pm-row {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  flex-wrap: wrap;
}

.pm-action-block .pm-row { gap: var(--gap-block); }

.pm-hairline { height: 1px; background: var(--color-line-row); border: 0; }

.pm-navbar {
  grid-column: 1 / -1;
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-nav-line);
  /* The focus ring on the bar is the bar's own active line, as the design system's
     SiteNav sets it (README "Focus", design-system 2f42f24): action blue on a light bar,
     white on a dark one, cyan under .theme-pathminder, where action blue is 1.8:1 on
     navy. What opens from the bar onto white puts the system's ring back, below. */
  --focus-ring: 2px solid var(--color-nav-active-line);
}
/* A menu, list or dialog takes the system's ring back, as the design system's
   bundle.css does (design-system b7889ab, README "Focus"), so one that opens from a bar
   onto white never inherits the bar's cyan or white ring. */
[role="menu"], [role="listbox"], [role="dialog"] { --focus-ring: 2px solid var(--color-action); }
/* The build's language list carries none of those roles (its options are links), so it
   resets the ring itself, as the design system's README says such a surface does. Its
   popover is white on desktop. The phone's menu drawer does the same (.pm-nav, below). */
.pm-navbar .pm-popover { --focus-ring: 2px solid var(--color-action); }

.pm-navbar__inner {

  min-height: var(--size-navbar);
  padding: 0 var(--space-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-group);
}

.pm-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-breadcrumb);
  min-width: 0;
}
.pm-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  font: var(--type-label) var(--font-text);

  color: var(--color-nav-muted);
  white-space: nowrap;
}

.pm-breadcrumb a:last-child { font: var(--type-row-title) var(--font-text); color: var(--color-nav-ink); }
@media (hover: hover) {
  .pm-breadcrumb a:hover { color: var(--color-nav-ink); }
}
.pm-breadcrumb a:active { color: var(--color-nav-ink); }

.pm-breadcrumb a:first-child span {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pm-breadcrumb__mark {
  width: var(--size-nav-mark); height: var(--size-nav-mark);
  object-fit: contain;
  flex: none;
}

.pm-breadcrumb__sep {
  color: var(--color-nav-muted);
  opacity: var(--opacity-chevron);
  font-size: var(--size-glyph-term);
}

.pm-nav {
  display: flex;
  align-items: center;
  gap: var(--gap-group);
}
.pm-nav > a {

  display: inline-flex;
  align-items: center;
  height: var(--size-navbar);
  font: var(--type-label) var(--font-text);
  color: var(--color-nav-muted);
  padding: var(--space-nav-link);
  border-bottom: var(--size-active-rail) solid transparent;

  border-radius: 0;

  white-space: nowrap;
}
@media (hover: hover) {
  .pm-nav > a:hover { color: var(--color-nav-ink); text-decoration: none; }
}
.pm-nav > a:active { color: var(--color-nav-ink); text-decoration: none; }

.pm-nav > a[aria-current="page"] {
  color: var(--color-nav-active-ink);
  border-bottom-color: var(--color-nav-active-line);
}

.pm-langpicker { position: relative; }

.pm-langpicker__trigger {
  display: inline-flex;
  align-items: center;

  cursor: pointer;
  gap: var(--gap-glyph);
  height: var(--size-navbar);
  padding: var(--space-nav-link);
  border-bottom: var(--size-active-rail) solid transparent;

  border-radius: 0;
  font: var(--type-label) var(--font-text);
  color: var(--color-nav-muted);
  white-space: nowrap;
}

.pm-langpicker__trigger .bi-translate {
  display: block;
  height: 1em;
  line-height: 1;
  font-size: var(--size-glyph-sm);
}
.pm-langpicker__trigger .bi-chevron-down {
  font-size: var(--size-glyph-term);
  opacity: var(--opacity-chevron);
}
@media (hover: hover) {
  .pm-langpicker__trigger:hover { color: var(--color-nav-ink); }
}
.pm-langpicker__trigger:active { color: var(--color-nav-ink); }

.pm-langpicker[open] .pm-langpicker__trigger { color: var(--color-nav-active-ink); }
.pm-langpicker[open] .pm-langpicker__trigger .bi-chevron-down { transform: rotate(180deg); }

.pm-langpicker .pm-popover {
  top: calc(100% + var(--gap-glyph));
  right: 0;
  left: auto;
}

.pm-navbar__end { display: none; }
.pm-navbar__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-tap-min);
  min-height: var(--size-tap-min);
  color: var(--color-nav-muted);
  font-size: var(--size-glyph-nav);
}
@media (hover: hover) {
  .pm-navbar__help:hover { color: var(--color-nav-ink); text-decoration: none; }
}
.pm-navbar__help:active { color: var(--color-nav-ink); text-decoration: none; }

.pm-navbar__help[aria-current="page"] { color: var(--color-nav-active-ink); }
.pm-navbar__toggle {
  display: none;
  font-size: var(--size-glyph-row);
  color: var(--color-nav-ink);
  min-width: var(--size-tap-min);
  min-height: var(--size-tap-min);
  align-items: center;
  justify-content: center;
}

@media (max-width: 880px) {
  .pm-breadcrumb a:first-child span,
  .pm-breadcrumb__sep { display: none; }
}

.pm-nav__head { display: none; }

@media (max-width: 767px) {

  .pm-page {
    padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
  }
  .pm-card { border: 0; border-radius: 0; }

  .pm-navbar__inner { gap: var(--gap-chip); }
  .pm-breadcrumb { padding: var(--space-breadcrumb-mobile); }
  .pm-breadcrumb__mark {
    width: var(--size-nav-mark-mobile);
    height: var(--size-nav-mark-mobile);
  }

  .pm-navbar__end {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-glyph);
    flex: 0 0 auto;
  }
  .pm-navbar__toggle {
    display: inline-flex;
    font-size: var(--size-glyph-menu);
  }

  .pm-navscrim {
    display: none;
    position: fixed;
    inset: var(--drawer-top, 0px) 0 0 0;
    z-index: var(--layer-modal);
    background: var(--color-scrim);
  }

  .pm-navscrim[data-open="true"] { display: block; }

  .pm-nav {
    display: none;
    position: fixed;

    top: var(--drawer-top, 0px);
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--size-drawer);
    max-width: 100%;

    z-index: calc(var(--layer-modal) + 1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--color-surface-card);
    box-shadow: var(--shadow-drawer);
    /* A white drawer: the system's ring, not the bar's (see .pm-navbar). */
    --focus-ring: 2px solid var(--color-action);
  }
  .pm-nav[data-open="true"] { display: flex; }

  /* The ✕ row: the navbar's height, so the ✕ lands where Menu was and stays there if
     the person's name or email wraps (it sits at the row's top, the row grows under
     it). Signed in, who it is fills the row's left, centred on it (<c-pm.account-head>;
     SideNav, design-system 71022f5). */
  .pm-nav__head {
    display: flex;
    align-items: center;
    gap: var(--gap-inline);
    min-height: var(--size-navbar);
    box-sizing: content-box;
    padding: 0 var(--space-gutter);
    border-bottom: 1px solid var(--color-line-row);
    flex: 0 0 auto;
  }
  .pm-nav__head .pm-account__head {
    flex: 1 1 auto;
    padding: calc((var(--size-navbar) - var(--size-tap-min)) / 2) 0;
  }
  .pm-nav__close {
    flex: none;
    align-self: flex-start;
    margin: calc((var(--size-navbar) - var(--size-tap-min)) / 2) 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--size-tap-min);
    height: var(--size-tap-min);
    font-size: var(--size-glyph-close);
    line-height: 1;
    color: var(--color-ink-body);
    cursor: pointer;
  }

  .pm-nav > a,
  .pm-nav .pm-langpicker__trigger {
    display: flex;
    align-items: center;
    gap: var(--gap-chip);

    height: auto;
    min-height: var(--size-menu-row);
    box-sizing: border-box;
    padding: 0 var(--space-gutter);
    border: 0;
    border-bottom: 1px solid var(--color-line-row);

    font: var(--type-subhead) var(--font-text);
    line-height: 1;
    color: var(--color-ink-strong);
    flex: 0 0 auto;
  }

  .pm-nav > a[aria-current="page"] {
    color: var(--color-action);
    border-bottom-color: var(--color-line-row);
  }

  @media (hover: hover) {
    .pm-nav > a:hover,
    .pm-nav .pm-langpicker__trigger:hover,
    .pm-nav .pm-option:hover {
      background: var(--color-surface-hover);
      color: var(--color-action);
    }
  }
  .pm-nav > a:active,
  .pm-nav .pm-langpicker__trigger:active,
  .pm-nav .pm-option:active {
    background: var(--color-surface-hover);
    color: var(--color-action);
  }

  @media (hover: hover) {
    .pm-nav .pm-option:hover .pm-option__name { color: inherit; }
  }
  .pm-nav .pm-option:active .pm-option__name { color: inherit; }

  .pm-nav .pm-langpicker:last-child .pm-langpicker__trigger { border-bottom: 0; }

  .pm-nav .pm-langpicker { flex: 0 0 auto; }
  .pm-nav .pm-langpicker[open] .pm-langpicker__trigger { color: var(--color-ink-strong); }
  .pm-nav .pm-langpicker__trigger .bi-translate {
    font-size: var(--size-glyph);
    color: var(--color-ink-glyph);
  }
  .pm-nav .pm-langpicker__trigger .bi-chevron-down {
    font-size: var(--size-glyph-term);
    color: var(--color-ink-muted);

    opacity: 1;
    margin-left: 0;
  }
  .pm-nav .pm-popover {
    position: static;
    min-width: 0;
    max-width: none;
    padding: 0;
    gap: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .pm-nav .pm-option {
    display: flex;
    align-items: center;
    gap: var(--gap-chip);
    min-height: var(--size-menu-row);
    box-sizing: border-box;
    padding: 0 var(--space-gutter);
    border: 0;
    font: var(--type-body) var(--font-text);
    line-height: 1;
    color: var(--color-ink-strong);
  }
  .pm-nav .pm-option--selected {
    font: var(--type-subhead) var(--font-text);
    line-height: 1;
    color: var(--color-action);
  }
  .pm-nav .pm-option__check {
    width: var(--size-check-slot);
    flex: 0 0 auto;
    display: inline-flex;
    justify-content: center;
  }
  .pm-nav .pm-option__check i {
    font-size: var(--size-glyph);
    line-height: 1;
    color: var(--color-action);
  }

  .pm-nav > a:focus-visible,
  .pm-nav .pm-langpicker__trigger:focus-visible,
  .pm-nav .pm-option:focus-visible {
    outline-offset: calc(var(--focus-offset) * -1);
  }
}

.pm-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  padding: var(--space-chip);
  border-radius: var(--radius-pill);
  font: var(--type-chip) var(--font-text);
  border: 1px solid var(--color-line-card);
  color: var(--color-ink-body);
  background: var(--color-surface-card);
  white-space: nowrap;
}

.pm-condition {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);

  font: var(--type-meta) var(--font-text);
  color: var(--color-condition-ink);
  white-space: nowrap;
}
.pm-condition i { font-size: var(--size-glyph-sm); }

.pm-chip--applied {
  font: var(--type-caption) var(--font-text);
  min-height: var(--size-filterrow);
  padding: var(--space-chip-applied);
  border-radius: var(--radius-control);
  color: var(--color-action);
  background: var(--color-action-tint);
  border-color: var(--color-action);
  white-space: normal;
  gap: var(--gap-chip);

  flex: 0 0 auto;
  max-width: 100%;
}
@media (hover: hover) {
  .pm-chip--applied:hover { text-decoration: none; background: var(--color-surface-hover); }
}
.pm-chip--applied:active { text-decoration: none; background: var(--color-surface-hover); }
.pm-chip--applied b { font-weight: 600; }

.pm-chip--applied .bi-x { line-height: 1; }

.pm-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-pill);
  border-radius: var(--radius-pill);
  font: var(--type-mark) var(--font-text);
  border: 1px solid;
  white-space: nowrap;
}
.pm-pill--local    { color: var(--color-scope-local-ink);    background: var(--color-scope-local-bg);    border-color: var(--color-scope-local-line); }
.pm-pill--regional { color: var(--color-scope-regional-ink); background: var(--color-scope-regional-bg); border-color: var(--color-scope-regional-line); }
.pm-pill--national { color: var(--color-scope-national-ink); background: var(--color-scope-national-bg); border-color: var(--color-scope-national-line); }

.pm-rail { align-self: stretch; }
.pm-rail--local    { background: var(--color-scope-local-rail); }
.pm-rail--regional { background: var(--color-scope-regional-rail); }
.pm-rail--national { background: var(--color-scope-national-rail); }

.pm-mode {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);

  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  white-space: nowrap;
}
.pm-mode i { font-size: var(--size-glyph-sm); }
.pm-mode--in-person i { color: var(--color-mode-in-person); }
.pm-mode--online i    { color: var(--color-mode-online); }
.pm-mode--hybrid i    { color: var(--color-mode-hybrid); }

.pm-languages {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-caption) var(--font-text);
  color: var(--color-ink-body);
}
.pm-languages i { color: var(--color-ink-glyph); font-size: var(--size-glyph-sm); }

.pm-term {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  color: var(--color-ink-body);
  text-decoration: underline dotted var(--color-ink-disabled);
  text-underline-offset: 3px;
  cursor: help;
}
@media (hover: hover) {
  .pm-term:hover { color: var(--color-action); text-decoration-color: currentColor; }
}
.pm-term:active { color: var(--color-action); text-decoration-color: currentColor; }
.pm-term i { font-size: var(--size-glyph-term); color: var(--color-ink-glyph); }
@media (hover: hover) {
  .pm-term:hover i { color: var(--color-action); }
}
.pm-term:active i { color: var(--color-action); }
.pm-term[aria-expanded="true"] { color: var(--color-action); text-decoration-color: currentColor; }
.pm-term[aria-expanded="true"] i { color: var(--color-action); }

.pm-verification {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-chip) var(--font-text);
  color: var(--color-ink-body);
  margin-top: 1px;
}
.pm-verification i { font-size: var(--size-glyph-sm); color: var(--color-ink-glyph); }

.pm-verification--mark { flex: 0 0 auto; }
.pm-verification__wordmark {
  height: var(--size-verification-mark);
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.pm-verification--none { color: var(--color-ink-muted); }

.pm-canceled-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  padding: var(--space-chip);
  border-radius: var(--radius-pill);
  font: var(--type-chip) var(--font-text);
  font-weight: 700;
  color: var(--color-canceled);
  background: var(--color-canceled-bg);
  white-space: nowrap;
}
.pm-canceled-chip i { font-size: var(--size-glyph-sm); line-height: 1; }

.pm-results {
  display: flex;
  flex-direction: column;
  gap: var(--gap-group);
  background: var(--color-surface-hover);
  padding: var(--gap-inline) var(--space-gutter) var(--gap-band);
}
.pm-day { display: flex; flex-direction: column; gap: var(--gap-inline); }

.pm-daygroup {
  position: sticky;
  top: 0;

  z-index: var(--layer-sticky);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gap-glyph) var(--gap-block);
  padding: var(--space-daygroup);

  margin: 0 calc(var(--space-gutter) * -1) calc(var(--space-daygroup-cover) * -1);
  padding-inline: calc(var(--space-gutter) + var(--space-daygroup-inset));

  background: var(--color-surface-hover);
}

.pm-daygroup[data-stuck="true"] {
  border-bottom: 1px solid var(--color-line-card);
  box-shadow: var(--shadow-stuck);
}

.pm-scrollfade {
  position: sticky;
  bottom: 0;
  z-index: var(--layer-sticky);
  height: var(--gap-fade);
  margin-top: calc(var(--gap-fade) * -1);
  background: linear-gradient(var(--color-fade-out), var(--color-surface-hover));
  pointer-events: none;
}
.pm-daygroup__day  { font: var(--type-row-title) var(--font-text);  color: var(--color-ink-strong); }
.pm-daygroup__date { font: var(--type-meta) var(--font-text); color: var(--color-ink-subtle); }

.pm-daygroup__terms {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;

  align-self: center;
  color: var(--color-action);
}
.pm-daygroup__terms i { font-size: var(--size-glyph-term); }

.pm-daygroup__promptline { display: contents; }

.pm-mapview {
  height: var(--size-mapview);
  background: var(--color-surface-hover);

  position: relative;
}
.pm-mapview__canvas {

  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pm-listrow {
  display: grid;
  grid-template-columns:
    var(--size-rail) var(--size-time-col) var(--size-mode-col) minmax(0, 1fr) var(--size-ver-col);
  gap: 0 var(--gap-group);
  align-items: start;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);

  overflow: hidden;
  color: inherit;
}

@media (hover: hover) {
  .pm-listrow:hover {
  border-color: var(--color-line-control);
  text-decoration: none;
  color: inherit;
}
}
.pm-listrow:active {
  border-color: var(--color-line-control);
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) {
  .pm-listrow:hover .pm-listrow__title { color: var(--color-action-hover); }
}
.pm-listrow:active .pm-listrow__title { color: var(--color-action-hover); }

.pm-listrow .pm-rail {
  position: static;
  width: auto;

  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.pm-listrow__main,
.pm-listrow__stack,
.pm-listrow__head,
.pm-listrow__line { display: contents; }

.pm-listrow__time          { grid-column: 2; grid-row: 1 / span 2; padding: var(--space-card-time); }
.pm-modeblock              { grid-column: 3; grid-row: 1 / span 2; padding: var(--space-card-row); }
.pm-listrow__content       { grid-column: 4; grid-row: 2; padding: var(--space-card-row); }
.pm-listrow__verifications { grid-column: 5; grid-row: 1 / span 2; padding: var(--space-card-ver); }

.pm-listrow .pm-canceled-chip {
  grid-column: 4;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin: var(--space-row) 0 0;
}
.pm-listrow--canceled .pm-listrow__content { padding-top: var(--gap-glyph); }

.pm-listrow--canceled { background: var(--color-canceled-row); }

.pm-listrow__time { display: flex; flex-direction: column; gap: var(--gap-hairline); }

.pm-listrow__day { font: var(--type-day-slot) var(--font-text); color: var(--color-ink-body); }

.pm-listrow__clock { display: contents; }
.pm-listrow__start {
  font: var(--type-time) var(--font-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--color-ink-strong);
}
.pm-listrow--canceled .pm-listrow__start {
  text-decoration: line-through;
  color: var(--color-ink-muted);
}
.pm-listrow__duration { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); }

.pm-modeblock {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: var(--gap-glyph);
  text-align: center;
}

.pm-modeblock .pm-mode { flex-direction: column; gap: 0; }

.pm-modeblock .pm-condition {
  flex-direction: column;

  gap: 0;
  font: var(--type-caption) var(--font-text);
  text-align: center;
}

.pm-modeblock .pm-condition i {
  font-size: var(--size-glyph);
  line-height: 1;
}

.pm-modeblock .pm-mode i {
  font-size: var(--size-glyph-mode);

  line-height: var(--size-glyph-mode-box);
}
.pm-modeblock__distance {
  font: var(--type-distance) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-strong);
}
.pm-listrow--canceled .pm-modeblock__distance { color: var(--color-ink-muted); }

.pm-listrow__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: var(--gap-glyph) var(--gap-chip);
  min-width: 0;
}
.pm-listrow__content > * { min-width: 0; }
.pm-listrow__title {
  grid-column: 1 / -1; grid-row: 1;
  font: var(--type-row-title) var(--font-text);
  color: var(--color-action);
}
.pm-listrow--canceled .pm-listrow__title { color: var(--color-ink-muted); }
.pm-listrow__sub {
  grid-column: 1 / -1; grid-row: 2;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.pm-listrow__sub .pm-listrow__facils { color: var(--color-ink-subtle); }
.pm-listrow__content > .pm-pill { grid-column: 1; grid-row: 3; align-self: center; justify-self: start; }
.pm-listrow__location {
  grid-column: 2; grid-row: 3;
  align-self: center; justify-self: stretch;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);

  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-listrow__location .pm-middot { display: none; }

.pm-access {
  grid-column: 1 / -1; grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--gap-hairline) var(--gap-block);
}

.pm-access > .pm-languages,
.pm-access > .pm-audiences {
  align-items: flex-start;
  flex-wrap: nowrap;
  font: var(--type-meta) var(--font-text);
  white-space: normal;
}
.pm-access > .pm-languages > span,
.pm-access > .pm-audiences > span { min-width: 0; }
.pm-access i {
  font-size: var(--size-glyph-sm);
  line-height: var(--size-line-meta);
  flex: 0 0 auto;
}

.pm-listrow--canceled .pm-listrow__duration,
.pm-listrow--canceled .pm-listrow__sub,
.pm-listrow--canceled .pm-listrow__facils,
.pm-listrow--canceled .pm-listrow__location,
.pm-listrow--canceled .pm-eyebrow { color: var(--color-ink-muted); }

.pm-listrow__verifications {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap-glyph);
}

.pm-listrow__proof {
  height: var(--size-proof-slot);
  display: flex;
  align-items: center;
}
.pm-listrow__proof .pm-verification__wordmark { height: var(--size-proof-mark); width: auto; }
.pm-listrow__proof .pm-verification { font: var(--type-proof) var(--font-text); white-space: nowrap; }

@media (max-width: 767px) {
  .pm-results { gap: var(--gap-block); }
  .pm-day { gap: var(--gap-chip); }

  .pm-daygroup__terms { display: none; }

  .pm-daygroup__promptline { display: flex; flex-basis: 100%; }
  .pm-daygroup__terms--prompt {
    display: inline-flex;
    margin: var(--space-daygroup-prompt-mobile);
    min-height: var(--size-tap-min);
  }

  .pm-listrow {
    grid-template-columns: var(--size-rail-mobile) minmax(0, 1fr);
    gap: 0;
  }

  .pm-listrow .pm-rail { grid-row: 1; }
  .pm-listrow__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--size-mode-col-mobile);
    gap: var(--gap-inline) var(--gap-group);
    grid-column: 2;
    padding: var(--space-card-mobile);
  }

  .pm-listrow__stack {
    display: flex;
    flex-direction: column;
    gap: var(--gap-glyph);
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .pm-listrow__time,
  .pm-listrow__content,
  .pm-modeblock,
  .pm-listrow__verifications { padding: 0; }
  .pm-listrow .pm-canceled-chip { margin: 0; }
  .pm-listrow--canceled .pm-listrow__content { padding-top: 0; }

  .pm-listrow__clock {
    display: flex;
    align-items: baseline;
    gap: var(--gap-chip);
  }

  .pm-modeblock {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding-top: 2px;
    align-items: flex-end;
    text-align: right;
    gap: var(--gap-glyph);
  }
  .pm-modeblock .pm-mode {
    white-space: normal;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-glyph);

    line-height: 1;
  }
  .pm-modeblock .pm-mode i { font-size: var(--size-glyph); line-height: 1; }

  .pm-modeblock .pm-condition {
    flex-direction: row;
    gap: var(--gap-glyph);
    line-height: 1;
  }

  .pm-listrow__verifications {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: var(--gap-inline);
    border-top: 1px solid var(--color-line-row);
  }

  .pm-listrow--canceled .pm-listrow__verifications { border-top-color: var(--color-line-card); }
  .pm-listrow__proof .pm-verification__wordmark { height: var(--size-proof-mark-mobile); }
}

.pm-beyond {
  position: absolute;
  top: var(--space-beyond-inset);
  left: var(--space-beyond-inset);
  z-index: 1;
  width: var(--size-beyond);
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  padding: var(--space-beyond);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-beyond);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
}
.pm-beyond[hidden] { display: none; }
.pm-beyond__scopes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-glyph);
}
.pm-beyond__scope[hidden] { display: none; }

.pm-beyond__scope .pm-pill {
  display: inline-flex;
  align-items: baseline;
  gap: var(--gap-glyph);
  white-space: nowrap;
}
.pm-beyond__count {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.pm-beyond__strong {
  font-weight: 700;
  color: var(--color-ink-strong);
  font-variant-numeric: tabular-nums;
}

.pm-beyond__phrase { display: none; }

.pm-beyond__action {
  align-self: flex-start;
  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;
  color: var(--color-action);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  padding: var(--space-beyond-action);
  cursor: pointer;
}
.pm-beyond__action:hover { color: var(--color-action-hover); }

.pm-beyond__close {
  position: absolute;
  inset: var(--space-beyond-close);
  inset-block-end: auto;
  inset-inline-start: auto;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-ink-muted);
  font-size: var(--size-glyph);
  line-height: 1;
  cursor: pointer;
}
.pm-beyond__scopes { padding-inline-end: var(--space-beyond-close-clear); }

@media (max-width: 767px) {
  .pm-beyond {
    top: auto;
    left: var(--space-beyond-inset-mobile);
    right: var(--space-beyond-inset-mobile);
    bottom: var(--space-beyond-bottom-mobile);
    width: auto;
    flex-direction: row;
    align-items: center;
    padding: var(--space-beyond-mobile);

    border: 0;
    box-shadow: var(--shadow-beyond-mobile);

    font: var(--type-helper) var(--font-text);
  }

  .pm-beyond__text { display: none; }
  .pm-beyond__phrase { display: inline; flex: 1 1 auto; }
  .pm-beyond__action {
    align-self: auto;
    display: inline-flex;
    align-items: center;
    min-height: var(--size-tap-min);
    padding: var(--space-beyond-action-mobile);
    white-space: nowrap;
  }

  .pm-beyond { padding-inline-end: var(--space-beyond-close-clear-mobile); }
  .pm-beyond__close { inset: var(--space-beyond-close-mobile); inset-block-end: auto; inset-inline-start: auto; }
  .pm-beyond__scopes { padding-inline-end: 0; }
}

.pm-filtergroup--text .pm-popover {
  width: var(--size-popover-text);
  padding: var(--gap-chip) var(--gap-block) var(--gap-block);
  gap: var(--gap-chip);
}
.pm-filtergroup--text .pm-option__purpose { padding: 0; }

.pm-filtertext { position: relative; }

/* The typed group's field is LocationField's box (the design system's FilterPopover
   typed field): its 16px words on a line of their own height, the magnifier 16px in
   (.pm-search__glyph) and the words 16px after it, the clear at the end. */
.pm-filtertext .pm-input {
  font: var(--type-input) var(--font-text);
  padding-left: calc(var(--gap-block) + var(--size-glyph) + var(--gap-block));
  padding-right: calc(
    var(--space-search-clear) + var(--size-tap-min) + var(--gap-inline));
}

@media (max-width: 767px) {

  .pm-filtertext .pm-input {
    height: var(--size-input-m);
    padding-left: calc(var(--gap-inline) + var(--size-glyph) + var(--gap-inline));
    padding-right: calc(
      var(--space-search-clear-m) + var(--size-tap-min) + var(--gap-chip));
  }
}

.pm-beyond--behind { display: none; }

.pm-beyond::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-scrim-gesture);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 1s;
}
.pm-beyond--gesture::after {
  opacity: 1;
  transition: opacity .05s;
}

.pm-categoryhead {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  padding: var(--space-categoryhead);
}
/* The kind is the page's kicker (<c-pm.category-head>, the design system's CategoryHead,
   2026-11-14): 6px above the title, as every page head's kicker is, where the head's
   other lines are 9px apart. */
.pm-categoryhead__eyebrow { margin-bottom: calc(var(--gap-glyph) - var(--gap-chip)); }
/* A recovery program's mark, 30px, 12px before its name, its own proportions. */
.pm-categoryhead__title { display: flex; align-items: center; gap: var(--gap-inline); }
.pm-categoryhead__title > span { min-width: 0; }
.pm-categoryhead__mark {
  display: block;
  flex: none;
  width: var(--size-categoryhead-mark);
  height: var(--size-categoryhead-mark);
  object-fit: contain;
}

.pm-categoryhead__def { max-width: var(--measure-row); text-wrap: pretty; }
.pm-categoryhead__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-chip) var(--gap-group);
}

.pm-categoryhead__links .pm-action-link { line-height: 1; }
/* On a category page the search row starts straight under the head (the head's own
   bottom padding is the gap), where the list page gives it 36px under the intro card
   (finder mockups, Category page). */
.pm-categoryhead + .pm-listing .pm-controlrail { padding-top: 0; }
@media (max-width: 767px) {
  /* A phone: 22px by 16px, 18px below; the links 44px tall to tap, wrapping with no
     gap between their rows (their height is the space). */
  .pm-categoryhead { padding: var(--space-categoryhead-mobile); }
  .pm-categoryhead__links { gap: 0 var(--gap-group); }
  .pm-categoryhead__links .pm-action-link { min-height: var(--size-tap-min); }
}

.pm-field {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
}

.pm-input {
  height: var(--size-input);
  padding: 0 var(--gap-block);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  color: var(--color-ink-strong);
  font: var(--type-value) var(--font-text);
  font-family: inherit;
  width: 100%;
}
.pm-input::placeholder { color: var(--color-ink-subtle); }

.pm-input--error { border-color: var(--color-canceled); }

.pm-error { font: var(--type-helper) var(--font-text); color: var(--color-canceled); text-wrap: pretty; }

.pm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-glyph);
  height: var(--size-button);
  padding: 0 var(--gap-fact);
  border-radius: var(--radius-control);

  font: var(--type-label) var(--font-text);
  line-height: 1;
  background: var(--color-action);
  color: var(--color-action-on);
  border: 1px solid var(--color-action);
}
@media (hover: hover) {
  .pm-button:hover {
  background: var(--color-action-fill-hover);
  border-color: var(--color-action-fill-hover);
  color: var(--color-action-on);
  text-decoration: none;
}
}
.pm-button:active {
  background: var(--color-action-fill-hover);
  border-color: var(--color-action-fill-hover);
  color: var(--color-action-on);
  text-decoration: none;
}
.pm-button--secondary {
  background: var(--color-surface-card);
  color: var(--color-action);
  border-color: var(--color-line-control);
}
@media (hover: hover) {
  .pm-button--secondary:hover {
  background: var(--color-surface-hover);
  color: var(--color-action-hover);
  border-color: var(--color-line-control);
}
}
.pm-button--secondary:active {
  background: var(--color-surface-hover);
  color: var(--color-action-hover);
  border-color: var(--color-line-control);
}

.pm-button--submit {
  height: var(--size-cta);

  font: var(--type-cta) var(--font-text);
}

.pm-button[disabled] {
  background: var(--color-surface-hover);
  border-color: var(--color-line-control);
  color: var(--color-ink-disabled);
  cursor: not-allowed;
}

.pm-action-link {
  font: var(--type-field-label) var(--font-text);
  color: var(--color-action);
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  width: fit-content;
  cursor: pointer;
}

.pm-action-link--back { font: var(--type-glyph-label) var(--font-text); }

.pm-clearall {

  display: inline-flex;
  align-items: center;
  min-height: var(--size-filterrow);
  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;
  padding: var(--space-clearall);
  white-space: nowrap;
}

.pm-supporttext {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

.pm-supportblock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-chip);
}

.pm-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-glyph);
  align-self: flex-start;
  height: var(--size-button);
  box-sizing: border-box;
  padding: 0 var(--gap-fact);
  border-radius: var(--radius-control);
  font: var(--type-cta) var(--font-text);
  color: var(--color-donate-ink);
  background: var(--color-donate);
}
@media (hover: hover) {
  .pm-support:hover { background: var(--color-donate-hover); color: var(--color-donate-ink); text-decoration: none; }
}
.pm-support:active { background: var(--color-donate-hover); color: var(--color-donate-ink); text-decoration: none; }
.pm-support i { font-size: var(--size-glyph); line-height: 1; }

.pm-sidelink {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-sidelink);
  font: var(--type-label) var(--font-text);

  line-height: 1;
  color: var(--color-action);
}
.pm-sidelink i { font-size: var(--size-glyph-sm); }

.pm-viewrail {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-band);
  padding: 0 var(--space-gutter);

  border-bottom: 1px solid var(--color-line-card);
}

.pm-tabs { display: flex; gap: var(--gap-band); }
.pm-tab {
  display: inline-flex;
  align-items: baseline;
  gap: var(--gap-chip);
  padding: var(--space-tab);
  font: var(--type-tab) var(--font-text);
  color: var(--color-ink-muted);

  border-bottom: var(--size-active-rail) solid transparent;

  border-radius: 0;
  min-height: var(--size-tap-min);

  white-space: nowrap;
}

.pm-tab__short { display: none; }
@media (hover: hover) {
  .pm-tab:hover { color: var(--color-ink-strong); text-decoration: none; }
}
.pm-tab:active { color: var(--color-ink-strong); text-decoration: none; }

.pm-tab[aria-current="true"],
.pm-tab.pm-tab--label {
  color: var(--color-action);
  border-bottom-color: var(--color-action);
}

.pm-tab__count {
  font: var(--type-subhead) var(--font-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
}
.pm-tab[aria-current="true"] .pm-tab__count,
.pm-tab--label .pm-tab__count { color: var(--color-action); }

.pm-viewtoggle {
  display: flex;
  gap: var(--gap-hairline);

  align-self: center;
  margin-bottom: var(--space-viewtoggle-clear);
}
.pm-viewtoggle a {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  padding: var(--space-viewtoggle);
  border-radius: var(--radius-inline);
  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;
  color: var(--color-ink-body);
}
.pm-viewtoggle a i { font-size: var(--size-glyph-sm); }
@media (hover: hover) {
  .pm-viewtoggle a:hover { background: var(--color-surface-hover); text-decoration: none; }
}
.pm-viewtoggle a:active { background: var(--color-surface-hover); text-decoration: none; }

.pm-viewtoggle a[aria-current="true"] {
  background: var(--color-action);
  color: var(--color-action-on);
}
@media (hover: hover) {
  .pm-viewtoggle a[aria-current="true"]:hover { background: var(--color-action); }
}
.pm-viewtoggle a[aria-current="true"]:active { background: var(--color-action); }

@media (max-width: 767px) {

  .pm-tab {
    font: var(--type-tab-m) var(--font-text);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-hairline);
    padding: var(--space-tab-mobile);

    min-width: var(--size-tap-min);
  }

  .pm-tab__long  { display: none; }
  .pm-tab__short { display: inline; }

  .pm-tab__count {
    font: var(--type-field-label) var(--font-text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .pm-tabs {
    gap: var(--gap-block);

    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--space-suggestion-ring);
    margin: calc(var(--space-suggestion-ring) * -1);
  }
  .pm-tabs::-webkit-scrollbar { display: none; }

  .pm-viewtoggle a { padding: var(--space-viewtoggle-mobile); }

  .pm-viewtoggle { flex: none; }
  .pm-viewtoggle a span { display: none; }
  .pm-viewrail { gap: var(--gap-block); }
}

.pm-option {
  display: flex;
  align-items: flex-start;
  /* Never squeezed: every list of these rows is a column, and capped ones (a filter
     popover kept on screen, --panel-max-height; the combobox) would otherwise shrink a
     row whose description takes a second line, drawing the next row over it. The list
     scrolls instead. */
  flex-shrink: 0;

  text-align: left;
  gap: var(--gap-chip);
  padding: var(--space-option);
  border: 1px solid transparent;

  border-radius: 0;
  cursor: pointer;
}
@media (hover: hover) {
  .pm-option:hover { background: var(--color-surface-hover); }
}
.pm-option:active { background: var(--color-surface-hover); }

.pm-option--selected:active { background: var(--color-surface-selected); }
.pm-option--selected {
  background: var(--color-surface-selected);
  border-color: var(--color-action);
}

.pm-option--empty { color: var(--color-ink-disabled); cursor: not-allowed; }
@media (hover: hover) {
  .pm-option--empty:hover { background: none; }
}
.pm-option--empty:active { background: none; }

.pm-option__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pm-option__name { font: var(--type-value) var(--font-text); color: var(--color-ink-strong); }

.pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
.pm-option--empty .pm-option__name { color: var(--color-ink-disabled); }

.pm-option__name--wordmark { display: flex; align-items: center; }
.pm-option__name--wordmark::before { content: "\200b"; }
.pm-option__name--wordmark img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: var(--size-option-wordmark);
  margin-block: calc(var(--size-option-wordmark) / -2);
}

.pm-option__desc  { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); text-wrap: pretty; }
.pm-option__count { font: var(--type-count) var(--font-text); color: var(--color-ink-subtle); font-variant-numeric: tabular-nums; }

.pm-option__text,
.pm-option__count { align-self: baseline; }

.pm-option--empty .pm-option__desc,
.pm-option--empty .pm-option__count { color: var(--color-ink-disabled); }

.pm-option--boxed {
  align-items: center;
  padding: var(--space-choice);
  border-color: var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
}

@media (hover: hover) {
  .pm-option--boxed:hover {
  background: var(--color-surface-card);
  border-color: var(--color-action);
}
}
.pm-option--boxed:active {
  background: var(--color-surface-card);
  border-color: var(--color-action);
}
.pm-option--boxed.pm-option--selected {
  background: var(--color-surface-selected);
  border-color: var(--color-action);
}
.pm-option--boxed.pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }

.pm-option__range { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); }
.pm-option--selected .pm-option__range { color: var(--color-ink-body); }

.pm-option__check .bi-check-lg { color: var(--color-action); font-size: var(--size-glyph-sm); }

.pm-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pm-dockbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--layer-dock);
  align-items: center;

  gap: var(--gap-block);
  padding: var(--space-dock);

  padding-top: var(--space-dock-top);
  padding-bottom: var(--space-safe-bottom);
  background: var(--color-surface-card);
  border-top: 1px solid var(--color-line-card);
  box-shadow: var(--shadow-bar);
  transform: translateY(100%);
  transition: transform var(--motion-dock) ease-out;
}

.pm-dockbar__handle {
  position: absolute;
  left: 50%;
  bottom: calc(100% - var(--space-dock-top));
  width: var(--size-dock-handle);
  height: var(--size-tap-min);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 var(--space-dock-grabber);
  background: none;
  border: 0;
  cursor: grab;
  touch-action: none;
}
.pm-dockbar__handle:active { cursor: grabbing; }

.pm-dockbar__grabber {
  width: var(--size-grabber);
  height: var(--size-grabber-thick);
  border-radius: var(--radius-pill);
  background: var(--color-line-card);
}
@media (prefers-reduced-motion: reduce) {
  .pm-dockbar { transition: none; }
}
.pm-dockbar[data-docked="true"] { transform: translateY(0); }

.pm-dockbar__text { flex: 1 1 auto; }
.pm-dockbar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  margin-left: auto;
  gap: var(--gap-chip);

  height: var(--size-button);
  padding: 0 var(--gap-fact);
  border-radius: var(--radius-control);
  font: var(--type-cta) var(--font-text);
  color: var(--color-donate-ink);
  background: var(--color-donate);
}
@media (hover: hover) {
  .pm-dockbar__action:hover {
  background: var(--color-donate-hover);
  color: var(--color-donate-ink);
  text-decoration: none;
}
}
.pm-dockbar__action:active {
  background: var(--color-donate-hover);
  color: var(--color-donate-ink);
  text-decoration: none;
}
.pm-dockbar__action i { font-size: var(--size-glyph-sm); }

.pm-popover {
  position: absolute;
  z-index: var(--layer-popover);
  min-width: var(--size-popover-min);
  max-width: var(--size-popover-max);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  padding: var(--gap-block);
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
}

.pm-facts { display: flex; flex-direction: column; }
.pm-fact {
  display: grid;
  grid-template-columns: var(--size-fact-label) minmax(0, 1fr);
  gap: 0 var(--gap-group);
  padding: var(--space-fact-row) 0;
  border-top: 1px solid var(--color-line-row);
}
.pm-fact:last-child { border-bottom: 1px solid var(--color-line-row); }
.pm-fact__label { font: var(--type-field-label) var(--font-text); color: var(--color-ink-muted); }
.pm-fact__value { font: var(--type-value) var(--font-text); color: var(--color-ink-strong); }

@media (max-width: 767px) {

  .pm-fact { grid-template-columns: 1fr; gap: var(--gap-glyph); }

  .pm-fact__label {
    font: var(--type-eyebrow) var(--font-text);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--color-ink-muted);
  }
}

.pm-action-block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  padding: var(--space-action-block);
  background: var(--color-surface-selected);
  border: 1px solid var(--color-line-selected);
  border-radius: var(--radius-card);
}

.pm-action-block .pm-button {
  height: var(--size-cta);
  padding: 0 var(--gap-fact);
  gap: var(--gap-chip);
}
.pm-action-block .pm-button:not(.pm-button--secondary) {
  font: var(--type-cta) var(--font-text);
}

@media (max-width: 767px) {

  .pm-action-block { padding: var(--space-action-block-mobile); }
  .pm-action-block .pm-row { flex-direction: column; gap: var(--gap-chip); }
  .pm-action-block .pm-button {
    height: var(--size-button);
    width: 100%;
  }

  .pm-action-block .addeventatc.pm-atc {
    justify-content: center;
    min-height: var(--size-tap-min);
    margin: var(--space-atc-mobile);
  }
}

.pm-condnotice {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-inline);
  background: var(--color-condition-bg);
  border: 1px solid var(--color-condition-line);
  border-radius: var(--radius-control);
  padding: calc(var(--space-notice-y) - 1px) calc(var(--space-notice-x) - 1px);
}
.pm-condnotice > i {
  flex: 0 0 auto;
  font-size: var(--size-glyph-notice);

  line-height: 19.5px;
  color: var(--color-condition-ink);
}
.pm-condnotice__text {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  min-width: 0;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

/* The way out runs on in the sentence's own run (PM1 drop 116), so it needs no rule of its
   own: it was a line of its own, left-aligned, before. */

.pm-verification-row__text { font: var(--type-meta) var(--font-text); color: var(--color-ink-body); text-wrap: pretty; }
.pm-verification-row__text b { font-weight: 600; }

.pm-fact .pm-chip { font: var(--type-caption) var(--font-text); padding: 8px 11px; }

.pm-audiences {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-glyph);
  font: var(--type-caption) var(--font-text);
  color: var(--color-ink-body);
}
.pm-audiences > i { font-size: var(--size-glyph-sm); color: var(--color-ink-glyph); }

/* In the facts, GlyphFact at size="value": 15px strong words (FactsTable), special focus too. */
.pm-fact .pm-languages,
.pm-fact .pm-audiences,
.pm-fact .pm-focus {
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-strong);
}
.pm-fact .pm-focus i,
.pm-fact .pm-languages i,
.pm-fact .pm-audiences > i { font-size: var(--size-glyph-sm); }

.pm-about { display: flex; flex-direction: column; gap: var(--gap-chip); }

.pm-about .pm-notes__text { font: var(--type-prose) var(--font-text); color: var(--color-ink-body); }

.pm-next {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
}

.pm-next__when { font: var(--type-section) var(--font-display); color: var(--color-ink-strong); }
.pm-next__detail { font: var(--type-value) var(--font-text); color: var(--color-ink-body); }
.pm-next--canceled .pm-next__when {
  text-decoration: line-through;
  color: var(--color-ink-muted);
}

.pm-address {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-inline);
}
.pm-address i { color: var(--color-mode-in-person); font-size: var(--size-glyph-row); }

.pm-address__lines { display: flex; flex-direction: column; gap: var(--gap-hairline); }
/* The place's friendly name above its street: the meeting page mock's venue line (PM1 drew it
   as a subhead). */
.pm-address__name { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-address__line { font: var(--type-value) var(--font-text); color: var(--color-ink-body); }

.pm-map {
  height: var(--size-map);
  border-radius: var(--radius-control);
  overflow: hidden;
  border: 1px solid var(--color-line-card);
  background: var(--color-surface-hover);
}

.pm-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.pm-map--where { height: var(--size-map-where); }

.pm-verification-row {
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline);
  padding-top: var(--space-verification-row);

  border-top: 1px solid var(--color-line-selected);
}
.pm-verification-row__lead {
  display: flex;

  align-items: flex-start;
  gap: var(--gap-inline);
}

.pm-verification-row--coded { gap: var(--gap-chip); }
.pm-verification-row--coded .pm-verification-row__lead,
.pm-verification-row--coded .pm-verification--mark { display: contents; }

.pm-verification-row--coded .pm-verification__wordmark { align-self: flex-start; }

.pm-verification-row--coded .pm-copy,
.pm-joindetails .pm-copy { align-items: baseline; }

.pm-pathcheck-code {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--gap-glyph) var(--gap-inline);
}

/* A code people type into another app, after its label on one baseline (<c-pm.code-pair>;
   the design system's CodePair, 74d8b50): the Pathcheck code's Code row and the join
   details' Meeting ID and Passcode, one piece so every code you type looks the same. The
   host portal draws its codes with .pm-code-value too. */
.pm-code-pair {
  display: inline-flex;
  align-items: baseline;
  gap: var(--gap-glyph);
}

.pm-code-value {
  white-space: nowrap;

  font: var(--type-code) var(--font-text);
  color: var(--color-ink-strong);
  letter-spacing: var(--tracking-code);
  font-variant-numeric: tabular-nums;
}

.pm-copy {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-glyph-label) var(--font-text);
  color: var(--color-action);
  background: none;
  border: 0;
  cursor: pointer;
  padding: var(--gap-wrap-footer);
  margin: calc(var(--gap-wrap-footer) * -1);
}
.pm-copy i { font-size: var(--size-glyph-sm); }
@media (max-width: 767px) {

  .pm-copy { position: relative; }
  .pm-copy::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--size-tap-min);
    transform: translateY(-50%);
  }

  .pm-verification-row--coded .pm-verification-row__text a {
    position: relative;
    z-index: 1;
  }
}

/* The join details (<c-pm.join-details>; the design system's JoinDetails, PM1 drop 115):
   the Meeting ID, then the passcode and its Copy, 12px after it. On desktop one baseline
   row that wraps, 22px between the pairs and 6px between lines. On a phone the pairs stack
   9px apart; Copy's 44px tap target is .pm-copy's own (above). Before the Meeting ID is
   given its sentence is the join hint's .pm-helper, in its place. */
.pm-joindetails {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gap-glyph) var(--gap-group);
}
.pm-joindetails__passcode {
  display: inline-flex;
  align-items: baseline;
  gap: var(--gap-inline);
}
@media (max-width: 767px) {
  .pm-joindetails {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--gap-chip);
  }
}

.pm-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-chip);
  padding: var(--gap-block) var(--space-gutter);
  background: var(--color-surface-hover);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-banner--canceled {
  gap: var(--gap-inline);
  padding: var(--space-banner-canceled);
  background: var(--color-canceled-bg);
  border-bottom-color: var(--color-canceled-line);
}
.pm-banner--canceled i {
  color: var(--color-canceled);
  font-size: var(--size-glyph-row);

  line-height: 1.3;
}

.pm-banner__lines { display: flex; flex-direction: column; gap: var(--gap-hairline); }

.pm-banner__title { font: var(--type-banner-title) var(--font-text); color: var(--color-canceled); }
.pm-banner__text  { font: var(--type-value) var(--font-text); color: var(--color-ink-body); }

.pm-banner--announcement {
  --banner-bg: var(--color-surface-hover);
  --banner-ink: var(--color-ink-body);
  --banner-cta-bg: var(--color-action);
  --banner-cta-ink: var(--color-action-on);

  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--gap-block);
  text-align: center;
  background: var(--banner-bg);
  color: var(--banner-ink);

  border-bottom-color: transparent;
}

.pm-banner--announcement .pm-banner__message { font: var(--type-body) var(--font-text); }
.pm-banner--small   .pm-banner__message { font: var(--type-meta) var(--font-text); }
.pm-banner--large   .pm-banner__message { font: var(--type-card-title) var(--font-display); }
.pm-banner--x-large .pm-banner__message { font: var(--type-section) var(--font-display); }

.pm-banner__message a { color: inherit; text-decoration: underline; }
.pm-banner__message b, .pm-banner__message strong { font-weight: 600; }

.pm-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--size-tap-min);
  padding: var(--space-inline-control);
  border-radius: var(--radius-control);
  font: var(--type-label) var(--font-text);
  background: var(--banner-cta-bg);
  color: var(--banner-cta-ink);
  border: 1px solid var(--banner-cta-bg);
  white-space: nowrap;
}
@media (hover: hover) {
  .pm-banner__cta:hover { color: var(--banner-cta-ink); text-decoration: underline; }
}
.pm-banner__cta:active { color: var(--banner-cta-ink); text-decoration: underline; }

/* An organization's promotion, as PM1's meeting page draws its advertisement (PM1's
   finder.css, 2026-10-08 and 2026-11-12; the product owner, 2026-11-24: "Promotion
   images should be 1:2 portraits but follow PM1's rules (it doesn't stretch/distort").
   The image is the whole link, centred, with the fine print centred under it; the
   promotion's name is the organization's own label and is never shown. */
.pm-resource {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  text-align: center;
  border-top: 1px solid var(--color-line-row);
  padding-top: var(--gap-group);
}
/* The organization's own image, whole: its own proportions, no wider than the column
   and no taller than --size-resource-max, never cropped or stretched. Both sizes stay
   auto so the box is the image's own and the rounded corners land on it. An image
   narrower than the column is shown at its own size, centred. */
.pm-resource img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--size-resource-max);
  margin-inline: auto;
  border-radius: var(--radius-control);
}

.pm-detail__actions {
  gap: var(--gap-hairline);
  border-top: 1px solid var(--color-line-row);
  padding-top: var(--gap-chip);
}

.pm-detail__manage {
  gap: var(--gap-hairline);
  border-top: 1px solid var(--color-line-row);
  margin-top: var(--gap-glyph);
  padding-top: var(--gap-block);
}

.pm-detail {
  display: grid;
  grid-template-columns: var(--size-rail) minmax(0, 1fr) var(--size-detail-side);
  align-items: stretch;
}
.pm-detail__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-group);
  padding: var(--space-detail-body);
  min-width: 0;
}
.pm-detail__header { display: flex; flex-direction: column; gap: var(--gap-inline); }

.pm-detail__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--gap-chip);
  font: var(--type-body) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-detail__explainer {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  text-wrap: pretty;
}
.pm-detail__header .pm-detail__explainer { max-width: var(--measure-explainer); }

.pm-section-heading { font: var(--type-card-title) var(--font-display); color: var(--color-ink-strong); }
.pm-detail__side {
  display: flex;
  flex-direction: column;
  gap: var(--gap-group);
  padding: var(--space-detail-side);
  border-left: 1px solid var(--color-line-row);
  min-width: 0;
}

.pm-detail > .pm-banner,
.pm-detail > .pm-footer { grid-column: 1 / -1; }

.pm-detail > .pm-banner--canceled { grid-column: 1 / 3; }

.pm-detail.pm-detail--canceled { grid-auto-flow: row dense; }
.pm-detail.pm-detail--canceled > .pm-rail         { grid-column: 1; }
.pm-detail.pm-detail--canceled > .pm-detail__body { grid-column: 2; }
.pm-detail.pm-detail--canceled > .pm-detail__side { grid-column: 3; grid-row: span 2; }

@media (max-width: 767px) {

  .pm-detail { grid-template-columns: var(--size-rail) minmax(0, 1fr); }
  .pm-detail__side {
    grid-column: 2;
    border-left: 0;
    padding: var(--space-detail-side-mobile);
  }

  .pm-detail.pm-detail--canceled > .pm-detail__side { grid-column: 2; grid-row: auto; }

  .pm-detail > .pm-rail { grid-row: span 2; }

  .pm-detail__body { padding: var(--space-detail-body-mobile); }

  .pm-supportblock,
  .pm-resource,
  .pm-detail__actions {
    border-top: 1px solid var(--color-line-row);
    padding-top: var(--space-rule-gap);
  }
  .pm-supportblock ~ .pm-resource,
  .pm-supportblock ~ .pm-detail__actions,
  .pm-resource ~ .pm-detail__actions {
    border-top: 0;
    padding-top: 0;
  }

  .pm-supportblock + .pm-detail__actions {
    margin-top: calc(var(--gap-hairline) - var(--gap-group));
  }
}

.pm-skeleton {
  background: var(--color-surface-hover);
  border-radius: var(--radius-inline);
  height: 1em;
}

.pm-more {
  display: flex;
  justify-content: center;

  padding: 0 var(--space-gutter) var(--gap-band);
  background: var(--color-surface-hover);
}

.pm-more[data-loading="true"] .pm-more__button { visibility: hidden; }

.pm-listrow--skeleton {

  padding: var(--space-card-row);
  pointer-events: none;
}
.pm-listrow--skeleton .pm-skeleton { align-self: center; }

.pm-skeleton--time      { grid-column: 2; grid-row: 1; width: 100%; }
.pm-skeleton--duration  { grid-column: 2; grid-row: 2; width: 60%; margin-top: var(--gap-glyph); }
.pm-skeleton--mode      { grid-column: 3; grid-row: 1; width: 100%; }
.pm-skeleton--modelabel { grid-column: 3; grid-row: 2; width: 80%; margin-top: var(--gap-glyph); }
.pm-skeleton--title     { grid-column: 4; grid-row: 1; width: 45%; }
.pm-skeleton--program   { grid-column: 4; grid-row: 2; width: 65%; margin-top: var(--gap-chip); }
.pm-skeleton--place     { grid-column: 4; grid-row: 3; width: 40%; margin-top: var(--gap-chip); }
.pm-skeleton--meta      { grid-column: 4; grid-row: 4; width: 70%; margin-top: var(--gap-chip); }

.pm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-page-end) var(--space-gutter);
  text-align: center;
}

.pm-empty > i { font-size: var(--size-glyph-row); line-height: 1; color: var(--color-ink-glyph); }

.pm-empty__title { font: var(--type-row-title) var(--font-text); color: var(--color-ink-strong); }

.pm-empty--results { padding: var(--space-empty-results); }

.pm-empty--results .pm-stack--chip { gap: var(--gap-glyph); margin-top: var(--space-empty-records); }

.pm-empty--category { border-top: 1px solid var(--color-line-row); }
.pm-empty--category .pm-prose { max-width: var(--measure-explainer); }

.pm-mapstatus {
  position: absolute;
  inset: 0;
  z-index: 2;
  justify-content: center;

  padding: 0;
  background: var(--color-surface-hover);
  transition: opacity var(--motion-reveal);
}
.pm-mapstatus[hidden] { display: none; }
.pm-mapstatus[data-state="waiting"] > * { visibility: hidden; }
.pm-mapstatus[data-state="gone"] { opacity: 0; pointer-events: none; }

.pm-mapstatus__ring {
  flex: none;
  box-sizing: border-box;
  width: var(--size-glyph-row);
  height: var(--size-glyph-row);
  border: 2px solid var(--color-line-card);
  border-top-color: var(--color-ink-glyph);
  border-radius: 50%;
  animation: pm-spin var(--motion-spin) infinite;
}
@keyframes pm-spin { to { transform: rotate(360deg); } }

.pm-mapstatus > i { display: none; }
.pm-mapstatus[data-state="failed"] > i { display: block; }
.pm-mapstatus[data-state="failed"] .pm-mapstatus__ring { display: none; }

.pm-mapstatus__list {
  font: var(--type-prose) var(--font-text);
  visibility: hidden;
}
.pm-mapstatus[data-state="slow"] .pm-mapstatus__list,
.pm-mapstatus[data-state="failed"] .pm-mapstatus__list { visibility: visible; }

@media (max-width: 767px) {
  .pm-mapstatus { padding: 0 var(--space-gutter-mobile); }
  .pm-mapstatus__list {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-tap-min);
    margin: var(--space-mapstatus-list-mobile);
    padding: 0 var(--gap-inline);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-mapstatus__ring { display: none; }
}

.pm-gate { padding-top: calc(var(--gap-band) - var(--gap-block)); }
.pm-gate__modes {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-block);
}

.pm-gate__modes .pm-mode i { font-size: var(--size-glyph-row); }
.pm-gate__prose { max-width: var(--measure-explainer); }

.pm-gate__locate i { font-size: var(--size-glyph); }

@media (max-width: 767px) {
  .pm-gate { padding-top: var(--gap-band); }

  .pm-gate__prose { max-width: none; }
}

.pm-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--gap-inline) var(--gap-group);
  padding: var(--space-footer);

  padding-bottom: calc(var(--space-footer-end) + env(safe-area-inset-bottom, 0px));
  background: var(--color-surface-hover);
  border-top: 1px solid var(--color-line-row);
  border-radius: 0 0 var(--radius-control) var(--radius-control);
}

.pm-footer__row {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--gap-inline) var(--gap-group);
}

.pm-footer__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-inline);
  margin-left: auto;
}

.pm-footer__org {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  font: var(--type-field-label) var(--font-text);
  color: var(--color-ink-body);
  flex: 0 0 auto;
}
.pm-footer__mark {
  display: block;
  width: var(--size-footer-mark);
  height: var(--size-footer-mark);
  flex: 0 0 auto;
  object-fit: contain;
}

.pm-footer__org .pm-footer__logo {
  display: block;
  height: var(--size-footer-logo);
  width: auto;
  max-width: var(--size-footer-logo-max);
  object-fit: contain;
  object-position: left center;
}

.pm-footer__info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  padding-top: var(--gap-wrap-footer);
  min-width: 0;
}
.pm-footer__tz { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); text-wrap: pretty; }
.pm-footer__tz b { font-weight: 600; color: var(--color-ink-body); }

.pm-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-chip) var(--gap-group);
}

.pm-footer__crisis {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-meta) var(--font-text);
  color: var(--color-crisis-ink-strong);
  text-wrap: pretty;
}
.pm-footer__crisis i { font-size: var(--size-glyph-term); line-height: 1; color: var(--color-crisis-ink); }

.pm-footer__copyright {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  text-wrap: pretty;
}

.pm-footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-hairline) var(--gap-block);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
}

.pm-footer__pathminder img { display: block; height: var(--size-footer-wordmark); width: auto; }

.pm-designswitch button {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  align-self: flex-start;
  cursor: pointer;
  padding: var(--gap-wrap-footer);
  margin: calc(var(--gap-wrap-footer) * -1);
  border-radius: var(--radius-control);
}
.pm-switch {
  display: inline-flex;
  align-items: center;
  width: var(--size-switch-w);
  height: var(--size-switch-h);
  border-radius: var(--radius-pill);
  background: var(--color-action);
  padding: var(--gap-hairline);
  box-sizing: border-box;
  flex: 0 0 auto;
}

.pm-switch__knob {
  display: block;
  width: var(--size-switch-knob);
  height: var(--size-switch-knob);
  border-radius: var(--radius-pill);
  background: var(--color-action-on);
  margin-left: auto;
}
.pm-designswitch__label { font: var(--type-field-label) var(--font-text); color: var(--color-ink-body); }

@media (max-width: 767px) {

  .pm-map { height: var(--size-map-mobile); }

  .pm-support {
    height: auto;
    justify-content: flex-start;
    padding: var(--space-sidelink-mobile);
    border-radius: 0;
    background: none;
    border: 0;
    font: var(--type-label) var(--font-text);
    color: var(--color-donate);
  }
@media (hover: hover) {
  .pm-support:hover { background: none; color: var(--color-donate-hover); }
}
.pm-support:active { background: none; color: var(--color-donate-hover); }

  .pm-supportblock__text { display: none; }

  .pm-sidelink { padding: var(--space-sidelink-mobile); }

  .pm-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-chip);
  }

  .pm-footer__info { padding-top: 0; }
  .pm-footer__org .pm-footer__logo { height: var(--size-footer-logo-mobile); }
  /* Pathminder's logo, 34px on a phone as Footer draws it (36px on desktop; design
     system 9d73e74, the brand's 72px minimum width). An org's logo stays 32px. */
  .pm-footer__pathminder img { height: var(--size-footer-pathminder-mobile); }

  .pm-footer__end {
    margin-left: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
  }

  .pm-footer { border-radius: 0; }
}

.pm-controlrail {
  display: flex;
  padding: var(--space-gutter) var(--space-gutter) var(--gap-block);
}

.pm-intro + .pm-controlrail { padding-top: var(--space-rail-under-intro); }

.pm-categoryhead + .pm-controlrail { padding-top: 0; }

.pm-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  min-width: 0;

  scroll-margin-top: var(--gap-inline);
}
.pm-search__field { position: relative; flex: 1; min-width: 0; }

.pm-search__field .pm-input {
  height: var(--size-input);
  padding-left: var(--space-suggestion-label);
  padding-right: calc(var(--size-tap-min) + var(--space-search-clear) * 2);
  font: var(--type-body) var(--font-text);
  color: var(--color-ink-strong);
}

.pm-search__clear {
  position: absolute;
  right: var(--space-search-clear);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--color-ink-glyph);
  font-size: var(--size-glyph);
  line-height: 1;
}
.pm-search__clear[hidden] { display: none; }

.pm-search__field .pm-input::-webkit-search-cancel-button { display: none; }

.pm-search__glyph {
  position: absolute;
  left: var(--gap-block); top: 50%;
  transform: translateY(-50%);
  color: var(--color-ink-glyph);
  font-size: var(--size-glyph);
  line-height: 1;
  pointer-events: none;
}

.pm-search__submit { height: var(--size-input); }

.pm-search__submit:not([data-autosuggest-fallback]) { display: none; }

.pm-search__radius {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  height: var(--size-input);

  padding: var(--space-select-trigger);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  white-space: nowrap;
  cursor: pointer;
}
@media (hover: hover) {
  .pm-search__radius:hover { border-color: var(--color-action); }
}
.pm-search__radius:active { border-color: var(--color-action); }
.pm-search__radius__label { font: var(--type-value) var(--font-text); color: var(--color-ink-muted); }
.pm-search__radius__value { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }

.pm-search__radius i {
  font-size: var(--size-glyph-chevron);
  line-height: 1;
  color: var(--color-ink-muted);
  opacity: var(--opacity-chevron);
}

.pm-search__radiusgroup { position: relative; display: inline-flex; }

.pm-search__radiusgroup[hidden] { display: none; }
.pm-search__radiusgroup[data-open="false"] .pm-selectfield__popover { display: none; }

.pm-search__radiusgroup .pm-selectfield__popover {
  left: auto;
  min-width: calc(100% + (var(--focus-offset) + 2px) * 2);
  width: max-content;
}

.pm-search__radiusgroup .pm-selectfield__list { max-height: none; overflow: visible; }

.pm-search__radiusany { border-top: 1px solid var(--color-line-row); }

.pm-search__radiusgroup .pm-option:active { background: var(--color-surface-hover); }

.pm-search__radiusgroup[data-open="true"] .pm-search__radius {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
.pm-search__radiusgroup[data-open="true"] .pm-search__radius .bi-chevron-down {
  transform: rotate(180deg);
}

button.pm-search__radius {
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.suggestions-dropdown {
  display: none;
  position: absolute;
  z-index: var(--layer-suggestions);

  top: calc(100% + var(--space-suggestion-ring) + var(--gap-hairline));
  left: calc(var(--space-suggestion-ring) * -1);
  right: calc(var(--space-suggestion-ring) * -1);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}
.suggestions-helper {
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
  padding: var(--space-option) var(--space-option) 0;
}
.suggestions-helper:empty { display: none; }
.suggestions-list { margin: 0; padding: var(--gap-glyph); }
.suggestions-list li {
  padding: var(--space-option);
  border-radius: var(--radius-inline);
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-strong);
  cursor: pointer;
  min-height: var(--size-tap-min);
  display: flex;
  align-items: center;
}
.suggestions-list li.suggestion-active { background: var(--color-surface-hover); }
@media (hover: hover) {
  .suggestions-list li[role="option"]:hover { background: var(--color-surface-hover); }
}
.suggestions-list li[role="option"]:active { background: var(--color-surface-hover); }

.suggestions-list:has(.pm-suggestion) { padding: 0; }
.suggestions-list .pm-suggestion {
  display: flex;
  align-items: center;

  gap: 0;
  height: var(--size-suggestion-row);
  min-height: 0;
  padding: 0 var(--space-suggestion-gutter);
  border-radius: 0;
}

.suggestions-list li.pm-suggestion.suggestion-active { background: var(--color-surface-hover); }
@media (hover: hover) {
  .suggestions-list li.pm-suggestion:hover { background: var(--color-surface-hover); }
}
.suggestions-list li.pm-suggestion:active { background: var(--color-surface-hover); }

.suggestions-list .pm-suggestion__glyph {
  flex: 0 0 calc(var(--space-suggestion-label) - var(--space-suggestion-gutter));
  text-align: left;
  font-size: var(--size-glyph);
  line-height: 1;
  color: var(--color-ink-glyph);
}
.suggestions-list .pm-suggestion__text { min-width: 0; overflow: clip; text-overflow: ellipsis; white-space: nowrap; }

.suggestions-list .pm-suggestion--locate { font: var(--type-subhead) var(--font-text); color: var(--color-action); }
.suggestions-list .pm-suggestion--locate .pm-suggestion__glyph { color: var(--color-action); }

.suggestions-list .pm-suggestion--locate[data-state="busy"],
.suggestions-list .pm-suggestion--locate[data-state="busy"] .pm-suggestion__glyph {
  color: var(--color-ink-muted);
  font-weight: 400;
}

.suggestions-list .pm-suggestion--locate[data-state="denied"],
.suggestions-list .pm-suggestion--locate[data-state="unavailable"] {
  height: auto;
  align-items: flex-start;
  padding: var(--gap-chip) var(--space-suggestion-gutter);
}
.suggestions-list .pm-suggestion--locate[data-state="denied"] .pm-suggestion__glyph,
.suggestions-list .pm-suggestion--locate[data-state="unavailable"] .pm-suggestion__glyph {
  color: var(--color-ink-glyph);
}
.suggestions-list .pm-suggestion--locate[data-state="denied"] .pm-suggestion__text,
.suggestions-list .pm-suggestion--locate[data-state="unavailable"] .pm-suggestion__text {
  display: flex;
  flex-direction: column;

  gap: var(--gap-hairline);
  white-space: normal;
}

.suggestions-list .pm-suggestion--recent { font: var(--type-body) var(--font-text); color: var(--color-ink-strong); }

.suggestions-list .pm-suggestion--suggestion {
  font: var(--type-body) var(--font-text);

  color: var(--color-ink-strong);
  padding-left: var(--space-suggestion-label);
}

.suggestions-list .pm-suggestion__match { font-weight: 600; }
.suggestions-list .pm-suggestion__detail { color: inherit; }

.suggestions-list .pm-suggestion__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-chip);

  min-height: 0;
  margin-top: var(--gap-inline);
  padding-top: var(--gap-inline);
  padding-bottom: var(--gap-inline);

  padding-left: var(--space-suggestion-gutter);
  padding-right: var(--space-suggestion-gutter);
  font: var(--type-eyebrow) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);

  cursor: default;
}
.suggestions-list .pm-suggestion__clear {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;

  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;
  color: var(--color-action);
  letter-spacing: normal;
  text-transform: none;
}
@media (hover: hover) {
  .suggestions-list .pm-suggestion__clear:hover { text-decoration: underline; }
}
.suggestions-list .pm-suggestion__clear:active { text-decoration: underline; }

.suggestions-list .pm-suggestion--divided { border-bottom: 1px solid var(--color-line-row); }

.suggestions-list .pm-suggestion__message {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  padding: var(--gap-chip) var(--space-suggestion-gutter);
  padding-left: var(--space-suggestion-label);
}
.suggestions-list .pm-suggestion__messagetitle { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }

.suggestions-list .pm-suggestion__messagehint {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

.suggestions-list .pm-suggestion__message--muted .pm-suggestion__messagetitle {
  font: var(--type-body) var(--font-text);
  color: var(--color-ink-muted);
}

@media (max-width: 767px) {
  .pm-controlrail,
  .pm-intro + .pm-controlrail { padding: var(--space-controlrail-mobile); }

  .pm-search__radius__label { display: none; }
  .pm-search__radius {
    gap: var(--gap-glyph);
    padding: 0 var(--gap-inline);
  }

  .pm-search__field .pm-input,
  .pm-search__submit,
  .pm-search__radius { height: var(--size-input-m); }
  .pm-search__field .pm-input {
    padding-left: var(--space-suggestion-label-m);
    padding-right: calc(var(--size-tap-min) + var(--space-search-clear-m) * 2);
  }
  .pm-search__clear { right: var(--space-search-clear-m); }

  .pm-search { position: relative; }
  .pm-search__field { position: static; }

  .suggestions-dropdown { right: 0; }
  .suggestions-list .pm-suggestion { height: var(--size-suggestion-row-m); padding: 0 var(--space-suggestion-gutter-m); }

  .suggestions-list .pm-suggestion__glyph {
    flex-basis: calc(var(--space-suggestion-label-m) - var(--space-suggestion-gutter-m));
  }
  .suggestions-list .pm-suggestion--suggestion { padding-left: var(--space-suggestion-label-m); }
  .suggestions-list .pm-suggestion--locate[data-state="denied"] { padding: var(--gap-chip) var(--space-suggestion-gutter-m); }
  .suggestions-list .pm-suggestion__eyebrow { padding-left: var(--space-suggestion-gutter-m); padding-right: var(--space-suggestion-gutter-m); }
  .suggestions-list .pm-suggestion__message { padding: var(--gap-chip) var(--space-suggestion-gutter-m); padding-left: var(--space-suggestion-label-m); }

  .suggestions-list .pm-suggestion__clear {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-tap-min);
    margin: calc((var(--size-tap-min) - var(--size-glyph)) / -2) 0;
  }
  .pm-search__glyph { left: var(--gap-inline); }
}

.pm-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-chip);
  padding: 0 var(--space-gutter) var(--gap-fact);
}

.pm-filterbar__groups { display: contents; }

.pm-filtergroup { position: relative; }
.pm-filtergroup[data-open="false"] .pm-popover { display: none; }
.pm-filtergroup[data-open="true"] .pm-popover { display: flex; top: calc(100% + var(--gap-glyph)); left: 0; }

.pm-filtergroup--fromright[data-open="true"] .pm-popover { left: auto; right: 0; }

.pm-filtergroup[data-open="true"] .pm-popover { max-height: var(--panel-max-height, none); }
/* A SCROLLING AREA SAYS THERE IS MORE (the product owner, 2026-11-11: every scrolling
   area). An element marked data-pm-fade fades its content out over its last --gap-fade
   (the design system's 24px fade) while more is below, and not once the end is
   reached: data-more, kept by the design system's script (components.js, "A scrolling
   area says there is more"). A mask, not a gradient laid over the content, so it
   fades into whatever is behind the area: the same rule serves a white popover, the
   Verifications tint and the map popup's well, with no colour of its own and no extra
   markup. So the area must not paint its own background (the map popup's well is
   painted by its body for this reason). */
[data-pm-fade][data-more] {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--gap-fade)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--gap-fade)), transparent);
}

.pm-popover__options {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  overflow-y: auto;

  position: relative;
}

.pm-filterchip {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-control);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;
  font-family: inherit;
  color: var(--color-ink-body);
  background: var(--color-surface-card);
  cursor: pointer;
}
@media (hover: hover) {
  .pm-filterchip:hover { border-color: var(--color-action); color: var(--color-action); }
}
.pm-filterchip:active { border-color: var(--color-action); color: var(--color-action); }
.pm-filterchip .bi-chevron-down {
  font-size: var(--size-glyph-chevron);
  line-height: 1;
  opacity: var(--opacity-chevron);
}

.pm-filtergroup[data-open="true"] .pm-filterchip { color: var(--color-action); border-color: var(--color-action); }
.pm-filtergroup[data-open="true"] .pm-filterchip .bi-chevron-down { transform: rotate(180deg); }

.pm-filtergroup[data-set="true"] .pm-filterchip {
  color: var(--color-action-on);
  background: var(--color-action);
  border-color: var(--color-action);
}
@media (hover: hover) {
  .pm-filtergroup[data-set="true"] .pm-filterchip:hover {
    color: var(--color-action-on);
    border-color: var(--color-action);
  }
}
.pm-filtergroup[data-set="true"] .pm-filterchip:active {
  color: var(--color-action-on);
  border-color: var(--color-action);
}

.pm-option__purpose {
  margin: 0;
  padding: var(--space-option);
  padding-bottom: var(--gap-glyph);
  font: var(--type-field-label) var(--font-text);
  color: var(--color-ink-strong);
  text-wrap: pretty;
}

.pm-option__rule {
  height: 1px;
  margin: var(--gap-glyph) 0;
  background: var(--color-line-row);
  border: 0;
}

.pm-option__clear {
  padding: 0;
  font: var(--type-glyph-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
@media (hover: hover) {
  .pm-option__clear:hover { color: var(--color-action-hover); text-decoration: underline; }
}
.pm-option__clear:active { color: var(--color-action-hover); }

.pm-popover__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-inline);
  margin: 0 calc(var(--gap-block) * -1) calc(var(--gap-block) * -1);
  padding: var(--gap-inline) var(--gap-block);
  border-top: 1px solid var(--color-line-row);
}
.pm-popover__foot > .pm-option__rule { display: none; }

.pm-filtergroup--text .pm-popover__foot { margin-top: calc(var(--gap-glyph) - var(--gap-chip)); }
.pm-popover__commit {
  flex: 1;
  height: var(--size-cta);
  font: var(--type-cta) var(--font-text);

  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pm-popover__commit[aria-busy="true"],
.pm-filtersheet__commit[aria-busy="true"],
.pm-filterpanel__commit[aria-busy="true"] {
  color: color-mix(in srgb, var(--color-action-on) var(--mix-busy), transparent);
}

.pm-filterbar__applied {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  gap: var(--gap-glyph);
  margin-top: calc(var(--gap-block) - var(--gap-chip));
}

.pm-filterbutton,
.pm-filtersheet__scrim,
.pm-filtersheet__head,
.pm-filtersheet__foot { display: none; }
.pm-filtersheet,
.pm-filtersheet__panel,
.pm-filtersheet__body { display: contents; }

.pm-filterchip__value { display: none; }

@media (max-width: 767px) {
  .pm-filterbar {
    gap: var(--gap-glyph);
    padding: var(--gap-chip) var(--space-gutter) var(--gap-inline);
  }

  .pm-filterbar__applied,
  .pm-filterbar__applied .pm-row { display: contents; }
  .pm-filterbar__applied .pm-eyebrow { display: none; }

  .pm-chip--applied { padding: var(--space-chip-applied-mobile); }

  .pm-filterbutton {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-glyph);
    min-height: var(--size-filterrow);
    padding: 0 var(--space-filterbutton-x);
    border: 1px solid var(--color-line-control);
    border-radius: var(--radius-control);
    font: var(--type-glyph-label) var(--font-text);
    line-height: 1;
    font-family: inherit;
    color: var(--color-ink-body);
    background: var(--color-surface-card);
    white-space: nowrap;
    cursor: pointer;
  }
  .pm-filterbutton i { font-size: var(--size-glyph-term); line-height: 1; }

  .pm-filtersheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--layer-sheet);
  }
  .pm-filtersheet[data-open="true"] { display: block; }
  .pm-filtersheet__scrim {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--color-scrim);
  }

  .pm-filtersheet__panel:focus { outline: none; }
  .pm-filtersheet__panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--size-sheet);
    background: var(--color-surface-card);
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    box-shadow: var(--shadow-sheet);
  }
  .pm-filtersheet__head {
    display: flex;
    align-items: center;
    gap: var(--gap-inline);
    padding: var(--space-sheet-head);
    border-bottom: 1px solid var(--color-line-row);
  }
  .pm-filtersheet__head .pm-card-title { flex: 1; }
  .pm-filtersheet__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--size-tap-min);
    height: var(--size-tap-min);
    margin: var(--space-sheet-close);
    border-radius: var(--radius-control);
    font-size: var(--size-glyph-row);
    color: var(--color-ink-body);
    cursor: pointer;
  }
  .pm-filtersheet__body {
    display: block;
    flex: 1;
    overflow-y: auto;

  }
  .pm-filtersheet__foot {
    display: flex;
    align-items: center;
    gap: var(--gap-inline);
    padding: var(--space-sheet-foot);
    border-top: 1px solid var(--color-line-row);
    padding-bottom: var(--space-safe-bottom);
  }
  .pm-filtersheet__foot .pm-action-link {
    font: var(--type-label) var(--font-text);
    padding: var(--space-sheet-clear);
  }

  .pm-filtersheet__commit {
    flex: 1;
    font: var(--type-cta) var(--font-text);

    font-variant-numeric: tabular-nums;
  }

  .pm-filterbar__groups {
    display: block;
    padding: 0;
  }
  .pm-filtergroup { border-bottom: 1px solid var(--color-line-row); }

  .pm-filtergroup[data-open="true"] { background: var(--color-surface-hover); }
  .pm-filterchip {
    display: flex;
    width: 100%;
    align-items: center;
    gap: var(--gap-inline);
    padding: var(--space-sheet-row);
    border: 0;
    border-radius: 0;
    background: none;
    text-align: left;
  }
@media (hover: hover) {
  .pm-filterchip:hover { border-color: transparent; color: var(--color-ink-body); }
}
.pm-filterchip:active { border-color: transparent; color: var(--color-ink-body); }
  .pm-filtergroup[data-open="true"] .pm-filterchip { border-color: transparent; }

  .pm-filtergroup[data-set="true"] .pm-filterchip {
    align-items: center;
    color: var(--color-ink-body);
    background: none;
    border-color: transparent;
  }

  .pm-filterchip .bi-chevron-down {
    font-size: var(--size-glyph-sheet-caret);
    opacity: 1;
    color: var(--color-ink-glyph);
  }
  .pm-filtergroup[data-open="true"] .pm-filterchip .bi-chevron-down {
    color: var(--color-ink-body);
  }
@media (hover: hover) {
  .pm-filtergroup[data-set="true"] .pm-filterchip:hover {
    color: var(--color-ink-body);
    border-color: transparent;
  }
}
  .pm-filtergroup[data-set="true"] .pm-filterchip:active {
    color: var(--color-ink-body);
    border-color: transparent;
  }
  .pm-filterchip__label {
    flex: 1;
    min-width: 0;
    font: var(--type-subhead) var(--font-text);
    color: var(--color-ink-strong);
  }
  .pm-filtergroup[data-open="true"] .pm-filterchip__label { font-weight: 700; }
  .pm-filterchip__value {
    display: inline;
    font: var(--type-meta) var(--font-text);
    color: var(--color-ink-subtle);
  }
  .pm-filtergroup[data-set="true"] .pm-filterchip__value {
    font: var(--type-field-label) var(--font-text);
    color: var(--color-action);
  }
  .pm-filtergroup[data-open="true"] .pm-popover {
    position: static;
    display: flex;
    min-width: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    padding: 0 0 var(--gap-block);
    gap: 0;

    max-height: none;
  }
  .pm-popover__options { display: contents; }

  .pm-filtergroup--text[data-open="true"] .pm-popover {
    width: auto;
    padding: 0 var(--space-gutter) var(--gap-block);
  }
  .pm-filtergroup--text .pm-option__purpose { padding: 0 0 var(--gap-chip); }

  .pm-popover__foot { display: contents; }
  .pm-popover__foot > .pm-option__rule:not([hidden]) { display: block; }
  .pm-popover__commit { display: none; }
  .pm-filtergroup--text .pm-popover__foot { display: none; }
  .pm-option__clear {
    align-self: flex-start;
    margin-top: var(--gap-glyph);
    padding: var(--space-option-clear);
  }

  .pm-option__purpose { padding: 0 var(--space-gutter) var(--gap-glyph); }
  .pm-option {
    padding: var(--gap-inline) var(--space-gutter);
    border: 0;
    gap: var(--gap-inline);
  }

  .pm-option--selected { background: none; }
@media (hover: hover) {
  .pm-option:hover { background: none; }
}
.pm-option:active { background: none; }
  .pm-option__name { font: var(--type-body) var(--font-text); }
  .pm-option--selected .pm-option__name { font: var(--type-subhead) var(--font-text); }
  .pm-option__desc { font: var(--type-caption) var(--font-text); }

  /* An option's checkbox and radio dot stay 20px on a phone (--size-control-box, every
     width): the 44px row is what a thumb taps (design-system f15c187, retiring PM1's
     drop 75 24px phone box, F69). */
}

.pm-scrolllock { overflow: hidden; }

.pm-termcard { max-width: var(--size-popover-min); }

.pm-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: auto;
  max-width: none;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: var(--shadow-sheet);
  padding: var(--space-gutter);

  padding-bottom: var(--space-safe-bottom);
}

.pm-pagebody {
  display: grid;
  column-gap: var(--gap-page);
  row-gap: var(--gap-group);
  align-items: start;
  padding: var(--space-page-body);
}

.pm-pagebody__head { display: flex; flex-direction: column; gap: var(--gap-chip); }

.pm-pagebody--form {
  grid-template-columns: minmax(0, var(--measure-form)) var(--size-aside);
  grid-template-areas:
    "head crisis"
    "main aside";
}
.pm-pagebody--form .pm-pagebody__head  { grid-area: head; }
.pm-pagebody--form .pm-crisisnote      { grid-area: crisis; }
.pm-pagebody--form .pm-pagebody__main  { grid-area: main; }
.pm-pagebody--form .pm-pagebody__aside { grid-area: aside; }

.pm-pagebody--help {
  grid-template-columns: minmax(0, var(--measure-prose)) var(--size-contents);
  grid-template-areas:
    "head side"
    "main side";
}
.pm-pagebody--help .pm-pagebody__head  { grid-area: head; }
.pm-pagebody--help .pm-pagebody__main  { grid-area: main; }

.pm-pagebody--help .pm-pagebody__aside {
  grid-area: side;
  position: sticky;
  top: var(--space-sticky);
}

.pm-pagebody--single {
  grid-template-columns: minmax(0, var(--measure-page));
  row-gap: var(--gap-band);
}

.pm-pagebody__main  { display: flex; flex-direction: column; gap: var(--gap-group); min-width: 0; }
.pm-pagebody__aside { display: flex; flex-direction: column; gap: var(--gap-group); min-width: 0; }

@media (max-width: 767px) {

  .pm-pagebody {
    display: flex;
    flex-direction: column;
    gap: var(--gap-group);

    align-items: stretch;
  }

  .pm-pagebody--help .pm-pagebody__aside { display: contents; }
  .pm-pagebody--help .pm-contents        { order: 1; }
  .pm-pagebody--help .pm-pagebody__main  { order: 2; }
  .pm-pagebody--help .pm-crisisnote      { order: 3; }
  .pm-pagebody--help .pm-stuck           { order: 4; }
  /* On a phone the contents list opens the page straight under its head, with no "On this
     page" eyebrow (the Help mock's phone frame); the list keeps its accessible name. */
  .pm-pagebody--help .pm-contents__title { display: none; }
}

.pm-notebox {
  background: var(--color-surface-hover);
  border-radius: var(--radius-control);
  padding: var(--space-note);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  text-wrap: pretty;
}
.pm-notebox b, .pm-notebox strong { font-weight: 600; color: var(--color-ink-body); }

.pm-crisisnote {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-inline);
  background: var(--color-crisis-bg);
  border-radius: var(--radius-card);
  padding: var(--space-note);
  font: var(--type-meta) var(--font-text);
  color: var(--color-crisis-ink-strong);
  text-wrap: pretty;
}
.pm-crisisnote > i {
  flex: 0 0 auto;
  font-size: var(--size-glyph);

  line-height: 1.5;
  color: var(--color-crisis-ink);
}
.pm-crisisnote b, .pm-crisisnote strong { font-weight: 700; }

.pm-crisisnote--titled { flex-direction: column; gap: var(--gap-chip); }
.pm-crisisnote__title {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  font: var(--type-mark) var(--font-text);
  color: var(--color-crisis-ink-strong);
}
.pm-crisisnote__title i { font-size: var(--size-glyph-sm); color: var(--color-crisis-ink); }

.pm-aside__block,
.pm-stuck {
  border-top: 1px solid var(--color-line-row);
  padding-top: var(--gap-block);
}
.pm-aside__block { display: flex; flex-direction: column; gap: var(--gap-chip); }

.pm-aside__title { font: var(--type-glyph-label) var(--font-text); color: var(--color-ink-strong); }

.pm-stuck {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  text-wrap: pretty;
}

.pm-textarea {
  width: 100%;
  padding: var(--space-textarea);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  color: var(--color-ink-strong);
  font: var(--type-body) var(--font-text);
  font-family: inherit;
  resize: vertical;
}
.pm-textarea--error { border-color: var(--color-canceled); }

@media (max-width: 767px) {

  .pm-button--submit { width: 100%; height: var(--size-button); }
}

.pm-help__section {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  border-top: 1px solid var(--color-line-row);
  padding-top: var(--gap-band);
}
.pm-help__section:first-child { border-top: 0; padding-top: 0; }

.pm-help__section--stacked { gap: var(--gap-group); }

.pm-legend { display: flex; flex-direction: column; }
.pm-legend__row {
  display: grid;
  grid-template-columns: var(--size-legend-label) minmax(0, 1fr);
  gap: 0 var(--gap-group);
  padding: var(--space-legend-row) 0;
  border-top: 1px solid var(--color-line-row);
}

.pm-legend--marks .pm-legend__row { align-items: center; }

.pm-legend--closed .pm-legend__row:last-child { border-bottom: 1px solid var(--color-line-row); }

.pm-legend__label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-legend__text  { font: var(--type-prose) var(--font-text); color: var(--color-ink-body); text-wrap: pretty; }
.pm-legend__text b, .pm-legend__text strong { font-weight: 600; }

/* The marks in Help's legend are the design system's components as a meeting draws them
   (the Help mock, 2026-11-21 audit): ModeLabel inline and GlyphFact (language, audience,
   special focus) at --type-meta with 15px glyphs, PM1's bolder 15px forms gone. Camera on
   keeps its 600 15px label and 16px glyph, as the mock draws it. */
.pm-legend .pm-condition { font: var(--type-label) var(--font-text); }
.pm-legend .pm-condition i { font-size: var(--size-glyph); }
.pm-legend .pm-languages,
.pm-legend .pm-audiences,
.pm-legend .pm-focus { font: var(--type-meta) var(--font-text); }
/* As ModeLabel and GlyphFact set them: the glyph on the first line's own height, the
   words beside it from the top, so a wrapped fact keeps its glyph on the first line. */
.pm-legend .pm-mode,
.pm-legend .pm-languages,
.pm-legend .pm-audiences,
.pm-legend .pm-focus { align-items: flex-start; }
.pm-legend .pm-mode i,
.pm-legend .pm-languages i,
.pm-legend .pm-audiences > i,
.pm-legend .pm-focus i { line-height: 1.4; }  /* a 15px glyph on the words' 21px line */
/* Each legend's own row spacing (the Help mock): questions 13px, verification marks 16px. */
.pm-legend--qa .pm-legend__row { padding: var(--space-legend-row-qa) 0; }
.pm-legend--proof .pm-legend__row { padding: var(--space-legend-row-proof) 0; }

/* "Verification not provided" in the legend: the mock's larger form (15px muted words,
   an 18px glyph 9px before them), centred in its row with none of part 1's 1px nudge
   (which sets a row's chip on the meta line). The Pathcheck and host marks are
   VerificationMark's own (.pm-legend__proof). */
.pm-legend .pm-verification--none {
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-muted);
  gap: var(--gap-chip);
  margin-top: 0;
}
.pm-legend .pm-verification--none i { font-size: var(--size-glyph-row); }

.pm-legend__scope { display: inline-flex; align-items: center; gap: var(--gap-inline); }
/* "No size": a white rail, so on the page's white the legend outlines it (the Help mock). */
.pm-legend__scope .pm-rail--unsized { box-shadow: inset 0 0 0 1px var(--color-line-card); }
.pm-legend__scope .pm-rail {
  align-self: center;
  width: var(--size-rail);
  height: var(--size-legend-rail);
  border-radius: var(--radius-pill);
}

.pm-program {
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline);
  --size-program-mark: 24px;           /* a program's logo beside its name (Help's mock) */
  --gap-program-mark: 9px;             /* between the logo and the name */
}
/* The name with its logo in front, as Help's mock draws it. Without the size the logo
   shows at its file's own size (hundreds of pixels for PROD's program marks). */
.pm-program__name { display: flex; align-items: center; gap: var(--gap-program-mark); margin: 0; }
.pm-program__mark {
  display: block;
  flex: 0 0 auto;
  width: var(--size-program-mark);
  height: var(--size-program-mark);
  object-fit: contain;
}
.pm-program + .pm-program { border-top: 1px solid var(--color-line-row); padding-top: var(--gap-group); }
.pm-program__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-block);
}
/* "See all N meetings" on one line of its own height, and who runs the program in the
   meta type and muted ink, as the Help mock sets them. */
.pm-program__head .pm-action-link { line-height: 1; }
.pm-program__runby { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }

.pm-contents {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
}
.pm-contents__title { padding: 0 0 var(--gap-glyph) var(--space-contents-inset); }
.pm-contents a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-inline);
  padding: var(--space-contents-link);
  border-left: var(--size-rail-nav) solid transparent;

  border-radius: 0;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
}
@media (hover: hover) {
  .pm-contents a:hover { color: var(--color-action); text-decoration: none; background: var(--color-surface-hover); }
}
.pm-contents a:active { color: var(--color-action); text-decoration: none; background: var(--color-surface-hover); }

.pm-contents a[aria-current="true"] {
  border-left-color: var(--color-action);
  color: var(--color-action);
  font-weight: 600;
}
.pm-contents__chevron { display: none; }

.pm-pagebody--help .pm-crisisnote,
.pm-pagebody--help .pm-stuck { margin-left: var(--space-contents-inset); }

@media (max-width: 767px) {

  .pm-contents {
    gap: 0;
    border-top: 1px solid var(--color-line-row);
  }
  .pm-contents__title { display: none; }
  .pm-contents a {
    padding: var(--space-legend-row) 0;
    border-left: 0;
    border-bottom: 1px solid var(--color-line-row);
    font: var(--type-subhead) var(--font-text);
    color: var(--color-action);
    min-height: var(--size-tap-min);
  }
@media (hover: hover) {
  .pm-contents a:hover { background: none; }
}
.pm-contents a:active { background: none; }
  .pm-contents a[aria-current="true"] { font-weight: 600; }
  .pm-contents__chevron { display: inline-block; font-size: var(--size-glyph-term); opacity: .8; }
  .pm-pagebody--help .pm-crisisnote,
  .pm-pagebody--help .pm-stuck { margin-left: 0; }

  .pm-legend__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-hairline);
    padding: var(--space-legend-row-mobile) 0;
  }
  .pm-legend--marks .pm-legend__row { align-items: start; }
}

.pm-pathcheck {
  display: flex;
  flex-direction: column;
  gap: var(--gap-group);
  padding: var(--space-pathcheck);
  border: 1px solid var(--color-line-selected);
  border-radius: var(--radius-card);
  background: var(--color-surface-selected);
}

.pm-pathcheck__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-inline);
}

.pm-selectfield--date { width: var(--size-date-field); }

@media (max-width: 767px) {
  .pm-pathcheck { padding: var(--space-pathcheck-mobile); gap: var(--gap-block); }

  .pm-selectfield--date { width: 100%; }
}

.pm-facilitators { display: flex; flex-direction: column; gap: var(--gap-inline); }

.pm-facilitators__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-block);
}

.pm-facils { display: flex; flex-direction: column; }

.pm-facil {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  border-top: 1px solid var(--color-line-row);
  padding: var(--space-fact-row) 0;
}

.pm-facil__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-block);
}
.pm-facil__name { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }

.pm-facil__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-glyph-label) var(--font-text);

  line-height: 1;
  color: var(--color-ink-body);
  background: none;
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  padding: var(--space-inline-control);
  white-space: nowrap;
  cursor: pointer;
}

.pm-facil__contact i { font-size: var(--size-glyph-chevron); opacity: .7; }

@media (hover: hover) {
  .pm-facil__contact:hover { border-color: var(--color-action); color: var(--color-action); text-decoration: none; }
}
.pm-facil__contact:active { border-color: var(--color-action); color: var(--color-action); text-decoration: none; }

.pm-facil[data-open="true"] .pm-facil__contact { color: var(--color-action); }
.pm-facil[data-open="true"] .pm-facil__contact i { transform: rotate(180deg); opacity: .8; }

.pm-facil__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-chip);
}

.pm-facil__details[hidden] { display: none; }
.pm-facil__detail {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  font: var(--type-value) var(--font-text);
  color: var(--color-action);
}
.pm-facil__detail i { font-size: var(--size-glyph-sm); color: var(--color-ink-glyph); }

@media (max-width: 767px) {

  .pm-facil__contact {
    min-height: var(--size-tap-min);
    padding: 0 var(--gap-inline);
  }

  .pm-facilitators { gap: var(--gap-chip); }
  .pm-facilitators__head { gap: var(--gap-inline); }
  .pm-facil { padding: var(--space-facil-row-mobile) 0; }
  .pm-facil__row { gap: var(--gap-inline); }
}

.addeventatc { visibility: hidden; }

.addeventatc.pm-atc {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-field-label) var(--font-text);
  color: var(--color-action);
  background: none;
  border: 0;
  height: auto;
  padding: 0;
  cursor: pointer;

  z-index: auto !important;
}

.addeventatc.pm-atc .addeventatc_dropdown { z-index: var(--layer-popover) !important; }

.addeventatc.pm-atc,
.addeventatc.pm-atc > :not(:where(.addeventatc_dropdown)) {
  color: var(--color-action) !important;

  font: var(--type-field-label) var(--font-text) !important;
  line-height: 1 !important;
  background: none !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
@media (hover: hover) {
  .addeventatc.pm-atc:hover {
  color: var(--color-action) !important;

  font: var(--type-field-label) var(--font-text) !important;
  line-height: 1 !important;
  background: none !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
}
.addeventatc.pm-atc:active {
  color: var(--color-action) !important;

  font: var(--type-field-label) var(--font-text) !important;
  line-height: 1 !important;
  background: none !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
@media (hover: hover) {
  .addeventatc.pm-atc:hover,
  .addeventatc.pm-atc:hover > :not(:where(.addeventatc_dropdown)) {
  color: var(--color-action-hover) !important;
  text-decoration: underline !important;
}
}
.addeventatc.pm-atc:active,
.addeventatc.pm-atc:active > :not(:where(.addeventatc_dropdown)) {
  color: var(--color-action-hover) !important;
  text-decoration: underline !important;
}

.addeventatc.pm-atc > :not(:where(.addeventatc_dropdown)) {
  font-size: inherit !important;
  line-height: inherit !important;
}
@media (hover: hover) {
  .addeventatc.pm-atc:hover > :not(:where(.addeventatc_dropdown)) {
  font-size: inherit !important;
  line-height: inherit !important;
}
}
.addeventatc.pm-atc:active > :not(:where(.addeventatc_dropdown)) {
  font-size: inherit !important;
  line-height: inherit !important;
}
.addeventatc.pm-atc,
.addeventatc.pm-atc > :not(:where(.addeventatc_dropdown)) {
  letter-spacing: inherit !important;
  transform: none !important;
}
@media (hover: hover) {
  .addeventatc.pm-atc:hover,
  .addeventatc.pm-atc:hover > :not(:where(.addeventatc_dropdown)) {
  letter-spacing: inherit !important;
  transform: none !important;
}
}
.addeventatc.pm-atc:active,
.addeventatc.pm-atc:active > :not(:where(.addeventatc_dropdown)) {
  letter-spacing: inherit !important;
  transform: none !important;
}

.addeventatc.pm-atc i { font-size: var(--size-glyph-sm) !important; }
.addeventatc .addeventatc_icon { display: none !important; }

.addeventatc.pm-atc .addeventatc_dropdown {

  width: var(--size-atc-menu);
  padding: var(--gap-glyph) 0;
  font: var(--type-value) var(--font-text);

  color: var(--color-ink-strong) !important;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}

.addeventatc.pm-atc .addeventatc_dropdown span {
  display: flex;
  align-items: center;
  min-height: var(--size-tap-min);
  margin: 0;
  padding: var(--space-atc-option);
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-strong);

  background-position-x: var(--gap-block);
}
@media (hover: hover) {

  .addeventatc.pm-atc .addeventatc_dropdown span:hover {
    font: var(--type-value) var(--font-text);
    color: var(--color-ink-strong);
    background-color: var(--color-surface-hover);
  }
}
.addeventatc.pm-atc .addeventatc_dropdown span:active { background-color: var(--color-surface-hover); }

.addeventatc.pm-atc .addeventatc_dropdown .drop_markup { background-color: var(--color-surface-hover); }

.addeventatc.pm-atc .addeventatc_dropdown span:focus-visible {
  outline-offset: calc(var(--focus-offset) * -1);
}

.addeventatc_dropdown .copyx { display: none; }

.pm-optinarrival {
  margin: var(--gap-group) var(--space-gutter) 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-inline) var(--gap-block);
  padding: var(--space-optinbar);
  background: var(--color-surface-selected);
  border: 1px solid var(--color-line-selected);
  border-radius: var(--radius-card);
}

.pm-optinarrival__text {
  flex: 1 1 400px;
  min-width: 0;
  font: var(--type-prose) var(--font-text);
  color: var(--color-ink-strong);
  text-wrap: pretty;
}
.pm-optinarrival__text strong { font-weight: 600; }

.pm-optinarrival .pm-facil__contact { background: var(--color-surface-card); }
.pm-optinarrival .pm-facil__contact:active { background: var(--color-surface-hover); }

.pm-optinarrival + .pm-intro[data-image] { margin-top: var(--gap-group); }
.pm-optinarrival + .pm-intro:not([data-image]) { padding-top: var(--gap-group); }
@media (max-width: 767px) {

  .pm-optinarrival {
    margin: var(--gap-inline) var(--space-gutter-mobile) 0;
    flex-wrap: nowrap;
    gap: var(--gap-inline);
    padding: var(--space-optinbar-mobile);
  }
  .pm-optinarrival__text { flex: 1 1 auto; }
  .pm-optinarrival .pm-facil__contact { flex: 0 0 auto; }
  .pm-optinarrival + .pm-intro[data-image] { margin-top: var(--gap-inline); }
  .pm-optinarrival + .pm-intro:not([data-image]) { padding-top: var(--gap-inline); }
}

.pm-leave__body {
  padding: var(--space-leave);
  display: flex;
  flex-direction: column;
  gap: var(--gap-band);
  max-width: var(--measure-row);
}
.pm-leave__form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-band);
}

.pm-leave__ask { display: flex; align-items: baseline; gap: var(--gap-chip); flex-wrap: wrap; }

.pm-leave__send { align-items: flex-start; }
.pm-leave__optional { font: var(--type-meta) var(--font-text); color: var(--color-ink-subtle); }
@media (max-width: 767px) {
  .pm-leave__body { padding: var(--gap-group) var(--space-gutter-mobile) var(--gap-page); }
}

.pm-checks,
.pm-radios { display: flex; flex-wrap: wrap; gap: 0 var(--gap-group); }
.pm-checks--stack { flex-direction: column; gap: 0; }
.pm-check,
.pm-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  min-height: var(--size-tap-min);
  cursor: pointer;
}
.pm-checks--wrap .pm-check {
  align-items: flex-start;
  gap: var(--gap-inline);
  padding: var(--space-check);
}
.pm-check input,
.pm-radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pm-check__box,
.pm-radio__dot {
  width: var(--size-control-box);
  height: var(--size-control-box);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-inline);
  background: var(--color-surface-card);
  color: var(--color-surface-card);
}

.pm-checks--wrap .pm-check__box { margin-top: 1px; }
/* The tick is a flex box of its own, as the design system's Checkbox draws it (design-system
   5bb87ab, Q74): its glyph is a 15px block centred in the 20px box, 2.5px in on every side,
   whatever font holds the box. Left inline, it sat on a line box in its holder's font, 0.6
   to 1px above centre, and moved with the holder. */
.pm-check__box i { display: flex; font-size: var(--size-glyph-check); visibility: hidden; }
.pm-check input:checked ~ .pm-check__box,
.pm-option input:checked ~ .pm-check__box {
  border-color: var(--color-action);
  background: var(--color-action);
}
.pm-check input:checked ~ .pm-check__box i,
.pm-option input:checked ~ .pm-check__box i { visibility: visible; }
.pm-check input:focus-visible ~ .pm-check__box,
.pm-option input:focus-visible ~ .pm-check__box {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.pm-option--empty .pm-check__box,
.pm-option--empty .pm-radio__dot {
  border-color: var(--color-line-card);
  background: var(--color-surface-hover);
}
.pm-check__label,
.pm-radio__label { font: var(--type-value) var(--font-text); color: var(--color-ink-strong); }
@media (hover: hover) {
  .pm-check:hover .pm-check__box,
  .pm-radio:hover .pm-radio__dot { border-color: var(--color-action); }
}

.pm-radio__dot { border-radius: 50%; }
.pm-radio input:checked ~ .pm-radio__dot,
.pm-option input:checked ~ .pm-radio__dot {
  border: var(--size-radio-ring) solid var(--color-action);
}

.pm-radio input:checked ~ .pm-radio__label { font: var(--type-label) var(--font-text); }
.pm-radio input:focus-visible ~ .pm-radio__dot,
.pm-option input:focus-visible ~ .pm-radio__dot {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.pm-notes { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-notes__body { display: flex; flex-direction: column; gap: var(--gap-chip); }

.pm-notes__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines-notes);
  overflow: hidden;
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-strong);
}

.pm-notes[data-open="true"] .pm-notes__text { -webkit-line-clamp: none; overflow: visible; }
/* Text holding an image is clamped by height, not by lines (a line clamp cannot count an
   image): pmReadMore measures where the third line ends, an image counting as the lines
   its height covers, and sets the text's max-height. */
.pm-notes__text[data-image-clamp] { display: block; -webkit-line-clamp: none; }
.pm-notes[data-open="true"] .pm-notes__text[data-image-clamp] { max-height: none !important; }

/* Written notes (the design system's ReadMore form="notes", 2026-11-14; its bundle.css
   rules under .pm-notes, here on the text they are for): an organization's HTML
   (meetings/rich_text.py keeps links, simple formatting and https images) drawn by the
   system's rules, never its own. Paragraphs 9px apart at any depth; bold 600, never 700;
   italic as written; lists indented 22px, 3px between items; links in action blue,
   underlined in the darker blue on hover; images at most the column's width, their own
   height, the inline radius, 9px above and below. Headings are text at 600; tables are
   text; colours, fonts and sizes the HTML sets never win (!important beats an inline
   style); scripts and styles never draw. */
.pm-notes__text * { color: inherit !important; background: none !important; font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; letter-spacing: inherit !important; text-align: inherit !important; }
.pm-notes__text :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, pre, figure, table, div) { margin: 0 !important; padding: 0; border: 0; }
.pm-notes__text :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, pre, figure, table, div, img) + :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, pre, figure, table, div) { margin-top: var(--gap-chip) !important; }
.pm-notes__text :is(b, strong) { font-weight: 600 !important; }
.pm-notes__text :is(h1, h2, h3, h4, h5, h6, th) { font-weight: 600 !important; }
.pm-notes__text :is(ul, ol) { padding-left: var(--space-notes-list) !important; }
.pm-notes__text ul { list-style: disc; }
.pm-notes__text ol { list-style: decimal; }
.pm-notes__text li { margin: 0 !important; }
.pm-notes__text li + li { margin-top: var(--gap-hairline) !important; }
.pm-notes__text a,
.pm-notes__text a * { color: var(--color-action) !important; text-decoration: none !important; }
@media (hover: hover) {
  .pm-notes__text a:hover,
  .pm-notes__text a:hover * { color: var(--color-action-hover) !important; text-decoration: underline !important; }
}
.pm-notes__text img { display: block; max-width: 100% !important; height: auto !important; border-radius: var(--radius-inline) !important; margin: var(--gap-chip) 0 !important; }
.pm-notes__text :is(div, p):first-child > img:first-child,
.pm-notes__text > img:first-child { margin-top: 0 !important; }
.pm-notes__text :is(table, thead, tbody, tfoot, tr) { display: block; }
.pm-notes__text :is(td, th) { display: inline; padding: 0; }
.pm-notes__text td + td::before,
.pm-notes__text th + th::before { content: " "; }
.pm-notes__text :is(script, style) { display: none !important; }

.pm-notes__more {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  width: fit-content;
  font: var(--type-field-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
@media (hover: hover) {
  .pm-notes__more:hover { color: var(--color-action-hover); text-decoration: underline; }
}
.pm-notes__more:active { color: var(--color-action-hover); text-decoration: underline; }
.pm-notes__more i { font-size: var(--size-glyph-chevron); line-height: 1; }

@media (max-width: 767px) {
  .pm-notes__text { font: var(--type-meta) var(--font-text); }
  .pm-notes__more { min-height: var(--size-tap-min); margin: var(--space-notes-more-mobile); }
}

.pm-intro__image {
  display: block;
  width: 100%;
  height: var(--size-intro-band);
  object-fit: cover;
}
.pm-intro--first .pm-intro__image { height: var(--size-intro-band-first); }

.pm-intro__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  margin: calc(var(--space-intro-overlap) * -1) var(--space-gutter) 0;
  padding: var(--gap-group);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}

.pm-intro:not([data-image]) { padding: var(--space-intro-bare); }
.pm-intro:not([data-image]) .pm-intro__card { margin: 0; }

.pm-intro__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gap-hairline) var(--gap-block);
}
.pm-intro__title { margin: 0; text-wrap: balance; }
/* The zone line wraps balanced (design-system 8205ab7, FinderIntro's `timeZone`, kept by
   9788931): on a phone, or with a name that carries its place ("(Pacific (British
   Columbia))", which zone_name keeps whole), its two rows come out even. */
.pm-intro__zone { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); text-wrap: balance; }

.pm-intro__zonename:has(.tz-common-name:empty) { display: none; }

.pm-intro .pm-intro__text {
  font: var(--type-body) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
.pm-intro .pm-intro__text p { margin: 0; }

.pm-intro .pm-notes__text { -webkit-line-clamp: var(--lines-intro); }

@media (max-width: 767px) {
  .pm-intro__image { height: var(--size-intro-band-mobile); }
  .pm-intro--first .pm-intro__image { height: var(--size-intro-band-first-mobile); }
  .pm-intro__card {
    margin: calc(var(--space-intro-overlap-mobile) * -1) var(--space-gutter-mobile) 0;
    padding: var(--gap-block);
  }
  .pm-intro:not([data-image]) { padding: var(--space-intro-bare-mobile); }

  .pm-intro__titles { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .pm-intro .pm-notes__text { -webkit-line-clamp: var(--lines-intro-mobile); }
}

:root {
  --measure-change: 580px;
  --size-setting-label: 170px;
  --size-cal-month: 270px;
  --size-cal-cell: 36px;
  --size-cal-cell-m: 44px;
  --size-cal-weekday: 22px;
  --size-list-max: 290px;
  --size-step: 24px;
  --space-select-option: 9px 16px;

  --space-check: 11px 0;
  --space-select-trigger: 0 14px;
  --space-select-trigger-wrap: 9px 14px;
}

.pm-pagebody--change {
  grid-template-columns: minmax(0, var(--measure-change)) var(--size-aside);
}

.pm-change { gap: var(--gap-band); }

.pm-change__head { display: flex; flex-direction: column; gap: var(--gap-inline); }
.pm-change__head p { margin: 0; }
.pm-change__head .pm-body strong { color: var(--color-ink-strong); }
.pm-change__where {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--gap-chip);
  font: var(--type-body) var(--font-text);
}
.pm-change__program { color: var(--color-ink-body); }
.pm-change__sep { color: var(--color-ink-separator); }
.pm-change__place { color: var(--color-ink-subtle); }

.pm-change__section { display: flex; flex-direction: column; gap: var(--gap-inline); }
.pm-change__sectionhead { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-change__line { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-change__value { font: var(--type-value) var(--font-text); color: var(--color-ink-strong); text-wrap: pretty; }

.pm-change__was {
  display: flex;
  gap: var(--gap-chip);
  align-items: baseline;
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
}

.pm-change__was[hidden],
.pm-setting__body[hidden],
.pm-setting__extra[hidden],
.pm-selectfield__popover[hidden] { display: none; }
.pm-change__undo,
.pm-change__inlinebutton {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--color-action);
  cursor: pointer;
}
@media (hover: hover) {
  .pm-change__undo:hover,
  .pm-change__inlinebutton:hover { color: var(--color-action-hover); text-decoration: underline; }
}

.pm-cal { display: flex; gap: var(--gap-band); align-items: flex-start; }
.pm-cal__month { display: flex; flex-direction: column; gap: var(--gap-glyph); width: var(--size-cal-month); }
.pm-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--size-tap-min);
}
.pm-cal__title { flex: 1 1 auto; text-align: center; font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-cal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-ink-body);
  font-size: 14px;
  cursor: pointer;
}

.pm-cal__month:first-child .pm-cal__head > :first-child { margin-left: calc(var(--gap-inline) * -1); }
.pm-cal__month:last-child .pm-cal__head > :last-child { margin-right: calc(var(--gap-inline) * -1); }
.pm-cal__nav:disabled { color: var(--color-ink-disabled); cursor: default; }
/* Each month is an ARIA grid of rows (the design system's Calendar, 2026-11-15): the
   rows stack 3px apart, and each row is the seven-column grid PM1's month was, so the
   days sit exactly where they did. */
.pm-cal__grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
}
.pm-cal__row {
  display: grid;
  grid-template-columns: repeat(7, var(--size-cal-cell));
  gap: var(--gap-hairline);
}

.pm-cal[data-months="1"] .pm-cal__month { width: 100%; }
.pm-cal[data-months="1"] .pm-cal__row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pm-cal[data-months="1"] .pm-cal__day,
.pm-cal[data-months="1"] .pm-cal__off { height: var(--size-cal-cell-m); font-size: 15px; }
.pm-cal__weekday {
  height: var(--size-cal-weekday);
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--type-eyebrow) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  color: var(--color-ink-muted);
}
.pm-cal__day,
.pm-cal__off {
  height: var(--size-cal-cell);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-inline);
  font: 600 14px/1 var(--font-text);
  font-variant-numeric: tabular-nums;
}
.pm-cal__off { font-weight: 400; color: var(--color-ink-disabled); }
.pm-cal__day {
  padding: 0;
  color: var(--color-ink-strong);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-control);
  cursor: pointer;
}
@media (hover: hover) {
  .pm-cal__day:hover { border-color: var(--color-action); }
}
.pm-cal__day--canceled {
  font-weight: 700;
  color: var(--color-canceled);
  background: var(--color-canceled-bg);
  border-color: var(--color-canceled-bg);
  text-decoration: line-through;
}
@media (hover: hover) {
  .pm-cal__day--canceled:hover { border-color: var(--color-canceled); }
}

.pm-cal__day--selected {
  background: var(--color-surface-selected);
  border-color: var(--color-action);
}
.pm-cal__day:focus-visible,
.pm-cal__nav:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

.pm-settings { gap: 0; }
.pm-settings > .pm-card-title { margin-bottom: var(--gap-inline); }
.pm-setting {
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline);
  padding: var(--space-fact-row) 0;
  border-top: 1px solid var(--color-line-row);
}
.pm-setting__head {
  display: grid;
  grid-template-columns: var(--size-setting-label) minmax(0, 1fr) auto;
  gap: var(--gap-block);
  align-items: center;
}
.pm-setting__label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-setting__value { font: var(--type-value) var(--font-text); color: var(--color-ink-strong); min-width: 0; }

.pm-setting[data-open="true"] .pm-setting__value { display: none; }
.pm-setting[data-open="true"] .pm-setting__change { border-color: var(--color-action); color: var(--color-action); }
.pm-setting[data-open="true"] .pm-setting__change i { transform: rotate(180deg); opacity: .8; }
.pm-setting__change { justify-self: end; grid-column: 3; }
.pm-setting__body,
.pm-setting__was {
  padding-left: calc(var(--size-setting-label) + var(--gap-block));
}
.pm-setting__body { display: flex; flex-direction: column; gap: var(--gap-chip); }
.pm-setting__extra { display: flex; flex-direction: column; gap: var(--gap-glyph); }

.pm-selectfield { position: relative; }
.pm-selectfield__trigger {
  width: 100%;
  height: var(--size-input);
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-select-trigger);
  font: var(--type-body) var(--font-text);
  line-height: 1;
  text-align: left;
  color: var(--color-ink-strong);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  cursor: pointer;
}
@media (hover: hover) {
  .pm-selectfield__trigger:hover { border-color: var(--color-action); }
}
.pm-selectfield[data-open="true"] .pm-selectfield__trigger,
.pm-selectfield__trigger:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
/* An error: the trigger's border in the error colour, as .pm-input--error (SelectField
   `error`, design-system 0e37382). */
.pm-selectfield--error .pm-selectfield__trigger { border-color: var(--color-canceled); }
.pm-selectfield__value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-selectfield__value:empty::before { content: attr(data-placeholder); color: var(--color-ink-subtle); }
.pm-selectfield__trigger i {
  font-size: var(--size-glyph-chevron);
  line-height: 1;
  color: var(--color-ink-muted);
  opacity: var(--opacity-chevron);
}
.pm-selectfield[data-open="true"] .pm-selectfield__trigger i { transform: rotate(180deg); }

.pm-selectfield--wrap .pm-selectfield__trigger {
  height: auto;
  min-height: var(--size-input);
  padding: var(--space-select-trigger-wrap);
  line-height: 1.3;
}
.pm-selectfield--wrap .pm-selectfield__value { white-space: normal; overflow-wrap: anywhere; text-wrap: pretty; }
.pm-selectfield__popover {
  position: absolute;
  left: calc((var(--focus-offset) + 2px) * -1);
  right: calc((var(--focus-offset) + 2px) * -1);
  top: calc(100% + var(--focus-offset) + 5px);
  z-index: var(--layer-popover);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
}
.pm-selectfield__list {
  display: flex;
  flex-direction: column;
  max-height: var(--size-list-max);
  overflow-y: auto;
  padding: var(--gap-glyph) 0;
}


.pm-selectfield .pm-option {
  align-items: center;
  gap: var(--gap-inline);
  min-height: var(--size-tap-min);
  padding: var(--space-select-option);
  border: 0;

  flex-shrink: 0;
}
.pm-selectfield .pm-option--selected,
.pm-selectfield .pm-option--selected:active { background: none; }

.pm-selectfield .pm-option__text { align-self: center; }

/* SelectField `multiple` (the design system's, 2026-11-22; select_field.html, pmMultiSelect):
   the same field and popover, its rows checkboxes, and the filter popover's foot: Clear,
   kept in place while hidden, and Done, the primary button filling the rest. The closed
   field's server-drawn names are joined here until the script writes them itself. */
.pm-selectfield__chosen + .pm-selectfield__chosen::before { content: ", "; }
.pm-selectfield--multiple .pm-selectfield__popover { display: flex; flex-direction: column; }
.pm-selectfield--multiple .pm-selectfield__popover[hidden] { display: none; }
.pm-selectfield--multiple .pm-option[hidden] { display: none; }
.pm-selectfield__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  padding: var(--gap-inline) var(--gap-block);
  border-top: 1px solid var(--color-line-row);
}
.pm-selectfield__done { flex: 1 1 auto; height: var(--size-cta); }
@media (hover: hover) {
  .pm-selectfield .pm-option:hover { background: var(--color-surface-hover); }
}

.pm-selectfield__trigger:disabled { color: var(--color-ink-disabled); cursor: default; }
.pm-selectfield__trigger:disabled i { color: var(--color-ink-disabled); }
@media (hover: hover) {
  .pm-selectfield__trigger:disabled:hover { border-color: var(--color-line-control); }
}

.pm-selectfield .pm-option--meeting { align-items: flex-start; }
.pm-pickrow {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-inline);
  min-width: 0;
}
.pm-pickrow__time { flex: 0 0 var(--size-picker-time); font-variant-numeric: tabular-nums; }
.pm-pickrow__main {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  min-width: 0;
}
.pm-pickrow__meta {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
  text-wrap: pretty;
}
.pm-selectfield__list .pm-pickrow__time,
.pm-selectfield__list .pm-pickrow__place {
  font: var(--type-label) var(--font-text);
  font-weight: 400;
  color: var(--color-ink-strong);
}
.pm-selectfield__list .pm-option--selected .pm-pickrow__time,
.pm-selectfield__list .pm-option--selected .pm-pickrow__place { font-weight: 600; }

.pm-selectfield__list .pm-pickrow__time { font-variant-numeric: tabular-nums; }

@media (max-width: 767px) {
  .pm-selectfield .pm-option__name { font: var(--type-value) var(--font-text); }
  .pm-selectfield .pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-selectfield .pm-option .pm-radio__dot {
    width: var(--size-control-box);
    height: var(--size-control-box);
  }
}

.pm-selectfield--date .pm-selectfield__trigger i { font-size: var(--size-glyph); opacity: 1; }
.pm-selectfield--date[data-open="true"] .pm-selectfield__trigger i { transform: none; }
.pm-selectfield--date .pm-selectfield__popover { right: auto; padding: var(--gap-block); }

:root {
  --size-tour-card: 340px;
  --size-tour-arrow: 12px;
  --space-tour-next: 0 18px;
}
.pm-tour {
  --tour-halo: 9px;
  --tour-halo-radius: 12px;
  --tour-gap: 16px;
  --tour-arrow-inset: 40px;
  --tour-gutter: var(--space-gutter);
}

.pm-tour[hidden],
.pm-tour__count[hidden],
.pm-tour__back[hidden] { display: none; }
.pm-tour__scrim {
  position: fixed;
  inset: 0;
  z-index: var(--layer-tour);
  background: var(--color-scrim);
}

.pm-tour-open .pm-optinarrival {
  position: relative;
  z-index: calc(var(--layer-tour) + 1);
}
.pm-tour__card {
  position: fixed;
  z-index: calc(var(--layer-tour) + 1);
  box-sizing: border-box;
  width: min(var(--size-tour-card), calc(100vw - var(--tour-gutter) * 2));
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  padding: var(--gap-group);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
}

.pm-tour__card:focus { outline: none; }

.pm-tour__arrow {
  position: absolute;
  top: calc(var(--size-tour-arrow) / -2 - 1px);
  width: var(--size-tour-arrow);
  height: var(--size-tour-arrow);
  background: var(--color-surface-card);
  border-left: 1px solid var(--color-line-card);
  border-top: 1px solid var(--color-line-card);
  transform: rotate(45deg);
}
.pm-tour__card--above .pm-tour__arrow {
  top: auto;
  bottom: calc(var(--size-tour-arrow) / -2 - 1px);
  transform: rotate(225deg);
}
.pm-tour__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap-inline);
}
.pm-tour__titles { display: flex; flex-direction: column; gap: var(--gap-chip); }
.pm-tour__count {
  font: var(--type-eyebrow) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.pm-tour__title { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }
.pm-tour__text {
  font: var(--type-prose) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

.pm-tour__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  margin: calc(var(--gap-inline) * -1) calc(var(--gap-inline) * -1) 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-ink-muted);
  font-size: var(--size-glyph);
  line-height: 1;
  cursor: pointer;
}
.pm-tour__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-inline);
  padding-top: var(--gap-hairline);
}
.pm-tour__back {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-tap-min);
  padding: 0;
  background: none;
  border: 0;
  font: var(--type-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  cursor: pointer;
}
@media (hover: hover) {
  .pm-tour__back:hover { color: var(--color-action-hover); text-decoration: underline; }
  .pm-tour__close:hover { color: var(--color-ink-strong); }
}

.pm-tour__next {
  height: var(--size-tap-min);
  margin-left: auto;
  padding: var(--space-tour-next);
  white-space: nowrap;
  cursor: pointer;
}
.pm-tour__back:focus-visible,
.pm-tour__close:focus-visible,
.pm-tour__next:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

@media (max-width: 767px) {
  .pm-tour {
    --tour-halo: 6px;
    --tour-gap: 14px;
    --tour-arrow-inset: 36px;
  }

  .pm-tour__card {
    width: calc(100vw - var(--tour-gutter) * 2);
    padding: var(--gap-block);
  }
}

.pm-change__send {
  display: flex;
  flex-direction: column;
  gap: var(--gap-group);
  padding-top: var(--gap-group);
  border-top: 1px solid var(--color-line-row);
}
.pm-change__sendrow { display: flex; align-items: center; gap: var(--gap-block); flex-wrap: wrap; }
.pm-change__sendrow .pm-helper { flex: 1 1 200px; text-wrap: pretty; }

.pm-change__aside > .pm-aside__block:first-child { border-top: 0; padding-top: 0; }
.pm-steps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--gap-block); }
.pm-steps__list li { display: flex; gap: var(--gap-inline); align-items: flex-start; font: var(--type-meta) var(--font-text); color: var(--color-ink-body); text-wrap: pretty; }
.pm-steps__n {
  flex: none;
  width: var(--size-step);
  height: var(--size-step);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-pill);
  font: var(--type-mark) var(--font-text);
  color: var(--color-ink-body);
}

.pm-mcrresult .pm-pagebody__main { gap: var(--gap-group); }
.pm-changelist { display: flex; flex-direction: column; }
.pm-changelist > .pm-label { padding-bottom: var(--gap-chip); }
.pm-changelist__row,
.pm-changetable__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: var(--gap-block);
  padding: var(--gap-inline) 0;
  border-top: 1px solid var(--color-line-row);
  align-items: start;
}
.pm-changelist__value,
.pm-changetable__to { display: flex; flex-direction: column; gap: var(--gap-hairline); }
.pm-changetable { display: flex; flex-direction: column; }
.pm-changetable__row { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); }
.pm-changetable__row--head { border-top: 0; padding-top: 0; padding-bottom: var(--gap-chip); }
.pm-changetable__from { font: var(--type-value) var(--font-text); color: var(--color-ink-muted); }
.pm-changetable__to { font: var(--type-value) var(--font-text); font-weight: 600; color: var(--color-ink-strong); }
.pm-changetable__prefix { display: none; }
.pm-change__decide { display: flex; flex-direction: column; gap: var(--gap-chip); }
.pm-change__decidebuttons { display: flex; gap: var(--gap-inline); flex-wrap: wrap; }

.pm-button--tall { height: var(--size-cta); }

@media (max-width: 767px) {
  .pm-change { gap: var(--gap-band); }
  .pm-change__head { gap: var(--gap-chip); }
  .pm-action-link--back { min-height: var(--size-tap-min); }
  .pm-change__where { font: var(--type-value) var(--font-text); }
  .pm-change__undo { display: inline-flex; align-items: center; min-height: var(--size-tap-min); margin: calc(var(--gap-inline) * -1) 0; }

  .pm-cal__month { width: 100%; }
  .pm-cal__row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pm-cal__day, .pm-cal__off { height: var(--size-cal-cell-m); font-size: 15px; }

  .pm-selectfield--date .pm-selectfield__popover { right: calc((var(--focus-offset) + 2px) * -1); }

  .pm-setting { gap: var(--gap-chip); padding: 10px 0; }
  .pm-setting__head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label change" "value change";
    gap: var(--gap-hairline) var(--gap-inline);
  }
  .pm-setting__label { grid-area: label; }
  .pm-setting__value { grid-area: value; }
  .pm-setting__change { grid-area: change; min-height: var(--size-tap-min); padding: 0 var(--gap-inline); }
  .pm-setting__body, .pm-setting__was { padding-left: 0; }

  .pm-selectfield__trigger { height: var(--size-input-m); padding: 0 var(--gap-inline); }
  .pm-selectfield--wrap .pm-selectfield__trigger { height: auto; min-height: var(--size-input-m); padding: var(--gap-chip) var(--gap-inline); }

  .pm-changelist__row,
  .pm-changetable__row { grid-template-columns: minmax(0, 1fr); gap: var(--gap-hairline); }
  .pm-changetable__row--head { display: none; }
  .pm-changetable__row .pm-label { order: 1; }
  .pm-changetable__to { order: 2; }
  .pm-changetable__from { order: 3; font: var(--type-helper) var(--font-text); color: var(--color-ink-subtle); }
  .pm-changetable__prefix { display: inline; }
  .pm-changetable__row:nth-child(2) { border-top: 0; }

  .pm-change__decidebuttons .pm-button { flex: 1 1 100%; }
}

.pm-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--layer-consent);
  display: flex;
  align-items: center;
  gap: var(--gap-block);
  padding: var(--space-consent);
  background: var(--color-surface-card);
  border-top: 1px solid var(--color-line-card);
  box-shadow: var(--shadow-bar);
}
.pm-consent[hidden] { display: none; }

.pm-consent:focus { outline: none; }

.pm-consent__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
}
.pm-consent__head {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
}

.pm-consent__logo {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-inline);
}
.pm-consent__title { font: var(--type-card-title) var(--font-text); color: var(--color-ink-strong); }

.pm-consent__sentence {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

.pm-consent__actions {
  flex: 0 0 auto;
  display: flex;
  gap: var(--gap-inline);
}
.pm-consent__actions .pm-button { white-space: nowrap; }

@media (max-width: 767px) {
  .pm-consent {
    flex-direction: column;
    align-items: stretch;
    padding-top: var(--space-bar-top-mobile);
    padding-bottom: var(--space-safe-bottom);
  }
  .pm-consent__actions .pm-button { flex: 1 1 0; }
}

.pm-errorpage {
  display: flex;
  justify-content: center;
  padding: var(--gap-page) var(--space-gutter);
  background: var(--color-surface-hover);
}
.pm-errorcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-group);
  width: 100%;
  max-width: var(--measure-errorcard);
  padding: var(--gap-band);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
.pm-errorcard__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-chip);
  text-align: center;
}
.pm-errorcard .pm-page-title { text-wrap: balance; }

/* An ended or on-hiatus meeting's line (the design system's ErrorCard `meta`, PM1 drop
   94): the mode, its program and its town on one baseline, the glyph on the words' line
   (PM2 finder Phase 5, measured against Screen - Organization error pages; part 1
   centred them, its glyph on a line of its own, 1px off the mock). */
.pm-errorcard__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: var(--gap-glyph) var(--gap-chip);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
}

.pm-errorcard__meta .pm-mode { align-items: baseline; }
.pm-errorcard__sentence {
  font: var(--type-body) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

.pm-errorcard__meta + .pm-errorcard__sentence { padding-top: var(--gap-hairline); }
.pm-errorcard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-inline);
}

@media (max-width: 767px) {
  .pm-errorpage { padding: var(--gap-band) var(--space-gutter) var(--gap-page); }
  .pm-errorcard { padding: var(--gap-group) var(--space-gutter); }
  .pm-errorcard__sentence { font: var(--type-prose) var(--font-text); }

  .pm-errorcard__actions { flex-direction: column; align-self: stretch; }
  .pm-errorcard__actions .pm-button { width: 100%; height: var(--size-button); }
}

/* ==========================================================================
 * PART 2. PM2 ADDITIONS (formerly additions.css)
 * ==========================================================================
 *
 * Design-system pieces the designer specified, a host portal page needed, and PM1's
 * build did not have yet when PM2 built them. Written in the design system's own
 * names (pm-*, the designer's token names), each with its cotton component in
 * design_system/templates/cotton/pm/. "PM2 additions, section N" below is how the
 * templates and design_system/VENDORED.md refer to them.
 *
 * WHAT IS HERE
 *   1. Status banner -- design-system drops 3 and 5 (2026-10-13, 2026-10-26),
 *      StatusBanner, in all four of its tones: success, warning, error and quiet.
 *      Markup: templates/cotton/pm/status_banner.html.
 *   2. Artwork ground -- design-system drop 4 (2026-10-26), --color-art-ground
 *      (tokens/colors.css). A token only: the fill of an artwork's own band, so
 *      nothing flashes while the image loads. Used by the host portal's hero band
 *      (hosts_web.css, .hp-home__band).
 *   3. Square rails -- design-system drop 9 (2026-10-26), tokens/base.css. PM1's
 *      stylesheet now gives every link and button 7px corners, so that a focus ring
 *      follows them; an element that draws a 3px rail opts out with data-rail, or
 *      the rail curls up at both ends.
 *   4. Count field -- design-system drop 5 (2026-10-26), CountField: one number to
 *      enter, large between two buttons on a phone. Markup:
 *      templates/cotton/pm/count_field.html.
 *   5. Action row -- design-system drop 5, ActionRow: a button and the note that
 *      says its deadline or consequence, beside it or under it. Markup:
 *      templates/cotton/pm/action_row.html.
 *   6. Bar chart -- design-system drops 11 and 12 (2026-10-27/28), BarChart, and
 *      the host portal's handoff drops 17 and 18 (screen 13): attendance per
 *      meeting or per month, full and compact sizes, normal and dense forms.
 *      Markup: templates/cotton/pm/bar_chart.html and bar_chart_bar.html.
 *   7. Searchable select and flags -- design-system drop 14 (2026-10-29),
 *      SelectField `searchable`, OptionRow `leading`, Flag; the host portal's handoff
 *      drop 24 (07b, 07b2: the phone country picker). The select field is PM1's
 *      (.pm-selectfield); what searching adds is the .pm-combobox block. Markup:
 *      templates/cotton/pm/select_field.html (`searchable`). With it, the date
 *      field (DateField, 2026-11-14): the select field's trigger opening PM1's
 *      calendar (.pm-cal). Markup: templates/cotton/pm/date_field.html.
 *   8. Quiet button -- design-system drop 15 (2026-10-29), QuietButton with a
 *      glyph; the host portal's handoff drop 26 (the page actions on a meeting's
 *      page). Markup: templates/cotton/pm/quiet_button.html.
 *   9. Text menu -- design-system drop 16 (2026-10-29): TextAction as a menu
 *      button, OptionRow as a menu item radio; the host portal's handoff drop 28
 *      (the Attendance card's reminders menu). Markup:
 *      templates/cotton/pm/text_menu.html.
 *  10. Pathminder navbar -- the design system's SiteNav on a Pathminder-owned
 *      surface (.theme-pathminder, design-system drops 6 and 9): the brand navy,
 *      the reversed logo, the 64px bar. Markup: templates/cotton/pm/navbar.html,
 *      with each surface's brand in its slot. Moved from the host portal's own
 *      stylesheet on 2026-11-08, when the PM2 meeting finder drew it too.
 *  11. Pathminder finder hero -- the design system's artwork band, its short
 *      version (assets/brand/art/pathminder-finder-hero-short.svg, design-system
 *      0bfe486; PM2 finder Option - Hero band 11a). Markup: templates/cotton/pm/intro.html's
 *      band slot.
 *  12. Language picker rows -- PM1's language picker (part 1, .pm-langpicker) with
 *      links for rows, because the finder keeps the language in the URL (PM2
 *      finder F7). Markup: templates/cotton/pm/language_picker.html.
 *  13. Footer -- the design system's rulings over part 1's footer (drop 16, Q22;
 *      its Footer's crisis glyph). Moved from the host portal's own stylesheet on
 *      2026-11-08, when the PM2 meeting finder drew the footer too.
 *  14. Program line and special focus -- design-system drop 17: ProgramLine (a
 *      Pathminder finder row's lead line, with WrapUnit) and GlyphFact `focus`, in
 *      PM1's list row (part 1). Markup: templates/cotton/pm/program_line.html,
 *      glyph_fact.html, meeting_row.html.
 *  15. The meeting list -- the design system's ListScreen well, DayHeader and
 *      ViewToggle over part 1, MeetingCard's phone mode offset, and the list
 *      loading as it scrolls with htmx (no Show more), on every finder (PM2 finder
 *      F15, finder mockups drop 10; drop 105). The host portal has none of them.
 *      Markup: finder/templates/finder/meeting_list.html, templates/cotton/pm/
 *      day_group.html, view_toggle.html.
 *  16. Mode column and empty state -- the design system's ModeLabel (stacked) and
 *      EmptyState glyph over part 1, on both surfaces (PM2 finder F15 and F12).
 *      Markup: templates/cotton/pm/meeting_row.html, empty.html.
 *  17. Location search -- the design system's LocationField, RadiusSelect and
 *      AppliedFilter on part 1's .pm-search, .pm-search__radiusgroup and .pm-chip
 *      (PM2 finder Phase 3c, slice 3). Markup: templates/cotton/pm/location_field.html,
 *      radius_select.html, applied_filter.html.
 *  18. Meeting size and the loading card -- design-system rounds 3 and 4
 *      (2026-11-09): the --color-size-* tokens, SizeMark, GlyphFact `size`,
 *      MeetingCard `form="size"` and MeetingCard `loading`, on part 1's list row.
 *      Markup: templates/cotton/pm/size_mark.html, glyph_fact.html, meeting_row.html.
 *  19. Filters -- the design system's FilterChip, FilterPopover, OptionRow and
 *      EmptyState `results` over part 1's filter row, popovers and Filters sheet
 *      (PM2 finder Phase 3c, slice 4; finder mockups drop 14, Screen - Pathminder
 *      Filters). Markup: templates/cotton/pm/filter_group.html, option_row.html;
 *      finder/templates/finder/_filters.html, _listing.html.
 *  20. The time zone line -- the design system Footer's "Times shown in <zone> time
 *      zone · Re-detect", on both surfaces. Moved from the host portal's stylesheet
 *      on 2026-11-09 (PM2 finder Phase 3c, slice 5). Markup:
 *      templates/cotton/pm/time_zone.html.
 *  21. The map -- any web property's (<c-pm.map>; PM2 finder Phase 3c, slice 6;
 *      finder mockups drop 15, Screen - Pathminder Map): its reveal, controls,
 *      legend, "Search this area", the place popup and the phone's bottom sheet, and
 *      the phone card at any width (MeetingCard `mobile`, `unboxed`). From PM2's map
 *      embeds' styles (meetings/templates/meetings/meeting_map/). Markup:
 *      templates/cotton/pm/map.html, map_place.html, meeting_row.html.
 */

:root {
  /* ---- Status banner: the designer's colours for its two tones of its own, under
   * the designer's names (tokens/colors.css in the design-system drop). Status teal
   * and status amber are for banners only: never a pill, a rail or anything on the
   * map. The error tone takes the design system's canceled red, and the quiet tone
   * its ordinary inks; both are in part 1 already. */
  --color-status-success-ink: #0f4a43;     /* its words, and Dismiss */
  --color-status-success-glyph: #17675d;
  --color-status-success-bg: #e3f2f0;
  --color-status-success-line: #8cc4bc;
  --color-status-warning-ink: #5e400c;
  --color-status-warning-glyph: #8a6116;
  --color-status-warning-bg: #fbf3e2;
  --color-status-warning-line: #e3c98f;
  /* ... and its measurements, which the designer's component writes in place. */
  --mix-statusbanner-hover: 8%;            /* how much of the ink tints Dismiss under a pointer */
  --space-statusbanner: 14px 6px 14px 16px; /* Dismiss brings its own room on the right */
  --space-statusbanner-bare: 14px 16px;    /* ... and a banner without one */
  --space-statusbanner-close: -11px 0;     /* ... and overhangs the padding above and below it */
  --size-statusbanner-glyph: 18px;
  --size-statusbanner-close-glyph: 14px;
  --line-statusbanner-glyph: 1.3;          /* the glyph on the lead's line height, so they share a first line */
  --measure-statusbanner: 640px;           /* its widest on desktop, padding and border included */

  /* ---- Count field: the screen's one large number, on a phone only. The design
   * system's own name for it is --type-count-field, because PM1's --type-count is
   * the 13px count beside a filter option (design-system drop 6). */
  --type-count-field: 700 56px/1;
  --size-countfield: 200px;                /* desktop: an ordinary field, this wide */
  --size-countfield-step: 72px;            /* phone: each button's width */
  --size-countfield-row: 80px;             /* ... and the row's height: buttons and field */
  --size-countfield-glyph: 24px;           /* the minus and plus */
  --space-countfield-input: 0 6px;         /* the number has the field nearly to itself */

  /* ---- Action row: a note beside its button drops under it below this width,
   * and is never wider than this. */
  --size-actionrow-note: 260px;
  --measure-actionrow-note: 560px;

  /* ---- Artwork ground: the cream that artwork is drawn on. It is a marketing
   * colour, and this is the ONLY place the design system lets one be a CSS value:
   * as the background of the band an artwork sits in. Never text, a button, a
   * border, a fill or a glyph. */
  --color-art-ground: #f7f4ec;

  /* ---- Bar chart: the designer's sizes (Design System Update - Attendance
   * History, 2026-10-27), desktop first; the phone's are re-pointed below. */
  --size-barchart-plot: 200px;             /* the plot's height, full size */
  --size-barchart-plot-m: 160px;
  --size-barchart-plot-compact: 96px;      /* ... compact (the Attendance card) */
  --size-barchart-plot-compact-m: 80px;
  --size-barchart-bar: 36px;               /* a bar's widest */
  --size-barchart-bar-m: 20px;
  --gap-barchart-slot: 9px;                /* between slots, sparse form */
  --gap-barchart-slot-m: 4px;
  --gap-barchart-dense: 2px;               /* ... dense form */
  --gap-barchart-dense-m: 1px;
  --gap-barchart-value: 4px;               /* the count, above its bar */
  --gap-barchart-lines: 4px;               /* the gap lines stand 16px under the axis: 12 + 4 */
  --size-barchart-headroom: 18px;          /* the dense plot's empty top, where the selected count stands */
  --size-barchart-pick: 14px;              /* ... that count's line, and a selected gap's glyph */
  --size-barchart-mark: 6px;               /* a gap in the dense form: a mark under the baseline */
  --size-barchart-axis-line: 17.5px;       /* an axis line, empty or not */
  --size-barchart-readout: 20px;           /* the dense readout's line, before anything is read */
  --size-barchart-digit: 8px;              /* the dense y-axis labels' column: this per digit of its top value */
  --size-barchart-sep: 4px;                /* ... and this per grouping separator ("15,000") */
  --line-barchart-gap-glyph: 19px;         /* a gap line's glyph, on its text's first line */
  --line-barchart-legend-glyph: 21px;      /* ... and a legend label's, on its label's line */

  /* ---- Searchable select and flags (design-system drop 14). */
  --size-flag-w: 20px;                     /* a country's flag, 4:3 */
  --size-flag-h: 15px;
  --radius-flag: 2px;
  --opacity-option-lead-disabled: 0.45;    /* a disabled row's flag */
  --space-option-lead-disabled: 2px;       /* ... set down to its name's first line */
  --space-option-count-disabled: 3px;      /* ... and its count */
  --size-combobox-clear: 13px;             /* the filter's clear glyph */

  /* ---- Text menu (design-system drop 16): its popover's width on desktop, and
   * OptionRow's own padding, which is not the stylesheet's option row's. */
  --size-textmenu: 340px;
  --space-textmenu-row: 9px 16px;
  /* ... and its dialog's link (drop 31, Q61): 600 14px on a line of 1.3, 32px at
   * least, 6px above it and 9px below. */
  --type-textmenu-link: 600 14px/1.3;
  --size-textmenu-link: 32px;
  --space-textmenu-link: 6px 16px 9px;

  /* ---- Action menu (design system, 2026-11-14, round 3): the text menu's popover at
   * least 200px wide unless a page sets its own width; rows of one line, 400 15px on a
   * line of 1.3, 16px sides, a leading mark in a 22px box 12px before the words. */
  --size-actionmenu-min: 200px;
  --type-actionmenu-row: 400 15px/1.3;
  --space-actionmenu-row: 0 16px;
  --size-actionmenu-mark: 22px;
}

/* ==========================================================================
   Status banner (<c-pm.status-banner>)
   The outcome of something the person just did, said where they will notice it.
   Not .pm-banner, which is the finder's "this meeting is canceled" and
   announcement banner: a different thing with a different meaning.
   ========================================================================== */

/* THE TONE IS FIVE COLOURS, set on the banner itself; every part below reads them.
   So a tone is one short rule, and the parts are written once. Success is the
   default; the others are modifiers (the designer's StatusBanner `tone`). */
.pm-statusbanner {
  --statusbanner-bg: var(--color-status-success-bg);
  --statusbanner-line: var(--color-status-success-line);
  --statusbanner-glyph: var(--color-status-success-glyph);
  --statusbanner-lead: var(--color-status-success-ink);
  --statusbanner-message: var(--color-status-success-ink);
}
.pm-statusbanner--warning {
  --statusbanner-bg: var(--color-status-warning-bg);
  --statusbanner-line: var(--color-status-warning-line);
  --statusbanner-glyph: var(--color-status-warning-glyph);
  --statusbanner-lead: var(--color-status-warning-ink);
  --statusbanner-message: var(--color-status-warning-ink);
}
/* Error is the design system's canceled red, in all three inks. */
.pm-statusbanner--error {
  --statusbanner-bg: var(--color-canceled-bg);
  --statusbanner-line: var(--color-canceled-line);
  --statusbanner-glyph: var(--color-canceled);
  --statusbanner-lead: var(--color-canceled);
  --statusbanner-message: var(--color-canceled);
}
/* Quiet is the note's grey with the card's edge: an outcome worth saying that
   needs no colour ("Check your email."). */
.pm-statusbanner--quiet {
  --statusbanner-bg: var(--color-surface-hover);
  --statusbanner-line: var(--color-line-card);
  --statusbanner-glyph: var(--color-ink-glyph);
  --statusbanner-lead: var(--color-ink-strong);
  --statusbanner-message: var(--color-ink-body);
}

/* The designer's values, measured against the host portal's Log out and Account
   mocks (handoff drops 7 and 8). On desktop it is at most 640px wide, edge to
   edge. */
.pm-statusbanner {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-chip);
  max-width: var(--measure-statusbanner);
  padding: var(--space-statusbanner-bare);
  background: var(--statusbanner-bg);
  border: 1px solid var(--statusbanner-line);
  border-radius: var(--radius-card);
  /* Clear of the screen's edge when its script brings it into view. */
  scroll-margin: var(--gap-block);
}
/* Dismiss brings its own room on the right. */
.pm-statusbanner:has(.pm-statusbanner__close) { padding: var(--space-statusbanner); }
.pm-statusbanner__glyph {
  flex: none;
  font-size: var(--size-statusbanner-glyph);
  line-height: var(--line-statusbanner-glyph);
  color: var(--statusbanner-glyph);
}
/* The lead, and the sentence 3px under it. Both are evened out over their lines
   (text-wrap: pretty), as the designer's component sets them (handoff drop 14,
   Q10). */
.pm-statusbanner__text {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  flex: 1;
  min-width: 0;
}
.pm-statusbanner__lead {
  font: var(--type-label) var(--font-text);
  color: var(--statusbanner-lead);
  text-wrap: pretty;
}
.pm-statusbanner__message {
  font: var(--type-meta) var(--font-text);
  color: var(--statusbanner-message);
  text-wrap: pretty;
}
/* Dismiss: 44px to press. Its margin lets it overhang the banner's padding, so a
   banner with a lead alone is no taller for having it. Under a pointer it takes a
   tint of the banner's own ink (mixed here, so the ink is written once). */
.pm-statusbanner__close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  margin: var(--space-statusbanner-close);
  border-radius: var(--radius-inline);
  color: var(--statusbanner-lead);
}
.pm-statusbanner__close i { font-size: var(--size-statusbanner-close-glyph); line-height: 1; }
@media (hover: hover) {
  .pm-statusbanner__close:hover {
    background: color-mix(in srgb, var(--statusbanner-lead) var(--mix-statusbanner-hover), transparent);
  }
}
.pm-statusbanner__close:active {
  background: color-mix(in srgb, var(--statusbanner-lead) var(--mix-statusbanner-hover), transparent);
}
@media (max-width: 767px) {
  /* The whole width of its column, inside the 16px gutter. */
  .pm-statusbanner { max-width: none; }
}

/* ==========================================================================
   Square rails (design-system drop 9, tokens/base.css)
   ========================================================================== */

/* A link or button that draws a 3px rail -- a nav item, a menu row, a section
   link -- stays square, focus ring included; a rail never follows the corners.
   (PM1's own nav links already set this; the attribute is for the rest.) */
[data-rail] { border-radius: 0; }

/* ==========================================================================
   Count field (<c-pm.count-field>, design-system drop 5, CountField)
   ========================================================================== */

/* Its label, then the field, then the helper or the error: 6px apart, as every
   field (.pm-field). */
.pm-countfield {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
}
.pm-countfield__row {
  display: flex;
  align-items: stretch;
  gap: var(--gap-chip);
}
.pm-countfield .pm-countfield__input { font-variant-numeric: tabular-nums; }
/* On the selected tint, the helper takes the ink for a tinted ground (design
   system, Surfaces): the subtle grey is for white only. */
.pm-countfield--on-tint .pm-helper { color: var(--color-ink-muted); }

/* Desktop: the design system's ordinary number field, 200px wide -- the whole
   field, its label and helper too, as the designer's CountField is (a long
   question wraps above the box). The buttons are for phones only. */
@media not all and (max-width: 767px) {
  .pm-countfield { max-width: var(--size-countfield); }
  .pm-countfield__step { display: none; }
}

@media (max-width: 767px) {
  /* "One fewer" and "One more": 72 x 80, white, the control's edge and corners,
     the glyph in the action colour. Hidden (the attribute) until its script runs. */
  .pm-countfield__step {
    flex: 0 0 var(--size-countfield-step);
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--size-countfield-row);
    padding: 0;
    background: var(--color-surface-card);
    border: 1px solid var(--color-line-control);
    border-radius: var(--radius-control);
    color: var(--color-action);
    cursor: pointer;
  }
  .pm-countfield__step[hidden] { display: none; }
  .pm-countfield__step i { font-size: var(--size-countfield-glyph); line-height: 1; }
  @media (hover: hover) {
    .pm-countfield__step:hover { background: var(--color-surface-hover); }
  }
  .pm-countfield__step:active { background: var(--color-surface-hover); }

  /* The number: the screen's one large figure, centred, filling the room between
     the buttons. A digit keypad opens for it (inputmode). */
  .pm-countfield .pm-countfield__input {
    flex: 1 1 auto;
    min-width: 0;
    height: var(--size-countfield-row);
    padding: var(--space-countfield-input);
    font: var(--type-count-field) var(--font-text);
    font-variant-numeric: tabular-nums;
    text-align: center;
  }
}

/* ==========================================================================
   Action row (<c-pm.action-row>, design-system drop 5, ActionRow)
   ========================================================================== */

/* Desktop, one button sized to its label: the note BESIDE it, centred on it, 22px
   away, dropping 9px under it when less than 260px is left. */
.pm-actionrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-chip) var(--gap-group);
}
.pm-actionrow__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-block);
}
.pm-actionrow__note {
  flex: 1 1 var(--size-actionrow-note);
  max-width: var(--measure-actionrow-note);
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
  text-wrap: pretty;
}
/* On the selected tint, the ink for a tinted ground. */
.pm-actionrow--on-tint .pm-actionrow__note { color: var(--color-ink-muted); }
/* Two actions or more: the note goes UNDER the whole row, 9px; beside, it would
   read as belonging to the last one only. */
.pm-actionrow--stack {
  flex-direction: column;
  align-items: flex-start;
}
.pm-actionrow--stack .pm-actionrow__note { flex: none; }

@media (max-width: 767px) {
  /* On a phone every button is full width, so the note is always under it. */
  .pm-actionrow {
    flex-direction: column;
    align-items: stretch;
  }
  .pm-actionrow__note { flex: none; }
  .pm-actionrow__actions .pm-button { width: 100%; }
}

/* ==========================================================================
   Bar chart (<c-pm.bar-chart>, design-system drops 11 and 12, BarChart)
   Attendance: one bar per meeting or per month, in the meeting's mode colour;
   square bars. The normal form prints the count above each bar and has no
   gridlines and no y-axis; the dense form has no counts, so it has a y-axis.
   ========================================================================== */

/* The legend, the plot and its axis, and the gap lines: 12px apart. */
.pm-barchart {
  --barchart-plot: var(--size-barchart-plot);
  --barchart-bar: var(--size-barchart-bar);
  --barchart-gap: var(--gap-barchart-slot);
  --barchart-dense-gap: var(--gap-barchart-dense);
  --barchart-axis-gap: var(--gap-chip);
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline);
}
.pm-barchart--compact {
  --barchart-plot: var(--size-barchart-plot-compact);
  --barchart-axis-gap: var(--gap-glyph);
}
.pm-barchart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-block);
}
/* Each label one text line tall, its glyph at the top on a line as tall as the
   label's (21px), as the design system's ModeLabel draws it inline. */
.pm-barchart__legend .pm-mode { align-items: flex-start; }
.pm-barchart__legend .pm-mode i { line-height: var(--line-barchart-legend-glyph); }

/* ---- Normal form: a count over every bar. ---- */
.pm-barchart__sparse {
  display: flex;
  flex-direction: column;
  gap: var(--barchart-axis-gap);
}
/* The plot is its height ABOVE the baseline (content-box): the 1px line is under it,
   not taken out of it, so the tallest bar is 82% of the full height. */
.pm-barchart__plot {
  display: flex;
  align-items: stretch;
  gap: var(--barchart-gap);
  box-sizing: content-box;
  height: var(--barchart-plot);
  border-bottom: 1px solid var(--color-line-control);
}
/* Every slot is the same width; its bar (or its gap's glyph) stands on the
   baseline with the count 4px above it. */
.pm-barchart__slot {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: var(--gap-barchart-value);
}
.pm-barchart__value {
  font: var(--type-field-label) var(--font-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-strong);
  white-space: nowrap;
}
/* The bar: its height is its own attribute (a share of the plot). Where the count
   over the tallest bar would rise out of the plot -- the compact chart has 96px for
   14px of count, 4px and 82% of 96 -- the bar gives way and the count stays in, as
   the design system's BarChart does. */
.pm-barchart__bar {
  display: block;
  flex: 0 1 auto;
  min-height: 0;
  width: 100%;
  max-width: var(--barchart-bar);
  overflow: hidden;
}
/* A one-mode bar is the SVG's own fill; a split bar draws its two parts in it. */
.pm-barchart__bar--in-person { background: var(--color-mode-in-person); }
.pm-barchart__bar--online { background: var(--color-mode-online); }
/* A count that isn't attendance (a report's page views by day): the body ink (BarChart
   mode="none"). */
.pm-barchart__bar--none { background: var(--color-ink-body); }
.pm-barchart__fill--in-person { fill: var(--color-mode-in-person); }
.pm-barchart__fill--online { fill: var(--color-mode-online); }
/* A slot with no count keeps its place and shows the glyph of its meaning, 6px
   above the baseline. */
.pm-barchart__slot > .pm-barchart__glyph {
  padding-bottom: var(--gap-glyph);
}
.pm-barchart__glyph {
  font-size: var(--size-glyph-sm);
  line-height: 1;
}
.pm-barchart__glyph--canceled { color: var(--color-canceled); }
.pm-barchart__glyph--none { color: var(--color-ink-glyph); }

/* Under each slot: the day, and the month at the first slot and where it
   changes (a month's chart: the month, and the year where it changes). Two lines
   at both sizes (handoff drop 18). */
.pm-barchart__axis {
  display: flex;
  gap: var(--barchart-gap);
}
.pm-barchart__tick {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font: var(--type-caption) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
  white-space: nowrap;
}
.pm-barchart__tick-line { min-height: var(--size-barchart-axis-line); }
.pm-barchart__tick-mobile { display: none; }

/* ---- Dense form: slots too narrow for their counts (handoff 13j, 13l, 13m). ---- */
.pm-barchart__dense {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
}
/* The selected slot, read out: its date, then its value. Announced as it moves. */
.pm-barchart__readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gap-hairline) var(--gap-chip);
  min-height: var(--size-barchart-readout);
}
.pm-barchart__readout-date {
  font: var(--type-label) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-strong);
}
.pm-barchart__readout-value {
  font: var(--type-meta) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-body);
}
/* The y-axis, the plot, its gap marks and its months are one tab stop. A finger
   dragging across it moves the selection; dragging up and down still scrolls. Two
   columns: the y-axis labels (as wide as the top value's digits, 8px each) and,
   6px to their right, the plot -- the marks and the months stand under the plot,
   not under the labels (handoff drop 18). */
.pm-barchart__scrub {
  /* The labels' column: the top value as written, 8px a digit and 4px a separator
     ("15,000": 44px; design-system 0e37382). The classes below set the two counts. */
  --barchart-digits: 1;
  --barchart-seps: 0;
  --barchart-gutter: calc(var(--barchart-digits) * var(--size-barchart-digit) + var(--barchart-seps) * var(--size-barchart-sep));
  display: grid;
  grid-template-columns: var(--barchart-gutter) minmax(0, 1fr);
  column-gap: var(--gap-glyph);
  touch-action: pan-y;
  cursor: default;
  border-radius: var(--radius-inline);
}
.pm-barchart__scrub--gutter-2 { --barchart-digits: 2; }
.pm-barchart__scrub--gutter-3 { --barchart-digits: 3; }
.pm-barchart__scrub--gutter-4 { --barchart-digits: 4; }
.pm-barchart__scrub--gutter-5 { --barchart-digits: 5; }
.pm-barchart__scrub--gutter-6 { --barchart-digits: 6; }
.pm-barchart__scrub--gutter-7 { --barchart-digits: 7; }
.pm-barchart__scrub--seps-1 { --barchart-seps: 1; }
.pm-barchart__scrub--seps-2 { --barchart-seps: 2; }
.pm-barchart__marks,
.pm-barchart__months { grid-column: 2; }
/* The y-axis: 0 and round steps, each label right-aligned and centred on its
   line, which is drawn behind the bars (1px, the hairline grey; the baseline
   keeps the control grey). A label or line sits at 0, 33, 50, 67 or 100% of the
   plot below its headroom: one, two or three lines above 0. The labels' column
   starts where the headroom ends, so the same classes place both. */
.pm-barchart__yaxis {
  position: relative;
  height: calc(var(--barchart-plot) - var(--size-barchart-headroom));
  margin-top: var(--size-barchart-headroom);
  font: var(--type-caption) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
}
.pm-barchart__grid {
  position: absolute;
  top: var(--size-barchart-headroom);
  right: 0;
  bottom: 0;
  left: 0;
}
.pm-barchart__ylabel {
  position: absolute;
  right: 0;
  line-height: 1;
  transform: translateY(50%);
}
.pm-barchart__gridline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--color-line-row);
}
.pm-barchart__at-0 { bottom: 0; }
.pm-barchart__at-33 { bottom: 33.33%; }
.pm-barchart__at-50 { bottom: 50%; }
.pm-barchart__at-67 { bottom: 66.67%; }
.pm-barchart__at-100 { bottom: 100%; }
/* The plot keeps its height; its top 18px are headroom, so the slots -- and the
   bars, as shares of them -- scale to what is under it (handoff drop 19). The bars
   stand in front of the gridlines (positioned, and after them). */
.pm-barchart__plot--dense {
  position: relative;
  gap: var(--barchart-dense-gap);
  height: calc(var(--barchart-plot) - var(--size-barchart-headroom));
  padding-top: var(--size-barchart-headroom);
}
.pm-barchart__plot--dense .pm-barchart__slot {
  position: relative;
  align-items: stretch;
  gap: 0;
}
.pm-barchart__plot--dense .pm-barchart__bar { max-width: none; }

/* The selected slot (handoff drop 22; design-system drop 13). Its count stands in
   the headroom, centred on the bar, on a white patch so no gridline crosses it,
   and a 1px guide joins it to the bar's top; the bar takes a darker shade of its
   mode colour. A selected gap: its column is highlighted down to the baseline,
   with its glyph in the headroom and the guide the full height. Nothing else
   changes: the other bars are never faded (faded reads as disabled). */
.pm-barchart__pick,
.pm-barchart__guide { display: none; }
.pm-barchart__slot--selected .pm-barchart__pick {
  display: block;
  position: absolute;
  top: calc(-1 * var(--size-barchart-headroom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0 var(--gap-hairline);
  background: var(--color-surface-card);
  font: var(--type-field-label) var(--font-text);
  line-height: var(--size-barchart-pick);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-strong);
  white-space: nowrap;
}
.pm-barchart__slot--selected .pm-barchart__pick--glyph {
  display: flex;
  padding: 0 2px;
}
.pm-barchart__pick--glyph .bi {
  font-size: var(--size-barchart-pick);
  line-height: 1;
}
.pm-barchart__slot--selected .pm-barchart__guide {
  display: block;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  align-self: center;
  width: 1px;
  background: var(--color-ink-muted);
}
.pm-barchart__slot--gap.pm-barchart__slot--selected::before {
  content: "";
  position: absolute;
  inset: 0 -1px;
  background: var(--color-line-row);
}
.pm-barchart__slot--selected .pm-barchart__bar--in-person { background: color-mix(in srgb, var(--color-mode-in-person) 75%, var(--color-ink-strong)); }
.pm-barchart__slot--selected .pm-barchart__bar--online { background: color-mix(in srgb, var(--color-mode-online) 75%, var(--color-ink-strong)); }
.pm-barchart__slot--selected .pm-barchart__bar--none { background: var(--color-ink-strong); }
.pm-barchart__slot--selected .pm-barchart__fill--in-person { fill: color-mix(in srgb, var(--color-mode-in-person) 75%, var(--color-ink-strong)); }
.pm-barchart__slot--selected .pm-barchart__fill--online { fill: color-mix(in srgb, var(--color-mode-online) 75%, var(--color-ink-strong)); }

/* A meeting with no count leaves its slot empty (the plot only holds counts) and
   gets a mark in a 6px strip 3px under the baseline: the slot's full width, at
   least 2px, in its meaning's colour. A real count of 0 has no bar and no mark.
   The marks and the months are rows of cells as wide as the slots. */
.pm-barchart__marks,
.pm-barchart__months {
  display: flex;
  gap: var(--barchart-dense-gap);
}
.pm-barchart__marks {
  height: var(--size-barchart-mark);
  margin-top: var(--gap-hairline);
}
.pm-barchart__markslot,
.pm-barchart__month {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}
.pm-barchart__markslot { justify-content: center; }
.pm-barchart__mark {
  width: 100%;
  min-width: 2px;
}
.pm-barchart__mark--canceled { background: var(--color-canceled); }
.pm-barchart__mark--none { background: var(--color-ink-glyph); }
/* One line: each month's name at its first slot, from that slot's left edge (it
   runs on over the slots after it). A month whose label the next one would crowd
   is left blank (handoff drop 18): its "off" class for the breakpoint, which the
   server guesses and pmChart sets from the measured plot (drop 23, Q54). Hidden,
   not removed, so it can still be measured; it takes no room either way. */
.pm-barchart__months {
  padding-top: var(--gap-glyph);
  height: var(--size-barchart-axis-line);
  box-sizing: content-box;
  font: var(--type-caption) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
}
.pm-barchart__month {
  white-space: nowrap;
  overflow: visible;
}
.pm-barchart__hint {
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-barchart__hint--mobile,
.pm-barchart__hint--keys { display: none; }
/* The arrow keys are offered only while the plot has keyboard focus; the plot's
   label says so to a screen reader all along (handoff drop 19). */
.pm-barchart__dense:has(.pm-barchart__scrub:focus-visible) .pm-barchart__hint { display: none; }
.pm-barchart__dense:has(.pm-barchart__scrub:focus-visible) .pm-barchart__hint--keys { display: inline; }

/* WHICH FORM SHOWS. A chart of meetings carries both: the dense one where the
   chart is dense at this breakpoint, the normal one elsewhere. pmChart sets both
   classes alike from the measured plot (handoff drop 23, Q54); until then, or with
   no script, they are the server's guess per breakpoint. */
@media not all and (max-width: 767px) {
  .pm-barchart--dense-desktop .pm-barchart__sparse,
  .pm-barchart:not(.pm-barchart--dense-desktop) .pm-barchart__dense { display: none; }
  .pm-barchart__monthname--off-desktop { visibility: hidden; }
}

/* ---- One line per kind of gap, 16px under the axis, 6px apart. ---- */
.pm-barchart__gaps {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  margin: 0;
  padding: var(--gap-barchart-lines) 0 0;
  list-style: none;
}
.pm-barchart__gapline {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-glyph);
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-barchart__gapline .pm-barchart__glyph {
  flex: none;
  line-height: var(--line-barchart-gap-glyph);
}
.pm-barchart__gapline > span {
  flex: 1 1 auto;
  min-width: 0;
}
.pm-barchart__gapline strong {
  font-weight: 600;
  color: var(--color-ink-body);
}

@media (max-width: 767px) {
  .pm-barchart {
    --barchart-plot: var(--size-barchart-plot-m);
    --barchart-bar: var(--size-barchart-bar-m);
    --barchart-gap: var(--gap-barchart-slot-m);
    --barchart-dense-gap: var(--gap-barchart-dense-m);
  }
  .pm-barchart--compact { --barchart-plot: var(--size-barchart-plot-compact-m); }
  .pm-barchart__value {
    font: var(--type-glyph-label) var(--font-text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .pm-barchart__slot--selected .pm-barchart__pick {
    font: var(--type-glyph-label) var(--font-text);
    line-height: var(--size-barchart-pick);
    font-variant-numeric: tabular-nums; /* the shorthand above resets it */
  }
  .pm-barchart__tick-desktop { display: none; }
  .pm-barchart__tick-mobile { display: inline; }
  .pm-barchart__hint--desktop { display: none; }
  .pm-barchart__hint--mobile { display: inline; }
  /* Which form shows (see above), on a phone. */
  .pm-barchart--dense-mobile .pm-barchart__sparse,
  .pm-barchart:not(.pm-barchart--dense-mobile) .pm-barchart__dense { display: none; }
  .pm-barchart__monthname--off-mobile { visibility: hidden; }
}

/* ==========================================================================
   7. Searchable select and flags (design-system drop 14: SelectField
      `searchable`, OptionRow `leading`, Flag; host portal handoff drop 24, 07b)
   ========================================================================== */

/* A country's flag: an image, 4:3, its corners just softened. Decoration beside
   the name, never instead of it (alt=""). */
.pm-flag {
  display: block;
  flex: none;
  width: var(--size-flag-w);
  height: var(--size-flag-h);
  border-radius: var(--radius-flag);
  object-fit: cover;
}

/* The closed field: the flag, then the dial code. */
.pm-combobox .pm-selectfield__value {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
}
/* Empty, it's a plain line like any select's, so its placeholder sits where theirs do. */
.pm-combobox .pm-selectfield__value:empty { display: block; }

/* The filter, fixed above the list: only the list scrolls. Its sides are the rows'
   inset, 16px, so the field lines up with the radios (design system, 2026-11-11: one
   search block for SelectField and FilterOptions; it was 12px). */
.pm-combobox__search {
  padding: var(--gap-glyph) var(--gap-block);
  border-bottom: 1px solid var(--color-line-row);
}
/* THE SEARCH FIELD (<c-pm.search-field>; the design system's SearchField, shared by
   SelectField and FilterOptions): 44px, a 1px action border, the glyph 9px from the
   words, the ✕ once there is text, the focus ring on the box. */
.pm-searchfield {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  height: var(--size-tap-min);
  padding: 0 var(--gap-inline);
  border: 1px solid var(--color-action);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
}
.pm-searchfield:focus-within { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
/* The magnifier on one line of its own size, centred on the box, as the design
   system's SearchField sets it (lineHeight 1). */
.pm-searchfield .bi-search {
  flex: none;
  font-size: var(--size-glyph-sm);
  line-height: 1;
  color: var(--color-ink-muted);
}
.pm-searchfield__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: var(--type-body) var(--font-text);
  line-height: 1;
  color: var(--color-ink-strong);
}
.pm-searchfield__input::placeholder { color: var(--color-ink-subtle); }
/* The box draws the ring; the field inside it draws none. */
.pm-searchfield__input:focus,
.pm-searchfield__input:focus-visible { outline: none; }
/* The ✕: a 28px button, its glyph centred, reaching 8px into the field's right padding,
   as the design system's SearchField draws it (its glyph 11.5px from the box's inner
   right edge). Measured against Support an organization's mock, 2026-11-23; it had been
   3.5px further in. */
.pm-searchfield__clear {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-right: -8px;
  color: var(--color-ink-muted);
}
.pm-searchfield__clear i { font-size: var(--size-combobox-clear); line-height: 1; }
.pm-searchfield__clear[hidden] { display: none; }

/* One line per row: radio, flag, name, count. The highlighted row (the arrow keys'
   place) takes the hover fill; the chosen one its checked radio and 600 name. */
.pm-combobox .pm-option[hidden] { display: none; }
.pm-combobox .pm-option--active { background: var(--color-surface-hover); }
.pm-combobox .pm-option[aria-selected="true"] .pm-radio__dot {
  border: var(--size-radio-ring) solid var(--color-action);
}
/* The count (a dial code) centred on its row, and a reason 3px under its name, as
   OptionRow draws them; the stylesheet's rows set both on the name's baseline. */
.pm-combobox .pm-option__count { flex: none; align-self: center; }
.pm-combobox .pm-option__text { gap: var(--gap-hairline); }
.pm-combobox .pm-option__name b { font-weight: 700; }
/* Disabled, with its reason under the name: everything from the top, the flag
   faded and set down to the name's first line. */
.pm-combobox .pm-option--empty { align-items: flex-start; cursor: not-allowed; }
.pm-combobox .pm-option--empty .pm-option__text { align-self: flex-start; }
.pm-combobox .pm-option--empty .pm-option__lead {
  margin-top: var(--space-option-lead-disabled);
  opacity: var(--opacity-option-lead-disabled);
}
.pm-combobox .pm-option--empty .pm-option__count {
  align-self: flex-start;
  margin-top: var(--space-option-count-disabled);
}

/* Nothing matches: 'No country matches "Iceland".' (SelectField and FilterOptions). */
.pm-searchnone {
  margin: 0;
  padding: var(--gap-chip) var(--gap-block);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-searchnone[hidden] { display: none; }
@media (max-width: 767px) {
  /* The stylesheet sizes option rows up for touch on a phone (16px names, 24px
     radios); the searchable list keeps its desktop sizes there, as the design
     system draws it (host portal handoff drop 24, 07b phone): its rows are 44px
     tall already, and 221 of them want the smaller type. */
  .pm-combobox .pm-option__name { font: var(--type-value) var(--font-text); }
  .pm-combobox .pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-combobox .pm-option .pm-radio__dot {
    width: var(--size-control-box);
    height: var(--size-control-box);
  }
}

/* Date field (<c-pm.date-field>, the design system's DateField, 2026-11-14): the select
   field's trigger, its chevron turning up while open, and its popover holding PM1's
   calendar (.pm-cal, part 1): 7px under the trigger, 4px outside its left edge, 16px
   inside; two months wide on desktop, so not held to the field's width. On a phone, one
   month, the popover 4px outside both edges. The calendar's head keeps its title
   centred with a 44px spacer where a month has no arrow (the month on the right has no
   Previous, the one on the left no Next). */
.pm-datefield .pm-selectfield__popover { right: auto; padding: var(--gap-block); }
.pm-cal__spacer { flex: none; width: var(--size-tap-min); }
@media (max-width: 767px) {
  .pm-datefield .pm-selectfield__popover { right: calc((var(--focus-offset) + 2px) * -1); }
}

/* ==========================================================================
   8. Quiet button (<c-pm.quiet-button>, design-system drop 15, QuietButton;
      host portal handoff drop 26, the page actions)
   ========================================================================== */

/* A small outlined control: 600 13px on a white ground, the control line, 9px
   corners. PM1 draws the same control as its host Contact and Manage meeting
   button (.pm-facil__contact), under a name that belongs to that one place and with
   an 11px chevron; this is the design system's general one, with a 15px glyph
   (10px padding + 15px glyph + 1px borders = 38px tall), so it is written here
   under the design system's name.

   Its own radius, not the 7px PM1 gives every link: the design system keeps a
   component's radius on its focus ring (Button and this one, 9px). */
.pm-quietbutton {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  flex: none;
  box-sizing: border-box;
  padding: var(--space-inline-control);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  font: var(--type-glyph-label) var(--font-text);
  line-height: 1;
  color: var(--color-ink-body);
  text-decoration: none;
}
.pm-quietbutton .bi {
  flex: none;
  font-size: var(--size-glyph-sm);
  line-height: 1;
}
/* Hover: the action border and label, never an underline (PM1's `a:hover`
   would add one). Press: the same, instantly, on the quiet fill. */
@media (hover: hover) {
  .pm-quietbutton:hover {
    border-color: var(--color-action);
    color: var(--color-action);
    text-decoration: none;
  }
}
.pm-quietbutton:active {
  border-color: var(--color-action);
  color: var(--color-action);
  background: var(--color-surface-hover);
  text-decoration: none;
}

/* ==========================================================================
   9. Text menu (<c-pm.text-menu>, design-system drop 16: TextAction with
      `haspopup`, OptionRow `role="menuitemradio"`; host portal handoff drop 28)
   ========================================================================== */

/* The trigger: PM1's text action (.pm-action-link: 600 14px, action blue, 6px
   gaps) on a <button>, set on a line of its own height (16px tall with its 15px
   glyph), with no button box. PM1's hover and press rules are for links, so the
   button has its own: the action's darker blue, and the label underlined (the
   glyphs never are). */
/* A flex box, so the trigger is not set on a line of text inside it: on a line it
   would sit on the baseline, a pixel off the centre of the row it is placed in. */
.pm-textmenu { position: relative; display: flex; align-items: center; flex: none; }
.pm-textmenu__trigger {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 1;
  cursor: pointer;
}
.pm-textmenu__glyph { font-size: var(--size-glyph-sm); line-height: 1; }
.pm-textmenu__chevron { font-size: var(--size-glyph-chevron); line-height: 1; }
@media (hover: hover) {
  .pm-textmenu__trigger:hover { color: var(--color-action-hover); }
  .pm-textmenu__trigger:hover .pm-textmenu__label { text-decoration: underline; }
}
.pm-textmenu__trigger:active { color: var(--color-action-hover); }
.pm-textmenu__trigger:active .pm-textmenu__label { text-decoration: underline; }
/* Open (the open-trigger rule): the glyph's filled form, and the chevron turned up.
   Both glyphs are in the markup; aria-expanded, which pmMenu sets, picks one. */
.pm-textmenu__trigger[aria-expanded="false"] .pm-textmenu__glyph--open,
.pm-textmenu__trigger[aria-expanded="true"] .pm-textmenu__glyph:not(.pm-textmenu__glyph--open) {
  display: none;
}
.pm-textmenu__trigger[aria-expanded="true"] .pm-textmenu__chevron { transform: rotate(180deg); }

/* The popover: the design system's (10px corners, the overlay shadow, 6px above
   and below the rows), 6px under the trigger and right-aligned with it. */
.pm-textmenu__popover {
  position: absolute;
  z-index: var(--layer-popover);
  top: calc(100% + var(--gap-glyph));
  right: 0;
  width: var(--size-textmenu);
  box-sizing: border-box;
  padding: var(--gap-glyph) 0;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
}
.pm-textmenu__popover[hidden] { display: none; }

/* The rows: the stylesheet's option row (.pm-option, a radio dot and two lines),
   drawn as the design system's OptionRow: 9px 16px, 12px between the radio and
   the words, 44px at least, the words from the top with 3px between the label and
   its description, no fill or edge for the chosen one -- its radio and its 600
   label say it. A <button>, so its own box is undone. The hover fill is set again
   here: the reset above it would otherwise win. */
.pm-textmenu .pm-option {
  width: 100%;
  box-sizing: border-box;
  min-height: var(--size-tap-min);
  margin: 0;
  padding: var(--space-textmenu-row);
  gap: var(--gap-inline);
  align-items: flex-start;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
}
@media (hover: hover) {
  .pm-textmenu .pm-option:hover { background: var(--color-surface-hover); }
}
.pm-textmenu .pm-option:active { background: var(--color-surface-hover); }
.pm-textmenu .pm-option__text { align-self: flex-start; gap: var(--gap-hairline); }
.pm-textmenu .pm-option[aria-checked="true"] .pm-option__name { font: var(--type-label) var(--font-text); }
.pm-textmenu .pm-option[aria-checked="true"] .pm-radio__dot {
  border: var(--size-radio-ring) solid var(--color-action);
}
/* Square rows meet the popover's edges, so their focus ring is drawn inside them. */
.pm-textmenu .pm-option:focus-visible,
.pm-textmenu__link:focus-visible { outline-offset: calc(var(--focus-offset) * -1); }

/* A text menu with nothing to choose is a small dialog (popup="dialog"; the
   reminders menu with reminders off for the whole account, host portal drop 31,
   Q61): a sentence, then a link 6px under it, 44px tall on a phone. */
.pm-textmenu__note {
  margin: 0;
  padding: var(--space-textmenu-row);
  padding-bottom: 0;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
}
.pm-textmenu__link {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: var(--size-textmenu-link);
  padding: var(--space-textmenu-link);
  font: var(--type-textmenu-link) var(--font-text);
}

/* Action menu (<c-pm.action-menu>, the design system's ActionMenu, 2026-11-14): the text
   menu's trigger and popover, its rows actions. One line each, 44px at least, 16px
   sides, 400 15px in the strong ink, the whole row a link; hover and the keyboard
   highlight fill it (the focus ring stays, inside the row, as the text menu's). A
   row's mark keeps its own colours and proportions in a 22px box. Never underlined: a
   menu row is not a link in a sentence. */
.pm-actionmenu .pm-textmenu__popover { width: auto; min-width: var(--size-actionmenu-min); }
.pm-actionmenu__item {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  box-sizing: border-box;
  width: 100%;
  min-height: var(--size-tap-min);
  padding: var(--space-actionmenu-row);
  font: var(--type-actionmenu-row) var(--font-text);
  color: var(--color-ink-strong);
  text-decoration: none;
  white-space: nowrap;
}
/* A row that isn't in the menu now (ViewTabs' "N more" holds the views the row doesn't show). */
.pm-actionmenu__item[hidden] { display: none; }
.pm-actionmenu__item:focus-visible { background: var(--color-surface-hover); outline-offset: calc(var(--focus-offset) * -1); }
@media (hover: hover) {
  .pm-actionmenu__item:hover { background: var(--color-surface-hover); color: var(--color-ink-strong); text-decoration: none; }
}
.pm-actionmenu__item:active { background: var(--color-surface-hover); color: var(--color-ink-strong); }
.pm-actionmenu__mark {
  display: block;
  flex: none;
  width: var(--size-actionmenu-mark);
  height: var(--size-actionmenu-mark);
  object-fit: contain;
}

@media (max-width: 767px) {
  /* 44px to tap, with no box drawn (the label stays centred in it). */
  .pm-textmenu__trigger { min-height: var(--size-tap-min); }
  .pm-textmenu__link { min-height: var(--size-tap-min); padding: 0 var(--gap-block); }
  /* The stylesheet sizes option rows up for touch on a phone; OptionRow keeps its
     desktop sizes, as the searchable select's rows do (section 7). */
  .pm-textmenu .pm-option__name { font: var(--type-value) var(--font-text); }
  .pm-textmenu .pm-option[aria-checked="true"] .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-textmenu .pm-option .pm-radio__dot {
    width: var(--size-control-box);
    height: var(--size-control-box);
  }
}


/* ==========================================================================
   10. Pathminder navbar (design-system SiteNav, .theme-pathminder; drops 6, 9, 11)
   ==========================================================================

   THE THEME. The design system's navbar is light; a Pathminder-owned surface (the
   host portal, the Pathminder finder, Pathcheck) puts .theme-pathminder on <body>
   and gets the brand navy with white links, and brand cyan for the current page and
   its rail: the one place marketing navy and cyan are UI colours. The bar's 1px
   bottom line is the navy darkened (the drop 95 rule for every dark nav), so the
   bar keeps an edge without a light rule under it. Its tokens are the same ones a
   dark tenant's navbar overrides.

   THE BAR, as SiteNav draws it: 64px, then the 1px line -- 65px at both widths. Its
   links are part 1's (meeting-finder drops 93 and 95), each the bar's full height
   with 3px of padding above the label to balance the 3px rail below it; here the
   row's height is pinned at both widths and the breadcrumb's padding taken out, so
   the site's name sits on the same centre line as the links, each on a line of its
   own height (SiteNav sets them 600 15px/1).

   THE LOGO is a wide lockup, not an organization's square mark, so it is sized by
   height: SiteNav's 34px at both widths, on every surface (design system 9d73e74). At
   34px the reversed logo is 75px wide, past the brand's 72px minimum, and its "P" (the
   clear space) is 9px, the gap before the chevron. It was 30px / 26px (66px / 58px wide)
   until the build raised the minimum with the design-system session (host portal Q64,
   2026-11-20). flex: none keeps the breadcrumb from squeezing it. */
:root {
  --size-nav-logo: 34px;
  --size-nav-logo-mobile: 34px;
  --size-glyph-langpicker: 10px;  /* SiteNav's language chevron */
}
.theme-pathminder {
  --color-nav-bg: #00384D;
  --color-nav-line: color-mix(in srgb, var(--color-nav-bg) 75%, black);
  --color-nav-ink: #ffffff;
  --color-nav-muted: #ffffff;
  --color-nav-active-ink: #6EDEF9;
  --color-nav-active-line: #6EDEF9;
}
.pm-navbar__inner { box-sizing: border-box; height: var(--size-navbar); min-height: 0; }
.pm-breadcrumb { padding: 0; }
.pm-breadcrumb a:last-child { line-height: 1; }
.pm-brand { flex: none; }
/* The logo alone, with no site name (org admin's bar, design-system fa7c1ef): the link
   home in a 44px box, centred on the bar, so a finger can tap it. */
.pm-brand--alone { display: flex; align-items: center; min-height: var(--size-tap-min); }
.pm-brand__logo {
  display: block;
  height: var(--size-nav-logo);
  width: auto;
}
/* SiteNav's chevron: 11px, at the chevron opacity part 1 already gives it. */
.pm-breadcrumb .pm-breadcrumb__sep { font-size: var(--size-glyph-chevron); }

@media not all and (max-width: 767px) {
  .pm-nav > a { line-height: 1; }
  /* The language control, as SiteNav draws it at the end of the links: the label on
     a line of its own height like them, and a 10px chevron (part 1's is 12px). Drop 7
     of the finder mockups made it part 1's; drop 10 gave it back to the design
     system, whose value stands wherever it already decides one. */
  .pm-langpicker__trigger { line-height: 1; }
  .pm-langpicker__trigger .bi-translate { height: auto; }
  .pm-langpicker__trigger .bi-chevron-down { font-size: var(--size-glyph-langpicker); }
}

@media (max-width: 767px) {
  .pm-brand__logo { height: var(--size-nav-logo-mobile); }
  /* The two glyph buttons: the glyph on a line of its own height, so it is centred
     in its 44px button (the stylesheet's inherits the page's line height, which
     sits it 1px higher). */
  .pm-navbar__help i,
  .pm-navbar__toggle i { line-height: 1; }
}


/* ==========================================================================
   11. Pathminder finder hero (design-system drop 17; finder Option - Hero band 11a)
   ==========================================================================

   The Pathminder finder's intro band holds the designer's artwork, not a tenant's
   photograph: its short version, one drawing at both widths, drawn 2400 wide at the
   band's height so a band of any width shows it at 1:1 and crops only its sides
   (design-system 0bfe486), on the artwork's own cream so nothing flashes while it
   loads. The band is the short one on every visit, 96px (88px on a phone; the
   product owner, 2026-11-23). */
.pm-heroart {
  position: relative;
  overflow: hidden;
  background: var(--color-art-ground);
}
.pm-heroart img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The intro card under the band is part 1's (drop 81) on every finder, at both
   widths: the sentence stays on a phone, and the zone line sits 3px under the title
   (finder mockups drops 7 and 10, F14). The design system has no intro card, so
   this is the mock's, not a ruling over the design system. */


/* ==========================================================================
   12. Language picker rows (PM2 finder F7)
   ==========================================================================

   Each row is a link to this page in that language. A link is not a button, so it
   would take the link colour and its hover underline; the rows are option rows,
   drawn in ink like every other. */
.pm-langpicker .pm-option { color: var(--color-ink-strong); }
@media (hover: hover) {
  .pm-langpicker .pm-option:hover { text-decoration: none; }
}
.pm-langpicker .pm-option:active { text-decoration: none; }


/* ==========================================================================
   13. Footer (design-system rulings over part 1: drop 16, Q22; Footer)
   ==========================================================================

   24px under the footer's last line (22px on a phone), the design system's
   --space-footer-end since drop 16 (Q22); part 1 still has 36px and 32px. And the
   crisis line's phone glyph at 13px on the text's own line, as the design system's
   Footer draws it; part 1's is 12px on a line of its own height, which sits it 1px
   lower. */
:root {
  --space-footer-end: 24px;
  --size-glyph-crisis: 13px;
}
.pm-footer__crisis i { font-size: var(--size-glyph-crisis); line-height: 1; }

@media (max-width: 767px) {
  :root { --space-footer-end: 22px; }
}


/* ==========================================================================
   14. Program line and special focus (design-system drop 17)
   ==========================================================================

   THE PROGRAM LINE (ProgramLine; finder Option - Organization in rows, 2e): the
   recovery program's 18px logo and name, then "· United States". It leads a
   Pathminder finder row, 6px above the title (the content grid's row gap), so the
   row's other lines move down one. The name may wrap; the country is one unit that
   never breaks (pmWrapUnit hides its middot when it starts a line). */
:root {
  --size-programline-mark: var(--size-glyph-row);  /* 18px */
  --space-programline-mark-drop: -4px;             /* the logo's baseline shift */
}
.pm-programline { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }
.pm-programline__name { font: var(--type-field-label) var(--font-text); color: var(--color-ink-body); }
.pm-programline--muted .pm-programline__name { color: var(--color-ink-muted); }
.pm-programline__mark {
  width: var(--size-programline-mark);
  height: var(--size-programline-mark);
  object-fit: contain;
  vertical-align: var(--space-programline-mark-drop);
  margin-inline-end: var(--gap-glyph);
}
.pm-programline__unit { white-space: nowrap; }
.pm-programline .pm-middot { color: var(--color-ink-separator); }

.pm-listrow__content > .pm-programline { grid-column: 1 / -1; grid-row: 1; }
.pm-listrow__content:has(> .pm-programline) > .pm-listrow__title { grid-row: 2; }
.pm-listrow__content:has(> .pm-programline) .pm-listrow__sub { grid-row: 3; }
.pm-listrow__content:has(> .pm-programline) > .pm-pill,
.pm-listrow__content:has(> .pm-programline) .pm-listrow__location { grid-row: 4; }
.pm-listrow__content:has(> .pm-programline) > .pm-access { grid-row: 5; }

/* On a phone the program line leads the whole card, above the time (MeetingCard,
   mobile): the content's grid dissolves into the stack, which becomes the grid, so
   the head can take the second row. Part 1 dissolves the head at every width; here
   it is a column again, the canceled chip over the time 6px apart, as part 1's phone
   stack spaces them. Only a row with a program line: the host portal's row keeps
   part 1's phone stack. */
@media (max-width: 767px) {
  .pm-listrow__stack:has(> .pm-listrow__content > .pm-programline) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: var(--gap-glyph) var(--gap-chip);
  }
  .pm-listrow__stack > .pm-listrow__content:has(> .pm-programline) { display: contents; }
  .pm-listrow__stack:has(> .pm-listrow__content > .pm-programline) > .pm-listrow__head {
    display: flex;
    flex-direction: column;
    gap: var(--gap-glyph);
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .pm-listrow__content:has(> .pm-programline) > .pm-listrow__title { grid-row: 3; }
  .pm-listrow__content:has(> .pm-programline) .pm-listrow__sub { grid-row: 4; }
  .pm-listrow__content:has(> .pm-programline) > .pm-pill,
  .pm-listrow__content:has(> .pm-programline) .pm-listrow__location { grid-row: 5; }
  .pm-listrow__content:has(> .pm-programline) > .pm-access { grid-row: 6; }
}

/* SPECIAL FOCUS (GlyphFact `focus`; finder Option - Special focus in rows, 1a): a
   third access fact after the languages and the audiences, drawn as they are. */
.pm-focus {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-glyph);
  font: var(--type-caption) var(--font-text);
  color: var(--color-ink-body);
}
.pm-focus > i { font-size: var(--size-glyph-sm); color: var(--color-ink-glyph); }
.pm-access > .pm-focus {
  align-items: flex-start;
  flex-wrap: nowrap;
  font: var(--type-meta) var(--font-text);
  white-space: normal;
}
.pm-access > .pm-focus > span { min-width: 0; }


/* ==========================================================================
   15. The meeting list (design system ListScreen, DayHeader, ViewToggle; F15)
   ==========================================================================

   The well the cards sit on, the day headers and the List / Map toggle are the
   design system's on every finder: where part 1 (PM1's drops 15 and 20) differs,
   the design system's value stands (finder mockups drop 10, F15 a-f; the Meeting
   List and the organization finder mocks draw them since drop 8). The host portal
   has no well, day headers or toggle, so nothing here reaches it.
   - The well: 16px from the frame on three sides, 22px at the end; on a phone the
     safe-area space at the end (part 1: the page's gutter, 12px above, 30px below).
     Day groups are 22px apart at both widths (part 1: 16px on a phone).
   - A day header: 6px above its words, and the first card 12px under them (part 1:
     9px and 9px). The cover under a header (the padding a stuck header hides cards
     with) is kept: it is as tall as the margin that takes it back, so at rest it
     adds nothing.
   - "New to these meetings?": 13px/1.2 with a 14px glyph, on the header's baseline
     like the day and the date (part 1: line height 1, 12px, centred in the header).
   - On a phone: 3px above the words, the day and the date 9px apart, the date in
     the caption type (part 1: 7.5px, 16px, the meta type).
   - The mode column on a phone sits 5px under the card's padding, where MeetingCard
     puts it (part 1: 2px). Only in the list: the host portal's row centres its mode
     in the row, as its handoff draws it.
   - The phone toggle is ViewToggle `inRow`: 6px above and below it, centred in the
     row (part 1: 3px under it).
   - The verification fact is centred in its 22px slot with no nudge: VerificationMark
     puts the Pathcheck wordmark and "Host-verified" straight in the slot (part 1: 1px
     above the mark, so it sat 0.5px low; measured on the map's phone sheet). */
:root {
  --size-glyph-term-list: 14px;       /* DayHeader's "New to these meetings?" glyph */
  --space-modeblock-card-mobile: 5px; /* MeetingCard, mobile: the mode column's top */
  --space-viewtoggle-inrow: 6px 0;    /* ViewToggle inRow */
}
.pm-results {
  padding: var(--gap-block) var(--gap-block) var(--gap-group);
}
.pm-results .pm-daygroup {
  margin-inline: calc(var(--gap-block) * -1);
  padding: var(--gap-glyph) calc(var(--gap-block) + var(--space-daygroup-inset)) var(--space-daygroup-cover);
}
.pm-results .pm-daygroup__terms {
  align-self: baseline;
  font: var(--type-glyph-label) var(--font-text);
}
.pm-results .pm-daygroup__terms i { font-size: var(--size-glyph-term-list); }
.pm-listrow__proof .pm-verification { margin-top: 0; }

/* LOADING AS YOU SCROLL (htmx; drop 105: "Long lists load as you scroll ... so there is
   no Show more"). The marker reaches 600px up from the end of the list, so it comes on
   screen -- and htmx asks for the next page -- 600px before the end does (PM1's
   distance); it is invisible and takes no clicks. While the request is out the block
   holds htmx-request: the design system's three loading cards (section 18), a group's
   spacing apart, in the link's place. The link (part 1's .pm-more) is the page without
   script, and what a failed request leaves (htmx swaps nothing and drops the class);
   with the next page loaded 600px early, a visitor with script does not otherwise
   reach it.
   At rest the cards and the live region's words are hidden, but not the region: it is
   in the page from the start, so a screen reader hears its words when they appear
   (an empty group, as wide as nothing, beside the link). */
:root {
  --size-rows-ahead: 600px;
}
.pm-more { position: relative; }
.pm-more__ahead {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: var(--size-rows-ahead);
  pointer-events: none;
}
.pm-more:not(.htmx-request) .pm-listrow--loading,
.pm-more:not(.htmx-request) .pm-listrow__announce { display: none; }
/* The first loading card 12px under the last card (9px on a phone): the day's own card
   spacing, not the 22px between day groups, since the next page usually continues the
   same day and the list then does not jump when its rows land (finder drop 24, F21;
   the design system's MeetingCard). */
.pm-more.htmx-request { padding: 0; margin-top: calc(var(--gap-inline) - var(--gap-group)); }
@media (max-width: 767px) {
  .pm-more.htmx-request { margin-top: calc(var(--gap-chip) - var(--gap-group)); }
}
.pm-more.htmx-request .pm-day--loading { flex: 1; }
.pm-more.htmx-request .pm-more__button { display: none; }

/* A NEW LIST ON ITS WAY (finder/_listing.html): while a request that replaces the list
   region is out, the region holds htmx-request. If it is still out after
   --delay-list-loading, the rows are hidden and the design system's three loading cards
   show over the top of the well, in the rows' place; an answer that comes sooner (a
   quick connection, a preloaded list) never shows them, so nothing flickers. 300ms,
   MapStatus's wait (finder drop 24, F43). The words "Loading meetings" appear at the
   same moment in a live region outside the well (finder/_listing.html). Delayed with a
   zero-length animation: visibility switches when its delay ends, and a class that
   goes away cancels it. */
:root { --delay-list-loading: 300ms; }
.pm-results__announce { visibility: hidden; }
.pm-listing.htmx-request .pm-results__announce {
  animation: pm-reveal-late 0s linear var(--delay-list-loading) forwards;
}
.pm-results { position: relative; }
.pm-results__loading {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: inherit;
  padding: inherit;
  visibility: hidden;
}
.pm-listing.htmx-request .pm-results__loading {
  animation: pm-reveal-late 0s linear var(--delay-list-loading) forwards;
}
.pm-listing.htmx-request .pm-results > :not(.pm-results__loading) {
  animation: pm-conceal-late 0s linear var(--delay-list-loading) forwards;
}
@keyframes pm-reveal-late { to { visibility: visible; } }
@keyframes pm-conceal-late { to { visibility: hidden; } }

@media (max-width: 767px) {
  .pm-results {
    gap: var(--gap-group);
    padding-bottom: var(--space-safe-bottom);
  }
  .pm-results .pm-daygroup {
    padding-top: var(--gap-hairline);
    gap: var(--gap-hairline) var(--gap-chip);
  }
  .pm-results .pm-daygroup__date { font: var(--type-caption) var(--font-text); }
  .pm-results .pm-modeblock { padding-top: var(--space-modeblock-card-mobile); }
  .pm-viewrail .pm-viewtoggle {
    padding: var(--space-viewtoggle-inrow);
    margin-bottom: 0;
  }
}


/* ==========================================================================
   16. Mode column and empty state (design system ModeLabel, EmptyState)
   ==========================================================================

   Two places where part 1 and the design system disagree and both surfaces draw
   the piece, so the design system's value is set here for both.

   THE MODE, STACKED (ModeLabel layout="stacked": a row's mode column on desktop):
   the glyph centred in a 24px slot, 3px, the word. Part 1 has no gap and gets the
   slot from the glyph's line height, which sits the word 3px higher (finder
   mockups drop 10, F15). The host portal's handoff draws the design system's, and
   hosts_web.css set it for the portal's rows until 2026-11-09, when it moved here so
   the finder's rows have it too. align-content centres the glyph's line in the
   slot; a browser without it leaves the glyph 1px higher.

   UNDER THE MODE (ModeLabel's `cameraOn` and `distance`; the finder's rows only, as
   the host portal's put nothing there): everything in the column 3px apart, and
   Camera on in the meta type, its glyph 3px above its words, with 3px above and
   below it (part 1: 6px apart, the caption type, no gap). On a phone the column
   keeps part 1's 6px, as ModeLabel's compact form does, and Camera on is the meta
   type on a line of its own height. The distance is measured against the Meeting
   List mock (slice 3); no mock draws Camera on in a row yet, so it follows
   ModeLabel's code.

   THE EMPTY STATE'S GLYPH (EmptyState): 18px on the text's own line height, so
   26px tall, in the disabled ink. Part 1 took PM1 drop 112's line height of 1 (an
   18px-tall glyph, which lifted the host portal's "no meetings" text 6.3px) and the
   glyph ink; the design system keeps its own (finder mockups drop 10, F12). */
@media not all and (max-width: 767px) {
  .pm-modeblock { gap: var(--gap-hairline); }
  .pm-modeblock .pm-mode { gap: var(--gap-hairline); }
  .pm-modeblock .pm-mode i {
    height: var(--size-glyph-mode-box);
    line-height: 1;
    align-content: center;
  }
  .pm-modeblock .pm-condition {
    gap: var(--gap-hairline);
    padding: var(--gap-hairline) 0;
    font: var(--type-meta) var(--font-text);
  }
}
@media (max-width: 767px) {
  .pm-modeblock .pm-condition { font: var(--type-meta) var(--font-text); line-height: 1; }
}
.pm-empty > i { line-height: inherit; color: var(--color-ink-disabled); }


/* ==========================================================================
   17. Location search (design system LocationField, RadiusSelect, AppliedFilter)
   ==========================================================================

   Part 1's search line (.pm-search: the field, the radius picker, the Search button
   that shows only when the suggestions cannot be had) and its suggestion list, as
   PM1's drop 105 handoff draws them. pmPlaceSearch (components.js) opens the list
   with data-open, where PM1's script set an inline display (the page's
   Content-Security-Policy allows no inline style).

   Where the design system draws them differently, its values (measured against the
   Meeting List mock, finder mockups drop 8):
   - LocationField's text and RadiusSelect's "within" and value sit on lines of their
     own height (part 1: the body and label types' lines);
   - AppliedFilter's ✕ is 16px at 75% (part 1: the record's 13px, solid);
   - the search line has 18px under it on desktop (ListScreen; part 1: 16px).
   On a phone, which the design system's UI kit does not draw, the Meeting List
   mock's own spacing: the search line 16px from the intro card and 12px above the
   chips' row, which has 14px under it and 9px between its chips (part 1: 14px and
   0, then 9px above the row, 12px under it and 6px between). */
:root {
  --space-controlrail-end: 18px;
  --space-controlrail-list-mobile: var(--gap-block) var(--gap-block) var(--gap-inline);
  --space-filterbar-end-mobile: 14px;
  --opacity-record-remove: .75;
}
.suggestions-dropdown[data-open="true"] { display: block; }
/* LocationField's list (design system, 2026-11-09): the rule after the action row is a
   line of its own with 6px above and below it, and the "Recent searches" eyebrow has no
   margin of its own (part 1: a border on the action row, and 12px above the eyebrow). */
.suggestions-list .pm-suggestion__rule {
  height: 1px;
  min-height: 0;
  margin: var(--gap-glyph) 0;
  padding: 0;
  border-radius: 0;
  background: var(--color-line-row);
  cursor: default;
}
.suggestions-list .pm-suggestion__eyebrow { margin-top: 0; }
/* A message row ("Looking up places…", "No places match …") starts at the label column
   and is as tall as its words: part 1's rule for every list row (a centred flex row at
   44px) had it centred and 1.2px taller than LocationField draws it. */
.suggestions-list .pm-suggestion__message {
  align-items: flex-start;
  min-height: 0;
  cursor: default;
}
.pm-search__field .pm-input,
.pm-search__radius__label,
.pm-search__radius__value { line-height: 1; }
.pm-chip--applied .bi-x { font-size: var(--size-glyph); opacity: var(--opacity-record-remove); }

@media not all and (max-width: 767px) {
  .pm-controlrail { padding-bottom: var(--space-controlrail-end); }
}
@media (max-width: 767px) {
  .pm-controlrail,
  .pm-intro + .pm-controlrail { padding: var(--space-controlrail-list-mobile); }
  .pm-filterbar {
    gap: var(--gap-chip);
    padding: 0 var(--space-gutter) var(--space-filterbar-end-mobile);
  }
  /* Both of the action row's notes are padded alike (part 1 pads only "access off"). */
  .suggestions-list .pm-suggestion--locate[data-state="unavailable"] {
    padding: var(--gap-chip) var(--space-suggestion-gutter-m);
  }
}


/* ==========================================================================
   18. Meeting size and the loading card (design system rounds 3 and 4)
   ==========================================================================

   MEETING SIZE (SizeMark, GlyphFact `size`, MeetingCard `form="size"`; finder mockups
   drop 14). The list row's size form says how many people usually come, in place of
   scope: the rail is the size's colour, white when the size is not known; there is no
   scope pill, so the place has its line to itself; the size fact ("Large group") is
   last on the access line. Small is slate grey on purpose: most meetings are small,
   so Small must not draw the eye, while Medium and Large take Regional's blue and
   National's magenta (the design system's --color-size-* are aliases of those).
   - The figures: three bi-person-fill, 14px, overlapping by 3px (letter-spacing);
     the filled ones in the size's colour, the rest --color-line-control.
   - The fact: the figures centred on the meta line, the word 9px after them (the
     glyph gap and 3px), on one line. Part 1's rule for the access line's glyphs
     (15px, on the line's height) is not the figures': they keep their own. */
:root {
  --color-size-small: var(--color-ink-glyph);
  /* Their own values, the same colours as the default Regional and National rails
     (design-system 1f85d5f, tokens.json): an organization's theme sets the scope
     colours, and a meeting's size must look the same on every finder. */
  --color-size-medium: #2b7cb3;
  --color-size-large: #a8438a;
  --size-sizemark: 14px;
  --space-sizemark-overlap: -3px;
  --space-sizefact-word: 3px;
}
.pm-rail--small   { background: var(--color-size-small); }
.pm-rail--medium  { background: var(--color-size-medium); }
.pm-rail--large   { background: var(--color-size-large); }
.pm-rail--unsized { background: var(--color-surface-card); }

.pm-sizemark {
  display: inline-flex;
  flex: none;
  font-size: var(--size-sizemark);
  line-height: 1;
  letter-spacing: var(--space-sizemark-overlap);
}
.pm-sizemark > i { font-size: inherit; line-height: inherit; }
.pm-sizemark--small  { color: var(--color-size-small); }
.pm-sizemark--medium { color: var(--color-size-medium); }
.pm-sizemark--large  { color: var(--color-size-large); }
.pm-sizemark--small > i + i,
.pm-sizemark--medium > i:last-child { color: var(--color-line-control); }

.pm-sizefact {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--gap-glyph);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  white-space: nowrap;
}
.pm-sizefact > .pm-sizemark {
  align-items: center;
  height: var(--size-line-meta);
  margin-inline-end: var(--space-sizefact-word);
}
.pm-listrow--sized .pm-listrow__location { grid-column: 1 / -1; }

/* THE LOADING CARD (MeetingCard `loading`; finder mockups drop 14, F18). While the
   list's next page loads (section 15): the card's shell and grid at a typical card's
   height -- 175px, 286px on a phone, the Pathminder finder's measured medians, so the
   list barely moves when the rows land -- with a white rail, since a loading card says
   nothing about size or scope. Grey bars stand on the card's own lines: each line
   keeps its real height through a zero-width character, and its bar is 0.8em of the
   line's text, in --color-line-row (part 1's skeleton grey, --color-surface-hover, is
   1.07:1 on the card and disappears). Still: no pulse or shimmer, so nothing to stop
   under reduced motion. Not a link: no hover, no clicks.
   - Desktop: the time and the length in the time column; the mode's glyph and word in
     the mode column; the program line, title, program and hosts, place and facts in
     the main column; the verifications column empty.
   - Phone: the lines stacked as a phone card stacks them (the program line first, then
     the time and the length side by side), the mode at the top right, and the
     verifications row empty under its hairline: 41px inside it, as the design system
     draws it (its boxes are content-box; this stylesheet's are border-box). */
:root {
  --size-loadingcard: 175px;
  --size-loadingcard-mobile: 286px;
  --size-loadingcard-verifications-mobile: 41px;
  --size-bar: .8em;
  --size-bar-mode: 22px;
  --size-bar-mode-mobile: 14px;
  --space-loadingcard-mode-mobile: 5px;
}
.pm-listrow--loading {
  min-height: var(--size-loadingcard);
  pointer-events: none;
}
.pm-listrow--loading .pm-loadingcard__stack { display: contents; }
.pm-loadingcard__time,
.pm-loadingcard__mode,
.pm-loadingcard__content,
.pm-loadingcard__verifications { grid-row: 1; }
.pm-loadingcard__time {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  padding: var(--space-card-time);
}
.pm-loadingcard__mode {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-hairline);
  padding: var(--space-card-row);
}
.pm-loadingcard__content {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  min-width: 0;
  padding: var(--space-card-row);
}
.pm-loadingcard__verifications { grid-column: 5; }

.pm-bar {
  display: flex;
  align-items: center;
  font: var(--type-meta) var(--font-text);
}
.pm-bar::before { content: "\200b"; }
.pm-bar::after {
  content: "";
  display: block;
  flex: none;
  height: var(--size-bar);
  border-radius: var(--radius-inline);
  background: var(--color-line-row);
}
.pm-bar--time     { font: var(--type-time) var(--font-text); }
.pm-bar--length,
.pm-bar--lead     { font: var(--type-caption) var(--font-text); }
.pm-bar--title    { font: var(--type-row-title) var(--font-text); }
.pm-bar--mode     { font: 400 24px/24px var(--font-text); }
.pm-bar--time::after     { width: 80%; }
.pm-bar--length::after   { width: 45%; }
.pm-bar--mode::after     { width: var(--size-bar-mode); height: var(--size-bar-mode); }
.pm-bar--modeword::after { width: 56px; }
.pm-bar--lead::after     { width: 35%; }
.pm-bar--title::after    { width: 45%; }
.pm-bar--sub::after      { width: 65%; }
.pm-bar--place::after    { width: 40%; }
.pm-bar--access::after   { width: 55%; }

@media (max-width: 767px) {
  .pm-listrow--loading { min-height: var(--size-loadingcard-mobile); }
  .pm-listrow--loading .pm-listrow__main { align-content: start; }
  .pm-listrow--loading .pm-loadingcard__stack {
    display: flex;
    flex-direction: column;
    gap: var(--gap-glyph);
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .pm-loadingcard__time {
    flex-direction: row;
    align-items: center;
    gap: var(--gap-chip);
    padding: 0;
  }
  .pm-loadingcard__content { display: contents; }
  .pm-bar--lead { order: -1; }
  .pm-loadingcard__mode {
    grid-column: 2;
    align-items: flex-end;
    padding: var(--space-loadingcard-mode-mobile) 0 0;
  }
  .pm-bar--modeword { display: none; }
  .pm-loadingcard__verifications {
    grid-column: 1 / -1;
    grid-row: 2;
    box-sizing: content-box;
    min-height: var(--size-loadingcard-verifications-mobile);
    padding-top: var(--gap-inline);
    border-top: 1px solid var(--color-line-row);
  }
  .pm-bar--mode { font: 400 14px/1 var(--font-text); }
  .pm-bar--time::after   { width: 92px; }
  .pm-bar--length::after { width: 44px; }
  .pm-bar--mode::after   { width: 64px; height: var(--size-bar-mode-mobile); }
  .pm-bar--lead::after   { width: 55%; }
  .pm-bar--title::after  { width: 75%; }
  .pm-bar--sub::after    { width: 90%; }
  .pm-bar--place::after  { width: 50%; }
  .pm-bar--access::after { width: 70%; }
}


/* ==========================================================================
   19. Filters (design system FilterChip, FilterPopover, OptionRow, EmptyState)
   ==========================================================================

   Part 1 is PM1's filter row (drop 105): chips that open popovers on desktop, the
   same groups as the sections of a Filters sheet on a phone, the records, Clear all,
   and the zero-results state. Where the design system draws them differently, its
   values (measured against finder mockups drop 14's Filters and Meeting List screens).

   THE LIST'S REGION. Everything under the intro is one element, #pm-listing, which
   htmx swaps in place when a filter, a record or a tab changes the search
   (finder/_listing.html). Part 1 spaces the search under the intro by adjacency
   (.pm-intro + .pm-controlrail); the same space, through the region. On a phone part 1
   and section 17 set the rail's padding whole. */
@media not all and (max-width: 767px) {
  .pm-intro + .pm-listing > .pm-controlrail { padding-top: var(--space-rail-under-intro); }
}

/* EVERY BUTTON IS 52px. The design system ruled --size-cta an alias of --size-button on
   2026-10-26 (its bundle.css: "all buttons share --size-button. Build has 54px"); part 1
   keeps PM1's 54px. The host portal set this in its own stylesheet until 2026-11-09;
   here it reaches both surfaces (the popovers' and the sheet's Show buttons among them). */
:root { --size-cta: var(--size-button); }

/* THE CHIP (FilterChip). Open, it takes the selected tint with the action's ink and
   border, its chevron pointing up at .8, whether or not the group is set: part 1 lets
   the applied fill win over the open state. Set and closed, the applied fill, white
   label and the same down chevron as every closed chip, and no number (design system,
   2026-11-10): the applied record beside the chips names the values. How many are
   chosen is in the chip's accessible name only (.pm-filterchip__chosen, visually
   hidden). On a phone the chip is the sheet's row, which names what is set. */
:root {
  --opacity-chevron-open: .8;
}
.pm-filtergroup[data-open="true"] .pm-filterchip,
.pm-filtergroup[data-open="true"][data-set="true"] .pm-filterchip {
  color: var(--color-action);
  background: var(--color-surface-selected);
  border-color: var(--color-action);
}
.pm-filtergroup[data-open="true"] .pm-filterchip .bi-chevron-down { opacity: var(--opacity-chevron-open); }
.pm-filterchip__name { display: contents; }

/* THE POPOVER (FilterPopover's standard 330px, every group alike: the design system's
   FilterPopover `width` and the Filters mock; 360px until 2026-11-20, taken from the
   mock's frame and its Size popover, which was wider only to fit "Clear Meeting size"). 7px under
   its chip; 6px above the purpose, which has 9px 16px 8px of its own; the options run
   edge to edge with no gap between them; the footer 6px below them, 12px 16px inside
   its hairline, Clear and Show 12px apart. Part 1: 6px under the chip, 320px at least,
   16px all round, 6px between rows and the footer pulled out to the edges. */
:root {
  --size-filterpopover: 330px;
  --space-filterpopover-drop: 7px;
  --space-filterpopover: 6px 0 0;
  --space-filterpopover-purpose: 9px 16px 8px;
  --space-filterpopover-foot: 12px 16px;
}
@media not all and (max-width: 767px) {
  .pm-filtergroup[data-open="true"] .pm-popover {
    top: calc(100% + var(--space-filterpopover-drop));
    width: var(--size-filterpopover);
    max-width: none;
    padding: var(--space-filterpopover);
    gap: 0;
  }
  .pm-filterbar .pm-option__purpose { padding: var(--space-filterpopover-purpose); }
  .pm-filterbar .pm-popover__options { gap: 0; }
  .pm-filterbar .pm-popover__foot {
    gap: var(--gap-inline);
    margin: var(--gap-glyph) 0 0;
    padding: var(--space-filterpopover-foot);
  }
  /* A typed group (Title, F54): this popover is unpadded (each row and line carries its
     own inset), so the field takes the sentence's and the footer's 16px either side.
     A margin, not padding: the field's clear is positioned against .pm-filtertext's
     padding box (PM1's note), and padding would leave it hanging over the field. */
  .pm-filterbar .pm-filtertext { margin: 0 var(--gap-block) var(--gap-glyph); }
  /* FOOTER FIT (design system FilterPopover, 2026-11-11). Clear and the Show button
     share the row while they fit; when they do not ("Clear Special focus" beside "Show
     2,390 meetings", or the longer Spanish and French words), the row wraps: Clear sits
     above and the button takes the full width. Words too long even for that wrap inside
     the button, in balanced lines, from 52px up; nothing runs past the popover's edge. */
  .pm-filterbar .pm-popover__commit {
    flex: 1 1 auto;
    height: auto;
    min-height: var(--size-cta);
    padding: var(--space-popover-commit);
    line-height: var(--line-popover-commit);
    white-space: normal;
    text-wrap: balance;
  }
}
:root {
  --space-popover-commit: 8px 20px;
  --line-popover-commit: 1.2;
}

/* AN OPTION (OptionRow). 9px 16px, 12px between its parts, at least 44px; the control,
   the mark and the words at the top when there is a description, centred when not;
   the count at the top of its line; 3px between the name and its description (part 1:
   2px). Chosen, the words are bold and nothing else
   changes: part 1 also tints the row and borders it in the action's colour. The box,
   ticked, is the action's fill with no border (Checkbox; part 1 draws a border of the
   same colour). A meeting size leads with its figures at 15px (SizeMark px={15}). */
:root {
  --space-optionrow: 9px 16px;
  --size-sizemark-value: 15px;
}
.pm-filterbar .pm-option {
  align-items: center;
  gap: var(--gap-inline);
  min-height: var(--size-tap-min);
  padding: var(--space-optionrow);
  border: 0;
}
.pm-filterbar .pm-option:has(.pm-option__desc) { align-items: flex-start; }
.pm-filterbar .pm-option__text { gap: var(--gap-hairline); }
.pm-filterbar .pm-option__text,
.pm-filterbar .pm-option__count { align-self: auto; }
.pm-filterbar .pm-option--selected { background: none; }
@media (hover: hover) {
  .pm-filterbar .pm-option--selected:hover { background: var(--color-surface-hover); }
}
.pm-check input:checked ~ .pm-check__box,
.pm-option input:checked ~ .pm-check__box { border-width: 0; }
.pm-sizemark--value { font-size: var(--size-sizemark-value); }
/* A recovery program's option (Filters mock, Program): its logo, 18px, as OptionRow's
   `leading` node, 12px from the box and 12px before its name, the name centred on it
   (the mock passes it as `leading` since the 2026-11-20 export; it was 6px, as a row's
   program line draws it). */
.pm-option__name--mark {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
}
.pm-option__mark {
  flex: none;
  width: var(--size-programline-mark);
  height: var(--size-programline-mark);
  object-fit: contain;
}

/* A GROUP THAT SEARCHES (design system FilterOptions, 2026-11-11; finder mockups drops
   19-23: Country, Program, Topic, Audience, Special focus, Language). Under the purpose
   line: the search field (<c-pm.search-field>) in a block with the rows' 16px sides and
   6px under it, then a hairline; the pinned option in a block 6px above and below, then
   a hairline (RadiusSelect's, upside down); then the list, 6px above and below, the
   only part that scrolls. In a popover the hairlines run its full width; on a phone
   they are inset 16px, so they do not read as the sheet's lines between groups. */
.pm-filteroptions,
.pm-filteroptions__list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.pm-filteroptions__search {
  flex: none;
  padding: 0 var(--gap-block) var(--gap-glyph);
}
.pm-filteroptions__pinned {
  flex: none;
  padding: var(--gap-glyph) 0;
}
.pm-filteroptions__pinned[hidden] { display: none; }
.pm-filteroptions__search,
.pm-filteroptions__pinned { border-bottom: 1px solid var(--color-line-row); }
.pm-filterbar .pm-filteroptions .pm-popover__options { padding: var(--gap-glyph) 0; }
/* Rows out of the search; the highlighted row (the arrow keys' place) in the hover
   fill; the matched letters at 700. */
.pm-filteroptions .pm-option[hidden] { display: none; }
.pm-filteroptions .pm-option--active { background: var(--color-surface-hover); }
.pm-filteroptions .pm-option__name b { font-weight: 700; }
/* The pinned row has no box of its own (it labels its listed row's): it is drawn ticked
   from the state pmFilters keeps on it, as a ticked box is drawn. */
.pm-option[data-pin][aria-selected="true"] .pm-check__box {
  border-width: 0;
  background: var(--color-action);
}
.pm-option[data-pin][aria-selected="true"] .pm-check__box i { visibility: visible; }
.pm-filteroptions .pm-searchnone { flex: none; }
@media (max-width: 767px) {
  .pm-filteroptions__search,
  .pm-filteroptions__pinned {
    position: relative;
    border-bottom: 0;
  }
  .pm-filteroptions__search::after,
  .pm-filteroptions__pinned::after {
    content: "";
    position: absolute;
    left: var(--gap-block);
    right: var(--gap-block);
    bottom: 0;
    height: 1px;
    background: var(--color-line-row);
  }
  /* The sheet scrolls as a whole (FilterOptions mobile): the list is drawn in full. */
  .pm-filteroptions .pm-popover__options {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }
}

/* THE FILTERS SHEET (a phone; Filters mock, "Filters sheet · mobile"). Where it differs
   from part 1:
   - the Filters button's glyph 13px (FilterChip, mobile; part 1: 12px);
   - the close glyph 22px (--size-glyph-close; part 1: the row glyph, 18px);
   - a group's row: its name in the label type at every state (part 1: 16px, bolder
     when open), then what is set in the muted meta type 9px after it, on its baseline
     (part 1: at the far right, in the action's ink, and "Any" when nothing is set,
     which the mock leaves out); the caret 13px in the body ink, on the body text's 1.45 line;
     no count (the row says what is set);
   - an open group: 8px under its purpose (part 1: 6px) and 9px after its last option
     (part 1: 16px); its options 10px 16px, 12px apart, the 24px box at the top, the name
     15px (bold when chosen) 2px down, the description 3px under it, the count 5px
     down; no "Clear <group>" (the sheet's Clear all clears);
   - the footer: under the card's line with the dock's shadow (part 1: the row line,
     no shadow); Clear all at 15px on a line of its own height, 14px 4px around it,
     16px before Show (part 1: the label type's line, 12px). */
:root {
  --space-sheet-option: 10px 16px;
  --space-sheet-words: 2px;
  --space-sheet-count: 5px;
  --space-sheet-purpose: 0 var(--space-gutter) 8px;
  --space-sheet-group-end: 9px;
  --line-sheet-caret: 1.45;  /* the line the design system's body text gives the caret */
  --size-glyph-filterbutton: 13px;
  --shadow-dock: 0 -6px 20px rgba(28, 32, 36, .12);  /* the design system's token */
}
@media (max-width: 767px) {
  .pm-filterbutton i { font-size: var(--size-glyph-filterbutton); }
  .pm-filtersheet__close { font-size: var(--size-glyph-close); }
  .pm-filterchip { justify-content: space-between; }
  .pm-filterchip__name {
    display: flex;
    align-items: baseline;
    gap: var(--gap-chip);
    min-width: 0;
  }
  .pm-filterchip__label,
  .pm-filtergroup[data-open="true"] .pm-filterchip__label {
    flex: none;
    font: var(--type-label) var(--font-text);
  }
  .pm-filtergroup[data-set="true"] .pm-filterchip__value {
    font: var(--type-meta) var(--font-text);
    color: var(--color-ink-muted);
  }
  .pm-filtergroup:not([data-set="true"]) .pm-filterchip__value,
  .pm-filterchip__chosen { display: none; }    /* the row's words already name them */
  .pm-filterchip .bi-chevron-down,
  .pm-filtergroup[data-open="true"] .pm-filterchip .bi-chevron-down {
    color: var(--color-ink-body);
    line-height: var(--line-sheet-caret);
    opacity: 1;
  }
  .pm-filtergroup[data-open="true"] .pm-popover { padding-bottom: var(--space-sheet-group-end); }
  .pm-filterbar .pm-option__purpose { padding: var(--space-sheet-purpose); }
  /* A typed group's popover already holds the gutter (its field is not a full-bleed
     row; PM1's rule above), so its sentence starts where the field does (PM1: "it
     aligns with the field"), not a second gutter in. */
  .pm-filterbar .pm-filtergroup--text .pm-option__purpose { padding-inline: 0; }
  .pm-filterbar .pm-option {
    align-items: flex-start;
    padding: var(--space-sheet-option);
  }
  .pm-filterbar .pm-option__name { font: var(--type-value) var(--font-text); }
  .pm-filterbar .pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-filterbar .pm-option__text { padding-top: var(--space-sheet-words); }
  .pm-filterbar .pm-option__count { padding-top: var(--space-sheet-count); }
  .pm-filtersheet .pm-option__clear,
  .pm-filtersheet .pm-popover__foot > .pm-option__rule:not([hidden]) { display: none; }
  .pm-filtersheet__foot {
    gap: var(--gap-block);
    border-top-color: var(--color-line-card);
    box-shadow: var(--shadow-dock);
  }
  .pm-filtersheet__foot .pm-action-link { font: var(--type-label) var(--font-text); line-height: 1; }
}

/* NO MEETINGS (EmptyState, form "results"; the UI kit's ListScreen draws it on the
   well). The sentence in the meta type and the body ink, no wider than an explainer
   (PM1's build: the prose type); part 1's results form already has the design
   system's padding and the records' spacing. */
.pm-empty__body {
  max-width: var(--measure-explainer);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}


/* ==========================================================================
   20. The time zone line (design system Footer)
   ==========================================================================

   One sentence, set as text: "Times shown in <zone> time zone · Re-detect". The
   zone's weight and ink are part 1's (.pm-footer__tz b). Re-detect is a text action:
   the action's colour, no button shape; on a phone it stays one line high, with a
   44px area to tap laid over it. Moved from the host portal's stylesheet when the
   finder's footer took the same line (2026-11-09). */
.pm-tz__redetect { position: relative; font: inherit; color: var(--color-action); }
@media (hover: hover) {
  .pm-tz__redetect:hover { color: var(--color-action-hover); text-decoration: underline; }
}
.pm-tz__redetect:active { color: var(--color-action-hover); text-decoration: underline; }
@media (max-width: 767px) {
  .pm-tz__redetect::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--size-tap-min);
    transform: translateY(-50%);
  }
}


/* ==========================================================================
   21. The map (design system Map: <c-pm.map>, any web property)
   ==========================================================================

   Part 1 has the map's box (.pm-mapview, 560px at both widths, the well's grey) and its
   loading status (.pm-mapstatus, PM1 drop 109; MapStatus). What a map drawn in the
   page, not framed, adds, from PM2's map embeds and the Map mock:
   - The reveal: the map fades in over 120ms as the status fades out, and its controls
     (zoom, recentre, credit, legend, "Search this area") appear with it, never before.
     Reduced motion: no fade.
   - Recentre: MapLibre's own control group under the zoom (the same white, radius and
     29px button), the location arrow at 17px; 44px on touch, where it stands alone
     (product owner, 2026-09-25, PM1's map M3; the Map mock still draws drop 105's 46px
     button in the bottom corner: F24).
   - The legend: the (i) toggle and its drawer, bottom left, closed on every device
     until opened, all four marks always (PM1's map M5; the mock draws it open: F24).
     On touch the toggle is the (i) alone on a white disc (the design system's MapKey
     `touch`, f835382).
   - "Search this area": a secondary button at the bottom centre, on the map's bottom
     row with the key and the credit, once the visitor has moved the map.
   - The empty-area card: centred, two lines, no button; takes no pointer.
   - A place's cards: a popup hanging from its marker on desktop (360px, 10px radius,
     its tip the colour of what it touches; several meetings: "N meetings here", the
     town, the close button, and a well of boxed cards scrolling at 440px under a 24px
     fade, 9px apart; one meeting: a white bar with the close button over the card
     unboxed; both 360px wide); on a
     phone the design system's bottom sheet across the map's foot (the sheet's radius
     on top, its shadow, the grabber, the safe area; several: the head and a 280px
     well; one: the grabber and close button over the card). Literals the mock gives
     outside the tokens: the popup's 0 6px 24px rgba(0,0,0,.18), and 0 3px 12px
     rgba(0,0,0,.16), the mock's recentre shadow, on the legend's toggle and drawer
     (recentre takes MapLibre's group shadow, M3). */
:root {
  --size-mapplace: 360px;
  --size-mapplace-list: 440px;
  --size-mapplace-list-mobile: 280px;
  --size-mapplace-tip: 12px;  /* the mock's tip (Leaflet's): 12px below the popup, 24px across */
  --space-mapplace-well: 12px;
  --space-mapplace-heading: 11px 0;  /* the heading's line in the 44px head */
  --space-mapplace-heading-mobile: 20px 0 0;  /* under the sheet's grabber */
  --shadow-mapplace: 0 6px 24px rgba(0, 0, 0, .18);
  --shadow-map-control: 0 3px 12px rgba(28, 32, 36, .16);  /* the key's toggle and drawer (the design system's token, in its ink) */
  --size-map-control: 29px;
  --size-glyph-map-control: 17px;
  --size-glyph-map-control-touch: 20px;  /* in recentre's 44px button on touch */
  --size-map-key-touch: 22px;  /* the key's (i) on touch: the glyph and its white disc (MapKey `touch`) */
  --space-map-control: 10px;  /* the zoom group's inset, and how far in a popup is moved (design system token) */
  --motion-map-move: 220ms;  /* a move to show a popup (design system token; map.js reads it, 0 with reduced motion) */
  --size-map-credit: 16px;  /* the credit's (c) and its pill's height (the API's map embeds') */
}
/* Clipped, never scrollable: the credit's 44px touch target reaches 4px past the map's
   edge, and with overflow: hidden a keyboard's or screen reader's focus on it scrolled
   the whole map 4px to show it. clip draws the same and lets nothing scroll the box.
   hidden first, for a browser without clip (Safari before 16), which drops the second. */
.pm-mapview { overflow: hidden; overflow: clip; }
.pm-mapview .pm-mapview__canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--motion-reveal);
}
.pm-mapview[data-shown] .pm-mapview__canvas { opacity: 1; }
.pm-mapview:not([data-shown]) .maplibregl-control-container,
.pm-mapview:not([data-shown]) .pm-mapview__legend,
.pm-mapview:not([data-shown]) .pm-mapcredit,
.pm-mapview:not([data-shown]) .pm-mapview__searchhere { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .pm-mapview .pm-mapview__canvas,
  .pm-mapstatus,
  .pm-mapview__legend { transition: none; }
}
.pm-mapview__marker svg { display: block; }

/* The status, as MapStatus draws it, where part 1 (PM1 drop 109) differs:
   - the ring and the map glyph share one 18px slot, so the line under them stays put
     when one replaces the other;
   - the glyph is in the glyph ink at line height 1. Section 16's EmptyState rule (the
     disabled ink, the inherited line) is for EmptyState's own glyph; the status is a
     .pm-empty too, and matched it while the glyph was the status's child;
   - "Show the list" is 2px either side, with the inline radius; on a phone it is 44px
     tall and gives the extra back with -9px above and below, the column's gap (part 1:
     12px either side, -10px). Its hover is part 1's for every link. */
:root {
  --space-mapstatus-list: 0 2px;
}
.pm-mapstatus__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size-glyph-row);
  height: var(--size-glyph-row);
}
.pm-mapstatus__slot > i {
  display: none;
  font-size: var(--size-glyph-row);
  line-height: 1;
  color: var(--color-ink-glyph);
}
.pm-mapstatus[data-state="failed"] .pm-mapstatus__slot > i { display: block; }
.pm-mapstatus__list {
  display: inline-flex;
  align-items: center;
  padding: var(--space-mapstatus-list);
  border-radius: var(--radius-inline);
}
@media (max-width: 767px) {
  .pm-mapstatus__list { margin: calc(var(--gap-chip) * -1) 0; }
}

/* MapLibre's own buttons keep MapLibre's corners (the group's 4px, rounded on focus by
   MapLibre), as on the embed: part 1 gives every link and button 7px corners, which drew
   the zoom's and recentre's hover shading rounder than the group around it. */
.pm-mapview .maplibregl-ctrl button { border-radius: 0; }

/* The map's credit, the design system's MapCredit (<c-pm.map>, map.js addCredit; the
   product owner, 2026-11-14; "Map controls", 2026-11-15): the (c), never MapLibre's (i),
   which on a map reads as "more about this place", and the key's toggle is the (i).
   Bottom right, 10px in, closed on every device. Closed, it is the 16px disc: the box
   is empty but for its right padding, which the button covers. Open, a white pill of
   the same height, the words at 10px on its 16px line (the library's credit size, the
   one text the system lets drop under its type scale), the (c) at its right end. The
   button is centred on the disc's centre, so on touch it grows to an unseen 44px hit
   area around the same drawing. It stays while a place's popup or sheet is open. */
.pm-mapcredit {
  position: absolute;
  right: var(--space-map-control);
  bottom: var(--space-map-control);
  z-index: 2;
  display: flex;
  align-items: center;
  height: var(--size-map-credit);
  padding: 0 var(--size-map-credit) 0 0;
  border-radius: calc(var(--size-map-credit) / 2);
}
.pm-mapcredit[data-open="true"] {
  padding: 0 18px 0 8px;
  background: var(--color-surface-card);
}
.pm-mapcredit__words {
  font: 400 10px/var(--size-map-credit) var(--font-text);
  color: var(--color-ink-body);
  white-space: nowrap;
}
.pm-mapcredit__words a { color: inherit; border-radius: 0; }
.pm-mapcredit__toggle {
  position: absolute;
  top: 50%;
  right: calc(var(--size-map-credit) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size-map-credit);
  height: var(--size-map-credit);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  transform: translate(50%, -50%);
  cursor: pointer;
}
@media (pointer: coarse) {
  .pm-mapcredit__toggle { width: var(--size-tap-min); height: var(--size-tap-min); }
}
.pm-mapcredit__mark { display: block; }
.pm-mapcredit__mark circle { fill: var(--color-surface-card); stroke: var(--color-ink-strong); stroke-width: 1.2; }
.pm-mapcredit__mark path { fill: none; stroke: var(--color-ink-strong); stroke-width: 1.2; stroke-linecap: round; }
/* The Pathminder logo beside the credit, on one meeting's map (the point form: the
   meeting page's; product owner, 2026-11-15), as the API's map embeds draw it beside
   theirs (meetings/templates/meetings/meeting_map/_embed_chrome.html). It is in the
   credit but outside its box (right: 100%), so it moves left with the pill when the
   words open, as the embed's does, and never takes a drag meant for the map.

   Two lines are kept, both measured off the artwork (design_system/img/
   pathminder-logo.png, 400 x 185, which has its own clear margin) at the logo's 34px:
   - the wordmark's centreline is on the credit's: the words' centreline, which is the
     16px pill's centre and the (c)'s. The wordmark's runs halfway between its capitals'
     top (row 64) and its baseline (row 108.5), 0.4662 of the way down the image, so the
     logo's top is 8 - 34 x 0.4662 = -7.85px from the credit's top: -8px;
   - the foot of the lowest wave (row 177, 0.9568 down: 32.53px) is about as far above
     the map's bottom edge as the (c) is in from its right edge (10px). So the credit
     rises from its usual 10px to 10 + (-8 + 32.53 - 16) = 18.53px: 19px (PM1's embed
     raises its (c) the same way).
   Whole pixels on purpose: the logo is then a whole number of pixels from the words, so
   the browser snaps the two to the screen's pixels together; at fractions they can snap
   a pixel apart. Work both numbers out again if the logo's height or artwork changes. */
:root {
  --size-map-mark: 34px;     /* the logo's height: the brand's 72px minimum width, as Contact us sets it */
  --gap-map-mark: 7px;       /* to the (c): 10px to the artwork, less the image's own 3px margin */
}
.pm-mapcredit:has(.pm-mapcredit__pathminder) { bottom: 19px; }
/* Two classes deep on purpose: `.pm img { max-width: 100% }` outranks one class, and
   would hold the logo to the closed credit's 16px. */
.pm-mapcredit .pm-mapcredit__pathminder {
  position: absolute;
  top: -8px;
  right: calc(100% + var(--gap-map-mark));
  display: block;
  width: auto;
  height: var(--size-map-mark);
  max-width: none;
  pointer-events: none;
  /* A white halo, so the wordmark stays legible over the basemap's roads and labels
     (the embed's). */
  filter: drop-shadow(0 0 2px var(--color-surface-card));
}
/* Recentre: a button in MapLibre's zoom group, under + and - (the design system's "Map
   controls", 2026-11-14); on touch, with no zoom buttons, a group of its own
   (.pm-mapview__recentregroup), 44px. Hidden, button or group, until the visitor has
   moved the map (map.js). */
.pm-mapview .pm-mapview__recentre[hidden],
.pm-mapview__recentregroup[hidden] { display: none; }
.pm-mapview .pm-mapview__recentre {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-strong);
  font-size: var(--size-glyph-map-control);
}
@media (pointer: coarse) {
  .pm-mapview .pm-mapview__recentre {
    width: var(--size-tap-min);
    height: var(--size-tap-min);
    font-size: var(--size-glyph-map-control-touch);
  }
}

.pm-mapview__legend {
  position: absolute;
  left: var(--space-map-control);
  bottom: var(--space-map-control);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: var(--gap-glyph);
  pointer-events: none;
}
.pm-mapview__legend > * { pointer-events: auto; }
.pm-mapview__legendtoggle {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size-map-control);
  height: var(--size-map-control);
  padding: 0;
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-inline);
  background: var(--color-surface-card);
  color: var(--color-ink-strong);
  font-size: var(--size-glyph-map-control);
  cursor: pointer;
  box-shadow: var(--shadow-map-control);
}
/* The (i) and recentre's crosshair centred in their buttons. Bootstrap Icons draw a glyph
   inline on the text's baseline, dropped by -.125em, and the button centres the line, not
   the glyph: in Source Sans 3 that left the (i) 1.5px above the middle (4.5px over it,
   7.5px under, measured on the drawn pixels). As a block, the glyph's own 1em box is what
   the button centres. Two classes deep: Bootstrap Icons' `.bi::before` ties with one. */
.pm-mapview__legendtoggle .pm-mapview__legendglyph::before,
.pm-mapview .pm-mapview__recentre i::before { display: block; }
/* Open, the (i) is filled, as every outlined glyph fills when its control is open. Both
   glyphs are in the markup; aria-expanded, which map.js sets, picks one. */
.pm-mapview__legendtoggle[aria-expanded="false"] .pm-mapview__legendglyph--open,
.pm-mapview__legendtoggle[aria-expanded="true"] .pm-mapview__legendglyph:not(.pm-mapview__legendglyph--open) {
  display: none;
}
.pm-mapview__legendpanel {
  padding: var(--gap-glyph) var(--gap-chip);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-inline);
  background: var(--color-surface-card);
  font: var(--type-caption) var(--font-text);
  color: var(--color-ink-body);
  box-shadow: var(--shadow-map-control);
  transition: transform .18s ease, opacity .18s ease;
}
.pm-mapview__legend[data-open="false"] .pm-mapview__legendpanel {
  transform: translateX(-10px);
  opacity: 0;
  visibility: hidden;
}
.pm-mapview__legenditem { display: flex; align-items: center; gap: var(--gap-glyph); }
.pm-mapview__swatch { flex: none; display: flex; align-items: center; justify-content: center; width: 20px; height: 22px; }
.pm-mapview__swatch svg { display: block; }
/* Touch: just the (i) (Elowen, 2026-11-22: the 44px box "is really big on phone"; the
   design system's MapKey `touch`, f835382): bi-info-circle at 22px on its own 22px white
   disc, 10px in, with no box, edge or shadow. The disc is the toggle's whole drawing and
   its box, so the drawer still opens 6px beside the (i), bottoms aligned. An unseen 44px
   hit area is centred on it (::after, part of the button), as the credit's (c) has. */
@media (pointer: coarse) {
  .pm-mapview__legendtoggle {
    position: relative;
    width: var(--size-map-key-touch);
    height: var(--size-map-key-touch);
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    font-size: var(--size-map-key-touch);
  }
  .pm-mapview__legendtoggle::after {
    content: "";
    position: absolute;
    inset: calc((var(--size-tap-min) - var(--size-map-key-touch)) / -2);
    border-radius: 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-mapview__legendpanel { transition: none; }
}

/* On the map's bottom row, 10px in (--space-map-control), with the key at the left and
   the credit at the right, bottoms level (the design system's "Search this area",
   81161de). On a phone an organization's BeyondNotice bar is 9px above that row, so
   neither moves when the other comes or goes. On the bar's layer (1): the key's open
   drawer and the open credit (2) draw over it, a place's popup or sheet (3) too.
   Drawn as the design system's secondary Button at 44px, as its Map controls card draws
   it (81161de): 20px sides, the 16px glyph 6px from the label, the control line for its
   edge and no shadow. */
.pm-mapview__searchhere {
  position: absolute;
  bottom: var(--space-map-control);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: none;
  align-items: center;
  gap: var(--gap-glyph);
  height: var(--size-tap-min);
  padding: 0 var(--gap-fact);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  color: var(--color-action);
  font: var(--type-label) var(--font-text);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.pm-mapview__searchhere .bi { font-size: var(--size-glyph); line-height: 1; }
.pm-mapview__searchhere[data-visible="true"] { display: inline-flex; }
@media (hover: hover) {
  .pm-mapview__searchhere:hover { background: var(--color-surface-hover); }
}
.pm-mapview__searchhere:active { background: var(--color-surface-hover); }

.pm-mapview__empty {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-chip);
  width: 340px;
  padding: var(--gap-group);
  text-align: center;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  pointer-events: none;
}
.pm-mapview__empty[hidden] { display: none; }
.pm-mapview__emptytitle { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }
.pm-mapview__emptyhint { font: var(--type-meta) var(--font-text); color: var(--color-ink-body); text-wrap: pretty; }

/* A place's cards. */
.pm-mapplace {
  --mapplace-tip: var(--color-surface-hover);
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: var(--size-mapplace);
  max-width: calc(100% - var(--gap-inline) * 2);
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-mapplace);
}
.pm-mapplace[hidden] { display: none; }
.pm-mapplace:has(> .pm-mapplace__grab) { --mapplace-tip: var(--color-surface-card); }
.pm-mapplace__head {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-chip);
  padding-left: var(--gap-block);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-mapplace__heading {
  flex: 1 1 auto;
  padding: var(--space-mapplace-heading);
  min-width: 0;
}
.pm-mapplace__count { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }
.pm-mapplace__place { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); white-space: nowrap; }
.pm-mapplace__place .pm-middot { color: var(--color-ink-separator); }
.pm-mapplace__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink-body);
  font-size: 16px;
  cursor: pointer;
}
/* One meeting, on desktop: its card alone, as PM1's maps draw it (the API's set-map
   embed; product owner, 2026-11-16, against the Map mock's bar with its X: F51). No bar,
   no close button: it closes as map popups do, by a click on the map, Esc, or its marker
   again (map.js). The phone's sheet keeps the bar (below): a sheet's grabber and close
   button are its way out. */
.pm-mapplace__grab { display: none; }
.pm-mapplace__grabber { display: none; }
/* The well is painted by the body, not the list, so the list's fade (data-pm-fade, a
   mask) fades the cards into the well rather than the well into the card. */
.pm-mapplace__body {
  position: relative;
  background: var(--color-surface-hover);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.pm-mapplace__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  max-height: var(--size-mapplace-list);
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-mapplace-well);
  scrollbar-width: thin;
}
.pm-mapplace__list > .pm-listrow { flex: none; }
.pm-mapplace:has(> .pm-mapplace__grab) .pm-mapplace__body { background: var(--color-surface-card); }
/* With no bar on desktop, the one card is the whole popup: it takes the popup's corners,
   and its rail, which runs down its left edge and which it clips, follows them (as on
   PM1's maps). Square, the rail's corners showed past the popup's. */
@media (min-width: 768px) {
  .pm-mapplace:has(> .pm-mapplace__grab) .pm-mapplace__body,
  .pm-mapplace:has(> .pm-mapplace__grab) .pm-listrow--unboxed { border-radius: var(--radius-card); }
}
.pm-mapplace:has(> .pm-mapplace__grab) .pm-mapplace__list {
  max-height: none;
  overflow: visible;
  padding: 0;
}
.pm-mapplace__tip {
  position: absolute;
  left: 50%;
  bottom: calc(var(--size-mapplace-tip) * -1);
  transform: translateX(-50%);
  border-left: var(--size-mapplace-tip) solid transparent;
  border-right: var(--size-mapplace-tip) solid transparent;
  border-top: var(--size-mapplace-tip) solid var(--mapplace-tip);
}
/* While a place's popup or sheet is open the key fades out of its way, at both widths,
   with nothing to click or read, over 180ms, and comes back when it closes (MapKey's
   `shown={false}`). The zoom and recentre group stays (the design system's "Map
   controls"); a phone's recentre steps aside only if the sheet comes within 12px of it
   (map.js). */
.pm-mapview__legend { transition: opacity var(--motion-dock) ease; }
.pm-mapview[data-popup-open] .pm-mapview__legend {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-dock) ease, visibility 0s linear var(--motion-dock);
}

@media (max-width: 767px) {
  .pm-mapplace {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    padding-bottom: var(--space-safe-bottom);
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    box-shadow: var(--shadow-sheet);
  }
  .pm-mapplace:has(> .pm-mapplace__grab) { width: auto; }
  /* One meeting: the sheet's bar, the grabber and the close button over the card. */
  .pm-mapplace__grab {
    position: relative;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid var(--color-line-row);
  }
  .pm-mapplace__tip { display: none; }
  .pm-mapplace__grabber {
    display: block;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 38px;
    height: 4px;
    border-radius: var(--radius-pill);
    background: var(--color-line-card);
  }
  /* Several meetings: the heading clear of the grabber, 9px under the close button. */
  .pm-mapplace__head { position: relative; padding-bottom: var(--gap-chip); }
  .pm-mapplace__heading { padding: var(--space-mapplace-heading-mobile); }
  .pm-mapplace__body { border-radius: 0; }
  .pm-mapplace__list { max-height: var(--size-mapplace-list-mobile); }
}

/* THE PHONE'S CARD AT ANY WIDTH (MeetingCard `mobile`): part 1's phone rules for the
   list row, restated for the class (generated from part 1's phone block, so the two
   say the same), with the design system's phone values from sections 14-16 and what
   section 16's desktop-only rules would otherwise put on a mobile card. On a phone the
   media rules already apply; this makes a map popup's card the same on desktop. */
.pm-listrow--mobile {
  --size-rail: var(--size-rail-mobile);
  --type-row-title: var(--type-row-title-m);
}
.pm-listrow.pm-listrow--mobile {
    grid-template-columns: var(--size-rail-mobile) minmax(0, 1fr);
    gap: 0;
  }
.pm-listrow--mobile .pm-rail { grid-row: 1; }
.pm-listrow--mobile .pm-listrow__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--size-mode-col-mobile);
    gap: var(--gap-inline) var(--gap-group);
    grid-column: 2;
    padding: var(--space-card-mobile);
  }
.pm-listrow--mobile .pm-listrow__stack {
    display: flex;
    flex-direction: column;
    gap: var(--gap-glyph);
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
.pm-listrow--mobile .pm-listrow__time,
.pm-listrow--mobile .pm-listrow__content,
.pm-listrow--mobile .pm-modeblock,
.pm-listrow--mobile .pm-listrow__verifications { padding: 0; }
.pm-listrow--mobile .pm-canceled-chip { margin: 0; }
.pm-listrow--mobile.pm-listrow--canceled .pm-listrow__content { padding-top: 0; }
.pm-listrow--mobile .pm-listrow__clock {
    display: flex;
    align-items: baseline;
    gap: var(--gap-chip);
  }
.pm-listrow--mobile .pm-modeblock {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding-top: 2px;
    align-items: flex-end;
    text-align: right;
    gap: var(--gap-glyph);
  }
.pm-listrow--mobile .pm-modeblock .pm-mode {
    white-space: normal;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-glyph);

    line-height: 1;
  }
.pm-listrow--mobile .pm-modeblock .pm-mode i { font-size: var(--size-glyph); line-height: 1; }
.pm-listrow--mobile .pm-modeblock .pm-condition {
    flex-direction: row;
    gap: var(--gap-glyph);
    line-height: 1;
  }
.pm-listrow--mobile .pm-listrow__verifications {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: var(--gap-inline);
    border-top: 1px solid var(--color-line-row);
  }
.pm-listrow--mobile.pm-listrow--canceled .pm-listrow__verifications { border-top-color: var(--color-line-card); }
.pm-listrow--mobile .pm-listrow__proof .pm-verification__wordmark { height: var(--size-proof-mark-mobile); }
.pm-listrow--mobile .pm-modeblock { padding-top: var(--space-modeblock-card-mobile); }
.pm-listrow--mobile .pm-modeblock .pm-mode i { height: auto; align-content: normal; }
.pm-listrow--mobile .pm-modeblock .pm-condition { padding: 0; font: var(--type-meta) var(--font-text); line-height: 1; }
.pm-listrow--mobile .pm-listrow__stack:has(> .pm-listrow__content > .pm-programline) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: var(--gap-glyph) var(--gap-chip);
}
.pm-listrow--mobile .pm-listrow__stack > .pm-listrow__content:has(> .pm-programline) { display: contents; }
.pm-listrow--mobile .pm-listrow__stack:has(> .pm-listrow__content > .pm-programline) > .pm-listrow__head {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  grid-column: 1 / -1;
  grid-row: 2;
}
.pm-listrow--mobile .pm-listrow__content:has(> .pm-programline) > .pm-listrow__title { grid-row: 3; }
.pm-listrow--mobile .pm-listrow__content:has(> .pm-programline) .pm-listrow__sub { grid-row: 4; }
.pm-listrow--mobile .pm-listrow__content:has(> .pm-programline) > .pm-pill,
.pm-listrow--mobile .pm-listrow__content:has(> .pm-programline) .pm-listrow__location { grid-row: 5; }
.pm-listrow--mobile .pm-listrow__content:has(> .pm-programline) > .pm-access { grid-row: 6; }
/* MeetingCard `unboxed`: the one card of a popup, on the popup's own white. */
.pm-listrow--unboxed { border: 0; border-radius: 0; background: none; }



/* ==========================================================================
   22. The meeting page (finder mockups, Screen - Pathminder Meeting Detail; design
       system DetailScreen, ActionBlock, PathcheckCode, FactsTable, DefinedTerm,
       TermCard, TextAction)
   ==========================================================================

   Part 1 has PM1's meeting page (drop 105), and the host portal's meeting page shares
   its classes. Where the finder's mock differs, the rules are the finder page's own
   (.pm-meetingpage), so the portal draws as before:
   - The head is one column, 6px apart: the back link (10px under it), the mode row (21px,
     its glyph on the words' line), the title, then the subline 3px further down with its
     lines 3px apart (part 1: the back link outside the head, 12px apart, the glyph on a
     line of its own).
   - The subline opens with the recovery program: its 18px mark 6px before its name, at
     600 in the body ink, on the subline's baseline (the mark centred on the words); the
     topic after it is in the body ink too, the place in the subline's subtle one.
   - Size: the figures and the term in the value type and ink, as every fact's value
     (part 2 section 18 draws the card's smaller size fact).
   - The join helper is in the muted ink (ActionBlock `helper`; part 1: subtle).
   - A defined term takes the ink of the line it is in (DefinedTerm: `inherit`), the
     action blue while open.
   - "Run by": the organization's 18px mark 6px before its name.
   - Number: the number, then its sub-line 3px under it in the meta type, subtle.
   - Hosts: Manage meeting and Contact are 44px tall (part 1: 35px), and the last host's
     row closes with a hairline (DetailScreen).
   - The sidebar's links are 44px targets (part 1: 11px above and below the words).
   Design-system pieces the finder draws first, for any page that needs them:
   - TextAction ("Add to calendar"): 600 14px/1 in the action blue, a 15px glyph 6px
     before the words (PM1 drew AddEvent's widget, whose script the finder's policy
     does not allow).
   - "Attendance not reported" (DetailScreen): the dash-circle 6px before the words, in
     the muted ink, the form of "Verification not provided".
   - TermCard: 340px (the page's column on a phone), 6px under its term; the eyebrow, the
     title, the words, a section under a hairline, Learn more. */
:root {
  --space-detail-back: 10px;       /* under the head's back link */
  --size-detail-mode: 21px;        /* the head's mode row: the meta type's line */
  --size-termcard: 340px;
  --space-termcard: 16px 16px 18px;
  --gap-termcard-line: 8px;        /* a section line's mark and words */
  --size-termcard-mark: 36px;      /* the size marks' column in "Sizes on Pathminder" */
  --size-runby-mark: 18px;
  --lh-address-glyph: 1.35;        /* the address glyph's line (the Map mock's place) */
  --space-dock-clear: 120px;       /* a phone page's end, clear of the docked bar */
  --space-action-block-mobile: 18px 16px;
  --type-next-when: 700 22px/1.2;  /* ActionBlock's "when", at both widths */
  --space-textaction-mobile: -10px auto;
  --size-glyph-back: 13px;         /* the back link's arrow, at both widths */
}

.pm-meetingpage .pm-detail__header { gap: var(--gap-glyph); }
.pm-meetingpage .pm-detail__header > .pm-action-link--back { margin-bottom: var(--space-detail-back); }
.pm-meetingpage .pm-detail__header .pm-mode i { line-height: var(--size-detail-mode); }
.pm-meetingpage .pm-detail__sub {
  margin-top: var(--gap-hairline);
  row-gap: var(--gap-hairline);
}
.pm-detail__program {
  display: inline-flex;
  align-items: baseline;
  gap: var(--gap-glyph);
  font-weight: 600;
  color: var(--color-ink-body);
}
.pm-detail__program .pm-programline__mark { margin: 0; align-self: center; }
.pm-meetingpage .pm-detail__sub .pm-termwrap { color: var(--color-ink-body); }
.pm-meetingpage .pm-fact__value .pm-sizefact {
  font: var(--type-value) var(--font-text);
  color: inherit;
}
/* The figures centred on the value's line (the term's), not section 18's meta line. */
.pm-meetingpage .pm-fact__value .pm-sizefact > .pm-sizemark {
  height: auto;
  align-self: stretch;
}
.pm-meetingpage .pm-action-block > .pm-helper { color: var(--color-ink-muted); }
.pm-meetingpage .pm-term:not([aria-expanded="true"]) { color: inherit; }

.pm-runby {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
}
.pm-runby__mark {
  width: var(--size-runby-mark);
  height: var(--size-runby-mark);
  object-fit: contain;
}
.pm-meetingpage .pm-numberfact {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
}
.pm-numberfact__sub {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-numberfact__code {
  font: var(--type-code) var(--font-text);
  letter-spacing: var(--tracking-code);
  color: var(--color-ink-strong);
}
.pm-meetingpage .pm-facil__contact { min-height: var(--size-tap-min); }
.pm-meetingpage .pm-facil:last-child { border-bottom: 1px solid var(--color-line-row); }
.pm-meetingpage .pm-sidelink {
  padding: 0;
  min-height: var(--size-tap-min);
}

/* TEXT ACTION (design system TextAction): an action drawn as words in the action
   colour, never a button shape. A link that goes somewhere, or a <button> that changes
   something (Remove number, Change password). 600 14/1 (md), or 600 13/1.2 with
   .pm-textaction--sm; a leading glyph 15px and a chevron 11px, 6px from the words;
   hover and press: the hover colour, underlined. On a phone at least 44px tall to tap,
   with no visible box. Both surfaces draw it from here (the host portal had a copy of
   its own, .hp-textaction, until 2026-11-13). */
.pm-textaction {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  width: fit-content;
  padding: 0;
  font: var(--type-field-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.pm-textaction--sm { font: var(--type-glyph-label) var(--font-text); }
.pm-textaction i { font-size: var(--size-glyph-sm); }
.pm-textaction i[class*="bi-chevron-"] { font-size: var(--size-glyph-chevron); }
@media (hover: hover) {
  .pm-textaction:hover { color: var(--color-action-hover); text-decoration: underline; }
}
.pm-textaction:active { color: var(--color-action-hover); text-decoration: underline; }
@media (max-width: 767px) {
  .pm-textaction { min-height: var(--size-tap-min); }
}

.pm-notreported {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--gap-glyph);
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-muted);
}
.pm-notreported i {
  font-size: var(--size-glyph-sm);
  line-height: inherit;
  color: var(--color-ink-glyph);
}

.pm-termwrap {
  position: relative;
  display: inline-flex;
}
.pm-termcard {
  position: absolute;
  left: 0;
  top: calc(100% + var(--gap-glyph));
  z-index: var(--layer-popover);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  width: var(--size-termcard);
  max-width: none;  /* part 1 caps PM1's card at 320px; TermCard is 340px */
  padding: var(--space-termcard);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
  text-align: left;
  white-space: normal;
}
.pm-termcard[hidden] { display: none; }
.pm-termcard__title { font: var(--type-card-title) var(--font-text); color: var(--color-ink-strong); }
.pm-termcard__prose {
  font: var(--type-prose) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
.pm-termcard__section {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  padding-top: var(--gap-inline);
  border-top: 1px solid var(--color-line-row);
}
.pm-termcard__line {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-termcard-line);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
}
.pm-termcard__line strong { font-weight: 600; color: var(--color-ink-strong); }
.pm-termcard__mark { display: inline-flex; width: var(--size-termcard-mark); }
.pm-termcard__helper {
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
  text-wrap: pretty;
}
.pm-termcard__more { width: fit-content; font: var(--type-label) var(--font-text); }

/* The subline's place: its middot 9px before it, the subline's gap (WrapUnit hides it
   when the place starts a line). */
.pm-detail__dot { margin-inline-end: var(--gap-chip); }
/* The meeting's map fills PM1's map box (part 1's .pm-map: 220px, 170px on a phone, 200px
   in a hybrid meeting's Where), the height being the map's own, its hairline outside it
   (the mock's 170px map is 172px with its edge). */
.pm-map > .pm-mapview { height: 100%; }
.pm-meetingpage .pm-map { box-sizing: content-box; }
/* The address (the Map mock's place): the in-person glyph at 16px, 9px before the
   address in the meta type (part 1: 18px and the value type). */
.pm-meetingpage .pm-address { gap: var(--gap-chip); }
.pm-meetingpage .pm-address > i { font-size: var(--size-glyph); line-height: var(--lh-address-glyph); }
.pm-meetingpage .pm-address__line { font: var(--type-meta) var(--font-text); color: var(--color-ink-body); }
.pm-back__short { display: none; }
/* The phone's docked Support bar as the mock draws it: one full-width Support button
   (the design system's Button `support`: the heart at 16px, 6px before the words). */
.pm-dockbar--button .pm-dockbar__action {
  flex: 1;
  justify-content: center;
  gap: var(--gap-glyph);
}
.pm-dockbar--button .pm-dockbar__action i { font-size: var(--size-glyph); }

/* On a phone (the mock's mobile frame):
   - the back link reads "214 results near Mentor, OH" at 600 14px/1, its 44px reach
     made of 6px above and below that its margins give back (part 1: a 44px box);
   - the subline is in the value type, the place always on a line of its own;
   - the action block is padded 18px 16px (ActionBlock `mobile`) and its "when" keeps
     its 22px (part 1: 20px); "Add to calendar" is a centred 44px target, its extra given
     back with -10px above and below;
   - the page ends 120px below the last thing on it, clear of the docked Support bar. */
@media (max-width: 767px) {
  .pm-meetingpage .pm-detail__body { padding-bottom: var(--space-dock-clear); }
  .pm-meetingpage .pm-detail__header > .pm-action-link--back {
    min-height: 0;
    padding: var(--gap-glyph) 0;
    margin: calc(var(--gap-glyph) * -1) 0 var(--space-detail-back);
    font: var(--type-field-label) var(--font-text);
    line-height: 1;
  }
  .pm-meetingpage .pm-detail__header > .pm-action-link--back i { font-size: var(--size-glyph-back); }
  .pm-back__long { display: none; }
  .pm-back__short { display: inline; }
  .pm-meetingpage .pm-detail__sub { font: var(--type-value) var(--font-text); }
  .pm-meetingpage .pm-detail__place { flex-basis: 100%; }
  .pm-meetingpage .pm-action-block { padding: var(--space-action-block-mobile); }
  .pm-meetingpage .pm-next__when { font: var(--type-next-when) var(--font-text); }
  .pm-meetingpage .pm-detail__buttons {
    flex-direction: column;
    gap: var(--gap-block);
  }
  .pm-meetingpage .pm-detail__buttons .pm-textaction {
    min-height: var(--size-tap-min);
    margin: var(--space-textaction-mobile);
  }
  /* The hosts' first row 12px under their heading, as on desktop: both finder mocks'
     phone frames (Pathminder and organization meeting pages) keep the 12px (part 1: 9px
     on a phone; measured against the organization's mock, Phase 5 slice B). */
  .pm-meetingpage .pm-facilitators { gap: var(--gap-inline); }
}

/* The sidebar on a phone (finder mockups F63 and F64, 2026-11-21): right after the hosts
   come the desktop sidebar's blocks in its order, a group gap apart. First the Support
   block (Support this meeting full width, the organization's sentence under it), with no
   rule above it: the docked bar carries Support on screen too, but stays aria-hidden until
   it docks, so this block is the link a keyboard or a screen reader reaches. Then the
   actions (Share this meeting, Send feedback, For hosts · Manage meeting) under a rule,
   9px in. Part 1 makes Support a red text link on a phone, hides the sentence, rules the
   block off and runs the actions on under it, as PM1 did; the finder's page draws the
   design system's support Button, full width, instead. */
@media (max-width: 767px) {
  .pm-meetingpage .pm-detail__body { padding-bottom: var(--gap-group); }
  .pm-meetingpage .pm-supportblock { border-top: 0; padding-top: 0; }
  .pm-meetingpage .pm-support {
    align-self: stretch;
    height: var(--size-button);
    justify-content: center;
    padding: 0 var(--gap-fact);
    border-radius: var(--radius-control);
    background: var(--color-donate);
    font: var(--type-cta) var(--font-text);
    color: var(--color-donate-ink);
  }
  .pm-meetingpage .pm-support:active { background: var(--color-donate-hover); color: var(--color-donate-ink); }
  .pm-meetingpage .pm-supportblock__text { display: revert; }
  .pm-meetingpage .pm-detail__actions { padding-top: var(--gap-chip); }
  .pm-meetingpage .pm-supportblock ~ .pm-detail__actions {
    border-top: 1px solid var(--color-line-row);
    padding-top: var(--gap-chip);
    margin-top: 0;
  }
}
@media (max-width: 767px) and (hover: hover) {
  .pm-meetingpage .pm-support:hover { background: var(--color-donate-hover); color: var(--color-donate-ink); }
}

/* Where an organization's promotion goes on its meeting page (PM2 finder Phase 5; finder
   mockups, Screen - Organization meeting page, "Promotion (the handbook)"), drawn as
   part 1's .pm-resource:
   - desktop, in the sidebar after Support (.pm-resource--side): under a rule, 22px in,
     the image at the sidebar's full width at most (a 600 x 1200 image, 263 x 526);
   - a phone, straight under the action block (.pm-resource--inline): no rule, the
     image centred (a 600 x 1200 image, 300 x 600).
   Each is drawn at its own width only. */
.pm-resource--inline { display: none; }
@media (max-width: 767px) {
  .pm-resource--side { display: none; }
  .pm-meetingpage .pm-resource--inline {
    display: flex;
    border-top: 0;
    padding-top: 0;
  }
}


/* ==========================================================================
   23. The design system's rulings over part 1, for both surfaces (host portal Q22, Q29)
   ==========================================================================

   The host portal kept these as its own overrides (its decision 16.1) until PM1's
   stylesheet took them; part 1 is PM2's own now (E3), so they live here, once, and the
   finder draws them too:
   - Note: 13px above and below its words, 15px at the sides (the design system's
     --space-note, Q22; part 1: 14px 16px). Every boxed aside takes it: the note box,
     the crisis note.
   - Button: the primary has no border (Q22; part 1: 1px in the fill's own colour, so
     2px wider than drawn). Where the system draws its own colours (Windows high
     contrast) it keeps a border, without which it would have no shape. The secondary
     keeps its border. (Disabled: "One look for both surfaces", at the end.)
   - The error page: the page ground, and 30px under the card on a phone (Q29; part 1:
     the lighter #f5f7f8 and 48px). */
:root {
  --space-note: 13px 15px;
}
.pm-button:not(.pm-button--secondary) { border: 0; }
@media (forced-colors: active) {
  .pm-button:not(.pm-button--secondary) { border: 1px solid ButtonText; }
}
.pm-errorpage { background: var(--color-surface-page); }
@media (max-width: 767px) {
  .pm-errorpage { padding-bottom: var(--gap-band); }
}


/* ==========================================================================
   24. The finder's Help (finder mockups, Screen - Pathminder Help)
   ==========================================================================

   Part 1 has PM1's Help (drop 105), which the host portal's Help shares; the finder's
   page (.pm-findhelp) differs where the mock does:
   - sections 30px apart, the first 30px under the intro on desktop (part 1: 22px);
   - on desktop the contents list 8px from the top and the section being read in the
     label type (part 1: none, and the meta type's line); its title 8px over the links
     (part 1: 6px); on a phone the intro is in the prose type (part 1: the body type);
   - the crisis note 18px under the contents and "Still stuck?" 16px under the note,
     the column's own gap 3px (part 1: 22px each), the note's title glyph at 14px;
   - a shared term's row: the name over "See all N meetings", 6px apart; the
     description over "Organizations call these:", 6px apart. */
:root {
  --gap-help-section: 30px;
  --space-help-crisis: 18px;
  --size-glyph-help-crisis: 14px;
  --space-help-contents: 8px;      /* the contents list's top, and under its title */
}
.pm-findhelp .pm-pagebody__main { gap: var(--gap-help-section); }
.pm-findhelp .pm-contents__title { padding-bottom: var(--space-help-contents); }
/* Desktop only: on a phone the contents list sits 22px under the intro, part 1's gap,
   with no space of its own above it. */
@media (min-width: 768px) {
  .pm-findhelp { row-gap: var(--gap-help-section); }
  .pm-findhelp .pm-contents { padding-top: var(--space-help-contents); }
  .pm-findhelp .pm-contents a[aria-current="true"] { line-height: 1.4; }
}
@media (max-width: 767px) {
  .pm-findhelp .pm-pagebody__head .pm-body { font: var(--type-prose) var(--font-text); }
}
.pm-findhelp .pm-pagebody__aside { gap: var(--gap-hairline); }
.pm-findhelp .pm-pagebody__aside > .pm-crisisnote { margin-top: var(--space-help-crisis); }
.pm-findhelp .pm-pagebody__aside > .pm-stuck { margin-top: var(--gap-block); }
.pm-findhelp .pm-crisisnote__title i { font-size: var(--size-glyph-help-crisis); }
.pm-legend__term,
.pm-legend__says {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
}
.pm-legend__name { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-legend__count { font: var(--type-meta) var(--font-text); }
.pm-legend__also {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
  text-wrap: pretty;
}
.pm-legend__also b { font-weight: 600; color: var(--color-ink-muted); }
.pm-legend__nosize { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }
/* VerificationMark with its eyebrow (the design system's component, at its default
   align="end", as the Help mock places it): "Verifications" above the mark, 6px apart, both
   at the label column's end; the mark in a 22px box; Pathcheck's wordmark 21px (20px on a
   phone, --size-proof-mark); the host's mark 13px words and a 15px glyph. */
.pm-legend__proof {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap-glyph);
}
.pm-legend__proof .pm-verification { height: var(--size-proof-slot); margin-top: 0; font: var(--type-proof) var(--font-text); }
.pm-legend__proof .pm-verification__wordmark { height: var(--size-proof-mark); }


/* ==========================================================================
   25. Contact us and MeetingPick (finder mockups, Screen - Pathminder Contact Us;
       design system MeetingPick, OptionRow, TextField, Note)
   ==========================================================================

   Part 1 has PM1's Contact us (drop 105, .pm-pagebody--form): the crisis note beside
   the heading and "Faster answers" beside the form. The mock stacks the aside as one
   column (the crisis note, 22px, then "Faster answers") beside the heading and the
   steps, as Help's contents list sits beside it (.pm-pagebody--help); on a phone the
   heading, the crisis note, the steps, then "Faster answers".

   The steps (finder/templates/finder/_contact.html): a 600 14px label over each; the
   intents as the design system's OptionRows (9px 16px, 12px apart, the radio 20px, the
   name in the value type, the description in the caption type 3px under it) in a
   bordered card with 6px above and below, on a phone too (part 1's phone filter rows
   are larger); an answered step as an eyebrow over its answer, Change on its right,
   with a row line 16px under it; the cards of "Which meeting?" 6px apart. */
:root {
  --space-contact-aside: 6px;          /* the aside's top, against the heading */
  /* The design system's CrisisNote "block" form, beside a form: 16px 17px, its glyph
     on a 1.4 line (part 1's .pm-crisisnote takes the Note's padding, 13px 15px). */
  --space-crisis-block: 16px 17px;
  --lh-crisis-glyph-block: 1.4;
  --space-contact-faster: 18px;        /* "Faster answers" under its line (16px on a phone) */
  --space-contact-options: 6px 0;      /* the intents' card, above and below */
  --space-contact-option: 9px 16px;
  --gap-contact-option: 12px;
  --gap-contact-answer: 16px;          /* an answered step's line, under its answer */
  --gap-contact-picks: 6px;
  --space-contact-host: 14px 16px;
  --space-contact-ways: 25px;          /* a host's details, under the name past its glyph */
  --space-contact-cant: 13px;          /* "Can't reach them?" over the hosts' card's gap */
  --gap-contact-ways: 6px 22px;
  --size-contact-logo: 24px;           /* an organization's mark in the destination note */
  --size-contact-logo-pathcheck: 24px; /* the Pathcheck wordmark's height */
  --size-contact-logo-pathminder: 34px;/* the Pathminder logo's height (the brand's 72px minimum width) */
  --size-contact-logo-box: 74px;       /* the Pathminder logo's box, as the mock draws it */
  --size-contact-sendnote: 240px;
  --size-turnstile: 300px;
  --size-turnstile-height: 65px;
  /* MeetingPick (design system, drop 17) */
  --size-pick-when: 96px;
  --size-pick-when-mobile: 80px;
  --gap-pick: 0 16px;
  --gap-pick-mobile: 0 12px;
  --space-pick: 14px 18px;
  --space-pick-mobile: 14px 16px;
  --type-pick-time: 700 19px/1.15;
  --lh-pick-mode-glyph: 21px;          /* ModeLabel inline: the 15px glyph on a 21px line */
  --space-contact-change: -9px 0;      /* Change pulled into its row (its 44px target) */
}

.pm-pagebody--contact {
  grid-template-columns: minmax(0, var(--measure-form)) var(--size-aside);
  justify-content: space-between;
  grid-template-areas:
    "head side"
    "main side";
}
.pm-pagebody--contact .pm-pagebody__head  { grid-area: head; }
.pm-pagebody--contact .pm-pagebody__main  { grid-area: main; }
.pm-pagebody--contact .pm-pagebody__aside { grid-area: side; padding-top: var(--space-contact-aside); }
.pm-pagebody--contact .pm-crisisnote { padding: var(--space-crisis-block); }
.pm-pagebody--contact .pm-crisisnote > i { line-height: var(--lh-crisis-glyph-block); }
@media (min-width: 768px) {
  .pm-pagebody--contact .pm-aside__block { padding-top: var(--space-contact-faster); }
}
@media (max-width: 767px) {
  .pm-pagebody--contact .pm-pagebody__head .pm-body { font: var(--type-prose) var(--font-text); }
  .pm-pagebody--contact .pm-pagebody__aside { display: contents; }
  .pm-pagebody--contact .pm-pagebody__head { order: 1; }
  .pm-pagebody--contact .pm-crisisnote     { order: 2; }
  .pm-pagebody--contact .pm-pagebody__main { order: 3; }
  .pm-pagebody--contact .pm-aside__block   { order: 4; }
}

.pm-contact__step,
.pm-contact__find,
.pm-contact__found,
.pm-contact__cantfind {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
}
.pm-contact__find { gap: var(--gap-group); }
.pm-contact__results { display: flex; flex-direction: column; gap: var(--gap-group); }
.pm-contact__results:empty { display: none; }
.pm-contact__label { font: var(--type-field-label) var(--font-text); color: var(--color-ink-strong); }

/* The intents: the design system's OptionRow in a card. */
.pm-contact__options {
  display: flex;
  flex-direction: column;
  padding: var(--space-contact-options);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
.pm-contact__options .pm-option,
.pm-contact__options .pm-option--selected {
  gap: var(--gap-contact-option);
  padding: var(--space-contact-option);
  min-height: var(--size-tap-min);
  border: 0;
  background: none;
}
.pm-contact__options .pm-option__text { gap: var(--gap-hairline); align-self: auto; }
/* An option with nothing in its count slot (Contact us's intents) has no slot: an empty
   one, on the baseline, would make the row 3px taller. */
.pm-contact__options .pm-option__count:empty { display: none; }
@media (max-width: 767px) {
  .pm-contact__options .pm-option__name { font: var(--type-value) var(--font-text); }
  /* ... and a chosen one at 600, as OptionRow draws a checked row at every width. */
  .pm-contact__options .pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-contact__options .pm-radio__dot {
    width: var(--size-control-box);
    height: var(--size-control-box);
  }
}

/* An answered step: its question as an eyebrow over the answer, Change on its right. */
.pm-contact__answer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap-block);
  padding-bottom: var(--gap-contact-answer);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-contact__answered { display: flex; flex-direction: column; gap: var(--gap-hairline); min-width: 0; }
.pm-contact__value { font: var(--type-value) var(--font-text); color: var(--color-ink-strong); text-wrap: pretty; }
.pm-contact__change {
  min-height: var(--size-tap-min);
  margin: var(--space-contact-change);
}

/* "Which meeting?" */
.pm-contact__count { color: var(--color-ink-muted); }
/* "No meetings match": the design system's EmptyState as the mock draws it (its own
   padding, 60px by the gutter), on the hover fill. */
.pm-empty--contact {
  background: var(--color-surface-hover);
  border-radius: var(--radius-card);
}
.pm-contact__cantfind { gap: var(--gap-glyph); padding-top: var(--gap-glyph); }
.pm-contact__cantwords { color: var(--color-ink-body); text-wrap: pretty; }

/* "Ask the hosts" */
.pm-contact__hosts {
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
.pm-contact__host {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  padding: var(--space-contact-host);
}
.pm-contact__host + .pm-contact__host { border-top: 1px solid var(--color-line-row); }
.pm-contact__hostname {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-strong);
}
.pm-contact__hostname i { font-size: var(--size-glyph); color: var(--color-ink-glyph); }
.pm-contact__ways {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-contact-ways);
  padding-left: var(--space-contact-ways);
}
.pm-contact__ways a {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-meta) var(--font-text);
}
.pm-contact__ways i { font-size: var(--size-glyph-sm); }
.pm-contact__noways {
  padding-left: var(--space-contact-ways);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
}
.pm-contact__cant {
  padding-top: var(--space-contact-cant);
  font: var(--type-subhead) var(--font-text);
  color: var(--color-ink-strong);
}

/* Where it goes: the design system's Note with the destination's logo on the left. */
.pm-contact__to {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
}
.pm-contact__to:focus { outline: none; }
.pm-contact__logo { display: block; flex: 0 0 auto; }
.pm-contact__logo img { display: block; width: auto; object-fit: contain; }
.pm-contact__logo--mark img { width: var(--size-contact-logo); height: var(--size-contact-logo); }
.pm-contact__logo--pathcheck img { height: var(--size-contact-logo-pathcheck); }
.pm-contact__logo--pathminder img { height: var(--size-contact-logo-pathminder); }
.pm-contact__logo--pathminder { display: flex; justify-content: center; width: var(--size-contact-logo-box); }
.pm-contact__towords { min-width: 0; }

/* The form: drop 105's fields, 16px apart; Turnstile; the button naming who gets it.
   On a phone a field is the design system's TextField `mobile`, 50px tall. */
.pm-contact__form { display: flex; flex-direction: column; gap: var(--gap-block); }
@media (max-width: 767px) {
  .pm-contact .pm-input { height: var(--size-input-m); }
}
.pm-turnstile { min-height: var(--size-turnstile-height); max-width: 100%; }
.pm-contact__send {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-group);
}
.pm-contact__sendnote { max-width: var(--size-contact-sendnote); text-wrap: pretty; }
@media (max-width: 767px) {
  .pm-contact__send { flex-direction: column; align-items: stretch; gap: var(--gap-chip); }
  .pm-contact__send .pm-button { width: 100%; }
  .pm-contact__sendnote { max-width: none; }
}
.pm-contact__sent:focus { outline: none; }

/* The select field's marks (SelectField options' `leading`, "Which organization runs
   it?"): an 18px logo before the name in its row, and before the chosen name in the
   closed field, 8px from it there (the mock's renderValue). */
:root { --gap-select-mark: 8px; }
.pm-option__lead--mark {
  flex: none;
  width: var(--size-programline-mark);
  height: var(--size-programline-mark);
  object-fit: contain;
}
.pm-selectfield__value:has(.pm-option__lead--mark) {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-select-mark);
}

/* MeetingPick: a meeting the visitor already knows, chosen rather than opened. */
.pm-meetingpick {
  position: relative;
  display: grid;
  grid-template-columns: var(--size-pick-when) minmax(0, 1fr);
  gap: var(--gap-pick);
  align-items: start;
  min-height: var(--size-tap-min);
  padding: var(--space-pick);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  cursor: pointer;
}
.pm-meetingpick--chosen {
  grid-template-columns: var(--size-pick-when) minmax(0, 1fr) auto;
  cursor: default;
}
@media (hover: hover) {
  .pm-meetingpick:not(.pm-meetingpick--chosen):hover { border-color: var(--color-line-control); }
}
.pm-meetingpick__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.pm-meetingpick:has(.pm-meetingpick__input:focus-visible) {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
.pm-meetingpick__when,
.pm-meetingpick__what { display: flex; flex-direction: column; min-width: 0; }
.pm-meetingpick__when { gap: var(--gap-hairline); }
.pm-meetingpick__what { gap: var(--gap-glyph); }
.pm-meetingpick__day { font: var(--type-day-slot) var(--font-text); color: var(--color-ink-body); white-space: nowrap; }
.pm-meetingpick .pm-mode { align-items: flex-start; }
.pm-meetingpick .pm-mode i { flex: 0 0 auto; line-height: var(--lh-pick-mode-glyph); }
.pm-meetingpick__time {
  font: var(--type-pick-time) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-strong);
  white-space: nowrap;
}
.pm-meetingpick__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.pm-meetingpick__name { font: var(--type-row-title) var(--font-text); color: var(--color-ink-strong); }
.pm-meetingpick__hosts { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); }
.pm-meetingpick__with { white-space: nowrap; }
.pm-meetingpick__where {
  display: flex;
  align-items: center;
  gap: var(--gap-glyph);
  min-width: 0;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
}
.pm-meetingpick__place { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-meetingpick__number { flex: 0 0 auto; white-space: nowrap; color: var(--color-ink-muted); }
.pm-meetingpick__change { margin-top: 2px; }
@media (max-width: 767px) {
  .pm-meetingpick {
    grid-template-columns: var(--size-pick-when-mobile) minmax(0, 1fr);
    gap: var(--gap-pick-mobile);
    padding: var(--space-pick-mobile);
  }
  .pm-meetingpick--chosen { grid-template-columns: var(--size-pick-when-mobile) minmax(0, 1fr) auto; }
  .pm-meetingpick__change { min-height: var(--size-tap-min); margin-top: -12px; }
}

/* ==========================================================================
   26. Verifications (finder mockups, Option – Pathminder Verifications 1a)
   ==========================================================================

   Part 1 has PM1's drop 105 page; the mock keeps its shape (the two routes, then
   Pathcheck's action surface) and draws:
   - the routes as rows 17px tall above and below their words (14px on a phone), the mark
     in a 190px column with 22px to its words (stacked on a phone, 9px apart), the
     Pathcheck wordmark 24px tall (22px on a phone), the words in the prose type (the
     meta type on a phone);
   - the action surface (the design system's ActionBlock): the Pathcheck wordmark 22px
     tall (20px on a phone) as its eyebrow, "Instant verification" 700 22px, the detail
     in the value type, 6px apart; then the steps 16px apart;
   - the program and the times at most 460px wide, the date 240px; helpers on the
     tint in the muted ink (the design system's `onTint`);
   - the meetings in a region 296px tall that scrolls on desktop, 2px clear of its
     scrollbar, with the 24px fade to the tint while more is below; a phone draws them
     all in the page;
   - "Continue to Pathcheck" 4px further down, its note 22px beside it. */
:root {
  --space-verifyroute: 17px 0;
  --space-verifyroute-mobile: 14px 0;
  --size-verifyroute-mark: 190px;
  --size-verifyroute-wordmark: 24px;
  --size-verifyroute-wordmark-mobile: 22px;
  --size-verify-wordmark: 22px;
  --size-verify-wordmark-mobile: 20px;
  --size-verify-field: 460px;
  --size-verify-date: 280px;  /* the DateField's width (finder drop 28); the phone's is the column's */
  --space-verify-go: 4px;
  --size-glyph-verifyroute: 18px;
}
@media (min-width: 768px) {
  .pm-verifypage { row-gap: var(--gap-band); }
}
@media (max-width: 767px) {
  .pm-verifypage .pm-pagebody__head .pm-body { font: var(--type-prose) var(--font-text); }
}

.pm-verifyroutes { display: flex; flex-direction: column; }
.pm-verifyroute {
  display: grid;
  grid-template-columns: var(--size-verifyroute-mark) minmax(0, 1fr);
  gap: 0 var(--gap-group);
  align-items: center;
  padding: var(--space-verifyroute);
  border-top: 1px solid var(--color-line-row);
}
.pm-verifyroute:last-child { border-bottom: 1px solid var(--color-line-row); }
.pm-verifyroute__wordmark {
  display: block;
  justify-self: start;
  width: auto;
  height: var(--size-verifyroute-wordmark);
}
.pm-verifyroute__host {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-body);
}
.pm-verifyroute__host i { font-size: var(--size-glyph-verifyroute); color: var(--color-ink-glyph); }
.pm-verifyroute__text {
  margin: 0;
  font: var(--type-prose) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
@media (max-width: 767px) {
  .pm-verifyroute {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--gap-chip);
    padding: var(--space-verifyroute-mobile);
  }
  .pm-verifyroute__wordmark { align-self: flex-start; height: var(--size-verifyroute-wordmark-mobile); }
  .pm-verifyroute__text { font: var(--type-meta) var(--font-text); }
}

/* The action surface's head: the wordmark as its eyebrow, the title, the detail. */
.pm-verify__head { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-verify__wordmark { display: block; align-self: flex-start; width: auto; height: var(--size-verify-wordmark); }
.pm-verify__when { font: var(--type-next-when) var(--font-text); color: var(--color-ink-strong); }
.pm-verify__detail { font: var(--type-value) var(--font-text); color: var(--color-ink-body); }
@media (max-width: 767px) {
  .pm-verify__wordmark { height: var(--size-verify-wordmark-mobile); }
}

/* The steps. */
.pm-verify__form,
.pm-verify__results { display: flex; flex-direction: column; gap: var(--gap-block); }
.pm-verify__field { display: flex; flex-direction: column; gap: var(--gap-chip); max-width: var(--size-verify-field); }
/* Its label, field and helper (SelectField `helper`) 6px apart at both widths, as the
   design system draws a field's helper (F71). */
.pm-verify__field--program { gap: var(--gap-glyph); }
.pm-verify__field--date { gap: var(--gap-glyph); width: var(--size-verify-date); }
@media (max-width: 767px) {
  .pm-verify__field--date { width: auto; }
}
.pm-verify .pm-helper,
.pm-verify__hint { color: var(--color-ink-muted); }
.pm-verify__options { padding: var(--space-contact-options); }
/* A row with no description is centred, its range on a 13px line (OptionRow's count);
   part 1's option row sets both on the first line's baseline. */
.pm-verify__options .pm-option { align-items: center; }
.pm-verify__options .pm-option__text,
.pm-verify__options .pm-option__count { align-self: center; }
.pm-verify__options .pm-option__count { flex: none; line-height: 1; }

.pm-verify__go {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-group);
  padding-top: var(--space-verify-go);
}
@media (max-width: 767px) {
  .pm-verify__go { flex-direction: column; align-items: stretch; gap: var(--gap-chip); }
}

/* ==========================================================================
   MEETING PICK RESULTS (<c-pm.meeting-pick-list>; design system MeetingPickList,
   2026-11-11; PM2 finder mockups drops 20 and 22: Verifications, Contact us)
   ========================================================================== */

/* The cards 6px apart, in one radio group. On desktop, when they run past two and a half
   cards, pmPickList makes the list a well: the map popup's scrolling well of cards
   given an edge, because it sits on the action surface (hover ground, card line and
   corners), its height (--picklist-height) measured from the cards. The well's inside
   scrolls, 12px in from its edge, and fades at its foot while more is below
   (data-pm-fade: the fade shows the well's own ground, as the design system's
   --color-fade-out to --color-surface-hover). The edge is on the outer box, so the fade
   never takes the line with it; the focus ring is drawn there too, where the inside's
   own would be clipped. */
:root { --space-picklist-well: 12px; }
.pm-picklist__cards { display: flex; flex-direction: column; gap: var(--gap-contact-picks); }
.pm-picklist__cards > .pm-meetingpick { flex: 0 0 auto; }
.pm-picklist--well {
  display: flex;
  flex-direction: column;
  height: var(--picklist-height);
  overflow: hidden;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
.pm-picklist--well .pm-picklist__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-picklist-well);
}
.pm-picklist__scroll:focus-visible { outline: none; }
.pm-picklist--well:has(> .pm-picklist__scroll:focus-visible) {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ==========================================================================
   ONE LOOK FOR BOTH SURFACES: the design system's controls as it draws them,
   moved here from the host portal's stylesheet on 2026-11-13, so the finder draws
   them the same way (CLAUDE.md: one design system, implemented once)
   ========================================================================== */

/* A DISABLED BUTTON, every variant (design system Button; Design Standards: "Disabled:
   #a3a8ac text, no fill change"): only the words go grey; the fill, the border and the
   size stay, and nothing changes on hover or press. Part 1 greyed the fill as well (the
   portal put the secondary's back on its own). Used where an edit will enable the
   button: Account's Save and Verify number, Verifications' Continue to Pathcheck. */
.pm-button[disabled],
.pm-button[disabled]:hover,
.pm-button[disabled]:active {
  color: var(--color-ink-disabled);
  text-decoration: none;
  cursor: default;
}
.pm-button:not(.pm-button--secondary)[disabled],
.pm-button:not(.pm-button--secondary)[disabled]:hover,
.pm-button:not(.pm-button--secondary)[disabled]:active { background: var(--color-action); }
.pm-button--secondary[disabled],
.pm-button--secondary[disabled]:hover,
.pm-button--secondary[disabled]:active {
  background: var(--color-surface-card);
  border-color: var(--color-line-control);
}

/* A FIELD (design system TextField and SelectField): 52px, 50px on a phone; the value at
   400 16px, so iOS never zooms into the field; 14px inside its edge. The select's closed
   box: 12px between its value and its chevron, the chevron at full strength. Part 1 drew
   the value at 15px, 16px in (the finder's fields until now). A field that sets its own
   (the location search) keeps them: its selectors are more particular. */
:root {
  --type-input: 400 16px/1;
  --space-input: 0 14px;
}
.pm-input { font: var(--type-input) var(--font-text); padding: var(--space-input); }
.pm-selectfield__trigger {
  gap: var(--gap-inline);
  padding: var(--space-input);
  font: var(--type-body) var(--font-text);
}
.pm-selectfield__trigger i { opacity: 1; }
@media (max-width: 767px) {
  .pm-input,
  .pm-selectfield__trigger { height: var(--size-input-m); }
}

/* A SWITCH (<c-pm.switch>; design system Switch): the track and knob are part 1's
   .pm-switch, which only draws a switch that is on (PM1's is never off). A real
   checkbox in front of it (hidden the way part 1 hides a checkbox's own input: still
   focusable, still read out) moves the knob and greys the track when it is not
   checked. The name is 600 14px in body ink, 9px from the track. Disabled: the name and
   the track take the disabled ink, nothing else changes. The whole switch has a 44px
   area to tap, laid over it rather than making it taller: the design draws the switch
   at its track's 26px, and nothing sits within 9px above or below one. */
.pm-switchfield {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  cursor: pointer;
}
.pm-switchfield::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--size-tap-min);
  transform: translateY(-50%);
}
.pm-switchfield input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pm-switchfield__label { font: var(--type-field-label) var(--font-text); color: var(--color-ink-body); }
.pm-switchfield input:not(:checked) ~ .pm-switch { background: var(--color-ink-disabled); }
.pm-switchfield input:not(:checked) ~ .pm-switch .pm-switch__knob { margin-left: 0; }
.pm-switchfield input:focus-visible ~ .pm-switch {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
.pm-switchfield--disabled { cursor: default; }
.pm-switchfield--disabled .pm-switchfield__label { color: var(--color-ink-disabled); }

/* ==========================================================================
   ADD TO CALENDAR (finder/calendars.py): the design system's ActionMenu
   (<c-pm.action-menu>, section 9) on the meeting page, finder drops 25-28
   ========================================================================== */

/* As wide as PM1's menu (AddEvent's list, 230px). */
.pm-calendarmenu .pm-textmenu__popover { width: var(--size-atc-menu); }
@media (max-width: 767px) {
  /* Under the full-width button, centred, as the text action it stands in for (the
     mock's "Add to calendar", margin -10px auto); the trigger is 44px tall on a phone,
     as every text menu's is (section 9). */
  .pm-meetingpage .pm-detail__buttons .pm-calendarmenu {
    align-self: center;
    margin: var(--space-textaction-mobile);
  }
}

/* ==========================================================================
   ADMIN A1. Pathminder Admin's frame: the design system's AppShell, SideNav and
   SiteNav's account menu (<c-pm.app-shell>, <c-pm.side-nav>, <c-pm.account-menu>;
   design-system 4584b59). Admin's sections are numbered A1, A2, ... so they never
   take a number the finder's next section wants.
   ========================================================================== */

/* The frame: the bar across the top, then a 240px white side column beside the
   content on the page ground. --app-side is the column's width (63px collapsed: the
   62px rail and its 1px edge); --app-content the content's widest (the finder's
   1000px card, or 1440px for a record list's table). */
.pm-app {
  --app-side: 240px;
  --app-content: var(--measure-card);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-surface-page);
}
.pm-app--wide { --app-content: 1440px; }
.pm-app[data-collapsed] { --app-side: 63px; }
.pm-app__body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: var(--app-side) minmax(0, 1fr);
}
/* The white column runs the page's full height. The nav inside it sits in a layer of
   its own (so a long nav never makes the page taller than its content), is as tall
   as the window under whatever of the bar and the notice still shows (--app-side-top,
   kept by pmAppShell while the page scrolls), and sticks to the top once the bar has
   gone: under the notice, where there is one (--app-sticky-top, its height). */
.pm-app__side {
  position: relative;
  background: var(--color-surface-card);
  border-right: 1px solid var(--color-line-card);
}
.pm-app__side-layer { position: absolute; inset: 0; }
.pm-app__side-stick {
  position: sticky;
  top: var(--app-sticky-top, 0px);
  height: calc(100dvh - var(--app-side-top, calc(var(--size-navbar) + 1px)));
  max-height: 100%;
  display: flex;
  flex-direction: column;
}
.pm-app__column { min-width: 0; display: flex; flex-direction: column; }
.pm-app__main { flex: 1 0 auto; min-width: 0; padding: var(--space-page-body); }
.pm-app__content { max-width: var(--app-content); display: flex; flex-direction: column; }
/* The footer runs the content column's width, square (it closes a card elsewhere). */
.pm-app .pm-footer { border-radius: 0; }

/* Pathminder Admin fills the window (design-system f8ad9e4; Elowen, 2026-11-25: "Why are
   we not using all available horizontal real estate in the admin?"). An organization's
   pages (.pm-app--full) have no content cap and no footer, so cards and tables run the
   content's width; the Personal pages, the host side, keep their card and footer. What
   is read keeps a readable width of its own, each part holding its own, as the design
   system's components do: a field 560px (--measure-form), and the edit's Cancel and Save
   ending where the fields do; a sentence 620px (--measure-prose: a page's description,
   a setting's name and line with its control right after them, an item's words in
   Needs attention); the notification grid 720px (--measure-page). --app-prose is what a
   status banner's words and a fact's value hold to, set only here, so the finders,
   which draw both without this frame, don't change. */
.pm-app { --app-prose: var(--measure-prose); }
.pm-app.pm-app--full { --app-content: none; }
.pm-app .pm-pagehead__sub { max-width: var(--measure-prose); }
.pm-app .pm-field { max-width: var(--measure-form); }
.pm-app .pm-recordsection__actions { max-width: var(--measure-form); }
.pm-app .pm-settingslist__row { grid-template-columns: minmax(0, var(--measure-prose)) auto; justify-content: start; }
.pm-app .pm-settingslist__control { justify-content: flex-start; }
.pm-app .pm-notifygrid__table,
.pm-app .pm-notifygrid__digest { max-width: var(--measure-page); }
.pm-app .pm-attention__body { max-width: var(--measure-prose); }
.pm-fact__value,
.pm-statusbanner__lead,
.pm-statusbanner__message { max-width: var(--app-prose, none); }

/* The bar: SiteNav with no links and no language control, the account menu at its
   right end. Its links slot holds the phone's menu drawer only (the side
   navigation's rows and the account rows), so on a desktop it isn't drawn. */
.pm-navbar__account { display: flex; align-items: center; align-self: stretch; }
@media not all and (max-width: 767px) {
  .pm-navbar--app .pm-nav { display: none; }
}
@media (max-width: 767px) {
  .pm-app__body { display: block; }
  .pm-app__side,
  .pm-navbar__account { display: none; }
}

/* ---- The account menu (SiteNav `account`) ------------------------------------ */
.pm-account { position: relative; display: inline-flex; align-self: center; }
.pm-account__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  height: var(--size-tap-min);
  padding: 0 2px;
  margin: 0 -2px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--color-nav-muted);
}
.pm-account__trigger .bi {
  font-size: var(--size-glyph-chevron);
  line-height: 1;
  opacity: var(--opacity-chevron);
}
.pm-account__trigger .bi-chevron-up,
.pm-account__trigger[aria-expanded="true"] .bi-chevron-down { display: none; }
.pm-account__trigger[aria-expanded="true"] .bi-chevron-up { display: block; }
/* A person's initials on a disc: on the nav tile in the bar (30px), on the hover
   fill among the contexts (22px). */
.pm-initials {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border-radius: var(--radius-pill);
  background: var(--color-surface-hover);
  border: 1px solid var(--color-line-card);
  font: 600 11px/1 var(--font-text);
  letter-spacing: 0.02em;
  color: var(--color-ink-body);
  text-transform: uppercase;
}
.pm-initials--nav {
  width: 30px;
  height: 30px;
  font-size: 13px;
  background: var(--color-nav-tile-bg);
  border-color: var(--color-nav-tile-line);
}
.pm-initials--30 { width: 30px; height: 30px; font-size: 13px; }
@media (hover: hover) {
  .pm-account__trigger:hover .pm-initials--nav { border-color: var(--color-nav-active-line); }
}
.pm-account__trigger[aria-expanded="true"] .pm-initials--nav { border-color: var(--color-nav-active-line); }
/* An organization's square mark, fitted, never stretched. */
.pm-context-mark { flex: none; display: block; width: 22px; height: 22px; object-fit: contain; }
.pm-context-mark--30 { width: 30px; height: 30px; }

/* ActionMenu's surface, right-aligned under the trigger: 240px, or 280px when it
   lists the person's contexts. */
.pm-account__panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  z-index: 40;
  width: 240px;
  box-sizing: border-box;
  padding: 6px 0;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
}
.pm-account__panel--contexts { width: 280px; }
/* Who is signed in (<c-pm.account-head>): the menu's head here, the drawer's in its ✕ row
   (.pm-nav__head). */
.pm-account__head {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  min-width: 0;
}
.pm-account__panel > .pm-account__head {
  padding: 6px 16px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--color-line-row);
}
.pm-account__name { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); overflow-wrap: anywhere; }
.pm-account__detail { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); overflow-wrap: anywhere; }
.pm-account__contexts {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--color-line-row);
}
.pm-account__form { margin: 0; }
/* A row: 44px, 16px in, the hover fill under the pointer or the keyboard. */
.pm-account__row {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 16px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: 400 15px/1.3 var(--font-text);
  color: var(--color-ink-strong);
}
.pm-account__row:focus-visible { outline: none; }
.pm-account__row:hover,
.pm-account__row:focus { background: var(--color-surface-hover); text-decoration: none; color: var(--color-ink-strong); }
.pm-account__label {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 0;
  font: var(--type-value) var(--font-text);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.pm-account__row[aria-checked="true"] .pm-account__label,
.pm-account__row[aria-current="true"] .pm-account__label { font: var(--type-label) var(--font-text); line-height: 1.3; }
.pm-account__check { flex: none; font-size: var(--size-glyph); line-height: 1; color: var(--color-action); }
/* Support an organization and Create an organization: the glyph (bi-search, bi-plus-lg)
   centred in the marks' 22px box, both in action blue, as Accept is, since each starts
   something rather than choosing a context (SiteNav, design-system e3f47cf). */
.pm-account__plus {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-action);
}
.pm-account__plus .bi { display: block; font-size: var(--size-glyph); line-height: 1; }
.pm-account__row--create .pm-account__label { color: var(--color-action); }

/* ---- The side navigation (SideNav) -------------------------------------------- */
/* With the toggle: the organization at the top, the toggle at the foot, the sections
   between them scrolling on their own when they're taller than the room. */
.pm-sidenav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
.pm-sidenav__nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: var(--gap-block);
}
.pm-sidenav__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: var(--gap-block);
}
.pm-sidenav__head + .pm-sidenav__scroll { padding-top: var(--gap-chip); }
.pm-sidenav__list,
.pm-sidenav__sub { list-style: none; margin: 0; padding: 0; }
.pm-sidenav__list { display: flex; flex-direction: column; }
/* The organization whose workspace this is, as text: its mark 12px before its name,
   a hairline 16px under it. Never a control. */
.pm-sidenav__head {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 16px var(--gap-block);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-sidenav__headname {
  flex: 1 1 auto;
  min-width: 0;
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-strong);
  overflow-wrap: anywhere;
}
.pm-sidenav__headmark { flex: none; display: flex; }
/* A row: a link, 44px at least. Its glyph's 16px box is centred 31px in (20px + the
   3px rail + 8px), and its label starts at 48px (+ 16 + 9); a sub-page's label starts
   there too. The current page takes the 3px action-blue rail and action-blue ink. */
.pm-sidenav__row {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  min-height: var(--size-tap-min);
  box-sizing: border-box;
  padding: 0 16px 0 20px;
  border-left: var(--size-active-rail) solid transparent;
  border-radius: 0;
  background: transparent;
  font: var(--type-label) var(--font-text);
  line-height: 1.3;
  color: var(--color-ink-strong);
  text-decoration: none;
}
.pm-sidenav__row--sub {
  padding-left: 45px;
  font: var(--type-value) var(--font-text);
  line-height: 1.3;
  color: var(--color-ink-body);
}
@media (hover: hover) {
  .pm-sidenav__row:hover { background: var(--color-surface-hover); text-decoration: none; }
}
.pm-sidenav__row:active { text-decoration: none; }
.pm-sidenav__row[data-current] { border-left-color: var(--color-action); color: var(--color-action); }
.pm-sidenav__row .bi {
  flex: none;
  width: 16px;
  text-align: center;
  font-size: var(--size-glyph-sm);
  line-height: 1;
  color: var(--color-ink-glyph);
}
.pm-sidenav__row[data-current] .bi { color: var(--color-action); }
.pm-sidenav__label { flex: 1 1 auto; min-width: 0; padding: 11px 0; }
/* The toggle: the column's last row, under a hairline, 9px above and below it. */
.pm-sidenav__foot {
  flex: none;
  border-top: 1px solid var(--color-line-row);
  padding: var(--gap-chip) 0;
}
.pm-sidenav__toggle {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  width: 100%;
  min-height: var(--size-tap-min);
  box-sizing: border-box;
  padding: 0 16px 0 23px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: var(--type-value) var(--font-text);
  line-height: 1.3;
  color: var(--color-ink-muted);
}
.pm-sidenav__toggle .bi {
  flex: none;
  width: 16px;
  text-align: center;
  font-size: var(--size-glyph-sm);
  line-height: 1;
  color: var(--color-ink-glyph);
}
@media (hover: hover) {
  .pm-sidenav__toggle:hover { background: var(--color-surface-hover); color: var(--color-ink-strong); }
  .pm-sidenav__toggle:hover .bi { color: var(--color-ink-body); }
}
/* One button in both states, so focus stays on it: its glyph and words follow the
   frame's state. */
.pm-sidenav__toggle-expand,
.pm-app[data-collapsed] .pm-sidenav__toggle-collapse { display: none; }
.pm-app[data-collapsed] .pm-sidenav__toggle-expand { display: block; }

/* Collapsed: a 62px rail of glyphs. The open column's list gives way to the rail's,
   whose sections each carry a flyout. */
.pm-sidenav__rail { display: none; }
.pm-app[data-collapsed] .pm-sidenav { width: 62px; }
.pm-app[data-collapsed] .pm-sidenav__open { display: none; }
.pm-app[data-collapsed] .pm-sidenav__rail { display: flex; }
/* Hidden, still read out: the organization's name and the toggle's "Expand". */
.pm-app[data-collapsed] .pm-sidenav__headname,
.pm-app[data-collapsed] .pm-sidenav__toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.pm-sidenav__row--rail { width: 62px; padding: 0 0 0 20px; }
.pm-sidenav__row--rail .pm-sidenav__label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The section whose flyout is open keeps the hover fill. */
.pm-sidenav__railitem[data-open] > .pm-sidenav__row { background: var(--color-surface-hover); }
/* The flyout: ActionMenu's surface, 6px past the column's edge (the 7px before the
   panel is part of the row's hover, so the pointer can cross to the sub-pages), its
   first line level with the row. pmSideNav places it against the window. While it is
   closed its sub-pages stay in the page, hidden, so Tab reaches them and opens it. */
.pm-flyout {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[data-open] > .pm-flyout {
  position: fixed;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  z-index: 40;
  padding-left: 7px;
}
.pm-flyout__panel {
  box-sizing: border-box;
  width: max-content;
  max-width: 280px;
  overflow: hidden;
  padding: 6px 0;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
}
/* The organization's own flyout: its name, and its second line where it has one
   ("Pathminder Support"), 9px above and below, so the line is 44px alone and 58px with
   both (SideNav, design-system e3f47cf). */
.pm-flyout__head {
  display: flex;
  align-items: center;
  min-height: var(--size-tap-min);
  box-sizing: border-box;
  padding: 9px 16px;
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-strong);
  white-space: nowrap;
}
.pm-flyout__row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--size-tap-min);
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px 0 13px;
  border-left: var(--size-active-rail) solid transparent;
  border-radius: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-body);
}
.pm-flyout__row--name { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
@media (hover: hover) {
  .pm-flyout__row:hover { background: var(--color-surface-hover); text-decoration: none; }
}
.pm-flyout__row[data-current] { border-left-color: var(--color-action); color: var(--color-action); }

/* ---- The phone's menu drawer: the side navigation's rows, then the account's ---- */
.pm-drawer-nav__head {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  min-height: 52px;
  box-sizing: border-box;
  padding: 6px var(--space-gutter-mobile);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-drawer-nav__list,
.pm-drawer-nav__sub { list-style: none; margin: 0; padding: 0; }
.pm-drawer-nav__row {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  min-height: var(--size-menu-row);
  box-sizing: border-box;
  padding: 0 16px 0 13px;
  border-left: var(--size-active-rail) solid transparent;
  border-radius: 0;
  font: var(--type-subhead) var(--font-text);
  line-height: 1;
  color: var(--color-ink-strong);
  text-decoration: none;
}
/* Log out is a form's button, drawn as the rows are. */
.pm-drawer-nav__row--button {
  width: 100%;
  margin: 0;
  border-top: 0;
  border-right: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.pm-drawer-nav__row--sub { padding-left: 37px; font: var(--type-body) var(--font-text); line-height: 1; color: var(--color-ink-body); }
.pm-drawer-nav__row .bi { flex: none; width: 15px; text-align: center; font-size: var(--size-glyph-sm); line-height: 1; color: var(--color-ink-glyph); }
.pm-drawer-nav__row[data-current] { border-left-color: var(--color-action); color: var(--color-action); }
.pm-drawer-nav__row[data-current] .bi { color: var(--color-action); }
@media (hover: hover) {
  .pm-drawer-nav__row:hover { background: var(--color-surface-hover); text-decoration: none; }
}
/* A hairline between two groups, flush, never between rows (design-system 71022f5;
   Elowen: "desktop only uses them for sections"): the sections, the contexts, Account,
   the foot. None above the first (the ✕ row, or the organization's head, ends on its
   own) and none for a group that isn't drawn. Within the contexts the eyebrows divide. */
.pm-drawer-nav__group + .pm-drawer-nav__group,
.pm-drawer-nav__sections + .pm-drawer-nav__account > .pm-drawer-nav__group:first-child {
  border-top: 1px solid var(--color-line-row);
}
.pm-drawer-nav__account .pm-account__row {
  min-height: var(--size-menu-row);
  padding: 0 var(--space-gutter-mobile);
}
.pm-drawer-nav__account .pm-account__label,
.pm-drawer-nav__account .pm-account__row[aria-current="true"] .pm-account__label { line-height: 1.2; }
.pm-drawer-nav__account .pm-account__row:focus-visible { outline: var(--focus-ring); outline-offset: calc(var(--focus-offset) * -1); }

/* ---- The account menu's foot (SiteNav AccountFoot, design-system f8ad9e4) ---------- */
/* Under a hairline: the time zone line where the page has no footer (Pathminder Admin's
   organizations' pages), then one row with Log out at its left and Privacy and Terms at
   its right, like HubSpot's. Each part takes the hover fill under the pointer or the
   keyboard, square, as the rows do. The drawer's (.pm-drawer-nav__foot) is the phone's:
   its gutter, its rows' height, Log out in the subhead type with its glyph. */
.pm-account__foot { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--color-line-row); }
.pm-account__foot--tz { padding-top: 0; }
/* The footer's sentence (design-system 9788931). On two rows it wraps balanced, so the
   zone's name moves down whole with "· Re-detect" rather than leave Re-detect alone on a
   row (8205ab7, SiteNav's foot). */
.pm-tz--menu,
.pm-tz--drawer { font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); text-wrap: balance; }
.pm-tz--menu { padding: 10px 16px 0; }
.pm-tz--drawer { padding: 14px var(--space-gutter-mobile) 2px; }
.pm-tz--menu b,
.pm-tz--drawer b { font-weight: 600; color: var(--color-ink-body); }
.pm-tz--menu .pm-tz__redetect:focus { outline: none; text-decoration: underline; }
.pm-account__footrow { display: flex; align-items: stretch; justify-content: space-between; }
.pm-account__legal { display: flex; align-items: stretch; }
.pm-account__footcell {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  min-height: 44px;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.pm-account__footcell:focus-visible { outline: none; }
.pm-account__footcell:hover,
.pm-account__footcell:focus { background: var(--color-surface-hover); text-decoration: none; }
.pm-account__footcell--out { padding: 0 16px; font: 400 15px/1.3 var(--font-text); color: var(--color-ink-strong); }
.pm-account__footcell--legal { padding: 0 8px; font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); }
.pm-account__footcell--legal:last-child { padding-right: 16px; }
.pm-drawer-nav__foot .pm-account__footcell { min-height: var(--size-menu-row); }
.pm-drawer-nav__foot .pm-account__footcell--out { padding: 0 16px 0 var(--space-gutter-mobile); font: var(--type-subhead) var(--font-text); }
.pm-drawer-nav__foot .pm-account__footcell--out .bi { flex: none; width: 15px; text-align: center; font-size: var(--size-glyph-sm); line-height: 1; color: var(--color-ink-glyph); }
.pm-drawer-nav__foot .pm-account__footcell--legal:last-child { padding-right: var(--space-gutter-mobile); }
.pm-drawer-nav__foot .pm-account__footcell:focus-visible { outline: var(--focus-ring); outline-offset: calc(var(--focus-offset) * -1); }

/* ---- A context's second line (SiteNav's ContextName, design-system e3f47cf) ------- */
/* How the person is there ("Pathminder Support"), 3px under the name, wherever the
   context is drawn: the account menu's rows (62px with it), the drawer's, the side
   navigation's head and its flyout. Its own type, whatever the name's. */
.pm-ctxname { display: flex; flex-direction: column; gap: var(--gap-hairline); }
.pm-ctxname__detail { font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); }

/* ---- The notice (AppShell `notice`, AccessNotice; design-system e3f47cf) --------- */
/* Desktop: it never scrolls away. The bar goes and the notice stays at the window's top,
   over the page, under the account menu and the flyouts (z-index 40). Until pmAppShell
   measures it, its one line's height (42px with its hairline) is where the side column
   and a table's head stick. Phone: under the bar, scrolling with it. */
.pm-app--notice { --app-sticky-top: 42px; }
.pm-app__notice { position: sticky; top: 0; z-index: var(--layer-sticky); }
@media (max-width: 767px) {
  .pm-app__notice { position: static; }
}
/* The strip: the warning tone, 10px above and below, the page gutter at the sides (so
   its words start under the logo), a hairline under it. No glyph. */
.pm-accessnotice {
  box-sizing: border-box;
  padding: 10px var(--space-gutter);
  background: var(--color-status-warning-bg);
  border-bottom: 1px solid var(--color-status-warning-line);
}
.pm-accessnotice__text {
  margin: 0;
  font: var(--type-meta) var(--font-text);
  color: var(--color-status-warning-ink);
  text-wrap: pretty;
}
.pm-accessnotice__lead { font-weight: 600; }
/* Leave: action blue and underlined, since beside the strip's ink its colour alone is
   1.33:1 and a link needs a second cue (as SiteBanner's links are underlined). */
.pm-accessnotice__leave {
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-action);
  text-decoration: underline;
}
.pm-accessnotice__leave:hover { color: var(--color-action); text-decoration: underline; }
@media (max-width: 767px) {
  /* A 44px hit area around the link's line, 8px past its words, moving nothing. */
  .pm-accessnotice__leave { display: inline-block; padding: 12px 8px; margin: -12px -8px; }
}

/* ==========================================================================
   ADMIN A2. The status badge and the dialog (the design system's StatusBadge and
   Dialog; <c-pm.status-badge>, <c-pm.dialog>; design-system 1a0a86c)
   ========================================================================== */

/* A pill, label only, 23px tall (4px + 13px at line-height 1 + 4px + its 1px edges),
   so it sits in a 44px table row and after an H1 without moving either. Each tone has
   its own edge, so it reads on a white card and on the page ground alike. */
.pm-status-badge {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  padding: 4px 9px;
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-pill);
  background: var(--color-surface-hover);
  font: var(--type-glyph-label) var(--font-text);
  line-height: 1;
  color: var(--color-ink-body);
  white-space: nowrap;
}
.pm-status-badge--success {
  color: var(--color-status-success-ink);
  background: var(--color-status-success-bg);
  border-color: var(--color-status-success-line);
}
.pm-status-badge--warning {
  color: var(--color-status-warning-ink);
  background: var(--color-status-warning-bg);
  border-color: var(--color-status-warning-line);
}
.pm-status-badge--error {
  color: var(--color-canceled);
  background: var(--color-canceled-bg);
  border-color: var(--color-canceled-line);
}

/* The dialog: the browser's <dialog> (showModal), with JoinGate's surface. The
   element itself is a transparent box the size of its panel, so a click that lands on
   it, and not on the panel, is a click on the scrim (pmDialog's scrim). */
.pm-dialog {
  box-sizing: border-box;
  width: 520px;
  max-width: calc(100% - var(--gap-page));
  max-height: calc(100dvh - var(--gap-page));
  padding: 0;
  margin: auto;
  border: 0;
  background: transparent;
  overflow: visible;
  color: inherit;
}
.pm-dialog::backdrop { background: var(--color-scrim); }
/* The page behind a dialog doesn't scroll. */
html:has(.pm-dialog[open]) { overflow: hidden; }
.pm-dialog__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-height: calc(100dvh - var(--gap-page));
  margin: 0;
  overflow: hidden;
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-gate);
}
.pm-dialog__head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: var(--gap-chip);
  box-sizing: border-box;
  padding: 12px 16px 0 var(--space-card-body);
}
/* The title on the ✕'s centre line: (the 44px box − one 19px/1.2 line) / 2. */
.pm-dialog__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 11px 0 0;
  font: var(--type-card-title) var(--font-text);
  color: var(--color-ink-strong);
  text-wrap: balance;
}
/* Focused by script as the dialog opens (and on each of the join gate's steps), so a screen
   reader starts with the question. It isn't a control, so it draws no ring, which would read
   as a field's. As specific as it is because `.pm :focus-visible` draws one on everything
   else (design-system, 2026-11-29). */
.pm .pm-dialog__title:focus-visible { outline: none; }
.pm-dialog__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink-body);
  cursor: pointer;
}
.pm-dialog__close .bi { font-size: var(--size-glyph-row); line-height: 1; }
@media (hover: hover) {
  .pm-dialog__close:hover { color: var(--color-ink-strong); }
}
.pm-dialog__close:active { color: var(--color-ink-strong); }
.pm-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  padding: var(--gap-block) var(--space-card-body) var(--gap-group);
}
.pm-dialog__text {
  margin: 0;
  font: var(--type-prose) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
/* The foot never scrolls: a hairline, then Cancel and the action, right-aligned, 12px
   apart. The action is first in the markup (see dialog.html), so the row reverses. */
.pm-dialog__foot {
  flex: 0 0 auto;
  padding: var(--gap-block) var(--space-card-body) var(--gap-group);
  border-top: 1px solid var(--color-line-row);
}
.pm-dialog__buttons {
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-inline);
}
@media (max-width: 767px) {
  /* A bottom sheet as tall as its content, at least 52px short of the top. */
  .pm-dialog {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 52px);
    margin: auto 0 0;
  }
  .pm-dialog__panel {
    max-height: calc(100dvh - 52px);
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    box-shadow: var(--shadow-sheet);
  }
  .pm-dialog__head { min-height: 52px; padding: 4px 4px 0 var(--space-gutter-mobile); }
  .pm-dialog__title { padding-top: 12px; }
  .pm-dialog__body { padding: var(--gap-inline) var(--space-gutter-mobile) var(--gap-group); }
  .pm-dialog__foot { padding: var(--gap-inline) var(--space-gutter-mobile) var(--space-safe-bottom); }
  /* Stacked at full width, the action first; a long label wraps inside its button. */
  .pm-dialog__buttons { flex-direction: column; align-items: stretch; gap: var(--gap-chip); }
  .pm-dialog__buttons .pm-button {
    width: 100%;
    height: auto;
    min-height: var(--size-button);
    padding: 8px 20px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
  }
}

/* ---- A dialog's top (Dialog `top`, design-system e3f47cf) ------------------------ */
/* What stays between the head and the body while the body scrolls: a search field over
   its results. 16px under the head (12px on a phone), at the body's inset. */
.pm-dialog__top { flex: 0 0 auto; padding: var(--gap-block) var(--space-card-body) 0; }
@media (max-width: 767px) {
  .pm-dialog__top { padding: var(--gap-inline) var(--space-gutter-mobile) 0; }
}

/* ---- Support an organization (ContextSearch, design-system e3f47cf) ----------------- */
/* Desktop: 615px tall whatever the results, so nothing jumps while they change (the
   head, the field, five results and half the sixth, the foot); never taller than the
   window less 48px (the panel's own max-height). Phone: the sheet at full height. */
.pm-dialog[data-ctxsearch] .pm-dialog__panel { height: 615px; }
@media (max-width: 767px) {
  .pm-dialog[data-ctxsearch] .pm-dialog__panel { height: calc(100dvh - 52px); }
}
/* The field, then 6px down the note: what is searched, and what going there means. */
.pm-ctxsearch__top { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-ctxsearch__note { font: var(--type-helper) var(--font-text); color: var(--color-ink-subtle); text-wrap: pretty; }
/* The results run edge to edge, as the account menu's rows do; each row starts at the
   dialog's inset (26px; 16px on a phone). */
.pm-ctxsearch__results { --ctx-inset: var(--space-card-body); margin: 0 calc(-1 * var(--ctx-inset)); }
@media (max-width: 767px) {
  .pm-ctxsearch__results { --ctx-inset: var(--space-gutter-mobile); }
}
.pm-ctxsearch__heading {
  padding: 0 var(--ctx-inset) 6px;
  font: var(--type-eyebrow) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.pm-ctxsearch__list { list-style: none; margin: 0; padding: 0; }
.pm-ctxsearch__list > li + li { border-top: 1px solid var(--color-line-row); }
/* A result: the whole row is the choice, at least 44px (62px with its second line):
   its 30px mark, 12px, its name and second line, its plan at the end. Hover and focus
   fill it; the focus ring sits inside the row. */
.pm-ctxsearch__row {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  width: 100%;
  min-height: var(--size-tap-min);
  box-sizing: border-box;
  padding: 9px var(--ctx-inset);
  color: var(--color-ink-strong);
  text-align: left;
  text-decoration: none;
  outline-offset: -2px;
}
.pm-ctxsearch__row:hover,
.pm-ctxsearch__row:focus { background: var(--color-surface-hover); color: var(--color-ink-strong); text-decoration: none; }
.pm-ctxsearch__words { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--gap-hairline); }
.pm-ctxsearch__name { font: var(--type-value) var(--font-text); overflow-wrap: anywhere; }
.pm-ctxsearch__detail {
  font: var(--type-caption) var(--font-text);
  color: var(--color-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-ctxsearch__detail--machine { font: var(--type-machine) var(--font-mono); }
.pm-ctxsearch__meta { flex: none; font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); white-space: nowrap; }
/* Nothing matches, or more than a page: a line where the first row would be, or after
   the last. */
.pm-ctxsearch__line { padding: 10px var(--ctx-inset); font: var(--type-meta) var(--font-text); color: var(--color-ink-subtle); }
.pm-ctxsearch__line--more { font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); border-top: 1px solid var(--color-line-row); }

/* ==========================================================================
   ADMIN A3. The page head (<c-pm.page-head>; the design system's README, "Page head")
   ========================================================================== */

/* The kicker and the H1 tied 6px apart; the line under the H1 9px below it. */
.pm-pagehead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-chip);
}
.pm-pagehead__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-glyph);
}
/* A status badge 12px after the H1 on its first line, or 6px under it when it doesn't
   fit. */
.pm-pagehead__h1row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-glyph) var(--gap-inline);
}
.pm-pagehead h1 { margin: 0; }
.pm-pagehead__sub { margin: 0; max-width: var(--measure-row); font: var(--type-body) var(--font-text); color: var(--color-ink-body); }

/* An Admin page: its head, then its parts, 22px apart. */
.pm-adminpage { display: flex; flex-direction: column; gap: var(--gap-group); }

/* ==========================================================================
   ADMIN A4. The record list: its head, the card with the saved views as its top
   edge, the tools, the table and the pages (the design system's RecordTable,
   ViewTabs, RecordToolbar and Pagination; design-system 70e133f and dbb9d47;
   <c-pm.view-tabs>, <c-pm.record-search>, <c-pm.pagination>)
   ========================================================================== */

/* The head of a list page: the H1, then its ⋮ menu and its Add on one line. */
.pm-listhead {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
}
.pm-listhead h1 { flex: 1 1 auto; min-width: 0; margin: 0; }
/* Add host (Pathminder Admin, Hosts): "Add what you know about them" opens the
   organization's suggestion under a hairline, 16px apart, two fields to a row where the
   mock pairs them. The disclosure is <details>; its marker is the TextAction's chevron,
   turned up while open. */
.pm-addhost > summary { list-style: none; cursor: pointer; }
.pm-addhost > summary::-webkit-details-marker { display: none; }
.pm-addhost[open] .pm-addhost__toggle { display: none; }
.pm-addhost__known {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  padding-top: var(--gap-block);
  border-top: 1px solid var(--color-line-row);
}
.pm-addhost__intro { display: flex; flex-direction: column; gap: 3px; }
.pm-addhost__intro .pm-helper { color: var(--color-ink-muted); }
.pm-addhost__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-block); }
/* The account menu's Finders and Invitations (SiteNav): the eyebrow over the rows, at the
   rows' inset, 10px over and 4px under (SiteNav's ContextRows), and each invitation's
   "Accept" at its end in the action blue. */
.pm-account__eyebrow { display: block; padding: 10px 16px 4px; }
/* In the phone drawer (Finders): at the drawer's gutter, 16px over and 6px under
   (SiteNav's ContextRows on a phone). */
.pm-drawer-nav__eyebrow { padding: 16px var(--space-gutter-mobile) 6px; }
.pm-account__accept { margin-left: auto; font: var(--type-value) var(--font-text); color: var(--color-action); }
/* A host's invitation (Pathminder Admin, Personal; screen-admin-host-invitation.html):
   22px under the head, 16px apart, 760px at most. Your details is a card padded 22px
   24px; each detail a radio group: its label in a 160px column, then the account's value
   and the organization's, a hairline above each; one column on a phone. */
.pm-invitation__body { display: flex; flex-direction: column; gap: var(--gap-block); max-width: 760px; margin-top: 22px; }
.pm-invitation__details { display: flex; flex-direction: column; gap: var(--gap-block); padding: 22px 24px; }
.pm-invitation__title { margin: 0; }
.pm-invitation__lede { margin: 0; max-width: 640px; font: var(--type-body) var(--font-text); color: var(--color-ink-body); }
.pm-invitation__pick {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 0 var(--gap-block);
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--color-line-card);
}
.pm-invitation__picklabel { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-invitation__same {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-line-card);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
}
@media (max-width: 767px) {
  .pm-invitation__details { padding: 18px 16px; }
  .pm-invitation__pick { grid-template-columns: 1fr; gap: 3px; }
}

/* The card holds the whole list: the views as its top edge, the tools under a
   hairline, then the rows. Pagination sits 12px under it, on the page ground. */
.pm-records {
  box-sizing: border-box;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
/* The list: the card, then the pages 12px under it. One box, so htmx swaps it whole. */
.pm-recordlist { display: flex; flex-direction: column; gap: var(--gap-inline); }

/* The saved views (ViewTabs, docked): a 48px row, every item centred 24px down; each
   view its list glyph 8px before its name (600 15px on an 18px line), 28px apart, the
   open one on the 3px action-blue rail, which ends on the card's hairline. */
.pm-viewtabs {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-block);
  padding: 0 var(--gap-block);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-viewtabs__list {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pm-viewtab {
  flex: none;
  display: flex;
  align-items: flex-start;
  height: 48px;
  box-sizing: border-box;
  border-bottom: var(--size-active-rail) solid transparent;
}
.pm-viewtab[hidden],
.pm-viewtabs__more[hidden] { display: none; }
.pm-viewtab:has([aria-current]) { border-bottom-color: var(--color-action); }
.pm-viewtab > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 2px 12px;
  border-radius: 0;
  white-space: nowrap;
  font: 600 15px/18px var(--font-text);
  color: var(--color-ink-muted);
  text-decoration: none;
}
.pm-viewtab > a .bi { font-size: 16px; line-height: 1; }
@media (hover: hover) {
  .pm-viewtab > a:hover { color: var(--color-ink-strong); text-decoration: none; }
}
.pm-viewtab > a[aria-current] { color: var(--color-action); }
/* Unsaved changes: a 6px dot after the open view's name, and one Save view at the row's
   end (36px, on the row's middle). */
.pm-viewtab__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-action);
}
.pm-viewtabs__save { display: flex; align-items: center; flex: none; height: 48px; margin: 0 0 0 auto; }
.pm-viewtabs__save .pm-quietbutton { min-height: 36px; cursor: pointer; }
/* The open view's arrow: 24px, 2px after its tab, opening its menu 6px under the row. */
.pm-viewmenu { height: 48px; align-items: flex-start; }
.pm-viewmenu__trigger {
  display: inline-flex;
  margin: 12px 0 0 2px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-inline);
  background: none;
  color: var(--color-action);
  cursor: pointer;
}
.pm-viewmenu__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-inline);
}
.pm-viewmenu__arrow .bi { font-size: 11px; line-height: normal; }
.pm-viewmenu__trigger[aria-expanded="true"] .pm-viewmenu__arrow { background: var(--color-surface-selected); }
.pm-viewmenu__trigger[aria-expanded="true"] .bi { transform: rotate(180deg); }
.pm-viewmenu .pm-textmenu__popover,
.pm-viewtabs__more .pm-textmenu__popover { left: 0; right: auto; width: 240px; }
/* "N more", for the views that don't fit; then + (New view), 16px after the last. */
.pm-viewtabs__more { height: 48px; }
.pm-viewtabs__moretrigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 2px;
  border: 0;
  background: none;
  font: 600 15px/18px var(--font-text);
  color: var(--color-ink-muted);
  white-space: nowrap;
  cursor: pointer;
}
.pm-viewtabs__moretrigger .bi { font-size: 15px; line-height: 1; }
.pm-viewtabs__moretrigger[aria-expanded="true"] { color: var(--color-action); }
.pm-viewtabs__add { display: flex; align-items: center; flex: none; height: 48px; margin-left: calc(var(--gap-block) - 28px); }
.pm-viewtabs__add button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-inline);
  background: none;
  color: var(--color-ink-muted);
  cursor: pointer;
}
.pm-viewtabs__add .bi { font-size: 17px; line-height: 1; }
@media (hover: hover) {
  .pm-viewtabs__add button:hover { background: var(--color-surface-hover); color: var(--color-action); }
}
/* A saved view's dialog: who sees it, under its own label, the rows' radios in line with
   the label and the field (each row pads itself 16px). */
.pm-viewwho { display: flex; flex-direction: column; gap: 6px; }
.pm-viewwho__label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-viewwho__rows { display: flex; flex-direction: column; margin: 0 -16px; }
/* The rows as the design system's OptionRow draws them in a dialog: no fill or edge for
   the chosen one, whose radio and 600 label say it; no count. At every width. */
.pm-viewwho .pm-option {
  box-sizing: border-box;
  min-height: var(--size-tap-min);
  padding: 9px 16px;
  gap: 12px;
  border: 0;
  background: transparent;
}
@media (hover: hover) {
  .pm-viewwho .pm-option:hover { background: var(--color-surface-hover); }
}
.pm-viewwho .pm-option__text { align-self: flex-start; gap: 3px; }
.pm-viewwho .pm-option__name { font: var(--type-value) var(--font-text); }
.pm-viewwho .pm-option:has(input:checked) .pm-option__name { font: var(--type-label) var(--font-text); }
.pm-viewwho .pm-option__count { display: none; }
/* Part of the open view is gone: said over the list, 16px under the head and over the card. */
.pm-recordlist > .pm-statusbanner { max-width: none; margin: calc(var(--gap-block) - var(--gap-group)) 0 calc(var(--gap-block) - var(--gap-inline)); }

/* The tools: padded with the card's 16px, a hairline under them; their lines 12px
   apart, every control on the first 44px tall, 9px apart. */
.pm-records__tools {
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline);
  padding: var(--gap-block);
  border-bottom: 1px solid var(--color-line-row);
}
.pm-records__toolline { display: flex; align-items: center; gap: var(--gap-chip); }
/* The search: a 44px box at most 340px wide, the magnifier 14px in. */
.pm-recordsearch {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 340px;
  min-width: 0;
  margin: 0;
}
.pm-recordsearch .bi-search {
  position: absolute;
  left: 14px;
  font-size: var(--size-glyph-sm);
  line-height: 1;
  color: var(--color-ink-glyph);
  pointer-events: none;
}
.pm-recordsearch input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 44px 0 40px;
  font: 400 16px/1 var(--font-text);
  color: var(--color-ink-strong);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  -webkit-appearance: none;
  appearance: none;
}
.pm-recordsearch input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.pm-recordsearch input:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

/* The table: rows edge to edge, 16px from the card's edges to the first and last
   cells, 24px between cells; the head row 44px, sticking to the window's top, or under
   the frame's notice where there is one (--app-sticky-top, design-system e3f47cf). */
.pm-records__table { width: 100%; border-collapse: separate; border-spacing: 0; }
.pm-records__table th {
  position: sticky;
  top: var(--app-sticky-top, 0px);
  z-index: 3;
  height: 44px;
  box-sizing: content-box;
  padding: 0 12px;
  background: var(--color-surface-card);
  border-bottom: 1px solid var(--color-line-row);
  font: var(--type-field-label) var(--font-text);
  line-height: 1.2;
  color: var(--color-ink-muted);
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}
.pm-records__table td {
  padding: 11px 12px;
  border-top: 1px solid var(--color-line-row);
  vertical-align: middle;
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-strong);
}
.pm-records__table tbody tr:first-child td { border-top: 0; }
.pm-records__table tr { height: 44px; }
.pm-records__table th:first-child,
.pm-records__table td:first-child { padding-left: 16px; }
.pm-records__table th:last-child,
.pm-records__table td:last-child { padding-right: 16px; }
.pm-records__table tbody tr:last-child td:first-child { border-bottom-left-radius: 9px; }
.pm-records__table tbody tr:last-child td:last-child { border-bottom-right-radius: 9px; }
@media (hover: hover) {
  .pm-records__table tbody tr:hover td { background: var(--color-surface-hover); }
}
.pm-records__table .pm-records__muted { color: var(--color-ink-body); }
.pm-records__table .pm-records__end { text-align: right; font-variant-numeric: tabular-nums; }
/* A count: the figure under its column's heading; on a phone, where a fact has no heading,
   in words ("3 meetings"). */
.pm-records__words,
.pm-records__phonefacts { display: none; }
/* The handle: each record's name, a link to its page; the row's one link. */
.pm-records__handle { font: var(--type-label) var(--font-text); }
/* A second line under the handle: the detail that identifies the record. */
.pm-records__second {
  display: block;
  width: 0;
  min-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--type-caption) var(--font-text);
  color: var(--color-ink-muted);
}
.pm-records__stack { display: flex; flex-direction: column; gap: var(--gap-hairline); min-width: 0; }
/* A sortable head: the label, then its 11px chevron while it is the sort, in the
   strong ink; under the pointer or focus, action blue, and an unsorted head shows a
   faint chevron-expand. */
.pm-records__sort {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.pm-records__sort .bi {
  font-size: var(--size-glyph-chevron);
  line-height: 1;
  visibility: hidden;
  color: var(--color-ink-glyph);
}
.pm-records__sort[data-sorted] { color: var(--color-ink-strong); }
.pm-records__sort[data-sorted] .bi { visibility: visible; color: inherit; }
.pm-records__sort:hover,
.pm-records__sort:focus-visible { color: var(--color-action); text-decoration: none; }
.pm-records__sort:hover .bi,
.pm-records__sort:focus-visible .bi { visibility: visible; }

/* The pages: the range at the left, then Previous, the numbers and Next. */
.pm-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-block);
  min-height: 44px;
}
.pm-pagination__range {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pm-pagination__pages { display: flex; align-items: center; gap: var(--gap-hairline); }
.pm-pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-tap-min);
  height: var(--size-tap-min);
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: var(--radius-inline);
  font: 600 14px/1 var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-body);
  text-decoration: none;
}
@media (hover: hover) {
  .pm-pagination__num:hover { background: var(--color-surface-hover); text-decoration: none; }
}
.pm-pagination__num[aria-current] { background: var(--color-action); color: var(--color-action-on); cursor: default; }
.pm-pagination__gap { min-width: 24px; text-align: center; font: 600 14px/1 var(--font-text); color: var(--color-ink-muted); }
.pm-pagination__step { display: inline-flex; min-height: 44px; padding: 0 6px; }
.pm-pagination__step[aria-hidden="true"] { visibility: hidden; }
/* One page: the range alone (a phone keeps the unseen steps around it, below). */
.pm-pagination--one .pm-pagination__step { display: none; }

/* A phone: the head's Add full width under the H1, 9px below; the views scroll
   sideways; the search on its own line; each record a stacked row (its handle, then
   two or three key facts on one wrapping line in the meta type, 12px apart; 12px 16px
   padding, hairlines between); the pages are Previous, the range, Next. One table at
   both widths, so the phone's rows are its rows, drawn as the design system's list. */
@media (max-width: 767px) {
  .pm-listhead { flex-wrap: wrap; row-gap: var(--gap-chip); }
  .pm-listhead > .pm-button { flex: 1 0 100%; }
  /* Positioned, so it clips the open view's words for screen readers too, which are out of
     the flow and would otherwise widen the page. */
  .pm-viewtabs__list { position: relative; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
  /* The arrow and + are 44px targets that take no more room than their glyphs. The views'
     own menu floats over the page, so the row doesn't clip it (pmMenu, data-floating). */
  .pm-viewtabs__save { display: none; }
  .pm-viewmenu__trigger {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 2px -10px 0 -8px;
  }
  .pm-viewtabs__add { margin-left: -18px; }
  .pm-viewtabs__add button { width: 44px; height: 44px; }
  .pm-records__toolline { flex-direction: column; align-items: stretch; }
  .pm-recordsearch { flex: 1 1 auto; }
  .pm-records__table,
  .pm-records__table tbody { display: block; }
  .pm-records__table thead { display: none; }
  .pm-records__table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap-glyph) var(--gap-inline);
    height: auto;
    padding: 12px 16px;
    border-top: 1px solid var(--color-line-row);
  }
  .pm-records__table tbody tr:first-child { border-top: 0; }
  .pm-records__table td,
  .pm-records__table td:first-child,
  .pm-records__table td:last-child {
    display: none;
    padding: 0;
    border: 0;
    font: var(--type-meta) var(--font-text);
    color: var(--color-ink-body);
  }
  .pm-records__table td:first-child { display: block; flex: 1 0 100%; font: var(--type-label) var(--font-text); }
  .pm-records__table td.pm-records__fact { display: inline-flex; }
  .pm-records__figure { display: none; }
  .pm-records__words { display: inline; }
  .pm-records__table td.pm-records__phonefacts { display: contents; }
  .pm-records__table tbody tr:hover td { background: none; }
  .pm-pagination__pages { display: contents; }
  .pm-pagination__num,
  .pm-pagination__gap { display: none; }
  .pm-pagination__step:first-child { order: -1; }
  .pm-pagination--one .pm-pagination__step { display: inline-flex; }
}

/* A button's glyph (the design system's Button `icon`): 16px, on a line of its own
   height, 6px before its words (the button's gap). "Add meeting" carries the plus. */
.pm-button > .bi { font-size: var(--size-glyph); line-height: 1; }

/* ==========================================================================
   ORGANIZATION FINDERS (PM2 finder Phase 5, slice A; finder mockups, Screen -
   Organization Meeting List): an organization's brand in the navbar, and its location
   gate. Its theme's tokens are its own stylesheet (.theme-org, finder.views.theme); its
   display font is fonts.css's.
   ========================================================================== */

/* THE BRAND (SiteNav orgMark, orgName and siteName; <c-pm.organization-brand>): part 1's
   breadcrumb, with the design system's rulings over it. The organization's name is the
   bar's ink, not its muted ink (design system 2026-11-21: it read 1.4:1 on a dark bar),
   at 600 15px on a line of its own height, as SiteNav sets it and the site's name beside
   it already is (section 10). Below 880px part 1 hides the name and the chevron, leaving
   the mark beside the site's name (SiteNav's phone form); an organization with no mark
   then has nothing in that first link, so it goes too. */
.pm-breadcrumb .pm-breadcrumb__org { color: var(--color-nav-ink); line-height: 1; }
@media (max-width: 880px) {
  .pm-breadcrumb__org:not(:has(.pm-breadcrumb__mark)) { display: none; }
}

/* THE LOCATION GATE (<c-pm.location-gate>; design system LocationGate). Its search line at
   the search bar's own top padding under the intro (24px; 14px on a phone) and nothing
   under it, then the gate 30px under the field (--gap-band, PM1's .pm-gate, Elowen
   2026-10-07), with the empty state's sides and 60px foot (part 1's .pm-empty). Part 1's
   .pm-gate measured the 30px from a search line with its own 16px foot; this one has
   none, so the gate keeps the whole 30px at both widths. The three marks are 18px
   glyphs on lines of their own height (LocationGate), so each sits at the top of its
   box as the design system's do. */
.pm-locationgate > .pm-controlrail { padding: var(--space-rail-under-intro) var(--space-gutter) 0; }
.pm-locationgate .pm-gate { padding-top: var(--gap-band); }
.pm-gate__modes .pm-mode i { display: flex; line-height: 1; }
@media (max-width: 767px) {
  .pm-locationgate > .pm-controlrail { padding: var(--space-controlrail-mobile); }
}

/* ON A PHONE, ON EVERY FINDER: the search 14px under the intro, as FinderIntro's README,
   drop 81 and both finders' list mocks draw it (finder mockups README, 2026-11-21: "it was
   16px"); the list's rail kept part 1's 16px. And in the footer, an organization's logo
   12px above the time-zone line, as the design system's Footer spaces its row at both
   widths (part 1 closes it to 9px on a phone; with no organization the row holds one
   item, so nothing else moves). */
:root { --space-rail-under-intro-mobile: 14px; }
@media (max-width: 767px) {
  .pm-intro + .pm-listing > .pm-controlrail { padding-top: var(--space-rail-under-intro-mobile); }
  .pm-footer__row { gap: var(--gap-inline) var(--gap-group); }
}

/* ==========================================================================
   ADMIN A5. A record's page: its head row (the back link and the page actions)
   and its sections (the design system's RecordSection and the README's Page
   actions; <c-pm.record-section>)
   ========================================================================== */

/* The back link to the list, and the page's actions right-aligned on its row and
   centred on it (README, Page actions), 16px above the kicker. */
.pm-recordtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-block);
}
/* Top-aligned, as the design system's page actions are: a QuietButton's menu (Manage
   meeting, Manage host) sits at the row's top beside a taller button (coder-admin-features,
   measuring ameetingsessions: centred, it sat 1.6px low). */
.pm-recordtop__actions { display: flex; align-items: flex-start; gap: var(--gap-chip); }
/* The back link: the design system's TextAction, 600 14px on a line of its own height,
   its arrow 15px. */
.pm-recordtop > .pm-action-link { line-height: 1; }
.pm-recordtop > .pm-action-link .bi { font-size: var(--size-glyph-sm); line-height: 1; }
.pm-recordhead { display: flex; flex-direction: column; gap: var(--gap-block); }
/* The sections: 16px apart. */
.pm-recordsections { display: flex; flex-direction: column; gap: var(--gap-block); }
.pm-recordsection {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  box-sizing: border-box;
  padding: 20px 22px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
.pm-recordsection__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-block);
  min-height: 24px;
}
.pm-recordsection__title { margin: 0; font: var(--type-card-title) var(--font-text); color: var(--color-ink-strong); }
/* A mode in a fact is ModeLabel's default form: its glyph on the words' 21px line (the
   meta type's), not on a line of its own 15px glyph's 1.5. */
.pm-recordsection .pm-mode i { line-height: 21px; }
/* In edit (RecordSection `editing`): the same card, in place, is the page's action
   surface, the selected tint and its line; its rows give way to the fields, 16px apart,
   then Cancel and Save right-aligned 12px apart, 6px further down. A field's helper on
   the tint steps to the muted ink (TextField `onTint`). */
.pm-recordsection--editing {
  background: var(--color-surface-selected);
  border-color: var(--color-line-selected);
}
.pm-recordsection__form,
.pm-recordsection__fields { display: flex; flex-direction: column; gap: var(--gap-block); }
.pm-recordsection--editing .pm-helper { color: var(--color-ink-muted); }
/* A note that belongs to the field above it (English spelling's) sits 9px under it. */
.pm-recordsection__fieldnote { margin-top: calc(var(--gap-chip) - var(--gap-block)); }
.pm-recordsection__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--gap-inline);
  padding-top: 6px;
}
/* Saving: Save reads "Saving…" and the buttons hold, keeping their look (a disabled
   primary would grey its words on blue). htmx marks the form while its post runs. */
.pm-recordsection__busy { display: none; }
.pm-recordsection__form.htmx-request .pm-recordsection__idle { display: none; }
.pm-recordsection__form.htmx-request .pm-recordsection__busy { display: inline; }
.pm-recordsection__form.htmx-request .pm-recordsection__actions { pointer-events: none; }
/* One section in edit at a time: the others' Edit steps out, removed, not disabled. */
.pm-recordsections:has(.pm-recordsection--editing) .pm-recordsection__edit { display: none; }
/* SaveStatus "Saved" (README, Saving): a 15px check in the success glyph colour, then
   the words in the success ink, 600 13px, 6px apart, at the right of the head for 3
   seconds, then gone. */
.pm-savestatus {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  margin-left: auto;
  font: var(--type-glyph-label) var(--font-text);
  white-space: nowrap;
}
.pm-savestatus--saved { color: var(--color-status-success-ink); animation: pm-savestatus-gone 0s linear 3s forwards; }
.pm-savestatus--saved i { font-size: var(--size-glyph-sm); color: var(--color-status-success-glyph); }
@keyframes pm-savestatus-gone { to { visibility: hidden; } }
/* Settings › Finder's own words (Pathminder Admin, Elowen 2026-11-23): one group per
   finder language, Singular, Plural and (Spanish, French) Gender on one row, 1fr 1fr
   180px 16px apart, then "Reads as" 9px under them. One column on a phone. */
.pm-ownword { display: flex; flex-direction: column; gap: var(--gap-chip); }
.pm-ownword__fields { display: grid; grid-template-columns: 1fr 1fr 180px; gap: var(--gap-block); }
@media (max-width: 767px) {
  .pm-recordsection { padding: 18px 16px; }
  /* In edit, Cancel and Save stack at full width, Save first, 9px apart. */
  .pm-recordsection__actions { flex-direction: column-reverse; align-items: stretch; gap: var(--gap-chip); }
  .pm-recordsection__actions .pm-button { width: 100%; }
  .pm-ownword__fields { grid-template-columns: 1fr; }
  /* A phone (README, Page actions): the back link alone on its row, its tap area kept
     (6px above and below, taken back by its margin); the page actions under the head,
     9px below it, in a 2-column grid 9px apart, each the column's width and 44px tall;
     one action, or three or more, one to a row. */
  .pm-recordtop { display: contents; }
  .pm-recordtop > .pm-action-link { order: 0; padding: 6px 0; margin: -6px 0; }
  .pm-recordhead > .pm-pagehead { order: 1; }
  .pm-recordtop__actions {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-chip);
    margin-top: calc(var(--gap-chip) - var(--gap-block));
  }
  .pm-recordtop__actions:has(> :only-child),
  .pm-recordtop__actions:has(> :nth-child(3)) { grid-template-columns: 1fr; }
  .pm-recordtop__actions > .pm-quietbutton { justify-content: center; min-height: var(--size-tap-min); }
  /* Manage host's menu, its QuietButton a row of its own like the rest. */
  .pm-recordtop__actions > .pm-quietmenu { display: flex; }
  .pm-recordtop__actions > .pm-quietmenu > .pm-quietbutton { flex: 1 1 auto; justify-content: center; min-height: var(--size-tap-min); }
}

/* ==========================================================================
   ADMIN A6. A record list's handle without a page of its own, and a machine
   second line (the design system's RecordTable: a row without `href`;
   `secondaryMachine`)
   ========================================================================== */
/* The machine face: a string people copy (an API key, a language's code, a DNS value),
   never prose. The design system's tokens.css (--font-mono) and bundle.css
   (--type-machine), which the build hadn't needed until Admin. */
:root {
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --type-machine: 400 14px/1.4;
}
.pm-records__name { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-records__second--machine { font: var(--type-machine) var(--font-mono); }
/* A fact in the machine face (a Zoom meeting ID, a link, a passcode): the mock's mono. */
.pm-machine { font: var(--type-machine) var(--font-mono); overflow-wrap: anywhere; }
/* A numeric column's head: at the end, as its figures are, but in the head's own figures. */
.pm-records__table th.pm-records__headend { text-align: right; }
/* A sortable one keeps its label at the end, over the figures, with the chevron before
   it (RecordTable's end-aligned SortHead, row-reverse): Partners' Active meetings. */
.pm-records__headend .pm-records__sort { flex-direction: row-reverse; }

/* ==========================================================================
   ADMIN A7. A record list whose table is the card's top edge (no views, no tools
   above it): the head row's top corners are the card's (RecordTable, not `topped`)
   ========================================================================== */
.pm-records > .pm-records__table:first-child th:first-child { border-top-left-radius: 9px; }
.pm-records > .pm-records__table:first-child th:last-child { border-top-right-radius: 9px; }

/* ==========================================================================
   ADMIN A8. A row's menu (<c-pm.row-menu>; the design system's RecordTable `rowMenu`):
   the last cell, 52px, holds a 36px ⋮ button 8px from the row's end; open, it takes the
   hover fill and the action ink; its ActionMenu opens under it, aligned to its end.
   ========================================================================== */
.pm-records__table td.pm-records__menu { width: 52px; box-sizing: content-box; padding: 0 8px 0 0; text-align: right; }
/* A cell's quiet word, in the muted ink ("Never" downloaded; RecordTable's quiet). */
.pm-records__quiet { color: var(--color-ink-muted); }
/* A list page's head with a kicker (Finder › CSV exports): the kicker and H1, then the
   page's action at the row's end on the H1's last line; its line 9px under the row. */
.pm-listhead-block { display: flex; flex-direction: column; gap: 9px; }
.pm-listhead--kicker { align-items: flex-end; justify-content: space-between; gap: var(--gap-block); }
.pm-listhead--kicker > .pm-pagehead { flex: 1 1 auto; min-width: 0; }
.pm-rowmenu { position: relative; display: inline-flex; }
.pm-rowmenu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-inline);
  background: none;
  color: var(--color-ink-body);
  cursor: pointer;
}
.pm-rowmenu__trigger i { font-size: var(--size-glyph); line-height: 1; }
.pm-rowmenu__trigger[aria-expanded="true"] { background: var(--color-surface-hover); color: var(--color-action); }
@media (hover: hover) {
  .pm-rowmenu__trigger:hover { background: var(--color-surface-hover); }
}
.pm-rowmenu__trigger:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.pm-rowmenu .pm-textmenu__popover { text-align: left; }
/* ActionMenu's groups: a hairline between them, 6px above and below. */
.pm-actionmenu__separator { margin: 6px 0; border-top: 1px solid var(--color-line-row); }
/* ActionMenu `floating` (design-system 0fa8d7f): placed against the window (pmMenu). */
.pm-actionmenu .pm-textmenu__popover--floating { position: fixed; right: auto; max-width: calc(100vw - 16px); }
/* A row that says why there's nothing to do ("In use by 4 meetings"), in a row's menu or
   a record page's Manage menu: drawn as the mock's row, but nothing to press, so no
   pointer. */
.pm-actionmenu__item[aria-disabled="true"] { cursor: default; }

/* New meeting's sections: every field open, each section a white card with its fields
   (no tint: the page is the form, the unsaved changes bar its action). */
.pm-recordsection--open { padding: 22px 24px; }
@media (max-width: 767px) {
  .pm-recordsection--open { padding: 18px 16px; }
}
/* No Edit in its head, so the head is the title's own line. */
.pm-recordsection--open .pm-recordsection__head { min-height: 0; }
.pm-recordsection--open .pm-recordsection__fields { display: flex; flex-direction: column; gap: var(--gap-block); max-width: 560px; }

/* A choice row in a record section's fields (Camera on): the design system's OptionRow
   as it draws one in a form, 9px by 16px, 12px from box to words, no frame and no
   selected fill (the box says it), the description 3px under its name. */
.pm-recordsection__fields .pm-option {
  gap: var(--gap-inline);
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  background: transparent;
}
.pm-recordsection__fields .pm-option--selected { background: transparent; }
.pm-recordsection__fields .pm-option__text { gap: 3px; }
/* A form's rows keep their size on a phone (the finder's filter sheet enlarges its own). */
@media (max-width: 767px) {
  .pm-recordsection__fields .pm-option__name { font: var(--type-value) var(--font-text); }
  .pm-recordsection__fields .pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-recordsection__fields .pm-check__box { width: var(--size-control-box); height: var(--size-control-box); }
}

/* ==========================================================================
   ADMIN A10. The unsaved changes bar (<c-pm.unsaved-bar>; the design system's
   UnsavedBar): the fixed bottom bar surface, across the content column (beside the side
   column on a desktop), 12px by the gutter; "Unsaved changes" then Discard and Save, 12px
   apart; on a phone the words above two equal buttons. Shown from the first change
   (pmUnsaved sets data-shown); saving, "Saving…" and the buttons hold.
   ========================================================================== */
.pm-unsavedbar {
  position: sticky;
  bottom: 0;
  z-index: var(--layer-dock);
  margin: var(--gap-group) calc(var(--space-gutter) * -1) 0;
  padding: 12px var(--space-gutter);
  background: var(--color-surface-card);
  border-top: 1px solid var(--color-line-card);
  box-shadow: var(--shadow-dock);
}
[x-data] .pm-unsavedbar[data-shown="false"] { display: none; }
.pm-unsavedbar__inner { display: flex; align-items: center; gap: var(--gap-block); }
.pm-unsavedbar__words { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--gap-hairline); }
.pm-unsavedbar__message,
.pm-unsavedbar__saving { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-unsavedbar__saving { display: none; }
.pm-unsavedbar[data-saving] .pm-unsavedbar__message { display: none; }
.pm-unsavedbar[data-saving] .pm-unsavedbar__saving { display: block; }
.pm-unsavedbar[data-saving] .pm-unsavedbar__buttons { pointer-events: none; }
.pm-unsavedbar__error { font: var(--type-meta) var(--font-text); color: var(--color-canceled); text-wrap: pretty; }
/* "Changes saved": the design system's SaveStatus, saved (its check and ink), as tall as the
   buttons it stands in for. */
.pm-unsavedbar__saved { display: none; align-items: center; gap: var(--gap-glyph); min-height: var(--size-button); font: var(--type-label) var(--font-text); color: var(--color-status-success-ink); }
.pm-unsavedbar__saved i { font-size: var(--size-glyph-sm); color: var(--color-status-success-glyph); }
.pm-unsavedbar[data-saved] .pm-unsavedbar__message,
.pm-unsavedbar[data-saved] .pm-unsavedbar__buttons { display: none; }
.pm-unsavedbar[data-saved] .pm-unsavedbar__saved { display: inline-flex; }
.pm-unsavedbar__buttons { flex: none; display: flex; gap: var(--gap-inline); }
@media (max-width: 767px) {
  .pm-unsavedbar { padding: 12px 16px var(--space-safe-bottom); margin-left: -16px; margin-right: -16px; }
  .pm-unsavedbar__inner { flex-direction: column; align-items: stretch; gap: var(--gap-chip); }
  .pm-unsavedbar__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-chip); }
}

/* ==========================================================================
   ADMIN A11. SettingsList (<c-pm.settings-list>; the design system's forms/SettingsList):
   one card; each group's eyebrow heading, then its rows: the name and its line on the
   left, the control on the right, 30px apart, 12px by 22px, at least 64px tall.
   ========================================================================== */
.pm-settingslist {
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
}
.pm-settingslist__group + .pm-settingslist__group { border-top: 1px solid var(--color-line-row); }
.pm-settingslist__heading {
  padding: 16px 22px 9px;
  font: var(--type-eyebrow) var(--font-text);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.pm-settingslist__group + .pm-settingslist__group .pm-settingslist__heading { padding-top: 22px; }
.pm-settingslist__rows { list-style: none; margin: 0; padding: 0; }
.pm-settingslist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 var(--gap-band);
  min-height: 64px;
  box-sizing: border-box;
  padding: 12px 22px;
  border-top: 1px solid var(--color-line-row);
}
.pm-settingslist__words { display: flex; flex-direction: column; gap: var(--gap-hairline); min-width: 0; }
.pm-settingslist__label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-settingslist__description { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); text-wrap: pretty; }
.pm-settingslist__control { display: flex; justify-content: flex-end; }
.pm-settingslist__value { font: var(--type-value) var(--font-text); color: var(--color-ink-body); }
@media (max-width: 767px) {
  .pm-settingslist__heading { padding-left: 16px; padding-right: 16px; }
  .pm-settingslist__row { display: flex; flex-direction: column; align-items: stretch; gap: var(--gap-chip); padding: 12px 16px; }
  .pm-settingslist__control { justify-content: flex-start; }
}

/* ==========================================================================
   ADMIN A12. A QuietButton that opens an ActionMenu (<c-pm.quiet-menu>: Manage host),
   its chevron turned up while open; and a fact whose label is a link (a host's meetings).
   ========================================================================== */
.pm-quietmenu { position: relative; display: inline-flex; }
.pm-quietmenu__trigger { cursor: pointer; }
.pm-quietmenu__trigger .pm-quietmenu__chevron { font-size: var(--size-glyph-chevron); opacity: var(--opacity-chevron); }
.pm-quietmenu__trigger[aria-expanded="true"] .pm-quietmenu__chevron { transform: rotate(180deg); }
.pm-quietmenu .pm-textmenu__popover { text-align: left; }
/* A list head's ⋮ (<c-pm.quiet-menu icon>; the design system's Record lists head): a
   square the button's height, its glyph (QuietButton's 15px) centred. */
.pm-quietmenu--icon .pm-quietmenu__trigger {
  justify-content: center;
  width: var(--size-button);
  min-height: var(--size-button);
  padding: 0;
}
.pm-fact__link { font-weight: 600; }

/* ==========================================================================
   ADMIN A13. A fact with a host's change waiting for approval (a host's edit,
   mockups/admin/screen-admin-host-edit.html): the value now with a warning StatusBadge
   "Waiting", 6px by 12px apart as they wrap; then, 4px under, what was asked and when,
   in the meta type and the muted ink.
   ========================================================================== */
.pm-waiting { display: flex; flex-direction: column; gap: 4px; }
.pm-waiting__now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pm-waiting__asked { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }

/* ==========================================================================
   ADMIN A14. KeyNumbers (<c-pm.key-numbers>; the design system's KeyNumbers): white
   tiles at least 180px wide, 16px apart (two columns 9px apart on a phone); in each,
   6px apart: the label, the number, the change against a period (a caret, the amount
   and the period; the good way the success colours, the other the warning ones, the
   same grey), and the link to its report at the foot, 6px more above it (KeyNumbers.jsx),
   measured to the mock: 26px in all, 48px on a phone (TextAction's 44px target).
   ========================================================================== */
.pm-keynumbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.pm-keynumber { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--color-surface-card); border: 1px solid var(--color-line-card); border-radius: var(--radius-card); min-width: 0; }
.pm-keynumber__label { font: var(--type-field-label) var(--font-text); color: var(--color-ink-muted); }
.pm-keynumber__value { font: var(--type-time) var(--font-text); font-variant-numeric: tabular-nums; color: var(--color-ink-strong); }
.pm-keynumber__change { display: flex; align-items: center; gap: 6px; font: var(--type-meta) var(--font-text); font-variant-numeric: tabular-nums; color: var(--color-ink-body); }
.pm-keynumber__change i { font-size: 15px; color: var(--color-ink-glyph); }
.pm-keynumber__change--good { color: var(--color-status-success-ink); }
.pm-keynumber__change--good i { color: var(--color-status-success-glyph); }
.pm-keynumber__change--bad { color: var(--color-status-warning-ink); }
.pm-keynumber__change--bad i { color: var(--color-status-warning-glyph); }
.pm-keynumber__link { margin-top: auto; padding-top: 6px; min-height: 26px; box-sizing: border-box; align-self: flex-start; }
@media (max-width: 767px) {
  .pm-keynumbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .pm-keynumber { padding: 14px 16px; }
  /* A finger's 44px, as TextAction's minHeight on a phone (no visible box). */
  .pm-keynumber__link { min-height: 48px; }
}

/* ==========================================================================
   ADMIN A15. A report's panel (the design system's Card on a report page: a white card,
   22px 24px, its parts 12px apart; the library's 18px 22px, 6px apart): the chart's, each
   breakdown's, each report in the library. A breakdown's head is its title (the card
   title's type) with a line under it 5px down; its table is RecordTable in its own card.
   ========================================================================== */
.pm-panel { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; background: var(--color-surface-card); border: 1px solid var(--color-line-card); border-radius: var(--radius-card); min-width: 0; }
.pm-panel--tight { gap: 6px; padding: 18px 22px; }
.pm-panel__head { display: flex; flex-direction: column; gap: 5px; }
.pm-panel__title { margin: 0; font: var(--type-card-title) var(--font-text); color: var(--color-ink-strong); }
.pm-panel__link { font: var(--type-card-title) var(--font-text); text-decoration: none; }
.pm-panel__sub { margin: 0; font: var(--type-body) var(--font-text); color: var(--color-ink-body); }
/* A report panel's line under its title: the helper type, muted. */
.pm-panel__head .pm-panel__sub { font: var(--type-helper) var(--font-text); color: var(--color-ink-muted); }
/* Reports: the library's panels two to a row, 16px apart. A report's parts 22px apart:
   its controls with the time-zone line 9px under them, the key numbers with the note
   16px under them, the chart, the breakdowns two to a row 16px apart; a breakdown's numbers end-aligned in
   tabular figures. One column on a phone. */
.pm-reportlibrary { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm-report { display: flex; flex-direction: column; gap: 22px; }
.pm-report__top { display: flex; flex-direction: column; gap: 9px; }
.pm-report__numbers { display: flex; flex-direction: column; gap: 16px; }
.pm-report__controls { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.pm-report__zone { margin: 0; font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }
.pm-report__tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm-report__tables > .pm-panel--wide { grid-column: 1 / -1; }
.pm-records__table .pm-records__num { text-align: right; }
.pm-records__table td.pm-records__num { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  /* A report's panels are 16px all round on a phone; the library's keep theirs. */
  .pm-panel:not(.pm-panel--tight) { padding: 16px; }
  .pm-reportlibrary, .pm-report__tables { grid-template-columns: minmax(0, 1fr); }
  /* A stacked row's name that isn't a link (a breakdown's) keeps the strong ink. */
  .pm-records__table td:first-child > span.pm-records__handle { color: var(--color-ink-strong); }
}

/* ==========================================================================
   ADMIN A16. NotificationGrid (<c-pm.notification-grid>; the design system's
   NotificationGrid): a white card of topics against channels, the channels' columns
   96px (64px on a phone) and centred, each group under an eyebrow heading over a
   hairline (22px above all but the first), topics with hairlines between, each cell a
   44px target around a Checkbox; the email digest 22px under the card. And a settings
   list's select (a threshold), 160px.
   ========================================================================== */
.pm-notifygrid { display: flex; flex-direction: column; gap: 22px; padding: 20px 22px 22px; background: var(--color-surface-card); border: 1px solid var(--color-line-card); border-radius: var(--radius-card); }
/* A settings page's titled part (Meeting health, Defaults for new members): its H2, 12px over
   its list or grid. */
.pm-settingsblock { display: flex; flex-direction: column; gap: 12px; }
/* 30px between two parts, as the mock (and Home) set its sections apart: the page's 22, and 8. */
.pm-settingsblock + .pm-settingsblock { margin-top: 8px; }
.pm-settingsblock__title { margin: 0; font: var(--type-section) var(--font-display); color: var(--color-ink-strong); }
.pm-notifygrid__table { width: 100%; border-collapse: separate; border-spacing: 0; }
.pm-notifygrid__table thead th { padding: 0 0 9px; font: var(--type-field-label) var(--font-text); color: var(--color-ink-muted); }
.pm-notifygrid__channel { width: 96px; text-align: center; }
.pm-notifygrid__heading th { padding: 22px 0 6px; border-bottom: 1px solid var(--color-line-row); font: var(--type-eyebrow) var(--font-text); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-ink-muted); text-align: left; }
.pm-notifygrid__group:first-of-type .pm-notifygrid__heading th { padding-top: 12px; }
.pm-notifygrid__name { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--color-line-row); font: var(--type-value) var(--font-text); color: var(--color-ink-strong); text-align: left; }
.pm-notifygrid__description { display: block; font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); }
.pm-notifygrid__cell { padding: 0; border-bottom: 1px solid var(--color-line-row); text-align: center; vertical-align: middle; }
.pm-notifygrid__check { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.pm-notifygrid__digest { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pm-notifygrid__digest-label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-settingslist__select { width: 160px; }
/* A list with no heading: its first row needs no hairline against the card's edge. */
.pm-settingslist__group > .pm-settingslist__rows:first-child > .pm-settingslist__row:first-child { border-top: 0; }
@media (max-width: 767px) {
  .pm-notifygrid { padding: 16px 16px 18px; }
  .pm-notifygrid__channel { width: 64px; }
  .pm-notifygrid__digest { flex-direction: column; align-items: flex-start; gap: 9px; }
}

/* ==========================================================================
   ADMIN A17. AttentionList (<c-pm.attention-list>; the design system's
   records/AttentionList): what needs someone's attention, in a white card with hairlines
   between its items. Each item: its severity glyph (18px, StatusBanner's: warning amber,
   error red) on its first line, 12px, then the record's name as its one link (label
   type), the rule as a sentence (meta type, body ink) and since when (caption, subtle),
   3px apart; Snooze, an ActionMenu with no glyph, at the right. Padded 14px 12px 14px
   22px (12px 8px 12px 16px on a phone). The heading with its count is the page's.
   ========================================================================== */
.pm-attention { list-style: none; margin: 0; padding: 0; background: var(--color-surface-card); border: 1px solid var(--color-line-card); border-radius: var(--radius-card); }
.pm-attention__item { display: flex; align-items: flex-start; gap: var(--gap-inline); padding: 14px 12px 14px 22px; }
.pm-attention__item + .pm-attention__item { border-top: 1px solid var(--color-line-row); }
/* The glyph sits on the first line: a box one label line tall (15px × 1.3), the 18px glyph
   centred in it. */
.pm-attention__glyph { flex: none; display: flex; align-items: center; height: calc(15px * 1.3); }
.pm-attention__glyph i { font-size: var(--size-glyph-row); line-height: 1; color: var(--color-status-warning-glyph); }
.pm-attention__item--error .pm-attention__glyph i { color: var(--color-canceled); }
.pm-attention__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--gap-hairline); }
.pm-attention__name { width: fit-content; font: var(--type-label) var(--font-text); }
.pm-attention__rule { font: var(--type-meta) var(--font-text); color: var(--color-ink-body); text-wrap: pretty; }
/* On the record's own page the name is left out (it is this record): the rule takes the
   label type, in the strong ink. */
.pm-attention__rule--alone { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-attention__since { font: var(--type-caption) var(--font-text); color: var(--color-ink-subtle); }
.pm-attention__snooze { flex: none; margin-top: 1px; }
/* Snooze's choices post: buttons drawn as the ActionMenu's rows. */
button.pm-actionmenu__item { margin: 0; border: 0; background: none; text-align: left; cursor: pointer; }
@media (max-width: 767px) {
  .pm-attention__item { padding: 12px 8px 12px 16px; }
  .pm-attention__snooze { margin-top: -10px; }
}

/* ==========================================================================
   ADMIN A9. Segmented (<c-pm.segmented>; the design system's navigation/Segmented):
   text-only segments 3px apart, each 9px by 13px in the glyph label's type; the chosen
   one in the action fill and ink, the rest transparent in the body ink. Real radios,
   hidden, so the form posts the choice and the arrows move it; focus rings the segment.
   ========================================================================== */
.pm-segmented { display: flex; flex-wrap: wrap; gap: 3px; }
.pm-segmented__item { position: relative; display: inline-flex; }
.pm-segmented__item--none { visibility: hidden; }
.pm-segmented__item input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pm-segmented__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: var(--radius-inline);
  font: var(--type-glyph-label) var(--font-text);
  line-height: 1;
  white-space: nowrap;
  color: var(--color-ink-body);
  background: transparent;
  cursor: pointer;
}
.pm-segmented__item input:checked + span { color: var(--color-action-on); background: var(--color-action); }
.pm-segmented__item input:focus-visible + span { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
@media (hover: hover) {
  .pm-segmented__item input:not(:checked) + span:hover { background: var(--color-surface-hover); }
}
@media (max-width: 767px) {
  .pm-segmented__item span { min-height: 44px; padding: 0 13px; }
}

/* ==========================================================================
   ADMIN A18. Ticking a record list's rows (<c-pm.record-tick>, <c-pm.selection-bar>;
   the design system's RecordTable `selectable`, README "Selecting rows"): a 44px tick
   column first, 4px in, its box a 44px target around the 20px Checkbox (a row's pulled
   into its row's padding, the head's flat); the next column then starts 12px in, as
   any column after the first. While rows are ticked the head row is the selection bar
   on the selected tint: the page's box where the head's was, the count where the first
   heading was, Select all N, a 1px by 20px divider, the bulk actions (QuietButtons
   32px tall, 12px in, 6px clear of the bar's edges), Clear selection at the right end;
   ticked rows take the tint too, and the rows' menus step out. Desktop only.
   ========================================================================== */
.pm-records__table th.pm-records__tickcell,
.pm-records__table td.pm-records__tickcell { width: 44px; box-sizing: content-box; padding: 0 0 0 4px; }
.pm-records__table .pm-records__tickcell + th,
.pm-records__table .pm-records__tickcell + td { padding-left: 12px; }
.pm-records__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -12px 0;
  vertical-align: middle;
  border-radius: var(--radius-inline);
  cursor: pointer;
}
.pm-records__tick--head { margin: 0; }
.pm-records__tick .pm-check__box .bi-dash { display: none; }
.pm-records__tick input:indeterminate ~ .pm-check__box {
  border-color: var(--color-action);
  border-width: 0;
  background: var(--color-action);
}
.pm-records__tick input:indeterminate ~ .pm-check__box .bi-check { display: none; }
.pm-records__tick input:indeterminate ~ .pm-check__box .bi-dash { display: flex; visibility: visible; font-size: var(--size-glyph-check); }
.pm-records__tick input:focus-visible ~ .pm-check__box { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.pm-records__table tr[aria-selected="true"] td { background: var(--color-surface-selected); }
.pm-records--selecting .pm-records__menu > * { visibility: hidden; }
.pm-records__table .pm-records__selbar th { padding: 0; background: var(--color-surface-selected); font-weight: normal; }
.pm-records__seltools {
  display: flex;
  align-items: center;
  gap: var(--gap-block);
  height: 44px;
  padding: 0 16px 0 4px;
  box-sizing: border-box;
}
.pm-records__selbox { flex: none; margin-right: -4px; }
.pm-records__selcount {
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-strong);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pm-records__seltools .pm-textaction { white-space: nowrap; }
.pm-records__seldivider { flex: none; width: 1px; height: 20px; background: var(--color-line-selected); }
.pm-records__selactions { display: flex; gap: var(--gap-chip); }
.pm-records__selactions .pm-quietbutton { height: 32px; padding: 0 12px; cursor: pointer; }
.pm-records__selgap { flex: 1 1 auto; }
/* The tick cell is the row's first; the rest of the list keys its handle off the first
   cell (its 16px inset; its rounded corner under the last row). */
.pm-records__table tbody tr:last-child td.pm-records__tickcell + td { border-bottom-left-radius: 0; }
.pm-records__table tbody tr:last-child td.pm-records__tickcell { border-bottom-left-radius: 9px; }
@media (max-width: 767px) {
  /* A phone has no tick boxes: the handle is the row's first line again (A4). */
  .pm-records__table td.pm-records__tickcell { display: none; }
  .pm-records__table td.pm-records__tickcell + td { display: block; flex: 1 0 100%; padding: 0; font: var(--type-label) var(--font-text); }
}

/* ==========================================================================
   ADMIN A19. A record list's Sort (<c-pm.record-sort>; the design system's
   RecordToolbar Sort): on the tools line, a 44px QuietButton naming the order, the
   field's name in the muted ink; under it, 6px down, a 280px popover at the button's
   right edge (its left on a phone), the card's border, radius and overlay shadow, 6px
   in top and bottom: the fields as OptionRows (radios, 44px, 16px in, 12px between the
   dot and the words), then under a hairline the order as a Segmented, 12px 16px 10px
   in. The tools line's controls are 44px (.pm-records__tool).
   ========================================================================== */
.pm-records__toolgap { flex: 1 1 auto; }
.pm-records__tool { height: 44px; cursor: pointer; }
.pm-recordsort,
.pm-recordcolumns { position: relative; flex: none; }
.pm-recordsort__current { font-weight: 400; color: var(--color-ink-muted); }
/* The tools line's popovers (Sort; Columns, A20): under the button, at its right edge. */
.pm-recordsort__popover,
.pm-recordcolumns__popover {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: var(--layer-popover);
  width: 280px;
  margin-top: 6px;
  box-sizing: border-box;
  padding: 6px 0;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-overlay);
}
.pm-recordsort__popover[hidden],
.pm-recordcolumns__popover[hidden] { display: none; }
/* The design system's OptionRow, not the finder's filter row, in Sort's popover and in
   All filters (A26): no border (which would put the dot 1px in), no tint on the chosen
   one (its mark and 600 say it), the words centred on the row rather than on the
   count's baseline, and no count. */
.pm-recordsort__fields .pm-option,
.pm-filterpanel .pm-option {
  align-items: center;
  gap: 12px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 16px;
  border: 0;
}
.pm-recordsort__fields .pm-option--selected,
.pm-filterpanel .pm-option--selected { background: transparent; }
.pm-recordsort__fields .pm-option__text,
.pm-filterpanel .pm-option__text { align-self: center; }
@media (hover: hover) {
  .pm-recordsort__fields .pm-option:hover,
  .pm-filterpanel .pm-option:hover { background: var(--color-surface-hover); }
}
.pm-recordsort__fields .pm-option__count,
.pm-filterpanel .pm-option__count { display: none; }
.pm-recordsort__order { margin-top: 6px; padding: 12px 16px 10px; border-top: 1px solid var(--color-line-row); }
@media (max-width: 767px) {
  /* The search on its line, Sort 12px under it, naming no field (the button's label does). */
  .pm-records__toolline { row-gap: var(--gap-inline); }
  .pm-recordsort__more { display: none; }
  .pm-records__toolgap { display: none; }
  .pm-recordsort { align-self: flex-start; }
  .pm-recordsort__popover { right: auto; left: 0; }
}

/* ==========================================================================
   ADMIN A20. A record list's Columns (<c-pm.record-columns>; the design system's
   RecordToolbar Columns): a 44px QuietButton beside Sort; a 320px popover (A19's) with
   its line (9px 16px 8px in), the handle column first (44px in, its box ticked for
   good, "· always shown" in the caption's type), then each column's row: a grip, the
   box and its name (600 while shown), ↑ and ↓ (36px; the first's ↑ and the last's ↓
   hidden), dragged by the row; where a drop would land, a 2px line on the row's edge.
   Reset to default at the foot, under a hairline. Desktop only, as Columns is.
   ========================================================================== */
.pm-recordcolumns__popover { width: 320px; }
.pm-recordcolumns__line { padding: 9px 16px 8px; font: var(--type-field-label) var(--font-text); color: var(--color-ink-strong); }
.pm-recordcolumns__list { margin: 0; padding: 0; list-style: none; }
.pm-recordcolumns__handle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px 0 44px;
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-muted);
}
.pm-recordcolumns__fixed {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-control-box);
  height: var(--size-control-box);
  box-sizing: border-box;
  border-radius: var(--radius-inline);
  background: var(--color-action);
  color: var(--color-action-on);
}
.pm-recordcolumns__fixed i { display: flex; font-size: var(--size-glyph-check); }
.pm-recordcolumns__always { font: var(--type-caption) var(--font-text); }
.pm-recordcolumns__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  padding: 0 8px 0 10px;
  cursor: grab;
}
.pm-recordcolumns__item[data-dragging] { opacity: 0.4; }
.pm-recordcolumns__item[data-over]::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-action);
}
.pm-recordcolumns__item[data-over="before"]::before { top: -1px; }
.pm-recordcolumns__item[data-over="after"]::before { bottom: -1px; }
.pm-recordcolumns__grip { flex: none; width: 20px; text-align: center; font-size: var(--size-glyph-sm); color: var(--color-ink-glyph); }
.pm-recordcolumns__check {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 6px;
  cursor: pointer;
}
.pm-recordcolumns__label { font: var(--type-value) var(--font-text); line-height: 1.3; color: var(--color-ink-strong); }
.pm-recordcolumns__check input:checked ~ .pm-recordcolumns__label { font: 600 15px/1.3 var(--font-text); }
.pm-recordcolumns__move {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-inline);
  background: none;
  color: var(--color-ink-body);
  cursor: pointer;
}
.pm-recordcolumns__move i { display: flex; font-size: var(--size-glyph-sm); }
.pm-recordcolumns__move[data-off] { visibility: hidden; }
.pm-recordcolumns__move:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.pm-recordcolumns__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  padding: 10px 16px 4px;
  border-top: 1px solid var(--color-line-row);
}
.pm-recordcolumns__foot .pm-textaction { min-height: 32px; }
@media (max-width: 767px) {
  .pm-recordcolumns { display: none; }
}

/* ==========================================================================
   ADMIN A21. A record list's filters (the design system's RecordToolbar filter row and
   what's applied): the applied records (<c-pm.applied-filter>, the finder's) in a
   wrapping row, the glyph gap apart, Clear all after them (with two or more).
   ========================================================================== */
.pm-records__applied { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-glyph); }

/* ==========================================================================
   ADMIN A22. A report's chart note and its bare figures (Active meetings over time:
   screen-admin-report.html): the note under the chart in the helper type, muted (the
   chart card's parts stay 12px apart); figures with no head of their own are a record
   table in its own card across the page, so the panel around it draws nothing.
   ========================================================================== */
.pm-panel__note { margin: 0; font: var(--type-helper) var(--font-text); color: var(--color-ink-muted); }
.pm-panel.pm-panel--bare { padding: 0; border: 0; background: none; gap: 0; }
/* What a bare table leaves out, under its card. */
.pm-panel--bare > .pm-report__foot { margin-top: 9px; }
/* Two charts side by side in one card (Meeting starts and ends), stacked on a phone. */
.pm-report__charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pm-report__chart { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (max-width: 767px) {
  .pm-report__charts { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   ADMIN A23. An image a record holds (<c-pm.image-field>, the design system's ImageField
   read-only) and a list row's thumbnail of one (Finder › Promotions, Q91): the frame at
   the image's shape, 1px --color-line-card, the control radius, on the hover surface,
   the image whole in it (contain: never cropped or stretched; Elowen, 2026-11-24). A
   shape is a modifier (no inline style under the CSP): portrait, 1 / 2 at 120px. A row's
   thumbnail is 24 by 48, the inline radius; with no image, ImageField's empty line at
   that size: 1px dashed --color-line-control, no fill.
   ========================================================================== */
.pm-imagefield { display: flex; flex-direction: column; gap: var(--gap-glyph); min-width: 0; max-width: 100%; }
.pm-imagefield__frame {
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-control);
  background: var(--color-surface-hover);
}
.pm-imagefield__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pm-imagefield__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-imagefield--portrait .pm-imagefield__frame { width: 120px; aspect-ratio: 1 / 2; }
/* In edit (ImageField's own form): the frame at the edit's width, dashed and empty with
   the drop line when there's no image, red when the file sent was refused; then one line
   of actions (Choose a file, or Replace and Remove), the glyph gap under the frame. */
.pm-imagefield [hidden] { display: none; }
.pm-imagefield--portrait.pm-imagefield--editing .pm-imagefield__frame { width: 160px; }
.pm-imagefield__frame--empty { border: 1px dashed var(--color-line-control); }
.pm-imagefield__frame--error { border-color: var(--color-canceled); }
.pm-imagefield__drop {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-glyph);
  text-align: center;
}
.pm-imagefield__drop i { font-size: var(--size-glyph-close); line-height: 1; color: var(--color-ink-glyph); }
.pm-imagefield__drop span { font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); text-wrap: balance; }
.pm-imagefield__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--gap-inline);
  row-gap: var(--gap-glyph);
  margin-top: var(--gap-glyph);
}
/* A file over the frame: the selected surface and the action line, "Drop to use this
   image" over whatever it holds (ImageField's `over`). */
.pm-imagefield__dropnow { display: none; }
.pm-imagefield__frame--over { border: 1px dashed var(--color-action); background: var(--color-surface-selected); }
.pm-imagefield__frame--over .pm-imagefield__drop { visibility: hidden; }
.pm-imagefield__frame--over .pm-imagefield__dropnow {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 600 13px/1.35 var(--font-text);
  color: var(--color-action);
  text-wrap: balance;
  background: color-mix(in srgb, var(--color-surface-selected) 85%, transparent);
}
@media (max-width: 767px) {
  .pm-imagefield__drop span { display: none; }
}

.pm-records__thumb {
  display: block;
  box-sizing: border-box;
  width: 24px;
  height: 48px;
  border-radius: var(--radius-inline);
  object-fit: contain;
}
.pm-records__thumb--empty { border: 1px dashed var(--color-line-control); }
/* A record section's chart with its totals under it, 16px apart (a promotion's Clicks:
   BarChart compact, then a FactsTable). */
.pm-recordsection__chart { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ==========================================================================
   ADMIN A24. Settings › Integrations (screen-admin-settings-integrations.html): a text
   field in the machine face (TextField `code`: an ID, code; no spellcheck), and the
   Custom code block after the page's sections, 30px under them: its heading in the
   section type, its helper line muted, then the record table, 12px apart.
   ========================================================================== */
.pm-input--code,
.pm-textarea--code { font: var(--type-machine) var(--font-mono); }
/* Code keeps its lines as typed, with tab stops of 2 (TextField `code` multiline). */
.pm-textarea--code { white-space: pre; overflow-x: auto; tab-size: 2; }
/* 30px under the sections, the page's own gap (--gap-group) included. */
.pm-customcode { margin-top: calc(30px - var(--gap-group)); display: flex; flex-direction: column; gap: 12px; }
/* The heading with Add a snippet at its end (a phone: Add stays out, as the mock draws). */
.pm-customcode__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pm-customcode__title { margin: 0; font: var(--type-section) var(--font-display); color: var(--color-ink-strong); }
.pm-customcode__about { margin: 0; max-width: var(--measure-prose); font: var(--type-helper) var(--font-text); color: var(--color-ink-muted); }
@media (max-width: 767px) {
  .pm-customcode__title { font: var(--type-section-m) var(--font-display); }
  .pm-customcode__head .pm-quietbutton { display: none; }
}

/* ==========================================================================
   ADMIN A25. A record list's filter row (the design system's RecordToolbar filter row,
   desktop: under the tools line, 12px down): the pinned fields' chips
   (<c-pm.filter-group>, the finder's, driven by pmFilters) wrapping, the chip gap apart;
   their form adds no box. A phone draws none: its Filters button (FilterPanel) comes
   with All filters.
   ========================================================================== */
.pm-records__filters,
.pm-records__chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-chip); }
.pm-records__filterform { display: contents; }
@media (max-width: 767px) {
  .pm-records__filters { display: none; }
}

/* ==========================================================================
   ADMIN A26. All filters (<c-pm.filter-panel>; the design system's filters/FilterPanel),
   its openers and their badge (the design system's RecordToolbar).
   - The openers: on desktop All filters at the end of the filter row, as light as a
     link (the sliders glyph, the action's ink, the hover fill, 10px in, the filter
     row's height); on a phone Filters, a QuietButton on the tools line before Sort,
     the two on one line under the search. Each with its badge while filters are
     applied: how many, a 20px action-blue pill, 700 12px, tabular.
   - The panel: the browser's <dialog>, a transparent box the size of its panel, so a
     click on it and not on the panel is the scrim's (as .pm-dialog's). Desktop: 440px
     at the window's right, its full height, the drawer's shadow; a phone: a sheet 52px
     short of the top, the sheet's radius and shadow. The head (the title and ✕), then
     Find a filter (9px under, 16px over the fields); the fields scroll under a
     hairline; the foot never scrolls (Clear all, Show N) over the card's line. Sides
     22px (16px on a phone).
   - A section's heading is an eyebrow, 18px over it and 8px under; each field a 52px
     row under a hairline: its name (the label type) over what's chosen (the meta type,
     subtle, or the action's ink once set), 3px apart, then its chevron, up while
     open. Open: its match (Segmented), its search and its options (OptionRows,
     no count), 6px apart, 12px under the last.
   - A pin (desktop): a 44px square at the row's right, 12px in, bi-pin-angle in the
     glyph ink, filled and in the action's ink while its field is in the filter row.
     The row's own button stops 4px before it (or, with no pin, 4px from the edge, as
     FilterPanel's does). A phone has no filter row, so no pins.
   ========================================================================== */
.pm-allfilters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--size-filterrow);
  box-sizing: border-box;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-control);
  background: none;
  font: var(--type-glyph-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  white-space: nowrap;
  cursor: pointer;
}
.pm-allfilters i { font-size: var(--size-glyph-sm); line-height: 1; }
@media (hover: hover) {
  .pm-allfilters:hover { background: var(--color-surface-hover); }
}
.pm-allfilters:active { background: var(--color-surface-hover); }
.pm-countbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--color-action);
  font: 700 12px/1 var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-action-on);
}
.pm-records__filtersbutton { display: none; }
.pm-records__filterslabel { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767px) {
  .pm-records__filtersbutton { display: inline-flex; }
  .pm-records__toolline { flex-direction: row; flex-wrap: wrap; }
  .pm-records__toolline .pm-recordsearch { flex: 1 0 100%; }
}

.pm-filterpanel {
  position: fixed;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: 440px;
  max-width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  color: inherit;
}
.pm-filterpanel::backdrop { background: var(--color-scrim); }
/* The page behind the panel doesn't scroll. */
html:has(.pm-filterpanel[open]) { overflow: hidden; }
.pm-filterpanel__panel {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface-card);
  box-shadow: var(--shadow-drawer);
}
.pm-filterpanel__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-inline);
  padding: 12px 12px 0 22px;
}
.pm-filterpanel__title { margin: 0; font: var(--type-card-title) var(--font-text); color: var(--color-ink-strong); }
.pm-filterpanel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--size-glyph-row);
  color: var(--color-ink-body);
  cursor: pointer;
}
.pm-filterpanel__close i { line-height: 1; }
.pm-filterpanel__find { flex: none; padding: 9px 22px var(--gap-block); }
.pm-filterpanel__body {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--color-line-row);
}
.pm-filterpanel__section[hidden],
.pm-filterpanel__field[hidden],
.pm-filterpanel__choices[hidden] { display: none; }
.pm-filterpanel__heading { margin: 0; padding: 18px 22px 8px; }
.pm-filterpanel__field { border-top: 1px solid var(--color-line-row); }
.pm-filterpanel__row { display: flex; align-items: center; }
.pm-filterpanel__toggle {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  min-height: var(--size-menu-row);
  box-sizing: border-box;
  padding: 6px 4px 6px 22px;
  border: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
@media (hover: hover) {
  .pm-filterpanel__toggle:hover { background: var(--color-surface-hover); }
}
.pm-filterpanel__toggle:active { background: var(--color-surface-hover); }
.pm-filterpanel__names {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
}
.pm-filterpanel__label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
.pm-filterpanel__summary {
  overflow: hidden;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pm-filterpanel__field[data-set] .pm-filterpanel__summary { color: var(--color-action); }
.pm-filterpanel__pin {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 12px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-inline);
  background: none;
  font-size: var(--size-glyph-sm);
  color: var(--color-ink-glyph);
  cursor: pointer;
}
.pm-filterpanel__pin .bi { line-height: 1; }
.pm-filterpanel__pin[aria-pressed="true"] { color: var(--color-action); }
.pm-filterpanel__toggle .bi { flex: none; font-size: var(--size-glyph-chevron); line-height: 1; color: var(--color-ink-muted); }
.pm-filterpanel__choices {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  padding-bottom: var(--gap-inline);
}
.pm-filterpanel__match { padding: 0 22px var(--gap-glyph); }
/* A long list's search (<c-pm.filter-options>): FilterPanel's, with no hairline, the
   list drawn whole (the panel's body scrolls). */
.pm-filterpanel .pm-filteroptions { gap: var(--gap-glyph); }
.pm-filterpanel .pm-filteroptions,
.pm-filterpanel .pm-filteroptions__list { flex: none; }
.pm-filterpanel .pm-filteroptions__search { padding: 0 22px var(--gap-glyph); border-bottom: 0; }
.pm-filterpanel .pm-filteroptions__search::after { content: none; }
/* A list at every width (the finder's Filters sheet dissolves it on a phone, part 1). */
.pm-filterpanel .pm-popover__options { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: visible; }
.pm-filterpanel .pm-option { padding-right: 22px; padding-left: 22px; }
.pm-filterpanel .pm-searchnone { padding: 0 22px; }
.pm-filterpanel__none {
  margin: 0;
  padding: 20px 22px;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-filterpanel__foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-block);
  padding: 16px 22px;
  border-top: 1px solid var(--color-line-card);
}
.pm-filterpanel__clear { min-height: 44px; }
.pm-filterpanel__commit { font: var(--type-cta) var(--font-text); white-space: nowrap; }
@media (max-width: 767px) {
  .pm-filterpanel { inset: 52px 0 0 0; width: 100%; height: auto; }
  .pm-filterpanel__panel {
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    box-shadow: var(--shadow-sheet);
  }
  .pm-filterpanel__head { padding: 4px 4px 0 16px; }
  .pm-filterpanel__title { font: var(--type-card-title-m) var(--font-text); }
  .pm-filterpanel__find { padding: 9px 16px var(--gap-block); }
  .pm-filterpanel__heading { padding: 18px 16px 8px; }
  .pm-filterpanel__toggle { padding-left: 16px; }
  .pm-filterpanel__pin { display: none; }
  .pm-filterpanel__match,
  .pm-filterpanel .pm-filteroptions__search { padding-right: 16px; padding-left: 16px; }
  /* OptionRow's own sizes at every width, here and in Sort's popover (A19), not the
     finder's Filters sheet's (part 1, a phone: 16px words, 12px over and under). */
  .pm-filterpanel .pm-option { gap: 12px; padding: 9px 16px; }
  .pm-filterpanel .pm-option__name,
  .pm-recordsort__fields .pm-option__name { font: var(--type-value) var(--font-text); }
  .pm-filterpanel .pm-option--selected .pm-option__name,
  .pm-recordsort__fields .pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
  .pm-filterpanel .pm-searchnone,
  .pm-filterpanel__none { padding-right: 16px; padding-left: 16px; }
  .pm-filterpanel__foot { padding: 12px 16px var(--space-safe-bottom); }
}

/* ==========================================================================
   BEYONDNOTICE (<c-pm.beyond-notice>; the design system's BeyondNotice and its README's
   "Meetings beyond the frame (drop 105)"; PM2 finder Phase 5, slice C; finder mockups,
   Screen - Organization Map, "Beyond the frame"): on a map, the meetings open to the
   visitor but hosted outside the area it frames. Part 1's .pm-beyond is PM1's build of
   drop 105 (a close ✕, a blue action, 75px up on a phone), which the design system's
   component overrules (its README, 2026-11-09 and the key's ruling): a QuietButton, no
   ✕, 63px up. Nothing draws .pm-beyond; this is the component's own block.
   ========================================================================== */
:root {
  /* A phone's bar: 9px above the map's bottom row, 10px in (--space-map-control), whose
     tallest are Search this area and the key's hit area, both 44px: 10 + 44 + 9. So the
     bar covers neither, and never moves when Search this area comes or goes. */
  --space-beyondnotice-bottom-mobile: 63px;
  --size-beyondnotice-shrink: var(--size-glyph);  /* the shrink glyph, 16px, as BeyondNotice draws it */
}

/* Desktop: a card 16px in from its corner, 274px drawn (drop 105's 236px content box, its
   18px sides and its 1px edges), a column 9px apart: the scope pills, the sentence, the
   button. On the map's first overlay layer (1, as BeyondNotice draws it, with Search this
   area), under the key and the credit (2), which draw over the phone's bar when open, and
   under a place's popup (3). */
.pm-beyondnotice {
  position: absolute;
  top: var(--space-beyond-inset);
  right: var(--space-beyond-inset);
  z-index: 1;
  box-sizing: border-box;
  width: var(--size-beyond);
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  padding: var(--space-beyond);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-beyond);
  transition: opacity var(--motion-dock) ease;
}
.pm-beyondnotice--top-left { right: auto; left: var(--space-beyond-inset); }
/* The words and labels for the state the notice is not in. */
.pm-beyondnotice [hidden] { display: none; }

/* The leading slot: ScopePill with its count (the count 400 weight, tabular), 6px apart. */
.pm-beyondnotice__scopes { display: flex; flex-wrap: wrap; gap: var(--gap-glyph); }
.pm-beyondnotice__pill { flex: none; align-items: baseline; gap: var(--gap-glyph); }
.pm-beyondnotice__pillcount { font-weight: 400; font-variant-numeric: tabular-nums; }

/* The sentence: meta in the body ink, its count 700 in the strong ink, tabular. */
.pm-beyondnotice__words { font: var(--type-meta) var(--font-text); color: var(--color-ink-body); }
.pm-beyondnotice__words strong {
  font-weight: 700;
  color: var(--color-ink-strong);
  font-variant-numeric: tabular-nums;
}
.pm-beyondnotice__narrow { display: none; }
/* View them too (and, on a phone, the shrink glyph beside it), at the column's start. */
.pm-beyondnotice__actions { display: flex; align-self: flex-start; }
.pm-beyondnotice__action { cursor: pointer; }
/* The shrink glyph and the parked pill are a phone's only (below). */
.pm-beyondnotice__fold,
.pm-beyondnotice__parked { display: none; }

/* Shown only once the map is (MapStatus), and faded out of the way over 180ms while a
   place's popup or sheet is open, with nothing to click or read; back when it closes, as
   the key does (BeyondNotice `shown={false}`). */
.pm-mapview:not([data-shown]) .pm-beyondnotice { visibility: hidden; }
.pm-mapview[data-popup-open] .pm-beyondnotice {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-dock) ease, visibility 0s linear var(--motion-dock);
}
@media (prefers-reduced-motion: reduce) {
  .pm-beyondnotice,
  .pm-mapview[data-popup-open] .pm-beyondnotice { transition: none; }
}

/* A phone: a bar across the bottom, 12px in from the sides, no edge (its heavier shadow
   is one), one row 9px apart: the pills, the shorter words (caption), the button 44px
   tall. The words keep 110px at least: where the row is full the button wraps under
   them. Expanded, the pills step out so "Back to {place}" has its room. */
@media (max-width: 767px) {
  .pm-beyondnotice {
    top: auto;
    right: var(--space-beyond-inset-mobile);
    bottom: var(--space-beyondnotice-bottom-mobile);
    left: var(--space-beyond-inset-mobile);
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: var(--space-beyond-mobile);
    border: 0;
    box-shadow: var(--shadow-beyond-mobile);
  }
  .pm-beyondnotice--top-left { right: var(--space-beyond-inset-mobile); left: var(--space-beyond-inset-mobile); }
  .pm-beyondnotice__scopes { flex: none; flex-wrap: nowrap; }
  /* The bar's own pills (not the parked ones, which park the same expanded or not). */
  .pm-beyondnotice[data-expanded="true"] > .pm-beyondnotice__scopes { display: none; }
  /* The words take the line's spare room (grow 1000 against the actions' 1), so on one
     line View them too stays beside the shrink glyph at the bar's right end. */
  .pm-beyondnotice__words {
    flex: 1000 1 110px;
    min-width: 0;
    font: var(--type-caption) var(--font-text);
  }
  .pm-beyondnotice__wide { display: none; }
  .pm-beyondnotice__narrow { display: inline; }
  /* View them too and the shrink glyph wrap together: on one line with the words when
     they fit, else the bar's second line, with the glyph at its far right. */
  .pm-beyondnotice__actions {
    flex: 1 0 auto;
    align-self: auto;
    align-items: center;
    gap: var(--gap-chip);
  }
  .pm-beyondnotice__action {
    min-height: var(--size-tap-min);
    white-space: nowrap;
  }

  /* The shrink glyph (bi-arrows-angle-contract, 16px, the strong ink): it takes only its
     16px in the line, so the bar gets no taller. Its 44 x 44 hit area hangs from that
     slot: from View them too's edge (the 9px gap) to 7px past the bar (19px past the
     slot; the bar's side padding is 12px), so the two never meet. */
  .pm-beyondnotice__fold {
    display: block;
    position: relative;
    flex: none;
    width: var(--size-beyondnotice-shrink);
    height: var(--size-beyondnotice-shrink);
    margin-left: auto;
  }
  .pm-beyondnotice__foldbutton {
    position: absolute;
    top: 50%;
    left: calc(var(--gap-chip) * -1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--size-tap-min);
    height: var(--size-tap-min);
    padding: 0 calc(var(--size-tap-min) - var(--gap-chip) - var(--size-beyondnotice-shrink)) 0 var(--gap-chip);
    transform: translateY(-50%);
    color: var(--color-ink-strong);
  }
  .pm-beyondnotice__foldbutton .bi { font-size: var(--size-beyondnotice-shrink); line-height: 1; color: var(--color-ink-strong); }

  /* Collapsed, it parks as its scope pills out of the map's way (design-system 7b4146c,
     bc9944d): in the map's top-left corner, 10px in (--space-map-control), with the map's
     other controls, as wide as its pills (both, 6px apart, where two scopes are further
     away), expanded or not. The bar steps aside: the notice's box is then only the
     pills', so it fades with a popup or sheet as the bar does, at the bar's layer. No
     shadow: each pill has its own edge, as the key's (i) and the credit's (c) do. */
  .pm-beyondnotice[data-collapsed="true"] {
    top: var(--space-map-control);
    right: auto;
    bottom: auto;
    left: var(--space-map-control);
    padding: 0;
    border-radius: var(--radius-pill);
    background: none;
    box-shadow: none;
  }
  .pm-beyondnotice[data-collapsed="true"] > :not(.pm-beyondnotice__parked) { display: none; }
  .pm-beyondnotice[data-collapsed="true"] > .pm-beyondnotice__parked { display: inline-flex; }
  /* The pills are the button that brings the bar back: 28px drawn, with an unseen 44px
     hit area centred on them, as wide as they are (::after, part of the button). */
  .pm-beyondnotice__parked {
    position: relative;
    border-radius: var(--radius-pill);
  }
  .pm-beyondnotice__parked::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: var(--size-tap-min);
    transform: translateY(-50%);
  }
}

/* ==========================================================================
   FINDER D. An organization's Help, Contact us, Verifications and error pages
   (PM2 finder Phase 5, slice D; finder mockups, Screen - Organization Help,
   Organization Contact us, Organization Verifications, Organization error
   pages), and the Turnstile bridge its Contact us frames. Self-contained: every
   rule here is new. Since slice B2a the Help and Contact us phone rules that the
   Pathminder finder's mocks draw the same way (Screen - Pathminder Help and
   Contact Us, "Mobile") are both finders' (.pm-findhelp, .pm-contact): one rule,
   never a copy; only what an organization's page alone has (its scope legend)
   stays .pm-findhelp--org.
   ========================================================================== */

/* The Turnstile bridge (finder/templates/finder/turnstile_bridge.html): a page that is
   only Cloudflare's widget, framed on an organization's Contact us. No ground and no
   margin, so the frame shows the widget alone; the widget's own box fills the frame
   (it is "flexible"), and nothing scrolls. */
body.pm.pm-turnstilebridge {
  background: transparent;
  overflow: hidden;
}
.pm-turnstilebridge__box,
.pm-turnstilebridge .pm-turnstile { width: 100%; }

/* The bridge's frame on the organization's form, where and as large as the Pathminder
   finder's widget (F4): 300 x 65 on desktop, the column's width on a phone, after the
   last field and before the button. No border or ground of its own: the frame is the
   widget. */
.pm-turnstile__frame {
  display: block;
  width: var(--size-turnstile);
  max-width: 100%;
  height: var(--size-turnstile-height);
  border: 0;
  background: transparent;
  color-scheme: light;
}
@media (max-width: 767px) {
  .pm-turnstile__frame { width: 100%; }
}

/* QuietButton's chevron and tap height (the design system's `chevron="right"`,
   `size="tap"`; <c-pm.quiet-button>): an 11px chevron after the label at the chevron's
   opacity, and at least 44px tall. */
.pm-quietbutton .pm-quietbutton__chevron {
  font-size: var(--size-glyph-chevron);
  opacity: var(--opacity-chevron);
}
.pm-quietbutton--tap { min-height: var(--size-tap-min); }

/* "Can't find it?" on an organization's Contact us: "Continue without a meeting" sized
   to its label at the column's start, never stretched or wrapped (the mock's
   whiteSpace nowrap, alignSelf flex-start). */
.pm-contact__cantfind > .pm-contact__continue { align-self: flex-start; white-space: nowrap; }

/* Contact us on a phone, on either finder: the answered steps, the meeting, the
   destination and the form 16px apart, as both Contact us mocks draw the route (desktop
   keeps the column's 22px). */
@media (max-width: 767px) {
  .pm-contact { gap: var(--gap-block); }
}

/* MeetingPick in its scope form (an organization's cards): the Regional or National
   ScopePill where a local meeting's place is, on the place's line, never shrunk. */
.pm-meetingpick__where > .pm-pill { flex: 0 0 auto; }

/* An organization's Help legend: each scope's rail as its cards wear it, outlined by the
   card line on the page's white as the mock draws all three (the Pathminder finder's
   size rails outline only "no size"). */
.pm-findhelp--org .pm-legend__scope .pm-rail { box-shadow: inset 0 0 0 1px var(--color-line-card); }

/* Help's terms' names, on either finder (an organization's programs and audiences, the
   Pathminder finder's topics, audiences and special focus): balanced where they wrap in
   their 200px column, as both Help mocks write them (text-wrap: pretty). */
.pm-findhelp .pm-legend__name { text-wrap: pretty; }

/* Help on a phone, on either finder, as both Help mocks draw it (Screen - Pathminder Help
   and Organization Help, "Mobile"): its parts 22px apart; a section after the first 20px
   under its rule with its parts 12px apart (the Pathminder finder's Programs keep their own
   22px between programs, .pm-help__section--stacked: neither phone mock draws them); and
   a term's name (a topic, an audience, a program) with "See all N meetings" on one line,
   the link at the line's end at tap height, its words 6px under them, the section's intro
   12px under its title. An organization's alone: a scope's rail 5 x 26 with its words 6px
   under it (the Pathminder finder's legend has no scopes). */
@media (max-width: 767px) {
  .pm-findhelp .pm-pagebody__main { gap: 22px; }
  .pm-findhelp .pm-help__section:not(:first-child) { padding-top: 20px; }
  .pm-findhelp .pm-help__section:not(:first-child):not(.pm-help__section--stacked) { gap: 12px; }
  .pm-findhelp--org .pm-legend__scope .pm-rail { width: 5px; height: 26px; }
  .pm-findhelp--org .pm-legend__row:has(> .pm-legend__scope) { gap: var(--gap-glyph); }
  .pm-findhelp .pm-legend--terms .pm-legend__row { gap: var(--gap-glyph); }
  .pm-findhelp .pm-help__section:has(> .pm-legend--terms) > .pm-stack--prose { gap: var(--gap-inline); }
  .pm-findhelp .pm-legend--terms .pm-legend__term {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gap-inline);
  }
  .pm-findhelp .pm-legend--terms .pm-legend__count {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-tap-min);
    margin: -12px 0;
    white-space: nowrap;
  }
}

/* ==========================================================================
   PM2 FINDER PHASE 5 E. The join gate (the design system's JoinGate, drop 72;
   <c-pm.join-gate>; design-system 83f6280 and 32e3569), drawn on the Dialog's
   surface (ADMIN A2: .pm-dialog, its panel, head, body, foot, buttons and ✕), as
   the design system builds JoinGate. Only what the gate adds to the Dialog is here:
   its steps, its head's three columns, its question, its rows, the disclaimer and the
   988 line in the foot. Its steps are pmJoinGate's (components.js).
   ========================================================================== */

/* One step shows at a time. Each is the panel's column: the head and the foot keep
   their height and the body between them scrolls, with the fade while more is below. */
.pm-joinstep {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.pm-joinstep[data-active="false"] { display: none; }

/* The head: Back, the step count, ✕, one row of 44px tap targets. Three columns (1fr
   auto 1fr), so the count stays centred whether or not Back is beside it. The Dialog's
   paddings are the gate's (12px 16px 0 26px, and the phone's 52px row). */
.pm-joinstep__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: var(--gap-chip);
}
.pm-joinstep__lead { display: flex; justify-self: start; }
.pm-joinstep__head .pm-dialog__close { justify-self: end; }
/* Back: the design system's TextAction sm with its arrow, 44px tall to tap. */
.pm-joinstep__back { min-height: var(--size-tap-min); }
.pm-joinstep__count {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The body: the question 16px over what answers it (12px over a disclaimer). The
   question is the step, so it takes the gate's title type at both widths, in the text
   face (tokens.json files --type-gate-title there), never the Dialog's card title. */
.pm-dialog--gate .pm-dialog__body { padding: var(--space-gate-body); }
.pm-joinstep--disclaimer .pm-dialog__body { gap: var(--gap-inline); }
.pm-dialog--gate .pm-dialog__title {
  flex: none;
  padding: 0;
  font: var(--type-gate-title) var(--font-text);
}

/* "Is this meeting for you?": one row per program or audience, a hairline above each,
   the first included; its name, then its short description clamped to 2 lines. */
.pm-joinstep__rows {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pm-joinstep__row {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  padding: var(--space-gate-row);
  border-top: 1px solid var(--color-line-row);
}
.pm-joinstep__name { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }
.pm-joinstep__says {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines-gate-row);
  overflow: hidden;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
}

/* The disclaimer is a meeting's notes (.pm-notes, pmReadMore: 3 lines, Read more only
   when longer). A disclaimer typed as text keeps its line breaks: they are its
   paragraphs. */
.pm-joinstep__disclaimer .pm-notes__text { white-space: pre-line; }

/* The foot, which never scrolls: the 988 line, then the answers, 16px apart. */
.pm-joinstep__foot {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
}

/* The 988 line as a notice (the design system's CrisisNote `notice`, PM1 drop 106): the
   control's radius where the page's note has the card's, its glyph on the first line. */
.pm-crisisnote--notice {
  padding: var(--space-notice-y) var(--space-notice-x);
  border-radius: var(--radius-control);
}
.pm-crisisnote--notice > i { line-height: 1.35; }

/* The disclaimer's way out: "Find another meeting", a TextAction 44px tall. */
.pm-joinstep__out { box-sizing: border-box; min-height: var(--size-tap-min); }

/* Desktop: the answers on one row at the right, No then Yes (the Dialog's buttons, whose
   row reverses the markup's Yes-first order), each on one line; the disclaimer's link
   at the left and Join at the right. */
@media (min-width: 768px) {
  .pm-joinstep__answers .pm-button { white-space: nowrap; }
  .pm-joinstep--disclaimer .pm-joinstep__answers { justify-content: space-between; }
}

/* A phone: the sheet (the Dialog's), its body flush under the head; the answers stacked
   at full width, Yes first (the Dialog's buttons, a long label wrapping inside its
   button); the disclaimer's Join and its link 3px apart, the link centred in its row. */
@media (max-width: 767px) {
  .pm-dialog--gate .pm-dialog__body { padding: var(--space-gate-body-mobile); }
  .pm-joinstep--disclaimer .pm-joinstep__answers { gap: var(--gap-hairline); }
  .pm-joinstep__out { width: 100%; justify-content: center; }
}

/* ==========================================================================
   FINDER B2a. Help's "What everything means" heading on a phone (PM2 finder
   Phase 5, slice B2a; finder mockups README, 2026-11-22, "Phone headings take
   their short form, as both Help mocks draw"): one heading holding both forms,
   the long one ("What everything on a meeting means") on desktop, the short one
   on a phone, so a screen reader hears only the one shown. Both finders' Help.
   ========================================================================== */
.pm-help__short { display: none; }
@media (max-width: 767px) {
  .pm-help__long { display: none; }
  .pm-help__short { display: inline; }
}

/* ==========================================================================
   FINDER B2b. The meeting page's host-verified mark, and a region page's link
   up (PM2 finder Phase 5, follow-up B2b; finder mockups README, 2026-11-22).
   ========================================================================== */

:root {
  --space-categoryhead-back: 16px;  /* CategoryHead `back`: its words to the kicker */
}

/* The design system's VerificationMark whole (<c-pm.verification-mark eyebrow>): the
   "Verifications" eyebrow 6px above the mark, the mark in its 22px box at the proof's
   type (13px words, a 15px glyph; the Pathcheck wordmark 21px), both at the end, or at
   the start with align="start", as the meeting page's action block draws a
   host-verified meeting on both finders (the design system's DetailScreen). */
.pm-verificationmark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap-glyph);
}
.pm-verificationmark--start { align-items: flex-start; }
.pm-verificationmark__proof {
  height: var(--size-proof-slot);
  display: flex;
  align-items: center;
}
.pm-verificationmark__proof .pm-verification {
  margin-top: 0;
  font: var(--type-proof) var(--font-text);
  white-space: nowrap;
}
.pm-verificationmark__proof .pm-verification__wordmark { height: var(--size-proof-mark); }

/* A region page's link up (the design system's CategoryHead `back`, design-system
   81161de; <c-pm.category-head back>): a state's page to its country's, the page head's
   back link 16px above the kicker (the head's lines are 9px apart, so 7px more), its
   arrow 15px and 6px before the country's name, 600 14px on a line of 1, in action
   blue. The kicker stays the kind. */
.pm-categoryhead__back {
  font: var(--type-field-label) var(--font-text);
  line-height: 1;
  margin-bottom: calc(var(--space-categoryhead-back) - var(--gap-chip));
}
.pm-categoryhead__back i { font-size: var(--size-glyph-sm); line-height: 1; }
/* A phone: the usual back link's tap area (6px above and below) without moving anything. */
@media (max-width: 767px) {
  .pm-categoryhead__back {
    padding: var(--gap-glyph) 0;
    margin: calc(var(--gap-glyph) * -1) 0 calc(var(--space-categoryhead-back) - var(--gap-chip) - var(--gap-glyph));
  }
}

/* ==========================================================================
   PM2 FINDER PHASE 5 F. The cookie bar and the footer's Cookies item (the design
   system's CookieBar, Option - Cookie consent 1c, PM1 drop 101, and Footer
   `cookiesLink`; <c-pm.cookie-bar>, <c-pm.footer cookies>; pmCookieBar and
   pmCookiesLink in components.js). Only on an organization's finder whose settings
   name a cookies page (the product owner, 2026-11-21). A bar docked at the bottom,
   over nothing: no scrim, no focus trap, no close.
   ========================================================================== */

/* The docked Support bar's surface: white, the card line above it, the dock's shadow.
   Desktop: the words left, the choices right, 16px apart; 16px by the gutter. */
.pm-cookiebar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--layer-dock);
  display: flex;
  align-items: center;
  gap: var(--gap-block);
  box-sizing: border-box;
  padding: 16px var(--space-gutter);
  background: var(--color-surface-card);
  border-top: 1px solid var(--color-line-card);
  box-shadow: var(--shadow-dock);
}
.pm-cookiebar[hidden] { display: none; }
.pm-cookiebar__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--gap-glyph);
  min-width: 0;
}
.pm-cookiebar__head {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
}
/* The organization's mark at 30px (CookieBar's literal). */
.pm-cookiebar__logo {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-inline);
}
.pm-cookiebar__heading {
  font: var(--type-card-title) var(--font-text);
  color: var(--color-ink-strong);
}
.pm-cookiebar__sentence {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
.pm-cookiebar__choices {
  display: flex;
  flex: 0 0 auto;
  gap: var(--gap-inline);
}
/* Two equal secondary choices, 52px tall, 20px sides, neither one the default. */
.pm-cookiebar__choice {
  box-sizing: border-box;
  height: var(--size-button);
  padding: 0 20px;
  font: var(--type-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  white-space: nowrap;
  cursor: pointer;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
}
@media (hover: hover) {
  .pm-cookiebar__choice:hover { background: var(--color-surface-hover); }
}
.pm-cookiebar__choice:active { background: var(--color-surface-hover); }
/* A phone: stacked, the choices side by side at equal width, 12px by 16px, the home
   indicator's room below. */
@media (max-width: 767px) {
  .pm-cookiebar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--space-gutter-mobile) var(--space-safe-bottom);
  }
  .pm-cookiebar__heading { font: var(--type-card-title-m) var(--font-text); }
  .pm-cookiebar__choice { flex: 1 1 0; }
}

/* The footer's Cookies item: a TextAction at the links' own type (Footer
   `cookiesLink`), after Privacy and Terms. On a phone it keeps TextAction's 44px tap
   height without taking room: the links' row stays one line (21px) tall, as the
   mock's footer draws it. */
.pm-footer__cookies { font: var(--type-meta) var(--font-text); }
@media (max-width: 767px) {
  .pm-footer__cookies { margin: calc((var(--size-tap-min) - 1.5em) / -2) 0; }
}

/* ==========================================================================
   ADMIN A27. A colour a record keeps (<c-pm.color-field>, the design system's
   ColorField), and the image shapes Settings › Branding adds to ADMIN A23
   (screen-admin-settings-branding.html).

   Colour, read: an 18px chip, 9px, the hex in the machine face, or the fallback's name
   muted. In edit: the label, a 52px field (50px on a phone) with a 24px chip and the hex
   typed, then its lines 6px apart. A chip's colour is set by script (pmColorChip,
   pmColorField); it has an inner line so white shows on white.
   ========================================================================== */
.pm-colorchip {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-inline);
  box-shadow: inset 0 0 0 1px var(--color-line-control);
}
.pm-colorchip--read { width: 18px; height: 18px; }
.pm-colorvalue { display: flex; align-items: center; gap: var(--gap-chip); }
.pm-colorvalue__hex { font: var(--type-machine) var(--font-mono); }
.pm-colorvalue__default { color: var(--color-ink-muted); }
.pm-colorfield__control {
  display: flex;
  align-items: center;
  gap: var(--gap-inline);
  height: var(--size-input);
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  cursor: text;
}
.pm-colorfield__control:hover,
.pm-colorfield__control:focus-within { border-color: var(--color-action); }
.pm-colorfield__control:has(:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.pm-colorfield__control--error,
.pm-colorfield__control--error:hover,
.pm-colorfield__control--error:focus-within { border-color: var(--color-canceled); }
.pm-colorfield__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink-strong);
  font: var(--type-machine) var(--font-mono);
  text-transform: uppercase;
}
.pm .pm-colorfield__input:focus-visible { outline: 0; }
/* Empty, the fallback's name as it is, in the body face. */
.pm-colorfield__input:placeholder-shown { font: var(--type-body) var(--font-text); text-transform: none; }
.pm-colorfield__input::placeholder { color: var(--color-ink-subtle); }
.pm-colorfield__contrast {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-glyph);
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-muted);
  text-wrap: pretty;
}
.pm-colorfield__contrast[hidden] { display: none; }
/* The mark keeps to the line's height (1lh: the helper's), so a wrapped line's mark stays
   on its first. */
.pm-colorfield__mark { flex: 0 0 auto; display: flex; align-items: center; height: 1lh; }
.pm-colorfield__mark .bi { font-size: var(--size-glyph-sm); line-height: 1; color: var(--color-status-success-glyph); }
.pm-colorfield__contrast--warning { color: var(--color-status-warning-ink); }
.pm-colorfield__contrast--warning .bi { color: var(--color-status-warning-glyph); }
@media (max-width: 767px) {
  .pm-colorfield__control { height: var(--size-input-m); }
  .pm-colorfield__input,
  .pm-colorfield__input:placeholder-shown { font-size: 16px; }
}

/* Branding's image shapes (the mock's `aspect` and `previewWidth`, as read and as
   edited; a phone's read view is at most 200px): the navbar mark on the organization's
   own navbar colour (ground="nav": the frame is its .theme-org), the footer logo 6 / 1,
   the favicon, the hero 25 / 6 cropped as the finder crops it. */
.pm-imagefield--mark .pm-imagefield__frame { width: 96px; aspect-ratio: 1 / 1; }
.pm-imagefield--favicon .pm-imagefield__frame { width: 64px; aspect-ratio: 1 / 1; }
.pm-imagefield--footer .pm-imagefield__frame { width: 360px; aspect-ratio: 6 / 1; }
.pm-imagefield--hero .pm-imagefield__frame { width: 320px; aspect-ratio: 25 / 6; }
.pm-imagefield--hero.pm-imagefield--editing { max-width: var(--measure-form); }
.pm-imagefield--hero.pm-imagefield--editing .pm-imagefield__frame { width: 100%; }
.pm-imagefield--hero .pm-imagefield__frame img { object-fit: cover; }
.pm-imagefield__frame--nav { background: var(--color-nav-bg); }
/* A 64px frame has no room for the drop line's words: its glyph stands alone. */
.pm-imagefield--favicon .pm-imagefield__drop span { display: none; }
@media (max-width: 767px) {
  .pm-imagefield--footer:not(.pm-imagefield--editing) .pm-imagefield__frame,
  .pm-imagefield--hero:not(.pm-imagefield--editing) .pm-imagefield__frame { width: 200px; }
}

/* ==========================================================================
   ADMIN A28. A document handed over for a task (<c-pm.file-field>, the design system's
   FileField; Import): the label, a 76px box in every state (the empty drop zone, dashed;
   the file's row), one 44px line of actions, the helper or the error, each 6px apart.
   ========================================================================== */
.pm-filefield { display: flex; flex-direction: column; gap: var(--gap-glyph); min-width: 0; max-width: var(--measure-form); }
.pm-filefield [hidden] { display: none; }
.pm-filefield__box {
  position: relative;
  box-sizing: border-box;
  height: 76px;
  border: 1px dashed var(--color-line-control);
  border-radius: var(--radius-control);
  background: var(--color-surface-hover);
  cursor: pointer;
  transition: background-color 0.12s;
}
.pm-filefield__box--file { border: 1px solid var(--color-line-card); background: var(--color-surface-card); cursor: default; }
.pm-filefield__box--error { border-color: var(--color-canceled); }
.pm-filefield__row { display: flex; align-items: center; gap: var(--gap-inline); box-sizing: border-box; height: 100%; padding: 0 16px; }
.pm-filefield__box .bi { flex: none; font-size: var(--size-glyph-close); line-height: 1; color: var(--color-ink-glyph); }
.pm-filefield__words { display: flex; flex-direction: column; flex: 1 1 auto; gap: var(--gap-hairline); min-width: 0; }
.pm-filefield__name {
  overflow: hidden;
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-filefield__detail {
  display: flex;
  align-items: center;
  min-height: 21px;
  overflow: hidden;
  font: var(--type-meta) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-filefield__rail { display: block; width: 100%; max-width: 240px; height: 6px; border-radius: 3px; background: var(--color-line-row); overflow: hidden; }
.pm-filefield__rail > span { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--color-action); }
.pm-filefield__drop {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-glyph);
}
.pm-filefield__drop span { font: var(--type-caption) var(--font-text); color: var(--color-ink-muted); }
.pm-filefield__dropnow { display: none; }
.pm-filefield__box--over { border: 1px solid var(--color-action); background: var(--color-surface-selected); }
.pm-filefield__box--over .pm-filefield__row,
.pm-filefield__box--over .pm-filefield__drop { opacity: 0; }
.pm-filefield__box--over .pm-filefield__dropnow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 13px/1.35 var(--font-text);
  color: var(--color-action);
}
.pm-filefield__actions { margin-top: var(--gap-glyph); }
.pm-filefield__resting,
.pm-filefield__busy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-glyph) var(--gap-inline); }
.pm-filefield__resting .pm-quietbutton { cursor: pointer; }
.pm-filefield__reading {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-tap-min);
  font: var(--type-meta) var(--font-text);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-muted);
}
@media (max-width: 767px) {
  .pm-filefield__drop span { display: none; }
}

/* ==========================================================================
   ADMIN A29. Import's steps (screen-admin-import.html): the head, 6px to "Step 2 of 4";
   the step 22px under it, 640px at most where it's fields; the foot under a hairline,
   Cancel import then the action, right-aligned, 9px apart. A phone: the action full
   width, then Cancel import, with no hairline.
   ========================================================================== */
.pm-importstep__head { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-importstep__of { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }
.pm-importstep__body { display: flex; flex-direction: column; gap: var(--gap-group); margin-top: var(--gap-group); }
.pm-importstep__body--narrow { max-width: 640px; }
.pm-importstep__body--parts { gap: 30px; }
.pm-importstep__result { display: flex; flex-direction: column; gap: var(--gap-group); }
.pm-importstep__text { margin: 0; max-width: var(--measure-prose); font: var(--type-body) var(--font-text); color: var(--color-ink-body); text-wrap: pretty; }
.pm-importstep__body > .pm-importstep__text + .pm-records { margin-top: calc(var(--gap-block) - var(--gap-group)); }
.pm-importstep__foot {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: var(--gap-chip);
  margin-top: 30px;
  padding-top: var(--gap-group);
  border-top: 1px solid var(--color-line-row);
}
.pm-importstep__foot .pm-quietbutton { cursor: pointer; }
.pm-importstep__view { display: flex; }
.pm-importchoice { display: flex; flex-direction: column; gap: 6px; }
.pm-importchoice__label { font: var(--type-label) var(--font-text); color: var(--color-ink-strong); }
/* The rows as the design system's OptionRow: no fill or edge for the chosen one. */
.pm-importchoice .pm-option {
  box-sizing: border-box;
  min-height: var(--size-tap-min);
  padding: 9px 16px;
  gap: 12px;
  border: 0;
  background: transparent;
}
.pm-importchoice .pm-option__text { align-self: flex-start; gap: 3px; }
.pm-importchoice .pm-option__name { font: var(--type-value) var(--font-text); }
.pm-importchoice .pm-option:has(input:checked) .pm-option__name { font: var(--type-label) var(--font-text); }
.pm-importchoice .pm-option__count { display: none; }
.pm-importproblems { display: flex; flex-direction: column; gap: var(--gap-inline); }
.pm-importproblems__title { margin: 0; font: var(--type-section) var(--font-display); color: var(--color-ink-strong); }
.pm-records__table .pm-importproblems__row { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .pm-importstep__foot { flex-direction: column; align-items: stretch; padding-top: 0; border-top: 0; }
  .pm-importstep__foot .pm-quietbutton { justify-content: center; min-height: var(--size-tap-min); }
  /* A link in a sentence keeps its line; the download keeps its 44px target in the line's
     own room. */
  .pm-importstep__text .pm-textaction { display: inline; min-height: 0; }
  .pm-importproblems__download { margin: -11px 0; }
  .pm-importstep__view .pm-button { width: auto; }
  .pm-importcolumns .pm-importcolumns__field { display: block; flex: 1 0 100%; }
}
