/* ============================================================
   CREO ECE Career OS — styles.css
   Dark-first glassmorphism with neon cyber accents
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  --cyan: #00f5c4;
  --cyan-dim: rgba(0,245,196,0.15);
  --cyan-glow: rgba(0,245,196,0.4);
  --purple: #a855f7;
  --purple-dim: rgba(168,85,247,0.15);
  --orange: #f97316;
  --red: #ef4444;
  --green: #22c55e;
  --yellow: #eab308;
  --blue: #3b82f6;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --header-h: 60px;
  --bnav-h: 68px;
  --sidebar-w: 260px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg: #0a0a0f;
  --bg-2: #0f0f18;
  --bg-3: #151520;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-active: rgba(0,245,196,0.4);
  --text-1: #f0f0f8;
  --text-2: #9090b0;
  --text-3: #606080;
  --glass-bg: rgba(15,15,30,0.7);
  --glass-border: rgba(255,255,255,0.07);
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --sidebar-bg: rgba(10,10,20,0.95);
  --header-bg: rgba(10,10,20,0.85);
  --input-bg: rgba(255,255,255,0.05);
  --input-border: rgba(255,255,255,0.1);
}

/* Light Theme */
[data-theme="light"] {
  --bg: #f0f2f8;
  --bg-2: #e8ecf4;
  --bg-3: #dde3ef;
  --surface: rgba(255,255,255,0.7);
  --surface-hover: rgba(255,255,255,0.9);
  --border: rgba(0,0,0,0.08);
  --border-active: rgba(0,180,140,0.5);
  --text-1: #0f1020;
  --text-2: #4a4a6a;
  --text-3: #8888aa;
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.8);
  --shadow: 0 8px 32px rgba(0,0,0,0.1);
  --sidebar-bg: rgba(240,242,250,0.95);
  --header-bg: rgba(240,242,250,0.9);
  --input-bg: rgba(255,255,255,0.8);
  --input-border: rgba(0,0,0,0.12);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
a { cursor: pointer; text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select, textarea {
  font-family: var(--font-body);
  color: var(--text-1);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  width: 100%;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
select option { background: var(--bg-2); color: var(--text-1); }
textarea { resize: vertical; min-height: 80px; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dim); }

/* ---- GLASS ---- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.5s, visibility 0.5s;
}

.splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  width: 100%;
  max-width: 320px;
  margin: auto;
}

.splash-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.splash-icon {
  font-size: clamp(2rem, 8vw, 3rem);
  animation: pulse-icon 1.5s ease-in-out infinite;
}

.splash-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.5rem);
  font-weight: 800;
  color: #f0f0f8;
  letter-spacing: -1px;
  line-height: 1.1;
}

.splash-wordmark span {
  color: var(--cyan);
}

.splash-tagline {
  color: var(--text-2);
  font-size: clamp(0.7rem, 3vw, 0.9rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0 10px;
}

.splash-loader {
  width: min(180px, 70vw);
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar {
  height: 100%;
  width: 40%;
  background: linear-gradient(
    90deg,
    var(--cyan),
    var(--purple)
  );
  border-radius: 99px;
  animation: loader-slide 1.5s ease-in-out infinite;
}

@keyframes loader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes pulse-icon {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Extra Small Phones */
@media (max-width: 480px) {
  .splash-inner {
    max-width: 280px;
  }

  .splash-wordmark {
    font-size: 1.8rem;
  }

  .splash-tagline {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .splash-loader {
    width: 140px;
  }
}
/* ============================================================
   AUTH SCREEN
   ============================================================ */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.auth-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orb-float 8s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: var(--cyan); top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: var(--purple); bottom: -5%; right: -5%; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: var(--blue); top: 50%; left: 50%; animation-delay: -6s; }
@keyframes orb-float { 0%,100%{transform:translate(0,0)} 33%{transform:translate(20px,-20px)} 66%{transform:translate(-15px,15px)} }

.auth-container { width: 100%; max-width: 440px; position: relative; z-index: 1; }
.auth-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.brand-icon { font-size: 2.5rem; display: block; margin-bottom: 6px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
}
.brand-name em { color: var(--cyan); font-style: normal; }
.brand-sub { color: var(--text-2); font-size: 0.85rem; margin-top: 4px; }

.auth-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow), 0 0 60px rgba(0,245,196,0.05);
  animation: card-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes card-in { from{opacity:0;transform:translateY(20px) scale(0.97)} to{opacity:1;transform:none} }
.auth-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.auth-sub { color: var(--text-2); font-size: 0.88rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.input-with-icon { position: relative; }
.input-with-icon input { padding-right: 2.8rem; }
.toggle-pass {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); padding: 4px; display: flex; align-items: center;
}
.toggle-pass:hover { color: var(--cyan); }
.toggle-pass svg { width: 16px; height: 16px; }

.btn-auth {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--cyan), #00c8a0);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px rgba(0,245,196,0.3);
}
.btn-auth:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,245,196,0.4); }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: 0.6; pointer-events: none; }
.btn-auth svg { width: 18px; height: 18px; }

