.mtk-guided-quote {
    --gq-plum: #63426b;
    --gq-border: #bdb09e;
    --gq-field: #fffdf7;
    --gq-muted: #525d52;
}

.mtk-guided-quote [hidden] {
    display: none !important;
}

.mtk-guided-quote .mtk-gq-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.mtk-guided-quote .mtk-gq-progress-label {
    color: var(--gq-plum);
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.mtk-guided-quote .mtk-gq-bars {
    display: flex;
    gap: 5px;
}

.mtk-guided-quote .mtk-gq-bars span {
    display: block;
    width: 27px;
    height: 4px;
    border-radius: 4px;
    background: #d8cbbb;
}

.mtk-guided-quote .mtk-gq-bars .is-done {
    background: var(--gq-plum);
}

.mtk-guided-quote .mtk-gq-step {
    margin-bottom: 24px;
    min-width: 0;
}

.mtk-guided-quote .mtk-quote-form.is-guided .mtk-gq-step {
    margin-bottom: 0;
}

.mtk-guided-quote .mtk-gq-step h2 {
    margin: 0;
    color: #234333;
    font: 400 clamp(29px, 3.35vw, 45px)/1.12 var(--mtk-serif, Georgia, serif);
    letter-spacing: -.026em;
    text-align: left;
}

.mtk-guided-quote .mtk-gq-step h2:focus {
    outline: none;
}

.mtk-guided-quote .mtk-gq-hint {
    margin: 8px 0 0;
    color: var(--gq-muted);
    font-size: 14px;
}

.mtk-guided-quote .mtk-gq-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.mtk-guided-quote .mtk-gq-option {
    position: relative;
    display: flex;
    cursor: pointer;
    color: var(--mtk-ink, #213127);
}

.mtk-guided-quote .mtk-gq-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.mtk-guided-quote .mtk-gq-option span {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 56px;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    padding: 11px 14px;
    background: var(--gq-field);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.mtk-guided-quote .mtk-gq-option:hover span,
.mtk-guided-quote .mtk-gq-option input:checked + span {
    color: #513259;
    border-color: var(--gq-plum);
    background: #f7f0f7;
}

.mtk-guided-quote .mtk-gq-option input:focus-visible + span,
.mtk-guided-quote button:focus-visible,
.mtk-guided-quote .mtk-gq-optional summary:focus-visible {
    outline: 3px solid var(--gq-plum);
    outline-offset: 3px;
}

.mtk-guided-quote .mtk-gq-fields {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.mtk-guided-quote .mtk-field {
    gap: 5px;
}

.mtk-guided-quote .mtk-field input {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    background: var(--gq-field);
}

.mtk-guided-quote .mtk-gq-optional {
    border-top: 1px solid var(--mtk-line, #d9cdbb);
}

.mtk-guided-quote .mtk-gq-optional summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
    color: var(--gq-plum);
    font-size: 14px;
    font-weight: 700;
}

.mtk-guided-quote .mtk-gq-optional summary::after {
    content: '+';
    font-size: 19px;
}

.mtk-guided-quote .mtk-gq-optional[open] summary::after {
    content: '−';
}

.mtk-guided-quote .mtk-gq-optional summary::-webkit-details-marker {
    display: none;
}

.mtk-guided-quote .mtk-gq-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.mtk-guided-quote button.mtk-gq-primary {
    color: #fffdf7;
    background: #234333;
    border: 1px solid #234333;
    border-radius: 7px;
    padding: 10px 16px;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.mtk-guided-quote button.mtk-gq-primary:hover {
    background: #162b20;
}

.mtk-guided-quote .mtk-gq-back {
    color: var(--gq-plum);
    border: 0;
    background: transparent;
    min-height: 44px;
    padding: 5px 8px 5px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mtk-guided-quote .mtk-form-consent {
    margin: 15px 0 0;
}

.mtk-guided-quote .mtk-gq-complete {
    margin-top: 8px;
}

@media (max-width: 760px) {
    .mtk-guided-quote .mtk-gq-options {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
    }

    .mtk-guided-quote .mtk-gq-option span {
        min-height: 49px;
    }

    .mtk-guided-quote .mtk-gq-progress {
        margin-bottom: 14px;
    }

    .mtk-guided-quote .mtk-gq-bars span {
        width: 21px;
    }
}
