/*
 * VCR Precalificación Empresas — 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.
 */

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

.vcrpje-shell,
.vcrpje-shell *,
.vcrpje-shell *::before,
.vcrpje-shell *::after {
    box-sizing: border-box;
}

.vcrpje-shell * {
    min-width: 0;
}

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

.vcrpje-form,
.vcrpje-intro,
.vcrpje-policy-grid,
.vcrpje-section,
.vcrpje-section-head,
.vcrpje-grid,
.vcrpje-field,
.vcrpje-fieldset,
.vcrpje-alert,
.vcrpje-inline-review,
.vcrpje-phone-card,
.vcrpje-phone-country,
.vcrpje-phone-number,
.vcrpje-phone-input,
.vcrpje-debt-list,
.vcrpje-debt-card,
.vcrpje-debt-actions,
.vcrpje-debt-summary,
.vcrpje-search-results,
.vcrpje-selected-vehicles,
.vcrpje-vehicle-card,
.vcrpje-vehicle-card-body,
.vcrpje-prima-summary,
.vcrpje-result,
.vcrpje-success,
.vcrpje-blocked-result,
.vcrpje-success-actions,
.vcrpje-fiador-box,
.vcrpje-fiador-links,
.vcrpje-agenda-box {
    min-width: 0;
    max-width: 100%;
}

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

/* Encabezado público. */
.vcrpje-intro {
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
}

.vcrpje-kicker {
    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;
}

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

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

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

/* Resumen de requisitos: card sobria y responsive. */
.vcrpje-policy-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.vcrpje-policy-grid > div {
    min-width: 0;
    padding: 11px 9px;
    border: 1px solid #e1e6ed;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
    overflow-wrap: anywhere;
}

.vcrpje-policy-grid strong,
.vcrpje-policy-grid span {
    display: block;
}

.vcrpje-policy-grid strong {
    color: var(--vcrpje-title);
    font-size: 15px;
    line-height: 1.3;
}

.vcrpje-policy-grid span {
    margin-top: 3px;
    color: var(--vcrpje-muted);
    font-size: 11px;
    line-height: 1.3;
}

