.quotation-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 16px;min-width:0}
.result-top .location[data-logistics-status="confirmed"]::before{background:#34d399}
.quotation-actions #quotation-status{flex:1 1 0;min-width:0;max-width:32ch;margin:0;font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.quotation-actions #new-quotation{flex:0 0 auto;width:auto;max-width:100%;min-height:44px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text,#fff);font-size:11px;line-height:1.5}
/* Services and result begin at their heading; the event keeps its cover. */
.shell:has(:is(#step-1,#step-2):not([hidden]))>#cotizador-inicio,.layout:has(:is(#step-1,#step-2):not([hidden]))>.visual,.flow:has(:is(#step-1,#step-2):not([hidden]))>.progress{display:none!important}
.layout:has(:is(#step-1,#step-2):not([hidden])){display:block}
.layout:has(:is(#step-1,#step-2):not([hidden]))>.flow{width:100%;max-width:580px;margin-inline:auto;padding-top:0}
/* Use the same phone-safe gap on entry and focus, without stacking offsets. */
@media(max-width:899px){
.shell:has(:is(#step-1,#step-2):not([hidden])){--quote-step-top-gap:max(40px,calc(env(safe-area-inset-top,0px) + 16px));padding-top:var(--quote-step-top-gap)}
:is(#step-1,#step-2),:is(#step-1,#step-2)>.step-heading>h2,#step-1 #menu-selection[data-contextual=false]>#menu-selection-title{scroll-margin-top:var(--quote-step-top-gap,40px)}
}
:is(#step-1,#step-2)>.step-heading{display:flex;flex-direction:column;align-items:flex-start}
:is(#step-1,#step-2)>.quotation-actions{margin:14px 0 0}
/* App headings apply to selection only; contextual result flavours stay compact. */
#step-1 #title-services,#step-1 #menu-selection[data-contextual=false]>#menu-selection-title{font-family:Montserrat,Arial,sans-serif;font-size:clamp(28px,6vw,32px);font-weight:800;line-height:1.15;letter-spacing:-.03em;text-transform:none;margin:0 0 18px;overflow-wrap:break-word;text-wrap:balance}
@media(min-width:900px){#step-1 #title-services,#step-1 #menu-selection[data-contextual=false]>#menu-selection-title{font-size:34px;margin-bottom:20px}}
.quote-event-overview{border-top:1px solid var(--line);margin-top:18px;padding-top:14px;min-width:0}
.quote-event-overview .metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0;margin:0}
.quote-event-overview .metric{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:116px;padding:14px 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#182126);text-align:center}
.quote-event-overview .metric strong{font-size:28px;line-height:1.2;letter-spacing:0;font-variant-numeric:tabular-nums}
.quote-event-overview .metric .quote-metric-canonical{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.quote-event-overview .metric span{font-size:12px;line-height:1.4}
.quote-event-overview .metric .quote-metric-icon{font-size:26px;line-height:1.2}
.quote-event-overview .quote-service-schedule{display:grid;gap:5px;width:100%;min-width:0;border-top:1px solid var(--line);margin-top:7px;padding-top:9px}
.quote-event-overview .quote-service-schedule[hidden]{display:none}
.quote-event-overview .metric .quote-service-schedule span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.quote-event-overview .menu-summary{font-size:12px;line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}
.quote-clarity-active .event-meta{margin-top:12px}
/* Result-only presentation: keep these values available to PDF and checkout. */
#step-2 .result-top>.location,#step-2 .result-top>.quote-pending,#step-2 #menu-preferences-summary{display:none!important}
#step-2 .result-note:empty{display:none}
#step-2 .service-adjustment .service-revision-promo{display:block;margin-top:4px;font-size:10px;line-height:1.4;color:inherit}
#step-1 .services .service .service-promotion-badge{overflow-wrap:normal;word-break:normal;hyphens:none}
#service-discount-note{margin:0 0 12px;font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:break-word}
#quote-inclusions{border-top:1px solid var(--line);margin-top:14px;min-width:0}
#quote-inclusions>summary{min-height:44px;padding:12px 0;font-size:12px;line-height:1.5;cursor:pointer;color:var(--text,#fff)}
#quote-inclusions>summary:focus-visible{outline:2px solid var(--text,#fff);outline-offset:4px}
#quote-inclusions-content{padding:0 0 6px;min-width:0;color:var(--muted);font-size:12px;line-height:1.6}
#quote-inclusions-content p{margin:0 0 8px;overflow-wrap:break-word}
.quote-form-help{display:inline-flex;align-items:center;min-height:44px;max-width:100%;margin:4px 0;color:var(--muted);font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;overflow-wrap:break-word}
.quote-form-help:hover{color:var(--text,#fff)}
.quote-form-help:focus-visible{outline:2px solid var(--text,#fff);outline-offset:4px}
.flow:has(#step-2:not([hidden])) .quote-form-help{display:none}
.menu-selection[data-quote-clarity=true]{padding-top:0;margin:16px 0}
.menu-selection>.quote-preferences-toggle{border-bottom:0}
.menu-selection>.quote-preferences-toggle>summary{min-height:48px;padding:12px 0;font-size:12px}
.menu-selection>.quote-preferences-toggle>summary h3{display:inline;font-size:12px;font-weight:500;line-height:1.6;margin:0}
.menu-selection>.quote-preferences-toggle>.menu-selection-hint{font-size:11px;margin:5px 0 10px}
.menu-selection>.quote-preferences-toggle>details{margin-left:0}
.quote-payment-help{border-top:1px solid var(--line);margin-top:14px;color:var(--muted);font-size:11px;line-height:1.7}
.quote-payment-help>summary{color:var(--text,#fff);min-height:44px;padding:12px 0;cursor:pointer;font-size:11px}
.quote-payment-help>summary:focus-visible{outline:2px solid #fff;outline-offset:4px}
.quote-payment-help dl{margin:0 0 12px}
.quote-payment-help dt{font-weight:500;color:var(--text,#fff);margin-top:10px}
.quote-payment-help dd{margin:3px 0 0}
.quote-clarity-active #quote-credit-pending{display:none}
@media(max-width:600px){.quote-event-overview .metrics{gap:10px}.quote-event-overview .metric strong{font-size:26px}.quote-event-overview .menu-summary{font-size:12px}.menu-selection[data-contextual=true] .menu-selection-grid{grid-template-columns:minmax(0,1fr)}}
/* The existing result-heading action replaces the lower duplicate. The
   measured dock spacer still protects the end of the budget content. */
.flow:has(#step-2:not([hidden]))>.nav{display:none}
