/* ============================================
   PRATIPAKCHYA — Accountability Dashboard
   Zen White Design System
   ============================================ */

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

/* --- Design Tokens --- */
:root {
  /* Warm Paper Palette — not sterile white */
  --bg-white: #FEFCF8;
  --bg-snow: #FAF7F2;
  --bg-ghost: #F3EFE8;
  --bg-mist: #ECE8E0;

  /* Text */
  --text-ink: #1A1A1A;
  --text-charcoal: #333333;
  --text-slate: #666666;
  --text-muted: #999999;
  --text-light: #BBBBBB;

  /* Nepal Accents */
  --nepal-red: #DC143C;
  --nepal-blue: #003893;
  --nepal-red-soft: rgba(220, 20, 60, 0.08);
  --nepal-blue-soft: rgba(0, 56, 147, 0.06);
  --nepal-red-medium: rgba(220, 20, 60, 0.15);

  /* Status Colors */
  --status-not-started: #94A3B8;
  --status-in-progress: #3B82F6;
  --status-completed: #10B981;
  --status-broken: #EF4444;
  --status-stalled: #F59E0B;

  /* Status Backgrounds */
  --status-not-started-bg: rgba(148, 163, 184, 0.1);
  --status-in-progress-bg: rgba(59, 130, 246, 0.1);
  --status-completed-bg: rgba(16, 185, 129, 0.1);
  --status-broken-bg: rgba(239, 68, 68, 0.1);
  --status-stalled-bg: rgba(245, 158, 11, 0.1);

  /* Typography */
  --font-primary: 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-nepali: 'Noto Sans Devanagari', 'Inter', sans-serif;
  --font-headline: 'Playfair Display', 'Noto Sans Devanagari', Georgia, serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-normal: 300ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-ink);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}

/* --- Nepal Top Border --- */
.nepal-border {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nepal-red), var(--nepal-blue));
  z-index: 1000;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 3px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
  padding: var(--space-md) var(--space-xl);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-nepali);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-slate);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text-ink);
  background: var(--bg-ghost);
}

.nav-link.active {
  color: var(--text-ink);
  font-weight: 600;
  background: var(--bg-ghost);
}

/* Mulyankan/Gunaso tabs — unified with all nav tabs (no special highlight) */
.nav-link.nav-mulyankan,
.nav-link.nav-gunaso {
  /* Same as default .nav-link — no special color */
}

.nav-link.nav-mulyankan:hover,
.nav-link.nav-gunaso:hover {
  color: var(--text-ink);
  background: var(--bg-ghost);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-ink);
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-nepali);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-slate);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2px;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-toggle {
  display: flex;
  background: var(--bg-ghost);
  border-radius: var(--radius-full);
  padding: 2px;
  cursor: pointer;
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--bg-white);
  color: var(--text-ink);
  box-shadow: var(--shadow-sm);
}

/* --- Main Content --- */
.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-xl);
}

/* --- Hero Section --- */
.hero {
  text-align: left;
  padding: var(--space-3xl) 0 var(--space-2xl);
  animation: fadeInUp 0.8s var(--ease-out-expo);
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  background: var(--nepal-red-soft);
  border: 1px solid rgba(220, 20, 60, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nepal-red);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--nepal-red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-nepali);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-ink);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-slate);
  max-width: 560px;
  margin: 0 0 var(--space-xl);
  line-height: 1.7;
}

.hero-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Editor's Note --- */
.editors-note {
  margin: var(--space-xl) 0 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--nepal-red);
  background: var(--nepal-red-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.editors-note-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--nepal-red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

.editors-note p {
  font-size: 0.92rem;
  color: var(--text-charcoal);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* --- Day Tracker — Primary Hero Section --- */
.day-tracker {
  margin: var(--space-2xl) 0 var(--space-2xl);
  background: var(--bg-snow);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.day-tracker-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.day-count-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
  background: linear-gradient(135deg, var(--nepal-red), #E8365C);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.25);
  flex-shrink: 0;
}

.day-count-number {
  font-size: 2.3rem;
  font-weight: 900;
  font-family: var(--font-headline);
  line-height: 1;
}

.day-count-label {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-nepali);
  opacity: 0.9;
}

.day-tracker-header-text {
  flex: 1;
}

.day-tracker-title {
  font-family: var(--font-nepali);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--text-ink);
  line-height: 1.2;
  margin: 0;
}

.day-tracker-subtitle {
  font-size: 0.92rem;
  color: var(--text-slate);
  margin: 2px 0 0;
  font-weight: 500;
}

.day-tracker-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  background: var(--nepal-red-soft);
  border: 1px solid rgba(220, 20, 60, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--nepal-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.day-tracker-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--nepal-red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.day-tracker-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-md);
  text-align: right;
}

