#view-deal-analysis { font-size: 15px; }
.da-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.da-heading h2 { font-size: 24px; }
.da-count { color: var(--muted); font-size: 15px; }
.da-scopes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.da-scopes .btn[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--accent-line); color: var(--accent-ink); }
.da-filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 1fr)) auto; gap: 14px; align-items: end; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.da-filters label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.da-filters .input { width: 100%; min-width: 0; font-size: 15px; min-height: 44px; }
#view-deal-analysis .btn { font-size: 14px; min-height: 44px; }
.da-results { min-width: 0; }
.da-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.da-tablewrap table { width: 100%; min-width: 960px; table-layout: fixed; border-collapse: collapse; font-size: 15px; }
.da-tablewrap th { background: var(--surface-2); padding: 16px 12px; text-align: left; font-size: 14px; font-weight: 600; white-space: normal; text-transform: none; letter-spacing: 0; }
.da-tablewrap td { padding: 18px 12px; white-space: normal; overflow-wrap: anywhere; border-top: 1px solid var(--line); vertical-align: middle; }
.da-tablewrap th:nth-child(1) { width: 20%; }
.da-tablewrap th:nth-child(2) { width: 11%; }
.da-tablewrap th:nth-child(3) { width: 17%; }
.da-tablewrap th:nth-child(4) { width: 12%; }
.da-tablewrap th:nth-child(5) { width: 11%; }
.da-tablewrap th:nth-child(6) { width: 8%; }
.da-tablewrap th:nth-child(7) { width: 9%; }
.da-tablewrap th:nth-child(8) { width: 12%; }
.da-glance b { display: block; font-size: 15px; }
.da-glance span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.da-lead { font-size: 15px; font-weight: 600; }
.da-lead .calllink { font-size: inherit; text-align: left; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.da-title { color: var(--muted); font-size: 14px; margin-top: 5px; max-width: 340px; overflow-wrap: anywhere; }
.da-outcome { display: inline-block; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; background: var(--surface-2); white-space: nowrap; }
.da-cerrada { background: var(--ok-wash); color: var(--ok-ink); border-color: var(--ok-line); }
.da-no_show { background: var(--down-wash); color: var(--down-ink); border-color: var(--down-line); }
.da-sin_marcar { background: var(--warn-wash); color: var(--warn-ink); border-color: var(--warn-line); }
.da-tablewrap .da-score { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.da-tablewrap .da-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.da-date span, .da-no-recording { color: var(--muted); font-size: 14px; }
.da-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-size: 14px; }
.da-pagination > div { display: flex; gap: 8px; }
.da-empty, .da-loading { padding: 32px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.da-empty h3 { font-size: 18px; margin-bottom: 10px; }
.da-empty p { color: var(--muted); }
.da-empty .btn { margin-top: 16px; }
@media (max-width: 1100px) {
  .da-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .da-search { grid-column: 1 / -1; }
  .da-clear { justify-self: start; }
}
@media (max-width: 640px) {
  .da-heading h2 { font-size: 22px; }
  .da-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .da-scopes .btn { flex: 1; }
  .da-filters .input { font-size: 16px; }
}
