/* Pathminder meeting finder — design system.
 *
 * Every literal in the product appears exactly once, here, as a token. A hex or a
 * px value anywhere else is a bug. Tokens name the job, not the appearance
 * (--color-action, never --color-blue), so a retheme doesn't leave a variable
 * lying about itself, and there are no numeric scales, because a --grey-400
 * invites a --grey-450.
 *
 * The tenant-varying tokens — the two font families, the action color, the four
 * radii and the three scope hues — are written over this by an inline :root block
 * rendered per request (see meetings/finder/theme.py). Everything below is the
 * same on every deployment.
 *
 * Type tokens are composite shorthands on purpose. "400 15px/1.45" as one value,
 * rather than separate size and line-height variables, is what makes one
 * line-height per size per role enforceable: you can't pick 15px and then choose a
 * line-height, because the pairing is the token.
 */

/* Drop 35. The browser paints its own translucent overlay on tap, over the whole hit
   area, and nobody designed it -- it was drawing the facilitator row rather than the
   Contact control inside it. Suppressed here and replaced by the :active rules through
   this file, which carry the hover values. On `html` rather than `.pm`: the property
   inherits, and this is the element every page has.

   Suppressing it alone would leave taps with no feedback at all, so it must not ship
   without those rules. iOS additionally needs a listener bound before :active will
   fire -- see initPressedState() in finder.js. */
html { -webkit-tap-highlight-color: transparent; }

:root {
  /* ---- Ink: a six-step ramp. Picking the "roughly right grey" is how a UI drifts. */
  --color-ink-strong: #1c2024;
  --color-ink-body: #3f4448;
  --color-ink-muted: #5c6166;
  --color-ink-subtle: #6b7075;      /* lightest grey legal on white for text */
  --color-ink-glyph: #7b8085;       /* glyphs only — 3.99:1, never text */
  --color-ink-disabled: #a3a8ac;
  --color-ink-separator: #b0b5b9;   /* middots only */

  /* ---- Surfaces and lines. Three line colors, three jobs. */
  --color-surface-page: #edeeef;
  --color-surface-card: #ffffff;
  --color-surface-hover: #f5f7f8;
  --color-surface-selected: #f2f6f9;
  --color-line-row: #eceeef;        /* between rows inside a card */
  --color-line-card: #e2e4e6;       /* a card's own edge */
  --color-line-control: #b9c4cc;    /* something you type in or click */

  /* ---- Mode. Locked across tenants: these are shared with the embeddable map
   * tenants place on their own sites, so recoloring them per tenant would make
   * the marks meaningless. */
  --color-mode-in-person: #EA4335;
  --color-mode-online: #0B5CFF;
  --color-mode-hybrid: #7C3AED;

  /* ---- Condition of entry, and the one alarm state. Also locked: a tenant whose
   * brand color is red would otherwise make every button look like a cancellation. */
  /* Camera required is a glyph and a label, not a pill -- the updated standard
   * dropped the fill and border that used to sit behind it. */
  --color-condition-ink: #7a541c;
  /* Drop 106 gives the retired chip's fill and border one new use: the condition
   * notice above Join on a meeting page. Still never a chip. */
  --color-condition-bg: #fbf5ea;
  --color-condition-line: #dcc396;
  --color-canceled: #8f2d2d;        /* also the error color */
  --color-canceled-bg: #f9e9e9;
  /* The row fill. The page grey, so a canceled row reads as punched out of the
   * card and back to the page behind it -- a stronger signal than a faint tint,
   * and one the hover fill can never be confused with. */
  --color-canceled-row: #edeeef;
  --color-canceled-line: #e3c4c4;
  --color-line-selected: #cfdbe4;
  /* Behind a modal sheet. Dark enough that the list stops reading as tappable,
     light enough that you can still see it is the list you came from. */
  --color-scrim: rgba(18, 35, 46, .52);
  /* Drop 20's scroll edges: the transparent end of the list's bottom fade. */
  --color-fade-out: rgba(245, 247, 248, 0);
  /* The Support button. The tenant's Meeting Support Button colors replace all
     three on every page (finder_theme_css); these are the design's own. */
  --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;

  /* ---- Action. Overridden per tenant. */
  --color-action: #1a5c8a;
  --color-action-hover: #113f5f;
  --color-action-fill-hover: #16506f;
  --color-action-on: #ffffff;
  --color-action-tint: var(--color-surface-selected);

  /* ---- Scope. One hue in, four roles out. Overridden per tenant.
     Local's default is white (SiteSettings.color_scope_local): no rail on the card
     and a neutral pill. These four are what theme.py derives from #ffffff. */
  --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;

  /* ---- Navbar. These are the light defaults; a tenant running a dark brand
   * fill overrides them per request, where the ink and the active underline go
   * white -- a mid-tone brand color on a dark fill fails contrast almost every
   * time. */
  --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;
  /* A chevron is its own label's ink stepped back, rather than a lighter colour of
     its own. On the navbar that is what keeps it related to a brand fill; on a
     filter chip it is what lets it follow the label to the action colour on hover
     and to white on the applied fill, which a fixed glyph grey could not. */
  --opacity-chevron: .7;
  /* How far a button's label steps back while the number in it is being brought
     up to date. Undrawn. Three quarters of its ink keeps white on the action fill
     above 4.5:1, so the number stays readable for the moment it is out of date. */
  --mix-busy: 75%;

  /* ---- Type. Two families, assigned by role. */
  --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;
  /* One size at both breakpoints, drop 41: for someone in early recovery the start
     time is the single thing that must be scannable, and nothing may compete with
     it. That outranks the type hierarchy's argument for stepping desktop down. */
  --type-time: 700 24px/1.1;
  --type-row-title: 700 17px/1.3;
  /* The primary button's label, drop 10. Its own token rather than a borrowed
     heading, because it does NOT step down on a phone -- --type-row-title does
     (17->16), and a CTA that shrank with it was G13. */
  --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;
  /* Drop 15's meeting row. The day above the time in a distance-grouped row --
     Standards calls it "--type-label at 13px", which is its own size, so it is
     its own token. */
  --type-day-slot: 600 13px/1.35;
  /* The distance, in the mode block. 16px at BOTH breakpoints, which is why it
     cannot borrow --type-row-title-m: that value exists only as the mobile step
     of a heading, and the distance never steps. G13, one component over. */
  --type-distance: 700 16px/1.3;
  /* The facilitator-verified label, set against a 21px wordmark rather than a
     line of prose, so it takes line-height 1 where 13px text otherwise takes 1.35. */
  --type-proof: 400 13px/1;
  /* An option's match count. Same value as --type-proof and a different role: drop
     40 sets it single-line beside a row that may wrap to two, so it aligns to the
     row's first line rather than to the middle of a box it does not fill. */
  --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;   /* mode, language, the camera condition */
  --type-mark: 700 12px/1;            /* scope pill -- heavier than a chip */
  --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;
  /* The canceled banner's first line. 700 16px/1.3 at BOTH breakpoints, so it
     cannot borrow --type-row-title-m: that value exists only as the mobile step of
     a heading, and this one never steps (G13, the same trap --type-distance names). */
  --type-banner-title: 700 16px/1.3;
  /* The join gate's question. The Standards' section heading value, but it does
     not step: drop 72 draws the phone sheet's question at 22px too, and the
     question IS the step -- shrinking it on the screen where it is the only thing
     above the fold is the wrong way round. --type-section would have taken it to
     20px below the breakpoint (G13, the trap --type-distance names). */
  --type-gate-title: 700 22px/1.2;
  --type-tab-m: 700 15px/1;

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

  /* ---- Space. Not a strict 8pt grid — a small set of named distances that recur. */
  --space-gutter: 36px;
  --space-gutter-mobile: 16px;
  --space-row: 18px;
  --space-fact-row: 13px;
  /* A facilitator's row on a phone, where its Contact control stands 44px and the
     row is drawn 66px: the padding gives back what the taller control took. */
  --space-facil-row-mobile: 11px;
  --space-chip: 7px 11px;
  /* The applied-filter record is a control, not a label, and carries the ✕ in a
     tighter right inset than its left. Sides only on desktop: its height comes from
     --size-filterrow, which vertical padding here would fight. */
  --space-chip-applied: 0 9px 0 11px;
  --space-chip-applied-mobile: 9px 9px 9px 11px;
  /* Drop 40 gives Clear all its own padding rather than leaning on the row gap:
     4px a side, so the clearance from the last record is 13px on desktop (9px row
     gap + 4px) and 10px on the phone (6px + 4px).

     Drop 53 takes the vertical out. Clear all is now sized by the row it is in --
     --size-filterrow, centred -- so a top and bottom padding here would be a second
     answer to a question the row has already settled. That also retires the phone's
     own asymmetric value (9px 2px 9px 7px), which was holding it off a row whose
     height it now shares; Part 16 of the deviation inventory goes with it. */
  --space-clearall: 0 4px;
  /* The Clear a filter group carries at the foot of its panel. It used to share the
     row's token, which stopped being true when drop 53 took the row's Clear all to
     min-height and no vertical padding -- that one is sized by its row, and this one
     by the rows above it. */
  --space-option-clear: 10px 4px;
  --space-option-clear-mobile: 9px 2px 9px 7px;
  --space-pill: 7px 12px;           /* bold text needs the extra */
  --gap-hairline: 3px;
  --gap-glyph: 6px;
  --gap-chip: 9px;
  --gap-inline: 12px;
  --gap-block: 16px;
  --gap-group: 22px;
  --gap-band: 30px;
  /* The fade at the bottom of a scrolling list. Standards: never taller than this. */
  --gap-fade: 24px;
  --gap-page: 48px;

  /* ---- Shape. Four radii ship in total. Overridden per tenant by one switch. */
  --radius-card: 10px;
  --radius-control: 9px;
  --radius-inline: 7px;
  --radius-sheet: 16px;
  --radius-device: 34px;
  --radius-pill: 999px;

  /* ---- Size and measure. */
  --size-input: 52px;
  --size-input-m: 50px;             /* prevents iOS zoom-on-focus */
  --size-button: 52px;
  --size-tap-min: 44px;
  /* Drop 53: every item in a filter row is one height -- chips, applied records and
     Clear all -- so the row reads as one row rather than three sizes of thing. 37px
     is what a chip already measures (13px label at line-height 1, 11px above and
     below, 1px of border); the others are brought to it. On a phone it is the tap
     minimum instead, because records are tappable there. */
  --size-filterrow: 37px;
  /* The chip's own side padding, named because the Filters button takes the sides
     without the top and bottom -- its height comes from --size-filterrow. */
  --space-filterbutton-x: 13px;
  /* The filter chip's caret, which is NOT one of the glyph sizes above: the
     Standards' scale is for a glyph that labels something, and this one is a hint
     that a control opens. Drop 54's own Meeting List draws it at 11px with opacity
     .7, and 11 is also what keeps it out of the chip's height -- Bootstrap Icons
     shifts ::before by -.125em, so a 12px caret has a 13.5px line box, taller than
     the 13px label beside it, and the chip came out 37.5px where drop 53 says every
     item in the row is 37. */
  --size-glyph-chevron: 11px;
  /* The sheet's accordion caret, a step up from the filter row's: there it sits
     behind a label as a hint, and here it is the only thing on the row saying the
     row opens. Drop 54 draws 13px. */
  --size-glyph-sheet-caret: 13px;
  --size-rail: 6px;
  /* The selected-state rail. Standards fixes it once -- "the 3px underline" --
     and it is the same 3px under a nav link, a mode tab and a view toggle, and
     down the left of a row in the phone menu. */
  --size-active-rail: 3px;
  /* 104, not 100, drop 41. At --type-time's 24px, "10:30 PM" and "12:30 AM" are
     95px wide against the 92px a 100px column leaves after its 8px inset, and the
     time is nowrap, so half the clock hung outside its own column. Costs the title
     4px. Moves with --type-time. */
  --size-time-col: 104px;
  --size-fact-label: 150px;
  --size-sidebar: var(--size-popover-min);
  --measure-row: 640px;
  --measure-card: 1000px;
  --breakpoint: 768px;   /* documentation: a media query cannot read a custom property */

  /* A card never has a shadow — its border does that work. A shadow means
   * "floating above the page". */
  --shadow-overlay: 0 12px 30px rgba(28, 32, 36, .18);
  --shadow-sheet: 0 -8px 30px rgba(28, 32, 36, .2);
  /* Drop 102: every fixed bottom bar -- the docked Support bar and the cookie bar.
     Never --shadow-sheet on a bar: a bar is not a sheet. */
  --shadow-bar: 0 -6px 20px rgba(28, 32, 36, .12);
  /* 6b, for where the blur cannot go: no transparency, so the bar earns an edge
     and a shadow instead. */
  --shadow-stuck: 0 6px 12px -6px rgba(28, 32, 36, .18);
  /* Cast leftward, because the drawer comes from the right. */
  --shadow-drawer: -12px 0 30px rgba(28, 32, 36, .18);

  /* Stacking order, named once. The four literals these replace were scattered
     across the file, so the order they implied could only be read by grepping. */
  --layer-sticky: 10;
  --layer-popover: 20;
  --layer-suggestions: 25;
  --layer-nav: 30;
  --layer-dock: 35;
  /* A modal sheet is over everything, including the nav it was opened from. */
  --layer-sheet: 40;
  /* The cookie bar (drop 99) is over every other fixed bottom bar -- the dock and a
     sheet's footer -- until it is answered. Under the tour, which waits for it
     anyway, and under a dialog. */
  --layer-consent: 45;
  /* Anything that covers the whole page: the phone drawer and the join gate. Set
     over AddEvent, which put its own button at 99998 (AddEvent is gone since
     2026-11-15), so the number no longer has anything to answer; it is left as it
     was, and still only has to be the largest here. */
  --layer-modal: 99999;
  /* The feature-tips tour (drop 82): over the page and everything that floats on
     it -- the navbar, the dock, a sheet -- and under a dialog, which is a question
     and outranks a note. */
  --layer-tour: 50;

  /* Short enough that the bar is there by the time the eye arrives. */
  --motion-dock: 180ms;
  /* Drop 109: the map fading in, and its loading status fading out with it. The
     same 120ms the map's own embed fades in over, so the two are one crossfade. */
  --motion-reveal: 120ms ease-out;
  /* Drop 109: one turn of the map's loading ring. */
  --motion-spin: 900ms linear;

  /* Glyph sizes. Design Standards fixes exactly these -- "a glyph sits one step
   * above the text it labels ... No other sizes" -- so nothing invents one. */
  --size-glyph-term: 12px;
  --size-glyph-sm: 15px;
  --size-glyph: 16px;
  --size-glyph-row: 18px;
  --size-glyph-nav: 20px;
  /* Drop 42 steps this from 24 to 20: with the time at 24px on desktop a saturated
     24px glyph beside it competed. 20 is the size the phone's tighter stack already
     trialled, so both breakpoints now share one glyph scale -- 20 stacked, 16 beside
     a label. It keeps a 24px box so nothing below it moves. */
  --size-glyph-mode: 20px;
  --size-glyph-mode-box: 24px;
  /* Drop 106: the glyph leading a notice panel. */
  --size-glyph-notice: 20px;

  /* Values Design Standards does not define. Named so each literal still appears
   * exactly once, and listed in the deviation inventory for the designer. */
  /* The Pathcheck wordmark beside 14px text. Its caps are 35.9% of the asset, so
     23px sets them at 8.3px against the text's 9.2px -- matched enough to read as
     one line without the mark leading it. Drop 84 keeps the height where the mark
     stands on a line of its own, above the code. */
  --size-verification-mark: 23px;
  /* The list row restacks on a phone, and several of its parts are drawn one step
     smaller there than the same part on the desktop row. Named here so each literal
     still appears exactly once; they are applied inside .pm-listrow only, because
     the detail page's chips and pills keep their desktop sizes at every width. */
  --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;
  /* The beyond-the-frame notice (M6), taken off the drop's rendered card. The drop
     floats it at the map's top RIGHT, which is free in its mock because that is
     Leaflet, whose zoom sits top-left. Ours is MapLibre: zoom is top-right with the
     recentre stacked under it (Elowen, 2026-09-25: "below the +/- zoom buttons"), so
     the notice takes the free corner instead. Elowen, 2026-09-30: "Keep the
     controls, move the notice to top-left."
     Recorded as a placement deviation; every other value here is the drop's. */
  /* 274, not the drop's 236. The drop doc sets box-sizing: border-box only inline
     on particular elements and never on this card, so its 236px is the CONTENT box
     and the drawn card is 236 + 18*2 padding + 1*2 border = 274. This stylesheet is
     border-box throughout, so the same card has to be named by its total -- taking
     the drop's number literally drew it 38px narrow. */
  --size-beyond: 274px;
  --space-beyond-inset: 16px;
  /* Drop 57's category head: a page title's own breathing room above, and the gap
     to the control rail below. */
  --space-categoryhead: 30px var(--space-gutter) 22px;
  --space-beyond: 16px 18px;
  /* The notice's close, in the top-right corner of the notice's CONTENT: the glyph's
     own 16px box sits exactly on the padding, top and right. That is where the
     designs put a close -- the tour card's and the map popup's both tuck the 44px
     target into the padding until the glyph lines up with what the card holds.

     The glyph is 14px inside its target ((44 - 16) / 2), so the target is set 14px
     further out than the padding: 16 and 18 on the card, 10 and 12 on the phone's
     bar, where that runs it a few pixels past the bar's own edge.

     The pills on the card, and the whole row on the bar, give up the room it takes
     so nothing runs beneath it. */
  --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;
  /* The drop draws this shadow rgba(0,0,0,.12) on the desktop card and
     rgba(28,32,36,.20) on the phone's. Every other shadow in this file is ink-based,
     and so is the drop's own phone one, so the desktop's pure black reads as drift
     rather than intent: normalised to ink here. */
  --shadow-beyond: 0 4px 16px rgba(28, 32, 36, .12);
  /* The map embed's two-finger-hint scrim (Instance, meeting_map/set_embed.html).
     Mirrored, not chosen: the notice is dimmed to match the map beneath it, so it
     has to be the same value or the two read as different layers. */
  --color-scrim-gesture: rgba(28, 32, 36, .55);
  --shadow-beyond-mobile: 0 4px 16px rgba(28, 32, 36, .2);
  --space-beyond-inset-mobile: 12px;
  /* Clear of the two controls the embed draws under this bar. The legend button is
     10px up from the canvas' bottom edge and 44px tall on a touch screen (29 with a
     mouse); 46 was right for the 29 and laid the bar across the top of the button
     on every real phone (Elowen, 2026-10-09). "Search this area" is the taller
     reach since drop 85 made it a 44px button 22px up: 22 + 44, and the same 9
     between it and the bar that the legend was given -- which is 21 above the
     legend. */
  --space-beyond-bottom-mobile: 75px;
  --space-beyond-mobile: 10px 12px;
  --space-beyond-action-mobile: 0 11px;
  --size-map: 220px;
  /* Drop 40's Screen - Map measures 560 at both breakpoints. On the phone that is
     the mock's fixed frame rather than a ruling -- the note says the map fills the
     screen -- so the phone's real height lands with the results sheet. */
  --size-mapview: 560px;
  --size-map-mobile: 170px;
  --size-map-where: 200px;
  /* Drop 18: 64px at BOTH breakpoints. The Standards names a --size-navbar-m for
     the phone; it is not shipped as a second token because it now carries the same
     literal as this one, and two names for one value is the duplication the system
     exists to prevent. The bar is taller than any control directly below it -- the
     50px search field -- so it reads as the frame rather than one more control.
     Drop 91: it is the bar ABOVE its 1px hairline, so the navbar is 65px in all. */
  --size-navbar: 64px;
  --size-nav-mark-mobile: 28px;
  --space-breadcrumb-mobile: 8px 0 10px;
  /* The same trick for the calendar link under a stacked CTA: a 44px target
     whose height is given back to the gaps either side of it. Not evenly -- above
     it, enough is kept that the label sits --gap-block from the button, the way it
     does beside it on a wide screen. Handing back all of it put the link 11px under
     the button, closer than the map above it, so it read as part of the button. */
  /* The canceled banner. Tighter than a block gap above and below, because the bar
     is a strip across the card rather than a box in it. */
  --space-banner-canceled: 15px var(--space-gutter);
  /* The notes clamp. Three lines is the most that can sit between the time and
     the way in without pushing the button under the fold on a phone. */
  --lines-notes: 3;
  /* Read more on a phone: a 44px target whose height is given back to the gaps
     either side, the same trick the calendar link uses. */
  --space-notes-more-mobile: -15px 0;
  /* The map status's Show the list on a phone (drop 109): the same trick, a 44px
     target around a 15px/1.55 line, so the reserved line does not grow. */
  --space-mapstatus-list-mobile: -10px 0;
  /* The day bar's prompt on a phone: a 13px label in a 44px target. */
  --space-daygroup-prompt-mobile: -15.5px 0;
  /* The finder intro (drops 76-81). The drops list these as literals outside the
     token system; named here so the rules below say what each one is for. */
  --size-intro-band-first: 240px;         /* the image band on the first page */
  --size-intro-band: 96px;                /* and on every page after it */
  --size-intro-band-first-mobile: 150px;
  --size-intro-band-mobile: 88px;
  --space-intro-overlap: 48px;            /* how far the card rides up the band */
  --space-intro-overlap-mobile: 44px;
  /* With no image there is no band: the card sits in the page's gutter, where the
     search bar would otherwise begin. 24px is that bar's own top padding. */
  --space-intro-bare: 24px var(--space-gutter) 0;
  --space-intro-bare-mobile: var(--gap-block) var(--space-gutter-mobile) 0;
  /* The search bar's top padding beneath the intro, which is the bar's own. */
  --space-rail-under-intro: 24px;
  /* Lines of the tenant's text shown after the first page. Two where it runs the
     card's full width, three in a phone's column. */
  --lines-intro: 2;
  --lines-intro-mobile: 3;
  --space-atc-mobile: -5px 0 -10px;
  --size-atc-menu: 230px;  /* Add to calendar's menu: AddEvent's width */
  --size-atc-mark: 22px;  /* a calendar's logo in that menu */
  /* What the PM2 finder said about Microsoft's step (?calendar=): the design system's
     status banner, as PM2's meeting page draws it (pathcheck design_system finder.css,
     "Status banner"), under the designer's names. Status teal and amber are for this
     banner only. Its error tone is the canceled red, its quiet tone the page's inks. */
  --color-status-success-ink: #0f4a43;
  --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;
  --space-statusbanner-bare: 14px 16px;
  --size-statusbanner-glyph: 18px;
  --line-statusbanner-glyph: 1.3;  /* the glyph on the lead's line, so they share it */
  --measure-statusbanner: 640px;   /* its widest on desktop */

  /* ---- the join gate (drop 72) ----
     A dialog, which the product had not had before: the Standards name no
     component for one, so these are its own and should go back into them.

     The paddings are composites per breakpoint, like the filter sheet's, because
     the three bands of a dialog are each asymmetric for a different reason: the
     head's right side is short because a 44px close button carries its own
     padding, and the body's top is short because the head above it is already
     generous. */
  --size-gate: 520px;
  /* The drop's own, and larger than --shadow-overlay: a popover hangs off a
     control that is still on the page, a dialog has to say the page is behind it.
     The scrim does most of that work and the shadow finishes it. */
  --shadow-gate: 0 18px 44px rgba(28, 32, 36, .22);
  --space-gate-head: 12px 16px 0 26px;
  --space-gate-head-mobile: 4px 4px 0 16px;
  --space-gate-body: 4px 26px 22px;
  --space-gate-body-mobile: 0 16px 22px;
  --space-gate-foot: 16px 26px 22px;
  --space-gate-foot-mobile: 12px 16px;
  /* One of the flagged things, over the hairline that separates it from the last.
     Vertical only: the rows run the width of the body. */
  --space-gate-row: 12px 0;
  /* A name and one sentence. Two lines, because the sentence is one sentence and
     a third line means a tenant has written a paragraph into the short field. */
  --lines-gate-row: 2;
  /* How far the phone sheet stops short of the top. Enough scrim left that the
     page behind it is still visibly there. */
  --space-gate-top: 52px;
  /* The phone's head is a row of tap targets, so it is their height however short
     the count in the middle is. */
  --size-gate-head-mobile: 52px;
  /* The back arrow pulls its 44px box back onto the gutter, so the count beside it
     starts where the title below it does. Two values because the two breakpoints
     set that gutter differently. */
  --space-gate-back: -14px;
  --space-gate-back-mobile: -12px;

  /* ---- opting in and out (drops 65-69) ----
     The arrival bar's inset is asymmetric: its text starts where a card's content
     does, and its right side closes tighter because a button rather than prose ends
     the row. The leave page opens closer to the navbar than a gutter, because its
     heading is the first thing on it and there is no rail above to clear. */
  --space-optinbar: 14px var(--gap-block) 14px 20px;
  /* The phone frame draws it tighter and nearly even: 12px round, 14 on the side
     the sentence starts. */
  --space-optinbar-mobile: var(--gap-inline) var(--gap-inline) var(--gap-inline) 14px;
  --space-leave: 26px var(--space-gutter) var(--gap-page);
  --size-glyph-menu: 24px;
  /* Drop 33's location list. The row heights are its own; the label offset is the
     field's own text inset, named here so "every label starts where typed text starts"
     is one expression rather than two numbers that have to be kept equal. */
  --size-suggestion-row: 48px;
  --size-suggestion-row-m: 52px;
  /* The list hangs off the field, so it takes the field's own numbers: the gutter is
     the magnifier's inset and the label starts where typed text starts. Drop 33 measured
     46/17/17 here; drop 34 answered that the list should change rather than the tokens,
     and these are what both now use -- 16 + 16 + 16 on desktop, 12 + 16 + 12 on a phone. */
  --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));
  /* How far the focus ring sits outside the field's border: --focus-offset plus the
     ring's own 2px width, which lives inside --focus-ring and cannot be read out of
     it. Drop 38 hangs the suggest list off the ring rather than the border, because
     the ring is always showing while the list is open -- aligned to the border, the
     field looked 4px wider than the list under it. */
  --space-suggestion-ring: 4px;
  /* The clear-field control's inset, and with it the field's right padding: the 44px
     target plus its inset on both sides comes to the 52px and 50px drop 34 specifies. */
  --space-search-clear: 4px;
  --space-search-clear-m: 3px;
  /* ---- Drop 15's meeting row. Every meeting is a card, and the card is a grid
     of fixed columns so that time, mode, distance and proof line up down the
     list -- which is the whole point of the redesign. */
  --size-mode-col: 84px;
  --size-mode-col-mobile: 84px;
  --size-ver-col: 190px;
  /* The proof sits in a slot of its own height so the Pathcheck wordmark and the
     facilitator line share a baseline across rows. */
  --size-proof-slot: 22px;
  --size-proof-mark: 21px;
  /* Drop 97: the Pathcheck wordmark as a filter option's name, beside 15px names.
     The drop gives 24px and lists it as a literal outside the token system. */
  --size-option-wordmark: 24px;
  --size-proof-mark-mobile: 19px;
  /* The scope rail is one pixel narrower on a phone, where the card is too. */
  --size-rail-mobile: 5px;
  /* --type-meta's line box. A 15px glyph given this line-height tops out on the
     first line of the text beside it, however many lines that text wraps to. */
  --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;
  /* Drop 40 gives the label a 6px lead-in above it. Below it the band has to reach
     across the card gap, so a card scrolling under a stuck bar is hidden rather
     than left half-visible in the gap.

     Stuck is the only state in which this band has visible edges, and it is the
     state the band exists for. Its height is already settled by the lead and the
     cover; splitting that height evenly is what puts the label in the middle of the
     bar instead of against its top edge. The sum is unchanged, so no card moves. */
  /* Drop 40's List/Map buttons. The phone drops the label and the button becomes a
     square tap target, so the inset is one value there. */
  --space-viewtoggle: 9px 13px;
  --space-viewtoggle-mobile: 15px;
  /* Clearance under the buttons. Drop 40 lifts them off the rail's line so they
     read as controls sitting above it rather than tabs hanging from it -- the
     tabs are the only thing on this rail that touches the line. */
  --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);
  /* Drop 21's phone menu: full-bleed rows under the navbar. */
  --size-menu-row: 52px;
  /* Drop 27's drawer: 300px from the right, and a check slot narrow enough that
     the language names line up under the label that opened them. */
  --size-drawer: 300px;
  --size-check-slot: 16px;
  /* bi-x-lg closing the menu. Between the four Standards glyph sizes and the
     hamburger's own 24px, because it fills its box where bi-list does not. */
  --size-glyph-close: 22px;
  /* The search row and the filter row are one block on a phone, so the rail
     closes with no padding of its own and the filter row under it carries the
     gap between them and the block's bottom edge. */
  --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-control-box-mobile: 24px;
  --size-org-mark: 26px;
  --size-control-box: 20px;
  /* The check inside the 20px box. One step under it, so the mark sits in the
     box rather than filling it to the corners. */
  --size-glyph-check: 14px;
  /* A chosen radio's ring. 6px leaves an 8px centre inside the 20px circle. */
  --size-radio-ring: 6px;
  --size-footer-mark: 28px;
  --size-footer-wordmark: 36px;
  /* The tenant's full logo in the footer (drop 78): as tall as the Pathminder logo
     across from it, and no wider than this however long the artwork is. */
  --size-footer-logo: 36px;
  --size-footer-logo-mobile: 32px;
  --size-footer-logo-max: 260px;
  --size-switch-w: 44px;
  --size-switch-h: 26px;
  --size-switch-knob: 20px;
  --gap-wrap-footer: 4px;
  /* Split so the inset can be added to the bottom alone. The footer is the last
     thing on every page, so with viewport-fit=cover it is what ends up under the
     home indicator. */
  --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;
  /* The phone frame draws the block's inset even, and tighter. */
  --space-action-block-mobile: var(--gap-block);
  --space-dock: 10px 16px;
  /* The dock's handle. The grabber is the Standards' one grabber (drop 104), the map
     sheet's -- --size-grabber, 38 x 4 -- and the dock's top padding is what holds it:
     8 above, the 4 of the grabber, 8 below. The target around it is 44px tall and
     reaches up past the dock's edge rather than down into its button. */
  --size-grabber: 38px;
  --size-grabber-thick: 4px;
  --space-dock-grabber: 8px;
  --space-dock-top: 20px;
  --size-dock-handle: 120px;
  /* Drop 18, Mobile edges: every bottom-pinned control clears the home indicator
     by the same rule -- 46px on a phone that has one, 16px on a phone that does
     not. Named once because three controls obey it: the Support bar, the filter
     sheet's footer and (when it is built) the map meeting sheet. */
  --space-safe-bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  /* The cookie bar, drop 101: 16px and the card gutter, which is 16px on a phone. */
  --space-consent: var(--gap-block) var(--space-gutter);
  /* Bar surface (drop 101): a fixed bottom bar pads 12px on top on a phone. The
     docked Support bar holds its handle in --space-dock-top instead. */
  --space-bar-top-mobile: 12px;
  --space-sidelink-mobile: 14px 0;
  /* Split so the rule above these links can subtract the padding: a link's ink
     starts --space-sidelink-y below its box, and a gap measured to the box is
     that much bigger than the gap anyone sees. */
  /* The tallest the resource image is drawn: a 300 x 600 Half Page ad's own
     height. 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;
  /* Drop 89: the error card's width. The drop gives 480px and lists it as its one
     literal outside the token system; this is the token. */
  --measure-errorcard: 480px;
  --space-verification-row: 14px;
  --size-cta: 54px;              /* a primary CTA, on any page (G12) */
  --size-detail-side: 320px;
  --size-popover-min: 320px;
  --size-popover-max: 420px;
  /* The Title popover is sized rather than fitted: its only child that could set a
     width is a field at width:100%, which sets none, so without this it collapses
     onto --size-popover-min and the helper takes a second line. Drop 47's own. */
  --size-popover-text: 340px;
  --space-page-end: 60px;
  /* Zero results, drop 112's literals: 34px above, 40px below, and the records 4px
     further from the sentence than the column's gap puts them. */
  --space-empty-results: 34px var(--space-gutter) 40px;
  --space-empty-records: 4px;
  --space-card-body: 26px;
  --space-card-body-end: 34px;
  /* Drops 93 and 95: a nav item is the bar's height and centres its label by flex,
     so this no longer sets a height. The 3px on top is the 3px rail beneath it:
     the two leave the item's content box, 3 to 61px, on the bar's own centre,
     where the breadcrumb's is. */
  --space-nav-link: 3px 1px 0;
  --space-tab: 12px 2px 14px;
  /* Drop 86, option 5b: the phone's tab, where the count sits under its label.
     9 + 15 (label) + 3 + 14 (count) + 11, and the 3px rail, make it 55px. The drop
     gives the value and flags it as a literal with no token; this is the token. */
  --space-tab-mobile: 9px 2px 11px;
  --space-option: 11px 14px;
  --space-control: 11px 13px;
  --gap-fact: 20px;

  /* ---- Contact us and Help. Neither screen is a list or a meeting: each is one
   * column of prose or fields with a narrow aside beside it, so the measures and
   * the aside widths are their own. */
  --measure-form: 560px;        /* a one-column form */
  --measure-prose: 620px;       /* a column read top to bottom */
  --size-aside: 300px;          /* the note column beside a form */
  --size-contents: 240px;       /* Help's table of contents */
  /* A 3px left rail in the action colour is the current item in a VERTICAL nav --
   * a different job from the 6px scope rail, and Design Standards names it as such.
   * The two must not share a token: one says "you are here", the other says Local. */
  --size-rail-nav: 3px;
  /* A scope rail standing alone in a legend has no row to stretch to, so it needs
   * a height of its own. */
  --size-legend-rail: 30px;
  /* The label column of a legend row. The drop draws 200px for marks, joining and
   * verifications and 220px for audiences; collapsed to one, because an audience
   * name is tenant data of arbitrary length and 20px does not decide whether it
   * wraps. Legend labels top-align, so a wrap is fine. */
  --size-legend-label: 200px;
  /* 30/36/40 as drawn. 4-6px off --space-detail-body (26px 36px 34px); kept apart
   * rather than collapsed because a form and a meeting page are not the same
   * object -- but they are close enough that the designer may want one value. */
  --space-page-body: 30px 36px 40px;
  --space-page-body-mobile: 20px 16px 28px;
  /* A boxed aside: the quiet-fill note and the crisis note share it. The drop
   * draws 14x16 for quiet notes, 16x17 for the desktop crisis note and 14x15 for
   * the other two crisis notes -- three paddings for one shape, collapsed to one. */
  --space-note: 14px 16px;
  /* Drop 106's --space-notice, 13px 15px: a notice panel's content inset, measured
   * to its outer edge. Named by axis because the condition notice is bordered and
   * pads 12px 14px inside its 1px line, and a two-value token cannot have a border
   * taken off it. */
  --space-notice-y: 13px;
  --space-notice-x: 15px;
  --space-legend-row: 14px;
  --space-legend-row-mobile: 12px;
  --space-contents-link: 9px 12px;
  /* Lines the blocks under the contents list up with the link labels above them,
   * which sit past their own 3px rail. */
  --space-contents-inset: 12px;
  /* Clear of the navbar, which does not stick -- this is breathing room, not an
   * offset. */
  --space-sticky: 24px;
  --space-textarea: 13px 14px;

  /* ---- Verifications. One column all the way down: nothing sits beside it, so
   * it is wider than the column Contact us and Help leave room for an aside
   * next to. */
  --measure-page: 720px;
  /* A date is eight characters and a picker glyph however wide the page is, and
   * a field stretched past its own content reads as though more were expected. */
  --size-date-field: 240px;
  /* Drops 108 and 114: the start-time column of a meeting select row (the
   * Verifications meeting picker), wide enough for "10:00 AM" so the places and
   * pills line up beside it. */
  --size-picker-time: 66px;
  --space-pathcheck: 24px 26px 28px;
  --space-pathcheck-mobile: 18px 16px 20px;
  /* A row you tap to choose one of four. A step tighter than a popover option
   * (11px 14px) is what the drop draws; kept apart because this one is a control
   * standing on the page rather than a line inside a menu. */
  --space-choice: 12px 14px;

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