.auth-links { display: flex; justify-content: space-between; margin-top: 1rem; }
.auth-links a { font-size: 0.85rem; color: var(--cyan); transition: opacity var(--transition); }
.auth-links a:hover { opacity: 0.8; }

.auth-error {
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  color: #ef4444;
  font-size: 0.85rem;
}
.auth-success {
  background: rgba(0,245,196,0.1);
  border-color: rgba(0,245,196,0.3);
  color: var(--cyan);
}

/* ============================================================
   APP LAYOUT
   ============================================================ */
.app { min-height: 100vh; display: flex; flex-direction: column; }

/* Header */
.app-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; gap: 12px;
  padding: 0 1rem;
  z-index: 100;
}
.menu-btn, .icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.menu-btn:hover, .icon-btn:hover { background: var(--surface-hover); color: var(--text-1); }
.menu-btn svg, .icon-btn svg { width: 20px; height: 20px; }

.header-brand {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.3px;
}
.brand-icon-sm { color: var(--cyan); margin-right: 4px; }
.header-brand em { color: var(--cyan); font-style: normal; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.avatar-btn { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid var(--cyan-dim); transition: border-color var(--transition); }
.avatar-btn:hover { border-color: var(--cyan); }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Sidebar */
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 198;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  animation: overlay-in 0.2s ease;
}
@keyframes overlay-in { from{opacity:0} to{opacity:1} }

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  padding: calc(var(--header-h) + 1rem) 0.75rem 1rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sidebar.open { transform: translateX(0); }

.sidebar-profile {
  display: flex; align-items: center; gap: 12px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
}
.sidebar-profile img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cyan-dim); }
.sidebar-name { font-weight: 700; font-size: 0.9rem; color: var(--text-1); }
.sidebar-role { font-size: 0.75rem; color: var(--cyan); }

.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); padding: 0 0.5rem; margin-bottom: 0.5rem; }

.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  margin-bottom: 2px;
  position: relative;
}
.sidebar-item:hover { background: var(--surface-hover); color: var(--text-1); }
.sidebar-item.active { background: var(--cyan-dim); color: var(--cyan); }
.sidebar-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-item span:first-of-type { flex: 1; }
.logout-item { color: var(--text-3); }
.logout-item:hover { background: rgba(239,68,68,0.1); color: var(--red); }

.badge-new {
  font-size: 0.65rem; font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #0a0a0f;
  padding: 2px 7px;
  border-radius: 99px;
}

/* Main Content */
.main-content {
  margin-top: var(--header-h);
  padding: 1.25rem 1rem calc(var(--bnav-h) + 1.5rem);
  min-height: calc(100vh - var(--header-h));
}

/* Page sections */
.page { animation: page-in 0.35s cubic-bezier(0.4,0,0.2,1); }
.page.hidden { display: none; }
@keyframes page-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.25rem; gap: 1rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.2;
}
.page-sub { color: var(--text-2); font-size: 0.85rem; margin-top: 3px; }

/* Bottom Nav */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bnav-h);
  background: var(--header-bg);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center;
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom);
}
.bnav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  height: 100%;
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 600;
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.bnav-item:hover { color: var(--text-2); }
.bnav-item.active { color: var(--cyan); }
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item.ai-fab {
  position: relative;
  color: var(--text-1);
}
.bnav-item.ai-fab svg {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #0a0a0f;
  border-radius: 14px;
  padding: 6px;
  width: 40px; height: 40px;
  margin-top: -10px;
  box-shadow: 0 4px 20px rgba(0,245,196,0.4);
}
.bnav-item.ai-fab.active svg { box-shadow: 0 6px 28px rgba(0,245,196,0.6); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0.6rem 1.1rem;
  background: linear-gradient(135deg, var(--cyan), #00c8a0);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 16px rgba(0,245,196,0.25);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,245,196,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.sm { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
.btn-primary svg { width: 15px; height: 15px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0.6rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.btn-secondary:hover { background: var(--surface-hover); }

.btn-danger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0.6rem 1.1rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.btn-danger:hover { background: rgba(239,68,68,0.2); }

.btn-sm {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0.4rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.btn-sm:hover { background: var(--surface-hover); color: var(--text-1); }
.btn-sm svg { width: 14px; height: 14px; }
.full-width { width: 100%; justify-content: center; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.dash-card {
  padding: 1rem;
  min-height: 120px;
}
.dash-card.span-2 { grid-column: 1 / -1; }

.dash-card-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 0.9rem;
}
.card-icon { font-size: 1.1rem; }
.card-title { font-weight: 700; font-size: 0.88rem; flex: 1; color: var(--text-1); }
.card-action { font-size: 0.75rem; color: var(--cyan); font-weight: 600; }

.stats-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.stat-item { flex: 1; text-align: center; min-width: 60px; }
.stat-val { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--cyan); line-height: 1; }
.stat-lbl { font-size: 0.7rem; color: var(--text-3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Habit mini */
.habit-mini-list { display: flex; flex-direction: column; gap: 6px; }
.habit-mini-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}
.habit-mini-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.habit-mini-check.done { background: var(--green); border-color: var(--green); color: white; }
.habit-mini-name { flex: 1; }
.habit-mini-streak { font-size: 0.75rem; color: var(--orange); font-weight: 600; }

/* Pomodoro mini */
.pomo-mini { text-align: center; padding: 0.5rem 0; }
.pomo-mini-time { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--text-1); line-height: 1; }
.pomo-mini-btns { display: flex; justify-content: center; gap: 10px; margin: 10px 0 6px; }
.pomo-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.pomo-btn.start { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--cyan-glow); }
.pomo-btn.start:hover { background: var(--cyan); color: #0a0a0f; }
.pomo-btn.reset { background: var(--surface); color: var(--text-2); }
.pomo-btn svg { width: 16px; height: 16px; }
.pomo-count { font-size: 0.75rem; color: var(--text-3); }

/* AI Suggestions */
.ai-suggestions-list { display: flex; flex-direction: column; gap: 8px; }
.ai-suggestion-item {
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-2);
}
.ai-suggestion-loading {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-3); font-size: 0.85rem;
}

.typing-dots { display: flex; gap: 4px; }
.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: dot-blink 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-blink { 0%,80%,100%{opacity:0.3;transform:scale(0.8)} 40%{opacity:1;transform:scale(1)} }

/* Notes / Exams mini */
.notes-mini-list, .exam-mini-list, .skill-mini-list { display: flex; flex-direction: column; gap: 5px; }
.note-mini-item, .exam-mini-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}
.note-type-badge { padding: 2px 6px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; background: var(--purple-dim); color: var(--purple); }
.exam-date { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--orange); }
.skill-mini-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.skill-mini-bar { flex: 1; height: 4px; background: var(--surface); border-radius: 99px; overflow: hidden; }
.skill-mini-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple)); border-radius: 99px; transition: width 0.6s ease; }
.empty-state-sm { font-size: 0.82rem; color: var(--text-3); padding: 0.5rem 0; }
.pomo-card { min-height: auto; }

