/* ==========================================================================
   POLİTİK İKTİSAT LABORATUVARI — ULTRA CANLI & ÇAĞDAŞ TEMA SİSTEMİ
   ========================================================================== */

:root {
  /* Renk Paleti - Canlı, Derin & Dinamik */
  --bg-primary: #0a0e1a;
  --bg-secondary: #121a2d;
  --bg-card: rgba(18, 26, 44, 0.78);
  --bg-card-hover: rgba(28, 40, 68, 0.88);
  --bg-glass: rgba(15, 23, 42, 0.72);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8494ab;

  /* Canlı Vurgular (Vibrant Accents) */
  --accent-gold: #fbbf24;
  --accent-gold-hover: #f59e0b;
  --accent-gold-dim: rgba(251, 191, 36, 0.16);
  --accent-gold-glow: rgba(245, 158, 11, 0.4);

  --accent-blue: #3b82f6;
  --accent-blue-dim: rgba(59, 130, 246, 0.16);
  --accent-blue-glow: rgba(59, 130, 246, 0.4);

  --accent-cyan: #06b6d4;
  --accent-cyan-dim: rgba(6, 182, 212, 0.16);
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);

  --accent-green: #10b981;
  --accent-green-dim: rgba(16, 185, 129, 0.16);
  --accent-green-glow: rgba(16, 185, 129, 0.4);

  --accent-red: #ef4444;
  --accent-red-dim: rgba(239, 68, 68, 0.16);
  --accent-red-glow: rgba(239, 68, 68, 0.4);

  --accent-purple: #8b5cf6;
  --accent-purple-dim: rgba(139, 92, 246, 0.16);

  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-hover: rgba(251, 191, 36, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(245, 158, 11, 0.35);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.16) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.13) 0px, transparent 45%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.14) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(30, 58, 138, 0.08) 0px, transparent 65%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keyframe Animasyonları */
@keyframes pulse-ring {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

/* Header & Üst Navigasyon */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 2rem;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.top-header.is-login-header {
  justify-content: center;
}

.top-header.is-login-header .brand {
  justify-content: center;
  text-align: center;
}

.top-header.is-login-header .brand-title {
  text-align: center;
}

.top-header.is-login-header .header-actions:empty {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0a0e1a;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  letter-spacing: -0.5px;
}

.brand-title h1 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title span {
  font-size: 0.78rem;
  color: var(--accent-gold);
  display: block;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Butonlar */
.btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 32, 54, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: rgba(33, 48, 80, 0.95);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.admin-top-nav-btn {
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.admin-top-nav-btn:hover,
.admin-top-nav-btn:active {
  transform: none !important;
  box-shadow: none !important;
}

.admin-accordion-panel summary::-webkit-details-marker {
  display: none;
}

.admin-accordion-panel .accordion-arrow {
  transition: transform 0.2s ease;
}

.admin-accordion-panel[open] .accordion-arrow {
  transform: rotate(180deg);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #0a0e1a;
  border: 1px solid rgba(251, 191, 36, 0.8);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 60%, #ea580c 100%);
  box-shadow: 0 6px 26px rgba(245, 158, 11, 0.55);
  transform: translateY(-2px);
}

/* Ana Konteyner */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
}

/* Glassmorphism Paneller */
.panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.panel:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #f1f5f9;
}

/* Curriculum Hero */
.curriculum-hero {
  background: linear-gradient(135deg, rgba(26, 38, 66, 0.85) 0%, rgba(14, 22, 40, 0.95) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  margin-bottom: 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.08);
}

.curriculum-hero h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #ffffff 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.curriculum-hero p {
  color: var(--text-secondary);
  max-width: 780px;
  font-size: 0.92rem;
}

/* Sınıf Sekmeleri (Eski/Admin Görünümü) */
.year-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.year-tab {
  flex: 1;
  min-width: 180px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.year-tab:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.year-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(59, 130, 246, 0.14));
  border-color: var(--accent-gold);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.22);
}

.year-tab-badge {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-gold);
  font-weight: 700;
}

.year-tab-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.year-tab-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Dönemlik (Güz 14 + Bahar 14) Sekmeleri */
.semester-tabs-container {
  margin-bottom: 1.35rem;
}

.semester-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 680px) {
  .semester-tabs {
    grid-template-columns: 1fr;
  }
}

.semester-tab {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.semester-tab:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.4);
}

.semester-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(16, 185, 129, 0.12) 100%);
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.semester-tab.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24, #10b981);
}

