/* ==========================================================================
   GuruCerdas - Core App Design System (Modern Soft-Clay / Hybrid Clay)
   ========================================================================== */

:root, [data-theme="zamrud"] {
  /* TEMA UTAMA: Zamrud Cerdas (Eksklusif: Deep Pine Emerald & Radiant Amber) */
  --primary: #0a4f47;
  --primary-rgb: 10, 79, 71;
  --primary-dark: #06352f;
  --primary-light: #11685e;
  --primary-subtle: #edf7f5;

  /* Aliases untuk kompatibilitas penuh */
  --navy: var(--primary);
  --navy-dark: var(--primary-dark);
  --navy-light: var(--primary-light);
  --navy-subtle: var(--primary-subtle);

  --cream: #f2f7f5;
  --cream-card: #ffffff;

  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fef3c7;

  --teal: #0d9488;
  --teal-light: #f0fdfa;
  --rose: #e11d48;
  --rose-light: #fff1f2;
  --emerald: #10b981;
  --emerald-light: #ecfdf5;

  --text-main: #132220;
  --text-muted: #536b67;
  --text-inverse: #ffffff;

  --border: #dbe5e3;
  --border-strong: #bac8c6;
  --header-gradient: linear-gradient(135deg, #052c27 0%, #0a4f47 55%, #11685e 100%);

  /* Modern Soft-Clay Elevation Tokens */
  --card-shadow: 
    6px 10px 22px -3px rgba(10, 79, 71, 0.08), 
    -6px -6px 16px 0 rgba(255, 255, 255, 0.95), 
    inset 1px 1px 2px 0 rgba(255, 255, 255, 0.8), 
    inset -1px -1px 3px 0 rgba(10, 79, 71, 0.03);
  --clay-card-border: 1px solid rgba(255, 255, 255, 0.8);

  --clay-btn-shadow: 
    3px 6px 14px -1px rgba(10, 79, 71, 0.28), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.38), 
    inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  --clay-btn-active-shadow: 
    1px 2px 5px rgba(10, 79, 71, 0.25), 
    inset 2px 2px 4px rgba(0, 0, 0, 0.25);

  --clay-nav-active-shadow: 
    2px 4px 10px -1px rgba(10, 79, 71, 0.25), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  --clay-pill-shadow: 
    2px 3px 8px rgba(10, 79, 71, 0.12), 
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.5), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.08);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 20px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -4px rgba(0, 0, 0, 0.06);

  --sidebar-w: 260px;
  --header-h: 60px;
}

[data-theme="safir"] {
  /* TEMA 2: Safir Indigo (Modern EdTech & Electric Coral) */
  --primary: #25287a;
  --primary-rgb: 37, 40, 122;
  --primary-dark: #171954;
  --primary-light: #383caa;
  --primary-subtle: #f0f1ff;

  --navy: var(--primary);
  --navy-dark: var(--primary-dark);
  --navy-light: var(--primary-light);
  --navy-subtle: var(--primary-subtle);

  --cream: #f4f5fc;
  --cream-card: #ffffff;

  --gold: #f43f5e;
  --gold-dark: #e11d48;
  --gold-light: #ffe4e6;

  --text-main: #181938;
  --text-muted: #5e6080;
  --border: #e0e2f0;
  --border-strong: #c2c6dc;
  --header-gradient: linear-gradient(135deg, #151648 0%, #25287a 55%, #383caa 100%);

  --card-shadow: 
    6px 10px 22px -3px rgba(37, 40, 122, 0.08), 
    -6px -6px 16px 0 rgba(255, 255, 255, 0.95), 
    inset 1px 1px 2px 0 rgba(255, 255, 255, 0.8), 
    inset -1px -1px 3px 0 rgba(37, 40, 122, 0.03);
  --clay-card-border: 1px solid rgba(255, 255, 255, 0.8);

  --clay-btn-shadow: 
    3px 6px 14px -1px rgba(37, 40, 122, 0.28), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.38), 
    inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  --clay-btn-active-shadow: 
    1px 2px 5px rgba(37, 40, 122, 0.25), 
    inset 2px 2px 4px rgba(0, 0, 0, 0.25);

  --clay-nav-active-shadow: 
    2px 4px 10px -1px rgba(37, 40, 122, 0.25), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  --clay-pill-shadow: 
    2px 3px 8px rgba(37, 40, 122, 0.12), 
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.5), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.08);
}

