/**
 * GT BOGO Engine — Enterprise Admin Design System
 * Obsidian Command Center v3.10.1
 * Fonts: Inter (UI) + DM Mono (data/code)
 * Colors: GT Red #E10000 | Navy #070C1C | White #FFFFFF
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Mono:wght@300;400;500&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --gt-red:       #E10000;
  --gt-red-dim:   rgba(225,0,0,0.15);
  --gt-red-glow:  rgba(225,0,0,0.3);
  --gt-navy:      #070C1C;
  --gt-navy-mid:  #0D1526;
  --gt-navy-light:#111E35;
  --gt-white:     #FFFFFF;
  --gt-slate:     #94a3b8;
  --gt-muted:     #475569;
  --gt-border:    rgba(255,255,255,0.06);
  --gt-border-hi: rgba(255,255,255,0.12);
  --gt-glass:     rgba(255,255,255,0.03);
  --gt-glass-hi:  rgba(255,255,255,0.06);
  --gt-success:   #22c55e;
  --gt-warning:   #f59e0b;
  --gt-font:      'Inter', system-ui, -apple-system, sans-serif;
  --gt-mono:      'DM Mono', 'Courier New', monospace;
  --gt-radius:    12px;
  --gt-radius-lg: 20px;
  --gt-shadow:    0 4px 24px rgba(0,0,0,0.4);
  --gt-shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --gt-transition:all 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ────────────────────────────────────────── */
.gt-admin-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

.gt-admin-wrap {
  font-family: var(--gt-font);
  font-feature-settings: normal;
  background: var(--gt-navy);
  color: var(--gt-white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient background grid */
.gt-admin-wrap::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(225,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Top Banner ──────────────────────────────────────────── */
.gt-banner {
  background: linear-gradient(135deg, #E10000 0%, #8B0000 50%, #E10000 100%);
  background-size: 200% 200%;
  animation: gt-banner-shift 6s ease infinite;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.gt-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 100px,
    rgba(255,255,255,0.03) 100px,
    rgba(255,255,255,0.03) 101px
  );
  pointer-events: none;
}

@keyframes gt-banner-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gt-banner-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gt-banner-logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gt-mono);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.5px;
}

.gt-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.gt-banner-version {
  font-family: var(--gt-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.gt-banner-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.gt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gt-success);
  box-shadow: 0 0 8px var(--gt-success);
  animation: gt-pulse 2s ease infinite;
}

.gt-status-dot.inactive { background: var(--gt-red); box-shadow: 0 0 8px var(--gt-red); }
.gt-status-dot.warning  { background: var(--gt-warning); box-shadow: 0 0 8px var(--gt-warning); }

@keyframes gt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

/* ── Sidebar Navigation ──────────────────────────────────── */
.gt-layout {
  display: flex;
  min-height: calc(100vh - 64px);
  position: relative;
  z-index: 1;
}

.gt-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--gt-navy-mid);
  border-right: 1px solid var(--gt-border);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: calc(100vh - 64px);
  overflow-y: auto;
  scrollbar-width: none;
}

.gt-sidebar::-webkit-scrollbar { display: none; }

.gt-nav-section {
  padding: 0 12px;
  margin-bottom: 8px;
}

.gt-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gt-muted);
  padding: 0 12px 8px;
}

.gt-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gt-slate);
  text-decoration: none;
  transition: var(--gt-transition);
  position: relative;
  cursor: pointer;
}

.gt-nav-item:hover {
  color: var(--gt-white);
  background: var(--gt-glass-hi);
  transform: translateX(2px);
}

.gt-nav-item.active {
  color: var(--gt-white);
  background: var(--gt-red-dim);
  border: 1px solid rgba(225,0,0,0.2);
}

.gt-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--gt-red);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--gt-red);
}

.gt-nav-icon { font-size: 15px; opacity: 0.8; }
.gt-nav-item.active .gt-nav-icon { opacity: 1; }

.gt-nav-badge {
  margin-left: auto;
  font-family: var(--gt-mono);
  font-size: 10px;
  background: var(--gt-red-dim);
  color: var(--gt-red);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(225,0,0,0.2);
}

.gt-nav-badge.new {
  background: rgba(34,197,94,0.15);
  color: var(--gt-success);
  border-color: rgba(34,197,94,0.2);
}

/* ── Main Content ────────────────────────────────────────── */
.gt-main {
  flex: 1;
  padding: 32px;
  overflow-x: hidden;
}

/* ── Page Header ─────────────────────────────────────────── */
.gt-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  animation: gt-fade-up 0.4s ease both;
}

.gt-page-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--gt-white);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.gt-page-sub {
  font-size: 16px;
  color: var(--gt-slate);
  margin-top: 6px;
}

/* ── Cards ───────────────────────────────────────────────── */
.gt-card {
  background: var(--gt-navy-mid);
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius-lg);
  overflow: hidden;
  transition: var(--gt-transition);
  animation: gt-fade-up 0.4s ease both;
}

