﻿@charset "UTF-8";
/* ############################################################################
   QLYNIC  ·  help.css
   PAGE STYLESHEET   —   ~/Content/help.css
   ----------------------------------------------------------------------------
   PAGE ......... Help.aspx  —  the help centre (index · collection · article · search)
   THEME ........ MERIDIAN v1 — qlynic-marketing.css is the vocabulary
                  (tokens, type, buttons, badges, chips, panels, prose). This
                  sheet adds only the library furniture: the drawer (search),
                  the shelves (collections), the spines (article rows) and
                  the reading grid.
   PREFIX ....... .qhp- / --qhp-      qhp = Qlynic HelP.
                  Shares nothing with .qab- .qac- .qbo- .qbt- .qds- .qsh-
                  .qem- .qif- .qmd- .qrx- .qrm- .qso- .sx- or the shell (.qh- .qf-).
   DEVICE ....... the catalogue drawer  ·  the pull
                  One glow on the page and it belongs to the search box when
                  it has focus (LAW 1). Azure is spent on the primary button,
                  the active result and the rule under a section head — three
                  (LAW 2). Mono carries counts, indices, dates (LAW 3).
   ############################################################################ */


/* ============================================================================
   00 · GROUND
   ============================================================================ */
.qhp {
    --qhp-drawer-w: 46rem;
    --qhp-side-w: 17rem;
    position: relative;
    background: var(--qm-bg-0);
    color: var(--qm-text);
    font: 400 var(--qm-fs-body) / var(--qm-lh-body) var(--qm-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

    .qhp *, .qhp *::before, .qhp *::after {
        box-sizing: border-box;
    }

    .qhp ::selection {
        background: rgba(77, 141, 255, 0.35);
        color: var(--qm-text);
    }

    .qhp :focus-visible {
        outline: none;
        box-shadow: var(--qm-focus-ring);
        border-radius: var(--qm-r-sm);
    }

    .qhp kbd {
        display: inline-grid;
        place-content: center;
        min-width: 1.35em;
        height: 1.35em;
        padding: 0 0.35em;
        border: 1px solid var(--qm-rule);
        border-bottom-width: 2px;
        border-radius: 6px;
        background: var(--qm-surface-1);
        font: 500 0.72em / 1 var(--qm-font-mono);
        color: var(--qm-text-secondary);
        vertical-align: middle;
    }

    .qhp a {
        color: inherit;
        text-decoration: none;
    }


/* ============================================================================
   01 · ARRIVAL — parked only when scripting is on (html.qhp-arm), landed by
   the observer, and never later than four seconds after load.
   ============================================================================ */
html.qhp-arm .qhp .qhp-rise {
    opacity: 0;
    transform: translateY(14px);
    animation: qhp-rise 720ms var(--qm-ease) forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes qhp-rise {
    to {
        opacity: 1;
        transform: none;
    }
}

html.qhp-arm .qhp .qhp-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 560ms var(--qm-ease), transform 560ms var(--qm-ease);
    transition-delay: var(--d, 0ms);
}

    html.qhp-arm .qhp .qhp-reveal.is-in {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion: reduce) {
    html.qhp-arm .qhp .qhp-rise,
    html.qhp-arm .qhp .qhp-reveal {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}


/* ============================================================================
   02 · THE HERO — the drawer, pulled open
   ============================================================================ */
.qhp-hero {
    padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 5vw, 3.5rem);
    overflow: hidden;
}

.qhp-hero__tex {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60rem 26rem at 50% -8rem, rgba(77, 141, 255, 0.16), transparent 62%),
        radial-gradient(40rem 22rem at 78% 4rem, rgba(138, 124, 255, 0.10), transparent 60%),
        linear-gradient(var(--qm-rule-faint) 1px, transparent 1px) 0 0 / 100% 4.5rem,
        linear-gradient(90deg, var(--qm-rule-faint) 1px, transparent 1px) 0 0 / 4.5rem 100%;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.qhp-hero__in {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: var(--qm-sp-5);
}

.qhp-hero__title {
    max-width: 14ch;
}

.qhp-hero__lead {
    max-width: 52ch;
}

    .qhp-hero__in .qm-label-line {
        justify-content: center;
    }

        .qhp-hero__in .qm-label-line::before {
            display: none;
        }


/* ============================================================================
   03 · THE SEARCH — one component, two sizes
   ============================================================================ */
.qhp-search {
    position: relative;
    width: 100%;
    max-width: var(--qhp-drawer-w);
    z-index: 2;
}

.qhp-search--hero {
    margin-block-start: var(--qm-sp-3);
}

.qhp-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.qhp-search__box {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--qm-sp-3);
    padding: 0 0.5rem 0 1.1rem;
    min-height: 3.75rem;
    background: var(--qm-surface-1);
    border: 1px solid var(--qm-rule);
    border-radius: var(--qm-r-lg);
    box-shadow: inset 0 1px 0 var(--qm-edge-light);
    transition: border-color var(--qm-t-fast), box-shadow var(--qm-t-med) var(--qm-ease), background var(--qm-t-fast);
}

.qhp-search--bar .qhp-search__box {
    min-height: 3rem;
    border-radius: var(--qm-r-md);
}

.qhp-search__box:hover {
    border-color: var(--qm-rule-strong);
}

.qhp-search__box:focus-within {
    border-color: rgba(77, 141, 255, 0.5);
    box-shadow: inset 0 1px 0 var(--qm-edge-light), var(--qm-glow-azure);
    background: var(--qm-surface-2);
}

.qhp-search__ico {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--qm-text-muted);
    flex: none;
    transition: color var(--qm-t-fast);
}

