/* Help pages: documentation layout measured against mention.network/help. One sans family, pale cards, no photo. */
.help-shell, .helphub { font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.help-article h1, .help-article h2, .hh-head h1, .helphub h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; }
.help-shell { display: grid; grid-template-columns: 260px minmax(0, 812px); gap: 48px; max-width: 1120px; margin: 0 auto; padding: 96px 16px 96px; }
.help-nav { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.help-nav .label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.help-nav .label a { color: inherit; }
.help-nav .grp { font-weight: 600; color: var(--text); margin: 20px 0 6px; line-height: 1.4; }
.help-nav .grp:first-of-type { margin-top: 0; }
.help-nav ul { list-style: none; margin: 0; padding: 0 0 0 10px; border-left: 1px solid var(--border); }
.help-nav li a { display: block; padding: 6px 8px; color: var(--muted); border-radius: 6px; }
.help-nav li a:hover { color: var(--text); }
.help-nav li a[aria-current] { color: var(--primary); font-weight: 500; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.help-article .crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 10px; opacity: .5; }
.help-article { font-size: 16px; line-height: 1.7; color: var(--text); }
.help-article h1 { font-size: 44px; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.updated { font-size: 14px; color: var(--muted); margin: 12px 0 32px; }
.help-article h2 { font-size: 26px; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); margin: 40px 0 12px; }
.help-article h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 24px 0 4px; }
.help-article p { margin: 0 0 16px; }
.help-article strong { color: var(--text); font-weight: 600; }
.help-article a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.help-article ul, .help-article ol { padding-left: 22px; margin: 0 0 16px; }
.help-article li { margin: 6px 0; }
.help-article .tablewrap { overflow-x: auto; margin: 8px 0 24px; border: var(--glass-border); border-radius: var(--glass-radius); background: var(--glass-background); box-shadow: var(--glass-shadow); padding: 4px 14px; }
.help-article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.help-article th, .help-article td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.help-article th { background: var(--primary-soft); color: var(--text); font-weight: 600; }
.help-article p.qa strong.q { display: block; }
.helphub { max-width: 1120px; margin: 0 auto; padding: 0 16px 96px; }
.hh-head { position: relative; text-align: center; padding: 104px 0 56px; }
.hh-head::before-disabled { content: ""; position: absolute; inset: 0 -16px; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 55% 65% at 50% 40%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 55% 65% at 50% 40%, #000 15%, transparent 72%); }
.helphub { position: relative; z-index: 0; }
.hh-head h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.15; letter-spacing: -0.025em; color: var(--text); max-width: 780px; margin: 0 auto 20px; }
.hh-head p.lead2 { font-size: 18px; line-height: 28px; color: var(--text); max-width: 768px; margin: 0 auto; }
.hh-search { border-radius: 12px !important; display: flex; align-items: center; gap: 8px; max-width: 460px; margin: 32px auto 0; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--panel-solid); box-shadow: 0 6px 24px -8px rgba(60, 40, 30, .25), 0 0 0 1px var(--border); }
.hh-search input { flex: 1; border: 0; outline: 0; background: transparent; font: 16px "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); min-width: 0; }
.hh-search span { flex: none; padding: 9px 18px; border-radius: 8px; background: var(--primary-fill); color: #fff; font-size: 15px; font-weight: 500; }
.hh-head .updated { margin: 16px 0 0; }
.helphub h2 { font-size: 30px; letter-spacing: -0.015em; color: var(--text); margin: 56px 0 20px; }
.hh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hh-cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hh-cards.c1 { grid-template-columns: minmax(0, 1fr); }
.hh-card { display: block; padding: 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); transition: background .15s; }
.hh-card:hover { background: var(--panel-solid); color: var(--text); }
.hh-card b { display: block; font-size: 18px; font-weight: 500; line-height: 28px; margin-bottom: 8px; }
.hh-card b i { font-style: normal; color: var(--primary); margin-left: 6px; }
.hh-card span { display: block; font-size: 16px; line-height: 24px; color: var(--muted); }
.hh-empty { display: none; text-align: center; color: var(--muted); margin: 40px 0 0; }
@media (max-width: 960px) { .help-shell { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 48px; } .help-nav { display: none; } .hh-cards, .hh-cards.c2 { grid-template-columns: minmax(0, 1fr); } .help-article h1 { font-size: 34px; } .hh-head { padding-top: 64px; } }

@media (max-width: 960px) { .help-article table { display: block; max-width: 100%; overflow-x: auto; } }

/* The hub wears the same shell as an article, so its head lines up with the article column. */
.help-hub-main .hh-card { text-decoration: none; }
.help-hub-main .hh-card b { text-decoration: none; }
@media (min-width: 961px) {
  .help-shell-hub .hh-head { text-align: left; padding: 0; }
  .help-shell-hub .hh-head h1 { font-size: 44px; max-width: none; margin: 0 0 16px; }
  .help-shell-hub .hh-search { margin: 28px 0 0; }
  .help-shell-hub .hh-head .updated { margin: 14px 0 0; }
}
.help-nav .label a[aria-current] { color: var(--primary); font-weight: 600; }

/* Narrow screens: the left column becomes a button, and the same list opens under it.
   Every colour is a theme variable, so the dark toggle flips the control with the page. */
.hh-topics { display: none; }
@media (max-width: 960px) {
  .hh-topics { display: block; margin: 0 0 24px; }
  .hh-topics-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-solid); color: var(--text); font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; text-align: left; cursor: pointer; }
  .hh-topics-btn:hover { background: var(--panel); }
  .hh-topics-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .hh-topics-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
  .hh-topics-btn[aria-expanded="true"] .hh-topics-arrow { transform: rotate(180deg); }
  .help-nav.hh-topics-panel { display: block; position: static; top: auto; margin: 10px 0 0; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-solid); font-size: 15px; }
  .hh-topics-panel a { text-decoration: none; }
  .hh-topics-panel a:hover { text-decoration: underline; }
  .help-nav.hh-topics-panel[hidden] { display: none; }
}