/* ============================================================
   SEMESTER TRACKER
   ============================================================ */
.info-banner {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.banner-stats { display: flex; gap: 1.5rem; justify-content: space-around; flex-wrap: wrap; }
.b-stat { text-align: center; }
.b-stat span { display: block; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--cyan); }
.b-stat label { font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }

.subjects-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
.subject-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(12px);
}
.subject-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.75rem; }
.subject-name { font-weight: 700; font-size: 0.95rem; color: var(--text-1); }
.subject-code { font-size: 0.75rem; color: var(--text-3); font-family: var(--font-mono); }
.subject-credits { font-size: 0.75rem; color: var(--purple); font-weight: 600; background: var(--purple-dim); padding: 3px 8px; border-radius: 99px; }
.subject-card-actions { display: flex; gap: 6px; }
.subject-card-actions button { padding: 5px; color: var(--text-3); border-radius: 6px; transition: all var(--transition); }
.subject-card-actions button:hover { background: var(--surface); color: var(--text-1); }
.subject-card-actions svg { width: 15px; height: 15px; }

.subject-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.subj-stat { text-align: center; padding: 8px 6px; background: var(--surface); border-radius: var(--radius-sm); }
.subj-stat .val { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--text-1); }
.subj-stat .lbl { font-size: 0.68rem; color: var(--text-3); margin-top: 2px; }
.attendance-bar { margin-top: 0.75rem; }
.att-bar-label { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-2); margin-bottom: 4px; }
.att-bar-track { height: 6px; background: var(--surface); border-radius: 99px; overflow: hidden; }
.att-bar-fill { height: 100%; border-radius: 99px; transition: width 0.6s ease; }
.att-ok { background: linear-gradient(90deg, var(--green), #16a34a); }
.att-warn { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.att-bad { background: linear-gradient(90deg, var(--red), #dc2626); }

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-2);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-1); }
.empty-state p { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ============================================================
   PRODUCTIVITY
   ============================================================ */
.productivity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.prod-card { padding: 1.25rem; }
.prod-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.prod-card-title svg { width: 18px; height: 18px; color: var(--cyan); }
.prod-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.prod-card-header .prod-card-title { margin-bottom: 0; }

/* Pomodoro Full */
.pomo-modes { display: flex; gap: 6px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.pomo-mode {
  flex: 1; min-width: 0;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
}
.pomo-mode.active, .pomo-mode:hover { background: var(--cyan-dim); color: var(--cyan); border-color: var(--cyan-glow); }

.pomo-timer-display {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.25rem;
}
.pomo-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.pomo-track { fill: none; stroke: var(--surface); stroke-width: 8; }
.pomo-progress {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 553;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.3s;
  filter: drop-shadow(0 0 6px var(--cyan-glow));
}
.pomo-time-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pomo-time { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--text-1); line-height: 1; }
.pomo-label { font-size: 0.75rem; color: var(--text-3); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.pomo-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 1rem; }
.pomo-ctrl-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pomo-ctrl-btn:hover { background: var(--surface-hover); color: var(--text-1); }
.pomo-ctrl-btn.primary { background: var(--cyan); color: #0a0a0f; width: 60px; height: 60px; box-shadow: 0 4px 20px var(--cyan-glow); }
.pomo-ctrl-btn.primary:hover { transform: scale(1.05); }
.pomo-ctrl-btn svg { width: 20px; height: 20px; }
.pomo-ctrl-btn.primary svg { width: 24px; height: 24px; }

.pomo-session-log {
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: 0.82rem; color: var(--text-3);
}
.pomo-session-log strong { color: var(--text-1); }

/* Habits */
.habits-container { display: flex; flex-direction: column; gap: 8px; }
.habit-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: background var(--transition);
}
.habit-item:hover { background: var(--surface-hover); }
.habit-icon { font-size: 1.3rem; width: 32px; text-align: center; }
.habit-info { flex: 1; }
.habit-name { font-weight: 600; font-size: 0.9rem; color: var(--text-1); }
.habit-streak { font-size: 0.75rem; color: var(--orange); }
.habit-check-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: all var(--transition);
  font-size: 14px;
}
.habit-check-btn.done { background: var(--green); border-color: var(--green); color: white; }
.habit-delete-btn { color: var(--text-3); padding: 4px; border-radius: 4px; }
.habit-delete-btn:hover { color: var(--red); }
.habit-delete-btn svg { width: 14px; height: 14px; }

/* Study sessions */
.study-sessions-list { display: flex; flex-direction: column; gap: 6px; max-height: 250px; overflow-y: auto; }
.study-session-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}
.session-subject { flex: 1; font-weight: 600; color: var(--text-1); }
.session-duration { font-family: var(--font-mono); color: var(--cyan); font-size: 0.85rem; }
.session-date { color: var(--text-3); font-size: 0.75rem; }

/* ============================================================
   AI ASSISTANT
   ============================================================ */
.ai-layout {
  position: relative;
  height: calc(100dvh - var(--header-h) - var(--bnav-h) - 7.25rem);
  min-height: 420px;
}
.ai-chat-container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.ai-chat-topbar {
  min-height: 64px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}
.ai-chat-topbar h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.ai-chat-topbar span { color: var(--text-3); font-size: 0.76rem; }
.ai-menu-toggle {
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: var(--radius-md);
  background: var(--cyan-dim);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.78rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.ai-menu-toggle:hover { border-color: var(--cyan-glow); box-shadow: 0 8px 24px rgba(0,245,196,0.12); }
.ai-menu-toggle svg { width: 17px; height: 17px; }
.ai-chat-menu-backdrop {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.ai-chat-container.menu-open .ai-chat-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.ai-chat-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: min(86vw, 360px);
  padding: 1rem;
  background: var(--glass-bg);
  border-right: 1px solid var(--glass-border);
  box-shadow: 18px 0 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.ai-chat-container.menu-open .ai-chat-menu { transform: translateX(0); }
.ai-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.ai-menu-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}
.ai-menu-header p { color: var(--text-3); font-size: 0.75rem; margin-top: 2px; }
.ai-menu-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.ai-menu-close:hover { color: var(--text-1); background: var(--surface-hover); }
.ai-menu-close svg { width: 16px; height: 16px; }
.ai-menu-section {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.ai-menu-section h4,
.ai-history-header h4 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: var(--text-2);
}
.quick-prompt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.qp-btn {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 700;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}
.qp-btn:hover { background: var(--cyan-dim); color: var(--cyan); border-color: var(--cyan-glow); }
.qp-btn svg { width: 16px; height: 16px; }
.ai-model-select {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.ai-model-select label {
  font-size: 0.75rem;
  color: var(--text-3);
  white-space: nowrap;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ai-model-select select { padding: 8px 10px; font-size: 0.82rem; }
.ai-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ai-welcome-msg, .ai-msg { display: flex; gap: 10px; align-items: flex-start; }
.ai-msg.user { flex-direction: row-reverse; }
.ai-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--purple-dim); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.ai-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 90%;
  color: var(--text-1);
}
.ai-bubble p { margin-bottom: 0.5rem; }
.ai-bubble p:last-child { margin-bottom: 0; }
.ai-bubble ul { padding-left: 1.1rem; margin: 0.3rem 0; }
.ai-bubble li { margin-bottom: 4px; }
.ai-bubble strong { color: var(--cyan); }
.ai-bubble pre { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem; overflow-x: auto; font-family: var(--font-mono); font-size: 0.8rem; margin: 0.5rem 0; }
.ai-bubble code { font-family: var(--font-mono); background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: 0.82rem; color: var(--cyan); }
.ai-msg.user .ai-bubble { background: var(--cyan-dim); border-color: var(--cyan-glow); border-radius: 14px 14px 4px 14px; color: var(--text-1); }
.ai-msg-loading .ai-bubble { display: flex; align-items: center; gap: 8px; color: var(--text-3); }
.ai-chat-input-area {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.ai-input-wrapper { display: flex; gap: 8px; align-items: flex-end; }
.ai-input-wrapper textarea {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  resize: none;
  max-height: 120px;
  min-height: 42px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ai-send-btn {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: var(--cyan);
  color: #0a0a0f;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.ai-send-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px var(--cyan-glow); }
.ai-send-btn:disabled { opacity: 0.5; pointer-events: none; }
.ai-send-btn svg { width: 18px; height: 18px; }
.ai-disclaimer { font-size: 0.7rem; color: var(--text-3); margin-top: 5px; text-align: center; }
.ai-history-panel { margin-top: 0; padding-top: 0.85rem; }
.ai-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.6rem;
}
.ai-history-header h4 { margin-bottom: 0; }
.history-action-btn,
.history-delete-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.history-action-btn:hover { background: var(--cyan-dim); color: var(--cyan); }
.history-delete-btn:hover { background: rgba(239,68,68,0.12); color: var(--red); }
.history-action-btn svg,
.history-delete-btn svg { width: 15px; height: 15px; }
.ai-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: min(34vh, 260px);
  overflow-y: auto;
  padding-right: 2px;
}
.ai-history-item {
  display: flex;
  align-items: stretch;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  transition: border-color var(--transition), background var(--transition);
}
.ai-history-item.active {
  border-color: var(--cyan-glow);
  background: var(--cyan-dim);
}
.ai-history-open {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px;
  color: var(--text-1);
  text-align: left;
}
.ai-history-open span {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
}
.ai-history-open small { color: var(--text-3); font-size: 0.68rem; }
.ai-history-empty {
  color: var(--text-3);
  font-size: 0.78rem;
  padding: 0.6rem;
  text-align: center;
}
.ai-clear-history-btn {
  width: 100%;
  margin-top: 0.65rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition);
}
.ai-clear-history-btn:hover { background: rgba(239,68,68,0.12); }
.ai-clear-history-btn svg { width: 14px; height: 14px; }
.ai-message-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  max-width: 90%;
}
.ai-message-content .ai-bubble { max-width: 100%; }
.ai-message-actions {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(-2px);
  transition: all var(--transition);
}
.ai-msg.user:hover .ai-message-actions { opacity: 1; transform: none; }
.ai-message-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.68rem;
  font-weight: 700;
}
.ai-message-actions button:hover { color: var(--cyan); border-color: var(--cyan-glow); }
.ai-message-actions svg { width: 12px; height: 12px; }
.ai-send-btn.responding {
  background: var(--red);
  color: white;
}
.ai-send-btn.responding:hover { box-shadow: 0 4px 16px rgba(239,68,68,0.35); }

