:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.16);
  --paper: #111016;
  --panel: #17161c;
  --blue: #7c79ff;
  --accent: #7c79ff;
  --accent-dark: #4f4be8;
  --dark-card: #17161c;
  --teal: #14857c;
  --green: #4d8b37;
  --gold: #b9821e;
  --red: #b84d45;
  --violet: #7858a6;
  --shadow: 0 0 0 1px rgba(124, 121, 255, 0.14), 0 16px 40px rgba(0, 0, 0, 0.28);
  --filter-width: 300px;
  --radius: 4px;
}

@font-face {
  font-family: "Suisse Intl";
  font-style: normal;
  font-weight: 400;
  src: url("https://tools.hsbi-gestaltung.de/_astro/SuisseIntl-Regular.DsXrFYUX.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  font-style: normal;
  font-weight: 700;
  src: url("https://tools.hsbi-gestaltung.de/_astro/SuisseIntl-Bold.DlF3huoa.woff2") format("woff2");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 121, 255, 0.13), transparent 34rem),
    linear-gradient(145deg, #111016 0%, #17161c 48%, #111016 100%);
  font-family: "Suisse Intl", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.3;
}

button,
input {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px 22px;
  background: var(--dark-card);
  border-bottom: 1px solid var(--line);
}

.meta-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 20px;
  color: var(--muted);
  background:
    linear-gradient(145deg, rgba(124, 121, 255, 0.08), transparent 42%),
    var(--dark-card);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
}

.brand-mark {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
}

.meta-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.meta-console strong {
  color: #ffffff;
  font-size: 11px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
  min-width: 340px;
}

.stats div {
  padding: 12px 14px;
  background: #eef4fa;
  border: 1px solid #d8e6f3;
  border-radius: 8px;
}

.stats strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--filter-width) 8px minmax(0, 1fr);
  min-height: calc(100vh - 33px);
  background: transparent;
}

.filters {
  position: sticky;
  top: 0;
  align-self: start;
  height: calc(100vh - 33px);
  overflow: auto;
  padding: 22px 18px;
  background:
    linear-gradient(145deg, rgba(124, 121, 255, 0.08), transparent 42%),
    var(--dark-card);
  border-right: 1px solid var(--line);
}

