/* Buttons & Actions with Custom Lift and Shadow */
button,
.btn-primary {
  font-family: var(--font-family-sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px; /* Touch target minimum */
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b88e2f 100%);
  color: #08090f; /* Sleek high-contrast dark text */
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
  border: 1px solid rgba(212, 168, 67, 0.4);
}
[data-theme='bright'] .btn-gold {
  color: #ffffff;
}
.btn-gold:hover:not(:disabled) {
  transform: translateY(-4px); /* Hover-lift -4px */
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.55);
  filter: brightness(1.15); /* Brightness boost */
}
.btn-gold:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.4);
}
.btn-gold:disabled {
  background: var(--text-muted);
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
  color: var(--bg-canvas);
}
.btn-secondary {
  background-color: rgba(17, 22, 40, 0.4);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  height: 48px;
  min-height: unset;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 15px;
  align-self: center;
}
[data-theme='bright'] .btn-secondary {
  background-color: rgba(255, 255, 255, 0.5);
}
.btn-secondary:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  color: var(--text-emphasis);
  box-shadow: 0 6px 15px rgba(212, 168, 67, 0.2);
}
.btn-secondary:active:not(:disabled) {
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent-primary);
  color: #000;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}
.btn-accent:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(212, 168, 67, 0.4);
}

/* Form Inputs */
input[type='text'],
textarea,
select {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-emphasis);
  font-family: var(--font-family-sans);
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  min-height: 48px;
}
[data-theme='bright'] input[type='text'],
[data-theme='bright'] textarea,
[data-theme='bright'] select {
  background-color: rgba(255, 255, 255, 0.8);
}
input[type='text']:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.25);
  background-color: rgba(0, 0, 0, 0.3);
}
[data-theme='bright'] input[type='text']:focus,
[data-theme='bright'] textarea:focus,
[data-theme='bright'] select:focus {
  background-color: #ffffff;
}
label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}

/* Toggle Switches */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  min-height: 48px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--text-muted);
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: var(--bg-canvas);
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--accent-success);
}
input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #ffffff;
}

/* ── HEADER ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  background-color: rgba(8, 9, 15, 0.6);
  z-index: 100;
  position: sticky;
  top: 0;
}
[data-theme='bright'] header {
  background-color: rgba(247, 245, 240, 0.7);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-logo {
  font-family: var(--font-family-arabic);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(212, 168, 67, 0.4);
  letter-spacing: -1px;
}
.header-title-en {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-emphasis);
  font-weight: 300;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Icon */
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-emphasis);
  font-size: 9px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  transition: all 0.3s ease;
}
.theme-toggle-icon {
  font-size: 16px;
  line-height: 1;
}
input[type='text'] {
  margin-bottom: 0;
}
.btn-secondary.active {
  background-color: var(--accent-primary);
  color: #08090f;
  font-weight: bold;
  border-color: var(--accent-primary);
}
[data-theme='bright'] .btn-secondary.active {
  color: #ffffff;
}
.theme-toggle-btn:hover {
  background-color: rgba(212, 168, 67, 0.15);
  color: var(--accent-primary);
  transform: rotate(30deg);
}

#install-promo {
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  font-size: 8px;
  letter-spacing: 0.5px;
  background: var(--bg-canvas);
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: var(--accent-primary);
  cursor: pointer;
  font-family: inherit;
}
#install-promo:hover {
  background: rgba(212, 168, 67, 0.08);
  color: var(--accent-primary);
}
.hero-wrapper {
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(8, 9, 15, 0.9) 0%, transparent 100%);
}

/* ── MAIN LAYOUT GRID ── */
.dashboard-container {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 20px;
  padding: 20px 30px;
  flex-grow: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── COLUMN 1: SIDEBAR CONFIGURATOR ── */
.sidebar-panel {
  display: flex;
  flex-direction: column;
}
.brand-preview-box {
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--accent-primary);
  border-radius: 12px;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
[data-theme='bright'] .brand-preview-box {
  background-color: rgba(255, 255, 255, 0.5);
}
.brand-preview-box:hover {
  border-style: solid;
  background-color: rgba(212, 168, 67, 0.05);
}
.brand-preview-img {
  max-height: 80px;
  margin-bottom: 12px;
  border-radius: 6px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
/* ── COLUMN 2: WORKSPACE ── */
.workspace-panel {
  display: flex;
  flex-direction: column;
}

/* Screenplay Grid / Scenes List */
.scenes-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}
.scene-card {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}
[data-theme='bright'] .scene-card {
  background-color: rgba(255, 255, 255, 0.6);
}
@media (hover: hover) {
  .scene-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
}
.scene-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}
.scene-number {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 1px;
}
.scene-theme {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}
.scene-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.scene-field-group {
  display: flex;
  flex-direction: column;
}
.scene-arabic-input {
  font-family: var(--font-family-arabic);
  direction: rtl;
  font-size: 16px;
  line-height: 1.6;
}
.purpose-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.purpose-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
  cursor: pointer;
}
[data-theme='bright'] .purpose-option {
  background-color: rgba(255, 255, 255, 0.65);
}
.purpose-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}
.purpose-other-input {
  display: none;
  margin-bottom: 15px;
}
.purpose-other-input.visible {
  display: block;
}