/* Day Stats Row — 4 boxes */
.day-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.day-stat-box {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.day-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.day-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.day-stat-box.due::before { background: var(--nepal-blue); }
.day-stat-box.done::before { background: var(--status-completed); }
.day-stat-box.late::before { background: #F59E0B; }
.day-stat-box.failed::before { background: var(--status-broken); }

.day-stat-icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-xs);
}

.day-stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2px;
}

.day-stat-box.due .day-stat-value { color: var(--nepal-blue); }
.day-stat-box.done .day-stat-value { color: var(--status-completed); }
.day-stat-box.late .day-stat-value { color: #D97706; }
.day-stat-box.failed .day-stat-value { color: var(--status-broken); }

.day-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-nepali);
}

/* Detail Panel — expandable promise list */
.day-detail-panel {
  display: none;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.3s var(--ease-out-expo);
  max-height: 400px;
  overflow-y: auto;
}

.day-detail-panel.expanded {
  display: block;
}

.day-detail-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.day-detail-panel-title {
  font-family: var(--font-nepali);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

.day-detail-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.day-detail-close:hover {
  background: var(--bg-ghost);
  color: var(--text-ink);
}

.day-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.day-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.day-detail-item:last-child {
  border-bottom: none;
}

.day-detail-item:hover {
  background: var(--bg-snow);
}

.day-detail-item-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.day-detail-item-id {
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--bg-ghost);
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

.day-detail-item-title {
  flex: 1;
  font-family: var(--font-nepali);
  font-weight: 500;
  color: var(--text-charcoal);
  line-height: 1.4;
}

.day-detail-item-deadline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.day-stat-box {
  cursor: pointer;
}

.day-stat-box.active-stat {
  box-shadow: 0 0 0 2px var(--nepal-red), var(--shadow-md);
  transform: translateY(-3px);
}

/* Score Bar — stacked green + red + grey */
.day-score-bar {
  height: 10px;
  background: var(--bg-ghost);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
  margin-bottom: var(--space-sm);
}

.day-score-fill {
  height: 100%;
  transition: width 1.2s var(--ease-out-expo);
}

.day-score-fill.done-fill {
  background: linear-gradient(90deg, var(--status-completed), #34D399);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.day-score-fill.missed-fill {
  background: linear-gradient(90deg, var(--status-broken), #F87171);
}

.day-score-legend {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: 0.75rem;
  color: var(--text-slate);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.done-legend .legend-dot { background: var(--status-completed); }
.missed-legend .legend-dot { background: var(--status-broken); }
.remaining-legend .legend-dot { background: var(--bg-mist); }

/* Timeline */
.deadline-timeline-container {
  margin-top: var(--space-md);
}

.timeline-heading {
  font-family: var(--font-nepali);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.deadline-timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: var(--space-md) 0 var(--space-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--bg-mist) transparent;
}

.deadline-timeline::-webkit-scrollbar {
  height: 4px;
}

.deadline-timeline::-webkit-scrollbar-thumb {
  background: var(--bg-mist);
  border-radius: var(--radius-full);
}

/* Timeline track line */
.deadline-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-mist);
  z-index: 0;
}

.timeline-milestone {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 90px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.timeline-milestone:hover {
  transform: translateY(-2px);
}

.timeline-milestone:hover .milestone-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.milestone-day-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.milestone-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--bg-snow);
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.milestone-dot.all-done {
  background: var(--status-completed);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.milestone-dot.has-missed {
  background: var(--status-broken);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.milestone-dot.mixed {
  background: linear-gradient(135deg, var(--status-completed) 50%, var(--status-stalled) 50%);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.milestone-dot.future {
  background: var(--bg-mist);
  border-color: var(--bg-ghost);
}

.milestone-dot.today-marker {
  background: var(--nepal-red);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.25);
  animation: pulse 2s infinite;
}

.milestone-counts {
  margin-top: var(--space-sm);
  display: flex;
  gap: 3px;
  font-size: 0.62rem;
  font-weight: 700;
}

.milestone-count-done {
  color: var(--status-completed);
}

.milestone-count-missed {
  color: var(--status-broken);
}

.milestone-count-pending {
  color: var(--text-muted);
}

.milestone-date {
  font-size: 0.6rem;
  color: var(--text-light);
  margin-top: 2px;
  white-space: nowrap;
}

/* Today marker arrow */
.milestone-today-arrow {
  font-size: 0.7rem;
  color: var(--nepal-red);
  font-weight: 800;
  margin-top: 2px;
  animation: bounce-subtle 1.5s infinite;
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Tooltip on hover */
.milestone-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text-ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  z-index: 10;
  max-width: 250px;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}

.milestone-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-ink);
}

/* Responsive */
@media (max-width: 768px) {
  .day-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .day-tracker {
    padding: var(--space-md);
  }

  .day-count-number {
    font-size: 1.4rem;
  }

  .day-stat-value {
    font-size: 1.5rem;
  }

  .timeline-milestone {
    min-width: 72px;
  }
}

@media (max-width: 480px) {
  .day-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .day-tracker-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.stat-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card[data-filter] {
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card.active-filter {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--text-ink), var(--shadow-md);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card.total::before { background: linear-gradient(90deg, var(--nepal-red), var(--nepal-blue)); }
.stat-card.completed::before { background: var(--status-completed); }
.stat-card.in-progress::before { background: var(--status-in-progress); }
.stat-card.broken::before { background: var(--status-broken); }
.stat-card.stalled::before { background: var(--status-stalled); }
.stat-card.score::before { background: linear-gradient(90deg, var(--nepal-red), var(--nepal-blue)); }

.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-xs);
  color: var(--text-ink);
}

.stat-card.completed .stat-number { color: var(--status-completed); }
.stat-card.in-progress .stat-number { color: var(--status-in-progress); }
.stat-card.broken .stat-number { color: var(--status-broken); }
.stat-card.stalled .stat-number { color: var(--status-stalled); }

.stat-card.manifesto-only-stat {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.02), rgba(220, 20, 60, 0.04));
  border: 1px dashed rgba(220, 20, 60, 0.2);
}
.stat-card.manifesto-only-stat::before {
  background: var(--nepal-red);
  opacity: 1;
}
.stat-card.manifesto-only-stat .stat-number { color: var(--nepal-red); }
.stat-card.manifesto-only-stat .stat-label { color: var(--nepal-red); opacity: 0.8; }

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Overall Progress Bar --- */
.progress-section {
  margin: var(--space-xl) 0 var(--space-2xl);
}