/* Design Standards now names the mobile sizes as their own tokens, so the
 * breakpoint re-points the role tokens at them rather than restating values. */
@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 ad on one screen with the Support bar docked under it. The bar
       measures 89px, and 30px more over a home indicator; the rest is room. */
    --size-resource-max: min(600px, 100svh - 150px);
  }
}

/* ============================================================ base */

*, *::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;
}

/* Base resets are wrapped in :where(), which contributes zero specificity, so a
 * single-class component rule always wins. Written as `.pm button` these resets
 * scored (0,1,1) against a component's (0,1,0) and silently beat it -- which is
 * why the filter chips lost their border, the primary button lost its text colour
 * and every classed link kept the UA underline. Resets describe defaults; they
 * must never out-rank the thing being designed. */
: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; }

/* The underline reset is global -- every anchor in this design draws its own
 * emphasis. Only the COLOR is scoped to unclassed links: `.pm a` out-specifies
 * every single-class component rule, so a .pm-button anchor was being painted in
 * the action color on an action-colored fill, i.e. an invisible button. Scoping
 * the whole rule instead left classed anchors on the browser's default underline,
 * which underlined every list row, tab and nav item. */
: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;
}

/* Every interactive element, including rows, chips, pills and map markers.
 * Never outline:none without a replacement.
 *
 * Focus never changes an element's shape (drop 104): no border-radius here, so the
 * ring follows the element's own corners -- a button's 9px, a meeting card's 10px, a
 * menu row's square. */
.pm :focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
/* Links and inline text have no fill, so they carry --radius-inline at all times
 * (drop 104): invisible at rest, and it rounds their ring. Zero specificity, so any
 * control's own corners win. Rows and bar items without corners say so with
 * border-radius: 0, or their hover fill and rails would round: the nav links and
 * language trigger, the mode tabs and Help's contents do. */
: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;
}

/* No motion is load-bearing. */
@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;
  }
}

/* Data an embedded third-party widget parses out of the markup -- present for it,
   never shown to anyone. Distinct from .pm-visually-hidden, which stays available
   to a screen reader. */
.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;
}

/* ============================================================ type roles */

.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); }
/* A value's own footnote: same size as the value it follows, muted so it reads as
   an aside rather than a second fact. */
.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); }
.pm-helper     { font: var(--type-helper) var(--font-text); color: var(--color-ink-subtle); }
.pm-label      { font: var(--type-label) var(--font-text);  color: var(--color-ink-strong); }
/* 600 16px/1.3 shipped as --type-subhead in Revision 2 but had no class, because
   nothing outside .pm-address__name used it. Help's section subheads and a
   program's lead line are that size. */
.pm-subhead    { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); text-wrap: pretty; }

/* Emphasis inside a sentence is 600, never the browser's default bolder, which is
   700 -- the heading weight in this scale, dropped into the middle of a paragraph.
   The screens set every one of these to 600 explicitly, and the product had already
   fixed it per-component in four places; this is the same rule stated once. */
.pm-body b, .pm-body strong,
.pm-prose b, .pm-prose strong { font-weight: 600; }

/* A tenant's own description, printed with the formatting it was written in: the
   programs and audiences on Help. The reset above takes a paragraph's space and a
   list's numbers away, which is right for the product's own markup and wrong for
   theirs -- a numbered list without its numbers is a run of loose lines. This gives
   back those two and nothing else, at the rhythm the page's own prose keeps
   (.pm-stack--prose). A list keeps its space on both sides because it is as often
   between two runs of bare text as between two paragraphs. */
.pm-written p + p { margin-top: var(--gap-chip); }
.pm-written ol,
.pm-written ul { margin: var(--gap-chip) 0; padding-left: var(--gap-group); }
.pm-written ol { list-style: decimal; }
.pm-written ul { list-style: disc; }
.pm-written hr { border: 0; border-top: 1px solid var(--color-line-row); margin: var(--gap-inline) 0; }

.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);
}

/* Anything landing in the same position on consecutive rows. */
.pm-tabular { font-variant-numeric: tabular-nums; }

/* A glyph sits one step above the text it labels. No other sizes. */
.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); }

/* ============================================================ layout */

.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);
  /* clip, not hidden. Both trim the navbar and footer to the rounded corners, but
     `hidden` makes this a scroll container, and a scroll container is what a
     descendant's `position: sticky` sticks to -- which would leave the day headers
     pinned to a box that never scrolls, i.e. never sticking at all. `clip` does the
     same trimming without becoming one. */
  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;
}
/* The primary action and the calendar link are two different kinds of thing, so
   they sit a block apart rather than a chip apart. */
.pm-action-block .pm-row { gap: var(--gap-block); }

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

/* ============================================================ navbar */

.pm-navbar {
  grid-column: 1 / -1;
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-nav-line);
}

.pm-navbar__inner {
  /* Drop 91: at both breakpoints. The desktop bar had no height of its own and
     came out at 60px, off whatever was tallest in it. */
  min-height: var(--size-navbar);
  padding: 0 var(--space-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-group);
}

/* Org icon + org name are one link to the org's site; the site name links to the
 * meeting list. Two different treatments for one destination would imply two
 * different destinations. */
.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);
  /* A navbar token, not a page-ink one. The org name is an inactive nav item and
     takes the same ink as the links opposite it -- which is the only reason it
     stays readable when a tenant runs the bar dark. An ink grey here survived
     review for as long as it did because it is legible on white and the dark bar
     had never actually rendered. */
  color: var(--color-nav-muted);
  white-space: nowrap;
}
/* The site name is the page you are on, so it outranks the org that owns it. */
.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); }
/* The org name is the one part of the lockup that can be any length, so it is the
   one part that gives. See the 880px query below, which takes it away entirely. */
.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;
}
/* Same ink as the two names it sits between, stepped back by opacity rather than
   by a lighter colour -- the design does it this way for every chevron in the bar,
   including the language picker's, and a fixed grey here would be the one mark on
   a dark bar with no relationship to it. */
.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 {
  /* Drop 93: the bar's height, with the label centred in it by flex -- the way
     the breadcrumb opposite is centred, so the two sit level whatever face a
     tenant sets them in. Drop 91 reached the height by padding round a line
     box, which left the labels 2.5px above the org's name.

     Drop 95: the bar's height and no more. The rail ends where the hairline
     starts and never lies over it -- on a coloured bar a white rail on the bar's
     very edge touched the white page beneath and read as part of it. */
  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;
  /* Square: an item in a bar, whose rail runs straight, and a row on a phone. Its
     focus ring follows (drop 104). */
  border-radius: 0;
  /* A nav label is one line. Wrapped, "Contact us" doubles the bar's height and
     drags every label off the line the others share. */
  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; }

/* Underline rail = which view you're in. Mode tabs and this share one
 * selected-state language at two scales. */
/* No font here. It repeated .pm-nav a's own, which changes nothing on desktop and
   on the phone menu quietly won: an attribute selector outranks the bare one, so
   the current row alone stayed 15px while the drop's other rows went to 16. */
.pm-nav a[aria-current="page"] {
  color: var(--color-nav-active-ink);
  border-bottom-color: var(--color-nav-active-line);
}

/* bi-translate is the A/X localization mark and the only place it appears. Quiet
 * comes from color, not from a smaller size. Each language is written in itself. */
.pm-langpicker { position: relative; }
/* The same box a nav link has, so the text lands on the same line: the bar's
   height, the same padding, the same transparent underline ending at the
   hairline. That clears the 44px tap minimum on its own, so the min-height that
   used to is gone. */
.pm-langpicker__trigger {
  display: inline-flex;
  align-items: center;
  /* A <summary> is not a button and does not get the hand on its own, so the one
     row in the menu that opens something looked like the one row that did not. */
  cursor: pointer;
  gap: var(--gap-glyph);
  height: var(--size-navbar);
  padding: var(--space-nav-link);
  border-bottom: var(--size-active-rail) solid transparent;
  /* Square, as the nav links beside it are (drop 104). */
  border-radius: 0;
  font: var(--type-label) var(--font-text);
  color: var(--color-nav-muted);
  white-space: nowrap;
}
/* Standards: "The only glyphs that are not --color-ink-glyph are ones inside a
   control, which match their control's label ink." This is one, so it inherits
   the trigger's rather than carrying the page's glyph grey onto a brand fill. */
/* Drop 92: the icon font's inline box is taller than its own line -- 16.1px at
   15px -- which made this control 1.1px taller than the links beside it and lifted
   their rails off the hairline. A block of exactly its own size cannot. */
.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); }
/* Standards: "Open: trigger goes #1a5c8a, caret flips." The colour was here; the
   caret was not, and it is the same rotate the filter chips use.
   #1a5c8a is the navbar's selected ink on a light bar, so that is the token it
   takes -- named that way it also goes white on a dark one, where the action
   colour would be the one thing in the bar nobody could read. */
.pm-langpicker[open] .pm-langpicker__trigger { color: var(--color-nav-active-ink); }
.pm-langpicker[open] .pm-langpicker__trigger .bi-chevron-down { transform: rotate(180deg); }
/* The picker is the last thing in the bar, so its menu hangs from its right edge.
   Unanchored, the popover takes its static position -- left-aligned to a trigger
   that is already at the end of the row -- and its 320px minimum runs off the
   side of the window. */
.pm-langpicker .pm-popover {
  top: calc(100% + var(--gap-glyph));
  right: 0;
  left: auto;
}

/* The narrow end of the navbar: Help then the menu, each a full tap target, the
   pair pulled toward the edge so the glyphs sit where the gutter expects them
   rather than a tap target's worth of padding inside it. */
.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; }
/* Drop 6: "active ink on Help itself". Help is a page inside the finder now, so the
   glyph marks it the way the nav marks its own current item. */
.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;
}

/* The mark is the organisation and the site name is the page you are on; the
   org's name between them is the part the mark already says. It goes as soon as
   the bar starts running out of room, which is well above the phone breakpoint --
   the lockup and the nav are both nowrap, so what used to happen instead was the
   two overlapping in the middle of the bar.

   880px is where this tenant's bar actually runs out: measured, the lockup first
   overflows its box between 880 and 875. Set at the point it gives way rather than
   with headroom, so a name that fits keeps its place for as long as it fits.

   The threshold does move -- with the length of an organisation's name, and with
   the locale, since the Spanish and French nav labels are longer than the English.
   The org name carries text-overflow: ellipsis for that, so a longer name shortens
   on its way down to this width instead of running under the nav. */
