/* ==========================================================================
   Simulador Público de Orçamento — Xôo Ácaro!
   Estilos dedicados, acessíveis e responsivos para o simulador de orçamento.
   ========================================================================== */
.quote-service-edit-current{position:relative;z-index:1;margin:8px 16px;padding:9px 12px;border:1px solid var(--qs-line);border-radius:10px;background:var(--qs-surface);color:var(--qs-muted);font-size:13px;line-height:1.4}.quote-service-edit-current strong{color:var(--qs-text)}

/* Respeito estrito ao atributo hidden em HTML5 */
[hidden] {
    display: none !important;
}
/* A referência apresenta o wizard como aplicação isolada, sem a moldura pública. */
body:has(.quote-select-shell) > .skip,
body:has(.quote-select-shell) > .public-header,
body:has(.quote-select-shell) > .home-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* V-ORC-02-A: etapa select, fiel a referencia-visual/prototipo-src/src/app/orcamento/quote-wizard.tsx */
.quote-select-shell { --qs-bg:#061719;--qs-surface:#0c2528;--qs-surface2:#103034;--qs-surface3:#082e2e;--qs-text:#f3f8f7;--qs-muted:#a9bfbd;--qs-line:#244247;--qs-aqua:#75d1c4;--qs-mint:#9fd1c0;--qs-yellow:#ffd23f;--qs-green-vibrant:#20d76d;--qs-red:#e43138; max-width:620px; width:100%; margin:auto; min-height:100dvh; padding:0 0 150px; background:var(--qs-bg); color:var(--qs-text); font:16px/1.5 "Outfit", system-ui, sans-serif; box-sizing:border-box; overflow-x:clip; }
.quote-select-shell[data-quote-theme="light"] { --qs-bg:#eef1ed;--qs-surface:#fff;--qs-surface2:#f4f7f6;--qs-surface3:#d9ebe5;--qs-text:#102426;--qs-muted:#52696a;--qs-line:#bfd0cc;--qs-aqua:#087d82;--qs-mint:#327664;--qs-yellow:#b8860b;--qs-green-vibrant:#15803d;--qs-red:#dc2626; }
.quote-select-header { position:sticky;top:0;z-index:10;height:98px;display:grid;grid-template-columns:44px 1fr 44px;gap:12px;align-items:center;padding:0 16px;background:color-mix(in srgb,var(--qs-bg) 94%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--qs-line);box-sizing:border-box;max-width:100%; }
.quote-select-icon-control { width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--qs-line);border-radius:12px;background:var(--qs-surface);color:var(--qs-aqua);cursor:pointer;text-decoration:none;flex-shrink:0; }
.quote-select-icon-control svg,.quote-select-visual svg { width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.quote-select-header-center{display:grid;gap:8px;min-width:0}.quote-select-brand{font: 800 17px/1 "Outfit", system-ui, sans-serif;color:var(--qs-text);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quote-select-progress{display:flex;gap:6px}.quote-select-progress i{height:4px;flex:1;background:var(--qs-line);border-radius:9px}.quote-select-progress .is-active{background:var(--qs-mint)}
.quote-select-main{padding:24px 16px 20px;box-sizing:border-box;max-width:100%}.quote-select-main h1{margin:0 0 12px;color:var(--qs-text);font: 800 clamp(24px,7vw,42px)/1.08 "Outfit", system-ui, sans-serif;letter-spacing:-.04em;text-transform:none;word-break:break-word;overflow-wrap:anywhere}.quote-select-eyebrow{margin:0;color:var(--qs-aqua);font:500 11px monospace;letter-spacing:.1em}.quote-select-lead{margin:-8px 0 16px;color:var(--qs-muted);word-break:break-word;overflow-wrap:anywhere}.quote-lead-highlight{color:var(--qs-yellow);font-weight:700}.quote-select-sublead{margin:-6px 0 6px;color:var(--qs-text);font-weight:600;line-height:1.35;word-break:break-word;overflow-wrap:anywhere}.quote-select-sublead+.quote-select-lead{margin-top:0}.quote-simulator-section.quote-select-shell .quote-select-main h1.quote-select-kicker{margin:0 0 8px;color:var(--qs-aqua);font:500 11px monospace;letter-spacing:.1em;text-transform:uppercase;line-height:1.4}.quote-select-headline{margin:0 0 12px;color:var(--qs-text);font: 800 clamp(24px,7vw,42px)/1.08 "Outfit", system-ui, sans-serif;letter-spacing:-.04em;word-break:break-word;overflow-wrap:anywhere}.quote-select-minimum{margin:14px 0 0;color:var(--qs-muted);font-size:14px;line-height:1.4;text-align:center;word-break:break-word;overflow-wrap:anywhere}.quote-select-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.quote-select-card{position:relative;min-height:128px;padding:20px 16px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--qs-line);border-radius:18px;background:var(--qs-surface);color:var(--qs-text);text-align:left;cursor:pointer;transition:border-color .18s,background-color .18s,box-shadow .18s;box-sizing:border-box;max-width:100%}.quote-select-card:hover,.quote-select-card:focus-visible{border-color:var(--qs-aqua)}.quote-select-card.is-added{border-color:var(--qs-green-vibrant);background:color-mix(in srgb,var(--qs-green-vibrant) 10%,var(--qs-surface));box-shadow:0 0 14px color-mix(in srgb,var(--qs-green-vibrant) 28%,transparent)}.quote-select-card.is-added:hover,.quote-select-card.is-added:focus-visible{border-color:var(--qs-green-vibrant)}.quote-select-card.is-added .quote-select-visual{color:var(--qs-green-vibrant);background:color-mix(in srgb,var(--qs-green-vibrant) 12%,var(--qs-bg))}.quote-select-card.is-added small{color:var(--qs-green-vibrant)}.quote-select-visual{width:40px;height:40px;margin-bottom:15px;display:grid;place-items:center;border-radius:12px;background:var(--qs-bg);color:var(--qs-aqua);transition:color .18s,background-color .18s;flex-shrink:0}.quote-select-card strong{font-size:16px;word-break:break-word;overflow-wrap:anywhere}.quote-select-card small{color:var(--qs-aqua);font-size:12px;transition:color .18s}.quote-select-badge{position:absolute;top:10px;right:10px;padding:2px 8px;border-radius:99px;background:var(--qs-green-vibrant);color:#061719;font-size:11px;font-weight:800;box-shadow:0 0 10px color-mix(in srgb,var(--qs-green-vibrant) 40%,transparent)}
.quote-select-selected-head{display:flex;justify-content:space-between;margin:26px 0 10px;padding-bottom:7px;border-bottom:1px solid var(--qs-line)}.quote-select-selected-head span{color:var(--qs-aqua);font-size:12px}.quote-select-selected-list{display:grid;gap:9px}.quote-select-selected-item{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--qs-line);border-radius:16px;background:var(--qs-surface);box-sizing:border-box;max-width:100%}.quote-select-selected-item small{display:block;color:var(--qs-muted);word-break:break-word;overflow-wrap:anywhere}.quote-select-selected-item button{width:40px;height:40px;border:0;border-radius:50%;background:var(--qs-bg);color:var(--qs-text);font-size:21px;cursor:pointer;flex-shrink:0}
.quote-select-trust{display:grid;grid-template-columns:55px 1fr;gap:14px;align-items:center;margin:26px 0;padding:16px;border-radius:17px;background:var(--qs-surface3);box-sizing:border-box;max-width:100%}.quote-select-trust img{width:55px;height:auto}.quote-select-trust strong{display:block;color:var(--qs-green-vibrant)}.quote-select-trust p{margin:2px 0 0;color:var(--qs-muted);font-size:12px;word-break:break-word;overflow-wrap:anywhere}.quote-select-trust-link{display:inline-block;margin-top:6px;color:var(--qs-aqua);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:2px}.quote-faq{margin:0 0 26px}.quote-faq .quote-faq-title{margin:0 0 10px;color:var(--qs-aqua);font:500 11px monospace;letter-spacing:.1em;text-transform:uppercase}.quote-faq details{margin:0 0 8px;border-radius:14px;background:var(--qs-surface3);overflow:hidden}.quote-faq summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 14px 12px 16px;color:var(--qs-text);font:600 15px/1.35 "Outfit", system-ui, sans-serif;letter-spacing:normal;text-transform:none;cursor:pointer;list-style:none}.quote-faq summary::-webkit-details-marker{display:none}.quote-faq summary::after{content:"";flex-shrink:0;width:7px;height:7px;margin:0 6px 4px 0;border-right:2px solid var(--qs-aqua);border-bottom:2px solid var(--qs-aqua);transform:rotate(45deg);transition:transform .2s ease}.quote-faq details[open] summary::after{margin-bottom:-4px;transform:rotate(225deg)}.quote-faq details[open] summary{color:var(--qs-aqua)}.quote-faq details p{margin:0;padding:0 16px 14px;color:var(--qs-muted);font-size:14px;line-height:1.5;word-break:break-word;overflow-wrap:anywhere}@media (prefers-reduced-motion:reduce){.quote-faq summary::after{transition:none}}.quote-select-bottom{position:fixed;z-index:20;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,620px);max-width:100vw;padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box;background:color-mix(in srgb,var(--qs-surface) 65%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--qs-line);box-shadow:0 -14px 40px rgb(0 0 0 / 18%)}.quote-select-bottom>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;box-sizing:border-box;max-width:100%;min-width:0}.quote-select-bottom strong{color:var(--qs-mint);font: 800 clamp(17px,4.8vw,21px)/1 "Outfit", system-ui, sans-serif;flex-shrink:0;white-space:nowrap}.quote-select-bottom strong small{color:var(--qs-yellow);font-size:0.8em;margin-right:2px}.quote-select-bottom>div>span{color:var(--qs-text);font-size:14px;font-weight:700;white-space:nowrap;min-width:0}.quote-select-bottom>div>span small{color:var(--qs-muted);font-size:11px;font-weight:600;margin-left:2px}.quote-select-bottom button{width:100%;min-height:46px;border:0;border-radius:23px;background:var(--qs-mint);color:var(--qs-bg);font-size:15px;font-weight:800;cursor:pointer;box-sizing:border-box;max-width:100%}.quote-select-defs{position:absolute;width:0;height:0}.quote-select-shell.quote-select-enhanced .quote-select-canonical{display:none}.quote-select-shell.quote-select-enhanced .simulator-error-summary,.quote-select-shell.quote-select-enhanced .simulator-result-wrapper{display:none}@media(min-width:760px){.quote-select-shell{margin:24px auto;border:1px solid var(--qs-line);border-radius:34px;overflow:hidden}.quote-select-main{padding:30px 20px 20px}.quote-select-bottom{bottom:24px;border-radius:0 0 34px 34px;padding:12px 20px calc(12px + env(safe-area-inset-bottom))}}
/* V-ORC-02-B: etapa detail — configuracao dos itens */
.quote-select-item-title{display:flex;align-items:center;gap:14px;margin-bottom:24px}.quote-select-item-title h1{margin:3px 0 0;color:var(--qs-text);font: 800 clamp(24px,6vw,32px)/1.1 "Outfit", system-ui, sans-serif;letter-spacing:-.035em;text-transform:none}.quote-select-item-title .quote-select-visual{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--qs-surface3);color:var(--qs-aqua);flex-shrink:0}.quote-select-item-title .quote-select-visual svg{width:29px;height:29px}.quote-select-panel{margin-bottom:13px;padding:18px 16px;border:1px solid var(--qs-line);border-radius:18px;background:var(--qs-surface)}.quote-select-panel h3{margin:0 0 14px;font-size:15px;font-weight:700;color:var(--qs-text);text-transform:none}.quote-select-chips{display:flex;flex-wrap:wrap;gap:9px}.quote-select-chip{min-height:44px;padding:0 15px;border:1px solid var(--qs-line);border-radius:999px;background:transparent;color:var(--qs-text);font-weight:700;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .18s,color .18s,background-color .18s}.quote-select-chip:hover,.quote-select-chip:focus-visible{border-color:var(--qs-aqua);outline:none}.quote-select-chip.is-selected{border-color:var(--qs-green-vibrant);background:color-mix(in srgb,var(--qs-green-vibrant) 15%,transparent);color:var(--qs-green-vibrant);box-shadow:0 0 12px color-mix(in srgb,var(--qs-green-vibrant) 35%,transparent)}.quote-select-helper{margin:12px 0 0;color:var(--qs-aqua);font-size:12px}.quote-select-stepper-row{display:flex;align-items:center;gap:18px}.quote-select-stepper-row small{color:var(--qs-aqua);font-size:13px}.quote-select-stepper{display:inline-grid;grid-template-columns:44px 54px 44px;align-items:center;background:var(--qs-bg);border-radius:13px;border:1px solid var(--qs-line)}.quote-select-stepper button{height:44px;border:0;background:transparent;color:var(--qs-aqua);font-size:22px;cursor:pointer;display:grid;place-items:center;font-weight:700}.quote-select-stepper button:disabled{opacity:.3;cursor:not-allowed}.quote-select-stepper output{text-align:center;font-weight:800;color:var(--qs-text);font-size:16px}.quote-select-measure-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quote-select-field label{display:block;margin-bottom:6px;color:var(--qs-aqua);font-size:12px;font-weight:700}.quote-select-field-error{margin:12px 0 0;padding:12px 16px;border-radius:12px;background:color-mix(in srgb,var(--qs-red) 15%,transparent);border:1px solid var(--qs-red);color:#ff8585;font-size:13px;font-weight:600}
.quote-chair-parts-list{display:flex;flex-direction:column;gap:12px}
.quote-chair-part-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px 0}
.quote-chair-part-stepper-wrap{display:flex;align-items:center;gap:12px;transition:opacity .18s}
.quote-chair-part-stepper-wrap.is-disabled{opacity:.35;pointer-events:none}
.quote-chair-part-qty-label{font-size:13px;font-weight:700;color:var(--qs-aqua)}
.quote-select-badge.quote-select-card-stepper{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;background:var(--qs-bg);border:1.5px solid var(--qs-green-vibrant);border-radius:999px;box-shadow:0 0 12px color-mix(in srgb,var(--qs-green-vibrant) 35%,transparent);user-select:none;-webkit-user-select:none;z-index:2;overflow:hidden;padding:0}
.quote-select-badge.quote-select-card-stepper[hidden]{display:none!important}
.quote-card-stepper-btn{width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--qs-green-vibrant);font-size:18px;font-weight:900;line-height:1;cursor:pointer;background:transparent;transition:background-color .15s,color .15s,transform .1s;touch-action:manipulation}
.quote-card-stepper-btn:hover{background:color-mix(in srgb,var(--qs-green-vibrant) 20%,transparent)}
.quote-card-stepper-btn:active{background:color-mix(in srgb,var(--qs-green-vibrant) 35%,transparent);transform:scale(.9)}
.quote-card-stepper-val{min-width:18px;padding:0 2px;text-align:center;font-size:13px;font-weight:800;color:var(--qs-text);pointer-events:none}

