:root {
  --navy-950: #07152b;
  --navy-900: #0b1f3a;
  --navy-800: #162e52;
  --navy-700: #29456e;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #dce8f5;
  --slate-100: #f3f8ff;
  --slate-50: #f8fbff;
  --primary-600: #1565c0;
  --primary-700: #0d4b9a;
  --primary-50: #e8f2ff;
  --gold-500: #f5b301;
  --gold-600: #d99b00;
  --gold-50: #fffbeb;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-50: #f0fdf4;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-50: #fef2f2;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 4px 16px rgba(15, 36, 71, 0.05);
  --shadow-md: 0 12px 28px rgba(15, 36, 71, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, Helvetica, Arial, sans-serif;
  background-color: var(--slate-100);
  color: var(--navy-900);
  line-height: 1.5;
  min-height: 100vh;
}

/* Topbar (Unified Daylight Glassmorphic Navbar Across Platform) */
.topbar {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.72rem clamp(1.25rem, 3.5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 36, 71, 0.05);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  box-shadow: 0 4px 12px rgba(15, 36, 71, 0.16);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  white-space: nowrap;
}

.brand-title span {
  color: var(--primary-600);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-style: normal;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.role-pill {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Main Container */
.app-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Cards & Grid */
.card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary-600);
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-700);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd23f, #f5b301);
  color: #0b1f3a;
  font-weight: 800;
}
.btn-gold:hover:not(:disabled) {
  background: linear-gradient(135deg, #f5b301, #d99b00);
  color: #0b1f3a;
}

.btn-success {
  background: var(--green-600);
  color: #ffffff;
}
.btn-success:hover:not(:disabled) {
  background: #15803d;
}

.btn-danger {
  background: var(--red-600);
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  background: #b91c1c;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--slate-200);
  color: var(--navy-800);
}
.btn-outline:hover:not(:disabled) {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
}

/* Forms */
.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--navy-900);
  background: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
}

.badge-success {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid #86efac;
}

.badge-danger {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid #fca5a5;
}

.badge-warning {
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid #fcd34d;
}

.badge-info {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid #93c5fd;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--slate-200);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.nav-tab {
  padding: 0.65rem 1.15rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-600);
  cursor: pointer;
}

.nav-tab.active {
  color: var(--primary-600);
  border-bottom-color: var(--primary-600);
}

/* ============================================================================
   CAT BKN EXAM SIMULATOR LAYOUT (PRD Section 3.3)
   ============================================================================ */
.cat-header-bar {
  background: linear-gradient(125deg, #0d4b9a 0%, #1565c0 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-left: 6px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}

.cat-timer-box {
  background: #0b1f3a;
  border: 2px solid var(--gold-500);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffd23f;
  letter-spacing: 0.05em;
}

.cat-timer-box.urgent {
  border-color: var(--red-600);
  color: #f87171;
  animation: pulseUrgent 1s infinite;
}

@keyframes pulseUrgent {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.cat-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 960px) {
  .cat-layout {
    grid-template-columns: 1fr;
  }
}

.cat-question-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.cat-option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cat-option-item:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.cat-option-item.selected {
  background: var(--primary-50);
  border-color: var(--primary-600);
}

.cat-option-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--navy-900);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--slate-400);
}

.cat-option-item.selected .cat-option-badge {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

/* 110-Number Grid (PRD 3.3: Green = Answered, Red = Unanswered, Blue Border = Current) */
.cat-nav-panel {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: sticky;
  top: 76px;
}

.cat-number-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  max-height: 440px;
  overflow-y: auto;
  padding: 0.25rem;
}

.cat-num-btn {
  height: 38px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  border: 2px solid transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease;
}

/* Unanswered = Red */
.cat-num-btn.unanswered {
  background-color: var(--red-600);
}

/* Answered = Green */
.cat-num-btn.answered {
  background-color: var(--green-600);
}

/* Active / Current Question = Thick Blue Border + Ring */
.cat-num-btn.current {
  border: 3px solid #1d4ed8;
  box-shadow: 0 0 0 3px #93c5fd;
  transform: scale(1.06);
  z-index: 2;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

table.data-table th,
table.data-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
}

table.data-table th {
  background: var(--slate-50);
  color: var(--navy-800);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* QRIS Checkout Box */
.qris-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--primary-600);
}

.nominal-highlight {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--gold-50);
  border: 2px dashed var(--gold-500);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 0.5rem 0;
}

.NominalUniqueDigits {
  color: var(--red-600);
  text-decoration: underline;
}

/* Dialog */
dialog.app-dialog {
  width: min(840px, 94vw);
  max-height: 88vh;
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
}

dialog.app-dialog::backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}

.dialog-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(125deg, #0d4b9a 0%, #1565c0 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.dialog-body {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(88vh - 64px);
}

.btn-icon {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Toast */
.toast-container {
  position: fixed;
  inset: auto 1.25rem 1.25rem auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast-container:popover-open {
  display: flex;
}

.toast {
  background: #0b1f3a;
  color: #ffffff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  max-width: 360px;
}

.toast.error {
  border-left-color: var(--red-600);
}
.toast.success {
  border-left-color: var(--green-600);
}

/* Histogram Bar */
.hist-bar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}
.hist-bar-track {
  flex: 1;
  background: var(--slate-100);
  height: 16px;
  border-radius: 4px;
  overflow: hidden;
}
.hist-bar-fill {
  height: 100%;
  background: var(--primary-600);
  border-radius: 4px;
}


/* ============================================================================
   MODERN DAYLIGHT SKY-BLUE LANDING PAGE (EDITORIAL & AIRY REFERENCE DESIGN)
   ============================================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1565c0, #3b82f6, #ffc82c);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.landing-mode .scroll-progress {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  body.landing-mode .scroll-progress {
    animation: scrollProgressGrow linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes scrollProgressGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

body.landing-mode {
  background-color: #ffffff;
  color: #0b1f3a;
  overflow-x: hidden;
}

body.landing-mode .app-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Crisp White Sticky Navbar (Reference Style) */
body.landing-mode .topbar {
  background: rgba(255, 255, 255, 0.94);
  color: #0b1f3a;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2ecf7;
  padding: 0.78rem clamp(1.25rem, 4vw, 3.5rem);
  box-shadow: 0 4px 20px rgba(15, 36, 71, 0.05);
}

body.landing-mode .brand-title {
  color: #0b1f3a;
}

body.landing-mode .brand-title span {
  color: #1565c0;
}

body.landing-mode .brand-tagline {
  color: #64748b;
  font-style: normal;
}

.topbar-nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-right: 0.35rem;
}

