body {
  background:
    radial-gradient(
      circle at top left,
      rgba(14, 165, 233, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(16, 185, 129, 0.14),
      transparent 30%
    ),
    #f0f1f3;
}

.presentation-shell {
  min-height: 100vh;
}

.presentation-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(51, 65, 85, 0.85);
}

.presentation-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #cbd5e1;
  border: 1px solid rgba(71, 85, 105, 0.8);
  background: rgba(15, 23, 42, 0.65);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.presentation-menu-link:hover {
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.8);
  background: rgba(15, 23, 42, 0.95);
}

.presentation-menu-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #059669, #0284c7);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.25);
}

.presentation-content {
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .presentation-content {
    padding: 2rem;
  }
}

@media print {
  .presentation-topbar {
    display: none;
  }

  body {
    background: #ffffff;
  }

  .presentation-content {
    padding: 0;
  }
}

/* ================================
   DESKTOP PRESENTATION MENU - SAFE
   ================================ */

.presentation-desktop-menu {
  position: relative;

  margin-top: 0.75rem;
}

.presentation-desktop-menu-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.presentation-desktop-menu-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.presentation-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: #ffffff !important;
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.presentation-home-button:hover {
  color: #ffffff !important;
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.35);
}

.presentation-current-info {
  min-width: 0;
}

.presentation-current-label {
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: #64748b;
}

.presentation-current-title {
  margin-top: 0.25rem;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 900;
  color: #0f172a;
}

.presentation-menu-dropdown {
  position: relative;
  flex-shrink: 0;
}

.presentation-menu-dropdown summary {
  list-style: none;
}

.presentation-menu-dropdown summary::-webkit-details-marker {
  display: none;
}

.presentation-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: #ffffff;
  background: #0f172a;
  border: 1px solid #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: all 0.2s ease;
}

.presentation-menu-trigger:hover {
  color: #ffffff;
  background: #1e293b;
  border-color: #1e293b;
}

.presentation-menu-trigger-text {
  color: #ffffff;
}

.presentation-menu-trigger-icon {
  width: 1rem;
  height: 1rem;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.presentation-menu-dropdown[open] .presentation-menu-trigger-icon {
  transform: rotate(180deg);
}

.presentation-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: 760px;
  max-width: calc(100vw - 3rem);
  padding: 1rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
  z-index: 100;
}

.presentation-menu-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.presentation-menu-panel-title {
  font-size: 0.875rem;
  font-weight: 900;
  color: #0f172a;
}

.presentation-menu-panel-subtitle {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #64748b;
}

.presentation-menu-panel-badge {
  flex-shrink: 0;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.presentation-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

@media (min-width: 1280px) {
  .presentation-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.presentation-menu-card {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.presentation-menu-card:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  transform: translateY(-1px);
}

.presentation-menu-card:hover .presentation-menu-card-title {
  color: #1d4ed8 !important;
}

.presentation-menu-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.presentation-menu-card-title {
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a !important;
}

.presentation-menu-card-subtitle {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  color: #2563eb !important;
}

.presentation-menu-card-active {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%) !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28) !important;
}

.presentation-menu-card-active:hover {
  background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%) !important;
  border-color: #1e40af !important;
  transform: none;
}

.presentation-menu-card-active .presentation-menu-card-title,
.presentation-menu-card-active:hover .presentation-menu-card-title {
  color: #ffffff !important;
}

.presentation-menu-card-active .presentation-menu-card-subtitle,
.presentation-menu-card-active:hover .presentation-menu-card-subtitle {
  color: #e0f2fe !important;
}

.presentation-menu-active-badge {
  flex-shrink: 0;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.25) !important;
}

/* =====================================================
   MOBILE MENU ITEMS
===================================================== */

.presentation-mobile-menu-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1e293b !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.presentation-mobile-menu-item:hover {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  border-color: #bae6fd !important;
}

.presentation-mobile-menu-item.active,
.presentation-mobile-menu-item.active:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%) !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3) !important;
}

/* ================================
   DESKTOP PRESENTATION MENU GROUP
   ================================ */

.presentation-menu-group {
  grid-column: 1 / -1;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.presentation-menu-group summary {
  list-style: none;
}

.presentation-menu-group summary::-webkit-details-marker {
  display: none;
}

.presentation-menu-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 0.9rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.presentation-menu-group-trigger:hover {
  background: #eff6ff;
}

.presentation-menu-group[open] .presentation-menu-group-trigger {
  background: #eff6ff;
  border-bottom-color: #dbeafe;
}

.presentation-menu-group-trigger-active {
  background: #eff6ff;
}

.presentation-menu-group-title {
  font-size: 0.875rem;
  font-weight: 900;
  color: #0f172a;
}

.presentation-menu-group-subtitle {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2563eb;
}

.presentation-menu-group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  color: #2563eb;
  background: #dbeafe;
}

.presentation-menu-group-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #2563eb;
  transition: transform 0.2s ease;
}

.presentation-menu-group[open] .presentation-menu-group-icon {
  transform: rotate(180deg);
}

.presentation-menu-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
  background: #ffffff;
}

@media (min-width: 1280px) {
  .presentation-menu-group-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.presentation-menu-group-link {
  display: block;
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.presentation-menu-group-link:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.presentation-menu-group-link-title {
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
}

.presentation-menu-group-link-note {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #2563eb;
}

.presentation-menu-group-link-active {
  background: #2563eb;
  border-color: #2563eb;
}

.presentation-menu-group-link-active .presentation-menu-group-link-title {
  color: #ffffff;
}

.presentation-menu-group-link-active .presentation-menu-group-link-note {
  color: #dbeafe;
}

/* =====================================================
   SURVEY BUTTON & DROPDOWN PANEL
===================================================== */

.presentation-survey-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0d9488 0%, #059669 100%) !important;
  border: 1px solid #0d9488 !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.presentation-survey-button::-webkit-details-marker {
  display: none;
}

.presentation-survey-button:hover {
  background: linear-gradient(135deg, #0f766e 0%, #047857 100%) !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.presentation-survey-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  width: 220px;
  border-radius: 1rem;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2) !important;
  padding: 0.5rem;
  z-index: 100;
}

.presentation-survey-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1e293b !important;
  text-decoration: none;
  transition: all 0.15s ease;
}

.presentation-survey-item:hover {
  background: #f0fdf4 !important;
  color: #047857 !important;
}

.presentation-mobile-survey-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46 !important;
  background: #ffffff !important;
  border: 1px solid #a7f3d0 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.presentation-mobile-survey-item:hover,
.presentation-mobile-survey-item:focus {
  color: #047857 !important;
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
}
