body.demo-body {
  background: hsl(var(--background));
  font-family: var(--font-display);
}

.lab-mode-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  line-height: 1.5;
  font-family: var(--font-body);
}

.lab-mode-banner a {
  color: var(--brand-blue);
  font-weight: 600;
}

.lab-mode-demo {
  background: hsl(var(--warning) / 0.1);
  border: 1px solid hsl(var(--warning) / 0.35);
  color: hsl(var(--muted-foreground));
}

.lab-mode-app {
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.28);
  color: hsl(var(--muted-foreground));
}

.demo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.demo-showcase .demo-shot {
  margin-top: 0;
  width: 100%;
}

.demo-showcase {
  margin-bottom: 12px;
}

.method-tab.method-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

body.demo-body.ambient-bg {
  min-height: 100vh;
}

.demo-body .page-content {
  padding-top: var(--header-offset);
}

.app {
  padding: 20px;
  color: hsl(var(--foreground));
}

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

.title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.subtitle {
  color: hsl(var(--muted-foreground));
  margin-top: 5px;
  font-family: var(--font-body);
}

.help {
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.25);
  color: hsl(var(--muted-foreground));
  padding: 14px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-family: var(--font-body);
  min-width: 180px;
}

.main-layout {
  display: grid;
  grid-template-columns: 320px 1fr 330px;
  gap: 18px;
}

.panel {
  background: hsl(var(--card) / 0.8);
  border: 1px solid hsl(var(--border) / 0.6);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--panel-shadow);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.step {
  background: var(--brand-blue);
  color: var(--brand-black);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}

.upload-box {
  border: 2px dashed hsl(var(--primary) / 0.35);
  border-radius: var(--radius-xl);
  padding: 20px;
  text-align: center;
  color: hsl(var(--muted-foreground));
  position: relative;
}

.file-input {
  display: none;
}

.file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 40px);
  height: 48px;
  margin: 10px -20px 0;
  padding: 0 32px;
  box-sizing: border-box;
  background: var(--brand-blue);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(108, 174, 209, 0.2);
}

.file-btn:hover {
  background: var(--brand-blue-hover);
}

.file-card {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.25);
  align-items: center;
  gap: 10px;
  position: relative;
}

.file-name {
  font-weight: 700;
  color: var(--brand-blue-light);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 210px;
}

label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--muted-foreground));
  position: relative;
}

select,
input[type=number],
textarea.nube-excluir {
  position: relative;
}

textarea.nube-excluir {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
  margin-bottom: 8px;
}

textarea.nube-excluir::placeholder {
  color: hsl(var(--muted-foreground) / 0.75);
}

.td-excluir {
  width: 42px;
  text-align: center;
}

.btn-excluir-word {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.btn-excluir-word:hover {
  border-color: hsl(var(--danger) / 0.45);
  color: hsl(var(--danger));
  background: hsl(var(--danger) / 0.08);
}

button {
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.app .btn-primary,
.app .btn-success {
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  box-sizing: border-box;
  background: var(--brand-blue);
  color: var(--brand-black);
  box-shadow: 0 0 20px rgba(108, 174, 209, 0.2);
}

.app .btn-primary:hover,
.app .btn-success:hover {
  background: var(--brand-blue-hover);
}

.btn-light {
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.btn-light:hover {
  border-color: hsl(var(--primary) / 0.35);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.metric {
  background: hsl(var(--card) / 0.8);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  padding: 14px;
}

.metric-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-blue);
}

.chart {
  height: 650px;
  min-height: 650px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.panel-title-row .panel-title {
  margin-bottom: 0;
}

.panel-title-row .btn-pro,
.panel-title-row .lab-action-btn {
  width: auto;
  margin-top: 0;
}

.methods-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.methods-actions .lab-action-btn {
  width: 100%;
  margin-top: 0;
}

.pro-ai-compact {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--surface) / 0.4);
}

.pro-ai-compact__body {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.visual-empty {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

html.light .visual-empty {
  background: #ffffff;
  border: 1px dashed hsl(210, 16%, 88%);
}

html.dark .visual-empty {
  background: hsl(0, 0%, 9%);
  border: 1px dashed hsl(0, 0%, 20%);
}

html.light .chart {
  background: #ffffff;
}

html.dark .chart {
  background: hsl(0, 0%, 9%);
}

html.light .chart .main-svg .bg {
  fill: #ffffff !important;
}

html.dark .chart .main-svg .bg {
  fill: hsl(0, 0%, 9%) !important;
}

#wordCanvas {
  background: hsl(0, 0%, 9%);
  border-radius: var(--radius-lg);
  display: block;
  max-width: 100%;
}

html.light #wordCanvas {
  background: #ffffff;
}

.table-wrap {
  max-height: 350px;
  overflow: auto;
}

#tablaResultados {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 13px;
}

