/*
 * Servicios y productos en formato cards (como la selección al crear la OT).
 * Editable: cada card es un ítem del repeater Filament.
 */

.fi-wo-service-table-header {
    display: none !important;
}

.fi-wo-line-cards .fi-fo-repeater-items,
.fi-wo-service-lines-repeater .fi-fo-repeater-items,
.fi-wo-product-lines-repeater .fi-fo-repeater-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

/* Servicio padre: siempre 100% de ancho. Productos sueltos: 2 cols con menú colapsado. */
.fi-wo-service-lines-repeater > .fi-fo-repeater-items,
.fi-wo-service-parent-cards > .fi-fo-repeater-items {
    grid-template-columns: 1fr !important;
}

/* Contenedor del servicio padre: card personalizada + productos hijos debajo. */
.fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item {
    position: relative;
    overflow: visible;
    border-inline-start: 4px solid rgb(14 165 233);
}

/* Barra editar + quitar (igual que productos hijos). */
.fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header {
    position: absolute !important;
    top: 0.55rem !important;
    right: 0.55rem !important;
    z-index: 6;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    margin: 0 !important;
    padding: 0.2rem !important;
    width: auto !important;
    border: 1px solid rgb(226 232 240) !important;
    border-bottom: 1px solid rgb(226 232 240) !important;
    border-radius: 0.55rem;
    background: rgb(255 255 255 / 0.95) !important;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.12);
}

.dark .fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header {
    border-color: rgb(71 85 105) !important;
    background: rgb(15 23 42 / 0.92) !important;
}

.fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header .fi-fo-repeater-item-header-label,
.fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header .fi-fo-repeater-item-header-start-actions {
    display: none !important;
}

.fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header .fi-icon-btn {
    width: 1.85rem;
    height: 1.85rem;
}

/* Contenido del padre: card flush arriba; hijos con padding. */
.fi-wo-service-parent-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-content {
    padding: 0 !important;
}

.fi-wo-service-parent-cards .fi-sc-component:has([id$='.service_card_preview']) {
    grid-column: 1 / -1 !important;
}

.fi-wo-service-parent-cards .fi-sc-component:has([id$='.service_card_preview']) .fi-in-entry,
.fi-wo-service-parent-cards .fi-sc-component:has([id$='.service_card_preview']) .fi-fo-placeholder,
.fi-wo-service-parent-cards .fi-sc-component:has([id$='.service_card_preview']) .fi-fo-field-wrp-label {
    display: contents;
}

.fi-wo-service-parent-cards .fi-sc-component:has([id$='childLines']) {
    grid-column: 1 / -1 !important;
    /* Más padding izquierdo para no solapar la franja azul del servicio. */
    padding: 0.75rem 0.85rem 0.35rem 1.35rem;
    border-top: 1px solid rgb(226 232 240 / 0.9);
}

.fi-wo-service-parent-cards .fi-sc-component:has([id$='.service_products_spacer']) {
    grid-column: 1 / -1 !important;
    padding: 0 0.85rem 0.85rem 1.35rem;
    line-height: 1.6;
}

.dark .fi-wo-service-parent-cards .fi-sc-component:has([id$='childLines']) {
    border-top-color: rgb(51 65 85);
}

.fi-wo-service-card {
    --service-color: #0ea5e9;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem 1rem;
    width: 100%;
    min-height: 5.5rem;
    padding: 0.9rem 1rem;
    padding-inline-end: 4.5rem;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(
        120deg,
        color-mix(in srgb, var(--service-color) 14%, white) 0%,
        white 52%
    );
}

.fi-wo-service-card--compact {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 4.75rem;
    padding-inline-end: 0.5rem;
}

.dark .fi-wo-service-card {
    background: linear-gradient(
        120deg,
        color-mix(in srgb, var(--service-color) 28%, rgb(15 23 42)) 0%,
        rgb(15 23 42) 55%
    );
}

.fi-wo-service-card__stripe {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0.28rem;
    background: var(--service-color);
}

.fi-wo-service-card--empty {
    display: grid;
    place-items: center;
    min-height: 4.75rem;
    color: rgb(100 116 139);
    font-size: 0.85rem;
    text-align: center;
    padding-inline-end: 4.5rem;
}

.fi-wo-service-card__media {
    display: grid;
    place-items: center;
    width: 3.35rem;
    height: 3.35rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--service-color) 88%, white);
    color: white;
    font-size: 1.15rem;
    font-weight: 800;
}

.fi-wo-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fi-wo-service-card__initial {
    line-height: 1;
}

.fi-wo-service-card__body {
    min-width: 0;
}

.fi-wo-service-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin-bottom: 0.2rem;
}

.fi-wo-service-card__sku {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(100 116 139);
}

.fi-wo-service-card__badge {
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgb(224 242 254);
    color: rgb(3 105 161);
    font-size: 0.65rem;
    font-weight: 700;
}

.dark .fi-wo-service-card__badge {
    background: rgb(12 74 110);
    color: rgb(186 230 253);
}

.fi-wo-service-card__name {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    color: rgb(15 23 42);
}

.dark .fi-wo-service-card__name {
    color: rgb(248 250 252);
}

.fi-wo-service-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgb(100 116 139);
}

.fi-wo-service-card__total {
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
    color: rgb(15 23 42);
}

.dark .fi-wo-service-card__total {
    color: rgb(248 250 252);
}

.fi-wo-charge-price {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.fi-wo-charge-price .fi-fo-field-wrp-label,
.fi-wo-charge-price .fi-fo-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(71 85 105);
    margin-bottom: 0.35rem;
}

.dark .fi-wo-charge-price .fi-fo-field-label {
    color: rgb(148 163 184);
}

.fi-wo-charge-price .fi-fo-toggle-buttons.fi-btn-group,
.fi-wo-charge-price-buttons.fi-btn-group {
    width: max-content;
    max-width: 100%;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
}