/* ── COLUMN 3: SYSTEM MONITOR & THEATER ── */
.monitor-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Connected vertical film sprocket timeline */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Clean grid separation */
  position: relative;
  padding-left: 10px;
}
/* The Film-Strip Vertical Line */
.stepper::before {
  content: '';
  position: absolute;
  left: 23px; /* Align precisely with sprocket node centers */
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--glass-border),
    var(--glass-border) 6px,
    transparent 6px,
    transparent 12px
  ); /* dashed/sprocket-track film strip pattern */
  z-index: 1;
}
.step {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.45;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}
.step.active {
  opacity: 1;
}
.step.completed {
  opacity: 0.9;
}
/* Sprocket node rings: square shape with slight curve */
.step-ring {
  width: 30px;
  height: 30px;
  border-radius: 6px; /* Sprocket node is square ring instead of circle */
  border: 2px solid var(--text-muted);
  background-color: var(--bg-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 3;
  box-shadow: 0 0 0 3px var(--bg-canvas); /* mask the connector line cleanly */
}
.step.active .step-ring {
  border-color: var(--accent-success); /* neon emerald */
  box-shadow:
    0 0 12px var(--accent-success),
    0 0 0 3px var(--bg-canvas);
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-success);
  animation: sprocket-pulse 2s infinite ease-in-out;
}
.step.completed .step-ring {
  border-color: var(--accent-primary); /* burnished gold */
  background-color: var(--accent-primary);
  color: #08090f;
  box-shadow:
    0 0 8px rgba(212, 168, 67, 0.4),
    0 0 0 3px var(--bg-canvas);
}
[data-theme='bright'] .step.completed .step-ring {
  color: #ffffff;
}
/* Error state */
.step.active.error .step-ring {
  border-color: var(--accent-warning);
  box-shadow:
    0 0 12px var(--accent-warning),
    0 0 0 3px var(--bg-canvas);
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--accent-warning);
  animation: sprocket-pulse-error 1.5s infinite ease-in-out;
}
.step-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.4s ease;
}
.step.active .step-label {
  color: var(--text-emphasis);
  font-weight: 800;
}
.step.completed .step-label {
  color: var(--text-primary);
}

@keyframes sprocket-pulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 8px var(--accent-success),
      0 0 0 3px var(--bg-canvas);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 16px var(--accent-success),
      0 0 0 3px var(--bg-canvas);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 8px var(--accent-success),
      0 0 0 3px var(--bg-canvas);
  }
}
@keyframes sprocket-pulse-error {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 8px var(--accent-warning),
      0 0 0 3px var(--bg-canvas);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 16px var(--accent-warning),
      0 0 0 3px var(--bg-canvas);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 8px var(--accent-warning),
      0 0 0 3px var(--bg-canvas);
  }
}

