/* A proposta usa os componentes e tokens partilhados do site. Este ficheiro
   trata apenas da composição específica do fluxo de contratação. */
.proposal-page { display: flex; min-height: 100vh; min-height: 100svh; flex-direction: column; background: var(--navy); scrollbar-gutter: stable; }
.proposal-page [hidden] { display: none !important; }
.proposal-main { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; min-height: calc(100svh - 72px); padding: 104px 0 32px; box-sizing: border-box; }
.proposal-wrap { margin-block: auto; padding-block: 0; }
.proposal-status { margin: 0 0 28px; font-size: .92rem; }
.proposal-status::before {
  content: "i"; display: grid; flex: none; width: 20px; height: 20px; place-items: center;
  border: 1px solid color-mix(in srgb, var(--orange) 45%, var(--line)); border-radius: 50%;
  color: var(--orange); font-size: .76rem; font-weight: 700;
}
.proposal-status[hidden] { display: none; }
.proposal-status.is-error {
  width: max-content; max-width: 100%; margin: 0 auto; padding: 16px; box-sizing: border-box;
  align-items: center; justify-content: center; border: 0; background: transparent;
  color: var(--text); text-align: center; overflow-wrap: anywhere;
}
.proposal-followup { width: min(100%, 900px); margin: clamp(18px, 4vw, 42px) auto 0; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--navy-2); box-shadow: var(--shadow-card); }
.proposal-followup[hidden] { display: none !important; }
.proposal-followup .hero__kicker { margin-bottom: 12px; }
.proposal-followup .hero__title { max-width: 760px; font-size: clamp(2rem, 4.2vw, 3.25rem); white-space: normal; }
.proposal-followup > .hero__lead { max-width: 760px; margin-top: 14px; }
.proposal-followup__protocol { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy); }
.proposal-followup__protocol span { color: var(--muted); font-size: .88rem; }
.proposal-followup__protocol strong { font-size: 1rem; letter-spacing: .04em; }
.proposal-followup__state { display: flex; align-items: flex-start; gap: 15px; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy); transition: border-color .28s ease, background-color .28s ease, transform .28s ease; }
.proposal-followup__icon { display: grid; flex: none; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 1.25rem; font-weight: 700; }
.proposal-followup__state h2 { margin: 2px 0 6px; font-size: 1.08rem; letter-spacing: -.01em; }
.proposal-followup__state p { margin: 0; color: var(--muted); font-size: .94rem; line-height: var(--copy-line); }
.proposal-followup__state.is-ready { border-color: color-mix(in srgb, #6AB58A 50%, var(--line)); background: color-mix(in srgb, #6AB58A 7%, var(--navy)); }
.proposal-followup__state.is-ready .proposal-followup__icon { border-color: color-mix(in srgb, #6AB58A 60%, var(--line)); color: #82C99D; }
.proposal-followup__state.is-error .proposal-followup__icon, .proposal-followup__error { color: var(--orange); }
.proposal-followup__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.proposal-followup__actions .btn { min-height: 46px; }
.proposal-followup__actions .btn:disabled { opacity: .65; cursor: wait; }
.proposal-followup__error { margin: 14px 0 0; font-size: .9rem; line-height: var(--copy-line); }
.proposal-followup__error[hidden] { display: none !important; }
.proposal-greeting { max-width: none; margin: 0; color: var(--muted); font-size: .93rem; font-weight: 500; letter-spacing: 0; line-height: 1.55; }
.proposal-greeting[hidden] { display: none !important; }

.proposal-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.proposal-layout.has-payment { grid-template-rows: auto; align-items: stretch; }
.proposal-left-column { display: grid; width: 100%; box-sizing: border-box; align-self: stretch; grid-template-rows: minmax(0, 1fr); min-width: 0; min-height: 0; gap: 18px; }
.proposal-order { align-self: stretch; min-width: 0; min-height: 0; height: auto; gap: 18px; text-align: left; }
.proposal-layout:has(.proposal-items li:nth-child(2)) { align-items: stretch; }
.proposal-order .plan__badge { margin: 0; }
.proposal-service-heading { display: flex; align-items: center; min-width: 0; }
.proposal-service-heading h2 { min-width: 0; margin: 0; font-size: clamp(1.08rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.proposal-price { margin: 0; color: var(--text); }
.proposal-order > .plan__note { margin: 0; }
.proposal-section { padding-top: 12px; border-top: 1px solid var(--line); }
.proposal-section[aria-label="Demandas desta proposta"] { padding-top: 0; border-top: 0; }
.proposal-items { gap: 12px; margin: 0; padding: 0; list-style: none; }
.proposal-items li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 20px; padding: 0 0 0 22px; }
.proposal-items li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--orange); }
.proposal-item-detail { display: grid; min-width: 0; gap: 4px; }
.proposal-item-detail strong { color: var(--text); font-size: .95rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.proposal-item-detail span { color: var(--muted); font-size: .87rem; line-height: 1.5; }
.proposal-item-price { align-self: baseline; color: var(--text); font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; }
.proposal-delivery h3 { margin: 0; font-size: .96rem; }
.proposal-scope { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
  .proposal-scope.is-pending { color: var(--accent); }
  .proposal-scope-alert { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .proposal-scope-alert h2 { margin: 0 0 6px; font-size: .96rem; }
  .proposal-scope-alert p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.proposal-audit, .proposal-receipt-note { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.proposal-receipt__tracking { display: grid; gap: 10px; margin-top: 6px; padding: 16px; border: 1px solid color-mix(in srgb, #72C493 42%, var(--line)); border-radius: var(--radius-control); background: color-mix(in srgb, #72C493 6%, var(--navy-2)); }
.proposal-receipt__tracking .hero__kicker { margin: 0; color: #82C99D; font-size: .72rem; }
.proposal-receipt__tracking h3 { margin: 0; color: var(--text); font-size: 1rem; }
.proposal-receipt__tracking > p:not(.hero__kicker) { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.proposal-receipt__tracking > .proposal-receipt__forecast { padding-top: 10px; border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.proposal-signature { align-items: flex-start; margin-top: 2px; padding-block: 12px; border-top: 1px solid var(--line); }
.proposal-signature[hidden] { display: none; }
.proposal-signature__facts { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 4px; }
.proposal-signature__facts p { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; min-width: 0; gap: 1px 10px; margin: 0; }
.proposal-signature__facts p > .proposal-signature__label { grid-column: 2; color: var(--muted); font-size: .82rem; }
.proposal-signature__facts small { color: var(--muted); font-size: .82rem; }
.proposal-signature__check { display: grid; grid-row: 1; width: 26px; height: 26px; place-items: center; border: 1px solid color-mix(in srgb, #72C493 72%, var(--line)); border-radius: 50%; background: color-mix(in srgb, #72C493 12%, var(--navy-2)); color: #82C99D; font-size: 1rem; font-weight: 700; line-height: 1; }
.proposal-signature__facts strong { grid-column: 2; color: var(--text); font-size: .95rem; overflow-wrap: anywhere; }
.proposal-signature__facts small { grid-column: 1; margin-top: 1px; padding-left: 38px; }
.proposal-execution-note { display: grid; gap: 12px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.6; }
.proposal-execution-note[hidden] { display: none !important; }
.proposal-execution-note p { margin: 0; }
.proposal-execution-deadline { color: var(--text); }
.proposal-execution-deadline strong { font-weight: 700; }
.proposal-execution-guidance { display: block; }

.proposal-sidebar { display: grid; width: 100%; box-sizing: border-box; grid-template-columns: minmax(0, 1fr); align-content: start; min-width: 0; gap: 16px; text-align: left; }
.proposal-os-link { display: flex; width: 100%; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--orange) 42%, var(--line)); border-radius: var(--radius-control); background: color-mix(in srgb, var(--orange) 8%, var(--navy-2)); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.proposal-os-link:hover { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 13%, var(--navy-2)); transform: translateY(-1px); }
.proposal-os-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.proposal-os-link.is-attention { animation: proposal-os-reminder 5s ease-in-out infinite; }
@keyframes proposal-os-reminder {
  0%, 88%, 100% { transform: translateY(0); }
  91% { transform: translateY(-1px); }
  94% { transform: translateY(0); }
  97% { transform: translateY(-.5px); }
}
.proposal-os-link__icon { flex: none; width: 23px; height: 23px; color: var(--orange); stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.proposal-os-link__text { display: grid; min-width: 0; gap: 3px; }
.proposal-os-link__text > span { color: var(--text); font-size: .94rem; font-weight: 700; }
.proposal-os-link__text > small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.proposal-signature-hint { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.proposal-pdf-dialog__actions[hidden] { display: none; }
.proposal-params { grid-area: auto; width: 100%; }
.proposal-params dl > div { gap: 14px; padding: 12px 0; }
.proposal-params dt, .proposal-params dd { font-size: .9rem; }
.proposal-params dd { max-width: none; overflow-wrap: anywhere; }
.proposal-phases { min-width: 0; padding: 0; border: 0; background: transparent; }
.proposal-phases .phases__title { margin: 0; font-size: 1.02rem; }
.proposal-phases .phases__track { margin-top: 14px; }
.proposal-phases .phases__line { inset: 7px 0 auto; width: auto; height: 2px; background: var(--line); }
.proposal-phases .phases__line span { transform: scaleX(var(--phase-progress, 0)); transform-origin: left; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.proposal-phases .phases__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.proposal-phases .phases__list li { min-width: 0; padding: 28px 0 0; }
.proposal-phases .phases__list li::before { top: 0; }
.proposal-phases .phases__list li:nth-child(2) { text-align: center; }
.proposal-phases .phases__list li:nth-child(2)::before { left: 50%; transform: translateX(-50%) scale(.72); }
.proposal-phases .phases__list li:nth-child(2).is-on::before { transform: translateX(-50%) scale(1); }
.proposal-phases .phases__list li:nth-child(3) { text-align: right; }
.proposal-phases .phases__list li:nth-child(3)::before { right: 0; left: auto; }
.proposal-phases .phases__list h3 { font-size: .88rem; }
.proposal-phases .phases__list p { max-width: none; margin-top: 3px; font-size: .76rem; line-height: 1.4; }
.proposal-phases .phases__list li[aria-current="step"] h3 { color: var(--orange); }

.proposal-panel { display: grid; min-width: 0; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.proposal-panel[data-accept-panel] { padding-top: 20px; border-top: 1px solid var(--line); }
.proposal-panel[hidden], .proposal-pix[hidden], .proposal-ticket[hidden], [data-receipt][hidden] { display: none; }
.proposal-panel [hidden] { display: none; }
.proposal-panel h2 { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.proposal-payment-method-label { color: var(--muted); font-size: .82rem; font-weight: 500; letter-spacing: 0; }
.proposal-panel[data-payment-panel] { gap: 6px; padding-top: 14px; }
.proposal-panel[data-payment-panel].is-payment-retry > .proposal-payment-brick { margin-top: 28px; }
.proposal-panel > p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.proposal-panel form { display: grid; gap: 16px; margin-top: 3px; }
.proposal-signature-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.proposal-panel .request-field label { margin-bottom: 8px; }
.proposal-panel .request-field input, .proposal-panel .request-field textarea { width: 100%; min-width: 0; }
.proposal-panel .request-consent { color: var(--muted); font-size: .8rem; }
.proposal-panel .request-consent span { white-space: nowrap; }
.proposal-accept-status { margin: -7px 0 0; color: var(--danger, #f18a8a); font-size: .84rem; line-height: 1.45; }
.proposal-accept-status[hidden] { display: none; }
.proposal-audit { margin-top: -3px; }
.proposal-primary { width: 100%; min-height: 48px; }
.proposal-payment-methods { display: grid; grid-column: 1 / -1; justify-self: stretch; gap: 8px; width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; border: 0; box-sizing: border-box; }
.proposal-payment-methods legend { margin: 0 0 3px; color: var(--text); font-size: .88rem; font-weight: 600; }
.proposal-payment-option { display: grid; gap: 8px; min-width: 0; }
.proposal-payment-option__details:empty { display: none; }
.proposal-payment-option__details:not(:empty) { display: grid; grid-template-rows: 1fr; min-width: 0; opacity: 1; transform: translateY(0); transition: grid-template-rows .23s ease, opacity .23s ease, transform .23s ease; }
.proposal-payment-option__details.is-closing, .proposal-payment-option__details.is-opening { grid-template-rows: 0fr; opacity: 0; transform: translateY(-9px); overflow: hidden; }
.proposal-payment-details { display: grid; min-height: 0; gap: 10px; overflow: hidden; }
.proposal-payment-method { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy-2); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.proposal-payment-method:has(input:checked) { border-color: color-mix(in srgb, var(--orange) 72%, var(--line)); background: color-mix(in srgb, var(--orange) 8%, var(--navy-2)); }
.proposal-payment-method input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--orange); }
.proposal-payment-method input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.proposal-payment-method > span { display: grid; gap: 2px; min-width: 0; }
.proposal-payment-method strong { color: var(--text); font-size: .88rem; font-weight: 600; }
.proposal-payment-method small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.proposal-method-unavailable, .proposal-method-demo { padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy-2); color: var(--muted); font-size: .82rem !important; }
.proposal-payment-demo-alt { display: grid; gap: 8px; justify-items: start; padding: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-control); background: var(--navy-2); }
.proposal-payment-demo-alt .hero__kicker { margin: 0; font-size: .7rem; }
.proposal-payment-demo-alt p { margin: 0; color: var(--text); font-size: .9rem; font-weight: 600; }
.proposal-payment-brick { display: grid; gap: 12px; width: 100%; max-width: none; min-width: 0; padding: 2px 0; background: transparent; }
.proposal-payment-brick[hidden], .proposal-payment-local[hidden] { display: none !important; }
[data-payment-brick] { display: block; width: 100%; max-width: none; min-width: 0; margin-inline: 0; background: transparent; }
[data-payment-brick] > *, [data-payment-brick] iframe { width: 100% !important; max-width: 100% !important; }
.proposal-payment-retry { width: 100%; min-height: 44px; }
.proposal-brick-submit { width: 100%; min-height: 52px; margin: 0; font-size: 1rem; font-weight: 650; }
.proposal-brick-submit { margin-top: 0; transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease; }
.proposal-brick-submit:disabled { border-color: var(--line); background: var(--surface-hover); color: var(--muted); opacity: 1; cursor: not-allowed; }
.proposal-open-payment { width: 100%; min-height: 46px; }
.proposal-panel[data-payment-panel] { width: 100%; text-align: left; }
.proposal-panel[data-payment-panel] > .proposal-payment-state,
.proposal-payment-state--intro, .proposal-payment-method-note,
.proposal-payment-loading, .proposal-pix__expires, .proposal-demo-note,
.proposal-ticket { text-align: left; }
.proposal-payment-method-note { margin: -6px 0 2px; }
.proposal-payment-loading { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.proposal-loading-spinner { display: inline-block; flex: none; width: 17px; height: 17px; border: 2px solid color-mix(in srgb, var(--orange) 28%, transparent); border-top-color: var(--orange); border-radius: 50%; animation: proposal-spinner .72s linear infinite; }
@keyframes proposal-spinner { to { transform: rotate(360deg); } }
.proposal-payment-brick [data-payment-brick] { opacity: 0; }
.proposal-payment-brick.is-loaded [data-payment-brick] { opacity: 1; animation: proposal-methods-enter .42s cubic-bezier(.22,.61,.36,1) both; }
@keyframes proposal-methods-enter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.proposal-payment-brick.is-method-error { border-radius: var(--radius-control); box-shadow: 0 0 0 2px #e57474; animation: proposal-methods-error .42s ease both; }
@keyframes proposal-methods-error { 15%, 45%, 75% { transform: translateX(-5px); border-color: #e57474; } 30%, 60%, 90% { transform: translateX(5px); border-color: #e57474; } 100% { transform: translateX(0); border-color: color-mix(in srgb, #e57474 60%, var(--line)); } }
.proposal-payment-brick, .proposal-payment-local, .proposal-payment-methods,
.proposal-payment-option, .proposal-payment-option__details, .proposal-pix,
.proposal-payment-instructions, .proposal-card-payment, #mp-card-payment { justify-self: stretch; width: 100%; max-width: none; min-width: 0; box-sizing: border-box; }
.proposal-payment-brick, .proposal-payment-local { width: calc(100% + 28px); margin-inline: -14px; }
.proposal-pix__copy-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 9px 8px 13px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy); }
.proposal-pix__copy-preview { min-width: 0; overflow: hidden; color: var(--muted); font: 500 .82rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .025em; text-overflow: ellipsis; white-space: nowrap; }
.proposal-pix__copy-row .proposal-copy { width: auto; flex: none; min-height: 40px; padding-inline: 13px; }
.proposal-payment-instructions { display: grid; justify-items: start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy); }
.proposal-payment-instructions[hidden] { display: none !important; }
.proposal-payment-instructions p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.proposal-payment-instructions .btn { width: 100%; min-height: 42px; }
.proposal-payment-actions { display: grid; gap: 9px; width: 100%; }
.proposal-payment-actions[hidden], .proposal-payment-actions > [hidden] { display: none !important; }
.proposal-payment-actions .proposal-ticket { justify-self: stretch; width: 100%; padding: 10px 0; }
.proposal-payment-actions .proposal-brick-submit, .proposal-payment-actions .proposal-switch-payment { width: 100%; }
.proposal-payment-brick > [data-submit-payment-brick] { display: block; }
.proposal-card-payment { display: grid; min-width: 0; gap: 12px; padding-top: 4px; }
.proposal-card-payment .proposal-payment-state { text-align: left; }
#mp-card-payment { min-width: 0; }
.proposal-pix { display: grid; gap: 13px; padding-top: 6px; }
.proposal-qr { width: 100%; aspect-ratio: 1; justify-self: stretch; padding: 9px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; object-fit: contain; }
.proposal-pix__expires, .proposal-payment-state { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.5; text-align: left; }
.proposal-copy { width: 100%; }
.proposal-demo-confirm { width: 100%; min-height: 48px; }
.proposal-demo-note { text-align: left; }
.proposal-demo-confirm[hidden], .proposal-demo-note[hidden] { display: none; }
.proposal-ticket { justify-self: start; color: var(--muted); font-size: .85rem; text-underline-offset: 3px; }
.proposal-switch-payment { width: 100%; min-height: 42px; }
.proposal-receipt { padding-top: 20px; }
.proposal-receipt .hero__kicker { margin: 0; }
.proposal-receipt__facts { display: grid; gap: 0; margin: 0; }
.proposal-receipt__facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.proposal-receipt__facts dt { color: var(--muted); font-size: .88rem; }
.proposal-receipt__facts dd { max-width: 58%; margin: 0; text-align: right; font-size: .88rem; font-weight: 600; overflow-wrap: anywhere; }

.proposal-pdf-dialog { width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--navy-2); color: var(--text); box-shadow: 0 28px 90px rgb(0 0 0 / 42%); }
.proposal-pdf-dialog[open] { display: block; animation: proposal-dialog-enter .22s cubic-bezier(.22,.61,.36,1) both; }
.proposal-pdf-dialog::backdrop { background: rgb(3 8 16 / 76%); backdrop-filter: blur(4px); }
@keyframes proposal-dialog-enter { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.proposal-pdf-dialog__content { display: grid; grid-template-rows: auto auto minmax(260px, 1fr); gap: 14px; height: min(88vh, 920px); padding: 20px; }
.proposal-pdf-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.proposal-pdf-dialog__header .hero__kicker { margin: 0 0 4px; font-size: .72rem; }
.proposal-pdf-dialog__header h2 { margin: 0; font-size: 1.2rem; }
.proposal-pdf-dialog__close { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--navy); color: var(--text); font: 400 1.7rem/1 var(--font); cursor: pointer; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.proposal-pdf-dialog__close:hover { border-color: var(--orange); color: var(--orange); }
.proposal-pdf-dialog__close:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.proposal-pdf-dialog__note { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.proposal-pdf-frame { width: 100%; height: 100%; min-height: 0; border: 1px solid var(--line); border-radius: var(--radius-control); background: #fff; }

@media (max-width: 960px) {
  .proposal-main { justify-content: flex-start; padding: var(--mobile-content-start, max(120px, calc(var(--topbar-content-offset, 88px) + 20px))) 0 32px; }
  .proposal-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .proposal-order, .proposal-sidebar { padding: 28px; }
}
@media (max-width: 760px) {
  .proposal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .proposal-signature-fields { grid-template-columns: minmax(0, 1fr); }
  .proposal-sidebar { gap: 18px; }
  .proposal-panel .request-consent span { white-space: normal; }
}
@media (max-width: 520px) {
  .proposal-followup { margin-top: 10px; padding: 24px 18px; }
  .proposal-followup__protocol { align-items: flex-start; flex-direction: column; gap: 4px; }
  .proposal-followup__state { padding: 14px; gap: 12px; }
  .proposal-followup__actions { align-items: stretch; flex-direction: column; }
  .proposal-followup__actions .btn, .proposal-followup__actions .link { width: 100%; text-align: center; }
  .proposal-status { margin-bottom: 22px; }
  .proposal-order, .proposal-sidebar { padding: 22px; }
  .proposal-service-heading { align-items: flex-start; }
  .proposal-items li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .proposal-item-price { justify-self: start; }
  .proposal-phases .phases__list { gap: 8px; }
  .proposal-phases .phases__list h3 { font-size: .82rem; }
  .proposal-phases .phases__list p { font-size: .7rem; }
  .proposal-service-heading h2 { font-size: clamp(.98rem, 4.15vw, 1.18rem); }
  .proposal-pix__copy-row { align-items: stretch; flex-direction: column; }
  .proposal-pix__copy-row .proposal-copy { width: 100%; }
  .proposal-pdf-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 12px; }
  .proposal-pdf-dialog__content { height: calc(94vh - 16px); gap: 10px; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .proposal-phases .phases__line span, .proposal-os-link, .proposal-payment-method, .proposal-pdf-dialog__close, .proposal-followup__state { transition: none; }
  .proposal-os-link.is-attention { animation: none; }
  .proposal-pdf-dialog[open] { animation: none; }
  .proposal-payment-option__details:not(:empty) { transition: none; }
  .proposal-loading-spinner { animation-duration: 1.5s; }
  .proposal-payment-brick.is-loaded [data-payment-brick], .proposal-payment-brick.is-method-error { animation: none; }
}

@media print {
  .proposal-page > *, .proposal-page .proposal-order, .proposal-page .proposal-sidebar,
  .proposal-page .proposal-pdf-dialog { display: none !important; }
}
