.hg-tabs {
  display: flex;
  gap: 8px;
}
.hg-tab {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  transition: all 0.15s ease;
}
.hg-tab:hover { color: var(--text); border-color: var(--accent); }
.hg-tab.is-active {
  background: var(--accent-grad);
  color: white;
  border-color: transparent;
}

.dropzone {
  display: block;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 28px 18px;
  text-align: center;
  cursor: pointer;
  margin-top: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--accent); background: var(--bg-elev-2); }
.dropzone.is-dragover { border-color: var(--accent); background: rgba(124, 92, 255, 0.08); }
.dropzone-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dropzone-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(34, 211, 238, 0.15));
  color: #cdd3ff; border: 1px solid rgba(124, 92, 255, 0.3);
}
.dropzone-icon svg { width: 22px; height: 22px; }
.dropzone-text { color: var(--text); font-size: 14px; }
.dropzone-hint { color: var(--text-muted); font-size: 12px; margin-top: 4px; }

.hg-progress {
  margin-top: 12px;
}
.hg-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.hg-progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent-grad);
  transition: width 0.2s ease;
}
.hg-progress-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.hg-list {
  display: grid;
  gap: 8px;
}
.hg-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.hg-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 13px;
}
.hg-value {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
  width: 100%;
}
.hg-copy {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  border-radius: 8px;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hg-copy:hover { color: var(--text); border-color: var(--accent); }