.progress-bar-container {
  background: var(--bg-ghost);
  border-radius: var(--radius-full);
  height: 12px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--status-completed), #34D399);
  transition: width 1.5s var(--ease-out-expo);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-slate);
}

/* --- Category Pills --- */
.categories-section {
  margin: var(--space-2xl) 0 var(--space-lg);
}

.categories-scroll {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding: var(--space-sm) 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  padding: 8px 20px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.category-pill:hover {
  border-color: rgba(0,0,0,0.15);
  color: var(--text-ink);
  background: var(--bg-snow);
}

.category-pill.active {
  background: var(--text-ink);
  color: var(--bg-white);
  border-color: var(--text-ink);
}

.category-pill .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
  padding: 0 5px;
}

.category-pill.active .count {
  background: rgba(255,255,255,0.2);
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background: var(--bg-snow);
  color: var(--text-ink);
  transition: all var(--transition-fast);
  outline: none;
}

.search-box input:focus {
  border-color: var(--nepal-blue);
  box-shadow: 0 0 0 3px rgba(0, 56, 147, 0.08);
  background: var(--bg-white);
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-select {
  padding: 12px 36px 12px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  background: var(--bg-snow);
  color: var(--text-charcoal);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* --- Promise Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

/* === PROMISE CARDS — Premium Design === */
.promise-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  /* #11: Scroll fade-in animation */
  opacity: 0;
  transform: translateY(16px);
}

.promise-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* #4: Hover → lift + status-colored glow */
.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -4px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04), 0 4px 16px -2px var(--card-glow, rgba(0,0,0,0.05));
  border-color: rgba(0,0,0,0.12);
}

/* #12: Click ripple */
.promise-card:active {
  transform: translateY(-1px) scale(0.995);
  transition-duration: 0.1s;
}

/* #19: Completed cards — subtle success wash */
.promise-card.status-completed {
  background: linear-gradient(135deg, rgba(16,185,129,0.03) 0%, var(--bg-white) 60%);
}

