/* --- SYSTEM HELP ENGINE STYLES --- */
.sys-help-wrapper {
  background-color: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sys-help-card {
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.25rem;
}
.sys-help-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}
.sys-help-card p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
.sys-help-btn {
  background-color: #3b82f6;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 1rem;
}
.sys-help-btn:hover {
  background-color: #2563eb;
}
/* ========================================================
   GLOBAL HELP SLIDE-OUT (PUSH MENU)
   ======================================================== */
#global-help-slideout {
  position: fixed;
  top: 0;
  right: -360px; /* Changed from -420px */
  width: 100%;
  max-width: 360px; /* Changed from 420px */
  height: 100vh;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  z-index: 99999;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  border-left: 1px solid #334155;
  transition: right 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

#global-help-slideout.open {
  right: 0 !important;
}

/* Internal Spacing */
#global-help-slideout .global-help-header {
  padding: 1.5rem; /* Slightly tighter padding for a narrower panel */
  border-bottom: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#global-help-slideout .global-help-header h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #f8fafc;
}

#global-help-slideout .global-help-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
#global-help-slideout .global-help-close:hover {
  color: #ef4444;
}

/* PUSH MENU ANIMATION FOR THE WORKSPACE */
.main-dynamic-container {
  transition: padding-right 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-dynamic-container.sys-help-open {
  padding-right: 360px !important; /* Changed from 420px to perfectly match the guide width */
}