.fi-wo-charge-price .fi-fo-toggle-buttons .fi-btn,
.fi-wo-charge-price-buttons .fi-btn {
    min-height: 2.15rem;
    padding-inline: 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@media (max-width: 639px) {
    .fi-wo-service-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fi-wo-service-card__total {
        grid-column: 2;
        justify-self: start;
    }
}

@media (min-width: 768px) {
    .fi-main-ctn:not(.fi-main-ctn-sidebar-open) .fi-wo-product-lines-repeater:not(.fi-wo-oil-card-grid) > .fi-fo-repeater-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

/* Productos sueltos en grid de cards (mismo patrón que hijos de servicio). */
.fi-wo-product-lines-repeater.fi-wo-oil-card-grid {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items {
    display: contents !important;
}

.fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 0.85rem;
    border: 1.5px solid rgb(226 232 240);
    border-inline-start: 1.5px solid rgb(226 232 240);
    background: white;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.dark .fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42);
    box-shadow: none;
}

.fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header {
    position: absolute !important;
    top: 0.4rem !important;
    right: 0.4rem !important;
    z-index: 5;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    margin: 0 !important;
    padding: 0.2rem !important;
    width: auto !important;
    border: 1px solid rgb(226 232 240) !important;
    border-bottom: 1px solid rgb(226 232 240) !important;
    border-radius: 0.55rem;
    background: rgb(255 255 255 / 0.95) !important;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.12);
}

.dark .fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header {
    border-color: rgb(71 85 105) !important;
    background: rgb(15 23 42 / 0.92) !important;
}

.fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header .fi-fo-repeater-item-header-label,
.fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-header .fi-fo-repeater-item-header-start-actions {
    display: none !important;
}

.fi-wo-product-lines-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-content {
    padding: 0 !important;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
}

.fi-wo-line-cards > .fi-fo-repeater-items > .fi-fo-repeater-item,
.fi-wo-service-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item,
.fi-wo-product-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    background:
        linear-gradient(180deg, rgb(248 250 252) 0%, rgb(255 255 255) 42%);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.dark .fi-wo-line-cards > .fi-fo-repeater-items > .fi-fo-repeater-item,
.dark .fi-wo-service-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item,
.dark .fi-wo-product-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item {
    border-color: rgb(51 65 85);
    background:
        linear-gradient(180deg, rgb(15 23 42) 0%, rgb(30 41 59) 55%);
    box-shadow: none;
}

.fi-wo-service-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item {
    border-inline-start: 4px solid rgb(14 165 233);
}

.fi-wo-product-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item {
    border-inline-start: 4px solid rgb(34 197 94);
}

.fi-wo-line-cards .fi-fo-repeater-item-header,
.fi-wo-service-lines-repeater .fi-fo-repeater-item-header,
.fi-wo-product-lines-repeater .fi-fo-repeater-item-header {
    padding: 0.65rem 0.85rem 0.35rem;
    background: transparent;
    border-bottom: 1px solid rgb(226 232 240 / 0.85);
}

.dark .fi-wo-line-cards .fi-fo-repeater-item-header,
.dark .fi-wo-service-lines-repeater .fi-fo-repeater-item-header,
.dark .fi-wo-product-lines-repeater .fi-fo-repeater-item-header {
    border-bottom-color: rgb(51 65 85);
}

.fi-wo-line-cards .fi-fo-repeater-item-header-label,
.fi-wo-service-lines-repeater .fi-fo-repeater-item-header-label,
.fi-wo-product-lines-repeater .fi-fo-repeater-item-header-label {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    color: rgb(15 23 42);
}

.dark .fi-wo-line-cards .fi-fo-repeater-item-header-label,
.dark .fi-wo-service-lines-repeater .fi-fo-repeater-item-header-label,
.dark .fi-wo-product-lines-repeater .fi-fo-repeater-item-header-label {
    color: rgb(248 250 252);
}

.fi-wo-line-cards > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-content,
.fi-wo-service-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-content,
.fi-wo-product-lines-repeater > .fi-fo-repeater-items > .fi-fo-repeater-item > .fi-fo-repeater-item-content {
    padding: 0.75rem 0.85rem 0.95rem;
}

/* Campos dentro de cada card: 2 columnas en tablet+. */
.fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_id']),
.fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.description']),
.fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='childLines']),
.fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_id']),
.fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.description']),
.fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='childLines']),
.fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_id']),
.fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.description']) {
    grid-column: 1 / -1 !important;
}

@media (max-width: 1023px) {
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.quantity']),
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.unit_price']),
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.line_total']),
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.next_service_odometer']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.quantity']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.unit_price']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.line_total']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.next_service_odometer']),
    .fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.quantity']),
    .fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.unit_price']),
    .fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.line_total']) {
        grid-column: span 6 / span 6 !important;
    }
}

@media (min-width: 1024px) {
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.quantity']),
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.unit_price']),
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.line_total']),
    .fi-wo-line-cards .fi-fo-repeater-item-content .fi-sc-component:has([id$='.next_service_odometer']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.quantity']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.unit_price']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.line_total']),
    .fi-wo-service-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.next_service_odometer']),
    .fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.quantity']),
    .fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.unit_price']),
    .fi-wo-product-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.line_total']) {
        grid-column: span 3 / span 3 !important;
        min-width: 0;
    }
}

/* Productos hijos bajo un servicio: grid estilo oil-picker. */
.fi-wo-service-child-lines-repeater,
.fi-wo-oil-card-grid {
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgb(203 213 225);
}

.dark .fi-wo-service-child-lines-repeater,
.dark .fi-wo-oil-card-grid {
    border-top-color: rgb(71 85 105);
}

.fi-wo-service-child-lines-repeater > .fi-fo-field-wrp > .fi-fo-field-label-col {
    margin-bottom: 0.5rem;
}


/*
 * La clase extraAttributes va EN .fi-fo-repeater (no en un hijo).
 * El repeater ya es display:grid (1 columna). Hay que convertirlo en la
 * misma grilla de cards y usar display:contents en el <ul> para que
 * «Agregar producto» ocupe una celda más, del mismo tamaño.
 */
.fi-fo-repeater.fi-wo-service-child-lines-repeater,
.fi-fo-repeater.fi-wo-oil-card-grid,
.fi-wo-service-child-lines-repeater > .fi-fo-repeater,
.fi-wo-oil-card-grid > .fi-fo-repeater {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    align-items: stretch;
}

