/*
 * VCR Precalificación Asalariados — capa visual VCR UI System v1.0
 * Fuente visual: Autorizaciones SUGEF frontend 0.8.12 CANÓNICO.
 * Alcance: presentación y responsive únicamente. No contiene lógica funcional.
 */

.vcrpai-shell {
    --vcrpai-blue: #0b4fb3;
    --vcrpai-title: #073e91;
    --vcrpai-primary: #2f58e8;
    --vcrpai-border: #d7dee8;
    --vcrpai-bg: #f6f8fb;
    --vcrpai-text: #172033;
    --vcrpai-muted: #5a687b;
    --vcrpai-input-border: #aeb8c6;
    --vcrpai-focus: #356fe0;
    width: 100%;
    max-width: 1180px;
    min-width: 0;
    margin: 28px auto;
    padding: 0 16px;
    color: var(--vcrpai-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    box-sizing: border-box;
}

.vcrpai-shell,
.vcrpai-shell * {
    box-sizing: border-box;
}

.vcrpai-shell *,
.vcrpai-shell *::before,
.vcrpai-shell *::after {
    min-width: 0;
}

.vcrpai-shell [hidden],
[data-vcrpai-form-wrap] [hidden] {
    display: none !important;
}

.vcrpai-form,
.vcrpai-success,
[data-vcrpai-main],
.vcrpai-section,
.vcrpai-grid,
.vcrpai-field,
.vcrpai-fieldset,
.vcrpai-alert,
.vcrpai-phone-control,
.vcrpai-phone-number-shell,
.vcrpai-debt-list,
.vcrpai-debt-card,
.vcrpai-debt-actions,
.vcrpai-debt-summary,
.vcrpai-success-inner,
.vcrpai-success-actions,
.vcrpai-prestanombre-box,
.vcrpai-prestanombre-links,
.vcrpai-no-route-links {
    min-width: 0;
    max-width: 100%;
}

.vcrpai-form {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Encabezado público, equivalente al front-head de SUGEF. */
.vcrpai-intro {
    margin: 0 0 18px;
    padding: 0;
}

.vcrpai-kicker,
.vcrpai-success-badge {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #526783;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.vcrpai-intro h2,
.vcrpai-success h2 {
    margin: 3px 0 10px;
    color: var(--vcrpai-title);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vcrpai-intro p,
.vcrpai-section-head p,
.vcrpai-submit-note,
.vcrpai-success p,
.vcrpai-success-note,
.vcrpai-field-help,
.vcrpai-field small,
.vcrpai-debt-actions small {
    color: var(--vcrpai-muted);
}

.vcrpai-intro p,
.vcrpai-section-head p,
.vcrpai-submit-note,
.vcrpai-success p,
.vcrpai-success-note {
    margin: 0;
}

/* Cards principales, equivalentes a vcr-front-card. */
.vcrpai-section,
.vcrpai-success {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 16px;
    padding: 22px;
    border: 1px solid var(--vcrpai-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.vcrpai-section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 18px;
}

.vcrpai-section-head > span {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 8px;
    background: #eef5ff;
    color: var(--vcrpai-blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.vcrpai-section-head > div {
    flex: 1 1 auto;
    min-width: 0;
}

.vcrpai-section-head h3 {
    margin: 0 0 7px;
    color: var(--vcrpai-title);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vcrpai-section-head p {
    font-size: 14px;
    line-height: 1.45;
}

/* Ritmo interno de cards. */
.vcrpai-section > .vcrpai-field + .vcrpai-field,
.vcrpai-section > .vcrpai-field + .vcrpai-alert,
.vcrpai-section > .vcrpai-alert + .vcrpai-field,
.vcrpai-section > .vcrpai-alert + .vcrpai-alert,
.vcrpai-section > .vcrpai-history-lock + .vcrpai-alert,
.vcrpai-section > .vcrpai-alert + .vcrpai-history-lock,
.vcrpai-section > .vcrpai-field + .vcrpai-history-lock,
.vcrpai-section > .vcrpai-grid + .vcrpai-field,
.vcrpai-section > .vcrpai-grid + .vcrpai-alert,
.vcrpai-section > .vcrpai-grid + .vcrpai-terms-field,
.vcrpai-section > .vcrpai-terms-field + .vcrpai-terms-field,
.vcrpai-section > .vcrpai-terms-field + .vcrpai-form-error {
    margin-top: 16px;
}

/* Grid de datos. */
.vcrpai-grid {
    display: grid;
    width: 100%;
    gap: 16px;
}

.vcrpai-grid > * {
    min-width: 0;
    max-width: 100%;
}

.vcrpai-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vcrpai-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.vcrpai-grid-full {
    grid-column: 1 / -1;
}

/* Campos, labels y ayudas. */
.vcrpai-field,
.vcrpai-terms-field {
    position: relative;
}

.vcrpai-field > label,
.vcrpai-field-label,
.vcrpai-terms-field > label,
.vcrpai-fieldset legend {
    color: var(--vcrpai-text);
    font-weight: 700;
}

.vcrpai-field > label,
.vcrpai-field-label {
    display: block;
    margin: 0 0 6px;
}

.vcrpai-field > label b,
.vcrpai-field-label b,
.vcrpai-terms-field > label b,
.vcrpai-fieldset legend b {
    color: #b42318;
}

.vcrpai-field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.vcrpai-field select,
.vcrpai-field textarea,
.vcrpai-copy-source {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--vcrpai-input-border);
    border-radius: 7px;
    background: #fff;
    color: #18212b;
    font: inherit;
    line-height: 1.3;
    outline: 0;
    transition: border-color .12s ease, outline-color .12s ease, background-color .12s ease;
}

.vcrpai-field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
.vcrpai-field select:focus,
.vcrpai-field textarea:focus,
.vcrpai-copy-source:focus {
    border-color: var(--vcrpai-focus);
    outline: 2px solid rgba(53, 111, 224, .16);
}

.vcrpai-field input[readonly],
.vcrpai-field select[disabled],
.vcrpai-field input[disabled] {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #344054;
}

.vcrpai-field input::placeholder,
.vcrpai-copy-source::placeholder {
    color: #7d8796;
    opacity: 1;
}

.vcrpai-field small,
.vcrpai-field-help {
    display: block;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vcrpai-field-help a,
.vcrpai-alert a {
    color: #174f9c;
    text-underline-offset: 2px;
}

.vcrpai-optional {
    color: var(--vcrpai-muted);
    font-size: 12px;
    font-weight: 500;
}

/* Fieldsets y opciones seleccionables. */
.vcrpai-fieldset {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.vcrpai-fieldset legend {
    width: 100%;
    max-width: 100%;
    margin: 0 0 6px;
    padding: 0;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vcrpai-radio-row,
.vcrpai-radio-stack {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
}

.vcrpai-radio-row {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.vcrpai-radio-stack {
    grid-template-columns: minmax(0, 1fr);
}

.vcrpai-radio-row label,
.vcrpai-radio-stack label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--vcrpai-border);
    border-radius: 8px;
    background: #fff;
    color: var(--vcrpai-text);
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .12s ease, background-color .12s ease, outline-color .12s ease;
    overflow-wrap: anywhere;
}

.vcrpai-radio-row label:hover,
.vcrpai-radio-stack label:hover {
    border-color: #aab8cd;
    background: #fbfcff;
}

.vcrpai-radio-row label:focus-within,
.vcrpai-radio-stack label:focus-within {
    border-color: var(--vcrpai-focus);
    outline: 2px solid rgba(53, 111, 224, .16);
}

.vcrpai-radio-row label.is-selected,
.vcrpai-radio-stack label.is-selected {
    border-color: #8eafe1;
    background: #eef5ff;
}

.vcrpai-radio-row label.is-disabled,
.vcrpai-radio-stack label.is-disabled,
.vcrpai-force-disabled {
    opacity: .58;
    cursor: not-allowed;
}

.vcrpai-radio-row input[type="radio"],
.vcrpai-radio-stack input[type="radio"],
.vcrpai-terms-field input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    padding: 0;
    accent-color: var(--vcrpai-primary);
}

.vcrpai-radio-row span,
.vcrpai-radio-stack span {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Alertas con la misma gramática visual de SUGEF. */
.vcrpai-alert {
    width: 100%;
    margin: 0 0 16px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vcrpai-section .vcrpai-alert {
    margin-left: 0;
    margin-right: 0;
}

.vcrpai-alert > strong {
    color: inherit;
}

.vcrpai-alert > strong + p,
.vcrpai-alert > p + p,
.vcrpai-alert > p + div {
    margin-top: 7px;
}

.vcrpai-alert p {
    margin-bottom: 0;
}

.vcrpai-alert-info {
    border-color: #aac4eb;
    background: #eef5ff;
    color: #294d7a;
}

.vcrpai-alert-success {
    border-color: #9dd7a9;
    background: #edf9f0;
    color: #196531;
}

/* Warning informativo no terminal. */
.vcrpai-alert-warning {
    border-color: #e2c785;
    background: #fff9e9;
    color: #684b0c;
}

/* Estados que sí detienen la ruta: se expresan como error canónico. */
.vcrpai-alert-warning[data-vcrpai-consent-stop],
.vcrpai-alert-warning[data-vcrpai-history-stop],
.vcrpai-alert-warning[data-vcrpai-income-stop],
.vcrpai-alert-warning[data-vcrpai-minor-stop],
.vcrpai-alert-warning[data-vcrpai-age-invalid-stop],
.vcrpai-alert-warning[data-vcrpai-debt-stop] {
    border-color: #e3aaaa;
    background: #fff0f0;
    color: #7f2020;
}

.vcrpai-veracity-warning {
    margin-top: 14px !important;
}

/* Panel de respuesta crítica bloqueada. */
.vcrpai-history-lock {
    width: 100%;
    margin: 18px 0 0;
    padding: 17px;
    border: 1px solid #e3aaaa;
    border-left: 4px solid #c83b3b;
    border-radius: 8px;
    background: #fff7f7;
    color: #642323;
}

.vcrpai-history-lock-badge {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 8px;
    color: #7f2020;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vcrpai-history-lock > strong {
    display: block;
    margin: 0 0 7px;
    color: #6d2020;
    font-size: 16px;
    line-height: 1.4;
}

.vcrpai-history-lock > p {
    margin: 7px 0 0;
}

.vcrpai-history-lock .vcrpai-history-lock-note {
    color: #765555;
    font-size: 13px;
}

/* Botones: primario y secundario SUGEF. */
.vcrpai-submit,
.vcrpai-correction-btn,
.vcrpai-debt-remove,
.vcrpai-debt-add,
.vcrpai-whatsapp-btn,
.vcrpai-secondary-link,
.vcrpai-copy-btn,
.vcrpai-prestanombre-links a,
.vcrpai-maturity-action {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 11px 17px;
    border-radius: 7px;
    font: inherit;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter .12s ease, border-color .12s ease, background-color .12s ease, outline-color .12s ease;
    overflow-wrap: anywhere;
}

.vcrpai-submit,
.vcrpai-whatsapp-btn {
    border: 1px solid var(--vcrpai-primary);
    background: var(--vcrpai-primary);
    color: #fff;
}

.vcrpai-correction-btn,
.vcrpai-debt-remove,
.vcrpai-debt-add,
.vcrpai-secondary-link,
.vcrpai-copy-btn,
.vcrpai-prestanombre-links a,
.vcrpai-maturity-action {
    border: 1px solid #8ea4de;
    background: #fff;
    color: #243b7a;
}

.vcrpai-submit:hover,
.vcrpai-correction-btn:hover,
.vcrpai-debt-remove:hover,
.vcrpai-debt-add:hover,
.vcrpai-whatsapp-btn:hover,
.vcrpai-secondary-link:hover,
.vcrpai-copy-btn:hover,
.vcrpai-prestanombre-links a:hover,
.vcrpai-maturity-action:hover {
    filter: brightness(.97);
}

.vcrpai-submit:focus-visible,
.vcrpai-correction-btn:focus-visible,
.vcrpai-debt-remove:focus-visible,
.vcrpai-debt-add:focus-visible,
.vcrpai-whatsapp-btn:focus-visible,
.vcrpai-secondary-link:focus-visible,
.vcrpai-copy-btn:focus-visible,
.vcrpai-prestanombre-links a:focus-visible,
.vcrpai-maturity-action:focus-visible {
    outline: 2px solid rgba(53, 111, 224, .24);
    outline-offset: 2px;
}

.vcrpai-submit {
    width: auto;
    margin-top: 18px;
}

.vcrpai-submit:disabled,
.vcrpai-debt-remove:disabled,
.vcrpai-debt-add:disabled {
    opacity: .5;
    cursor: not-allowed;
    filter: none;
}

.vcrpai-submit-note {
    margin-top: 8px;
    font-size: 13px;
    text-align: left;
}

.vcrpai-correction-btn {
    margin-top: 14px;
}

/* Checkbox cards. */
.vcrpai-terms-field {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--vcrpai-border);
    border-radius: 8px;
    background: #fff;
}

.vcrpai-terms-field {
    transition: border-color .12s ease, background-color .12s ease, outline-color .12s ease;
}

.vcrpai-terms-field > label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: var(--vcrpai-text);
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.vcrpai-terms-field:hover {
    border-color: #aab8cd;
    background: #fbfcff;
}

.vcrpai-terms-field:focus-within {
    border-color: var(--vcrpai-focus);
    outline: 2px solid rgba(53, 111, 224, .16);
}

.vcrpai-terms-field input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    padding: 0;
    accent-color: var(--vcrpai-primary);
}

.vcrpai-marketing-box > label {
    background: #fbfcff;
}

/* Errores de validación visual. */
.vcrpai-has-error input:not([type="radio"]):not([type="checkbox"]),
.vcrpai-has-error select,
.vcrpai-has-error textarea,
.vcrpai-has-error.vcrpai-terms-field {
    border-color: #d92d20 !important;
    outline: 2px solid rgba(217, 45, 32, .12) !important;
}

.vcrpai-has-error.vcrpai-fieldset .vcrpai-radio-row label,
.vcrpai-has-error.vcrpai-fieldset .vcrpai-radio-stack label {
    border-color: #e3aaaa;
}

.vcrpai-error-message,
.vcrpai-form-error {
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.vcrpai-error-message {
    margin-top: 7px;
}

.vcrpai-form-error {
    width: 100%;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #e3aaaa;
    border-radius: 7px;
    background: #fff0f0;
}

/* Teléfono compuesto: misma densidad que inputs SUGEF y sin mínimos rígidos. */
.vcrpai-phone-field,
.vcrpai-email-field {
    width: 100%;
    min-width: 0;
}

.vcrpai-phone-control {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: end;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--vcrpai-border);
    border-radius: 8px;
    background: #fbfcff;
}

.vcrpai-phone-part {
    width: 100%;
    min-width: 0;
}

.vcrpai-phone-sub-label {
    display: block;
    margin: 0 0 6px !important;
    color: #4b5563 !important;
    font-size: 12px;
    font-weight: 700 !important;
    line-height: 1.35;
}

.vcrpai-phone-country select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding-right: 38px;
    white-space: normal;
}

.vcrpai-phone-number-shell {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 1px solid var(--vcrpai-input-border);
    border-radius: 7px;
    background: #fff;
    transition: border-color .12s ease, outline-color .12s ease;
}

.vcrpai-phone-number-shell:focus-within {
    border-color: var(--vcrpai-focus);
    outline: 2px solid rgba(53, 111, 224, .16);
}

.vcrpai-phone-prefix {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    padding: 0 12px;
    border-right: 1px solid var(--vcrpai-border);
    border-radius: 6px 0 0 6px;
    background: #f1f5f9;
    color: #344054;
    font-weight: 750;
    line-height: 1;
    user-select: none;
}

.vcrpai-phone-number-shell input {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 0 6px 6px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    font: inherit;
}

.vcrpai-phone-number-shell input::placeholder {
    color: #7d8796;
    opacity: 1;
}

.vcrpai-phone-help {
    display: flex !important;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
    margin-top: 7px !important;
    font-size: 13px;
    line-height: 1.45 !important;
    text-align: left;
}

.vcrpai-phone-help-flag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    line-height: 1.25;
}

.vcrpai-phone-help [data-vcrpai-phone-help-text] {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Obligaciones financieras. */
.vcrpai-debt-list {
    display: grid;
    width: 100%;
    gap: 11px;
    margin-top: 16px;
}

.vcrpai-debt-card {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--vcrpai-border);
    border-radius: 8px;
    background: #fff;
}

.vcrpai-debt-card .vcrpai-grid-3 {
    margin-top: 14px;
}

.vcrpai-debt-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.vcrpai-debt-card-head strong {
    color: var(--vcrpai-title);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vcrpai-debt-remove {
    border-color: #e3aaaa;
    color: #8f2727;
}

.vcrpai-debt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-top: 14px;
}

.vcrpai-debt-actions small {
    flex: 1 1 220px;
    font-size: 13px;
}

.vcrpai-debt-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #aac4eb;
    border-radius: 7px;
    background: #eef5ff;
    color: #294d7a;
}

.vcrpai-debt-summary strong {
    flex: 0 0 auto;
    color: #174f9c;
    font-size: 19px;
}

.vcrpai-debt-refinance {
    margin-top: 18px;
}

/* Alternativa de titular y maduración temporal. */
.vcrpai-prestanombre-box {
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid currentColor;
    border-top-color: rgba(90, 104, 123, .22);
}

.vcrpai-prestanombre-box p {
    margin: 0 0 8px;
}

.vcrpai-prestanombre-links,
.vcrpai-no-route-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
    margin-top: 12px;
}

.vcrpai-maturity-inline {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(127, 32, 32, .18);
}

.vcrpai-maturity-inline p,
.vcrpai-maturity-result p {
    margin: 0 0 8px;
}

.vcrpai-maturity-result {
    margin-top: 16px !important;
}

/* Pantallas finales. */
.vcrpai-success {
    padding: 22px;
    text-align: left;
}

.vcrpai-success-inner {
    width: 100%;
    max-width: 860px;
}

.vcrpai-success h2 {
    font-size: 30px;
}

.vcrpai-success-lead {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.55;
}

.vcrpai-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
    margin-top: 18px;
}

.vcrpai-success-note {
    margin-top: 8px !important;
    font-size: 13px;
}

.vcrpai-catalog-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.vcrpai-copy-source {
    position: absolute;
    left: -9999px;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden;
}

.vcrpai-no-route {
    border-left: 4px solid #c83b3b;
}

.vcrpai-no-route .vcrpai-alert {
    margin-top: 16px;
    margin-bottom: 0;
}

/* Elementos de seguridad no visuales. */
.vcrpai-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Responsive canónico VCR UI. */
@media (max-width: 780px) {
    .vcrpai-shell {
        margin: 16px auto;
        padding: 0 10px;
    }

    .vcrpai-intro h2,
    .vcrpai-success h2 {
        font-size: 27px;
    }

    .vcrpai-section,
    .vcrpai-success {
        padding: 17px;
    }

    .vcrpai-grid-2,
    .vcrpai-grid-3,
    .vcrpai-phone-control,
    .vcrpai-radio-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .vcrpai-grid-3 {
        margin-top: 14px;
    }

    .vcrpai-section-head {
        gap: 10px;
    }

    .vcrpai-section-head > span {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .vcrpai-phone-control {
        gap: 12px;
        padding: 12px;
    }

    .vcrpai-debt-card-head,
    .vcrpai-debt-summary {
        align-items: flex-start;
    }

    .vcrpai-debt-card-head {
        flex-wrap: wrap;
    }

    .vcrpai-debt-summary {
        flex-direction: column;
        gap: 5px;
    }

    .vcrpai-debt-summary strong {
        flex-basis: auto;
    }

    .vcrpai-success-actions > *,
    .vcrpai-catalog-row > *,
    .vcrpai-prestanombre-links > *,
    .vcrpai-no-route-links > * {
        flex: 1 1 180px;
    }
}

@media (max-width: 480px) {
    .vcrpai-section-head {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .vcrpai-submit,
    .vcrpai-success-actions > *,
    .vcrpai-catalog-row > *,
    .vcrpai-prestanombre-links > *,
    .vcrpai-no-route-links > *,
    .vcrpai-debt-actions .vcrpai-debt-add {
        width: 100%;
        flex-basis: 100%;
    }

    .vcrpai-debt-remove {
        width: auto;
    }

    .vcrpai-phone-prefix {
        min-width: 60px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vcrpai-shell *,
    .vcrpai-shell *::before,
    .vcrpai-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
