/* TryFluence Wave 3 — Dual-Theme (Light + Dark) Onyx & Volt */
.tf-w3-panel {
  margin: 0 0 24px 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: #12141A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  color: #E4E4E7;
}
.app-shell[data-theme="light"] .tf-w3-panel {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06) !important;
  color: #18181B !important;
}
.tf-w3-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tf-w3-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #D9FF4D; margin-bottom: 4px; }
.app-shell[data-theme="light"] .tf-w3-eyebrow { color: #4D7C0F !important; }
.tf-w3-title { margin: 0; font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; color: #FFFFFF; }
.app-shell[data-theme="light"] .tf-w3-title { color: #09090B !important; }
.tf-w3-sub { margin: 4px 0 0 0; font-size: 14px; color: #D4D4D8; line-height: 1.55; }
.app-shell[data-theme="light"] .tf-w3-sub { color: #52525B !important; }
.tf-w3-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-w3-btn { padding: 10px 16px; border-radius: 10px; border: none; background: #C6FF00 !important; color: #09090B !important; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.tf-w3-btn-ghost { padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22); background: #1A1D26; color: #FFFFFF; font-size: 12px; font-weight: 700; cursor: pointer; }
.app-shell[data-theme="light"] .tf-w3-btn-ghost { background: #FFFFFF !important; border-color: #CBD5E1 !important; color: #09090B !important; }
.tf-w3-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.tf-w3-field { display: flex; flex-direction: column; gap: 6px; }
.tf-w3-field label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #D9FF4D; }
.app-shell[data-theme="light"] .tf-w3-field label { color: #4D7C0F !important; }
.tf-w3-input, .tf-w3-textarea, .tf-w3-select { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: #0A0B0F; color: #FFFFFF; font-size: 14px; font-family: inherit; }
.tf-w3-textarea { min-height: 84px; resize: vertical; }
.tf-w3-preview-frame { width: 100%; height: 400px; border: 1px solid #CBD5E1; border-radius: 14px; background: #ffffff; margin-top: 14px; transition: width 0.2s ease; }
.tf-w3-preview-frame.mobile { width: 375px; max-width: 100%; display: block; margin-left: auto; margin-right: auto; }
.tf-w3-code { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #090A0D !important; border: 1px solid rgba(255, 255, 255, 0.16); color: #E4E4E7 !important; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre-wrap; max-height: 300px; }
.tf-w3-status { margin-top: 10px; font-size: 12px; color: #D9FF4D; min-height: 18px; font-weight: 600; }
.app-shell[data-theme="light"] .tf-w3-status { color: #4D7C0F !important; }
.tf-w3-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tf-w3-pill { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: #0A0B0F; color: #E4E4E7; font-size: 12px; font-weight: 700; cursor: pointer; }
.app-shell[data-theme="light"] .tf-w3-pill { background: #F1F5F9 !important; border-color: #CBD5E1 !important; color: #18181B !important; }
.tf-w3-pill.active { background: #C6FF00 !important; border-color: #C6FF00 !important; color: #09090B !important; }