.semester-tab-badge {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--accent-gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.semester-tab-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.semester-tab-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Rozetler (Badges) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-year {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.badge-course {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.badge-completed {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

/* Ana Simülasyon Çalışma Alanı */
.sim-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 1.35rem;
  align-items: start;
}

.admin-students-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.45fr);
  gap: 1.15rem;
  align-items: start;
}

.admin-students-grid > div {
  min-width: 0;
}

.sim-sticky-column {
  position: sticky;
  top: 5.25rem;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-width: 1080px) {
  .sim-grid,
  .admin-students-grid {
    grid-template-columns: 1fr;
  }
  .sim-sticky-column {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* ==========================================================================
   CANLI GAZETE & RESMİ KRİZ BÜLTENİ (.newspaper-banner)
   ========================================================================== */
.newspaper-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
  color: #f1f5f9;
  border-radius: 14px;
  padding: 1.35rem 1.6rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-left: 5px solid #f59e0b;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.55), 0 0 24px rgba(245, 158, 11, 0.08);
  position: relative;
  overflow: hidden;
}

.newspaper-banner::before {
  content: "RESMİ BÜLTEN";
  position: absolute;
  right: 1.25rem;
  bottom: 0.75rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  letter-spacing: 2px;
}

.newspaper-meta {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fbbf24;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
  padding-bottom: 0.5rem;
  margin-bottom: 0.7rem;
}

.newspaper-headline-badge {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fbbf24;
  border: 1.5px solid #d97706;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}

.newspaper-headline {
  font-family: 'Newsreader', Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.newspaper-body {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* ==========================================================================
   İKTİSADİ DANIŞMANLAR (.advisors-grid)
   ========================================================================== */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

@media (max-width: 680px) {
  .advisors-grid {
    grid-template-columns: 1fr;
  }
}

.advisor-card {
  background: rgba(18, 26, 44, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  border-top: 3.5px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.advisor-card.school-keynesian { border-top-color: #38bdf8; }
.advisor-card.school-neoclassical { border-top-color: #fbbf24; }
.advisor-card.school-structuralist { border-top-color: #34d399; }
.advisor-card.school-political { border-top-color: #c084fc; }

.advisor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.advisor-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.advisor-school {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.advisor-quote {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================================================
   STRATEJİK POLİTİKA KARAR KARTLARI (.decision-btn)
   ========================================================================== */
.decisions-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.decision-btn {
  background: linear-gradient(135deg, rgba(20, 29, 48, 0.92) 0%, rgba(13, 20, 36, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.decision-btn:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.25);
  border-color: rgba(96, 165, 250, 0.6);
  background: linear-gradient(135deg, rgba(28, 41, 68, 0.96) 0%, rgba(18, 27, 48, 0.98) 100%);
}

.decision-btn:active {
  transform: translateY(-1px) scale(0.995);
}

/* Ekol Özel Temaları ve Sol Vurgu Kenarlığı */
.decision-btn.school-theme-keynesian {
  border-left: 5px solid #6366f1;
}
.decision-btn.school-theme-keynesian:hover {
  border-color: #818cf8;
  box-shadow: 0 16px 36px -4px rgba(99, 102, 241, 0.35), 0 0 25px rgba(99, 102, 241, 0.3);
}

.decision-btn.school-theme-monetarist {
  border-left: 5px solid #3b82f6;
}
.decision-btn.school-theme-monetarist:hover {
  border-color: #60a5fa;
  box-shadow: 0 16px 36px -4px rgba(59, 130, 246, 0.35), 0 0 25px rgba(59, 130, 246, 0.3);
}

.decision-btn.school-theme-socialdem {
  border-left: 5px solid #10b981;
}
.decision-btn.school-theme-socialdem:hover {
  border-color: #34d399;
  box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.35), 0 0 25px rgba(16, 185, 129, 0.3);
}

.decision-btn.school-theme-austrian {
  border-left: 5px solid #f59e0b;
}
.decision-btn.school-theme-austrian:hover {
  border-color: #fbbf24;
  box-shadow: 0 16px 36px -4px rgba(245, 158, 11, 0.35), 0 0 25px rgba(245, 158, 11, 0.3);
}

.decision-btn.school-theme-developmental {
  border-left: 5px solid #a855f7;
}
.decision-btn.school-theme-developmental:hover {
  border-color: #c084fc;
  box-shadow: 0 16px 36px -4px rgba(168, 85, 247, 0.35), 0 0 25px rgba(168, 85, 247, 0.3);
}

.decision-btn.school-theme-institutional {
  border-left: 5px solid #06b6d4;
}
.decision-btn.school-theme-institutional:hover {
  border-color: #22d3ee;
  box-shadow: 0 16px 36px -4px rgba(6, 182, 212, 0.35), 0 0 25px rgba(6, 182, 212, 0.3);
}
.decision-btn.school-theme-ecological {
  border-left: 5px solid #10b981;
}
.decision-btn.school-theme-ecological:hover {
  border-color: #34d399;
  box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.35), 0 0 25px rgba(16, 185, 129, 0.3);
}

/* 1. ÜST: İKTİSADİ EKOL BAŞLIĞI & SEÇENEK ROZETİ */
.decision-school-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.school-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
}

.school-icon-badge {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.school-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.school-headline {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fbbf24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-subtext {
  font-size: 0.71rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.decision-letter-pill {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  padding: 0.22rem 0.55rem;
  border-radius: 99px;
}

.pill-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pill-letter {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
}

/* 2. ALTINDA: POLİTİKA BAŞLIĞI */
.decision-policy-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.1px;
}

/* 3. POLİTİKA GEREKÇESİ VE MEKANİZMASI */
.decision-narrative {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.policy-mechanics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.mech-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.22rem 0.55rem;
  font-size: 0.74rem;
}

.mech-label {
  color: var(--text-muted);
  font-weight: 600;
}

.mech-value {
  color: #93c5fd;
  font-weight: 700;
}

/* 4. CANLI GRAFİK YANSIMASI ÖNİZLEME ROZETİ */
.decision-graph-preview-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(30, 58, 138, 0.18) 100%);
  border: 1.2px solid rgba(96, 165, 250, 0.35);
  border-radius: 8px;
  padding: 0.48rem 0.75rem;
  transition: all 0.25s ease;
}

.decision-btn:hover .decision-graph-preview-strip {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.22) 0%, rgba(30, 58, 138, 0.3) 100%);
  border-color: #60a5fa;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: #bfdbfe;
  flex: 1;
  min-width: 0;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 1.4s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.6; }
}

.strip-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  white-space: nowrap;
}

/* 5. ALT ÇUBUK VE EYLEM BUTONU */
.decision-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.footer-hint {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.74rem;
}

.footer-action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  transition: transform 0.2s ease, color 0.2s ease;
}

.decision-btn:hover .footer-action {
  color: #fde68a;
  transform: translateX(4px);
}

.footer-arrow {
  font-size: 0.95rem;
}

/* Canlı Grafik Başlığı ve Rozeti */
.graph-live-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
  animation: pulseBadge 1.8s infinite alternate;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  word-break: break-word;
  display: inline-block;
}

@keyframes pulseBadge {
  0% { transform: scale(0.98); opacity: 0.85; }
  100% { transform: scale(1.02); opacity: 1; }
}

.graph-highlight-active {
  border-color: #60a5fa !important;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.45) !important;
}

/* ==========================================================================
   TOPLUMSAL ÇIKAR GRUPLARI BAROMETRESİ (.groups-list)
   ========================================================================== */
.groups-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.group-row {
  background: rgba(18, 26, 44, 0.7);
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.group-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #e2e8f0;
}

.group-bar-track {
  width: 100%;
  height: 9px;
  background: rgba(10, 14, 26, 0.8);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.group-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s ease, background-color 0.4s ease;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

/* İktisadi Grafik & Teori Notu */
.graph-container {
  background: rgba(11, 16, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.graph-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.graph-svg text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

.graph-caption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border-left: 3.5px solid var(--accent-gold);
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.theory-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.theory-box strong {
  color: #93c5fd;
}

/* ==========================================================================
   İNTERAKTİF TEORİ KARTI & HOVER İLE AÇILAN GÖRSEL POPOVER (.theory-interactive-card)
   ========================================================================== */
.theory-interactive-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.15rem;
  cursor: help;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.theory-interactive-card:hover {
  border-color: #38bdf8;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.28), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.theory-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.theory-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.theory-card-icon {
  font-size: 1rem;
}

.theory-hover-prompt {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

.theory-interactive-card:hover .theory-hover-prompt {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
  transform: scale(1.02);
}

.theory-card-body {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.theory-card-body strong {
  color: #f1f5f9;
  font-weight: 800;
}

/* ==========================================================================
   SAĞ PANEL TEORİ VE GÖRSEL ŞEMA SİSTEMİ (.theory-panel-content)
   Canlı Grafik Laboratuvarı yerine hover / tıklama ile sağ tarafta açılır
   ========================================================================== */

/* Modern CSS :has() ile anında sıfır gecikmeli geçiş */
.sim-grid:has(.theory-interactive-card:hover) .graph-panel-content,
.sim-grid.theory-active .graph-panel-content {
  display: none !important;
}

.sim-grid:has(.theory-interactive-card:hover) .theory-panel-content,
.sim-grid.theory-active .theory-panel-content {
  display: block !important;
  animation: theoryFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-grid:has(.theory-interactive-card:hover) #admin-right-graph-panel,
.sim-grid:has(.theory-interactive-card:hover) #student-right-graph-panel,
.theory-mode-active {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.38), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.96) 0%, rgba(10, 16, 30, 0.98) 100%) !important;
}

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

.theory-right-panel-view {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theory-right-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
}

.theory-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseLight 1.8s infinite;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.theory-right-title {
  margin: 0.2rem 0 0.15rem 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.theory-right-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.popover-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
}

.theory-right-svg-wrapper {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.6);
  padding: 0.25rem;
}

.theory-right-bullets-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
}

.bullets-header {
  font-size: 0.82rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bullet-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0.45rem;
}

.bullet-item:last-child {
  margin-bottom: 0;
}

.bullet-label {
  color: #fbbf24;
  font-weight: 800;
}

.bullet-text {
  color: #e2e8f0;
}

.theory-right-footer {
  font-size: 0.74rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.45rem;
}

.theory-interactive-card.is-pinned {
  border-color: #f59e0b !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3) !important;
}

.theory-interactive-card.is-pinned .theory-hover-prompt {
  background: #d97706 !important;
  color: #fff !important;
  border-color: #fbbf24 !important;
}

/* ==========================================================================
   SAĞ DİNAMİK SAHNE & POLİTİKA ONAY SİSTEMİ
   ========================================================================== */
#student-right-dynamic-stage-panel,
#right-dynamic-stage-panel,
#admin-right-dynamic-stage-panel {
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  background: var(--bg-card);
}

#student-right-dynamic-stage-panel.theory-mode-active,
#right-dynamic-stage-panel.theory-mode-active,
#admin-right-dynamic-stage-panel.theory-mode-active {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.38), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.96) 0%, rgba(10, 16, 30, 0.98) 100%) !important;
}

#student-right-dynamic-stage-panel.graph-mode-active,
#right-dynamic-stage-panel.graph-mode-active,
#admin-right-dynamic-stage-panel.graph-mode-active {
  border-color: #10b981 !important;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.38), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.96) 0%, rgba(10, 16, 30, 0.98) 100%) !important;
}

.right-stage-view {
  animation: stageFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.policy-confirm-action-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(30, 58, 138, 0.25) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  padding: 0.95rem 1.15rem;
  margin-top: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  animation: stageFadeIn 0.22s ease-out;
}

.confirm-buttons-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-confirm-choice {
  flex: 1;
  min-width: 190px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: 1.5px solid #34d399;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-confirm-choice:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.6);
  transform: translateY(-2px);
}

.btn-confirm-choice:active {
  transform: translateY(1px);
  filter: brightness(0.92);
}

.btn-confirm-choice:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.confirm-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 900;
}

.btn-cancel-choice {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-choice:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

.decision-btn.option-preview-active {
  border-color: #10b981 !important;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
}

.decision-btn.option-preview-active .decision-card-footer {
  border-top-color: rgba(16, 185, 129, 0.4);
}

.decision-btn.option-preview-active .footer-action {
  background: #059669;
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.6);
}

/* Geri Bildirim Bannerı (.turn-feedback) */
.turn-feedback {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(59, 130, 246, 0.15));
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.turn-feedback h4 {
  color: #34d399;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* Debriefing & Yıl Sonu Karnesi */
.debrief-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

/* Modallar */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.modal-content {
  background: rgba(18, 26, 44, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.hidden {
  display: none !important;
}

/* Formlar */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  background: rgba(14, 21, 38, 0.95);
}

/* ==========================================================================
   ÖĞRENCİ NİTEL GÖSTERGE KOKPİTİ (.qualitative-cockpit)
   ========================================================================== */
.qualitative-notice-box {
  padding: 0.95rem 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
  color: #fef3c7;
}

.qualitative-cockpit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.qualitative-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 104px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.qualitative-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.qualitative-title {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.qualitative-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  margin-bottom: 0.45rem;
  line-height: 1.25;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.qualitative-badge.badge-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.qualitative-badge.badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

.qualitative-badge.badge-yellow {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.qualitative-badge.badge-red {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.2);
}

.qualitative-trend {
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   EĞİTMEN ARKA PLAN SKOR KARNESİ & HARF NOTU ROZETLERİ
   ========================================================================== */
.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  font-size: 1.95rem;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.grade-badge.grade-aa { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: 2.5px solid #34d399; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
.grade-badge.grade-ba { background: linear-gradient(135deg, #059669, #0d9488); color: #fff; border: 2.5px solid #2dd4bf; }
.grade-badge.grade-bb { background: linear-gradient(135deg, #0284c7, #2563eb); color: #fff; border: 2.5px solid #38bdf8; }
.grade-badge.grade-cb { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border: 2.5px solid #a78bfa; }
.grade-badge.grade-cc { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; border: 2.5px solid #fcd34d; }
.grade-badge.grade-dc { background: linear-gradient(135deg, #ea580c, #c2410c); color: #fff; border: 2.5px solid #fdba74; }
.grade-badge.grade-ff { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; border: 2.5px solid #f87171; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }

.score-dimension-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.score-dimension-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
}

.score-progress-bar {
  height: 9px;
  background: rgba(10, 14, 26, 0.9);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.score-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.score-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.score-metric-box {
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  position: relative;
  overflow: hidden;
}

.score-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.score-metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

.score-metric-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   ÖĞRENCİ SINIF SEÇİCİ & EXCEL İÇE/DIŞA AKTARMA BİLEŞENLERİ
   ========================================================================== */
.table-class-select {
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 28, 0.9);
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.table-class-select:hover, .table-class-select:focus {
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

.table-edit-pwd-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-edit-pwd-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #ffffff;
  border-color: var(--accent-gold);
}

.excel-drop-zone {
  border: 2px dashed rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background: rgba(245, 158, 11, 0.04);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.excel-drop-zone:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.09);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}


/* ==========================================================================
   VİNTAGE AÇILIŞ GAZETESİ & MODAL SİSTEMİ
   ========================================================================== */
.btn-newspaper-trigger {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  color: #fbbf24;
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

.btn-newspaper-trigger:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0.5) 100%);
  border-color: #fbbf24;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

/* Modal Karartma Perdesi */
.vintage-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Modal Gövdesi */
.vintage-modal-card {
  position: relative;
  background: linear-gradient(165deg, #111827 0%, #0f172a 55%, #0a0e1a 100%);
  color: var(--text-primary);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 36px rgba(59, 130, 246, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Kapatma Butonu (Sağ Üst X) */
.vintage-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.vintage-modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #dc2626;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}

.vintage-modal-content {
  overflow-y: auto;
  padding: 2.2rem 2.5rem 1.5rem 2.5rem;
  flex: 1;
}

.vintage-modal-footer {
  padding: 0.9rem 2.5rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

/* Gazete Görsel Mizanpajı */
.vintage-newspaper-wrapper {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vintage-top-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 2.75rem 0.55rem 0;
  border-bottom: 1.5px solid rgba(251, 191, 36, 0.3);
  color: var(--text-secondary);
}

.vintage-top-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--text-secondary);
}

.vintage-meta-sep {
  color: var(--text-muted);
  font-weight: 400;
}

.vintage-stamp {
  background: var(--accent-red-dim);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.45);
  padding: 0.24rem 0.65rem;
  border-radius: 4px;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.vintage-paper-title {
  font-family: 'Cinzel', 'Newsreader', Georgia, serif;
  font-size: 2.45rem;
  font-weight: 900;
  text-align: center;
  color: var(--accent-gold);
  letter-spacing: 0.03em;
  margin: 0.6rem 0 0.15rem 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.vintage-paper-motto {
  text-align: center;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.vintage-double-divider {
  border-top: 3px double rgba(251, 191, 36, 0.4);
  margin: 0.5rem 0 0.85rem 0;
}

.vintage-thin-divider {
  border-top: 1px solid var(--border-color);
  margin: 0.85rem 0;
}

.vintage-headline-section {
  text-align: center;
  margin: 0.5rem 0 0.75rem 0;
}

.vintage-main-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: calc(1.75rem * var(--reading-scale, 1));
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.vintage-subheadline {
  font-size: calc(1.05rem * var(--reading-scale, 1));
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.45;
  font-style: italic;
}

/* 2-3 Kolonlu Gazete Grid */
.vintage-newspaper-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.8rem;
  align-items: start;
}

.vintage-lead-column {
  text-align: justify;
}

.vintage-first-letter-lead {
  font-size: calc(0.96rem * var(--reading-scale, 1));
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

.vintage-dropcap {
  float: left;
  font-size: 3.4rem;
  line-height: 0.8;
  font-weight: 900;
  margin-right: 0.55rem;
  margin-top: 0.2rem;
  color: var(--accent-gold);
  font-family: 'Cinzel', Georgia, serif;
}

.vintage-investigation-box {
  background: rgba(251, 191, 36, 0.08);
  border-left: 4px solid var(--accent-gold);
  padding: 0.85rem 1.1rem;
  font-size: calc(0.88rem * var(--reading-scale, 1));
  line-height: 1.55;
  margin-bottom: 1.15rem;
  border-radius: 0 6px 6px 0;
  color: var(--text-secondary);
}

.vintage-editorial-box {
  border: 1px dashed rgba(251, 191, 36, 0.35);
  padding: 0.95rem 1.15rem;
  background: rgba(18, 26, 44, 0.72);
  border-radius: 6px;
}

.editorial-author-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.14);
  padding-bottom: 0.3rem;
}

.editorial-text {
  font-size: calc(0.88rem * var(--reading-scale, 1));
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Sağ Kolon: Makro Tablo & Tebliğ */
.vintage-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vintage-macro-card {
  background: rgba(18, 26, 44, 0.85);
  border: 1px solid var(--border-color);
  padding: 1rem 1.15rem;
  border-radius: 8px;
}

.macro-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
  padding-bottom: 0.4rem;
  margin-bottom: 0.65rem;
  color: var(--accent-gold);
  white-space: nowrap;
}

.macro-card-title > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.badge-starting-tag {
  background: var(--accent-gold-dim);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 0.62rem;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.vintage-macro-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.v-macro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.2rem 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.v-m-lbl {
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.v-m-val {
  font-weight: 800;
  font-family: monospace, sans-serif;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.v-m-val.good { color: #34d399; }
.v-m-val.warn { color: #fbbf24; }
.v-m-val.bad { color: #f87171; }

.v-macro-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  line-height: 1.35;
  font-style: italic;
  text-align: center;
}

.vintage-official-dispatch {
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-primary);
  padding: 1rem 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.dispatch-header {
  color: #fbbf24;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dispatch-body {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cbd5e1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 768px) {
  .vintage-newspaper-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .vintage-modal-card {
    max-height: 95vh;
  }
  .vintage-modal-content {
    padding: 1.5rem 1.2rem;
  }
  .vintage-paper-title {
    font-size: 1.7rem;
  }
  .vintage-main-headline {
    font-size: 1.35rem;
  }
}


/* ==========================================================================
   EĞİTMEN POLİTİKA ANALİTİĞİ & İKTİSADİ DOKTRİN RAPORLARI STİLLERİ
   ========================================================================== */

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.analytics-kpi-card {
  background: rgba(18, 26, 44, 0.75);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.analytics-kpi-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.analytics-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
  opacity: 0.8;
}

.analytics-kpi-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.analytics-kpi-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.analytics-kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.doctrine-bars-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doctrine-bar-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
}

.doctrine-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.doctrine-bar-name {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doctrine-bar-stat {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.doctrine-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.doctrine-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.weekly-policy-card {
  background: rgba(18, 26, 44, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  transition: border-color 0.2s;
}

.weekly-policy-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
}

.weekly-policy-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.55rem;
  margin-bottom: 0.75rem;
}

.weekly-policy-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.policy-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
}

.policy-option-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Birebir Öğrenci Karar Raporu Modalı */
.analytics-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s ease;
}

.analytics-modal-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(251, 191, 36, 0.15);
  width: 100%;
  max-width: 1000px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-primary);
}

.analytics-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 26, 44, 0.95);
}

.analytics-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.analytics-modal-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  background: rgba(18, 26, 44, 0.95);
}

.analytics-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.analytics-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   POLİTİKA MİNİ-SAVUNMA & İKTİSADİ GEREKÇELENDİRME PANELİ
   ========================================================================== */
.policy-defense-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 30, 55, 0.98) 100%);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-top: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(245, 158, 11, 0.18);
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.defense-header {
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
}

.defense-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.defense-badge-icon {
  font-size: 1.15rem;
}

.defense-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
}

.defense-selected-policy {
  font-size: 0.82rem;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent-gold);
}

.defense-prompt-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.75rem;
}

.defense-prompt-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.defense-prompt-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.defense-prompt-list li {
  margin-bottom: 0.2rem;
}

.defense-textarea-container {
  margin-bottom: 0.85rem;
}

.defense-textarea-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.defense-char-counter {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.defense-char-counter.valid {
  color: #34d399;
}

.defense-char-counter.warning {
  color: #f87171;
}

.policy-defense-textarea {
  width: 100%;
  min-height: 95px;
  background: rgba(10, 15, 29, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #f8fafc;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.policy-defense-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  background: rgba(10, 15, 29, 0.98);
}

.policy-defense-textarea.has-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.defense-validation-msg {
  font-size: 0.72rem;
  color: #f87171;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.defense-buttons-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-apply-policy {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
  flex: 1 1 220px;
}

.btn-apply-policy:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-1px);
}

/* Öğrenci Savunma Alıntı Kartı (Eğitmen Analitik ve Not Modalı) */
.student-defense-quote-box {
  margin-top: 0.45rem;
  padding: 0.55rem 0.8rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3.5px solid var(--accent-gold);
  border-radius: 6px;
  font-size: 0.77rem;
  color: #e2e8f0;
}

.defense-quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.75rem;
}

.defense-date-tag {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: normal;
}

.defense-quote-text {
  line-height: 1.45;
  font-style: italic;
  color: #f1f5f9;
}

/* ==========================================================================
   SINIFIN EN İYİLERİ & ONUR KÜRSÜSÜ (PODIUM & LEADERBOARD)
   ========================================================================== */
.leaderboard-hero-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(15, 23, 42, 0.98) 100%);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.leaderboard-filters-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 110px;
}

/* Onur Kürsüsü (Podium) Izgarası */
.podium-stage-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
  padding: 1rem 0.5rem;
  flex-wrap: wrap;
}

.podium-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.podium-card:hover {
  transform: translateY(-4px);
}

/* 1. SIRA (ALTIN ŞAMPİYON) */
.podium-card.first {
  order: 2;
  flex: 1 1 310px;
  max-width: 350px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, rgba(18, 26, 44, 0.95) 45%, rgba(10, 15, 29, 0.98) 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(251, 191, 36, 0.28);
  min-height: 380px;
}

/* 2. SIRA (GÜMÜŞ) */
.podium-card.second {
  order: 1;
  flex: 1 1 270px;
  max-width: 310px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.14) 0%, rgba(18, 26, 44, 0.95) 45%, rgba(10, 15, 29, 0.98) 100%);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), 0 0 20px rgba(148, 163, 184, 0.2);
  min-height: 340px;
}

/* 3. SIRA (BRONZ) */
.podium-card.third {
  order: 3;
  flex: 1 1 270px;
  max-width: 310px;
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.12) 0%, rgba(18, 26, 44, 0.95) 45%, rgba(10, 15, 29, 0.98) 100%);
  border: 1.5px solid #d97706;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 119, 6, 0.2);
  min-height: 320px;
}

