/* ── enix-quote.css — Enix3 Quote Detail design system ── */

/* Page wrapper — sin max-width para respetar el ancho estándar de .enix-finance-wrap */
.cot-wrap { padding-bottom: 32px; }

/* Breadcrumb */
.cot-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #64748b; padding: 18px 0 14px; }
.cot-crumb a { color: #64748b; transition: color .15s; }
.cot-crumb a:hover { color: #d97706; }
.cot-crumb .sep { color: #cbd5e1; }
.cot-crumb .here { color: #334155; font-weight: 600; }

/* Quote header card */
.quote-head { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); overflow: hidden; margin-bottom: 16px; }
.quote-head__top { display: flex; align-items: flex-start; gap: 18px; padding: 20px 22px; border-left: 4px solid #d97706; flex-wrap: wrap; }
.quote-head__id { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 8px 12px; background: #fffbeb; border: 1px solid #fcd34d; border-radius: 10px; flex-shrink: 0; }
.quote-head__id small { font-size: 9px; font-weight: 800; letter-spacing: .1em; color: #d97706; text-transform: uppercase; }
.quote-head__id strong { font-size: 22px; font-weight: 900; color: #d97706; line-height: 1; }
.quote-head__main { flex: 1; min-width: 240px; }
.quote-head__eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; }
.quote-head__title { font-size: 21px; font-weight: 800; color: #0d2240; letter-spacing: -.3px; }
.quote-head__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.qmeta { display: flex; flex-direction: column; gap: 1px; }
.qmeta small { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.qmeta span { font-size: 13px; font-weight: 600; color: #334155; }
.cart-qmeta-total { font-size: 13px; font-weight: 600; color: #334155; }
.cart-totalbar { display: flex; flex-direction: column; align-items: flex-end; }
.cart-totalbar__lbl { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.cart-totalbar__val { font-size: 15px; font-weight: 700; color: #334155; }
.qh-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #dcfce7; color: #16a34a; }
.qh-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.qh-total { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 4px 0; }
.qh-total .qh-total-lbl { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.qh-total .qh-total-val { font-size: 24px; font-weight: 900; color: #D24717; letter-spacing: -.4px; }
.quote-head__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px; background: #f8fafc; border-top: 1px solid #f1f5f9; align-items: center; }
.qh-spacer { flex: 1; }

/* Main grid */
.cot-grid { display: grid; grid-template-columns: 1fr 332px; gap: 18px; align-items: start; }

/* Cards */
.cot-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.cot-card__head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid #f1f5f9; }
.cot-card__head h3 { font-size: 14px; font-weight: 800; color: #0d2240; letter-spacing: -.1px; }
.cot-editor-wrap { padding: 12px 16px 16px; }
.cot-update-row { text-align: center; margin: 0 0 20px; }

/* Items section */
.cot-items-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cot-items-head h2 { font-size: 16px; font-weight: 800; color: #0d2240; }
.items-count { font-size: 11px; font-weight: 700; color: #d97706; background: #fffbeb; border: 1px solid #fde68a; padding: 3px 9px; border-radius: 99px; }
.items-list { display: flex; flex-direction: column; gap: 12px; }

/* Item card */
/* Columna de precio en 158px y no 234px: ahi solo van el importe y "Eliminar", asi que sobraban
   ~76px de aire al costado de la tarjeta. Lo que se libera se lo queda .item__body, donde los
   titulos largos de hotel dejaban de partirse en dos renglones.
   El caso mas ancho es el desglose pix/cartao con las cuotas (.p-parc), que a 11px entra en los
   130px utiles y si no envuelve, que es lo que ya hacia antes. */
.items-list > .item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); display: grid; grid-template-columns: 64px 1fr 158px; overflow: hidden; transition: box-shadow .2s, transform .14s; }
.items-list > .item:hover { box-shadow: 0 8px 40px rgba(0,0,0,.16); transform: translateY(-1px); }

/* Item icon column */
.item__icn { display: flex; align-items: flex-start; justify-content: center; padding: 18px 0; }
.item__icn .tile { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 22px; }
.tile.t-ticket { background: #fdecdc; }
.tile.t-hotel { background: #dbeafe; }
.tile.t-transfer { background: #e0f2fe; }
.tile.t-insurance { background: #dcfce7; }
.tile.t-excursion { background: #f3e8ff; }
/* Iconos FA dentro de los tiles: mismo azul y tamaño que la barra de productos
   (.enix-product-tab__icon i en enix-booking.css) */
.tile i { color: #2c5078; font-size: 19px; line-height: 1; }

/* Carrito (/cart): foto del servicio en la 1ra columna en vez del tile con icono. La columna se
   ensancha para todas las filas (con o sin foto) para que las tarjetas queden alineadas; si la foto
   no carga, el onerror le saca .item__icn--photo y vuelve a verse el tile. */
.items-list--cart > .item,
.items-list--photo > .item { grid-template-columns: 112px 1fr 158px; } /* --photo: editor de presupuestos (menos SUNCOAST) */
.item__photo { width: 88px; height: 66px; border-radius: var(--enix-q-img-radius, 13px); object-fit: cover; display: block; background: #f1f5f9; }
.item__icn--photo .tile { display: none; }
/* Quote editor: the photo needs its own padding. With the base `padding: 18px 0` it sat flush
   against the card edge and the body text, so its rounded corners were lost and it looked square.
   The column grows to 120px so the photo keeps ~92px of width. */
.items-list--photo > .item { grid-template-columns: 120px 1fr 158px; }
.items-list--photo .item__icn--photo { padding: 16px 12px 16px 16px; }

/* Item body column */
.item__body { padding: 16px 8px 16px 0; min-width: 0; }
.item__cat { font-size: 9.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; }
.item__title { font-size: 15.5px; font-weight: 800; color: #0d2240; margin-bottom: 3px; letter-spacing: -.2px; }
.item__sub { font-size: 12.5px; color: #64748b; margin-bottom: 10px; }
.item__meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 6px; }
.imeta { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #475569; background: #f1f5f9; border-radius: 7px; padding: 3px 9px; }
.imeta--success { background: #dcfce7; color: #16a34a; }
.imeta--danger { background: #fee2e2; color: #dc2626; }
/* ── Presupuesto convertido ──────────────────────────────────────────────────────────
   Todo junto DEBAJO del total, en el lugar del boton Convertir: badge de estado + files
   generados + detalle item por item. Verde pastel: es un estado logrado, no una advertencia. */
.qo-conv-badge { display: flex; align-items: center; gap: 10px; padding: 11px 13px; margin-bottom: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; border-left: 4px solid #10b981; border-radius: 10px; }
.qo-conv-badge__icon { flex: 0 0 auto; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: #10b981; color: #fff; border-radius: 50%; font-size: 12px; }
.qo-conv-badge__txt b { display: block; font-size: 13px; font-weight: 800; color: #065f46; line-height: 1.25; }
.qo-conv-badge__txt span { display: block; font-size: 11px; color: #059669; margin-top: 1px; }

/* Detalle: apilado, pensado para el ancho del sidebar (no entra una tabla) */
.qo-conv { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.qo-conv__title { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #94a3b8; display: flex; align-items: center; gap: 6px; }

.qo-conv__files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qo-file-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; background: #f8fafc; border: 1.5px solid #cbd5e1; border-radius: 8px; color: #1e5fa8; font-size: 12px; font-weight: 800; cursor: pointer; transition: all .16s; }
.qo-file-chip:hover { border-color: #1e5fa8; background: #eef4fb; transform: translateY(-1px); }
.qo-file-chip > i { color: #64748b; font-size: 11px; }
.qo-file-chip em { font-style: normal; font-weight: 700; font-size: 10px; color: #64748b; background: #e2e8f0; border-radius: 4px; padding: 1px 5px; }

.qo-conv__list { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.qo-conv__item { padding: 9px 11px; background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid #10b981; border-radius: 8px; transition: border-color .16s; }
.qo-conv__item:hover { border-color: #cbd5e1; border-left-color: #10b981; }
.qo-conv__item.is-skipped { border-left-color: #f87171; background: #fefafa; }

.qo-conv__item-head { display: flex; align-items: flex-start; gap: 8px; }
.qo-conv__ico { flex: 0 0 auto; margin-top: 2px; font-size: 11px; color: #94a3b8; width: 13px; text-align: center; }
.qo-conv__item-txt { min-width: 0; }
.qo-conv__item-name { font-size: 12.5px; font-weight: 700; color: #0d2240; line-height: 1.3; }
.qo-conv__item-sub { font-size: 10.5px; color: #94a3b8; margin-top: 1px; line-height: 1.35; }
.qo-conv__item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 7px; padding-left: 21px; }
.qo-conv__date { font-size: 10px; color: #94a3b8; }

.qo-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: #475569; background: #f1f5f9; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.qo-tag--manual { background: #e0e7ff; color: #4338ca; }
.qo-tag--skip { background: #fee2e2; color: #b91c1c; }

.qo-file-link { display: inline-flex; align-items: center; gap: 5px; background: #eef4fb; border: 0; padding: 3px 8px; border-radius: 6px; color: #1e5fa8; font-size: 11.5px; font-weight: 800; cursor: pointer; transition: all .16s; }
.qo-file-link:hover { background: #1e5fa8; color: #fff; }
.qo-file-link > i { font-size: 9px; }

/* Solo lectura: presupuesto convertido (datos y markups). El guard real esta en el codigo;
   esto evita que se vea editable. Mismo patron que .disabled-item del itinerario. */
.qo-readonly { pointer-events: none; opacity: .62; filter: saturate(.6); }

.qo-locked-note { display: flex; align-items: center; gap: 9px; max-width: 1200px; margin: 0 auto 16px; padding: 11px 14px; background: #ecfdf5; border: 1px solid #a7f3d0; border-left: 4px solid #10b981; border-radius: 10px; color: #065f46; font-size: 12.5px; font-weight: 600; }

/* MultiRoom: desglose de las N habitaciones de un mismo item de hotel. Sin esto solo se ve el nombre
   de la 1ra habitacion (SelectedObject_SubItem) y el item parece de una sola, aunque el precio sea el total. */
.item__rooms { margin: 2px 0 10px; display: flex; flex-direction: column; gap: 3px; }
.item__room { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; color: #64748b; }
.item__room-idx { flex: 0 0 auto; min-width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #2c5078; background: #e8eef6; border-radius: 5px; }
.item__room-name { flex: 1 1 auto; min-width: 0; }
.item__room-price { flex: 0 0 auto; font-weight: 600; color: #475569; }

/* Resort fee del alojamiento: INFORMATIVO — sin monto y sin impacto en los totales; lo cobra el
   hotel directo. En la lista va solo este chip, porque .item__body mide ~265px (la grilla del item
   es 64px 1fr 234px) y no alcanza para el texto del proveedor + la nota: el detalle se edita en el
   modal .qo-rfee-modal. min-width:0 en toda la cadena para que la nota larga no ensanche la tarjeta. */
.qo-rfee-chip { display: flex; align-items: baseline; gap: 6px; width: 100%; min-width: 0; margin-top: 9px; padding: 5px 0 0; border: none; border-top: 1px solid #eef2f7; background: none; text-align: left; font: inherit; cursor: pointer; }
.qo-rfee-chip > i { flex: 0 0 auto; font-size: 10px; color: #cbd5e1; }
.qo-rfee-chip > span { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #94a3b8; }
/* La nota se recorta con ellipsis: si no, un texto largo estiraba la columna del item */
.qo-rfee-chip > em { flex: 1 1 auto; min-width: 0; font-style: normal; font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qo-rfee-chip > em.qo-rfee-chip__empty { color: #1e5fa8; text-decoration: underline; }
.qo-rfee-chip:hover > i { color: #1e5fa8; }
.qo-rfee-chip:hover > span { color: #64748b; }
.qo-rfee-chip--set > i { color: #94a3b8; }

/* ── Modal del resort fee ── mismo overlay que el form manual de QuoteDetail ── */
.qo-rfee-modal { position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(13,34,64,.55); }
.qo-rfee-modal__card { display: flex; flex-direction: column; width: 100%; max-width: 620px; max-height: 88vh; background: #fff; border-radius: 12px; box-shadow: 0 18px 60px rgba(13,34,64,.28); overflow: hidden; }

.qo-rfee-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eef2f7; }
.qo-rfee-modal__title { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: #0d2240; }
.qo-rfee-modal__title i { color: #94a3b8; font-size: 13px; margin-right: 5px; }
.qo-rfee-modal__sub { font-size: 12.5px; color: #64748b; margin-top: 2px; }
.qo-rfee-modal__x { border: none; background: none; color: #94a3b8; font-size: 15px; cursor: pointer; padding: 0 2px; }
.qo-rfee-modal__x:hover { color: #475569; }

.qo-rfee-modal__body { padding: 16px 20px; overflow-y: auto; }
.qo-rfee-modal__note { padding: 9px 12px; background: #f8fafc; border-left: 3px solid #cbd5e1; border-radius: 6px; font-size: 12px; color: #64748b; line-height: 1.5; }
.qo-rfee-modal__note b { color: #475569; }

.qo-rfee-modal__block { margin-top: 16px; }
.qo-rfee-modal__label { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.qo-rfee-modal__label > span { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64748b; }
.qo-rfee-modal__label > em { font-style: normal; font-size: 11px; color: #b6c2d1; }

/* overflow-wrap: el rateComments de algunos proveedores trae URLs largas sin espacios */
.qo-rfee-modal__prov { padding: 10px 12px; background: #fafbfc; border: 1px solid #eef2f7; border-radius: 8px; font-size: 12.5px; color: #475569; line-height: 1.55; max-height: 190px; overflow-y: auto; overflow-wrap: break-word; }
.qo-rfee-modal__prov--empty { color: #94a3b8; font-style: italic; }
.qo-rfee-modal__copy { margin-top: 7px; border: 1px solid #d8e0ea; background: #fff; color: #1e5fa8; border-radius: 7px; padding: 5px 11px; font-size: 11.5px; font-weight: 700; cursor: pointer; transition: background .14s; }
.qo-rfee-modal__copy:hover { background: #eef4fb; }
.qo-rfee-modal__copy i { margin-right: 4px; }

/* Cada cargo que declara el hotel, con su importe textual y el atajo para pasarlo a la nota */
.qo-rfee-modal__fee { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 11px; background: #fafbfc; border: 1px solid #eef2f7; border-radius: 8px; font-size: 12.5px; color: #334155; line-height: 1.5; }
.qo-rfee-modal__fee + .qo-rfee-modal__fee { margin-top: 5px; }
.qo-rfee-modal__fee > span { min-width: 0; }
.qo-rfee-modal__fee > button { flex-shrink: 0; border: none; background: none; color: #1e5fa8; padding: 0; font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: underline; white-space: nowrap; }
.qo-rfee-modal__fee > button:hover { color: #0d2240; }
.qo-rfee-modal__inc { margin-top: 6px; font-size: 11.5px; color: #94a3b8; line-height: 1.5; }
.qo-rfee-modal__inc b { color: #64748b; font-weight: 700; }

.qo-rfee-modal__ta { display: block; width: 100%; min-width: 0; font-size: 13px; }
.qo-rfee-modal__count { text-align: right; font-size: 10.5px; color: #b6c2d1; margin-top: 3px; }

.qo-rfee-modal__foot { display: flex; justify-content: flex-end; gap: 9px; padding: 13px 20px; border-top: 1px solid #eef2f7; background: #fbfcfd; }

/* Enviar por mail: ancho fijo para que no salte al cambiar el avión por el spinner */
.qo-mail-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 118px; padding: 10px 20px; box-shadow: 0 2px 6px rgba(30, 95, 168, .25); }
.qo-mail-send i { font-size: 13px; }
.qo-mail-send:hover:not(:disabled) { box-shadow: 0 4px 10px rgba(30, 95, 168, .32); }

@media (max-width: 640px) {
    .qo-rfee-modal__card { max-height: 94vh; }
    .qo-rfee-modal__head, .qo-rfee-modal__body, .qo-rfee-modal__foot { padding-left: 14px; padding-right: 14px; }
}

/* Que ve el cliente: los dos switches de compartir (precios + boton PAGAR) */
.qo-share-opts { margin-top: 18px; padding: 14px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 11px; }
.qo-share-opts__title { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin-bottom: 11px; }
.qo-share-opts__title i { margin-right: 5px; }
.qo-share-opt { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 9px; cursor: pointer; }
.qo-share-opt:last-of-type { margin-bottom: 0; }
.qo-share-opt input { margin-top: 2px; width: 15px; height: 15px; cursor: pointer; accent-color: #1e5fa8; flex-shrink: 0; }
.qo-share-opt input:disabled { cursor: not-allowed; }
.qo-share-opt b { display: block; font-size: 13px; font-weight: 700; color: #0d2240; }
.qo-share-opt em { display: block; font-size: 11.5px; color: #94a3b8; font-style: normal; line-height: 1.45; }
.qo-share-opts__saved { margin-top: 10px; font-size: 11.5px; font-weight: 700; color: #16a34a; }
.qo-share-opts__error { margin: 6px 0; font-size: 11.5px; font-weight: 700; color: #dc2626; }
/* Sub-opcion: solo aparece con los precios por servicio apagados, indentada y con una guia
   vertical para que se lea como dependiente de la de arriba */
.qo-share-opt--sub { margin-left: 24px; padding-left: 11px; border-left: 2px solid #e2e8f0; }
.qo-share-opt--sub b { font-size: 12.5px; }

/* Switch cortado por la instancia: se ve apagado pero legible (el motivo esta en el <em>) */
.qo-share-opt--off { cursor: default; }
.qo-share-opt--off b { color: #94a3b8; }
.qo-share-opt--off em { color: #b45309; }

/* Estado del switch al principio de la leyenda. Va en <span> y no en <b> porque
   `.qo-share-opt b` es display:block y lo bajaria de renglon. */
.qo-share-opt em .qo-on { font-weight: 800; color: #16a34a; }
.qo-share-opt em .qo-off { font-weight: 800; color: #94a3b8; }
/* Importe dentro de la leyenda: idem, el <b> heredado seria block */
.qo-share-opt em .qo-share-opt__num { display: inline; font-weight: 800; color: #0d2240; }

/* Resumen de una linea: lo que el cliente VA A VER, arriba de los switches */
.qo-share-state { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 9px 11px; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 9px; font-size: 12px; color: #0d2240; line-height: 1.45; }
.qo-share-state i { margin-top: 2px; color: #1e5fa8; flex-shrink: 0; }
.qo-share-state b { font-weight: 800; }
/* Sin ningun precio a la vista: se avisa en ambar, no en azul informativo */
.qo-share-state--none { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.qo-share-state--none i { color: #b45309; }

/* ── Precio total editable ─────────────────────────────────────────────────
   Mismo lenguaje visual que .qo-share-opts (es la tarjeta de al lado). */
.qo-total-edit { margin-top: 14px; padding: 14px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 11px; }
.qo-total-edit__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qo-total-edit__input { flex: 1 1 150px; min-width: 130px; padding: 10px 12px; border: 1.5px solid #cbd5e1; border-radius: 9px; background: #fff; font-size: 17px; font-weight: 800; color: #0d2240; letter-spacing: -.3px; }
.qo-total-edit__currency { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: #0d2240; margin-right: -4px; }
.qo-total-edit__input:focus { border-color: #1e5fa8; outline: none; }
.qo-total-edit__input:disabled { background: #f1f5f9; color: #94a3b8; }
.qo-total-edit__row button { flex: 0 0 auto; }
.qo-total-edit__hint { margin-top: 9px; font-size: 11.5px; color: #94a3b8; line-height: 1.45; }
.qo-total-edit__hint b { color: #475569; font-weight: 700; }
.qo-total-edit__msg { margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; line-height: 1.45; display: flex; align-items: flex-start; gap: 7px; }
.qo-total-edit__msg i { margin-top: 2px; flex-shrink: 0; }
.qo-total-edit__msg.is-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.qo-total-edit__msg.is-error { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.item__details { margin-top: 9px; display: flex; flex-direction: column; gap: 2px; }
.item__details .d { font-size: 12px; color: #64748b; line-height: 1.4; }
.item__details .d b { color: #475569; font-weight: 600; }

/* Item price column */
.item__price { border-left: 1px solid #f1f5f9; padding: 13px 14px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.p-pix { font-size: 21px; font-weight: 900; color: #f97316; line-height: 1.05; letter-spacing: -.4px; }
.p-pix-lbl { font-size: 10.5px; color: #64748b; margin-top: 2px; }
.p-iof { font-size: 10px; color: #94a3b8; }
.item__price hr { width: 100%; border: none; border-top: 1px dashed #e2e8f0; margin: 9px 0; }
.p-card-lbl { font-size: 10.5px; color: #64748b; }
.p-card { font-size: 15px; font-weight: 800; color: #ea580c; margin-top: 1px; }
.p-parc { font-size: 11px; color: #64748b; margin-top: 5px; }
.p-parc b { color: #334155; }
.p-simple { font-size: 18px; font-weight: 900; color: #D24717; margin-top: 0; }
.btn-del { margin-top: 7px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #dc2626; background: none; border: none; cursor: pointer; padding: 3px 4px; border-radius: 6px; transition: background .14s; }
.btn-del:hover { background: #fee2e2; }
/* Sin esto un boton deshabilitado se ve identico a uno activo y parece que la pantalla no responde */
.btn-del:disabled { opacity: .4; cursor: not-allowed; }
.btn-del:disabled:hover { background: none; }

/* Summary sidebar */
.summary { position: sticky; top: 120px; }
.summary__head { padding: 16px 18px 14px; background: linear-gradient(135deg, #0d2240 0%, #1a3a5c 100%); color: #fff; border-radius: 12px 12px 0 0; }
.summary__head small { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.summary__head .s-big { font-size: 30px; font-weight: 900; letter-spacing: -.6px; margin-top: 3px; }
.summary__head .s-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 6px; }
.pix-chip { font-size: 9px; font-weight: 800; letter-spacing: .06em; background: #dcfce7; color: #16a34a; padding: 2px 6px; border-radius: 5px; }
.summary__body { padding: 16px 18px; }
.sum-block { padding: 12px 0; }
.sum-block + .sum-block { border-top: 1px solid #f1f5f9; }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sum-row .k { font-size: 12.5px; color: #475569; }
.sum-row .k.method { font-weight: 800; color: #0d2240; font-size: 13px; }
.sum-row .v { font-size: 18px; font-weight: 900; color: #f97316; letter-spacing: -.3px; }
.sum-row .v.alt { color: #ea580c; }
.sum-note { font-size: 10.5px; color: #94a3b8; margin-top: 3px; }
.sum-parc { font-size: 12px; color: #475569; margin-top: 4px; }
.sum-parc b { color: #0d2240; }
.summary__cta { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.summary__cta button { width: 100%; justify-content: center; padding: 11px; }
.summary__foot { padding: 11px 18px; background: #fffbeb; border-top: 1px solid #fde68a; border-radius: 0 0 12px 12px; font-size: 11px; color: #92400e; display: flex; gap: 7px; align-items: flex-start; line-height: 1.45; }
.summary-simple { padding: 20px 18px; text-align: center; }
.summary-simple .s-lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; }
.summary-simple .s-total { font-size: 28px; font-weight: 900; color: #D24717; letter-spacing: -.5px; }

/* Add item button + dropdown */
.add-item { margin-top: 12px; position: relative; }
.add-btn { width: 100%; padding: 14px; border: 1.5px dashed #cbd5e1; border-radius: var(--r); background: var(--white); color: var(--gray600); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .16s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.add-btn:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-lt); }
.add-menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--white); border: 1px solid var(--gray200); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 6px; display: none; z-index: 50; }
.add-menu.open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.add-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; cursor: pointer; transition: background .14s; }
.add-opt:hover { background: var(--gray50); }
.add-opt .tile { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.add-opt span { font-size: 13px; font-weight: 700; color: var(--navy); display: block; }
.add-opt small { font-size: 11px; color: var(--gray400); display: block; font-weight: 500; }

/* Markups table */
.mkp-wrap { overflow-x: auto; }
.mkp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.mkp-table thead th { padding: 10px 14px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; border-bottom: 2px solid #e2e8f0; text-align: left; white-space: nowrap; background: #f8fafc; }
.mkp-table tbody td { padding: 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; font-size: 13px; color: #334155; }
.mkp-table tbody tr:last-child td { border-bottom: none; }
.mkp-table tbody tr:hover td { background: #fafbfc; }
.mkp-svc-name { font-size: 14px; font-weight: 700; color: #0d2240; }
.mkp-svc-sub { font-size: 12px; color: #64748b; margin-top: 3px; }
.mkp-svc-dates { font-size: 11.5px; color: #94a3b8; margin-top: 5px; }
.mkp-net { color: #475569; font-weight: 600; white-space: nowrap; }
.mkp-sale { color: #D24717; font-weight: 800; white-space: nowrap; }
.mkp-sale-alt { color: #ea580c; font-weight: 700; white-space: nowrap; }
.mkp-comm { color: #16a34a; font-weight: 700; white-space: nowrap; }
.mkp-note { padding: 10px 14px; font-size: 11px; color: #94a3b8; border-top: 1px solid #f1f5f9; }
/* Markup totals */
.mkp-totals { border-top: 2px solid #f1f5f9; }
.mkp-total-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #f1f5f9; gap: 12px; flex-wrap: wrap; }
.mkp-total-lbl { font-size: 12px; color: #64748b; display: flex; align-items: center; gap: 10px; }
.mkp-total-lbl img { height: 26px; }
.mkp-total-val { font-size: 24px; font-weight: 900; color: #D24717; letter-spacing: -.4px; text-align: right; }
.mkp-total-note { font-size: 10.5px; color: #94a3b8; text-align: right; }
.mkp-total-parc { font-size: 12px; color: #475569; text-align: right; margin-top: 3px; }
.mkp-total-parc strong { color: #0d2240; }
.mkp-summary { display: flex; justify-content: flex-end; gap: 20px; padding: 13px 18px; background: #fffbeb; border-top: 1px solid #fde68a; font-size: 12px; color: #92400e; flex-wrap: wrap; }
.mkp-summary span { font-weight: 700; color: #0d2240; }

/* ══════════════════════════════════════════════════════════════
   MIS PRESUPUESTOS (/Quotes) EN MOBILE
   --------------------------------------------------------------
   Mismo patron que enix-reservas-mobile.css: sin duplicar markup, cada <tr> pasa
   a grid y cada <td> cae en su area por la clase qlist-* que ya trae. El texto
   de la clave sale del data-label.
   Scopeado a .enix-quotes-list y NO a .enix-finance-wrap: ese wrapper lo comparten
   las pantallas de comisiones, que tienen su propio layout.
   Los filtros (.enix-fg-4) y el header ya apilan solos en enix-reservas.css /
   enix-finance.css: aca solo falta la tabla, que en mobile daba scroll horizontal.
   ══════════════════════════════════════════════════════════════ */
/* El texto del boton de editar solo aparece en la card; en la tabla va solo el icono */
.qlist-edit__txt { display: none; }

@media (max-width: 768px) {
    .enix-quotes-list .enix-table-card {
        background: transparent;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0;
        padding: 0;
    }
    /* Anula el scroll horizontal: en cards no hay nada que desbordar */
    .enix-quotes-list .enix-table-scroll { overflow-x: visible; }

    .enix-quotes-list .enix-table { display: block; width: 100%; min-width: 0; }
    .enix-quotes-list .enix-table thead { display: none; }
    .enix-quotes-list .enix-table tbody { display: block; }

    /* Columnas fijas (no auto) para que las cards alineen entre si. La 1ra es el
       tilde de "convertido": con auto colapsa a 0 cuando el presupuesto no lo esta. */
    .enix-quotes-list .enix-table tbody tr {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "flag    id        status"
            "name    name      name"
            "arrival createdby createdby"
            "usd     local     local"
            "agency  agency    edit";
        align-items: center;
        gap: 0 9px;
        background: #fff;
        border: 1px solid #dbe1ea;
        border-radius: 12px;
        margin-bottom: 10px;
        padding: 11px 13px;
        box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px -18px rgba(15,23,42,.18);
    }
    /* El zebra/hover de escritorio no aplica: aca cada fila ya es una card */
    .enix-quotes-list .enix-table tbody tr:nth-child(odd) td,
    .enix-quotes-list .enix-table tbody tr:hover td { background: transparent; }

    .enix-quotes-list .enix-table tbody td {
        display: block;
        border-bottom: none;
        padding: 0;
        min-width: 0;
    }

    /* Clave de cada dato (NOMBRE, ARRIBO, …) arriba del valor */
    .enix-quotes-list .enix-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 9.5px;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: .07em;
        margin-bottom: 2px;
    }

    /* ── Mapeo de columnas a areas ── */
    .enix-quotes-list .qlist-flag   { grid-area: flag; }
    .enix-quotes-list .qlist-id     { grid-area: id; font-size: 15px; font-weight: 900; color: #0d2240; }
    .enix-quotes-list .qlist-status { grid-area: status; text-align: right; }
    .enix-quotes-list .qlist-name {
        grid-area: name;
        font-size: 13.5px;
        font-weight: 700;
        color: #0d2240;
        margin-top: 9px;
        padding-top: 9px;
        border-top: 1px solid #f1f5f9;
    }
    .enix-quotes-list .qlist-arrival   { grid-area: arrival; margin-top: 9px; }
    .enix-quotes-list .qlist-createdby { grid-area: createdby; margin-top: 9px; }
    .enix-quotes-list .qlist-usd       { grid-area: usd; margin-top: 9px; font-weight: 800; color: #D24717; }
    .enix-quotes-list .qlist-local     { grid-area: local; margin-top: 9px; font-weight: 700; color: #475569; }
    .enix-quotes-list .qlist-agency {
        grid-area: agency;
        margin-top: 9px;
        padding-top: 9px;
        border-top: 1px solid #f1f5f9;
    }
    .enix-quotes-list .qlist-edit {
        grid-area: edit;
        margin-top: 9px;
        padding-top: 9px;
        border-top: 1px solid #f1f5f9;
        text-align: right;
    }
    /* En la card el boton lleva texto: un icono solo, suelto abajo, no se lee como accion */
    .enix-quotes-list .qlist-edit__txt { display: inline; }
    .enix-quotes-list .qlist-edit .enix-btn-sm { white-space: nowrap; }

    /* El paginado tambien se apila si no entra */
    .enix-quotes-list .enix-pagination { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .enix-quotes-list .enix-pagination__btns { flex-wrap: wrap; justify-content: center; }

    /* Skeleton de carga: sus celdas no tienen clase qlist-*, asi que no participan del grid.
       Se muestran como 3 barras por card para insinuar la forma de la card real. */
    .enix-quotes-list .enix-table--skel tbody tr {
        display: block;
        padding: 13px;
    }
    .enix-quotes-list .enix-table--skel tbody td { display: none; }
    .enix-quotes-list .enix-table--skel tbody td:nth-child(-n+3) { display: block; margin-bottom: 7px; }
    .enix-quotes-list .enix-table--skel tbody td:nth-child(1) .enix-skeleton { width: 45%; }
    .enix-quotes-list .enix-table--skel tbody td:nth-child(2) .enix-skeleton { width: 80%; }
    .enix-quotes-list .enix-table--skel tbody td:nth-child(3) .enix-skeleton { width: 60%; }
}

/* Responsive */
@media (max-width: 920px) {
    .cot-grid { grid-template-columns: 1fr; }
    .summary { position: static; }

    /* OJO con el selector: la regla base es `.items-list > .item` (0,2,0) y un media query NO
       agrega especificidad, asi que un `.item` suelto (0,1,0) NO le gana. Con el selector corto
       la tarjeta se quedaba con las 3 columnas de escritorio (64px 1fr 234px): en 360px eso deja
       ~40px para el cuerpo y una banda vacia de 234px al costado. */
    .items-list > .item { grid-template-columns: 56px minmax(0, 1fr); }
    /* Carrito: tiene que ir DESPUES de la linea de arriba (misma especificidad) */
    .items-list--cart > .item,
    .items-list--photo > .item { grid-template-columns: 80px minmax(0, 1fr); }
    .item__photo { width: 64px; height: 50px; }
    .items-list--photo .item__icn--photo { padding: 12px 8px 12px 12px; }

    /* El cuerpo ya no tiene la columna de precio al lado: necesita su propio padding derecho */
    .item__body { padding-right: 14px; }

    /* El precio pasa a ser el pie de la tarjeta: acciones a la izquierda e importe a la derecha,
       en una sola fila. Con align-items:stretch quedaban apilados y la tarjeta se estiraba.
       justify-content en flex-start y NO space-between: los servicios manuales traen DOS botones
       (Editar + Eliminar, los dos con clase .btn-del) y space-between los desparramaba por toda
       la fila en vez de dejarlos juntos. El importe se va a la derecha con margin-left:auto. */
    .items-list > .item > .item__price {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        gap: 4px 12px;
        text-align: left;
        padding: 11px 14px;
    }
    /* El separador y los renglones del desglose pix/cartao ocupan el ancho completo */
    .item__price hr { flex: 1 1 100%; margin: 5px 0; }
    /* Alineados a la derecha para que acompañen al importe, que ahora vive en ese borde */
    .p-pix-lbl, .p-card-lbl, .p-iof, .p-parc { flex: 1 1 100%; text-align: right; }

    /* Los botones van primero (izquierda) sin reordenar el resto: con flex-direction:row-reverse
       tambien se daria vuelta el desglose pix/cartao, que tiene su propio orden de lectura. */
    .btn-del { order: -1; margin-top: 0; margin-left: 0; }
    /* Importes pegados al borde derecho. .p-card y .p-simple pueden quedar solos en su renglon,
       asi que necesitan el auto propio y no alcanza con el del primero. */
    .p-pix, .p-card, .p-simple { margin-left: auto; }

    /* Habitaciones del multiroom: nombre arriba y precio abajo si no entran en una linea */
    .item__room { flex-wrap: wrap; }
    .item__room-name { flex: 1 1 60%; }
}

@media (max-width: 560px) {
    .cot-grid { gap: 12px; }
    .add-menu.open { grid-template-columns: 1fr; }
}

/* ── QuoteToReservation (/QuoteToReservation) — visual refresh, mismo layout de siempre,
   solo alineado a la tipografía/paleta/tarjetas que ya usan QuoteDetail y QuotesList.
   Ver QuoteToReservation-mockup.html en la raíz del repo para referencia visual. ── */

/* Barra fija de progreso: notifica en todo momento cuántos servicios se van a
   convertir en reserva y por cuál se está yendo. */
.qtr-progress {
    position: sticky;
    /* Debajo del navbar+modulebar (.enix-header-stack, z-index:200), no compitiendo por el
       mismo top:0 — antes se superponía al navbar al scrollear porque ambos eran sticky en top:0. */
    top: calc(var(--nav-navbar-height, 52px) + var(--nav-modulebar-height, 0px));
    z-index: 190;
    background: #0d2240;
    color: #fff;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 14px rgba(13,34,64,.25);
    font-family: 'Onest', 'Mulish', sans-serif;
}
.qtr-progress__spinner {
    width: 15px; height: 15px; flex-shrink: 0;
    border: 2.5px solid rgba(255,255,255,.25);
    border-radius: 50%;
}
.qtr-progress__spinner--active { border-top-color: #fff; animation: qtrspin .8s linear infinite; }
@keyframes qtrspin { to { transform: rotate(360deg); } }
.qtr-progress__text { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qtr-progress__text b { font-weight: 800; }
.qtr-progress__text span { color: #9fb3cf; font-weight: 500; }
.qtr-progress__bar { flex: 1; height: 6px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: hidden; max-width: 380px; }
.qtr-progress__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1e5fa8, #4f9ce0); transition: width .4s ease; }

/* Header — mismas reglas de .quote-head, overrides puntuales de color/tipografía/sombra
   para no afectar a Cart/Quote_DefaultText/Quote_Markups/Quote_Print (que comparten .quote-head). */
.quote-head.qtr-head { border: none; border-radius: 14px; box-shadow: 0 8px 28px rgba(13,34,64,.09); }
.quote-head.qtr-head .quote-head__top { border-left: none; }
.quote-head.qtr-head .quote-head__title { font-family: 'Schibsted Grotesk', 'Poppins', sans-serif; }
.quote-head.qtr-head .qh-total .qh-total-val { color: #1e5fa8; font-family: 'Schibsted Grotesk', 'Poppins', sans-serif; font-weight: 800; }
.quote-head.qtr-head .quote-head__actions { border-top: 1px solid #eef2f7; }

/* Aviso de "esta reserva sale a nombre de otro" (admin reservando para otra agencia/vendedor).
   Ámbar y no rojo a propósito: no es un error, es un dato que hay que ver antes de confirmar. */
.qtr-onbehalf {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 18px 14px;
    padding: 11px 14px;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
    color: #78350f;
    font-size: 13px;
    line-height: 1.45;
}
.qtr-onbehalf i { margin-top: 2px; color: #b45309; flex: 0 0 auto; }
.qtr-onbehalf b { color: #713f12; }
.qtr-onbehalf__note { display: block; margin-top: 2px; font-size: 12px; color: #92400e; }

/* Card que envuelve el wizard de conversión (antes un <div style="min-height:600px"> pelado). */
.qtr-content-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(13,34,64,.09);
    padding: 28px 30px;
    min-height: 560px;
}

/* Botón "Omitir" — mismo lenguaje visual que .enix-wz-btn-ghost/accent (enix-qe.css). */
.enix-wz-btn-warn {
    background: #fff7ed; color: #b45309; border: 1px solid #fde68a; border-radius: 10px;
    padding: 10px 16px; font: 700 13.5px 'Onest', 'Mulish', sans-serif; cursor: pointer;
    white-space: nowrap; text-transform: uppercase; letter-spacing: .02em;
}
.enix-wz-btn-warn:hover { background: #fef3c7; }
.enix-wz-btn-warn:disabled { opacity: .5; cursor: not-allowed; }
/* Rango alcanzable del total editable: lo acota el tope de markup de la instancia */
.qo-total-edit__range { margin-top: 8px; padding: 7px 10px; background: #eef6ff; border: 1px solid #cfe2f7; border-radius: 8px; font-size: 11.5px; color: #0d2240; line-height: 1.45; }
.qo-total-edit__range i { color: #1e5fa8; margin-right: 5px; }
.qo-total-edit__range b { font-weight: 800; }

/* ── Markup visible para el agente (INTERNO) ───────────────────────────────
   Violeta a proposito: los precios al cliente son naranja en toda la pantalla,
   asi que un dato que NO se comparte no puede usar ese mismo color. */
.imeta--markup { background: #f3e8ff; color: #7c3aed; cursor: help; }
.imeta--markup i { color: #7c3aed; }

/* ── Detalles del proveedor (descripcion, tarifa, condiciones) ─────────────
   Texto plano compactado (QuoteItemDetails.ToCompactText): antes se renderizaba el
   HTML del proveedor y ocupaba media hoja por servicio. En la card del editor se
   corta a 3 lineas (el texto completo va en el title); en el PDF va entero.
   Las condiciones (cargos que el pasajero paga aparte) conservan el color ambar,
   pero sin caja. */
.qo-item-details-text { margin-bottom: 8px; font-size: 11px; color: #64748b; line-height: 1.45; }
.qo-item-details-text__cond { color: #92400e; }
.qo-item-details-text > span { display: block; }
.qo-item-details-text > span + span { margin-top: 3px; }
.item__details .qo-item-details-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Oculto al cliente: el agente lo sigue viendo, atenuado y en una linea, para saber que hay algo */
.item__details .qo-item-details-text--hidden { -webkit-line-clamp: 1; opacity: .45; }

/* Chip de visibilidad por servicio. Mismo lenguaje que .qo-rfee-chip. */
.qo-details-chip { display: flex; align-items: baseline; gap: 6px; width: 100%; min-width: 0; margin-bottom: 4px; padding: 0; border: none; background: none; text-align: left; font: inherit; cursor: pointer; }
.qo-details-chip > i { flex: 0 0 auto; font-size: 10px; color: #cbd5e1; }
.qo-details-chip > span { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #94a3b8; }
.qo-details-chip > em { flex: 0 1 auto; min-width: 0; font-style: normal; font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qo-details-chip--on > i { color: #16a34a; }
.qo-details-chip--on > em { color: #16a34a; }
.qo-details-chip__manual { flex: 0 0 auto; font-size: 10px; font-weight: 700; color: #1e5fa8; background: #eff6ff; border-radius: 4px; padding: 0 5px; }
.qo-details-chip:hover:not(:disabled) > span { color: #64748b; }
.qo-details-chip:disabled { cursor: default; }

.qo-markup-card { margin-top: 12px; padding: 12px 14px; background: #faf5ff; border: 1px solid #e9d5ff; border-left: 3px solid #7c3aed; border-radius: 10px; }
.qo-markup-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.qo-markup-card__row > span:first-child { font-size: 12px; font-weight: 700; color: #6b21a8; }
.qo-markup-card__row i { margin-right: 5px; font-size: 10px; }
.qo-markup-card__val { font-size: 19px; font-weight: 900; color: #7c3aed; letter-spacing: -.3px; }
.qo-markup-card__sub { margin-top: 3px; font-size: 10.5px; color: #9333ea; }
.qo-markup-card__note { margin-top: 9px; padding-top: 8px; border-top: 1px dashed #e9d5ff; display: flex; align-items: flex-start; gap: 6px; font-size: 10.5px; color: #6b21a8; line-height: 1.45; }
.qo-markup-card__note i { margin-top: 2px; flex-shrink: 0; }

/* ── Nro de confirmacion pendiente en servicios manuales ───────────────────
   Ambar: es un recordatorio accionable, no un error ni un estado logrado. */
.enix-mf-optional { margin-left: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; background: #f1f5f9; border-radius: 4px; padding: 1px 5px; }
.enix-mf-hint { margin-top: 5px; font-size: 11px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 7px; padding: 6px 8px; line-height: 1.45; }
.enix-mf-hint i { margin-right: 5px; }

/* En el detalle del item */
.qo-ref-missing { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; color: #92400e; }
.qo-ref-missing > i { color: #b45309; }
.qo-ref-missing b { font-weight: 700; }
.qo-ref-missing__btn { font-size: 11px; font-weight: 700; color: #1e5fa8; background: none; border: none; border-bottom: 1px solid currentColor; cursor: pointer; padding: 0; line-height: 1.2; }
.qo-ref-missing__btn:hover { color: #0d2240; }

/* Recordatorio en el sidebar */
.qo-ref-card { margin-top: 12px; padding: 12px 14px; background: #fffbeb; border: 1px solid #fde68a; border-left: 3px solid #f59e0b; border-radius: 10px; }
.qo-ref-card__head { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: #92400e; line-height: 1.35; }
.qo-ref-card__head i { margin-top: 2px; color: #b45309; flex-shrink: 0; }
.qo-ref-card__list { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; }
.qo-ref-card__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; padding: 7px 9px; background: #fff; border: 1px solid #fde68a; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: #78350f; cursor: pointer; transition: all .14s; }
.qo-ref-card__item:hover { border-color: #f59e0b; background: #fffdf5; }
.qo-ref-card__item > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qo-ref-card__item i { color: #b45309; flex-shrink: 0; }
.qo-ref-card__note { margin-top: 9px; padding-top: 8px; border-top: 1px dashed #fde68a; font-size: 10.5px; color: #92400e; line-height: 1.45; }