.topbar-nav-link {
  color: #334155;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.topbar-nav-link.active {
  color: #1565c0;
  font-weight: 700;
}

.topbar-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #1565c0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.topbar-nav-link.active::after,
.topbar-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.topbar-nav-link:hover {
  color: #1565c0;
}

.btn-nav-login {
  background: transparent;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-nav-login:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-nav-cta {
  background: linear-gradient(135deg, #1a6fd1, #1354a8);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.48rem 1.15rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(21, 101, 192, 0.28);
  white-space: nowrap;
}

.btn-nav-cta:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.36);
}

/* Preserved Utility Buttons for Authenticated HUD & Highlights */
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #090e1a;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: btnShimmerSweep 4.5s infinite;
}

@keyframes btnShimmerSweep {
  0%, 70% { left: -60%; }
  100% { left: 130%; }
}

.btn-shimmer:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.48);
}

.btn-sunny-pill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd23f, #f5b301);
  color: #0b1f3a;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.65rem;
  font-size: 0.94rem;
  box-shadow: 0 10px 24px rgba(245, 179, 1, 0.32);
}

.btn-sunny-pill::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(25deg);
  animation: btnShimmerSweep 4.5s infinite;
}

.btn-sunny-pill:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 179, 1, 0.42);
}

/* Shared Section Spacing */
.lp-section {
  padding: clamp(3rem, 5.2vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  position: relative;
}

.lp-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.lp-eyebrow-sky {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1565c0;
  margin-bottom: 0.75rem;
}

.lp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.lp-section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0b1f3a;
  margin-bottom: 0.75rem;
}

.lp-section-subtitle {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
}

/* ============================================================================
   1. BRIGHT SKY-BLUE HERO SECTION
   ============================================================================ */
.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.92) 0%, rgba(223, 240, 255, 0) 46%),
    linear-gradient(180deg, #d7ecff 0%, #eaf4ff 62%, #f8fbff 100%);
  color: #0b1f3a;
  padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.25rem);
}

.lp-hero-sky-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 70%);
  top: -120px;
  right: 8%;
  pointer-events: none;
  animation: auroraDrift1 14s ease-in-out infinite alternate;
}

.lp-hero-horizon-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 170px;
  opacity: 0.35;
  pointer-events: none;
}

@keyframes auroraDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, 20px) scale(1.06); }
}

.lp-hero-layout {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.lp-hero-title {
  font-size: clamp(2.05rem, 3.55vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0b1f3a;
  margin-bottom: 1.1rem;
}

.lp-hero-title-blue {
  display: block;
  color: #1565c0;
}

.lp-hero-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  max-width: 530px;
  margin-bottom: 1.65rem;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.lp-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: none;
  padding: 0.25rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: #0b1f3a;
  transition: transform 0.2s ease;
}

.lp-play-btn:hover {
  transform: translateX(3px);
}

.lp-play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #93c5fd;
  color: #1565c0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(21, 101, 192, 0.14);
  flex-shrink: 0;
}

/* Right Side: Bright Sky Editorial Photo Stage */
.lp-hero-stage {
  position: relative;
}

.lp-hand-note {
  position: absolute;
  top: -16px;
  right: -8px;
  font-family: 'Caveat', cursive;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1e3a8a;
  transform: rotate(-4deg);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.35rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.14);
  z-index: 4;
  pointer-events: none;
  animation: floatSlow 5.2s ease-in-out infinite;
}

.lp-hero-photo-frame {
  position: relative;
  border-radius: 24px;
  padding: 0.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.85));
  border: 1px solid #bfdbfe;
  box-shadow: 0 26px 56px rgba(15, 36, 71, 0.16);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-hero-stage:hover .lp-hero-photo-frame {
  transform: translateY(-4px);
}

.lp-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.lp-cat-mockup {
  background: #ffffff;
  border: 1px solid #cfe2f7;
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: 0 24px 54px rgba(15, 36, 71, 0.14);
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-hero-stage:hover .lp-cat-mockup {
  transform: translateY(-3px);
}

.lp-mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #e2ecf7;
}

.lp-window-dots {
  display: flex;
  gap: 0.36rem;
}

.lp-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.lp-mockup-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0b1f3a;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
}

.lp-mockup-body {
  display: grid;
  grid-template-columns: 1fr 142px;
  gap: 0.85rem;
  align-items: start;
}

.lp-mockup-qcard {
  background: #f8fbff;
  border: 1px solid #e2ecf7;
  color: #0f172a;
  border-radius: 14px;
  padding: 0.95rem;
}

.lp-mockup-qmeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.lp-mockup-qtext {
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.48;
  color: #1e293b;
  margin-bottom: 0.65rem;
}

.lp-mockup-opts {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.lp-mockup-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.42rem 0.58rem;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-mockup-opt:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.lp-mockup-opt.selected {
  border-color: #1565c0;
  background: #eff6ff;
  color: #0b1f3a;
  font-weight: 700;
}

.lp-mockup-opt-key {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.lp-mockup-opt.selected .lp-mockup-opt-key {
  background: #1565c0;
  border-color: #1565c0;
  color: #ffffff;
}

.lp-mockup-grid-panel {
  background: #0f2447;
  color: #ffffff;
  border-radius: 14px;
  padding: 0.72rem;
}

.lp-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin: 0.5rem 0;
}

.lp-mini-num {
  height: 25px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  border: 2px solid transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.lp-mini-num.ans { background: #16a34a; }
.lp-mini-num.unans { background: #dc2626; }
.lp-mini-num.cur {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.55);
  transform: scale(1.08);
}

.lp-float-badge-light {
  position: absolute;
  bottom: -18px;
  left: -14px;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 14px 32px rgba(15, 36, 71, 0.14);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 4;
  pointer-events: none;
  animation: floatDelayed 5.6s ease-in-out infinite;
}

.lp-float-badge-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #15803d;
}

.lp-float-badge-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #334155;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(-7px) rotate(-3deg); }
}

@keyframes floatDelayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(7px); }
}

