:root {
  --bg: #11111b;
  --panel: #1e1e2e;
  --panel2: #181825;
  --border: #313244;
  --text: #ffffff;
  --muted: #9399b2;
  --muted2: #6c7086;
  --accent: #a6adc8;
  --accent-hover: #cdd6f4;
  --accent2: #f9b87f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}
main {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
header {
  text-align: center;
  margin-bottom: 3rem;
}
header h1 {
  margin: 0 0 0.75rem;
  font-size: 2.25rem;
  font-weight: normal;
  color: var(--accent);
  letter-spacing: 0.02em;
}
header h1 span.subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 0.5rem;
}
.panel {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.panel h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: normal;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
select, input[type=file], button {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
}
button {
  cursor: pointer;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  border: none;
  transition: background-color 0.2s ease;
}
button:hover { background-color: var(--accent-hover); }
button:disabled { opacity: 0.5; cursor: default; }
.muted { color: var(--muted); font-size: 0.85rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
.lang-switcher {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.lang-switcher select {
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
}
.notice {
  margin-top: 0;
  max-height: 0;
  border: 1px solid var(--accent2);
  border-radius: 4px;
  color: var(--accent2);
  font-size: 0.85rem;
  overflow: hidden;
  opacity: 0;
  padding: 0 0.9rem;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease, padding 0.2s ease;
}
.notice.visible {
  margin-top: 0.75rem;
  max-height: 100px;
  opacity: 1;
  padding: 0.6rem 0.9rem;
}
.dataset-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dataset-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.dataset-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.dataset-item:first-child {
  padding-top: 0;
}
.dataset-item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.dataset-item .meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.dataset-item .authors {
  font-size: 0.78rem;
  color: var(--muted2);
  margin-top: 0.25rem;
}