/* ============================================================
   NOTES SYSTEM
   ============================================================ */
.notes-search-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}
.notes-search-bar svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; }
.notes-search-bar input { border: none; background: none; padding: 0; flex: 1; font-size: 0.9rem; }
.notes-search-bar input:focus { box-shadow: none; }
.notes-search-bar select { width: auto; padding: 4px 8px; font-size: 0.8rem; }

.notes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.note-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.note-card:hover { transform: translateY(-2px); border-color: var(--border-active); }
.note-card-type-icon { font-size: 1.8rem; margin-bottom: 8px; }
.note-card-title { font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; color: var(--text-1); word-break: break-word; }
.note-card-subject { font-size: 0.75rem; color: var(--text-3); }
.note-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.note-tag { padding: 2px 7px; border-radius: 99px; font-size: 0.68rem; font-weight: 600; background: var(--purple-dim); color: var(--purple); }
.note-card-actions { display: flex; gap: 6px; margin-top: 10px; }
.note-card-actions a, .note-card-actions button { font-size: 0.75rem; color: var(--cyan); font-weight: 600; }

/* ============================================================
   CYBERSECURITY HUB
   ============================================================ */
.cyber-tabs, .placement-tabs {
  display: flex; gap: 6px; margin-bottom: 1rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cyber-tabs::-webkit-scrollbar, .placement-tabs::-webkit-scrollbar { display: none; }
.cyber-tab, .placement-tab {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  white-space: nowrap;
  transition: all var(--transition);
}
.cyber-tab.active, .cyber-tab:hover,
.placement-tab.active, .placement-tab:hover { background: var(--cyan-dim); color: var(--cyan); border-color: var(--cyan-glow); }
.cyber-tab-content, .placement-tab-content { animation: page-in 0.3s ease; }

/* Roadmap */
.roadmap-container { display: flex; flex-direction: column; gap: 1rem; }
.roadmap-phase { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(12px); }
.phase-header { padding: 0.85rem 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.phase-1 { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05)); color: var(--green); border-bottom: 1px solid rgba(34,197,94,0.15); }
.phase-2 { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05)); color: var(--blue); border-bottom: 1px solid rgba(59,130,246,0.15); }
.phase-3 { background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(168,85,247,0.05)); color: var(--purple); border-bottom: 1px solid rgba(168,85,247,0.15); }
.roadmap-items { padding: 0.75rem; display: flex; flex-direction: column; gap: 6px; }
.roadmap-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.roadmap-item:hover { background: var(--surface-hover); }
.roadmap-item.completed { opacity: 0.6; }
.ri-check { font-size: 1.1rem; flex-shrink: 0; cursor: pointer; transition: all var(--transition); user-select: none; }
.ri-content { flex: 1; }
.ri-content strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-1); }
.ri-content span { font-size: 0.76rem; color: var(--text-3); }
.ri-badge { font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--cyan-dim); color: var(--cyan); white-space: nowrap; }