/* ============================================================================
   2. 5-COLUMN PASTEL ICON FEATURE STRIP (WHITE BAND)
   ============================================================================ */
.lp-feature-strip {
  background: #ffffff;
  border-top: 1px solid #eef4fb;
  border-bottom: 1px solid #eef4fb;
  padding: 2.75rem clamp(1.25rem, 4vw, 3.5rem);
}

.lp-strip-5 {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.lp-strip-item {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 16px;
  transition: transform 0.22s ease;
}

.lp-strip-item:hover {
  transform: translateY(-4px);
}

.lp-pastel-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.25s ease;
}

.lp-strip-item:hover .lp-pastel-circle {
  transform: scale(1.08);
}

.lp-pastel-blue { background: #e8f2ff; color: #1565c0; }
.lp-pastel-green { background: #e6f9ef; color: #15803d; }
.lp-pastel-purple { background: #f3ecff; color: #7c3aed; }
.lp-pastel-amber { background: #fff4de; color: #d97706; }
.lp-pastel-teal { background: #e6f7f8; color: #0e7490; }

.lp-strip-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0b1f3a;
  margin-bottom: 0.35rem;
}

.lp-strip-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

/* ============================================================================
   3. SPLIT "SUBTES & FORMASI" 5-CARD VISUAL STRIP (SOFT ICE-BLUE BAND)
   ============================================================================ */
.lp-ice-band {
  background: #f3f8ff;
}

.lp-dest-layout {
  display: grid;
  grid-template-columns: 295px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.lp-dest-cards-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.lp-dest-card {
  background: #ffffff;
  border: 1px solid #e2ecf7;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.1rem;
  box-shadow: 0 8px 22px rgba(15, 36, 71, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-dest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(21, 101, 192, 0.13);
  border-color: #93c5fd;
}

.lp-dest-cover {
  height: 114px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-50);
}

.lp-dest-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-dest-card:hover .lp-dest-cover-img {
  transform: scale(1.06);
}

.lp-dest-emblem {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(15, 36, 71, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  margin: -20px auto 0.55rem;
  position: relative;
  z-index: 2;
}

.lp-dest-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0b1f3a;
  margin-bottom: 0.25rem;
  padding: 0 0.55rem;
}

.lp-dest-sub {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.45;
  padding: 0 0.65rem;
}

.btn-outline-pill {
  background: #ffffff;
  border: 1.5px solid #93c5fd;
  color: #1565c0;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
}

.btn-outline-pill:hover:not(:disabled) {
  background: #1565c0;
  border-color: #1565c0;
  color: #ffffff;
}

/* ============================================================================
   4. SPLIT "MENGAPA MEMILIH KAMI" + INTERACTIVE SHOWCASE (WHITE BAND)
   ============================================================================ */
.lp-white-band {
  background: #ffffff;
}

.lp-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.lp-why-visual-wrap {
  position: relative;
  padding: 1.25rem;
  border-radius: 26px;
  background: radial-gradient(circle at 35% 30%, #e1effe 0%, #f3f8ff 72%);
  border: 1px solid #dbeafe;
}

.lp-why-hand-note {
  position: absolute;
  top: -16px;
  right: 18px;
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1565c0;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  transform: rotate(3deg);
  box-shadow: 0 6px 16px rgba(21, 101, 192, 0.1);
}

.showcase-tabs-light {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #dbeafe;
  padding: 0.32rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.showcase-tab-btn {
  padding: 0.45rem 0.88rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab-btn.active {
  background: #1565c0;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
}

.showcase-visual-card {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2ecf7;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 14px 34px rgba(15, 36, 71, 0.08);
  animation: panelFadeSlide 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.lp-why-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.lp-why-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.lp-why-point-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.16rem;
}

.lp-why-point-desc {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1.45;
}

.lp-check-circle {
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #1565c0;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.psycho-mini-bars {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.psycho-bar-item {
  font-size: 0.76rem;
}

.psycho-bar-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.22rem;
}

.psycho-bar-track {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.psycho-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: var(--target-w, 70%);
}

.pdf-mini-line {
  height: 5px;
  border-radius: 99px;
  background: #e2e8f0;
  margin-bottom: 5px;
}

/* ============================================================================
   5. "PERJALANAN 4 LANGKAH" HORIZONTAL STEPPER (SOFT ICE-BLUE BAND)
   ============================================================================ */
.lp-steps-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.lp-step-node {
  position: relative;
  padding: 0.75rem 0.5rem;
}

.lp-step-node-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.lp-step-num-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-step-icon-square {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.lp-step-arrow {
  margin-left: auto;
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 700;
}

.lp-step-node:last-child .lp-step-arrow {
  display: none;
}

.lp-step-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0b1f3a;
  margin-bottom: 0.3rem;
}

.lp-step-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
}

/* ============================================================================
   3-STEP TIMELINE & TRANSPARENT TRY-FIRST PRICING
   ============================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.65rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.step-num-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fbbf24;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pricing-fold-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.pricing-fold-box.is-open {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.pricing-fold-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.15rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: #0f172a;
}

.pricing-fold-trigger-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.pricing-fold-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-fold-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pricing-fold-trigger:hover .pricing-fold-action {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.pricing-fold-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.pricing-fold-box.is-open .pricing-fold-chevron {
  transform: rotate(180deg);
}

.pricing-fold-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.pricing-fold-box.is-open .pricing-fold-collapse {
  grid-template-rows: 1fr;
  opacity: 1;
}

.pricing-fold-inner {
  overflow: hidden;
}

.pricing-fold-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 1.15rem 0 1.4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  padding-bottom: 0.35rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.pricing-card.featured {
  background: linear-gradient(145deg, #0d4b9a 0%, #1565c0 100%);
  color: #ffffff;
  border: 2px solid #ffd23f;
  box-shadow: 0 22px 46px rgba(13, 75, 154, 0.22);
  position: relative;
}

.pricing-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.pricing-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 800;
  margin: 0.4rem 0 0.85rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.65rem;
  font-size: 0.88rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================================
   6. ROYAL BLUE CTA BANNER & CLEAN WHITE FOOTER (REFERENCE DESIGN)
   ============================================================================ */
.lp-cta-blue-band {
  background: linear-gradient(125deg, #0d4b9a 0%, #1565c0 55%, #1d74d8 100%);
  color: #ffffff;
  padding: 2.75rem clamp(1.25rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.lp-cta-blue-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.lp-cta-blue-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.lp-cta-blue-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-white-pill {
  background: #ffffff;
  color: #0b1f3a;
  border-radius: 999px;
  padding: 0.8rem 1.55rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(2, 16, 44, 0.22);
}

.btn-white-pill:hover:not(:disabled) {
  background: #f0f7ff;
  transform: translateY(-2px);
}

.lp-cta-blue-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.lp-cta-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-cta-meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.lp-footer {
  background: #ffffff;
  color: #64748b;
  border-top: 1px solid #e2ecf7;
  padding: 1.35rem clamp(1.25rem, 4vw, 3.5rem);
  font-size: 0.82rem;
}

.lp-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ============================================================================
   SCROLL REVEAL ANIMATION
   ============================================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================================
   TABBED AUTH DIALOG MODAL
   ============================================================================ */
dialog.auth-dialog {
  width: min(540px, 94vw);
  max-height: 92vh;
  margin: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  padding: 0;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), display 0.25s allow-discrete, overlay 0.25s allow-discrete;
}

dialog.auth-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  dialog.auth-dialog[open] {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
}

dialog.auth-dialog::backdrop {
  background-color: rgba(6, 11, 24, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-dialog-shell {
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.auth-dialog-close {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.auth-dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.auth-dialog-banner {
  background: linear-gradient(125deg, #0d4b9a 0%, #1565c0 100%);
  color: #ffffff;
  padding: 1.5rem 1.65rem 1.25rem;
}

.auth-tab-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.auth-tab-btn {
  padding: 0.58rem 0.75rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-dialog-body {
  padding: 1.35rem 1.65rem 1.65rem;
}

.auth-form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.72rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--red-50);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-left: 4px solid var(--red-600);
  color: var(--red-700);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
}

.auth-form-alert[hidden] {
  display: none;
}

.password-field-wrap {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
}

.password-toggle-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.auth-remember-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.auth-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main, #0f172a);
  cursor: pointer;
  user-select: none;
}

.auth-remember-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1d4ed8;
  cursor: pointer;
  margin: 0;
}

.auth-remember-hint {
  font-size: 0.76rem;
  color: var(--text-muted, #64748b);
  padding-left: 1.55rem;
  line-height: 1.35;
}

.auth-turnstile-wrap {
  margin: 0.35rem 0 0.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-soft, #f8fafc);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

.turnstile-widget-slot {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turnstile-widget-slot > div {
  width: 100%;
}

.turnstile-status-note {
  font-size: 0.76rem;
  color: var(--text-muted, #64748b);
  text-align: center;
  line-height: 1.35;
}

.turnstile-status-note[hidden] {
  display: none;
}

.turnstile-status-note.success {
  color: #15803d;
  font-weight: 600;
}

.turnstile-status-note.error {
  color: #b91c1c;
  font-weight: 600;
}

.turnstile-retry-btn {
  align-self: center;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: #eff6ff;
  color: #1d4ed8;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.turnstile-retry-btn:hover {
  background: #dbeafe;
}

.turnstile-retry-btn[hidden] {
  display: none;
}

html[data-theme="dark"] .auth-turnstile-wrap {
  background: rgba(15, 23, 42, 0.55);
  border-color: #1e2d47;
}

html[data-theme="dark"] .turnstile-status-note {
  color: #94a3b8;
}

html[data-theme="dark"] .turnstile-status-note.success {
  color: #4ade80;
}

html[data-theme="dark"] .turnstile-status-note.error {
  color: #f87171;
}

html[data-theme="dark"] .turnstile-retry-btn {
  background: rgba(30, 64, 175, 0.25);
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.session-devices-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e2e8f0);
}

.session-device-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.session-device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: var(--bg-soft, #f8fafc);
  font-size: 0.82rem;
}

html[data-theme="dark"] .auth-remember-label {
  color: #e2e8f0;
}

html[data-theme="dark"] .auth-remember-hint {
  color: #94a3b8;
}

html[data-theme="dark"] .session-device-item {
  background: rgba(15, 23, 42, 0.55);
  border-color: #1e2d47;
}

.form-input:user-valid,
.form-select:user-valid {
  border-color: #86efac;
}

.form-input:user-invalid,
.form-select:user-invalid {
  border-color: #fca5a5;
}

.required-mark {
  color: #ef4444;
  font-weight: 800;
}

.password-match-hint {
  font-size: 0.74rem;
  font-weight: 600;
  min-height: 1.05rem;
  margin-top: -0.45rem;
  margin-bottom: 0.65rem;
  color: var(--slate-500);
}

.password-match-hint.error {
  color: var(--red-700);
}

.password-match-hint.success {
  color: var(--green-700);
}

/* ============================================================================
   INSTRUCTOR PACKAGE WIZARD (STEP-BY-STEP UX)
   ============================================================================ */
.wizard-shell {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.wizard-overview-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.wizard-img-preview {
  margin-top: 0.4rem;
  max-height: 110px;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--slate-200);
  display: block;
}

.wizard-img-status {
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  line-height: 1.45;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-600);
}

.wizard-img-status.info {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1e40af;
}

.wizard-img-status.error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

:root[data-theme='dark'] .wizard-img-status.info {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(30, 58, 138, 0.25);
  color: #93c5fd;
}

:root[data-theme='dark'] .wizard-img-status.error {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.28);
  color: #fca5a5;
}

.wizard-topbar {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizard-topbar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wizard-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  position: relative;
}

.wizard-step-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-600);
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
  width: 100%;
}

.wizard-step-btn:hover:not(:disabled) {
  border-color: var(--primary-600);
  background: #ffffff;
}

.wizard-step-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.wizard-step-btn.active {
  background: var(--primary-50);
  border-color: var(--primary-600);
  color: var(--navy-900);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.wizard-step-btn.done {
  background: var(--green-50);
  border-color: #86efac;
  color: var(--navy-900);
}

.wizard-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--navy-800);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wizard-step-btn.active .wizard-step-num {
  background: var(--primary-600);
  color: #ffffff;
}

.wizard-step-btn.done .wizard-step-num {
  background: var(--green-600);
  color: #ffffff;
}

.wizard-step-meta {
  min-width: 0;
}

.wizard-step-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}

.wizard-step-btn.active .wizard-step-kicker {
  color: var(--primary-700);
}

.wizard-step-label {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wizard-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 1.1rem;
  border-top: 1px solid var(--slate-200);
}

/* Method Selector Cards in Step 2 */
.wizard-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.wizard-method-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--slate-200);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.wizard-method-card:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}

.wizard-method-card.active {
  border-color: var(--primary-600);
  background: var(--primary-50);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.wizard-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.wizard-method-card.active .wizard-method-icon {
  background: var(--primary-600);
  color: #ffffff;
}

/* Progress strip */
.wizard-progress-strip {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.wizard-progress-track {
  height: 8px;
  background: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.45rem;
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-600), var(--green-600));
  border-radius: 999px;
  transition: width 0.25s ease;
}

/* Manual Question Editor Split Layout */
.wizard-manual-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.wizard-q-nav-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 0.95rem;
  position: sticky;
  top: 76px;
}

.wizard-q-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.25rem 0.15rem;
}

.wizard-q-num-btn {
  height: 34px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--slate-200);
  background: #ffffff;
  color: var(--slate-600);
  transition: all 0.12s ease;
}

.wizard-q-num-btn.filled {
  background: var(--green-50);
  border-color: #86efac;
  color: var(--green-700);
}

.wizard-q-num-btn.current {
  background: var(--primary-600);
  border-color: var(--primary-700);
  color: #ffffff;
  box-shadow: 0 0 0 2px #93c5fd;
}

/* Excel Upload Dropzone */
.excel-dropzone {
  border: 2px dashed var(--slate-400);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
  padding: 1.6rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.excel-dropzone:hover,
.excel-dropzone.dragover {
  border-color: var(--primary-600);
  background: var(--primary-50);
}

/* Step 4 Decision Radio Cards */
.wizard-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.wizard-decision-card {
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s ease;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.wizard-decision-card:hover:not(.disabled) {
  border-color: var(--slate-400);
}

.wizard-decision-card.selected-draft {
  border-color: var(--gold-500);
  background: var(--gold-50);
}

.wizard-decision-card.selected-publish {
  border-color: var(--green-600);
  background: var(--green-50);
}

.wizard-decision-card.disabled {
  opacity: 0.52;
  cursor: not-allowed;
  background: var(--slate-50);
}

.alert-banner {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  border: 1px solid transparent;
  margin-bottom: 1rem;
}

.alert-banner.info {
  background: var(--primary-50);
  border-color: #93c5fd;
  color: var(--navy-900);
}

.alert-banner.warning {
  background: var(--gold-50);
  border-color: #fcd34d;
  color: var(--navy-900);
}

.alert-banner.danger {
  background: var(--red-50);
  border-color: #fca5a5;
  color: var(--red-700);
}

.alert-banner.success {
  background: var(--green-50);
  border-color: #86efac;
  color: var(--green-700);
}

/* ============================================================================
   PARTICIPANT GAMIFICATION HUD CARD (HARMONIZED SKY-BLUE & ROYAL BLUE THEME)
   ============================================================================ */
.participant-hud {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d7ecff 0%, #eaf4ff 58%, #ffffff 100%);
  color: var(--navy-900);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 1.45rem 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 30px rgba(21, 101, 192, 0.08);
}

.participant-hud::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 101, 192, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 101, 192, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 90% at 85% 20%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 85% 20%, #000 20%, transparent 90%);
  pointer-events: none;
}

.participant-hud-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 70%);
  top: -120px;
  right: -60px;
  filter: blur(24px);
  pointer-events: none;
  animation: hudGlowFloat 8s ease-in-out infinite alternate;
}

@keyframes hudGlowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-24px, 16px) scale(1.1); }
}