/* #16: Overdue cards — danger pattern */
.promise-card.card-overdue {
  background: linear-gradient(135deg, rgba(239,68,68,0.03) 0%, var(--bg-white) 60%);
}
.promise-card.card-overdue::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, transparent 50%, rgba(239,68,68,0.08) 50%);
  border-radius: 0 var(--radius-lg) 0 0;
}

.promise-card.manifesto-only-card {
  border-left: 4px dashed rgba(220, 20, 60, 0.4);
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.02), var(--bg-white));
}

.promise-card.manifesto-only-card:hover {
  border-color: rgba(220, 20, 60, 0.4);
}

/* Card inner padding */
.card-body {
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

/* #14: Monospace ticket-style ID */
.card-id {
  font-size: 0.75rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  color: var(--text-light);
  letter-spacing: 0.04em;
  background: var(--bg-ghost);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* #2: Status badges with emoji icons */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-badge .status-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: none; /* replaced by emoji icons */
}

.status-badge.not-started { background: var(--status-not-started-bg); color: var(--status-not-started); }
.status-badge.in-progress { background: var(--status-in-progress-bg); color: var(--status-in-progress); }
.status-badge.completed { background: var(--status-completed-bg); color: var(--status-completed); }
.status-badge.broken, .status-badge.failed { background: var(--status-broken-bg); color: var(--status-broken); }
.status-badge.stalled, .status-badge.delayed { background: var(--status-stalled-bg); color: var(--status-stalled); }
.status-badge.manifesto-only { background: rgba(220, 20, 60, 0.08); color: var(--nepal-red); }

/* #7: Category as color-coded chip with icon */
.card-category {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: var(--bg-ghost);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(0,0,0,0.04);
}

/* #5: Typography hierarchy — bigger Nepali, smaller English */
.card-title {
  font-family: var(--font-nepali);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-ink);
  line-height: 1.5;
  margin-bottom: 4px;
}

.card-title-en {
  font-size: 0.85rem;
  color: var(--text-slate);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  font-style: italic;
  opacity: 0.75;
}

/* #15: Hover description peek */
.card-peek {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s;
  opacity: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.promise-card:hover .card-peek {
  max-height: 60px;
  opacity: 1;
  margin-bottom: var(--space-sm);
}

/* #18: Card footer → 2-column grid */
.card-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.04);
  background: var(--bg-ghost);
}

/* #6: Deadline urgency chips */
.card-deadline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.04);
  white-space: nowrap;
}

.card-deadline .deadline-icon {
  font-size: 0.75rem;
}

.card-deadline.overdue {
  color: #fff;
  background: var(--status-broken);
  font-weight: 700;
  animation: urgency-pulse 2s ease-in-out infinite;
}

.card-deadline.soon {
  color: #92400E;
  background: rgba(245,158,11,0.15);
  font-weight: 700;
}

@keyframes urgency-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* #3 + #8 + #20: Full-width progress bar with % label & ghost track */
.card-progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-progress {
  flex: 1;
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

/* #20: Ghost track for 0% */
.card-progress.empty {
  background: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.04) 0px,
    rgba(0,0,0,0.04) 4px,
    transparent 4px,
    transparent 8px
  );
}

.card-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--status-completed);
  transition: width 1s var(--ease-out-expo);
}

/* #8: Progress percentage label */
.card-progress-label {
  font-size: 0.65rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  color: var(--text-light);
  min-width: 28px;
  text-align: right;
}

/* #9: Source as favicon + domain */
.card-source {
  font-size: 0.68rem;
  color: var(--nepal-blue);
  font-weight: 500;
  padding: var(--space-xs) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

.card-source-icon {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: var(--nepal-blue);
  opacity: 0.3;
  flex-shrink: 0;
}

/* #10 + #17: Updated time with "new" indicator */
.card-updated {
  font-size: 0.62rem;
  color: var(--text-light);
  padding: 0 var(--space-lg) var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-new-badge {
  font-size: 0.58rem;
  font-weight: 800;
  color: white;
  background: var(--status-in-progress);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: new-pulse 2s ease-in-out infinite;
}

@keyframes new-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* #13: Manifesto badge — richer treatment */
.card-manifesto-badge {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--nepal-red);
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.06), rgba(220, 20, 60, 0.02));
  border: 1px solid rgba(220, 20, 60, 0.12);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Category Breakdown --- */
.breakdown-section {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  background: var(--bg-snow);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.04);
}

.breakdown-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.breakdown-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-fast);
}

