/* ============================================================
   COMPARE.CSS
   The sticky bottom compare bar (chip list + compare/clear
   buttons) and the side-by-side comparison table page.
   ============================================================ */
  /* ---------- COMPARE BAR & TABLE ---------- */
  .compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--gold);
    padding: 16px 24px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
  }
  .compare-bar-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }
  .compare-bar-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-dim);
    margin-right: 4px;
  }
  .compare-chip {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    background: var(--surface-raised);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 5px 12px;
  }
  .compare-bar-actions {
    display: flex;
    gap: 10px;
  }
  .compare-btn {
    font-family: var(--mono);
    font-size: 13px;
    padding: 12px 20px;
    min-height: 44px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
  }
  .compare-btn.primary {
    background: var(--gold);
    color: var(--bg);
    font-weight: 600;
  }
  .compare-btn.primary:disabled {
    background: var(--hairline);
    color: var(--ink-dim);
    cursor: not-allowed;
  }
  .compare-btn.secondary {
    background: transparent;
    color: var(--ink-dim);
    border: 1px solid var(--hairline);
  }
  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 60px;
  }
  .scroll-hint {
    display: none;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-dim);
    text-align: center;
    padding: 8px 0;
  }
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
  }
  .compare-table th, .compare-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hairline);
    vertical-align: top;
  }
  .compare-table th {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-dim);
    white-space: nowrap;
  }
  .compare-table .row-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }
  .compare-table .firm-col-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 20px;
  }
  .compare-table td {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.5;
  }
  .compare-sector-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--gold);
    background: rgba(201,162,39,0.08);
    padding: 2px 8px;
    border-radius: 3px;
    margin: 2px 4px 2px 0;
  }
