/* ──────────────────────────────────────────────
   IACR ePrint Explorer – Dark Monochrome / Terminal Academic
   ────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0c0f;
  --bg1:       #10131a;
  --bg2:       #161b24;
  --bg3:       #1e2530;
  --border:    #2a3040;
  --border2:   #3a4555;
  --text:      #c8d4e0;
  --text2:     #7a8fa8;
  --text3:     #4a5a6a;
  --accent:    #4fffb0;   /* terminal green */
  --accent2:   #00b8ff;   /* link blue */
  --accent3:   #ff6b6b;   /* warning red */
  --accent4:   #ffd166;   /* year gold */
  --mono:      'IBM Plex Mono', monospace;
  --sans:      'IBM Plex Sans', sans-serif;
  --radius:    4px;
  --transition: 150ms ease;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg1); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── HEADER ── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  user-select: none;
}
.logo-bracket { color: var(--accent); }
.logo-text { color: var(--text); margin: 0 2px; }
.logo-sub { color: var(--text2); font-weight: 400; font-size: 0.8rem; margin-left: 6px; }

.nav-tabs {
  display: flex;
  gap: 2px;
  flex: 1;
}

.nav-tab {
  background: none;
  border: none;
  color: var(--text2);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-transform: uppercase;
}

.nav-tab:hover { color: var(--text); background: var(--bg2); }
.nav-tab.active { color: var(--accent); background: var(--bg2); }

.stat-pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

/* ── VIEWS ── */
.view { display: none; }
.view.active { display: flex; min-height: calc(100vh - 56px); }

/* ── SIDEBAR ── */
.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg1);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  max-height: calc(100vh - 56px);
  position: sticky;
  top: 56px;
  align-self: flex-start;
}

.sidebar-section {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  font-weight: 500;
}

/* ── INPUTS ── */
input[type="text"],
input[type="number"],
select,
textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 7px 10px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

input:focus, select:focus { border-color: var(--accent); }
input::placeholder { color: var(--text3); }

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234a5a6a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.search-wrap {
  display: flex;
  gap: 6px;
}

.search-wrap input { flex: 1; }

.btn-icon {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: var(--mono);
  font-size: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }

.range-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.range-inputs input { flex: 1; }
.range-inputs span { color: var(--text3); font-size: 0.8rem; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: none;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 7px 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }

/* ── TAG FILTER LIST ── */
.tag-filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 280px;
  overflow-y: auto;
}

.tag-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}
.tag-filter-item:hover { background: var(--bg3); }
.tag-filter-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}
.tag-filter-item label {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.tag-count { color: var(--text3); }

/* ── CONTENT AREA ── */
.content {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  max-height: calc(100vh - 56px);
}

.content.full {
  max-width: 1400px;
  margin: 0 auto;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.results-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text3);
}

/* ── PAPER LIST ── */
.paper-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.paper-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.paper-card:hover {
  border-color: var(--border2);
  background: var(--bg2);
}

.paper-card:hover .paper-title { color: var(--accent2); }

.paper-eprint-id {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text3);
  margin-bottom: 4px;
}

.paper-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition);
}

.paper-authors {
  font-size: 0.82rem;
  color: var(--text2);
  margin-bottom: 8px;
  font-style: italic;
}

.paper-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.paper-year {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent4);
  border: 1px solid rgba(255,209,102,0.2);
  padding: 1px 7px;
  border-radius: 2px;
}

.tag-chip {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  background: rgba(79,255,176,0.08);
  border: 1px solid rgba(79,255,176,0.15);
  padding: 1px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition);
}
.tag-chip:hover { background: rgba(79,255,176,0.16); }

/* ── PAGINATION ── */
.pagination-top, .pagination-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 36px;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }
.page-btn:disabled { opacity: 0.3; cursor: default; }

/* ── LOADING ── */
.loading {
  text-align: center;
  padding: 60px 20px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text3);
  animation: pulse 1.5s infinite;
}

.loading-small {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text3);
  padding: 8px 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── MODAL ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.modal.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100vw);
  height: 100vh;
  background: var(--bg1);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 28px 28px 60px;
  animation: slideIn 220ms ease;
}

@keyframes slideIn {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { border-color: var(--accent3); color: var(--accent3); }

.modal-eprint-id {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
}

.modal-authors {
  font-size: 0.9rem;
  color: var(--text2);
  font-style: italic;
  margin-bottom: 16px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.modal-section-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 20px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.modal-abstract {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text2);
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent2);
  text-decoration: none;
  border: 1px solid rgba(0,184,255,0.2);
  padding: 5px 12px;
  border-radius: var(--radius);
  margin-top: 12px;
  transition: all var(--transition);
}
.modal-link:hover { background: rgba(0,184,255,0.08); border-color: var(--accent2); }

.modal-ref-list, .modal-cited-list, .modal-related-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.modal-ref-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color var(--transition);
}
.modal-ref-item:hover { border-color: var(--accent2); }
.ref-id { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); min-width: 70px; }
.ref-title { color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── TAGS VIEW ── */
.view-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  font-family: var(--mono);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.tag-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.tag-card:hover {
  border-color: var(--accent);
  background: var(--bg2);
}

.tag-card-name {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.tag-card-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text3);
}

.tag-bar {
  height: 3px;
  background: rgba(79,255,176,0.2);
  border-radius: 2px;
  margin-top: 10px;
}

