/* Help centre: search, answer index and an email-only contact form. */
.help-hero { padding-bottom: 3.5rem; }
.help-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .7fr); gap: 3rem; }
.help-hero-copy { position: relative; z-index: 1; }
.help-hero .section-head { margin-bottom: 2rem; }
.help-hero .lead { max-width: 35em; }
.help-hero h1 { max-width: 11ch; }
.help-search { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 76px; padding: 1rem 1.2rem; border: 1px solid var(--ember); background: var(--glass-solid); box-shadow: 0 0 2rem var(--accent-soft); }
.help-search:focus-within { outline: 1px solid var(--ember); outline-offset: 3px; }
.help-search-prompt { font: 2rem var(--font-data); color: var(--ember); }
.help-search input { min-width: 0; flex: 1; width: 100%; background: none; border: 0; color: var(--hot); font: 1.1rem var(--font-ui); outline: none; }
.help-search input::placeholder { color: var(--text-2); }
.help-search input::-webkit-search-cancel-button { display: none; }
.help-search-count { display: grid; text-align: right; font: .65rem var(--font-data); color: var(--label); }
.help-search-count b { color: var(--hot); font-size: 1.25rem; }
.help-search-clear { border: 1px solid var(--hair); background: none; color: var(--hot); min-width: 44px; min-height: 44px; font-size: 1.7rem; cursor: pointer; }
.help-search-scan { position: absolute; left: -1px; top: -1px; width: 35%; height: 2px; background: var(--hot); }
.help-status-row { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-block: .9rem 1.2rem; }
.help-status { margin: 0; font-size: .65rem; line-height: 1.8; }
.help-kbd { white-space: nowrap; margin: 0; font-size: .6rem; }
.help-try { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.help-try > span { margin-right: .3rem; }
.help-try button { background: var(--glass); border: 1px solid var(--hair); color: var(--text-2); padding: .55rem .7rem; min-height: 44px; cursor: pointer; font: .7rem var(--font-data); }
.help-try button:hover { border-color: var(--ember); color: var(--hot); }
.help-topics { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.help-topics a { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--hair); text-decoration: none; background: var(--glass); color: var(--text-2); font-size: 1rem; min-height: 44px; }
.help-topics a b { font: .65rem var(--font-data); color: var(--label); }
.help-topics a.is-on, .help-topics a:hover { border-color: var(--ember); color: var(--hot); background: var(--accent-soft); }
.help-hero-slot { min-width: 0; display: flex; align-items: end; justify-content: center; padding-bottom: 3rem; }
.help-hud { display: grid; width: 100%; border-block: 1px solid var(--hair-strong); background: var(--glass); font: .7rem var(--font-data); color: var(--label); }
.help-hud > span { display: flex; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--hair); }
.help-hud b { color: var(--hot); }
.help-hud i { width: 5px; height: 5px; background: var(--ember); align-self: center; }
.help-answers { background: color-mix(in srgb, var(--void) 94%, transparent); border-top: 1px solid var(--hair); }
.help-faq { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.help-rail { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.help-rail-title { margin-bottom: 1rem; }
.help-rail ol { list-style: none; margin: 0; padding: 0; }
.help-rail a[data-rail] { display: grid; grid-template-columns: 1rem 1fr auto; gap: .65rem; text-decoration: none; border-top: 1px solid var(--hair); padding: .9rem .3rem; color: var(--text-2); }
.help-rail a[data-rail] > span, .help-rail a[data-rail] > b { color: var(--label); font: .65rem var(--font-data); padding-top: .35rem; }
.help-rail a:hover, .help-rail a.is-on { color: var(--hot); border-color: var(--ember); }
.help-rail-card { margin-top: 1.5rem; border-left: 2px solid var(--ember); padding-left: 1rem; }
.help-rail-card p { font-size: 1rem; }
.help-rail-card a { font-size: .65rem; }
.help-groups { min-width: 0; }
.help-group { margin-top: 3rem; scroll-margin-top: calc(var(--header-h) + 2rem); }
.help-group-head { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding-bottom: 1.25rem; }
.help-group-icon { width: 24px; height: 24px; color: var(--ember); }
.help-group-letter { font: .7rem var(--font-data); color: var(--label); border: 1px solid var(--hair); padding: .4rem; }
.help-group-head h3 { font-size: 1.6rem; margin: 0; }
.help-group-n { margin-left: auto; color: var(--label); font: .65rem var(--font-data); }
.help-filter-note { display: flex; align-items: center; gap: 1rem; justify-content: space-between; padding: 1rem; background: var(--accent-soft); border: 1px solid var(--hair); }
.help-filter-note p { margin: 0; }
.help-empty h3 { overflow-wrap: anywhere; }
.help-before { background: var(--glass); border-block: 1px solid var(--hair); }
.help-steps { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.help-steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1rem; }
.help-step-n { color: var(--ember); font: .8rem var(--font-data); border-top: 1px solid var(--ember); padding-top: .5rem; }
.help-steps li b, .help-steps li span { display: block; }
.help-steps li b { color: var(--hot); }
.help-steps li span { color: var(--text-2); }
.help-doc-wrap { min-width: 0; }
.help-doc-cap { display: flex; justify-content: space-between; gap: 1rem; font-size: .6rem; }
.help-doc { position: relative; border: 1px solid var(--hair-strong); background: var(--glass-solid); box-shadow: 0 0 4rem var(--accent-soft); overflow: hidden; font-size: .9rem; }
.help-doc-top { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; padding: 1rem; border-bottom: 1px solid var(--hair); }
.help-doc-top b { color: var(--hot); }
.help-doc-top > span { color: var(--label); font-size: .75rem; }
.help-doc-top em { font: .6rem var(--font-data); color: var(--label); font-style: normal; }
.help-doc-tabs { display: flex; flex-wrap: wrap; padding-inline: 1rem; border-bottom: 1px solid var(--hair); }
.help-doc-tabs span { padding: .7rem .6rem; font-size: .75rem; color: var(--text-2); }
.help-doc-tabs .on { color: var(--hot); box-shadow: inset 0 -2px var(--ember); }
.help-doc-card { padding: 1.2rem; }
.help-doc-card h4 { color: var(--hot); margin: 0 0 .6rem; font-size: 1.25rem; }
.help-doc-note { font-size: .85rem; color: var(--text-2); }
.help-doc-row { display: grid; grid-template-columns: 1rem minmax(0, 1fr) auto; gap: .65rem; padding: .85rem 0; border-top: 1px solid var(--hair); align-items: center; }
.help-doc-row b, .help-doc-row small { display: block; }
.help-doc-row b { color: var(--hot); }
.help-doc-row small { color: var(--text-2); line-height: 1.4; margin-top: .2rem; }
.help-doc-mark { color: var(--ember); }
.help-doc-row.is-warn .help-doc-mark { color: var(--warn); }
.help-doc-btn, .help-doc-again { padding: .4rem .55rem; font: .55rem var(--font-data); border: 1px solid var(--hair-strong); color: var(--hot); }
.help-doc-again { display: inline-block; margin-top: .7rem; }
.help-doc-toast:empty { display: none; }
.help-contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 2rem; align-items: start; }
.help-form { min-width: 0; }
.help-form .form-actions { flex-wrap: wrap; }
.help-form .form-status { flex-basis: 100%; }
.help-form-fine { margin: 1rem 0 0; font-size: .9rem; color: var(--text-2); }
.help-opt { color: var(--label); font-size: .6rem; }
.help-form textarea.help-short { min-height: 6rem; }
.help-contact-side { min-width: 0; display: grid; gap: 1.25rem; }
.help-address-line { font-size: clamp(1.1rem, 1.5vw, 1.4rem); overflow-wrap: anywhere; }
.help-include ul { padding-left: 1.2rem; color: var(--text-2); }
.help-include li + li { margin-top: .6rem; }
.help-mark-warn { color: var(--warn); }
.help-preview { border: 1px solid var(--hair); background: var(--glass); padding: 1.2rem; }
.help-preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hair); color: var(--label); font: .6rem var(--font-data); }
.help-preview dl { font-size: .9rem; }
.help-preview dl > div { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .6rem; margin-block: .6rem; }
.help-preview dt { color: var(--label); }
.help-preview dd { margin: 0; overflow-wrap: anywhere; color: var(--hot); }
.help-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); font: .75rem/1.7 var(--font-data); max-height: 16rem; overflow-y: auto; }
.help-form button:disabled, .help-address button:disabled { opacity: .6; cursor: default; }
.help-answers [hidden], .help-filter-note[hidden], .help-search-clear[hidden] { display: none !important; }
.help-group .accordion > summary { align-items: start; }
.help-group .accordion > summary .q-index { padding-top: .25rem; }
@media (max-width: 979px) {
  .help-hero-grid { grid-template-columns: 1fr; }
  .help-hero-slot { display: none; }
  .page-help .stage, .page-help .stage-fallback { opacity: .22; }
  .help-hero-copy { max-width: 820px; }
  .help-faq { grid-template-columns: 1fr; }
  .help-rail { display: none; }
  .help-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .help-kbd, .help-search-count { display: none; }
  .help-search { gap: .6rem; padding: .7rem; }
  .help-search input { font-size: 1rem; }
  .help-status-row { display: block; }
  .help-topics { gap: .35rem; }
  .help-topics a { font-size: .9rem; padding: .55rem .65rem; }
  .help-group-head { gap: .5rem; }
  .help-group-head h3 { font-size: 1.3rem; }
  .help-group-n { font-size: .55rem; }
  .help-doc-card { padding: .85rem; }
  .help-doc-btn { font-size: .5rem; padding: .35rem; }
  .help-doc-top em { display: none; }
  .help-filter-note { align-items: start; flex-direction: column; }
  .help-form .form-actions > .btn { width: 100%; }
}
