/*
 * HAR SHALOM CEMETERY — the shared look: tokens, type, the site header, the shared classes,
 * the ☰, the two numbers, the notes and the footer.
 *
 * Module   public/harshalom/static/hs.css  (served at /harshalom/static/hs.css)
 * Version  0.023 · 2026-12-04 · harshalom/0.039-header-fit (the count of its changelog entries; no line
 *          before 0.016)
 * Owner    lane D (design system + site shell + Home), was lane A1
 *
 * v2 — LIGHT (OWNER_FEEDBACK_20261029 item 1: "extremely dark, depressing, unclear", "reading
 * on red, reading on green", "too big, I have to scroll", "set up like an app"; the contract
 * is /srv/data/harshalom/spec/DESIGN_V2.md). A white and very light stone page, dark ink
 * text, Har Shalom green only as a thin accent (links, the active tab, focus), gold for one
 * thin rule at most. No dark block anywhere, no text on solid red or green, buttons quiet
 * (outlined or softly tinted), type proportionate (15px body on a phone, 16px from a tablet).
 *
 * THREE EXPERIENCES (owner, item 11), designed each, not one layout squeezed:
 *   PHONE    max-width 699px   compact 52px header (name | ☰), a tab strip that scrolls
 *                              sideways, one panel at a time, the two numbers in a slim
 *                              light bar at the bottom (48px), tel: links.
 *   TABLET   700px - 1199px    a title row (name | the two numbers) and a row of tabs, both
 *                              sticky; two panes side by side where it helps; touch >= 44px.
 *   COMPUTER min-width 1200px  one 64px row: name | tabs | the two numbers; panels side by
 *                              side; hover states; focus rings; the main view fits the screen.
 *
 * TOKENS (DESIGN_V2) on `.hs`; every lane uses them, nobody hard-codes a colour:
 *   --hs-bg --hs-surface --hs-line --hs-line-2 --hs-ink --hs-muted --hs-faint
 *   --hs-accent --hs-accent-soft --hs-accent-ink --hs-gold --hs-red --hs-red-soft
 *   --hs-green --hs-green-soft --hs-dot --hs-r --hs-shadow --hs-sans --hs-serif
 *   plus, for layout: --hs-fs (body size), --hs-h1, --hs-h2, --hs-site-h1 (the header's first
 *   row), --hs-sticky-top (how much of the header stays on screen: 0 on a phone, and 0 on a
 *   phone held sideways, where the header scrolls away; use it as `top:` for a page's own
 *   sticky element), --hs-callbar-h (the bottom bar on a phone; 0 from a tablet up, kept
 *   equal to the bar by static/js/callbar.js).
 *   v3 (2 Nov 2026), FOR EVERY LANE — sizes nobody goes under, and the big-screen step:
 *     --hs-fs-min    13px  the smallest text anywhere (DESIGN_V2 "small"; 14-15px on a big screen)
 *     --hs-tap       44px  the smallest touch target (a phone, a tablet, any coarse pointer)
 *     --hs-prose-max 75ch  a readable line of prose: `max-inline-size: var(--hs-prose-max)`
 *                          (mark the rule `fullbleed-ok`, Rule 40)
 *     --hs-field-max 640px a readable form field (720px from 1800px, 800px from 2400px)
 *     --hs-side-w          the narrowest a side pane may be beside a map or a list
 *                          (280px tablet, 320px computer, 400px from 1800px, 460px from 2400px)
 *   From 1800px wide (a 1920 or 2560 screen) the type, the header and the side panes step up
 *   (body 17px, h1 32px; 18px and 36px from 2400px), so the screen is used, not a thin
 *   strip: pages stay full-bleed and only prose and fields cap their width.
 * THE v1 NAMES ARE KEPT AS ALIASES of the light palette, so a page not yet moved to v2 never
 * goes dark or breaks: --hs-green-2 --hs-green-3 --hs-stone --hs-stone-2 --hs-stone-3
 * --hs-gold-2 --hs-red-bg --hs-call-red --hs-call-green --hs-head-gradient (now light)
 * --hs-cream --hs-on-green (text on green; inside the light header and title they turn to
 * the muted ink) --hs-shadow-card --hs-shadow-soft. `--hs-green` and `--hs-red` take the
 * DESIGN_V2 values (#2f7a52, #b3261e).
 *
 * SHARED CLASSES (DESIGN_V2 "Shared pieces"):
 *   .hs-page        on a page ROOT (`hs hs-page`): a column — header, title, main, footer
 *                   (the footer sits at the bottom of a short page). On an element INSIDE the
 *                   root: the page body grid (full width, Rule 40; padding 12/20/24px).
 *   .hs-panel       a white surface, 1px line, 10px radius, 16px padding; .hs-panel__h its title
 *   .hs-btn         quiet (outlined); .hs-btn--primary (the one solid accent action of a view,
 *                   44px phone / 40px desktop); .hs-btn--ghost (no border)
 *   .hs-chip        a small rounded tag or toggle ([aria-pressed|selected=true] or .is-on)
 *   .hs-input       a text box (16px text on a phone so iOS does not zoom)
 *   .hs-tabs        in-page tabs (List | Map on a phone): children a/button, the chosen one
 *                   [aria-selected=true], [aria-current] or .is-active
 *   .hs-split       two panes: stacked on a phone, side by side from a tablet;
 *                   .hs-split--side = a narrower first pane (a list beside a map)
 *   .hs-he          serif + rtl;  .hs-sr  screen-reader only;  .hs-nw  no wrap
 *   v1, kept and restyled light: .hs-card (= panel), .hs-main (reading column), .hs-btn--gold,
 *   .hs-rule, .hs-pill, .hs-head, .hs-topbar, .hs-menu, .hs-callbar, .hs-note, .hs-install,
 *   .hs-footer, .hs-skip.
 *
 * 🩸 A PLAIN FILE, NOT A BUNDLER IMPORT. app/harshalom/layout.tsx links it with
 * `<link rel="stylesheet" precedence="next">`. A stylesheet imported through the bundler is
 * served from /_next/, which the offline worker never touches (Rule 31). No build step
 * touches it: vendor prefixes are written by hand, no nesting, no @import.
 *
 * 🩸 EVERY RULE IS SCOPED UNDER `.hs`. Once a stylesheet is on the page it stays for the rest
 * of the session — a bare `body {}` or `:root {}` here would restyle the admin console a
 * visitor opens next. The @font-face lives in layout.tsx. Every public page's OUTERMOST
 * element carries `class="hs"` (plus `hs-page` on inner pages, `hs-home` on Home).
 *
 * Rule 40: shells fill the screen; only reading columns cap their width, each marked
 * `fullbleed-ok`.
 *
 * CHANGELOG (Rule 45)
 *   2026-12-03 harshalom/0.035-saved (0.022, #8754; the owner's phone, 3 Dec: "It says the address up in a box,
 *     and then it says the address again on the bottom. It says the phone number, and then it says the phone
 *     number again") — each said once on a screen: where the page shows the two numbers already (the call bar
 *     on a phone; its pills in the header from a tablet up), the footer leaves out its two numbers' lines,
 *     on every public page with the footer (all of them carry the call bar); where the page shows the
 *     address itself (Home's card, Contact), the footer leaves out its address too. Its links (Directions,
 *     Tefilos, Contact, Feedback, Sign in, Dedicate) and the version stay. Paper keeps the name, the address
 *     and the numbers. The block "SAID ONCE" at the end of this file.
 *   2026-12-04 harshalom/0.039-header-fit (0.023; the desk's live check of 0.036, 4 Dec ~12:25 AM ET: "the header
 *     brand collides with the nav at laptop widths ... 'Har Shalom Cemetery' runs into 'Search a Name'" at 1200 and
 *     1280; "Contact" touching the Chevra Kadisha pill) — measured in Chrome: the tabs need ~676 px and had 577 px
 *     at 1200-1365 (663 at 1366). The one row stays (two rows would take 43 px from the map and the photo on a
 *     laptop, which 0.018 promised never to shrink); at 1200-1439px it makes room instead: the two header pills
 *     drop their phone mark (the label and the number stay), the pills, the tabs and the row's gaps are a little
 *     slimmer (the words stay 13px; the tabs' sides slimmest at 1200-1279px), and "Cemetery" steps aside up to 1365px (the Hebrew line under the name
 *     still names it all). scripts/harshalom/check-header-fit.mjs measures it: nothing overlaps at
 *     1180/1200/1280/1366/1439/1440/1920.
 *   2026-12-01 agy/harshalom-032 (0.021) — add top-bar English / אידיש language toggle (.hs-site__lang) with
 *     pure English default (data-hs-lang="en", keeping Hebrew tefilos & grave names intact) and full bilingual
 *     Yiddish mode (data-hs-lang="yi"), plus official Har Shalom vector crest in .hs-brand__mark.
 *   2026-12-01 agy/harshalom-031 (0.020) — restore clean slim mobile tab strip and single-column ☰ menu list
 *     matching David's original design (replacing bulky 62px icon-boxes and 92px 2-column menu boxes).
 *   2026-11-26 agy/harshalom-023 (0.019) — keep compact header tab spacing across 1440-1699px so 7 bilingual
 *     tabs + brand + two call pills + Sign in never overlap on 1440px laptop screens.
 *   2026-11-11 harshalom/0.018-pages2 (0.018) — P2-5: in the Feedback panel's "Just talk" its Send is
 *     that view's one action, so it stays solid green (the R13 theme had made it the quiet outline, and
 *     its off state, 40% of a light chip, looked almost like its on state): off is the site's grey with
 *     muted words. Reached by its own classes (.ml-auto.bg-emerald-600) under [data-feedback-ignore]
 *     behind body:has(.hs:not(.hsa)), as R13: Har Shalom's public pages only, never another tenant.
 *   2026-11-11 harshalom/0.018-pages2 (0.017) — P2-1: below 700px the install card (install-hint.js
 *     0.010) is a strip docked on top of the call bar, the whole width, light like the bar
 *     (.hs-install[data-hs-dock], bottom: --hs-callbar-bar-h), in room the page keeps for it (callbar.js
 *     counts it in --hs-callbar-h), so it shows on the first screen of every page and covers nothing the
 *     site lays out above the bar; Android's extra line is left off the strip. The iPhone's ‘Add to
 *     Home Screen’ never breaks inside (.hs-install__name).
 *   2026-11-11 harshalom/0.018-pagesB (0.016) — the audit of 11 Nov after the owner's "Same thing like
 *     this across the board": R14 the tablet's slimmer tabs reach to 819px (seven tabs were 802px, so at
 *     768 the last read "Cont…"); R16 the ☰ foot's "נדבה און הקדשה" (two lines at 320) and the 404's
 *     "זוך א נאמען" (two lines at 412/430) stay whole; R13 the platform's Feedback panel in the site's
 *     look on Har Shalom's public pages only (green for the platform's blue, no text under 13px,
 *     "Send feedback" on one line, 44px targets on a touch screen; the launcher's colour only, never its
 *     size or place), reaching it by its own marks behind body:has(.hs:not(.hsa)).
 *   2026-11-11 release 0.015 lead (the tefilos checker of the fixes) — on a phone the iPhone install
 *     card (.hs-install) steps aside while the ☰ is open, as the Feedback button does: the ☰'s last
 *     row lay under it.
 *   2026-11-11 harshalom/0.015-fix2-tefilos (second review) — the ☰ on a phone stops above the call bar
 *     (static/js/menu.js; it lay under the bar, whose z-index is above the header's) and keeps its own
 *     scrolling (overscroll-behavior: contain); its Tefilos section is closed until the 44px ⌄ at the end
 *     of the Tefilos row opens it (.hs-menu__li-tf, .hs-menu__tf-sum, .hs-menu__tf-body), so the closed ☰
 *     is as tall as with the Tefilos row alone; the platform's Feedback button steps aside while the ☰ is
 *     open (the ☰ has its own Feedback); View · Print · Share never print on paper.
 *   2026-11-11 harshalom/0.015-tefilos (a request sent from the site, 9 Nov 2026) — .tf-acts (View ·
 *     Print · Share, on every Tefilos list card and in the ☰; here because the ☰ is on every page and
 *     tefilos.css is not) and the ☰'s Tefilos section (.hs-menu__tf*).
 *   2026-11-06 harshalom/0.013-site (audit 6 Nov, B-F9) — the grave menu's look (.hs-ctx, moved whole from
 *     map.css, its 44px touch rule and its print rule with it): names open it now, on the yahrzeit page too,
 *     which has no map sheet. On a touch screen a name in a list bound to it (data-hs-names) has no iOS
 *     link callout and no text selection, so a held finger reaches the menu.
 *   2026-11-06 harshalom/0.013-site (review round 2, B-F9) — that rule now matches where the mark sits on
 *     the page root itself (`.hs[data-hs-names]`: Search and Yahrzeits); it matched only the plan's sheet.
 *   2026-11-06 harshalom/0.013-site (audit 6 Nov, A-02) — .hs-note__day: the red note's "on Motzei Shabbos
 *     (Saturday night)" after the time, bold like the time, in ink, free to wrap.
 *   2026-11-02 fix/hs-v32-site — print: no room for the Feedback button (--hs-launcher-room) or the install
 *     card (--hs-install-h) on paper; 142px under an open grave's pane pushed its map onto a 2nd page.
 *   2026-11-02 fix/hs-phone-tidy (v3.1 tidy lane) — the install card never covers a text box (a compact
 *     corner card on a short screen; install-hint.js keeps it back while it would, polish e). Print: the
 *     footer is plain compact lines on paper
 *     (the 44px touch rule matched a sheet under 1200px and spilled a grave's footer onto a blank 2nd
 *     page, polish a).
 *   2026-10-28 feat/harshalom-cemetery-site — created from TAB_SITE_SPEC §2-3, §14, §15.2
 *     (Tab AI's site v39, read for behaviour; none of its CSS is copied).
 *   2026-10-28 review fixes — moved from app/harshalom/hs.css to a static file the worker
 *     precaches (offline pages had no styles); the install hint's slot.
 *   2026-10-29 feat/harshalom-v2-light, lane D — v2: light. DESIGN_V2 tokens with the v1 names
 *     as light aliases; the site header in three experiences (sticky from a tablet); the
 *     light page title; the shared classes .hs-page .hs-panel .hs-btn(--primary|--ghost)
 *     .hs-chip .hs-input .hs-tabs .hs-split; the ☰ phones only; the two numbers as light
 *     pills (bottom bar on a phone, the header's corner from a tablet); the "copied" note;
 *     a small light footer; print leaves the chrome off.
 *   2026-10-29 feat/harshalom-v2-light, shell fix lane — "Har Shalom Cemetery" stays whole from
 *     1280px (it steps aside only at 1200-1279px; the tabs are slimmer at 1280-1439px instead);
 *     on a tablet buttons and the Home pill keep 44px touch targets (40px from a computer up);
 *     on a short computer screen (<= 800px tall) the page title block is slimmer, so the main
 *     view of a page fits a 1366x768 laptop.
 *   2026-11-02 feat/harshalom-v3-audit, lane L2 — the shared frame on every device (audit
 *     V-05 V-06 V-22 V-24 V-25 V-26 V-27 V-29 V-48 V-52 V-56, V-16 footer half): the install
 *     card is centred on the screen (its × was off the right edge, so it never went away)
 *     with a 44px ×; on a phone the bottom bar steps aside while a text field has focus, and
 *     every control keeps clear of it when it scrolls into view; the call pills are 44px tall
 *     with 13px labels that are never cut mid-word (a label that does not fit drops whole);
 *     from a tablet up the pills are drawn INSIDE the header (callbar.js copies them into
 *     HsHead's slot), so Tab reaches them where they sit, not after the footer; a phone held
 *     sideways gets a header that scrolls away; the tab strip fits from 700px, fades at the
 *     edge that has more, and keeps its tab in view; one solid 2px focus ring on every text
 *     field; the tokens --hs-fs-min --hs-tap --hs-prose-max --hs-field-max --hs-side-w and a
 *     big-screen step from 1800px; 44px targets for the Home pill, the footer's numbers and
 *     links, the ☰ and the notes' ✕; the footer's Feedback link and version line; print
 *     leaves the footer's links, the tab strip, the ☰ and the bar off the page.
 *   2026-11-02 feat/harshalom-v3-audit, integration — wave 1's ask (lane L1b): the 404's search
 *     box and its Search button share one row on a tablet and a computer (the box grows, the
 *     button keeps its size); on a phone they still wrap, box above button.
 *   2026-11-02 feat/harshalom-v3-audit, review fix F3 — phone and fax numbers never break across
 *     lines (every number span, and every <bdi dir="ltr"> in a Yiddish line; R2-04 R2-05); the
 *     footer keeps the Feedback button's corner free under its last line from a tablet up (R2-03);
 *     on a phone the Feedback button steps aside while a text field has the focus (R3-04); the
 *     page keeps clear of the install card while it shows (--hs-install-h, R3-05); the tab strip's
 *     edge fades are stronger, the start edge too (R2-09).
 */

