/* Find help / Offer help. RALLY green, cream and lime on the page's own light and dark tokens. Square controls. */
body.help-page {
  --help-band: #21674B; --help-band-ink: #FFF3CF; --help-band-accent: #D9EDAA; --help-gold: #FFC75F;
  --help-panel: #FFF3CF; --help-panel-ink: #153F36; --help-panel-muted: #3F5F52; --help-panel-field: #FFFFFF;
  --help-accent: #21674B; --help-accent-hover: #184F3A; --help-accent-ink: #FFF3CF;
  --help-chip: #D9EDAA; --help-chip-ink: #153F36; --help-warn: #7A3410; --help-warn-wash: #FBE9DC;
}
body.help-page[data-alert-mode="dark"] {
  --help-band: #173A30; --help-panel: #0E2720; --help-panel-ink: #F4F8EF; --help-panel-muted: #BCD6C8; --help-panel-field: #173A30;
  --help-accent: #D9EDAA; --help-accent-hover: #EAF6CC; --help-accent-ink: #153F36;
  --help-chip: #2E5546; --help-chip-ink: #E6F4C8; --help-warn: #FFD2B0; --help-warn-wash: #4A2A18;
}
body.help-page main { max-width: none; padding: 0 0 40px; }
/* These listings are real places, so the payments demo label would mislead here. */
body.help-page .demo-pill { display: none; }
.help { font-family: var(--body); }
.help a { color: inherit; text-underline-offset: 3px; }
.help :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 0; }
.help-intro :focus-visible { outline-color: var(--help-gold); }
.help h2, .help h3, .help h4 { margin: 0; letter-spacing: -.02em; }
.help p { margin: 0; }
.help .small, .help small { font-size: 14px; line-height: 1.45; }

/* ---------- band ---------- */
.help-band { background: var(--help-band); color: var(--help-band-ink); padding: 24px 20px 28px; }
.help-band-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 24px; }
.help-modes { display: inline-flex; border: 2px solid var(--help-band-ink); }
.help-modes a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 700; font-size: 15px; text-decoration: none; }
.help-modes a[aria-current="page"] { background: var(--help-band-ink); color: var(--help-band); }
.help-intro h1 { margin: 22px 0 0; font: 850 clamp(46px, 13vw, 108px)/.94 var(--body); letter-spacing: -.045em; text-wrap: balance; }
.help-motto { margin-top: 10px !important; font: 850 clamp(24px, 6.4vw, 46px)/1 var(--body); letter-spacing: -.035em; color: var(--help-band-accent); }
.help-lede { margin-top: 16px !important; max-width: 46ch; font-size: 18px; line-height: 1.45; }
.help-urgent { margin-top: 14px !important; font-size: 14px; color: var(--help-band-accent); }
.help-back { font-size: 14px; }
.help-band-short .help-intro h1 { font-size: clamp(40px, 9vw, 76px); margin-top: 12px; }

/* ---------- search panel ---------- */
.help-panel { --ink: var(--help-panel-ink); --muted: var(--help-panel-muted); background: var(--help-panel); color: var(--help-panel-ink); padding: 20px; display: grid; gap: 14px; }
.help-panel .small { color: var(--help-panel-muted); }
.help form { display: grid; gap: 16px; }
.help fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.help legend, .help-field > label { display: block; padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.help-field { display: block; }
.help-field small { display: block; margin-top: 4px; color: var(--muted); }
.help input[type], .help select, .help textarea { border-radius: 0; border: 2px solid var(--ink); background: var(--sheet); color: var(--ink); min-height: 48px; }
.help-panel input[type], .help-panel select { background: var(--help-panel-field); }
.help input:focus-visible, .help select:focus-visible, .help textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.help-kinds { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.help-kinds legend { width: 100%; }
.help-chip { position: relative; }
.help-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; min-height: 0; }
.help-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); font-weight: 650; font-size: 15px; }
.help-chip input:checked + span { background: var(--ink); color: var(--help-panel); }
.help-chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.help-where-row { display: grid; gap: 10px; }
.help .btn { border-radius: 0; box-shadow: none; background: var(--help-accent); color: var(--help-accent-ink); min-height: 48px; text-decoration: none; }
.help .btn:hover { background: var(--help-accent-hover); }
.help .btn.small { min-height: 44px; }
.help .btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.help .btn.quiet:hover { background: var(--help-chip); color: var(--help-chip-ink); }
.help .btn.danger { background: transparent; color: var(--help-warn); box-shadow: inset 0 0 0 2px var(--help-warn); }
.help .btn[aria-pressed="true"] { background: var(--help-chip); color: var(--help-chip-ink); }
.help-search > .btn { width: 100%; min-height: 54px; font-size: 18px; }
.help-error { padding: 10px 12px; background: var(--help-warn-wash); color: var(--help-warn); border-left: 4px solid var(--help-warn); font-size: 15px; }
.help-note:empty, .help-shared:empty, .help-claim:empty { display: none; }
.help-note { font-size: 14px; color: var(--muted); }