.quote-simulator-section {
    padding: 120px 16px 80px 16px;
    background: linear-gradient(180deg, #043f43 0%, #061719 100%);
    min-height: 100vh;
    color: #f3f8f7;
    box-sizing: border-box;
}

.quote-simulator-container {
    max-width: 860px;
    margin: 0 auto;
}

/* Utilitário de Acessibilidade: Leitor de Tela */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Ícones utilitários */
.icon-alert,
.icon-info {
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    vertical-align: middle;
}

/* Escopo de Tipografia para o Simulador */
.quote-simulator-section h1,
.quote-simulator-section h2,
.quote-simulator-section h3,
.quote-simulator-section h4 {
    letter-spacing: normal;
    text-transform: uppercase;
}

/* Cabeçalho do Simulador */
.simulator-header {
    text-align: center;
    margin: 0 auto 36px auto;
    max-width: 720px;
}

.simulator-header .kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffd23f;
    margin: 0 0 10px 0;
}

.simulator-header h1 {
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 14px 0;
}

.simulator-header .lead {
    font-size: 1rem;
    color: #a9bfbd;
    margin: 0 auto;
    line-height: 1.5;
}

/* Resumo de Erros Acessível */
.simulator-error-summary {
    background: #fff0f0;
    border: 2px solid #dc3038;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 30px;
    color: #7a1015;
}

.simulator-error-summary h2 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc3038;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.simulator-error-summary ul {
    margin: 0;
    padding-left: 20px;
}

.simulator-error-summary li {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.simulator-error-summary a {
    color: #dc3038;
    text-decoration: underline;
    font-weight: 600;
}

.simulator-error-summary a:hover,
.simulator-error-summary a:focus {
    color: #a01015;
    text-decoration: none;
}

/* Card do Formulário */
.simulator-form-wrapper {
    background: #0c2528;
    border: 1px solid #244247;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 40px;
}

.simulator-item-card {
    background: #103034;
    border: 1px solid #244247;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 24px;
    position: relative;
}

.simulator-item-card .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 20px 0;
    padding: 0 0 14px 0;
    border-bottom: 1px solid #244247;
}

.simulator-item-card .item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    line-height: 1.2;
}

.simulator-item-card .item-badge {
    background: #ffd23f;
    color: #061719;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-remove-item {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.4);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-remove-item:hover,
.btn-remove-item:focus {
    background: rgba(220, 48, 56, 0.15);
    border-color: #dc3038;
    color: #ffffff;
}

/* Grupos de Campos e Fieldsets */
.form-fieldset {
    border: 1px solid #244247;
    border-radius: 8px;
    padding: 16px 18px 18px 18px;
    margin: 20px 0;
    background: rgba(6, 23, 25, 0.4);
    clear: both;
}

.form-legend {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffd23f;
    padding: 0 8px;
    margin: 0 0 12px 0;
    float: none;
}

.type-fields-group {
    border: none;
    padding: 0;
    margin: 0;
}

.condition-fieldset {
    margin-top: 14px;
}

.new-item-confirmations {
    margin-top: 12px;
    padding: 10px 14px;
    border-left: 3px solid #ffd23f;
    border-top: none;
    border-right: none;
    border-bottom: none;
    background: rgba(255, 210, 63, 0.05);
}

.new-item-confirmations-legend {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd23f;
    margin-bottom: 8px;
    float: none;
}

.btn-change-type {
    margin-top: 6px;
    font-size: 0.8rem;
    padding: 4px 8px;
    cursor: pointer;
    background: #061719;
    color: #ffd23f;
    border: 1px solid #244247;
    border-radius: 4px;
}

.btn-change-type:hover,
.btn-change-type:focus {
    background: #103034;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e3eeea;
    margin-bottom: 6px;
}

.form-label .required {
    color: #ff6b6b;
    margin-left: 2px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: #ffffff;
    background: #061719;
    border: 1px solid #244247;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #ffd23f;
    box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.2);
}

.form-input.field-invalid,
.form-select.field-invalid {
    border-color: #dc3038;
    background: #1a0f11;
}

.form-hint {
    display: block;
    font-size: 0.82rem;
    color: #8bb8a9;
    margin-top: 4px;
    line-height: 1.4;
}

.field-error-msg {
    display: block;
    font-size: 0.82rem;
    color: #ff6b6b;
    font-weight: 600;
    margin-top: 4px;
}

.quote-required-message {
    margin: 8px 0 0;
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Radios e Checkboxes Customizados */
.form-checkbox-label,
.form-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #f3f8f7;
    cursor: pointer;
    margin-bottom: 8px;
    line-height: 1.4;
}

.form-checkbox-label:last-child,
.form-radio-label:last-child {
    margin-bottom: 0;
}

.form-checkbox-input,
.form-radio-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #ffd23f;
    cursor: pointer;
    flex-shrink: 0;
}

.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Botão de Adicionar Item */
.simulator-item-actions {
    margin: 18px 0;
}

.btn-add-item {
    background: transparent;
    color: #ffd23f;
    border: 1px dashed #ffd23f;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, color 0.2s;
}

.btn-add-item:hover,
.btn-add-item:focus {
    background: rgba(255, 210, 63, 0.1);
    color: #ffffff;
}

/* Botões de Ação do Simulador */
.simulator-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.btn-calculate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: #ffd23f;
    color: #061719;
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 210, 63, 0.35);
    transition: transform 0.15s, background-color 0.2s, box-shadow 0.2s;
}

.btn-calculate:hover,
.btn-calculate:focus {
    background: #ffe066;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 210, 63, 0.45);
}

.btn-calculate:active {
    transform: translateY(0);
}

.btn-calculate svg {
    width: 22px;
    height: 22px;
}