/* ── tokens ─────────────────────────────────────────────────────────────── */

.hs {
  /* DESIGN_V2 */
  --hs-bg: #fbfaf7;
  --hs-surface: #ffffff;
  --hs-line: #e6e2d9;
  --hs-line-2: #d8d2c5;
  --hs-ink: #1d2420;
  --hs-muted: #5b645e;
  --hs-faint: #8a918c;
  --hs-accent: #2c5140;
  --hs-accent-soft: #eaf2ed;
  --hs-accent-ink: #1f3a2e;
  --hs-gold: #b8892b;
  --hs-red: #b3261e;
  --hs-red-soft: #fdeeed;
  --hs-green: #2f7a52;
  --hs-green-soft: #e9f5ee;
  --hs-dot: #d92b2b;
  --hs-r: 10px;
  --hs-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --hs-serif: 'HS Frank Ruhl Libre', 'Frank Ruehl CLM', 'Noto Serif Hebrew', 'Times New Roman',
    Georgia, serif;
  --hs-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Hebrew', Arial, sans-serif;

  /* type and layout (phone first; raised below) */
  --hs-fs: 15px;
  --hs-fs-sm: 13px;
  /* v3: the floor for every lane — no text under it, no target under it. */
  --hs-fs-min: 13px;
  --hs-tap: 44px;
  /* v3: what caps its width on a wide screen (prose, a form field) and how narrow a side
     pane may get. Rule 40: the page fills the screen; only these cap. fullbleed-ok */
  --hs-prose-max: 75ch;
  --hs-field-max: 640px;
  --hs-side-w: 280px;
  --hs-h1: 22px;
  --hs-h2: 18px;
  --hs-site-h1: 52px;
  --hs-sticky-top: 0px;
  --hs-calls-w: 0px;
  /* The bottom bar's height on a phone: measured by static/js/callbar.js; this covers no-JS. */
  --hs-callbar-h: calc(48px + env(safe-area-inset-bottom));
  /* v3 review (R3-05): the install card's height while it shows (static/js/install-hint.js sets
     it on the page root, and removes it when the card goes), so the page's last line stays clear. */
  --hs-install-h: 0px;
  /* v3 review (R2-03): room under the footer for the platform's floating Feedback button, from a
     tablet up (where no bottom bar lifts it): its corner (92px) + its pill (42px) + air. */
  --hs-launcher-room: 0px;

  /* v1 names: light aliases, so a page not yet moved to v2 never goes dark. */
  --hs-green-2: var(--hs-accent);
  --hs-green-3: var(--hs-accent-soft);
  --hs-stone: var(--hs-bg);
  --hs-stone-2: var(--hs-line);
  --hs-stone-3: var(--hs-line-2);
  --hs-gold-2: #f3e6c4;
  --hs-red-bg: var(--hs-red-soft);
  --hs-call-red: var(--hs-red);
  --hs-call-green: var(--hs-green);
  --hs-head-gradient: linear-gradient(#ffffff, #ffffff);
  --hs-cream: #f3ead2;
  --hs-on-green: #e3ebe6;
  --hs-shadow-card: var(--hs-shadow);
  --hs-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);

  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--hs-bg);
  color: var(--hs-ink);
  font-family: var(--hs-sans);
  font-size: var(--hs-fs);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 700px) {
  .hs {
    --hs-fs: 16px;
    --hs-h1: 26px;
    --hs-h2: 20px;
    --hs-site-h1: 56px;
    /* the title row, the tab row (50px) and the line under it */
    --hs-sticky-top: calc(var(--hs-site-h1) + 51px);
    /* the two pills; each label ("Chevra Kadisha · חברה קדישא") needs ~140px */
    --hs-calls-w: 392px;
    --hs-callbar-h: 0px;
  }
}

@media (min-width: 1200px) {
  .hs {
    --hs-h1: 28px;
    --hs-site-h1: 64px;
    --hs-sticky-top: 65px;
    --hs-calls-w: 300px;
    --hs-side-w: 320px;
  }
}

@media (min-width: 1440px) {
  .hs {
    --hs-calls-w: 400px;
  }
}

@media (min-width: 1600px) {
  .hs {
    /* room for the copy mark too */
    --hs-calls-w: 440px;
  }
}

/* v3 — A BIG SCREEN (a 1920 or 2560 monitor, audit V-24): everything steps up in proportion,
   so the screen is used sensibly instead of a 1440 page with empty acres around it. */
@media (min-width: 1800px) {
  .hs {
    --hs-fs: 17px;
    --hs-fs-sm: 14px;
    --hs-fs-min: 14px;
    --hs-h1: 32px;
    --hs-h2: 22px;
    --hs-site-h1: 72px;
    --hs-sticky-top: 73px;
    --hs-calls-w: 520px;
    --hs-field-max: 720px;
    --hs-side-w: 400px;
  }
}

@media (min-width: 2400px) {
  .hs {
    --hs-fs: 18px;
    --hs-fs-sm: 15px;
    --hs-fs-min: 15px;
    --hs-h1: 36px;
    --hs-h2: 24px;
    --hs-site-h1: 80px;
    --hs-sticky-top: 81px;
    --hs-calls-w: 580px;
    --hs-field-max: 800px;
    --hs-side-w: 460px;
  }
}

/* v3 — A PHONE HELD SIDEWAYS (or any screen under 500px tall, audit V-29): the sticky header
   kept 108 of 390px. Here it scrolls away with the page; pages that sit under it use 0. */
@media (min-width: 700px) and (max-height: 500px) {
  .hs {
    --hs-site-h1: 48px;
    --hs-sticky-top: 0px;
  }
}

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

/* A page that shows the bottom bar keeps its last line clear of it (0 from a tablet up), and
   of the install card while that shows (v3 review R3-05: it covered the footer's last links; the
   card only ever comes with the call bar, which loads install-hint.js). */
.hs:has(.hs-callbar) {
  padding-bottom: calc(var(--hs-callbar-h) + 8px + var(--hs-install-h));
}

/* v3 review (R2-03): from a tablet up nothing lifts the platform's Feedback button (it floats
   92px above the bottom-right corner of every public page), so at the end of a page it sat on the
   footer's numbers and links. The footer keeps that corner's height free under its last line.
   (A control in a page's own flow that it could cover carries data-oo-launcher-avoid instead:
   the button steps above it — components/feedback/launcher-floor.ts.) Not the office's pages. */
@media (min-width: 700px) {
  .hs:not(.hsa) {
    --hs-launcher-room: 142px;
  }
}

/* ── type ───────────────────────────────────────────────────────────────── */

.hs [lang='he'],
.hs [lang='yi'],
.hs .hs-he {
  font-family: var(--hs-serif);
}

.hs .hs-he {
  direction: rtl;
  unicode-bidi: isolate;
}

