:root {
    --background: #f4f6fb;
    --surface: #ffffff;
    --surface-soft: #f7f8fc;
    --text: #172137;
    --muted: #74819a;
    --line: #dfe5ef;
    --sidebar: #182238;
    --sidebar-muted: #aab4c8;
    --primary: #5968f4;
    --primary-soft: #eef0ff;
    --success: #199767;
    --success-soft: #edf9f4;
    --warning: #df8b17;
    --warning-soft: #fff8ea;
    --danger: #dc4058;
    --danger-soft: #fff1f3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.help-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        290px
        minmax(0, 1fr);
}

.help-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 28px 16px;
    color: #fff;
    background: var(--sidebar);
}

.help-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

.help-brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #5968f4,
            #8758ff
        );
    font-size: 24px;
    font-weight: 900;
}

.help-brand strong,
.help-brand small {
    display: block;
}

.help-brand strong {
    font-size: 21px;
}

.help-brand small {
    margin-top: 3px;
    color: var(--sidebar-muted);
    font-size: 12px;
}

.help-navigation {
    display: grid;
    gap: 8px;
    margin-top: 54px;
}

.help-nav-item {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-radius: 13px;
    color: var(--sidebar-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 750;
}

.help-nav-item > span {
    width: 22px;
    text-align: center;
}

.help-nav-item:hover,
.help-nav-item.active {
    color: #fff;
    background:
        rgba(
            255,
            255,
            255,
            0.09
        );
}

.help-nav-item.active {
    border:
        1px solid
        rgba(
            105,
            116,
            255,
            0.8
        );
}

.help-sidebar-footer {
    margin-top: auto;
}

.help-status {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border-radius: 13px;
    background:
        rgba(
            255,
            255,
            255,
            0.07
        );
}

.help-status-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #31c993;
    box-shadow:
        0 0 0 6px
        rgba(
            49,
            201,
            147,
            0.12
        );
}

.help-status strong,
.help-status small {
    display: block;
}

.help-status strong {
    font-size: 13px;
}

.help-status small {
    margin-top: 3px;
    color: var(--sidebar-muted);
    font-size: 11px;
}

.help-main {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 58px 44px 80px;
}

.help-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 35px;
}

.help-eyebrow,
.help-section-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.help-hero h1 {
    max-width: 850px;
    margin: 10px 0 12px;
    font-size: clamp(
        42px,
        5vw,
        68px
    );
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.help-hero p {
    max-width: 790px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.help-hero-badge {
    padding: 13px 18px;
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.help-important,
.help-section,
.help-final {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    background: var(--surface);
}

.help-important h2,
.help-section > h2 {
    margin: 9px 0 0;
    font-size: 30px;
    letter-spacing: -0.025em;
}

.help-question-grid {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 14px;
    margin-top: 26px;
}

.help-question-grid article,
.help-manager-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface-soft);
}

.help-question-grid article > span,
.help-manager-grid article > span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.help-question-grid strong {
    display: block;
    margin-top: 18px;
    font-size: 18px;
}

.help-question-grid p,
.help-manager-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.help-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.help-section-heading h2 {
    margin: 8px 0 0;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.help-score {
    min-width: 110px;
    padding: 15px 18px;
    border-radius: 16px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.help-score small {
    display: block;
    margin-top: 6px;
    font-size: 10px;
}

.help-score-main {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #5968f4,
            #835eff
        );
}

.help-score-warning {
    color: #a86000;
    background: var(--warning-soft);
}

.help-score-success {
    color: var(--success);
    background: var(--success-soft);
}

.help-intro {
    max-width: 850px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.help-explanation-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 16px;
    margin-top: 25px;
}

.help-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-soft);
}

.help-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.help-card p,
.help-card li {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.help-card ul {
    margin: 0;
    padding-left: 20px;
}

.help-card-accent {
    border-color:
        rgba(
            89,
            104,
            244,
            0.24
        );
    background:
        linear-gradient(
            145deg,
            #f5f6ff,
            #fafaff
        );
}

.help-card-success {
    border-color:
        rgba(
            25,
            151,
            103,
            0.22
        );
    background: var(--success-soft);
}

.help-warning {
    margin-top: 18px;
    padding: 17px 20px;
    border-left:
        4px solid
        var(--warning);
    border-radius:
        0 14px 14px 0;
    background: var(--warning-soft);
}

.help-warning strong {
    font-size: 14px;
}

.help-warning p {
    margin: 7px 0 0;
    color: #7d6542;
    font-size: 13px;
    line-height: 1.55;
}

.help-flow {
    display: grid;
    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
}

.help-flow > div {
    min-height: 125px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
}

.help-flow > div > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.help-flow strong,
.help-flow small {
    display: block;
}

.help-flow strong {
    margin-top: 14px;
    font-size: 14px;
}

.help-flow small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.help-flow > b {
    color: var(--primary);
    font-size: 20px;
}

.help-example {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 15px;
    background: var(--primary-soft);
}

.help-example span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.help-example p {
    margin: 7px 0 0;
    color: #59647a;
    font-size: 13px;
    line-height: 1.55;
}

.help-checklist {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 10px;
    margin-top: 24px;
}

.help-checklist > div {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--surface-soft);
    font-size: 13px;
}

