
.faq-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% -45%, rgba(215,25,32,.28), transparent 40%),
        linear-gradient(135deg, #191f25 0%, #101419 72%);
}

.faq-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 46px 46px;
}

.faq-hero-watermark {
    position: absolute;
    right: 7vw;
    bottom: -100px;
    color: rgba(255,255,255,.035);
    font-size: 340px;
    font-weight: 900;
    line-height: 1;
    user-select: none;
}

.faq-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1420px, 92vw);
    margin: 0 auto;
    padding: 62px 0 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 65px;
    align-items: center;
}

.faq-hero-copy {
    max-width: 850px;
}

.faq-hero h1 {
    margin: 11px 0 15px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.045em;
}

.faq-hero-copy p {
    max-width: 760px;
    margin: 0;
    color: #c2c8ce;
    font-size: 17px;
    line-height: 1.6;
}

.faq-meta {
    padding: 23px 24px;
    border: 1px solid #3a424a;
    border-left: 4px solid var(--red);
    border-radius: 9px;
    background: rgba(17,22,27,.9);
    box-shadow: 0 22px 55px rgba(0,0,0,.22);
}

.faq-meta strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 19px;
}

.faq-meta .meta-line {
    display: block;
    margin-top: 6px;
    color: #aeb7bf;
    font-size: 12px;
    line-height: 1.45;
}

.faq-content-shell {
    width: min(1420px, 92vw);
    margin: 0 auto;
    padding: 46px 0 72px;
}

.faq-section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 35px;
    margin-bottom: 20px;
}

.faq-section-intro h2 {
    margin: 6px 0 0;
    font-size: 27px;
    letter-spacing: -.03em;
}

.faq-section-intro > p {
    max-width: 530px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: right;
}

.faq-toolbar {
    margin-bottom: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    box-shadow: 0 9px 27px rgba(16,20,25,.04);
}

.faq-search {
    min-height: 46px;
    flex: 1 1 650px;
    max-width: 820px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #cfd5da;
    border-radius: 6px;
    background: #f7f8f9;
}

.faq-search:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215,25,32,.1);
}

.faq-search svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: #68727b;
    stroke-width: 2;
    stroke-linecap: round;
}

.faq-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.faq-search input::placeholder {
    color: #89939c;
}

.faq-toolbar-actions {
    display: flex;
    gap: 8px;
}

.faq-button {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #cbd1d6;
    border-radius: 6px;
    background: #fff;
    color: #3c464f;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.faq-button:hover {
    border-color: #9da7af;
    background: #f4f6f7;
}

.faq-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.faq-index {
    position: sticky;
    top: 18px;
    overflow: hidden;
    border: 1px solid #303840;
    border-radius: 9px;
    background: var(--graphite-2);
    box-shadow: 0 12px 30px rgba(16,20,25,.09);
}

.faq-index-title {
    padding: 15px 16px 12px;
    color: #ee4c52;
    border-bottom: 1px solid #303840;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .16em;
}

.faq-index nav {
    padding: 7px;
}

.faq-index a {
    display: block;
    padding: 10px 10px;
    color: #bcc4cb;
    border-left: 2px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.35;
}

.faq-index a:hover,
.faq-index a:focus-visible {
    color: #fff;
    background: #232a31;
    border-left-color: var(--red);
}

.faq-content-panel {
    min-width: 0;
}

.faq-status {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
}

.faq-section {
    scroll-margin-top: 18px;
    margin-bottom: 30px;
}

.faq-section-heading {
    margin: 0 0 11px;
    padding-bottom: 10px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    font-size: 21px;
    letter-spacing: -.025em;
}

.faq-item {
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 5px 18px rgba(16,20,25,.035);
}

.faq-item[open] {
    border-color: #b9c1c7;
}

