/* ==========================================================================
   ELGIN L42 PRO RETRO-FUTURISTIC THEME (LAD-UI v2.01 / 2001 FLASH AESTHETICS)
   Author: Felipe Lacerda Amado de Deus (LAD LABS)
   Ultra-Compact Viewport Optimized (Zero Scroll, High Density)
   ========================================================================== */

/* Full Viewport App Layout (Without Floating Window Borders) */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--lad-bg-root);
}

.l42-viewport-app {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

/* Master Top Menubar (In-flow flex item to prevent overlapping workspace) */
.lad-mac-menubar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  flex-shrink: 0 !important;
  border-bottom: 1px solid #1a2430 !important;
  background: linear-gradient(180deg, #ecf2f8 0%, #cbd6e3 50%, #b2c0cc 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
  z-index: 500 !important;
  box-sizing: border-box !important;
}

a.lad-mac-brand-badge {
  text-decoration: none !important;
  color: #0b1118 !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
  user-select: none;
}

a.lad-mac-brand-badge:hover {
  opacity: 0.82;
  transform: translateY(-0.5px);
}

/* Workspace Grid (Fills remaining height) */
.l42-workspace {
  flex: 1 1 auto;
  min-height: 0;
  height: calc(100vh - 28px);
  display: grid;
  grid-template-columns: 460px 1fr;
  align-items: start;
  gap: 10px;
  padding: 8px 12px 6px 12px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 980px) {
  html, body {
    overflow-y: auto;
  }
  .l42-viewport-app {
    height: auto;
    min-height: 100vh;
  }
  .l42-workspace {
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

/* Left Column & Right Column Containers */
.l42-col-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  align-self: flex-start;
  overflow-y: visible;
  padding-right: 2px;
}

.l42-col-right {
  display: flex;
  flex-direction: column;
  height: auto;
  align-self: flex-start;
  overflow: visible;
}

/* Technical Panels (High-Density Ultra-Compact) */
.l42-panel {
  background: linear-gradient(180deg, #18212c 0%, #10161f 100%);
  border: 1px solid #233140;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.06), 0 3px 8px rgba(0,0,0,0.35);
  margin-bottom: 5px;
  position: relative;
  border-radius: 1px;
}

.l42-panel-header {
  background: linear-gradient(180deg, #253342 0%, #19232e 100%);
  border-bottom: 1px solid #0e141a;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  min-height: 22px;
}

.l42-panel-header:hover {
  background: linear-gradient(180deg, #304256 0%, #1f2c3a 100%);
}

.l42-panel-title {
  font-family: var(--lad-font-tech);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d2e1ef;
  display: flex;
  align-items: center;
  gap: 6px;
}

.l42-panel-title span.l42-dot {
  width: 5px;
  height: 5px;
  background: var(--lad-orange);
  box-shadow: 0 0 5px var(--lad-orange-glow);
  display: inline-block;
}

.l42-panel-arrow {
  font-size: 8px;
  color: #7d96b0;
  transition: transform var(--lad-anim-fast);
}

.l42-panel-header.collapsed .l42-panel-arrow {
  transform: rotate(-90deg);
}

.l42-panel-body {
  padding: 5px 8px;
  transition: all var(--lad-anim-fast);
  overflow: hidden;
}

.l42-panel-body.collapsed {
  display: none !important;
}

/* Compact Forms & Rows */
.l42-row {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  align-items: center;
}

.l42-col-6 { flex: 1; }
.l42-col-4 { flex: 0 0 33.33%; }
.l42-col-8 { flex: 0 0 66.66%; }
.l42-col-12 { flex: 0 0 100%; }

.l42-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--lad-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8da4be;
  margin-bottom: 2px;
}

.l42-hint {
  font-family: var(--lad-font-mono);
  font-size: 8px;
  color: #556e87;
}

/* Compact LCD Inputs */
.lad-input-lcd,
.lad-select-lcd {
  height: 24px !important;
  font-size: 11px !important;
  padding: 2px 6px !important;
  line-height: 1 !important;
}

/* Compact & Dynamic Height Tabs (Elimina o espação vazio abaixo do dropzone) */
.lad-tabs {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 5px !important;
  position: relative !important;
  z-index: 20 !important;
  min-height: auto !important;
}

.lad-viewport-chassis {
  flex: 0 0 auto !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 2px !important;
}

.lad-viewport-screen {
  flex: 0 0 auto !important;
  min-height: auto !important;
  padding: 5px 8px !important;
}

.lad-tabs-nav {
  height: 24px !important;
  min-height: 24px !important;
  padding: 1px 2px !important;
  margin-bottom: 4px !important;
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
}

.lad-tab-btn {
  font-size: 10px !important;
  padding: 2px 8px !important;
  height: 20px !important;
  line-height: 20px !important;
  cursor: pointer !important;
  user-select: none !important;
  position: relative !important;
  z-index: 15 !important;
}

.lad-tab-pane {
  display: none;
  padding: 2px 0 !important;
}

.lad-tab-pane.active {
  display: block !important;
}

/* Compact Drop Zone */
.l42-drop-zone {
  border: 1px dashed #3a4f66;
  background: #0b0f14;
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all var(--lad-anim-fast);
  color: #8da4be;
  font-family: var(--lad-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.l42-drop-zone:hover,
.l42-drop-zone.dragover {
  border-color: var(--lad-orange);
  background: #141c26;
  color: #fff;
  box-shadow: inset 0 0 10px rgba(224, 96, 32, 0.25);
}

.l42-drop-icon {
  font-size: 14px;
  color: var(--lad-cyan);
}

/* Compact Monospace Console ZPL (Acomoda código ZPL de forma legível e sem estragar o layout) */
.l42-console-zpl {
  width: 100%;
  height: 90px;
  min-height: 70px;
  max-height: 160px;
  background: #080c10;
  border: 1px solid #1a2533;
  color: #52e37e;
  font-family: var(--lad-font-mono);
  font-size: 10px;
  padding: 4px 6px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.85);
  resize: vertical;
  line-height: 1.3;
  outline: none;
  box-sizing: border-box;
}

/* Compact Winamp Slider & VU Meter (Fundo escuro perfeitamente alinhado à altura dos LEDs) */
.lad-winamp-eq-group {
  margin: 3px 0 !important;
  padding: 4px 6px !important;
}

.lad-winamp-eq-header {
  font-size: 9px !important;
  margin-bottom: 3px !important;
}

.lad-winamp-slider {
  height: 14px !important;
}

.lad-digital-vu {
  height: 20px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  padding: 2px 5px !important;
  background: #05080c !important;
  border: 1px solid #1a2533 !important;
  box-shadow: inset 0 2px 4px #000 !important;
}

.lad-vu-bar {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  height: 12px !important;
}

.lad-vu-led {
  width: 5px !important;
  height: 12px !important;
  border-radius: 1px !important;
  box-sizing: border-box !important;
}

.lad-vu-readout {
  font-family: var(--lad-font-mono) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: var(--lad-orange) !important;
  min-width: 18px !important;
  text-align: right !important;
  line-height: 12px !important;
  margin-left: 4px !important;
}

/* Main Command & Print Bar */
.l42-command-bar {
  background: linear-gradient(180deg, #1b2633 0%, #121922 100%);
  border: 1px solid rgba(60, 208, 112, 0.5);
  box-shadow: 0 0 12px rgba(60, 208, 112, 0.15), inset 1px 1px 0 rgba(255,255,255,0.08);
  padding: 5px 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.l42-btn-print-main {
  height: 36px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

/* Hardware Buttons Strip */
.l42-hw-strip {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.l42-hw-strip .lad-btn {
  flex: 1;
  height: 22px !important;
  font-size: 9px !important;
  padding: 2px 4px !important;
}

/* SIMULADOR INDUSTRIAL DA ELGIN L42 PRO */
.l42-printer-enclosure {
  background: linear-gradient(180deg, #323f4d 0%, #202934 60%, #151b22 100%);
  border: 1px solid #131920;
  border-bottom: 3px solid #0a0e13;
  padding: 8px 14px 4px 14px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), inset 1px 1px 0 rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.l42-printer-enclosure .lad-screw {
  width: 6px !important;
  height: 6px !important;
}
.l42-printer-enclosure .lad-screw.tl { top: 3px; left: 3px; }
.l42-printer-enclosure .lad-screw.tr { top: 3px; right: 3px; }
.l42-printer-enclosure .lad-screw.bl { bottom: 3px; left: 3px; }
.l42-printer-enclosure .lad-screw.br { bottom: 3px; right: 3px; }

.l42-printer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.l42-printer-emblem {
  font-family: var(--lad-font-tech);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #e2ecf7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.l42-printer-leds {
  display: flex;
  gap: 8px;
  align-items: center;
}

.l42-led-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--lad-font-mono);
  font-size: 8px;
  color: #8da4be;
}

.l42-printer-slit {
  height: 10px;
  background: #000;
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.7);
  margin-bottom: -12px;
  position: relative;
  z-index: 10;
  border: 1px solid #111;
}

/* Exit Tray & Label Output Area */
.l42-printer-exit-tray {
  padding: 18px 14px 10px 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 200px;
  background: radial-gradient(circle at 50% 25%, #1d2732 0%, #0d1218 100%);
  border: 1px solid #1c2633;
  border-top: none;
  overflow: auto;
  position: relative;
  transition: height 0.15s ease, min-height 0.15s ease;
}

.l42-printer-exit-tray::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(54, 195, 217, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(54, 195, 217, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

#previewCanvas {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.3);
  border: 1px solid #cbd5e1;
  transform-origin: top center;
  cursor: grab;
  position: relative;
  z-index: 5;
}

#previewCanvas:active {
  cursor: grabbing;
}

.l42-canvas-telemetry {
  display: flex;
  justify-content: space-between;
  font-family: var(--lad-font-mono);
  font-size: 8px;
  color: #6c849e;
  padding: 3px 6px;
  background: rgba(10, 15, 20, 0.85);
  border: 1px solid #18212c;
  flex-shrink: 0;
}

/* Modal Backdrops & Overlays (Totalmente visíveis, centralizados e protegidos) */
.l42-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 7, 11, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.l42-modal-backdrop.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.l42-modal-backdrop .lad-window,
.l42-modal-dialog {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: auto !important;
  z-index: 10000 !important;
  min-width: 280px !important;
  max-width: 440px !important;
  width: 92% !important;
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(180deg, #1b2633 0%, #10161f 100%) !important;
  border: 1px solid #36c3d9 !important;
  box-shadow: 0 0 35px rgba(54, 195, 217, 0.3), 0 16px 45px rgba(0, 0, 0, 0.9) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#topUsbBadge {
  cursor: pointer;
  transition: all var(--lad-anim-fast);
}

#topUsbBadge:hover {
  filter: brightness(1.25);
  box-shadow: 0 0 8px currentColor;
  transform: translateY(-1px);
}

/* Floating Notification / Calibration Toast */
#calibrateToast {
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 950;
  display: none;
  width: 290px;
  background: linear-gradient(180deg, #2a2012 0%, #1c150c 100%);
  border: 1px solid #d48b1b;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 0 12px rgba(245, 166, 35, 0.25);
}

/* ZPL Mode Dynamic Visibility (Oculta canvas e elementos incompatíveis sem sobreposição) */
#zplModeMsg {
  display: none;
  font-family: var(--lad-font-tech);
  color: #36c3d9;
  text-align: center;
  padding: 24px 18px;
  background: rgba(14, 22, 30, 0.75);
  border: 1px dashed rgba(54, 195, 217, 0.45);
  box-shadow: inset 0 0 15px rgba(54, 195, 217, 0.1);
  letter-spacing: 0.05em;
  margin-top: 10px;
}

body.zpl-mode-active .hide-on-zpl {
  display: none !important;
}

body.zpl-mode-active #zplModeMsg {
  display: block !important;
}

/* Floating Coffee Widget (Posicionado no canto inferior direito, sem cobrir nenhuma configuração) */
.l42-floating-coffee {
  position: fixed;
  bottom: 24px;
  right: 18px;
  z-index: 900;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ff7a29 0%, #e06020 50%, #b8430b 100%);
  color: #ffffff;
  padding: 4px 10px;
  border: 1px solid #ff9d5c;
  box-shadow: 0 4px 14px rgba(224, 96, 32, 0.45), inset 0 1px 0 rgba(255,255,255,0.4);
  cursor: pointer;
  font-family: var(--lad-font-tech);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  transition: all var(--lad-anim-fast);
}

.l42-floating-coffee:hover {
  background: linear-gradient(180deg, #ff8c42 0%, #ed6d2a 50%, #c94b0f 100%);
  box-shadow: 0 0 16px rgba(224, 96, 32, 0.7), inset 0 1px 0 #ffffff;
  border-color: #ffb885;
  transform: translateY(-1px);
}

.l42-floating-coffee .close-coffee {
  margin-left: 8px;
  padding-left: 6px;
  border-left: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  opacity: 0.8;
  font-size: 12px;
  line-height: 1;
}

.l42-floating-coffee .close-coffee:hover {
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 4px #fff;
}

/* ==========================================================================
   PULSING ANIMATION PARA O SPOOLER DE PASTA
   ========================================================================== */
@keyframes ladPulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.lad-dot-pulse {
  animation: ladPulseGreen 1.6s infinite ease-out;
}

/* ==========================================================================
   CENTRAL DE AJUDA & SUPORTE LAD-UI (LAD-HELP) - DIMENSÕES & TIPOGRAFIA EXPANDIDAS
   ========================================================================== */
.l42-modal-dialog.l42-modal-lad-help,
.l42-modal-dialog.l42-modal-xp-help {
  max-width: 1040px !important;
  width: 96% !important;
  height: 89vh !important;
  max-height: 780px !important;
  background: linear-gradient(180deg, #16202c 0%, #0d131a 100%) !important;
  color: #d6e2ed !important;
  border: 1px solid #36c3d9 !important;
  border-radius: 2px !important;
  box-shadow: 0 0 45px rgba(54, 195, 217, 0.35), 0 20px 60px rgba(0, 0, 0, 0.95) !important;
  font-family: var(--lad-font-sans) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* Sub-Toolbar Técnica LAD */
.lad-help-toolbar {
  background: #0f1722;
  border-bottom: 1px solid #1f3448;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lad-help-toolbar-btn {
  background: #141f2b;
  border: 1px solid #233b52;
  color: #9cb5cb;
  padding: 5px 12px;
  font-family: var(--lad-font-tech);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--lad-anim-fast);
  text-transform: uppercase;
}

.lad-help-toolbar-btn:hover {
  background: #1c2b3d;
  border-color: #36c3d9;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(54, 195, 217, 0.35);
}

.lad-help-toolbar-btn.active {
  background: rgba(54, 195, 217, 0.18);
  border-color: #36c3d9;
  color: #36c3d9;
  box-shadow: inset 0 0 10px rgba(54, 195, 217, 0.3);
}

/* Corpo de 2 Colunas */
.lad-help-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0c1219;
}

/* Sidebar de Navegação Esquerda */
.lad-help-sidebar {
  width: 250px;
  background: #0e151e;
  border-right: 1px solid #1a2a3a;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex-shrink: 0;
}

.lad-topic-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lad-font-tech);
  font-size: 11px;
  color: #8da6bd;
  text-decoration: none;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  background: rgba(20, 31, 43, 0.45);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all var(--lad-anim-fast);
  text-transform: uppercase;
}

.lad-topic-link:hover {
  background: rgba(54, 195, 217, 0.12);
  color: #ffffff;
  border-color: rgba(54, 195, 217, 0.3);
}

.lad-topic-link.active {
  background: rgba(54, 195, 217, 0.22);
  color: #36c3d9;
  border-color: rgba(54, 195, 217, 0.6);
  border-left: 3px solid #36c3d9;
  font-weight: bold;
}

.lad-help-tip-card {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 2px;
  padding: 8px 10px;
  font-family: var(--lad-font-mono);
  font-size: 9.5px;
  color: #f5c06b;
  line-height: 1.45;
}

/* Painel de Conteúdo Direito */
.lad-help-content {
  flex: 1;
  padding: 22px 28px;
  overflow-y: auto;
  background: #111822;
  color: #d8e6f5;
  font-family: var(--lad-font-sans);
  font-size: 13.5px;
  line-height: 1.68;
}

.lad-help-article {
  display: none;
}
.lad-help-article.active {
  display: block;
}

.lad-help-heading {
  font-family: var(--lad-font-tech);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--lad-cyan);
  letter-spacing: 0.06em;
  border-bottom: 1px solid #1f3c52;
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.lad-help-subheading {
  font-family: var(--lad-font-tech);
  font-size: 13px;
  font-weight: 700;
  color: var(--lad-orange);
  letter-spacing: 0.05em;
  margin-top: 18px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.lad-help-callout-info {
  background: rgba(54, 195, 217, 0.08);
  border-left: 3px solid var(--lad-cyan);
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 12.5px;
  color: #c9e9f6;
  font-family: var(--lad-font-mono);
  line-height: 1.55;
}

.lad-help-callout-warn {
  background: rgba(245, 166, 35, 0.08);
  border-left: 3px solid var(--lad-amber);
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 12.5px;
  color: #ffe6b0;
  font-family: var(--lad-font-mono);
  line-height: 1.55;
}

.lad-help-callout-tip {
  background: rgba(45, 212, 191, 0.08);
  border-left: 3px solid var(--lad-green);
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 12.5px;
  color: #c4f7eb;
  font-family: var(--lad-font-mono);
  line-height: 1.55;
}

.lad-help-callout-disclaimer {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-left: 4px solid var(--lad-red);
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 11.5px;
  color: #ffd2d9;
  font-family: var(--lad-font-mono);
  line-height: 1.5;
}

/* Caixas de Código com Botão Copiar */
.lad-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080d13;
  border: 1px solid #1c3349;
  border-radius: 2px;
  padding: 7px 12px;
  margin: 8px 0;
  font-family: var(--lad-font-mono);
  font-size: 12px;
  color: #36c3d9;
}

.lad-code-box code {
  user-select: all;
  white-space: nowrap;
  overflow-x: auto;
  margin-right: 12px;
  color: #2dd4bf;
}

.lad-code-copy-btn {
  background: #142230;
  border: 1px solid #28445f;
  color: #a0c4e2;
  font-family: var(--lad-font-tech);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 10px;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--lad-anim-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.lad-code-copy-btn:hover {
  background: #1e354d;
  border-color: #36c3d9;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(54, 195, 217, 0.4);
}

.lad-help-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 12px;
  border: 1px solid #1e3347;
}
.lad-help-table th {
  background: #172433;
  color: var(--lad-cyan);
  font-family: var(--lad-font-tech);
  text-align: left;
  padding: 8px 12px;
  border: 1px solid #1e3347;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lad-help-table td {
  padding: 8px 12px;
  border: 1px solid #182837;
  vertical-align: top;
  background: #0f161f;
  color: #d1e2f2;
}
.lad-help-table tr:nth-child(even) td {
  background: #131c26;
}

@media (max-width: 680px) {
  .lad-help-body {
    flex-direction: column;
  }
  .lad-help-sidebar {
    width: 100%;
    max-height: 150px;
  }
}