/* Certifications */
.certs-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cert-path { padding: 1rem; flex: 1; min-width: 200px; }
.cert-path h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-2); }
.cert-path-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cert-node { padding: 5px 12px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.cert-node.beginner { background: rgba(34,197,94,0.15); color: var(--green); }
.cert-node.intermediate { background: rgba(59,130,246,0.15); color: var(--blue); }
.cert-node.advanced { background: rgba(168,85,247,0.15); color: var(--purple); }
.cert-node.expert { background: rgba(249,115,22,0.15); color: var(--orange); }
.cert-path-flow svg { width: 14px; height: 14px; color: var(--text-3); }
.certs-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.cert-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}
.cert-status { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cert-status.completed { background: var(--green); box-shadow: 0 0 8px var(--green); }
.cert-status.in-progress { background: var(--yellow); }
.cert-status.planned { background: var(--text-3); }
.cert-info { flex: 1; }
.cert-name { font-weight: 700; font-size: 0.9rem; color: var(--text-1); }
.cert-provider { font-size: 0.75rem; color: var(--text-3); }
.cert-category { font-size: 0.7rem; color: var(--purple); background: var(--purple-dim); padding: 2px 7px; border-radius: 99px; font-weight: 600; }

/* CTF */
.ctf-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.ctf-platforms { padding: 1rem; flex: 1; min-width: 200px; }
.ctf-platforms h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-2); }
.platform-links { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-chip { padding: 5px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 600; background: var(--cyan-dim); color: var(--cyan); transition: all var(--transition); border: 1px solid var(--cyan-glow); }
.platform-chip:hover { background: var(--cyan); color: #0a0a0f; }
.ctf-stats { display: flex; justify-content: space-around; padding: 1rem; margin-bottom: 1rem; flex-wrap: wrap; gap: 1rem; }
.ctf-stat { text-align: center; }
.ctf-stat span { display: block; font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--cyan); }
.ctf-stat label { font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; }
.ctf-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.ctf-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}
.ctf-solved-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.ctf-unsolved-dot { background: var(--text-3); }
.ctf-info { flex: 1; }
.ctf-name { font-weight: 700; font-size: 0.9rem; }
.ctf-meta { font-size: 0.75rem; color: var(--text-3); }
.ctf-points { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--yellow); }