.help-checklist span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
}

.help-checklist b {
    color: var(--muted);
    font-size: 11px;
}

.help-checklist .is-ok span {
    background: var(--success);
}

.help-checklist .is-warning span {
    background: var(--warning);
}

.help-equation {
    display: grid;
    grid-template-columns:
        1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 850;
    text-align: center;
}

.help-equation span {
    color: var(--danger);
    font-size: 28px;
}

.help-outcome-grid {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 14px;
    margin-top: 24px;
}

.help-outcome-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.help-outcome-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 900;
}

.help-outcome-grid strong {
    display: block;
    margin-top: 16px;
    font-size: 17px;
}

.help-outcome-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.is-resolved .help-outcome-icon {
    color: var(--success);
    background: var(--success-soft);
}

.is-pending .help-outcome-icon {
    color: var(--warning);
    background: var(--warning-soft);
}

.is-unresolved .help-outcome-icon {
    color: var(--danger);
    background: var(--danger-soft);
}

.is-unknown .help-outcome-icon {
    color: #778298;
    background: #eef1f6;
}

.help-manager-grid {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 14px;
    margin-top: 24px;
}

.help-manager-grid h3 {
    margin: 15px 0 0;
    font-size: 16px;
}

.help-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    border-color:
        rgba(
            89,
            104,
            244,
            0.25
        );
    background:
        linear-gradient(
            135deg,
            #f3f4ff,
            #ffffff
        );
}

.help-final h2 {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: 28px;
}

.help-final p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.help-final a {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 250px;
    padding: 17px 20px;
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.help-final a span {
    margin-left: auto;
    font-size: 20px;
}

@media (max-width: 1100px) {

    .help-question-grid,
    .help-outcome-grid,
    .help-manager-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .help-flow {
        grid-template-columns: 1fr;
    }

    .help-flow > b {
        transform: rotate(90deg);
        text-align: center;
    }

}

@media (max-width: 800px) {

    .help-shell {
        display: block;
    }

    .help-sidebar {
        position: static;
        width: 100%;
        height: auto;
    }

    .help-navigation {
        margin-top: 25px;
    }

    .help-sidebar-footer {
        margin-top: 20px;
    }

    .help-main {
        padding:
            30px
            18px
            50px;
    }

    .help-hero,
    .help-final {
        display: grid;
    }

    .help-hero-badge {
        justify-self: start;
    }

    .help-explanation-grid,
    .help-checklist {
        grid-template-columns: 1fr;
    }

    .help-final a {
        min-width: 0;
    }

}

@media (max-width: 560px) {

    .help-question-grid,
    .help-outcome-grid,
    .help-manager-grid {
        grid-template-columns: 1fr;
    }

    .help-section,
    .help-important,
    .help-final {
        padding: 22px;
        border-radius: 18px;
    }

    .help-section-heading {
        display: grid;
    }

    .help-score {
        justify-self: start;
    }

}

/* VOICECRM_ANALYTICS_HELP_V34_CSS_START */

/* --------------------------------------------------------------------------
   Score interpretation
   -------------------------------------------------------------------------- */

.help-score-interpretation,
.help-score-calculation-example {
    overflow: hidden;
}

.help-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.help-section-heading > div:first-child {
    min-width: 0;
}

.help-score-example-badge {
    width: 118px;
    min-width: 118px;
    min-height: 88px;
    display: grid;
    place-content: center;
    gap: 3px;
    border-radius: 18px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #5868ff,
            #7957f7
        );
    text-align: center;
}

.help-score-example-badge strong {
    font-size: 36px;
    line-height: 1;
}

.help-score-example-badge span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
}

.help-score-example-warning {
    color: #a96200;
    background: #fff5e5;
}

.help-score-scale {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 14px;
    margin-top: 28px;
}

.help-score-band {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe4ef;
    border-top-width: 4px;
    border-radius: 16px;
    background: #ffffff;
}

.help-score-band-range {
    padding: 18px 18px 10px;
    color: #172137;
    font-size: 30px;
    font-weight: 850;
    line-height: 1;
}

.help-score-band-copy {
    padding: 0 18px 20px;
}

.help-score-band-copy strong {
    display: block;
    color: #172137;
    font-size: 15px;
}

.help-score-band-copy p {
    margin: 8px 0 0;
    color: #76839a;
    font-size: 12px;
    line-height: 1.55;
}