.resize-handle {
  cursor: col-resize;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.resize-handle:hover,
body.resizing .resize-handle {
  background: var(--accent);
}

.filters section {
  margin-top: 18px;
}

.search span {
  display: block;
  margin-bottom: 8px;
}

.filter-heading,
.filters h2 {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.search input {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.16);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip,
.view-tabs button,
.ghost-button,
.card button,
.matrix-link,
.detail-actions a,
.detail-actions button {
  min-height: 34px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.chip,
.tag,
.sort-option,
.ghost-button,
.card-footer a,
.info-button,
.star-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.chip::after,
.tag::after,
.sort-option::after,
.ghost-button::after,
.card-footer a::after,
.info-button::after,
.star-button::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(100deg, rgba(124, 121, 255, 0), rgba(124, 121, 255, 0.62), rgba(255, 255, 255, 0.95), rgba(124, 121, 255, 0.38), rgba(124, 121, 255, 0));
  opacity: 0;
  pointer-events: none;
  transform: translateX(-42%);
}

.release-glow::after {
  animation: releaseGlow 1.5s ease-out forwards;
}

@keyframes releaseGlow {
  0% {
    opacity: 0;
    transform: translateX(-42%);
  }

  12% {
    opacity: 0.95;
  }

  28% {
    opacity: 0.62;
    transform: translateX(16%);
  }

  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

.filters .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 5px 4px 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.filters .chip.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.filters .chip.active .chip-count {
  color: #ffffff;
  background: transparent;
}

.filter-note {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.matrix-link {
  min-height: auto;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 750;
  text-align: left;
}

.chip.active,
.view-tabs button.active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.ghost-button {
  width: 100%;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.workspace {
  min-width: 0;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(124, 121, 255, 0.07), transparent 42%),
    var(--dark-card);
}

.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.map-panel,
.detail-panel,
.card,
.matrix-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-panel {
  min-width: 0;
  padding: 18px;
}

.map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.map-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.map-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.map-controls button {
  min-width: 34px;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--ink);
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.svg-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  cursor: grab;
  touch-action: none;
}

.svg-wrap:active {
  cursor: grabbing;
}

svg {
  display: block;
  width: 100%;
  height: auto;
}

.axis-label {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.grid-line {
  stroke: #dfe7ef;
  stroke-width: 1;
}

.agency-point {
  cursor: pointer;
  stroke: #ffffff;
  stroke-width: 1.6;
  transition: opacity 160ms ease, r 160ms ease;
}

.city-dot {
  cursor: pointer;
  fill: var(--red);
  stroke: #ffffff;
  stroke-width: 2;
  transition: opacity 140ms ease, r 140ms ease;
}

.city-dot.dimmed {
  opacity: 0.18;
}

.city-dot.selected {
  stroke: var(--ink);
  stroke-width: 3;
}

.city-label {
  fill: #39485b;
  font-size: 11px;
  font-weight: 750;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 4px;
}

.map-land {
  fill: #e8eef4;
  stroke: #d3dee8;
  stroke-width: 1.2;
}

.map-graticule {
  stroke: #dfe7ef;
  stroke-width: 0.8;
}

.map-hint {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.agency-point.dimmed {
  opacity: 0.18;
}

.agency-point.selected {
  stroke: var(--ink);
  stroke-width: 3;
}

.detail-panel {
  min-height: 560px;
  padding: 20px;
}

.empty-detail {
  color: var(--muted);
  line-height: 1.5;
}

.detail-panel h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.city-count {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.city-list {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.city-agency {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.city-agency h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.city-agency p {
  margin-bottom: 0;
  color: #445269;
  font-size: 12px;
  line-height: 1.4;
}

.city-agency .detail-actions a,
.city-agency .detail-actions button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 12px;
}

.domain {
  color: var(--blue);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.profile {
  color: #324154;
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.tag {
  appearance: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 5px 8px;
  color: #244054;
  background: #eaf2f8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag:hover,
.tag:focus {
  border-color: rgba(124, 121, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.13);
}

.tag.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.compact-meta {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.meta strong {
  display: block;
  color: var(--ink);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-actions a {
  text-decoration: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card h3 {
  margin-bottom: 0;
  font-size: 17px;
}

.card p {
  margin-bottom: 0;
  color: #324154;
  font-size: 13px;
  line-height: 1.45;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.confidence {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.confidence.high {
  color: #28551f;
  background: #e5f2df;
}

.confidence.medium {
  color: #735017;
  background: #f7ebcc;
}

.confidence.low {
  color: #7a2b26;
  background: #f5dedb;
}

.matrix-wrap {
  overflow: auto;
  max-height: calc(100vh - 170px);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #edf4fb;
  color: #203045;
}

td.mark {
  text-align: center;
  color: var(--blue);
  font-weight: 850;
}

.shortlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.shortlist-toolbar .ghost-button {
  width: auto;
  margin-top: 0;
}

.tooltip {
  position: fixed;
  z-index: 20;
  max-width: 300px;
  padding: 10px 12px;
  color: #ffffff;
  background: rgba(24, 33, 47, 0.94);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
}

.tooltip strong {
  display: block;
  margin-bottom: 3px;
}

/* Current two-column cards layout */
.app-shell {
  grid-template-columns: var(--filter-width) 8px minmax(0, 1fr);
}

.workspace {
  padding: 10px 18px 28px;
}

.cards-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.sort-option {
  min-height: 26px;
  padding: 4px 9px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.reset-option {
  color: #ffffff;
  background: rgba(124, 121, 255, 0.16);
  border-color: rgba(124, 121, 255, 0.5);
}

.sort-option.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.sort-option.placeholder {
  color: rgba(255, 255, 255, 0.38);
  cursor: not-allowed;
}

.sort-option:hover,
.sort-option:focus {
  border-color: rgba(124, 121, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.13);
}

.sort-option.placeholder:hover,
.sort-option.placeholder:focus {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.compact-action {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-flow: row;
}

.card {
  align-content: start;
  gap: 10px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(124, 121, 255, 0.12), transparent 46%),
    var(--dark-card);
  border-color: #2d2a34;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.card.expanded {
  grid-column: 1 / -1;
  min-height: min(78vh, 775px);
  padding: 22px;
  scroll-margin-top: 78px;
  background: #111016;
}

.card.expanded::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(17, 16, 22, 0.8) 0%, rgba(17, 16, 22, 0.4) 38%, rgba(17, 16, 22, 0.15) 72%, rgba(17, 16, 22, 0) 100%),
    linear-gradient(145deg, rgba(124, 121, 255, 0.2), transparent 44%);
  pointer-events: none;
}

.site-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 70% 20%, rgba(124, 121, 255, 0.22), transparent 32rem);
  overflow: hidden;
}

.site-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.68) contrast(0.85) brightness(0.72);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transform-origin: center;
  transition: opacity 680ms ease;
}

.site-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(0.9) brightness(0.7);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 420ms ease;
}

.site-preview.show-fallback iframe {
  opacity: 0;
}

.site-preview.show-live iframe {
  opacity: 0.5;
}

.site-preview.show-fallback img {
  opacity: 0.58;
}

.card:hover,
.card:focus-within {
  border-color: rgba(124, 121, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(124, 121, 255, 0.35), 0 0 24px rgba(124, 121, 255, 0.18);
  transform: translateY(-1px);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.city-line {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}

.star-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

.star-button.active {
  color: var(--accent);
  background: rgba(124, 121, 255, 0.16);
  border-color: rgba(124, 121, 255, 0.62);
}

.card-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.card .info-button {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 26px;
  padding: 4px 9px;
  color: #ffffff;
  background: rgba(124, 121, 255, 0.14);
  border: 1px solid rgba(124, 121, 255, 0.45);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.card .info-button:hover,
.card .info-button:focus,
.card .info-button.active {
  color: #ffffff;
  border-color: rgba(124, 121, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.13);
}

.card-footer a:hover,
.card-footer a:focus {
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.18);
}

.card h3 {
  color: #ffffff;
}

.card p {
  color: rgba(255, 255, 255, 0.76);
}

.card .preview-note {
  max-width: 55ch;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.card .domain {
  color: #bebcff;
}

.card .tag {
  width: auto;
  min-height: 0;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.15;
}

.card .tag:hover,
.card .tag:focus {
  color: #ffffff;
  border-color: rgba(124, 121, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.13);
}

.card .tag.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.cards-toolbar .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 5px 4px 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.cards-toolbar .chip.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.cards-toolbar .chip.active .chip-count {
  color: #ffffff;
}

@media (max-width: 980px) {
  .topbar,
  .meta-console,
  .app-shell {
    display: block;
  }

  .stats {
    min-width: 0;
    margin-top: 18px;
  }

  .filters {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .resize-handle {
    display: none;
  }

  .cards-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-action {
    width: 100%;
    margin-top: 14px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 22px 18px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .workspace {
    padding: 16px;
  }
}

/* Full dark card-like surface */
:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.16);
  --paper: #111016;
  --panel: #17161c;
  --shadow: 0 0 0 1px rgba(124, 121, 255, 0.12), 0 16px 40px rgba(0, 0, 0, 0.26);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 121, 255, 0.13), transparent 34rem),
    linear-gradient(145deg, #111016 0%, #17161c 48%, #111016 100%);
}

.meta-console,
.filters,
.workspace {
  background:
    linear-gradient(145deg, rgba(124, 121, 255, 0.08), transparent 42%),
    var(--dark-card);
}

.meta-console {
  color: var(--muted);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.meta-console strong,
.filter-heading,
.filters h2,
.meta strong {
  color: #ffffff;
}

.filters {
  border-right-color: rgba(255, 255, 255, 0.13);
}

.filters::-webkit-scrollbar {
  width: 8px;
}

.filters::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.filters::-webkit-scrollbar-thumb {
  background: rgba(124, 121, 255, 0.55);
  border-radius: 999px;
}

.resize-handle {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.search input,
.ghost-button,
.chip,
.filters .chip,
.cards-toolbar .chip {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.search input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 121, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.24);
}

.chip-count {
  color: #bebcff;
}

.filters .chip:hover,
.cards-toolbar .chip:hover,
.ghost-button:hover,
.filters .chip:focus,
.cards-toolbar .chip:focus,
.ghost-button:focus {
  border-color: rgba(124, 121, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(124, 121, 255, 0.13);
}

.filters .chip.active,
.cards-toolbar .chip.active,
.chip.active,
.view-tabs button.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.filters .chip.active .chip-count,
.cards-toolbar .chip.active .chip-count {
  color: #ffffff;
}

.ghost-button {
  color: rgba(255, 255, 255, 0.76);
}

.empty-detail {
  color: var(--muted);
}

.card {
  background:
    linear-gradient(145deg, rgba(124, 121, 255, 0.16), transparent 48%),
    #17161c;
}

@media (max-width: 980px) {
  .filters {
    border-bottom-color: rgba(255, 255, 255, 0.13);
  }
}
