/* Autos Esquivel CRM — Recepción física
   Ajuste de legibilidad limitado exclusivamente al flujo de recepción. */

.prep-reception .prep-reception__header span {
    font-size: 0.69rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-reception__header h2 {
    font-size: 1.05rem !important;
    line-height: 1.28 !important;
}

.prep-reception .prep-reception__header p {
    font-size: 0.81rem !important;
    line-height: 1.45 !important;
}

.prep-reception .prep-reception__header > b {
    font-size: 0.69rem !important;
    line-height: 1.25 !important;
}

.prep-reception .prep-reception-section > h3,
.prep-reception .prep-reception__side h3 {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-reception-section > h3 b {
    font-size: 0.625rem !important;
    line-height: 1 !important;
}

.prep-reception .prep-field {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-field input,
.prep-reception .prep-field select,
.prep-reception .prep-field textarea {
    font-size: 0.81rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-number-field span {
    font-size: 0.69rem !important;
    line-height: 1.2 !important;
}

.prep-reception .prep-reception-vin .app-field__label {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-reception-vin .app-input-control > input {
    font-size: 0.81rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-reception-vin .app-field__message {
    font-size: 0.69rem !important;
    line-height: 1.4 !important;
}

.prep-reception .prep-reception-checklist strong {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-reception-checklist small {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}

.prep-reception .prep-reception-checklist em {
    font-size: 0.625rem !important;
    line-height: 1.2 !important;
}

.prep-reception .prep-reception-checklist a,
.prep-reception .prep-reception-checklist button {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
}

.prep-reception .prep-reception-progress > div > span b {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
}

.prep-reception .prep-reception-progress > div > strong {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
}

.prep-reception .prep-reception-progress > p,
.prep-reception .prep-reception-progress li {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}

.prep-reception .prep-reception-captured dl,
.prep-reception .prep-reception-captured dl > div,
.prep-reception .prep-reception-captured dt,
.prep-reception .prep-reception-captured dd {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}

.prep-reception .prep-reception-next strong {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}

.prep-reception .prep-reception-next small {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
}

.prep-reception .prep-reception-next > button {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
}

.prep-reception .prep-reception__footer > span,
.prep-reception .prep-reception__footer p {
    font-size: 0.69rem !important;
    line-height: 1.4 !important;
}

.prep-reception .prep-reception__footer button {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
}

@media (max-width: 900px) {
    .prep-reception .prep-reception__header p,
    .prep-reception .prep-reception-checklist small,
    .prep-reception .prep-reception-progress > p,
    .prep-reception .prep-reception-progress li,
    .prep-reception .prep-reception-captured dl,
    .prep-reception .prep-reception-next small {
        font-size: 0.78rem !important;
    }
}

/* Inventario · alta de unidad
   Reduce la sobre-encapsulación del panel lateral y refuerza la jerarquía
   de acciones en modo oscuro sin alterar el contenido del formulario. */
body:has(form.vehicle-form) .vehicle-form-side__actions {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .button.button--outline {
    border-color: #56616e !important;
    background: #171d24 !important;
    color: #f5f7fa !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18) !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .button.button--outline:hover:not(:disabled) {
    border-color: #7a8795 !important;
    background: #202832 !important;
    color: #ffffff !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .button.button--outline:focus-visible {
    outline: 3px solid rgba(122, 135, 149, 0.25) !important;
    outline-offset: 2px !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .vehicle-form-side__actions .button--primary {
    border-color: var(--ae-brand-primary, #e51b23) !important;
    background: var(--ae-brand-primary, #e51b23) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(229, 27, 35, 0.22) !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .vehicle-form-side__actions .button--primary:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .vehicle-form-side__actions .button--primary:focus-visible {
    outline: 3px solid rgba(229, 27, 35, 0.28) !important;
    outline-offset: 2px !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .vehicle-preview-panel {
    border-color: #3a444f !important;
    background: #171d24 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .vehicle-preview-panel__image {
    border-color: #3b4652 !important;
    background: #222a33 !important;
}

html[data-crm-theme="dark"] body:has(form.vehicle-form) .vehicle-preview-panel__eyebrow {
    color: #9da8b5 !important;
}