.hs h1,
.hs h2,
.hs h3 {
  margin: 0;
  font-family: var(--hs-serif);
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

.hs h1 {
  font-size: var(--hs-h1);
}

.hs h2 {
  font-size: var(--hs-h2);
  color: var(--hs-accent-ink);
}

.hs h3 {
  font-size: 16px;
  color: var(--hs-accent-ink);
}

.hs p {
  margin: 0;
}

.hs a {
  color: inherit;
}

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

.hs button {
  font: inherit;
  color: inherit;
}

.hs svg {
  flex: none;
}

.hs :focus-visible {
  outline: 2px solid var(--hs-accent);
  outline-offset: 2px;
}

/* v3 (audit V-56): ONE focus ring for every control. A text field had only a faint glow while
   links and buttons had this solid ring; a few page sheets still say `outline: none` on their
   fields, so this one wins for text fields, text areas and drop-downs, on every page. */
.hs input:not([type='hidden']):not([type='radio']):not([type='checkbox']):focus-visible,
.hs textarea:focus-visible,
.hs select:focus-visible {
  outline: 2px solid var(--hs-accent) !important;
  outline-offset: 1px !important;
}

/* Visually hidden, still read aloud. */
.hs .hs-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hs .hs-nw {
  white-space: nowrap;
}

/* v3 review (R2-04, R2-05): a phone or fax number never breaks across lines ("845-400-" over
   "2227", "718-486-" over "3133"). Every number span on the site, and every left-to-right run
   set in a Yiddish line (<bdi dir="ltr">: a number, an email, a plot code — one word each). */
.hs .hs-call__num,
.hs .hs-calllink__num,
.hs .hs-note__num,
.hs .ct-fax__num,
.hs .ap-hint__fax,
.hs bdi[dir='ltr'] {
  white-space: nowrap;
}

/* v3.1 (polish h): a message form's field box (label, field, error) brought into view after a
   wrong Send keeps a little air above its label (static/js/message.js scrolls the box, not the field). */
.hs .hs-msg__f {
  scroll-margin-top: 12px;
  scroll-margin-bottom: 12px;
}

/* Skip link: off screen until focused. */
.hs .hs-skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 80;
  padding: 8px 14px;
  border-radius: var(--hs-r);
  background: var(--hs-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.hs .hs-skip:focus {
  top: calc(8px + env(safe-area-inset-top));
}

/* One thin gold rule (DESIGN_V2: gold is a rule or a star, never a block). */
.hs .hs-rule {
  width: 48px;
  height: 2px;
  margin: 12px auto 0;
  border: 0;
  background: var(--hs-gold);
}

/* ── the page root: header, title, main, footer ─────────────────────────── */

.hs.hs-page {
  display: flex;
  flex-direction: column;
}

/* The page body grid (an element inside the root). Full width (Rule 40). */
.hs .hs-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  width: 100%;
  padding: 12px 12px 24px;
}

/* A reading column: fills the phone; caps on a wide screen so a line of Yiddish stays
   readable. fullbleed-ok */
.hs .hs-main {
  width: 100%;
  max-width: 640px; /* fullbleed-ok: reading column */
  margin: 0 auto;
  padding: 14px 12px 28px;
}

/* ── the site header (HsHead → HsSiteHeader) ────────────────────────────── */

.hs .hs-site {
  /* text that v1 pages colour "on green" reads dark here */
  --hs-cream: var(--hs-muted);
  --hs-on-green: var(--hs-muted);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hs-surface);
  border-bottom: 1px solid var(--hs-line);
}

.hs .hs-site__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas:
    'brand lang signin menu'
    'nav nav nav nav';
  align-items: center;
  column-gap: 6px;
  padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0
    max(12px, env(safe-area-inset-left));
}

.hs .hs-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: var(--hs-site-h1);
  color: var(--hs-ink);
  text-decoration: none;
}

.hs .hs-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 2px;
  border: 1px solid var(--hs-line-2);
  border-radius: 9px;
  background: #fbfaf7;
  color: var(--hs-accent);
}

.hs .hs-brand__logo {
  display: block;
  width: 100%;
  height: 100%;
}

.hs .hs-brand__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.15;
}

.hs .hs-brand__en {
  max-width: 100%;
  overflow: hidden;
  font-family: var(--hs-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--hs-accent-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs .hs-brand__he {
  font-size: 13px;
  color: var(--hs-muted);
  white-space: nowrap;
}

.hs .hs-brand:hover .hs-brand__en {
  color: var(--hs-accent);
}

/* The tabs: a strip under the name on a phone. */
.hs .hs-nav {
  grid-area: nav;
  min-width: 0;
  margin: 0 calc(-1 * max(12px, env(safe-area-inset-right))) 0
    calc(-1 * max(12px, env(safe-area-inset-left)));
  border-top: 1px solid var(--hs-line);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  /* the list's own 8px side padding: snapping keeps it, so the strip rests at its start */
  scroll-padding-inline: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hs .hs-nav::-webkit-scrollbar {
  display: none;
}

/* v3 (audit V-48): a strip wider than the screen fades at the edge that has more tabs, so it
   says "there is more this way". static/js/menu.js keeps `data-hs-more` ("start", "end" or
   both) in step with the scroll; without it the strip simply has no fade. A phone and a
   tablet only: a computer's one row never scrolls. */
@media (max-width: 1199.98px) {
  /* v3 review (R2-09): each fade is clear for its outer 12px and solid from 56px in, so the tab
     cut at that edge reads as "more this way", not as a clipped word ('hrzeits'). */
  .hs .hs-nav[data-hs-more~='end'] {
    -webkit-mask-image: linear-gradient(
      to right,
      #000 calc(100% - 56px),
      transparent calc(100% - 12px)
    );
    mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent calc(100% - 12px));
  }

  .hs .hs-nav[data-hs-more~='start'] {
    -webkit-mask-image: linear-gradient(
      to left,
      #000 calc(100% - 56px),
      transparent calc(100% - 12px)
    );
    mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent calc(100% - 12px));
  }

  .hs .hs-nav[data-hs-more~='start'][data-hs-more~='end'] {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 12px,
      #000 56px,
      #000 calc(100% - 56px),
      transparent calc(100% - 12px)
    );
    mask-image: linear-gradient(
      to right,
      transparent 12px,
      #000 56px,
      #000 calc(100% - 56px),
      transparent calc(100% - 12px)
    );
  }

  .hs .hs-nav:has(details[data-tf-nav][open]) {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.hs .hs-nav__list {
  display: flex;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 4px 8px;
  list-style: none;
}

.hs .hs-nav__item {
  display: flex;
  scroll-snap-align: start;
}

.hs .hs-nav__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  padding: 3px 12px;
  border-radius: 8px;
  color: var(--hs-ink);
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.12s ease,
    color 0.12s ease;
}

.hs .hs-nav__en {
  font-size: 13.5px;
  font-weight: 600;
}

.hs .hs-nav__yi {
  font-size: var(--hs-fs-min);
  color: var(--hs-muted);
}

.hs .hs-nav__tab:hover {
  background: var(--hs-bg);
  color: var(--hs-accent-ink);
}

.hs .hs-nav__tab[aria-current='page'] {
  background: var(--hs-accent-soft);
  color: var(--hs-accent);
}

.hs .hs-nav__tab[aria-current='page'] .hs-nav__yi {
  color: var(--hs-accent);
}

.hs .hs-site__calls {
  grid-area: calls;
  display: none;
}

/* v3 (audit V-22): the two pills, as static/js/callbar.js copies them INTO the header (so the
   keyboard reaches them where they sit, not after the footer). Shown from a tablet up, and
   only where the browser can also hide the original bar (:has); otherwise the original bar
   stays in the header's corner exactly as before. */
.hs .hs-site__pills {
  display: none;
}

.hs .hs-site__menu {
  grid-area: menu;
  display: flex;
}

.hs .hs-site__signin {
  grid-area: signin;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-height: var(--hs-tap, 44px);
  padding: 0 11px;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: var(--hs-bg);
  color: var(--hs-accent-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.hs .hs-site__signin:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
  color: var(--hs-accent);
}

.hs .hs-site__signin-ic {
  flex: none;
}

@media (max-width: 379.98px) {
  .hs .hs-site__signin-ic {
    display: none;
  }

  .hs .hs-site__signin {
    padding: 0 9px;
  }
}

.hs .hs-nav__item--tf {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hs .hs-nav__item--tf > .hs-nav__tab {
  padding-right: 4px;
}

.hs .hs-nav__tf {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.hs .hs-nav__tf > summary {
  list-style: none;
}

.hs .hs-nav__tf > summary::-webkit-details-marker {
  display: none;
}

.hs .hs-nav__tf-sum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 34px;
  min-height: var(--hs-tap, 44px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hs-muted);
  cursor: pointer;
}

.hs .hs-nav__tf-sum:hover,
.hs .hs-nav__tf[open] > .hs-nav__tf-sum {
  background: var(--hs-accent-soft);
  color: var(--hs-accent);
}

.hs .hs-nav__tf[open] > .hs-nav__tf-sum svg {
  transform: rotate(180deg);
}

.hs .hs-nav__tf-body {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 80;
  width: min(340px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid var(--hs-line);
  border-radius: 12px;
  background: var(--hs-surface);
  box-shadow: var(--hs-shadow-card);
  text-align: start;
}

/* TABLET: a title row (name | numbers | Sign in) and a row of tabs, sticky together. */
@media (min-width: 700px) {
  .hs .hs-site {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .hs .hs-site__bar {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      'brand calls lang signin'
      'nav nav nav nav';
    column-gap: 10px;
    padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  }

  .hs .hs-brand__mark {
    width: 36px;
    height: 36px;
  }

  .hs .hs-brand__en {
    font-size: 17px;
  }

  .hs .hs-site__menu {
    display: none;
  }

  /* Room for the two pills HsCallBar draws in this corner. */
  .hs .hs-site__calls {
    display: block;
    width: var(--hs-calls-w);
    height: var(--hs-site-h1);
  }

  .hs:not(:has(.hs-callbar)) .hs-site__calls {
    display: none;
  }

  .hs .hs-nav {
    margin: 0 calc(-1 * max(20px, env(safe-area-inset-right))) 0
      calc(-1 * max(20px, env(safe-area-inset-left)));
  }

  .hs .hs-nav__list {
    justify-content: center;
    gap: 2px;
    height: 50px;
    padding: 0 12px;
  }

  .hs .hs-nav__tab {
    min-height: 0;
    height: 50px;
    padding: 0 12px;
    border-radius: 0;
  }

  .hs .hs-nav__en {
    font-size: 14px;
  }

  /* The chosen tab: green words and a green line under them. */
  .hs .hs-nav__tab[aria-current='page'] {
    background: transparent;
  }

  .hs .hs-nav__tab::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: transparent;
  }

  .hs .hs-nav__tab[aria-current='page']::after {
    background: var(--hs-accent);
  }

  .hs .hs-nav__tab:hover::after {
    background: var(--hs-line-2);
  }

  .hs .hs-nav__tab[aria-current='page']:hover::after {
    background: var(--hs-accent);
  }
}

/* v3 (audit V-52): at 700-759px the six tabs were 732px wide and the first one was cut off.
   Slimmer here, so they fit; the strip still scrolls (with its fade) if a font runs wider.
   0.018 (R14): to 819px. The seventh tab (Tefilos, 0.015) made the strip 802px at the normal size,
   so a 760-801px tablet (768x1024) showed "Cont…" at the end; slimmer they are 700px. Up to 819px
   for a wider system font (820 is an iPad held upright, 18px to spare at the normal size). */
@media (min-width: 700px) and (max-width: 819.98px) {
  .hs .hs-nav__list {
    gap: 0;
    padding: 0 6px;
  }

  .hs .hs-nav__tab {
    padding: 0 8px;
  }

  .hs .hs-nav__en {
    font-size: 13px;
  }
}

/* v3 (audit V-22): from a tablet up the pills are in the header's own slot (copied there by
   callbar.js, in the header's place in the page), and the original bar, which comes after
   the footer in the page, is hidden. Where :has is not understood none of this applies, and
   the original bar stays in the corner as it was. */
@supports selector(:has(a)) {
  @media (min-width: 700px) {
    .hs .hs-site__calls:has(.hs-site__pills) {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: auto;
      min-width: 0;
    }

    .hs .hs-site__pills {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .hs .hs-site__pills .hs-call {
      flex: 0 1 auto;
    }

    .hs:has(.hs-site__pills [data-hs-call]) .hs-callbar {
      display: none;
    }
  }
}

/* v3 (audit V-29): a phone held sideways (or any screen under 500px tall) — the header scrolls
   away with the page instead of keeping a quarter of the screen, and its rows are slimmer.
   The original bar (no :has) sits at the top of the page, not of the screen, to match. */
@media (min-width: 700px) and (max-height: 500px) {
  .hs .hs-site {
    position: relative;
  }

  .hs .hs-callbar {
    position: absolute;
  }

  .hs .hs-nav__list,
  .hs .hs-nav__tab {
    height: 44px;
  }
}

/* COMPUTER: one row — name | tabs | the two numbers | language | Sign in. */
@media (min-width: 1200px) {
  .hs .hs-site__bar {
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    grid-template-areas: 'brand nav calls lang signin';
    column-gap: 10px;
    height: var(--hs-site-h1);
    padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  }

  .hs .hs-nav {
    margin: 0;
    border-top: 0;
    overflow: visible;
  }

  .hs .hs-nav__list {
    width: auto;
    height: var(--hs-site-h1);
    padding: 0;
  }

  .hs .hs-nav__tab {
    height: var(--hs-site-h1);
    padding: 0 8px;
  }

  .hs .hs-nav__en {
    font-size: 13.5px;
  }

  .hs .hs-site__signin,
  .hs .hs-site__lang {
    min-height: 36px;
    height: 36px;
    padding: 0 11px;
  }

  .hs .hs-nav__tf-sum {
    width: 24px;
    min-height: 36px;
    height: 36px;
  }
}

@media (min-width: 1440px) {
  .hs .hs-nav__tab {
    padding: 0 10px;
  }

  .hs .hs-nav__en {
    font-size: 14px;
  }
}

@media (min-width: 1600px) {
  .hs .hs-nav__tab {
    padding: 0 14px;
  }
}

/* v3 (audit V-24): a big screen — the header steps up with the type. */
@media (min-width: 1800px) {
  .hs .hs-site__bar {
    column-gap: 24px;
    padding: 0 max(32px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left));
  }

  .hs .hs-brand__mark {
    width: 44px;
    height: 44px;
  }

  .hs .hs-brand__en {
    font-size: 21px;
  }

  .hs .hs-brand__he {
    font-size: 15px;
  }

  .hs .hs-nav__tab {
    padding: 0 16px;
  }

  .hs .hs-nav__en {
    font-size: 16px;
  }

  .hs .hs-nav__yi {
    font-size: 14px;
  }
}

@media (min-width: 2400px) {
  .hs .hs-brand__en {
    font-size: 23px;
  }

  .hs .hs-nav__tab {
    padding: 0 20px;
  }

  .hs .hs-nav__en {
    font-size: 17px;
  }

  .hs .hs-nav__yi {
    font-size: 15px;
  }
}

/* 1200-1439px: one row is full — slimmer tabs, slimmer pills (0.023), so it fits; "Cemetery"
   steps aside at 1200-1365px (0.023; was 1279px) and the Hebrew line still names it all. */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .hs .hs-site__bar {
    column-gap: 4px;
  }

  .hs .hs-nav__list {
    gap: 0;
  }

  .hs .hs-nav__tab {
    padding: 0 5px;
  }

  .hs .hs-nav__en {
    font-size: 13px;
  }

  /* 0.023 — the two pills in the header: the label and the number, no phone mark (the tabs need the room) */
  .hs .hs-site__pills {
    gap: 6px;
  }

  .hs .hs-site__pills .hs-call {
    padding: 3px 8px;
  }

  .hs .hs-site__pills .hs-call__ic {
    display: none;
  }

  .hs .hs-brand {
    gap: 8px;
  }

  .hs .hs-site__signin-ic {
    display: none;
  }

  .hs .hs-site__signin,
  .hs .hs-site__lang {
    padding: 0 8px;
  }
}

/* 0.023: up to 1365px (was 1279px): with the whole name the tabs did not fit at 1280-1365px. */
@media (min-width: 1200px) and (max-width: 1365.98px) {
  .hs .hs-brand__cem {
    display: none;
  }
}

/* 0.023: the narrowest one-row widths: the tabs' sides slimmer still (the words keep 13px), so the
   tabs (with their Yiddish line) clear the name and the pills at 1200px. */
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .hs .hs-nav__tab {
    padding: 0 3px;
  }

  .hs .hs-site__pills {
    gap: 4px;
  }
}

@media (min-width: 1440px) and (max-width: 1699.98px) {
  .hs {
    --hs-calls-w: auto;
  }

  .hs .hs-site__bar {
    column-gap: 8px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }

  .hs .hs-nav__list {
    gap: 0;
  }

  .hs .hs-nav__tab {
    padding: 0 7px;
  }

  .hs .hs-nav__en {
    font-size: 13px;
  }

  .hs .hs-brand {
    gap: 8px;
  }

  .hs .hs-site__signin-ic {
    display: none;
  }

  .hs .hs-site__signin {
    padding: 0 9px;
  }
}

/* ── the page title under the header (HsHead) ───────────────────────────── */

.hs .hs-head {
  /* text that v1 pages colour "on green" reads dark here */
  --hs-cream: var(--hs-muted);
  --hs-on-green: var(--hs-muted);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 8px 12px 12px;
  border-bottom: 1px solid var(--hs-line);
  background: var(--hs-surface);
  color: var(--hs-ink);
  text-align: start;
}

.hs .hs-head__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.hs .hs-head__bh {
  margin-inline-start: auto;
  font-size: var(--hs-fs-min);
  color: var(--hs-faint);
}

.hs .hs-head__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  margin-top: 4px;
  font-size: var(--hs-h1);
  line-height: 1.2;
  outline: none;
}

.hs .hs-head__en {
  font-family: var(--hs-serif);
  font-weight: 700;
  color: var(--hs-accent-ink);
}

.hs .hs-head__yi {
  font-family: var(--hs-serif);
  font-size: 0.8em;
  font-weight: 600;
  color: var(--hs-muted);
}

.hs .hs-head__yi:empty {
  display: none;
}

.hs .hs-head__sub {
  margin-top: 2px;
  font-size: var(--hs-fs-sm);
  color: var(--hs-muted);
}

.hs .hs-head__more {
  margin-top: 8px;
}

/* From a tablet: one row — the pill, the title, בס״ד. */
@media (min-width: 700px) {
  .hs .hs-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      'pill title bh'
      '. sub .'
      '. more .';
    column-gap: 16px;
    align-items: center;
    padding: 12px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  }

  .hs .hs-head__bar {
    display: contents;
  }

  .hs .hs-head .hs-pill {
    grid-area: pill;
  }

  .hs .hs-head__bh {
    grid-area: bh;
  }

  .hs .hs-head__title {
    grid-area: title;
    margin-top: 0;
  }

  .hs .hs-head__sub {
    grid-area: sub;
  }

  .hs .hs-head__more {
    grid-area: more;
  }
}