.help-score-band-critical {
    border-top-color: #dc435b;
}

.help-score-band-warning {
    border-top-color: #df8b16;
}

.help-score-band-normal {
    border-top-color: #5868ef;
}

.help-score-band-good {
    border-top-color: #189667;
}

.help-score-disclaimer {
    margin-top: 18px;
    border-left: 4px solid #5868ef;
    border-radius: 0 13px 13px 0;
    padding: 15px 18px;
    background: #f2f4ff;
}

.help-score-disclaimer strong,
.help-score-disclaimer p {
    display: block;
}

.help-score-disclaimer strong {
    color: #26314c;
    font-size: 13px;
}

.help-score-disclaimer p {
    margin: 5px 0 0;
    color: #6f7d96;
    font-size: 12px;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Transparent weighted calculation
   -------------------------------------------------------------------------- */

.help-calculation-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(280px, .65fr);
    gap: 24px;
    margin-top: 28px;
    align-items: start;
}

.help-calculation-table {
    display: grid;
    gap: 8px;
}

.help-calculation-row {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        58px
        58px;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    border: 1px solid #e0e5ef;
    border-radius: 13px;
    padding: 10px 14px;
    background: #f8f9fc;
}

.help-calculation-status {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.help-calculation-row.is-success
.help-calculation-status {
    background: #179669;
}

.help-calculation-row.is-missed
.help-calculation-status {
    background: #df8b16;
}

.help-calculation-name {
    color: #202b42;
    font-size: 13px;
    font-weight: 750;
}

.help-calculation-weight {
    color: #7b879b;
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.help-calculation-result {
    color: #1e2940;
    font-size: 14px;
    font-weight: 850;
    text-align: right;
}

.help-calculation-row.is-missed
.help-calculation-result {
    color: #c3780e;
}

.help-calculation-summary {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
    border: 1px solid #d9e0ee;
    border-radius: 18px;
    padding: 22px;
    background:
        linear-gradient(
            145deg,
            #fafbff,
            #f3f5ff
        );
}

.help-calculation-caption {
    color: #5c6af3;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
}

.help-calculation-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #172137;
}

.help-calculation-formula span {
    min-width: 36px;
    padding: 7px 8px;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 850;
    text-align: center;
}

.help-calculation-formula b {
    color: #8190aa;
    font-size: 12px;
}

.help-calculation-total {
    padding-top: 16px;
    border-top: 1px solid #dce2ed;
}

.help-calculation-total span,
.help-calculation-total strong,
.help-calculation-total small {
    display: block;
}

.help-calculation-total span {
    color: #77849b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.help-calculation-total strong {
    margin-top: 5px;
    color: #5868ef;
    font-size: 54px;
    line-height: 1;
}

.help-calculation-total small {
    margin-top: 4px;
    color: #7d899d;
    font-size: 11px;
}

.help-calculation-loss {
    border-radius: 13px;
    padding: 14px;
    background: #fff6e8;
}

.help-calculation-loss span,
.help-calculation-loss strong {
    display: block;
}

.help-calculation-loss span {
    color: #99702f;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.help-calculation-loss strong {
    margin-top: 4px;
    color: #a76609;
    font-size: 20px;
}

.help-calculation-loss p {
    margin: 7px 0 0;
    color: #8b714b;
    font-size: 11px;
    line-height: 1.5;
}

.help-manager-interpretation {
    margin-top: 22px;
    border-left: 4px solid #5868ef;
    border-radius: 0 15px 15px 0;
    padding: 18px 20px;
    background:
        linear-gradient(
            90deg,
            #f1f3ff,
            #f8f8ff
        );
}

.help-manager-interpretation span,
.help-manager-interpretation strong {
    display: block;
}

.help-manager-interpretation span {
    color: #5868ef;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
}

.help-manager-interpretation strong {
    margin-top: 7px;
    color: #172137;
    font-size: 18px;
    line-height: 1.35;
}

.help-manager-interpretation p {
    max-width: 900px;
    margin: 8px 0 0;
    color: #70809a;
    font-size: 12px;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {

    .help-score-scale {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .help-calculation-layout {
        grid-template-columns: 1fr;
    }

    .help-calculation-summary {
        position: static;
    }

}

@media (max-width: 700px) {

    .help-section-heading {
        display: grid;
    }

    .help-score-example-badge {
        width: 100%;
        min-width: 0;
        min-height: 72px;
    }

    .help-score-scale {
        grid-template-columns: 1fr;
    }

    .help-calculation-row {
        grid-template-columns:
            32px
            minmax(0, 1fr)
            48px;
    }

    .help-calculation-result {
        grid-column:
            2 / 4;
        text-align: left;
    }

}

/* VOICECRM_ANALYTICS_HELP_V34_CSS_END */
