/* WAYNA · F11 UX T03 — Carta e Inventario (Productos, Categorías, Recetas, Compras, Proveedores, Ingredientes, Stock, Kardex, Transferencias, Mermas, Conteos, Almacenes).
   Solo panel `admin`. Usa los tokens de wayna-tenant-shell.css y wayna-tenant-operations.css (claro / oscuro / sistema). */

/* ---------- aviso de estado ---------- */
.wy-banner { display: flex; gap: .75rem; align-items: flex-start; padding: .875rem 1rem; border-radius: .75rem; border: 1px solid transparent; }
.wy-banner__icon { width: 1.5rem; height: 1.5rem; flex: none; }
.wy-banner__title { font-weight: 700; font-size: .9375rem; }
.wy-banner__text { font-size: .875rem; line-height: 1.45; }
.wy-banner--success { background: var(--wy-tone-success-bg); color: var(--wy-tone-success-fg); border-color: var(--wy-tone-success-solid); }
.wy-banner--attention { background: var(--wy-tone-attention-bg); color: var(--wy-tone-attention-fg); border-color: var(--wy-tone-attention-solid); }
.wy-banner--info { background: var(--wy-tone-info-bg); color: var(--wy-tone-info-fg); border-color: var(--wy-tone-info-solid); }
.wy-banner--neutral { background: var(--wy-tone-neutral-bg); color: var(--wy-tone-neutral-fg); border-color: var(--wy-tone-neutral-solid); }
.wy-banner--danger { background: var(--wy-tone-danger-bg); color: var(--wy-tone-danger-fg); border-color: var(--wy-tone-danger-solid); }

/* ---------- ficha de datos (label arriba, valor abajo) ---------- */
.wy-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; font-size: .9375rem; color: var(--wy-text); }
.wy-facts__label { font-size: .8125rem; color: var(--wy-text-muted); }
.wy-facts__value { font-weight: 600; }

/* ---------- nota breve bajo el título de una pantalla ---------- */
.wy-note { font-size: .875rem; color: var(--wy-text-muted); }

/* ---------- resumen de la compra (Subtotal / IGV / Total) ---------- */
.wy-total-row .fi-fo-field-wrp-label span { font-weight: 700; }

/* ---------- tablas anchas: scroll horizontal controlado, sin romper el layout (768-1440) ---------- */
.fi-ta-content { max-width: 100%; }
.fi-ta .fi-ta-ctn { overflow-x: auto; }

/* KPI del Resumen de inventario con la misma altura por fila */
.wy-home__kpis > div { display: flex; }
.wy-home__kpis > div > .wy-kpi { flex: 1; }

/* Tablet: la explicación bajo el estado se oculta para que las acciones principales (Modificar / Recibir) queden a la vista */
@media (max-width: 1279px) { .wy-hide-desc-below-xl p.text-sm { display: none; } }