.faq-item summary {
    position: relative;
    min-height: 54px;
    padding: 16px 54px 16px 17px;
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #c5ccd1;
    border-radius: 5px;
    color: #515c65;
    font-size: 18px;
    font-weight: 400;
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(215,25,32,.075), transparent 52%),
        #fff;
}

.faq-item[open] summary::after {
    content: "\2212";
    color: var(--red);
    border-color: rgba(215,25,32,.38);
}

.faq-answer {
    padding: 17px 18px 20px;
    color: #4f5962;
    background: #fbfcfc;
    font-size: 13px;
    line-height: 1.65;
}

.faq-answer p {
    margin: 0 0 12px;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 7px 0 14px;
    padding-left: 22px;
}

.faq-answer li {
    margin: 5px 0;
}

.faq-answer strong {
    color: #252c32;
}

.faq-answer code {
    padding: 2px 5px;
    border: 1px solid #d9dee2;
    border-radius: 4px;
    background: #f0f2f3;
    color: #343c43;
    font: 12px/1.4 Consolas, monospace;
}

.faq-answer a {
    color: #b41117;
    font-weight: 650;
    text-underline-offset: 2px;
}

.faq-answer .faq-warning {
    margin: 13px 0;
    padding: 11px 13px;
    border-left: 3px solid #d99c14;
    background: #fff8e7;
    color: #5d512f;
}

.faq-change-log {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.faq-change-log table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.faq-change-log th,
.faq-change-log td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    color: #4f5962;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
}

.faq-change-log th {
    color: #fff;
    background: var(--graphite-2);
}

.faq-empty {
    padding: 52px 20px;
    text-align: center;
    color: var(--muted);
}

.faq-empty-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border: 1px solid #ccd2d7;
    border-radius: 50%;
    background: #fff;
    color: var(--graphite-2);
    font-size: 23px;
    font-weight: 800;
}

