.hc-btn {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--hc-brand), var(--hc-brand-2));
  color: #0c1513;
  font-weight: 800;
  transition: 0.2s;
}
.hc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(121, 243, 203, 0.18);
}
.hc-btn.is-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}
.hc-btn.is-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hc-line);
  color: var(--hc-text);
  box-shadow: none;
}
.hc-btn.is-danger {
  background: rgba(255, 120, 120, 0.1);
  border: 1px solid rgba(255, 120, 120, 0.25);
  color: #ff9d9d;
  box-shadow: none;
}
.hc-input,
.hc-select,
.hc-textarea {
  width: 100%;
  border: 1px solid var(--hc-line);
  border-radius: 12px;
  background: #0f1419;
  color: var(--hc-text);
  outline: none;
  transition: 0.2s;
}
.hc-input,
.hc-select {
  height: 46px;
  padding: 0 14px;
}
.hc-textarea {
  min-height: 110px;
  padding: 13px;
  resize: vertical;
}
.hc-input:focus,
.hc-select:focus,
.hc-textarea:focus {
  border-color: var(--hc-line-strong);
  box-shadow: 0 0 0 3px rgba(121, 243, 203, 0.06);
}
.hc-form-group {
  display: grid;
  gap: 8px;
}
.hc-form-group label {
  font-size: 12px;
  color: var(--hc-muted);
}
.hc-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hc-card {
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.016)
  );
  box-shadow: var(--hc-shadow);
}
.hc-table-wrap {
  overflow: auto;
  border: 1px solid var(--hc-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}
.hc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.hc-table th,
.hc-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hc-line);
  font-size: 12px;
}
.hc-table th {
  color: var(--hc-muted-2);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.018);
}
.hc-table td {
  color: #d6dde1;
}
.hc-table tr:last-child td {
  border-bottom: 0;
}
.hc-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--hc-muted);
}
.hc-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.hc-status.is-success {
  color: var(--hc-success);
  background: rgba(121, 243, 203, 0.08);
}
.hc-status.is-warning {
  color: var(--hc-warning);
  background: rgba(246, 197, 111, 0.08);
}
.hc-status.is-danger {
  color: var(--hc-danger);
  background: rgba(255, 120, 120, 0.08);
}
.hc-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--hc-muted-2);
  font-size: 13px;
}
.hc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hc-toolbar h1 {
  font-size: 26px;
}
.hc-toolbar p {
  margin-top: 6px;
  color: var(--hc-muted);
  font-size: 13px;
}
.hc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}
.hc-modal.is-open {
  display: flex;
}
.hc-modal-card {
  width: min(560px, 100%);
  padding: 25px;
  border: 1px solid var(--hc-line);
  border-radius: 20px;
  background: #151a20;
  box-shadow: var(--hc-shadow);
}
.hc-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.hc-modal-close {
  border: 0;
  background: transparent;
  color: var(--hc-muted);
  font-size: 22px;
}
.hc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.hc-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate(-50%, 18px);
  padding: 11px 16px;
  border: 1px solid var(--hc-line-strong);
  border-radius: 10px;
  background: #171d22;
  color: #e5ecef;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.hc-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hc-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #bcecdf;
}
.hc-help {
  font-size: 11px;
  color: var(--hc-muted-2);
  line-height: 1.7;
}
.hc-top-gap {
  margin-top: 18px;
}
.hc-top-gap-large {
  margin-top: 30px;
}
.hc-subtitle {
  font-size: 18px;
}
@media (max-width: 680px) {
  .hc-form-row {
    grid-template-columns: 1fr;
  }
  .hc-toolbar {
    align-items: flex-start;
  }
  .hc-toolbar h1 {
    font-size: 22px;
  }
}