.participant-hud-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: center;
}

.hud-rank-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.hud-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: var(--primary-700);
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.72rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
}

.hud-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #cbd5e1;
  color: var(--navy-800);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.72rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.hud-target-chip:hover {
  background: #ffffff;
  border-color: var(--primary-600);
  color: var(--primary-700);
}

.hud-greeting {
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.hud-xp-wrap {
  max-width: 440px;
  margin-bottom: 0.95rem;
}

.hud-xp-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--slate-600);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.hud-xp-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #bfdbfe;
}

.hud-xp-fill {
  height: 100%;
  width: var(--xp-pct, 0%);
  background: linear-gradient(90deg, #1565c0, #3b82f6, #f5b301);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hud-right-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  box-shadow: 0 8px 24px rgba(15, 36, 71, 0.06);
}

.hud-stats-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.hud-stat-tile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  text-align: left;
  color: var(--navy-900);
  font-family: inherit;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.hud-stat-tile:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(21, 101, 192, 0.1);
}

.hud-ring-svg {
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.hud-ring-bg {
  fill: none;
  stroke: #dbeafe;
  stroke-width: 4;
}

.hud-ring-fg {
  fill: none;
  stroke: var(--primary-600);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hud-badges-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hud-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.65rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-600);
  transition: all 0.18s ease;
}