.breakdown-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.breakdown-ring {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.breakdown-ring svg {
  transform: rotate(-90deg);
}

.breakdown-ring circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.breakdown-ring .bg {
  stroke: var(--bg-ghost);
}

.breakdown-ring .fill {
  stroke: var(--status-completed);
  transition: stroke-dasharray 1.5s var(--ease-out-expo);
}

.breakdown-info {
  flex: 1;
}

.breakdown-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-ink);
  margin-bottom: 2px;
}

.breakdown-stats {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Modal --- */
/* === MODAL — Premium Redesign === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

/* #1: Status Hero Banner */
.modal-hero {
  padding: 20px 24px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.modal-hero-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-hero-icon {
  font-size: 20px;
}

.modal-hero-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-hero-id {
  font-size: 0.68rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  opacity: 0.6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 1.3rem;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
  z-index: 2;
}

.modal-close:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
}

/* Modal Body */
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-title {
  font-family: var(--font-nepali);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}

.modal-title-en {
  font-size: 0.92rem;
  color: var(--text-slate);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
  font-style: italic;
  opacity: 0.7;
}

/* #7: Meta Chips */
.modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-ghost);
  color: var(--text-charcoal);
  border: 1px solid rgba(0,0,0,0.06);
}

.modal-chip.chip-overdue {
  background: rgba(239,68,68,0.1);
  color: var(--status-broken);
  border-color: rgba(239,68,68,0.2);
  font-weight: 700;
}

.modal-chip.chip-soon {
  background: rgba(245,158,11,0.1);
  color: #92400E;
  border-color: rgba(245,158,11,0.2);
}

/* #2: Circular Progress Ring + #4: Countdown */
.modal-gauge-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  margin-bottom: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modal-ring-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.modal-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--bg-ghost);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--status-completed);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 0 326.73;
  transition: stroke-dasharray 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  color: var(--text-ink);
}

.modal-countdown-block {
  flex: 1;
}

.countdown-big {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-nepali);
  line-height: 1.2;
  margin-bottom: 4px;
}

.countdown-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.countdown-bar-mini {
  height: 4px;
  background: var(--bg-ghost);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 8px;
}

.countdown-bar-mini-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s ease;
}

/* #5: Section Headers with Icons */
.modal-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--bg-ghost);
}

/* Manifesto Callout */
.modal-manifesto {
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.04), rgba(0, 56, 147, 0.04));
  border-left: 3px solid var(--nepal-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-lg);
}

.manifesto-ref-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nepal-red);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manifesto-ref-text {
  font-size: 0.85rem;
  color: var(--text-charcoal);
  line-height: 1.5;
  margin: 0;
}

.manifesto-ref-absent { font-style: italic; color: var(--text-muted); }

/* #3: Timeline */
.modal-timeline { margin-bottom: var(--space-lg); }

.timeline-items {
  position: relative;
  padding-left: 20px;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--bg-mist);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding: 0 0 12px 12px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-charcoal);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: 2px solid var(--bg-white);
}

.timeline-item:first-child::before {
  background: var(--status-in-progress);
}

.timeline-date {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Notes */
.modal-notes-wrap { margin-bottom: var(--space-lg); }

.modal-notes {
  padding: var(--space-md);
  background: var(--nepal-blue-soft);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-charcoal);
  line-height: 1.6;
}

/* #6: Evidence Cards */
.modal-evidence-wrap { margin-bottom: var(--space-lg); }

.modal-evidence {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-snow);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-charcoal);
}

.evidence-card a {
  color: var(--nepal-blue);
  text-decoration: none;
  font-weight: 600;
}

.evidence-card a:hover { text-decoration: underline; }

.evidence-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Detail Sections */
.modal-detail-section {
  margin-bottom: var(--space-lg);
}

.detail-content {
  font-size: 0.88rem;
  color: var(--text-charcoal);
  line-height: 1.7;
}

/* #10: Related Promises */
.modal-related { margin-bottom: var(--space-lg); }

.related-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-ghost);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.82rem;
}

.related-card:hover { background: var(--bg-mist); }

.related-id {
  font-size: 0.68rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--text-light);
  flex-shrink: 0;
}

.related-title {
  flex: 1;
  color: var(--text-ink);
  font-weight: 500;
}

.related-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Modal Actions Footer */
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.06);
  gap: var(--space-md);
}

.modal-share {
  display: flex;
  gap: var(--space-sm);
}

.share-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  background: var(--bg-snow);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--text-ink);
  color: white;
  border-color: var(--text-ink);
}