@media (max-width: 880px) {
  .pm-breadcrumb a:first-child span,
  .pm-breadcrumb__sep { display: none; }
}

/* The drawer's header exists only when there is a drawer. Every rule that shapes it
   lives in the phone breakpoint, so above it the element had none at all and rendered
   as a bare button in the navbar. Hidden by default and shown there, rather than the
   other way round: a control with no behaviour attached should not be visible. */
.pm-nav__head { display: none; }

@media (max-width: 767px) {
  /* The card goes edge to edge on a phone. The page ground around it, its border
     and its rounded corners are how a desktop screen is set inside a page; at
     390px there is no page around it to set it in, and the gutter is width the
     rows need more. */
  /* Edge to edge, except where the device's own edge is not straight.
     viewport-fit=cover hands the page the whole screen including under the notch,
     so in landscape the left and right insets are what keep the card off it. Both
     are 0 in portrait, which is every screenshot in the drops. */
  .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);
  }
  /* Drop 18, Mobile edges: "Help and Menu are 44px hit boxes, 6px apart, and the
     Menu box ends on the gutter... No negative margins pull a control toward the
     edge." The 44px boxes now fit the bar on their own -- it is 64px -- so the
     margins that used to buy their height back, and the pull that used to buy the
     glyph's position, are both gone. The glyph lands 26px from the screen edge on
     its own: 16px gutter, then 10px of the box around a 24px glyph. */
  .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);
  }

  /* ---- the menu ----------------------------------------------------------
     Drop 27: a 300px drawer from the right over the standard scrim, full height,
     withdrawing the full-bleed panel of drops 21-26. It comes from the thumb side
     and its own ✕ sits in the same 44px box and on the same gutter as the Menu
     button beneath it, so the finger that opened it closes it without moving. */
  .pm-navscrim {
    display: none;
    position: fixed;
    inset: var(--drawer-top, 0px) 0 0 0;
    z-index: var(--layer-modal);
    background: var(--color-scrim);
  }
  /* Opened by finder.js, not by a sibling selector: the scrim precedes the drawer
     in the document, and CSS has no combinator that looks backwards. */
  .pm-navscrim[data-open="true"] { display: block; }

  .pm-nav {
    display: none;
    position: fixed;
    /* The navbar is not always at the top: a tenant announcement banner sits above
       it and pushes it down. finder.js measures where the bar actually starts and
       writes it here, so the drawer's own 64px header lands the ✕ on the Menu
       button it replaces rather than 118px above it. 0 until it does. */
    top: var(--drawer-top, 0px);
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--size-drawer);
    max-width: 100%;
    /* Over the scrim, which is itself over everything else. */
    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);
  }
  .pm-nav[data-open="true"] { display: flex; }

  /* The header is the navbar's own height, so the ✕ lands exactly where Menu was.
     Drop 91: that height is 64px above the hairline, on both -- so the hairline is
     outside the 64, where the page's border-box would have counted it in and set
     the ✕ half a pixel above the button it replaces. */
  .pm-nav__head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    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__close {
    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;
  }

  /* One row, whatever is in it -- the language picker's trigger included. Rows are
     left-aligned at the gutter; drop 26's right-aligned labels are withdrawn. */
  .pm-nav a,
  .pm-nav .pm-langpicker__trigger {
    display: flex;
    align-items: center;
    gap: var(--gap-chip);
    /* A row here is a menu row's height, not the bar's. */
    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);
    /* A single-line control label, so line-height 1 -- the Standards' allowance,
       and what the drop draws. */
    font: var(--type-subhead) var(--font-text);
    line-height: 1;
    color: var(--color-ink-strong);
    flex: 0 0 auto;
  }
  /* The colour, and only the colour. The desktop rule paints this row's bottom
     border with the active underline, which on a 1px separator reads as one row
     ruled in blue rather than as a current page. */
  .pm-nav a[aria-current="page"] {
    color: var(--color-action);
    border-bottom-color: var(--color-line-row);
  }
  /* Every row in the drawer answers the same way. The language trigger is a
     <summary> and the options are <button>s, so neither inherits the links' rule,
     and the filter sheet's unscoped `.pm-option:hover` was reaching in here and
     taking the options' tint away as well. */
  @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);
  }
  /* The check keeps the action colour it already had; the name is what changes. */
  @media (hover: hover) {
    .pm-nav .pm-option:hover .pm-option__name { color: inherit; }
  }
  .pm-nav .pm-option:active .pm-option__name { color: inherit; }
  /* The language row closes the drawer's list, so it carries no rule of its own. */
  .pm-nav .pm-langpicker:last-child .pm-langpicker__trigger { border-bottom: 0; }

  /* The picker is the desktop control -- translate glyph, the current language's
     name, a caret -- and it unfolds in place. It never says "Language". */
  .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);
    /* The bar steps its chevrons back with opacity; this one is a list row in a
       white drawer, which the phone menu draws at full strength in its own
       muted ink. Reset rather than inherited, or the bar's rule follows it in. */
    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;
  }
  /* Each language in its own name, in a row the same height as the one above it.
     The check sits in a fixed slot to the LEFT, so every name starts at the same
     x and the list reads as a column under the label that opened it. */
  .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);
  }

  /* The panel clips its corners, which also clips a focus ring drawn outside a
     row: the first row's read as an underline rather than a ring. Standards asks
     for 2px at 2px offset on every interactive element, so the offset turns
     inward here and the whole ring lands inside the row. */
  .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);
  }
}

/* ============================================================ meaning map
 *
 * One meaning, one form. If two things look alike, users read them as the same
 * kind of thing. Consult this before inventing any new element.
 */

/* Chip shape = a value you could filter on; color says which kind.
 * Only three exist: neutral audience, amber condition, action-colored applied filter. */
.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;
}

/* A condition of entry, not an audience -- you need to know before you click, so
 * it sits on the access line beside mode and language and takes their form: a
 * coloured glyph and a label, no container.
 *
 * An earlier draft of Design Standards drew this as an amber pill while every
 * screen using it drew it bare; the updated standard resolves that by dropping
 * the fill and border tokens entirely, leaving only the ink. */
.pm-condition {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  /* Drop 15, with the mode: the camera condition is regular weight too. */
  font: var(--type-meta) var(--font-text);
  color: var(--color-condition-ink);
  white-space: nowrap;
}
.pm-condition i { font-size: var(--size-glyph-sm); }

/* Always "Filter name: values" at full length, never truncated — a filter you
 * can't read is a filter you can't undo. Takes the tenant's action color so it
 * follows the theme rather than being blue.
 *
 * Drop 53 sizes it with the controls that made it: min-height rather than vertical
 * padding, because the text here wraps and a record that has taken two lines must
 * grow, not clip. */
.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);
  /* Drop 111: a record never wraps inside itself while it fits its row. It moves
     to the next line whole ("Near: Seattle, WA · within 50 mi" used to break before
     "mi"), and its text wraps only when it is wider than the row. */
  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; }
/* Drop 53's bug, found by measuring: the X had no line height of its own, so its
   line box -- a 12px glyph in the 13px/1.35 text around it -- made the record taller
   than its own text and broke the row's one height. */
.pm-chip--applied .bi-x { line-height: 1; }

/* Left rail + filled pill = scope. The rail carries scope and nothing else. */
.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); }
/* The rail is NOT greyed on a canceled row: a canceled Local meeting is still
   Local, and the row fill already carries the cancellation. */

/* Colored glyph + 600-weight label = mode. Three values, one glyph each. Hybrid is
 * its own single mark — never an in-person and an online icon side by side. */
.pm-mode {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  /* Drop 15: regular weight. --type-glyph-label is for compact controls now, and a
     600-weight mode was competing with the title beside it. */
  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); }

/* Speech glyph + plain text = the language spoken in the meeting. No container,
 * deliberately: language is a hard can-I-participate fact, not a label competing
 * for a click. bi-chat-quote-fill, never bi-translate — that one belongs to the
 * site's own language control. */
.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); }

/* Dotted underline + outlined info glyph = a defined term (a program or audience
 * name), everywhere it appears. Open: text and glyph go action-colored and the
 * glyph fills solid. */
.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); }

/* Pathcheck is always the wordmark image, never the word set in type, and never
 * inside a pill — it's a brand mark doing what a payment logo does at checkout.
 * The human route takes a person glyph in the same slot so the two read as
 * alternatives. */
.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); }
/* A brand mark keeps its proportions or it is not the mark any more. Both the
   wrapper and the image have to refuse to shrink: the image is a flex item inside
   the wrapper, and the wrapper is a flex item inside the row, so pinning only one
   of them still lets the other squeeze it at narrow widths. */
.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); }

/* Canceled: struck-through time, grey rail, red chip leading the row. Loud on
 * purpose — arriving at a locked door is the worst outcome this product can cause. */
.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; }

/* ============================================================ list */

/* Drop 15. Every meeting is a card -- white, its own border, its own corners --
 * sitting on a well. The gap between cards is the boundary between meetings, so
 * the hairline, the row tint and the sticky day band that used to mark it are all
 * gone: three answers to a question the gap already answers. Nothing inside a card
 * may look like a card.
 *
 * The desktop card is five fixed columns -- rail, time, mode, content, proof -- and
 * only content flexes. The time, the distance and the proof are what a reader
 * compares down a list, and they can only be compared if they line up. */
.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); }

/* A plain label, and it still sticks -- product decision, over drop 15, which drew
   these as labels that scroll away. Scrolling a long list, "which day am I looking
   at?" has to stay one glance away.
 *
 * It is a label rather than the tinted bar it used to be because it no longer needs
 * to out-shout anything: the fill it carries is the well's own, so a card passing
 * under it disappears instead of showing through, and the band reads as the ground
 * the cards sit on rather than as another card.
 *
 * The band is taller than its label: it runs from a lead-in above the text down
 * through the card gap below, and gives that gap back as a negative margin, so it
 * covers what scrolls under it without changing any spacing. See --space-daygroup
 * for why the two halves are equal. */
.pm-daygroup {
  position: sticky;
  top: 0;
  /* Above the cards it covers, below the filter popovers and the term card, which
     are overlays and must never be scrolled under. */
  z-index: var(--layer-sticky);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gap-glyph) var(--gap-block);
  padding: var(--space-daygroup);
  /* The full width of the list, as the Standards have a stuck bar: out through the
     well's gutters to its edges, with the gutter given back as padding so the
     label stays exactly where it was. It used to stop at the cards' edges, so the
     stuck bar's line and shadow covered the cards and not the gutters either side
     of them, and read as a strip laid over the list rather than as something the
     whole list passes under (Elowen, 2026-10-08). */
  margin: 0 calc(var(--space-gutter) * -1) calc(var(--space-daygroup-cover) * -1);
  padding-inline: calc(var(--space-gutter) + var(--space-daygroup-inset));
  /* Opaque. At rest this is a plain label on the well, which is what the same
     colour on the same colour looks like. */
  background: var(--color-surface-hover);
}
/* Drop 20, 6b. The edge and the shadow belong to the stuck bar, not to the label:
   at rest there is nothing to cast a shadow over, and one drawn anyway would make
   every group header a raised object sitting on the well.

   6c was built first and rejected on sight -- see Part 11 of the deviation
   inventory. Seeing the list slide about under a translucent bar is exactly the
   cost the Standards names for it, "text on the bar sits over moving colour".

   data-stuck comes from finder.js: CSS still cannot tell a sticky element that it
   has stuck. */
.pm-daygroup[data-stuck="true"] {
  border-bottom: 1px solid var(--color-line-card);
  box-shadow: var(--shadow-stuck);
}

/* The bottom of the list fades into the well, which also says there is more below.
   Sticky rather than fixed: it rides the bottom of the viewport while the results
   are taller than it, and leaves with the last card instead of hanging over the
   footer.

   A block child of the card, not a flex item of the results column: in there it
   took the column's gap, and cancelling both that and its own height pulled its
   resting place up onto the last card. Out here the negative margin has one job,
   which is to make it an overlay rather than 24px of new page. */
.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); }
/* Pushed to the far end: it belongs to the whole list, not to the day it sits
   beside. */
.pm-daygroup__terms {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  font: var(--type-glyph-label) var(--font-text);
  /* Standards: "a single-line control label takes line-height: 1 ... A nav link, a
     filter chip, a tab, a button: one line, vertically centred." This is a nav link.
     The 1.2 it inherits was hanging 1.3px of descender space under the words, which
     is what tipped the text low against the mark beside it. */
  line-height: 1;
  /* Out of the bar's baseline group. The day and the date share a baseline because
     they are one phrase read left to right; this is an action at the other end of
     the bar, and baseline-aligning it drags the whole link down by the difference
     between the mark's box and the 17px label's. Centred, it sits in the band. */
  align-self: center;
  color: var(--color-action);
}
.pm-daygroup__terms i { font-size: var(--size-glyph-term); }
/* "Search a location to sort by distance", on the In-person tab with nowhere
   searched. Here the wrapper is nothing and the link is the bar's own item, at its
   far end. A phone gives the wrapper a line -- see the breakpoint rule below. */
.pm-daygroup__promptline { display: contents; }

/* Drop 40's Screen - Map. The results placed rather than listed: the same set, the
 * same filters, the same tab -- only the drawing differs.
 *
 * Full-bleed in the card at both breakpoints, and square: the card's own
 * overflow: clip trims the bottom corners, so a radius here would round the map
 * inside an already-rounded box and show the well through the gap. */
.pm-mapview {
  height: var(--size-mapview);
  background: var(--color-surface-hover);
  /* The ground the beyond-frame notice floats over. The notice is drawn here rather
     than inside the map because its words are ours -- scope pills carry the tenant's
     colours and the strings are translated -- but it belongs ON the map, so it
     overlays the iframe. */
  position: relative;
}
.pm-mapview__canvas {
  /* display: block and border: 0, the same two an <iframe> always needs. Without the
     border reset the browser's default `2px inset` draws -- and an inset border is
     dark on the top and left and light on the bottom and right, which reads as the
     map's frame being heavier on two sides. The detail page's map embed sets both
     for the same reason. */
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- the card ---------------------------------------------------------- */

.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);
  /* The rail runs to the card's edge, so the corners have to clip it. */
  overflow: hidden;
  color: inherit;
}
/* Hover darkens the edge. The fill stays white: a tinted card on a tinted well
   would read as selected rather than pointed at. */
@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); }

/* The rail is a real grid column on the card. It was absolutely positioned when the
   row had padding for it to sit inside; a stretched column runs the full height
   without any. */
.pm-listrow .pm-rail {
  position: static;
  width: auto;
  /* Placed, not auto-placed: the card has two rows so the cancellation chip can sit
     above the title, and an auto-placed rail lands in row 1 alone -- the empty one
     on every card that is not canceled. "span 2" and not "1 / -1", because -1 is
     the last line of the EXPLICIT grid and both of these rows are implicit, so
     1 / -1 collapses to row 1 and the rail renders 6px wide and 0 tall. */
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
}

/* Four wrappers exist for the phone and dissolve here, putting their children back
   in the card's own grid: the time takes a column, the cancellation goes above the
   title, and the program and the place separate onto two lines. */
.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); }
/* Row 1 of the content column belongs to the cancellation chip. Without one the
   track collapses to nothing and the content's own padding closes the gap, so an
   ordinary card never pays for an empty row. */
.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); }
/* The page grey, so a canceled card reads as punched back to the well behind it. */
.pm-listrow--canceled { background: var(--color-canceled-row); }

/* ---- time: always leftmost, and the strongest thing in the card -------- */

.pm-listrow__time { display: flex; flex-direction: column; gap: var(--gap-hairline); }
/* Drop 12: a distance-banded card has no day bar above it, so it carries its own
   day. This is the one narrow slot the Standards lets use the short form. */
.pm-listrow__day { font: var(--type-day-slot) var(--font-text); color: var(--color-ink-body); }
/* Stacked here, one baseline-aligned line on a phone. */
.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); }

/* ---- mode block: the glyph, the mode, the distance --------------------- */

/* Drop 15 pulls the mode off the access line and gives it a column, because mode
   and distance are the two things a reader compares across cards -- and a value
   that does not line up cannot be compared. */
.pm-modeblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* The gap BETWEEN the stacked facts -- mode, camera condition, distance -- where
     the rule below is the gap WITHIN the mode. Both were --gap-hairline, and the
     result was that "Online" sat closer to the camera glyph under it than to the
     video glyph it names, so it read as belonging to the condition (Elowen,
     2026-10-02).

     Measured as INK, by scanning the painted pixels at 4x, because the rules say
     nothing about where a glyph actually lands. A bi-camera-video at font-size 20
     paints only 12.5px of ink inside a 24px line box, so the 3px rule above it was
     reading as 14.75px of air while the 3px below "Online" read as 12. The two
     changes here cost nothing in height -- 3px comes off the mode, 3px goes between
     the groups -- and give 11.75px within the mode against 15px between it and
     what follows. In-person's pin fills its box, so its label sits 8.75px away;
     every glyph's own gap stays under the one between the groups, which is what
     makes a group read as a group. */
  gap: var(--gap-glyph);
  text-align: center;
}
/* The mark keeps its hue and its glyph and only changes direction.

   No gap: see above. The 24px box this glyph sits in is already 5.75px taller than
   its ink on each side, which is the only separation the label needs. On a phone
   the mark is a row again and a later rule gives it back its horizontal gap. */
.pm-modeblock .pm-mode { flex-direction: column; gap: 0; }
/* Drop 48: the camera condition lives here now, under the mode it qualifies and
   before the distance. Stacked the way the mode is stacked -- glyph over label,
   centred -- because it is read as part of the same answer: this is the mode, and
   this is what joining it asks of you. */
.pm-modeblock .pm-condition {
  flex-direction: column;
  /* No gap, and a step down in size.
   *
   * DEVIATION from drop 48, Elowen 2026-09-30: "I don't like how it feels equal to
   * the Online glyph/text, and how everything seems equally vertically spaced apart.
   * Online should be the primary thing, with Camera on a modifier."
   *
   * The drop gives this 400 14px/1.5 with a 3px gap and 3px padding -- the same size
   * as the mode label above it, inside a block whose own gap is also 3px, and 3px of
   * padding under that. Equal size at even spacing reads as a second fact of equal
   * standing rather than a condition on the first. 13px is the Standards' floor for a
   * label; closing the gap binds the glyph to its word so the pair reads as one mark
   * under the mode, and the drop's padding goes with it. */
  gap: 0;
  font: var(--type-caption) var(--font-text);
  text-align: center;
}
/* 16px here, where the access line's glyphs are 15px: the Standards size this one
   with the mode block it has joined, not with the line it left.
 *
 * line-height: 1 is what makes gap: 0 above actually zero. --type-meta's 1.5 is
 * UNITLESS, so it inherits as a ratio rather than a length: a 14px label resolves it
 * to 21px, but this 16px glyph resolves the same 1.5 to 24px -- four pixels of
 * half-leading under the ink, which no gap can take back. The label read seven
 * pixels from its glyph while the rule said three. */
.pm-modeblock .pm-condition i {
  font-size: var(--size-glyph);
  line-height: 1;
}

.pm-modeblock .pm-mode i {
  font-size: var(--size-glyph-mode);
  /* The box, not the glyph. Drop 42 shrank the ink and held the box at 24px so the
     label, the distance and the row's own height all stay where they were. */
  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); }

/* ---- content ------------------------------------------------------------ */

/* Two columns so the phone can put the scope pill beside the title and the place
   beside the program, without either being written a second time. */
.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);
  /* Two lines at most, drop 45, at both breakpoints. fitFacilitators() names as
     many people as this budget holds; the clamp is the backstop for the case
     choosing cannot fix, which is one name too long for the line by itself. */
  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);
  /* Drop 45: the pill never shrinks and the place gives way, because the two are
     one fact -- how far a meeting reaches, and from where -- and a wrapped place
     would break the pair onto two lines. The full text is in the title tooltip.
     __line is display:contents, so this is a grid item without being a direct
     child, and nothing else has given it a floor to shrink from. */
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* The middot belongs to the place, because the place is what moves: it needs the
   separator on the phone's program line and not beside the scope pill here. */
.pm-listrow__location .pm-middot { display: none; }
/* The access line: language, audience and any condition of entry, one shape each.
   Every glyph is topped out on the FIRST line of its own text however far that text
   wraps, which is all --size-line-meta is -- --type-meta's line box, handed to a
   15px glyph so the two share a top edge instead of a centre. */
.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);
}
/* The two marks are named, not matched with "> *". Each has a rule of its own with
   one class in it, and the audience's is further down this file -- so at equal
   weight it won, and on a row the audience kept its own centred glyph, its own
   smaller type and its own wrapping while the language beside it took this rule.
   Two classes outrank either wherever they are declared.

   nowrap, because the audience mark wraps its ITEMS -- right on the meeting page,
   where each name is an item -- and on a row the names are one run of text. A run
   too long for the glyph's line was moved beneath it whole, leaving the glyph alone
   on a line of its own. Here the run stays beside the glyph and wraps inside
   itself. Elowen, 2026-10-09. */
.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;
}
/* Muted, not subtle: the subtle grey was chosen against white and falls to 4.3:1 on
   the canceled fill. The facilitators are named on their own because they set their
   own colour inside the program line, so muting the line alone left them subtle. */
.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); }

/* ---- verification: fenced off and turned down, never hidden ------------ */

.pm-listrow__verifications {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap-glyph);
}
/* A slot of its own height, so the Pathcheck wordmark and the facilitator line
   share a baseline from card to card. */
.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); }
  /* One route to Help per screen: this is the desktop one. On a phone the navbar
     carries Help permanently, so repeating it here would be the same destination
     twice on one screen. */
  .pm-daygroup__terms { display: none; }
  /* The prompt to search a place is not a route to Help, and nothing in the navbar
     says it, so it stays. On a line of its own under the day and its date, starting
     at the bar's left edge -- under Today, Tomorrow or the weekday, whichever leads
     the line above. The wrapper takes the whole line so the link breaks onto it,
     and the link is only as wide as its words, so that is all that can be pressed.
     44px to press, pulled back by its margin so the bar grows by the line alone. */
  .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);
  }

  /* The card keeps its rail and takes a second grid: content on the left, the mode
     block at the right, and the proof across the foot under a hairline. */
  .pm-listrow {
    grid-template-columns: var(--size-rail-mobile) minmax(0, 1fr);
    gap: 0;
  }
  /* One row here, so the desktop's span would open an empty second one. */
  .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);
  }
  /* The phone's left-hand column, and the one place the 6px rhythm lives. */
  .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; }

  /* The duration moves beside the time: a phone card is short of height and long
     of width, which is the opposite of the desktop column. */
  .pm-listrow__clock {
    display: flex;
    align-items: baseline;
    gap: var(--gap-chip);
  }
  /* The mode block sits at the right with a gutter the left column never crosses.
     2px of it is optical: the glyph's box is taller than the text beside it.

     Drop 40 turns it on its side: a 16px glyph beside its label rather than a 24px
     one above it. Two reasons, both about the glyph being loud and badly aligned --
     the camera's ink is short and centred in its box, so "Online" floated below it
     where "In-person" sat close under the pin; and at 24px saturated the glyphs were
     the loudest thing on the card, pulling the eye to the right column instead of
     the times. Beside its label it is the same pairing language and audience use. */
  .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);
    /* A single line beside a glyph, which is the Standards' own allowance for it. */
    line-height: 1;
  }
  .pm-modeblock .pm-mode i { font-size: var(--size-glyph); line-height: 1; }
  /* The same turn the mode takes at this width: glyph beside its label on one line,
     right-aligned. The 6px below the mode line is the mode block's own gap, not a
     margin here. */
  .pm-modeblock .pm-condition {
    flex-direction: row;
    gap: var(--gap-glyph);
    line-height: 1;
  }

  /* No restack. Drop 45 puts the phone on the same stack as desktop -- title
     alone, the program line with its facilitators, the scope pill beside the
     place, then the access line -- so everything the content column used to
     rearrange here now comes from the one set of rules above.

     It reverses drop 15, which had taken the facilitators off the phone card and
     put the scope pill up on the title line. The pill leaving the title line is
     also what fixes the old bug where a title that wrapped stranded the pill on a
     line of its own. The pill keeps --space-pill at both breakpoints now, so
     there is one pill size rather than three. */

  /* The fence: a hairline across the whole card, then the proof right-aligned
     under it. A card with no verification shows no fence at all. */
  .pm-listrow__verifications {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: var(--gap-inline);
    border-top: 1px solid var(--color-line-row);
  }
  /* The row line is one step off the canceled fill -- #eceeef on #edeeef -- so on a
     canceled card the fence was there and could not be seen. It takes the card-edge
     line instead: the next one darker, as the ink on this fill is. */
  .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); }
}