.hud-badge-btn.unlocked {
  background: #e6f9ef;
  border-color: #86efac;
  color: #15803d;
}

.hud-badge-btn.selected,
.hud-badge-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary-600);
  color: var(--primary-700);
  background: var(--primary-50);
}

.hud-badge-hint {
  margin-top: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: var(--primary-50);
  border-left: 3px solid var(--primary-600);
  font-size: 0.75rem;
  color: var(--navy-800);
  animation: panelFadeSlide 0.22s ease;
}

/* ============================================================================
   ADMIN PORTAL INDUSTRY-STANDARD SIDEBAR SHELL
   ============================================================================ */
.admin-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
  transition: grid-template-columns 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-shell.is-collapsed {
  grid-template-columns: 74px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 82px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 0.9rem 0.7rem;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 102px);
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0.45rem 0.75rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--slate-200);
}

.admin-sidebar-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  white-space: nowrap;
}

.admin-collapse-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  transition: background-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.admin-collapse-btn:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  border-color: #bfdbfe;
}

.admin-nav-group {
  margin-bottom: 1rem;
}

.admin-nav-group:last-child {
  margin-bottom: 0;
}

.admin-nav-group-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 0 0.55rem 0.4rem;
  white-space: nowrap;
}

.admin-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-nav-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.65rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--navy-800);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.admin-nav-item:hover {
  background: var(--slate-50);
  color: var(--primary-700);
}