[data-theme="karamel"] {
  /* TEMA 3: Kopi Karamel (Hangat, Bersahaja & Gaya Nordik) */
  --primary: #4a2c1b;
  --primary-rgb: 74, 44, 27;
  --primary-dark: #2e1b10;
  --primary-light: #673d26;
  --primary-subtle: #faf4ef;

  --navy: var(--primary);
  --navy-dark: var(--primary-dark);
  --navy-light: var(--primary-light);
  --navy-subtle: var(--primary-subtle);

  --cream: #f6f1ec;
  --cream-card: #ffffff;

  --gold: #d97706;
  --gold-dark: #b45309;
  --gold-light: #fef3c7;

  --text-main: #24160e;
  --text-muted: #6e584a;
  --border: #e6ded7;
  --border-strong: #cfc2b6;
  --header-gradient: linear-gradient(135deg, #24140b 0%, #4a2c1b 55%, #673d26 100%);

  --card-shadow: 
    6px 10px 22px -3px rgba(74, 44, 27, 0.08), 
    -6px -6px 16px 0 rgba(255, 255, 255, 0.95), 
    inset 1px 1px 2px 0 rgba(255, 255, 255, 0.8), 
    inset -1px -1px 3px 0 rgba(74, 44, 27, 0.03);
  --clay-card-border: 1px solid rgba(255, 255, 255, 0.8);

  --clay-btn-shadow: 
    3px 6px 14px -1px rgba(74, 44, 27, 0.28), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.38), 
    inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  --clay-btn-active-shadow: 
    1px 2px 5px rgba(74, 44, 27, 0.25), 
    inset 2px 2px 4px rgba(0, 0, 0, 0.25);

  --clay-nav-active-shadow: 
    2px 4px 10px -1px rgba(74, 44, 27, 0.25), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  --clay-pill-shadow: 
    2px 3px 8px rgba(74, 44, 27, 0.12), 
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.5), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.08);
}

[data-theme="lembayung"], [data-theme="dark"] {
  /* TEMA 4: Lembayung Senja (Royal Amethyst & Sunset Coral) */
  --primary: #4c1d95;
  --primary-rgb: 76, 29, 149;
  --primary-dark: #310f6b;
  --primary-light: #6d28d9;
  --primary-subtle: #f5f3ff;

  --navy: var(--primary);
  --navy-dark: var(--primary-dark);
  --navy-light: var(--primary-light);
  --navy-subtle: var(--primary-subtle);

  --cream: #f7f4fc;
  --cream-card: #ffffff;

  --gold: #f97316;
  --gold-dark: #ea580c;
  --gold-light: #ffedd5;

  --text-main: #1e1338;
  --text-muted: #64557d;
  --border: #e6ddfa;
  --border-strong: #cdbbf5;
  --header-gradient: linear-gradient(135deg, #230b49 0%, #4c1d95 55%, #6d28d9 100%);

  --card-shadow: 
    6px 10px 22px -3px rgba(76, 29, 149, 0.08), 
    -6px -6px 16px 0 rgba(255, 255, 255, 0.95), 
    inset 1px 1px 2px 0 rgba(255, 255, 255, 0.8), 
    inset -1px -1px 3px 0 rgba(76, 29, 149, 0.03);
  --clay-card-border: 1px solid rgba(255, 255, 255, 0.8);

  --clay-btn-shadow: 
    3px 6px 14px -1px rgba(76, 29, 149, 0.28), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.38), 
    inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  --clay-btn-active-shadow: 
    1px 2px 5px rgba(76, 29, 149, 0.25), 
    inset 2px 2px 4px rgba(0, 0, 0, 0.25);

  --clay-nav-active-shadow: 
    2px 4px 10px -1px rgba(76, 29, 149, 0.25), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  --clay-pill-shadow: 
    2px 3px 8px rgba(76, 29, 149, 0.12), 
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.5), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.08);
}

[data-theme="delima"] {
  /* TEMA 5: Mawar Delima (Ruby Crimson & Soft Blossom Rose) */
  --primary: #881337;
  --primary-rgb: 136, 19, 55;
  --primary-dark: #4c0519;
  --primary-light: #9f1239;
  --primary-subtle: #fff1f2;

  --navy: var(--primary);
  --navy-dark: var(--primary-dark);
  --navy-light: var(--primary-light);
  --navy-subtle: var(--primary-subtle);

  --cream: #fdf5f6;
  --cream-card: #ffffff;

  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fef3c7;

  --text-main: #270813;
  --text-muted: #784a56;
  --border: #f9d5dc;
  --border-strong: #f4abb9;
  --header-gradient: linear-gradient(135deg, #3d0513 0%, #881337 55%, #be123c 100%);

  --card-shadow: 
    6px 10px 22px -3px rgba(136, 19, 55, 0.08), 
    -6px -6px 16px 0 rgba(255, 255, 255, 0.95), 
    inset 1px 1px 2px 0 rgba(255, 255, 255, 0.8), 
    inset -1px -1px 3px 0 rgba(136, 19, 55, 0.03);
  --clay-card-border: 1px solid rgba(255, 255, 255, 0.8);

  --clay-btn-shadow: 
    3px 6px 14px -1px rgba(136, 19, 55, 0.28), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.38), 
    inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  --clay-btn-active-shadow: 
    1px 2px 5px rgba(136, 19, 55, 0.25), 
    inset 2px 2px 4px rgba(0, 0, 0, 0.25);

  --clay-nav-active-shadow: 
    2px 4px 10px -1px rgba(136, 19, 55, 0.25), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  --clay-pill-shadow: 
    2px 3px 8px rgba(136, 19, 55, 0.12), 
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.5), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.08);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Header */
.app-header {
  height: var(--header-h);
  background: var(--header-gradient, var(--navy));
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-wrap:hover {
  transform: translateY(-1px);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #fbbf24 0%, var(--gold) 60%, var(--gold-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  box-shadow: 
    2px 4px 10px rgba(0, 0, 0, 0.25), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.45), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.brand-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.3);
  margin-left: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-select {
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.theme-select:hover {
  background-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}
.theme-select option {
  color: #1e293b;
  background: #ffffff;
}

.rombel-select {
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.rombel-select:hover {
  background-color: rgba(255, 255, 255, 0.26);
}
.rombel-select option {
  color: var(--text-main);
  background: #fff;
}

.btn-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-license-badge.demo {
  background: linear-gradient(145deg, #fbbf24 0%, var(--gold) 100%);
  color: #78350f;
  box-shadow: 
    2px 4px 10px rgba(245, 158, 11, 0.35), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.6), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}
.btn-license-badge.demo:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
}
.btn-license-badge.active {
  background: linear-gradient(145deg, #34d399 0%, var(--emerald) 100%);
  color: #fff;
  box-shadow: 
    2px 4px 10px rgba(16, 185, 129, 0.35), 
    inset 1px 1px 2px rgba(255, 255, 255, 0.5), 
    inset -1px -1px 2px rgba(0, 0, 0, 0.12);
}
.btn-license-badge.active:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-refresh-header {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--radius-full);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-left: 2px;
  padding: 0;
  line-height: 1;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15), inset 1px 1px 2px rgba(255, 255, 255, 0.35);
}