/* Developer Cyberdeck Terminal Console */
.terminal {
  background-color: #030408; /* Ultra deep space deck base */
  border: 1px solid var(--accent-primary); /* gold accent boundary */
  border-radius: 8px;
  padding: 18px;
  font-family: 'Outfit', 'Courier New', Courier, monospace;
  font-weight: 400;
  font-size: 12px;
  color: var(--accent-success); /* neon emerald telemetry log text */
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.9),
    0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
}
/* Neon overlay scanning grid line */
.terminal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(rgba(16, 185, 129, 0.03) 50%, rgba(0, 0, 0, 0.15) 50%),
    linear-gradient(90deg, rgba(16, 185, 129, 0.01), rgba(16, 185, 129, 0.01));
  background-size:
    100% 4px,
    6px 100%;
  pointer-events: none;
  z-index: 10;
}
.terminal-line {
  line-height: 1.5;
  animation: fade-in-line 0.35s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  opacity: 0;
  transform: translateX(-5px);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.terminal-line::before {
  content: '>';
  color: var(--accent-primary);
  font-weight: bold;
}
.terminal-line.error {
  color: var(--accent-warning);
}
.terminal-line.error::before {
  content: '×';
  color: var(--accent-warning);
}
.terminal-line.warn {
  color: var(--accent-primary);
}
.terminal-line.warn::before {
  content: '!';
  color: var(--accent-primary);
}

@keyframes fade-in-line {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Toast notification */
@keyframes fadeInToast {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg-card);
  border: 1px solid var(--accent-success);
  color: var(--accent-success);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInToast 0.3s ease;
  max-width: 400px;
}

.toast-reconnect {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #f59e0b;
  color: #1a1a2e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInToast 0.3s ease;
  white-space: nowrap;
}

/* Blinking terminal command cursor */
.terminal-cursor-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-family: inherit;
}
.terminal-cursor-line::before {
  content: '>';
  color: var(--accent-primary);
  font-weight: bold;
}
.terminal-blink {
  width: 8px;
  height: 14px;
  background-color: var(--accent-success);
  animation: terminal-blink-anim 1s infinite steps(2);
}
@keyframes terminal-blink-anim {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.audio-player-container {
  margin-top: 10px;
}
audio {
  width: 100%;
  height: 40px;
}
/* ── MOBILE RESPONSIVENESS AND COLLAPSIBLE VIEWS ── */
@media (max-width: 1024px) {
  .dashboard-container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Swipeable / Tab switcher on Mobile Screenplays */
.screenplay-tabs {
  display: none;
  gap: 10px;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  .header-title-en {
    display: none;
  }
  .screenplay-tabs {
    display: flex;
  }
  .scene-inputs-grid {
    grid-template-columns: 1fr;
  }
  .scene-inputs-grid[data-active-tab='upper'] .scene-field-group:nth-child(2) {
    display: none; /* Hide lower */
  }
  .scene-inputs-grid[data-active-tab='lower'] .scene-field-group:nth-child(1) {
    display: none; /* Hide upper */
  }

  /* Mobile scene review — no scroll trap, tighter padding */
  .scenes-container {
    max-height: none;
    overflow-y: visible;
  }
  .scene-card {
    padding: 14px;
  }
  .screenplay-tabs button {
    font-size: 13px;
    padding: 8px 16px;
  }
}
/* ── FLOATING HELP BUTTON ── */
.floating-help-btn {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #08090f;
  border: none;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 900;
  min-height: 48px;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.floating-help-btn:hover {
  transform: scale(1.1);
}

/* ── STEPPED UI: DATA-PAGE VISIBILITY ── */
[data-page] {
  display: none;
}
[data-page].active {
  display: block;
}
/* ── STEPPER BAR: STICKY TOP NAV ── */
.stepper-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme='bright'] .stepper-bar {
  background: rgba(255, 255, 255, 0.85);
}
.stepper-bar .step-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.25s ease;
  min-height: 48px;
}
[data-theme='bright'] .stepper-bar .step-card {
  background: rgba(255, 255, 255, 0.5);
}
.stepper-bar .step-card:hover,
.stepper-bar .step-card.active {
  border-color: var(--accent-primary);
  background: rgba(212, 168, 67, 0.08);
}
.stepper-bar .step-card .step-label {
  font-size: 12px;
}
.stepper-bar .step-card .step-check {
  color: var(--accent-success);
  font-size: 14px;
  font-weight: 700;
}
.stepper-bar .back-btn {
  padding: 8px 12px;
  min-height: 48px;
  min-width: 48px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}
[data-theme='bright'] .stepper-bar .back-btn {
  background: rgba(255, 255, 255, 0.5);
}
.stepper-bar .back-btn:hover {
  border-color: var(--accent-primary);
}

/* ── GUIDE POPOVER ── */
.guide-popover {
  display: none;
  position: absolute;
  top: 100%;
  right: 24px;
  width: 320px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  z-index: 200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
[data-theme='bright'] .guide-popover {
  background: rgba(255, 255, 255, 0.95);
}
.guide-popover.open {
  display: block;
}
.guide-popover .guide-answer {
  min-height: 60px;
  margin-bottom: 10px;
}
.guide-popover .guide-chat-row {
  display: flex;
  gap: 6px;
}
.guide-popover input {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  background: var(--bg-canvas);
  color: var(--text-primary);
}
.guide-popover.floating {
  position: fixed;
  bottom: calc(24px + 56px + 12px);
  right: 24px;
  top: auto;
}
/* ── MOBILE STEPPER COLLAPSE (<768px) ── */
@media (max-width: 767px) {
  .stepper-bar {
    padding: 8px 12px;
    gap: 6px;
  }
  .stepper-bar .step-card {
    display: none;
  }
  .stepper-bar .step-card.active,
  .stepper-bar .step-card.completed,
  .stepper-bar .step-card:last-child.active ~ .step-card {
    display: none;
  }
}
#config-foldable {
  display: none;
}
#config-foldable.open {
  display: block;
}