/* ---- meetings beyond the frame (M6) ------------------------------------
 *
 * The map opens on what was searched and what is within the radius, which is a
 * DISTANCE rule. A meeting included by its SCOPE instead can be hosted anywhere, and
 * is then drawn, counted and entirely off-screen. This is the one thing that says so.
 *
 * It names the scopes rather than only a number, because "9 more" answers nothing:
 * the pills are the vocabulary the rows already use, and this is the one moment where
 * what they mean is the question the visitor is actually asking.
 *
 * A card floating on the map, not a bar above it. Top LEFT rather than the drop's top
 * right -- see --size-beyond for why that corner is taken here and is not in the mock.
 */
.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; }
/* The count rides INSIDE the pill, not beside it: the pill says which kind and the
   number says how many, and splitting them would read as two separate marks. Baseline
   alignment because the two weights differ -- centring them would sit the lighter
   number low against the label. */
.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;
}
/* The count the sentence is about. Bold and strong ink because it is the number the
   visitor came to the notice for -- the rest of the sentence explains it. */
.pm-beyond__strong {
  font-weight: 700;
  color: var(--color-ink-strong);
  font-variant-numeric: tabular-nums;
}
/* The phone's fixed phrase. The card states the whole count in a sentence; the bar
   has room for a pill and a few words, so the drop gives it different copy rather
   than a squeezed version of the same. */
.pm-beyond__phrase { display: none; }

.pm-beyond__action {
  align-self: flex-start;
  font: var(--type-glyph-label) var(--font-text);
  /* A single-line control label takes line-height 1, per the Standards. */
  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); }
/* Closes the notice for this page view. The tour card's close, in the corner. */
.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); }

/* The phone draws it as a bar along the bottom instead of a card in a corner: there
   is no spare corner at 390px, and the drop puts it at the same inset the results
   sheet uses, so the two occupy one slot rather than stacking. Drop 43: while a sheet
   is open the notice steps aside -- that is the sheet's job to do when it is built.

   A row, not a column: the text flexes and the action keeps its 44px target, which is
   what makes the whole thing one line instead of three. */
@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);
    /* Shadow alone here, as the drop draws it: a border would double the edge a
       heavier shadow is already giving it against the map. */
    border: 0;
    box-shadow: var(--shadow-beyond-mobile);
    /* The drop sets 13px/1.35. --type-helper is the 13px this system has, at 1.45;
       taking it rather than minting a second 13px is what the Standards' own note
       about line-height jitter inside one size asks for. */
    font: var(--type-helper) var(--font-text);
  }
  /* The sentence gives way to the phrase: one row, and the pill already carries the
     number the sentence would have spelled out. */
  .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;
  }
  /* The close keeps the corner here too, and the row stops short of it. */
  .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; }
}

/* ---- a filter answered by typing (drop 47) ------------------------------
 *
 * One 52px field inside the group's popover, with the location field's own clear
 * sitting over it. Relative, because that clear positions itself against its field
 * and has no other anchor here. */
/* An options popover is full-bleed -- its rows carry their own inset and take the
   hover fill edge to edge -- and a field is not a row: it needs the box to hold it
   in. So the drop draws this one as its own box, 9px above the helper and 16px
   around the field, and the helper gives up the 14px that aligned it with option
   labels. There are none here; it aligns with the field. */
.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 location field's box, because it is the location field's clear: 52px tall,
   16px in from the left, 16px type. The base .pm-input is 15px and the drop draws
   this one at 16, the same as the field it borrows from.
 *
 * The right pad is the clear's own geometry rather than a number: 4px of offset,
 * 44px of target, and 12px before the text may begin. The drop's 60px, built from
 * the three tokens that produce it, so moving the clear moves the text with it.
 * Reaching only to the target's edge is not enough -- 44px alone leaves the last
 * glyphs of a long title sitting under the button. */
.pm-filtertext .pm-input {
  font: var(--type-body) var(--font-text);
  padding-right: calc(
    var(--space-search-clear) + var(--size-tap-min) + var(--gap-inline));
}

@media (max-width: 767px) {
  /* The step down the search line takes at this width, for the same reason: 50px is
     what stops iOS zooming the page when the field takes focus. The clear moves to
     3px here -- .pm-search__clear's own mobile rule, which this field inherits by
     using that button -- so the right pad follows it. */
  .pm-filtertext .pm-input {
    height: var(--size-input-m);
    padding-left: var(--gap-inline);
    padding-right: calc(
      var(--space-search-clear-m) + var(--size-tap-min) + var(--gap-chip));
  }
}

/* The map could not move a popup clear of this notice -- too narrow a canvas, or a
   popup as tall as the map -- so the notice gives way for as long as the popup is
   open. It is an offer to widen the search, and it keeps. */
.pm-beyond--behind { display: none; }

/* The map is showing its two-finger hint. Its scrim is in the embed's document and
   cannot reach this notice, which sits over the frame in ours, so the embed says
   when the hint is up (pm:map:gesture) and the notice takes the same scrim.
   Without it the one bright thing on a dimmed map reads as the thing that still
   answers the finger. Timing is MapLibre's own (maplibre-gl.css): in at once, out
   after a second over a second -- the two dims have to move together. The scrim
   ignores the pointer, so a tap still reaches "View them too". */
.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;
}

/* ============================================================ category head
 *
 * Drop 57. A category page is the meeting list with one dimension already answered,
 * so this is the only part of it that is new -- the eyebrow naming the dimension,
 * the category's own name, how many meetings are in it, and the definition where
 * the dimension has one.
 *
 * Every value here is the Standards': the title is --type-page-title, the sentences
 * are prose, and the eyebrow is the eyebrow. Nothing in this block is a size of its
 * own. */
.pm-categoryhead {
  display: flex;
  flex-direction: column;
  gap: var(--gap-chip);
  padding: var(--space-categoryhead);
}
.pm-categoryhead__eyebrow { display: flex; align-items: center; gap: var(--gap-glyph); }
.pm-categoryhead__sep { color: var(--color-ink-separator); }
/* The measure the Standards give prose, so a definition reads as one column rather
   than running the full width of a 1000px card. */
.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);
}
/* The drop sets these two at 14px/1. --type-field-label is that 14px; the 1 is the
   Standards' own allowance for a single-line label, and without it the pair sits
   lower than the 9px gap above them says. */
.pm-categoryhead__links .pm-action-link { line-height: 1; }

/* ============================================================ controls */

.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); }
/* Never color alone, and the message says what to do rather than what went wrong. */
.pm-error { font: var(--type-helper) var(--font-text); color: var(--color-canceled); }

.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);
  /* Drop 7: a button's label is one vertically centred line, which the Standards
     let any token set at line-height 1 -- the same token, not a new one. */
  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);
}
/* A page's own primary action -- Send message, Continue to Pathcheck. G12 makes it
 * the same object as the detail page's CTA rather than a step under it: one primary
 * CTA in the product, --size-cta tall, wearing --type-cta. The padding comes from
 * .pm-button, because G12 gives every button 0 20px at both breakpoints and retires
 * the per-control padding tokens. */
.pm-button--submit {
  height: var(--size-cta);
  /* --type-cta, not the row title it used to borrow: drop 10 makes this the only
     button type token, and the borrowed one steps down to 16px on a phone. */
  font: var(--type-cta) var(--font-text);
}
/* Prefer removing an action over disabling it — a canceled meeting loses its Join
 * button entirely rather than showing a dead one. This exists for the few controls
 * that genuinely must stay in place. */
/* Losing the fill is the point: disabled ink on the action colour is under 3:1,
   which is legal only because an inactive control is exempt from contrast -- and
   "legal" is not the same as readable. This reads as a control that is waiting
   for something rather than one that is broken. */
.pm-button[disabled] {
  background: var(--color-surface-hover);
  border-color: var(--color-line-control);
  color: var(--color-ink-disabled);
  cursor: not-allowed;
}
/* An inline action link is the facts-label size in the action color. Size and
 * color are separate decisions. */
.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;
}
/* The back link is the page's smallest inline action, per the design's 13px. */
.pm-action-link--back { font: var(--type-glyph-label) var(--font-text); }

/* Clearing the applied filters, at the end of the row that lists them. The drop
   draws it a size down from an action link and padded, not as a bare word a row
   gap away from a chip it does not belong to -- which is what it was, and it read
   as crowded at both widths. Drops 35, 38 and 40 all agree on the same padding. */
.pm-clearall {
  /* inline-flex so min-height can centre it: an inline link's height is its line
     box, which no amount of padding brings to the row's. */
  display: inline-flex;
  align-items: center;
  min-height: var(--size-filterrow);
  font: var(--type-glyph-label) var(--font-text);
  /* Standards: "a single-line control label takes line-height: 1". The drop says
     13px/1 here; --type-glyph-label's 1.2 would hang leading under a one-line word. */
  line-height: 1;
  padding: var(--space-clearall);
  white-space: nowrap;
}

/* Support is the one other red in the product, and it is not an alarm. It is a
   filled button because it is the sidebar's own call to action. */
/* The reason to give. One sentence, one treatment, two placements: beside the
   button in the docked bar and under it in the sidebar. Drop 18 assigns this
   string --type-meta on the bar, so that is what it is here as well. */
.pm-supporttext {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}

/* The button and its reason are one object, so they sit closer to each other
   than to what follows. The hairline under them is not theirs: drop 25 draws each
   rule as a border-top on the block it introduces, so the block that owns a rule
   owns the space under it too. */
.pm-supportblock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-chip);
}

/* Drop 21 moves this to G12 with every other primary: --size-button, --type-cta
   and 0 20px. It was 46px at 700 15px with 22px of padding -- the last button in
   the product still wearing a size of its own. */
.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; }

/* The sidebar's other actions are full-width rows, roomier than an inline link. */
.pm-sidelink {
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-sidelink);
  font: var(--type-label) var(--font-text);
  /* Standards: "a single-line control label takes line-height: 1 ... A nav link, a
     filter chip, a tab, a button: one line, vertically centred." This is one of
     those, and --type-label's 1.3 was adding 2.3px of half-leading above and below
     every link -- 4.6px of air between two of them that nobody asked for. */
  line-height: 1;
  color: var(--color-action);
}
.pm-sidelink i { font-size: var(--size-glyph-sm); }

/* Mode tabs left, List/Map right, directly above what they control. Same structure
 * at both breakpoints — two scales of one selected-state language, never two
 * vocabularies. */
.pm-viewrail {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-band);
  padding: 0 var(--space-gutter);
  /* The card's edge colour, not a row divider's. Drops 35, 38 and 40 all draw this
     line as #e2e4e6 in both Screen - Meeting List and Screen - Map: the rail closes
     the controls and opens the results, so it is an edge between two parts of the
     card rather than a rule between two rows of one thing. Was --color-line-row. */
  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);
  /* Drop 95: like the navbar's, this rail ends where the view rail's line starts
     and does not lie over it. One rule for every rail in the product. */
  border-bottom: var(--size-active-rail) solid transparent;
  /* Square, so the rail under the current tab runs straight (drop 104). */
  border-radius: 0;
  min-height: var(--size-tap-min);
  /* A tab is a label, not a paragraph. Without this the phone broke them mid-word
     -- "All / meetings" next to "In- / person" -- which doubled the rail's height
     and is not a shape the drop draws at any width. */
  white-space: nowrap;
}
/* Only the first tab has two forms; see getModeTabs. */
.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--label: a meeting type page's one tab (drop 111). The page answers the
   question the tabs ask, so its own tab stays as a label: the selected tab's look,
   and no hover, because it is not a control. Two classes, so it outranks the hover
   rule above. */
.pm-tab[aria-current="true"],
.pm-tab.pm-tab--label {
  color: var(--color-action);
  border-bottom-color: var(--color-action);
}
/* Weight and size already separate the count from its label; color didn't need to
 * do it as well, and the lighter blue it used failed AA at this size. */
.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); }

/* Drop 40's Screen - Map draws List/Map as a segmented control, not as a second
 * set of underline tabs. The tabs to the left choose WHICH meetings; these choose
 * how they are drawn. One underline rail carrying both would say those are the
 * same kind of choice, and the rail's selected-state language belongs to the tabs.
 *
 * The underline treatment that used to be here was written before the Map screen
 * existed and never had a drawing to answer to. Elowen, 2026-09-25: "We are doing
 * the List and Map selectors as the buttons shown in the design." */
.pm-viewtoggle {
  display: flex;
  gap: var(--gap-hairline);
  /* The rail is flex-end so the tabs' underline lands ON its line. These do not
     hang from the line, so they take the centring the drop gives them -- done
     here rather than on the rail, which would lift the tabs off it too. */
  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);
  /* Standards: a single-line control label takes line-height: 1. */
  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; }
/* The view you are in is filled, the one you can go to is not. */
.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) {
  /* Same selected-state language at a smaller scale -- never a second vocabulary.
     The count stays one step under its label, as it is on desktop.

     Drop 86, option 5b: and on a phone it sits UNDER the label, not beside it, so a
     tab is as wide as its longer line -- which is nearly always the word. Beside
     it, Spanish and French ran List/Map past the gutter, and three-digit counts
     did the same to English. A phone restack, like the mode block's. */
  .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);
    /* Drop 88, option 6b. Stacked, the English "All" was as wide as its word: about
       21px, too narrow to tap. The floor is the tap minimum; the label and count
       stay at the left and the room goes to their right, so the underline of the
       current tab runs the whole 44px and marks what can be pressed. A tab already
       that wide -- Online, In-person, Toutes -- does not change. */
    min-width: var(--size-tap-min);
  }
  /* Drop 40's phone rail: "All 11", not "All meetings 11". */
  .pm-tab__long  { display: none; }
  .pm-tab__short { display: inline; }
  /* The font shorthand resets font-variant-numeric, so it is said again: the count
     is tabular at both breakpoints, and until drop 86 the phone's was not. */
  .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);
    /* The drop's safety net, which today's three languages never use: tabs that
       still do not fit scroll, rather than pushing List/Map off the screen. No
       scrollbar is drawn and nothing fades -- the Standards allow no fade over a
       control at rest.

       A box that scrolls one way clips the other, so the one thing a tab reaches
       outside it for has to be inside it: the focus ring. The box is padded by
       the ring's outer edge and pulled back by the same, so the tabs sit exactly
       where they did. (Until drop 95 it was pulled a pixel further at the bottom,
       to lay the underline over the rail's line. No rail does that now.) */
    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; }
  /* Icon only -- the button becomes a square target and the aria-label on the
     link is what names it, since the visible label is gone. */
  .pm-viewtoggle a { padding: var(--space-viewtoggle-mobile); }
  /* Drawn as flex: 0 0 auto in drop 86: when the row is short of room it is the
     tabs that give way, by scrolling, and never these. */
  .pm-viewtoggle { flex: none; }
  .pm-viewtoggle a span { display: none; }
  .pm-viewrail { gap: var(--gap-block); }
}

/* Square = many, round = one. The shape tells you the rule before you try it. */
.pm-option {
  display: flex;
  align-items: flex-start;
  /* The language options are <button>s and every other option is a <label>, so
     without this the three languages are the only rows in the product reading
     down a centre line -- a button centres its own text. */
  text-align: left;
  gap: var(--gap-chip);
  padding: var(--space-option);
  border: 1px solid transparent;
  /* An option row never carries corners of its own (drop 105): its hover fill runs
     square, edge to edge, and so does its focus ring. Said outright, because the
     language options are <button>s and would otherwise take the links' 7px. */
  border-radius: 0;
  cursor: pointer;
}
@media (hover: hover) {
  .pm-option:hover { background: var(--color-surface-hover); }
}
.pm-option:active { background: var(--color-surface-hover); }
/* Exactly one selected-state language product-wide. */
/* Drop 35: "a selected control doesn't change when pressed". The pressed fill is
   .pm-option:active at (0,2,0), which outranks this rule's (0,1,0) whatever the
   source order, so the selected state has to say so at matching weight. */
.pm-option--selected:active { background: var(--color-surface-selected); }
.pm-option--selected {
  background: var(--color-surface-selected);
  border-color: var(--color-action);
}
/* An option with no matches is dimmed and disabled rather than removed, so nobody
 * wonders whether the category exists at all. */
.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); }
/* Drop 40 weights a chosen option's name -- 400 15/1.45 becomes 600 15/1.3. The fill
   and the tick already say it is chosen; the weight is what makes a scanned list of
   five read as "these two" rather than "all five, two of them shaded". */
.pm-option--selected .pm-option__name { font: var(--type-label) var(--font-text); }
.pm-option--empty .pm-option__name { color: var(--color-ink-disabled); }
/* An option named by a mark instead of by a word: Pathcheck, in the Verifications
   group (drop 97). The slot is one line of the name it stands in for -- the
   zero-width space is what gives it that line, at whichever size the name is set --
   and the mark is centred on it, so its lettering sits level with the names of the
   options under it. It is taller than the line, and its margins take that back, so
   the row is no taller for it. */
.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);
}
/* Program and Audience options carry their short description as a muted second line. */
/* Caption, not meta: drop 40 draws an option's description at 13/1.35 against the
   14/1.5 the row's other second lines take. It sits under a 15px name inside a
   popover, not beside a list row. */
.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; }
/* The count sits on the name's baseline. The row aligns its items to the top, which
   put a 13px/1 count at the top of a 15px/1.45 name's line box -- about 4px high.
   Baseline, not centre: it holds at both breakpoints, for the bolder selected name,
   and on a row whose name has a description under it, where centring would drop
   the number to the middle of two lines. The radio is not in the baseline group,
   so it stays where it was. */
.pm-option__text,
.pm-option__count { align-self: baseline; }
/* Dimmed with the rest of its row, including the number -- a count left at full
   strength on a disabled row reads as the one live thing in it. */
.pm-option--empty .pm-option__desc,
.pm-option--empty .pm-option__count { color: var(--color-ink-disabled); }

/* The same option row, standing on a page instead of sitting inside a popover: it
 * draws its own edge, and the whole box is the target. Used where the choice is
 * part of a form rather than a menu you opened -- four parts of a day, where a
 * select would hide three of them behind a click. The selected state is the
 * product's only one, unchanged. */
.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);
}
/* A bordered control brightens its edge on hover rather than filling, which is
   what the radius picker on the search rail already does. */
@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); }

/* What the option covers, against what it is called: "5:00 – 6:59 PM" beside
 * "Evening". Quieter than the name until the row is chosen, when it steps up to
 * the body ink -- the range is what confirms you picked the right one. */
.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); }

/* The chosen-language tick in the nav menu, which stands in the row rather than in
   a control. Scoped to its own slot: written as `.pm-option .bi-check-lg` it also
   caught the tick INSIDE a tick box, painting it the action colour on the action
   fill -- a checked filter read as a plain purple square. */
.pm-option__check .bi-check-lg { color: var(--color-action); font-size: var(--size-glyph-sm); }
/* The option's control is the product's own box or dot (see "the tick box and the
   radio"), so the input underneath is only the behaviour. It used to be a native
   20px input tinted with accent-color, which draws the browser's shape at the
   browser's radius -- the handoff draws the same 20px square at radius 7 here, on
   the meeting change form and on the switch-back survey, and this is that one. */
.pm-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Support is quiet inline and loud on scroll. This bar exists only on a phone, and
 * only once the action block has left the screen -- so it never shares a screen
 * with the primary action, and never permanently occupies space while someone is
 * still deciding whether to attend. */
.pm-dockbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--layer-dock);
  align-items: center;
  /* Drop 18: "Supporting text sits left in --type-meta, the action sits right, and
     there is a 16px gap between them." */
  gap: var(--gap-block);
  padding: var(--space-dock);
  /* Room for the handle above the text and the button. */
  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;
}
/* The handle: pull it down, or press it, and the bar goes away for this page. The
   bar used to leave by itself when the reader scrolled back up; on a phone whose
   browser raises and lowers its own toolbar as the page moves, that made the bar
   jump about, so it stays until it is put away. Elowen, 2026-10-09.

   The 44px target is the Standards' one invisible extension -- a box around a
   small control. It ends where the dock's padding ends, so it never covers the
   button beneath, and takes its height from above the dock instead.

   touch-action: none is what lets it be pulled: without it the browser takes a
   downward drag for itself and scrolls the page. */
.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; }
/* The map sheet's grabber, in the card line like it (drop 104): one meaning, one
   treatment. The button's Dismiss label is the way out for keyboards and screen
   readers. */
.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); }
/* The dock only says where the sentence goes; what it looks like is .pm-supporttext,
   which the sidebar wears too. */
.pm-dockbar__text { flex: 1 1 auto; }
.pm-dockbar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  /* The action is at the right of the bar whether or not there is text beside it.
     SiteSettings.meeting_support_text is optional, and a tenant that has not set
     one left the button as the bar's only child -- which put the one thing on that
     bar at the left, where nothing else in the design sits. The text's flex: 1
     pushes it right when there IS text; this does it when there is not. */
  margin-left: auto;
  gap: var(--gap-chip);
  /* Drop 18 redraws this to G12, like every other primary: --size-button, the CTA
     type and 0 20px. It was 44px at 700 15px with 18px of padding -- the last
     button still wearing its own size. */
  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); }

/* A popover or sheet floats above the page, so it gets the shadow a card never has. */
.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);
}

/* ============================================================ facts table */

.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) {
  /* Labels stack, so a 64-character audience name gets the full width. */
  .pm-fact { grid-template-columns: 1fr; gap: var(--gap-glyph); }
  /* Muted, not subtle: drop 6 closes the eyebrow ruling at every tracking, so an
     uppercase label is a label whatever size it is set at. */
  .pm-fact__label {
    font: var(--type-eyebrow) var(--font-text);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--color-ink-muted);
  }
}

/* ============================================================ detail page */

/* One block answers "when is it, and how do I get in". Someone who reached this
 * page already decided to come, so the next occurrence and the way in are one
 * object rather than two -- so it is a single tinted card, not a run of loose
 * rows. No gradient header: scope lives in the pill and the rail. */
