.acv-insight {
    --acv-primary: #1f6feb;
    --acv-secondary: #11a683;
    --acv-background: #f6f7f9;
    --acv-text: #17202a;
    --acv-card: #ffffff;
    --acv-button: #1f6feb;
    --acv-progress: #11a683;
    --acv-radius: 8px;
    --acv-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    background: var(--acv-background);
    border-radius: var(--acv-radius);
    color: var(--acv-text);
    font-family: inherit;
    margin: 24px 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.acv-insight,
.acv-insight * {
    box-sizing: border-box;
}

.acv-theme-dark {
    --acv-primary: #8ab4ff;
    --acv-secondary: #43d9ad;
    --acv-background: #111827;
    --acv-text: #f9fafb;
    --acv-card: #1f2937;
    --acv-button: #2563eb;
}

.acv-theme-emotional {
    --acv-primary: #c2416d;
    --acv-secondary: #0f9f8f;
    --acv-background: #fff7f8;
    --acv-text: #2b2024;
    --acv-card: #ffffff;
    --acv-button: #c2416d;
}

.acv-theme-professional {
    --acv-primary: #14532d;
    --acv-secondary: #0369a1;
    --acv-background: #f8fafc;
    --acv-text: #111827;
    --acv-button: #14532d;
}

.acv-theme-minimal {
    --acv-primary: #111827;
    --acv-secondary: #52525b;
    --acv-background: #ffffff;
    --acv-text: #111827;
    --acv-card: #fafafa;
    --acv-button: #111827;
}

.acv-card-ui,
.acv-insight-card,
.acv-question-card {
    background: var(--acv-card);
    border: 1px solid rgba(120, 120, 120, 0.18);
    border-radius: var(--acv-radius);
    box-shadow: var(--acv-shadow);
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    padding: 24px;
    width: 100%;
}

.acv-insight-loading {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 260px;
    text-align: center;
}

.acv-loading-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
    border: 1px solid rgba(0, 123, 122, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    max-width: 460px;
    padding: 34px 28px;
    width: 100%;
}

.acv-loading-card h3 {
    color: #0f766e;
    font-size: 22px;
    margin: 0 0 10px;
}

.acv-loading-card p {
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.acv-loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 18px;
}

.acv-loading-dots span {
    animation: acvLoadingPulse 1s ease-in-out infinite;
    background: #0f9f8f;
    border-radius: 999px;
    display: block;
    height: 12px;
    width: 12px;
}

.acv-loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.acv-loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes acvLoadingPulse {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: scale(0.82);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.acv-insight h2,
.acv-insight h3 {
    color: inherit;
    line-height: 1.2;
    margin: 0 0 12px;
}

.acv-insight p {
    margin: 0 0 16px;
}

.acv-progress {
    background: rgba(120, 120, 120, 0.25);
    border-radius: 999px;
    box-sizing: border-box;
    height: 8px;
    margin-bottom: 18px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.acv-progress-bar {
    background: var(--acv-progress);
    height: 100%;
    transition: width 180ms ease;
    width: 0;
}

.acv-options {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

.acv-option,
.acv-answer-option,
.acv-insight .acv-answer-option {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(120, 120, 120, 0.35);
    border-radius: var(--acv-radius);
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 12px 14px;
    position: relative;
    text-align: left;
    white-space: normal;
    width: 100%;
    word-break: normal;
}

.acv-option:hover,
.acv-answer-option:hover {
    border-color: #007b7a;
    box-shadow: 0 10px 24px rgba(0, 123, 122, 0.08);
}

.acv-option.is-selected,
.acv-answer-option.is-selected {
    background: #f4f8f8;
    border-color: #007b7a;
    box-shadow: 0 0 0 2px rgba(51, 163, 162, 0.16);
}

.acv-answer-option:focus-visible {
    outline: 3px solid rgba(51, 163, 162, 0.35);
    outline-offset: 2px;
}

.acv-answer-label {
    flex: 1;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: normal;
}

.acv-answer-check {
    align-items: center;
    background: #20b486;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 160ms ease, transform 160ms ease;
    width: 24px;
}

.acv-answer-option.is-selected .acv-answer-check {
    opacity: 1;
    transform: scale(1);
}

.acv-answer-option input[type="checkbox"] {
    margin-right: 6px;
}

.acv-input {
    border: 1px solid rgba(120, 120, 120, 0.35);
    border-radius: var(--acv-radius);
    box-sizing: border-box;
    font: inherit;
    padding: 12px;
    width: 100%;
}

.acv-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 18px;
    max-width: 100%;
    width: 100%;
}

.acv-button,
.acv-insight-btn {
    background: linear-gradient(135deg, #33a3a2 0%, #007b7a 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(0, 123, 122, 0.22);
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    max-width: 100%;
    padding: 13px 22px;
    transition: box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.acv-button:hover,
.acv-insight-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 123, 122, 0.26);
}

.acv-button[disabled],
.acv-insight-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.acv-button-secondary,
.acv-insight-btn.acv-button-secondary {
    background: #fff;
    border: 1px solid #007b7a;
    box-shadow: none;
    color: #007b7a;
}

.acv-button-secondary:hover,
.acv-insight-btn.acv-button-secondary:hover {
    color: #007b7a;
    box-shadow: 0 10px 22px rgba(0, 123, 122, 0.12);
}

.acv-error {
    color: #b42318;
    margin-top: 12px;
}

.acv-result-score {
    color: var(--acv-secondary);
    font-weight: 700;
}

.acv-result-card {
    background: #fff;
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    color: #17202a;
    margin: 0 auto;
    max-width: 720px;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.acv-result-header {
    background: linear-gradient(135deg, #0f9f8f 0%, #1479c9 100%);
    color: #fff;
    padding: 34px 28px;
}

.acv-result-eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.acv-result-header h2 {
    color: inherit;
    font-size: 30px;
    margin: 0;
}

.acv-result-body {
    padding: 30px;
    max-width: 100%;
    overflow-x: hidden;
}

.acv-result-body h3 {
    color: #0f766e;
    font-size: 20px;
    margin: 24px 0 12px;
}

.acv-result-image {
    border-radius: 14px;
    display: block;
    height: auto;
    margin: 0 auto 22px;
    max-width: 100%;
}

.acv-result-text,
.acv-result-recommendation {
    line-height: 1.65;
    overflow-wrap: anywhere;
    text-align: left;
}

.acv-result-box,
.acv-result-includes {
    background: #eefaf7;
    border: 1px solid #b8ebe2;
    border-radius: 14px;
    line-height: 1.6;
    margin: 20px 0;
    padding: 18px;
    text-align: left;
}

.acv-result-includes {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.acv-result-cta {
    background: linear-gradient(135deg, #0f9f8f 0%, #1479c9 100%);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-weight: 800;
    margin-top: 22px;
    padding: 15px 26px;
    text-decoration: none;
}

.acv-result-cta:hover {
    color: #fff;
    filter: brightness(0.95);
}

.acv-share-block {
    background: #ffffff;
    border: 1px solid rgba(0, 123, 122, 0.14);
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
    color: #17202a;
    margin: 22px auto 0;
    max-width: 720px;
    overflow-x: hidden;
    padding: 26px;
    text-align: center;
    width: 100%;
}

.acv-share-block h3 {
    color: #0f766e;
    font-size: 22px;
    margin: 0 0 10px;
}

.acv-share-block p {
    color: #475569;
    line-height: 1.55;
}

.acv-share-trust {
    background: #f4f8f8;
    border-radius: 12px;
    color: #0f766e;
    font-weight: 700;
    padding: 12px;
}

.acv-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
    max-width: 100%;
}

.acv-share-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 11px 16px;
    text-decoration: none;
    white-space: normal;
}

.acv-share-btn:hover {
    border-color: #007b7a;
    color: #007b7a;
}

.acv-share-status {
    color: #0f766e;
    font-weight: 700;
    margin: 14px 0 0;
    min-height: 22px;
}

@media (max-width: 480px) {
    .acv-insight,
    .acv-insight * {
        box-sizing: border-box;
    }

    .acv-insight {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 12px;
        padding-right: 12px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .acv-card-ui,
    .acv-insight-card,
    .acv-question-card {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .acv-insight .acv-answer-option {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 16px;
        font-size: 15px;
        line-height: 1.35;
        border-radius: 24px;
    }

    .acv-insight-btn {
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
    }

    .acv-result-card,
    .acv-share-block {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .acv-insight .acv-answer-option {
        font-size: 14px;
        padding: 13px 14px;
        border-radius: 20px;
    }

    .acv-question-title,
    .acv-insight h3 {
        font-size: 22px;
    }

    .acv-question-description,
    .acv-insight p {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .acv-insight {
        padding: 14px;
    }

    .acv-card-ui {
        padding: 18px;
    }

    .acv-actions {
        flex-direction: column-reverse;
    }

    .acv-button,
    .acv-insight-btn,
    .acv-share-btn {
        box-sizing: border-box;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    .acv-loading-card,
    .acv-share-block {
        padding: 22px 18px;
    }

    .acv-result-header {
        padding: 26px 18px;
    }

    .acv-result-header h2 {
        font-size: 24px;
    }

    .acv-result-body {
        padding: 22px 18px;
    }

    .acv-result-cta {
        box-sizing: border-box;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .acv-insight {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 12px;
        padding-right: 12px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .acv-card-ui,
    .acv-insight-card,
    .acv-question-card {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .acv-insight .acv-answer-option,
    .acv-insight .acv-option {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 16px;
        font-size: 15px;
        line-height: 1.35;
        border-radius: 24px;
    }

    .acv-insight-btn,
    .acv-button {
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
    }
}

@media (max-width: 360px) {
    .acv-insight .acv-answer-option,
    .acv-insight .acv-option {
        font-size: 14px;
        padding: 13px 14px;
        border-radius: 20px;
    }
}