.simulator-meta-note {
    text-align: center;
    font-size: 0.85rem;
    color: #8bb8a9;
    margin-top: 10px;
}

/* ==========================================================================
   Card de Resultado da Simulação
   ========================================================================== */

.simulator-result-wrapper {
    background: #0c2528;
    border: 2px solid #20d76d;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 10px 35px rgba(32, 215, 109, 0.15);
    margin-bottom: 40px;
}

.result-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #244247;
}

.result-header h2 {
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.result-catalog-version {
    font-size: 0.82rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    color: #8bb8a9;
}

/* Grid de Preços em Destaque */
.result-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.pricing-box {
    background: #103034;
    border: 1px solid #244247;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-box.featured {
    background: #082e2e;
    border: 2px solid #ffd23f;
    position: relative;
}

.pricing-box-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd23f;
    color: #061719;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-title {
    font-size: 1rem;
    font-weight: 700;
    color: #a9bfbd;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.pricing-value {
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #ffffff;
    line-height: 1;
    margin: 0 0 8px 0;
}

.pricing-box.featured .pricing-value {
    color: #ffd23f;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: #8bb8a9;
    margin: 0;
}

/* Subtotais e Duração */
.result-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(6, 23, 25, 0.6);
    border-radius: 8px;
    border: 1px solid #244247;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.82rem;
    color: #8bb8a9;
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

/* Quadro de Aviso de Simulação (Transparência Obrigatória) */
.result-disclaimer-box {
    background: rgba(255, 210, 63, 0.08);
    border: 1px solid rgba(255, 210, 63, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.result-disclaimer-box h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffd23f;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.result-disclaimer-box ul {
    margin: 0;
    padding-left: 18px;
}

.result-disclaimer-box li {
    font-size: 0.85rem;
    color: #a9bfbd;
    margin-bottom: 4px;
    line-height: 1.4;
}

.result-disclaimer-box li:last-child {
    margin-bottom: 0;
}

/* Ações Pós-Resultado */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-recalculate {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    background: transparent;
    color: #8bb8a9;
    border: 1px solid #244247;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}

.btn-recalculate:hover,
.btn-recalculate:focus {
    color: #ffffff;
    border-color: #ffd23f;
}

/* Responsividade Mobile */
@media (max-width: 640px) {
    .quote-simulator-section {
        padding: 110px 12px 60px 12px;
    }

    .simulator-form-wrapper,
    .simulator-result-wrapper {
        padding: 20px 14px;
    }

    .simulator-item-card {
        padding: 16px 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-value {
        font-size: 1.75rem;
    }
}

/* V-ORC-02-A — o wizard é um painel estreito independente no desktop. Estas
   regras vêm após o legado do simulador para impedir que ele alargue o shell. */
body:has(.quote-select-shell) {
    background: #eef1ed;
}

.quote-simulator-section.quote-select-shell {
    width: min(100%, 620px);
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 0 150px;
    background: var(--qs-bg);
    box-sizing: border-box;
}

.quote-simulator-section.quote-select-shell .quote-select-main h1 {
    text-transform: none;
}

@media (min-width: 760px) {
    .quote-simulator-section.quote-select-shell {
        min-height: calc(100dvh - 48px);
        margin: 24px auto;
        border: 1px solid var(--qs-line);
        border-radius: 34px;
        overflow: hidden;
    }
}

/* Stage 3 (Summary & Scheduling) Styles */
.quote-select-edit-items-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    background: var(--qs-surface);
    color: var(--qs-aqua);
    cursor: pointer;
    touch-action: manipulation;
    text-decoration: none;
    transition: all 0.2s ease;
}
.quote-select-edit-items-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.quote-select-edit-items-btn:hover {
    background: var(--qs-aqua);
    color: var(--qs-bg);
    border-color: var(--qs-aqua);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--qs-aqua) 25%, transparent);
    transform: translateY(-1px);
}
.quote-select-edit-items-btn:focus-visible {
    outline: 2px solid var(--qs-aqua);
    outline-offset: 2px;
}
.quote-select-edit-items-btn:active {
    transform: translateY(0);
    box-shadow: none;
}
.quote-summary-price {
    padding: 22px;
    border: 1px solid var(--qs-line);
    border-radius: 20px;
    background: var(--qs-surface);
    margin-bottom: 20px;
}
.quote-summary-price p.quote-summary-sub {
    color: var(--qs-yellow);
    font-weight: 700;
    margin: 4px 0 16px;
    font-size: 14px;
}
.quote-pix-big {
    font: 800 clamp(32px, 8vw, 42px) "Outfit", system-ui, sans-serif;
    letter-spacing: -0.03em;
    color: var(--qs-text);
    line-height: 1.1;
}
.quote-pix-big small {
    font: 400 28px "Outfit", system-ui, sans-serif;
    color: var(--qs-yellow);
    vertical-align: middle;
    display: inline-block;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--qs-yellow) 55%, transparent));
}
.quote-summary-line {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--qs-line);
    font-size: 14px;
}
.quote-summary-line span {
    color: var(--qs-muted);
}
.quote-summary-line strong {
    color: var(--qs-text);
}
.quote-schedule-integrated {
    margin-bottom: 22px;
}
.quote-schedule-lead {
    margin: 4px 0 14px 0;
    font-size: 13px;
    color: var(--qs-muted);
    font-weight: 500;
}
.quote-dates + .quote-schedule-lead {
    margin: 10px 0 0 0;
}
.quote-schedule-timing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 16px 0;
    padding: 12px 14px;
    background: var(--qs-surface);
    border: 1px solid var(--qs-line);
    border-radius: 16px;
    box-sizing: border-box;
}
.quote-timing-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quote-timing-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.quote-timing-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    flex: 1;
    min-width: 0;
}
.quote-timing-label {
    color: var(--qs-muted);
    font-size: 13px;
    font-weight: 500;
}
.quote-timing-val {
    color: var(--qs-text);
    font-size: 13px;
    font-weight: 700;
    word-break: break-word;
}
[data-quote-schedule-heading] {
    scroll-margin-top: 108px;
}
.quote-dates {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    margin-top: 10px;
}
.quote-dates::-webkit-scrollbar {
    display: none;
}
.quote-date-card {
    flex: 0 0 78px;
    min-height: 94px;
    border: 1px solid var(--qs-line);
    border-radius: 17px;
    background: var(--qs-surface);
    color: var(--qs-text);
    display: grid;
    place-items: center;
    padding: 10px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.18s ease;
}
.quote-date-card span,
.quote-date-card small {
    display: block;
    text-transform: uppercase;
}
.quote-date-card span {
    font: 700 11px monospace;
    color: var(--qs-aqua);
}
.quote-date-card strong {
    font: 800 25px "Outfit", system-ui, sans-serif;
}
.quote-date-card small {
    font-size: 10px;
    color: var(--qs-muted);
}
.quote-date-card.is-selected {
    background: var(--qs-green-vibrant);
    color: #061719;
    box-shadow: 0 0 14px color-mix(in srgb, var(--qs-green-vibrant) 35%, transparent);
}
.quote-date-card.is-selected span,
.quote-date-card.is-selected strong,
.quote-date-card.is-selected small {
    color: #061719;
}
.quote-time-group {
    margin-top: 20px;
}
.quote-select-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.quote-select-chip {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--qs-line);
    border-radius: 999px;
    background: transparent;
    color: var(--qs-text);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.quote-select-chip:hover {
    border-color: var(--qs-mint);
}
.quote-select-chip.is-selected {
    border-color: var(--qs-green-vibrant);
    background: color-mix(in srgb, var(--qs-mint) 15%, transparent);
    color: var(--qs-green-vibrant);
}
/* Horários alternativos (REGRAS §9): combobox abaixo dos botões, no formato de pílula. */
.quote-alt-time {
    margin-top: 10px;
}
.quote-alt-time-select {
    --qs-alt-arrow: var(--qs-aqua);
    min-height: 44px;
    min-width: 168px;
    max-width: 100%;
    padding: 0 42px 0 15px;
    border: 1px solid var(--qs-line);
    border-radius: 999px;
    background-color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, var(--qs-alt-arrow) 50%), linear-gradient(135deg, var(--qs-alt-arrow) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    color: var(--qs-text);
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.18s ease;
}
.quote-alt-time-select:hover {
    border-color: var(--qs-mint);
}
.quote-alt-time-select:focus-visible {
    border-color: var(--qs-aqua);
    outline: none;
}
.quote-alt-time-select.is-selected {
    --qs-alt-arrow: var(--qs-green-vibrant);
    border-color: var(--qs-green-vibrant);
    background-color: color-mix(in srgb, var(--qs-mint) 15%, transparent);
    color: var(--qs-green-vibrant);
}
.quote-alt-time-select option {
    background: var(--qs-surface);
    color: var(--qs-text);
}
.quote-notices-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}
.quote-notice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--qs-surface3);
    border: 1px solid var(--qs-line);
    border-radius: 16px;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.45;
}
.quote-notice-fast {
    border-color: color-mix(in srgb, var(--qs-aqua) 40%, transparent);
    background: color-mix(in srgb, var(--qs-aqua) 8%, transparent);
}
.quote-notice-fast-text {
    color: var(--qs-aqua);
    font-size: 15px;
    font-weight: 600;
}
.quote-notice-info {
    border-color: color-mix(in srgb, var(--qs-aqua) 40%, transparent);
    background: color-mix(in srgb, var(--qs-aqua) 8%, transparent);
    color: var(--qs-aqua);
}
.quote-notice-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.quote-availability-status {
    font-size: 13px;
    color: var(--qs-muted);
    margin: 8px 0;
    font-style: italic;
}
.quote-text-reviews {
    margin: 24px 0 18px;
    padding: 20px;
    border: 1px solid var(--qs-line);
    border-radius: 20px;
    background: var(--qs-surface);
    box-sizing: border-box;
}
.quote-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.quote-review-eyebrow {
    font: 500 12px monospace;
    color: var(--qs-aqua);
    letter-spacing: 0.05em;
}
.quote-review-stars {
    color: var(--qs-yellow);
    font-size: 14px;
    letter-spacing: 2px;
}
.quote-review-quote {
    font-size: 14px;
    line-height: 1.5;
    color: var(--qs-text);
    font-style: italic;
    margin: 4px 0 14px;
    border-left: 4px solid var(--qs-red);
    padding-left: 14px;
}
.quote-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.quote-review-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--qs-text);
}
.quote-review-author small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: var(--qs-muted);
}
.quote-review-link {
    color: var(--qs-aqua);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.15s ease;
}
.quote-review-link:hover {
    color: var(--qs-mint);
}
.quote-result-proof {
    margin: 20px 0;
}
.quote-proof-pics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}
.quote-proof-pics div {
    position: relative;
}
.quote-proof-pics img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
}
.quote-proof-pics b {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 10px;
    background: var(--qs-bg);
    color: var(--qs-text);
    font-size: 9px;
}
.quote-proof-pics div:last-child b {
    background: var(--qs-mint);
    color: #ffffff;
}
.quote-summary-items {
    margin: 20px 0;
    padding: 17px;
    border: 1px solid var(--qs-line);
    border-radius: 20px;
    background: var(--qs-surface);
}
.quote-summary-group-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--qs-mint);
    margin-top: 10px;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.quote-summary-group-title.is-secondary {
    margin-top: 16px;
}
.quote-summary-item {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 9px;
    padding: 8px 0;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--qs-line) 40%, transparent);
}
.quote-summary-item:last-child {
    border-bottom: 0;
}
.quote-summary-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--qs-aqua);
    stroke-width: 1.8;
}
.quote-summary-item span strong {
    color: var(--qs-text);
    display: block;
}
.quote-summary-item span small {
    color: var(--qs-aqua);
    font-size: 12px;
}
.quote-summary-item b {
    color: var(--qs-text);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
.quote-summary-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--qs-line);
}
.quote-summary-total-line span {
    color: var(--qs-aqua);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
}
.quote-summary-total-line strong {
    color: var(--qs-text);
    font-size: 16px;
    font-weight: 700;
}
.quote-summary-breakdown {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--qs-line);
}
.quote-summary-breakdown-lines,
.quote-summary-breakdown-groups,
.quote-summary-breakdown-totals {
    display: grid;
    gap: 10px;
}
.quote-summary-breakdown-line,
.quote-summary-breakdown-group,
.quote-summary-breakdown-totals {
    padding: 13px;
    border: 1px solid color-mix(in srgb, var(--qs-line) 80%, transparent);
    border-radius: 14px;
    background: var(--qs-surface2);
}
.quote-summary-breakdown-line h4,
.quote-summary-breakdown-group > strong,
.quote-summary-breakdown-totals > strong {
    display: block;
    margin: 0;
    color: var(--qs-text);
    font-size: 14px;
}
.quote-summary-breakdown-description {
    margin: 4px 0 10px;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.45;
}
.quote-summary-service {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--qs-line);
}
.quote-summary-service-title {
    color: var(--qs-aqua);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.quote-summary-breakdown-value {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--qs-muted);
    font-size: 12px;
    line-height: 1.4;
}
.quote-summary-breakdown-value strong {
    color: var(--qs-text);
    font-variant-numeric: tabular-nums;
}
.quote-summary-breakdown-groups {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.quote-summary-breakdown-totals {
    background: color-mix(in srgb, var(--qs-mint) 7%, var(--qs-surface2));
}
.result-breakdown {
    display: grid;
    gap: 14px;
    margin: 20px 0;
    padding: 18px;
    border: 1px solid var(--qs-line);
    border-radius: 20px;
    background: var(--qs-surface);
}
.result-breakdown > h3 {
    margin: 0;
    color: var(--qs-aqua);
    font-size: 16px;
}
.result-breakdown-line,
.result-breakdown-group,
.result-breakdown-totals {
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--qs-line) 80%, transparent);
    border-radius: 14px;
    background: var(--qs-surface2);
}
.result-breakdown-line h4,
.result-breakdown-group h4,
.result-breakdown-totals h4 {
    margin: 0;
    color: var(--qs-text);
    font-size: 14px;
}
.result-breakdown-description {
    margin: 5px 0 12px;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.45;
}
.result-breakdown-service {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--qs-line);
}
.result-breakdown-service h5 {
    margin: 0 0 6px;
    color: var(--qs-aqua);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.result-breakdown-values {
    display: grid;
    gap: 5px;
    margin: 0;
}
.result-breakdown-values > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--qs-muted);
    font-size: 12px;
}
.result-breakdown-values dt,
.result-breakdown-values dd {
    margin: 0;
}
.result-breakdown-values dd {
    color: var(--qs-text);
    font-variant-numeric: tabular-nums;
}
.result-breakdown-groups {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.result-breakdown-totals {
    background: color-mix(in srgb, var(--qs-mint) 7%, var(--qs-surface2));
}
.quote-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--qs-green-vibrant) 14%, transparent);
    color: var(--qs-green-vibrant);
    border: 1px solid color-mix(in srgb, var(--qs-green-vibrant) 35%, transparent);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    margin-top: 12px;
}
.quote-summary-address {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid var(--qs-line);
    border-radius: 20px;
    background: var(--qs-surface);
}
.quote-address-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.quote-address-head p {
    margin: 0;
}
.quote-edit-address-btn {
    border: 0;
    background: transparent;
    color: var(--qs-aqua);
    font: 700 12px monospace;
    cursor: pointer;
}
.quote-edit-address-btn:hover {
    color: var(--qs-mint);
}
.quote-address-card {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--qs-surface2);
    border: 1px solid var(--qs-line);
}
.quote-address-card p {
    margin: 0;
    font-size: 14px;
    color: var(--qs-text);
    font-weight: 500;
}
.quote-address-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quote-address-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    background: var(--qs-bg);
    color: var(--qs-text);
    font-size: 14px;
    box-sizing: border-box;
}
.quote-address-input:focus {
    outline: none;
    border-color: var(--qs-aqua);
}
.quote-save-address-btn {
    align-self: flex-start;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--qs-mint);
    color: var(--qs-bg);
    font-weight: 700;
    cursor: pointer;
}
.quote-whatsapp-card {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid color-mix(in srgb, #25d366 35%, var(--qs-line));
    border-radius: 20px;
    background: color-mix(in srgb, #25d366 6%, var(--qs-surface));
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}
.quote-whatsapp-title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--qs-text);
    margin: 0;
}
.quote-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #25d366;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.18s ease;
    text-decoration: none;
}
.quote-whatsapp-btn:hover {
    opacity: 0.92;
}
.quote-whatsapp-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.quote-whatsapp-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.quote-whatsapp-input-wrap label {
    font-size: 12px;
    font-weight: 700;
    color: var(--qs-aqua);
}
.quote-whatsapp-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    background: var(--qs-bg);
    color: var(--qs-text);
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}
.quote-whatsapp-input-wrap input:focus {
    outline: none;
    border-color: #25d366;
}
.quote-whatsapp-send-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.quote-whatsapp-send-row button {
    min-width: 84px;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #25d366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.quote-whatsapp-send-row button:hover,
.quote-whatsapp-send-row button:focus-visible {
    background: #20bd5a;
    outline: none;
}
.quote-whatsapp-input-error {
    margin: 0;
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 700;
}
.quote-whatsapp-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}
.quote-whatsapp-copy-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--qs-aqua);
}
.quote-whatsapp-copy-btn {
    min-width: 84px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    background: var(--qs-surface2);
    color: var(--qs-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.quote-whatsapp-copy-btn:hover,
.quote-whatsapp-copy-btn:focus-visible {
    background: var(--qs-surface3);
    border-color: var(--qs-aqua);
    outline: none;
}
.quote-whatsapp-copy-feedback {
    margin: 0;
    color: #25d366;
    font-size: 0.78rem;
    font-weight: 700;
}
@media (max-width: 420px) {
    .quote-whatsapp-send-row {
        grid-template-columns: 1fr;
    }
    .quote-whatsapp-copy-row {
        flex-direction: column;
        align-items: stretch;
    }
}
/* Data escolhida: fica no lugar do valor no cartão, à esquerda do Pix. */
.quote-bottom-schedule-inline {
    display: flex;
    min-width: 0;
}
.quote-bottom-schedule-inline span {
    color: var(--qs-aqua);
    font: 700 10px / 1.25 monospace;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--qs-aqua) 12%, transparent);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--qs-aqua) 25%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.quote-select-bottom button:disabled {
    background: var(--qs-line);
    color: var(--qs-muted);
    cursor: not-allowed;
}