.podium-crown {
  font-size: 2.2rem;
  margin-top: -0.4rem;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.5));
  animation: floatSlow 3s ease-in-out infinite;
}

.podium-medal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1e1b4b;
  border: 1px solid #fef3c7;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

.badge-silver {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: #0f172a;
  border: 1px solid #f1f5f9;
}

.badge-bronze {
  background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
  color: #fef3c7;
  border: 1px solid #fde68a;
}

.podium-student-id {
  font-size: 0.9rem;
  font-weight: 800;
  color: #93c5fd;
  margin-bottom: 0.15rem;
}

.podium-student-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.podium-country-tag {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.podium-score-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  width: 100%;
  margin-bottom: 0.65rem;
}

.podium-score-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1.1;
}

.podium-grade-pill {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}

.podium-macro-chips {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
}

.podium-quote-snippet {
  background: rgba(245, 158, 11, 0.06);
  border-left: 2.5px solid var(--accent-gold);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  color: #cbd5e1;
  font-style: italic;
  text-align: left;
  line-height: 1.35;
  width: 100%;
  margin-bottom: 0.75rem;
  max-height: 55px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sıralama Tablosu Rozetleri */
.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.78rem;
}

.rank-pill-1 {
  background: #fbbf24;
  color: #1e1b4b;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.rank-pill-2 {
  background: #cbd5e1;
  color: #0f172a;
}