/* The import page: folded problem rows, and the search box above them. */
.iq-search { margin: 0 0 20px; }
.iq-search .hh-search { margin: 0 0 10px; max-width: 620px; }
.iq-empty { font-size: 15px; color: var(--muted); margin: 0; }
.iq-group { margin: 40px 0 0; }
.iq-group h2:first-child { margin-top: 0; }
.iq-item, .iq-faq { border: var(--glass-border); border-radius: var(--glass-radius); background: var(--glass-background); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-shadow); margin: 0 0 10px; padding: 0 20px; scroll-margin-top: 96px; }
.iq-item[hidden], .iq-group[hidden] { display: none; }
.iq-item[open], .iq-faq[open] { background-color: color-mix(in srgb, var(--primary) 6%, var(--glass-fallback)); }
.iq-item > summary, .iq-faq > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; }
.iq-item > summary::-webkit-details-marker, .iq-faq > summary::-webkit-details-marker { display: none; }
.iq-item > summary h3, .iq-faq > summary h3 { margin: 0; padding: 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--text); }
.iq-item > summary::after, .iq-faq > summary::after { content: "+"; flex: none; color: var(--primary); font-size: 21px; line-height: 1.2; }
.iq-item[open] > summary::after, .iq-faq[open] > summary::after { content: "\2212"; }
.iq-item > summary:focus-visible, .iq-faq > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.iq-item > .iq-body, .iq-faq > .iq-body { padding: 0 0 6px; }
.iq-faq > .iq-body > p:last-child { margin-bottom: 18px; }
@media (max-width: 960px) {
  .iq-item, .iq-faq { padding: 0 16px; scroll-margin-top: 88px; }
  .iq-item > summary h3, .iq-faq > summary h3 { font-size: 16px; }
  .iq-search .hh-search { max-width: none; }
}

/* ── Hub: the one list under a centred head (2026-10-22) ─────────────── */
.help-shell-hub { display: block; max-width: 1184px; margin: 0 auto; padding: 132px 16px 72px; }
.help-shell-hub .help-article.help-hub-main { max-width: none; }

.help-shell-hub .hh-head { position: relative; isolation: isolate; text-align: center; padding: 0 0 8px; }
.help-shell-hub .hh-head::before {
  content: ""; position: absolute; inset: -40px -8% -60px; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 34%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 34%, transparent) 1px, transparent 1px),
    radial-gradient(ellipse 54% 52% at 50% 46%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 100%),
    radial-gradient(ellipse 38% 44% at 27% 44%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 100%);
  background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%;
  -webkit-mask-image: radial-gradient(ellipse 68% 64% at 50% 45%, #000 0%, rgba(0,0,0,.32) 48%, transparent 94%);
  mask-image: radial-gradient(ellipse 68% 64% at 50% 45%, #000 0%, rgba(0,0,0,.32) 48%, transparent 94%);
}
.help-shell-hub .hh-head h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.12; letter-spacing: -0.03em; max-width: 900px; margin: 0 auto 20px; white-space: nowrap; }
.help-shell-hub .hh-head p.lead2 { max-width: 768px; margin: 0 auto; font-size: 18px; line-height: 1.55; color: var(--text); }

