.wofvg-guided-chatbot {
    --wofvg-border: #cfd8d2;
    --wofvg-accent: #0f5c4d;
    --wofvg-accent-dark: #0a4036;
    --wofvg-accent-soft: #dff0ea;
    --wofvg-text: #1d2a26;
    --wofvg-muted: #59706a;
    --wofvg-surface: #ffffff;
    --wofvg-surface-alt: #f8fbf9;
    --wofvg-bg: radial-gradient(circle at top right, #ddeee7 0%, #f6f4ee 38%, #eef4ef 100%);
    --wofvg-shadow: 0 18px 36px rgba(18, 48, 41, 0.08);
    color: var(--wofvg-text);
    --background: var(--wofvg-bg);
    --border: 1px solid var(--wofvg-border);
    border-radius: 28px;
    padding: 24px;
    --box-shadow: var(--wofvg-shadow);
}

.wofvg-guided-chatbot__shell {
    max-width: 820px;
    margin: 0 auto;
}

.wofvg-guided-chatbot__checklist-section {
    margin-top: 34px;
}

.wofvg-guided-chatbot__checklist-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--wofvg-accent-dark);
}

.wofvg-guided-chatbot__checklist {
    padding-left: 0;
    padding-top: 0;
}


.wofvg-guided-chatbot__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.9fr);
    gap: 18px;
    margin-bottom: 20px;
    align-items: stretch;
}

.wofvg-guided-chatbot__intro-copy,
.wofvg-guided-chatbot__intro-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 20px;
}

.wofvg-guided-chatbot__intro h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
}

.wofvg-guided-chatbot__intro p {
    margin: 0;
    color: var(--wofvg-muted);
    line-height: 1.7;
}

.wofvg-guided-chatbot__eyebrow,
.wofvg-guided-chatbot__caption,
.wofvg-guided-chatbot__meta,
.wofvg-guided-chatbot__intro-kicker,
.wofvg-guided-chatbot__status-label,
.wofvg-guided-chatbot__question-badge {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wofvg-accent);
}

.wofvg-guided-chatbot__intro-points {
    margin: 0;
    padding-left: 18px;
    color: var(--wofvg-text);
    display: grid;
    gap: 10px;
}

.wofvg-guided-chatbot__status {
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 14px 16px;
}

.wofvg-guided-chatbot__status-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.wofvg-guided-chatbot__status-label,
.wofvg-guided-chatbot__progress-text {
    margin: 0;
}

.wofvg-guided-chatbot__progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(15, 92, 77, 0.12);
    overflow: hidden;
}

.wofvg-guided-chatbot__progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0f5c4d 0%, #3f866f 100%);
    transition: width 220ms ease;
}

.wofvg-guided-chatbot__progress-text {
    color: var(--wofvg-muted);
    font-size: 0.95rem;
}

.wofvg-guided-chatbot__panel {
    background: var(--wofvg-surface);
    border: 1px solid var(--wofvg-border);
    border-radius: 22px;
    padding: 24px;
}

.wofvg-guided-chatbot__panel--loading,
.wofvg-guided-chatbot__panel--error,
.wofvg-guided-chatbot__panel--result {
    min-height: 220px;
}

.wofvg-guided-chatbot__panel--error {
    border-color: #dfb3b3;
    background: #fff9f8;
}

.wofvg-guided-chatbot__question-head h3 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.22;
}

.wofvg-guided-chatbot__question-description,
.wofvg-guided-chatbot__loading,
.wofvg-guided-chatbot__loading-text,
.wofvg-guided-chatbot__empty,
.wofvg-guided-chatbot__helper,
.wofvg-guided-chatbot__answer-prompt {
    margin: 0;
    color: var(--wofvg-muted);
    line-height: 1.65;
}

.wofvg-guided-chatbot__question-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wofvg-accent-soft);
    border-radius: 999px;
    padding: 7px 12px;
}

.wofvg-guided-chatbot__answer-prompt {
    margin-top: 10px;
}

