/* =======================================================================
   Workflow Designer - Clean Production CSS
   Replaces duplicated workflow-designer.css blocks.
   ======================================================================= */

   * { box-sizing: border-box; }

   :root {
     --wf-bg: #020617;
     --wf-bg-2: #020817;
     --wf-panel: #0f172a;
     --wf-panel-2: #071427;
     --wf-border: #1e3a5f;
     --wf-border-soft: #334155;
     --wf-text: #e5e7eb;
     --wf-text-strong: #f8fafc;
     --wf-muted: #94a3b8;
     --wf-blue: #2563eb;
     --wf-blue-2: #3b82f6;
     --wf-blue-soft: #60a5fa;
     --wf-cyan: #22d3ee;
     --wf-green: #16a34a;
     --wf-green-2: #22c55e;
     --wf-yellow: #fbbf24;
     --wf-orange: #f59e0b;
     --wf-radius: 14px;
     --wf-radius-sm: 10px;
   }

   html[data-theme="light"] {
     --wf-bg: #eef7fb;
     --wf-bg-2: #f8fcfe;
     --wf-panel: #ffffff;
     --wf-panel-2: #e7f1f7;
     --wf-border: #9fc4d5;
     --wf-border-soft: #bfd5df;
     --wf-text: #26384a;
     --wf-text-strong: #132033;
     --wf-muted: #52677c;
   }
   
   body {
     margin: 0;
     background: var(--wf-bg);
     color: var(--wf-text);
     font-family: Arial, sans-serif;
   }
   
   /* -----------------------------------------------------------------------
      Shell / layout
      ----------------------------------------------------------------------- */
   .wf-page {
     min-height: 100vh;
     padding: 14px;
     background: var(--wf-bg);
   }
   
   .wf-layout {
     display: grid;
     grid-template-columns: minmax(0, 1fr) 420px;
     gap: 14px;
     height: calc(100vh - 82px);
     overflow: hidden;
   }
   
   .wf-main,
   .wf-chat {
     display: flex;
     flex-direction: column;
     min-width: 0;
     min-height: 0;
     overflow: hidden;
     background: linear-gradient(180deg, var(--wf-bg-2), var(--wf-bg));
     border: 1px solid var(--wf-border);
     border-radius: var(--wf-radius);
   }
   
   .wf-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     gap: 16px;
     margin-bottom: 12px;
   }
   
   .wf-header h1 { margin: 0; color: var(--wf-text-strong); font-size: 22px; }
   .wf-header p { margin: 6px 0 0; color: var(--wf-muted); font-size: 13px; }
   .wf-header-actions { display: flex; align-items: center; gap: 10px; }
   .wf-header-actions input { width: 320px; }
   
   /* -----------------------------------------------------------------------
      Controls
      ----------------------------------------------------------------------- */
   button,
   .wf-tab {
     border: 1px solid var(--wf-blue-2);
     border-radius: var(--wf-radius-sm);
     color: #fff;
     background: var(--wf-blue);
     font-weight: 600;
     cursor: pointer;
     transition: opacity .15s ease, transform .15s ease, border-color .15s ease;
   }
   
   button {
     padding: 10px 14px;
   }
   
   button:hover:not(:disabled) { opacity: .92; transform: translateY(-1px); }
   button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
   
   input,
   select,
   textarea {
     width: 100%;
     padding: 10px;
     color: var(--wf-text);
     background: var(--wf-panel);
     border: 1px solid var(--wf-border-soft);
     border-radius: var(--wf-radius-sm);
     outline: none;
     font: inherit;
   }
   
   input:focus,
   select:focus,
   textarea:focus {
     border-color: var(--wf-blue-soft);
     box-shadow: 0 0 0 2px rgba(96, 165, 250, .16);
   }
   
   textarea { min-height: 90px; resize: vertical; }
   label {
     display: flex;
     flex-direction: column;
     gap: 6px;
     margin-bottom: 14px;
     color: #93c5fd;
     font-size: 13px;
     font-weight: 600;
   }
   
   .wf-tabs {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     padding: 12px;
     background: var(--wf-bg);
     border-bottom: 1px solid #1e293b;
   }
   
   .wf-tab {
     padding: 9px 14px;
     border-color: var(--wf-border-soft);
     border-radius: 999px;
     background: var(--wf-panel);
     color: #cbd5e1;
     white-space: nowrap;
   }
   
   .wf-tab:hover,
   .wf-tab.active {
     color: #fff;
     border-color: var(--wf-blue-2);
   }
   
   .wf-tab.active { background: var(--wf-blue); }
   
   .wf-actions,
   .wf-header-actions,
   .wf-flow-toolbar,
   .wf-node-editor-actions {
     display: flex;
     gap: 10px;
   }
   
   .wf-actions { justify-content: flex-end; }
   
   /* -----------------------------------------------------------------------
      Panels / cards
      ----------------------------------------------------------------------- */
   .wf-panel {
     display: none;
     flex: 1;
     min-height: 0;
     overflow-y: auto;
     padding: 14px;
   }
   
   .wf-panel.active { display: block; }
   
   .wf-card {
     min-height: 100%;
     padding: 18px;
     color: #cbd5e1;
     background: linear-gradient(180deg, var(--wf-bg-2), var(--wf-bg));
     border: 1px solid var(--wf-border);
     border-radius: var(--wf-radius);
   }
   
   .wf-card h2,
   .wf-section-header h2,
   .wf-visual-header h3,
   .wf-node-editor-header h3 {
     margin: 0;
     color: var(--wf-text-strong);
   }
   
   .wf-card h2 { margin-bottom: 16px; font-size: 18px; }
   .wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
   .wf-muted { color: var(--wf-muted); }
   
   .wf-section-header,
   .wf-visual-header,
   .wf-node-editor-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 12px;
   }
   
   .wf-section-header { margin-bottom: 16px; }
   .wf-visual-header { margin-bottom: 12px; }
   .wf-visual-header h3 { font-size: 16px; }
   .wf-visual-header span { color: var(--wf-muted); font-size: 12px; }
   
   .wf-visual-block,
   .wf-steps-block {
     border: 1px solid var(--wf-border);
     border-radius: var(--wf-radius);
     background: var(--wf-bg);
     padding: 14px;
     margin-bottom: 16px;
   }
   
   .wf-visual-block { position: relative; padding-top: 8px; }
   .wf-steps-block { margin-bottom: 0; }
   
   /* Parsed tab grows when visual flow is collapsed */
   #parsed-panel .wf-card,
   #parsed-panel .wf-steps-block {
     display: flex;
     flex-direction: column;
     min-height: 0;
   }
   
   #parsed-panel .wf-card { min-height: 100%; }
   #parsed-panel .wf-steps-block,
   #parsedStepsTable { flex: 1; }
   #parsedStepsTable .wf-table-wrap { height: 100%; overflow: auto; }
   
   .wf-visual-block.collapsed {
     padding-bottom: 8px;
     margin-bottom: 8px;
   }
   
   .wf-visual-block.collapsed .wf-visual-flow { display: none; }
   
   /* -----------------------------------------------------------------------
      Visual flow / Drawflow
      ----------------------------------------------------------------------- */
   .wf-flow-toolbar {
     align-items: center;
     gap: 8px;
     margin-bottom: 8px;
     flex-wrap: nowrap;
   }
   
   .wf-flow-toolbar button,
   #addApprovalNodeBtn,
   #addConditionNodeBtn,
   #addBackgroundNodeBtn,
   #editSelectedNodeBtn,
   #saveVisualFlowBtn {
     height: 32px;
     min-height: 32px;
     padding: 5px 11px;
     border-radius: 8px;
     font-size: 12px;
     line-height: 1;
     white-space: nowrap;
   }
   
   .wf-collapse-flow-btn {
     background: var(--wf-panel);
     border-color: #64748b;
     color: #e2e8f0;
   }
   
   .wf-generate-config-btn {
     margin-left: auto;
     background: linear-gradient(180deg, var(--wf-green), #15803d);
     border-color: var(--wf-green-2);
     color: #fff;
     box-shadow: 0 8px 18px rgba(34, 197, 94, .18);
   }
   
   .wf-generate-config-btn:hover:not(:disabled) {
     background: linear-gradient(180deg, var(--wf-green-2), var(--wf-green));
     border-color: #86efac;
   }
   
   .wf-visual-flow {
     min-height: 230px;
     max-width: 100%;
     margin-top: 0;
     padding: 18px 28px 14px 18px;
     overflow: auto;
     border: 1px dashed var(--wf-border);
     border-radius: 12px;
     background: radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 28%),
                 linear-gradient(180deg, var(--wf-bg-2), var(--wf-bg));
   }
   
   .drawflow-canvas {
     position: relative;
     min-height: 310px;
     overflow: auto;
   }
   
   #drawflow {
     width: 100%;
     min-width: 1800px;   /* fixes horizontal scroll stopping before final node */
     height: 310px;
     min-height: 280px;
     background: radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 28%),
                 linear-gradient(180deg, var(--wf-bg-2), var(--wf-bg));
   }
   
   .drawflow .drawflow-node {
     width: auto !important;
     min-width: 0 !important;
     padding: 4px !important;
     border: 1px solid rgba(20, 184, 166, .35) !important;
     border-radius: 12px !important;
     background: rgba(20, 184, 166, .18) !important;
     box-shadow: none !important;
   }
   
   .drawflow .drawflow-node .inputs,
   .drawflow .drawflow-node .outputs { z-index: 5; }
   .drawflow .connection .main-path { stroke: var(--wf-blue-soft); stroke-width: 2.2px !important; }
   .drawflow .connection .main-path:hover { stroke: #93c5fd; }
   
   .drawflow .drawflow-node .input,
   .drawflow .drawflow-node .output {
     width: 16px !important;
     height: 16px !important;
     border: 2px solid var(--wf-blue-soft) !important;
     border-radius: 50% !important;
     background: var(--wf-bg) !important;
     cursor: crosshair !important;
     z-index: 50 !important;
   }
   
   .drawflow .drawflow-node .input { left: -11px !important; }
   .drawflow .drawflow-node .output { right: -11px !important; }
   .drawflow .drawflow-node .input:hover,
   .drawflow .drawflow-node .output:hover {
     transform: scale(1.25);
     background: var(--wf-blue) !important;
     border-color: #bfdbfe !important;
   }
   
   /* Drawflow node content */
   .wf-df-node {
     min-width: 118px !important;
     max-width: 160px !important;
     margin: 0 !important;
     padding: 7px 9px !important;
     color: var(--wf-text);
     background: var(--wf-panel);
     border: 1px solid var(--wf-border);
     border-radius: 10px !important;
     cursor: move;
   }
   
   .wf-df-main-title { display: flex; align-items: center; gap: 6px; margin-bottom: 4px !important; line-height: 1.2; }
   .wf-df-step-name { color: var(--wf-text-strong); font-size: 11px; font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
   .wf-df-mini-row { display: flex; align-items: center; margin-bottom: 3px !important; }
   .wf-df-cond { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: #93c5fd; font-size: 10px; font-weight: 700; }
   .wf-df-cond input { width: 11px; height: 11px; margin: 0; accent-color: var(--wf-blue); }
   .wf-df-action { color: #cfe3ff; font-size: 9px !important; line-height: 1.15 !important; white-space: normal; overflow-wrap: anywhere; }
   
   .wf-df-step-no {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     min-width: 24px;
     height: 20px;
     padding: 0 6px;
     flex-shrink: 0;
     color: #fff;
     background: var(--wf-blue);
     border-radius: 999px;
     font-size: 10px;
     font-weight: 800;
   }
   
   .wf-df-node-title,
   .wf-df-node-meta,
   .wf-df-step { display: none !important; }
   
   .wf-df-start,
   .wf-df-end { background: #0b1220; border-color: var(--wf-blue-2); }
   .wf-df-submission,
   .wf-df-approval { background: linear-gradient(180deg, var(--wf-panel), #071427); border-color: var(--wf-blue-2); }
   .wf-df-approval { border-color: var(--wf-blue); }
   .wf-df-system { background: linear-gradient(180deg, #064e3b, var(--wf-panel)); border-color: #34d399; }
   
   /* Condition diamond-like node and branch labels */
   .wf-df-condition {
     position: relative !important;
     min-width: 145px !important;
     max-width: 165px !important;
     padding: 9px 28px 9px 14px !important;
     color: #fff7ed !important;
     background: linear-gradient(180deg, #3b2206, var(--wf-panel)) !important;
     border: 1px solid var(--wf-orange) !important;
     clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
   }
   
   .wf-df-condition .wf-df-step-no { background: var(--wf-orange) !important; color: #111827 !important; }
   .wf-df-condition .wf-df-step-name { color: #fff7ed !important; }
   .wf-df-condition .wf-df-cond,
   .wf-df-condition .wf-df-action { color: #fde68a !important; }
   
   .wf-df-branch-labels {
     position: absolute;
     top: 0;
     right: 5px;
     bottom: 0;
     width: 24px;
     pointer-events: none !important;
   }
   
   .wf-df-branch-labels span {
     position: absolute;
     right: 0;
     min-width: 22px;
     padding: 1px 4px;
     color: #111827;
     background: var(--wf-yellow);
     border: 1px solid rgba(251, 191, 36, .7);
     border-radius: 999px;
     font-size: 8px;
     font-weight: 800;
     line-height: 1.1;
     text-align: center;
     pointer-events: none !important;
   }
   
   .wf-df-branch-yes { top: 31%; }
   .wf-df-branch-no { top: 61%; }
   .drawflow .drawflow-node.condition .outputs .output_1 { top: 32% !important; }
   .drawflow .drawflow-node.condition .outputs .output_2 { top: 68% !important; }
   .drawflow .drawflow-node.condition .output { right: -11px !important; border-color: var(--wf-yellow) !important; }
   
   /* Background workflow node */
   .wf-df-background {
     min-width: 138px !important;
     max-width: 160px !important;
     color: #ecfeff !important;
     background: linear-gradient(180deg, #164e63, var(--wf-panel)) !important;
     border: 1px solid var(--wf-cyan) !important;
     border-radius: 14px !important;
   }
   
   .wf-df-background .wf-df-step-no { background: #06b6d4 !important; color: #082f49 !important; }
   .wf-df-background .wf-df-step-name { color: #ecfeff !important; }
   .wf-df-background .wf-df-cond,
   .wf-df-background .wf-df-action { color: #a5f3fc !important; }
   .drawflow .drawflow-node.background { background: rgba(6, 182, 212, .14) !important; border-color: rgba(34, 211, 238, .42) !important; }
   .drawflow .drawflow-node.background .input,
   .drawflow .drawflow-node.background .output { border-color: var(--wf-cyan) !important; }
   
   .drawflow .drawflow-node.selected {
     background: rgba(37, 99, 235, .22) !important;
     border: 1px solid var(--wf-blue-soft) !important;
     box-shadow: 0 0 0 2px rgba(96, 165, 250, .28), 0 10px 24px rgba(37, 99, 235, .28) !important;
   }
   
   .drawflow .drawflow-node.selected .wf-df-node { border-color: #93c5fd !important; background: linear-gradient(180deg, #1d4ed8, var(--wf-panel)) !important; }
   .drawflow .drawflow-node.selected .wf-df-condition { background: linear-gradient(180deg, #92400e, #1e293b) !important; border-color: var(--wf-yellow) !important; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35) !important; }
   .drawflow .drawflow-node.selected .wf-df-background { background: linear-gradient(180deg, #0891b2, var(--wf-panel)) !important; border-color: #67e8f9 !important; box-shadow: 0 0 0 2px rgba(103, 232, 249, .28), 0 12px 26px rgba(8, 145, 178, .28) !important; }
   
   /* -----------------------------------------------------------------------
      Tables / parsed steps
      ----------------------------------------------------------------------- */
   .wf-table-wrap {
     width: 100%;
     max-width: 100%;
     overflow: auto;
     background: var(--wf-bg);
     border: 1px solid var(--wf-border);
     border-radius: 12px;
   }
   
   .wf-table,
   .wf-parsed-steps-table {
     width: 100%;
     min-width: 1350px;
     border-collapse: collapse;
     font-size: 13px;
   }
   
   .wf-table th,
   .wf-table td {
     padding: 8px;
     vertical-align: top;
     border-bottom: 1px solid #1e293b;
   }
   
   .wf-table th {
     padding: 10px;
     color: #93c5fd;
     background: var(--wf-panel);
     border-bottom-color: var(--wf-border);
     text-align: left;
     white-space: nowrap;
   }
   
   .wf-table td { color: #cbd5e1; }
   .wf-table tr:hover td { background: rgba(37, 99, 235, .06); }
   .wf-parsed-steps-table th,
   .wf-parsed-steps-table td { white-space: nowrap; }
   .wf-parsed-steps-table textarea { white-space: normal; }
   
   .wf-table input,
   .wf-table textarea,
   .wf-table select,
   .wf-parsed-steps-table input,
   .wf-parsed-steps-table textarea {
     min-width: 130px;
     margin: 0;
     padding: 7px;
     color: var(--wf-text-strong);
     background: var(--wf-bg) !important;
     border: 1px solid var(--wf-border-soft) !important;
   }
   
   .wf-table textarea { min-height: 56px; }
   .wf-col-step-no { width: 72px; min-width: 72px; max-width: 72px; }
   .wf-col-trigger,
   .wf-col-parallel { width: 105px; min-width: 105px; max-width: 105px; }
   .wf-col-badi { width: 70px; min-width: 70px; max-width: 70px; text-align: center; }
   .wf-step-no-input { width: 48px !important; min-width: 48px !important; text-align: center; }
   .wf-trigger-input,
   .wf-parallel-input { width: 70px !important; min-width: 70px !important; text-align: center; }
   
   /* Modern checkbox */
   .wf-table-checkbox {
     display: flex !important;
     justify-content: center !important;
     align-items: center !important;
     width: 100%;
     height: 100%;
     margin: 0;
   }
   
   .wf-table-checkbox input[type="checkbox"],
   .wf-parsed-steps-table input[type="checkbox"] {
     appearance: none;
     -webkit-appearance: none;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 18px !important;
     min-width: 18px !important;
     height: 18px !important;
     cursor: pointer;
     background: var(--wf-bg) !important;
     border: 1px solid #64748b !important;
     border-radius: 5px !important;
     box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .16);
   }
   
   .wf-table-checkbox input[type="checkbox"]:hover,
   .wf-parsed-steps-table input[type="checkbox"]:hover {
     border-color: var(--wf-blue-soft) !important;
     box-shadow: 0 0 0 3px rgba(96, 165, 250, .16);
   }
   
   .wf-table-checkbox input[type="checkbox"]:checked,
   .wf-parsed-steps-table input[type="checkbox"]:checked {
     background: linear-gradient(180deg, var(--wf-blue), #1d4ed8) !important;
     border-color: var(--wf-blue-soft) !important;
   }
   
   .wf-table-checkbox input[type="checkbox"]:checked::after,
   .wf-parsed-steps-table input[type="checkbox"]:checked::after {
     content: "✓";
     color: #fff;
     font-size: 13px;
     font-weight: 900;
     line-height: 1;
   }
   
   /* -----------------------------------------------------------------------
      Output / placeholder / chat
      ----------------------------------------------------------------------- */
   .wf-output {
     min-height: 320px;
     padding: 16px;
     overflow: auto;
     color: #dbeafe;
     background: var(--wf-panel-2);
     border: 1px solid var(--wf-border);
     border-radius: 12px;
     white-space: pre-wrap;
     line-height: 1.55;
     font-size: 13px;
   }
   
   .wf-placeholder {
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 360px;
     padding: 22px;
     color: var(--wf-muted);
     background: var(--wf-bg);
     border: 2px dashed var(--wf-border);
     border-radius: var(--wf-radius);
     text-align: center;
   }
   
   .wf-placeholder.small { min-height: 190px; }
   
   .wf-chat-header {
     padding: 12px;
     color: var(--wf-text-strong);
     border-bottom: 1px solid #1e293b;
   }
   
   .wf-chat-header h2 { margin: 0; font-size: 18px; }
   .wf-chat-header p { margin: 4px 0 0; color: var(--wf-muted); font-size: 12px; }
   .wf-chat-messages { flex: 1; min-height: 0; padding: 12px; overflow-y: auto; color: #cbd5e1; }
   
   .wf-chat-msg {
     max-width: 86%;
     padding: 11px 14px;
     margin-bottom: 12px;
     border-radius: var(--wf-radius);
     font-size: 13px;
     line-height: 1.55;
     white-space: pre-wrap;
   }
   
   .wf-chat-msg.user { margin-left: auto; color: #fff; background: var(--wf-blue); border: 1px solid var(--wf-blue-2); }
   .wf-chat-msg.assistant { margin-right: auto; color: #e2e8f0; background: var(--wf-panel); border: 1px solid var(--wf-border); }
   
   .wf-chat-input {
     display: flex;
     gap: 10px;
     padding: 10px;
     border-top: 1px solid #1e293b;
   }
   
   .wf-chat-input textarea { flex: 1; min-height: 50px; max-height: 140px; resize: none; background: var(--wf-bg); }
   .wf-chat-input button { width: 84px; border: none; }
   
   .wf-output pre,
   .wf-chat-msg pre {
     margin: 10px 0;
     padding: 12px;
     overflow-x: auto;
     background: var(--wf-bg);
     border: 1px solid var(--wf-border);
     border-radius: var(--wf-radius-sm);
   }
   
   .wf-output code,
   .wf-chat-msg code { color: #cfe3ff; font-family: "Courier New", monospace; font-size: 12px; }
   .wf-output p,
   .wf-chat-msg p { margin: 6px 0; }
   .wf-output ul,
   .wf-output ol,
   .wf-chat-msg ul,
   .wf-chat-msg ol { margin: 6px 0 6px 18px; padding: 0; }
   .wf-output li,
   .wf-chat-msg li { margin-bottom: 4px; }

   #codeOutput {
     height: calc(100vh - 205px);
     min-height: 360px;
     max-height: 760px;
     overflow: auto;
     white-space: normal;
   }

   #codeOutput > h2,
   #codeOutput > h3 { margin: 18px 0 8px; color: var(--wf-text-strong); }

   .wf-badi-section {
     margin: 16px 0;
     padding: 16px;
     overflow: hidden;
     background: rgba(2, 6, 23, .48);
     border: 1px solid var(--wf-border);
     border-left: 4px solid #64748b;
     border-radius: 12px;
   }

   .wf-badi-section.is-yes { border-left-color: #22c55e; }
   .wf-badi-section.is-no { border-left-color: #64748b; opacity: .9; }
   .wf-badi-section h2 { margin: 0 0 12px; color: #fff; font-size: 17px; }

   .wf-code-window {
     max-width: 100%;
     margin: 12px 0;
     overflow: hidden;
     background: #020617;
     border: 1px solid #1f2a44;
     border-radius: 10px;
   }

   .wf-code-toolbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 6px 9px;
     color: #94a3b8;
     background: #0f172a;
     border-bottom: 1px solid #1f2a44;
     font-size: 11px;
     font-weight: 700;
   }

   .wf-code-copy-btn { padding: 5px 9px; font-size: 11px; }
   #codeOutput .wf-code-window pre {
     max-height: 420px;
     margin: 0;
     overflow: auto;
     border: 0;
     border-radius: 0;
     white-space: pre;
   }

   .wf-table-scroll { max-width: 100%; overflow-x: auto; border-radius: 8px; }
   #codeOutput table { width: 100%; border-collapse: collapse; }
   #codeOutput th, #codeOutput td {
     padding: 8px 10px;
     border: 1px solid var(--wf-border);
     text-align: left;
     vertical-align: top;
   }
   #codeOutput th { background: #0f172a; color: #fff; }

   #testOutput {
     height: calc(100vh - 205px);
     min-height: 360px;
     max-height: 760px;
     overflow: auto;
     white-space: normal;
   }

   #testOutput > h1 { margin: 0 0 16px; color: #fff; font-size: 20px; }
   #testOutput > h2 { margin: 20px 0 10px; color: #fff; font-size: 17px; }
   .wf-test-scenario {
     margin: 16px 0;
     padding: 16px;
     overflow: hidden;
     background: rgba(2, 6, 23, .48);
     border: 1px solid var(--wf-border);
     border-left: 4px solid var(--wf-blue-soft);
     border-radius: 12px;
   }
   .wf-test-scenario h2 { margin: 0 0 14px; color: #fff; font-size: 17px; }
   .wf-test-scenario h3 { margin: 18px 0 8px; color: #bfdbfe; font-size: 15px; }
   #testOutput table { width: 100%; border-collapse: collapse; }
   #testOutput th, #testOutput td {
     padding: 8px 10px;
     border: 1px solid var(--wf-border);
     text-align: left;
     vertical-align: top;
   }
   #testOutput th { background: #0f172a; color: #fff; }
   
   /* -----------------------------------------------------------------------
      Node editor
      ----------------------------------------------------------------------- */
   .wf-node-editor {
     position: absolute;
     top: 76px;
     right: 18px;
     z-index: 50;
     width: 330px;
     max-height: calc(100% - 96px);
     padding: 12px;
     overflow-y: auto;
     background: var(--wf-bg);
     border: 1px solid var(--wf-blue-2);
     border-radius: var(--wf-radius);
     box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
   }
   
   .wf-node-editor.hidden { display: none; }
   .wf-node-editor-header { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--wf-border); }
   .wf-node-editor-header h3 { font-size: 15px; }
   
   #nodeEditorCloseBtn {
     width: 30px;
     height: 30px;
     padding: 0;
     color: var(--wf-text);
     background: var(--wf-panel);
     border: 1px solid var(--wf-border-soft);
     border-radius: 999px;
     font-size: 18px;
     line-height: 1;
   }
   
   .wf-node-editor-table {
     display: grid;
     grid-template-columns: 1fr;
     gap: 8px;
   }
   
   .wf-node-editor-table label { margin: 0; font-size: 12px; font-weight: 700; }
   .wf-node-editor-table input,
   .wf-node-editor-table textarea { margin-top: 5px; padding: 8px; background: var(--wf-bg-2); font-size: 12px; }
   .wf-node-editor-table textarea { min-height: 64px; }
   .wf-node-editor-actions { justify-content: flex-end; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--wf-border); }
   .wf-node-editor-actions button { padding: 8px 12px; font-size: 12px; }
   
   /* -----------------------------------------------------------------------
      Loading
      ----------------------------------------------------------------------- */
   .wf-loading-overlay {
     position: fixed;
     inset: 0;
     z-index: 9999;
     display: flex;
     align-items: center;
     justify-content: center;
     background: rgba(2, 6, 23, .72);
     backdrop-filter: blur(6px);
   }
   
   .wf-loading-overlay.hidden { display: none; }
   .wf-loading-card {
     width: 360px;
     padding: 28px;
     color: var(--wf-panel);
     background: var(--wf-text-strong);
     border-radius: 22px;
     text-align: center;
     box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
   }
   
   .wf-loading-card h3 { margin: 14px 0 6px; font-size: 20px; }
   .wf-loading-card p { margin: 0; color: #475569; font-size: 13px; }
   .wf-spinner {
     width: 42px;
     height: 42px;
     margin: 0 auto;
     border: 4px solid #dbeafe;
     border-top-color: var(--wf-blue);
     border-radius: 50%;
     animation: wf-spin .9s linear infinite;
   }
   
   @keyframes wf-spin { to { transform: rotate(360deg); } }
   
   /* -----------------------------------------------------------------------
      Scrollbars
      ----------------------------------------------------------------------- */
   .wf-panel,
   .wf-main,
   .wf-chat-messages,
   .wf-visual-flow,
   .drawflow-canvas,
   .wf-table-wrap,
   .wf-output,
   .wf-node-editor,
   textarea {
     scrollbar-width: thin;
     scrollbar-color: var(--wf-blue) var(--wf-bg);
   }
   
   .wf-panel::-webkit-scrollbar,
   .wf-main::-webkit-scrollbar,
   .wf-chat-messages::-webkit-scrollbar,
   .wf-visual-flow::-webkit-scrollbar,
   .drawflow-canvas::-webkit-scrollbar,
   .wf-table-wrap::-webkit-scrollbar,
   .wf-output::-webkit-scrollbar,
   .wf-node-editor::-webkit-scrollbar,
   textarea::-webkit-scrollbar {
     width: 8px;
     height: 8px;
   }
   
   .wf-panel::-webkit-scrollbar-track,
   .wf-main::-webkit-scrollbar-track,
   .wf-chat-messages::-webkit-scrollbar-track,
   .wf-visual-flow::-webkit-scrollbar-track,
   .drawflow-canvas::-webkit-scrollbar-track,
   .wf-table-wrap::-webkit-scrollbar-track,
   .wf-output::-webkit-scrollbar-track,
   .wf-node-editor::-webkit-scrollbar-track,
   textarea::-webkit-scrollbar-track {
     background: var(--wf-bg);
     border-radius: 999px;
   }
   
   .wf-panel::-webkit-scrollbar-thumb,
   .wf-main::-webkit-scrollbar-thumb,
   .wf-chat-messages::-webkit-scrollbar-thumb,
   .wf-visual-flow::-webkit-scrollbar-thumb,
   .drawflow-canvas::-webkit-scrollbar-thumb,
   .wf-table-wrap::-webkit-scrollbar-thumb,
   .wf-output::-webkit-scrollbar-thumb,
   .wf-node-editor::-webkit-scrollbar-thumb,
   textarea::-webkit-scrollbar-thumb {
     background: linear-gradient(90deg, var(--wf-blue), #38bdf8);
     border: 2px solid var(--wf-bg);
     border-radius: 999px;
   }
   
   .wf-panel::-webkit-scrollbar-thumb:hover,
   .wf-main::-webkit-scrollbar-thumb:hover,
   .wf-chat-messages::-webkit-scrollbar-thumb:hover,
   .wf-visual-flow::-webkit-scrollbar-thumb:hover,
   .drawflow-canvas::-webkit-scrollbar-thumb:hover,
   .wf-table-wrap::-webkit-scrollbar-thumb:hover,
   .wf-output::-webkit-scrollbar-thumb:hover,
   .wf-node-editor::-webkit-scrollbar-thumb:hover,
   textarea::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(90deg, var(--wf-blue-2), #67e8f9);
   }
   
   .wf-visual-flow::-webkit-scrollbar { height: 10px; }
   .wf-visual-flow::-webkit-scrollbar-track { background: #07111f; }
   .wf-visual-flow::-webkit-scrollbar-thumb { border-color: #07111f; background: linear-gradient(90deg, #1d4ed8, #06b6d4); }
   .wf-parsed-steps-table textarea { scrollbar-color: #64748b var(--wf-bg); }
   .wf-parsed-steps-table textarea::-webkit-scrollbar { width: 6px; height: 6px; }
   .wf-parsed-steps-table textarea::-webkit-scrollbar-thumb { background: #475569; border-radius: 999px; }
   .wf-parsed-steps-table textarea::-webkit-scrollbar-thumb:hover { background: var(--wf-blue-soft); }
   
   /* -----------------------------------------------------------------------
      Responsive
      ----------------------------------------------------------------------- */
   @media (max-width: 1100px) {
     .wf-layout { grid-template-columns: minmax(0, 1fr) 340px; }
   }
   
   @media (max-width: 900px) {
     .wf-page { padding: 12px; }
     .wf-header { flex-direction: column; align-items: stretch; }
     .wf-header-actions,
     .wf-header-actions input { width: 100%; }
     .wf-layout { grid-template-columns: 1fr; height: auto; overflow: visible; }
     .wf-main,
     .wf-chat { min-height: 450px; }
     .wf-grid { grid-template-columns: 1fr; }
     .wf-chat { margin-top: 14px; }
   }
   .wf-parsed-row-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 8px 0 10px;
  }
  
  .wf-parsed-row-toolbar button {
    height: 32px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
  }
  
  #deleteParsedStepRowBtn {
    background: #7f1d1d;
    border-color: #ef4444;
  }
  
  #deleteParsedStepRowBtn:hover:not(:disabled) {
    background: #991b1b;
    border-color: #f87171;
  } 

  .wf-typed-output {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #dbeafe;
  }
  
  .wf-config-card {
    border: 1px solid #1e3a5f;
    border-radius: 14px;
    background: #07111f;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
  
  .wf-config-card h2 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 17px;
    line-height: 1.25;
  }
  
  .wf-config-card p {
    margin: 8px 0;
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.6;
  }
  
  .wf-config-section-card {
    background: linear-gradient(135deg, #07111f, #0f172a);
  }
  
  .wf-config-path-card {
    background: linear-gradient(135deg, #082f49, #0f172a);
    border-color: #0369a1;
  }
  
  .wf-path-grid {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
  }
  
  .wf-path-label {
    color: #93c5fd;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  
  .wf-path-value {
    color: #e0f2fe;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
  }
  
  .wf-path-tcode {
    display: inline-flex;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: #0c4a6e;
    color: #f0f9ff;
    font-weight: 800;
    letter-spacing: 0.03em;
  }
  
  .wf-config-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  
  .wf-config-card-header h2 {
    margin: 0;
  }
  
  .wf-copy-table-btn {
    height: 28px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #1d4ed8;
    border: 1px solid #3b82f6;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
  }
  
  .wf-copy-table-btn:disabled {
    opacity: 0.65;
    cursor: default;
  }
  
  .wf-config-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #1e3a5f;
    border-radius: 10px;
  }
  
  .wf-config-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #020617;
    font-size: 12px;
  }
  
  .wf-config-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0f172a;
    color: #93c5fd;
    text-align: left;
    padding: 9px 10px;
    border-bottom: 1px solid #1e3a5f;
    white-space: nowrap;
  }
  
  .wf-config-table td {
    color: #dbeafe;
    padding: 9px 10px;
    border-bottom: 1px solid #102a43;
    vertical-align: top;
    line-height: 1.45;
  }
  
  .wf-config-table tbody tr:hover {
    background: #0b1830;
  }
  
  .wf-config-table tbody tr:last-child td {
    border-bottom: 0;
  }
  
  .wf-config-table-config th:first-child,
  .wf-config-table-config td:first-child {
    width: 220px;
    color: #bfdbfe;
    font-weight: 700;
  }
  
  .wf-config-table-check th {
    color: #fde68a;
  }
  
  .wf-config-table-check td:first-child {
    color: #fde68a;
    font-weight: 700;
  }
  .wf-config-table-wrap {
    margin: 14px 0 22px;
    border: 1px solid #8fa8bf;
    background: #dceaf5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow-x: auto;
  }
  
  .wf-config-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #102a3d;
    background: #eef6fc;
  }
  
  .wf-config-table th {
    padding: 7px 8px;
    text-align: left;
    font-weight: 700;
    color: #12344d;
    background: linear-gradient(#e8f4fc, #c7ddec);
    border: 1px solid #9eb5c8;
    white-space: nowrap;
  }
  
  .wf-config-table td {
    padding: 6px 8px;
    min-height: 28px;
    color: #102a3d;
    background: #f8fcff;
    border: 1px solid #b7c9d8;
    vertical-align: middle;
  }
  
  .wf-config-table tbody tr:nth-child(even) td {
    background: #eef7fd;
  }
  
  .wf-config-table tbody tr:hover td {
    background: #fff4bf;
  }
  
  .sap-checkbox {
    display: inline-flex;
    width: 15px;
    height: 15px;
    border: 1px solid #6d7f8e;
    border-radius: 2px;
    background: linear-gradient(#ffffff, #d9e3ec);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    vertical-align: middle;
    align-items: center;
    justify-content: center;
  }
  
  .sap-checkbox.checked::after {
    content: "✓";
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: #2b3d4f;
  }
  
  .sap-empty-input {
    display: inline-block;
    min-width: 150px;
    height: 20px;
    background: #fff6bd;
    border: 1px solid #9fb2c2;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
  }
  .wf-step-card {
    padding: 14px 16px;
    margin: 14px 0;
    border: 1px solid rgba(71, 132, 190, 0.45);
    border-radius: 12px;
    background: #071426;
  }
  
  .wf-step-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }
  
  .wf-step-header h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    color: #ffffff;
  }
  
  .wf-step-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }
  
  .wf-step-tcode {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 700;
    color: #ffffff;
    background: #145a8d;
    border: 1px solid rgba(125, 202, 255, 0.45);
  }
  
  .wf-step-path {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    color: #d8ecff;
    background: rgba(27, 65, 104, 0.7);
    border: 1px solid rgba(125, 202, 255, 0.25);
  }
  
  .wf-step-instruction {
    margin: 6px 0 10px;
    padding: 8px 10px;
    border-left: 3px solid #2f80ed;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #e7f3ff;
    background: rgba(47, 128, 237, 0.12);
  }
  
  .wf-step-table-wrap {
    margin: 8px 0 0;
  }
  .wf-step-card {
    padding: 12px 14px !important;
    margin: 12px 0 !important;
    min-height: 0 !important;
    border-radius: 10px;
  }
  
  .wf-step-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 8px !important;
  }
  
  .wf-step-header h2 {
    margin: 0 !important;
    font-size: 17px;
    line-height: 1.25;
  }
  
  .wf-step-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
  }
  
  .wf-step-tcode,
  .wf-step-path {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
  }
  
  .wf-step-tcode {
    font-weight: 700;
    color: #ffffff;
    background: #145a8d;
    border: 1px solid rgba(125, 202, 255, 0.45);
  }
  
  .wf-step-path {
    color: #d8ecff;
    background: rgba(27, 65, 104, 0.7);
    border: 1px solid rgba(125, 202, 255, 0.25);
  }
  
  .wf-step-instruction {
    margin: 8px 0 10px !important;
    padding: 7px 10px !important;
    border-left: 3px solid #2f80ed;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.3;
    color: #e7f3ff;
    background: rgba(47, 128, 237, 0.12);
  }
  
  .wf-step-table-wrap,
  .wf-config-table-wrap {
    margin: 8px 0 0 !important;
  }
  
  .wf-config-table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
  }
  
  .wf-config-table th,
  .wf-config-table td {
    padding: 6px 8px !important;
    font-size: 13px;
    line-height: 1.25;
    vertical-align: middle;
  }
  
  .wf-config-table th {
    white-space: nowrap;
  }
  .wf-step-type-cell {
    min-width: 260px;
  }
  
  .wf-step-type-picker-btn {
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #2f80ed;
    border-radius: 8px;
    background: rgba(47, 128, 237, 0.12);
    color: #e7f3ff;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.3;
  }
  
  .wf-step-type-picker-btn:hover {
    background: rgba(47, 128, 237, 0.24);
  }
  
  .wf-step-type-modal.hidden {
    display: none;
  }
  
  .wf-step-type-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
  }
  
  .wf-step-type-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
  }
  
  .wf-step-type-dialog {
    position: relative;
    width: min(1050px, calc(100vw - 48px));
    max-height: calc(100vh - 80px);
    margin: 40px auto;
    border: 1px solid rgba(125, 202, 255, 0.4);
    border-radius: 14px;
    background: #071426;
    color: #e7f3ff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
  }
  
  .wf-step-type-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(125, 202, 255, 0.22);
    background: #0b1d35;
  }
  
  .wf-step-type-dialog-header h3 {
    margin: 0;
    font-size: 17px;
  }
  
  .wf-step-type-close-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(125, 202, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
  }
  
  .wf-step-type-dialog-body {
    max-height: calc(100vh - 160px);
    overflow: auto;
    padding: 14px;
  }
  
  .wf-step-type-option-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  
  .wf-step-type-option-table th {
    padding: 8px;
    text-align: left;
    background: #102b4a;
    color: #ffffff;
    border: 1px solid rgba(125, 202, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
  .wf-step-type-option-table td {
    padding: 7px 8px;
    border: 1px solid rgba(125, 202, 255, 0.16);
    background: #08182c;
    vertical-align: middle;
  }
  
  .wf-step-type-option-table tr:hover td {
    background: #0e2948;
  }
  
  .wf-step-type-option-table input {
    width: 100%;
    min-height: 30px;
    padding: 5px 7px;
    border: 1px solid rgba(125, 202, 255, 0.35);
    border-radius: 6px;
    background: #061221;
    color: #ffffff;
  }
  
  .wf-step-type-select-btn,
  .wf-step-type-custom-select-btn {
    padding: 6px 11px;
    border: 1px solid #2f80ed;
    border-radius: 7px;
    background: #145a8d;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
  }
  
  .wf-step-type-select-btn:hover,
  .wf-step-type-custom-select-btn:hover {
    background: #1d74b6;
  }
  
  .wf-custom-step-type-code {
    font-weight: 700;
    margin-bottom: 5px;
    color: #9fd3ff;
  }
  /* Parsed Steps: Step Type column compact */
.wf-parsed-steps-table th:nth-child(4),
.wf-parsed-steps-table td:nth-child(4) {
  width: 260px;
  max-width: 260px;
  min-width: 220px;
}

.wf-step-type-cell {
  width: 220px;
  max-width: 260px;
  min-width: 220px;
}

.wf-step-type-picker-btn {
  width: 100%;
  max-width: 220px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-action-picker {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.wf-action-picker-input {
  flex: 1;
  min-width: 0;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  cursor: pointer;
}

.wf-action-picker-btn {
  width: 34px;
  border: 1px solid rgba(125, 202, 255, 0.35);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: #145a8d;
  color: #ffffff;
  cursor: pointer;
}

.wf-action-picker-menu.hidden {
  display: none;
}

.wf-action-picker-menu {
  position: fixed;
  z-index: 10050;
  border: 1px solid rgba(125, 202, 255, 0.45);
  border-radius: 10px;
  background: #071426;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.wf-action-picker-menu-inner {
  max-height: 320px;
  overflow: auto;
  padding: 6px;
}

.wf-action-picker-option {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #e7f3ff;
  text-align: left;
  cursor: pointer;
}

.wf-action-picker-option:hover {
  background: rgba(47, 128, 237, 0.22);
}

.wf-action-code {
  font-weight: 700;
  color: #9fd3ff;
}

.wf-action-text {
  color: #ffffff;
}

.wf-action-picker-custom-option {
  display: grid;
  grid-template-columns: 46px 1fr 52px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-top: 1px solid rgba(125, 202, 255, 0.16);
}

.wf-action-custom-text {
  min-height: 30px;
  padding: 5px 7px;
  border: 1px solid rgba(125, 202, 255, 0.35);
  border-radius: 6px;
  background: #061221;
  color: #ffffff;
}

.wf-action-custom-use-btn {
  min-height: 30px;
  border: 1px solid #2f80ed;
  border-radius: 6px;
  background: #145a8d;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}
.brf-config-output {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brf-table-section {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  padding: 10px 12px;
}

.brf-table-section h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  color: #102a43;
}

.brf-help-text {
  margin: 0 0 6px 0;
  color: #52606d;
  font-size: 13px;
}

.brf-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e4e7eb;
  border-radius: 10px;
}

.brf-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
}

.brf-table th {
  background: #f0f4f8;
  color: #243b53;
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #d9e2ec;
  line-height: 1.2;
  white-space: nowrap;
}

.brf-table td {
  padding: 5px 8px;
  border-bottom: 1px solid #edf2f7;
  color: #334e68;
  vertical-align: middle;
  line-height: 1.2;
}

.brf-table tr:last-child td {
  border-bottom: none;
}

.empty-table-msg {
  padding: 12px;
  background: #f8fafc;
  border: 1px dashed #bcccdc;
  border-radius: 8px;
  color: #627d98;

  .brf-config-output {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brf-table-section {
  padding: 14px 14px 16px 14px;
  margin: 0;
}

.brf-table-section h3 {
  margin: 0 0 8px 0;
  padding: 0;
  line-height: 1.25;
}

.brf-help-text {
  margin: 0 0 12px 0;
  padding: 0;
  line-height: 1.4;
}

.brf-table-wrapper {
  margin-top: 0;
}

}

.brf-config-output {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brf-table-section {
  padding: 14px 14px 16px 14px;
  margin: 0;
}

.brf-table-section h3 {
  margin: 0 0 8px 0;
  padding: 0;
  line-height: 1.25;
}

.brf-help-text {
  margin: 0 0 5px 0;
  padding: 0;
  line-height: 1;
}

.brf-table-wrapper {
  margin-top: 0;
}
