/* ════════════════════════════════════════════════════════════════
   CRM-modul CSS — ensartet styling på tværs af CRM-views.
   Design-ramme: BSB Supernova (Shadcn-inspireret look).
   Variabler: --acc, --ink, --ink2, --brd, --card, --bg defineret i app.css.
   ════════════════════════════════════════════════════════════════ */

/* ─── Leads pipeline kanban ─── */
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.pip-col {
  background: #f9fafb;
  border-radius: 8px;
  padding: 12px;
  min-width: 220px;
  min-height: 400px;
}
.pip-col-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 2px solid;
}
.pip-card {
  background: white;
  border: 1px solid var(--brd);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.pip-card[draggable="true"] { cursor: grab; }
.pip-card[draggable="true"]:active { cursor: grabbing; }
.pip-card.dragging { opacity: 0.5; cursor: grabbing; }
.pip-card:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.pip-card:hover {
  border-color: var(--acc);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.pip-dropzone.drag-over {
  background: rgba(185, 255, 49, 0.15);
  outline: 2px dashed #B9FF31;
  outline-offset: -2px;
  border-radius: 6px;
  min-height: 60px;
  transition: background 0.12s, outline-color 0.12s;
}
.pip-col.drag-hover {
  background: rgba(185, 255, 49, 0.04);
  transform: scale(1.01);
  transition: all 0.15s;
}
/* Multi-select state (shift+click) */
.pip-card.selected {
  outline: 2px solid #B9FF31;
  outline-offset: -2px;
  box-shadow: 0 0 0 3px rgba(185, 255, 49, 0.2);
}
.pip-card.selected-ghost { opacity: 0.45; }
/* Multi-drag badge på selve det draggede card */
.pip-card.dragging[data-multi-count]::after {
  content: attr(data-multi-count);
  position: absolute;
  top: -8px; right: -8px;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: #B9FF31; color: #000;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.pip-card.dragging { position: relative; }
/* Invalid-drop shake */
.pip-dropzone.invalid-drop {
  animation: pip-shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
  outline: 2px dashed #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}
@keyframes pip-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}
/* Touch long-press move-menu */
.pip-move-menu {
  position: fixed;
  z-index: 9999;
  background: white;
  border: 1px solid var(--brd);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 6px 0;
  min-width: 200px;
  font-size: 13px;
}
.pip-move-menu__head {
  padding: 6px 12px 8px;
  font-size: 11px;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--brd);
  margin-bottom: 4px;
}
.pip-move-menu__item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.pip-move-menu__item:hover,
.pip-move-menu__item:focus-visible { background: rgba(185,255,49,0.15); outline: none; }
.pip-move-menu__item.current { color: var(--ink2); font-weight: 600; cursor: default; }
.pip-move-menu__item.current:hover { background: none; }
.pip-move-menu__dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 8px; vertical-align: middle;
}
html[data-dark="1"] .pip-move-menu { background: #2a2a2a; border-color: #3a3a3a; color: #f0f0f0; }
html[data-dark="1"] .pip-move-menu__item { color: #f0f0f0; }

/* ─── Kalender ─── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--brd);
  border-radius: 6px;
  overflow: hidden;
}
.cal-day {
  background: white;
  min-height: 88px;
  padding: 6px;
  cursor: pointer;
  transition: background 0.1s;
}
.cal-day:hover { background: #f9fafb; }
.cal-day.today { background: rgba(185, 255, 49, 0.1); border: 2px solid var(--acc); }
.cal-day.other-month { opacity: 0.4; }
.cal-day .num { font-weight: 600; font-size: 13px; }
.cal-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 3px;
}

/* ─── Activities timeline ─── */
.timeline-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.timeline-icon.call    { background: #dbeafe; }
.timeline-icon.email   { background: #fef3c7; }
.timeline-icon.meeting { background: #d1fae5; }
.timeline-icon.note    { background: #e0e7ff; }

/* ─── Follow-ups ─── */
.followup-section { margin-bottom: 16px; }
.followup-section-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 8px 0;
  color: var(--ink2);
}
.followup-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: var(--card);
  border-radius: 6px;
  border-left: 3px solid;
  margin-bottom: 6px;
}
.followup-item.overdue { border-left-color: #ef4444; background: #fef2f2; }
.followup-item.today   { border-left-color: #eab308; }
.followup-item.soon    { border-left-color: #3b82f6; }
.followup-item.later   { border-left-color: var(--brd); }

/* ─── Archive ─── */
.archive-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: #f9fafb;
  border-radius: 6px;
  border-left: 3px solid #9ca3af;
  margin-bottom: 6px;
  opacity: 0.85;
}
.archive-item:hover {
  opacity: 1;
  background: #f3f4f6;
  cursor: pointer;
}
.archive-item .ai-main { flex: 1; min-width: 0; }
.archive-item .ai-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.archive-item .ai-sub {
  font-size: 12px;
  color: var(--ink2);
}
.archive-item .ai-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 11px;
  color: var(--ink2);
  white-space: nowrap;
}
.archive-type-badge {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: #e5e7eb;
  color: #374151;
}
.archive-type-badge.lead    { background: #dbeafe; color: #1e40af; }
.archive-type-badge.contact { background: #fef3c7; color: #92400e; }
.archive-type-badge.company { background: #d1fae5; color: #065f46; }

.archive-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: 6px;
}
.archive-toolbar .seg {
  display: inline-flex;
  gap: 2px;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 2px;
}
.archive-toolbar .seg button {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  border-radius: 4px;
  transition: 0.12s;
}
.archive-toolbar .seg button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.archive-toolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 6px 10px;
  border: 1px solid var(--brd);
  border-radius: 6px;
  font-size: 13px;
  background: white;
}
.archive-toolbar .count {
  font-size: 12px;
  color: var(--ink2);
  margin-left: auto;
}

.archive-empty {
  padding: 40px;
  text-align: center;
  color: var(--ink2);
  background: var(--card);
  border: 1px dashed var(--brd);
  border-radius: 8px;
  font-size: 14px;
}

/* ─── Read-only detail modal (archive) ─── */
.arc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.arc-modal {
  background: white;
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.arc-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--brd);
  background: #f9fafb;
}
.arc-modal-head h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.arc-modal-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}
.arc-modal-body .ro-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.arc-modal-body .ro-row:last-child { border-bottom: 0; }
.arc-modal-body .ro-row .lbl {
  color: var(--ink2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}
.arc-modal-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--brd);
  background: #f9fafb;
}
.arc-banner-readonly {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: #fef3c7;
  border-left: 3px solid #eab308;
  border-radius: 4px;
  font-size: 12px;
  color: #78350f;
  margin-bottom: 14px;
}

/* ════════════════════════════════════════════════════════════════
   UTILITY-KLASSER — erstatter gentagne inline styles i CRM-moduler.
   Brug disse frem for style="..." attributter.
   ════════════════════════════════════════════════════════════════ */

/* Tekst */
.u-mute { color: var(--ink2); }
.u-mute-light { color: #777; }
.u-small { font-size: 11px; }
.u-xs { font-size: 10px; }
.u-bold { font-weight: 600; }
.u-text-right { text-align: right; }
.u-text-center { text-align: center; }
.u-mono { font-family: monospace; }
.u-tabular { font-variant-numeric: tabular-nums; }
.u-uppercase { text-transform: uppercase; letter-spacing: 0.5px; }
.u-cursor-pointer { cursor: pointer; }
.u-opacity-60 { opacity: 0.6; }

/* Margin */
.u-mt-0 { margin-top: 0; }
.u-mt-2 { margin-top: 2px; }
.u-mt-4 { margin-top: 4px; }
.u-mt-8 { margin-top: 8px; }
.u-mt-12 { margin-top: 12px; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-4 { margin-bottom: 4px; }
.u-mb-8 { margin-bottom: 8px; }
.u-mb-10 { margin-bottom: 10px; }
.u-mb-12 { margin-bottom: 12px; }
.u-mb-14 { margin-bottom: 14px; }
.u-mb-16 { margin-bottom: 16px; }
.u-mb-20 { margin-bottom: 20px; }
.u-mb-24 { margin-bottom: 24px; }
.u-m-0 { margin: 0; }

/* Padding */
.u-p-6 { padding: 6px; }
.u-p-8 { padding: 8px; }
.u-p-12 { padding: 12px; }
.u-p-20 { padding: 20px; }
.u-p-24 { padding: 24px; }

/* Layout */
.u-block { display: block; }
.u-inline-block { display: inline-block; }
.u-flex { display: flex; }
.u-flex-col { display: flex; flex-direction: column; }
.u-flex-1 { flex: 1; }
.u-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.u-grid-span-all { grid-column: 1 / -1; }
.u-gap-4 { gap: 4px; }
.u-gap-8 { gap: 8px; }
.u-gap-10 { gap: 10px; }
.u-gap-12 { gap: 12px; }
.u-between { justify-content: space-between; }
.u-end { justify-content: flex-end; }
.u-center { justify-content: center; }
.u-items-center { align-items: center; }
.u-full { width: 100%; }
.u-w-90 { width: 90px; }
.u-w-140 { width: 140px; }

/* Form-labels (meget brugt mønster) */
.u-form-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 4px;
}
.u-form-label-sm {
  display: block;
  font-size: 0.78rem;
  color: var(--ink2);
  margin-bottom: 4px;
}
.u-form-label-xs {
  display: block;
  font-size: 0.8rem;
  color: var(--ink2);
  margin-bottom: 4px;
}
.u-form-input {
  width: 100%;
  padding: 6px 8px;
}

/* Farver / baggrunde */
.u-muted-bg { background: #f9fafb; }
.u-card-bg { background: var(--card); }
.u-border { border: 1px solid var(--brd); }
.u-border-b { border-bottom: 1px solid var(--brd); }
.u-rounded { border-radius: 6px; }
.u-rounded-lg { border-radius: 8px; }
.u-rounded-sm { border-radius: 4px; }

/* Sammensatte */
.u-btn-ghost {
  padding: 6px 10px;
  border: 1px solid var(--brd);
  border-radius: 6px;
  background: var(--card);
}
.u-btn-ghost-lg {
  padding: 8px 10px;
  border: 1px solid var(--brd);
  border-radius: 6px;
  background: var(--card);
}
.u-empty-state {
  text-align: center;
  padding: 20px;
  color: var(--ink2);
}
.u-empty-state-lg {
  padding: 24px;
  text-align: center;
}
.u-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.u-section-title-lg {
  margin: 0;
  font-size: 1.15rem;
}
.u-label-caps {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tags / pills */
.u-tag-muted {
  background: #f3f4f6;
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.u-chip {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════
   SKELETON LOADING STATES — bruges af alle CRM-views inden data
   fra BSB_CRM.* er klar. Matcher pattern fra tilbud-list.js.
   ════════════════════════════════════════════════════════════════ */
.skel-line,
.skel-block {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skel-pulse 1.5s ease-in-out infinite;
  border-radius: 4px;
  display: block;
}
.skel-block {
  background-color: #f0f0f0;
  border-radius: 8px;
}
@keyframes skel-pulse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Sortable table headers + pager (flyttet fra inline <style> i
   crm-companies.js for at undgå style-recalc storm ved innerHTML-swap
   som låste browser renderer på Kunder-view). */
.tbl th.sortable { cursor: pointer; user-select: none; }
.tbl th.sortable:hover { background: rgba(185,255,49,0.08); }
.sort-arrow { margin-left: 4px; font-size: .75em; }
.sort-arrow.muted { opacity: .25; }
.sort-arrow.active { color: #B9FF31; }
.bsb-pager {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-top: 1px solid var(--line,#e5e5e5);
  flex-wrap: wrap; font-size: .88rem;
}
.bsb-pager .pg-info { color: var(--ink2,#666); }
.bsb-pager .pg-spacer { flex: 1; }
.bsb-pager button {
  padding: .35rem .8rem; border: 1px solid var(--line,#ddd);
  border-radius: 6px; background: #fff; cursor: pointer; font-size: .85rem;
}
.bsb-pager button:disabled { opacity: .4; cursor: not-allowed; }
.bsb-pager select {
  padding: .3rem .5rem; border: 1px solid var(--line,#ddd);
  border-radius: 6px; font-size: .85rem; background: #fff;
}

/* ═══════════════ DARK MODE (CRM) ═══════════════ */
html[data-dark="1"] .pip-col { background: #1f1f1f; }
html[data-dark="1"] .pip-card { background: #2a2a2a; border-color: #3a3a3a; color: #f0f0f0; }
html[data-dark="1"] .pip-card:hover { background: #333; }
html[data-dark="1"] .cal-day { background: #242424; color: #f0f0f0; }
html[data-dark="1"] .cal-day.today { background: rgba(185,255,49,.1); }

/* ═══════════════ SHEET MODAL — autocomplete tilføjelse ═══════════════ */
/* Kerne sheet-styling injiceres via crm-modals.js (bsb-sheet-styles).
   Herunder kun autocomplete-dropdown til firma/kontakt-søgning. */
.bsb-autocomplete { position: relative; }
.bsb-autocomplete-list {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--card, #fff); border: 1px solid var(--brd);
  border-radius: 6px; margin-top: 2px; max-height: 220px; overflow-y: auto;
  z-index: 5; box-shadow: 0 4px 12px rgba(0,0,0,.08); display: none;
}
.bsb-autocomplete-list.open { display: block; }
.bsb-autocomplete-item { padding: 8px 10px; cursor: pointer; font-size: .88rem; }
.bsb-autocomplete-item:hover, .bsb-autocomplete-item.active { background: #f6f8fa; }
.bsb-autocomplete-item.new { color: var(--ink); font-weight: 600; border-top: 1px solid var(--brd); }
.bsb-autocomplete-item.new::before { content: "+ "; color: var(--acc-dk, #6b9c1e); }
.bsb-autocomplete-item .sub { display:block; font-size:.74rem; color: var(--ink2); margin-top:2px; }
html[data-dark="1"] .bsb-autocomplete-list { background: #2a2a2a; border-color: #3a3a3a; color: #f0f0f0; }
html[data-dark="1"] .bsb-autocomplete-item:hover,
html[data-dark="1"] .bsb-autocomplete-item.active { background: #333; }

/* ════════════════════════════════════════════════════════════════
   SEARCH + FILTER TOOLBAR — poleret UX på tværs af alle CRM list-views
   Bruges af crm-leads, crm-companies, crm-contacts, crm-activities,
   crm-followups, crm-deadlines, crm-archive, crm-byggefakta.
   ════════════════════════════════════════════════════════════════ */

/* Søgefelt med ikon + clear-knap */
.bsb-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 480px;
}
.bsb-search input[type="search"],
.bsb-search input.bsb-search-input {
  width: 100%;
  padding: 9px 34px 9px 36px;
  border: 1px solid var(--brd, #e5e5e5);
  border-radius: 8px;
  background: var(--card, #fff);
  font-size: .92rem;
  color: var(--ink, #111);
  transition: border-color .12s, box-shadow .12s;
}
.bsb-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.bsb-search input[type="search"]:focus,
.bsb-search input.bsb-search-input:focus {
  outline: none;
  border-color: #B9FF31;
  box-shadow: 0 0 0 3px rgba(185,255,49,.25);
}
.bsb-search .bsb-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .95rem;
  opacity: .55;
  pointer-events: none;
  line-height: 1;
}
.bsb-search .bsb-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  min-height: 22px;
  min-width: 22px;
  border: none;
  background: transparent;
  color: var(--ink2, #666);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.bsb-search .bsb-search-clear:hover { background: #f0f0f0; color: var(--ink, #111); }
.bsb-search.has-value .bsb-search-clear { display: inline-flex; }

/* Chip-container med horisontal scroll hvis mange */
.bsb-chipbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.bsb-chipbar.scrollable {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.bsb-chipbar.scrollable .filter-chip,
.bsb-chipbar.scrollable .chip { flex-shrink: 0; }

/* Aktive filter summary-bjælke */
.bsb-filter-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 0 0 12px;
  background: rgba(185,255,49,.08);
  border: 1px solid rgba(185,255,49,.35);
  border-radius: 8px;
  font-size: .83rem;
  color: var(--ink, #111);
}
.bsb-filter-summary strong { font-weight: 600; color: var(--ink, #111); }
.bsb-filter-summary .bsb-clear-all {
  background: none;
  border: none;
  color: #0066cc;
  cursor: pointer;
  font-weight: 600;
  font-size: .83rem;
  padding: 2px 6px;
  border-radius: 4px;
  min-height: auto;
}
.bsb-filter-summary .bsb-clear-all:hover { text-decoration: underline; background: rgba(0,102,204,.08); }

/* Resultat-count linje */
.bsb-result-count {
  font-size: .82rem;
  color: var(--ink2, #666);
  margin: 0 0 10px;
  padding: 4px 2px;
}
.bsb-result-count strong { color: var(--ink, #111); font-weight: 600; }

/* Container for hele toolbar */
.bsb-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.bsb-toolbar .bsb-search { order: -1; }

/* Dark mode */
html[data-dark="1"] .bsb-search input[type="search"],
html[data-dark="1"] .bsb-search input.bsb-search-input {
  background: #2a2a2a; border-color: #3a3a3a; color: #f0f0f0;
}
html[data-dark="1"] .bsb-search .bsb-search-clear:hover { background: #3a3a3a; }
html[data-dark="1"] .bsb-filter-summary { background: rgba(185,255,49,.12); border-color: rgba(185,255,49,.4); color: #f0f0f0; }
html[data-dark="1"] .bsb-filter-summary .bsb-clear-all { color: #7cc4ff; }

/* Mobil: søg full-width, chips scroller horisontalt */
@media (max-width: 640px) {
  .bsb-toolbar { gap: 8px; }
  .bsb-search { flex: 1 1 100%; min-width: 0; max-width: none; width: 100%; }
  .bsb-chipbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .bsb-chipbar .filter-chip,
  .bsb-chipbar .chip { flex-shrink: 0; }
  .bsb-filter-summary { flex-wrap: wrap; font-size: .8rem; }
}