.admin-nav-item.active {
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--primary-600);
}

.admin-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.admin-nav-item.active .admin-nav-icon {
  opacity: 1;
}

.admin-nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-nav-ext {
  font-size: 0.72rem;
  color: var(--slate-400);
  font-weight: 700;
}

.admin-nav-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.71rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.admin-nav-badge.is-pulsing,
.topbar-notif-badge.is-pulsing {
  animation: adminBadgePop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes adminBadgePop {
  0% {
    transform: scale(0.75);
  }
  50% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

.topbar-notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-600);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.topbar-notif-btn:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-700);
  transform: translateY(-1px);
}

.topbar-notif-btn.has-pending {
  color: var(--navy-900);
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.topbar-notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px #ffffff;
}

html[data-theme="dark"] .topbar-notif-btn {
  background: rgba(15, 26, 46, 0.85);
  border-color: #243656;
  color: #cbd5e1;
}

html[data-theme="dark"] .topbar-notif-btn:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: #3b82f6;
  color: #ffffff;
}

html[data-theme="dark"] .topbar-notif-btn.has-pending {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

html[data-theme="dark"] .topbar-notif-badge {
  box-shadow: 0 0 0 2px #091120;
}

.admin-shell.is-collapsed .admin-nav-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  margin-left: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 0.62rem;
  box-shadow: 0 0 0 2px #ffffff;
}

html[data-theme="dark"] .admin-shell.is-collapsed .admin-nav-badge {
  box-shadow: 0 0 0 2px #0f1a2e;
}

.admin-shell.is-collapsed .admin-sidebar-title,
.admin-shell.is-collapsed .admin-nav-group-label,
.admin-shell.is-collapsed .admin-nav-label,
.admin-shell.is-collapsed .admin-nav-ext {
  display: none;
}

.admin-shell.is-collapsed .admin-sidebar-head {
  justify-content: center;
  padding: 0.2rem 0 0.75rem;
}

.admin-shell.is-collapsed .admin-nav-item {
  justify-content: center;
  padding: 0.65rem;
}

.admin-main {
  min-width: 0;
}

.admin-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
}

.admin-mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--navy-900);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-sidebar-backdrop {
  display: none;
}

@media (max-width: 960px) {
  .admin-shell,
  .admin-shell.is-collapsed {
    grid-template-columns: 1fr;
  }

  .admin-mobile-menu-btn {
    display: inline-flex;
  }

  .admin-collapse-btn {
    display: none;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-height: 100vh;
    border-radius: 0;
    z-index: 320;
    transform: translateX(-105%);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 310;
  }
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1024px) {
  .wizard-overview-grid {
    grid-template-columns: 1fr;
  }
  .wizard-stepper {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-manual-layout {
    grid-template-columns: 1fr;
  }
  .wizard-q-nav-box {
    position: static;
  }
  .lp-hero-layout,
  .lp-dest-layout,
  .lp-why-layout,
  .participant-hud-grid {
    grid-template-columns: 1fr;
  }

  .lp-strip-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-dest-cards-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wizard-stepper,
  .wizard-method-grid,
  .wizard-decision-grid {
    grid-template-columns: 1fr;
  }

  .topbar-nav-links {
    display: none;
  }

  .lp-mockup-body,
  .lp-strip-5,
  .lp-dest-cards-5,
  .lp-why-checklist,
  .lp-steps-4,
  .lp-cta-blue-meta {
    grid-template-columns: 1fr;
  }

  .lp-hand-note,
  .lp-why-hand-note,
  .lp-float-badge-light,
  .lp-step-arrow {
    display: none;
  }

  .pricing-fold-trigger {
    flex-direction: column;
    align-items: flex-start;
  }

  .hud-stats-pair {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lp-hero-sky-glow,
  .lp-hand-note,
  .lp-float-badge-light,
  .btn-shimmer::after,
  .btn-sunny-pill::after,
  .participant-hud-glow {
    animation: none !important;
  }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pricing-fold-collapse,
  .pricing-fold-chevron {
    transition: none;
  }
}


/* ============================================================================
   3-WAY THEME SWITCHER (LIGHT / DARK / SYSTEM) & FULL DARK MODE SYSTEM
   ============================================================================ */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 0.2rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.theme-sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--slate-600);
  font-family: inherit;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.theme-sw-btn:hover {
  color: var(--navy-900);
}

.theme-sw-btn.active {
  background: #ffffff;
  color: var(--primary-700);
  box-shadow: 0 2px 6px rgba(15, 36, 71, 0.1);
}

.theme-sw-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.instructor-wizard-cta-card {
  background: linear-gradient(120deg, #eff6ff 0%, #ffffff 60%, #fffbeb 100%);
  border: 1px solid #bfdbfe;
}

@media (max-width: 1180px) {
  .brand-tagline {
    display: none;
  }
}

@media (max-width: 1060px) {
  .topbar-nav-links {
    display: none;
  }
}

/* Dark Theme Variable & Component Overrides */
html[data-theme="dark"] {
  color-scheme: dark;
  --navy-950: #030712;
  --navy-900: #f1f5f9;
  --navy-800: #e2e8f0;
  --navy-700: #cbd5e1;
  --slate-600: #94a3b8;
  --slate-500: #94a3b8;
  --slate-400: #64748b;
  --slate-200: #1e2d47;
  --slate-100: #070e1c;
  --slate-50: #0d172a;
  --primary-600: #3b82f6;
  --primary-700: #60a5fa;
  --primary-50: rgba(59, 130, 246, 0.16);
  --gold-50: rgba(245, 179, 1, 0.14);
  --gold-600: #fbbf24;
  --green-50: rgba(22, 163, 74, 0.16);
  --green-700: #4ade80;
  --red-50: rgba(220, 38, 38, 0.16);
  --red-700: #f87171;
  --shadow-sm: 0 4px 18px rgba(2, 6, 23, 0.45);
  --shadow-md: 0 14px 34px rgba(2, 6, 23, 0.6);
}

html[data-theme="dark"] body,
html[data-theme="dark"] body.landing-mode {
  background-color: #070e1c;
  color: #f1f5f9;
}

html[data-theme="dark"] .topbar,
html[data-theme="dark"] body.landing-mode .topbar {
  background: rgba(9, 16, 32, 0.88);
  border-bottom-color: #1e2d47;
  color: #f8fafc;
}

html[data-theme="dark"] .brand-logo {
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.45);
}

html[data-theme="dark"] .brand-title,
html[data-theme="dark"] body.landing-mode .brand-title {
  color: #f8fafc;
}

html[data-theme="dark"] .brand-title span,
html[data-theme="dark"] body.landing-mode .brand-title span {
  color: #60a5fa;
}

html[data-theme="dark"] .topbar-nav-link {
  color: #cbd5e1;
}

html[data-theme="dark"] .topbar-nav-link.active,
html[data-theme="dark"] .topbar-nav-link:hover {
  color: #60a5fa;
}

html[data-theme="dark"] .topbar-nav-link::after {
  background: #60a5fa;
}

html[data-theme="dark"] .btn-nav-login {
  color: #e2e8f0;
  border-color: #334155;
}

html[data-theme="dark"] .btn-nav-login:hover:not(:disabled) {
  background: #16243d;
  border-color: #60a5fa;
}

html[data-theme="dark"] .theme-switcher {
  background: #0d172a;
  border-color: #1e2d47;
}

html[data-theme="dark"] .theme-sw-btn.active {
  background: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.5);
}