@media (min-width: 1200px) {
  .hs .hs-head {
    padding: 14px max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  }
}

@media (min-width: 1800px) {
  .hs .hs-head {
    padding: 18px max(32px, env(safe-area-inset-right)) 18px max(32px, env(safe-area-inset-left));
  }
}

/* A short computer screen (a 1366x768 laptop): a slimmer title block, so the page's main view
   still fits without scrolling. */
@media (min-width: 1200px) and (max-height: 800px) {
  .hs .hs-head {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .hs .hs-head__title {
    font-size: 24px;
  }
}

/* The small "Home" (or Back) pill — English only (David, 27 Oct). */
.hs .hs-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: var(--hs-surface);
  color: var(--hs-accent-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hs .hs-pill:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

/* On a phone and a tablet (and any touch screen) the pill IS 44px tall (DESIGN_V2; audit V-26
   measured the 32px box: a touch area drawn round it by ::after was not enough). */
@media (max-width: 1199.98px), (pointer: coarse) {
  .hs .hs-pill {
    min-height: var(--hs-tap);
    padding: 0 14px 0 10px;
  }
}

/* v1's green sticky top bar of the finder. HsHead no longer draws it; kept light for any
   page that still does. */
.hs .hs-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid var(--hs-line);
  background: var(--hs-surface);
  color: var(--hs-ink);
}

/* ── panels, cards and buttons ──────────────────────────────────────────── */

.hs .hs-panel,
.hs .hs-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  box-shadow: var(--hs-shadow);
}

.hs .hs-card + .hs-card {
  margin-top: 12px;
}

.hs .hs-panel__h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  margin: 0 0 10px;
  font-family: var(--hs-serif);
  font-size: var(--hs-h2);
  font-weight: 700;
  line-height: 1.25;
  color: var(--hs-accent-ink);
}

.hs .hs-panel__h [lang='yi'],
.hs .hs-panel__h [lang='he'] {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--hs-muted);
}

.hs .hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--hs-line-2);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  color: var(--hs-accent-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.hs .hs-btn:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .hs-btn:active {
  transform: translateY(1px);
}

.hs .hs-btn[disabled],
.hs .hs-btn[aria-disabled='true'] {
  opacity: 0.5;
  cursor: default;
}

/* The one main action of a view. */
.hs .hs-btn--primary {
  border-color: var(--hs-accent);
  background: var(--hs-accent);
  color: #fff;
}

.hs .hs-btn--primary:hover {
  border-color: var(--hs-accent-ink);
  background: var(--hs-accent-ink);
  color: #fff;
}

.hs .hs-btn--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--hs-accent);
}

.hs .hs-btn--ghost:hover {
  border-color: transparent;
  background: var(--hs-accent-soft);
}

/* v1 name: a softly gold-tinted button (no longer solid gold). */
.hs .hs-btn--gold {
  border-color: #e7d4a6;
  background: #fbf5e6;
  color: #5e4410;
}

.hs .hs-btn--gold:hover {
  border-color: var(--hs-gold);
  background: #f7ecd2;
}

/* 44px touch targets on a phone and a tablet (DESIGN_V2); 40px on a computer. */
@media (min-width: 1200px) {
  .hs .hs-btn {
    min-height: 40px;
  }
}

/* v3 (audit V-26): a big touch screen (a 1366px tablet held sideways) keeps 44px. */
@media (min-width: 1200px) and (pointer: coarse) {
  .hs .hs-btn {
    min-height: var(--hs-tap);
  }
}

.hs .hs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 2px 10px;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: var(--hs-surface);
  color: var(--hs-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}

.hs button.hs-chip,
.hs a.hs-chip {
  cursor: pointer;
}

.hs button.hs-chip:hover,
.hs a.hs-chip:hover {
  border-color: var(--hs-accent);
}

.hs .hs-chip[aria-pressed='true'],
.hs .hs-chip[aria-selected='true'],
.hs .hs-chip.is-on {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
  color: var(--hs-accent-ink);
}

.hs .hs-input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hs-line-2);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  color: var(--hs-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hs .hs-input::placeholder {
  color: var(--hs-faint);
}

/* v3 (audit V-56): the same solid 2px ring as every other control, not a faint glow. */
.hs .hs-input:focus {
  border-color: var(--hs-accent);
  outline: 2px solid var(--hs-accent);
  outline-offset: 1px;
}

/* 44px on a phone and a tablet (touch); 42px on a computer (44px if it is a touch screen). */
@media (min-width: 1200px) {
  .hs .hs-input {
    min-height: 42px;
  }
}

@media (min-width: 1200px) and (pointer: coarse) {
  .hs .hs-input {
    min-height: var(--hs-tap);
  }
}

/* In-page tabs (List | Map on a phone). */
.hs .hs-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hs-line);
  border-radius: calc(var(--hs-r) + 2px);
  background: var(--hs-bg);
}