.wofvg-guided-chatbot__answers {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.wofvg-guided-chatbot__answer,
.wofvg-guided-chatbot__secondary {
    appearance: none;
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--wofvg-border);
    padding: 16px 18px;
    font: inherit;
    text-align: left;
    background: linear-gradient(180deg, #fdfefe 0%, #f8fbf9 100%);
    color: var(--wofvg-text);
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.wofvg-guided-chatbot__answer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.wofvg-guided-chatbot__answer:hover,
.wofvg-guided-chatbot__answer:focus-visible,
.wofvg-guided-chatbot__secondary:hover,
.wofvg-guided-chatbot__secondary:focus-visible {
    border-color: var(--wofvg-accent);
    box-shadow: 0 0 0 4px rgba(15, 92, 77, 0.11);
    transform: translateY(-1px);
    outline: none;
}

.wofvg-guided-chatbot__answer-label {
    font-weight: 600;
    line-height: 1.45;
}

.wofvg-guided-chatbot__answer-cta {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(15, 92, 77, 0.08);
    color: var(--wofvg-accent);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 12px;
}

.wofvg-guided-chatbot__helper {
    margin-top: 18px;
    font-size: 0.95rem;
}

.wofvg-guided-chatbot__profile {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--wofvg-border);
    border-radius: 18px;
    background: var(--wofvg-surface-alt);
}

.wofvg-guided-chatbot__ai-box {
    margin-top: 24px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(15, 92, 77, 0.18);
    border-left: 4px solid var(--wofvg-accent);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(223, 240, 234, 0.5) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.wofvg-guided-chatbot__ai-box--primary {
    background: linear-gradient(180deg, rgba(223, 240, 234, 0.8) 0%, rgba(248, 251, 249, 1) 100%);
    box-shadow: 0 10px 24px rgba(18, 48, 41, 0.06);
}

.wofvg-guided-chatbot__ai-content {
    color: var(--wofvg-text);
    line-height: 1.7;
}

.wofvg-guided-chatbot__ai-note {
    margin: 12px 0 0;
    color: var(--wofvg-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.wofvg-guided-chatbot__email {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--wofvg-border);
    border-radius: 18px;
    background: var(--wofvg-surface-alt);
}

.wofvg-guided-chatbot__email h4 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.wofvg-guided-chatbot__email-form {
    display: grid;
    gap: 10px;
}

.wofvg-guided-chatbot__email-label {
    font-weight: 600;
}

.wofvg-guided-chatbot__email-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wofvg-guided-chatbot__email-input {
    flex: 1 1 260px;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--wofvg-border);
    padding: 12px 14px;
    font: inherit;
    color: var(--wofvg-text);
    background: #fff;
}

.wofvg-guided-chatbot__email-input:focus-visible {
    border-color: var(--wofvg-accent);
    box-shadow: 0 0 0 4px rgba(15, 92, 77, 0.11);
    outline: none;
}

.wofvg-guided-chatbot__email-feedback {
    min-height: 1.5em;
    margin: 0;
    font-size: 0.95rem;
}

.wofvg-guided-chatbot__email-feedback--success {
    color: #157347;
}

.wofvg-guided-chatbot__email-feedback--error {
    color: #b42318;
}

.wofvg-guided-chatbot__email-feedback--pending {
    color: var(--wofvg-muted);
}

.wofvg-guided-chatbot__email-form[aria-busy="true"] {
    opacity: 0.88;
}

.wofvg-guided-chatbot__email-form[aria-busy="true"] .wofvg-guided-chatbot__email-input {
    background: #f7f8f7;
}

.wofvg-guided-chatbot__secondary:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.wofvg-guided-chatbot__profile h4 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.wofvg-guided-chatbot__profile-list {
    margin: 0;
    display: grid;
    gap: 10px;
}

.wofvg-guided-chatbot__profile-list div {
    display: grid;
    gap: 4px;
}

.wofvg-guided-chatbot__profile-list dt {
    font-weight: 700;
}

.wofvg-guided-chatbot__profile-list dd {
    margin: 0;
    color: var(--wofvg-muted);
}

.wofvg-guided-chatbot__checklist {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.wofvg-guided-chatbot__checklist-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--wofvg-border);
    border-radius: 18px;
    padding: 16px;
    background: var(--wofvg-surface-alt);
}

.wofvg-guided-chatbot__checklist-index,
.wofvg-guided-chatbot__state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--wofvg-accent-soft);
    color: var(--wofvg-accent-dark);
    font-weight: 700;
}

.wofvg-guided-chatbot__checklist-body h4 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.wofvg-guided-chatbot__checklist-body p {
    margin: 0 0 8px;
    color: var(--wofvg-muted);
    line-height: 1.55;
}

.wofvg-guided-chatbot__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wofvg-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.wofvg-guided-chatbot__link:hover,
.wofvg-guided-chatbot__link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.wofvg-guided-chatbot__link-url {
    display: block;
    margin-top: 6px;
    font-size: 0.86rem;
    word-break: break-all;
}

.wofvg-guided-chatbot__empty-state {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-top: 8px;
}

