/* MIDE OS · Portal Cliente · Solicitudes / Leads. Layout of the view only: components come from
   ui/components.css and every value from ui/tokens.css. */
@layer views {
  .lead-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--mide-space-2) var(--mide-space-4); margin: 0; font-size: var(--mide-text-sm); }
  .lead-facts dt { color: var(--mide-muted); }
  .lead-facts dd { margin: 0; color: var(--mide-ink); font-weight: var(--mide-weight-semibold); }
  .lead-help { margin: 0; color: var(--mide-ink-2); font-size: var(--mide-text-sm); line-height: var(--mide-leading); }
  .leads .ui-inspector-body { justify-items: start; }
  /* Stable columns in every state (data, empty, error): fixed layout and set widths. */
  .leads .ui-table { table-layout: fixed; }
  .leads .ui-table th:nth-child(1) { width: 22%; }
  .leads .ui-table th:nth-child(2) { width: 20%; }
  .leads .ui-table th:nth-child(4) { width: 22%; }
  /* Without evidence access: only the padlock state, nothing that looks like an empty list. */
  .leads[data-locked="true"] > .ui-kpi-row,
  .leads[data-locked="true"] .ui-list-main > .ui-tabs,
  .leads[data-locked="true"] .ui-list-main > .ui-filter-bar,
  .leads[data-locked="true"] .ui-table-scroll { display: none; }
}