.rank-pill-3 {
  background: #d97706;
  color: #ffffff;
}

.rank-pill-other {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* ==========================================================================
   RESMİ POLİTİK İKTİSAT BAŞARI SERTİFİKASI & DİJİTAL PORTFOLYO
   ========================================================================== */
.cert-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.cert-modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.25);
  overflow: hidden;
}

.cert-modal-toolbar {
  padding: 0.85rem 1.4rem;
  background: rgba(18, 26, 44, 0.98);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  z-index: 10;
}

.cert-scroll-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  justify-content: center;
  background: rgba(10, 14, 26, 0.95);
}

/* Modern Simülasyon Başarı Belgesi */
.certificate-sheet {
  position: relative;
  width: 100%;
  max-width: 840px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

.cert-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #0b1324 100%);
  color: #f8fafc;
  padding: 1.45rem 2.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 4px solid #d97706;
}

.cert-banner-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cert-monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.cert-inst-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

.cert-inst-subtitle {
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

.cert-banner-meta {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cert-year-chip,
.cert-period-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cert-year-chip {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.cert-period-chip {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cert-body {
  padding: 2rem 2.2rem 1.75rem 2.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cert-header {
  text-align: center;
  margin-bottom: 1.45rem;
}

.cert-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #b45309;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.cert-recipient-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem 0;
  line-height: 1.15;
}

.cert-award-statement {
  font-size: 0.84rem;
  color: #475569;
  max-width: 610px;
  margin: 0 auto 0.85rem auto;
  line-height: 1.55;
}

.cert-recipient-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.38rem 1rem;
  font-size: 0.77rem;
  color: #334155;
}

.cert-dot {
  color: #94a3b8;
}

/* Başarı Metrikleri Kartları */
.cert-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
  gap: 0.9rem;
  margin: 1.25rem 0;
}

.cert-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.cert-metric-card.primary {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #f59e0b;
}

.cert-metric-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.cert-metric-score-row {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.cert-score-big {
  font-size: 1.85rem;
  font-weight: 900;
  color: #92400e;
  line-height: 1;
}

.cert-score-max {
  font-size: 0.85rem;
  font-weight: 700;
  color: #78350f;
}

.cert-grade-pill {
  margin-left: auto;
  background: #0f172a;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.cert-doctrine-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cert-macro-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem 0.6rem;
  margin-bottom: 0.25rem;
}

.cert-macro-mini-grid div {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #475569;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 0.12rem;
}

.cert-macro-mini-grid strong {
  color: #0f172a;
  font-weight: 800;
}

.cert-metric-sub {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.35rem;
}

/* Liyakat Rozetleri */
.cert-badges-section {
  margin: 1.2rem 0 1rem 0;
  text-align: center;
}

.cert-badges-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}

.cert-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cert-badge-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.32rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.cert-badge-icon {
  font-size: 0.85rem;
}

/* Seçkin Politika Savunması Alıntısı */
.cert-defense-quote {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #d97706;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.25rem 0;
}

.cert-defense-label {
  font-weight: 800;
  font-size: 0.71rem;
  color: #92400e;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cert-defense-text {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.86rem;
  line-height: 1.48;
  color: #334155;
  font-style: italic;
}

/* Alt Bilgi Şeridi */
.cert-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e8f0;
}

.cert-footer-item {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.cert-footer-right {
  text-align: right;
}

.cert-footer-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.cert-footer-val {
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
}

.cert-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ==========================================================================
   YAZDIRMA VE PDF ÇIKTISI (PRINT MEDIA STYLES)
   ========================================================================== */
@media print {
  body * {
    visibility: hidden !important;
  }
  #certificate-print-area,
  #certificate-print-area * {
    visibility: visible !important;
  }
  #certificate-print-area {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    z-index: 99999999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .cert-modal-toolbar,
  .cert-no-print {
    display: none !important;
  }
  .certificate-sheet {
    box-shadow: none !important;
    border: 10px double #b45309 !important;
    width: 95% !important;
    max-width: 900px !important;
    padding: 2rem !important;
  }
}





/* ==========================================================================
   AKADEMİK LİYAKAT ROZETLERİ MERKEZİ (BADGES HUB MODAL)
   ========================================================================== */
.badge-hub-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
  animation: modalFadeIn 0.2s ease;
}