.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);
}
/* The primary action is the biggest control on the page, because the page exists
   to get someone through it. The block sets the BOX -- height, padding, gap --
   and never the type: drop 8 names setting font here as how Get directions ended
   up wearing the primary's 17px. A secondary beside a primary takes its height
   and keeps its own words. */
.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);
}

/* After the base rules, not before: equal specificity, so source order decides. */
@media (max-width: 767px) {
  /* Drop 8: on a phone the actions stack and each runs the full width, so the
     primary is the width of the column rather than the width of its words. The
     CTA also steps back to --size-button there -- 54px is a desktop height. */
  /* 16px all round, as the phone frame draws it. The build had kept the desktop's
     20px 22px, which left everything in the block 12px narrower than drawn. */
  .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%;
  }
  /* Centred under the stack, and given a 44px target without 44px of height -- the
     negative margins hand that back to the gaps either side, keeping just enough
     above for the block that separates the two on a wide screen. */
  .pm-action-block .pm-atc { align-self: center; }
  .pm-action-block .pm-atc__trigger {
    justify-content: center;
    min-height: var(--size-tap-min);
    margin: var(--space-atc-mobile);
  }
}

/* The condition notice (drop 106): joining this meeting has a condition, said
   directly above Join with a way out. Only Camera on today. The crisis line's
   shape, tinted and bordered in the camera's amber, so it is the one warm thing on
   the block's cool blue. The panel is not interactive -- no hover, no focus; the
   link inside is an ordinary link. Same values at both breakpoints. */
.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);
  /* The heading's line box (15px at 1.3), so the glyph sits on its first line. */
  line-height: 19.5px;
  color: var(--color-condition-ink);
}
/* Two lines: the heading, then one run of text -- the sentence and the way out as
   its second sentence (drop 115), which wraps with it and is never a line of its
   own. The link is inline, so its focus ring already hugs the words. */
.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;
}

.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; }
/* Glyph + plain names, middots between several -- the same shape language already
   uses beside it. The chip this replaces was the only pressable-looking thing in a
   row that is itself the link. */
.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); }

/* A mark inside the facts table is read as a value, so it takes the value's type
   rather than the tighter form a scannable list row uses. */
.pm-fact .pm-languages,
.pm-fact .pm-audiences {
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-strong);
}
.pm-fact .pm-languages i,
.pm-fact .pm-audiences > i { font-size: var(--size-glyph-sm); }

/* The program, explained. The card heading rather than a section heading:
   it sits inside the page rather than opening a new part of it. */
.pm-about { display: flex; flex-direction: column; gap: var(--gap-chip); }
/* The description takes the Notes clamp and Read more but keeps its prose, at every
   width: two classes, over .pm-notes__text's own type and its phone size. */
.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);
}
/* Relative first, absolute underneath: anyone reading this wants to know whether
 * they can be there tonight, not which calendar square it falls on. */
.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); }
/* Venue then street: the name is what someone looks for on the door, the street is
   what they put in a maps app, so the name leads and carries the weight. */
.pm-address__lines { display: flex; flex-direction: column; gap: var(--gap-hairline); }
.pm-address__name { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }
.pm-address__line { font: var(--type-value) var(--font-text); color: var(--color-ink-body); }

/* Where the meeting is. The box is this page's; everything inside it belongs to
   PM2's embed, which draws the pin, the attribution and the Pathminder mark. */
.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);
}
/* An iframe with no size rule falls back to the HTML default 300x150, which is what
   left the map drawn in a corner of its own box. Everything inside it -- the pin,
   the attribution, the Pathminder mark -- belongs to PM2's embed and is styled
   there; this page owns only the box it sits in. */
.pm-map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* In the facts table rather than the action block: a hybrid meeting's way in is
   the link, so its address is reference, and reference lives in the table. */
.pm-map--where { height: var(--size-map-where); }

/* Verifications live in the action block — last row, above a hairline, never a
 * facts-table row. Getting proof is something you do, in the same breath as
 * joining. */
.pm-verification-row {
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline);
  padding-top: var(--space-verification-row);
  /* The block's own edge colour, not the card's -- it divides the tinted block. */
  border-top: 1px solid var(--color-line-selected);
}
.pm-verification-row__lead {
  display: flex;
  /* Top, not centre. The sentence beside the mark wraps to two lines on a phone
     and one on a desktop, and a centred mark moves with the line count -- so the
     brand mark shifts down as the text it sits beside grows. Anchored to the top
     it stays where it is. On one line this costs a pixel against the design's
     centring, which is the case the design drew. */
  align-items: flex-start;
  gap: var(--gap-inline);
}
/* Drop 84 (Option - Pathcheck code, 4a): with a code, the block is a column of
   three -- the wordmark on a line of its own, then Code, the value and Copy on one
   text baseline, then the sentence -- 9px apart.

   It replaces drop 70's single row, which put the wordmark's lettering on the text
   baseline by lowering the image 6.4px. That number was true of Source Sans 3 at
   14px and nothing else: it drifted when a phone enlarged text, under a tenant's
   own --font-text, and while the fallback font showed. Nothing lines up with the
   image now, so there is nothing to drift.

   The two wrappers dissolve rather than the markup forking: the lead (which on the
   other two verification rows sets the mark BESIDE the sentence) and the mark's own
   span. That leaves the image, the code row and the sentence as the column's three
   children, the sentence still written once, and the other two rows untouched. */
.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; }
/* A plain block, top-left, with nothing beside it. flex-start, or the column would
   stretch the image to the block's width. */
.pm-verification-row--coded .pm-verification__wordmark { align-self: flex-start; }
/* The glyph rides the label's baseline rather than the button's centre line. */
.pm-verification-row--coded .pm-copy,
.pm-joindetails .pm-copy { align-items: baseline; }

/* The meeting's Pathcheck code, on the Pathcheck-verified block only -- the other
   two verification states say none is offered, and have no code to give.

   Label, code and Copy on one text baseline, under the wordmark. All three are
   text, so they share a baseline in any font at any size. The label is just
   "Code": the wordmark directly above names whose. If Copy has to wrap, it drops
   6px beneath the pair. */
.pm-pathcheck-code {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--gap-glyph) var(--gap-inline);
}
/* Label then value on one line, sat on a shared baseline: the pair reads as a
   single run of the same object. The Pathcheck code's, and the join details'
   Meeting ID and passcode (drop 115): every code you type looks the same. */
.pm-code-pair {
  display: inline-flex;
  align-items: baseline;
  gap: var(--gap-glyph);
}
/* Tracked wide and tabular: the codes are six characters alternating letter and
   number, and at a glance O and 0 will trade places without the extra space. */
.pm-code-value {
  /* An identifier has its own token as of drop 6: --type-note-title was a heading
     standing in for a value someone reads out and types, which is the borrowing the
     Standards forbid. Same 15px either way -- only the name is now honest. */
  font: var(--type-code) var(--font-text);
  color: var(--color-ink-strong);
  letter-spacing: var(--tracking-code);
  font-variant-numeric: tabular-nums;
}
/* Join details (drop 115): under the join hint, the Meeting ID and the passcode
   with its Copy. Desktop: one row on a shared baseline that wraps, 22px between
   the two and 6px when it wraps. Phone: stacked, 9px apart. */
.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;
    align-items: flex-start;
    gap: var(--gap-chip);
  }
}

/* Quiet control: it borrows the block's ground rather than drawing a button, so
   the primary action above it stays the only filled thing in the card. */
.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) {
  /* 44px to press on a phone, and none of it drawn. The phone frame gives Copy a
     44px box and takes most of it back with a negative margin, which still leaves
     the code's line 4px taller than its text. Elowen, 2026-10-09: "I like the idea
     of a bigger tap target but I don't want additional visible space above or
     below the CODE line." So the target is an extension laid over the button
     instead -- the one invisible extension the Standards allow, a box centred on a
     small control -- and the layout does not know it is there. */
  .pm-copy { position: relative; }
  .pm-copy::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--size-tap-min);
    transform: translateY(-50%);
  }
  /* The extension reaches a few pixels into the sentence beneath, where the link
     to Pathcheck is. The link stays on top, so pressing it is never a Copy. */
  .pm-verification-row--coded .pm-verification-row__text a {
    position: relative;
    z-index: 1;
  }
}

.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);
  /* Matches the title's line box, so the glyph sits on that line's centre rather
     than on its cap height -- the same rule the crisis note follows. */
  line-height: 1.3;
}
/* The two lines sit a hairline apart: one statement in two parts, not two notes. */
.pm-banner__lines { display: flex; flex-direction: column; gap: var(--gap-hairline); }
/* The date carries the canceled ink. It is the one word on the page that has to be
   read before anything else, and the fill alone does not say it. */
.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); }

/* ---- the tenant's own announcement: the first thing in the card, above the
 * navbar, so it reads as the organization speaking over the whole site rather than
 * as something this page is telling you.
 *
 * Not in the drop -- Design Standards covers only the cancellation banner above --
 * so this is a build decision: the same strip, wearing the tenant's colours in
 * place of the tokens. The shape belongs to the product; the palette does not,
 * because a tenant writes the message and picks its colours in one admin form the
 * way it writes header_code, and that is content rather than theme.
 *
 * The four colours arrive as custom properties on the element (finder_banner_style),
 * and each falls back here independently: a tenant that filled in two of the four
 * must not end up with its own ink on its own fill. */
.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);
  /* The fill is the edge. A hairline under an arbitrary tenant colour reads as a
     seam rather than as a border. */
  border-bottom-color: transparent;
}

/* The tenant's four size steps, mapped onto the type scale rather than left as the
   CSS keywords the original used (small/medium/large/x-large resolve to 13/16/18/24,
   none of which is a token). Above 16px every step in this scale is a heading
   weight, so large and x-large change weight as well as size -- a question for the
   designer, recorded in the deviations doc. */
.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); }
/* The message is tenant-authored HTML, so it carries its own links and emphasis.
   Both take the banner's ink: the action colour is unreadable on an arbitrary fill,
   and an underline is the same affordance without the contrast risk. */
.pm-banner__message a { color: inherit; text-decoration: underline; }
.pm-banner__message b, .pm-banner__message strong { font-weight: 600; }

/* An inline control in a strip, not the page's primary action -- so it takes the
   button's shape at the tap-target floor rather than the 52px of a real CTA. */
.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; }

/* A resource for that meeting's program: the tenant's ad, made as a 300 x 600
 * Half Page, centered with its fine print under it (Elowen, 2026-11-12).
 *
 * Drop 25 draws each sidebar rule as a border-top on the block it introduces,
 * rather than a border-bottom on the block above: a rule belongs to what it opens,
 * and whatever owns it owns the space under it too. */
.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 tenant's own asset, whole. Drop 25 drew a 3:2 slot and filled it, which
   cropped every other shape: SMART Recovery USA's wider handbook ad lost the start
   of every line of its text (Elowen, 2026-10-08). So the image keeps its own
   proportions, no wider than the column and no taller than --size-resource-max.
   Both sizes stay auto so the box is the image's own and the rounded corners land
   on it. An asset narrower than the column is shown at its own size, not
   stretched. */
.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);
}

/* Drop 19 sets these 3px apart, under a rule with --gap-chip of padding. The first
   link's own --space-sidelink-y sits inside that padding -- 20px to the ink, which
   is what drop 25 draws. The distance is theirs, so nothing corrects it here. */
.pm-detail__actions {
  gap: var(--gap-hairline);
  border-top: 1px solid var(--color-line-row);
  padding-top: var(--gap-chip);
}

/* For facilitators (drop 73): Manage meeting closes the list as a group of its own,
   under a rule and an eyebrow saying who it is for. The rule is the group's, as the
   list's is the list's. Drawn the same at both breakpoints. */
.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);
}

/* The card itself is the grid: the scope stripe carried over from the list row,
   the page body, and the sidebar as a real third column so its hairline runs the
   full height rather than stopping with its content. */
.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); }
/* The line under the title reads at body size -- it names the program and says
   where the meeting is, which is the second thing anyone reads on this page. */
.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); }

/* Section headings inside a page: About the program, Notes, Facilitators. */
.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;
}
/* The tenant's announcement and the footer each span the whole card: one is the
   organization speaking over the site, the other closes it. */
.pm-detail > .pm-banner,
.pm-detail > .pm-footer { grid-column: 1 / -1; }

/* The canceled bar is not one of those. It is about THIS meeting, and the column
   beside it is about supporting the organization -- carrying a cancellation across
   Support this meeting says the donation is off too. So it stops at the sidebar's
   edge.

   `1 / 3` rather than `1 / -2`, because it has to mean the same thing at both
   breakpoints: on a phone the sidebar is a row below rather than a column beside,
   the grid has two columns, and 1/3 is still the whole width.

   It covers the rail rather than sitting beside it. The drawing runs the rail past
   it; a tenant may set a scope colour of white, and a white strip against the bar's
   fill would read as a gap torn out of it (Elowen, 2026-10-02). */
.pm-detail > .pm-banner--canceled { grid-column: 1 / 3; }

/* Columns and spans, never row NUMBERS. The card's other children -- the tenant's
   announcement, the navbar, the footer -- are rows of this same grid, and numbering
   from 1 here put the bar in the navbar's row and pushed the navbar to the bottom
   of the card.

   What the bar does need is two corrections to auto-placement, and `dense` makes
   both: without it the rail lands in the sidebar's column (the bar took the cell it
   would have had), and the sidebar starts a row too low, because auto-placement
   never goes back for the gap the bar leaves beside it. Dense only ever backfills;
   the three full-width children can only sit in a full-width gap, which is still
   the one after everything above them. */
.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) {
  /* One column: the sidebar moves below the body and loses the divider it no
     longer sits beside. */
  .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);
  }
  /* One column: the sidebar is a row under the body rather than a column beside it,
     so it stops spanning and the rail -- which runs down both -- spans instead,
     which the rule above this block already says. */
  .pm-detail.pm-detail--canceled > .pm-detail__side { grid-column: 2; grid-row: auto; }
  /* The rail runs down the sidebar block too. Here the sidebar is another row of
     the card rather than a column beside it, so the rail has to span both rows or
     it stops where the body stops. `span` keeps auto-placement, so a cancellation
     banner above it still lands correctly. */
  .pm-detail > .pm-rail { grid-row: span 2; }
  /* The mobile gutter, which the body was not taking: it kept the desktop 36px
     while the sidebar below it used 16px, so the hairline and the Support links
     sat 20px further left than every line above them. */
  .pm-detail__body { padding: var(--space-detail-body-mobile); }
  /* Support, the resource and the three links read as one group here, under one
     rule dividing them from the facilitators above. Drop 23 put Support first, so
     the rule moved to it -- left on the actions it fell between Support and Share,
     dividing three things that are one list of outward actions.

     Which of them comes first is not fixed: Support needs a support link and the
     resource needs a program with one, so either can be absent and the actions are
     the only one always drawn. So all three carry the rule and any of them with
     another before it drops it, and the group starts with a rule whatever it
     starts with. Pinned to Support alone, a meeting without a support link had no
     rule at all.

     The rule sits on the blocks rather than on the column so the gutter insets it,
     and it starts and ends with the text above it. */
  .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;
  }
  /* The column's --gap-group would set the three links as two groups. They are one
     list, so where Support meets them the distance is the list's own. Adjacent, so
     a resource standing between them keeps the column's spacing on both sides. */
  .pm-supportblock + .pm-detail__actions {
    margin-top: calc(var(--gap-hairline) - var(--gap-group));
  }
}

/* ============================================================ states */

/* Skeleton rows at the real row height so the list doesn't jump when results land.
 * No spinner over content that is already on screen. */
.pm-skeleton {
  background: var(--color-surface-hover);
  border-radius: var(--radius-inline);
  height: 1em;
}

/* The list asks for the next 25 when the visitor nears the end of what they have.
 * While that is in flight the placeholders below stand in the rows' own grid, at the
 * rows' own height, so nothing under them moves when the real ones arrive. */
.pm-more {
  display: flex;
  justify-content: center;
  /* The end of the list, so it is on the well with the cards and closes the way the
     well does: --gap-band beneath it, the same space the well leaves between the
     last card and it. It had no fill and nothing under it, so the button stood on
     the card's white, flush against the footer, with the scroll fade drawn across
     its lower edge (Elowen, 2026-10-07). The fade is --gap-fade of the well's own
     colour and now falls on this padding, where it cannot be seen. */
  padding: 0 var(--space-gutter) var(--gap-band);
  background: var(--color-surface-hover);
}
/* The control is the fallback, not the usual way in, so it goes once the observer
 * has taken over -- but it comes back if a fetch fails, because then pressing it is
 * the only way on. */
.pm-more[data-loading="true"] .pm-more__button { visibility: hidden; }

.pm-listrow--skeleton {
  /* Inherits the row grid, so each placeholder sits in the column its content will.
     Not pressable and not announced: there is nothing here yet to read or follow. */
  padding: var(--space-card-row);
  pointer-events: none;
}
.pm-listrow--skeleton .pm-skeleton { align-self: center; }
/* Widths are the shapes of the things they stand for -- a time, a mode, a title, a
   line of facts -- so the placeholder reads as a row rather than as four grey bars. */
.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); }

/* Say what to change and offer the change as a control — never tell the user to go
 * operate a control on the product's behalf. */
.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;
}
/* Direct child only. The empty state's own mark is grey; a component nested inside
 * it -- the gate's mode marks -- keeps the color that component owns. Line-height 1
 * makes the glyph 18px tall, the map's ring's height (drop 112). */
.pm-empty > i { font-size: var(--size-glyph-row); line-height: 1; color: var(--color-ink-glyph); }
/* The empty state's title, for zero results and the empty category alike: the
 * row title, which steps to 16px on a phone (drop 112). */
.pm-empty__title { font: var(--type-row-title) var(--font-text); color: var(--color-ink-strong); }

/* A search that came back empty, under the list's own controls. */
.pm-empty--results { padding: var(--space-empty-results); }
/* The gap restated: .pm-row comes later in the sheet and would set it to 9px. */
.pm-empty--results .pm-stack--chip { gap: var(--gap-glyph); margin-top: var(--space-empty-records); }

/* A category page with no meetings at all (drop 57's frame, drop 111's words). It
 * takes the place of the search bar, the filters and the rail, so a hairline under
 * the category header is its top edge. */
.pm-empty--category { border-top: 1px solid var(--color-line-row); }
.pm-empty--category .pm-prose { max-width: var(--measure-explainer); }

/* Drop 109 (Option – Map loading, 1a): the map's status. It is the map's empty
 * state, used for the map's whole wait: the same .pm-empty block on the same ground,
 * centred in the map area, whose words change in place -- loading, still loading,
 * unavailable. With no map configured it is drawn already unavailable.
 *
 * Over the frame, and over the beyond notice, which waits beneath it until the map
 * is shown (drop 109, 7). finder.js drives data-state from the map's messages:
 *   waiting  the first 300ms -- the ground only, so a fast load shows nothing
 *   loading  ring + "Loading the map"; Show the list's line reserved, unseen
 *   slow     from 5s: "Still loading the map" + Show the list
 *   failed   from 15s, or no map: bi-map + "The map is unavailable right now."
 *            + Show the list
 *   gone     the map is shown: fades out with the map's fade-in, then hidden
 *
 * Hidden in the markup, and shown by finder.js, so a page whose script never runs
 * is never left with the frame covered. */
.pm-mapstatus {
  position: absolute;
  inset: 0;
  z-index: 2;
  justify-content: center;
  /* Not .pm-empty's page padding: this is a box, centred both ways. The phone
     keeps 16px sides, below. */
  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; }

/* A quarter arc turning on a track: the empty state's glyph size, a 2px stroke
 * (a literal the drop names). */
.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); } }
/* 18px tall (.pm-empty's line-height 1), as the ring is, so swapping one for the
 * other moves nothing. */
.pm-mapstatus > i { display: none; }
.pm-mapstatus[data-state="failed"] > i { display: block; }
.pm-mapstatus[data-state="failed"] .pm-mapstatus__ring { display: none; }

/* Does what the List button above the map does, to the same address. Its line is
 * there from the start, so neither the ring nor the first line moves when it
 * appears. Colour, hover and focus are every text link's. */
.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);
  }
}

/* No ring: the words alone, in the same place. The product-wide rule above already
 * takes the fade to nothing, so the map and the status swap. */
@media (prefers-reduced-motion: reduce) {
  .pm-mapstatus__ring { display: none; }
}

/* The gate is the empty state a finder that requires a location shows instead of
 * results: a first visit and a cleared location are one screen, because with
 * nowhere to search from there is nothing to list. It is .pm-empty plus a mark,
 * so it inherits that box rather than restating it.
 *
 * No rule above it, at either breakpoint (Elowen, 2026-10-07). The search field is
 * the answer to the question this block asks, and a hairline between the two made
 * them read as separate things -- the field as page furniture, the question as an
 * empty result. Nothing else sits between them: the filter row is not on this
 * screen either.
 *
 * And close under it, for the same reason: --gap-band from the field to the marks,
 * where the empty state's own padding left 76px. The rail keeps --gap-block beneath
 * the field on desktop, so the gate makes up the rest; on a phone the rail keeps
 * nothing and the gate takes the whole of it. The space beneath the block is the
 * empty state's, unchanged. */
.pm-gate { padding-top: calc(var(--gap-band) - var(--gap-block)); }
.pm-gate__modes {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-block);
}
/* Standalone marks here, so they take the standalone glyph size rather than the
 * label-relative one .pm-mode uses beside its 13px label. */
.pm-gate__modes .pm-mode i { font-size: var(--size-glyph-row); }
.pm-gate__prose { max-width: var(--measure-explainer); }
/* 16px beside a 15px label, per the glyph-follows-its-label rule. */
.pm-gate__locate i { font-size: var(--size-glyph); }

/* After the base rule, not before: equal specificity, so source order decides. */
@media (max-width: 767px) {
  .pm-gate { padding-top: var(--gap-band); }
  /* No measure on a phone: the column is already narrower than one. */
  .pm-gate__prose { max-width: none; }
}

/* ============================================================ footer
 *
 * Last thing inside the card, flush to its edges. One wrapping row of links, then
 * the New design switch — the same items in the same order at both breakpoints,
 * so there is no second layout to keep in step.
 */

.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);
  /* The fill runs under the home indicator and the content clears it, which is
     how a filled band at the bottom of a page is meant to meet one -- padding the
     page instead would leave a strip of page grey below the footer's own colour.
     0px where there is no indicator, so this is the plain value everywhere else. */
  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);
}

/* Pathminder above the design switch, both right-aligned at the end of the row. */
.pm-footer__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-inline);
  margin-left: auto;
}

/* The org lockup is the navbar's, one size down: the thing at the bottom is
   visibly the thing at the top, and behaves the same. */
.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;
}
/* The tenant's full logo, in place of the mark and name (drop 78). Sized by its
   height; a wide one is held at the max width and keeps to the left of its box.
   Two classes, because `.pm img` caps every image at 100% and is a class and a tag. */
.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);
}
/* Marked, not boxed — the glyph carries the crisis clay, the text the warmer ink. */
.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); }

/* Drop 30: the last line of the text column, and the quietest thing in it -- a
   copyright is a fact to be found, not read. */
.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; }

/* A real switch, not a link that describes one: it states which design you are on
   and flips immediately. */
