/* ── World Economy Dashboard ── */
.we-filter-bar {
  padding: 5px 8px 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 0;
}
.we-filter-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 4px;
  flex-shrink: 0;
}
.we-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  border-radius: 2px;
  border: 1px solid;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.1s, border-color 0.1s;
}
.we-chip-on {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(245, 166, 35, 0.08);
}
.we-chip-off {
  color: #444;
  border-color: #2a2a2a;
  background: transparent;
}
.we-chip-on:hover  { background: rgba(245, 166, 35, 0.18); }
.we-chip-off:hover { border-color: #555; color: #666; }
.we-chip-flag {
  width: 14px;
  vertical-align: middle;
}
.we-chip-off .we-chip-flag { opacity: 0.25; }

/* ── Drag handles (shared) ── */
.wl-drag-handle,
.we-drag-handle {
  cursor: grab;
  color: #444;
  font-size: 14px;
  padding: 0 4px;
  user-select: none;
  flex-shrink: 0;
  transition: color 0.1s;
}
.wl-data-row .wl-drag-handle { margin-left: 8px; padding-right: 0; margin-right: -4px; }
.wl-drag-handle:hover,
.we-drag-handle:hover { color: var(--accent); }
.wl-drag-handle:active,
.we-drag-handle:active { cursor: grabbing; }

.we-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
}
.we-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
.we-th {
  padding: 5px 10px;
  text-align: right;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  font-weight: normal;
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1;
}
.we-th:first-child { text-align: left; }
.we-td {
  padding: 4px 10px;
  text-align: right;
  border-bottom: 1px solid #1a1a1a;
  color: var(--text);
}
.we-country {
  text-align: left;
  color: var(--text);
  min-width: 130px;
}
.we-row:hover td { background: var(--hover); }
.we-flag {
  width: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

