:root {
    /* Default Triumph theme */
    --brand-color: #4D2EA0;
    --brand-color-dark: #000000;
    --accent-color: #00A4BF;

    /* Shared neutral interface colors */
    --page-background: #F7F8FA;
    --card-background: #FFFFFF;
    --primary-text: #1F2529;
    --secondary-text: #5F696F;
    --border-color: #D9DEE3;
    --soft-brand-background: #F0ECFA;

    /* Optional shadow token */
    --brand-shadow: rgba(77, 46, 160, 0.10);
    }

    * {
        box-sizing: border-box;
    }

    html,
    body {
        min-height: 100%;
        margin: 0;
    }

    body {
        background: var(--page-background);
        color: var(--primary-text);
        font-family: Arial, Helvetica, sans-serif;
    }

    .survey-page {
        width: 100%;
        min-height: 100vh;
        padding: 32px 20px;
    }

    .survey-header {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 90px;
        margin-bottom: 24px;
    }

    .survey-logo {
        display: block;
        width: auto;
        max-width: 240px;
        max-height: 80px;
        object-fit: contain;
    }

    .survey-container {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        position: relative;
    }

    #pendo-survey-target {
        width: 100%;
        position: relative;
    }

.survey-disclosure {
    width: 100%;
    max-width: 760px;
    margin: 18px auto 0;
    padding: 0 4px;

    color: var(--secondary-text);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.survey-disclosure[hidden] {
    display: none;
}

.survey-disclosure p {
    margin: 0 0 8px;
}

.survey-disclosure a {
    color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.survey-disclosure a:hover {
    color: var(--brand-color);
}

    .survey-status {
        width: 100%;
        min-height: 400px;
        padding: 48px 32px;

        border: 1px solid var(--border-color);
        border-top: 5px solid var(--brand-color);
        border-radius: 14px;

        background: var(--card-background);
        box-shadow: 0 8px 28px var(--brand-shadow);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;
    }

    .survey-status[hidden] {
        display: none;
    }

    .survey-status h1 {
        margin: 0 0 12px;
        color: var(--brand-color-dark);
        font-size: 25px;
        line-height: 1.3;
    }

    .survey-status p {
        max-width: 520px;
        margin: 0;
        color: var(--secondary-text);
        font-size: 16px;
        line-height: 1.6;
    }

    .survey-spinner {
        width: 50px;
        height: 50px;
        margin-bottom: 24px;

        border: 5px solid var(--soft-brand-background);
        border-top-color: var(--brand-color);
        border-right-color: var(--accent-color);
        border-radius: 50%;

        animation: survey-spin 0.8s linear infinite;
    }

    @keyframes survey-spin {
        to {
            transform: rotate(360deg);
        }
    }

    #survey-loading:not([hidden]) {
        animation: survey-fade-in 0.2s ease-out;
    }

    @keyframes survey-fade-in {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .survey-status-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 20px;

        border: 2px solid var(--brand-color);
        border-radius: 50%;

        background: var(--soft-brand-background);
        color: var(--brand-color-dark);

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 28px;
        font-weight: 700;
    }

    .survey-reference {
        margin-top: 18px !important;
        color: var(--secondary-text) !important;
        font-size: 13px !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .survey-debug {
        width: 100%;
        max-width: 760px;
        margin: 20px auto 0;
        padding: 16px;

        overflow-wrap: anywhere;

        border: 1px dashed var(--brand-color);
        border-radius: 8px;

        background: var(--card-background);
        color: var(--brand-color-dark);

        font-family: monospace;
        font-size: 13px;
        line-height: 1.5;
        white-space: pre-wrap;
    }

    .survey-debug[hidden] {
        display: none;
    }

    @media (max-width: 600px) {
        .survey-page {
            padding: 22px 14px;
        }

        .survey-header {
            min-height: 70px;
            margin-bottom: 18px;
        }

        .survey-logo {
            max-width: 190px;
            max-height: 65px;
        }

        .survey-container,
        #pendo-survey-target {
            min-height: 380px;
        }

.survey-disclosure {
    margin-top: 14px;
    padding: 0 2px;
    font-size: 12px;
}
        .survey-status {
            min-height: 350px;
            padding: 38px 22px;
        }

        .survey-status h1 {
            font-size: 22px;
        }
    }

    @media (max-width: 380px) {
        .survey-page {
            padding: 18px 10px;
        }

        .survey-status {
            padding: 32px 18px;
        }

        .survey-status h1 {
            font-size: 21px;
        }

        .survey-status p {
            font-size: 15px;
        }

        .survey-logo {
            max-width: 170px;
        }
    }