/* Men in Motion — the help desk pages (/help, /help/requests, /help/requests/SR-…).
   From mockups/dashboard.html's "#help" and "#requests" views. Everything sits
   under .help: portal.css carries some of the same mockup class names, and the
   extra specificity keeps these rules in charge whichever sheet loads last.
   Colours are tokens from app.css; nothing new is below 4.5:1.
   Navy and white, as the dashboard (the user, 2026-10-27): navy-900, white and
   one light navy tint (--nv-tint) — the blue, green and gold accents are gone
   from the request form. Errors stay red. */

.help { --nv-tint: #edf1f8; --nv-line: #d5dcea; }

/* the visitor's frame: public header, no portal shell */
.help-public { display: block; max-width: 1180px; margin: 0 auto; padding: 30px 24px 72px; }
.help-public:focus { outline: none; }

.help .page-h { align-items: flex-end; }
.help .back { margin: 0 0 10px; font-size: 14px; }
.help .back a { font-weight: 600; text-decoration: none; }
.help .back a:hover { text-decoration: underline; }

.help .alert.bad a { color: inherit; font-weight: 700; text-decoration: underline; }

/* the navy band at the top, as on the dashboard */
.help .help-band { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 24px; flex-wrap: wrap; background: var(--navy-900); color: #dfe7f8; border-radius: 18px; padding: 26px 28px; margin-bottom: 20px; }
.help .hb-text { flex: 1 1 460px; min-width: 0; }
.help .help-band h1 { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.15; }
.help .hb-text > p { margin: 8px 0 0; max-width: 760px; font-size: 15px; line-height: 1.55; color: #dfe7f8; }
.help .help-promise { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #dfe7f8; }
.help .help-promise li { display: inline-flex; align-items: center; gap: 7px; }
.help .help-promise svg { width: 16px; height: 16px; color: #b9c7e6; flex-shrink: 0; }
.help .hb-btn { background: #fff; color: var(--navy-900); }
.help .hb-btn:hover { background: #e3e9f5; }
.help .help-band a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* form basics */
.help fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.help legend { padding: 0; }
.help .fs { font-size: 16px; margin: 0 0 12px; }
.help .fs-set { display: block; margin-bottom: 4px; }
.help .fs-set .err { margin: 8px 0 0; }
.help .fs-set.invalid .hw-cat-in { border-color: #e48a80; }
.help .opt { font: 500 13px var(--body); color: var(--ink-3); margin-left: 8px; }

/* the four steps: a bar across the top of the card */
.help .help-wiz { padding: 0; overflow: hidden; }
.help .hw-steps { list-style: none; margin: 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: #fff; border-bottom: 1px solid var(--line); }
.help .hw-steps button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 15px 2px 13px; background: none; border: 0; border-bottom: 3px solid transparent; font: 600 13.5px var(--body); color: var(--ink-3); text-align: left; cursor: pointer; }
.help .hw-steps button:disabled { cursor: default; }
.help .hw-steps button:not(:disabled):hover .l { color: var(--navy-900); text-decoration: underline; }
.help .hw-steps button:focus-visible { outline: 3px solid var(--blue-600); outline-offset: -3px; border-radius: 6px; }
.help .hw-steps .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: #fff; border: 1.5px solid var(--line-strong); font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.help .hw-steps .done { color: var(--navy-900); }
.help .hw-steps .done .n { background: var(--nv-tint); border-color: var(--navy-900); color: var(--navy-900); }
.help .hw-steps [aria-current="step"] { color: var(--navy-900); border-bottom-color: var(--navy-900); }
.help .hw-steps [aria-current="step"] .n { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.help .hw-body { padding: 26px 28px 26px; container: hw / inline-size; }
.help .hw-body > .alert { margin-bottom: 18px; }
.help .hw-step h2 { font-size: 21px; margin: 0 0 4px; }
.help .hw-step h2:focus { outline: none; }
.help .hw-lead { margin: 0 0 20px; color: var(--ink-2); font-size: 14.5px; }
/* A rule between the parts of a step that show — the other categories' blocks are hidden siblings. */
.help .hw-block:not([hidden]) ~ .hw-block:not([hidden]), .help #hw-context { border-top: 1px solid var(--line-2); padding-top: 20px; margin-top: 6px; }
.help .hw-nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.help .hw-nav [data-back] { margin-right: auto; }
.help .hw-nav .btn { min-width: 128px; justify-content: center; }

/* 1. categories: tiles with an icon, and "Not sure" across the bottom */
/* Three across — nine tiles, then "Not sure" the full width. Narrower, two across
   with "Not sure" an ordinary tile (ten tiles, five rows); on a phone, one. */
.help .hw-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@container hw (max-width: 620px) {
  .help .hw-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help .hw-cat-wide { grid-column: auto; }
}
@container hw (max-width: 400px) {
  .help .hw-cats { grid-template-columns: minmax(0, 1fr); }
}
.help .hw-cat { position: relative; display: block; cursor: pointer; }
.help .hw-cat input { position: absolute; opacity: 0; pointer-events: none; }
.help .hw-cat-in { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-content: start; height: 100%; padding: 14px 34px 14px 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; transition: border-color .15s, background .15s, box-shadow .15s; }
.help .hw-cat .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--nv-tint); color: var(--navy-900); transition: background .15s, color .15s; }
.help .hw-cat .ic svg { width: 21px; height: 21px; }
.help .hw-cat b { font-size: 14.5px; line-height: 1.3; color: var(--navy-900); align-self: end; }
.help .hw-cat small { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.help .hw-cat:hover .hw-cat-in { border-color: var(--navy-900); }
.help .hw-cat input:checked + .hw-cat-in { border-color: var(--navy-900); background: var(--nv-tint); box-shadow: inset 0 0 0 1px var(--navy-900); }
.help .hw-cat input:checked + .hw-cat-in .ic { background: var(--navy-900); color: #fff; }
/* the chosen tile's tick: a navy disc and a drawn check, no image */
.help .hw-cat input:checked + .hw-cat-in::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-900); }
.help .hw-cat input:checked + .hw-cat-in::before { content: ""; position: absolute; top: 15px; right: 18px; z-index: 1; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.help .hw-method .hw-cat-in { padding-right: 34px; }
.help .hw-cat input:focus-visible + .hw-cat-in { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.help .hw-cat-wide { grid-column: 1 / -1; }
.help .hw-cat-wide .hw-cat-in { border-style: dashed; }
.help .hw-cat-wide input:checked + .hw-cat-in { border-style: solid; }

/* 1. topics for the chosen category */
.help .hw-topics { margin-top: 22px; padding: 18px 18px 4px; background: var(--nv-tint); border: 1px solid var(--nv-line); border-radius: 14px; }
/* chips: chosen is solid navy */
.help .chips .choice span { border-width: 1px; }
.help .chips .choice input:checked + span { border-color: var(--navy-900); background: var(--navy-900); color: #fff; box-shadow: none; }
.help .chips .choice:hover input:not(:checked) + span { border-color: var(--navy-900); }
.help .hw-topics legend { float: left; width: 100%; margin-bottom: 12px; }
.help .hw-topics .chips { clear: both; }
.help .hw-q { font: 700 16px var(--display); color: var(--navy-900); }

/* 2. follow-up questions */
.help .hq { margin: 0 0 18px; }
.help .hq-l { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.help .field.hq { gap: 0; }
.help .hq .chips { margin: 0; }
.help .hq .chips .choice span { font-size: 13.5px; padding: 7px 13px; }
.help .hq select, .help .hq input[type=text] { max-width: 480px; }
.help .hw-sub-h { font-size: 15.5px; margin: 0 0 14px; }
.help .hw-note { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--nv-tint); color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.help .hw-note svg { width: 18px; height: 18px; color: var(--navy-900); flex-shrink: 0; margin-top: 1px; }
.help .hw-note a { font-weight: 700; color: var(--navy-900); }
.help .hw-count { justify-self: end; }
.help #h-text { min-height: 110px; }

/* 2. someone at risk: a calm switch, and one line when it's on */
.help .hw-safety .switch, .help .hw-okid { border: 0; padding: 4px 0 8px; }
.help .switch input:disabled { opacity: 1; cursor: not-allowed; }
.help .switch input:checked { background: var(--navy-900); }
.help .hw-safety .hw-note { margin: 0 0 4px; }

/* 2. "Tell us more", in cards (the user, 2026-10-27: "visually enhance"): a
   count of what's answered, the category's questions and then everyone's,
   each a numbered card whose number turns into a tick once answered, then
   his own words and the safety switch, each in its own panel. */
.help .hq[hidden], .help .hq-grid[hidden], .help .hw-group[hidden] { display: none !important; }
.help .hw-more { counter-reset: hq; }
.help .hw-meter { display: flex; align-items: center; gap: 12px; margin: -6px 0 22px; }
.help .hw-meter-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--nv-tint); overflow: hidden; }
.help .hw-meter-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--navy-900); transition: width .35s ease; }
.help .hw-meter-txt { min-width: 9.5em; text-align: right; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--navy-900); }
.help .hw-group { margin: 0 0 24px; }
.help .hw-group-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.help .hw-group-h .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--navy-900); color: #fff; }
.help .hw-group-h .ic svg { width: 19px; height: 19px; }
.help .hw-group-h h3 { margin: 0; font-size: 16px; color: var(--navy-900); }
.help .hw-group-h p { margin: 1px 0 0; font-size: 13px; color: var(--ink-3); }
.help .hq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.help .hq-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 14px; margin: 0; padding: 16px 16px 16px 14px; border: 1px solid var(--nv-line); border-radius: 14px; background: #fff; counter-increment: hq; transition: border-color .2s, box-shadow .2s; }
.help .hq-card:hover { border-color: #b8c3d9; }
.help .hq-card.is-answered { border-color: var(--navy-900); box-shadow: inset 3px 0 0 var(--navy-900); }
.help .hq-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--nv-tint); color: var(--navy-900); font: 700 13px var(--body); }
.help .hq-n::before { content: counter(hq); }
.help .hq-card.is-answered .hq-n { background: var(--navy-900); color: #fff; animation: hw-pop .3s ease-out; }
.help .hq-card.is-answered .hq-n::before { content: "✓"; }
.help .hq-body { min-width: 0; margin: 0; }
.help .hq-card .hq-l { margin: 5px 0 10px; font-size: 14.5px; }
.help .hq-hint { margin: -6px 0 10px; font-size: 12.5px; color: var(--ink-3); }
.help .hq-card .field, .help .hq-card.field { margin-bottom: 0; }
.help .hq-card .hq-alt { grid-column: 2; }
.help .hw-say { margin: 0 0 12px; padding: 16px; gap: 10px; border: 1px solid var(--nv-line); border-radius: 14px; background: var(--nv-tint); }
.help .hw-say-h { display: flex; gap: 12px; align-items: flex-start; }
.help .hw-say-h .ic, .help .hw-safety > .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--navy-900); color: #fff; }
.help .hw-say-h .ic svg, .help .hw-safety > .ic svg { width: 18px; height: 18px; }
.help .hw-say-h label { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.help .hw-say-h p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.help .hw-say textarea { background: #fff; }
.help .hw-safety { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px 8px; border: 1px solid var(--nv-line); border-radius: 14px; background: #fff; }
.help .hw-safety > .ic { margin-top: 8px; }
.help .hw-safety-b { flex: 1; min-width: 0; }

/* 3. the meeting questions, two across; a chips question takes the row */
.help .hq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.help .hq-grid .hq { min-width: 0; margin-bottom: 16px; }
.help .hq-grid .hq:has(> fieldset) { grid-column: 1 / -1; }
.help .hq-grid .field { margin-bottom: 0; }

/* 3. contact methods */
.help .hw-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.help .hw-method .hw-cat-in { grid-template-columns: 34px minmax(0, 1fr); align-items: center; padding: 11px 12px; }
.help .hw-method .ic { grid-row: auto; width: 34px; height: 34px; border-radius: 9px; }
.help .hw-method .ic svg { width: 18px; height: 18px; }
.help .hw-method b { align-self: center; }
.help .hw-okid { margin-bottom: 4px; }
.help #hw-context { margin-top: 14px; }

/* 4. check and send */
.help .hw-review { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 18px; }
.help .hw-rv { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 18px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.help .hw-rv:last-child { border-bottom: 0; }
.help .hw-rv h3 { font: 600 13.5px var(--body); color: var(--ink-3); margin: 0; }
.help .hw-rv .v { min-width: 0; font-size: 14.5px; color: var(--ink); }
.help .hw-rv .v p { margin: 0 0 3px; overflow-wrap: anywhere; }
.help .hw-rv .v p:first-child { font-weight: 600; color: var(--navy-900); }
.help .hw-rv .v .q { color: var(--ink-2); font-weight: 400; }
.help .hw-rv .v p:has(.q) { font-weight: 400; color: var(--ink); }
.help .hw-change { font-size: 13.5px; align-self: start; text-decoration: underline; }
/* consent (BR-SVC-03) */
.help .consent { background: var(--nv-tint); border: 1px solid var(--nv-line); border-radius: 14px; padding: 16px 18px 6px; font-size: 13.5px; color: var(--ink); margin: 0; }
.help .consent h3 { font-size: 14.5px; margin: 0 0 8px; color: var(--navy-900); }
.help .consent ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 4px; }
.help .consent .field { margin-bottom: 10px; }
.help .consent .check { margin: 0; color: var(--navy-900); font-weight: 600; }

/* the confirmation */
.help .success { text-align: left; padding: 4px 0 0; }
.help .success .badge { margin: 0 0 14px; background: var(--navy-900); color: #fff; }
.help .success h2:focus { outline: none; }
.help .success .lead { margin: 0 0 18px; color: var(--ink-2); }
.help .ref { display: inline-block; font: 700 15px var(--body); letter-spacing: .04em; background: var(--nv-tint); border: 1px solid var(--nv-line); border-radius: 10px; padding: 8px 14px; margin: 6px 0 18px; color: var(--navy-900); }
.help .btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }

/* side cards */
.help .side-stack { display: grid; gap: 18px; align-content: start; }
.help .hw-who > h2 { margin: -22px -22px 20px; padding: 15px 22px; background: var(--navy-900); color: #fff; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.help .timeline .dot { background: var(--nv-tint); color: var(--navy-900); }
.help .timeline .done .dot { background: var(--navy-900); color: #fff; }
.help .timeline .now .dot { background: var(--navy-900); color: #fff; box-shadow: 0 0 0 5px var(--nv-tint); }

/* "Who you'll talk to": the category's glyph beside who will call, and a checklist */
.help .hw-who-b { animation: hw-in .35s ease-out both; }
.help .hw-who-p { display: flex; gap: 14px; align-items: flex-start; }
.help .hw-who-p .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--navy-900); color: #fff; box-shadow: 0 0 0 5px var(--nv-tint); margin: 4px 0 0 4px; }
.help .hw-who-p .ic svg { width: 22px; height: 22px; }
.help .hw-who-p b { display: block; font-size: 14.5px; color: var(--navy-900); margin-bottom: 2px; }
.help .hw-who-p p { margin: 0; font-size: 14px; color: var(--ink-2); }
.help .hw-who h3 { font-size: 13.5px; margin: 18px 0 8px; color: var(--navy-900); }
.help .hw-ready { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.help .hw-ready li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; background: var(--nv-tint); font-size: 13.5px; color: var(--ink); animation: hw-in .35s ease-out both; }
.help .hw-ready li:nth-child(2) { animation-delay: .08s; }
.help .hw-ready li:nth-child(3) { animation-delay: .16s; }
.help .hw-ready svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--navy-900); }

/* "What happens next": three steps that arrive in turn, a line that draws
   between them, and a pulse on the first — three beats, under five seconds
   (WCAG 2.2.2), so it needs no pause control. */
.help .hw-flow { list-style: none; margin: 14px 0 0; padding: 0; }
.help .hw-flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; animation: hw-in .4s ease-out both; }
.help .hw-flow li:nth-child(2) { animation-delay: .15s; }
.help .hw-flow li:nth-child(3) { animation-delay: .3s; padding-bottom: 0; }
.help .hw-flow li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--nv-line); transform-origin: top; animation: hw-draw .5s ease-out .2s both; }
.help .hw-flow li:nth-child(2)::before { animation-delay: .35s; }
.help .hw-flow .dot { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--nv-tint); color: var(--navy-900); }
.help .hw-flow .dot svg { width: 18px; height: 18px; }
.help .hw-flow .is-now .dot { background: var(--navy-900); color: #fff; }
.help .hw-flow .is-now .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--navy-700); opacity: 0; animation: hw-pulse 1.4s ease-out .6s 3; }
.help .hw-flow b { display: block; font-size: 14.5px; color: var(--navy-900); margin-top: 1px; }
.help .hw-flow small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.help .hw-flow .when { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; padding: 3px 10px; border-radius: 999px; background: var(--nv-tint); font-size: 12px; font-weight: 700; color: var(--navy-900); }
.help .hw-flow .when svg { width: 13px; height: 13px; }

/* "Private to you": the navy card */
.help .hw-private { display: flex; gap: 14px; align-items: flex-start; background: var(--navy-900); border-color: var(--navy-900); color: #dfe7f8; }
.help .hw-private .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.help .hw-private .ic svg { width: 21px; height: 21px; }
.help .side-stack .card.hw-private h2 { color: #fff; }
.help .side-stack .card.hw-private p { color: #dfe7f8; }
.help .hw-private a { color: #fff; font-weight: 700; }
.help .hw-private a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.help .hw-priv { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 7px; font-size: 13px; color: #c9d5ee; }
.help .hw-priv li { display: flex; gap: 8px; align-items: center; }
.help .hw-priv svg { width: 15px; height: 15px; flex-shrink: 0; color: #b9c7e6; }

/* the form's own motion: a progress line under the step bar, each step easing
   in, the current number and a chosen tile's tick popping */
.help .hw-progress { height: 3px; background: var(--line-2); margin-top: -1px; }
.help .hw-progress span { display: block; width: 0; height: 100%; background: var(--navy-900); transition: width .45s ease; }
.help .hw-steps [aria-current="step"] .n { animation: hw-pop .3s ease-out; }
.help .hw-step:not([hidden]) { animation: hw-in .3s ease-out; }
.help .hw-cat input:checked + .hw-cat-in::after { animation: hw-pop .25s ease-out; }
.help .hw-cat input:checked + .hw-cat-in::before { animation: hw-pop-tick .25s ease-out; }
.help .hw-topics:not([hidden]), .help .hq:not([hidden]) { animation: hw-in .3s ease-out; }

@keyframes hw-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hw-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hw-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes hw-pop-tick { 0% { transform: rotate(45deg) scale(.6); } 70% { transform: rotate(45deg) scale(1.12); } 100% { transform: rotate(45deg) scale(1); } }
@keyframes hw-pulse { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.45); } }

@media (prefers-reduced-motion: reduce) {
  .help .hq-card.is-answered .hq-n, .help .hw-who-b, .help .hw-ready li, .help .hw-flow li, .help .hw-flow li::before, .help .hw-flow .is-now .dot::after,
  .help .hw-steps [aria-current="step"] .n, .help .hw-step, .help .hw-cat-in::after, .help .hw-cat-in::before, .help .hw-topics, .help .hq { animation: none !important; }
  .help .hw-progress span, .help .hw-meter-bar i, .help .hq-card { transition: none; }
}
.help .side-stack .card h2 { font-size: 15.5px; margin-bottom: 8px; }
.help .side-stack .card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.help .side-stack .timeline { margin-top: 10px; }
.help .navy-card { background: var(--navy-900); border: 0; color: #dfe7f8; }
.help .navy-card h2 { color: #fff; }
.help .side-stack .navy-card p { color: #dfe7f8; }
.help .navy-card a { color: #fff; font-weight: 700; }

/* my requests */
/* .sr-only is position:absolute; without a positioned ancestor the table's
   hidden caption and "Open" header escape the scroll wrapper and widen the
   whole page at phone width (measured: 156px at 375). */
.help .tbl-wrap { position: relative; }
.help .req-tbl .t-main b { display: flex; align-items: center; gap: 6px; }
.help .req-tbl .lk { display: inline-flex; width: 15px; height: 15px; color: #5b45c4; flex-shrink: 0; }
.help .req-tbl .lk svg { width: 15px; height: 15px; }
.help .req-tbl td.act { text-align: right; }
.help .empty h2 { font-size: 17px; margin-bottom: 6px; }
.help .empty p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; }
.help .crisis { font-size: 13.5px; color: var(--ink-2); margin: 18px 0 0; }
.help .crisis b { color: var(--bad); }

/* one request */
.help .req-main .lock { margin: 0 0 16px; }
.help .req-main dl.sum { margin-bottom: 14px; }
.help .req-main dl.sum dd { overflow-wrap: anywhere; }
.help details.sent { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 6px; }
.help details.sent summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--navy-900); }
.help details.sent[open] summary { margin-bottom: 10px; }
.help details.sent .body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 10px; font-size: 14px; }
.help .sum-h { font-family: var(--body); }
.help .thread { display: grid; gap: 10px; margin-bottom: 14px; }
.help .bubble { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; font-size: 14px; max-width: 88%; justify-self: start; }
.help .bubble small { display: block; color: var(--ink-3); font-size: 12px; margin-bottom: 2px; font-weight: 600; }
.help .bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
/* .mine, not the mockup's .me: .me is the top bar's avatar block (display:flex). */
.help .bubble.mine { background: var(--blue-100); justify-self: end; }
.help .bubble.mine small { color: #3f4f6e; }
.help #reply-form .alert { margin-bottom: 12px; }
#withdraw-card > p { margin-bottom: 12px; }
.help .wd-confirm { margin-top: 12px; }
.help .wd-confirm p { margin: 0 0 10px; }

@media (max-width: 640px) {
  .help-public { padding: 18px 12px 48px; }
  .help .hq-grid { grid-template-columns: minmax(0, 1fr); }
  .help .hq-card { grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px; padding: 14px 12px; }
  .help .hq-n { width: 26px; height: 26px; font-size: 12px; }
  .help .hw-meter-txt { min-width: 0; }
  .help .help-band { padding: 20px 16px; border-radius: 14px; }
  .help .help-band h1 { font-size: 25px; }
  .help .page-h .btn { align-self: flex-start; }
  /* the step bar: numbers, and the name of the step he is on */
  .help .hw-steps { padding: 0 12px; gap: 4px; grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .help .hw-steps .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .help .hw-steps [aria-current="step"] .l { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .help .hw-body { padding: 20px 16px; }
  .help .hw-methods { grid-template-columns: 1fr; }
  .help .hw-rv { grid-template-columns: minmax(0, 1fr) auto; }
  .help .hw-rv .v { grid-column: 1 / -1; grid-row: 2; }
  .help .hw-nav .btn { min-width: 0; }
}

/* ---------------------------------------------------------------------------
 * The app's Help screen (mockups/mobile-app/help.html) — INSIDE THE APP, ON A
 * PHONE ONLY (the user, 2026-11-18: "the mobile-app designs for the app only").
 * html.is-app is set before first paint (assets/js/app-mode.js / pwa.js); in a
 * browser, on a phone or not, the page above is unchanged.
 * Media queries, not :has() or @container: the Play app runs in whatever Chrome
 * the phone has, and Chromes before 105 drop both.
 * ------------------------------------------------------------------------- */
.help .hb-eyebrow, .help .hb-app, .help .hw-open { display: none; }

@media (max-width: 640px) {
  html.is-app .help .hb-web { display: none; }
  html.is-app .help .hb-app { display: inline; }

  /* the navy band: edge to edge, a quiet ring in the corner, "My requests" up top */
  html.is-app .help .help-band { position: relative; overflow: hidden; display: block; margin: -18px -14px 0; padding: 22px 16px 26px; border-radius: 0; }
  html.is-app .help .help-band.has-open { padding-bottom: 66px; }
  html.is-app .help .help-band::after { content: ""; position: absolute; right: -110px; top: -70px; width: 280px; height: 280px; border-radius: 50%; border: 38px solid rgba(255, 255, 255, .06); pointer-events: none; }
  html.is-app .help .hb-text { position: relative; z-index: 1; }
  html.is-app .help .hb-eyebrow { display: block; margin: 6px 0 8px; padding-right: 140px; font: 800 12.5px/1.2 var(--display); letter-spacing: .08em; color: var(--gold-500); }
  html.is-app .help .help-band h1 { font: italic 800 29px/1.12 var(--display); }
  html.is-app .help .hb-text > p { font-size: 14.5px; }
  html.is-app .help .help-promise { flex-direction: column; gap: 9px; margin-top: 14px; font-size: 13.5px; }
  html.is-app .help .help-promise svg { color: var(--gold-500); width: 18px; height: 18px; }
  html.is-app .help .hb-btn { position: absolute; z-index: 1; top: 16px; right: 16px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 7px 14px; gap: 0; }
  html.is-app .help .hb-btn:active { background: rgba(255, 255, 255, .1); }

  /* his open request, lifted over the band's foot */
  html.is-app .help .hw-open { position: relative; z-index: 2; display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; align-items: center; margin: -48px 2px 18px; padding: 14px 14px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 30px -18px rgba(10, 28, 68, .45); color: var(--navy-900); text-decoration: none; }
  html.is-app .help .hw-open .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--nv-tint); }
  html.is-app .help .hw-open .ic svg { width: 22px; height: 22px; }
  html.is-app .help .hw-open b { display: block; font-size: 15px; line-height: 1.3; }
  html.is-app .help .hw-open small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 1px; }
  html.is-app .help .hw-open-p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
  html.is-app .help .hw-open .go { width: 20px; height: 20px; color: var(--ink-3); }
  html.is-app .help .hw-open:focus-visible { outline: 3px solid var(--blue-600, #1d5fd6); outline-offset: 2px; }

  /* the form sits on the page, not in a card */
  html.is-app .help .help-band + .grid, html.is-app .help .hw-open + .grid { margin-top: 18px; }
  /* overflow visible: a clipping ancestor would stop the sticky buttons below */
  html.is-app .help .help-wiz { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  html.is-app .help .hw-steps { padding: 0 2px; background: transparent; }
  html.is-app .help .hw-body { padding: 18px 0 0; }
  html.is-app .help .hw-step h2 { font: italic 800 21px/1.2 var(--display); }

  /* 1. the categories: two across, icon over name, the chosen one navy with a gold tick */
  html.is-app .help .hw-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html.is-app .help .hw-cat-wide { grid-column: 1 / -1; }
  html.is-app .help .hw-cat-in { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 112px; padding: 14px 14px 16px; border-radius: 16px; border-color: var(--line); }
  html.is-app .help .hw-cat .ic { width: 38px; height: 38px; border-radius: 10px; }
  html.is-app .help .hw-cat b { font-size: 14.5px; align-self: auto; }
  html.is-app .help .hw-cat small { display: none; }
  html.is-app .help .hw-cat input:checked + .hw-cat-in { background: var(--navy-900); border-color: var(--navy-900); box-shadow: none; }
  html.is-app .help .hw-cat input:checked + .hw-cat-in b { color: #fff; }
  html.is-app .help .hw-cat input:checked + .hw-cat-in .ic { background: rgba(255, 255, 255, .14); color: #fff; }
  html.is-app .help .hw-cat input:checked + .hw-cat-in::after { top: 12px; right: 12px; width: 22px; height: 22px; background: var(--gold-500); }
  html.is-app .help .hw-cat input:checked + .hw-cat-in::before { top: 16px; right: 20px; width: 5px; height: 10px; border-color: var(--navy-900); }
  html.is-app .help .hw-cat input:focus-visible + .hw-cat-in { outline: 3px solid var(--blue-600, #1d5fd6); outline-offset: 2px; }
  /* how we reach you: the same tiles, a row each */
  html.is-app .help .hw-method .hw-cat-in { flex-direction: row; align-items: center; min-height: 0; }

  /* the step's buttons held just above the tabs, the width of the screen */
  html.is-app .help .hw-nav { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 5; margin: 22px -14px 0; padding: 12px 14px; background: #fff; border-top: 1px solid var(--line); }
  html.is-app .help .hw-nav .btn { flex: 1 1 0; min-height: 52px; border-radius: 999px; font-size: 16px; }
  html.is-app .help .hw-nav [data-back] { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; margin-right: 0; }
}

/* ---------------------------------------------------------------------------
 * The app's request screens — one request (mockups/mobile-app/request.html)
 * and the /help/requests list. INSIDE THE APP, ON A PHONE ONLY, like the Help
 * block above: html.is-app + max-width 640px; the website is unchanged.
 * Scoped .hr-req (views/help/request.php) and .hr-list (requests.php).
 * ------------------------------------------------------------------------- */
.help .rq-eyebrow, .help .rq-send { display: none; }

@media (max-width: 640px) {
  /* -- one request ------------------------------------------------------- */
  html.is-app .help .hr-req .back { display: none; }   /* the app bar has its own back arrow */
  /* the head: a white card, "Private request" over the category, the progress attached below */
  html.is-app .help .hr-req .page-h { display: block; margin: 0; padding: 16px 16px 14px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; }
  html.is-app .help .hr-req .rq-eyebrow { display: block; margin: 0 0 6px; font: 800 12.5px/1.2 var(--display); letter-spacing: .08em; color: var(--warn); }
  html.is-app .help .hr-req .page-h h1 { font: italic 800 24px/1.15 var(--display); color: var(--navy-900); }
  html.is-app .help .hr-req .page-h p:not(.rq-eyebrow) { margin: 4px 0 10px; font-size: 13.5px; color: var(--ink-2); }
  html.is-app .help .hr-req .page-h .pill { white-space: normal; }

  /* the side cards join the column so Progress can sit first, under the head */
  html.is-app .help .hr-req .g-main { gap: 16px; }
  html.is-app .help .hr-req .side-stack { display: contents; }
  html.is-app .help .hr-req .side-stack > .card:first-child { order: -1; margin-bottom: 2px; padding: 16px 10px 14px; border-top: 1px dashed var(--line); border-radius: 0 0 16px 16px; box-shadow: none; }
  html.is-app .help .hr-req .side-stack > .card:first-child h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.is-app .help .hr-req .g-main > .side-stack > .card:first-child { margin-top: -16px; }
  /* Progress as a stepper across the card */
  html.is-app .help .hr-req .timeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; }
  html.is-app .help .hr-req .timeline li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 2px; text-align: center; }
  html.is-app .help .hr-req .timeline li::before { left: 50%; right: -50%; top: 13px; bottom: auto; width: auto; height: 3px; background: var(--line); }
  html.is-app .help .hr-req .timeline li.done::before { background: var(--navy-900); }
  html.is-app .help .hr-req .timeline .dot { position: relative; z-index: 1; }
  html.is-app .help .hr-req .timeline .now .dot { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 0 0 4px var(--gold-100); }
  html.is-app .help .hr-req .timeline b { font-size: 12.5px; line-height: 1.25; color: var(--navy-900); }
  html.is-app .help .hr-req .timeline small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; }

  /* the conversation sits on the page, not in a card */
  html.is-app .help .hr-req .req-main { background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; }
  html.is-app .help .hr-req .req-main dl.sum { margin: 0 0 12px; padding: 14px 16px 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  html.is-app .help .hr-req details.sent { background: #fff; border-radius: 16px; padding: 12px 16px; }
  html.is-app .help .hr-req .sum-h { justify-content: center; margin: 20px 0 12px; font: 600 13px/1.3 var(--body); letter-spacing: 0; color: var(--ink-3); text-align: center; }
  html.is-app .help .hr-req .bubble { max-width: 82%; padding: 10px 14px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; font-size: 15px; line-height: 1.45; color: var(--ink); }
  html.is-app .help .hr-req .bubble.mine { background: var(--navy-900); border-color: var(--navy-900); border-radius: 18px 18px 6px 18px; color: #fff; }
  html.is-app .help .hr-req .bubble.mine small { color: #b9c6e4; }
  html.is-app .help .hr-req .req-main > .lock { margin: 0 0 12px; background: transparent; padding: 0 4px; font-size: 13px; }

  /* the reply bar: held just above the tabs, a round box and a gold send button */
  html.is-app .help .hr-req #reply-form { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 10px; align-items: end; margin: 18px -14px 0; padding: 12px 14px; background: #fff; border-top: 1px solid var(--line); }
  html.is-app .help .hr-req #reply-form .alert { grid-column: 1 / -1; margin: 0; }
  html.is-app .help .hr-req #reply-form .field { margin: 0; }
  html.is-app .help .hr-req #reply-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.is-app .help .hr-req #reply { min-height: 52px; height: 52px; padding: 14px 18px; border-radius: 26px; resize: none; font-size: 15px; }
  html.is-app .help .hr-req #reply:focus { height: 104px; border-radius: 20px; }
  html.is-app .help .hr-req #reply-send { width: 52px; height: 52px; min-height: 52px; padding: 0; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); font-size: 0; gap: 0; }
  html.is-app .help .hr-req #reply-send .rq-send { display: block; width: 22px; height: 22px; }
  html.is-app .help .hr-req #reply-send .spinner { width: 20px; height: 20px; }

  html.is-app .help .hr-req .side-stack > .card { border-radius: 16px; }

  /* -- the list of his requests ------------------------------------------ */
  html.is-app .help .hr-list .page-h { position: relative; overflow: hidden; display: block; margin: -18px -14px 18px; padding: 22px 16px 24px; background: var(--navy-900); }
  html.is-app .help .hr-list .page-h::after { content: ""; position: absolute; right: -100px; top: -70px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); pointer-events: none; }
  html.is-app .help .hr-list .page-h > div { position: relative; z-index: 1; }
  html.is-app .help .hr-list .page-h h1 { font: italic 800 29px/1.12 var(--display); color: #fff; }
  html.is-app .help .hr-list .page-h p { margin-top: 6px; font-size: 14.5px; color: #dfe7f8; }
  html.is-app .help .hr-list .page-h .btn { position: relative; z-index: 1; margin-top: 16px; border-radius: 999px; }
  /* the table becomes a card of rows */
  html.is-app .help .hr-list .tbl-wrap { overflow: hidden; border-radius: 16px; }
  html.is-app .help .hr-list .req-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html.is-app .help .hr-list .req-tbl, html.is-app .help .hr-list .req-tbl tbody { display: block; }
  html.is-app .help .hr-list .req-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
  html.is-app .help .hr-list .req-tbl tr:last-child { border-bottom: 0; }
  html.is-app .help .hr-list .req-tbl td { display: block; padding: 0; border: 0; background: none; }
  html.is-app .help .hr-list .req-tbl td.t-main { grid-column: 1; grid-row: 1; }
  html.is-app .help .hr-list .req-tbl td.t-main b { font: 600 15px/1.35 var(--body); }
  html.is-app .help .hr-list .req-tbl td.t-main small { display: block; margin-top: 1px; }
  html.is-app .help .hr-list .req-tbl td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--ink-3); }
  html.is-app .help .hr-list .req-tbl td:nth-child(3) { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
  html.is-app .help .hr-list .req-tbl td:nth-child(4) { grid-column: 1; grid-row: 4; margin-top: 2px; color: var(--ink-2); }
  html.is-app .help .hr-list .req-tbl td.act { grid-column: 2; grid-row: 1 / span 4; }
  html.is-app .help .hr-list .req-tbl td.act .btn { border-radius: 999px; }
  html.is-app .help .hr-list .req-tbl .lk { color: var(--navy-900); }
}
