/* V30: asistente compacto de registro */
.xp30-wizard{max-width:1050px;margin:0 auto;scroll-margin-top:100px;color:#183b4f}
.xp30-wizard [hidden]{display:none!important}
.xp30-wizard .v26-client-top{margin:0 0 12px;justify-content:flex-end}
.xp30-choose,.xp30-scan-pane,.xp30-wizard #xpNewClientPanel{background:#fff;border:1px solid #dce5e9;border-radius:16px;padding:clamp(18px,3vw,32px);box-shadow:0 5px 22px #14394b08;margin:0 0 20px}
.xp30-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#087f78;margin-bottom:12px}
.xp30-wizard h2{font-size:25px;line-height:1.2;margin:0 0 8px;color:#16394b;letter-spacing:-.025em}.xp30-choose>p,.xp30-scan-pane>p,.xp30-heading>p{color:#667c8a;font-size:14px;margin:0 0 24px}
.xp30-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.xp30-choice-grid .xp30-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;background:#f8fafb;color:#15394a;border:1px solid #d8e5e8;border-radius:13px;padding:22px;box-shadow:none;min-height:175px;white-space:normal;transform:none;transition:background .18s,border-color .18s,box-shadow .18s}.xp30-choice-grid .xp30-choice:hover,.xp30-choice-grid .xp30-choice:focus-visible{background:#edf8f6;color:#15394a;border-color:#85c2bb;box-shadow:0 3px 12px #16857e12;transform:none}.xp30-choice strong{font-size:18px}.xp30-choice small{font-weight:400;font-size:13px;color:#647987}.xp30-choice-icon{width:42px;height:42px;background:#e1f3ef;border-radius:10px;display:grid;place-items:center;color:#087f78}.xp30-choice-icon.manual{background:#f5eee2;color:#a66c1b}.xp30-choice-icon svg{width:24px;height:24px}.xp30-choice-link{font-size:12px;color:#087f78;font-weight:700;margin-top:5px}
.xp30-scan-pane .v26-scanner{border:0;padding:0;margin:0;background:transparent}.xp30-scan-pane .xp14-id-box{padding:0;border:0;background:transparent}.xp30-scan-pane .xp14-id-grid{gap:16px}.xp30-scan-pane .xp14-id-actions{margin:16px 0 12px}.xp30-scan-pane .xp14-id-privacy{font-size:12px}.xp30-scan-actions{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e7ecee;margin-top:18px;padding-top:18px}
.xp30-progress{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e4eaed;padding-bottom:18px;margin-bottom:24px}.xp30-progress-item{flex:1 1 auto;text-align:center;font-size:12px;font-weight:650;color:#687c87;background:#f4f6f7;padding:9px 8px;border-radius:7px;white-space:nowrap}.xp30-progress-item.current{background:#087f78;color:#fff}.xp30-progress-item.done{background:#e4f3ef;color:#087f78}
.xp30-wizard .xp13-section{margin:0 0 15px;border:0;box-shadow:none;overflow:visible}.xp30-wizard .xp13-section>summary{display:none}.xp30-wizard .xp13-section>.xp13-inside{padding:0}.xp30-wizard .xp13-section>.xp13-inside>p:first-child{display:none}.xp30-wizard .xp13-section .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.xp30-wizard .xp13-section .fields label{font-size:12px;font-weight:650;color:#36586a}.xp30-wizard .xp13-section .fields input,.xp30-wizard .xp13-section .fields select{min-height:42px}.xp30-wizard .xp13-section .xp14-extra-identity{padding:12px 0;background:transparent;border:0}.xp30-wizard .xp14-extra-identity h4{margin:0 0 12px;font-size:14px}.xp30-extra{grid-column:1/-1;border:1px solid #e1e8eb;border-radius:10px;padding:0 12px;margin:10px 0 14px}.xp30-extra>summary{font-size:13px;font-weight:650;color:#36586a;cursor:pointer;padding:12px 0;display:list-item!important;background:none!important;border:0!important}.xp30-extra>summary:after{display:none!important}.xp30-extra[open]>.fields{padding-bottom:12px}.xp30-wizard .xp13-section:nth-of-type(4)>summary,.xp30-wizard .xp13-section:nth-of-type(5)>summary{display:flex;background:#f2f7f7;border:1px solid #e0e8eb;border-radius:9px}.xp30-wizard .xp13-section:nth-of-type(4)>.xp13-inside,.xp30-wizard .xp13-section:nth-of-type(5)>.xp13-inside{padding:16px 0}
.xp30-footer{border-top:1px solid #e4eaed;padding-top:20px;margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.xp30-footer-left,.xp30-footer-right{display:flex;gap:8px;flex-wrap:wrap}.xp30-footer button{min-height:40px;transform:none!important}.xp30-review{background:#f6f9fa;border:1px solid #e1e8eb;border-radius:10px;padding:16px;margin-bottom:22px}.xp30-review h3{margin:0 0 12px;font-size:16px}.xp30-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.xp30-review-grid small{display:block;color:#657b88;font-size:12px}.xp30-review-grid strong{display:block;font-size:14px;overflow-wrap:anywhere}.xp30-wizard .xp13-warning{font-size:12px;color:#745624;line-height:1.45}.xp30-wizard .xp13-intro{font-size:12px}
@media(max-width:650px){.xp30-choice-grid,.xp30-wizard .xp13-section .fields,.xp30-review-grid{grid-template-columns:1fr}.xp30-choice-grid .xp30-choice{min-height:140px;padding:16px}.xp30-progress{gap:4px}.xp30-progress-item{font-size:10px;padding:7px 4px}.xp30-wizard h2{font-size:21px}.xp30-footer-left,.xp30-footer-right{width:100%}.xp30-footer button{flex:1}.xp30-scan-actions{flex-wrap:wrap}}
/* Override legacy global button gradients for the two entry cards. */
.xp30-wizard .xp30-choice-grid button.xp30-choice{background:#f8fafb!important;color:#15394a!important;box-shadow:none!important;filter:none!important;transform:none!important}
.xp30-wizard .xp30-choice-grid button.xp30-choice:hover,.xp30-wizard .xp30-choice-grid button.xp30-choice:focus-visible{background:#eaf6f3!important;color:#15394a!important;border-color:#85c2bb!important;box-shadow:0 3px 12px #16857e12!important}
.xp30-wizard #xpNewClientPanel{scroll-margin-top:115px}
.xp30-wizard .xp13-inside>.xp30-original-desc{display:none}

.xp31-raw{margin-top:12px;border:1px solid #d7e4e7;padding:12px;border-radius:10px}.xp31-raw summary{cursor:pointer;font-weight:600;color:#18546a}.xp31-raw textarea{width:100%;margin-top:8px;resize:vertical;font:13px monospace;white-space:pre-wrap;box-sizing:border-box}