.hs .hs-tabs > a,
.hs .hs-tabs > button,
.hs .hs-tabs .hs-tabs__tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--hs-r);
  background: transparent;
  color: var(--hs-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.hs .hs-tabs > [aria-selected='true'],
.hs .hs-tabs > [aria-current],
.hs .hs-tabs > .is-active,
.hs .hs-tabs .hs-tabs__tab[aria-selected='true'],
.hs .hs-tabs .hs-tabs__tab.is-active {
  background: var(--hs-surface);
  color: var(--hs-accent-ink);
  box-shadow: var(--hs-shadow);
}

/* v3 (audit V-26): on a touch screen every chip that is a link or a button, and every in-page
   tab, is at least 44px tall. A computer's mouse keeps the slimmer look. */
@media (pointer: coarse) {
  .hs a.hs-chip,
  .hs button.hs-chip {
    min-height: var(--hs-tap);
    padding: 4px 14px;
  }

  .hs .hs-tabs > a,
  .hs .hs-tabs > button,
  .hs .hs-tabs .hs-tabs__tab {
    min-height: var(--hs-tap);
  }
}

/* Two panes: stacked on a phone, side by side from a tablet. */
.hs .hs-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

@media (min-width: 700px) {
  .hs .hs-page {
    gap: 20px;
    padding: 16px max(20px, env(safe-area-inset-right)) 24px max(20px, env(safe-area-inset-left));
  }

  .hs .hs-main {
    padding: 20px 20px 32px;
  }

  .hs .hs-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .hs .hs-split--side {
    grid-template-columns: minmax(var(--hs-side-w), 2fr) minmax(0, 3fr);
  }
}

@media (min-width: 1200px) {
  .hs .hs-page {
    padding: 20px max(24px, env(safe-area-inset-right)) 24px max(24px, env(safe-area-inset-left));
  }

  .hs .hs-split {
    gap: 24px;
  }

  .hs .hs-split--side {
    grid-template-columns: minmax(var(--hs-side-w), 1fr) minmax(0, 2fr);
  }
}

/* v3 (audit V-24): a big screen — wider gutters, a wider reading column, bigger controls. */
@media (min-width: 1800px) {
  .hs .hs-page {
    gap: 28px;
    padding: 28px max(40px, env(safe-area-inset-right)) 32px max(40px, env(safe-area-inset-left));
  }

  .hs .hs-split {
    gap: 32px;
  }

  .hs .hs-main {
    max-width: 760px; /* fullbleed-ok: reading column */
  }

  .hs .hs-panel,
  .hs .hs-card {
    padding: 20px;
  }

  .hs .hs-btn {
    min-height: 46px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .hs .hs-input {
    min-height: 48px;
    font-size: 17px;
  }

  .hs .hs-chip {
    font-size: 14px;
  }

  .hs .hs-tabs > a,
  .hs .hs-tabs > button,
  .hs .hs-tabs .hs-tabs__tab {
    min-height: 46px;
    font-size: 15px;
  }
}

@media (min-width: 2400px) {
  .hs .hs-main {
    max-width: 840px; /* fullbleed-ok: reading column */
  }

  .hs .hs-btn {
    min-height: 50px;
    font-size: 17px;
  }

  .hs .hs-input {
    min-height: 52px;
    font-size: 18px;
  }
}

/* ── the ☰ menu (HsMenu + static/js/menu.js): phones only ──────────────── */

.hs .hs-menu {
  display: inline-block;
  position: static;
}

.hs .hs-menu > summary {
  list-style: none;
}

.hs .hs-menu > summary::-webkit-details-marker {
  display: none;
}

.hs .hs-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--hs-tap);
  height: var(--hs-tap);
  padding: 0;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  color: var(--hs-accent-ink);
  cursor: pointer;
}

.hs .hs-menu[open] > .hs-menu-btn {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .hs-menu__shade {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(29, 36, 32, 0.16);
}

/* 0.015 fix 2: on a phone the call bar (z-index 40) is drawn over the header (.hs-site, z-index 30)
   and so over this panel: the panel stops above the bar (--hs-callbar-h, 0 from a tablet up; with a
   script, static/js/menu.js measures the bar itself), and scrolling it to its end never scrolls the
   page behind it (overscroll-behavior). */
.hs .hs-menu__panel {
  position: fixed;
  z-index: 60;
  top: 58px;
  right: 10px;
  width: min(360px, calc(100vw - 20px));
  max-height: calc(100vh - 70px);
  max-height: calc(100vh - 70px - var(--hs-callbar-h, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 8px 8px;
  border: 1px solid var(--hs-line);
  border-radius: 14px;
  background: var(--hs-surface);
  color: var(--hs-ink);
  text-align: start;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transform-origin: top right;
  animation: hs-menu-in 0.14s ease-out both;
}

.hs .hs-menu__panel[data-side='left'] {
  transform-origin: top left;
}

@keyframes hs-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hs .hs-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 4px 6px;
}

.hs .hs-menu__home {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: var(--hs-tap);
  padding-top: 8px;
  color: var(--hs-accent-ink);
  text-decoration: none;
}

.hs .hs-menu__name {
  font-size: 18px;
  font-weight: 700;
}

.hs .hs-menu__home-en {
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-accent);
}

/* Without JavaScript the ☰ itself closes the menu; the ✕ appears once menu.js runs. */
.hs .hs-menu__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--hs-tap);
  height: var(--hs-tap);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hs-muted);
  cursor: pointer;
}

.hs .hs-menu[data-js] .hs-menu__close {
  display: inline-flex;
}

.hs .hs-menu__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs .hs-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: var(--hs-r);
  color: inherit;
  text-decoration: none;
}

.hs .hs-menu__item:hover {
  background: var(--hs-bg);
}

.hs .hs-menu__item[aria-current='page'] {
  background: var(--hs-accent-soft);
}

.hs .hs-menu__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hs-accent-soft);
  color: var(--hs-accent);
}

.hs .hs-menu__txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
}

.hs .hs-menu__en {
  font-size: 15px;
  font-weight: 600;
  color: var(--hs-ink);
}

.hs .hs-menu__en--long {
  font-size: 14px;
}

.hs .hs-menu__yi {
  font-size: 14px;
  color: var(--hs-muted);
}

/* v3: under the list, apart from the pages — "Feedback · פידבעק" opens the platform's
   feedback panel (static/js/menu.js), or, where that panel is not on the page, Contact. */
.hs .hs-menu__foot {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--hs-line);
}

.hs .hs-menu__fb {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--hs-tap);
  padding: 4px 8px;
  border-radius: var(--hs-r);
  color: var(--hs-accent-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.hs .hs-menu__fb:hover {
  background: var(--hs-bg);
}

.hs .hs-menu__fb-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  color: var(--hs-accent);
}

.hs .hs-menu__fb [lang] {
  font-size: 14px;
  font-weight: 400;
  color: var(--hs-muted);
  /* 0.018 (R16): the Yiddish stays whole; at 320 "נדבה און הקדשה" broke after its second word. The
     line breaks before it instead (after "·"). */
  white-space: nowrap;
}

/* ── Tefilos: View · Print · Share (0.015) ──────────────────────────────────
   Every tefila's three options, the same wherever it is listed: a card of the Tefilos list
   (static/tefilos.css adds the card's own room) and a row of the ☰'s Tefilos section, which is on
   every page (so the look is here). Markup: app/harshalom/tefilos/tefilos-acts.tsx; Share and the
   answer line: static/js/tefilos.js. Three equal buttons, each its English over its Yiddish. */
.hs .tf-acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.hs .tf-acts__a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 0;
  min-height: var(--hs-tap, 44px);
  margin: 0;
  padding: 4px 8px;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  color: var(--hs-accent-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}

.hs .tf-acts__a:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .tf-acts__a:focus-visible {
  outline: 2px solid var(--hs-accent);
  outline-offset: 2px;
}

.hs .tf-acts__a > svg {
  flex: none;
  color: var(--hs-accent);
}

.hs .tf-acts__txt {
  display: inline-grid;
  justify-items: center;
  min-width: 0;
}

.hs .tf-acts__txt .tf-yi {
  color: var(--hs-muted);
  font-family: var(--hs-serif);
  font-size: var(--hs-fs-min, 13px);
  font-weight: 400;
}

.hs .tf-acts__status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hs-muted);
  font-size: var(--hs-fs-min, 13px);
  overflow-wrap: anywhere;
}

.hs .tf-acts__status:empty {
  display: none;
}

.hs .tf-acts__status[data-tone='ok'] {
  color: var(--hs-green);
}

/* (0.015 fix 2: on paper the three are left off — the print block at the end of this sheet.) */

/* the ☰'s Tefilos section: under "Tefilos · תפילות", lined up with its words.
   0.015 fix 2: closed until asked for. It is a <details>: its summary, the 44px ⌄, sits over the
   right end of the Tefilos row (taken out of the flow, so a closed section adds no height), and the
   row's own link keeps the rest of the row (Tefilos itself, one tap). Opened, the names and their
   three options come under the row. */
.hs .hs-menu__li-tf {
  position: relative;
}

.hs .hs-menu__li-tf > .hs-menu__item {
  padding-right: 56px;
}

.hs .hs-menu__tf {
  margin: 0;
  padding: 0;
}

.hs .hs-menu__tf > summary {
  list-style: none;
}

.hs .hs-menu__tf > summary::-webkit-details-marker {
  display: none;
}

.hs .hs-menu__tf-sum {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--hs-tap, 44px);
  height: var(--hs-tap, 44px);
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: var(--hs-surface);
  color: var(--hs-accent);
  cursor: pointer;
}

.hs .hs-menu__tf-sum:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .hs-menu__tf-sum:focus-visible {
  outline: 2px solid var(--hs-accent);
  outline-offset: 2px;
}

.hs .hs-menu__tf[open] > .hs-menu__tf-sum {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
}

.hs .hs-menu__tf-sum > svg {
  transition: transform 0.14s ease;
}

.hs .hs-menu__tf[open] > .hs-menu__tf-sum > svg {
  transform: rotate(180deg);
}

.hs .hs-menu__tf-body {
  margin: 2px 0 6px;
  margin-inline-start: 44px;
  padding: 4px 0 2px;
  padding-inline-start: 10px;
  border-inline-start: 2px solid var(--hs-accent-soft);
}

.hs .hs-menu__tf-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs .hs-menu__tf-row {
  display: grid;
  gap: 4px;
}

.hs .hs-menu__tf-name .tf-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  line-height: 1.3;
}

.hs .hs-menu__tf-name .tf-names__en {
  color: var(--hs-ink);
  font-size: 14px;
  font-weight: 600;
}

.hs .hs-menu__tf-name .tf-names__he,
.hs .hs-menu__tf-name .tf-names__yi {
  color: var(--hs-accent-ink);
  font-family: var(--hs-serif);
  font-size: 15px;
}

.hs .tf-acts--menu {
  gap: 4px;
}

.hs .tf-acts--menu .tf-acts__a {
  gap: 4px;
  padding: 2px 4px;
  font-size: var(--hs-fs-min, 13px);
}

.hs .hs-menu__tf-all {
  display: flex;
  align-items: center;
  min-height: var(--hs-tap, 44px);
  color: var(--hs-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hs .hs-menu__tf-all .tf-yi {
  margin-inline-start: 6px;
  color: var(--hs-muted);
  font-weight: 400;
}

/* ── the two numbers (HsCallBar + static/js/callbar.js) ─────────────────── */

/* PHONE: a slim light bar at the bottom, two outlined pills, each 44px tall (audit V-26). */
.hs .hs-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 6px;
  padding: 4px max(8px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom))
    max(8px, env(safe-area-inset-left));
  border-top: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.16s ease,
    visibility 0.16s;
}

/* Each pill as wide as its words need (the red one's label is the longer), and both grow to
   fill the bar; neither may push the other off the screen. */
.hs .hs-call {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--hs-tap);
  padding: 3px 10px;
  border: 1px solid;
  border-radius: 999px;
  line-height: 1.15;
  text-decoration: none;
  transition:
    background-color 0.12s ease,
    border-color 0.12s ease;
}

.hs .hs-call--red {
  border-color: #eab7b3;
  background: var(--hs-red-soft);
  color: var(--hs-red);
}

.hs .hs-call--green {
  border-color: #b9dcc7;
  background: var(--hs-green-soft);
  color: var(--hs-green);
}

.hs .hs-call--red:hover {
  border-color: var(--hs-red);
}

.hs .hs-call--green:hover {
  border-color: var(--hs-green);
}

.hs .hs-call__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* The short label: the English, then the Yiddish, each kept WHOLE (audit V-27: on a 360px phone
   the red pill's Yiddish was clipped at its start, leaving "רה קדישא"). They sit on one line
   that wraps; a word that has no room on it drops whole to a second line, which is not shown.
   So the label is never cut mid-word. 13px at the least (audit V-25; it was 10.5px). */
.hs .hs-call__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  max-height: 1.45em;
  overflow: hidden;
  font-size: var(--hs-fs-min);
  line-height: 1.3;
  color: var(--hs-muted);
}

.hs .hs-call__en,
.hs .hs-call__yi {
  white-space: nowrap;
}

/* Hebrew letters in the serif read a size smaller than the Latin beside them. */
.hs .hs-call__yi {
  font-size: calc(var(--hs-fs-min) + 1px);
}

.hs .hs-call__num {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  direction: ltr;
  white-space: nowrap;
}

.hs .hs-call__copy {
  display: none;
  margin-inline-start: auto;
  color: var(--hs-faint);
}

/* The narrowest phones (under 380px): the phone mark steps aside, so both labels keep their
   words; the pill's colour and the number already say "call". */
@media (max-width: 379.98px) {
  .hs .hs-callbar .hs-call__ic {
    display: none;
  }

  .hs .hs-callbar .hs-call {
    padding: 3px 12px;
  }
}

