@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  /* Colors */
  --clr-bg:          #f5ede0;
  --clr-bg-alt:      #ede0d0;
  --clr-surface:     #fdfaf6;
  --clr-surface-2:   #f9f4ee;
  --clr-green:       #295741;
  --clr-green-dark:  #1a3b2b;
  --clr-green-light: #e4ede7;
  --clr-green-mid:   #3d7a59;
  --clr-gold:        #b8945a;
  --clr-text:        #1a1208;
  --clr-text-2:      #4a3f35;
  --clr-text-3:      #7a6e64;
  --clr-border:      #e0d4c5;
  --clr-border-2:    #d0c4b5;

  /* Status colors */
  --clr-success:     #295741;
  --clr-success-bg:  #e4ede7;
  --clr-warning:     #9c6d1e;
  --clr-warning-bg:  #fdf4e3;
  --clr-danger:      #8b2635;
  --clr-danger-bg:   #fce8eb;
  --clr-info:        #1e5f8b;
  --clr-info-bg:     #e3f0fc;
  --clr-gray-bg:     #f0e8df;

  /* Typography */
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(26,18,8,0.06);
  --shadow-md:  0 8px 24px rgba(26,18,8,0.08);
  --shadow-lg:  0 20px 50px rgba(26,18,8,0.10);
  --shadow-xl:  0 32px 80px rgba(26,18,8,0.12);
  --shadow-green: 0 8px 32px rgba(41,87,65,0.20);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(16px, 4vw, 48px);
  --navbar-h: 72px;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
}

h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; }
h4 { font-size: clamp(17px, 1.8vw, 22px); font-weight: 500; font-family: var(--font-body); }
h5 { font-size: 18px; font-weight: 600; font-family: var(--font-body); }
h6 { font-size: 15px; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; }

p { line-height: 1.7; }

.text-lg   { font-size: 18px; line-height: 1.7; }
.text-md   { font-size: 16px; }
.text-sm   { font-size: 14px; }
.text-xs   { font-size: 12px; }

.text-2    { color: var(--clr-text-2); }
.text-3    { color: var(--clr-text-3); }
.text-green { color: var(--clr-green); }
.text-gold  { color: var(--clr-gold); }

.italic    { font-style: italic; }
.fw-light  { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semi   { font-weight: 600; }
.fw-bold   { font-weight: 700; }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }

/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-sm {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-wrapper {
  padding-top: var(--navbar-h);
  min-height: 100vh;
}

.page-content {
  padding-block: var(--space-12) var(--space-20);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }

.flex        { display: flex; }
.flex-col    { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: 100;
  background: rgba(245, 237, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.navbar-logo {
  width: 36px;
  height: 36px;
  background: var(--clr-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.navbar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--clr-text);
}

.navbar-name span {
  color: var(--clr-green);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-2);
  transition: all var(--transition-fast);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--clr-text);
  background: var(--clr-border);
}

.navbar-nav a.active {
  background: var(--clr-green-light);
  color: var(--clr-green);
}

.navbar-nav svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

[data-admin-only] { display: none; }

.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--clr-border);
  transition: border-color var(--transition-fast);
  cursor: pointer;
}

.avatar-btn:hover {
  border-color: var(--clr-green);
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--clr-green);
  border: 2px solid var(--clr-border);
  color: white;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.avatar-placeholder:hover {
  border-color: var(--clr-green-dark);
}

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
  padding: var(--space-8);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-sm {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-border-2);
}

.card-green {
  background: var(--clr-green);
  border-color: var(--clr-green-dark);
  color: white;
}

.card-beige {
  background: var(--clr-bg-alt);
  border-color: var(--clr-border-2);
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--clr-green);
  color: white;
  border-color: var(--clr-green);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(--clr-green-dark);
  border-color: var(--clr-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(41,87,65,0.30);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border-2);
}

.btn-outline:hover {
  background: var(--clr-surface);
  border-color: var(--clr-text);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-text-2);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--clr-border);
  color: var(--clr-text);
}

.btn-danger {
  background: var(--clr-danger-bg);
  color: var(--clr-danger);
  border-color: transparent;
}