/* #9: Prev/Next Navigation */
.modal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-nav-btn {
  padding: 6px 14px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  background: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-nepali);
  color: var(--text-charcoal);
}

.modal-nav-btn:hover {
  background: var(--text-ink);
  color: white;
  border-color: var(--text-ink);
}

.modal-nav-counter {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 600;
  font-family: monospace;
}

/* #12: Toast */
.toast {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-ink);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Methodology Section --- */
.methodology {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  background: var(--bg-snow);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.04);
}

.methodology h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.method-item {
  text-align: center;
}

.method-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.method-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.method-status-example {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.method-desc {
  font-size: 0.8rem;
  color: var(--text-slate);
  line-height: 1.5;
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: var(--space-3xl);
}

.footer-tagline {
  font-family: var(--font-nepali);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: var(--space-sm);
}

.footer-divider {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: var(--space-sm);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--nepal-red);
  text-decoration: none;
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.empty-state p {
  font-size: 0.95rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .main { padding: var(--space-md); }

  /* #1: COMPACT HERO — show content fast */
  .hero {
    padding: var(--space-lg) 0 var(--space-md);
    max-width: 100%;
  }
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }
  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: var(--space-md);
    line-height: 1.5;
  }
  .hero-badge {
    margin-bottom: var(--space-sm);
    font-size: 0.65rem;
  }

  /* Compact countdown — single line */
  .countdown {
    max-width: 100%;
    padding: var(--space-md);
    margin: var(--space-md) 0 var(--space-sm);
  }
  .countdown-number { font-size: 1.5rem; }
  .countdown-unit { font-size: 0.6rem; }
  .countdown-sep { font-size: 1.2rem; margin-top: -6px; }
  .countdown-label { font-size: 0.7rem; margin-bottom: var(--space-sm); }

  /* #3: STATS → HORIZONTAL SCROLL STRIP */
  .stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    padding-bottom: var(--space-sm);
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .stats-grid::-webkit-scrollbar { display: none; }
  .stat-card {
    flex: 0 0 auto;
    min-width: 120px;
    scroll-snap-align: start;
    padding: var(--space-md) var(--space-sm);
  }
  .stat-card:hover { transform: none; }
  .stat-number { font-size: 1.6rem; }

  /* #5: CATEGORY PILLS → HORIZONTAL SCROLL with fade */
  .categories {
    position: relative;
  }
  .category-pills {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-xs);
    padding-bottom: var(--space-xs);
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Fade mask on right edge */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }
  .category-pills::-webkit-scrollbar { display: none; }
  .category-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    min-height: 44px; /* #6: touch target */
    display: flex;
    align-items: center;
    padding: 8px 14px;
  }

  /* #2: STICKY FILTER BAR */
  .filter-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    padding: var(--space-sm) 0;
    margin: 0 calc(-1 * var(--space-md));
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
    background: rgba(254, 252, 248, 0.92);
  }
  .search-box {
    min-width: 0;
    flex: 1;
  }
  .search-box input {
    padding: 10px 12px 10px 38px;
    font-size: 0.85rem;
    min-height: 44px; /* #6: touch target */
  }
  .filter-select {
    padding: 10px 30px 10px 10px;
    font-size: 0.8rem;
    min-height: 44px; /* #6: touch target */
    flex: 0 0 auto;
    max-width: 110px;
  }

  /* #4: FULL-WIDTH CARDS */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 calc(-1 * var(--space-md));
  }
  .promise-card {
    border-radius: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    border-top: none;
  }
  .promise-card .card-body { padding: var(--space-md); }
  .promise-card .card-footer { padding: var(--space-xs) var(--space-md); }
  .promise-card .card-source { padding: var(--space-xs) var(--space-md); }
  .promise-card .card-updated { padding: 0 var(--space-md) var(--space-xs); }
  .promise-card:first-child {
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .promise-card:hover {
    transform: none;
    box-shadow: none;
  }

  /* Results count in mobile */
  .results-count {
    font-size: 0.78rem;
    padding: var(--space-xs) 0;
  }

  /* Compact card text */
  .card-title {
    font-size: 0.92rem;
    line-height: 1.4;
  }
  .card-title-en {
    font-size: 0.78rem;
  }

  /* Modal → bottom sheet */
  .modal-overlay {
    align-items: flex-end;
  }
  .modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  .modal-body { padding: 16px; }
  .modal-hero { padding: 16px; }
  .modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    top: 10px;
    right: 10px;
  }
  .modal-gauge-row { flex-direction: column; gap: 16px; }
  .modal-ring-wrap { width: 80px; height: 80px; }
  .modal-actions { flex-direction: column; gap: 12px; }
  .modal-nav { width: 100%; justify-content: space-between; }
  .modal-title {
    font-size: 1.1rem;
  }

  /* Category breakdown */
  .breakdown-grid { grid-template-columns: 1fr; }
  .breakdown-section h2 { font-size: 1.2rem; }

  /* Footer compact */
  .footer-inner { flex-direction: column; text-align: center; gap: var(--space-sm); }

  /* Progress bar section */
  .overall-progress { margin: var(--space-md) 0; }

  /* Editor's note compact */
  .editors-note {
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0 0;
  }

  /* Overdue banner */
  .overdue-banner { font-size: 0.78rem; padding: 8px var(--space-md); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .hero-subtitle { font-size: 0.82rem; }

  /* Ultra compact countdown */
  .countdown {
    padding: var(--space-sm) var(--space-md);
  }
  .countdown-number { font-size: 1.3rem; }
  .countdown-sep { font-size: 1rem; }
  .countdown-grid { gap: var(--space-sm); }

  /* Stats even tighter */
  .stat-card { min-width: 100px; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.6rem; }

  /* Header wrap */
  .header-inner { flex-wrap: wrap; gap: var(--space-sm); }
  .logo-text { font-size: 1.2rem; }
  .logo-sub { font-size: 0.55rem; }

  /* Filter bar even tighter */
  .filter-select { max-width: 90px; font-size: 0.75rem; }
}

