/* The help centre on /docs (2026-09-30, owner: like a help centre - search, a card per audience, the articles as
   lists), and the item anchors on the FAQ and terms pages. Linked from Views_Documentation_Index (only when the page
   is /docs), Views_Faq_Index and Views_TermsAndDefinitions_Index, so it is on the page before it paints; since
   2026-09-30 also by /contact-us and /links (PageLayouts.cs). Its classes start docs-hc, docs-crumbs, docs-article,
   docs-anchor or pl-; the site's dark design tokens, with fallbacks. */

.docs-hc { color: #fff; padding-bottom: 48px; }
.docs-hc-inner { max-width: 1040px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* hero: title and search */
.docs-hc-hero {
    padding: 56px 0 72px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb, 212, 175, 55), 0.14) 0%, rgba(var(--gold-rgb, 212, 175, 55), 0) 60%),
        linear-gradient(180deg, #1a1a20 0%, #0b0b0e 70%, #000 100%);
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}
.docs-hc-hero h1 {
    margin: 0 0 24px;
    text-align: center;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    line-height: 1.2;
    color: #fff;
}
.docs-hc-search { position: relative; max-width: 760px; margin: 0 auto; }
.docs-hc-search .icon {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    font-size: 18px; color: var(--text-secondary, #a0a0b0); pointer-events: none;
}
.docs-hc-search input {
    width: 100%; box-sizing: border-box;
    height: 60px; padding: 0 20px 0 52px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff; font-size: 1.05rem;
    outline: none;
    -webkit-appearance: none; appearance: none;
}
.docs-hc-search input::placeholder { color: var(--text-secondary, #a0a0b0); opacity: 1; }
.docs-hc-search input:focus { border-color: var(--gold, #d4af37); background: rgba(255, 255, 255, 0.1); }
.docs-hc-results {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
    background: var(--bg-card, #141419);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    max-height: 420px; overflow-y: auto;
}
.docs-hc-results[hidden] { display: none; }
.docs-hc-results a {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 12px 18px;
    text-decoration: none;   /* colour: the "link colours" block below */
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}
.docs-hc-results a:last-child { border-bottom: 0; }
.docs-hc-results a:hover, .docs-hc-results a:focus, .docs-hc-results a.is-active { background: var(--bg-card-hover, #1a1a22); outline: none; }
.docs-hc-r-cat { flex: none; font-size: 0.8rem; color: var(--text-secondary, #a0a0b0); }
.docs-hc-r-none { padding: 14px 18px; color: var(--text-secondary, #a0a0b0); }

/* cards: one per audience */
.docs-hc-cards {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
    margin-top: -32px; position: relative;
}
.docs-hc-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 26px 28px;
    background: var(--bg-card, #141419);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    color: #fff; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.docs-hc-card:hover, .docs-hc-card:focus-visible { border-color: var(--gold, #d4af37); transform: translateY(-2px); color: #fff; outline: none; }
.docs-hc-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3a3a44 0%, #1d1d24 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold, #d4af37); font-size: 22px;
}
.docs-hc-card-title { font-size: 1.15rem; font-weight: 700; }
.docs-hc-card-desc { font-size: 1rem; line-height: 1.45; color: #d6d6de; }
.docs-hc-card-count { margin-top: 10px; font-size: 0.9rem; color: var(--text-secondary, #a0a0b0); }

/* lists: each audience's articles */
.docs-hc-section { margin-top: 44px; scroll-margin-top: 90px; }
.docs-hc-section h2 { margin: 0 0 14px; font-size: 1.35rem; color: #fff; }
.docs-hc-list {
    list-style: none; margin: 0; padding: 8px 28px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px;
    background: var(--bg-card, #141419);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
}
.docs-hc-list li { margin: 0; padding: 0; }
.docs-hc-list a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 15px 0;
    text-decoration: none; font-size: 1rem; line-height: 1.4;   /* colour: the "link colours" block below */
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}
.docs-hc-list a:hover, .docs-hc-list a:focus-visible { outline: none; }
.docs-hc-list .icon { flex: none; font-size: 12px; color: var(--text-secondary, #a0a0b0); }
/* no rule under the last row: the last two items in two columns (an odd last item sits alone on the left) */
.docs-hc-list li:last-child a,
.docs-hc-list li:nth-last-child(2):nth-child(odd) a { border-bottom: 0; }

/* the page's own copy (still have a question?) */
.docs-hc-more { margin-top: 48px; text-align: center; }
.docs-hc-more h2 { font-size: 1.35rem; color: #fff; }
.docs-hc-more p { color: #d6d6de; }

/* ★ link colours. design-tokens.css colours every link with
   "body a:not([class*='ui ']):not([class*='ui-'])" (0,2,2) and its :hover (0,3,2), which beat the plain rules above -
   the first release showed pink card titles, list links and search results. "html body .docs-hc ..." (0,2,3 / 0,3,3)
   wins on specificity, not on load order. */
html body .docs-hc a.docs-hc-card,
html body .docs-hc a.docs-hc-card:hover,
html body .docs-hc a.docs-hc-card:focus-visible,
html body .docs-hc .docs-hc-card-title { color: #fff; }
html body .docs-hc .docs-hc-list a,
html body .docs-hc .docs-hc-results a { color: #fff; }
html body .docs-hc .docs-hc-list a:hover,
html body .docs-hc .docs-hc-list a:focus-visible,
html body .docs-hc .docs-hc-results a:hover,
html body .docs-hc .docs-hc-results a.is-active { color: var(--gold-light, #f0d060); }

@media (max-width: 767px) {
    .docs-hc-hero { padding: 36px 0 56px; }
    .docs-hc-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .docs-hc-card { padding: 22px; }
    .docs-hc-list { grid-template-columns: minmax(0, 1fr); padding: 4px 20px; }
    .docs-hc-list li:nth-last-child(2):nth-child(odd) a { border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)); }
    .docs-hc-search input { height: 52px; font-size: 1rem; }
}

/* ---- article pages (2026-09-30: /docs/about-us, the FAQ and terms pages, account types, packages) ----------------
   DocsChrome.ArticleHeader writes a slim hero with the search box (it goes to /docs?q=) and the breadcrumb; the page's
   own .wrapper.wrap-900 (900px, 20px side padding) becomes the card, so the breadcrumb row is 900px too. */
.docs-hc-hero--slim { padding: 22px 0; }
.docs-hc-hero--slim .docs-hc-search input { height: 50px; font-size: 1rem; }
.docs-crumbs { padding: 20px 0 14px; }
.docs-crumbs .docs-hc-inner {
    max-width: 900px; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: 0.95rem; color: var(--text-secondary, #a0a0b0);
}
.docs-crumbs .icon { font-size: 10px; }
.docs-crumbs-here { color: #fff; }
/* (0,2,3) / (0,3,3): above design-tokens' link rule (0,2,2) / (0,3,2) - h3 had (0,1,3) and showed pink */
html body .docs-crumbs .docs-hc-inner a { color: var(--text-secondary, #a0a0b0); text-decoration: none; }
html body .docs-crumbs .docs-hc-inner a:hover, html body .docs-crumbs .docs-hc-inner a:focus-visible { color: var(--gold-light, #f0d060); }
.docs-article .docs-article-card {
    box-sizing: border-box;
    margin-top: 0; margin-bottom: 40px;
    padding: 36px 40px;
    background: var(--bg-card, #141419);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
}
.docs-article .docs-article-card > h1 { text-align: left; margin-bottom: 18px; }
.docs-package-tables.docs-article .docs-article-card { margin-top: -16px; }
@media (max-width: 767px) {
    .docs-crumbs .docs-hc-inner { padding: 0 12px; }
    .docs-article .docs-article-card { margin-left: 12px; margin-right: 12px; width: auto; padding: 24px 18px; }
}

/* ---- /contact-us and /links (2026-09-30, the approved demo; PageLayouts.cs writes the markup) --------------------- */
.pl-hero { padding: 34px 0 30px; text-align: center; }
.pl-hero h1 { margin-bottom: 10px; }
.pl-intro { max-width: 720px; margin: 0 auto; color: #d6d6de; font-size: 1.02rem; line-height: 1.55; }
.pl-intro p { margin: 0; }
.pl-crumbs .docs-hc-inner { max-width: 1040px; padding: 0 16px; }
.pl-card { background: var(--bg-card, #141419); border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)); border-radius: 14px; }
.pl-ico {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, #3a3a44 0%, #1d1d24 100%);
    border: 1px solid rgba(255, 255, 255, 0.1); color: var(--gold, #d4af37);
}
.pl-ico svg { width: 20px; height: 20px; }

/* contact: cards beside the form. .pl-contact-widget is the page's .widget.contact-us (its loader brings the form) */
.pl-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin: 16px auto 32px; }
.pl-info { display: flex; flex-direction: column; gap: 14px; }
.pl-info-card { padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
/* the contact cards' titles are h2 since 2026-10-03 (PageLayouts.ContactCards, SEO); h3 kept for the old markup */
.pl-info-card h3,
.pl-info-card h2 { font-size: 1.02rem; font-weight: 600; margin: 2px 0 4px; color: #fff; }
.pl-info-body { color: #d6d6de; font-size: 0.95rem; line-height: 1.55; }
.pl-form { padding: 28px 30px; }
.pl-form > h2 { font-size: 1.45rem; margin: 0 0 6px; color: #fff; }
.pl-form-lead { color: var(--text-secondary, #a0a0b0); margin: 0 0 20px; font-size: 0.95rem; }
.pl-form-lead p { margin: 0; }
.pl-quick { margin: 0 auto 56px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pl-quick h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; color: #fff; }
.pl-quick ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 0.95rem; }
/* link rules need two classes: design-tokens' "body a:not([class*='ui ']):not([class*='ui-'])" is (0,2,2) and its
   :hover (0,3,2). h5 wrote "html body .pl-info-body a" (0,1,3) and the links showed pink - the third time. */
html body .pl-info-card .pl-info-body a { color: var(--gold-light, #f0d060); font-weight: 500; text-decoration: none; }
html body .pl-info-card .pl-info-body a:hover { text-decoration: underline; }
html body .pl-card.pl-quick ul a { color: #fff; text-decoration: none; }
html body .pl-card.pl-quick ul a:hover { color: var(--gold-light, #f0d060); }
html body .pl-quick a.pl-btn-outline {
    border: 1px solid rgba(var(--gold-rgb, 212, 175, 55), 0.5); color: var(--gold-light, #f0d060); background: transparent;
    border-radius: 999px; padding: 10px 20px; text-decoration: none; font-weight: 600; white-space: nowrap;
}

/* ★ the support-ticket way in (owner, 2026-09-30: "a ticket entry after the Contact button, and on the contact page").
   Both links are in the pages' own copy. /support: <a class="ui button primaryOutline"> beside its gold Contact button -
   the site's own secondary button (theme-overrides.css, !important), so only the row is laid out here.
   /support/contact-us: a "Support tickets" card whose link is <a class="pl-ticket-btn">; the site's link rule is
   (0,2,2) and (0,3,2) on :hover, these are (0,3,3) and (0,4,3). */
.docs-hc-more .docs-hc-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 18px 0 0; }
.docs-hc-more .docs-hc-actions .ui.button { margin: 0; }
html body .pl-info-card .pl-info-body a.pl-ticket-btn {
    display: inline-block; margin-top: 10px; padding: 8px 16px;
    border: 1px solid rgba(var(--gold-rgb, 212, 175, 55), 0.5); border-radius: 999px;
    color: var(--gold-light, #f0d060); background: transparent; font-weight: 600; text-decoration: none; white-space: nowrap;
}
html body .pl-info-card .pl-info-body a.pl-ticket-btn:hover {
    background: rgba(var(--gold-rgb, 212, 175, 55), 0.12); border-color: var(--gold, #d4af37); color: var(--gold-light, #f0d060); text-decoration: none;
}

/* links: state filter, legend, a card per state */
.pl-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.pl-chip {
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
    border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 0.9rem; cursor: pointer;
}
.pl-chip.is-on { background: var(--gold, #d4af37); border-color: var(--gold, #d4af37); color: #14110a; font-weight: 600; }
.pl-legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-secondary, #a0a0b0); font-size: 0.88rem; margin: 6px 0 16px; }
.pl-tag { display: inline-block; flex: none; font-size: 0.74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pl-tag.law { color: #8fb8ff; border-color: rgba(143, 184, 255, 0.4); background: rgba(143, 184, 255, 0.1); }
.pl-tag.info { color: var(--gold-light, #f0d060); border-color: rgba(var(--gold-light-rgb, 240, 208, 96), 0.4); background: rgba(var(--gold-light-rgb, 240, 208, 96), 0.08); }
.pl-tag.support { color: #7fdca0; border-color: rgba(127, 220, 160, 0.4); background: rgba(127, 220, 160, 0.08); }
.pl-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.pl-state { padding: 22px 24px; }
.pl-state.is-wide { margin-bottom: 20px; }
.pl-state[hidden] { display: none; }
.pl-state-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.pl-state-head h2 { font-size: 1.2rem; margin: 0; color: #fff; }
.pl-abbr { margin-left: auto; font-size: 0.8rem; color: var(--text-secondary, #a0a0b0); border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)); border-radius: 6px; padding: 2px 8px; }
.pl-link-list { list-style: none; margin: 0; padding: 0; }
.pl-link-list li { border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)); }
.pl-link-list li:first-child { border-top: 0; }
html body .pl-state .pl-link-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: #fff; }
html body .pl-state .pl-link-list a:hover .pl-link-name { color: var(--gold-light, #f0d060); }
.pl-link-txt { flex: 1; min-width: 0; }
.pl-link-name { display: block; font-weight: 500; overflow-wrap: anywhere; }
.pl-link-host { display: block; font-size: 0.82rem; color: var(--text-secondary, #a0a0b0); overflow-wrap: anywhere; }
.pl-ext { flex: none; color: var(--text-secondary, #a0a0b0); }
.pl-link-note { margin: -4px 0 12px; font-size: 0.88rem; color: #d6d6de; }
.pl-footnote { color: var(--text-secondary, #a0a0b0); font-size: 0.88rem; text-align: center; margin: 0 auto 56px; max-width: 720px; }
.pl-footnote p { margin: 0; }

@media (max-width: 767px) {
    .pl-contact { grid-template-columns: minmax(0, 1fr); }
    .pl-form { padding: 22px 18px; }
    .pl-states { grid-template-columns: minmax(0, 1fr); }
    .pl-crumbs .docs-hc-inner { padding: 0 16px; }
}

/* the FAQ / terms item an address points at (docs-help.js opens it) */
.docs-anchor-hit > .accordion-container { box-shadow: 0 0 0 2px var(--gold, #d4af37); border-radius: 10px; }
.docs-anchor-item { scroll-margin-top: 90px; }
