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

/* ── TOKENS ── */
:root {
  --bg:           #04080f;
  --surface-1:    #080d18;
  --surface-2:    #0c1220;
  --surface-3:    #101828;
  --border:       rgba(255,255,255,0.06);
  --border-soft:  rgba(255,255,255,0.04);
  --gold:         #eaaa00;
  --gold-dim:     rgba(234,170,0,0.12);
  --gold-glow:    rgba(234,170,0,0.25);
  --navy:         #002b49;
  --green:        #10b981;
  --green-dim:    rgba(16,185,129,0.12);
  --red:          #f43f5e;
  --red-dim:      rgba(244,63,94,0.12);
  --blue:         #3b82f6;
  --blue-dim:     rgba(59,130,246,0.12);
  --text-1:       #f1f5f9;
  --text-2:       #94a3b8;
  --text-3:       #475569;
  --nav-h:        52px;
  --sidebar-w:    290px;
  --rp-w:         300px;
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body { height: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  font-size: 13px;
  overflow: hidden;
}

/* ── AMBIENT BACKGROUND ── */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0,43,73,0.55) 0%, transparent 70%);
  top: -200px; left: -150px;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(234,170,0,0.12) 0%, transparent 70%);
  bottom: -150px; right: -100px;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ── TOP NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(4,8,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 20px;
}

.nav-left { display: flex; align-items: center; gap: 14px; }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}

.nav-logo svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(234,170,0,0.4));
}

.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
  display: block;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.nav-sub {
  font-size: 9.5px;
  color: var(--gold);
  font-weight: 600;
  display: block;
  letter-spacing: 0.5px;
}

.nav-pill {
  font-size: 9px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: 0.5px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 20px;
}

.nav-stat { text-align: center; }
.ns-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1;
}
.ns-lbl {
  font-size: 9px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-divider {
  width: 1px; height: 22px;
  background: var(--border);
}

.nav-right {
  display: flex; align-items: center; gap: 7px;
}

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

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

.status-text {
  font-size: 10.5px;
  color: var(--text-2);
  font-weight: 500;
}

/* ── APP SHELL ── */
.app-shell {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  display: flex;
  z-index: 1;
  overflow: hidden;
}

/* ── LEFT SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface-1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-inner {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-inner::-webkit-scrollbar { width: 3px; }
.sidebar-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.search-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--text-3);
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px 10px 34px;
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  outline: none;
  transition: var(--transition);
}

.search-wrap input::placeholder { color: var(--text-3); }

.search-wrap input:focus {
  border-color: rgba(234,170,0,0.4);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(234,170,0,0.06);
}

.filter-row {
  display: flex; gap: 5px; flex-wrap: wrap;
}

.chip {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.chip:hover { color: var(--text-1); border-color: rgba(255,255,255,0.15); }

.chip.active {
  background: var(--gold-dim);
  border-color: rgba(234,170,0,0.35);
  color: var(--gold);
}

.sidebar-list-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-3);
  padding: 0 2px;
}

.faculty-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Faculty Card */
.faculty-card {
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.faculty-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: var(--transition);
  border-radius: 8px 0 0 8px;
}

.faculty-card:hover { border-color: rgba(255,255,255,0.1); transform: translateX(2px); }

.faculty-card.active {
  background: var(--gold-dim);
  border-color: rgba(234,170,0,0.3);
}

.faculty-card.active::before { background: var(--gold); }

.fc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.fc-name { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.fc-score {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.fc-dept { font-size: 10px; color: var(--text-2); margin: 2px 0 6px; }

.fc-bar-row { display: flex; align-items: center; gap: 6px; }
.fc-bar-track { flex: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.fc-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green), rgba(16,185,129,0.6)); border-radius: 2px; transition: width 0.8s ease; }
.fc-stars { font-size: 8.5px; color: var(--gold); letter-spacing: 0.5px; flex-shrink: 0; }

/* Sidebar Footer */
.sidebar-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 14px 16px;
}

.sf-inner { display: flex; flex-direction: column; gap: 5px; }
.sf-badge {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sf-note {
  font-size: 10px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── MAIN CONTENT ── */
.main {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.main::-webkit-scrollbar { width: 4px; }
.main::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Empty State */
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px 20px;
  animation: fadeUp 0.5s ease;
}

.es-gfx svg { width: 140px; height: auto; }

.empty-state h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
}

.empty-state p {
  font-size: 12.5px;
  color: var(--text-2);
  max-width: 340px;
  line-height: 1.65;
}

.es-features { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.es-feat { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.esf-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.esf-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.esf-dot.gold  { background: var(--gold);  box-shadow: 0 0 6px var(--gold); }
.esf-dot.blue  { background: var(--blue);  box-shadow: 0 0 6px var(--blue); }

/* Profile View */
.profile-view { display: flex; flex-direction: column; gap: 14px; animation: fadeUp 0.4s ease; }
.profile-view.hide { display: none; }

/* Prof Card */
.prof-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px 16px;
  backdrop-filter: blur(12px);
}

.prof-card-inner { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }

.prof-avatar-wrap { position: relative; flex-shrink: 0; }

.prof-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #003d6e);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.prof-status-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.prof-details { flex: 1; min-width: 0; }

.prof-dept-chip {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(234,170,0,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.prof-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-1);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 3px;
}

.prof-courses {
  font-size: 11px;
  color: var(--text-2);
}

.prof-score { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }

.score-circle {
  position: relative;
  width: 72px; height: 72px;
}

.score-circle svg { width: 100%; height: 100%; }

#scoreArc {
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(234,170,0,0.5));
}