#tablaResultados th,
#tablaResultados td {
  border: 1px solid hsl(var(--border));
  padding: 8px 10px;
  text-align: left;
  color: hsl(var(--muted-foreground));
}

#tablaResultados th {
  background: hsl(var(--surface));
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}

.methods-panel {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 4px;
  position: relative;
}

.methods-hint {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  margin: 0 0 12px;
  line-height: 1.5;
}

.method-block {
  margin-bottom: 8px;
}

.method-block .method-tab {
  margin-bottom: 0;
}

.method-block.is-open .method-tab {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.method-tab {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  position: relative;
}

.method-tab.active {
  background: hsl(var(--primary) / 0.15);
  border-color: hsl(var(--primary) / 0.4);
  color: var(--brand-blue);
}

.method-tab.method-has-cache::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 2px hsl(var(--card));
}

.method-config {
  display: none;
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid hsl(var(--border));
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: hsl(var(--surface) / 0.5);
  position: relative;
}

.method-block.is-open .method-config {
  display: block;
}

.method-hint {
  margin-top: 0;
}

/* ── Pro premium (dorado + corona) ── */
.pro-crown {
  font-size: 10px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 3px 10px 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: #422006;
  background: linear-gradient(145deg, #fef3c7 0%, #fbbf24 42%, #d97706 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 2px 10px rgba(217, 119, 6, 0.35);
  flex-shrink: 0;
}

.pro-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.btn-pro-premium {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #422006;
  cursor: pointer;
  background: linear-gradient(145deg, #fef9c3 0%, #fcd34d 22%, #f59e0b 55%, #d97706 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 1px rgba(180, 83, 9, 0.28),
    0 6px 20px rgba(217, 119, 6, 0.38),
    0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-pro-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn-pro-premium:hover:not(:disabled):not(.btn-pro-premium--locked)::before {
  transform: translateX(120%);
}

.btn-pro-premium:hover:not(:disabled):not(.btn-pro-premium--locked) {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 1px rgba(180, 83, 9, 0.35),
    0 10px 28px rgba(217, 119, 6, 0.48),
    0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-pro-premium:active:not(:disabled):not(.btn-pro-premium--locked) {
  transform: translateY(0);
}

.btn-pro-premium--alt {
  background: linear-gradient(145deg, #fffbeb 0%, #fde68a 30%, #fbbf24 70%, #f59e0b 100%);
}

.btn-pro-premium--compact {
  width: auto;
  padding: 10px 16px;
  margin-top: 8px;
  font-size: 13px;
}

.btn-pro-premium--locked,
.btn-pro-premium:disabled {
  cursor: not-allowed;
  filter: saturate(0.92) brightness(0.97);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 0 0 1px rgba(180, 83, 9, 0.2),
    0 4px 14px rgba(217, 119, 6, 0.22);
}

.btn-pro-premium--locked::after,
.btn-pro-premium:disabled::after {
  content: "🔒";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 11px;
  opacity: 0.55;
}

.pro-btn__crown {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.pro-btn__label {
  flex: 1;
  text-align: center;
}

.pro-feature-panel {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(254, 243, 199, 0.35) 0%, rgba(251, 191, 36, 0.08) 50%, transparent 100%),
    hsl(var(--card) / 0.9);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.55),
    0 0 24px rgba(245, 158, 11, 0.15),
    var(--panel-shadow);
}

html.dark .pro-feature-panel {
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(217, 119, 6, 0.06) 50%, transparent 100%),
    hsl(var(--card) / 0.9);
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.4),
    0 0 28px rgba(245, 158, 11, 0.12),
    var(--panel-shadow);
}

.pro-feature-panel.is-locked {
  border-style: solid;
}

.pro-feature-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #92400e;
}

html.dark .pro-feature-panel__head {
  color: #fcd34d;
}

.pro-feature-panel__head strong {
  background: linear-gradient(90deg, #b45309, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark .pro-feature-panel__head strong {
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pro-feature-panel__body {
  font-size: 13px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
}

.pro-feature-panel__body p {
  margin: 0 0 8px;
}

.pro-feature-locked {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.pro-feature-teaser {
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: hsl(var(--surface));
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-style: italic;
}

.pro-feature-panel.is-locked .pro-feature-teaser {
  opacity: 0.55;
  filter: blur(0.4px);
}

.pro-feature-panel--action {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.pro-feature-panel--action:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.7),
    0 0 32px rgba(245, 158, 11, 0.22),
    var(--panel-shadow);
}

.pro-feature-panel--action:active:not(:disabled) {
  transform: translateY(0);
}

.pro-feature-panel--action:disabled {
  cursor: wait;
  opacity: 0.75;
}

.pro-feature-panel--action.is-locked {
  cursor: pointer;
}

.pro-feature-panel--action.is-locked::after {
  content: "🔒";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 13px;
  opacity: 0.5;
}

.btn-pro-ai-discusion.btn-pro {
  width: 100%;
  margin-top: 12px;
}

.btn-pro-ai-discusion:disabled,
.btn-pro-ai-discusion.is-locked {
  cursor: pointer;
  filter: saturate(0.9);
  opacity: 0.88;
}

.pro-ai-discusion {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: hsl(var(--surface));
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.pro-ai-discusion__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

html.dark .pro-ai-discusion__meta {
  color: #fcd34d;
}

.pro-ai-discusion__text {
  font-size: 14px;
  line-height: 1.65;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

.pro-ai-discusion__text p {
  margin: 0 0 12px;
}

.pro-ai-discusion__text p:last-child {
  margin-bottom: 0;
}

.pro-ai-discusion__loading {
  margin: 0;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

.pro-ai-modal {
  position: fixed;
  inset: 0;
  z-index: 20050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: auto;
}

.pro-ai-modal.is-open {
  display: flex;
}

.pro-ai-modal[hidden] {
  display: none !important;
}

body.pro-ai-modal-open {
  overflow: hidden;
}

.pro-ai-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.pro-ai-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 22px 22px 18px;
  border-radius: var(--radius-xl);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--panel-shadow);
}

.pro-ai-modal__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.pro-ai-modal__lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.pro-ai-modal__dialog label {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.pro-ai-modal__dialog textarea,
.pro-ai-modal__dialog input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 13px;
}

.pro-ai-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.pro-ai-modal__actions .btn-primary,
.pro-ai-modal__actions .btn-light {
  flex: 1;
  margin-top: 0;
  height: 44px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.info-box {
  background: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.2);
  padding: 12px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  line-height: 1.5;
  font-family: var(--font-body);
  margin-bottom: 8px;
  color: hsl(var(--muted-foreground));
  position: relative;
}

.info-box.estado-error {
  background: hsl(var(--danger) / 0.08);
  border-color: hsl(var(--danger) / 0.35);
  color: hsl(var(--danger));
}

#infoModelo,
#estadoBox {
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
}

.filter-card {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  padding: 10px;
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  position: relative;
}

.filter-card select {
  margin-bottom: 0;
  flex: 1;
}

.filter-card button {
  width: auto;
  margin-top: 0;
  padding: 10px 12px;
}

#tour-step-visual {
  display: flex;
  flex-direction: column;
}

.filter-summary-bar {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.16);
}

.filter-summary-label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
}

.filter-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.22);
  font-size: 11px;
  line-height: 1.3;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

.filter-summary-chip__field {
  font-weight: 600;
  color: hsl(var(--primary));
}

.filter-summary-chip__sep {
  opacity: 0.45;
  font-size: 10px;
}

.filter-summary-chip__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.filter-summary-meta {
  margin: 8px 0 0;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
}

@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .chart {
    height: 480px;
    min-height: 480px;
  }

  .methods-panel {
    max-height: none;
  }
}

@media (max-width: 600px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .header {
    flex-direction: column;
  }
}