.qhp-search__box:focus-within .qhp-search__ico {
    color: var(--qm-signal);
}

.qhp-search__in {
    -webkit-appearance: none;
    appearance: none;
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: 0;
    color: var(--qm-text);
    font: 400 var(--qm-fs-lead) / 1.3 var(--qm-font-sans);
    letter-spacing: -0.005em;
    padding: 0.85rem 0;
}

.qhp-search--bar .qhp-search__in {
    font-size: var(--qm-fs-body);
    padding: 0.6rem 0;
}

    .qhp-search__in::placeholder {
        color: var(--qm-text-faint);
    }

    .qhp-search__in:focus {
        outline: none;
        box-shadow: none;
    }

.qhp-search__kbd {
    flex: none;
}

.qhp-search__box:focus-within .qhp-search__kbd {
    display: none;
}

.qhp-search__go {
    -webkit-appearance: none;
    appearance: none;
    flex: none;
    display: inline-grid;
    place-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: var(--qm-r-md);
    background: var(--qm-spectrum);
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform var(--qm-t-fast) var(--qm-ease), box-shadow var(--qm-t-med) var(--qm-ease);
}

.qhp-search--bar .qhp-search__go {
    width: 2.2rem;
    height: 2.2rem;
}

.qhp-search__go svg {
    width: 1.15rem;
    height: 1.15rem;
}

.qhp-search__go:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--qm-glow-azure);
}

.qhp-search__go:active {
    transform: translateY(1px);
}

.qhp-search__hint {
    margin: var(--qm-sp-3) 0 0;
    font: 400 var(--qm-fs-xs) / 1.6 var(--qm-font-sans);
    color: var(--qm-text-muted);
}

/* The results — a pane that hangs off the drawer */
.qhp-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    max-height: min(32rem, 70vh);
    overflow: auto;
    text-align: left;
    background: var(--qm-surface-1);
    border: 1px solid var(--qm-rule);
    border-radius: var(--qm-r-lg);
    box-shadow: var(--qm-lift);
    padding: 0.4rem;
    z-index: 20;
}

.qhp-search--hero .qhp-results {
    top: calc(3.75rem + 0.5rem);
}

.qhp-hit {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0.9rem;
    border-radius: var(--qm-r-md);
    color: var(--qm-text);
    transition: background var(--qm-t-fast);
}

    .qhp-hit:hover, .qhp-hit.is-active {
        background: var(--qm-azure-tint);
    }

.qhp-hit__meta {
    display: flex;
    align-items: center;
    gap: var(--qm-sp-3);
    font: 400 var(--qm-fs-xs) / 1 var(--qm-font-sans);
    color: var(--qm-text-muted);
}