.gt-card:hover { border-color: var(--gt-border-hi); }

.gt-card-premium {
  background: linear-gradient(135deg, rgba(225,0,0,0.08) 0%, rgba(7,12,28,0.95) 100%);
  border-color: rgba(225,0,0,0.2);
}

.gt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gt-border);
}

.gt-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gt-white);
}

.gt-card-label {
  font-size: 12px;
  color: var(--gt-muted);
}

/* ── Metric Cards ────────────────────────────────────────── */
.gt-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.gt-metric-card {
  background: var(--gt-navy-mid);
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--gt-transition);
  animation: gt-fade-up 0.4s ease both;
}

.gt-metric-card:hover {
  border-color: var(--gt-border-hi);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow);
}

.gt-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gt-red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gt-metric-card:hover::before { opacity: 1; }

.gt-metric-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gt-muted);
  margin-bottom: 12px;
}

.gt-metric-value {
  font-family: var(--gt-mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--gt-white);
  line-height: 1;
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

.gt-metric-value.counting {
  color: var(--gt-red);
  text-shadow: 0 0 20px var(--gt-red-glow);
}

.gt-metric-delta {
  font-size: 14px;
  color: var(--gt-success);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gt-metric-delta.negative { color: var(--gt-red); }

.gt-metric-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 32px;
  opacity: 0.07;
}

/* ── Grid Layouts ────────────────────────────────────────── */
.gt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Buttons ─────────────────────────────────────────────── */
.gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--gt-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--gt-transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.gt-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.gt-btn:hover::after { background: rgba(255,255,255,0.05); }

.gt-btn:active { transform: scale(0.98); }

.gt-btn-primary {
  background: var(--gt-red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(225,0,0,0.3);
}

.gt-btn-primary:hover {
  background: #c50000;
  box-shadow: 0 4px 20px rgba(225,0,0,0.5);
  transform: translateY(-1px);
}

.gt-btn-secondary {
  background: var(--gt-glass);
  color: var(--gt-white);
  border: 1px solid var(--gt-border-hi);
}

.gt-btn-secondary:hover {
  background: var(--gt-glass-hi);
  border-color: rgba(255,255,255,0.2);
}

.gt-btn-ghost {
  background: transparent;
  color: var(--gt-slate);
  border: 1px solid var(--gt-border);
}

.gt-btn-ghost:hover { color: var(--gt-white); border-color: var(--gt-border-hi); }

.gt-btn-sm { padding: 6px 14px; font-size: 12px; border-radius: 6px; }
.gt-btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

.gt-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Button loading state */
.gt-btn.loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gt-spin 0.6s linear infinite;
  margin-right: 4px;
}

/* ── Badges ──────────────────────────────────────────────── */
.gt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.gt-badge-pro {
  background: var(--gt-red-dim);
  color: var(--gt-red);
  border: 1px solid rgba(225,0,0,0.25);
}

.gt-badge-active {
  background: rgba(34,197,94,0.15);
  color: var(--gt-success);
  border: 1px solid rgba(34,197,94,0.25);
}

.gt-badge-warn {
  background: rgba(245,158,11,0.15);
  color: var(--gt-warning);
  border: 1px solid rgba(245,158,11,0.25);
}

.gt-badge-new {
  background: linear-gradient(135deg, var(--gt-red), #ff4444);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(225,0,0,0.4);
  animation: gt-badge-pop 2s ease infinite;
}

@keyframes gt-badge-pop {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

/* ── Form Elements ───────────────────────────────────────── */
.gt-input, .gt-select, .gt-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gt-border-hi);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--gt-font);
  font-size: 14px;
  color: var(--gt-white);
  transition: var(--gt-transition);
  outline: none;
}

.gt-input:focus, .gt-select:focus, .gt-textarea:focus {
  border-color: var(--gt-red);
  box-shadow: 0 0 0 3px var(--gt-red-dim);
  background: rgba(255,255,255,0.06);
}

.gt-input::placeholder, .gt-textarea::placeholder {
  color: var(--gt-muted);
}

.gt-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gt-slate);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.gt-field { margin-bottom: 20px; }

/* Toggle switch */
.gt-toggle-wrap { display: flex; align-items: center; gap: 12px; }

.gt-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.gt-toggle input { display: none; }

.gt-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--gt-transition);
  border: 1px solid var(--gt-border-hi);
}

.gt-toggle-track::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--gt-slate);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: var(--gt-transition);
}

.gt-toggle input:checked + .gt-toggle-track {
  background: var(--gt-red-dim);
  border-color: rgba(225,0,0,0.3);
}

.gt-toggle input:checked + .gt-toggle-track::after {
  transform: translateX(20px);
  background: var(--gt-red);
  box-shadow: 0 0 8px var(--gt-red-glow);
}