.quote-toast {
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: 155px;
    transform: translate(-50%, 15px);
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--qs-yellow);
    color: #171805;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.quote-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Stage 4 (Contract) Styles */
[data-quote-stage-contract] {
    padding-bottom: 140px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}
.quote-contract-stack {
    position: relative;
    display: grid;
    gap: 20px;
    padding-left: 0;
    margin-bottom: 24px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}
.quote-contracts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    min-width: 0;
}
.quote-contract-visit-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--qs-aqua) 15%, transparent);
    color: var(--qs-aqua);
    font: 700 10px / 1.2 monospace;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.quote-contract-flexible-note {
    display: inline-block;
    margin-top: 2px;
    color: var(--qs-green-vibrant, #9fd1c0);
    font-size: 13px;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-error {
    display: grid;
    gap: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--qs-red) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--qs-red) 45%, transparent);
    color: var(--qs-text);
    box-sizing: border-box;
    max-width: 100%;
}
.quote-contract-error strong {
    color: var(--qs-red);
    font-size: 15px;
}
.quote-contract-error span {
    font-size: 13px;
    color: var(--qs-muted);
}
.quote-contract-error button {
    justify-self: start;
    margin-top: 4px;
    padding: 8px 16px;
    border: 1px solid var(--qs-red);
    border-radius: 999px;
    background: transparent;
    color: var(--qs-red);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.quote-contract-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--qs-line);
    border-radius: 18px;
    background: var(--qs-surface);
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    min-width: 0;
}
.quote-contract-card-head {
    position: relative;
    inset: auto;
    z-index: 1;
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--qs-line);
    background: linear-gradient(135deg, color-mix(in srgb, var(--qs-surface3) 75%, var(--qs-surface)), var(--qs-surface));
    color: var(--qs-text);
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-index {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--qs-yellow) 65%, var(--qs-line));
    border-radius: 10px;
    background: color-mix(in srgb, var(--qs-yellow) 11%, transparent);
    color: var(--qs-yellow);
    font-size: 18px;
    flex-shrink: 0;
}
.quote-contract-card-head-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    max-width: 100%;
}
.quote-contract-card-head-eyebrow {
    display: block;
    margin: 0 0 2px 0;
    color: var(--qs-aqua);
    font: 700 11px / 1.35 monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.quote-contract-card-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}