.qhp-hit__title {
    font: 600 var(--qm-fs-body) / 1.3 var(--qm-font-sans);
    letter-spacing: -0.01em;
}

.qhp-hit__sum {
    font: 400 var(--qm-fs-sm) / 1.5 var(--qm-font-sans);
    color: var(--qm-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qhp-results__all {
    display: flex;
    justify-content: center;
    gap: var(--qm-sp-2);
    padding: 0.75rem 0.9rem 0.5rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--qm-rule-faint);
    font: 500 var(--qm-fs-sm) / 1 var(--qm-font-sans);
    color: var(--qm-azure);
}

.qhp-results__none {
    padding: 0.9rem 1rem;
    font: 400 var(--qm-fs-sm) / 1.55 var(--qm-font-sans);
    color: var(--qm-text-secondary);
}

    .qhp-results__none a {
        color: var(--qm-azure);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.qhp-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--qm-sp-2);
}


/* ============================================================================
   04 · SECTION HEADS
   ============================================================================ */
.qhp-head {
    display: grid;
    gap: var(--qm-sp-4);
    max-width: var(--qm-w-narrow);
    margin-block-end: clamp(1.75rem, 4vw, 2.75rem);
}

.qhp-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--qm-sp-8);
}

    .qhp-head--split > div {
        display: grid;
        gap: var(--qm-sp-4);
    }

@media (max-width: 59.9rem) {
    .qhp-head--split {
        grid-template-columns: 1fr;
        align-items: start;
    }
}


/* ============================================================================
   05 · POPULAR — a numbered ledger of the questions asked first
   ============================================================================ */
.qhp-qgrid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 3rem);
    border-block-start: 1px solid var(--qm-rule-faint);
}

@media (max-width: 47.9rem) {
    .qhp-qgrid {
        grid-template-columns: 1fr;
    }
}

.qhp-q {
    border-block-end: 1px solid var(--qm-rule-faint);
}

.qhp-q__link {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: var(--qm-sp-3);
    padding: 0.95rem 0.25rem;
    color: var(--qm-text);
    font: 500 var(--qm-fs-body) / 1.4 var(--qm-font-sans);
    letter-spacing: -0.008em;
    transition: color var(--qm-t-fast);
}

    .qhp-q__link:hover {
        color: var(--qm-azure-hover);
    }

.qhp-q__idx {
    color: var(--qm-text-faint);
    font-size: var(--qm-fs-xs);
}

.qhp-q__go {
    font-family: var(--qm-font-mono);
    color: var(--qm-text-muted);
    transition: transform var(--qm-t-fast) var(--qm-ease), color var(--qm-t-fast);
}

.qhp-q__link:hover .qhp-q__go {
    transform: translateX(3px);
    color: var(--qm-azure);
}


/* ============================================================================
   06 · THE SHELVES — collections
   ============================================================================ */
.qhp-cgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: var(--qm-sp-4);
}

.qhp-col {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: var(--qm-sp-2);
    min-height: 11rem;
    padding: var(--qm-sp-5);
    color: var(--qm-text);
}

.qhp-col__idx {
    color: var(--qm-text-faint);
    font-size: var(--qm-fs-xs);
}

.qhp-col__title {
    font: 600 var(--qm-fs-h3) / 1.25 var(--qm-font-display);
    letter-spacing: var(--qm-track-h3);
}

.qhp-col__blurb {
    font: 400 var(--qm-fs-sm) / 1.5 var(--qm-font-sans);
    color: var(--qm-text-secondary);
}

.qhp-col__count {
    color: var(--qm-text-muted);
    font-size: var(--qm-fs-xs);
    padding-block-start: var(--qm-sp-2);
    border-block-start: 1px solid var(--qm-rule-faint);
}

.qhp-col:hover .qhp-col__title {
    color: var(--qm-azure-hover);
}


/* ============================================================================
   07 · THE BAR — crumbs + compact search on inner views
   ============================================================================ */