@media (max-width: 1023.98px) {
    .fi-fo-repeater.fi-wo-service-child-lines-repeater,
    .fi-fo-repeater.fi-wo-oil-card-grid,
    .fi-wo-service-child-lines-repeater > .fi-fo-repeater,
    .fi-wo-oil-card-grid > .fi-fo-repeater {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 639.98px) {
    .fi-fo-repeater.fi-wo-service-child-lines-repeater,
    .fi-fo-repeater.fi-wo-oil-card-grid,
    .fi-wo-service-child-lines-repeater > .fi-fo-repeater,
    .fi-wo-oil-card-grid > .fi-fo-repeater {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.fi-fo-repeater.fi-wo-service-child-lines-repeater > .fi-fo-repeater-items,
.fi-fo-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-items,
.fi-wo-service-child-lines-repeater .fi-fo-repeater-items,
.fi-wo-oil-card-grid .fi-fo-repeater-items {
    display: contents !important;
}

.fi-fo-repeater.fi-wo-service-child-lines-repeater > .fi-fo-repeater-actions,
.fi-fo-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-actions {
    grid-column: 1 / -1;
}

.fi-fo-repeater.fi-wo-service-child-lines-repeater .fi-fo-repeater-add-between-items-ctn,
.fi-fo-repeater.fi-wo-oil-card-grid .fi-fo-repeater-add-between-items-ctn {
    display: none !important;
}

.fi-fo-repeater.fi-wo-service-child-lines-repeater > .fi-fo-repeater-add,
.fi-fo-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-add,
.fi-wo-service-child-lines-repeater .fi-fo-repeater-add,
.fi-wo-oil-card-grid .fi-fo-repeater-add {
    display: flex !important;
    align-items: stretch;
    justify-content: stretch;
    align-self: stretch;
    width: auto !important;
    min-width: 0;
    min-height: 6.25rem;
    height: 100%;
    margin: 0 !important;
}

.fi-fo-repeater.fi-wo-service-child-lines-repeater > .fi-fo-repeater-add .fi-btn,
.fi-fo-repeater.fi-wo-oil-card-grid > .fi-fo-repeater-add .fi-btn,
.fi-wo-service-child-lines-repeater .fi-fo-repeater-add .fi-btn,
.fi-wo-oil-card-grid .fi-fo-repeater-add .fi-btn,
.fi-wo-service-child-lines-repeater .fi-wo-add-product-card-btn,
.fi-wo-oil-card-grid .fi-wo-add-product-card-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    min-height: 6.25rem !important;
    height: 100% !important;
    padding: 1rem 0.75rem !important;
    border-radius: 0.85rem !important;
    border: 1.5px dashed rgb(148 163 184) !important;
    background: color-mix(in srgb, white 70%, rgb(241 245 249)) !important;
    box-shadow: none !important;
    color: rgb(51 65 85) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    text-align: center;
    white-space: normal !important;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-add .fi-btn .fi-icon,
.fi-wo-oil-card-grid .fi-fo-repeater-add .fi-btn .fi-icon,
.fi-wo-add-product-card-btn .fi-icon,
.fi-wo-service-child-lines-repeater .fi-fo-repeater-add .fi-btn svg,
.fi-wo-oil-card-grid .fi-fo-repeater-add .fi-btn svg,
.fi-wo-add-product-card-btn svg {
    width: 2.75rem !important;
    height: 2.75rem !important;
    flex-shrink: 0;
}

.dark .fi-wo-service-child-lines-repeater .fi-fo-repeater-add .fi-btn,
.dark .fi-wo-oil-card-grid .fi-fo-repeater-add .fi-btn,
.dark .fi-wo-service-child-lines-repeater .fi-wo-add-product-card-btn,
.dark .fi-wo-oil-card-grid .fi-wo-add-product-card-btn {
    border-color: rgb(71 85 105) !important;
    background: color-mix(in srgb, rgb(15 23 42) 80%, rgb(30 41 59)) !important;
    color: rgb(226 232 240) !important;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-add .fi-btn:hover,
.fi-wo-oil-card-grid .fi-fo-repeater-add .fi-btn:hover {
    border-color: rgb(14 165 233) !important;
    background: color-mix(in srgb, rgb(224 242 254) 70%, white) !important;
    color: rgb(3 105 161) !important;
}

.dark .fi-wo-service-child-lines-repeater .fi-fo-repeater-add .fi-btn:hover,
.dark .fi-wo-oil-card-grid .fi-fo-repeater-add .fi-btn:hover {
    border-color: rgb(56 189 248) !important;
    background: color-mix(in srgb, rgb(12 74 110) 55%, rgb(15 23 42)) !important;
    color: rgb(186 230 253) !important;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item,
.fi-wo-oil-card-grid .fi-fo-repeater-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 0.85rem;
    border: 1.5px solid rgb(226 232 240);
    background: white;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.dark .fi-wo-service-child-lines-repeater .fi-fo-repeater-item,
.dark .fi-wo-oil-card-grid .fi-fo-repeater-item {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42);
}

/* Barra de acciones alineada (editar + quitar) */
.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-header,
.fi-wo-oil-card-grid .fi-fo-repeater-item-header {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 5;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    margin: 0;
    padding: 0.2rem;
    border: 1px solid rgb(226 232 240);
    border-radius: 0.55rem;
    background: rgb(255 255 255 / 0.95);
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.12);
}

.dark .fi-wo-service-child-lines-repeater .fi-fo-repeater-item-header,
.dark .fi-wo-oil-card-grid .fi-fo-repeater-item-header {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42 / 0.92);
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-header-label,
.fi-wo-oil-card-grid .fi-fo-repeater-item-header-label,
.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-header-start-actions,
.fi-wo-oil-card-grid .fi-fo-repeater-item-header-start-actions {
    display: none !important;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-header .fi-icon-btn,
.fi-wo-oil-card-grid .fi-fo-repeater-item-header .fi-icon-btn {
    width: 1.85rem;
    height: 1.85rem;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-content,
.fi-wo-oil-card-grid .fi-fo-repeater-item-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-content > .fi-sc,
.fi-wo-oil-card-grid .fi-fo-repeater-item-content > .fi-sc {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    gap: 0 !important;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_card_preview']),
.fi-wo-oil-card-grid .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_card_preview']) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    grid-column: 1 / -1 !important;
}

.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_card_preview']) .fi-in-entry,
.fi-wo-oil-card-grid .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_card_preview']) .fi-in-entry,
.fi-wo-service-child-lines-repeater .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_card_preview']) .fi-fo-placeholder,
.fi-wo-oil-card-grid .fi-fo-repeater-item-content .fi-sc-component:has([id$='.product_card_preview']) .fi-fo-placeholder {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
}

.fi-wo-oil-card {
    --oil-color: #0ea5e9;
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
    height: 100%;
    min-height: 6.25rem;
    padding: 0.55rem 2.5rem 0.55rem 0.65rem;
    overflow: hidden;
    border-radius: 0.75rem;
    border: none;
    background: linear-gradient(
        120deg,
        color-mix(in srgb, var(--oil-color) 12%, white) 0%,
        white 52%
    );
}

.dark .fi-wo-oil-card {
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--oil-color) 18%, rgb(15 23 42)) 0%,
        rgb(30 41 59) 55%
    );
}

.fi-wo-oil-card--empty {
    display: grid;
    place-items: center;
    min-height: 6.25rem;
    padding-inline: 1.5rem;
    font-size: 0.8rem;
    color: rgb(100 116 139);
    text-align: center;
}

.fi-wo-oil-card__stripe {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0.3rem;
    background: var(--oil-color);
}

.fi-wo-oil-card__media {
    --brand-color: #64748b;
    display: grid;
    place-items: center;
    flex: none;
    align-self: center;
    width: 5.25rem;
    height: 5.25rem;
    aspect-ratio: auto;
    margin-inline-start: 0.15rem;
    border-radius: 0.55rem;
    background: color-mix(in srgb, var(--brand-color) 10%, white);
    overflow: hidden;
}

.dark .fi-wo-oil-card__media {
    background: color-mix(in srgb, var(--brand-color) 18%, rgb(15 23 42));
}

.fi-wo-oil-card__media img,
.fi-wo-oil-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.fi-wo-oil-card__img--draggable {
    cursor: grab;
    touch-action: none;
}

.fi-wo-oil-card__img--draggable:active {
    cursor: grabbing;
}

.fi-wo-oil-card__initial {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-color);
}

.fi-wo-oil-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
}