@media (min-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-mist); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* --- No results counter --- */
.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.results-count strong {
  color: var(--text-ink);
}

/* --- Overdue Alert Banner (desktop) --- */
.overdue-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px var(--space-xl);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03));
  border-bottom: 1px solid rgba(239, 68, 68, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--status-broken);
  flex-wrap: wrap;
}

.overdue-banner-icon {
  font-size: 0.85rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  background: var(--status-broken);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.overdue-banner-text {
  flex: 0 1 auto;
}

.overdue-banner-btn {
  padding: 4px 14px;
  border: 1px solid var(--status-broken);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--status-broken);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.overdue-banner-btn:hover {
  background: var(--status-broken);
  color: white;
}

/* --- 100-Day Countdown --- */
.countdown {
  margin: var(--space-xl) auto var(--space-md);
  max-width: 400px;
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-snow);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--nepal-red), var(--nepal-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-unit {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-light);
  margin-top: -10px;
}

.countdown-bar {
  height: 4px;
  background: var(--bg-mist);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.countdown-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--nepal-red), var(--nepal-blue));
  border-radius: var(--radius-full);
  transition: width 1.5s var(--ease-out-expo);
}

.countdown-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-light);
}

/* --- Modal Share Buttons --- */
.modal-share {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.share-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  background: var(--bg-snow);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.share-btn:hover {
  background: var(--text-ink);
  color: var(--bg-white);
  border-color: var(--text-ink);
}

.share-btn.copied {
  background: var(--status-completed);
  color: white;
  border-color: var(--status-completed);
}

/* Not started stat number color */
.stat-card.not-started .stat-number { color: var(--status-not-started); }
.stat-card.not-started::before { background: var(--status-not-started); }

/* --- Slide Up animation for mobile modal --- */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* --- Body scroll lock when modal is open --- */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* --- News Ticker --- */
.news-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--text-ink);
  color: #fff;
  display: flex;
  align-items: center;
  z-index: 100;
  overflow: hidden;
  font-size: 0.82rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}

.ticker-label {
  flex-shrink: 0;
  background: var(--nepal-crimson);
  color: #fff;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
  box-shadow: 12px 0 16px 4px var(--text-ink);
}

.ticker-track-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 120s linear infinite;
}

.news-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.ticker-item:hover {
  color: #fff;
}

.ticker-item::before {
  content: '●';
  color: var(--nepal-crimson);
  font-size: 0.5rem;
  flex-shrink: 0;
}

.ticker-source {
  color: rgba(255,255,255,0.45);
  font-size: 0.68rem;
  font-weight: 600;
  margin-left: 4px;
}

.ticker-date {
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  margin-left: 2px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Add bottom padding to body for ticker */
body {
  padding-bottom: 40px;
}

/* --- Scroll to top button --- */
.scroll-top-btn {
  position: fixed;
  bottom: 56px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-ink);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  pointer-events: none;
  z-index: 90;
  box-shadow: var(--shadow-lg);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================
   MANIFESTO INTEGRATION STYLES
   ============================================ */

/* --- Manifesto Coverage Stat Card --- */
.stat-card.manifesto-coverage {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.03), rgba(0, 56, 147, 0.03));
  border: 1px solid rgba(220, 20, 60, 0.12);
}

