/* ============================================================
   Stadum Archive — Non-Linear Navigation Test System
   Shared styles for /lab/ pages
   ============================================================ */

/* ── Layout ─────────────────────────────────────────────────── */

.test-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.test-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: start;
}

.test-main { min-width: 0; }

.test-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 800px) {
  .test-layout { grid-template-columns: 1fr; }
  .test-sidebar { position: static; }
}

/* ── Topbar label ────────────────────────────────────────────── */

.test-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-2);
  border: 1px solid var(--brass);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.test-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

/* ── Page header ─────────────────────────────────────────────── */

.test-header { padding: 40px 0 0; }

.test-header .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 10px;
}

.test-header h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: var(--ink);
}

.test-header .lead {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 54ch;
  margin: 0 0 32px;
}

/* ── Story body ──────────────────────────────────────────────── */

.test-prose { font-size: 16px; line-height: 1.7; color: var(--ink-80); }
.test-prose p { margin: 0 0 20px; }
.test-prose h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 36px 0 14px;
  color: var(--ink);
}
.test-prose h2:first-child { margin-top: 0; }

/* ── Story atoms (theme-filterable) ─────────────────────────── */

.theme-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
}
.theme-filter__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-50);
  align-self: center;
  margin-right: 4px;
}
.theme-btn {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-50);
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.theme-btn.active, .theme-btn:hover {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}

.story-atom {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .2s;
}
.story-atom:last-child { border-bottom: none; }
.atom-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.atom-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-50);
}

/* ── Inline cross-reference chips ───────────────────────────── */

.xref {
  cursor: pointer;
  border-bottom: 1.5px dashed var(--brass);
  color: var(--ink);
  position: relative;
  display: inline-block;
  transition: color .12s;
  overflow: visible;
}
.xref:hover { color: var(--green); }
.xref::after {
  content: '↗';
  font-size: 9px;
  vertical-align: super;
  margin-left: 1px;
  opacity: .6;
}

.xref-chip {
  display: none;
  position: absolute;
  z-index: 200;
  left: 0;
  top: calc(100% + 8px);
  width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(35,33,28,.18);
  overflow: visible;
}
.xref-chip.is-open { display: block; }
.xref-chip__inner { padding: 18px 20px; }
.xref-chip__type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 4px;
}
.xref-chip__title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.xref-chip__desc {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.5;
  margin-bottom: 10px;
}
.xref-chip__link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  text-decoration: none;
  letter-spacing: .04em;
}
.xref-chip__link:hover { text-decoration: underline; }

/* ── Constellation panel ─────────────────────────────────────── */

.constellation-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.constellation-panel__head {
  padding: 10px 14px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 8px;
}
.constellation-panel__head::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
#constellation { display: block; width: 100%; }
#constellation svg { display: block; }

.constellation-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 12px;
  max-width: 220px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  line-height: 1.45;
  opacity: 0;
  transition: opacity .1s;
}
.ctt-type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 3px;
}
.ctt-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.ctt-desc { font-size: 11.5px; opacity: .8; }
.ctt-nav {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brass-soft);
}

/* Constellation node text */
.constellation-panel text { font-family: var(--sans); }
.constellation-panel line { transition: stroke .12s; }

/* ── Locator panel ───────────────────────────────────────────── */

.locator-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
}
.locator-panel__head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 12px;
}
.locator-axis { margin-bottom: 12px; }
.locator-axis:last-child { margin-bottom: 0; }
.locator-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 6px;
}
.locator-track {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}
.locator-rail {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--line);
  border-radius: 1px;
}
.locator-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  transform: translateX(-50%);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--green);
  z-index: 1;
}
.locator-span {
  position: absolute;
  height: 4px;
  background: var(--green);
  opacity: .3;
  border-radius: 2px;
}
.locator-tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--ink-50);
  top: 14px;
  transform: translateX(-50%);
}
.locator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.locator-chip {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-50);
}
.locator-chip.active {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}

/* ── Backlinks ───────────────────────────────────────────────── */

.backlinks-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--line);
}
.backlinks-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 16px;
}
.backlinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.backlink-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .12s, transform .12s;
}
.backlink-card:hover { border-color: var(--brass); transform: translateY(-1px); }
.backlink-card__type {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 4px;
}
.backlink-card__title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.backlink-card__context {
  font-size: 12px;
  color: var(--ink-50);
  line-height: 1.5;
  font-style: italic;
}

/* ── Hub constellation (full-width) ─────────────────────────── */

.hub-constellation {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 32px 0;
}
.hub-constellation__head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hub-constellation__head::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}
#hub-constellation { display: block; width: 100%; }