/* Cards principales. */
.vcrpje-section,
.vcrpje-success,
.vcrpje-blocked-result {
    width: 100%;
    margin: 0 0 16px;
    padding: 22px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

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

.vcrpje-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(--vcrpje-blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

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

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

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

/* Ritmo vertical interno. */
.vcrpje-section > .vcrpje-field + .vcrpje-field,
.vcrpje-section > .vcrpje-field + .vcrpje-alert,
.vcrpje-section > .vcrpje-alert + .vcrpje-field,
.vcrpje-section > .vcrpje-alert + .vcrpje-alert,
.vcrpje-section > .vcrpje-grid + .vcrpje-field,
.vcrpje-section > .vcrpje-grid + .vcrpje-alert,
.vcrpje-section > .vcrpje-fieldset + .vcrpje-field,
.vcrpje-section > .vcrpje-progressive + .vcrpje-field,
.vcrpje-progressive > .vcrpje-field + .vcrpje-field,
.vcrpje-progressive > .vcrpje-field + .vcrpje-fieldset,
.vcrpje-progressive > .vcrpje-fieldset + .vcrpje-field,
.vcrpje-progressive > .vcrpje-fieldset + .vcrpje-fieldset {
    margin-top: 18px;
}

/* Grids. */
.vcrpje-grid {
    display: grid;
    width: 100%;
    gap: 16px;
}

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

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

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

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

/* Campos y controles. */
.vcrpje-field,
.vcrpje-fieldset {
    position: relative;
    width: 100%;
    margin: 0;
}

.vcrpje-fieldset {
    padding: 0;
    border: 0;
}

.vcrpje-field:not(.vcrpje-fieldset) > label,
.vcrpje-fieldset legend,
.vcrpje-phone-country > label,
.vcrpje-phone-number > label {
    display: block;
    max-width: 100%;
    margin: 0 0 6px;
    padding: 0;
    color: var(--vcrpje-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

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

.vcrpje-field input[type="text"],
.vcrpje-field input[type="search"],
.vcrpje-field input[type="email"],
.vcrpje-field input[type="tel"],
.vcrpje-field input[type="date"],
.vcrpje-field input[type="number"],
.vcrpje-field select,
.vcrpje-field textarea,
.vcrpje-phone-country select,
.vcrpje-phone-number input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--vcrpje-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;
}

.vcrpje-field input:focus,
.vcrpje-field select:focus,
.vcrpje-field textarea:focus,
.vcrpje-phone-country select:focus,
.vcrpje-phone-number input:focus {
    border-color: var(--vcrpje-focus);
    outline: 2px solid rgba(53, 111, 224, .16);
}

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

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

.vcrpje-help a,
.vcrpje-catalog-help a,
.vcrpje-alert a {
    color: #174f9c;
    font-weight: 700;
    text-underline-offset: 2px;
}

.vcrpje-catalog-help {
    margin-top: 10px;
}

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

/* Radio cards y checks. */
.vcrpje-radio-row,
.vcrpje-radio-stack,
.vcrpje-check-grid {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 12px;
}

.vcrpje-radio-row,
.vcrpje-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.vcrpje-radio-row label,
.vcrpje-radio-stack label,
.vcrpje-check-grid label,
.vcrpje-checkline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 8px;
    background: #fff;
    color: var(--vcrpje-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;
}

/* Evita que el label de la confirmación final herede el layout de un field label. */
.vcrpje-fieldset > .vcrpje-checkline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 8px;
    background: #fff;
    color: var(--vcrpje-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.vcrpje-radio-row label:hover,
.vcrpje-radio-stack label:hover,
.vcrpje-check-grid label:hover,
.vcrpje-checkline:hover {
    border-color: #aab8cd;
    background: #fbfcff;
}

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

.vcrpje-radio-row input,
.vcrpje-radio-stack input,
.vcrpje-check-grid input,
.vcrpje-checkline input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    padding: 0;
    accent-color: var(--vcrpje-primary);
}

/* Alertas. */
.vcrpje-alert,
.vcrpje-inline-review {
    width: 100%;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vcrpje-section > .vcrpje-alert,
.vcrpje-inline-block,
.vcrpje-debt-note {
    margin-top: 16px;
}

.vcrpje-form > .vcrpje-alert {
    margin: 0 0 16px;
}

.vcrpje-global-message {
    width: calc(100% - 0px);
    max-width: 100%;
    margin: 0 0 16px;
}

.vcrpje-alert p,
.vcrpje-inline-review p {
    margin: 6px 0 0;
}

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

.vcrpje-alert-warning,
.vcrpje-inline-review {
    border-color: #e2c785;
    background: #fff9e9;
    color: #684b0c;
}

.vcrpje-alert-danger {
    border-color: #e3aaaa;
    background: #fff0f0;
    color: #7f2020;
}

.vcrpje-date-note {
    margin-top: 8px !important;
    color: inherit !important;
    overflow-wrap: anywhere;
}

/* Alternativas y agenda. */
.vcrpje-fiador-box,
.vcrpje-agenda-box {
    width: 100%;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 8px;
    background: #f8fafc;
}

.vcrpje-fiador-box h4,
.vcrpje-agenda-box h4 {
    margin: 0 0 6px;
    color: var(--vcrpje-title);
    font-size: 16px;
    line-height: 1.35;
}

.vcrpje-fiador-box p,
.vcrpje-agenda-box p {
    margin: 0 0 10px;
    color: var(--vcrpje-muted);
}

.vcrpje-fiador-links,
.vcrpje-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
}

.vcrpje-fiador-links a,
.vcrpje-agenda-link,
.vcrpje-success-actions a,
.vcrpje-success-actions button,
.vcrpje-debt-remove,
.vcrpje-debt-add {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    padding: 11px 17px;
    border: 1px solid #8ea4de;
    border-radius: 7px;
    background: #fff;
    color: #243b7a;
    font: inherit;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter .12s ease, opacity .12s ease;
    overflow-wrap: anywhere;
}

.vcrpje-fiador-links a:hover,
.vcrpje-agenda-link:hover,
.vcrpje-success-actions a:hover,
.vcrpje-success-actions button:hover,
.vcrpje-debt-remove:hover,
.vcrpje-debt-add:hover {
    filter: brightness(.97);
}

.vcrpje-agenda-link {
    border-color: var(--vcrpje-primary);
    background: var(--vcrpje-primary);
    color: #fff;
}

/* Inputs monetarios compuestos. */
.vcrpje-money,
.vcrpje-phone-input {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.vcrpje-money > span,
.vcrpje-phone-input > span {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 11px;
    border: 1px solid var(--vcrpje-input-border);
    border-right: 0;
    border-radius: 7px 0 0 7px;
    background: #f8fafc;
    color: #344054;
    font-weight: 800;
}

.vcrpje-money input,
.vcrpje-phone-input input {
    flex: 1 1 auto;
    min-width: 0 !important;
    border-radius: 0 7px 7px 0 !important;
}

/* Buscador de vehículos. */
.vcrpje-search-results {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    overflow: hidden;
}

.vcrpje-search-item {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e7ebf0;
    background: #fff;
    color: var(--vcrpje-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vcrpje-search-item:last-child {
    border-bottom: 0;
}

.vcrpje-search-item:hover,
.vcrpje-search-item:focus-visible {
    background: #f8faff;
    outline: 0;
}

.vcrpje-search-item:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(53, 111, 224, .2);
}

.vcrpje-search-item img {
    display: block;
    width: 66px;
    max-width: 66px;
    height: 50px;
    flex: 0 0 66px;
    border-radius: 7px;
    object-fit: cover;
    background: #eef2f7;
}

.vcrpje-search-item-body {
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.vcrpje-search-item-body strong,
.vcrpje-search-item-body > span {
    display: block;
    white-space: normal;
}

.vcrpje-search-item-body strong {
    line-height: 1.35;
}

.vcrpje-search-item-body > span,
.vcrpje-search-empty {
    color: var(--vcrpje-muted);
    font-size: 12px;
}

.vcrpje-search-item-body > span {
    margin-top: 3px;
}

.vcrpje-search-empty {
    padding: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* Vehículos seleccionados. */
.vcrpje-selected-vehicles {
    display: grid;
    width: 100%;
    gap: 12px;
    margin: 14px 0 20px;
}

.vcrpje-vehicle-card {
    display: grid;
    width: 100%;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 15px;
    padding: 14px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 8px;
    background: #f8fafc;
}

.vcrpje-vehicle-card > img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 108px;
    border-radius: 7px;
    background: #eef2f7;
    object-fit: cover;
}

.vcrpje-vehicle-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.vcrpje-vehicle-card-title > strong {
    flex: 1 1 auto;
    color: var(--vcrpje-title);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vcrpje-remove-vehicle {
    appearance: none;
    flex: 0 0 auto;
    max-width: 100%;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #9d2e27;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.vcrpje-vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 7px;
    color: var(--vcrpje-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.vcrpje-minimum-contribution {
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 7px;
    background: #fff;
}

.vcrpje-minimum-contribution span,
.vcrpje-minimum-contribution strong {
    display: block;
}

.vcrpje-minimum-contribution span {
    color: var(--vcrpje-muted);
    font-size: 12px;
}

.vcrpje-minimum-contribution strong {
    margin-top: 2px;
    color: var(--vcrpje-title);
    font-size: 18px;
}

/* Resumen de prima. */
.vcrpje-prima-summary {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--vcrpje-border);
    border-radius: 8px;
    background: #f8fafc;
}

.vcrpje-summary-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

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

.vcrpje-summary-grid > div {
    min-width: 0;
    padding: 10px;
    border: 1px solid #e1e6ed;
    border-radius: 7px;
    background: #fff;
}

.vcrpje-summary-grid span,
.vcrpje-summary-grid strong {
    display: block;
    overflow-wrap: anywhere;
}

.vcrpje-summary-grid span {
    color: var(--vcrpje-muted);
    font-size: 12px;
}

.vcrpje-summary-grid strong {
    margin-top: 2px;
    color: var(--vcrpje-text);
    font-size: 16px;
}

.vcrpje-prima-summary > p {
    margin: 10px 0 0;
    color: #684b0c;
}

.vcrpje-prima-guidance {
    width: 100%;
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vcrpje-prima-guidance p {
    margin: 6px 0 0;
}

.vcrpje-prima-guidance-warning {
    border-color: #e2c785;
    background: #fff9e9;
    color: #684b0c;
}

.vcrpje-prima-guidance-ok {
    border-color: #9dd7a9;
    background: #edf9f0;
    color: #196531;
}

.vcrpje-prima-guidance-danger {
    border-color: #e3aaaa;
    background: #fff0f0;
    color: #7f2020;
}

/* Teléfono compuesto. */
.vcrpje-phone-field {
    margin-top: 18px;
}

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

.vcrpje-phone-country select,
.vcrpje-phone-number input {
    min-width: 0;
    max-width: 100%;
}

.vcrpje-phone-number small {
    display: block;
    margin: 6px 0 0;
    color: var(--vcrpje-muted);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vcrpje-marketing-box {
    width: 100%;
    margin-top: 16px;
}

.vcrpje-marketing-box .vcrpje-checkline {
    background: #fbfcff;
}

.vcrpje-marketing-help {
    margin-left: 0;
    color: var(--vcrpje-muted);
}

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

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

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

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

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

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

.vcrpje-debt-remove:disabled,
.vcrpje-debt-add:disabled {
    opacity: .5;
    cursor: not-allowed;
}

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

.vcrpje-debt-actions small {
    flex: 1 1 220px;
    margin: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.vcrpje-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;
}

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

/* Submit y estados de error. */
.vcrpje-submit {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    margin-top: 18px;
    padding: 11px 17px;
    border: 1px solid var(--vcrpje-primary);
    border-radius: 7px;
    background: var(--vcrpje-primary);
    color: #fff;
    font: inherit;
    font-weight: 750;
    line-height: 1.3;
    cursor: pointer;
    transition: filter .12s ease, opacity .12s ease;
    overflow-wrap: anywhere;
}

.vcrpje-submit:hover {
    filter: brightness(.97);
}

.vcrpje-submit:focus-visible {
    outline: 2px solid rgba(53, 111, 224, .28);
    outline-offset: 2px;
}

.vcrpje-submit:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.vcrpje-submit-note {
    margin-top: 8px;
    text-align: left;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.vcrpje-has-error input,
.vcrpje-has-error select,
.vcrpje-has-error textarea {
    border-color: #d92d20 !important;
    outline: 2px solid rgba(217, 45, 32, .12) !important;
}

.vcrpje-has-error.vcrpje-fieldset {
    padding: 10px;
    border: 1px solid #e3aaaa;
    border-radius: 7px;
    background: #fff8f8;
}

.vcrpje-error {
    margin-top: 7px;
    color: #8e2921;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.vcrpje-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Resultado. */
.vcrpje-result {
    width: 100%;
    margin: 0;
    padding: 0;
}

.vcrpje-result .vcrpje-success,
.vcrpje-result .vcrpje-blocked-result {
    margin-bottom: 16px;
}

.vcrpje-success h3,
.vcrpje-blocked-result h3 {
    font-size: 24px;
}

.vcrpje-success-actions {
    margin-top: 18px;
}

.vcrpje-success-actions .vcrpje-wa {
    border-color: var(--vcrpje-primary);
    background: var(--vcrpje-primary);
    color: #fff;
}

.vcrpje-success textarea {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

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

    .vcrpje-intro h2 {
        font-size: 27px;
    }

    .vcrpje-section,
    .vcrpje-success,
    .vcrpje-blocked-result {
        padding: 17px;
    }

    .vcrpje-policy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .vcrpje-policy-grid > div:last-child {
        grid-column: 1 / -1;
    }

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

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

    .vcrpje-grid-2,
    .vcrpje-grid-3,
    .vcrpje-radio-row,
    .vcrpje-check-grid,
    .vcrpje-phone-card,
    .vcrpje-summary-grid,
    .vcrpje-summary-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .vcrpje-vehicle-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 12px;
    }

    .vcrpje-vehicle-card > img {
        height: 82px;
    }

    .vcrpje-debt-card {
        padding: 14px;
    }

    .vcrpje-debt-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .vcrpje-fiador-links,
    .vcrpje-success-actions {
        flex-direction: column;
    }

    .vcrpje-fiador-links a,
    .vcrpje-agenda-link,
    .vcrpje-success-actions a,
    .vcrpje-success-actions button {
        width: 100%;
    }
}

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

    .vcrpje-submit,
    .vcrpje-debt-actions .vcrpje-debt-add {
        width: 100%;
        flex-basis: 100%;
    }

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

@media (max-width: 430px) {
    .vcrpje-policy-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vcrpje-policy-grid > div:last-child {
        grid-column: auto;
    }

    .vcrpje-search-item img {
        width: 58px;
        max-width: 58px;
        height: 46px;
        flex-basis: 58px;
    }

    .vcrpje-vehicle-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
    }

    .vcrpje-vehicle-card > img {
        width: 100%;
        height: auto;
        max-height: 180px;
        aspect-ratio: 16 / 9;
    }

    .vcrpje-vehicle-card-title {
        flex-wrap: wrap;
    }

    .vcrpje-remove-vehicle {
        flex-basis: 100%;
        text-align: left;
    }

    .vcrpje-money > span,
    .vcrpje-phone-input > span {
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* Ajustes exclusivos de Precalificación Empresas. */
.vcrpje-subtitle {
    margin: 22px 0 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid #e1e6ed;
    color: var(--vcrpje-title);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vcrpje-company-contact {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.vcrpje-company-contact > .vcrpje-field {
    width: 100%;
    max-width: 100%;
}

.vcrpje-company-contact .vcrpje-phone-field {
    margin-top: 4px;
}

.vcrpje-company-contact .vcrpje-phone-card {
    width: 100%;
    grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr);
}

.vcrpje-success-actions .vcrpje-wa-web {
    background: #fff;
    color: var(--vcrpje-primary);
    border-color: #aebfe0;
}

.vcrpje-wa-help {
    display: block;
    margin-top: 10px;
    color: var(--vcrpje-muted);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 780px) {
    .vcrpje-company-contact .vcrpje-phone-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

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