.btn-danger:hover {
  background: var(--clr-danger);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-icon {
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-green   { background: var(--clr-success-bg); color: var(--clr-success); }
.badge-yellow  { background: var(--clr-warning-bg); color: var(--clr-warning); }
.badge-red     { background: var(--clr-danger-bg);  color: var(--clr-danger); }
.badge-blue    { background: var(--clr-info-bg);    color: var(--clr-info); }
.badge-gray    { background: var(--clr-gray-bg);    color: var(--clr-text-3); }
.badge-dark    { background: var(--clr-text);       color: white; }
.badge-gold    { background: #fdf4e3; color: var(--clr-gold); }

.badge-dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ═══════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--clr-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--clr-green);
  box-shadow: 0 0 0 3px rgba(41,87,65,0.12);
}

.form-input::placeholder {
  color: var(--clr-text-3);
}

.form-input-lg {
  padding: 14px 18px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.form-hint {
  font-size: 12px;
  color: var(--clr-text-3);
}

.form-error {
  font-size: 12px;
  color: var(--clr-danger);
}

/* ═══════════════════════════════════════════════
   DIVIDERS & SEPARATORS
   ═══════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin-block: var(--space-6);
}

.divider-v {
  width: 1px;
  background: var(--clr-border);
  align-self: stretch;
}

/* ═══════════════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════════════ */
.progress-wrap {
  width: 100%;
  height: 6px;
  background: var(--clr-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--clr-green);
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-bar-gold { background: var(--clr-gold); }

/* ═══════════════════════════════════════════════
   STAT CARD
   ═══════════════════════════════════════════════ */
.stat-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-green-light);
  color: var(--clr-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg { width: 22px; height: 22px; }

.stat-value {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--clr-text);
}

.stat-label {
  font-size: 13px;
  color: var(--clr-text-3);
  font-weight: 500;
}

.stat-trend {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat-trend.up   { color: var(--clr-green); }
.stat-trend.down { color: var(--clr-danger); }

/* ═══════════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════════ */
.table-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-text-3);
  background: var(--clr-surface-2);
  border-bottom: 1px solid var(--clr-border);
}

.table td {
  padding: var(--space-4) var(--space-6);
  font-size: 14px;
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
}

.table tr:last-child td { border-bottom: none; }

.table tr { transition: background var(--transition-fast); }
.table tbody tr:hover { background: var(--clr-surface-2); cursor: pointer; }

/* ═══════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: var(--space-6);
}

.tab-btn {
  padding: var(--space-3) var(--space-5);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.tab-btn:hover { color: var(--clr-text); }
.tab-btn.active { color: var(--clr-green); border-bottom-color: var(--clr-green); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ═══════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════ */
.page-header {
  margin-bottom: var(--space-8);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
}

.page-header-text h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: var(--space-2);
}

.page-header-text p {
  color: var(--clr-text-2);
  font-size: 15px;
}

/* ═══════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: 13px;
  color: var(--clr-text-3);
}

.breadcrumb a:hover { color: var(--clr-text); }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb-current { color: var(--clr-text-2); font-weight: 500; }

/* ═══════════════════════════════════════════════
   SEARCH BAR
   ═══════════════════════════════════════════════ */
.search-bar {
  position: relative;
}

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

.search-bar input {
  padding-left: 40px;
}

/* ═══════════════════════════════════════════════
   TOAST / EMPTY STATE
   ═══════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: var(--space-20) var(--space-8);
  color: var(--clr-text-3);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.empty-state-icon svg { width: 28px; height: 28px; color: var(--clr-text-3); }

/* ═══════════════════════════════════════════════
   DROPDOWN
   ═══════════════════════════════════════════════ */
.dropdown-wrap {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--clr-text-2);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.dropdown-item:hover { background: var(--clr-surface-2); color: var(--clr-text); }
.dropdown-item svg   { width: 16px; height: 16px; flex-shrink: 0; }
.dropdown-item-danger { color: var(--clr-danger); }
.dropdown-item-danger:hover { background: var(--clr-danger-bg); color: var(--clr-danger); }

.dropdown-divider {
  height: 1px;
  background: var(--clr-border);
  margin: var(--space-2) 0;
}

/* ═══════════════════════════════════════════════
   TOOLTIP
   ═══════════════════════════════════════════════ */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-text);
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes wave {
  0%   { transform: scaleY(0.4); }
  50%  { transform: scaleY(1.0); }
  100% { transform: scaleY(0.4); }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease both;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease both;
}

.animate-stagger > * {
  animation: fadeInUp 0.5s ease both;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.10s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.20s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.30s; }

.spin { animation: spin 1s linear infinite; }
.pulse-anim { animation: pulse 2s ease infinite; }

/* ═══════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-text-3); }

/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }

.mt-auto { margin-top: auto; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

/* ═══════════════════════════════════════════════
   NAV ICON DEFINITIONS (inline SVG snippets used in JS)
   ═══════════════════════════════════════════════ */
.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