/* Skills */
.skills-container { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.skills-radar-wrap { padding: 1.25rem; }
.skills-radar-wrap h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.skills-bars { padding: 1.25rem; }
.skills-list-inner { display: flex; flex-direction: column; gap: 10px; }
.skill-bar-item {}
.skill-bar-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
.skill-bar-name { font-size: 0.85rem; font-weight: 600; color: var(--text-1); }
.skill-bar-val { font-family: var(--font-mono); font-size: 0.82rem; color: var(--cyan); }
.skill-bar-track { height: 7px; background: var(--surface); border-radius: 99px; overflow: hidden; }
.skill-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--purple)); transition: width 0.8s cubic-bezier(0.4,0,0.2,1); }

/* ============================================================
   PLACEMENT HUB
   ============================================================ */
.resume-builder { padding: 1.25rem; }
.resume-header-section { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
.resume-header-section h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.resume-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.resume-section-block h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.resume-preview {
  padding: 1.5rem;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.resume-preview-placeholder { text-align: center; color: var(--text-3); }
.resume-preview-placeholder svg { width: 48px; height: 48px; margin: 0 auto 0.75rem; }
.resume-actual { width: 100%; font-size: 0.85rem; line-height: 1.6; }
.resume-actual h2 { font-size: 1.3rem; color: var(--cyan); margin-bottom: 3px; }
.resume-actual .res-contact { font-size: 0.78rem; color: var(--text-3); margin-bottom: 1rem; }
.resume-actual h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-2); margin: 0.75rem 0 0.4rem; padding-bottom: 4px; border-bottom: 1px solid var(--border); }