.fi-wo-oil-card__sku {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(148 163 184);
}

.fi-wo-oil-card__viscosity {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.fi-wo-oil-card__name {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.3;
    color: rgb(15 23 42);
    overflow-wrap: anywhere;
}

.dark .fi-wo-oil-card__name {
    color: rgb(248 250 252);
}

.fi-wo-oil-card__brand {
    --brand-color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-color);
}

.fi-wo-oil-card__brand-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--brand-color);
}

.fi-wo-oil-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.fi-wo-oil-card__badge {
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--oil-color) 16%, white);
    color: color-mix(in srgb, var(--oil-color) 72%, black);
    font-size: 0.62rem;
    font-weight: 700;
}

.fi-wo-oil-card__badge--fuel {
    --fuel-color: #6b7280;
    background: color-mix(in srgb, var(--fuel-color) 16%, white);
    color: color-mix(in srgb, var(--fuel-color) 70%, black);
}

.dark .fi-wo-oil-card__badge {
    background: color-mix(in srgb, var(--oil-color) 28%, rgb(15 23 42));
    color: color-mix(in srgb, var(--oil-color) 55%, white);
}

.fi-wo-order-contacts-display {
    margin-top: 0.35rem;
}

.fi-wo-order-contacts-actions {
    margin-top: 0.25rem;
}

.fi-wo-customer-contacts--empty .fi-wo-customer-contacts__empty {
    margin: 0;
    font-size: 0.78rem;
    color: rgb(100 116 139);
}

.dark .fi-wo-customer-contacts--empty .fi-wo-customer-contacts__empty {
    color: rgb(148 163 184);
}

.fi-wo-customer-contact__phone--empty {
    opacity: 0.7;
    font-style: italic;
}

.fi-wo-invoice-preview {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(203 213 225);
    background: rgb(248 250 252);
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgb(30 41 59);
}

.fi-wo-invoice-preview--create {
    border-color: rgb(52 211 153);
    background: color-mix(in srgb, rgb(16 185 129) 12%, white);
}

.fi-wo-invoice-preview--update {
    border-color: rgb(251 191 36);
    background: color-mix(in srgb, rgb(245 158 11) 12%, white);
}

.fi-wo-invoice-preview--keep {
    border-color: rgb(148 163 184);
}

.dark .fi-wo-invoice-preview {
    background: rgb(30 41 59);
    border-color: rgb(71 85 105);
    color: rgb(226 232 240);
}

.fi-wo-oil-card__qty {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgb(100 116 139);
}

.fi-wo-oil-card__qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

.fi-wo-oil-card__qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: 1px solid rgb(203 213 225);
    border-radius: 0.4rem;
    background: rgb(248 250 252);
    color: rgb(51 65 85);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.fi-wo-oil-card__qty-btn:hover {
    background: rgb(241 245 249);
    border-color: rgb(148 163 184);
}

.fi-wo-oil-card__qty-btn:active {
    transform: scale(0.96);
}

.dark .fi-wo-oil-card__qty-btn {
    background: rgb(30 41 59);
    border-color: rgb(71 85 105);
    color: rgb(226 232 240);
}

.dark .fi-wo-oil-card__qty-btn:hover {
    background: rgb(51 65 85);
    border-color: rgb(100 116 139);
}

.fi-wo-oil-card__qty-stepper .fi-wo-oil-card__qty {
    min-width: 1.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.fi-wo-oil-card__price {
    font-size: 0.85rem;
    font-weight: 800;
    color: rgb(15 23 42);
}

.dark .fi-wo-oil-card__price {
    color: rgb(248 250 252);
}

/* Catálogo cards: agregar servicios/productos con filtros */
.fi-wo-catalog-picker {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 52rem;
    min-height: 20rem;
    margin-inline: auto;
}

.fi-wo-catalog-picker.fi-workshop-other-services {
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
}

.fi-wo-catalog-picker:has(.fi-wo-catalog-picker__section):not(.fi-workshop-other-services) {
    max-width: 68rem;
}

.fi-wo-catalog-picker__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.fi-wo-catalog-picker__search {
    flex: 1 1 16rem;
    min-width: 0;
}

.fi-wo-catalog-picker__search input {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgb(203 213 225);
    background: white;
    font-size: 0.9rem;
}

.dark .fi-wo-catalog-picker__search input {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42);
    color: white;
}

.fi-wo-catalog-picker__select-wrap {
    flex: 0 1 18rem;
    min-width: 12rem;
}

.fi-wo-catalog-picker__select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgb(203 213 225);
    background: white;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgb(15 23 42);
    cursor: pointer;
}

.dark .fi-wo-catalog-picker__select {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42);
    color: white;
}

.fi-wo-catalog-picker__body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-height: min(60vh, 38rem);
    overflow: auto;
    padding: 0.15rem;
}

