.cham-proposal-form {
    /* Hardcoded for dark Elementor section backgrounds such as var(--e-global-color-17828bc). */
    --cham-bg: #ffffff;
    --cham-text: #ffffff;
    --cham-text-dark: #111111;
    --cham-muted: rgba(255, 255, 255, 0.72);
    --cham-muted-dark: #606060;
    --cham-border: rgba(255, 255, 255, 0.24);
    --cham-border-strong: #ffffff;
    --cham-soft: rgba(255, 255, 255, 0.08);
    --cham-soft-strong: #ffffff;
    --cham-focus: rgba(255, 255, 255, 0.22);
    --cham-error: #ffb4ab;
    --cham-error-bg: rgba(180, 35, 24, 0.16);
    --cham-input-border: #dddddd;
    --cham-foundation-bg: #f3edff;
    --cham-foundation-text: #5d3fd3;
    --cham-momentum-bg: #ecfdf3;
    --cham-momentum-text: #027a48;
    --cham-authority-bg: #fffaeb;
    --cham-authority-text: #b54708;
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: var(--cham-text);
    background: transparent;
    font-family: inherit;
}

.cham-proposal-form *,
.cham-proposal-form *::before,
.cham-proposal-form *::after {
    box-sizing: inherit;
}

.cham-proposal-form [hidden] {
    display: none !important;
}


.cham-proposal-form__inner {
    width: 100%;
    margin: 0;
}

.cham-progress-wrap {
    width: 100%;
    margin-bottom: 2rem;
}

.cham-progress-track {
    width: 100%;
    height: 2px;
    overflow: hidden;
    background: var(--cham-border);
    border-radius: 99px;
}

.cham-progress-fill {
    height: 2px;
    width: 14%;
    background: var(--cham-text);
    border-radius: 99px;
    transition: width 220ms ease;
}

.cham-step {
    display: none;
}

.cham-step.is-active {
    display: block;
}