.tab-action-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tab-action-header h3 { font-family: var(--font-display); font-weight: 700; }
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(12px);
}
.project-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.project-title { font-weight: 700; font-size: 0.95rem; }
.project-status { padding: 3px 10px; border-radius: 99px; font-size: 0.7rem; font-weight: 700; }
.status-completed { background: rgba(34,197,94,0.15); color: var(--green); }
.status-in-progress { background: rgba(59,130,246,0.15); color: var(--blue); }
.status-planned { background: rgba(255,255,255,0.07); color: var(--text-3); }
.project-desc { font-size: 0.83rem; color: var(--text-2); margin-bottom: 10px; line-height: 1.5; }
.project-tech { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.tech-tag { padding: 3px 9px; border-radius: 99px; font-size: 0.72rem; font-weight: 600; background: var(--cyan-dim); color: var(--cyan); }
.project-links { display: flex; gap: 10px; }
.project-links a { font-size: 0.8rem; color: var(--cyan); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.project-links a svg { width: 13px; height: 13px; }

.internships-list { display: flex; flex-direction: column; gap: 0.75rem; }
.internship-card {
  display: flex; gap: 12px;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.internship-logo { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.internship-info { flex: 1; }
.internship-role { font-weight: 700; font-size: 0.9rem; }
.internship-company { font-size: 0.8rem; color: var(--text-2); }
.internship-meta { font-size: 0.75rem; color: var(--text-3); margin-top: 4px; }
.internship-status { padding: 3px 10px; border-radius: 99px; font-size: 0.7rem; font-weight: 700; align-self: flex-start; }

/* ============================================================
   ANALYTICS / STATS
   ============================================================ */
.analytics-mobile-picker {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}
.analytics-mobile-picker label {
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.analytics-mobile-picker select {
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
}
.analytics-grid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.analytics-card {
  display: none;
  padding: 0.75rem;
  min-width: 0;
  overflow: hidden;
}
.analytics-card.active { display: block; }
.analytics-card.span-2 { grid-column: auto; }
.analytics-card h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-2); margin-bottom: 0.55rem; }
.analytics-chart {
  position: relative;
  width: 100%;
  height: clamp(132px, 38vw, 168px);
  min-width: 0;
}
.analytics-chart-wide { height: clamp(138px, 40vw, 176px); }
.analytics-chart canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
}

/* ============================================================
   PROFILE
   ============================================================ */
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.profile-avatar-card { padding: 1.5rem; text-align: center; }
.profile-avatar-wrap { position: relative; display: inline-block; margin-bottom: 1rem; }
.profile-avatar-wrap img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cyan); }
.avatar-upload-btn {
  position: absolute; bottom: 0; right: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cyan);
  color: #0a0a0f;
  display: flex; align-items: center; justify-content: center;
}
.avatar-upload-btn svg { width: 14px; height: 14px; }
.profile-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.profile-email { font-size: 0.85rem; color: var(--text-3); margin-top: 3px; }
.profile-badges { display: flex; justify-content: center; gap: 8px; margin-top: 0.75rem; flex-wrap: wrap; }
.badge { padding: 4px 12px; border-radius: 99px; font-size: 0.75rem; font-weight: 700; }
.badge.cyber { background: var(--cyan-dim); color: var(--cyan); }
.badge.ai { background: var(--purple-dim); color: var(--purple); }

.profile-form { padding: 1.25rem; }
.profile-form h3, .profile-security h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.profile-security { padding: 1.25rem; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: overlay-in 0.2s ease;
}
@media (min-width: 600px) { .modal-overlay { align-items: center; } }
.modal {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.25rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  animation: modal-slide-up 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@media (min-width: 600px) { .modal { border-radius: var(--radius-xl); animation: card-in 0.3s ease; } }
@keyframes modal-slide-up { from{transform:translateY(100%)} to{transform:none} }

.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.modal-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--text-2); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.modal-close:hover { background: var(--surface-hover); color: var(--text-1); }
.modal-close svg { width: 16px; height: 16px; }
.modal-body { display: flex; flex-direction: column; gap: 0.75rem; }
.modal-footer { margin-top: 1.25rem; display: flex; gap: 8px; justify-content: flex-end; }

/* ============================================================
   TOASTS
   ============================================================ */
.toast-container { position: fixed; bottom: calc(var(--bnav-h) + 1rem); right: 1rem; z-index: 600; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 300px;
  backdrop-filter: blur(16px);
  animation: toast-in 0.3s cubic-bezier(0.34,1.56,0.64,1);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid;
}
@keyframes toast-in { from{opacity:0;transform:translateX(100%)} to{opacity:1;transform:none} }
@keyframes toast-out { to{opacity:0;transform:translateX(100%)} }
.toast.success { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: var(--green); }
.toast.error { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: var(--red); }
.toast.info { background: rgba(0,245,196,0.1); border-color: rgba(0,245,196,0.2); color: var(--cyan); }
.toast.warning { background: rgba(249,115,22,0.15); border-color: rgba(249,115,22,0.3); color: var(--orange); }

/* ============================================================
   RESPONSIVE — DESKTOP / TABLET
   ============================================================ */