.stat-card.manifesto-coverage::before {
  background: linear-gradient(90deg, var(--nepal-red), #F59E0B);
  opacity: 1;
}

.stat-card.manifesto-coverage .stat-number {
  color: var(--nepal-red);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.stat-card.manifesto-coverage .stat-label {
  font-size: 0.72rem;
  color: var(--nepal-red);
  opacity: 0.8;
}

/* --- Manifesto Badge on Cards --- */
.card-manifesto-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--nepal-red);
  background: rgba(220, 20, 60, 0.06);
  border: 1px solid rgba(220, 20, 60, 0.12);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin-top: var(--space-sm);
  display: inline-block;
  white-space: nowrap;
}

/* --- Manifesto Reference in Modal --- */
.modal-manifesto {
  margin: var(--space-md) 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.04), rgba(0, 56, 147, 0.04));
  border-left: 3px solid var(--nepal-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.manifesto-ref-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nepal-red);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manifesto-ref-text {
  font-size: 0.85rem;
  color: var(--text-charcoal);
  line-height: 1.5;
  margin: 0;
}

.manifesto-ref-absent {
  font-style: italic;
  color: var(--text-muted);
}

/* --- Manifesto Gaps Section --- */
.manifesto-gaps-section {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.02), rgba(239, 68, 68, 0.03));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(220, 20, 60, 0.08);
}

.manifesto-gaps-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  text-align: center;
  color: var(--nepal-red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.manifesto-gaps-icon {
  font-size: 1.5rem;
}

.manifesto-gaps-subtitle {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-slate);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.manifesto-gaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.manifesto-gap-card {
  background: var(--bg-white);
  border: 1px dashed rgba(220, 20, 60, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: all var(--transition-fast);
  position: relative;
}

.manifesto-gap-card:hover {
  border-color: rgba(220, 20, 60, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.manifesto-gap-card::before {
  content: '❌';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 0.8rem;
  opacity: 0.5;
}

.manifesto-gap-id {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--nepal-red);
  opacity: 0.6;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.manifesto-gap-theme {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  background: var(--bg-ghost);
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.manifesto-gap-title {
  font-family: var(--font-nepali);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-ink);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.manifesto-gap-title-en {
  font-size: 0.78rem;
  color: var(--text-slate);
  line-height: 1.4;
}

/* Mobile adjustments for manifesto elements */
@media (max-width: 768px) {
  .manifesto-gaps-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-gaps-section {
    padding: var(--space-lg);
    margin: var(--space-2xl) 0;
  }

  .stat-card.manifesto-coverage .stat-number {
    font-size: 1.4rem;
  }
}

/* === MULYANKAN FAB === */
.mulyankan-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--nepal-red), #b91c3c);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-nepali);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  animation: fab-pulse 3s ease-in-out infinite;
}

.mulyankan-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(220, 20, 60, 0.45), 0 3px 12px rgba(0,0,0,0.2);
}

.fab-icon {
  font-size: 20px;
  line-height: 1;
}

.fab-label {
  letter-spacing: 0.3px;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(220, 20, 60, 0.35), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 4px 28px rgba(220, 20, 60, 0.55), 0 2px 12px rgba(0,0,0,0.2); }
}

@media (max-width: 640px) {
  .mulyankan-fab {
    bottom: 20px;
    right: 16px;
    padding: 12px 18px;
    font-size: 13px;
  }
  .fab-icon { font-size: 18px; }
}

/* === GUNASO NAV LINK === */
/* nav-gunaso — unified, no special styling (see header section) */

/* === GUNASO FAB === */
.gunaso-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #003893, #1a5ab8);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-nepali);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 56, 147, 0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  animation: gunaso-pulse 3s ease-in-out infinite;
}

.gunaso-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 56, 147, 0.45), 0 3px 12px rgba(0,0,0,0.2);
}

@keyframes gunaso-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 56, 147, 0.35), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 4px 28px rgba(0, 56, 147, 0.55), 0 2px 12px rgba(0,0,0,0.2); }
}

@media (max-width: 640px) {
  .gunaso-fab {
    bottom: 20px;
    left: 16px;
    padding: 12px 18px;
    font-size: 13px;
  }
}