/* ── Tables ──────────────────────────────────────────────── */
.gt-table {
  width: 100%;
  border-collapse: collapse;
}

.gt-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gt-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gt-border);
}

.gt-table tbody tr {
  border-bottom: 1px solid var(--gt-border);
  transition: background 0.15s;
}

.gt-table tbody tr:hover { background: var(--gt-glass); }

.gt-table tbody td {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--gt-slate);
}

.gt-table tbody td:first-child { color: var(--gt-white); }

/* ── Notices ─────────────────────────────────────────────── */
.gt-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--gt-radius);
  font-size: 15px;
  margin-bottom: 20px;
  animation: gt-fade-in 0.3s ease both;
}

.gt-notice-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--gt-success);
}

.gt-notice-error {
  background: var(--gt-red-dim);
  border: 1px solid rgba(225,0,0,0.25);
  color: #ff6b6b;
}

.gt-notice-warn {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--gt-warning);
}

.gt-notice-info {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #60a5fa;
}

/* ── Progress Bar ────────────────────────────────────────── */
.gt-progress-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.gt-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gt-red), #ff4444);
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px var(--gt-red-glow);
  animation: gt-shimmer 2s linear infinite;
  background-size: 200% 100%;
}

@keyframes gt-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Modal ───────────────────────────────────────────────── */
.gt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,12,28,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gt-fade-in 0.2s ease both;
}

.gt-modal {
  background: var(--gt-navy-light);
  border: 1px solid var(--gt-border-hi);
  border-radius: var(--gt-radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: gt-modal-in 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  box-shadow: var(--gt-shadow-lg);
}

.gt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--gt-border);
  border-radius: 6px;
  color: var(--gt-slate);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gt-transition);
}

.gt-modal-close:hover { background: var(--gt-red-dim); color: #fff; border-color: rgba(225,0,0,0.3); }

/* ── Code blocks ─────────────────────────────────────────── */
.gt-code {
  font-family: var(--gt-mono);
  font-size: 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--gt-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: #a5f3fc;
  overflow-x: auto;
}

/* ── Tabs ────────────────────────────────────────────────── */
.gt-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--gt-border);
  padding: 0 24px;
}

.gt-tab {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gt-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--gt-transition);
}

.gt-tab:hover { color: var(--gt-white); }

.gt-tab.active {
  color: var(--gt-white);
  border-bottom-color: var(--gt-red);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes gt-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes gt-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gt-modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes gt-spin {
  to { transform: rotate(360deg); }
}

@keyframes gt-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--gt-red-glow); }
  50%       { box-shadow: 0 0 40px rgba(225,0,0,0.4); }
}

/* Stagger children animations */
.gt-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.gt-stagger > *:nth-child(2) { animation-delay: 0.10s; }
.gt-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.gt-stagger > *:nth-child(4) { animation-delay: 0.20s; }
.gt-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.gt-stagger > *:nth-child(6) { animation-delay: 0.30s; }
.gt-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.gt-stagger > *:nth-child(8) { animation-delay: 0.40s; }

/* Fade-up for stagger children */
.gt-fade { opacity: 0; animation: gt-fade-up 0.4s ease forwards; }

/* ── Vault Grid (PRO Packs) ──────────────────────────────── */
.gt-vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
}

.gt-pack-card {
  background: var(--gt-glass);
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--gt-transition);
  position: relative;
  overflow: hidden;
}

.gt-pack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gt-red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gt-pack-card:hover {
  background: var(--gt-glass-hi);
  border-color: rgba(225,0,0,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(225,0,0,0.1);
}

.gt-pack-card:hover::before { opacity: 1; }

.gt-pack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gt-pack-icon { font-size: 28px; }

.gt-pack-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gt-white);
  margin-bottom: 8px;
}

.gt-pack-desc {
  font-size: 14px;
  color: var(--gt-muted);
  line-height: 1.6;
  flex: 1;
}

.gt-pack-actions { margin-top: 16px; }

/* ── PayPal wrap ─────────────────────────────────────────── */
.gt-paypal-wrap { min-height: 48px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .gt-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .gt-layout { flex-direction: column; }
  .gt-sidebar { width: 100%; height: auto; position: relative; }
  .gt-vault-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gt-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gt-main { padding: 16px; }
  .gt-vault-grid { grid-template-columns: 1fr; }
  .gt-grid-2, .gt-grid-3, .gt-grid-4 { grid-template-columns: 1fr; }
  .gt-metrics { grid-template-columns: 1fr 1fr; }
  .gt-page-title { font-size: 20px; }
}

/* ── Scrollbar ───────────────────────────────────────────── */
.gt-admin-wrap ::-webkit-scrollbar { width: 6px; height: 6px; }
.gt-admin-wrap ::-webkit-scrollbar-track { background: transparent; }
.gt-admin-wrap ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.gt-admin-wrap ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