.quote-contract-card-head-title {
    margin: 0;
    color: var(--qs-text);
    font: 800 16px / 1.3 "Outfit", system-ui, sans-serif;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
}
.quote-contract-card-service-desc {
    margin: 4px 0 0 0;
    color: var(--qs-aqua);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-card-sub {
    margin: 4px 0 0 0;
    color: var(--qs-muted);
    font: 500 11px / 1.35 monospace;
    letter-spacing: 0.03em;
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
}
[data-quote-contract-items-list] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-facts {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--qs-line);
    background: var(--qs-surface3);
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-fact-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--qs-line);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-fact-item:last-child {
    border-bottom: 0;
}
.quote-contract-fact-label {
    display: block;
    margin: 0 0 2px 0;
    color: var(--qs-muted);
    font: 700 11px / 1.35 monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-fact-val {
    display: block;
    margin: 0;
    color: var(--qs-text);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.quote-contract-val-pix {
    color: var(--qs-aqua);
}
.quote-contract-parties {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 16px;
    border-bottom: 1px solid var(--qs-line);
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-parties div {
    display: grid;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
}
.quote-contract-parties dt {
    display: block;
    color: var(--qs-muted);
    font: 500 10px monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.quote-contract-parties dd {
    margin: 0;
    font-size: 13px;
    color: var(--qs-text);
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 100%;
}
.quote-contract-party-phone {
    display: block;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-party-address,
.quote-contract-party-local {
    display: block;
    color: var(--qs-muted);
    font-size: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-clauses {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-clause-block {
    padding: 14px 0;
    border-bottom: 1px solid var(--qs-line);
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-clause-block:last-child {
    border-bottom: 0;
}
.quote-contract-clause-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px 0;
    min-width: 0;
    max-width: 100%;
}
.quote-clause-emoji {
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
}
.quote-contract-clause-title {
    margin: 0;
    color: var(--qs-text);
    font: 700 12px / 1.35 monospace;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 100%;
}
.quote-contract-clause-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.quote-contract-clause-body p {
    margin: 0;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.quote-contract-clause-body ul {
    margin: 0;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    max-width: 100%;
}
.quote-contract-clause-body ul li {
    margin: 0;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-clause-body ul li::marker {
    color: var(--qs-aqua);
}
.quote-secagem-section {
    margin: 8px -16px;
    padding: 14px 16px;
    position: relative;
    background: color-mix(in srgb, var(--qs-red) 12%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--qs-red) 30%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--qs-red) 30%, transparent);
    box-sizing: border-box;
    max-width: calc(100% + 32px);
}
.quote-secagem-section::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--qs-red);
}
.quote-secagem-section .quote-contract-clause-title {
    color: var(--qs-red);
}
.quote-secagem-section .quote-contract-clause-body p,
.quote-secagem-section .quote-contract-clause-body ul li {
    color: var(--qs-text);
}
.quote-secagem-section .quote-contract-clause-body ul li::marker {
    color: var(--qs-red);
}
.quote-terms-line {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--qs-line);
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.55;
    box-sizing: border-box;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-terms-line a {
    color: var(--qs-aqua);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.quote-contract-thanks {
    padding: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--qs-surface3) 75%, var(--qs-surface)), var(--qs-surface));
    box-sizing: border-box;
    max-width: 100%;
}
.quote-contract-thanks p {
    margin: 0;
    font-size: 14px;
    color: var(--qs-text);
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.quote-contract-simple {
    overflow: hidden;
    border: 1px solid var(--qs-line);
    border-radius: 18px;
    background: var(--qs-surface);
    color: var(--qs-text);
}

.quote-contract-simple-head {
    padding: 18px 16px;
    border-bottom: 1px solid var(--qs-line);
    background: var(--qs-surface3);
}
.quote-contract-simple-head h2 {
    margin: 0;
    font: 800 20px/1.25 "Outfit", system-ui, sans-serif;
}
.quote-contract-simple-head p {
    margin: 7px 0 0;
    color: var(--qs-aqua);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.quote-contract-simple-section {
    padding: 15px 16px;
    border-bottom: 1px solid var(--qs-line);
}
.quote-contract-simple-section h3 {
    margin: 0 0 7px;
    color: var(--qs-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}
.quote-contract-simple-section p {
    margin: 3px 0 0;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.quote-contract-simple-warning {
    background: color-mix(in srgb, var(--qs-aqua) 7%, transparent);
}
.quote-contract-simple-terms {
    margin: 0;
    padding: 16px;
    color: var(--qs-aqua);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/* Card de Confirmação de Atendimento / Contrato */
.quote-contract-confirmed {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 32px;
    background: var(--qs-surface);
    border: 1px solid var(--qs-line);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    margin: 16px 0 24px;
    box-sizing: border-box;
    width: 100%;
}
.quote-contract-confirmed-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--qs-green-vibrant) 15%, var(--qs-surface2));
    border: 1.5px solid color-mix(in srgb, var(--qs-green-vibrant) 40%, transparent);
    color: var(--qs-green-vibrant);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 0 20px color-mix(in srgb, var(--qs-green-vibrant) 20%, transparent);
}
.quote-contract-confirmed-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--qs-green-vibrant);
}
.quote-contract-confirmed-badge {
    display: inline-block;
    color: var(--qs-green-vibrant);
    font: 700 11px / 1 monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--qs-green-vibrant) 12%, transparent);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--qs-green-vibrant) 25%, transparent);
    margin-bottom: 14px;
}
.quote-contract-confirmed-title {
    margin: 0 0 10px;
    color: var(--qs-text);
    font: 800 clamp(22px, 5vw, 26px) / 1.2 "Outfit", system-ui, sans-serif;
    letter-spacing: -0.02em;
}
.quote-contract-confirmed-message {
    margin: 0 0 20px;
    color: var(--qs-muted);
    font-size: 14.5px;
    line-height: 1.5;
    max-width: 420px;
}
.quote-contract-confirmed-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 380px;
    margin-bottom: 24px;
}
.quote-contract-confirmed-service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--qs-surface2) 80%, var(--qs-surface));
    border: 1px solid var(--qs-line);
    color: var(--qs-text);
    font-size: 14px;
    font-weight: 600;
}
.quote-contract-confirmed-service-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--qs-green-vibrant);
    color: var(--qs-bg);
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}
.quote-contract-confirmed-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 26px;
    background: var(--qs-mint);
    color: var(--qs-bg);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background-color 0.18s, transform 0.15s, box-shadow 0.18s;
    box-sizing: border-box;
}
.quote-contract-confirmed-cta:hover,
.quote-contract-confirmed-cta:focus-visible {
    background: var(--qs-green-vibrant);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--qs-green-vibrant) 30%, transparent);
    outline: none;
}
.quote-contract-confirmed-cta:active {
    transform: translateY(0);
}
.quote-bottom-note {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: var(--qs-green-vibrant);
    text-align: center;
    line-height: 1.35;
    font-weight: 600;
    box-sizing: border-box;
    max-width: 100%;
    word-break: break-word;
}

/* Etapa de Identificação */
.quote-identify-stack {
    margin-top: 20px;
    margin-bottom: 32px;
}
.quote-identify-card {
    background: var(--qs-surface);
    border: 1px solid var(--qs-line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.quote-identify-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--qs-text);
    margin-bottom: 6px;
}
.quote-identify-hint {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--qs-muted);
    line-height: 1.5;
}
.quote-identify-input-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.quote-identify-input {
    flex: 1;
    min-width: 200px;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    color: var(--qs-text);
    background: var(--qs-bg);
    border: 1.5px solid var(--qs-line);
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-identify-input:focus {
    border-color: var(--qs-aqua);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--qs-aqua) 20%, transparent);
}
.quote-identify-field {
    margin-bottom: 16px;
}
.quote-identify-field .quote-identify-input {
    width: 100%;
}
.quote-identify-welcome {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--qs-surface3) 75%, var(--qs-surface));
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    margin-bottom: 20px;
}
.quote-identify-avatar {
    font-size: 28px;
    line-height: 1;
}
.quote-identify-welcome strong {
    display: block;
    font-size: 16px;
    color: var(--qs-text);
    margin-bottom: 2px;
}
.quote-identify-welcome p {
    margin: 0;
    font-size: 13px;
    color: var(--qs-muted);
    line-height: 1.4;
}
.quote-identify-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.quote-identify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    background: var(--qs-cta);
    color: var(--qs-cta-text, #fff);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-sizing: border-box;
    transition: opacity 0.2s, transform 0.1s;
}
.quote-identify-btn:hover {
    opacity: 0.92;
}
.quote-identify-btn:active {
    transform: scale(0.98);
}
.quote-identify-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.quote-identify-back-btn {
    background: transparent;
    border: none;
    color: var(--qs-muted);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 12px;
}
.quote-identify-back-btn:hover {
    color: var(--qs-text);
}
.quote-identify-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: color-mix(in srgb, var(--qs-red) 12%, transparent);
    border: 1px solid var(--qs-red);
    border-radius: 10px;
    color: var(--qs-red);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.quote-contract-success {
    background: color-mix(in srgb, var(--qs-green-vibrant) 12%, var(--qs-surface));
    border: 2px solid var(--qs-green-vibrant);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 24px;
}
.quote-contract-success-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.quote-contract-success h2 {
    font-size: 22px;
    color: var(--qs-green-vibrant);
    margin: 0 0 8px;
    font-weight: 800;
}
.quote-contract-success-ref {
    font-size: 16px;
    color: var(--qs-text);
    margin: 0 0 12px;
}
.quote-contract-success-ref strong {
    color: var(--qs-aqua);
}
.quote-contract-success-desc {
    font-size: 15px;
    color: var(--qs-text);
    margin: 0 0 16px;
    line-height: 1.5;
}
.quote-contract-success-details {
    background: var(--qs-surface);
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: left;
    margin: 0 auto 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--qs-text);
}
.quote-contract-success-reminder {
    margin: 0;
    font-size: 13px;
    color: var(--qs-muted);
    line-height: 1.5;
}

/* Confirmação do endereço do atendimento.
   Aparece no resumo, depois da data e da hora, antes da apresentação do
   contrato: o endereço deixou de ser o do cadastro e passa a ser confirmado a
   cada agendamento. */