.badge-hub-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.2);
  width: 100%;
  max-width: 1050px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-primary);
}

.badge-hub-header {
  padding: 1.15rem 1.6rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 26, 44, 0.98);
}

.badge-hub-tabs-row {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  flex-wrap: wrap;
}

.badge-hub-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.badge-hub-tab-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--accent-gold);
  color: #fbbf24;
}

.badge-hub-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  border-color: #fbbf24;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.badge-hub-tab-btn .badge-count-pill {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.12rem 0.45rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fde68a;
}

.badge-hub-tab-btn.active .badge-count-pill {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.badge-hub-body {
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
  flex: 1;
}

.badge-criteria-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.badge-criteria-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.badge-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.badge-overview-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.badge-overview-card:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}


/* ==========================================================================
   1. ZAMAN SERİSİ MAKRO TREND & PHILLIPS PATİKASI GRAFİKLERİ
   ========================================================================== */
.macro-trend-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (max-width: 900px) {
  .macro-trend-grid {
    grid-template-columns: 1fr;
  }
}

.trend-chart-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.trend-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trend-legend-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.trend-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

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

.phillips-diagnosis-box {
  margin-top: 0.65rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--accent-gold);
  border-radius: 4px;
  padding: 0.55rem 0.75rem;
  font-size: 0.76rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* ==========================================================================
   2. "NE OLURDU?" (KARŞI-OLGUSAL / WHAT-IF ANALİZİ)
   ========================================================================== */
.whatif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.whatif-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.whatif-card.actual {
  border: 1.5px solid #10b981;
  background: rgba(16, 185, 129, 0.07);
}

.whatif-delta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  padding: 0.2rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.whatif-delta-chip {
  font-weight: 800;
  font-size: 0.74rem;
}

.whatif-delta-chip.pos { color: #34d399; }
.whatif-delta-chip.neg { color: #f87171; }
.whatif-delta-chip.neu { color: #94a3b8; }

/* ==========================================================================
   3. SINIF NOT DAĞILIMI & ÇAN EĞRİSİ (GAUSS GRAFİĞİ)
   ========================================================================== */
.bell-curve-panel {
  background: linear-gradient(180deg, rgba(18, 26, 44, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.15rem;
  margin-bottom: 1.15rem;
}

.bell-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.bell-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  text-align: center;
}

/* ==========================================================================
   4. DERS KİTABI REFERANSLARI
   ========================================================================== */
.lit-ref-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 41, 59, 0.65) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-left: 3.5px solid #3b82f6;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #dbeafe;
  line-height: 1.45;
}

/* ==========================================================================
   5. TAM SINIF YEDEĞİ (.JSON) & ÇOKLU CİHAZ SENKRONİZASYON ÇUBUĞU
   ========================================================================== */
.backup-sync-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sync-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   6. SOKAK & PİYASA TEPKİ AKIŞI, ACİL KABİNE ŞOKLARI VE GAZETE ARŞİVİ
   ========================================================================== */
.street-pulse-panel {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-top: 1rem;
}

.street-pulse-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.street-quote-card {
  background: rgba(2, 6, 23, 0.55);
  border-left: 3px solid #38bdf8;
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  font-size: 0.77rem;
  line-height: 1.4;
}

.street-quote-card.positive { border-left-color: #10b981; }
.street-quote-card.negative { border-left-color: #ef4444; }
.street-quote-card.neutral { border-left-color: #fbbf24; }

.street-quote-actor {
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 0.15rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
}

.emergency-shock-card {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.36) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.65);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.18);
}

.emergency-shock-card.resolved {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.28) 0%, rgba(15, 23, 42, 0.92) 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: none;
}

.emergency-shock-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.btn-shock-choice {
  text-align: left;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #f8fafc;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-shock-choice:hover {
  transform: translateY(-1px);
  border-color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
}

.archive-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
  flex: 1;
}

.archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  max-height: calc(88vh - 110px);
  padding-right: 0.35rem;
}

.archive-issue-btn {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #e2e8f0;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.78rem;
}

.archive-issue-btn.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: #fbbf24;
  color: #fbbf24;
  font-weight: 700;
}

.archive-reader {
  overflow-y: auto;
  max-height: calc(88vh - 110px);
  padding-right: 0.25rem;
}