html[data-theme="dark"] .role-pill {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.35);
}

/* Surfaces & Cards in Dark Mode */
html[data-theme="dark"] .card,
html[data-theme="dark"] .cat-question-box,
html[data-theme="dark"] .cat-nav-panel,
html[data-theme="dark"] .wizard-topbar,
html[data-theme="dark"] .wizard-method-card,
html[data-theme="dark"] .wizard-decision-card,
html[data-theme="dark"] .admin-sidebar,
html[data-theme="dark"] .pricing-card:not(.featured),
html[data-theme="dark"] .pricing-fold-box,
html[data-theme="dark"] .pricing-fold-box.is-open,
html[data-theme="dark"] .lp-dest-card,
html[data-theme="dark"] .showcase-visual-card,
html[data-theme="dark"] dialog.app-dialog,
html[data-theme="dark"] dialog.auth-dialog {
  background: #0f1a2e;
  border-color: #1e2d47;
  color: #f1f5f9;
}

html[data-theme="dark"] .toast {
  background: #13233f;
  color: #f8fafc;
  border-top-color: #2b446e;
  border-right-color: #2b446e;
  border-bottom-color: #2b446e;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.7);
}

html[data-theme="dark"] .psycho-bar-track,
html[data-theme="dark"] .pdf-mini-line {
  background: #1e2d47;
}

html[data-theme="dark"] .lp-pastel-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
html[data-theme="dark"] .lp-pastel-green {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
html[data-theme="dark"] .lp-pastel-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}
html[data-theme="dark"] .lp-pastel-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}
html[data-theme="dark"] .lp-pastel-teal {
  background: rgba(20, 184, 166, 0.2);
  color: #5eead4;
}

html[data-theme="dark"] .instructor-wizard-cta-card {
  background: linear-gradient(120deg, #0f2142 0%, #0f1a2e 60%, #1c1917 100%);
  border-color: #1e3a8a;
}

html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-textarea,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .admin-mobile-menu-btn,
html[data-theme="dark"] .admin-collapse-btn,
html[data-theme="dark"] .pricing-fold-action,
html[data-theme="dark"] .wizard-q-num-btn {
  background: #091120;
  border-color: #243656;
  color: #f1f5f9;
}

html[data-theme="dark"] .form-select option {
  background: #0f1a2e;
  color: #f1f5f9;
}

html[data-theme="dark"] .password-toggle-btn:hover {
  color: #f8fafc;
  background: #16243d;
}

html[data-theme="dark"] .btn-outline:hover:not(:disabled),
html[data-theme="dark"] .wizard-step-btn:hover:not(:disabled) {
  background: #16243d;
  border-color: #3b82f6;
}

html[data-theme="dark"] .btn-gold,
html[data-theme="dark"] .btn-sunny-pill {
  color: #090e1a;
}

html[data-theme="dark"] .badge-success {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.35);
}

html[data-theme="dark"] .badge-danger {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.35);
}

html[data-theme="dark"] .badge-warning {
  color: #fde68a;
  border-color: rgba(253, 230, 138, 0.35);
}

html[data-theme="dark"] .badge-info {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.35);
}

html[data-theme="dark"] .auth-tab-bar {
  background: #091120;
}

html[data-theme="dark"] .auth-tab-btn {
  color: #94a3b8;
}

html[data-theme="dark"] .auth-tab-btn.active {
  background: #1e3a8a;
  color: #ffffff;
}

html[data-theme="dark"] .password-toggle-btn:hover {
  background: #16243d;
  color: #ffffff;
}

/* Landing Page Sections in Dark Mode */
html[data-theme="dark"] .lp-hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(37, 99, 235, 0.24) 0%, transparent 48%),
    linear-gradient(180deg, #071226 0%, #0b1933 65%, #081121 100%);
  color: #f8fafc;
}

html[data-theme="dark"] .lp-hero-sky-glow {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
}