@media (min-width: 768px) {
  .main-content { padding: 1.5rem 2rem calc(1.5rem); }
  .bottom-nav { display: none; }
  .main-content { padding-bottom: 1.5rem; }
  .menu-btn { display: none; }
  .sidebar {
    transform: none;
    position: fixed;
    width: var(--sidebar-w);
    box-shadow: none;
  }
  .sidebar-overlay { display: none !important; }
  .main-content { margin-left: var(--sidebar-w); }
  .app-header { left: var(--sidebar-w); }

  .dash-grid { grid-template-columns: repeat(3, 1fr); }
  .notes-grid { grid-template-columns: repeat(3, 1fr); }
  .productivity-grid { grid-template-columns: repeat(2, 1fr); }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .resume-form-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-layout { height: calc(100dvh - var(--header-h) - 5rem); min-height: 620px; }
  .skills-container { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 240px 1fr; }
  .analytics-mobile-picker { display: none; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .analytics-card, .analytics-card.active { display: block; }
  .analytics-card { padding: 1rem; }
  .analytics-card.span-2 { grid-column: 1 / -1; }
  .analytics-card h4 { font-size: 0.88rem; margin-bottom: 0.75rem; }
  .analytics-chart { height: 220px; }
  .analytics-chart-wide { height: 190px; }
}

@media (min-width: 1200px) {
  :root { --sidebar-w: 280px; }
  .dash-grid { grid-template-columns: repeat(4, 1fr); }
  .notes-grid { grid-template-columns: repeat(4, 1fr); }
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
  .analytics-grid { grid-template-columns: repeat(3, 1fr); }
  .analytics-chart { height: 240px; }
  .analytics-chart-wide { height: 200px; }
  .productivity-grid { grid-template-columns: repeat(3, 1fr); }
  .pomo-full { grid-column: 1; }
  .habits-full { grid-column: 2; }
}

/* ============================================================
   MICRO-INTERACTIONS & MISC
   ============================================================ */
.pulse { animation: pulse-soft 2s ease-in-out infinite; }
@keyframes pulse-soft { 0%,100%{box-shadow:0 0 0 0 var(--cyan-glow)} 50%{box-shadow:0 0 0 8px transparent} }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* Chart.js override */
canvas { display: block; }

/* Light mode specific overrides */
[data-theme="light"] .auth-bg .auth-orb { opacity: 0.12; }
[data-theme="light"] .ai-bubble { background: white; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .splash { background: #f0f2f8; }
[data-theme="light"] .splash-wordmark { color: #0f1020; }
[data-theme="light"] .auth-orb { opacity: 0.1; }

/* Selection */
::selection { background: var(--cyan-dim); color: var(--cyan); }

/* Notif panel */
.notif-panel {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  right: 8px;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 200;
  padding: 1rem;
  animation: card-in 0.2s ease;
}
.notif-item { padding: 10px; border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 6px; font-size: 0.84rem; }

.profile-footer{
    margin-top:20px;
    padding:24px;
    text-align:center;
    border-radius:20px;
}

.profile-footer h3{
    font-family:var(--font-display);
    margin-bottom:10px;
    color:var(--cyan);
}

.profile-footer p{
    color:var(--text-2);
    margin:4px 0;
    font-size:0.9rem;
}

.footer-links{
    margin-top:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.footer-links a{
    color:var(--cyan);
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    opacity:0.8;
}

.footer-tagline{
    margin-top:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:0.75rem;
    color:var(--text-3);
}

.splash-icon-img{
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand-logo{
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

.header-brand{
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-brand em{
    color: var(--cyan);
    font-style: normal;
}

.header-logo{
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
/* ============================================================
   ADMIN & NOTIFICATION CENTER
   ============================================================ */
.section-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-head-inline h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.mini-muted { color: var(--text-2); font-size: 0.82rem; line-height: 1.5; margin-bottom: 0.9rem; }
.btn-primary.sm, .btn-secondary.sm { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
.full-width { width: 100%; justify-content: center; }

.profile-notifications { padding: 1.25rem; }
.notification-list { display: flex; flex-direction: column; gap: 0.7rem; max-height: min(58vh, 520px); overflow: auto; }
.notification-list.compact { margin-top: 1rem; max-height: 260px; }
.notification-item {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.notification-item.unread { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan-dim) inset; }
.notification-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.notification-item p { color: var(--text-2); font-size: 0.82rem; line-height: 1.45; margin-bottom: 0.4rem; }
.notification-item small { color: var(--text-3); font-size: 0.72rem; }

.admin-alert {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: 0.85rem;
}
.admin-alert svg { flex: 0 0 auto; width: 18px; height: 18px; }
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.admin-stat-card { padding: 1rem; }
.admin-stat-card span { color: var(--text-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-stat-card strong { display: block; font-family: var(--font-display); font-size: 1.55rem; margin: 0.35rem 0; }
.admin-stat-card small { color: var(--text-3); font-size: 0.72rem; }
.admin-stat-card strong.ok { color: var(--green); }
.admin-stat-card strong.warn { color: var(--yellow); }
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.admin-panel { padding: 1.15rem; overflow: hidden; }
.admin-panel h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.85rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th, .admin-table td { padding: 0.8rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.82rem; }
.admin-table th { color: var(--text-2); text-transform: uppercase; letter-spacing: 0.45px; font-size: 0.72rem; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td small { color: var(--text-3); margin-top: 0.2rem; }
.role-pill { display: inline-flex; padding: 0.25rem 0.55rem; border-radius: 99px; background: var(--surface-hover); color: var(--text-2); font-size: 0.72rem; }
.role-pill.admin { background: var(--cyan-dim); color: var(--cyan); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); margin-right: 0.45rem; }
.status-dot.online { background: var(--green); box-shadow: 0 0 12px rgba(34,197,94,0.8); }
.table-actions { white-space: nowrap; }
.table-actions button { color: var(--text-2); padding: 0.35rem; border-radius: var(--radius-sm); }
.table-actions button:hover { color: var(--cyan); background: var(--surface-hover); }
.live-users-list, .activity-log, .usage-list { display: flex; flex-direction: column; gap: 0.65rem; }
.live-user, .activity-item, .usage-list div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.live-user { justify-content: flex-start; align-items: center; }
.live-user strong, .activity-item span, .usage-list span { font-size: 0.84rem; }
.live-user small, .activity-item small, .usage-list strong { display: block; color: var(--text-3); font-size: 0.72rem; margin-top: 0.2rem; }

@media (min-width: 900px) {
  .profile-notifications { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-panel.span-2 { grid-column: span 2; }
}