.btn-refresh-header:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(180deg) scale(1.06);
}

.btn-refresh-header:active {
  transform: scale(0.92) rotate(180deg);
}

/* Layout Container */
.app-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--header-h));
}

/* Sidebar Navigation */
.app-sidebar {
  width: var(--sidebar-w);
  background: #ffffff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
  height: calc(100vh - var(--header-h));
  position: sticky;
  top: var(--header-h);
  box-shadow: 3px 0 16px -4px rgba(0, 0, 0, 0.04);
}

.sidebar-group {
  padding: 14px 14px 6px;
}
.sidebar-group-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 1px solid transparent;
}
.nav-item:hover {
  background-color: var(--navy-subtle);
  color: var(--navy);
  transform: translateX(3px);
  border-color: rgba(var(--primary-rgb), 0.1);
}
.nav-item.active {
  background: var(--header-gradient, var(--navy));
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--clay-nav-active-shadow);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(2px);
}
.nav-item .icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Content Area */
.main-view {
  flex: 1;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .menu-toggle-btn {
    display: block;
  }
  .app-sidebar {
    position: fixed;
    top: var(--header-h);
    left: -100%;
    z-index: 40;
    width: 280px;
    max-width: 85vw;
    transition: left 0.25s ease;
    box-shadow: var(--shadow-lg);
  }
  .app-sidebar.open {
    left: 0;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(0, 0, 0, 0.4);
    z-index: 35;
  }
  .sidebar-backdrop.open {
    display: block;
  }
  .main-view {
    padding: 16px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  .app-header {
    padding: 0 10px;
    gap: 8px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }

  .brand-wrap {
    gap: 8px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-badge {
    display: none !important;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  /* Sembunyikan tombol sekunder di header atas layar HP untuk mencegah horizontal scroll */
  #btnTambahRombel,
  #btnHapusRombel,
  #selectTheme,
  #btnBukaPanduan {
    display: none !important;
  }

  /* Rombel select dan badge lisensi lebih fleksibel dan proporsional di HP */
  .rombel-select {
    max-width: 135px;
    font-size: 0.8rem;
    padding: 5px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .btn-license-badge {
    padding: 5px 10px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .banner-demo {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .banner-demo button {
    width: 100%;
    text-align: center;
  }

  .main-view {
    padding: 12px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .card {
    padding: 14px;
    margin-bottom: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mobile-only-group {
    display: block !important;
  }
}

@media (max-width: 420px) {
  .brand-title {
    font-size: 0.95rem;
  }
  .rombel-select {
    max-width: 105px;
    font-size: 0.74rem;
    padding: 4px 6px;
  }
  .btn-license-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Print Stylesheet (@media print) - Siap Cetak A4 & PDF Instan Tanpa Word
   ========================================================================== */
@media print {
  /* Sembunyikan elemen antarmuka web yang tidak perlu dicetak */
  .app-header,
  .app-sidebar,
  .sidebar-backdrop,
  .toolbar,
  .btn,
  .modal-overlay,
  .toast,
  .alert-demo-gated,
  #bundleProgressContainer,
  #tahunAjaranNotice {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt;
    line-height: 1.35;
  }

  .app-layout {
    display: block !important;
  }

  .main-view {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100% !important;
  }

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

  .table-responsive {
    overflow: visible !important;
  }

  .table-dinas {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 9pt !important;
  }

  .table-dinas th,
  .table-dinas td {
    border: 1px solid #000000 !important;
    color: #000000 !important;
    padding: 4px 6px !important;
  }

  .table-dinas th {
    background: #f1f5f9 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  tr {
    page-break-inside: avoid;
  }

  h2, h3, h4 {
    color: #000000 !important;
  }
}