.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;
}
/* The knob takes its track's corner. It was a fixed circle, which is right inside a
   pill and wrong inside the 3px track a square-cornered tenant gets: a round knob
   in a squared slot was the one circle left in a theme chosen to have none
   (Elowen, 2026-10-07). 999px on a soft theme, so it is the same circle there. */
.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) {
  /* Shorter on a phone: the map is orientation, and the actions under it matter
     more than another 50px of street. */
  .pm-map { height: var(--size-map-mobile); }

  /* Support is a text link here, not a filled button. The filled one belongs to
     the bar that docks after the action block leaves the screen, and two red
     buttons on one screen would each weaken the other. */
  .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); }
  /* The docked bar carries the sentence on a phone, and the button here is a text
     link in a list -- a wrapped paragraph in the middle of it breaks the rhythm.
     With the sentence gone there is no section to close either, so the rule goes
     with it and the three links stay one list. */
  .pm-supportblock__text { display: none; }
  /* Bigger targets on a phone, where these are the last thing on the page. */
  .pm-sidelink { padding: var(--space-sidelink-mobile); }

  /* Stacked, unconditionally. .pm-footer__row is a wrapping row, so whether the
     time-zone line sat beside the org lockup or under it depended on whether the
     two happened to fit -- side by side at 700px, stacked at 390px. That put two
     different footers inside one mode: the cards had already restacked and the
     footer had not. In mobile mode the footer is the mobile footer, at every width
     in it. */
  .pm-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-chip);
  }
  /* Nothing to sit beside any more, so the nudge that lined it up with the lockup
     goes with it. */
  .pm-footer__info { padding-top: 0; }
  .pm-footer__org .pm-footer__logo { height: var(--size-footer-logo-mobile); }

  /* One full-width row at this width: logo left, switch right. */
  .pm-footer__end {
    margin-left: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
  /* The footer's corners are the card's corners. With the card square and flush to
     the screen, keeping them round leaves two notches of page grey under the last
     thing on the page. Stated here rather than beside the card's own mobile rules:
     .pm-footer is declared later in this file, so an earlier rule of equal
     specificity loses on source order. */
  .pm-footer { border-radius: 0; }
}

/* ============================================================ control rail
 *
 * Location field and radius are always visible — never behind an "Edit search"
 * disclosure — because changing where you're looking is the most common thing
 * anyone does here.
 */

/* Only the padding now: where, how far and Search are one phrase and so one
   form, and the form is the row. */
.pm-controlrail {
  display: flex;
  padding: var(--space-gutter) var(--space-gutter) var(--gap-block);
}
/* Under the finder intro the bar keeps its own 24px (drop 81). The rail's default top
   padding is the gutter's, which is for a list with nothing above it. On a phone the
   bar is unchanged -- see the rail's own breakpoint rule, written to win over this. */
.pm-intro + .pm-controlrail { padding-top: var(--space-rail-under-intro); }

/* Under a category head the head's own 22px bottom padding IS the seam to the
   search field (drop 57's frame: 30px 36px 22px). The rail's top padding is the
   main list's, where nothing sits above it; stacked on the head's it made a 58px
   gap the frame does not draw. Two classes, so it also beats the phone's rail
   padding below -- the head keeps the same padding there too. */
.pm-categoryhead + .pm-controlrail { padding-top: 0; }

/* Field, then distance, then Search -- the button commits the whole phrase, so it
   sits after the last thing it commits rather than between the two halves. */
.pm-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  min-width: 0;
  /* The room left above the bar when a search or a filter change opens the next
     page at it -- see initSearchAnchor() in finder.js. */
  scroll-margin-top: var(--gap-inline);
}
.pm-search__field { position: relative; flex: 1; min-width: 0; }
/* Drop 6 states it as a rule for the distance picker, and it holds for the whole
   line: every control on it takes --size-input, so the three heights come from one
   token rather than lining up by agreement. --size-button is deliberately not used
   here -- the two agree at 52px on desktop and part company on a phone. */
.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);
}
/* Drop 34: empties the field and keeps focus, which is what opens the resting list.
   Its 44px target reaches past the glyph it draws -- the one invisible extension the
   Standards allow, a concentric box around a small glyph control. */
.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; }
/* One treatment everywhere: the browser draws its own cancel button on a search input
   and it is neither this glyph nor in this place. */
.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;
}

/* Last on the line, after the distance, because it commits the whole phrase --
   where, and how far -- rather than just the field beside it. */
.pm-search__submit { height: var(--size-input); }

/* No Search button, by design: the way to search is to choose a suggestion, and a
   submit control beside the field invites typing past it. It appears only when the
   suggest service cannot answer -- data-autosuggest-fallback, set by
   pathminder_location_services.js, which is the one state where raw text is the
   only way through.

   Keyed on that rather than on aria-disabled: a pre-filled location counts as a
   pick, so the button is "enabled" on every page load after a search.

   display:none, not the clip-and-shrink pattern. That pattern hides a thing from
   eyes while keeping it for assistive technology, and this is the opposite case:
   there is no Search button on this design, so a screen reader announcing one is
   describing a control the visitor does not have. Here the way to search is to
   pick a suggestion, and Enter on a highlighted one already submits -- the button
   is not the keyboard path, it is what autosuggest clicks and what appears when
   the service cannot answer. A display:none button still submits its form when
   clicked programmatically, which is all _submit() needs. */
.pm-search__submit:not([data-autosuggest-fallback]) { display: none; }

/* One control, reading "within 50 miles" as a phrase. The whole box is the hit
   target, and it opens the select field's dropdown below. */
.pm-search__radius {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-chip);
  height: var(--size-input);
  /* The select field's trigger padding, as drop 98 draws it: 14px, not 16. */
  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); }
/* The select field's chevron: 11px at .7 (drop 98). */
.pm-search__radius i {
  font-size: var(--size-glyph-chevron);
  line-height: 1;
  color: var(--color-ink-muted);
  opacity: var(--opacity-chevron);
}
/* The radius opens the select field's dropdown (drop 98), not the browser's menu:
   the same popover and radio rows, from .pm-selectfield, under the radius's own
   trigger. Its own trigger because the control reads as a phrase, "within 50
   miles", where a select field's is a value in a box. */
.pm-search__radiusgroup { position: relative; display: inline-flex; }
/* Out of the bar while a map area is searched (drop 85). The attribute is a UA
   `display: none`, which the rule above would beat. */
.pm-search__radiusgroup[hidden] { display: none; }
.pm-search__radiusgroup[data-open="false"] .pm-selectfield__popover { display: none; }
/* Hung from the right edge, like the language picker's and for the same reason:
   this is the last control on its line, so a panel wider than its own trigger has
   only one direction it can grow without leaving the card. The edge is the ring's,
   as the select field's is. At least as wide as the ring, and as wide as its
   longest label, so no label wraps. */
.pm-search__radiusgroup .pm-selectfield__popover {
  left: auto;
  min-width: calc(100% + (var(--focus-offset) + 2px) * 2);
  width: max-content;
}
/* One list that never scrolls, and so no fade: the one exception to the select
   field's past-six-options scroll (drop 98). Eight rows are 377px. */
.pm-search__radiusgroup .pm-selectfield__list { max-height: none; overflow: visible; }
/* Any distance is not a distance, so it is set apart: a row hairline, then its own
   padded block. */
.pm-search__radiusany { border-top: 1px solid var(--color-line-row); }
/* Pressed is the hover fill, as in every select field. */
.pm-search__radiusgroup .pm-option:active { background: var(--color-surface-hover); }

/* Open shows the focus ring, as a select field does, with the caret flipped. */
.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);
}
/* A <button> does not inherit the page's font the way the <label> it replaced did,
   and its user-agent padding would add to the box's own. */
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);
  /* 100% is the field on a wide screen and the whole controls row on a phone, which
     is what the list hangs from at each width -- so this is 52 + 4 + 3 and 50 + 4 + 3
     without naming either height.

     Drop 39 closed the gap from 6px to 3px: on a phone the filter row starts a
     --gap-chip below the field, and a list that opened 10px down left the top edge of
     the Filters button showing through the 9px it was supposed to cover. 7px fits
     inside that gap at both widths. */
  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); }

/* ---- Drop 33: one list, three kinds of row -------------------------------------
   The action (current location, always first), recent searches, and places. Only the
   redesign's markup opts into these -- the original finder has no stylesheet for this
   dropdown at all, and the rules above are what it gets.

   Rows run edge to edge here rather than sitting inset like a menu, because the list
   reads as a continuation of the field above it rather than a panel over it. */
/* No padding around the list: the drop leaves 6px above the first row, but the hover
   fill stops at the row's edge, so that strip is dead space the highlight cannot reach
   and the first row reads as floating in it. Rows run to the dropdown's own edges
   instead. Deliberate departure from drop 33, on Shawn's call, 2026-09-25. */
.suggestions-list:has(.pm-suggestion) { padding: 0; }
.suggestions-list .pm-suggestion {
  display: flex;
  align-items: center;
  /* No gap: the glyph owns a fixed column instead, sized so the label always begins at
     --space-suggestion-label whatever the gutter is. Glyph width plus a gap would make
     the label's position the sum of three values, and moving any one of them would move
     the labels off the field they are supposed to line up with. */
  gap: 0;
  height: var(--size-suggestion-row);
  min-height: 0;
  padding: 0 var(--space-suggestion-gutter);
  border-radius: 0;
}
/* One fill for both, so a row the mouse is over and a row the keyboard is on cannot
   look like two different states of the same list. */
.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); }

/* The glyph column sits directly under the magnifier: same left edge, same width, so
   the list hangs off the field rather than starting a column of its own. */
.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; }

/* The action: the one row that is an instruction rather than a result, so it is the
   one row in the action colour. It never moves -- see _render. */
.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); }
/* Reporting progress, not offering the action any more. */
.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;
}
/* And when it does not come back with a position, two lines: what happened, and what
   to do instead.
 *
 * Both failure states, not just the refusal. `denied` is a browser that said no;
 * `unavailable` is one that tried and could not -- they read differently and say
 * different things, but they are the same shape, and scoping this to `denied` alone
 * left the second one setting its hint inline, run together with its title. */
.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;
  /* Drop 38 draws the pair 3px apart. Without it the two lines sit on each other's
     leading and read as one wrapped sentence rather than a statement and its advice. */
  gap: var(--gap-hairline);
  white-space: normal;
}

/* A place searched before. Body ink, and the clock is the only thing marking it out. */
.suggestions-list .pm-suggestion--recent { font: var(--type-body) var(--font-text); color: var(--color-ink-strong); }

/* A place carries no glyph -- the pin is the In-person mark, and here it would say
   "in person" about a city. Its label still starts where the others' do. */
.suggestions-list .pm-suggestion--suggestion {
  font: var(--type-body) var(--font-text);
  /* The drop's rows are drawn in --color-ink-strong, both the places and the recents.
     Its prose calls this "body ink", but the ink it draws is the strong one -- measured
     rgb(28,32,36) in every row of every state. Following the drawing. */
  color: var(--color-ink-strong);
  padding-left: var(--space-suggestion-label);
}
/* The typed part only. The rest stays in ink: greying it would make two thirds of
   every row look like secondary information, which is not what it is. */
.suggestions-list .pm-suggestion__match { font-weight: 600; }
.suggestions-list .pm-suggestion__detail { color: inherit; }

/* The eyebrow and its Clear, on one line. Clear is a link, not a row: a row with a
   cross would read as "remove this one", which is what a cross means everywhere else. */
.suggestions-list .pm-suggestion__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-chip);
  /* The drop puts 13px between the action row's edge and this heading's box, 1px of
     which is the rule, then the heading carries 6px of its own above and below. Written
     as longhand throughout: --space-option is `11px 14px`, so a three-value shorthand
     built from it silently becomes a four-value one, which is what put this label 13px
     left of the column it belongs in. */
  /* Measured against the drop rather than copied from it: its structural numbers are
     12px and 6px, but its rows set their labels on different leading than our type
     tokens give, so those values land the ink several pixels out. These put the heading
     where the drop draws it -- 43px under the action row's label and 31px above the
     first recent, ink to ink. */
  /* Not a tap target: .suggestions-list li carries a --size-tap-min floor for the rows,
     and a heading inherited it, which padded this label 14px down inside a 44px box and
     made every space around it unadjustable. */
  min-height: 0;
  margin-top: var(--gap-inline);
  padding-top: var(--gap-inline);
  padding-bottom: var(--gap-inline);
  /* The same inset as a row, so the label starts where the glyphs under it start. */
  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);
  /* Nothing here is pressable but the link, which says so by underlining. */
  cursor: default;
}
.suggestions-list .pm-suggestion__clear {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  /* 600 at 13px, the weight the design draws. --type-meta is 400 14px, which read as a
     lighter word than the eyebrow beside it. */
  font: var(--type-glyph-label) var(--font-text);
  /* The Standards' allowance for a single-line control label, and what the drop draws:
     13px on a 13px line. */
  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; }

/* The rule belongs to what follows the action, so a list that is only the action has
   no rule under it -- "the action is the whole list". */
.suggestions-list .pm-suggestion--divided { border-bottom: 1px solid var(--color-line-row); }

/* Not a row: nothing to press, so no hover and no hit area. */
.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); }
/* Body ink, not muted: drop 38 sets this line at #3f4448, and it is advice the
   visitor is meant to act on rather than a caption. text-wrap: pretty because it is a
   sentence that wraps, and a one-word last line reads as a mistake. */
.suggestions-list .pm-suggestion__messagehint {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
/* "Looking up places…" is progress, not an answer, so it is set like neither. */
.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); }
  /* "within 50 miles" reads as a phrase with room to say it. Here the control is
     the radius and nothing else, and the word is what pushes the field onto its
     own line. */
  .pm-search__radius__label { display: none; }
  .pm-search__radius {
    gap: var(--gap-glyph);
    padding: 0 var(--gap-inline);
  }
  /* All three step down together, because the line shares one height. 50px is
     also what stops iOS zooming when the field takes focus. */
  .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); }


  /* "The field alone is about 230px wide beside the radius, too narrow for place names,
     so the list takes both -- the one breakpoint difference." Hanging the list off the
     whole row rather than off the field: both controls are --size-input tall, so the
     row's bottom edge is the field's bottom edge. */
  .pm-search { position: relative; }
  .pm-search__field { position: static; }
  /* The right edge stays on the radius picker's border, which carries no ring of its
     own to clear -- only the left edge moves out. */
  .suggestions-dropdown { right: 0; }
  .suggestions-list .pm-suggestion { height: var(--size-suggestion-row-m); padding: 0 var(--space-suggestion-gutter-m); }
  /* The glyph column narrows with the gutter, so labels keep landing where typed text
     does -- 12 + 16 + 12 here, against 16 + 16 + 16 on a wide screen. */
  .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); }
  /* A 44px target without a 44px line: the negative margin hands the height back to
     the eyebrow, the way the calendar link does under a stacked CTA. */
  .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); }
}

/* ============================================================ filters */

/* One wrapping row of controls -- the chips on desktop, the Filters button on a
   phone. Every wrapper between the bar and the chips dissolves, so they wrap
   against each other. What is already applied is NOT part of that row on desktop:
   .pm-filterbar__applied takes a line of its own beneath it (see below). */
.pm-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-chip);
  padding: 0 var(--space-gutter) var(--gap-fact);
}

/* The form is a DOM relationship, not a box: dissolving it leaves the groups as
   items of the bar, and submission is unaffected. */
.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; }
/* Hung from the right edge of its chip instead, for a chip near the end of the row
   whose panel would otherwise leave the card. Set by finder.js, which measures --
   the chips wrap, so which one needs this depends on the window and on how long the
   tenant's own filter names are. */
.pm-filtergroup--fromright[data-open="true"] .pm-popover { left: auto; right: 0; }
/* A panel taller than its room scrolls its options instead of running past the
   card, whose overflow: clip would slice it off -- Show button and all, leaving no
   way to apply what was ticked. finder.js measures the room on open (see
   keepPanelOnScreen) and sets the cap. The purpose and the footer keep their height;
   only the options give way. No fade above the footer: it is a fixed bottom bar, as
   in the phone sheet (drop 20). */
.pm-filtergroup[data-open="true"] .pm-popover { max-height: var(--panel-max-height, none); }
.pm-popover__options {
  display: flex;
  flex-direction: column;
  gap: var(--gap-glyph);
  overflow-y: auto;
  /* The real inputs are absolutely positioned (see .pm-option input). Without a
     positioned box here they would sit outside the scroller, and tabbing to an
     option below its edge would not scroll it into view. */
  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);
  /* One vertically centred line, which the Standards let any token set at 1. It is
     also what makes the chip 37px -- --type-glyph-label's 1.2 adds 2.6px of leading
     that nothing else in the row has, and the row's one height goes with it. */
  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);
}
/* Open: the trigger goes action-colored and the caret flips, so the open thing and
 * its trigger are visibly bound. */
.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); }
/* Set: the applied fill, and nothing else changes -- no count, and the caret stays.
 *
 * The fill is the one applied/selected language in the product (drop 54). Drop 54
 * also put a count where the caret stood; removed on Shawn's instruction,
 * 2026-10-01. The values are in full in the record row beneath, so the count only
 * restated them, and every chip keeping its caret keeps every chip saying "this
 * opens". The caret takes currentColor (see .pm-filterchip .bi-chevron-down), so on
 * the fill it goes white with the label.
 *
 * Written after the open rule, so a chip that is both open and set stays filled. The
 * open state's job is to bind a trigger to its panel, and the panel is directly
 * beneath it; the fill is the louder fact and the one that survives the panel
 * closing. */
.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);
}
/* What this group is for, above its options (drop 97). It used to be a helper
   saying how to answer, in the small subtle type a helper takes. A purpose is the
   one thing in the panel to read before choosing, so it is set as a field's label
   is: 600, 14px, in the strong ink. */
.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;
}

/* Sets the Clear apart from the options above it, so it does not read as one more
   thing to tick. The row colour, not a card edge: it separates rows inside one
   surface, which is exactly what --color-line-row is for. The sheet's only: a
   desktop popover's footer draws its own hairline -- see .pm-popover__foot. */
.pm-option__rule {
  height: 1px;
  margin: var(--gap-glyph) 0;
  background: var(--color-line-row);
  border: 0;
}

/* The Clear a multi-select group carries. A quiet action at the foot of the panel,
   not a third kind of option: it takes the action colour a link takes and sits apart
   from the rows above it, so it cannot be mistaken for another thing to tick. */
.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); }

/* The footer every desktop popover ends in (drop 75): Clear, where the group has
   one, and the button that applies what has been ticked. Ticks are held until it is
   pressed -- the phone sheet's commit, in the same words.

   Full-bleed. The hairline runs edge to edge and the footer owns the popover's
   bottom edge, so it takes back the panel's padding on three sides; the panel's own
   gap is the --gap-glyph drawn above the hairline. It wraps rather than overflow
   where a tenant's group name and a four-figure count will not share a line. */
.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; }
/* The typed group's panel is --gap-chip between its parts, not --gap-glyph. */
.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);
  /* Its label carries a number that changes as the visitor ticks, so the figures
     are tabular: 9 -> 10 must not re-measure the button. */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* A count on its way (undrawn; see countAsked in finder.js). The old number stands
   until the new one lands, and while it does the label steps back, so it is not
   read as the answer to the boxes as they are now. The button stays the button:
   pressing it applies what is ticked, whatever the number said. */
.pm-popover__commit[aria-busy="true"],
.pm-filtersheet__commit[aria-busy="true"] {
  color: color-mix(in srgb, var(--color-action-on) var(--mix-busy), transparent);
}

/* Desktop: the records take a line of their own beneath the chips, labelled.
   flex-basis 100% is what breaks the bar's wrapping row; the margin tops the bar's
   chip gap up to the block gap, so the record row sits a block apart from the menu
   rather than reading as one more wrapped line of it. */
.pm-filterbar__applied {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  gap: var(--gap-glyph);
  margin-top: calc(var(--gap-block) - var(--gap-chip));
}

/* One form, two presentations -- see meetings/v2/_filters.html. Desktop has no
 * sheet, so its chrome is absent and its wrappers dissolve, leaving the eight
 * groups exactly where they have always been. */
.pm-filterbutton,
.pm-filtersheet__scrim,
.pm-filtersheet__head,
.pm-filtersheet__foot { display: none; }
.pm-filtersheet,
.pm-filtersheet__panel,
.pm-filtersheet__body { display: contents; }
/* The value belongs to the sheet's collapsed row; the desktop chip shows only the
   applied fill, because the values are already beneath it in the record row, in
   full. */
.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);
  }
  /* The phone keeps drop 52's layout: the records follow the Filters button in its
     wrapping row, unlabelled. The button is the only control on that line, so a
     record beside it already says what made it; an eyebrow would spend a line on
     the narrowest screen saying so again. */
  .pm-filterbar__applied,
  .pm-filterbar__applied .pm-row { display: contents; }
  .pm-filterbar__applied .pm-eyebrow { display: none; }

  /* A record is a tap target here, so it keeps its vertical padding: the text wraps
     at this width and the padding is what holds a two-line record off its edges. */
  .pm-chip--applied { padding: var(--space-chip-applied-mobile); }

  /* Drop 54: outlined, always -- never filled, never counted, applied or not.
   *
   * The button cannot tell the truth about either. "Near:" looks like a filter and
   * reads as one in the row beside it, but it is set in the field, not in this
   * sheet, so a count would disagree with what the reader can see. And a filled
   * button sits next to the selected half of the List/Map toggle, which is the one
   * thing on that line that is meant to look chosen. */
  .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; }

  /* ---- the sheet ---- */
  .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);
  }
  /* Anchored to the bottom and stopping short of the top, so the list it is
     filtering stays visible above it -- you are still on that screen. */
  /* Focus lands here on open rather than on the close button: a ring drawn round
     Close is the first thing a sighted phone user would see, and it reads as
     "leave" rather than "you are in the filters". outline: none is safe only
     because the panel is never reached by tabbing -- it is put here once. */
  .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;
    /* No fade. Drop 20: "It is not drawn when a fixed bottom bar is present; the
       bar's own shadow does that job" -- and this body has one, its own footer.
       The mask that used to be here was --gap-band 30px, over the 24px the
       Standards now caps a fade at, and it was dimming the last option rather
       than the edge of a scroll it no longer had to explain. */
  }
  .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);
  }
  /* Drop 11 found this one at 700 16px, 50px and a 10px radius -- the last primary
     button still wearing its own size. Every primary button is now one object, and
     the height, radius and padding it wants are already .pm-button's, so the
     override is down to the CTA type and the width it takes in the footer.

     --type-cta, and this is the rule that shows why drop 10 gave it its own token:
     the sheet exists only below the breakpoint, where --type-row-title re-points to
     700 16px. Borrowing the row title here would have left the button at exactly the
     16px it was being moved off -- G13, invisibly. */
  .pm-filtersheet__commit {
    flex: 1;
    font: var(--type-cta) var(--font-text);
    /* Its label carries a number that changes as the visitor ticks, so the figures
       are tabular: 9 -> 10 must not re-measure the button. */
    font-variant-numeric: tabular-nums;
  }

  /* ---- a chip becomes an accordion header, its popover the options under it ---- */
  .pm-filterbar__groups {
    display: block;
    padding: 0;
  }
  .pm-filtergroup { border-bottom: 1px solid var(--color-line-row); }
  /* A group you have opened is tinted for as long as it is open, so the options
     under it read as belonging to it rather than to the group below. */
  .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; }
  /* The applied fill is the DESKTOP chip's, and here the chip is not a chip: it is a
     row in a sheet. Filling it would paint a band across the sheet in the action
     colour, which already means the selected half of a segmented control, and it
     would take the caret with it -- the one mark saying this row opens.
   *
   * The phone says "set" the way it says everything else in this sheet: in words, on
   * the collapsed row, in the action colour. See .pm-filterchip__value below. */
  .pm-filtergroup[data-set="true"] .pm-filterchip {
    align-items: center;
    color: var(--color-ink-body);
    background: none;
    border-color: transparent;
  }
  /* And the caret here is the sheet's, not the filter row's: the row's is a hint
     stepped back behind a 13px label, where this one is the only mark on a sheet row
     saying it opens. Drop 54 draws it a step up at 13px, in the glyph grey, and
     darkening to the body ink once the group is open -- no opacity either way. */
  .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;
    /* The sheet's body scrolls; a section of it never does. */
    max-height: none;
  }
  .pm-popover__options { display: contents; }
  /* An options group is full-bleed in the sheet because its rows are tap targets
     that run edge to edge. A field is not, so the sheet's gutter comes back here --
     and it comes back on the PANEL, not on .pm-filtertext. That one is the clear
     button's positioning context, and an absolutely positioned child offsets from
     the padding box: padding there would push the field in and leave the clear
     behind, hanging over the field's own edge.
   *
   * Written at this specificity, after the rule it is answering, because the
   * generic one is a class and an attribute. */
  .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); }
  /* The sheet commits with its own footer, so a group's is only its Clear: the
     wrapper dissolves, and the rule and the link sit in the panel as they always
     have. A typed group has the field's own clear and takes neither. */
  .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);
  }
  /* In the sheet the sentence starts the open group on the sheet's own gutter, where
     its options' controls start, with nothing above it: the group's row is right
     there. Drop 97 gives 0 16px 6px. It had the popover's inset, two pixels shy of
     the gutter and eleven down, which a small grey helper hid and a bold line does
     not. */
  .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);
  }
  /* A row of tinted options inside an already tinted group is one tint too many:
     the control and the weight of the name are what say which one is chosen. */
  .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); }
  /* The control is bigger under a thumb. Sizes the drawn box, not the input --
     that one is visually hidden now and sizing it would move nothing. */
  .pm-option .pm-check__box,
  .pm-option .pm-radio__dot {
    width: var(--size-control-box-mobile);
    height: var(--size-control-box-mobile);
  }
}