/* ---------- results ---------- */
.help-body { box-sizing: content-box; max-width: 1180px; margin: 0 auto; padding: 28px 20px 0; display: grid; gap: 28px; }
.help-body > * { min-width: 0; }
.help-results-head h2:focus { outline: none; }
.help-hours { display: block; }
.help-body-narrow { max-width: 760px; }
.help-results { display: grid; gap: 20px; }
.help-results:empty { display: none; }
.help-results-head { display: grid; gap: 10px; }
.help-eyebrow { font-size: 14px; font-weight: 700; color: var(--muted); }
.help-results-head h2, .help-shared h2, .help-claims h2, .help-claim h2, .help-steps h2 { font: 850 clamp(24px, 5.2vw, 40px)/1.08 var(--body); letter-spacing: -.035em; overflow-wrap: anywhere; }
.help-results-head .small { color: var(--muted); }
.help-caution { padding-left: 12px; border-left: 4px solid var(--help-gold); font-size: 15px; max-width: 62ch; }
.help-list { display: grid; gap: 14px; align-items: start; }
.help-needs, .help-shared, .help-claims, .help-claim, .help-steps { display: grid; gap: 14px; }
.help-card { display: grid; gap: 12px; padding: 18px; background: var(--sheet); border: 1px solid var(--rule); min-width: 0; }
.help-card h2, .help-card h3 { font: 800 22px/1.15 var(--body); overflow-wrap: anywhere; }
.help-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.help-type { padding: 5px 8px; background: var(--help-chip); color: var(--help-chip-ink); font-weight: 700; }
.help-confirmed { font-weight: 700; color: var(--help-accent); }
.help-confirmed::before { content: '✓ '; }
.help-unconfirmed { color: var(--muted); }
/* First-visit guide: a sheet at the bottom on phones, a centred card on wider screens. */
.help-guide { box-sizing: border-box; width: min(100% - 24px, 520px); max-width: none; max-height: calc(100dvh - 24px); margin: auto auto 12px; padding: 22px 20px 12px; overflow-y: auto;
  --ink: var(--help-panel-ink); --muted: var(--help-panel-muted); background: var(--help-panel); color: var(--help-panel-ink); border: 2px solid var(--help-panel-ink); border-radius: 0; }
