.taxpuente-diagnostic{--tp-petrol:#073f46;--tp-blue:#245fe5;--tp-coral:#ff6c5f;--tp-ink:#081921;--tp-paper:#f4f7f7;--tp-line:#b9c8c8;color:var(--tp-ink)}
.taxpuente-diagnostic .diagnostic-dialog{width:min(1040px,calc(100% - 34px));max-height:calc(100vh - 34px);margin:auto;padding:0;border:2px solid var(--tp-ink);border-radius:0;background:var(--tp-paper);box-shadow:9px 9px 0 var(--tp-ink);overflow:auto}
.taxpuente-diagnostic .diagnostic-dialog::backdrop{background:rgba(8,25,33,.82);backdrop-filter:blur(3px)}
.taxpuente-diagnostic .dialog-shell{min-height:620px;display:flex;flex-direction:column}
.taxpuente-diagnostic .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:var(--tp-petrol);color:#fff;border-bottom:2px solid var(--tp-ink)}
.taxpuente-diagnostic .dialog-brand{font-size:1.25rem;font-weight:950;letter-spacing:-.05em}.taxpuente-diagnostic .dialog-brand span{color:var(--tp-coral)}
.taxpuente-diagnostic .dialog-close{width:46px;height:46px;border:2px solid #fff;background:transparent;color:#fff;font-size:1.5rem;cursor:pointer}
.taxpuente-diagnostic .dialog-close:focus-visible,.taxpuente-diagnostic button:focus-visible,.taxpuente-diagnostic input:focus-visible+.answer-control{outline:4px solid var(--tp-coral);outline-offset:3px}
.taxpuente-diagnostic .diagnostic-required-notice{padding:13px 24px;background:#fff4db;border-bottom:1px solid var(--tp-ink);font-size:.78rem;line-height:1.45}
.taxpuente-diagnostic .wizard-progress-wrap{padding:18px 28px 0}.taxpuente-diagnostic .wizard-progress-meta{display:flex;justify-content:space-between;font:800 .7rem ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.taxpuente-diagnostic .wizard-progress{height:7px;margin-top:8px;background:#ccd7d7;border:1px solid var(--tp-ink)}.taxpuente-diagnostic .wizard-progress>span{display:block;height:100%;width:25%;background:var(--tp-blue);transition:width .2s}
.taxpuente-diagnostic .wizard-body{flex:1;padding:32px clamp(24px,6vw,72px)}.taxpuente-diagnostic .wizard-kicker{margin:0 0 10px;color:var(--tp-blue);font:900 .72rem ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.13em}.taxpuente-diagnostic .wizard-body h2{max-width:780px;margin:0 0 12px;font-size:clamp(2rem,4vw,3.6rem);line-height:1;letter-spacing:-.05em}.taxpuente-diagnostic .wizard-prompt{color:#52666b;max-width:760px}
.taxpuente-diagnostic .answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:26px}.taxpuente-diagnostic .answer-option{position:relative;display:grid;grid-template-columns:24px 1fr;gap:13px;align-items:start;min-height:92px;padding:17px;background:#fff;border:2px solid var(--tp-ink);cursor:pointer}.taxpuente-diagnostic .answer-option:has(input:checked){background:#e5ebff;box-shadow:4px 4px 0 var(--tp-blue)}.taxpuente-diagnostic .answer-option input{position:absolute;opacity:0}.taxpuente-diagnostic .answer-control{display:block;width:22px;height:22px;border:2px solid var(--tp-ink);background:#fff}.taxpuente-diagnostic input[type="radio"]+.answer-control{border-radius:50%}.taxpuente-diagnostic input:checked+.answer-control{background:var(--tp-blue);box-shadow:inset 0 0 0 4px #fff}.taxpuente-diagnostic .answer-copy{font-weight:850;line-height:1.25}.taxpuente-diagnostic .answer-copy small{display:block;margin-top:6px;color:#52666b;font-weight:500}.taxpuente-diagnostic .answer-error{color:#a31515;font-weight:800}
.taxpuente-diagnostic .wizard-footer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:18px 28px;border-top:2px solid var(--tp-ink);background:#fff}.taxpuente-diagnostic .privacy-inline{text-align:center;margin:0;color:#52666b;font-size:.75rem}.taxpuente-diagnostic button:disabled{opacity:.45;cursor:not-allowed}
.taxpuente-diagnostic .result-header{display:grid;grid-template-columns:64px 1fr;gap:20px}.taxpuente-diagnostic .result-mark{display:grid;place-items:center;width:64px;height:64px;background:var(--tp-coral);border:2px solid var(--tp-ink);font-weight:950}.taxpuente-diagnostic .result-summary,.taxpuente-diagnostic .result-documents,.taxpuente-diagnostic .result-next{margin-top:18px;padding:18px;border:2px solid var(--tp-ink);background:#fff}.taxpuente-diagnostic .result-summary h3,.taxpuente-diagnostic .result-documents h3,.taxpuente-diagnostic .result-next h3{margin:0 0 8px;font-size:1.25rem}.taxpuente-diagnostic .result-summary p,.taxpuente-diagnostic .result-next p{margin-bottom:0}.taxpuente-diagnostic .result-documents ol{margin-bottom:0}.taxpuente-diagnostic .result-disclaimer{border-left:7px solid var(--tp-coral);padding:12px 16px;background:#fff4db;font-size:.78rem}.taxpuente-diagnostic .result-actions{display:flex;gap:12px;flex-wrap:wrap}.taxpuente-diagnostic .diagnostic-toast{position:fixed;right:20px;bottom:20px;z-index:9999;max-width:360px;padding:15px 18px;border:2px solid var(--tp-ink);background:var(--tp-coral);box-shadow:5px 5px 0 var(--tp-ink);font-weight:850}
@media(max-width:700px){.taxpuente-diagnostic .diagnostic-dialog{width:100%;height:100%;max-height:none}.taxpuente-diagnostic .answer-grid{grid-template-columns:1fr}.taxpuente-diagnostic .wizard-footer{grid-template-columns:1fr 1fr}.taxpuente-diagnostic .privacy-inline{grid-column:1/-1;grid-row:1}.taxpuente-diagnostic .result-header{grid-template-columns:1fr}.taxpuente-diagnostic .wizard-body{padding:26px 18px}}
@media(prefers-reduced-motion:reduce){.taxpuente-diagnostic *{scroll-behavior:auto!important;transition-duration:.01ms!important}}