.tag-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.8s ease;
}

/* ── GRAPH VIEW ── */
#view-graph {
  flex-direction: column;
  min-height: calc(100vh - 56px);
}

.graph-controls {
  background: var(--bg1);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.graph-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.graph-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.graph-input-row input { width: 180px; }
.graph-input-row select { width: 100px; }

.graph-legend {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text3);
  align-items: center;
}

.graph-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.graph-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text3);
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.2;
}

.graph-placeholder p {
  font-family: var(--mono);
  font-size: 0.85rem;
}

canvas#graph-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.graph-tooltip {
  position: absolute;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.8rem;
  max-width: 280px;
  pointer-events: none;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.graph-tooltip.hidden { display: none; }
.graph-tooltip strong { display: block; color: var(--text); font-size: 0.82rem; margin-bottom: 4px; }
.graph-tooltip em { color: var(--text2); font-size: 0.76rem; }

/* ── STATS VIEW ── */
#view-stats { display: none; }
#view-stats.active { display: block; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 24px;
}

.stat-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 12px;
}

.stat-big-number {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-sub { font-size: 0.82rem; color: var(--text2); }

/* Year chart */
.year-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 80px;
  margin-top: 12px;
}

.year-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.year-bar {
  width: 100%;
  background: rgba(79,255,176,0.3);
  border-radius: 2px 2px 0 0;
  transition: background var(--transition);
  cursor: default;
  min-height: 2px;
}

.year-bar:hover { background: var(--accent); }

.year-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--text3);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  overflow: hidden;
}

/* Top tags bar chart */
.top-tags-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.top-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-tag-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text2);
  width: 160px;
  min-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-tag-bar-wrap {
  flex: 1;
  background: var(--bg3);
  border-radius: 2px;
  height: 12px;
  overflow: hidden;
}

.top-tag-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.top-tag-count {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text3);
  min-width: 40px;
  text-align: right;
}

/* ── ERROR ── */
.error-msg {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent3);
  padding: 20px;
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius);
  background: rgba(255,107,107,0.05);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .modal-panel {
    width: 100vw;
  }
  .stats-grid { padding: 12px; }
}

/* ── BOOKMARKS ── */
.bookmark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  padding: 0 4px;
  margin-left: 4px;
  vertical-align: middle;
}
.bookmark-badge.hidden { display: none; }

.bookmark-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text3);
  padding: 2px 4px;
  border-radius: var(--radius);
  transition: color var(--transition), transform var(--transition);
  margin-left: auto;
  flex-shrink: 0;
}
.bookmark-btn:hover { color: var(--accent4); transform: scale(1.2); }
.bookmark-btn.bookmarked { color: var(--accent4); }

/* Put bookmark button in paper card footer */
.paper-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.paper-footer-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Bookmarks view layout */
#view-bookmarks { display: none; }
#view-bookmarks.active { display: block; }

.bookmarks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bookmarks-header .view-title { margin-bottom: 0; border-bottom: none; }

.btn-small {
  font-size: 0.72rem;
  padding: 5px 10px;
}

.bookmarks-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bm-sort-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.bm-sort-btn:hover { border-color: var(--border2); color: var(--text); }
.bm-sort-btn.active { background: var(--bg3); border-color: var(--accent); color: var(--accent); }

.bookmarks-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 20px;
  color: var(--text3);
}
.bookmarks-empty p { font-family: var(--mono); font-size: 0.85rem; }

/* Bookmark button in modal */
.modal-bookmark-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text2);
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 5px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: all var(--transition);
}
.modal-bookmark-btn:hover { border-color: var(--accent4); color: var(--accent4); }
.modal-bookmark-btn.bookmarked { border-color: var(--accent4); color: var(--accent4); background: rgba(255,209,102,0.06); }

/* ── LIGHT THEME ── */
body.light {
  --bg:        #f5f6f8;
  --bg1:       #ffffff;
  --bg2:       #eef0f4;
  --bg3:       #e4e7ed;
  --border:    #d0d6e0;
  --border2:   #b8c0cc;
  --text:      #1a2030;
  --text2:     #4a5568;
  --text3:     #8a97a8;
  --accent:    #0a7c4e;
  --accent2:   #0066cc;
  --accent3:   #cc2200;
  --accent4:   #8a6000;
}

body.light .tag-chip {
  color: var(--accent);
  background: rgba(10,124,78,0.08);
  border-color: rgba(10,124,78,0.2);
}
body.light .tag-chip:hover { background: rgba(10,124,78,0.16); }

body.light .paper-year {
  color: var(--accent4);
  border-color: rgba(138,96,0,0.25);
}

body.light .btn-primary {
  background: var(--accent);
  color: #fff;
}

body.light .nav-tab.active {
  color: var(--accent);
}

body.light .bookmark-btn.bookmarked { color: var(--accent4); }
body.light .modal-bookmark-btn.bookmarked {
  border-color: var(--accent4);
  color: var(--accent4);
  background: rgba(138,96,0,0.06);
}

body.light .tag-bar-fill { background: var(--accent); }
body.light .top-tag-bar { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
body.light .stat-big-number { color: var(--accent); }

body.light select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a97a8'/%3E%3C/svg%3E");
}

body.light .logo-bracket { color: var(--accent); }

/* Header meta buttons spacing */
.header-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

#import-session-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