/* The page behind an open sheet must not scroll under it. */
.pm-scrolllock { overflow: hidden; }

/* ============================================================ term card */

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

/* On a phone the card is a sheet: anchored to the bottom, full width, inside thumb
 * reach, and it doesn't cover the word it belongs to. */
.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);
  /* A bottom-pinned control, so it clears the home indicator by the same rule as
     the Support bar and the filter sheet's footer. --space-gutter is 16px here and
     --space-safe-bottom floors at 16px, so this is the same padding on a phone
     without one. */
  padding-bottom: var(--space-safe-bottom);
}

/* ============================================================ page layout
 *
 * Contact us and Help are the two screens that are neither a list nor a meeting:
 * a single column of prose or fields, with a narrow aside carrying the things that
 * keep the wrong messages out of the form and the wrong questions out of the inbox.
 *
 * One grid serves both. The aside is a real second column so its blocks line up
 * with the column beside them; on a phone the grid becomes a flex column and the
 * aside's children reorder into the one sequence each screen wants.
 */

.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); }

/* ---- Contact us: head over form, crisis note over the deflection block.
 *
 * The crisis note is written into the main column's source order, between the intro
 * and the first field, and placed into the aside by the grid. That is what lets a
 * phone put it above the form with no second copy and no JavaScript: on a phone an
 * aside is just "below the form", which for this message is too late. */
.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; }

/* ---- Help: one tall column beside a sidebar of three stacked blocks. */
.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; }
/* The whole sidebar sticks, not the contents list inside it. Sticking only the list
   leaves the crisis note and the "still stuck" line in normal flow, so the pinned
   list slides down over them as the page scrolls -- three blocks in one column
   cannot keep their spacing unless they move together. `align-items: start` on the
   grid is what makes this work: a stretched item is already full height, and an
   element that fills its container never has anywhere to stick to. */
.pm-pagebody--help .pm-pagebody__aside {
  grid-area: side;
  position: sticky;
  top: var(--space-sticky);
}

/* ---- Verifications: one column, no aside. Its blocks sit a band apart rather
 * than a group apart, because each is a whole answer -- what the routes are, and
 * then the form for the one route this page can finish. */
.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) {
  /* One column, in source order -- except on Help, where the aside dissolves so its
     three blocks can take their own places in that order. */
  .pm-pagebody {
    display: flex;
    flex-direction: column;
    gap: var(--gap-group);
    /* Undoes the grid's align-items: start, which on a column flex container means
       shrink-to-fit across -- it would leave the contents list only as wide as its
       longest link, with its rules and chevrons stopping there. */
    align-items: stretch;
  }
  /* display: contents promotes the contents list, the crisis note and the "still
     stuck" line to siblings of the sections, so `order` can interleave them. Moving
     nodes in JavaScript, as the detail page does with the program resource, is only
     needed when a block has to land INSIDE another one. Here it does not. */
  .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; }
}

/* ---- the boxed aside, in two colours.
 *
 * A quiet fill for a useful aside, the crisis clay for the one message that is not
 * about this website. Same shape, so the second is recognisable as "a note" before
 * it is read, and the colour is the only thing saying which kind. */

.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); }

/* The footer already carries the crisis line on every page, marked rather than
   boxed. This is the boxed form, on exactly the two screens that attract people who
   need more than help with a website. */
.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);
  /* Matches the first line's box, so the glyph sits on that line's centre rather
     than on its cap height. */
  line-height: 1.5;
  color: var(--color-crisis-ink);
}
.pm-crisisnote b, .pm-crisisnote strong { font-weight: 700; }

/* Help's sidebar has room for a heading, so the glyph moves up beside it and the
   sentence takes the full width under both. */
.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); }

/* ---- a pointer in the aside, divided by a rule rather than by a fill. The two
   boxed notes above are things to stop at; these are things to read past, so they
   take the lightest separator there is. */
.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); }

/* Its heading. --type-glyph-label is 600 13px/1.2, which is what the drop draws
   here; the token's own comment names only the marks that used it first. */
.pm-aside__title { font: var(--type-glyph-label) var(--font-text); color: var(--color-ink-strong); }

/* "Still stuck? Ask us for help." -- the last thing in Help's sidebar. */
.pm-stuck {
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
  text-wrap: pretty;
}

/* ---- textarea. The one control the finder had no form for.
   16px/1.55 as drawn: a message box is read as prose rather than as a value, and
   16px is also the size below which iOS zooms the page on focus. */
.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) {
  /* A form's submit is the only thing on its line, so it takes the width rather
     than leaving a thumb to find a 160px target on the left. 54px is a desktop
     height -- G12 steps the primary back to --size-button here, the same way the
     detail page's action block does. */
  .pm-button--submit { width: 100%; height: var(--size-button); }
}


/* ============================================================ help
 *
 * The one place every definition lives. Ordered by when someone needs it -- find a
 * meeting, decode what you are looking at, join it, prove you were there -- with
 * programs and audiences after the tasks, because they are reference.
 */

/* Each section after the first opens with a rule. --gap-band above the heading is
   deliberately wider than the --gap-block between blocks inside one: the rule and
   the space together are what say "new part of the page". */
.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; }
/* The programs section stacks whole sub-articles rather than a heading over one
   flow, so its children sit a group apart rather than a block apart. */
.pm-help__section--stacked { gap: var(--gap-group); }

/* ---- the legend.
 *
 * "What everything on a meeting means" renders the product's real pills, glyphs and
 * rails rather than describing them, so the page cannot drift from the UI. The same
 * row serves the Q&A and the audience list, which are the same shape: a short label
 * against an explanation. */
.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);
}
/* A mark is a fixed-height object, so it centres against its sentence. A label that
   can wrap does not: it starts where its sentence starts. */
.pm-legend--marks .pm-legend__row { align-items: center; }
/* Closed at the bottom, the way a facts table closes -- but only where a rule is not
   about to arrive anyway from the next section's own border. */
.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; }

/* Marks in a legend are read as values, not scanned down a column, so they take the
   step up the facts table already gives them: the value scale, and the 16px glyph
   that belongs beside 15px text.
   The drop leaves the audience mark and the defined term at the list row's smaller
   sizes while stepping mode, language and the camera condition up -- the one place
   its own facts-table rule was not applied. The build steps them all up, because a
   legend row is not a list row. */
.pm-legend .pm-mode,
.pm-legend .pm-condition { font: var(--type-label) var(--font-text); }
.pm-legend .pm-languages,
.pm-legend .pm-audiences,
.pm-legend .pm-term { font: var(--type-value) var(--font-text); }
.pm-legend .pm-mode i,
.pm-legend .pm-condition i,
.pm-legend .pm-languages i,
.pm-legend .pm-audiences > i { font-size: var(--size-glyph); }

/* A verification mark in a legend takes the value scale and the standalone glyph
   size, for the same reason. */
.pm-legend .pm-verification {
  font: var(--type-label) var(--font-text);
  color: var(--color-ink-body);
  gap: var(--gap-chip);
}
.pm-legend .pm-verification--none {
  font: var(--type-value) var(--font-text);
  color: var(--color-ink-muted);
}
.pm-legend .pm-verification i { font-size: var(--size-glyph-row); }

/* A scope mark out of context: the rail has no row to stretch to, so it is given
   the one height it takes here, and the pill sits beside it exactly as it does on a
   list row. */
.pm-legend__scope { display: inline-flex; align-items: center; gap: var(--gap-chip); }
.pm-legend__scope .pm-rail {
  align-self: center;
  width: var(--size-rail);
  height: var(--size-legend-rail);
  border-radius: var(--radius-pill);
}

/* ---- a program, named and explained. */
.pm-program { display: flex; flex-direction: column; gap: var(--gap-inline); }
.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);
}

/* ---- the contents list.
 *
 * On desktop a sticky sidebar you can ignore. At 390px it becomes the first thing
 * after the intro, which turns out to be the better place: a help page that opens
 * by naming its topics lets someone self-serve in one tap instead of scrolling to
 * find out whether their question is covered at all.
 */
.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;
  /* A row, square: its hover fill and its rail keep their shape (drop 104). */
  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); }
/* The same rail the list view established, stood on end. Rotating it is not a
   second selected-state language; recolouring it would be. */
.pm-contents a[aria-current="true"] {
  border-left-color: var(--color-action);
  color: var(--color-action);
  font-weight: 600;
}
.pm-contents__chevron { display: none; }

/* The blocks under the list line up with the link labels, which sit past their own
   rail. */
.pm-pagebody--help .pm-crisisnote,
.pm-pagebody--help .pm-stuck { margin-left: var(--space-contents-inset); }

@media (max-width: 767px) {
  /* A sticky sidebar has nowhere to stick at this width. The list becomes seven
     tappable rows: 16px/600 in the action colour with a chevron, which is the
     product's "continues in this app" row, not a new thing to learn. */
  .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; }

  /* The 200px label column would wrap "Military, Veterans & First Responders" to
     three lines. Stacking follows the same rule as the mobile facts table and the
     mobile list row: label above value, full width for the value. */
  .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; }
}


/* ============================================================ verifications
 *
 * Two routes, then the form for the one of them this page can actually finish.
 * The routes are the legend the help page uses, because they are the same marks
 * saying the same thing; only the form below them is new.
 */

/* The form is a panel rather than another section of the page: it is the one
 * thing here you do rather than read, and only one of the two routes leads into
 * it. It takes the selected pair -- the action tint and its line -- which are
 * doing a second job here: not "this is chosen" but "this is the part that acts".
 * The same pair, because a second quiet blue would be a second meaning. */
.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);
}
/* The wordmark and the title on one line, at every width. A brand mark that keeps
   its size sets the line's height, so the title sits against it rather than
   under it. */
.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); }
  /* The date field takes the full column, as the meeting picker does at every
     width: there is no second thing on the line for a narrower one to leave room
     for, and a date picker is a tap target. */
  .pm-selectfield--date { width: 100%; }
}

/* ============================================================ facilitators
 *
 * Name on the left, an outlined Contact control on the right, details revealed in
 * place beneath the name. An open row is a closed row with its details showing:
 * the same background, padding and hairline, and the Contact control alone says it
 * is open.
 */

/* The section: its heading row over the list, closer together on a phone. */
.pm-facilitators { display: flex; flex-direction: column; gap: var(--gap-inline); }

/* The heading, with Manage meeting on its right in the Contact control's form
   (drop 73). The row is as tall as the button, and the heading centres on it. */
.pm-facilitators__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-block);
}

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

/* One box for both states, so there is nothing for the open one to restate: the
   padding is the row's whether or not the details are inside it. No fill and no
   closing rule -- --color-surface-hover means hover and pressed only, and is never
   an open or selected state (Design, 2026-10-06). */
.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;
}

/* Not a control any more -- the button inside it is. No pointer cursor on the row,
   because nothing happens when you press the part of it that is just a name. */
.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);
  /* Standards: "a single-line control label takes line-height: 1 ... a filter chip,
     a tab, a button". Every screen draws this control 600 13px/1 and 35px tall; on
     --type-glyph-label's 1.2 it stood 37.6px, beside a heading and in rows drawn to
     the smaller number. */
  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;
}
/* The caret's own size, not --size-glyph-term: that one is the info affordance on a
   defined term, and this is the hint that a control opens or leads on. */
.pm-facil__contact i { font-size: var(--size-glyph-chevron); opacity: .7; }
/* text-decoration, because this is a link where it leads somewhere (Manage meeting,
   Got it) and a button's label never takes the text link's underline. */
@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; }
/* Open: the label goes action-coloured and the caret flips, and that is the whole
   of the open state. The border stays the control's. */
.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; }

/* Email then phone, each on its own line. The design shows only an email, so it
   never had to say how two would sit; stacked keeps each one a whole line to hit
   and stops a long address and a number colliding at narrow widths. */
.pm-facil__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-chip);
}
/* `hidden` is a UA `display: none`, and the author `display: flex` above outranks it.
   Said again here, or a closed panel shows its contents under a shut control. */
.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) {
  /* Drop 35: this was 37px tall, under the tap-target floor. Its own breakpoint block
     rather than the one further up the file, because .pm-facil__contact is declared
     below that one and would win on source order at equal specificity. */
  .pm-facil__contact {
    min-height: var(--size-tap-min);
    padding: 0 var(--gap-inline);
  }
  /* The section as the 390px frame draws it. The build had carried the desktop
     distances down: rows 70px tall where 66 is drawn, and the list 12px under its
     heading where 9 is. */
  .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); }
}

/* ============================================================ add to calendar
 *
 * The PM2 finder's calendars (meetings/finder/add_to_calendar.py), in place of AddEvent,
 * whose widget this section used to restyle. A <details>, as the language picker is:
 * its trigger the text action AddEvent's button was drawn as -- a text link beside the
 * primary action, not a second button, since only one thing in the block is the way
 * in -- and its menu the product's popover of option rows, each led by its calendar's
 * logo. Ordinary content: the menu takes the popover's layer, the trigger none.
 */
.pm-atc { position: relative; }
.pm-atc__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-glyph);
  /* The control-label allowance the buttons take: the token's size, line-height 1. */
  font: var(--type-field-label) var(--font-text);
  line-height: 1;
  color: var(--color-action);
  /* A <summary> is not a button and does not get the hand on its own. */
  cursor: pointer;
  list-style: none;
}
.pm-atc__trigger::-webkit-details-marker { display: none; }
.pm-atc__trigger .bi { font-size: var(--size-glyph-sm); }
.pm-atc__trigger .pm-atc__chevron {
  font-size: var(--size-glyph-term);
  opacity: var(--opacity-chevron);
}
@media (hover: hover) {
  .pm-atc__trigger:hover { color: var(--color-action-hover); text-decoration: underline; }
}
.pm-atc__trigger:active { color: var(--color-action-hover); text-decoration: underline; }
.pm-atc[open] .pm-atc__chevron { transform: rotate(180deg); }
/* Hung from the trigger's left edge, AddEvent's menu's width. */
.pm-atc .pm-popover {
  top: calc(100% + var(--gap-glyph));
  left: 0;
  min-width: var(--size-atc-menu);
}
/* Rows are links: the option row's look, never a link's underline. */
.pm-atc__item {
  align-items: center;
  text-decoration: none;
}
@media (hover: hover) {
  .pm-atc__item:hover { text-decoration: none; }
}
.pm-atc__mark {
  flex: none;
  display: block;
  width: var(--size-atc-mark);
  height: var(--size-atc-mark);
  object-fit: contain;
}

/* What the PM2 finder said about Microsoft's step, at the top of the action block: the
   design system's status banner, its rules as PM2's finder.css writes them ("Status
   banner"), less Dismiss, which PM1 does not draw. The tone is five colours set on
   the banner itself, which every part reads, so a tone is one short rule. Success is
   the default. */
.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);
}
.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);
}
.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);
}
.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);
}
.pm-statusbanner__glyph {
  flex: none;
  font-size: var(--size-statusbanner-glyph);
  line-height: var(--line-statusbanner-glyph);
  color: var(--statusbanner-glyph);
}
.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;
}
@media (max-width: 767px) {
  /* The whole width of its column. */
  .pm-statusbanner { max-width: none; }
}

/* ============================================================ opting in and out
 *
 * Drops 65-69. Only the two screens the NEW design owns are here: the bar on the
 * first page after switching, and the page on the way out. PM1's invitation card,
 * its one-line form, its footer switch and the private-preview strip are drawn in
 * PM1's own Bootstrap 4 styling, in meetings/templates/meetings/optin_*.html --
 * deliberately, so the invitation reads as part of the site it is sitting in rather
 * than as an advert for another one.
 */

/* ---- the arrival bar -------------------------------------------------------
 * A notice, not a control: no glyph, and no outline. An outline on a blue tint is
 * the applied-filter record's form, and this is neither applied nor a filter. */
.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);
}
/* 400px before it gives up the row: below that the button under the sentence reads
   better than four words a line beside it. */
.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; }
/* Got it is the facilitator Contact button, which has no fill because it is drawn on
   a white card. This bar is tinted, and both frames draw the button white on it --
   a control lifted off the notice, not a hole in it -- pressing to the hover grey. */
.pm-optinarrival .pm-facil__contact { background: var(--color-surface-card); }
.pm-optinarrival .pm-facil__contact:active { background: var(--color-surface-hover); }
/* The bar has no bottom margin: what followed it was the search bar, whose own top
   padding was the space beneath. The finder intro follows it now, and its image
   band starts at its very top, so the bar and the photograph touched. The same
   space below the bar as above it (Elowen, 2026-10-07) -- as a margin above the
   band, or, with no image, as the padding the intro's card already sits in. */
.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) {
  /* The phone frame is one row that never wraps: the sentence takes what the button
     leaves and Got it sits to its right, centred on it. The build had carried the
     desktop rule down -- the sentence asking for 400px before it would share the
     row -- and no phone has 400px to give, so the button always fell beneath it
     and the bar stood a third taller for an empty right-hand side.
     12px above and below, where the desktop has 22. */
  .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); }
}

/* ---- switching back --------------------------------------------------------
 * One column at the row measure, because it is read rather than scanned. */
.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);
}
/* The heading and its Optional sit on one baseline, so the qualifier reads as part
   of the question rather than as a line under it. */
.pm-leave__ask { display: flex; align-items: baseline; gap: var(--gap-chip); flex-wrap: wrap; }
/* The button is the width of its label. In a column it would otherwise stretch to
   the measure, and a 640px-wide button reads as the page rather than as one act. */
.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); }
}

/* ---- the tick box and the radio --------------------------------------------
 * The product's own, drawn rather than the browser's: the Standards give the box a
 * 20px square at the inline radius with the action fill, and the radio a 20px
 * circle that becomes a 6px action ring. No native control renders either, and
 * accent-color only tints the shape the browser was going to draw anyway.
 *
 * A real input is still underneath -- visually hidden, not display:none -- so the
 * keyboard, the label, the form and assistive technology all behave normally and
 * only the painting is ours.
 *
 * Used by the switch-back survey and by the meeting change form, which are the two
 * places the handoff draws them. Square = many, round = one, as everywhere else.
 *
 * Centred by default, because a choice that fits one line should sit on that line.
 * .pm-checks--wrap top-aligns instead (drop 67): the survey's choices wrap on a
 * phone, and a box centred against two lines sits between them. */
.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);
}
/* Only where the box is top-aligned: it is square and its label is not, so it sits
   on the first line's cap height rather than on its line box. */
.pm-checks--wrap .pm-check__box { margin-top: 1px; }
.pm-check__box i { font-size: var(--size-glyph-check); line-height: 1; 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);
}
/* An option with no matches is dimmed rather than removed, and its box says the
   same thing: the card line in place of the control line, on the hover fill. */
.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); }
}

/* Round = one. Chosen is a thick ring rather than a dot in a circle: at 20px a
   centred dot and a ring read the same from a hand's length, and the ring is one
   border instead of a second element to centre.

   A circle on every theme, and so not --radius-pill: a square-cornered tenant sets
   that to 3px, which squared the radios and left them looking like the checkboxes
   beside them. Here the shape is the meaning -- "square = many, round = one" -- and
   a theme restyles corners, not what a control says (Elowen, 2026-10-07). */
.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);
}
/* The weight does the same job here as in a filter option: a scanned list of two
   reads as "this one" rather than as two shaded equally. */
.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);
}


/* ============================================================ meeting notes
 *
 * Drop 70 moves the tenant's note into the action block. It used to sit below
 * About, which is after the decision it exists to inform: "wait in the waiting
 * room", "use the side door", "set your display name to your first name" are all
 * part of getting in, and were being read once the reader had already gone.
 *
 * Between the address and the map for an in-person meeting, and so -- since
 * neither of those renders otherwise -- directly after Next meeting for an online
 * or hybrid one.
 */
.pm-notes { display: flex; flex-direction: column; gap: var(--gap-glyph); }
.pm-notes__body { display: flex; flex-direction: column; gap: var(--gap-chip); }
/* Clamped rather than truncated: a note is prose, and three whole lines of it say
   far more about whether to come than one line and an ellipsis. */
.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);
}
/* Opened, the clamp is simply off. */
.pm-notes[data-open="true"] .pm-notes__text { -webkit-line-clamp: none; overflow: visible; }
/* Added by the browser, and only where the note really overflows -- see finder.js.
   The clamp is a height, so whether a given note exceeds it depends on the width it
   is being read at, and the same note can need this on a phone and not on a desk. */
.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); }
}

/* ============================================================ finder intro
 *
 * Drops 76-81. The list's title and the tenant's image and words, above the search
 * bar, in one layout on the list, the map and the location gate: the image as a
 * band, and a card straddling its bottom edge. See meetings/v2/_intro.html.
 *
 * Only the band's height changes between the first page and the ones after it. The
 * overlap is the same on both, so the card rides the same distance up either band.
 */