.wofvg-guided-chatbot__footer {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wofvg-guided-chatbot__secondary {
    width: auto;
    min-width: 180px;
    background: transparent;
}

.wofvg-guided-chatbot__loader {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(15, 92, 77, 0.18);
    border-top-color: var(--wofvg-accent);
    animation: wofvg-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes wofvg-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 760px) {
    .wofvg-guided-chatbot__intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .wofvg-guided-chatbot {
        padding: 16px;
        border-radius: 20px;
    }

    .wofvg-guided-chatbot__panel,
    .wofvg-guided-chatbot__intro-copy,
    .wofvg-guided-chatbot__intro-card {
        padding: 18px;
        border-radius: 16px;
    }

    .wofvg-guided-chatbot__status-head {
        display: block;
    }

    .wofvg-guided-chatbot__progress-text {
        margin-top: 8px;
    }

    .wofvg-guided-chatbot__answer,
    .wofvg-guided-chatbot__checklist-item {
        grid-template-columns: 1fr;
        display: grid;
    }

    .wofvg-guided-chatbot__answer {
        justify-content: stretch;
    }

    .wofvg-guided-chatbot__answer-cta {
        justify-self: start;
    }

    .wofvg-guided-chatbot__email-row {
        display: grid;
    }

    .wofvg-guided-chatbot__checklist {
        margin-top: 24px;
    }

    .wofvg-guided-chatbot__checklist::before {
        font-size: 1rem;
        margin-bottom: 4px;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 14mm 12mm 14mm;
    }

    body * {
        visibility: hidden;
    }

    .wofvg-guided-chatbot,
    .wofvg-guided-chatbot * {
        visibility: visible;
    }

    .wofvg-guided-chatbot {
        width: 100%;
        max-width: none;
        box-shadow: none;
        border: 0;
        background: #fff;
        padding: 0;
        color: #111;
    }

    .wofvg-guided-chatbot__intro,
    .wofvg-guided-chatbot__status,
    .wofvg-guided-chatbot__email,
    .wofvg-guided-chatbot__panel--loading,
    .wofvg-guided-chatbot__panel--error {
        display: none;
    }

    .wofvg-guided-chatbot__shell,
    .wofvg-guided-chatbot__panel {
        max-width: none;
        border: 0;
        padding: 0;
        background: #fff;
        box-shadow: none;
    }

    .wofvg-guided-chatbot__footer {
        display: none;
    }

    .wofvg-guided-chatbot__question-head {
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 1px solid #c7c7c7;
    }

    .wofvg-guided-chatbot__question-head h3 {
        font-size: 20pt;
        line-height: 1.2;
        margin: 0 0 8px;
        color: #000;
    }

    .wofvg-guided-chatbot__question-description,
    .wofvg-guided-chatbot__checklist-body p,
    .wofvg-guided-chatbot__ai-content,
    .wofvg-guided-chatbot__ai-note,
    .wofvg-guided-chatbot__profile-list dd {
        color: #222;
    }

    .wofvg-guided-chatbot__question-badge,
    .wofvg-guided-chatbot__meta {
        color: #000;
        background: none;
        padding: 0;
    }

    .wofvg-guided-chatbot__profile,
    .wofvg-guided-chatbot__ai-box,
    .wofvg-guided-chatbot__checklist-section,
    .wofvg-guided-chatbot__checklist-item,
    .wofvg-guided-chatbot__profile {
        break-inside: avoid-page;
        page-break-inside: avoid;
        border-color: #bbb;
        background: #fff;
    }

    .wofvg-guided-chatbot__profile,
    .wofvg-guided-chatbot__ai-box {
        margin-top: 18px;
        padding: 14px 16px;
        border: 1px solid #cfcfcf;
        border-left-width: 3px;
    }

    .wofvg-guided-chatbot__checklist-title,
    .wofvg-guided-chatbot__profile h4 {
        color: #000;
        margin-bottom: 10px;
        font-size: 12pt;
    }

    .wofvg-guided-chatbot__checklist-section {
        margin-top: 20px;
    }

    .wofvg-guided-chatbot__checklist {
        margin-top: 0;
        gap: 10px;
    }

    .wofvg-guided-chatbot__ai-note {
        color: #444;
        font-size: 9.5pt;
        margin-top: 10px;
    }

    .wofvg-guided-chatbot__checklist-item {
        grid-template-columns: 32px 1fr;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .wofvg-guided-chatbot__checklist-index,
    .wofvg-guided-chatbot__state-icon {
        width: 28px;
        height: 28px;
        font-size: 10pt;
        background: #efefef;
        color: #000;
    }

    .wofvg-guided-chatbot__checklist-body h4 {
        margin-bottom: 6px;
        color: #000;
        font-size: 11pt;
    }

    .wofvg-guided-chatbot__link {
        color: #000;
        text-decoration: underline;
    }

    .wofvg-guided-chatbot__link-url {
        display: block;
        color: #444;
        font-size: 9pt;
        word-break: break-word;
    }
}