.qhp-bar {
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

    .qhp-bar .qm-container {
        display: grid;
        gap: var(--qm-sp-5);
    }

.qhp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--qm-sp-2);
    font: 400 var(--qm-fs-xs) / 1.4 var(--qm-font-mono);
    letter-spacing: 0.02em;
    color: var(--qm-text-muted);
}

    .qhp-crumbs a {
        color: var(--qm-text-secondary);
        transition: color var(--qm-t-fast);
    }

        .qhp-crumbs a:hover {
            color: var(--qm-text);
        }

    .qhp-crumbs span[aria-current] {
        color: var(--qm-text);
        max-width: 42ch;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qhp-crumbs span[aria-hidden] {
        color: var(--qm-text-faint);
    }


/* ============================================================================
   08 · THE SPINES — article rows (collection + search views)
   ============================================================================ */
.qhp-list {
    padding-block-start: var(--qm-sp-4);
}

.qhp-articles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    border-block-start: 1px solid var(--qm-rule-faint);
    max-width: 52rem;
}

.qhp-art {
    border-block-end: 1px solid var(--qm-rule-faint);
}

.qhp-art__link {
    display: grid;
    gap: 0.3rem;
    padding: 1.25rem 0.5rem;
    color: var(--qm-text);
    border-radius: var(--qm-r-md);
    transition: background var(--qm-t-fast);
}

    .qhp-art__link:hover {
        background: rgba(151, 173, 220, 0.05);
    }

.qhp-art__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--qm-sp-3);
    margin-block-end: 0.15rem;
}

.qhp-art__col {
    font: 400 var(--qm-fs-xs) / 1 var(--qm-font-sans);
    color: var(--qm-text-muted);
}

.qhp-art__title {
    font: 600 var(--qm-fs-h3) / 1.25 var(--qm-font-display);
    letter-spacing: var(--qm-track-h3);
    transition: color var(--qm-t-fast);
}

.qhp-art__link:hover .qhp-art__title {
    color: var(--qm-azure-hover);
}

.qhp-art__q {
    font: 500 var(--qm-fs-sm) / 1.4 var(--qm-font-sans);
    color: var(--qm-text-secondary);
}

.qhp-art__sum {
    font: 400 var(--qm-fs-sm) / 1.6 var(--qm-font-sans);
    color: var(--qm-text-muted);
    max-width: 70ch;
}

.qhp-empty {
    display: grid;
    gap: var(--qm-sp-5);
    max-width: 46rem;
}


/* ============================================================================
   09 · THE READING GRID — an article and its margin
   ============================================================================ */
.qhp-article {
    padding-block-start: var(--qm-sp-4);
}

.qhp-article__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--qhp-side-w);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

@media (max-width: 63.9rem) {
    .qhp-article__grid {
        grid-template-columns: 1fr;
    }
}

.qhp-article__main {
    display: grid;
    gap: var(--qm-sp-5);
    max-width: 46rem;
}

.qhp-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--qm-sp-3);
}

.qhp-article__col {
    font: 500 var(--qm-fs-xs) / 1 var(--qm-font-sans);
    color: var(--qm-text-secondary);
    transition: color var(--qm-t-fast);
}

    .qhp-article__col:hover {
        color: var(--qm-text);
    }

.qhp-article__updated {
    font-size: var(--qm-fs-xs);
    color: var(--qm-text-faint);
}

.qhp-article__title {
    max-width: 22ch;
}

.qhp-article__lead {
    padding-block-end: var(--qm-sp-5);
    border-block-end: 1px solid var(--qm-rule-faint);
}

/* The prose — the kit's .qm-prose does the type; this handles what the
   renderer emits that the kit does not know about. */