.quote-address-confirm {
    margin: 18px 0 0;
    padding: 20px 18px;
    border: 1px solid var(--qs-line);
    border-radius: 18px;
    background: var(--qs-surface);
}

.quote-address-question {
    margin: 4px 0 16px;
    color: var(--qs-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
}

.quote-address-options {
    margin-bottom: 16px;
}

.quote-address-options .quote-select-chip {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    padding: 10px 16px;
    line-height: 1.35;
}

.quote-address-label {
    display: block;
    margin-bottom: 6px;
    color: var(--qs-aqua);
    font-size: 12px;
    font-weight: 700;
}

.quote-address-field {
    width: 100%;
    min-height: 74px;
    padding: 12px 14px;
    border: 1px solid var(--qs-line);
    border-radius: 13px;
    background: var(--qs-bg);
    color: var(--qs-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    resize: vertical;
}

.quote-address-field:focus {
    border-color: var(--qs-aqua);
    outline: none;
}

@keyframes quote-measure-pop {
    0% {
        transform: scale(0.96);
        opacity: 0.7;
        border-color: var(--qs-green-vibrant);
        box-shadow: 0 0 16px color-mix(in srgb, var(--qs-green-vibrant) 40%, transparent);
    }
    50% {
        transform: scale(1.02);
        border-color: var(--qs-aqua);
        box-shadow: 0 0 20px color-mix(in srgb, var(--qs-aqua) 45%, transparent);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        border-color: color-mix(in srgb, var(--qs-aqua) 40%, transparent);
        box-shadow: 0 0 10px color-mix(in srgb, var(--qs-aqua) 15%, transparent);
    }
}

.quote-places-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 12px 0 0;
    padding: 11px 15px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--qs-aqua) 10%, var(--qs-surface2));
    border: 1px solid color-mix(in srgb, var(--qs-aqua) 45%, transparent);
    box-sizing: border-box;
}

.quote-places-highlight.is-pop {
    animation: quote-measure-pop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.quote-select-shell[data-quote-theme="light"] .quote-places-highlight {
    background: color-mix(in srgb, var(--qs-aqua) 12%, #fff);
    border-color: color-mix(in srgb, var(--qs-aqua) 40%, transparent);
}

.quote-places-highlight-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.quote-places-highlight-icon {
    font-size: 14px;
    line-height: 1;
    align-self: center;
}

.quote-places-highlight-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--qs-aqua);
}

.quote-places-highlight-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--qs-text);
}

.quote-places-highlight-sub {
    font-size: 12px;
    color: var(--qs-muted);
    margin-left: auto;
}

