.pd-body { --pd-verde: #0f7f46; --pd-suave: #5f5560; --pd-borda: #e4dde1; background: #f5f3f4; }
.pd-body [hidden] { display: none !important; }
.pd-head { background: #fff; border-bottom: 1px solid var(--pd-borda); }
.pd-main { width: min(100% - 32px, 560px); margin-inline: auto; padding-block: 28px 56px; }
.pd-main h1 { margin-bottom: 8px; color: var(--tinta); font-family: var(--sans); font-size: clamp(24px, 5vw, 30px); font-weight: 800; }
.pd-card { padding: 24px; border: 1px solid var(--pd-borda); border-radius: 15px; background: #fff; }
.pd-sub { margin: 0 0 16px; color: var(--pd-suave); font-size: 14px; line-height: 1.5; }
.pd-valor { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: var(--tinta); font-weight: 700; }
.pd-valor strong { color: var(--pd-verde); font-size: 28px; font-weight: 800; }
.pd-tempo { margin: 0 0 14px; padding: 9px 12px; border-radius: 10px; background: var(--rosa-claro); color: var(--rosa-escuro); font-size: 14px; font-weight: 700; text-align: center; }
.pd-qr { display: block; width: min(100%, 280px); height: auto; margin: 0 auto 16px; border: 1px solid var(--pd-borda); border-radius: 10px; background: #fff; }
.pd-card label { display: block; margin-bottom: 4px; color: var(--tinta); font-size: 13px; font-weight: 700; }
.pd-copia { width: 100%; height: 76px; padding: 10px; border: 1px solid #8f7a85; border-radius: 10px; color: var(--tinta); font: 12px/1.4 monospace; resize: none; }
.pd-acao { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 54px; margin-top: 12px; padding: 8px 20px; border: 0; border-radius: 99px; background: var(--pd-verde); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; }
.pd-acao:hover { background: #0b6336; }
.pd-acao:disabled { opacity: .7; cursor: wait; }
.pd-passos { margin: 18px 0 0; padding-left: 20px; color: #3f3038; font-size: 13.5px; line-height: 1.7; }
.pd-cod { margin: 14px 0 0; color: var(--pd-suave); font-size: 12.5px; overflow-wrap: anywhere; }
.pd-ok { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--pd-verde); color: #fff; font-size: 30px; }
.pd-centro { text-align: center; }

.ras-campos { display: grid; gap: 12px; }
.ras-campo { display: flex; flex-direction: column; gap: 4px; }
.ras-campo label { margin: 0; }
.ras-campo input { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid #8f7a85; border-radius: 10px; background: #fff; color: var(--tinta); font: inherit; font-size: 16px; }
.ras-campo input:focus-visible { outline: 3px solid var(--rosa-escuro); outline-offset: 1px; }
.ras-campo [aria-invalid="true"] { border: 2px solid #b00020; }
.ras-erro { color: #b00020; font-size: 12.5px; font-weight: 600; }
.ras-aviso { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--rosa-escuro); border-radius: 10px; background: var(--rosa-claro); color: var(--tinta); font-size: 13.5px; font-weight: 600; }
.ras-resultado { margin-top: 18px; outline: none; }
.ras-resultado h2 { margin-bottom: 10px; color: var(--tinta); font-family: var(--sans); font-size: 18px; font-weight: 800; }
.ras-card { margin-bottom: 12px; padding: 18px; border: 1px solid var(--pd-borda); border-radius: 15px; background: #fff; }
.ras-card__topo { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ras-card h3 { margin: 0; color: var(--tinta); font-size: 14px; overflow-wrap: anywhere; }
.ras-card__topo p { margin: 2px 0 0; color: var(--pd-suave); font-size: 13px; }
.ras-status { padding: 3px 10px; border-radius: 99px; background: #5d4f56; color: #fff; font-size: 12px; font-weight: 700; }
.ras-status--pago { background: var(--pd-verde); }
.ras-ver { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; border: 1px solid var(--rosa-escuro); border-radius: 99px; background: #fff; color: var(--rosa-escuro); font-size: 14px; font-weight: 700; text-decoration: none; }
.ras-detalhe { margin-top: 14px; }
.ras-etapas { margin: 0 0 12px; padding: 0; list-style: none; }
.ras-etapas li { position: relative; min-height: 34px; padding-left: 30px; color: var(--pd-suave); font-size: 14px; }
.ras-etapas li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border: 2px solid #b8a9b1; border-radius: 50%; background: #fff; }
.ras-etapas li::after { content: ""; position: absolute; left: 11px; top: 21px; bottom: -3px; width: 2px; background: #d8ccd2; }
.ras-etapas li:last-child::after { display: none; }
.ras-etapas .is-feito, .ras-etapas .is-atual { color: var(--tinta); font-weight: 700; }
.ras-etapas .is-feito::before, .ras-etapas .is-atual::before { border-color: var(--pd-verde); background: var(--pd-verde); }
.ras-etapas .is-feito::after { background: var(--pd-verde); }
.ras-info { margin: 0 0 6px; color: #3f3038; font-size: 13.5px; overflow-wrap: anywhere; }
.ras-itens { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #dcc9d2; color: #3f3038; font-size: 13px; line-height: 1.7; }