.score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-val {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-1);
  line-height: 1;
}
.score-out {
  font-size: 9px;
  color: var(--text-3);
}

.star-row {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
}
.review-count {
  font-size: 9.5px;
  color: var(--text-3);
}

/* Sentiment Bars */
.sentiment-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.sb-item { display: flex; flex-direction: column; gap: 4px; }
.sb-labels { display: flex; justify-content: space-between; align-items: center; }
.sb-lbl { font-size: 10.5px; font-weight: 600; }
.sb-lbl.positive { color: var(--green); }
.sb-lbl.negative { color: var(--red); }
.sb-pct { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 800; }
.sb-pct.positive { color: var(--green); }
.sb-pct.negative { color: var(--red); }

.sb-track { height: 5px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.sb-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.sb-fill.positive { background: linear-gradient(90deg, var(--green), rgba(16,185,129,0.5)); box-shadow: 0 0 8px rgba(16,185,129,0.3); }
.sb-fill.negative { background: linear-gradient(90deg, var(--red), rgba(244,63,94,0.5)); box-shadow: 0 0 8px rgba(244,63,94,0.3); }

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
}

/* Panels */
.panel {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.ph-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ph-count {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(234,170,0,0.2);
  border-radius: 20px;
  padding: 1px 9px;
  margin-left: 8px;
}

.ph-right {
  display: flex; align-items: center; gap: 5px;
}

.ph-icon { font-size: 11px; }
.ph-note { font-size: 10px; color: var(--text-3); }

/* Reviews */
.reviews-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reviews-scroll::-webkit-scrollbar { width: 3px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.review-card {
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  animation: fadeUp 0.3s ease;
  transition: var(--transition);
}

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

.rc-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rc-stars { font-size: 11px; color: var(--gold); letter-spacing: 0.5px; }
.rc-type {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: auto;
}
.rc-type.pos { background: var(--green-dim); color: var(--green); border: 1px solid rgba(16,185,129,0.2); }
.rc-type.neg { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(244,63,94,0.2); }

.rc-text { font-size: 11.5px; color: var(--text-2); line-height: 1.6; }

/* Side Panels Column */
.side-panels { display: flex; flex-direction: column; gap: 14px; }

/* Tags */
.tags-panel .panel-header { padding-bottom: 10px; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 14px; }

.sentiment-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: default;
  transition: var(--transition);
}

.sentiment-tag.pos {
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.2);
}

.sentiment-tag.neg {
  color: var(--red);
  background: var(--red-dim);
  border: 1px solid rgba(244,63,94,0.2);
}

.sentiment-tag:hover { transform: translateY(-1px); filter: brightness(1.2); }

/* Form */
.form-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.field { display: flex; flex-direction: column; gap: 4px; }

.field label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.field-hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-3); }

.field select, .field textarea {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  outline: none;
  transition: var(--transition);
}

.field select:focus, .field textarea:focus, .id-body input:focus {
  border-color: rgba(234,170,0,0.4);
  box-shadow: 0 0 0 3px rgba(234,170,0,0.06);
}

.field textarea { height: 72px; resize: none; line-height: 1.5; }

/* Descriptor Grid */
.descriptor-grid { display: flex; flex-wrap: wrap; gap: 5px; }

.desc-btn {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--transition);
}

.desc-btn:hover { color: var(--text-1); border-color: rgba(255,255,255,0.15); }

.desc-btn.on {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 700;
}

/* ID Field */
.id-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface-3);
  border: 1px dashed rgba(234,170,0,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.id-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--gold-dim);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.id-icon svg { width: 16px; height: 16px; color: var(--gold); }

.id-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.id-body label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.id-body input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
  color: var(--text-1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.id-body input::placeholder { color: var(--text-3); }

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(234,170,0,0.2);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.submit-btn:hover::before { transform: translateX(100%); }
.submit-btn:hover { background: #d49f00; box-shadow: 0 0 24px rgba(234,170,0,0.35); transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }

.submit-btn svg { width: 15px; height: 15px; }

/* ── RIGHT PANEL ── */
.right-panel {
  width: var(--rp-w);
  flex-shrink: 0;
  background: var(--surface-1);
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.right-panel::-webkit-scrollbar { width: 3px; }
.right-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.rp-inner { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Architect Card */
.arch-card {
  background: linear-gradient(135deg, var(--navy), #001a30);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.arch-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(234,170,0,0.06);
}

.arch-header { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }

.arch-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(234,170,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
}

.arch-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.arch-role { font-size: 10px; color: rgba(255,255,255,0.5); }

.arch-bio { font-size: 10.5px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 10px; }

.arch-tags { display: flex; gap: 5px; }
.arch-tags span {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 2px 7px;
}

/* Console */
.console-card {
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.console-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.console-dots { display: flex; gap: 5px; }
.cd { width: 10px; height: 10px; border-radius: 50%; }
.cd.red    { background: #ff5f57; }
.cd.yellow { background: #febc2e; }
.cd.green  { background: #28c840; }

.console-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
}

.console-body {
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  line-height: 1.6;
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.console-body::-webkit-scrollbar { width: 2px; }
.console-body::-webkit-scrollbar-thumb { background: #333; }

.log { padding: 1px 0; }
.log.system  { color: #00ff41; }
.log.process { color: #00cfff; }
.log.hash    { color: #fbbf24; word-break: break-all; }
.log.error   { color: #f43f5e; }

/* Stats Card */
.stats-card {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.stats-title {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }

.stat-item {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 3px;
}

.stat-lbl { font-size: 8.5px; color: var(--text-3); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a1a0a;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(16,185,129,0.1);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; }

.toast-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.toast-text { font-size: 11.5px; color: var(--text-2); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