.help-shell-hub .hh-search { display: flex; align-items: center; gap: 8px; width: 560px; max-width: 100%; height: 60px; margin: 28px auto 0; padding: 8px 6px 8px 24px; border: var(--glass-border); border-radius: 999px; background: var(--glass-background); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-shadow); }
.help-shell-hub .hh-search:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.help-shell-hub .hh-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 18px; }
.help-shell-hub .hh-search span { flex: none; height: 44px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: 999px; background: var(--primary-fill, var(--primary)); color: var(--on-primary, #fff); font-size: 17px; font-weight: 500; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.help-shell-hub .hh-head .updated { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

.help-shell-hub .hh-group { margin-top: 64px; }
.help-shell-hub .hh-group h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--text); }
.help-shell-hub .hh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.help-shell-hub .hh-cards.c2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.help-shell-hub .hh-card { display: flex; flex-direction: column; gap: 8px; min-height: 156px; padding: 24px; border: var(--glass-border); border-radius: var(--glass-radius); background: var(--glass-background); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-shadow); text-decoration: none; color: var(--text); transition: background-color .18s ease, translate .18s ease; }
.help-shell-hub .hh-card:hover { background-color: color-mix(in srgb, var(--primary) 10%, var(--glass-fallback)); color: var(--text); }
.help-shell-hub .hh-card b { display: block; font-size: 18px; line-height: 1.4; font-weight: 500; margin: 0; }
.help-shell-hub .hh-link { margin-top: auto; padding-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; }
.help-shell-hub .hh-link i { font-style: normal; display: inline-block; transition: translate .18s ease; }
.help-shell-hub .hh-card:hover .hh-link i { translate: 4px 0; }
.help-shell-hub .hh-card span { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.help-shell-hub .hh-card .hh-out { display: inline-block; margin-left: 7px; font-size: 13px; color: var(--primary); vertical-align: 2px; }

.help-shell-hub .hh-new { margin: 80px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.help-shell-hub .hh-new h2 { text-align: center; margin: 0 0 26px; font-family: "Fraunces", Georgia, serif; font-size: clamp(24px, 3vw, 30px); }
.help-shell-hub .hh-q { max-width: 800px; margin: 0 auto; border: var(--glass-border); border-radius: var(--glass-radius); background: var(--glass-background); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-shadow); padding: 18px 22px; }
.help-shell-hub .hh-q + .hh-q { margin-top: 12px; }
.help-shell-hub .hh-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 17px; font-weight: 500; color: var(--text); }
.help-shell-hub .hh-q summary::-webkit-details-marker { display: none; }
.help-shell-hub .hh-q summary::after { content: '+'; color: var(--primary); font-size: 22px; line-height: 1; transition: rotate .15s ease; }
.help-shell-hub .hh-q[open] summary::after { rotate: 45deg; }
.help-shell-hub .hh-q p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

@media (max-width: 1023px) { .help-shell-hub .hh-cards, .help-shell-hub .hh-cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .help-shell-hub { padding: 104px 16px 48px; }
  .help-shell-hub .hh-head::before { inset: 0; }
  .help-shell-hub .hh-head h1 { white-space: normal; font-size: 34px; line-height: 1.2; }
  .help-shell-hub .hh-head p.lead2 { font-size: 16px; line-height: 1.5; }
  .help-shell-hub .hh-search { height: 54px; padding: 6px 5px 6px 18px; }
  .help-shell-hub .hh-search input { font-size: 16px; }
  .help-shell-hub .hh-search span { height: 42px; padding: 0 16px; font-size: 15px; }
  .help-shell-hub .hh-group { margin-top: 44px; }
  .help-shell-hub .hh-cards, .help-shell-hub .hh-cards.c2 { grid-template-columns: minmax(0, 1fr); }
  .help-shell-hub .hh-new { margin-top: 56px; padding: 36px 16px; }
}
@media (max-width: 960px) { .help-shell-hub .hh-head { text-align: center; } }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .help-shell-hub .hh-card,
  .help-shell-hub .hh-search,
  .help-shell-hub .hh-q,
  .iq-item,
  .iq-faq,
  .help-article .tablewrap {
    background-color: var(--glass-fallback);
    background-image: none;
  }
}

/* ── Search above the left column (2026-10-22) ───────────────────────── */
.hs { position: relative; margin: 0 0 18px; }
.hs-field { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: var(--glass-border); border-radius: 10px; background: var(--glass-background); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-shadow); }
.hs-field:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.hs-icon { flex: none; display: inline-flex; color: var(--muted); }
.hs-icon svg { width: 16px; height: 16px; }
.hs-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.hs-input::placeholder { color: var(--muted); opacity: 1; }
.hs-kbd { flex: none; font: 500 11px/1 "Inter", sans-serif; color: var(--muted); border: 1px solid var(--border); border-radius: 5px; padding: 3px 5px; background: color-mix(in srgb, var(--border) 35%, transparent); }
.hs-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hs-results { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: 320px; overflow-y: auto; padding: 6px; border: var(--glass-border); border-radius: 12px; background: var(--glass-fallback); box-shadow: 0 18px 40px -24px rgba(72, 45, 30, 0.5); }
.hs-results[hidden] { display: none; }
.hs-item { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.35; }
.hs-item .hs-title { display: block; font-weight: 600; }
.hs-item .hs-sub { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.hs-item mark { background: color-mix(in srgb, var(--primary) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.hs-item:hover, .hs-item[aria-selected="true"] { background: var(--primary-soft); }
.hs-none { padding: 10px; color: var(--muted); font-size: 13.5px; }
.hs-none a { color: var(--primary); }
@media (max-width: 960px) { .hs-kbd { display: none; } .hs { margin-bottom: 12px; } }

/* The browser's own clear cross is replaced with one drawn in the theme's colours. */
.hs-input::-webkit-search-cancel-button,
.hs-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.hs-input::-ms-clear { display: none; }
.hs-clear { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.hs-clear[hidden] { display: none; }
.hs-clear:hover { color: var(--text); background: color-mix(in srgb, var(--border) 45%, transparent); }
.hs-clear:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.hs-clear svg { width: 13px; height: 13px; }