.hub-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink-50);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Entry cards (hub) ───────────────────────────────────────── */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.entry-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.entry-card:hover {
  border-color: var(--brass);
  box-shadow: 0 3px 16px rgba(35,33,28,.08);
  transform: translateY(-2px);
}
.entry-card__type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 8px;
}
.entry-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.entry-card__desc {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.55;
}
.entry-card__connections {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.conn-chip {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-50);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 3 — Inline xref contextual threads
   ═══════════════════════════════════════════════════════════════ */

.xref-chip {
  width: 300px;  /* consistent with base definition */
}

.xref-chip__threads {
  margin: 10px 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.xref-chip__threads-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 6px;
}
.xref-chip__thread-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.xref-chip__thread-item {
  font-size: 12px;
  color: var(--green);
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .1s;
}
.xref-chip__thread-item:hover { background: var(--line); }

/* ═══════════════════════════════════════════════════════════════
   FEATURE 5 — Serendipity panel
   ═══════════════════════════════════════════════════════════════ */

.serendipity-panel {
  background: linear-gradient(135deg, var(--green) 0%, #2a4035 100%);
  border-radius: 8px;
  padding: 24px 28px;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.serendipity-panel::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.seren-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 10px;
}
.seren-year {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  opacity: .2;
  position: absolute;
  right: 20px;
  top: 14px;
  pointer-events: none;
}
.seren-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.seren-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: .8;
  max-width: 52ch;
  margin-bottom: 16px;
}
.seren-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .15s;
}
.seren-link:hover { background: rgba(255,255,255,.12); }

#surprise-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-50);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}
#surprise-me::before {
  content: '✦';
  font-size: 10px;
  opacity: .6;
}
#surprise-me:hover { border-color: var(--brass); color: var(--brass-2); }

/* ═══════════════════════════════════════════════════════════════
   FEATURE 6 — URL-shareable theme filter hint
   ═══════════════════════════════════════════════════════════════ */

#filter-share-hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brass-2);
  opacity: 0;
  margin-left: auto;
  align-self: center;
  transition: opacity .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 7 — Parallel timeline
   ═══════════════════════════════════════════════════════════════ */

.parallel-tl-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--line);
}
.parallel-tl-section h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 8px;
}
.parallel-tl-intro {
  font-size: 14px;
  color: var(--ink-50);
  margin: 0 0 20px;
}

.parallel-timeline { overflow: hidden; }

.ptl-head {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--green);
  border-radius: 6px 6px 0 0;
  padding: 12px 16px;
}
.ptl-col-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ptl-col-right { text-align: right; }
.ptl-name {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
.ptl-name:hover { text-decoration: underline; }
.ptl-dates {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-50);
  font-weight: 400;
}
.ptl-year-col { /* empty center spacer */ }

.ptl-rows {
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.ptl-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  transition: background .1s;
}
.ptl-row:last-child { border-bottom: none; }
.ptl-row:hover { background: var(--paper-2); }
.ptl-row--shared { background: rgba(60,90,71,.04); }
.ptl-row--shared:hover { background: rgba(60,90,71,.08); }

.ptl-cell {
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1.45;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.ptl-cell--right { text-align: right; justify-content: flex-end; }
.ptl-cell--left  { border-right: 1px solid var(--line); }
.ptl-cell--right { border-left: 1px solid var(--line); }

.ptl-year {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  letter-spacing: .04em;
}
.ptl-row--shared .ptl-year { color: var(--green); font-weight: 600; }

.ptl-event { color: var(--ink-80); }
.ptl-row--shared .ptl-event { color: var(--green); font-weight: 500; }

.ptl-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-50);
  padding: 8px 0 0;
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 2 — Multi-axis index
   ═══════════════════════════════════════════════════════════════ */

.mai-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.mai-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-50);
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.mai-tab.active, .mai-tab:hover {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}

.mai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.mai-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .12s, transform .1s;
}
.mai-card:hover { border-color: var(--brass); transform: translateY(-1px); }
.mai-card--satellite { opacity: .7; }
.mai-card--satellite:hover { opacity: 1; }
.mai-card__type {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 4px;
}
.mai-card__title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3px;
  line-height: 1.2;
}
.mai-card__dates {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-50);
  margin-bottom: 5px;
}
.mai-card__desc {
  font-size: 12px;
  color: var(--ink-70);
  line-height: 1.45;
}
.mai-empty { font-size: 14px; color: var(--ink-50); }

/* ═══════════════════════════════════════════════════════════════
   FEATURE 10 — Faceted browse
   ═══════════════════════════════════════════════════════════════ */

.facet-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  border-bottom: none;
}
.facet-group__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.facet-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.facet-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-50);
  cursor: pointer;
  transition: background .1s, color .1s, border-color .1s;
}
.facet-tag.active {
  background: var(--brass);
  color: var(--paper);
  border-color: var(--brass);
}
.facet-tag:hover:not(.active) { border-color: var(--brass); color: var(--brass-2); }

.facet-results {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  min-height: 80px;
}
.facet-empty { font-size: 14px; color: var(--ink-50); margin: 0; }
.facet-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-50);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.facet-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.facet-result-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  transition: border-color .12s;
}
.facet-result-card.is-page { border-color: var(--green); }
.facet-result-card:hover { border-color: var(--brass); }
.facet-rc__type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 4px;
}
.facet-rc__title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.2;
}
.facet-rc__tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.facet-rc__tag {
  font-family: var(--mono);
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-50);
}
.facet-rc__tag.is-match {
  background: var(--brass);
  color: var(--paper);
  border-color: var(--brass);
}