/* PHONE, A FIELD BEING FILLED (audit V-06): while a text field, a text area or a drop-down has
   the focus (the keyboard is up), the bar slides down out of the way, so it never sits on the
   field that Next moves to; the install card goes too. Every form control keeps clear of the
   bar when it is scrolled into view (the Send button after the last field, too). */
@media (max-width: 699.98px) {
  .hs:has(input:not([type='hidden']):not([type='radio']):not([type='checkbox']):not([type='button']):not([type='submit']):not([type='reset']):not([type='range']):not([type='color']):not([type='file']):not([type='image']):focus) .hs-callbar,
  .hs:has(textarea:focus) .hs-callbar,
  .hs:has(select:focus) .hs-callbar,
  .hs:has([contenteditable='true']:focus) .hs-callbar {
    transform: translateY(calc(100% + 8px));
    visibility: hidden;
  }

  .hs:has(input:not([type='hidden']):not([type='radio']):not([type='checkbox']):not([type='button']):not([type='submit']):not([type='reset']):not([type='range']):not([type='color']):not([type='file']):not([type='image']):focus) .hs-install,
  .hs:has(textarea:focus) .hs-install,
  .hs:has(select:focus) .hs-install,
  .hs:has([contenteditable='true']:focus) .hs-install {
    display: none;
  }

  .hs input,
  .hs select,
  .hs textarea,
  .hs form button {
    scroll-margin-bottom: calc(var(--hs-callbar-h) + 16px);
  }
}

/* v3 review (R3-04): on a phone, while a text field of the page has the focus (the keyboard is
   up), the Feedback button steps aside as the call bar does, so it never sits on the field or on
   the Send under it. It comes back when the field is left. Its open panel (and anything else of
   it carrying a data-testid) is never touched. 🩸 The ONE place this sheet reaches outside `.hs`
   (with its twin below, for an open ☰, 0.015 fix 2): only while a Har Shalom public page (`.hs`,
   not the office's `.hsa`) has a focused field, and only the platform launcher's own marked boxes
   (components/feedback/FloatingLauncher.tsx). */
@media (max-width: 699.98px) {
  body:has(.hs:not(.hsa) input:not([type='hidden']):not([type='radio']):not([type='checkbox']):not([type='button']):not([type='submit']):not([type='reset']):not([type='range']):not([type='color']):not([type='file']):not([type='image']):focus)
    [data-feedback-ignore]:not([data-testid]),
  body:has(.hs:not(.hsa) textarea:focus)
    [data-feedback-ignore]:not([data-testid]),
  body:has(.hs:not(.hsa) select:focus)
    [data-feedback-ignore]:not([data-testid]),
  body:has(.hs:not(.hsa) [contenteditable='true']:focus)
    [data-feedback-ignore]:not([data-testid]) {
    visibility: hidden;
    pointer-events: none;
  }
}

/* 0.015 fix 2: while the ☰ is open on a phone the Feedback button steps aside the same way. The ☰ now
   reaches down to the call bar, and the button floats just above that bar at the right, over the ☰'s
   lower corner (a tefila's Share, the last rows). The ☰ has its own "Feedback · פידבעק" (the same
   panel); the button is back the moment the ☰ closes. Same selector as above: the launcher's own
   boxes only, never its panel. */
@media (max-width: 699.98px) {
  body:has(.hs:not(.hsa) .hs-menu[open]) [data-feedback-ignore]:not([data-testid]) {
    visibility: hidden;
    pointer-events: none;
  }

  /* And the iPhone "Add to Home Screen" card (install-hint.js, z-index 44, just above the call bar):
     the open ☰ lies under it too, so its last row (Dedicate / Donate) could not be reached until the
     card was dismissed (the fix check). The card is back when the ☰ closes. */
  .hs:has(.hs-menu[open]) .hs-install {
    display: none;
  }
}

/* TABLET and COMPUTER: the same two pills in the header (copied into HsHead's slot by
   callbar.js; this original bar is the stand-in in the corner when that cannot happen). */
@media (min-width: 700px) {
  .hs .hs-callbar {
    left: auto;
    right: max(20px, env(safe-area-inset-right));
    top: 0;
    bottom: auto;
    z-index: 55;
    align-items: center;
    width: var(--hs-calls-w);
    height: var(--hs-site-h1);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hs .hs-call {
    gap: 8px;
    padding: 0 12px;
  }

  .hs .hs-call__num {
    font-size: 14.5px;
  }
}

@media (min-width: 1200px) {
  .hs .hs-callbar {
    right: max(24px, env(safe-area-inset-right));
  }
}

/* 1200-1439px: the row is full; the pills keep their English label (the Yiddish is in the
   footer's sentences). */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .hs .hs-call__label .hs-call__yi {
    display: none;
  }
}

/* A big screen (audit V-24): the pills step up with the header. */
@media (min-width: 1800px) {
  .hs .hs-callbar {
    right: max(32px, env(safe-area-inset-right));
  }

  .hs .hs-call {
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
  }

  .hs .hs-call__num {
    font-size: 17px;
  }
}

@media (min-width: 2400px) {
  .hs .hs-call {
    min-height: 56px;
  }

  .hs .hs-call__num {
    font-size: 18px;
  }
}

/* A pointer that hovers (a computer): a click copies the number — the pointer says so, and
   on a wide screen a copy mark too (narrower, the label needs the room). Never in the phone's
   bottom bar (a phone dials). */
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  .hs .hs-call {
    cursor: copy;
  }
}

@media (min-width: 1600px) and (hover: hover) and (pointer: fine) {
  .hs .hs-call__copy {
    display: inline-flex;
  }
}

/* The note that opens from a number: red = closed for Shabbos, green = we will call back,
   copied = the number is on the clipboard (a computer). Above the bar on a phone; under
   the numbers, top right, from a tablet. */
.hs .hs-note-wrap {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 10px calc(var(--hs-callbar-h) + 6px);
}

.hs .hs-note-wrap[hidden] {
  display: none;
}

.hs .hs-note {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 12px 50px 12px 14px;
  border: 1px solid var(--hs-line);
  border-top: 4px solid var(--hs-green);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  color: var(--hs-ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  animation: hs-rise 0.16s ease-out both;
}

.hs .hs-note[hidden] {
  display: none;
}

.hs .hs-note--red {
  border-top-color: var(--hs-red);
}

.hs .hs-note--copy {
  border-top-color: var(--hs-accent);
}

.hs .hs-note__en {
  font-size: 15px;
}

.hs .hs-note__yi {
  margin-top: 4px;
  font-size: 16px;
  text-align: right;
}

.hs .hs-note__time {
  color: var(--hs-red);
  font-weight: 700;
  white-space: nowrap;
}

/* 0.013 (A-02): the day the line opens again, when it is not today (callbar.js writes it) */
.hs .hs-note__day {
  font-weight: 700;
}

.hs .hs-note__num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hs .hs-note__small {
  margin-top: 8px;
  font-size: var(--hs-fs-min);
  color: var(--hs-muted);
}

.hs .hs-note__close {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--hs-tap);
  height: var(--hs-tap);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hs-muted);
  cursor: pointer;
}

@media (min-width: 700px) {
  .hs .hs-note-wrap {
    z-index: 56;
    align-items: flex-start;
    justify-content: flex-end;
    padding: calc(var(--hs-site-h1) + 8px) max(20px, env(safe-area-inset-right)) 0 20px;
  }

  .hs .hs-note {
    max-width: 380px;
  }
}

@keyframes hs-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── the grave menu (static/js/map.js self.hsMap.menu): right-click / a held finger ───────────────
   On the map's dots and the plan's squares, and since 0.013 (audit B-F9) on NAMES too: the finder's
   results, the plan's list and the yahrzeit page (hsMap.bindNames). Moved here from map.css, whole,
   so the yahrzeit page (no map sheet) draws it the same. */

.hs .hs-ctx {
  position: fixed;
  z-index: 80; /* over the plan sheet (44), the call bar's notes (45) and the header (50) */
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 16px));
  padding: 6px;
  border: 1px solid var(--hs-line-2);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  color: var(--hs-ink);
  font-size: 15px;
  line-height: 1.3;
}

.hs .hs-ctx__who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 8px 6px;
  border-bottom: 1px solid var(--hs-line);
  margin-bottom: 4px;
}

.hs .hs-ctx__he {
  font-family: var(--hs-serif);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  color: var(--hs-accent-ink);
}

.hs .hs-ctx__en {
  font-size: 14px;
  font-weight: 600;
}

.hs .hs-ctx__loc {
  font-size: var(--hs-fs-min, 13px);
  color: var(--hs-muted);
}

.hs .hs-ctx__list {
  display: flex;
  flex-direction: column;
}

.hs .hs-ctx__i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hs-accent-ink);
  font: inherit;
  font-weight: 600;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.hs .hs-ctx__i:hover,
.hs .hs-ctx__i:focus-visible {
  outline: none;
  background: var(--hs-accent-soft);
}

.hs .hs-ctx__yi {
  font-family: var(--hs-serif);
  font-size: 16px;
  color: var(--hs-muted);
}

.hs .hs-ctx__note {
  margin: 4px 8px 2px;
  font-size: var(--hs-fs-min, 13px);
  color: var(--hs-accent);
  word-break: break-all;
}

.hs .hs-ctx__note[hidden] {
  display: none;
}

/* touch: its items at least 44 px (DESIGN_V2: phone and tablet, any coarse pointer) */
@media (max-width: 1199px), (pointer: coarse) {
  .hs .hs-ctx__i {
    min-height: var(--hs-tap, 44px);
  }
}

/* A name that opens the menu on a held finger (bindNames marks its list with data-hs-names): no iOS
   link callout and no text selection under the finger, so the half-second hold reaches the menu.
   The mark sits on the page root ITSELF on Search (find.js binds [data-hs-find], class "hs hs-page")
   and on Yahrzeits (yahrzeit.js binds [data-yz-app]), and nothing above that root is .hs (the layout
   has no wrapper): `.hs[data-hs-names]` is that case, `.hs [data-hs-names]` the plan's sheet inside
   the root. Both stay under .hs (the static-sheet contract). */
