.research-toolbar,
.research-search-head,
.research-query-actions,
.pipeline-list-tools,
.research-selection-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.research-toolbar,
.research-search-head,
.research-selection-bar { justify-content: space-between; }

.research-toolbar > *,
.research-search-head > *,
.research-search-layout > *,
.research-main > *,
.pipeline-list-tools > * { min-width: 0; }

.research-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f6f1fb;
}

.research-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}

.research-switch button:hover { background: #eee4f9; color: #39254f; }
.research-switch button[aria-pressed=true] {
  border-color: var(--line);
  background: var(--surface);
  color: #48246f;
  box-shadow: 0 1px 2px #38245112;
}
.research-switch .icon { width: 15px; height: 15px; }

.research-toolbar {
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.research-toolbar > .research-switch {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}
.research-toolbar > .research-switch button {
  min-height: 40px;
  padding-inline: 4px;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  box-shadow: none;
}
.research-toolbar > .research-switch button[aria-pressed=true] {
  border-bottom-color: var(--accent);
  color: var(--accent-hover);
}
.research-search-head { padding-bottom: 6px; }

.research-search-layout,
.research-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.research-search-layout.is-filter-mode {
  grid-template-columns: clamp(185px, 19vw, 237px) minmax(0, 1fr);
  align-items: start;
}

.is-filter-mode .research-filters .section-head { padding: 13px 13px 0; }
.is-filter-mode :is(.research-company-field, .research-secondary) {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.is-filter-mode .research-secondary .btn.quiet { justify-self: start; }
.is-filter-mode #results :is(th, td) { padding-inline: 8px; }

.research-query {
  min-width: 0;
  padding: clamp(14px, 2.2vw, 24px);
}
.research-query-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 7px;
}
.research-query-head h2 {
  color: var(--accent-hover);
  font-family: var(--research-mono);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.research-query-actions { gap: 7px; }
.research-sentence {
  color: var(--ink);
  font-size: clamp(1.21rem, 2.4vw, 2.02rem);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.research-chip {
  display: inline-block;
  max-width: 100%;
  min-height: 32px;
  padding: .13em .33em;
  border: 1px dashed #aaa0b8;
  border-radius: 7px;
  background: #fbfafc;
  color: #62586f;
  font: inherit;
  line-height: 1.22;
  letter-spacing: inherit;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: baseline;
  white-space: normal;
}
.research-chip[data-filled=true], .research-chip[aria-expanded=true], .research-chip:hover {
  border-style: solid;
  border-color: #bda5e2;
  background: var(--workspace-tint);
  color: #48246f;
}
.research-chip[aria-expanded=true] { box-shadow: inset 0 -2px var(--accent); }

.research-driver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 730;
  text-align: left;
}
.research-driver-text { display: grid; gap: 2px; min-width: 0; line-height: 1.22; white-space: normal; overflow-wrap: anywhere; }
.research-driver-text :is(small, .muted) { color: var(--muted); font-size: .78rem; font-weight: 500; }
.research-driver:hover .research-driver-text > :first-child { color: var(--accent-hover); text-decoration: underline; }

.saved-searches { min-width: 0; }
.saved-searches .section-head { border-bottom: 1px solid var(--line); }
.saved-searches th { border-top: 0; }
.saved-searches td { padding-block: 9px; }
.saved-searches .table-wrap { border-radius: 0 0 11px 11px; }

.pipeline-list-tools {
  align-items: flex-end;
  gap: 8px 12px;
  padding: 0 18px 13px;
}
.pipeline-list-tools .field { flex: 0 1 185px; }
.pipeline-list-tools .field:first-child { flex: 1 1 220px; }
.pipeline-list-tools :is(input, select) { min-height: 37px; padding: 7px 9px; }
.followup-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 0 18px 13px; }
.followup-tools [data-period] > span { padding-inline: 4px; font-variant-numeric: tabular-nums; }

.crm-shell .main { max-width: 1720px; padding: clamp(18px, 2.5vw, 34px) clamp(16px, 2vw, 30px) 42px; }
.crm-workspace { min-width: 0; gap: 18px; }
.crm-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.crm-heading h1 { font-size: clamp(1.95rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.045em; }
.crm-heading p { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.crm-heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.crm-heading-actions .btn { min-height: 36px; }
.crm-directory { border-radius: 14px; container-type: inline-size; }
.crm-directory-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 8px 15px; border-bottom: 1px solid var(--line); }
.crm-directory-bar > .research-switch:only-child { margin-inline-start: auto; }
.crm-workspace .pipeline-list-tools { align-items: end; gap: 10px; padding: 13px 15px 14px; }
.crm-workspace .pipeline-list-tools .field { flex: 0 1 145px; font-size: .83rem; }
.crm-workspace .pipeline-list-tools .field:first-child { flex: 0 1 275px; }
.crm-workspace .pipeline-list-tools :is(input, select) { min-height: 37px; padding-block: 6px; }
.crm-workspace .pipeline-list-tools [data-pipeline-count] { margin-inline-start: auto; align-self: end; padding-block: 8px; font-size: .83rem; }
.crm-workspace .crm-mobile-sort, .crm-mobile-header, .crm-cell-label { display: none; }

.crm-quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.crm-quick-filters button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 33px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .87rem;
  font-weight: 650;
  white-space: nowrap;
}
.crm-quick-filters button:hover { color: var(--ink); background: var(--panel-soft, var(--workspace-tint)); }
.crm-quick-filters button[aria-pressed="true"] { color: var(--accent-hover); background: var(--workspace-tint); }
.crm-quick-filters button:focus-visible { outline-offset: -3px; }
.crm-quick-filters button span { font-size: .77rem; font-variant-numeric: tabular-nums; }

.crm-table { min-width: 0; }
.crm-table .table-wrap { position: relative; border-radius: 0 0 11px 11px; overscroll-behavior-inline: contain; }
.crm-table table { table-layout: fixed; }
.crm-table :is(th, td) { padding: 8px 8px; vertical-align: middle; }
.crm-table :is(th, td):first-child { padding-inline-start: 15px; }
.crm-table :is(th, td):last-child { padding-inline-end: 15px; }
.crm-shell .crm-table th { height: 42px; white-space: nowrap; color: #475467; background: #f2f5f8; font-size: .88rem; }
.crm-table th:nth-child(1) { width: 18%; }
.crm-table th:nth-child(2) { width: 14%; }
.crm-table th:nth-child(3) { width: 10%; }
.crm-table th:nth-child(4) { width: 14%; }
.crm-table th:nth-child(5) { width: 12%; }
.crm-table th:nth-child(6) { width: 10%; }
.crm-table th:nth-child(7) { width: 9%; }
.crm-table th:nth-child(8) { width: 6%; }
.crm-table th:nth-child(9) { width: 7%; }
.crm-table th button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.crm-table th button:hover { color: var(--accent-hover); }
.crm-table th button span { color: var(--muted); }
.crm-table td { font-size: .94rem; }
.crm-table tbody tr:nth-child(even) { background: #f8fafc; }
.crm-table tbody tr:is(:hover, :focus-within) { background: var(--workspace-tint); }
.crm-timestamp { display: block; font-variant-numeric: tabular-nums; line-height: 1.25; }
.crm-timestamp small, .crm-last-caller { display: block; margin-top: 2px; color: var(--muted); font-size: .79rem; }
.crm-last-caller { white-space: normal; overflow-wrap: anywhere; }
.crm-touch-channel { display: block; margin-bottom: 2px; font-size: .83rem; }
.crm-table .crm-assignment-select { width: 100%; }
.crm-table .crm-trailer-link { text-align: start; white-space: normal; overflow-wrap: anywhere; }
.crm-driver-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.crm-driver-identity .avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; background: var(--workspace-tint); font-size: .76rem; }
.crm-driver-identity > div { min-width: 0; }
.crm-driver-identity small { display: block; margin-top: 1px; color: var(--muted); font-size: .81rem; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
.crm-driver-identity small:empty { display: none; }
.crm-table .btn.quiet { padding-inline: 2px; color: var(--accent-hover); font-weight: 650; }
.crm-table .btn.quiet:hover { text-decoration: underline; }
.crm-disposition {
  --pill-bg: #dbeafe;
  --pill-border: #bfdbfe;
  --pill-ink: #1e3a8a;
  --pill-dot: #3b82f6;
  position: relative;
  display: inline-flex;
  align-items: center;
  width: min(100%, 145px);
  min-height: 31px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  padding: 3px 10px 3px 22px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-weight: 710;
}
.crm-disposition[data-tone="no-answer"] { --pill-bg: #d6dcec; --pill-border: #d8b4fe; --pill-ink: #121631; --pill-dot: #9333ea; }
.crm-disposition[data-tone="callback"] { --pill-bg: #fef3c7; --pill-border: #fcd34d; --pill-ink: #78350f; --pill-dot: #b45309; }
.crm-disposition[data-tone="good"] { --pill-bg: #dcfce7; --pill-border: #86efac; --pill-ink: #14532d; --pill-dot: #15803d; }
.crm-disposition[data-tone="declined"] { --pill-bg: #ffe4e6; --pill-border: #fda4af; --pill-ink: #9f1239; --pill-dot: #e11d48; }
.crm-disposition[data-tone="blocked"] { --pill-bg: #fecaca; --pill-border: #fca5a5; --pill-ink: #991b1b; --pill-dot: #dc2626; }
.crm-disposition::before {
  position: absolute;
  inset-inline-start: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pill-dot);
  box-shadow: 0 0 0 2px #ffffffad;
  pointer-events: none;
  content: '';
}
.crm-disposition:has(select) { padding: 0; }
.crm-disposition:has(select)::after {
  position: absolute;
  inset-inline-end: 9px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  pointer-events: none;
  content: '';
}
.crm-disposition select {
  width: 100%;
  min-height: 31px;
  appearance: none;
  border: 0;
  border-radius: inherit;
  padding: 3px 20px 3px 21px;
  background: transparent;
  color: inherit;
  font: inherit;
}
.crm-disposition select option { background: var(--surface); color: var(--ink); }
.crm-driver-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 720;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}
.crm-driver-link:hover { text-decoration: underline; }
.crm-stage-select {
  max-width: 100%;
  min-height: 31px;
  border: 1px solid var(--control-line);
  border-radius: 6px;
  padding: 4px 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.crm-stage-select:hover { border-color: var(--accent); }
.crm-stage-select:disabled { opacity: .64; }

@container (width < 930px) {
  .crm-workspace .crm-mobile-sort { display: grid; }
  .crm-table table, .crm-table tbody { display: block; min-width: 0; white-space: normal; }
  .crm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .crm-table thead button { display: none; }
  .crm-table .crm-mobile-header { display: inline; }
  .crm-table tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; padding: 13px 15px; border-top: 1px solid var(--line); }
  .crm-table tbody tr[hidden] { display: none; }
  .crm-table tbody tr > td { min-width: 0; padding: 0; border: 0; }
  .crm-table tbody tr > td:is(:first-child, :last-child) { padding-inline: 0; }
  .crm-table tbody tr > td.crm-cell-driver { grid-column: span 2; align-self: center; }
  .crm-cell-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .78rem; font-weight: 650; }
}

@media (max-width: 590px) {
  .crm-workspace { gap: 13px; }
  .crm-directory-bar { padding-inline: 12px; }
  .crm-directory-bar > .research-switch:only-child { margin-inline-start: 0; }
  .crm-quick-filters { gap: 3px; }
  .crm-quick-filters button { min-height: 34px; padding-inline: 6px; }
  .crm-workspace .pipeline-list-tools { padding: 11px 12px; }
  .crm-workspace .pipeline-list-tools .field { flex: 1 1 calc(50% - 6px); }
  .crm-workspace .pipeline-list-tools .field:first-child { flex: 1 1 100%; }
  .crm-workspace .pipeline-list-tools [data-pipeline-count] { padding: 3px 0; }
  .crm-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm-table .crm-cell-driver { padding-bottom: 3px; }
}

@media (max-width: 780px) {
  .crm-shell .carrier-workspace-header .workspace-switch { display: none; }
}

.crm-summary { position: relative; color: var(--muted); }
.crm-summary > summary { cursor: pointer; }
.crm-summary dl {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 6px) 0 auto auto;
  min-width: 170px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 5px 16px #1020391f;
}
.crm-summary dl div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; }
.crm-summary dd { margin: 0; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }

#dialog.lead-drawer[open] {
  position: fixed;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  max-width: none;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-start: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  overflow: hidden;
}
.lead-drawer-header { flex-shrink: 0; padding: 22px 22px 15px; border-bottom: 1px solid var(--line); }
.lead-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.lead-identity .avatar { width: 46px; height: 46px; color: #214e7d; background: var(--workspace-tint); font-size: 1rem; }
.lead-identity h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.lead-identity p, .lead-read-only { margin-top: 4px; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.lead-close { min-width: 36px; padding-inline: 6px; }
.lead-quick-actions, .lead-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.lead-quick-actions { margin-top: 15px; }
.lead-tabs { flex-shrink: 0; padding: 11px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.lead-tabs button[aria-selected="true"] { border-color: #aac7eb; background: var(--workspace-tint); color: var(--accent-hover); }
.lead-tabs button span { font-size: .74rem; color: var(--muted); }
.lead-drawer-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px 22px max(22px, env(safe-area-inset-bottom));
}
.lead-drawer-content [hidden] { display: none; }
.lead-section { display: grid; gap: 13px; }
.lead-section + .lead-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.lead-section h3 { margin: 0; color: var(--ink); font-size: 1rem; }
.lead-section > .btn { justify-self: start; }
.lead-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 15px; margin: 0; }
.lead-facts div { min-width: 0; padding: 9px 11px; border-radius: 8px; background: var(--panel-soft); }
.lead-facts dt { color: var(--muted); font-size: .77rem; font-weight: 650; }
.lead-facts dd { margin: 3px 0 0; color: var(--ink); font-size: .91rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.lead-profile-section .lead-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
.lead-profile-section .lead-facts div {
  display: grid;
  grid-template-columns: minmax(6rem, .7fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.lead-profile-section .lead-facts dd { margin: 0; font-weight: 600; }
.lead-contact-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.lead-assignment-row { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.lead-assignment-row .field { flex: 1 1 170px; }
.lead-form { min-width: 0; }
.lead-form .field { min-width: 0; }
.lead-form-actions { display: flex; justify-content: flex-end; }
.lead-form .form-error:empty { display: none; }
.lead-empty { color: var(--muted); font-size: .88rem; }
.lead-activity { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lead-activity li { display: flex; align-items: start; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.lead-activity li > div { min-width: 0; overflow-wrap: anywhere; }
.lead-activity strong { display: block; font-size: .9rem; }
.lead-activity small { color: var(--muted); font-size: .79rem; }
.lead-activity-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; color: var(--accent-hover); background: var(--workspace-tint); }
.lead-activity-icon .icon { width: 15px; height: 15px; }

.pipeline-board { display: flex; gap: 9px; max-width: 100%; overflow-x: auto; padding: 0 13px 13px; overscroll-behavior-inline: contain; }
.pipeline-column { display: flex; flex: 1 0 174px; flex-direction: column; min-height: 272px; min-width: 0; max-width: 255px; border: 1px solid var(--line); border-radius: 10px; background: #f7f5fa; }
.pipeline-column-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 10px; border-bottom: 1px solid var(--line); }
.pipeline-column-head h3 { font-size: .86rem; font-weight: 730; }
.pipeline-column-head > span { padding: 2px 7px; border-radius: 100px; color: var(--muted); background: #ece6f3; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pipeline-column[data-board-stage="Hired"] .pipeline-column-head { color: var(--green); }
.pipeline-cards { display: grid; align-content: start; gap: 7px; padding: 7px; }
.pipeline-card { display: grid; gap: 4px; min-width: 0; width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; }
.pipeline-card:hover { border-color: #bda5e2; box-shadow: 0 2px 6px #2d1e3810; }
.pipeline-card.is-dragging { opacity: .58; }
.pipeline-column.is-drop-target { border-color: var(--accent); background: var(--workspace-tint); }
.pipeline-person { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pipeline-person .avatar { width: 24px; height: 24px; border-radius: 6px; font-size: .72rem; }
.pipeline-person strong { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.pipeline-person > .icon { width: 13px; height: 13px; color: var(--muted); }
.pipeline-employer { font-size: .79rem; overflow-wrap: anywhere; }
.pipeline-experience, .pipeline-follow-up { color: var(--muted); font-size: .75rem; }
.pipeline-card-status { margin-top: 3px; }
.pipeline-card-status .badge { padding: 3px 7px; }
.pipeline-empty-intro { padding: 0 18px 13px; color: var(--muted); }
.pipeline-board[hidden], .pipeline-column[hidden], .pipeline-card[hidden] { display: none; }
@media (min-width: 1200px) {
  .pipeline-column { flex-basis: 152px; }
}

.research-selection-bar {
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #e3d6f0;
  border-radius: 8px;
  background: var(--workspace-tint);
  color: #462568;
}
.research-selection-bar strong { font-variant-numeric: tabular-nums; }

@media (max-width: 950px) {
  .research-search-layout.is-filter-mode { grid-template-columns: minmax(0, 1fr); }
  .is-filter-mode .research-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .research-search-head { align-items: flex-start; }
  .pipeline-list-tools, .followup-tools { padding-inline: 13px; }
}

@media (max-width: 460px) {
  .research-toolbar, .research-search-head, .research-selection-bar { gap: 8px; }
  .research-switch button { padding-inline: 8px; }
  .pipeline-list-tools .field { flex: 1 1 100%; }
  .pipeline-list-tools :is(input, select) { font-size: 16px; }
  .crm-workspace .pipeline-list-tools .field:first-child { flex: 1 1 100%; }
  .crm-workspace .pipeline-list-tools [data-pipeline-count] { margin-inline-start: 0; padding-block: 0; }
  .crm-stage-select, .crm-disposition select, .lead-form :is(input, select, textarea) { font-size: 16px; }
  #dialog.lead-drawer[open] { border-inline-start: 0; }
  .lead-drawer-header, .lead-tabs, .lead-drawer-content { padding-inline: 14px; }
}

@media (max-width: 390px) {
  .is-filter-mode .research-secondary { grid-template-columns: minmax(0, 1fr); }
}
