/* Compost inherits the ERP's pearl surfaces and muted blue controls. */
#view-compost { min-width: 0; }
#view-compost .view-header { gap: 20px; align-items: center; }
#view-compost .cmp-worklist, #view-compost .cmp-order, #view-compost .cmp-history { background: var(--fc-card, #fff); border: 1px solid var(--fc-border, #e0e4eb); border-radius: 22px; overflow: hidden; }
.cmp-list-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; }
.cmp-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
.cmp-overview > div { padding: 20px 24px; border: 1px solid var(--fc-border, #e0e4eb); border-radius: 16px; background: var(--fc-card, #fff); }
.cmp-overview dt { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.cmp-overview dd { margin: 9px 0 0; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.cmp-list-top h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.cmp-list-top p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.cmp-search { display: grid; gap: 6px; font-size: 12px; color: var(--text-secondary); width: min(100%, 300px); }
.cmp-search input { appearance: none; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 14px; border: 1px solid var(--fc-input, #d3dae5); border-radius: 12px; background: var(--fc-card, #fff); color: var(--text-primary); }
.cmp-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 24px 24px; }
.cmp-filters button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; background: var(--fc-card, #fff); border: 1px solid var(--fc-border, #e0e4eb); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.cmp-filters button[aria-pressed="true"] { background: var(--fc-selected, #f0f3fa); color: var(--fc-primary, #4e6dab); border-color: var(--fc-primary, #4e6dab); font-weight: 600; }
.cmp-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 6px; background: var(--fc-secondary, #f1f3f7); font-size: 12px; font-variant-numeric: tabular-nums; }
.cmp-filters button[aria-pressed="true"] .cmp-filter-count { background: var(--fc-card, #fff); }
#cmp-list-results { padding: 0 18px 18px; }
#cmp-list-results .cmp-orders-table { border-collapse: separate; border-spacing: 0 8px; }
#cmp-list-results .cmp-orders-table th { background: transparent; padding: 6px 18px; }
#cmp-list-results .cmp-orders-table td { background: var(--fc-row-hover, #f7f8fb); padding: 18px; border-top: 1px solid var(--fc-border, #e0e4eb); border-bottom: 1px solid var(--fc-border, #e0e4eb); }
#cmp-list-results .cmp-orders-table tr:last-child td { border-bottom: 1px solid var(--fc-border, #e0e4eb); }
#cmp-list-results .cmp-orders-table td:first-child { border-left: 1px solid var(--fc-border, #e0e4eb); border-radius: 12px 0 0 12px; }
#cmp-list-results .cmp-orders-table td:last-child { border-right: 1px solid var(--fc-border, #e0e4eb); border-radius: 0 12px 12px 0; }
#cmp-list-results .cmp-empty-orders { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 32px; background: var(--fc-row-hover, #f7f8fb); border: 1px solid var(--fc-border, #e0e4eb); border-radius: 14px; }
#cmp-list-results .cmp-empty-orders p { margin: 0; max-width: 540px; font-size: 14px; }
#cmp-list-results .cmp-empty-orders .btn { flex-shrink: 0; }
.cmp-table-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.cmp-table th { padding: 14px 24px; background: var(--fc-secondary, #f1f3f7); color: var(--text-secondary); font-size: 12px; font-weight: 500; white-space: nowrap; }
.cmp-table td { padding: 20px 24px; vertical-align: middle; border-bottom: 1px solid var(--fc-border, #e0e4eb); }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table small { display: block; color: var(--text-secondary); font-size: 12px; margin-top: 5px; line-height: 1.5; font-weight: 400; }
.cmp-table .cmp-number { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-table .cmp-remaining { font-weight: 600; }
.cmp-order-link, .cmp-text-button, .cmp-back { font: inherit; border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--fc-primary, #4e6dab); text-align: left; }
.cmp-order-link { color: var(--text-primary); font-weight: 600; line-height: 1.45; }
.cmp-table a { color: var(--fc-primary, #4e6dab); text-underline-offset: 3px; white-space: nowrap; }
.cmp-destination { max-width: 320px; overflow-wrap: anywhere; }
.cmp-status { display: inline-block; font-size: 12px; line-height: 1.5; padding: 5px 9px; border-radius: 6px; color: var(--text-secondary); background: var(--fc-secondary, #f1f3f7); white-space: nowrap; }
.cmp-status-completo, .cmp-status-en_curso { color: var(--fc-primary, #4e6dab); background: var(--fc-selected, #f0f3fa); }
.cmp-status-completo { font-weight: 600; }
.cmp-status-anulado { background: transparent; border: 1px solid var(--fc-border, #e0e4eb); }
.cmp-list-count { border-top: 1px solid var(--fc-border, #e0e4eb); padding: 14px 24px; margin: 0; font-size: 12px; color: var(--text-secondary); }
.cmp-empty, .cmp-loading { padding: 52px 24px; text-align: center; }
.cmp-empty h2, .cmp-empty h3 { font-size: 18px; margin: 0 0 10px; font-weight: 600; }
.cmp-empty p { color: var(--text-secondary); max-width: 490px; margin: 0 auto 18px; line-height: 1.6; }
.cmp-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 12px; font-size: 14px; }
#view-compost .cmp-detail-header h1 { font-size: clamp(24px, 2.5vw, 32px); overflow-wrap: anywhere; }
.cmp-order { padding: 28px; margin-bottom: 28px; }
.cmp-order-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cmp-order-summary h2 { font-size: 24px; font-weight: 600; letter-spacing: -.5px; margin: 0 0 8px; }
.cmp-order-summary p { margin: 0 0 16px; color: var(--text-secondary); font-size: 14px; }
.cmp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cmp-actions .btn { white-space: nowrap; }
#view-compost progress { display: block; appearance: none; border: 0; height: 5px; border-radius: 3px; background: var(--fc-secondary, #f1f3f7); width: min(100%, 300px); overflow: hidden; color: var(--fc-primary, #4e6dab); }
#view-compost progress::-webkit-progress-bar { background: var(--fc-secondary, #f1f3f7); border-radius: 3px; }
#view-compost progress::-webkit-progress-value { background: var(--fc-primary, #4e6dab); border-radius: 3px; }
#view-compost progress::-moz-progress-bar { background: var(--fc-primary, #4e6dab); border-radius: 3px; }
#view-compost .cmp-table progress { width: 64px; margin: 9px 0 0 auto; height: 3px; }
.cmp-facts { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--fc-border, #e0e4eb); display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; }
.cmp-facts dt { font-size: 12px; color: var(--text-secondary); margin-bottom: 7px; }
.cmp-facts dd { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cmp-facts small { display: block; color: var(--text-secondary); }
.cmp-notes { white-space: pre-wrap; font-size: 14px; color: var(--text-secondary); margin: 20px 0 0; }
.cmp-ready, .cmp-invoice-note { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--fc-border, #e0e4eb); font-size: 14px; color: var(--text-secondary); }
.cmp-invoice-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cmp-invoice-note strong { color: var(--text-primary); }
.cmp-invoice-note p { margin: 5px 0 0; }
.cmp-history-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; gap: 12px; }
.cmp-history-header h2 { font-size: 18px; margin: 0; font-weight: 600; }
.cmp-history-header span { font-size: 12px; color: var(--text-secondary); }
.cmp-cancelled td { color: var(--text-secondary); background: var(--fc-row-hover, #f7f8fb); }
.cmp-text-button { font-size: 12px; min-height: 40px; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.cmp-cancel-order { margin-top: 12px; color: var(--text-secondary); }
.cmp-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--fc-border, #e0e4eb); border-radius: 20px; background: var(--fc-card, #fff); color: var(--text-primary); box-shadow: 0 24px 80px #18233830; }
.cmp-dialog::backdrop { background: #17233750; backdrop-filter: blur(3px); }
.cmp-dialog form { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); }
.cmp-dialog-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--fc-border, #e0e4eb); flex-shrink: 0; }
.cmp-dialog-header h2 { font-size: 20px; margin: 0; font-weight: 600; letter-spacing: -.4px; }
.cmp-dialog-header p { margin: 7px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.cmp-dialog.cmp-order-dialog { width: min(740px, calc(100% - 32px)); }
/* Añadir albaranes ya creados al pedido: la lista necesita algo más de ancho y filas compactas */
.cmp-dialog.cmp-link-dialog { width: min(760px, calc(100% - 32px)); }
.cmp-pick-table td { padding: 14px 16px; }
.cmp-pick-table th { padding: 12px 16px; }
.cmp-pick { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500; }
.cmp-pick input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--fc-primary, #4e6dab); flex-shrink: 0; }
.cmp-order-dialog .cmp-dialog-body { background: var(--fc-row-hover, #f7f8fb); padding: 20px; }
#compost-dialog .cmp-form-section { min-width: 0; padding: 20px; margin: 0; border: 1px solid var(--fc-border, #e0e4eb); border-radius: 14px; background: var(--fc-card, #fff); box-shadow: none; }
#compost-dialog .cmp-form-section h3 { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: var(--text-primary); }
.cmp-form-section .cmp-form-grid { gap: 16px 20px; }
#compost-dialog .cmp-client-picker .tercero-selected-card { box-shadow: none !important; }
.cmp-close:not(.btn) { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--text-secondary); border-radius: 12px; cursor: pointer; flex-shrink: 0; }
.cmp-dialog-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.cmp-form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.cmp-full { grid-column: 1 / -1; }
.cmp-field { min-width: 0; }
.cmp-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--text-secondary); }
.cmp-field input, .cmp-field select, .cmp-field textarea { width: 100%; min-width: 0; font: inherit; font-size: 14px; border-radius: 12px; border: 1px solid var(--fc-input, #d3dae5); background: #fff; padding: 11px 12px; color: var(--text-primary); }
.cmp-field textarea { resize: vertical; }
.cmp-field :disabled { background: var(--fc-secondary, #f1f3f7); color: var(--text-secondary); cursor: not-allowed; }
/* El mismo buscador de terceros de Presupuestos, dentro del diálogo desplazable. */
#compost-dialog .cw-search-input { padding-left: 42px; min-height: 44px; }
#compost-dialog .cw-search-icon { top: 23px; }
#compost-dialog .cw-search-wrap .search-dropdown { position: static; margin-top: 8px; max-height: 280px; border-radius: 12px; }
#compost-dialog .cw-search-wrap .ts-footer { position: static; }
#compost-dialog .ts-item { min-height: 52px; }
#compost-dialog .tercero-selected-card { margin-top: 0; border-radius: 12px; }
#compost-dialog .tercero-selected-check { display: flex; color: var(--accent); }
#compost-dialog .selected-card-name { min-width: 0; overflow-wrap: anywhere; color: var(--text-primary); font-size: 16px; }
#compost-dialog .cw-change { min-height: 44px; flex-shrink: 0; }
#compost-dialog .tercero-selected-detalles { grid-template-columns: minmax(0, 1fr); }
.cmp-unit { display: flex; align-items: center; border: 1px solid var(--fc-input, #d3dae5); border-radius: 12px; background: #fff; overflow: hidden; }
.cmp-unit input { border: 0; border-radius: 0; box-shadow: none !important; outline: none !important; }
.cmp-unit span { padding: 0 12px; color: var(--text-secondary); font-size: 14px; white-space: nowrap; }
.cmp-unit:focus-within { outline: 2px solid var(--fc-primary, #4e6dab); outline-offset: 2px; }
.cmp-form-help { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.cmp-form-help:empty { display: none; }
.cmp-dialog-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--fc-border, #e0e4eb); flex-shrink: 0; }
.cmp-error { margin: 18px 0 0; color: var(--danger, #a63b3b); font-size: 14px; line-height: 1.5; }
.cmp-invoice-preview h3 { font-size: 18px; margin: 0 0 8px; }
.cmp-invoice-preview p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.cmp-invoice-preview dl { border-top: 1px solid var(--fc-border, #e0e4eb); padding-top: 12px; font-variant-numeric: tabular-nums; }
.cmp-invoice-preview dl div { display: flex; justify-content: space-between; padding: 7px 0; }
.cmp-invoice-preview dd { margin: 0; }
.cmp-invoice-preview dl div:last-child { font-weight: 600; }
:is(#view-compost, .cmp-dialog) :is(button, a, input, select, textarea):focus-visible { outline: 2px solid var(--fc-primary, #4e6dab); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .cmp-table tbody tr:hover { background: var(--fc-row-hover, #f7f8fb); }
  .cmp-order-link:hover { color: var(--fc-primary, #4e6dab); text-decoration: underline; text-underline-offset: 3px; }
  .cmp-filters button:hover, .cmp-close:not(.btn):hover { background: var(--fc-row-hover, #f7f8fb); }
}
@media (max-width: 1000px) {
  .cmp-order-summary { align-items: flex-start; flex-direction: column; }
  .cmp-table td, .cmp-table th { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
  #view-compost .view-header { align-items: flex-start; flex-wrap: wrap; }
  .cmp-list-top { flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; }
  .cmp-search { width: 100%; }
  .cmp-search input, .cmp-field input, .cmp-field select, .cmp-field textarea { font-size: 16px; }
  .cmp-overview { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .cmp-overview > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; }
  .cmp-overview dd { font-size: 22px; margin: 0; }
  .cmp-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 16px 18px; gap: 8px; }
  .cmp-filters button { gap: 8px; font-size: 13px; padding: 10px; text-align: left; }
  #cmp-list-results { padding: 0 12px 12px; }
  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody { display: block; }
  .cmp-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; padding: 20px; border-bottom: 1px solid var(--fc-border, #e0e4eb); }
  .cmp-table tr:last-child { border-bottom: none; }
  .cmp-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .cmp-table td:first-child, .cmp-table td:last-child { grid-column: 1 / -1; }
  .cmp-table .cmp-number { text-align: left; }
  .cmp-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; color: var(--text-secondary); margin-bottom: 7px; }
  .cmp-table td:last-child::before { display: none; }
  #cmp-list-results .cmp-orders-table tr, #cmp-list-results .cmp-orders-table tr:last-child { margin-bottom: 12px; background: var(--fc-row-hover, #f7f8fb); border: 1px solid var(--fc-border, #e0e4eb); border-radius: 12px; }
  #cmp-list-results .cmp-orders-table td, #cmp-list-results .cmp-orders-table tr:last-child td, #cmp-list-results .cmp-orders-table td:first-child, #cmp-list-results .cmp-orders-table td:last-child { padding: 0; border: 0; border-radius: 0; background: transparent; }
  #cmp-list-results .cmp-empty-orders { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 20px; text-align: left; }
  #cmp-list-results .cmp-empty-orders p { margin: 0; }
  #view-compost .cmp-table progress { margin-left: 0; }
  .cmp-order-link { font-size: 16px; }
  .cmp-order-link, .cmp-table a, .cmp-text-button { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%; }
  .cmp-close:not(.btn) { width: 44px; height: 44px; }
  .cmp-order { padding: 20px; margin-bottom: 20px; }
  .cmp-order-summary h2 { font-size: 24px; }
  .cmp-facts { grid-template-columns: 1fr; gap: 18px; }
  .cmp-history-header { padding: 20px; }
  .cmp-history .cmp-table tr { grid-template-columns: 1fr 1fr; }
  .cmp-history td:nth-child(4) { grid-column: 1 / -1; }
  .cmp-invoice-note { align-items: flex-start; flex-direction: column; }
  .cmp-form-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cmp-dialog { max-height: calc(100dvh - 24px); width: calc(100% - 24px); border-radius: 16px; }
  .cmp-dialog.cmp-order-dialog { width: calc(100% - 24px); }
  .cmp-order-dialog .cmp-dialog-body { padding: 12px; }
  #compost-dialog .cmp-form-section { padding: 16px; border-radius: 12px; }
  .cmp-dialog form { max-height: calc(100dvh - 24px); }
  .cmp-dialog-header, .cmp-dialog-body { padding: 16px 20px; }
  .cmp-dialog-footer { padding: 14px 20px max(14px, env(safe-area-inset-bottom)); }
  .cmp-dialog-footer .btn { min-height: 44px; padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 640px) { html[data-ui="festival"] :is(.cmp-dialog input,.cmp-dialog select,.cmp-dialog textarea,#cmp-search) { font-size: 16px; } }

/* Albarán de compost: misma jerarquía de Cliente / Producto / Transporte que Ventas. */
.cmp-dialog.cmp-sale-dialog { width: min(680px, calc(100% - 32px)); }
.cmp-sale-dialog .cmp-dialog-header { padding: 24px 28px 20px; }
.cmp-sale-dialog .cmp-dialog-header h2 { font-size: 24px; }
.cmp-sale-dialog .cmp-dialog-body { padding: 20px 24px; background: var(--fc-secondary); scrollbar-width: thin; }
.cmp-sale-dialog .cmp-dialog-body > .cmp-form-grid { gap: 16px; }
#compost-dialog.cmp-sale-dialog .cmp-form-section { padding: 18px; }
#compost-dialog.cmp-sale-dialog .cmp-form-section h3 { font-size: 14px; margin-bottom: 14px; }
.cmp-sale-client { display: grid; gap: 6px; font-size: 14px; }
.cmp-sale-client span { color: var(--text-secondary); font-size: 12px; }
.cmp-sale-dialog .cmp-field label { font-size: 12px; }
.cmp-sale-dialog .cmp-field input[readonly] { background: var(--fc-row-hover); }
.cmp-sale-dialog .cmp-sale-conditions .cmp-form-grid { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px 14px; }
.cmp-sale-conditions .cmp-field { grid-column: span 2; }
.cmp-sale-conditions .cmp-field.cmp-full { grid-column: 1 / -1; }
.cmp-sale-conditions .cmp-field:has(textarea) { grid-column: span 4; }
.cmp-sale-dialog .sub-importe-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--fc-input); background: var(--fc-selected); }
.cmp-sale-dialog .sub-importe-box > span { font-size: 12px; color: var(--text-secondary); }
.cmp-sale-dialog .sub-importe-box output { color: var(--fc-primary); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp-sale-dialog .cmp-dialog-footer .btn { font-size: 13px; }
@media (max-width:640px) {
  .cmp-dialog.cmp-sale-dialog { width: calc(100% - 24px); }
  .cmp-sale-dialog .cmp-dialog-header { padding: 20px; }
  .cmp-sale-dialog .cmp-dialog-header h2 { font-size: 22px; }
  .cmp-sale-dialog .cmp-dialog-body { padding: 16px 12px; }
  .cmp-sale-dialog .cmp-sale-conditions .cmp-form-grid { grid-template-columns: minmax(0,1fr); }
  .cmp-sale-conditions .cmp-field, .cmp-sale-conditions .cmp-field:has(textarea) { grid-column: 1 / -1; }
  .cmp-sale-dialog .cmp-dialog-footer { flex-wrap: wrap; }
}
/* Precio del pedido: por tonelada o por viaje (30-oct-2026) */
.cmp-dialog .cmp-precio-tipo { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; margin: 0 0 8px; padding: 3px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-secondary); }
.cmp-dialog .cmp-precio-tipo button { min-height: 32px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.cmp-dialog .cmp-precio-tipo button[aria-checked="true"] { background: var(--bg-card); color: var(--text-primary); border-color: var(--border); box-shadow: 0 1px 2px rgba(21, 32, 52, .1); }
/* Transportista con buscador y matrícula con sus camiones sugeridos (30-oct-2026) */
.cmp-dialog .cmp-combo { position: relative; }
.cmp-dialog .cmp-combo .search-dropdown { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 240px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); box-shadow: 0 12px 28px -12px rgba(21, 32, 52, .25); }

/* Producto del pedido: convencional o Trabisa Ganado (6-nov-2026). Ocupa todo el ancho del campo */
.cmp-dialog .cmp-producto.precio-tipo { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; box-sizing: border-box; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-secondary); }
.cmp-dialog .cmp-producto.precio-tipo button { min-height: 40px; padding: 0 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text-secondary); box-shadow: none; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: normal; cursor: pointer; }
.cmp-dialog .cmp-producto.precio-tipo button[aria-checked="true"] { background: var(--bg-card); color: var(--text-primary); border-color: var(--border); box-shadow: 0 1px 2px rgba(21, 32, 52, .1); }
.cmp-dialog .cmp-producto.precio-tipo button:disabled { cursor: default; opacity: .55; }