.archive-reader .vintage-newspaper-wrapper {
  background: linear-gradient(165deg, #111827 0%, #0f172a 55%, #0a0e1a 100%);
  color: var(--text-secondary);
  padding: 1.4rem 1.75rem;
  border-radius: 10px;
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .archive-layout {
    grid-template-columns: 1fr;
  }
  .archive-sidebar {
    max-height: 170px;
  }
}

/* ==========================================================================
   7. MOBİL & TABLET TAM UYUMLULUK PAKETİ (TELEFON GİRİŞLERİ İÇİN)
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

img, video, canvas, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

iframe, embed, object {
  width: 100%;
}

.mobile-nav-toggle,
.mobile-admin-tabs-toggle {
  display: none;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  p, li, label, .decision-narrative, .newspaper-body,
  .form-input, .form-select, textarea, input, select {
    font-size: 16px !important;
  }

  .btn, button, .form-input, .form-select, input[type="submit"],
  .archive-issue-btn, .btn-shock-choice, .decision-btn,
  .admin-top-nav-btn, .btn-font-scale, .vintage-modal-close-btn,
  .student-course-pick-card, .admin-accordion-panel summary {
    min-height: 44px;
    min-width: 44px;
  }

  .top-header {
    padding: 0.7rem 0.85rem !important;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .top-header .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-title h1 {
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .brand-title span {
    font-size: 0.82rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    font-size: 0.92rem;
    flex-shrink: 0;
  }

  .top-header.is-login-header .mobile-nav-toggle {
    display: none !important;
  }

  #header-country-status {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #header-country-status.is-mobile-open {
    display: flex;
  }

  #header-country-status > div {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.45rem !important;
  }

  #header-country-status .btn,
  #header-country-status > div > div,
  #header-play-dropdown,
  #header-simulate-dropdown,
  #header-term-dropdown {
    width: 100% !important;
    justify-content: center;
  }

  #header-admin-play-menu,
  #header-admin-simulate-menu,
  #header-admin-term-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 0.4rem;
  }

  .mobile-admin-tabs-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }

  .admin-tabs-bar {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    overflow-x: visible !important;
    gap: 0.4rem;
  }

  .admin-tabs-bar.is-mobile-open {
    display: flex !important;
  }

  .admin-tabs-bar .admin-top-nav-btn {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.92rem !important;
  }

  .container, .app-main, #app-root {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    max-width: 100%;
  }

  .curriculum-hero {
    padding: 0.9rem 1rem !important;
    max-width: 100%;
  }

  .panel {
    padding: 0.9rem !important;
    max-width: 100%;
  }

  .panel > *, .curriculum-hero > * {
    max-width: 100%;
  }

  [style*="overflow-x:auto"],
  [style*="overflow-x: auto"] {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  [style*="min-width"] {
    min-width: 0 !important;
  }

  .newspaper-banner {
    padding: 0.95rem 0.9rem !important;
  }

  .newspaper-headline {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
  }

  .decision-btn {
    padding: 0.85rem 0.9rem !important;
  }

  .decision-school-header {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .school-headline {
    font-size: 0.85rem;
  }

  .policy-mechanics-row {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .decision-graph-preview-strip {
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
  }

  .confirm-buttons-row,
  .defense-buttons-row {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.5rem;
  }

  .confirm-buttons-row .btn,
  .defense-buttons-row .btn {
    min-width: 0 !important;
    min-height: 44px;
    justify-content: center;
    white-space: nowrap !important;
  }

  .vintage-modal-overlay {
    padding: 0.45rem;
  }

  .vintage-modal-card {
    max-height: 94vh;
    width: 100% !important;
  }

  .vintage-newspaper-wrapper {
    padding: 0.85rem 0.95rem !important;
  }

  .vintage-paper-title {
    font-size: 1.45rem !important;
  }

  .vintage-main-headline {
    font-size: 1.2rem !important;
  }

  .vintage-newspaper-grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .macro-trend-grid {
    grid-template-columns: 1fr !important;
  }

  .archive-reader .vintage-newspaper-wrapper {
    padding: 0.9rem 0.95rem;
  }
}

@media (max-width: 480px) {
  .curriculum-hero h2 {
    font-size: 1.15rem !important;
  }

  .decision-policy-name {
    font-size: 1rem;
  }
}

/* ==========================================================================
   8. İNTERAKTİF DEFTER OYUN REHBERİ (.notebook-*)
   ========================================================================== */
.notebook-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.86);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: modalFadeIn 0.25s ease;
}

.notebook-modal-card {
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  background: linear-gradient(165deg, #111827 0%, #0f172a 55%, #0a0e1a 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 16px;
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.85), 0 0 38px rgba(251, 191, 36, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-primary);
}