.faq-empty h2 {
    margin: 0 0 5px;
    color: var(--text);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1050px) {
    .faq-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-meta {
        max-width: 500px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-index {
        position: static;
    }

    .faq-index nav {
        display: flex;
        gap: 6px;
        overflow-x: auto;
    }

    .faq-index a {
        flex: 0 0 auto;
        border: 1px solid #343c43;
        border-left-width: 1px;
        white-space: nowrap;
    }
}

@media (max-width: 720px) {
    .faq-hero-inner {
        padding: 42px 0 38px;
    }

    .faq-hero h1 {
        font-size: 38px;
    }

    .faq-section-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .faq-section-intro > p {
        text-align: left;
    }

    .faq-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .faq-search {
        max-width: none;
        flex-basis: auto;
    }

    .faq-toolbar-actions .faq-button {
        flex: 1 1 0;
    }

    .faq-item summary {
        padding-left: 14px;
        font-size: 13px;
    }

    .faq-answer {
        padding: 14px;
        font-size: 13px;
    }
}





/* Release 1.3.3 - FAQ document cards and in-place preview */

.faq-document-card {

    width: min(100%, 720px);

    margin: 8px 0 4px;

    padding: 12px 14px;

    display: flex;

    align-items: center;

    gap: 13px;

    border: 1px solid #cfd5da;

    border-left: 4px solid var(--red);

    border-radius: 7px;

    background: #fff;

    color: #283038;

    text-align: left;

    font: inherit;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(16,20,25,.04);

}



.faq-document-card:hover,

.faq-document-card:focus-visible {

    border-color: #b4bdc4;

    border-left-color: var(--red);

    background: #fafbfb;

    box-shadow: 0 7px 20px rgba(16,20,25,.075);

    outline: none;

}



.faq-document-card-icon {

    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    display: grid;

    place-items: center;

    border-radius: 6px;

    background: #22292f;

    color: #fff;

    font-size: 9px;

    font-weight: 850;

    letter-spacing: .08em;

}



.faq-document-card-copy {

    min-width: 0;

    flex: 1 1 auto;

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.faq-document-card-kicker {

    color: var(--red);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: .13em;

}



.faq-document-card-copy strong {

    overflow: hidden;

    color: #252c32;

    font-size: 13px;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.faq-document-card-copy > span:last-child {

    overflow: hidden;

    color: #77818a;

    font-size: 11px;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.faq-document-card-action {

    flex: 0 0 auto;

    color: #a80e14;

    font-size: 11px;

    font-weight: 800;

}



.faq-document-dialog {

    width: min(1180px, calc(100% - 28px));

    max-height: 92vh;

    padding: 0;

    overflow: hidden;

    border: 1px solid #3b434a;

    border-radius: 10px;

    background: #171b1f;

    color: #fff;

    box-shadow: 0 28px 90px rgba(0,0,0,.5);

}



.faq-document-dialog::backdrop {

    background: rgba(6,9,12,.76);

}



.faq-document-dialog-header {

    min-height: 78px;

    padding: 17px 20px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid #353d44;

    background:

        linear-gradient(90deg, rgba(215,25,32,.11), transparent 45%),

        #20262c;

}



.faq-document-dialog-header h2 {

    margin: 4px 0 0;

    color: #fff;

    font-size: 20px;

    letter-spacing: -.02em;

}



.faq-document-location {

    margin-top: 5px;

    color: #aeb7bf;

    font-size: 11px;

}



.faq-document-dialog-close {

    width: 40px;

    height: 40px;

    flex: 0 0 40px;

    display: grid;

    place-items: center;

    border: 1px solid #46505a;

    border-radius: 6px;

    background: transparent;

    color: #fff;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

}



.faq-document-dialog-close:hover {

    background: #2b333a;

}



.faq-document-dialog-body {

    height: min(72vh, 780px);

    min-height: 420px;

    overflow: auto;

    background: #111519;

}



.faq-document-frame {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 620px;

    border: 0;

    background: #fff;

}



.faq-document-image {

    display: block;

    max-width: calc(100% - 40px);

    max-height: calc(72vh - 40px);

    margin: 20px auto;

    object-fit: contain;

}



.faq-document-text {

    min-height: 100%;

    margin: 0;

    padding: 22px;

    overflow: auto;

    background: #101418;

    color: #dfe4e7;

    font: 12px/1.55 Consolas, "Courier New", monospace;

    white-space: pre-wrap;

    overflow-wrap: anywhere;

}



.faq-document-loading {

    min-height: 420px;

    display: grid;

    place-items: center;

    color: #aeb7bf;

    font-size: 13px;

}



.faq-document-dialog-actions {

    min-height: 62px;

    padding: 10px 16px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 9px;

    border-top: 1px solid #353d44;

    background: #20262c;

}



.faq-document-download {

    min-height: 42px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--red);

    border-radius: 6px;

    background: var(--red);

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

}



.faq-document-download:hover {

    background: #bd151b;

    border-color: #bd151b;

}



.faq-document-dialog-actions .faq-button {

    color: #fff;

    border-color: #515b64;

    background: #2b3239;

}



.faq-document-dialog-actions .faq-button:hover {

    background: #353e46;

}



@media (max-width: 680px) {

    .faq-document-card {

        align-items: flex-start;

    }



    .faq-document-card-action {

        align-self: center;

    }



    .faq-document-dialog {

        width: calc(100% - 14px);

        max-height: 94vh;

    }



    .faq-document-dialog-header {

        padding: 14px;

    }



    .faq-document-dialog-header h2 {

        font-size: 17px;

    }



    .faq-document-dialog-body {

        height: 70vh;

        min-height: 360px;

    }



    .faq-document-frame {

        min-height: 560px;

    }



    .faq-document-dialog-actions {

        padding: 9px 10px;

    }

}



/* Release 1.5.0 - legal footer */
.legal-footer-note {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 520px;
    line-height: 1.45;
}
.legal-footer-note a {
    color: inherit;
    text-underline-offset: 2px;
}