.fi-wo-catalog-picker__body.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.fi-wo-catalog-picker__section {
    --chip-color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fi-wo-catalog-picker__section-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.7rem;
    background: color-mix(in srgb, var(--chip-color) 8%, white);
}

.dark .fi-wo-catalog-picker__section-head {
    background: color-mix(in srgb, var(--chip-color) 16%, rgb(15 23 42));
}

.fi-wo-catalog-picker__section-bar {
    width: 0.28rem;
    align-self: stretch;
    min-height: 1.6rem;
    border-radius: 999px;
    background: var(--chip-color);
}

.fi-wo-catalog-picker__section-icon {
    display: inline-flex;
    color: var(--chip-color);
}

.fi-wo-catalog-picker__section-head strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--chip-color) 72%, black);
}

.dark .fi-wo-catalog-picker__section-head strong {
    color: color-mix(in srgb, var(--chip-color) 45%, white);
}

.fi-wo-catalog-picker__section-head p {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgb(100 116 139);
}

.fi-wo-catalog-picker__section-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--chip-color);
    background: color-mix(in srgb, var(--chip-color) 12%, transparent);
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}

.fi-wo-catalog-picker__body .fi-wo-catalog-picker__grid {
    max-height: none;
    overflow: visible;
}

.fi-wo-catalog-picker__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgb(100 116 139);
}

.fi-wo-catalog-picker__filters {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fi-wo-catalog-picker__filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(100 116 139);
}

.fi-wo-catalog-picker__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.fi-workshop-other-services .fi-wo-catalog-picker__filters,
.fi-workshop-other-services .fi-wo-catalog-picker__chips {
    width: 100%;
}

.fi-workshop-other-services .workshop-oil-chip {
    flex: 1 1 8.5rem;
    justify-content: center;
}

.fi-wo-catalog-picker__chips--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.fi-wo-catalog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: none;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgb(203 213 225);
    background: white;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(51 65 85);
    cursor: pointer;
}

.dark .fi-wo-catalog-chip {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42);
    color: rgb(226 232 240);
}

.fi-wo-catalog-chip.is-active {
    border-color: rgb(14 165 233);
    background: rgb(224 242 254);
    color: rgb(3 105 161);
}

.workshop-oil-chip {
    --chip-color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    border: 1.5px solid rgb(203 213 225);
    background: white;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgb(51 65 85);
    cursor: pointer;
    transition: all 120ms ease;
    touch-action: manipulation;
}

.dark .workshop-oil-chip {
    background: rgb(15 23 42);
    border-color: rgb(71 85 105);
    color: rgb(226 232 240);
}

.workshop-oil-chip__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    background: var(--chip-color);
    flex: none;
}

.workshop-oil-chip:hover {
    border-color: var(--chip-color);
}

.workshop-oil-chip.is-active {
    background: color-mix(in srgb, var(--chip-color) 14%, white);
    border-color: var(--chip-color);
    color: color-mix(in srgb, var(--chip-color) 80%, black);
    font-weight: 600;
}

.dark .workshop-oil-chip.is-active {
    background: color-mix(in srgb, var(--chip-color) 24%, rgb(15 23 42));
    color: color-mix(in srgb, var(--chip-color) 55%, white);
}

.workshop-oil-chip .fi-workshop-icon {
    width: 0.9rem;
    height: 0.9rem;
    flex: none;
    color: currentColor;
}