.notebook-top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.75rem 1.15rem;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.notebook-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.notebook-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.notebook-brand-title {
  font-size: clamp(0.78rem, 2.8vw, 0.88rem);
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.notebook-brand-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.notebook-close-btn {
  justify-self: end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notebook-close-btn:hover {
  background: #ef4444;
  border-color: #dc2626;
  color: #fff;
}

.notebook-top-counter {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: clamp(0.72rem, 2.6vw, 0.82rem);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notebook-counter-num {
  font-weight: 800;
  color: var(--accent-gold);
}

.notebook-counter-sep {
  color: var(--text-muted);
}

.notebook-counter-name {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notebook-stage {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 3.25rem;
  perspective: 1200px;
}

.notebook-flip-next .notebook-page-sheet {
  animation: notebookFlipNext 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.notebook-flip-prev .notebook-page-sheet {
  animation: notebookFlipPrev 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes notebookFlipNext {
  from {
    opacity: 0;
    transform: translateX(28px) rotateY(-8deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}

@keyframes notebookFlipPrev {
  from {
    opacity: 0;
    transform: translateX(-28px) rotateY(8deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}

.notebook-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 56px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--accent-gold);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 3;
}

.notebook-side-arrow.left { left: 0.75rem; }
.notebook-side-arrow.right { right: 0.75rem; }

.notebook-side-arrow:hover:not(:disabled) {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--accent-gold);
}

.notebook-side-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.notebook-page-sheet {
  background: rgba(18, 26, 44, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.notebook-page-header {
  margin-bottom: 0.8rem;
  text-align: center;
}

.notebook-page-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
  max-width: 100%;
}

.notebook-page-title {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.22rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.28;
}

.notebook-page-subtitle {
  margin: 0.3rem auto 0 auto;
  font-size: clamp(0.76rem, 2.6vw, 0.84rem);
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 66ch;
}

.notebook-visual-box {
  background: rgba(10, 14, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.notebook-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Rehber Kartları & Grafik Düzenleri */
.nb-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.nb-step-card,
.nb-panel-card,
.nb-mini-card,
.nb-chart-svg-card,
.nb-effect-card,
.nb-trap-card,
.nb-badge-tile {
  background: linear-gradient(155deg, rgba(24, 34, 58, 0.92), rgba(11, 16, 27, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-width: 0;
  box-sizing: border-box;
}

.nb-accent-gold { border-color: rgba(251, 191, 36, 0.55); }
.nb-accent-blue { border-color: rgba(59, 130, 246, 0.55); }
.nb-accent-green { border-color: rgba(16, 185, 129, 0.55); }
.nb-accent-purple { border-color: rgba(168, 85, 247, 0.55); }
.nb-accent-cyan { border-color: rgba(6, 182, 212, 0.55); }
.nb-accent-red { border-color: rgba(239, 68, 68, 0.55); }
.nb-accent-pink { border-color: rgba(236, 72, 153, 0.55); }
.nb-accent-slate { border-color: rgba(148, 163, 184, 0.45); }

.nb-step-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #f8fafc;
}

.nb-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nb-step-desc,
.nb-mini-card p,
.nb-trap-card p {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.42;
  color: #cbd5e1;
}

.nb-step-pill {
  margin-top: auto;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 0.32rem 0.45rem;
}

.nb-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.nb-chart-layout {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.nb-cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.nb-traps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.nb-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.nb-card-title,
.nb-mini-title,
.nb-trap-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nb-mini-title {
  color: #e2e8f0;
  border-bottom: none;
  padding-bottom: 0;
}

.nb-trap-title {
  color: #fca5a5;
}

.nb-kpi-list {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.nb-kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
}

.nb-kpi-good { color: #34d399; }
.nb-kpi-bad { color: #f87171; }
.nb-kpi-blue { color: #60a5fa; }
.nb-kpi-gold { color: #fbbf24; }

.nb-tradeoff-box {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.nb-tradeoff-item {
  border-radius: 8px;
  padding: 0.48rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #cbd5e1;
}

.nb-tradeoff-pos {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.nb-tradeoff-neg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.nb-effect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  font-size: 0.77rem;
  font-weight: 700;
}

.nb-eff-pos { color: #34d399; }
.nb-eff-neg { color: #f87171; }

.nb-effect-foot {
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #94a3b8;
}

.nb-formula-pill {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.38);
  border-radius: 8px;
  padding: 0.42rem 0.55rem;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #f8fafc;
}

.nb-score-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: #cbd5e1;
}

.nb-status-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nb-status-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.42rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
}

.nb-st-ok { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.4); color: #34d399; }
.nb-st-lock { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.nb-st-term { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.4); color: #93c5fd; }

.nb-badge-tile {
  align-items: center;
  text-align: center;
  padding: 0.6rem 0.45rem;
  gap: 0.22rem;
}

.nb-badge-tile span { font-size: 1.25rem; }
.nb-badge-tile strong { font-size: 0.76rem; color: #f8fafc; line-height: 1.25; }
.nb-badge-tile small { font-size: 0.7rem; color: #94a3b8; font-weight: 700; }

.notebook-explanation-box {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.notebook-explanation-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.notebook-bullets {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.notebook-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.notebook-nav-btn {
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 768px) {
  .notebook-modal-card {
    max-height: 95dvh;
  }
  .notebook-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.7rem;
    gap: 0.4rem;
  }
  .notebook-brand {
    gap: 0.32rem;
    flex-shrink: 0;
  }
  .notebook-icon {
    font-size: 1.05rem;
  }
  .notebook-brand-title {
    font-size: clamp(0.72rem, 2.9vw, 0.82rem);
  }
  .notebook-top-counter {
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
    padding: 0.2rem 0.55rem;
    gap: 0.28rem;
    font-size: clamp(0.64rem, 2.5vw, 0.76rem);
  }
  .notebook-close-btn {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }
  .notebook-stage {
    padding: 0.65rem 0.65rem;
  }
  .notebook-side-arrow {
    display: none;
  }
  .notebook-page-sheet {
    padding: 0.78rem 0.78rem;
  }
  .nb-steps-grid,
  .nb-split-grid,
  .nb-chart-layout,
  .nb-cards-2x2,
  .nb-traps-grid {
    grid-template-columns: 1fr;
  }
  .nb-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notebook-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
  }
  .notebook-nav-btn {
    flex: 1;
    min-width: 0 !important;
    min-height: 42px;
    padding: 0.45rem 0.6rem !important;
    font-size: clamp(0.78rem, 3.2vw, 0.86rem) !important;
    justify-content: center;
  }
}

/* Okuma Yazı Boyutu Ayarı & İktisat Sözlüğü */
.reading-size-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-font-scale {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.48rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.18s ease;
}

.btn-font-scale:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--accent-gold);
}

.quick-student-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 860px) {
  .quick-student-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .quick-student-grid {
    grid-template-columns: 1fr;
  }
}

/* Gazete Arşivi Akıcı Sayfa Çevirme Animasyonu */
@keyframes archivePageFlipNext {
  0% {
    opacity: 0;
    transform: perspective(1200px) translateX(26px) rotateY(-4deg);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) translateX(0) rotateY(0deg);
  }
}

@keyframes archivePageFlipPrev {
  0% {
    opacity: 0;
    transform: perspective(1200px) translateX(-26px) rotateY(4deg);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) translateX(0) rotateY(0deg);
  }
}

.archive-page-turn-next {
  animation: archivePageFlipNext 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left center;
}

.archive-page-turn-prev {
  animation: archivePageFlipPrev 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: right center;
}

/* ==========================================================================
   9. TABLET VE TELEFON MAKSİMUM UYUMLULUK KATMANI (MASAÜSTÜ > 1080px KORUNUR)
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100%;
}

.exempt-weeks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

/* Tablet ve Küçük Dizüstü (769px – 1080px + Altı) */
@media (max-width: 1080px) {
  .top-header {
    padding: 0.78rem 1.05rem;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
  }

  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .admin-tabs-bar {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 0.42rem !important;
  }

  .exempt-weeks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 0.42rem;
  }

  .exempt-week-pick-btn {
    min-height: 40px;
    width: 100%;
    justify-content: center;
  }

  .panel,
  .curriculum-hero,
  .decision-btn,
  .newspaper-banner {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .badge,
  .badge-year,
  .badge-course,
  .school-tag {
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.35;
  }

  #graph-container svg,
  .trend-chart-card svg,
  .vintage-modal-content svg {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .vintage-modal-card,
  .notebook-modal-card {
    width: min(96vw, 920px) !important;
    max-height: 92dvh;
  }
}

@media (max-width: 900px) {
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: auto 1fr auto"],
  [style*="grid-template-columns: 1fr 1fr 0.9fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns: 1.5fr 0.7fr"],
  [style*="grid-template-columns: 1.3fr 0.7fr"] {
    grid-template-columns: 1fr !important;
  }

  .whatif-grid,
  .badge-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* Telefon (<= 768px) */
@media (max-width: 768px) {
  .exempt-weeks-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
  }

  .exempt-week-pick-btn {
    min-height: 44px !important;
    width: 100% !important;
    padding: 0.4rem 0.35rem !important;
    font-size: 0.86rem !important;
    justify-content: center;
    text-align: center;
  }

  /* Satır içi 2+ sütunlu form/karne ızgaralarını telefonda tek sütuna indir (7 günlük takvim ve 12 çubuklu mini grafik hariç) */
  #app-root [style*="grid-template-columns"]:not([style*="repeat(7"]):not([style*="repeat(12"]):not(.metrics-grid):not(.exempt-weeks-grid) {
    grid-template-columns: 1fr !important;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }

  .newspaper-banner::before {
    font-size: 2rem;
    right: 0.65rem;
    bottom: 0.45rem;
  }

  .backup-sync-banner {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }

  .backup-sync-banner > div:last-child {
    width: 100%;
  }

  .backup-sync-banner .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .badge-card-grid,
  .whatif-grid {
    grid-template-columns: 1fr !important;
  }

  .vintage-modal-card {
    max-height: 94dvh !important;
    border-radius: 12px !important;
  }

  .vintage-modal-content {
    padding: 0.75rem !important;
  }
}

/* Küçük Telefon Ekranları (<= 420px) */
@media (max-width: 420px) {
  .exempt-weeks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }
}

/* ==========================================================================
   10. MOBİL/TABLET EKSTRA GRAFİK & TEORİ MODAL PENCERESİ + KART TAŞMA KORUMASI
   ========================================================================== */
.sim-grid > *,
.admin-students-grid > * {
  min-width: 0;
  max-width: 100%;
}

.decisions-list {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.decision-btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-stage-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(6, 10, 20, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow-y: auto;
  animation: modalFadeIn 0.2s ease;
}

.mobile-stage-modal-card {
  position: relative;
  width: min(96vw, 660px);
  max-height: 92dvh;
  overflow-y: auto;
  background: #0f172a;
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 32px rgba(56, 189, 248, 0.18);
  padding: 0.85rem;
  box-sizing: border-box;
}

.mobile-stage-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-stage-modal-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #7dd3fc;
}

.mobile-stage-modal-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  flex-shrink: 0;
}

.mobile-stage-modal-card .panel {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-stage-modal-card svg {
  width: 100% !important;
  height: auto !important;
  display: block;
}

@media (max-width: 1080px) {
  .decision-btn:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  #app-root,
  #app-root .panel,
  #app-root .curriculum-hero,
  #app-root .sim-grid,
  #app-root .sim-grid > *,
  #app-root .decisions-list,
  #app-root .decision-btn,
  #app-root .newspaper-banner,
  #app-root .theory-box,
  #app-root .policy-defense-box,
  #app-root .policy-confirm-action-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .panel-header {
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }

  .panel-title {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    min-width: 0;
    flex: 1 1 180px;
  }

  .decision-btn {
    padding: 0.85rem 0.9rem !important;
    gap: 0.55rem !important;
    overflow: hidden !important;
  }

  .decision-school-header {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .school-brand {
    min-width: 0 !important;
    flex: 1 1 160px !important;
  }

  .school-texts {
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }

  .school-headline,
  .school-subtext {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  .decision-letter-pill {
    flex-shrink: 0 !important;
  }

  .decision-policy-name {
    font-size: 1rem !important;
    line-height: 1.38 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  .decision-narrative,
  .footer-hint,
  .newspaper-headline,
  .newspaper-body,
  #student-lit-ref,
  #student-lit-ref * {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  .policy-mechanics-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .mech-item {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.28rem !important;
    padding: 0.28rem 0.45rem !important;
    font-size: clamp(0.66rem, 2.75vw, 0.78rem) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .mech-label {
    flex-shrink: 0 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .mech-value {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .decision-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .footer-action {
    align-self: flex-end !important;
  }

  #app-root [style*="white-space:nowrap"]:not(.pill-letter):not(.pill-label),
  #app-root [style*="white-space: nowrap"]:not(.pill-letter):not(.pill-label) {
    white-space: normal !important;
  }

  .macro-card-title,
  .v-macro-row {
    white-space: normal !important;
    flex-wrap: wrap !important;
  }

  #app-root .btn:not(.exempt-week-pick-btn):not(.student-banner-action-btn):not(.btn-newspaper-trigger) {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center;
  }

  .mobile-stage-modal-overlay {
    padding: 0.45rem;
    align-items: flex-start;
  }

  .mobile-stage-modal-card {
    width: 100% !important;
    max-height: 95dvh;
    margin: auto 0;
    padding: 0.8rem;
  }
}

/* ==========================================================================
   11. ORTALANMIŞ TİPOGRAFİ VE TEK SATIR YAN YANA EYLEM ÇUBUKLARI
   ========================================================================== */
.student-topbanner-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.15rem 1.35rem !important;
  margin-bottom: 1rem !important;
  gap: 0.85rem !important;
}

.student-topbanner-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.student-topbanner-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.student-topbanner-heading {
  margin: 0 !important;
  font-size: clamp(1.12rem, 2.8vw, 1.42rem) !important;
  line-height: 1.3;
  text-align: center;
  color: #fff;
}

.student-topbanner-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  width: 100%;
  max-width: 680px;
}

.student-banner-action-btn,
.student-topbanner-idbox {
  flex: 1 1 0;
  min-width: 0 !important;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.38rem 0.55rem !important;
  font-size: clamp(0.68rem, 2.4vw, 0.82rem) !important;
  font-weight: 700;
  white-space: nowrap !important;
  border-radius: 9px;
  box-sizing: border-box;
}

.student-banner-archive-btn {
  background: rgba(251, 191, 36, 0.12) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  color: #fbbf24 !important;
}

.student-topbanner-idbox {
  flex-direction: column;
  gap: 0.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.25rem 0.45rem !important;
  text-align: center;
}

.student-id-lbl {
  font-size: clamp(0.56rem, 1.9vw, 0.68rem);
  color: var(--text-secondary);
  line-height: 1.1;
}

.student-id-val {
  font-size: clamp(0.72rem, 2.5vw, 0.88rem);
  font-weight: 800;
  color: #93c5fd;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.sim-week-topic-title {
  text-align: center;
  font-size: clamp(1.02rem, 2.4vw, 1.24rem);
  line-height: 1.4;
  margin: 0 auto 0.85rem auto;
  max-width: 62ch;
}

.newspaper-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-align: center;
}

.newspaper-meta-label {
  font-size: clamp(0.72rem, 2.2vw, 0.8rem);
  letter-spacing: 0.08em;
}

.newspaper-meta-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  width: 100%;
  max-width: 420px;
  margin: 0 auto !important;
}

.newspaper-meta-actions .btn-newspaper-trigger {
  flex: 1 1 0;
  min-width: 0 !important;
  height: auto !important;
  min-height: 38px;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem !important;
  font-size: clamp(0.72rem, 2.6vw, 0.8rem) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-sizing: border-box;
}

.newspaper-meta-actions .theory-interactive-card {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  color: #7dd3fc !important;
}

.newspaper-headline,
.newspaper-body {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 64ch;
}

.newspaper-headline {
  font-size: clamp(1.02rem, 2.5vw, 1.32rem);
  line-height: 1.38;
}

.newspaper-body {
  font-size: clamp(0.86rem, 2.1vw, 0.94rem);
  line-height: 1.62;
}

.lit-ref-box {
  text-align: center;
}

.panel-header {
  justify-content: center !important;
  text-align: center;
}

.panel-title {
  justify-content: center;
  text-align: center;
  font-size: clamp(0.94rem, 2.2vw, 1.06rem);
}

.decision-policy-name {
  text-align: center;
  font-size: clamp(0.96rem, 2.2vw, 1.1rem);
  line-height: 1.42;
  margin: 0 auto;
  max-width: 58ch;
}

.decision-narrative {
  text-align: center;
  font-size: clamp(0.84rem, 2vw, 0.92rem);
  line-height: 1.58;
  margin: 0 auto;
  max-width: 62ch;
}

.policy-mechanics-row {
  justify-content: center;
}

.decision-card-footer {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.footer-hint {
  text-align: center;
  max-width: 60ch;
}

.footer-action {
  justify-content: center;
}

.mech-item {
  justify-content: center;
}

@media (max-width: 1080px) {
  .sim-sticky-column {
    display: none;
  }
}

@media (max-width: 768px) {
  .student-topbanner-hero {
    padding: 0.85rem 0.75rem !important;
  }

  .student-topbanner-actions {
    gap: 0.3rem !important;
  }

  .student-banner-action-btn,
  .student-topbanner-idbox {
    padding: 0.3rem 0.32rem !important;
    min-height: 44px !important;
    font-size: clamp(0.64rem, 2.8vw, 0.78rem) !important;
    white-space: nowrap !important;
  }

  .student-id-fullname {
    display: none;
  }

  .newspaper-meta-actions {
    gap: 0.35rem !important;
  }

  .newspaper-meta-actions .btn-newspaper-trigger {
    min-height: 44px !important;
    padding: 0.32rem 0.45rem !important;
    font-size: clamp(0.72rem, 3vw, 0.82rem) !important;
    white-space: nowrap !important;
  }

  .decision-card-footer .footer-action {
    align-self: center !important;
  }
}

/* ==========================================================================
   12. AÇILAN GRAFİK LABORATUVARI, GEREKÇE PANELİ VE ONAY BUTONLARI UYUMU
   ========================================================================== */
.graph-container {
  background: rgba(11, 16, 27, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.graph-container-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.graph-model-title {
  font-size: clamp(0.72rem, 2.5vw, 0.82rem);
  font-weight: 800;
  color: #cbd5e1;
  text-align: left;
}

.graph-live-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
}

.graph-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.85);
  font-size: clamp(0.65rem, 2.3vw, 0.74rem);
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.graph-svg-stage {
  width: 100%;
  overflow: hidden;
}

.decision-graph-preview-strip {
  justify-content: center;
  text-align: center;
  padding: 0.55rem 0.75rem;
}

.decision-graph-preview-strip .strip-left {
  justify-content: center;
  text-align: center;
  font-size: clamp(0.74rem, 2.6vw, 0.82rem);
  line-height: 1.42;
}

.defense-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.defense-heading {
  font-size: clamp(0.76rem, 3.1vw, 0.92rem);
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.defense-school-badge {
  flex-shrink: 0;
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  font-size: clamp(0.64rem, 2.3vw, 0.72rem) !important;
}

.defense-selected-policy,
.defense-prompt-box {
  text-align: center;
}

.defense-prompt-title {
  justify-content: center;
  font-size: clamp(0.72rem, 2.6vw, 0.78rem);
  line-height: 1.4;
  margin-bottom: 0;
}

.defense-textarea-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  font-size: clamp(0.68rem, 2.7vw, 0.78rem);
  white-space: nowrap;
}

.defense-char-counter {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(0.66rem, 2.5vw, 0.74rem);
}

.confirm-buttons-row,
.defense-buttons-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.confirm-buttons-row .btn,
.defense-buttons-row .btn {
  min-width: 0 !important;
  min-height: 44px;
  padding: 0.5rem 0.65rem !important;
  font-size: clamp(0.76rem, 3vw, 0.88rem) !important;
  white-space: nowrap !important;
  justify-content: center;
  box-sizing: border-box;
}

.confirm-buttons-row .btn-confirm-choice {
  flex: 1.45 1 0;
}

.confirm-buttons-row .btn-cancel-choice,
.defense-buttons-row .btn-apply-policy,
.defense-buttons-row .btn-cancel-choice {
  flex: 1 1 0;
}

.mobile-stage-modal-card #student-stage-live-graph-view > .panel-header,
.mobile-stage-modal-card #admin-stage-live-graph-view > .panel-header {
  justify-content: center;
  margin-bottom: 0.45rem !important;
}

.mobile-stage-modal-card #student-stage-live-graph-view > .panel-header .panel-title,
.mobile-stage-modal-card #admin-stage-live-graph-view > .panel-header .panel-title {
  display: none !important;
}

.mobile-stage-modal-card #student-right-graph-badge,
.mobile-stage-modal-card #admin-right-graph-badge {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(0.68rem, 2.6vw, 0.76rem) !important;
  padding: 0.28rem 0.65rem;
}

@media (max-width: 768px) {
  .graph-container {
    padding: 0.55rem 0.5rem;
  }

  .graph-container-head {
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
  }

  .graph-model-title {
    text-align: center;
  }

  .mobile-stage-modal-card {
    padding: 0.7rem;
  }

  .policy-defense-box,
  .policy-confirm-action-box {
    padding: 0.75rem 0.7rem !important;
    margin-top: 0.65rem !important;
  }
}