.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); }

/* A border and no shadow -- the shadow means a popover floating over the page, and
   here it made the search bar beneath look disabled. Its sides are the search
   bar's, so the two line up. */
.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);
}
/* No image, no band, and nothing to overlap (drop 80). No grey fill stands in for
   the missing image: no surface token means "no image". */
.pm-intro:not([data-image]) { padding: var(--space-intro-bare); }
.pm-intro:not([data-image]) .pm-intro__card { margin: 0; }

/* The title and the time zone line share one wrapping baseline row. A name too long
   for the row wraps balanced, and the time zone line drops beneath it. */
.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; }
.pm-intro__zone { font: var(--type-meta) var(--font-text); color: var(--color-ink-muted); }
/* Until the browser has said which zone, there is no name to put in the brackets. */
.pm-intro__zonename:has(.tz-common-name:empty) { display: none; }

/* The tenant's text, in body prose. After the first page it is the Notes component's
   clamped block as well, and two classes keep this type on a phone, where a note
   steps down and this does not. A tenant's own <p> must not bring its margins into
   a clamped block. */
.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; }
/* Opened, .pm-notes[data-open] takes the clamp off: three classes to these two. */
.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); }
  /* Stacked, the time zone line a hairline under the title. */
  .pm-intro__titles { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .pm-intro .pm-notes__text { -webkit-line-clamp: var(--lines-intro-mobile); }
}

/* ================================================================= join gate
 *
 * Drop 72. "Before you join": one question per step, over the page.
 *
 * It replaces two stacked Bootstrap modals -- "Are you sure this meeting is for
 * you?" then "Online Meeting Disclaimer", Next / I understand / Cancel. Three
 * deliberate taps, two walls of tenant prose, and the only way out put you back
 * on the meeting you had just been told was not for you.
 *
 * Three bands, the same at both breakpoints: a head that carries the count and
 * the way out, a body that is the question, and a footer that never scrolls. The
 * crisis line lives in that footer rather than at the end of the body, so it is
 * in view the moment the dialog opens however long the step is -- the one line in
 * the product that must never need a scroll.
 *
 * Desktop centres a 520px card on the scrim; the phone takes the same three bands
 * to the bottom of the screen as a sheet that is only as tall as its content. The
 * steps are all in the markup and one is shown at a time -- see finder.js.
 */

/* The root is .pm-joingate, not .pm-gate. That name is the location gate's -- the
   "Where are you looking?" block on the list -- and while this dialog shared it, the
   rule below hid that block on every tenant that requires a location, and the
   location gate's own top rule drew a line across the top of this scrim. The
   elements keep their pm-gate__ names; none of them is one the location gate has. */
.pm-joingate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--layer-modal);
  align-items: center;
  justify-content: center;
}
.pm-joingate[data-open="true"] { display: flex; }

.pm-gate__scrim {
  position: absolute;
  inset: 0;
  background: var(--color-scrim);
}

/* Focus lands on the panel when the dialog opens, for the same reason the filter
   sheet's does: a ring drawn round Close is the first thing a sighted keyboard
   user would see, and it reads as "leave" rather than "you are being asked
   something". outline: none is safe only because the panel is never reached by
   tabbing -- focus is put here once, and the cycle inside it is trapped. */
.pm-gate__panel:focus { outline: none; }
/* Two classes deep, which is the weight of the blanket `.pm :focus-visible`: that
   rule rounds whatever it rings to --radius-inline, and the panel is the one thing
   wearing focus here that is not a control. Without this the dialog's corners
   change shape the moment it opens. */
.pm-joingate .pm-gate__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--size-gate);
  /* Not drawn, and invisible at every drawn size: three flagged audiences with a
     sentence each still clears a laptop. It is here so a tenant who writes six
     cannot push the answers off the bottom of the screen -- the body scrolls
     between the two fixed bands, which is the shape the drop gives the phone. */
  max-height: calc(100dvh - var(--gap-page));
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-gate);
  overflow: hidden;
}

/* One step at a time. All of them are in the markup: the steps are sentences the
   server already had, and a dialog that builds each one as it is reached has a
   frame where it is empty. */
.pm-gate__step { display: none; }
.pm-gate__step[data-active="true"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ---- head: how far in you are, and the way out ---- */
.pm-gate__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--gap-chip);
  padding: var(--space-gate-head);
}
/* Takes the row, so the close button is at the right edge whether or not there is
   a count in the middle or a back arrow before it. */
.pm-gate__count { flex: 1 1 auto; }
.pm-gate__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--size-tap-min);
  height: var(--size-tap-min);
  color: var(--color-ink-body);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.pm-gate__icon i { font-size: var(--size-glyph-row); line-height: 1; }
@media (hover: hover) {
  .pm-gate__icon:hover { color: var(--color-ink-strong); }
}
.pm-gate__icon:active { color: var(--color-ink-strong); }
/* The back arrow pulls its own tap box back onto the gutter, so the count beside
   it starts on the same line as the question below it. */
.pm-gate__head [data-gate-back] { margin-left: var(--space-gate-back); }

/* ---- body: the question, and whatever it takes to answer it ---- */
.pm-gate__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  padding: var(--space-gate-body);
}
.pm-gate__title {
  margin: 0;
  font: var(--type-gate-title) var(--font-display);
  color: var(--color-ink-strong);
  text-wrap: balance;
}

/* One flagged program or audience: its name, and the one sentence that says who
   it is for. No "Program" and "Audiences" labels over them -- the decision is the
   same either way, and the labels are the taxonomy's words rather than the
   reader's. The hairline is on the top of every row, including the first, so the
   list starts with a line under the question rather than floating under it.

   The stack has no gap of its own: those hairlines are the gap, and the body's
   16px between blocks would open between every pair of them. */
.pm-gate__rows { display: flex; flex-direction: column; }
.pm-gate__row {
  display: flex;
  flex-direction: column;
  gap: var(--gap-hairline);
  padding: var(--space-gate-row);
  border-top: 1px solid var(--color-line-row);
}
.pm-gate__name { font: var(--type-subhead) var(--font-text); color: var(--color-ink-strong); }
.pm-gate__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 tenant's disclaimer, in the Notes component: the same three-line clamp and
   the same Read more, added by the browser only where the text overflows. The
   drop sets this step's title 4px closer to its body than a question's -- prose
   under a heading, rather than a list the question is asking about. */
.pm-gate__step--disclaimer .pm-gate__body { gap: var(--gap-inline); }
/* Disclaimers are stored as text a tenant typed, and their line breaks are the
   paragraphing. The modal this replaces honoured them; losing them here would
   turn three short paragraphs into one block on the most-read screen. */
.pm-gate__disclaimer .pm-notes__text { white-space: pre-line; }

/* ---- footer: the crisis line, then the answers. Never scrolls. ---- */
.pm-gate__foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
  padding: var(--space-gate-foot);
  border-top: 1px solid var(--color-line-row);
}
/* Drop 106's Standards give the crisis line here the notice inset, --space-notice
   (13px 15px), and the mock draws it at 9px corners with its glyph at line-height
   1.35. Contact us and Help keep the shared crisis note's shape. */
.pm-gate__foot .pm-crisisnote {
  padding: var(--space-notice-y) var(--space-notice-x);
  border-radius: var(--radius-control);
}
.pm-gate__foot .pm-crisisnote > i { line-height: 1.35; }
.pm-gate__answers {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--gap-inline);
}
/* The last step has nothing left to answer, so its way out is a quiet link at the
   other end of the row rather than a second button beside the first. */
.pm-gate__step--disclaimer .pm-gate__answers { justify-content: space-between; }
/* A 44px target. It takes no height from the row, which the 52px button sets. */
.pm-gate__out {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-tap-min);
  line-height: 1;
}
/* Side by side, each button is as wide as its words and never wraps mid-label. */
.pm-gate__answers .pm-button { flex: 0 0 auto; white-space: nowrap; }
/* The block sets the box, the modifier sets the type -- the same split the action
   block makes, and for the same reason: a secondary that inherits the primary's
   17px stops being a secondary. .pm-button is already --size-button and 0 20px,
   which is what the drop draws. */
.pm-gate__answers .pm-button:not(.pm-button--secondary) {
  font: var(--type-cta) var(--font-text);
}

@media (max-width: 767px) {
  /* A sheet at the bottom of the screen, only as tall as its content, stopping
     short of the top so the scrim still says the page is behind it. */
  .pm-joingate { align-items: flex-end; }
  .pm-joingate .pm-gate__panel {
    width: 100%;
    max-height: calc(100dvh - var(--space-gate-top));
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    box-shadow: var(--shadow-sheet);
  }
  .pm-gate__head {
    min-height: var(--size-gate-head-mobile);
    padding: var(--space-gate-head-mobile);
    box-sizing: border-box;
  }
  .pm-gate__head [data-gate-back] { margin-left: var(--space-gate-back-mobile); }
  .pm-gate__body { padding: var(--space-gate-body-mobile); }
  .pm-gate__foot {
    padding: var(--space-gate-foot-mobile);
    padding-bottom: var(--space-safe-bottom);
  }
  /* Source order is the desktop's left-to-right, so a reader meets No before Yes
     the way they do on a wide screen; the phone reverses the stack so the answer
     a thumb reaches first is the one most people want. */
  .pm-gate__answers {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--gap-chip);
  }
  .pm-gate__step--disclaimer .pm-gate__answers { gap: var(--gap-hairline); }
  /* Stacked, each one is the width of the column instead -- and may wrap, because
     a label that is two words longer in another language has nowhere to go. */
  .pm-gate__answers .pm-button { width: 100%; white-space: normal; }
  /* Full width, so centring it has something to centre it in. Both halves are
     needed: .pm-action-link is inline-flex at width: fit-content, which is as wide
     as its words however the column is stretched. */
  .pm-gate__out { display: flex; width: auto; justify-content: center; }
}

/* ============================================================ meeting change
 *
 * Drops 58 and 59: a facilitator's meeting change request, with no login -- form,
 * check your email, confirm or reject, done. Three things are new to the product
 * and are written here first (Design Standards gains the last two, drop 59):
 * the cancel calendar, the select field, and the settings row.
 *
 * Measurements are the drop's, through the Standards' tokens wherever one already
 * holds the value. The few that are this screen's alone -- the settings label
 * column, the calendar's cells -- are named in the block below.
 */
:root {
  --measure-change: 580px;            /* the form column (drop 58) */
  --size-setting-label: 170px;        /* a settings row's label column */
  --size-cal-month: 270px;            /* one desktop month */
  --size-cal-cell: 36px;
  --size-cal-cell-m: 44px;            /* a phone's calendar day is a tap target */
  --size-cal-weekday: 22px;
  --size-list-max: 290px;             /* a select field's list, before it scrolls; padding included (drop 110) */
  --size-step: 24px;                  /* the numbered "How changes work" circles */
  --space-select-option: 9px 16px;
  /* A tick box row carries its height in padding rather than a min-height alone,
     so a label that wraps to two lines keeps the same space above and below. */
  --space-check: 11px 0;
  --space-select-trigger: 0 14px;
  --space-select-trigger-wrap: 9px 14px;
}

/* One column beside the aside, the form's width rather than Contact's. */
.pm-pagebody--change {
  grid-template-columns: minmax(0, var(--measure-change)) var(--size-aside);
}
/* Blocks a band apart: each section is its own decision. */
.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; }

/* "Currently: ... Undo" -- in the slot an error message uses, because it is the same
   kind of note about the control above it. Always "Currently", never "Was": nothing
   has changed yet. */
.pm-change__was {
  display: flex;
  gap: var(--gap-chip);
  align-items: baseline;
  font: var(--type-helper) var(--font-text);
  color: var(--color-ink-subtle);
}
/* Any author display beats the hidden attribute's, so it is restated. */
.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; }
}

/* ---- the cancel calendar --------------------------------------------------
 * Only the meeting's own days are buttons; every other day is plain grey text, so
 * a date the meeting does not meet on cannot be picked. A picked day takes the
 * product's canceled treatment, and picking it again restores it. */
.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;
}
/* The arrows sit in the month's own edges, so the grid lines up with the title. */
.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; }
.pm-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, var(--size-cal-cell));
  gap: var(--gap-hairline);
}
/* When its column is too narrow for two months, the cancel calendar shows one as a
   phone does at any window width: full width, 44px days. finder.js sets data-months;
   the date field's one month never carries it, so it keeps its desktop size. */
.pm-cal[data-months="1"] .pm-cal__month { width: 100%; }
.pm-cal[data-months="1"] .pm-cal__grid { 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); }
}
/* The date field's chosen day wears the product's selected state, as a chosen row
   does: the selected surface inside the action colour's edge. */
.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); }

/* ---- settings rows (Design Standards, drop 59) -----------------------------
 * For a value that can be changed but rarely is: label, current value, and a
 * Change button that is the facilitator Contact button. Change opens the row in
 * place, the control indented under the value; one row is open at a time. */
.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; }
/* Open, the value is the control's to show.

   display, not visibility: the value is still being rewritten while the row is
   open, and `visibility: hidden` keeps an invisible string in the layout. Ticking a
   third week took "First and Second Friday of each month" to "First, Second and
   Third Friday of each month", which wrapped to a second line and grew the head --
   so the whole Schedule row, its Change button included, moved down while nothing
   visible had changed.

   The button is placed on its own track below rather than left to auto-placement,
   because auto-placement is what made the hidden value load-bearing: take the item
   away and the button slides into the column the value had been holding. */
.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); }

/* The Verifications rows' two answers and the weeks of the month use the product's
   own radio and tick box (above). They used to be native inputs tinted with
   accent-color, which draws the browser's shape at the browser's radius -- the one
   place in the product where a control was the platform's rather than ours. */

/* ---- the select field (Design Standards, drop 59) ---------------------------
 * Never the OS dropdown. The trigger is a field; the list is the dropdown popover
 * of radio rows, aligned to the focus ring's outer edge like the suggest list. */
.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); }
.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); }
/* A value that would run long -- a name and an email -- wraps rather than truncates,
   so the address the link goes to is always readable in full. */
.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;
}
/* Past six options it scrolls, and a fade says there is more below. */
.pm-selectfield--long .pm-selectfield__popover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--gap-fade);
  background: linear-gradient(rgba(255, 255, 255, 0), var(--color-surface-card));
  pointer-events: none;
}
/* The single-value filter rows, full-bleed in the list. Chosen is the radio and the
   600 label, not a fill: the list is a choice being made, not a state applied. */
.pm-selectfield .pm-option {
  align-items: center;
  gap: var(--gap-inline);
  min-height: var(--size-tap-min);
  padding: var(--space-select-option);
  border: 0;
  /* The list is a column flexbox with a max-height, so a row taller than 44px --
     a meeting's two lines (drop 108) -- would otherwise shrink to its minimum and
     spill into the next. Rows keep their height; the list scrolls. */
  flex-shrink: 0;
  /* The row holds its own hidden radio. Without this the radio is placed from the
     popover, outside the scrolling list, so focusing one low in a long list --
     which every pick does -- scrolled the popover itself; it stayed scrolled, and
     the list reopened shifted up with blank space beneath it. */
  position: relative;
}
.pm-selectfield .pm-option--selected,
.pm-selectfield .pm-option--selected:active { background: none; }
/* The label is centred on its 44px row, as the radio is and as drawn. The filter
   rows sit theirs on a baseline for the sake of a count, and these have none. */
.pm-selectfield .pm-option__text { align-self: center; }
@media (hover: hover) {
  .pm-selectfield .pm-option:hover { background: var(--color-surface-hover); }
}

/* Disabled -- nothing to pick yet (Design Standards → Select field): the message
 * and the chevron in --color-ink-disabled, and no fill or border change, so the
 * hover border is withheld too. */
.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); }
}

/* Meeting rows (drops 108 and 114, the Verifications meeting picker): each option
 * is a meeting, split the way a meeting row is. The start time in a fixed column
 * with tabular figures, then the place -- or a National or Regional meeting's scope
 * pill -- then "with" the facilitators and the number in meta type.
 *
 * Desktop: one line that never wraps, each part after a separator middot, all on
 * one baseline -- the radio too, through the zero-width space finder.js gives it.
 * Phone (below): the place alone on the first line, the rest beneath it.
 *
 * The trigger shows the chosen meeting in this same layout, at the trigger's own
 * 16px/1.3; in the list it is the select rows' 15px/1.3, 600 when chosen. The pill
 * keeps its own 700 either way. */
.pm-selectfield .pm-option--meeting { align-items: baseline; }
.pm-option--meeting .pm-radio__dot { font: var(--type-label) var(--font-text); }
.pm-pickrow {
  display: flex;
  align-items: baseline;
  gap: var(--gap-inline);
  min-width: 0;
}
.pm-pickrow__time { flex: 0 0 var(--size-picker-time); font-variant-numeric: tabular-nums; }
/* nowrap and hidden are only a backstop: finder.js (fitPickrow) shortens the
   facilitators until the line fits. */
.pm-pickrow__main {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-subtle);
}
.pm-pickrow__place { color: var(--color-ink-strong); }
.pm-selectfield__trigger .pm-pickrow__place { font: var(--type-body) var(--font-text); line-height: 1.3; }
@media (max-width: 767px) {
  .pm-pickrow__main {
    display: flex;
    flex-direction: column;
    gap: var(--gap-hairline);
    overflow: visible;
    white-space: normal;
  }
  .pm-pickrow__main > .pm-pill { align-self: flex-start; }
  .pm-pickrow__lead { display: none; }
  /* At most two lines; the clamp is the backstop, fitPickrow the rule. */
  .pm-pickrow__meta {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    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; }
/* After the font shorthand above, which resets it. */
.pm-selectfield__list .pm-pickrow__time { font-variant-numeric: tabular-nums; }

/* The same dropdown at both widths (Design Standards → Select field): a 20px radio
 * and a 15px label, 600 when chosen. The phone's bigger, thumb-sized rows belong to
 * the filter sheet, and every select field steps back out of them here -- the
 * radius picker (drop 98), the Verifications meeting picker (drop 108) and Meeting
 * Change's fields alike (Elowen, 2026-11-03). */
@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);
  }
}

/* ---- the date field ---------------------------------------------------------
 * Never the browser's date picker. The select field, with one month of the
 * calendar above in its popover where the list would be; so the trigger, the ring
 * and the popover's surface are the select field's, and only what differs is here.
 * The glyph names what opens rather than pointing at it, so it does not turn over;
 * the popover is as wide as a month, not as wide as its field. */
.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); }

/* ============================================================ feature tips
 *
 * The guided tour (drops 82 and 83; Option - Feature walkthrough, 1a). The page
 * dims under the phone menu's scrim, the place a tip is about stays lit in a
 * cut-out, and the tip is a card on the popover surface beside it.
 *
 * finder.js (initTour) cuts the hole and puts the card by the place; the sizes it
 * works from are the custom properties on .pm-tour, so they are set here and a
 * breakpoint changes them here. The drop gives all of them as literals.
 */
:root {
  --size-tour-card: 340px;
  --size-tour-arrow: 12px;
  --space-tour-next: 0 18px;
}
.pm-tour {
  --tour-halo: 9px;                 /* how far the cut-out stands off the place */
  --tour-halo-radius: 12px;
  --tour-gap: 16px;                 /* the place's edge to the card */
  --tour-arrow-inset: 40px;         /* the arrow, in from the place's left edge */
  --tour-gutter: var(--space-gutter);
}
/* Any author display beats the hidden attribute's, so it is restated. */
.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);
}
/* "The arrival bar is spared": it is raised over the scrim rather than cut out of
   it, so the cut-out stays one shape. Everything else dims, the navbar included. */
.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);
}
/* Focus is put on the card so a screen reader reads it; it is not a control. */
.pm-tour__card:focus { outline: none; }
/* A square on its corner, half out of the card's top edge, wearing the two sides
   of the card's border that show. Under the place when the card is over it. */
.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;
}
/* 44px to press, drawn back into the card's corner by the same 12px. */
.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); }
}
/* Alone on the first tip and on a tour of one, where it keeps the right. */
.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;
  }
  /* The column's width, gutter to gutter, rather than the desktop card's 340px. */
  .pm-tour__card {
    width: calc(100vw - var(--tour-gutter) * 2);
    padding: var(--gap-block);
  }
}

/* ---- send ------------------------------------------------------------------ */
.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; }

/* ---- how changes work (the aside) ------------------------------------------ */
/* The steps come first and need no rule above them; the support line keeps its. */
.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);
}

/* ---- the pages after the form ------------------------------------------------ */
.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; }
/* Reject stands beside Confirm at Confirm's height: the secondary of a pair. */
.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; }

  /* One month, full width, 44px days. */
  .pm-cal__month { width: 100%; }
  .pm-cal__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pm-cal__day, .pm-cal__off { height: var(--size-cal-cell-m); font-size: 15px; }
  /* The date field's popover spans its field again, as the select field's does. */
  .pm-selectfield--date .pm-selectfield__popover { right: calc((var(--focus-offset) + 2px) * -1); }

  /* The label sits over the value, with Change on the right at 44px. */
  .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); }

  /* The confirm table becomes the check-your-email list: label, new value, and
     what it is now. */
  .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; }
  /* Stacked, the pair matches widths: Confirm is already full width here. */
  .pm-change__decidebuttons .pm-button { flex: 1 1 100%; }
}

/* ============================================================ cookie consent */

/* Drop 101 (Option - Cookie consent, 1c). A bar, not a dialog: no scrim and no held
   focus, so the page stays usable underneath it. Text left, the two buttons right,
   16px apart (Bar controls); on a phone they stack, the buttons side by side at
   equal widths. The bar surface is the docked Support bar's. */
.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; }
/* Focused only when the footer's Cookies link opens it, so a screen reader names
   it; the bar is not a control, so it takes no ring. */
.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);
}
/* PM1's existing 30px mark size -- the drop's one literal outside the tokens. */
.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); }
/* Bar text is --type-meta (Bar controls), like the Support bar's. */
.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; }
}

/* ============================================================ error card */

/* Drop 89. One layout for five cases -- a page or a meeting that is not there, a
   meeting that has ended or is on hiatus, a fault of our own: the page's own navbar
   and footer, and between them one card on the well. The well is the results
   list's ground, so the card reads as the "nothing here" it is rather than as a
   page with most of itself missing. */
.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; }
/* Mode, then program and town in the quieter ink, a middot between each. It wraps
   between them, never inside one, and stays centred when it does. */
.pm-errorcard__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--gap-glyph) var(--gap-chip);
  font: var(--type-meta) var(--font-text);
  color: var(--color-ink-muted);
}
/* The mode's glyph on its own line-height. Left to inherit the line's 1.5 it is a
   22.5px box in a 21px line, and the whole line -- and the card -- grows 1.5px. */
.pm-errorcard__meta .pm-mode i { line-height: 1; }
.pm-errorcard__sentence {
  font: var(--type-body) var(--font-text);
  color: var(--color-ink-body);
  text-wrap: pretty;
}
/* Under a meeting's meta line the sentence stands a hairline further off: it is
   about the meeting, where the line above it is the meeting. */
.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); }
  /* One under the other, each the card's width and --size-button tall -- the
     secondary too, which stands at the primary's height beside it on desktop. */
  .pm-errorcard__actions { flex-direction: column; align-self: stretch; }
  .pm-errorcard__actions .pm-button { width: 100%; height: var(--size-button); }
}