.fi-wo-catalog-chip.has-color {
    border-color: color-mix(in srgb, var(--chip-color, #64748b) 45%, white);
    background: color-mix(in srgb, var(--chip-color, #64748b) 16%, white);
    color: var(--chip-color, #334155);
}

.fi-wo-catalog-chip.has-color.is-active {
    border-color: var(--chip-color, #0ea5e9);
    background: var(--chip-color, #0ea5e9);
    color: white;
}

.dark .fi-wo-catalog-chip.is-active {
    border-color: rgb(56 189 248);
    background: rgb(12 74 110);
    color: rgb(186 230 253);
}

.dark .fi-wo-catalog-chip.has-color {
    border-color: color-mix(in srgb, var(--chip-color, #94a3b8) 55%, rgb(15 23 42));
    background: color-mix(in srgb, var(--chip-color, #94a3b8) 22%, rgb(15 23 42));
    color: color-mix(in srgb, var(--chip-color, #e2e8f0) 78%, white);
}

.dark .fi-wo-catalog-chip.has-color.is-active {
    border-color: var(--chip-color, #38bdf8);
    background: var(--chip-color, #0284c7);
    color: white;
}

.fi-wo-catalog-picker__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-height: min(55vh, 32rem);
    overflow: auto;
    padding: 0.15rem;
}

@media (max-width: 1023.98px) {
    .fi-wo-catalog-picker__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639.98px) {
    .fi-wo-catalog-picker__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fi-wo-catalog-picker__section .fi-wo-catalog-picker__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (max-width: 1023.98px) {
    .fi-wo-catalog-picker__section .fi-wo-catalog-picker__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639.98px) {
    .fi-wo-catalog-picker__section .fi-wo-catalog-picker__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fi-wo-catalog-picker__grid.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.fi-wo-catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.65rem;
    text-align: left;
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    background: linear-gradient(180deg, rgb(248 250 252), white);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.dark .fi-wo-catalog-card {
    border-color: rgb(51 65 85);
    background: linear-gradient(180deg, rgb(15 23 42), rgb(30 41 59));
}

.fi-wo-catalog-card:hover {
    border-color: rgb(125 211 252);
}

.fi-wo-catalog-card.is-selected,
.fi-wo-catalog-card.is-added {
    border-color: rgb(22 163 74) !important;
    box-shadow: 0 0 0 2px rgb(22 163 74 / 0.45) !important;
    background: linear-gradient(180deg, rgb(220 252 231), rgb(255 255 255)) !important;
}

.dark .fi-wo-catalog-card.is-selected,
.dark .fi-wo-catalog-card.is-added {
    border-color: rgb(74 222 128) !important;
    box-shadow: 0 0 0 2px rgb(74 222 128 / 0.45) !important;
    background: linear-gradient(180deg, rgb(20 83 45 / 0.55), rgb(15 23 42)) !important;
}

.fi-wo-catalog-card.is-selected.is-product,
.fi-wo-catalog-card.is-added.is-product,
.fi-wo-catalog-card.is-selected.is-service,
.fi-wo-catalog-card.is-added.is-service {
    border-inline-start-color: rgb(22 163 74) !important;
}

.fi-wo-catalog-card__badge--added {
    display: inline-flex;
    align-items: center;
    background: rgb(22 163 74) !important;
    color: white !important;
    font-weight: 700;
}

.dark .fi-wo-catalog-card__badge--added {
    background: rgb(34 197 94) !important;
    color: rgb(15 23 42) !important;
}

.fi-wo-catalog-card.is-selected .fi-wo-catalog-card__check,
.fi-wo-catalog-card.is-added .fi-wo-catalog-card__check {
    border-color: rgb(22 163 74) !important;
    background: rgb(22 163 74) !important;
    color: white !important;
}

.fi-wo-catalog-card.is-service,
.fi-wo-catalog-card.is-product {
    flex-direction: row;
    align-items: stretch;
    gap: 0.7rem;
    min-height: 5.5rem;
    padding: 0.5rem 1.7rem 0.5rem 0.5rem;
    border-radius: 0.75rem;
}

.fi-wo-catalog-card.is-service {
    border-inline-start: 3px solid rgb(14 165 233);
}

.fi-wo-catalog-card.is-product {
    border-inline-start: 3px solid rgb(34 197 94);
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__media,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__media {
    flex: none;
    align-self: center;
    width: 5rem;
    height: 5rem;
    aspect-ratio: auto;
    border-radius: 0.55rem;
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__body,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__body {
    flex: 1 1 auto;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__name,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__name {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__initial,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__initial {
    font-size: 1.15rem;
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__price,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__price {
    font-size: 0.78rem;
    margin-top: 0.15rem;
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__check,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__check {
    top: 0.4rem;
    right: 0.4rem;
    width: 1.15rem;
    height: 1.15rem;
}

.fi-wo-catalog-card.is-service .fi-wo-catalog-card__check svg,
.fi-wo-catalog-card.is-product .fi-wo-catalog-card__check svg {
    width: 0.78rem;
    height: 0.78rem;
}

.fi-wo-catalog-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    border-radius: 0.55rem;
    background: rgb(241 245 249);
    overflow: hidden;
}

.dark .fi-wo-catalog-card__media {
    background: rgb(15 23 42);
}

.fi-wo-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fi-wo-catalog-card__initial {
    font-size: 1.35rem;
    font-weight: 800;
    color: rgb(100 116 139);
}

.fi-wo-catalog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.fi-wo-catalog-card__sku {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(148 163 184);
}

.fi-wo-catalog-card__name {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: rgb(15 23 42);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .fi-wo-catalog-card__name {
    color: rgb(248 250 252);
}

.fi-wo-catalog-card__brand {
    font-size: 0.72rem;
    color: rgb(100 116 139);
}

.fi-wo-catalog-card__brand.has-color {
    color: var(--chip-color, rgb(100 116 139));
    font-weight: 700;
}

.fi-wo-catalog-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.fi-wo-catalog-card__badge {
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgb(224 242 254);
    color: rgb(3 105 161);
    font-size: 0.62rem;
    font-weight: 700;
}

.fi-wo-catalog-card__badge.has-color {
    background: color-mix(in srgb, var(--chip-color, #0284c7) 18%, white);
    color: var(--chip-color, #0369a1);
}

.dark .fi-wo-catalog-card__badge.has-color {
    background: color-mix(in srgb, var(--chip-color, #7dd3fc) 28%, rgb(15 23 42));
    color: color-mix(in srgb, var(--chip-color, #e0f2fe) 85%, white);
}

.fi-wo-catalog-card__badge--class {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.dark .fi-wo-catalog-card__badge {
    background: rgb(12 74 110);
    color: rgb(186 230 253);
}

.dark .fi-wo-catalog-card__badge--class {
    background: rgb(20 83 45);
    color: rgb(187 247 208);
}

.fi-wo-catalog-card__badge--due {
    background: rgb(254 226 226);
    color: rgb(153 27 27);
}

.dark .fi-wo-catalog-card__badge--due {
    background: rgb(127 29 29 / 0.45);
    color: rgb(254 202 202);
}

.fi-wo-catalog-card.is-due:not(.is-selected) {
    border-color: rgb(252 165 165);
}

.fi-workshop-other-services__hint {
    font-size: 0.75rem;
    color: rgb(107 114 128);
    margin-inline-start: auto;
}

.fi-workshop-service-tabs {
    margin-top: 0.5rem;
}

.fi-wo-catalog-card__price {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgb(15 23 42);
}

.dark .fi-wo-catalog-card__price {
    color: rgb(248 250 252);
}

.fi-wo-catalog-card__check {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    display: grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    border: 1px solid rgb(148 163 184);
    background: white;
    color: transparent;
}

.fi-wo-catalog-card__check svg {
    width: 0.85rem;
    height: 0.85rem;
}

.fi-wo-catalog-picker__empty,
.fi-wo-catalog-picker__hint {
    margin: 0;
    font-size: 0.85rem;
    color: rgb(100 116 139);
}

.fi-wo-catalog-picker__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgb(226 232 240);
}

.dark .fi-wo-catalog-picker__footer {
    border-top-color: rgb(51 65 85);
}

.fi-wo-catalog-picker__btn {
    padding: 0.5rem 0.9rem;
    border-radius: 0.65rem;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.fi-wo-catalog-picker__btn.is-gray {
    border-color: rgb(203 213 225);
    background: white;
    color: rgb(51 65 85);
}

.fi-wo-catalog-picker__btn.is-success {
    background: rgb(22 163 74);
    color: white;
}

.dark .fi-wo-catalog-picker__btn.is-gray {
    border-color: rgb(71 85 105);
    background: rgb(15 23 42);
    color: rgb(226 232 240);
}

/* Modal editar servicio / producto: tipografía y cantidad táctil */
.fi-wo-line-edit-modal {
    --fi-wo-edit-font: 1.05rem;
}

.fi-wo-line-edit-modal .fi-modal-header-heading {
    font-size: 1.25rem;
    font-weight: 700;
}

.fi-wo-line-edit-modal .fi-fo-field-wrp-label,
.fi-wo-line-edit-modal .fi-fo-field-wrp-label span {
    font-size: 1rem !important;
    font-weight: 600;
}

.fi-wo-line-edit-modal .fi-input,
.fi-wo-line-edit-modal .fi-select-input,
.fi-wo-line-edit-modal .fi-wo-line-edit-input,
.fi-wo-line-edit-modal input[type="text"],
.fi-wo-line-edit-modal input[type="number"],
.fi-wo-line-edit-modal .fi-select-input-value-label {
    font-size: var(--fi-wo-edit-font) !important;
    min-height: 2.75rem;
}

.fi-wo-line-edit-modal .fi-input-wrp,
.fi-wo-line-edit-modal .fi-select-input-btn {
    min-height: 2.75rem;
}

.fi-wo-line-edit-modal .fi-wo-qty-stepper-col,
.fi-wo-line-edit-modal .fi-sc-component:has(.fi-wo-qty-stepper),
.fi-wo-line-edit-modal .fi-grid-col:has(.fi-wo-qty-stepper),
.fi-wo-qty-stepper,
.fi-wo-qty-stepper.fi-fo-field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
}

.fi-wo-qty-stepper .fi-input-wrp {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 0.4rem;
}

.fi-wo-qty-stepper .fi-input-wrp-prefix,
.fi-wo-qty-stepper .fi-input-wrp-suffix {
    flex: 0 0 auto !important;
}

.fi-wo-qty-stepper .fi-input-wrp-content-ctn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.fi-wo-qty-stepper .fi-input,
.fi-wo-qty-stepper input,
.fi-wo-qty-stepper__input {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
}

.fi-wo-qty-stepper__btn {
    cursor: pointer !important;
    user-select: none;
    min-width: 3rem !important;
    min-height: 3rem !important;
    padding-inline: 0.65rem !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
    touch-action: manipulation;
}

.fi-wo-qty-stepper__btn:active {
    transform: scale(0.96);
}


.fi-wo-line-edit-modal .fi-modal-footer-actions .fi-btn {
    min-height: 2.75rem;
    font-size: 1rem;
}

.fi-wo-edit-heading {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
}

.fi-wo-status-badge {
    min-height: 2.35rem !important;
    padding: 0.4rem 1.05rem !important;
    border-radius: 0.7rem !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.15 !important;
    text-transform: uppercase;
}

.fi-header-subheading:has(.fi-wo-status-badge) {
    max-width: none;
    margin-top: 0.55rem;
    color: inherit;
}

.fi-wo-status-display .fi-sc-placeholder-content,
.fi-wo-status-display .fi-fo-placeholder-content {
    margin-top: 0.15rem;
}

.fi-wo-vehicle-identity-wrap {
    margin-bottom: 0.35rem;
}

.fi-wo-vehicle-customer-card {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.7rem 1rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
}

.dark .fi-wo-vehicle-customer-card {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42);
}

.fi-wo-vehicle-customer-card .fi-wo-vehicle-identity-wrap {
    margin-bottom: 0;
}

.fi-wo-vehicle-customer-card .fi-wo-vehicle-identity {
    border: 0;
    background: transparent;
    padding: 0 0 0.65rem;
    border-radius: 0;
}

.fi-wo-vehicle-customer-card .fi-wo-vehicle-customer-field {
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(226 232 240);
}

.dark .fi-wo-vehicle-customer-card .fi-wo-vehicle-customer-field {
    border-top-color: rgb(51 65 85);
}

.fi-wo-customer-whatsapp-wrap {
    margin-top: 0.45rem;
}

.fi-wo-vehicle-customer-card .fi-wo-customer-identity-wrap {
    margin-bottom: 0;
}

.fi-wo-customer-identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: start;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    background: white;
}

.dark .fi-wo-customer-identity {
    border-color: rgb(51 65 85);
    background: rgb(30 41 59);
}

.fi-wo-customer-identity--empty {
    border-style: dashed;
    background: rgb(248 250 252);
}

.dark .fi-wo-customer-identity--empty {
    background: rgb(15 23 42);
}

.fi-wo-customer-identity__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    color: rgb(37 99 235);
    background: rgb(219 234 254);
}

.fi-wo-customer-identity__icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.dark .fi-wo-customer-identity__icon {
    color: rgb(191 219 254);
    background: rgb(30 58 138);
}

.fi-wo-customer-identity__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.fi-wo-customer-identity__headline {
    color: rgb(15 23 42);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.dark .fi-wo-customer-identity__headline {
    color: rgb(248 250 252);
}

.fi-wo-customer-identity__legal,
.fi-wo-customer-identity__details {
    color: rgb(100 116 139);
    font-size: 0.8rem;
    line-height: 1.35;
}

.fi-wo-vehicle-customer-card .fi-wo-customer-identity {
    border: 0;
    background: transparent;
    padding: 0 0 0.65rem;
    border-radius: 0;
}

.fi-wo-customer-identity .fi-wo-customer-contacts {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(226 232 240);
}

.dark .fi-wo-customer-identity .fi-wo-customer-contacts {
    border-top-color: rgb(51 65 85);
}

.fi-wo-customer-identity__contacts {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(226 232 240);
}

.dark .fi-wo-customer-identity__contacts {
    border-top-color: rgb(51 65 85);
}

.fi-wo-customer-select-toolbar {
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(226 232 240);
}

.fi-wo-vehicle-select-toolbar {
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgb(226 232 240);
}

.dark .fi-wo-customer-select-toolbar {
    border-top-color: rgb(51 65 85);
}

.dark .fi-wo-vehicle-select-toolbar {
    border-top-color: rgb(51 65 85);
}

.fi-wo-vehicle-customer-card .fi-wo-customer-select-toolbar,
.fi-wo-vehicle-customer-card .fi-wo-vehicle-select-toolbar {
    border-top: 0;
    padding-top: 0;
}

.fi-wo-technician-toggle .fi-fo-toggle-buttons-btn-ctn:has(.fi-fo-toggle-buttons-input:checked) .fi-btn.fi-color-gray {
    --tw-ring-color: rgb(100 116 139);
    background-color: rgb(100 116 139);
    color: white;
}

.dark .fi-wo-technician-toggle .fi-fo-toggle-buttons-btn-ctn:has(.fi-fo-toggle-buttons-input:checked) .fi-btn.fi-color-gray {
    background-color: rgb(71 85 105);
    color: rgb(248 250 252);
}

.fi-wo-customer-contacts__title {
    color: rgb(71 85 105);
    font-size: 0.75rem;
    font-weight: 700;
}

.dark .fi-wo-customer-contacts__title {
    color: rgb(203 213 225);
}

.fi-wo-customer-contacts > .fi-wo-customer-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 4.25rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgb(226 232 240);
    border-radius: 0.6rem;
    background: white;
    color: rgb(100 116 139);
    font-size: 0.8rem;
}

.dark .fi-wo-customer-contacts > .fi-wo-customer-contact {
    border-color: rgb(51 65 85);
    background: rgb(30 41 59);
}

.fi-wo-customer-contact--primary {
    border-left: 3px solid rgb(22 163 74) !important;
}

.fi-wo-customer-contact__identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.08rem;
}

.fi-wo-customer-contact__label {
    width: fit-content;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: rgb(220 252 231);
    color: rgb(100 116 139);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.dark .fi-wo-customer-contact__label {
    background: rgb(20 83 45);
    color: rgb(148 163 184);
}

.fi-wo-customer-contact__identity > strong {
    overflow: hidden;
    color: rgb(15 23 42);
    font-size: 0.82rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark .fi-wo-customer-contact__identity > strong {
    color: rgb(248 250 252);
}

.fi-wo-customer-contact__identity > small {
    color: rgb(100 116 139);
    font-size: 0.76rem;
}

.fi-wo-customer-contact__identity > strong,
.fi-wo-customer-contact__identity > small {
    min-width: 0;
}

.fi-wo-customer-contact__whatsapp {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 0.25rem 0.55rem;
    border-radius: 0.4rem;
    background: rgb(22 163 74);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}

.fi-wo-customer-contact__whatsapp:hover {
    background: rgb(21 128 61);
}

.fi-wo-customer-contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.fi-wo-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(51 65 85);
    background: rgb(226 232 240);
    text-decoration: none;
}

.dark .fi-wo-contact-badge {
    color: rgb(226 232 240);
    background: rgb(51 65 85);
}

.fi-wo-contact-badge--principal {
    background: rgb(219 234 254);
    color: rgb(29 78 216);
}

.dark .fi-wo-contact-badge--principal {
    background: rgb(30 58 138);
    color: rgb(191 219 254);
}

.fi-wo-contact-badge--whatsapp {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.fi-wo-contact-badge--whatsapp:hover {
    background: rgb(187 247 208);
}

.dark .fi-wo-contact-badge--whatsapp {
    background: rgb(20 83 45);
    color: rgb(187 247 208);
}

.dark .fi-wo-contact-badge--whatsapp:hover {
    background: rgb(22 101 52);
}

.fi-wo-contact-badge--principal.fi-wo-contact-badge--whatsapp {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.fi-wo-wa-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.fi-wo-vehicle-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
}

.fi-wo-vehicle-identity--card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem 1.35rem;
    padding: 0.7rem 1rem;
}

@media (max-width: 640px) {
    .fi-wo-vehicle-identity--card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fi-wo-vehicle-identity--card .fi-wo-vehicle-plate {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}

.dark .fi-wo-vehicle-identity {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42);
}

.fi-wo-vehicle-identity--heading {
    width: auto;
    padding: 0.15rem 0.55rem 0.15rem 0.25rem;
    border-radius: 999px;
    gap: 0.45rem 0.7rem;
}

.fi-wo-vehicle-plate {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 13.25rem;
    background: #ffffff;
    border: 3px solid #0b3a82;
    border-radius: 0.28rem;
    box-shadow:
        inset 0 0 0 1.5px #0b3a82,
        0 2px 8px rgb(15 23 42 / 0.14);
    flex: none;
    overflow: hidden;
}

.fi-wo-vehicle-plate__head {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.65rem 0.08rem;
    border-bottom: 1.5px solid #0b3a82;
    background: #ffffff;
}

.fi-wo-vehicle-plate__country {
    color: #0b3a82;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.38em;
    text-indent: 0.38em;
    text-transform: uppercase;
    line-height: 1;
}

.fi-wo-vehicle-plate__number {
    font-family: "Arial Narrow", "Arial Black", "Helvetica Neue", Tahoma, sans-serif;
    font-size: clamp(1.9rem, 4.4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    color: #0b3a82;
    text-align: center;
    padding: 0.48rem 0.85rem 0.42rem;
    white-space: nowrap;
    background: #ffffff;
}

.fi-wo-vehicle-identity--heading .fi-wo-vehicle-plate {
    min-width: 0;
    flex-direction: row;
    align-items: center;
    border-width: 2px;
}

.fi-wo-vehicle-identity--heading .fi-wo-vehicle-plate__head {
    display: none;
}

.fi-wo-vehicle-identity--heading .fi-wo-vehicle-plate__number {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.55rem;
}

.fi-vehicle-type-link {
    display: inline-flex;
    flex: none;
    color: inherit;
    text-decoration: none;
}

.fi-vehicle-type-link:hover .fi-vehicle-type-icon {
    opacity: 0.86;
}

.fi-vehicle-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--vehicle-color, #64748b);
    flex: none;
    filter: drop-shadow(0 1px 1px rgb(15 23 42 / 0.28));
}

.fi-vehicle-type-icon {
    width: 8rem;
    height: 4.75rem;
    display: block;
}

.fi-wo-vehicle-identity--heading .fi-vehicle-type-icon {
    width: 3.5rem;
    height: 2.1rem;
}

.fi-wo-vehicle-identity__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem 0.75rem;
    min-width: 0;
}

.fi-wo-vehicle-identity__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.7rem;
}

.fi-wo-vehicle-identity__brand {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgb(71 85 105);
}

.dark .fi-wo-vehicle-identity__brand {
    color: rgb(148 163 184);
}

.fi-wo-vehicle-identity__model {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: rgb(15 23 42);
}

.dark .fi-wo-vehicle-identity__model {
    color: rgb(248 250 252);
}

.fi-wo-vehicle-identity__year {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgb(71 85 105);
}

.dark .fi-wo-vehicle-identity__year {
    color: rgb(203 213 225);
}

.fi-wo-vehicle-identity__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.85rem;
}

.fi-wo-vehicle-identity--heading .fi-wo-vehicle-identity__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.fi-wo-vehicle-identity--heading .fi-wo-vehicle-identity__model {
    font-size: 1.05rem;
}

.fi-wo-vehicle-identity__class {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(100 116 139);
}

.fi-wo-vehicle-identity .fi-vehicle-brand-icon {
    width: 1.85rem;
    height: 1.85rem;
}

.workshop-service-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.35rem;
}

/* Evita que el navegador "ancle" el scroll al remorfar la OT (micro-saltos). */
.fi-main,
.fi-main-ctn,
.fi-work-order-form,
.fi-work-order-form * {
    overflow-anchor: none;
}
