#explore-main {
  flex: 1;
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 2rem 3rem;
}

.page-intro { margin-bottom: 2rem; }
.page-intro h1 {
  font-size: 1.7rem;
  font-weight: normal;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ── Filter panel ── */
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 180px;
}
.filter-field-wide { flex: 1; min-width: 260px; }
.filter-field label {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.filter-hint { font-weight: normal; opacity: 0.8; }
.filter-hint code {
  background: var(--border);
  color: var(--text);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  font-size: 0.78rem;
}

.filter-field select,
.filter-field input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.6rem;
  border-radius: 5px;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
}
.filter-field select:focus,
.filter-field input:focus {
  outline: none;
  border-color: var(--gold-dim);
}

#btn-search {
  background: var(--gold);
  color: #0f0f14;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 5px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
}
#btn-search:hover { background: #e0bc62; }

/* ── Results ── */
.results-panel { min-height: 200px; }
#results-summary {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

#results-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
#results-table th {
  text-align: left;
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--bg);
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
}
#results-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: top;
}
#results-table tr:last-child td { border-bottom: none; }
#results-table tr:hover td { background: rgba(255,255,255,0.02); }

#results-table a {
  color: var(--accent);
  text-decoration: none;
}
#results-table a:hover { text-decoration: underline; }

.cell-tag {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--gold-dim);
  white-space: nowrap;
}
.cell-subtype {
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.cell-gloss {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--text);
}