.help-guide::backdrop { background: rgba(21, 63, 54, .62); }
.help-guide[open] { display: grid; gap: 12px; }
.help-guide h2 { font: 850 clamp(28px, 8vw, 40px)/1.02 var(--body); letter-spacing: -.04em; }
.help-guide h2:focus { outline: none; }
.help-guide-step { font-size: 13px; font-weight: 700; color: var(--help-panel-muted); }
.help-guide-choices { display: grid; gap: 10px; margin-top: 4px; }
.help-guide-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-guide .btn { width: 100%; min-height: 54px; font-size: 17px; }
.help-guide input[type] { background: var(--help-panel-field); }
.help-guide-foot { display: flex; justify-content: space-between; align-items: center; }
.help-how { padding: 0; margin-top: 6px; color: inherit; font-size: 15px; font-weight: 650; }
.help-tip { display: grid; gap: 8px; padding: 14px; background: var(--help-accent); color: var(--help-accent-ink); }
.help-tip:focus { outline: none; }
.help-tip-count { font-size: 13px; font-weight: 700; }
.help-tip .btn { background: var(--help-accent-ink); color: var(--help-accent); }
.help-tip .btn:hover { background: var(--help-accent-ink); }
.help-tip .help-linkish { color: inherit; padding-inline: 8px; }
.help-tip-target { outline: 3px solid var(--help-gold); outline-offset: 4px; }
@media (min-width: 760px) { .help-guide { margin: auto; padding: 30px 30px 16px; } }
.help-photo { margin: -18px -18px 0; }
.help-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--help-chip); }
.help-photo figcaption { padding: 4px 18px 0; font-size: 12px; color: var(--muted); }
.help-where small { display: block; }
.help-where .help-linkish { padding: 0; min-height: 44px; color: var(--ink); font-size: 15px; }
.help [hidden] { display: none !important; }
/* The two sides read differently at a glance: green for finding help, lime for offering it. */
body.help-page .help-band-offer { --help-band: #D9EDAA; --help-band-ink: #153F36; --help-band-accent: #21674B; --help-gold: #153F36; }
body.help-page[data-alert-mode="dark"] .help-band-offer { --help-band: #2E5546; --help-band-ink: #F4F8EF; --help-band-accent: #D9EDAA; --help-gold: #FFC75F; }
.help-band-offer .help-panel { box-shadow: inset 0 0 0 2px var(--help-panel-ink); }
.help-where { font-size: 15px; color: var(--muted); }
.help-where b { color: var(--ink); }
.help-warning { padding: 10px 12px; background: var(--help-warn-wash); color: var(--help-warn); border-left: 4px solid var(--help-warn); font-size: 15px; }
.help-need { display: grid; gap: 6px; padding: 12px; background: var(--help-chip); color: var(--help-chip-ink); }
.help-facts { display: grid; gap: 10px; margin: 0; }
.help-facts dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.help-facts dd { margin: 2px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.help-facts dd small { display: block; color: var(--muted); }
.help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.help-more summary, .help-suggest > summary, .help-saved > summary, .help-others > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 650; }
.help-more[open] { display: grid; gap: 10px; }
.help-more h4 { font-size: 16px; margin-top: 6px; }
.help-linkish { background: none; border: 0; padding: 10px 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.help-others ul, .help-directories ul { margin: 0; padding: 0; list-style: none; }
.help-empty { display: grid; gap: 12px; padding: 22px; background: var(--sheet); border: 2px dashed var(--rule); }
.help-empty h2, .help-empty h3 { font: 800 24px/1.1 var(--body); }
.help-directories { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
.help-directories h3 { font: 800 20px/1.15 var(--body); }
.help-directories li { padding: 6px 0; }
.help-suggest, .help-saved { border-top: 1px solid var(--rule); padding-top: 8px; }
.help-suggest[open], .help-saved[open] { display: grid; gap: 14px; }
.help-suggest-form, .help-claim-form, .help-editor { max-width: 560px; }
.help-steps ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.help-target { padding: 12px; background: var(--help-chip); color: var(--help-chip-ink); }
.help-provider-link { font-size: 15px; color: var(--muted); }
.help-loading { color: var(--muted); }
.help-appearance { box-sizing: content-box; max-width: 1180px; margin: 28px auto 0; padding: 0 20px; }
.help-review { display: grid; gap: 28px; }
.help-review-block { display: grid; gap: 12px; }

@media (min-width: 760px) {
  .help-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-where-row { grid-template-columns: 1fr auto; align-items: end; }
  .help-band { padding: 40px 32px 44px; }
  .help-body { padding: 36px 32px 0; }
  .help-appearance { padding: 0 32px; }
}
@media (min-width: 1000px) {
  .help-band-inner { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 48px; align-items: end; }
  .help-band-short .help-band-inner { grid-template-columns: 1fr; }
  .help-panel { padding: 26px; }
}
@media (min-width: 1160px) {
  .help-results .help-list, .help-saved .help-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