/* Bloco compacto de foto do sofá na tela de contrato (SOFA-FOTO-CONFIRMACAO-114) */
.quote-sofa-photo-container {
    margin: 18px 0 16px;
    padding: 16px;
    background: var(--qs-surface, #ffffff);
    border: 1px dashed var(--qs-line, #cbd5e1);
    border-radius: 8px;
    text-align: left;
}
.quote-sofa-photo-container.is-uploaded {
    border-style: solid;
    border-color: var(--qs-aqua, #0d9488);
    background: color-mix(in srgb, var(--qs-aqua, #0d9488) 5%, transparent);
}
.quote-sofa-photo-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--qs-text, #1e293b);
}
.quote-sofa-photo-help {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--qs-muted, #64748b);
    line-height: 1.45;
}
.quote-sofa-photo-upload-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.quote-sofa-photo-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s ease;
}
.quote-sofa-photo-select-btn:hover {
    background: #e2e8f0;
}
.quote-sofa-photo-preview-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--qs-line, #cbd5e1);
}
.quote-sofa-photo-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.quote-sofa-photo-status {
    font-size: 13px;
    font-weight: 600;
}
.quote-sofa-photo-status.is-success {
    color: var(--qs-aqua, #0d9488);
}
.quote-sofa-photo-status.is-uploading {
    color: var(--qs-muted, #64748b);
}
.quote-sofa-photo-filename {
    font-size: 12px;
    color: var(--qs-muted, #64748b);
}
.quote-sofa-photo-change-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--qs-aqua, #0d9488);
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
}
.quote-import-number label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}
.quote-import-number input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--qs-border, #cbd5e1);
    border-radius: 12px;
    background: var(--qs-bg, #fff);
    color: inherit;
    font: inherit;
}
.quote-sofa-photo-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 12px;
}

/* Exact rug measurements share the regular detail panel and remain usable on mobile. */
.quote-select-measure-stepper{width:100%;grid-template-columns:36px minmax(0,1fr) 36px}.quote-select-measure-stepper input{min-width:0;width:100%;box-sizing:border-box;padding:10px 2px;border:0;border-radius:6px;background:transparent;color:var(--qs-text);font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;text-align:center}.quote-select-measure-stepper input:focus-visible{outline:2px solid var(--qs-aqua);outline-offset:-2px}.quote-select-measure-stepper input[aria-invalid="true"]{outline:2px solid var(--qs-red);outline-offset:-2px}

/* ==========================================================================
   Assistente de foto do sofá na etapa de configuração (detalhe)
   ========================================================================== */
.qs-photo-assist {
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--qs-surface, #0c2528);
    border: 1px solid var(--qs-line, #244247);
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.qs-photo-assist.is-invite {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--qs-aqua) 55%, var(--qs-line));
    background: color-mix(in srgb, var(--qs-aqua) 4%, var(--qs-surface));
}

.qs-photo-assist.is-loading {
    border-color: var(--qs-aqua);
    background: color-mix(in srgb, var(--qs-aqua) 8%, var(--qs-surface));
}

.qs-photo-assist.is-filled {
    border-color: var(--qs-mint, #9fd1c0);
    background: color-mix(in srgb, var(--qs-mint, #9fd1c0) 8%, var(--qs-surface));
}

.qs-photo-assist.is-error {
    border-color: color-mix(in srgb, var(--qs-yellow, #ffd23f) 60%, var(--qs-line));
    background: color-mix(in srgb, var(--qs-yellow, #ffd23f) 6%, var(--qs-surface));
}

.qs-photo-assist.is-limit-reached {
    border-color: color-mix(in srgb, var(--qs-green-vibrant, #20d76d) 50%, var(--qs-line));
    background: color-mix(in srgb, var(--qs-green-vibrant, #20d76d) 6%, var(--qs-surface));
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist {
    background: var(--qs-surface, #ffffff);
    border-color: var(--qs-line, #bfd0cc);
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist.is-invite {
    background: color-mix(in srgb, var(--qs-aqua) 5%, #ffffff);
    border-color: color-mix(in srgb, var(--qs-aqua) 40%, var(--qs-line));
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist.is-filled {
    background: color-mix(in srgb, var(--qs-mint, #327664) 8%, #ffffff);
    border-color: var(--qs-mint, #327664);
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist.is-error {
    background: color-mix(in srgb, var(--qs-yellow, #b8860b) 6%, #ffffff);
    border-color: color-mix(in srgb, var(--qs-yellow, #b8860b) 50%, var(--qs-line));
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist.is-limit-reached {
    border-color: color-mix(in srgb, var(--qs-green-vibrant, #15803d) 40%, var(--qs-line));
    background: color-mix(in srgb, var(--qs-green-vibrant, #15803d) 6%, #ffffff);
}

.qs-photo-assist-invite,
.qs-photo-assist-loading,
.qs-photo-assist-filled,
.qs-photo-assist-limit,
.qs-photo-assist-error {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.qs-photo-assist-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.qs-photo-assist-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--qs-line);
    flex-shrink: 0;
}

.qs-photo-assist-body {
    flex: 1 1 200px;
    min-width: 0;
}

.qs-photo-assist-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: color-mix(in srgb, var(--qs-mint, #9fd1c0) 20%, transparent);
    color: var(--qs-mint, #9fd1c0);
    margin-bottom: 4px;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-badge {
    background: color-mix(in srgb, var(--qs-mint, #327664) 15%, transparent);
    color: var(--qs-mint, #327664);
}

.qs-photo-assist-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--qs-text);
    margin: 0 0 2px;
}

.qs-photo-assist-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--qs-muted);
}

.qs-photo-assist-progress-wrap {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.qs-photo-assist-progress-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--qs-line, #244247) 70%, transparent);
    overflow: hidden;
    position: relative;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-progress-track {
    background: color-mix(in srgb, var(--qs-line, #bfd0cc) 70%, transparent);
}

.qs-photo-assist-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: var(--qs-aqua, #75d1c4);
    transition: width 0.25s ease-out;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-progress-bar {
    background: var(--qs-aqua, #087d82);
}

.qs-photo-assist-progress-text {
    font-size: 12px;
    line-height: 1.3;
    color: var(--qs-muted, #a9bfbd);
    font-weight: 500;
}

.qs-photo-assist-summary {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--qs-text);
    margin: 2px 0 4px;
    line-height: 1.35;
}

.qs-photo-assist-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--qs-muted);
}

.qs-photo-assist-check-box {
    margin: 8px 0 2px;
    padding: 10px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--qs-green-vibrant, #38ef7d) 12%, var(--qs-surface, #0e2729));
    border: 1px solid color-mix(in srgb, var(--qs-green-vibrant, #38ef7d) 35%, transparent);
}

.qs-photo-assist-check-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--qs-green-vibrant, #38ef7d);
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.qs-photo-assist-check-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--qs-text, #f3f8f7);
    font-weight: 500;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-check-box {
    background: #eafaf1;
    border-color: #a3e6be;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-check-title {
    color: #0d733e;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-check-desc {
    color: #1a3330;
}

.qs-photo-assist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    text-decoration: none;
}

.qs-photo-assist-btn-send {
    background: var(--qs-aqua);
    color: #061719;
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-btn-send {
    background: var(--qs-aqua);
    color: #fff;
}

.qs-photo-assist-btn-change,
.qs-photo-assist-btn-retry {
    background: var(--qs-surface2);
    color: var(--qs-text);
    border-color: var(--qs-line);
}

.qs-photo-assist-btn-whatsapp {
    background: var(--qs-green-vibrant, #20d76d) !important;
    color: #061719 !important;
    font-weight: 700 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: transparent !important;
    box-shadow: 0 0 12px color-mix(in srgb, var(--qs-green-vibrant, #20d76d) 30%, transparent);
}

.quote-select-shell[data-quote-theme="light"] .qs-photo-assist-btn-whatsapp {
    background: var(--qs-green-vibrant, #15803d) !important;
    color: #ffffff !important;
}

.quote-help-whatsapp-btn {
    background: var(--qs-green-vibrant, #20d76d) !important;
    color: #061719 !important;
    font-weight: 700 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 16px;
    margin-top: 8px;
    border: 0;
    box-shadow: 0 0 12px color-mix(in srgb, var(--qs-green-vibrant, #20d76d) 30%, transparent);
}

.quote-select-shell[data-quote-theme="light"] .quote-help-whatsapp-btn {
    background: var(--qs-green-vibrant, #15803d) !important;
    color: #ffffff !important;
}

.qs-photo-assist-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.qs-photo-assist-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid color-mix(in srgb, var(--qs-aqua) 30%, transparent);
    border-top-color: var(--qs-aqua);
    border-radius: 50%;
    animation: qs-photo-spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes qs-photo-spin {
    to { transform: rotate(360deg); }
}
/* Troca entre o catálogo principal e Outros itens: a grade nova desliza para dentro. */
.quote-select-main{overflow-x:clip}
@keyframes quote-slide-from-right{from{transform:translateX(100%);opacity:.4}to{transform:translateX(0);opacity:1}}
@keyframes quote-slide-from-left{from{transform:translateX(-100%);opacity:.4}to{transform:translateX(0);opacity:1}}
.quote-select-grid.is-sliding-from-right,[data-quote-stage-detail].is-sliding-from-right,[data-quote-stage-select].is-sliding-from-right{animation:quote-slide-from-right .35s cubic-bezier(.22,.8,.3,1) both}
.quote-select-grid.is-sliding-from-left,[data-quote-stage-detail].is-sliding-from-left,[data-quote-stage-select].is-sliding-from-left{animation:quote-slide-from-left .35s cubic-bezier(.22,.8,.3,1) both}
@media (prefers-reduced-motion:reduce){.quote-select-grid.is-sliding-from-right,.quote-select-grid.is-sliding-from-left,[data-quote-stage-detail].is-sliding-from-right,[data-quote-stage-detail].is-sliding-from-left,[data-quote-stage-select].is-sliding-from-right,[data-quote-stage-select].is-sliding-from-left{animation:none}.quote-other-back-btn{transition:none}}
.quote-other-back-wrap{display:flex;justify-content:center;margin:18px 0 4px}
.quote-other-back-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border:1px solid var(--qs-line);border-radius:999px;background:transparent;color:var(--qs-mint);font:600 14px/1.2 "Outfit",system-ui,sans-serif;cursor:pointer;transition:border-color .18s,color .18s,background-color .18s}
.quote-other-back-btn:hover,.quote-other-back-btn:focus-visible{border-color:var(--qs-aqua);color:var(--qs-aqua);background:color-mix(in srgb,var(--qs-surface) 70%,transparent)}
.quote-other-back-btn:focus-visible{outline:2px solid var(--qs-aqua);outline-offset:2px}
/* Foto do sofa: mesmo bloco da barra da home (classes sofa-photo-*), dentro do simulador. */
.qs-sofa-photo-module{display:grid;gap:6px;padding:4px 0}
.qs-sofa-photo-module-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.qs-sofa-photo-module-title{margin:0;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:var(--qs-text,#f3f8f7)}
.qs-sofa-photo-module .sofa-photo-lead{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 10px;font-size:15px;font-weight:700;color:var(--qs-text,#f3f8f7);text-align:center;flex-wrap:wrap}
.qs-sofa-photo-module .sofa-photo-lead .sofa-photo-emoji{margin:0}
.qs-sofa-photo-module .sofa-photo-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;margin-top:6px}
.qs-sofa-photo-module .sofa-photo-pick{flex:0 0 auto;min-height:48px;padding:0 18px;font-size:14px;gap:8px;white-space:nowrap}
@media (max-width:360px){
  .qs-sofa-photo-module .sofa-photo-lead{font-size:13px}
  .qs-sofa-photo-module .sofa-photo-pick{font-size:12px;padding:0 12px;gap:6px}
}
.qs-photo-assist.is-invite{padding:14px 12px}
/* Aviso da avaliacao da foto na tela de confirmacao (nao bloqueia). */
.quote-sofa-review{margin:14px 0 4px;padding:12px 14px;border-radius:12px;border:1px solid var(--qs-line,#244247);background:var(--qs-surface,#0d2a2e);color:var(--qs-text,#f3f8f7);font-size:14px;line-height:1.45}
.quote-sofa-review.is-divergent,.quote-sofa-review.is-inconclusive{border-color:#ffd23f;background:rgba(255,210,63,.08)}
.quote-sofa-review[hidden]{display:none}
/* O cabecalho fixo nao pode cobrir a pergunta para a qual o link da foto rola. */
.quote-select-panel{scroll-margin-top:112px}

/* ==========================================================================
   Agente de Ajuda ao Usuário (Voz e Texto) — barra do chat e conversa.
   O desenho da barra é o mesmo do site (partials/chat-bar, chat-assistant.css);
   ela fica acima do fundo escuro para continuar usável com a conversa aberta.
   ========================================================================== */
.quote-help-dock {
    position: fixed;
    z-index: 102;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100%, 620px);
    max-width: 100vw;
    box-sizing: border-box;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(90deg, #104044 0%, #145049 100%);
    border-top: 1px solid var(--qs-line);
    border-bottom: 1px solid var(--qs-line);
    box-shadow: 0 -6px 20px rgb(0 0 0 / 24%);
    transition: bottom 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
@media(min-width:760px) {
    .quote-help-dock {
        border-left: 1px solid var(--qs-line);
        border-right: 1px solid var(--qs-line);
        border-radius: 0 0 34px 34px;
    }
}
@keyframes qs-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.15); }
}

/* Conversa: abre sobre a página, logo acima da barra */
.quote-help-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
}
.quote-help-sheet {
    position: fixed;
    z-index: 101;
    left: 50%;
    bottom: var(--quote-help-dock-height, 96px);
    transform: translateX(-50%);
    width: min(100%, 620px);
    max-width: 100vw;
    height: 520px;
    max-height: calc(100dvh - var(--quote-help-dock-height, 96px) - 24px);
    background: var(--qs-surface);
    border-top: 1px solid var(--qs-line);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}
.quote-help-sheet[hidden] {
    display: none !important;
}
/* No celular, a conversa ocupa a tela toda, do topo até a barra. */
@media (max-width: 759px) {
    .quote-help-sheet {
        top: 0;
        height: auto;
        max-height: none;
        border-radius: 0;
    }
}
.quote-help-sheet-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--qs-surface2);
    border-bottom: 1px solid var(--qs-line);
    flex-shrink: 0;
}
.quote-help-sheet-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quote-help-sheet-avatar {
    font-size: 22px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--qs-bg);
    border: 1px solid var(--qs-line);
    border-radius: 50%;
}
.quote-help-sheet-title {
    display: block;
    color: var(--qs-text);
    font-size: 14px;
    font-weight: 800;
}
.quote-help-sheet-subtitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--qs-muted);
}
.quote-help-dot-pulse {
    font-size: 8px;
    animation: qs-pulse-dot 1.8s infinite;
}
.quote-help-sheet-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--qs-bg);
    color: var(--qs-text);
    font-size: 15px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s;
}
.quote-help-sheet-close:hover {
    background: color-mix(in srgb, var(--qs-red) 25%, var(--qs-bg));
}
.quote-help-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}
.quote-help-bubble {
    max-width: 86%;
    padding: 11px 14px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.45;
    box-sizing: border-box;
    word-break: break-word;
}
.quote-help-bubble.assistant {
    align-self: flex-start;
    background: var(--qs-surface2);
    border: 1px solid var(--qs-line);
    color: var(--qs-text);
    border-bottom-left-radius: 4px;
}
.quote-help-bubble.assistant .quote-help-text {
  white-space: pre-line;
}

.quote-help-bubble.assistant .quote-help-text a {
  color: inherit;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.quote-help-bubble.user {
    align-self: flex-end;
    background: var(--qs-mint);
    color: #022c22;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}
.quote-help-bubble.user small {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 2px;
}
.quote-help-bubble.thinking {
    align-self: flex-start;
    background: color-mix(in srgb, var(--qs-surface2) 75%, transparent);
    color: var(--qs-muted);
    border: 1px dashed var(--qs-line);
    font-size: 12.5px;
    font-style: italic;
}
/* Player de áudio da resposta */
.quote-help-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--qs-mint) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--qs-mint) 35%, transparent);
}
.quote-help-player-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: var(--qs-mint);
    color: #022c22;
    font-size: 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: bold;
    transition: transform 0.1s;
}
.quote-help-player-btn:hover {
    transform: scale(1.08);
}
.quote-help-player-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
    flex: 1;
}
.quote-help-player-wave {
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: var(--qs-mint);
    transition: height 0.2s ease;
}
.quote-help-player.is-playing .quote-help-player-wave:nth-child(1) { animation: qs-wave-anim 0.8s infinite ease-in-out; }
.quote-help-player.is-playing .quote-help-player-wave:nth-child(2) { animation: qs-wave-anim 0.8s infinite ease-in-out 0.2s; }
.quote-help-player.is-playing .quote-help-player-wave:nth-child(3) { animation: qs-wave-anim 0.8s infinite ease-in-out 0.4s; }
.quote-help-player.is-playing .quote-help-player-wave:nth-child(4) { animation: qs-wave-anim 0.8s infinite ease-in-out 0.1s; }
.quote-help-player.is-playing .quote-help-player-wave:nth-child(5) { animation: qs-wave-anim 0.8s infinite ease-in-out 0.3s; }
@keyframes qs-wave-anim {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}
.quote-help-player-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--qs-mint);
    white-space: nowrap;
}
.quote-help-text {
    color: var(--qs-text);
}
/* Botão de aplicação rápida */
.quote-help-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--qs-mint);
    color: #022c22;
    border: 0;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
}
.quote-help-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--qs-mint) 35%, transparent);
}
@media(min-width: 760px) {
    .quote-help-sheet {
        bottom: calc(24px + var(--quote-help-dock-height, 96px));
        border-left: 1px solid var(--qs-line);
        border-right: 1px solid var(--qs-line);
    }
}


/* Uma barra por vez na base (decisão de Aroldo em 08/11/2026): o chat aparece ao abrir o
   orçamento; quando a barra de valores/Continuar aparece, ela ocupa a base e o chat some, e
   volta quando a barra de valores some. Com a conversa aberta, o chat fica para o cliente
   poder responder; a barra de valores está atrás do fundo escuro. */
.quote-select-shell { --quote-help-dock-height: 48px; padding-bottom: calc(150px + var(--quote-help-dock-height)); }
.quote-select-shell:has([data-quote-select-bottom]:not([hidden])):not(:has([data-quote-help-sheet]:not([hidden]))) .quote-help-dock {
    display: none;
}

.quote-select-bottom > .quote-bottom-actions {
  gap: 8px;
  margin-bottom: 0;
}

.quote-bottom-actions button {
  flex: 1;
  min-width: 0;
}

.quote-bottom-whatsapp {
  display: grid;
  flex: 0 0 46px;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--qs-line);
  border-radius: 50%;
  color: var(--qs-text);
  background: var(--qs-surface);
}

/* ORC-01: controles da lista "Seus itens", preço inline, botão secundário e descrição de poltroninha */
.quote-select-selected {
  margin-bottom: 22px;
}

.quote-select-selected-check {
  color: var(--qs-green-vibrant);
  font-weight: 800;
  margin-right: 4px;
}

.quote-select-selected-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.quote-select-selected-item .quote-select-selected-edit,
.quote-select-selected-item .quote-select-selected-remove {
  width: auto;
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--qs-line);
  background: var(--qs-bg);
  color: var(--qs-aqua);
}

.quote-select-selected-item .quote-select-selected-remove {
  color: var(--qs-muted);
}

.quote-select-bottom button.quote-bottom-secondary {
  background: var(--qs-surface);
  color: var(--qs-text);
  border: 1px solid var(--qs-line);
  font-size: 13px;
  padding: 0 10px;
}

@media (max-width: 420px) {
  .quote-select-bottom > .quote-bottom-actions {
    flex-wrap: wrap;
  }
  .quote-select-bottom button.quote-bottom-secondary,
  .quote-select-bottom button[data-quote-select-continue] {
    font-size: 13px;
    padding: 0 10px;
  }
}

.quote-select-chip-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 6px;
  padding-bottom: 6px;
}

.quote-chair-part-desc {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--qs-muted);
  line-height: 1.25;
}

/* ORC-01c: contador de quantidade ao lado do título do item */
.quote-select-item-title {
  display: block;
}

.quote-select-item-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-select-item-heading {
  flex: 1 1 auto;
  min-width: 0;
}

.quote-select-item-title h1 {
  margin: 0;
}

.quote-title-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.quote-select-stepper.quote-title-stepper {
  flex-shrink: 0;
  grid-template-columns: 54px 72px 54px;
  border: 1.5px solid color-mix(in srgb, var(--qs-aqua) 55%, var(--qs-line));
  background: color-mix(in srgb, var(--qs-aqua) 10%, var(--qs-surface));
}

.quote-select-stepper.quote-title-stepper button {
  height: 52px;
  font-size: 26px;
}

.quote-select-stepper.quote-title-stepper output {
  font-size: 22px;
}

.quote-title-limit-helper {
  margin: 10px 0 0;
}

@media (max-width: 520px) {
  .quote-title-qty-wrap {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .quote-select-item-title-row {
    gap: 10px;
  }
  .quote-select-item-title .quote-select-visual {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .quote-select-item-title .quote-select-visual svg {
    width: 24px;
    height: 24px;
  }
  .quote-select-item-title h1 {
    font-size: clamp(20px, 5.5vw, 24px);
  }
  .quote-select-stepper.quote-title-stepper {
    grid-template-columns: 40px 44px 40px;
  }
  .quote-select-stepper.quote-title-stepper button {
    height: 44px;
    font-size: 22px;
  }
  .quote-select-stepper.quote-title-stepper output {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .quote-select-item-title-row {
    gap: 8px;
  }
  .quote-select-item-title .quote-select-visual {
    width: 40px;
    height: 40px;
  }
  .quote-select-item-title h1 {
    font-size: 18px;
  }
  .quote-select-stepper.quote-title-stepper {
    grid-template-columns: 34px 36px 34px;
  }
  .quote-select-stepper.quote-title-stepper button {
    height: 40px;
    font-size: 20px;
  }
  .quote-select-stepper.quote-title-stepper output {
    font-size: 16px;
  }
}

/* ORC-03 / ORC-03a: Detalhe dos itens no estilo do protótipo B2 e etiqueta Pix na barra inferior */
.quote-b2-photo-bar {
  background: var(--qs-surface3);
  border: 0;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.quote-b2-photo-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.quote-b2-photo-copy strong {
  display: block;
  font-size: 14px;
  color: var(--qs-text);
}

.quote-b2-photo-copy span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--qs-muted);
}

.quote-b2-photo-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--qs-mint);
  color: var(--qs-bg);
  font-weight: 800;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.quote-b2-group {
  background: var(--qs-surface);
  border-radius: 20px;
  padding: 18px 18px 20px;
  margin-bottom: 16px;
}

.quote-b2-group--error,
.quote-b2-group.is-error {
  box-shadow: inset 0 0 0 1.5px var(--qs-red);
}

.quote-b2-group-kicker {
  margin: 0 0 14px;
  font-family: "Space Grotesk", system-ui, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qs-aqua);
}

.quote-b2-group > .quote-select-panel {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.quote-simulator-section .quote-b2-group .quote-select-panel h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--qs-text);
  text-transform: none;
}

.quote-b2-group > .quote-select-panel + .quote-select-panel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--qs-aqua) 12%, transparent);
}

.quote-bottom-pix-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--qs-yellow);
  color: var(--qs-bg);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .quote-select-bottom > div:first-child {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .quote-bottom-pix-badge {
    font-size: 10px;
    padding: 2px 7px;
  }
}

/* CHAT-04: botões de dúvidas, simulador e WhatsApp (modo sem Gemini). Quebram em linhas, sem rolagem lateral. */
.quote-help-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    max-width: 100%;
}
.quote-help-quick-btn {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--qs-line);
    background: var(--qs-surface);
    color: var(--qs-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.12s;
}
.quote-help-quick-btn:hover {
    transform: translateY(-1px);
    border-color: var(--qs-mint);
}
.quote-help-quick-primary {
    background: var(--qs-mint);
    border-color: var(--qs-mint);
    color: #022c22;
    font-weight: 800;
}

/* CHAT-04: bloco fixo no alto do chat (saudação + dúvidas + orçamento), no modo sem Gemini. Não rola com as mensagens. */
.quote-help-pinned {
    flex-shrink: 0;
    max-height: 42dvh;
    overflow-y: auto;
    padding: 12px 16px 14px;
    box-sizing: border-box;
    background: linear-gradient(180deg, color-mix(in srgb, var(--qs-mint) 9%, var(--qs-surface2)) 0%, var(--qs-surface) 100%);
    border-bottom: 1px solid var(--qs-line);
}
.quote-help-pinned-greeting {
    margin: 0 0 10px;
    color: var(--qs-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}
.quote-help-pinned-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 100%;
}
.quote-help-pinned-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--qs-line);
    background: var(--qs-bg);
    color: var(--qs-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.12s, background 0.12s;
}
.quote-help-pinned-chip:hover {
    transform: translateY(-1px);
    border-color: var(--qs-mint);
    background: color-mix(in srgb, var(--qs-mint) 14%, var(--qs-bg));
}
.quote-help-pinned-chip:focus-visible {
    outline: 2px solid var(--qs-mint);
    outline-offset: 2px;
}
.quote-help-pinned-cta {
    background: var(--qs-mint);
    border-color: var(--qs-mint);
    color: #022c22;
    font-weight: 800;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--qs-mint) 32%, transparent);
}
.quote-help-pinned-cta:hover {
    background: color-mix(in srgb, var(--qs-mint) 88%, #fff);
    border-color: var(--qs-mint);
}
@media (max-width: 759px) {
    .quote-help-pinned {
        max-height: 40dvh;
        padding: 8px 12px 10px;
    }
    .quote-help-pinned-greeting {
        margin-bottom: 7px;
        font-size: 13.5px;
    }
    .quote-help-pinned-chips {
        gap: 5px;
    }
    .quote-help-pinned-chip {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* Ajuste 02: contrato copiado pela empresa (botão secundário do WhatsApp e texto para colar). */
.quote-contract-secondary-button {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 10px 16px;
    border: 1px solid var(--qs-line);
    border-radius: 26px;
    background: transparent;
    color: var(--qs-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.quote-contract-secondary-button:hover,
.quote-contract-secondary-button:focus-visible {
    color: var(--qs-text);
    border-color: var(--qs-aqua);
    outline: none;
}
.quote-contract-secondary-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.quote-contract-copied-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid var(--qs-line);
    border-radius: 12px;
    background: var(--qs-surface2);
    color: var(--qs-text);
    font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    resize: vertical;
}
.quote-contract-copied .quote-contract-confirm-button {
    margin-bottom: 12px;
}

/* Botão do contrato bloqueado (ex.: falta a foto do sofá) não pode parecer ativo (Aroldo, 22/11/2026). */
.quote-contract-confirm-button:disabled,
.quote-contract-confirm-button:disabled:hover {
    background: #3a4a4c;
    color: #9fb1ae;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.quote-address-step + .quote-address-step,
.quote-address-details {
    margin-top: 14px;
}

.quote-address-select,
.quote-address-text-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--qs-line);
    border-radius: 13px;
    background: var(--qs-bg);
    color: var(--qs-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.quote-address-select:focus,
.quote-address-text-input:focus {
    border-color: var(--qs-aqua);
    outline: none;
}

.quote-address-text-input.is-locked,
.quote-address-text-input[readonly] {
    opacity: 0.78;
    cursor: not-allowed;
}

.quote-address-lock-note,
.quote-address-phone-status {
    margin: 6px 0 0;
    color: var(--qs-muted);
    font-size: 12px;
}

.quote-address-neighborhood-help {
    margin: 8px 0 0;
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.45;
}

.quote-address-neighborhood-help a {
    color: var(--qs-aqua);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.quote-address-missing-hint {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 11px;
    border: 1px dashed var(--qs-line);
    color: var(--qs-muted);
    font-size: 13px;
    line-height: 1.4;
}