@media (pointer: coarse) {
  .hs[data-hs-names] [data-hs-grave],
  .hs[data-hs-names] [data-plan-id],
  .hs[data-hs-names] [data-yz-id],
  .hs [data-hs-names] [data-hs-grave],
  .hs [data-hs-names] [data-plan-id],
  .hs [data-hs-names] [data-yz-id] {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

/* ── install hint (static/js/install-hint.js builds it) ─────────────────── */

/* Its place in the page: an empty slot the call bar renders (React leaves its contents
   alone), or a wrapper of its own at the end of <body>. Neither draws a box.
   v3 (audit V-05): the card was centred with left:50% and translateX(-50%), and its opening
   animation ended on `transform: none`, which undid the centring — so it sat half off the
   right edge of every phone and its × could not be reached (so it never went away). It is
   now centred with left/right and auto margins, inside the safe area, with nothing to undo
   it; the × is a 44px target. */
.hs .hs-install-slot,
.hs[data-hs-install-host] {
  display: contents;
}

.hs .hs-install {
  position: fixed;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: calc(var(--hs-callbar-h) + 8px);
  z-index: 44;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 420px;
  margin: 0 auto;
  padding: 8px 2px 8px 12px;
  border: 1px solid var(--hs-line);
  border-left: 4px solid var(--hs-green);
  border-radius: var(--hs-r);
  background: var(--hs-surface);
  color: var(--hs-ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  animation: hs-rise 0.16s ease-out both;
}

.hs:not(:has(.hs-callbar)) .hs-install {
  bottom: calc(10px + env(safe-area-inset-bottom));
}

/* From a tablet up the numbers are in the header: the card sits at the bottom of the screen. */
@media (min-width: 700px) {
  .hs .hs-install {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* v3.1 (polish e): kept back by install-hint.js (it would cover a text box, or the feedback panel is
   open) — the card's own display must not undo [hidden]. */
.hs .hs-install[hidden] {
  display: none;
}



.hs .hs-install__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.hs .hs-install__txt {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
}

.hs .hs-install__title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hs-accent-ink);
}

/* "אינסטאלירן די אפ" moves to a line of its own whole, never split. */
.hs .hs-install__title [lang] {
  display: inline-block;
  white-space: nowrap;
}

.hs .hs-install__share {
  color: #0a64d6;
  font-weight: 700;
}

/* 0.018 (pages2): the iPhone's own menu words move to their line whole ("‘Add to / Home Screen’"
   was two words a line on a phone). */
.hs .hs-install__name {
  white-space: nowrap;
}

.hs .hs-install__go {
  flex: none;
  min-height: var(--hs-tap);
  padding: 0 14px;
  border: 1px solid var(--hs-accent);
  border-radius: var(--hs-r);
  background: var(--hs-accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.hs .hs-install__x {
  flex: none;
  width: var(--hs-tap);
  height: var(--hs-tap);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hs-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* 0.018 (pages2, P2-1): ON A PHONE THE CARD HAS A HOME OF ITS OWN — a strip docked on top of the call
   bar, the whole width, light like the bar. install-hint.js marks it data-hs-dock below 700px and puts
   its height on the page root (--hs-install-dock); callbar.js adds that to --hs-callbar-h, so the end
   of every page, the map's height, the plan's and a grave's sheets, the application's buttons and the
   notes all keep clear of it, as they keep clear of the bar. --hs-callbar-bar-h is the bar alone: the
   strip sits on it. It shows on the first screen of every page; 0.009's floating card held itself back
   wherever a line of text lay under it, which on a phone is everywhere (never on 12 of 14 pages at
   320x640). It still goes while a text box has the focus or the ☰ is open (above). */
@media (max-width: 699.98px) {
  .hs .hs-install[data-hs-dock] {
    left: 0;
    right: 0;
    bottom: var(--hs-callbar-bar-h, var(--hs-callbar-h));
    gap: 8px;
    max-width: none;
    margin: 0;
    padding: 2px max(2px, env(safe-area-inset-right)) 2px max(8px, env(safe-area-inset-left));
    border: 0;
    border-top: 1px solid var(--hs-line);
    border-left: 4px solid var(--hs-green);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  }

  .hs .hs-install[data-hs-dock] .hs-install__icon {
    width: 28px;
    height: 28px;
  }

  /* one short strip: "Install app · אינסטאלירן די אפ", Install, ×. Android's "Opens like an app, from
     your home screen" took two or three more lines (92px at 320); its own prompt says it. The
     iPhone's line (Tap Share ⬆ then ‘Add to Home Screen’) is how to do it, so it stays. */
  .hs .hs-install[data-hs-dock] .hs-install__sub {
    display: none;
  }
}

/* v3.1 (polish e): A SHORT SCREEN (a phone held sideways, 844x390): the card was 420px wide in the
   middle and sat on Home's "Search a name" and its button. Here it is a compact card in the bottom
   right corner (the page's side column, the photo on Home). */
@media (min-width: 700px) and (max-height: 500px) {
  .hs .hs-install {
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom));
    max-width: min(340px, 42vw);
    padding: 4px 2px 4px 10px;
    margin: 0;
  }

  .hs .hs-install__icon {
    width: 28px;
    height: 28px;
  }
}

/* ── footer (HsFooter) ──────────────────────────────────────────────────── */

.hs .hs-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 14px 12px 16px;
  border-top: 1px solid var(--hs-line);
  color: var(--hs-muted);
  font-size: var(--hs-fs-min);
  line-height: 1.5;
  text-align: center;
}

.hs .hs-footer a {
  color: var(--hs-accent);
  font-weight: 600;
  text-decoration: none;
}

.hs .hs-footer a:hover {
  text-decoration: underline;
}

.hs .hs-footer__calls,
.hs .hs-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs .hs-footer__tel {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hs .hs-footer .hs-footer__call--red .hs-footer__tel {
  color: var(--hs-red);
}

.hs .hs-footer .hs-footer__call--green .hs-footer__tel {
  color: var(--hs-green);
}

/* v3: "Feedback · פידבעק" opens the platform's feedback panel (static/js/menu.js). */
.hs .hs-footer .hs-footer__fb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* v3 (audit V-45, Rule 45): the site's version, small, last. */
.hs .hs-footer__ver {
  margin-top: 2px;
  color: var(--hs-muted);
  font-size: var(--hs-fs-min);
  font-variant-numeric: tabular-nums;
}

/* v3 (audit V-26): on a touch screen (and anything up to a tablet) the footer's numbers and
   links are 44px targets — they were 19px tall. The look is the same words, spaced. */
@media (max-width: 1199.98px), (pointer: coarse) {
  .hs .hs-footer .hs-footer__tel,
  .hs .hs-footer__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--hs-tap);
    padding: 0 8px;
  }

  .hs .hs-footer__links {
    gap: 0 6px;
  }
}

/* A phone: each of David's sentences reads English and the number, then the Yiddish under. */
@media (max-width: 699.98px) {
  .hs .hs-footer__call {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 6px;
  }

  .hs .hs-footer__call .hs-footer__tel {
    order: 1;
  }

  .hs .hs-footer__call [lang] {
    order: 2;
    flex-basis: 100%;
  }
}

@media (min-width: 700px) {
  .hs .hs-footer {
    padding: 12px 20px 14px;
    /* v3 review (R2-03): the Feedback button's corner stays free under the last line */
    padding-bottom: calc(14px + var(--hs-launcher-room));
  }
}

/* A computer: the links and the version share one line, so the footer is no taller than v2's. */
@media (min-width: 1200px) {
  .hs .hs-footer {
    flex-flow: row wrap;
    justify-content: center;
    column-gap: 18px;
  }

  .hs .hs-footer__name,
  .hs .hs-footer__calls {
    flex-basis: 100%;
  }

  .hs .hs-footer__ver {
    margin-top: 0;
  }
}

@media (min-width: 1800px) {
  .hs .hs-footer {
    padding: 16px 32px 18px;
    padding-bottom: calc(18px + var(--hs-launcher-room));
    font-size: var(--hs-fs-sm);
  }
}

/* ── v3.1 — THE PHONE, TIDY (ticket #1696, 2 Nov 2026 6:00 PM ET: "on the phone the site looks very
   very messy") ──────────────────────────────────────────────────────────────────────────────────────
   Measured on the live v3 at 390x844 (/srv/data/harshalom/v3-1/tidy/before-*.png): text started at
   five different edges (12, 14, 25, 27 and 29px: the header at 12, the page at 12, every panel's
   text at 27-29, a box inside a box), white boxes with borders and shadows sat inside a 12px gutter
   with more boxes inside them, the page title's Home pill was one more bordered box, the footer's
   links wrapped 2-2-1 in the middle, and the floating Feedback button sat on the last line of the page.
   On a phone, now:
     · ONE GUTTER, 16px (--hs-gutter): the header, the page title, every page's main and footer.
     · FLAT SECTIONS: a page's outer panels run edge to edge (no side borders, no radius, no shadow),
       their text on the same 16px edge; white sections on the page's stone, a hairline above and
       below and 12px of stone between them. Boxes inside them (cards, chips, buttons) stay.
     · The page title's Home pill is quiet (no border), its words on the gutter.
     · The footer: left-aligned on the gutter, its links two even columns.
     · The end of the page and of every scrolling pane keeps room for the Feedback button
       (--hs-launcher-room on a phone too), so the last line scrolls clear of it.
   Tablet and computer layouts are not touched here (everything is inside max-width: 699.98px), and
   the office's own pages (.hsa) are left alone. */

@media (max-width: 699.98px) {
  .hs:not(.hsa) {
    --hs-gutter: 16px;
    /* the floating Feedback button's corner over the call bar: its 44px circle + its 12px gap + air */
    --hs-launcher-room: 64px;
  }

  /* the header: name and ☰ on the gutter; the tab strip still runs edge to edge */
  .hs:not(.hsa) .hs-site__bar {
    padding-left: max(var(--hs-gutter), env(safe-area-inset-left));
    padding-right: max(var(--hs-gutter), env(safe-area-inset-right));
  }

  .hs:not(.hsa) .hs-nav {
    margin-left: calc(-1 * max(var(--hs-gutter), env(safe-area-inset-left)));
    margin-right: calc(-1 * max(var(--hs-gutter), env(safe-area-inset-right)));
  }

  /* the page title */
  .hs:not(.hsa) .hs-head {
    padding: 4px var(--hs-gutter) 12px;
  }

  .hs:not(.hsa) .hs-head .hs-pill {
    margin-inline-start: -10px;
    padding: 0 10px;
    border-color: transparent;
    background: transparent;
  }

  .hs:not(.hsa) .hs-head .hs-pill:hover,
  .hs:not(.hsa) .hs-head .hs-pill:focus-visible {
    background: var(--hs-accent-soft);
  }

  .hs:not(.hsa) .hs-head__title {
    margin-top: 0;
  }

  /* every page's main on the gutter */
  .hs.hs-page:not(.hsa) > main,
  .hs.hs-home:not(.hsa) > main {
    padding-left: max(var(--hs-gutter), env(safe-area-inset-left));
    padding-right: max(var(--hs-gutter), env(safe-area-inset-right));
  }

  /* flat sections: a page's OUTER panels edge to edge, their words on the gutter (the grave's sheet
     on Search a Name is a sheet, not a section, and keeps its own look) */
  .hs.hs-page:not(.hsa) > main .hs-panel:not(.hs-panel .hs-panel):not(.hs-find__detail),
  .hs.hs-home:not(.hsa) > main .hs-panel:not(.hs-panel .hs-panel),
  .hs.hs-page:not(.hsa) > main .hs-mapcard:not(.hs-panel .hs-mapcard) {
    margin-left: calc(-1 * max(var(--hs-gutter), env(safe-area-inset-left)));
    margin-right: calc(-1 * max(var(--hs-gutter), env(safe-area-inset-right)));
    padding-left: max(var(--hs-gutter), env(safe-area-inset-left));
    padding-right: max(var(--hs-gutter), env(safe-area-inset-right));
    border-left-width: 0;
    border-right-width: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* the Tehillim reading view: its strips and its text keep their own padding, the section adds none */
  .hs.hs-page:not(.hsa) > main .hs-panel.hs-pr-read:not(.hs-panel .hs-panel) {
    padding-left: 0;
    padding-right: 0;
  }

  /* the footer: on the gutter, left-aligned, its links two even columns */
  .hs:not(.hsa) .hs-footer {
    align-items: stretch;
    gap: 6px;
    padding: 16px max(var(--hs-gutter), env(safe-area-inset-right)) 16px
      max(var(--hs-gutter), env(safe-area-inset-left));
    text-align: start;
  }

  .hs:not(.hsa) .hs-footer__calls {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .hs:not(.hsa) .hs-footer__call {
    justify-content: flex-start;
  }

  .hs:not(.hsa) .hs-footer__call [lang] {
    text-align: start;
  }

  .hs:not(.hsa) .hs-footer .hs-footer__tel {
    justify-content: flex-start;
    padding: 0;
  }

  .hs:not(.hsa) .hs-footer__links {
    justify-content: flex-start;
    gap: 0 20px;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--hs-line);
  }

  .hs:not(.hsa) .hs-footer__links a {
    justify-content: flex-start;
    padding: 0;
    white-space: nowrap;
  }

  .hs:not(.hsa) .hs-footer__ver {
    text-align: start;
  }

  /* the end of the page keeps the Feedback button's corner free (v3.1 polish k): the last line
     scrolls above it (it floats 12px over the call bar on the right) */
  .hs:not(.hsa):has(.hs-callbar) {
    padding-bottom: calc(var(--hs-callbar-h) + 8px + var(--hs-install-h) + var(--hs-launcher-room));
  }
}

/* ── print: the page, not the chrome ────────────────────────────────────── */

@media print {
  .hs {
    background: #fff;
  }

  /* v3.2: paper has no floating Feedback button and no install card — the room kept for them (142px
     under an open grave's pane from a tablet up) pushed a grave's map onto a 2nd page. */
  .hs:not(.hsa) {
    --hs-launcher-room: 0px;
    --hs-install-h: 0px;
  }

  .hs:has(.hs-callbar) {
    padding-bottom: 0;
  }

  .hs .hs-site {
    position: static;
  }

  /* v3 (audit V-16, the footer half): no links on paper either — the footer keeps the
     cemetery's name, address and numbers, and drops Directions, Contact, Feedback, the
     funeral home form and the version line. */
  .hs .hs-skip,
  .hs .hs-nav,
  .hs .hs-site__calls,
  .hs .hs-site__pills,
  .hs .hs-site__menu,
  .hs .hs-site__lang,
  .hs .hs-site__signin,
  .hs .hs-menu,
  .hs .hs-callbar,
  .hs .hs-note-wrap,
  .hs .hs-install,
  .hs .hs-pill,
  .hs .hs-footer__links,
  .hs .hs-footer__ver,
  .hs .hs-ctx {
    display: none !important;
  }

  /* 0.015 fix 2: View · Print · Share are buttons that do nothing on paper. The Tefilos list printed
     them under every card; it prints the names alone now (the ☰'s copies never print). */
  .hs .tf-acts {
    display: none;
  }

  .hs .hs-footer {
    gap: 0;
    padding: 6pt 0 0;
    border-top-color: #ccc;
    color: #333;
    font-size: 9pt;
    line-height: 1.35;
  }

  /* v3.1 (polish a): paper is never a touch screen — the 44px number targets (V-26) matched a
     sheet under 1200px wide and made the footer 140px tall, which pushed its last line onto a
     second, otherwise blank page. Plain text lines on paper. */
  .hs .hs-footer .hs-footer__tel,
  .hs .hs-footer__links a {
    display: inline;
    min-height: 0;
    padding: 0;
  }

  .hs .hs-footer__call {
    display: block;
  }
}

/* ── 0.018 (R13): the platform's Feedback panel in the cemetery's own look ───────────────────────
   The audit of 11 Nov: the panel did not look like the site. Blue buttons and links, eleven lines of
   10-11px grey ("No picture is taken unless you ask for one", "Attaching: /harshalom" …), "Send
   feedback" on two lines at every size, and on a phone "Take one" 17px tall, "Always attach…" 14px,
   "Sign in" 28px, the note box 30px. The widget is the platform's one widget for every tenant
   (components/feedback/GlobalFeedbackWidget.tsx); it is themed HERE, for Har Shalom's public pages only:
   this sheet is linked only under /harshalom, and every rule asks for a public `.hs` page on the body
   (never the office's `.hsa`). It reaches the widget by its own marks only (every part of it carries
   data-feedback-ignore; the open panel its data-testid) and changes colours, type and the size of its
   targets: the launcher keeps its size and place (launcher-floor.ts measures it), only its colour.
   The colours are the `.hs` tokens, written out (the widget is outside `.hs`): accent #2c5140,
   accent-ink #1f3a2e, accent-soft #eaf2ed, ink #1d2420, muted #5b645e, line #e6e2d9, line-2 #d8d2c5,
   bg #fbfaf7. No text under 13px (--hs-fs-min). */
body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'],
body:has(.hs:not(.hsa)) [data-feedback-ignore][role='status'] {
  border-color: #e6e2d9;
  color: #1d2420;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Hebrew', Arial, sans-serif;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-\[10px\],
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-\[11px\],
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-xs {
  font-size: 13px;
  line-height: 1.4;
}

/* the quiet greys: the site's muted ink, never a lighter grey for words */
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-gray-400,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-gray-500 {
  color: #5b645e;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .bg-gray-50 {
  background-color: #fbfaf7;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-gray-100,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-gray-200 {
  border-color: #e6e2d9;
}

/* the platform's blue (and the bright green of "Just talk") is Har Shalom's green */
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-blue-600,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-blue-700,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-blue-800,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-sky-700,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-emerald-600,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-emerald-700 {
  color: #2c5140;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-emerald-800,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .text-emerald-900 {
  color: #1f3a2e;
}

/* "Send feedback" is the panel's one solid button, as .hs-btn--primary is a page's ("Send to the
   office"); the widget's other solid buttons ("Yes, attach it", "Done") are the site's quiet outlined
   ones (one solid button per view, DESIGN_V2). Just talk's Send is that view's one action: solid
   (0.018 pages2, below). */
body:has(.hs:not(.hsa)) [data-feedback-ignore] .bg-blue-600 {
  background-color: #2c5140;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .hover\:bg-blue-700:hover {
  background-color: #1f3a2e;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .bg-emerald-600 {
  border: 1px solid #2c5140;
  background-color: #eaf2ed;
  color: #1f3a2e;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .hover\:bg-emerald-700:hover {
  background-color: #dce9e1;
}

/* 0.018 (pages2, P2-5): in "Just talk" its Send ("Send it", the one emerald button pushed to the end of
   its row, .ml-auto) IS the view's one action, so it stays solid, as "Send feedback" is on the other
   tab; the quiet outline above is for "Yes, attach it" and "Done" only. The audit's theme had made it
   the outline too, and its off state (40% of a light chip) looked almost like its on state: off is now
   the site's grey with muted words, on the solid green. */
body:has(.hs:not(.hsa)) [data-feedback-ignore] .ml-auto.bg-emerald-600 {
  border: 1px solid #2c5140;
  background-color: #2c5140;
  color: #fff;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .ml-auto.bg-emerald-600:hover:not(:disabled) {
  background-color: #1f3a2e;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .ml-auto.bg-emerald-600:disabled {
  border-color: #d8d2c5;
  background-color: #f1efe9;
  color: #5b645e;
  opacity: 1;
  cursor: not-allowed;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .bg-blue-50,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .bg-emerald-50,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .hover\:bg-blue-50:hover,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .hover\:bg-sky-50:hover,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .hover\:bg-emerald-100:hover {
  background-color: #eaf2ed;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-blue-600,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-emerald-600 {
  border-color: #2c5140;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-sky-300,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-emerald-200,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .border-emerald-300 {
  border-color: #d8d2c5;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .focus\:border-blue-500:focus,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .focus\:border-emerald-500:focus {
  border-color: #2c5140;
}

body:has(.hs:not(.hsa)) [data-feedback-ignore] .focus\:ring-blue-200:focus,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .focus\:ring-emerald-200:focus,
body:has(.hs:not(.hsa)) [data-feedback-ignore] .focus-visible\:ring-sky-500:focus-visible {
  --tw-ring-color: rgba(44, 81, 64, 0.3);
}

/* the launcher: the same pill and symbol, the site's green (size and place untouched) */
body:has(.hs:not(.hsa)) button[data-feedback-ignore][aria-label='Send feedback'] {
  color: #2c5140;
}

body:has(.hs:not(.hsa)) [data-testid='launcher-symbol-feedback'] {
  border-color: #d8d2c5;
  color: #2c5140;
}

/* the two tabs' names stay whole at 13px in a 294px panel (320px phone: "📄 About this page" needs
   122px; the tab's own 8px sides left 120) */
body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] [role='tab'] {
  padding-left: 4px;
  padding-right: 4px;
  white-space: nowrap;
}

/* "Send feedback" on one line (it wrapped beside the footer's note at every size) */
body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] button.bg-blue-600 {
  flex: none;
  white-space: nowrap;
}

/* a finger-sized target for everything it can press or type into, on a touch screen */
@media (pointer: coarse) {
  body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] button,
  body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] input:not([type='file']):not([type='checkbox']):not([type='radio']),
  body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] select,
  body:has(.hs:not(.hsa)) [data-feedback-ignore][role='status'] button {
    min-height: 44px;
  }

  body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] button,
  body:has(.hs:not(.hsa)) [data-feedback-ignore][role='status'] button {
    min-width: 44px;
  }

  /* a link inside a sentence ("Sign in" in the not-signed-in note) stays in its line; its padding
     makes the place a finger can press 44px tall without spacing the lines apart */
  body:has(.hs:not(.hsa)) [data-testid='feedback-widget-panel'] p a[href] {
    display: inline;
    padding-block: 13px;
    white-space: nowrap;
  }
}