html[data-theme="dark"] .lp-hero-horizon-svg path {
  fill: rgba(30, 58, 138, 0.32);
}

html[data-theme="dark"] .lp-eyebrow-sky {
  color: #60a5fa;
}

html[data-theme="dark"] .lp-hero-title,
html[data-theme="dark"] .lp-section-title,
html[data-theme="dark"] .lp-strip-title,
html[data-theme="dark"] .lp-dest-title,
html[data-theme="dark"] .lp-why-check-item,
html[data-theme="dark"] .lp-step-title,
html[data-theme="dark"] .pricing-fold-trigger {
  color: #f8fafc;
}

html[data-theme="dark"] .lp-hero-title-blue {
  color: #60a5fa;
}

html[data-theme="dark"] .lp-hero-desc,
html[data-theme="dark"] .lp-section-subtitle,
html[data-theme="dark"] .lp-strip-desc,
html[data-theme="dark"] .lp-dest-sub,
html[data-theme="dark"] .lp-step-desc {
  color: #94a3b8;
}

html[data-theme="dark"] .lp-play-btn strong {
  color: #f8fafc !important;
}

html[data-theme="dark"] .lp-play-circle {
  background: #0f1a2e;
  border-color: #3b82f6;
  color: #60a5fa;
}

html[data-theme="dark"] .lp-hand-note,
html[data-theme="dark"] .lp-why-hand-note {
  background: rgba(15, 26, 46, 0.94);
  color: #93c5fd;
  border-color: #1e3a8a;
}

html[data-theme="dark"] .lp-hero-photo-frame {
  background: linear-gradient(145deg, rgba(15, 26, 46, 0.95), rgba(30, 58, 138, 0.55));
  border-color: #1e3a8a;
}

html[data-theme="dark"] .lp-float-badge-light {
  background: rgba(15, 29, 46, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.65), 0 0 20px rgba(16, 185, 129, 0.15);
}

html[data-theme="dark"] .lp-float-badge-title {
  color: #4ade80;
}

html[data-theme="dark"] .lp-float-badge-sub {
  color: #e2e8f0;
}

html[data-theme="dark"] .lp-feature-strip,
html[data-theme="dark"] .lp-white-band,
html[data-theme="dark"] .lp-footer {
  background: #081121;
  border-color: #1e2d47;
}

html[data-theme="dark"] .lp-ice-band {
  background: #0b162b;
}

html[data-theme="dark"] .lp-dest-emblem {
  background: #0f1a2e;
  border-color: #1e2d47;
}

html[data-theme="dark"] .btn-outline-pill {
  background: #0f1a2e;
  border-color: #3b82f6;
  color: #93c5fd;
}

html[data-theme="dark"] .lp-why-visual-wrap {
  background: radial-gradient(circle at 35% 30%, rgba(30, 58, 138, 0.45) 0%, #0d182e 72%);
  border-color: #1e3a8a;
}

html[data-theme="dark"] .showcase-tabs-light {
  background: #091120;
  border-color: #1e2d47;
}

html[data-theme="dark"] .showcase-tab-btn {
  color: #94a3b8;
}

html[data-theme="dark"] .showcase-tab-btn.active {
  color: #ffffff;
}

html[data-theme="dark"] .pricing-fold-pill {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(134, 239, 172, 0.35);
  color: #86efac;
}

/* Participant Gamification HUD in Dark Mode */
html[data-theme="dark"] .participant-hud {
  background: linear-gradient(135deg, #0d2144 0%, #0f1a30 60%, #091224 100%);
  border-color: #1e3a8a;
  color: #f8fafc;
}

html[data-theme="dark"] .participant-hud-glow {
  background: radial-gradient(circle, rgba(245, 179, 1, 0.2), transparent 70%);
}

html[data-theme="dark"] .hud-level-pill {
  background: rgba(245, 179, 1, 0.16);
  color: #fde68a;
  border-color: rgba(245, 179, 1, 0.4);
}

html[data-theme="dark"] .hud-target-chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

html[data-theme="dark"] .hud-xp-track {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .hud-right-panel {
  background: rgba(9, 17, 32, 0.78);
  border-color: #1e2d47;
}

html[data-theme="dark"] .hud-stat-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

html[data-theme="dark"] .hud-ring-bg {
  stroke: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .hud-ring-fg {
  stroke: #fbbf24;
}

html[data-theme="dark"] .hud-badge-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #94a3b8;
}

html[data-theme="dark"] .hud-badge-btn.unlocked {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.42);
  color: #a7f3d0;
}

html[data-theme="dark"] .hud-badge-btn.selected,
html[data-theme="dark"] .hud-badge-btn:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: #60a5fa;
  color: #ffffff;
}

html[data-theme="dark"] .hud-badge-hint {
  background: rgba(15, 26, 46, 0.85);
  border-left-color: #60a5fa;
  color: #e2e8f0;
}

/* ============================================================================
   ADMIN EXECUTIVE ANALYTICS DASHBOARD
   ============================================================================ */
.exec-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding: 0.85rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.exec-insight-card {
  background: var(--primary-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--primary-600);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.15rem;
}

.exec-insight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.exec-insight-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-size: 0.81rem;
  color: var(--navy-800);
  line-height: 1.48;
}

.exec-bar-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.exec-bar-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.81rem;
  margin-bottom: 0.22rem;
}

.exec-bar-track {
  height: 9px;
  border-radius: 999px;
  background: var(--slate-200);
  overflow: hidden;
}

.exec-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-600), #38bdf8);
}

.exec-bar-fill.is-green {
  background: linear-gradient(90deg, var(--green-600), #4ade80);
}

.exec-bar-fill.is-gold {
  background: linear-gradient(90deg, var(--gold-500), #fbbf24);
}

.exec-trend-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
  height: 112px;
  padding: 0.65rem 0.5rem 0.35rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
}

.exec-trend-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.25rem;
}

.exec-trend-bar {
  width: 100%;
  max-width: 22px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--primary-600);
}

.exec-trend-label {
  font-size: 0.62rem;
  color: var(--slate-500);
  font-family: 'JetBrains Mono', monospace;
}