.qhp-prose {
    max-width: none;
}

    .qhp-prose h2 {
        scroll-margin-top: calc(var(--qh-height, 64px) + 1.5rem);
        padding-block-start: 0.2em;
    }

    .qhp-prose h2:first-child {
        margin-top: 0;
    }

    .qhp-prose h3 {
        scroll-margin-top: calc(var(--qh-height, 64px) + 1.5rem);
    }

    .qhp-prose li {
        color: var(--qm-text-secondary);
    }

    .qhp-prose hr {
        border: 0;
        border-block-start: 1px solid var(--qm-rule-faint);
        margin: 1.6em 0;
    }

    .qhp-prose pre {
        margin: 0 0 1.1em;
        padding: var(--qm-sp-4) var(--qm-sp-5);
        background: var(--qm-code-bg);
        border: 1px solid var(--qm-rule-faint);
        border-radius: var(--qm-r-md);
        overflow-x: auto;
        font: 400 var(--qm-fs-mono) / 1.55 var(--qm-font-mono);
        color: var(--qm-text-secondary);
    }

        .qhp-prose pre code {
            background: transparent;
            border: 0;
            padding: 0;
            font-size: inherit;
        }

    .qhp-prose .md-table {
        overflow-x: auto;
        margin: 0 0 1.1em;
        border: 1px solid var(--qm-rule-faint);
        border-radius: var(--qm-r-md);
    }

    .qhp-prose table {
        width: 100%;
        border-collapse: collapse;
        font-size: var(--qm-fs-sm);
        line-height: 1.5;
    }

    .qhp-prose th, .qhp-prose td {
        text-align: left;
        vertical-align: top;
        padding: 0.65rem 0.85rem;
        border-block-end: 1px solid var(--qm-rule-faint);
    }

    .qhp-prose th {
        font: 500 var(--qm-fs-label) / 1.2 var(--qm-font-mono);
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--qm-text-muted);
        background: var(--qm-bg-1);
        white-space: nowrap;
    }

    .qhp-prose td {
        color: var(--qm-text-secondary);
        font-variant-numeric: tabular-nums;
    }

    .qhp-prose tr:last-child td {
        border-block-end: 0;
    }

    .qhp-prose td strong {
        color: var(--qm-text);
    }

.qhp-article__foot {
    display: flex;
    flex-wrap: wrap;
    gap: var(--qm-sp-3);
    padding-block-start: var(--qm-sp-6);
    border-block-start: 1px solid var(--qm-rule-faint);
}

/* The margin */
.qhp-article__side {
    position: sticky;
    top: calc(var(--qh-height, 64px) + 1.25rem);
    display: grid;
    gap: var(--qm-sp-7);
}

@media (max-width: 63.9rem) {
    .qhp-article__side {
        position: static;
        padding-block-start: var(--qm-sp-6);
        border-block-start: 1px solid var(--qm-rule-faint);
    }
}

.qhp-side__h {
    margin: 0 0 var(--qm-sp-3);
    font: 500 var(--qm-fs-label) / 1 var(--qm-font-mono);
    letter-spacing: var(--qm-track-label);
    text-transform: uppercase;
    color: var(--qm-text-muted);
}

.qhp-toc ol, .qhp-related ul, .qhp-next ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.15rem;
}

.qhp-toc a, .qhp-related a {
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: var(--qm-r-sm);
    font: 400 var(--qm-fs-sm) / 1.4 var(--qm-font-sans);
    color: var(--qm-text-secondary);
    border-inline-start: 2px solid transparent;
    transition: color var(--qm-t-fast), background var(--qm-t-fast), border-color var(--qm-t-fast);
}

    .qhp-toc a:hover, .qhp-related a:hover {
        color: var(--qm-text);
        background: rgba(151, 173, 220, 0.06);
        border-inline-start-color: var(--qm-azure);
    }

.qhp-next__q {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--qm-rule);
    border-radius: var(--qm-r-md);
    background: var(--qm-surface-1);
    color: var(--qm-text-secondary);
    font: 400 var(--qm-fs-sm) / 1.4 var(--qm-font-sans);
    cursor: pointer;
    box-shadow: inset 0 1px 0 var(--qm-edge-light);
    transition: color var(--qm-t-fast), border-color var(--qm-t-fast), background var(--qm-t-fast);
}

    .qhp-next__q:hover {
        color: var(--qm-text);
        border-color: var(--qm-rule-strong);
        background: var(--qm-surface-2);
    }


/* ============================================================================
   10 · THE DESK — still stuck
   ============================================================================ */
.qhp-desk__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    gap: var(--qm-sp-8);
}

    .qhp-desk__panel > div:first-child {
        display: grid;
        gap: var(--qm-sp-3);
    }

    .qhp-desk__panel .qm-text a {
        color: var(--qm-azure);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.qhp-desk__actions {
    flex-wrap: wrap;
}

@media (max-width: 47.9rem) {
    .qhp-desk__panel {
        grid-template-columns: 1fr;
    }
}