/* ── motion ─────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hs *,
  .hs *::before,
  .hs *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hs .hs-btn:active {
    transform: none;
  }
}

/* ── the 404 (app/harshalom/not-found.tsx) ──────────────────────────────── */

.hs .hs-nf {
  text-align: center;
}

.hs .hs-nf__small {
  margin-top: 6px;
  font-size: 14px;
  color: var(--hs-muted);
}

/* 0.018 (R16): "זוך א נאמען" stays whole (at 412 and 430 it broke after its second word) */
.hs .hs-nf__small [lang] {
  white-space: nowrap;
}

.hs .hs-nf__go {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hs .hs-nf__search {
  margin-top: 12px;
}

/* the box and Search on one row where there is room (the box wraps above Search on a phone) */
.hs .hs-nf__row .hs-nf__q {
  flex: 1 1 240px;
  width: auto;
  min-width: 0;
}

/* ── 0.031: CLEAN SLIM MOBILE HEADER & SINGLE-COLUMN HAMBURGER MENU ─────── */

.hs .hs-nav__ic {
  display: none;
}

@media (max-width: 699.98px) {
  .hs {
    --hs-sticky-top: calc(var(--hs-site-h1) + 46px);
  }

  .hs .hs-menu__foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
    padding-top: 8px;
  }

  .hs .hs-menu__fb {
    border: 1px solid var(--hs-line);
    border-radius: 10px;
    background: #fbfaf7;
    padding: 6px 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 699.98px) and (max-height: 500px) {
  .hs {
    --hs-sticky-top: 0px;
  }

  .hs .hs-site {
    position: relative;
  }
}

/* ── 0.032: ENGLISH DEFAULT + TOP LANGUAGE CHOICE (ENGLISH / אידיש) ──────── */

.hs .hs-site__lang {
  grid-area: lang;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--hs-tap, 44px);
  padding: 0 11px;
  border: 1px solid var(--hs-line-2);
  border-radius: 999px;
  background: var(--hs-surface);
  color: var(--hs-accent-ink);
  font-family: var(--hs-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.14s ease,
    background-color 0.14s ease,
    color 0.14s ease;
}

.hs .hs-site__lang:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-soft);
  color: var(--hs-accent);
}

@media (max-width: 379.98px) {
  .hs .hs-site__lang {
    padding: 0 8px;
  }
}

.hs .hs-menu__lang {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--hs-sans);
  text-align: start;
  cursor: pointer;
}

@media (max-width: 699.98px) {
  .hs .hs-menu__lang {
    justify-content: center;
    border: 1px solid var(--hs-line);
    background: #fbfaf7;
    text-align: center;
  }
}

.hs .hs-site__lang-yi,
.hs .hs-menu__lang-yi {
  font-family: var(--hs-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--hs-accent-ink);
}

.hs .hs-site__lang-en,
.hs .hs-menu__lang-en {
  display: none;
}

.hs[data-hs-lang='yi'] .hs-site__lang-yi,
.hs[data-hs-lang='yi'] .hs-menu__lang-yi {
  display: none;
}

.hs[data-hs-lang='yi'] .hs-site__lang-en,
.hs[data-hs-lang='yi'] .hs-menu__lang-en {
  display: inline;
}

/* Pure English default (data-hs-lang="en"): hides Yiddish UI subtitles and inline separators
   while keeping sacred Hebrew tefilos/prayers (lang="he") and Hebrew grave names intact. */
.hs[data-hs-lang='en']:not(.hsa) .hs-yi-inline,
.hs[data-hs-lang='en']:not(.hsa) .hs-brand__he,
.hs[data-hs-lang='en']:not(.hsa) .hs-head__bh,
.hs[data-hs-lang='en']:not(.hsa) .hs-head__yi,
.hs[data-hs-lang='en']:not(.hsa) .hs-menu__name {
  display: none;
}

.hs[data-hs-lang='en']:not(.hsa) [lang='yi']:not(.hs-site__lang-yi):not(.hs-menu__lang-yi) {
  display: none;
}

/* ── SAID ONCE (0.022, the owner's phone, 3 Dec) ──────────────────────────────────────────────────────
   On a screen, the address and the two numbers are said once. The call bar (a phone) or its pills in the
   header (a tablet, a computer) already show both numbers, so the footer leaves out the numbers' two
   lines; where the page itself shows the address (Home's card .hs-home__addr, Contact's .ct-addr) the
   footer leaves out its address too. Every other page keeps the footer's address: it is said there
   only (nothing that exists disappears). The links and the version line always stay; paper keeps all
   (this rule is the screen's only). Needs :has; without it the footer is as before. */
@media screen {
  .hs:has([data-hs-callbar] [data-hs-call]) .hs-footer__calls,
  .hs:has(.hs-site__pills [data-hs-call]) .hs-footer__calls,
  .hs:has(.hs-home__addr) .hs-footer__addr,
  .hs:has(.ct-addr) .hs-footer__addr {
    display: none;
  }
}