.cham-step-label {
    margin-bottom: 0.55rem;
    color: var(--cham-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cham-step-title {
    margin: 0;
    color: var(--cham-text);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.cham-step-subtitle {
    margin: 0.7rem 0 1.5rem;
    color: var(--cham-muted);
    font-size: 14px;
    line-height: 1.6;
}

.cham-form-error {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    color: #ffffff;
    background: var(--cham-error-bg);
    border: 0.5px solid rgba(255, 180, 171, 0.45);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.cham-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cham-field {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.cham-field span,
.cham-choice-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--cham-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.cham-field em {
    color: var(--cham-error);
    font-style: normal;
}

.cham-field input,
.cham-field textarea,
.cham-field select {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    color: var(--cham-text-dark) !important;
    background: #ffffff !important;
    border: 0.5px solid var(--cham-input-border) !important;
    border-radius: 8px;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cham-field textarea {
    min-height: 92px;
    resize: vertical;
}

.cham-field input::placeholder,
.cham-field textarea::placeholder {
    color: #777777;
    opacity: 1;
}


.cham-field input:focus,
.cham-field textarea:focus,
.cham-field select:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px var(--cham-focus);
}

.cham-field input.is-invalid,
.cham-field textarea.is-invalid,
.cham-field select.is-invalid {
    border-color: var(--cham-error);
}

.cham-choice-group {
    margin: 1.1rem 0;
}

.cham-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cham-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 33px;
    padding: 7px 14px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.26) !important;
    border-radius: 40px;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cham-chip:hover,
.cham-chip.is-active {
    border-color: var(--cham-border-strong);
    background: var(--cham-soft);
}

.cham-chip:focus-visible,
.cham-situation-card:focus-visible,
.cham-service-card:focus-visible,
.cham-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--cham-focus);
}

.cham-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.cham-card-grid--situations {
    grid-template-columns: 1fr;
}

.cham-situation-card,
.cham-service-card {
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.26) !important;
    border-radius: 12px;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cham-situation-card:hover,
.cham-situation-card.is-active,
.cham-service-card:hover,
.cham-service-card.is-active {
    border-color: var(--cham-border-strong);
    background: var(--cham-soft);
}

.cham-situation-card {
    display: grid;
    gap: 0.55rem;
}

.cham-situation-card strong,
.cham-service-card strong {
    display: block;
    color: var(--cham-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.cham-situation-card > span:last-child,
.cham-service-card small {
    display: block;
    color: var(--cham-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.cham-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 22px;
    padding: 4px 9px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.cham-badge--foundation {
    color: var(--cham-foundation-text);
    background: var(--cham-foundation-bg);
}

.cham-badge--momentum {
    color: var(--cham-momentum-text);
    background: var(--cham-momentum-bg);
}

.cham-badge--authority {
    color: var(--cham-authority-text);
    background: var(--cham-authority-bg);
}

.cham-service-card {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.cham-checkbox-indicator {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 0.5px solid rgba(255, 255, 255, 0.42);
    border-radius: 4px;
    transition: background 160ms ease, border-color 160ms ease;
}

.cham-service-card.is-active .cham-checkbox-indicator {
    background: var(--cham-text);
    border-color: var(--cham-text);
}

.cham-service-card.is-active .cham-checkbox-indicator::after {
    content: "✓";
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.cham-hint,
.cham-privacy-note {
    margin: 0.75rem 0 0;
    color: var(--cham-muted);
    font-size: 13px;
    line-height: 1.6;
}

.cham-privacy-note a {
    color: var(--cham-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cham-review-block {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 0.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
}

.cham-review-block h3 {
    margin: 0 0 0.5rem;
    color: var(--cham-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.cham-review-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 0.72rem 0;
    border-bottom: 0.5px solid var(--cham-border);
    font-size: 13px;
    line-height: 1.45;
}

.cham-review-row:last-child {
    border-bottom: none;
}

.cham-review-row span {
    color: var(--cham-muted);
}

.cham-review-row strong {
    color: var(--cham-text);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.cham-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.cham-button {
    appearance: none;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: opacity 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cham-button--back {
    color: #ffffff !important;
    background: transparent !important;
    border: 0.5px solid rgba(255, 255, 255, 0.32) !important;
}

.cham-button--back:hover {
    border-color: var(--cham-border-strong);
}

.cham-button--next {
    margin-left: auto;
    color: #111111 !important;
    background: #ffffff !important;
    border: 0.5px solid #ffffff !important;
}

.cham-button--next:hover {
    opacity: 0.86;
}

.cham-button[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}

.cham-success {
    padding: 2rem 0;
    text-align: center;
}

.cham-success-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--cham-text);
    border: 0.5px solid var(--cham-border-strong);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.cham-success h2 {
    margin: 0;
    color: var(--cham-text);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.cham-success p {
    max-width: 520px;
    margin: 0.8rem auto 0;
    color: var(--cham-muted);
    font-size: 14px;
    line-height: 1.6;
}

.cham-success small {
    display: block;
    margin-top: 1rem;
    color: var(--cham-muted);
    font-size: 13px;
    line-height: 1.5;
}

.cham-proposal-form .cham-chip.is-active,
.cham-proposal-form .cham-chip[data-selected="true"] {
    color: #111111 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
}

.cham-proposal-form .cham-chip:hover:not(.is-active):not([data-selected="true"]) {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.48) !important;
}

.cham-proposal-form .cham-situation-card.is-active,
.cham-proposal-form .cham-situation-card[data-selected="true"],
.cham-proposal-form .cham-service-card.is-active,
.cham-proposal-form .cham-service-card[data-selected="true"] {
    color: #111111 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}

.cham-proposal-form .cham-situation-card.is-active strong,
.cham-proposal-form .cham-situation-card[data-selected="true"] strong,
.cham-proposal-form .cham-service-card.is-active strong,
.cham-proposal-form .cham-service-card[data-selected="true"] strong {
    color: #111111 !important;
}

.cham-proposal-form .cham-situation-card.is-active > span:last-child,
.cham-proposal-form .cham-situation-card[data-selected="true"] > span:last-child,
.cham-proposal-form .cham-service-card.is-active small,
.cham-proposal-form .cham-service-card[data-selected="true"] small {
    color: #555555 !important;
}

.cham-proposal-form .cham-service-card.is-active .cham-checkbox-indicator,
.cham-proposal-form .cham-service-card[data-selected="true"] .cham-checkbox-indicator {
    background: #111111 !important;
    border-color: #111111 !important;
}

@media (max-width: 480px) {
    .cham-proposal-form {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .cham-field-grid,
    .cham-card-grid,
    .cham-card-grid--services {
        grid-template-columns: 1fr;
    }

    .cham-review-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .cham-nav {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .cham-button {
        width: 100%;
    }
}

.cham-proposal-form select option { color: #111111; background: #ffffff; }
