/* Dark Neon theme (v1.1.9). Every rule is scoped to body.theme-neon (Neon Glow and Neon Black) or body.theme-black (Neon Black only),
   so with the Light theme this file changes nothing. The theme is chosen in the toolbar and saved in the project file (version 6).
   Built from the 20 Oct 2026 mock-up (SimpleSankey 1.1.9/Mockups/DarkNeon). */
body.theme-neon{color-scheme:dark;--ocean-deep:#171f4a;--ocean-teal:#00e5ff;--ocean-orange:#ff2e97;--ocean-side:#080b16;--ocean-panel:#0e1527;--ocean-border:#26345e;--ocean-text:#dbe6ff;--ocean-muted:#8fa3d1;--neon-cyan:#00e5ff;--neon-pink:#ff2e97}
body.theme-neon{background:#05070f;color:#dbe6ff}
body.theme-neon #toolbar{background:#0b1030;border-bottom:3px solid var(--neon-cyan);box-shadow:0 2px 18px rgba(0,229,255,.35)}
body.theme-neon #toolbar button,
body.theme-neon #loadExampleBtn,
body.theme-neon #paletteAddBtn{background:#10173a;color:#d6e4ff;border:2px solid #2d3f86}
body.theme-neon #toolbar button:hover:not(:disabled),
body.theme-neon #loadExampleBtn:hover:not(:disabled),
body.theme-neon #paletteAddBtn:hover:not(:disabled){background:#1a2554;border-color:var(--neon-cyan);box-shadow:0 0 10px rgba(0,229,255,.45)}
body.theme-neon #toolbar #exportBtn,
body.theme-neon #toolbar #exportSvgBtn{background:var(--neon-pink);border-color:var(--neon-pink);color:#fff;box-shadow:0 0 12px rgba(255,46,151,.55)}
body.theme-neon #toolbar #exportBtn:hover:not(:disabled),
body.theme-neon #toolbar #exportSvgBtn:hover:not(:disabled){background:#ff63b1;border-color:#ff63b1}
body.theme-neon #toolbar #exploreBtn[aria-pressed="true"]{background:var(--neon-cyan);border-color:var(--neon-cyan);color:#001318}
/* v1.1.11: the Home link and the tip link in the toolbar */
body.theme-neon #toolbar #homeLink b{color:var(--neon-cyan)}
body.theme-neon #toolbar .toolbar-link{background:#10173a;color:#d6e4ff;border:2px solid #2d3f86}
body.theme-neon #toolbar .toolbar-link:hover{background:#1a2554;border-color:var(--neon-cyan);box-shadow:0 0 10px rgba(0,229,255,.45)}
body.theme-neon .table-actions button,
body.theme-neon #fitViewBtn,
body.theme-neon #resetAllPositionsBtn,
body.theme-neon .distribute-row button{background:#10173a;color:#d6e4ff;border:1px solid #2d3f86;border-radius:5px}
body.theme-neon .table-actions button:hover:not(:disabled),
body.theme-neon #fitViewBtn:hover,
body.theme-neon #resetAllPositionsBtn:hover,
body.theme-neon .distribute-row button:hover{border-color:var(--neon-cyan);box-shadow:0 0 8px rgba(0,229,255,.4)}
body.theme-neon #saveStatus{color:#9fb3e6}
body.theme-neon #editor::before{background:linear-gradient(90deg,#00e5ff,#a855ff,#ff2e97)}
body.theme-neon #editor h2,
body.theme-neon .collapse-all button,
body.theme-neon .custom-clear,
body.theme-neon .flow-head,
body.theme-neon .flow-node-title,
body.theme-neon .pos-side .link-button,
body.theme-neon .app-footer a,
body.theme-neon #stageTitlesResetBtn,
body.theme-neon .help-panel h3,
body.theme-neon .dialog h3,
body.theme-neon .row-grip:hover{color:var(--neon-cyan)}
body.theme-neon .panel{border-left-color:var(--neon-cyan);box-shadow:0 0 16px rgba(0,229,255,.10)}
body.theme-neon .panel-head,
body.theme-neon .table-summary,
body.theme-neon .help-toggle{background:#151d44;color:#e8f0ff;border-color:#2d3f86}
body.theme-neon .panel-head:hover,
body.theme-neon .table-summary:hover,
body.theme-neon .help-toggle:hover{background:#1d2860;border-color:var(--neon-cyan)}
body.theme-neon .help-panel{color:#b8c7ee}
body.theme-neon #flowBreakdown .trace-toggle{color:#dbe6ff}
body.theme-neon #flowBreakdown .flow-copy{background:#10173a;color:#d6e4ff;border:1px solid #2d3f86}
body.theme-neon #flowBreakdown .flow-copy:hover:not(:disabled){border-color:var(--neon-cyan);box-shadow:0 0 8px rgba(0,229,255,.4)}
body.theme-neon .slider-readout{color:#dbe6ff}
body.theme-neon .theme-colours-title{color:var(--ocean-muted)}
body.theme-neon .slider-reset,
body.theme-neon .dpad button{background:#10173a;color:#b8c7ee;border:1px solid #2d3f86}
body.theme-neon .slider-reset:hover:not(:disabled){border-color:var(--neon-cyan);color:var(--neon-cyan)}
body.theme-neon .dpad button:hover:not(:disabled){background:var(--neon-cyan);color:#001318}
body.theme-neon .theme-swatch{border-color:#0e1527;box-shadow:0 0 0 1px #2d3f86}
body.theme-neon .theme-swatch:not(.empty):not(:disabled){box-shadow:0 0 8px currentColor,0 0 0 1px #2d3f86}
body.theme-neon .theme-swatch:hover,
body.theme-neon .theme-swatch:focus{box-shadow:0 0 0 3px var(--neon-cyan)}
body.theme-neon .theme-swatch.selected{box-shadow:0 0 0 3px #fff}
body.theme-neon .theme-swatch.empty{background:#0a0f20;border-color:#2d3f86}
body.theme-neon .pill.warn{background:#4a3a08;color:#ffd166}
body.theme-neon .pill.err{background:#4a0f1f;color:#ff8fa8}
body.theme-neon .pill.ok{background:#0b3a2a;color:#5dffb4}
body.theme-neon .validation-drop.warning{background:#2e2608;border-color:#a8801f}
body.theme-neon .validation-drop.error{background:#34101c;border-color:#b0405c}
body.theme-neon .paste-offer{background:#2e2608;border-color:#a8801f;color:#ffe3a3}
body.theme-neon .paste-offer-dismiss{color:#ffe3a3}
body.theme-neon .palette-input,
body.theme-neon .ai-prompt{background:#080d1c;color:#cfe0ff;border-color:#2d3f86}
body.theme-neon .flow-row{background:#0a0f20;color:#dbe6ff;border-color:#26345e}
body.theme-neon .flow-row:hover{border-color:var(--neon-cyan)}
body.theme-neon .flow-swatch{border-color:rgba(255,255,255,.35)}
body.theme-neon .app-footer{color:#8fa3d1}
body.theme-neon .table-wrap,
body.theme-neon #dataTable{background:#0a0f20}
body.theme-neon #dataTable thead th{background:#171f4a;color:#7df9ff;border-color:#2d3f86}
body.theme-neon #dataTable thead:hover th{background:#202b66}
body.theme-neon #dataTable tbody td{background:#0a0f20;border-color:#1b2650;color:#dbe6ff}
body.theme-neon #dataTable tbody tr:nth-child(even) td{background:#0d1328}
body.theme-neon #dataTable tbody tr:hover td{background:#16224a}
body.theme-neon #dataTable tbody tr.row-warning td{background:#3a2f0b}
body.theme-neon #dataTable tbody tr.row-error td{background:#3d1020}
body.theme-neon #dataTable td[contenteditable=true]:focus{background:#0a0f20!important;outline:2px solid var(--neon-cyan)}
body.theme-neon td.autocomplete-match{background:#13204a}
body.theme-neon td.invalid-cell{background:#3d1020}
body.theme-neon .deleteRowBtn{background:#10173a;border-color:#2d3f86;color:#ff6b8a}
body.theme-neon .deleteRowBtn:hover{background:#3d1020;border-color:#ff4d6d;color:#ff4d6d;box-shadow:0 0 8px rgba(255,77,109,.4)}
body.theme-neon #dataTable tbody tr.drop-before td{box-shadow:inset 0 3px 0 var(--neon-pink)}
body.theme-neon #dataTable tbody tr.drop-after td{box-shadow:inset 0 -3px 0 var(--neon-pink)}
body.theme-neon .export-menu,
body.theme-neon .dialog{background:#0e1527;border-color:var(--ocean-border);color:var(--ocean-text)}
body.theme-neon .export-menu{box-shadow:0 10px 30px rgba(0,0,0,.6),0 0 16px rgba(0,229,255,.2)}
body.theme-neon #toolbar .export-menu button.export-option{background:#0e1527;color:#dbe6ff;border:0;box-shadow:none}
body.theme-neon #toolbar .export-menu button.export-option:hover,
body.theme-neon #toolbar .export-menu button.export-option:focus-visible{background:#1a2554;box-shadow:none}
body.theme-neon #toolbar .export-menu button.export-option.current{background:#16224a}
body.theme-neon .site-menu-panel{background:#0e1527;border-color:var(--ocean-border);color:var(--ocean-text);box-shadow:0 10px 30px rgba(0,0,0,.6),0 0 16px rgba(0,229,255,.2)}
body.theme-neon .site-menu-panel a.site-menu-item{color:#dbe6ff}
body.theme-neon .site-menu-panel a.site-menu-item:hover,
body.theme-neon .site-menu-panel a.site-menu-item:focus-visible{background:#1a2554}
body.theme-neon .site-menu-small a{color:var(--neon-cyan)}
body.theme-neon .site-menu-head{color:var(--neon-cyan)}
body.theme-neon .site-menu-ext{color:#8fa3c8}
body.theme-neon .dialog{border-top-color:var(--neon-cyan);box-shadow:0 12px 40px rgba(0,0,0,.7),0 0 24px rgba(0,229,255,.25)}
body.theme-neon .dialog-cancel{background:#10173a;color:#d6e4ff;border:2px solid #2d3f86}
body.theme-neon .dialog-cancel:hover{background:#1a2554}
body.theme-neon .dialog-overlay{background:rgba(2,4,10,.75)}
body.theme-neon #diagram-area{background-color:#060913;border:2px dashed #26345e;isolation:isolate}
body.theme-neon #diagram-area::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 0%,rgba(40,70,170,.34) 0%,rgba(40,70,170,0) 62%)}
body.theme-black,
body.theme-black #preview{background:#000}
body.theme-black #diagram-area{background-color:#000}
body.theme-black #diagram-area::before{display:none}
body.theme-black .label-box{fill:#000}
body.theme-black #sankeySvg text,
body.theme-black #sankeySvg .sankey-label{stroke:#000}
body.theme-black #sankeySvg text.stage-title{stroke:none}
body.theme-neon #diagram-area.show-grid{background-image:linear-gradient(to right,rgba(120,150,255,.13) 1px,transparent 1px),linear-gradient(to bottom,rgba(120,150,255,.13) 1px,transparent 1px)}
body.theme-neon #diagramTitle{color:#eaf2ff;text-shadow:0 0 14px rgba(0,229,255,.65)}
body.theme-neon #sankeySvg text{stroke:#060913}
body.theme-neon #sankeySvg .sankey-label{fill:#eaf2ff;stroke:#060913}
body.theme-neon #sankeySvg text.stage-title{fill:#cfe3ff;stroke:none}
body.theme-neon #sankeySvg path{mix-blend-mode:screen}
body.theme-neon .label-box{fill:#060913;fill-opacity:.88;stroke:#27355f}
body.theme-neon .stage-guide{stroke:#3a4a78}
body.theme-neon .stage-guide-label{fill:#8fa3d1}
body.theme-neon .watermark{color:#6b7a99}
body.theme-neon .flow-card{box-shadow:0 6px 24px rgba(0,0,0,.6),0 0 18px rgba(0,229,255,.2)}
body.theme-neon .theme-pick .theme-box{background:#10173a;border-color:transparent}   /* v1.1.11: the box holds the list and its Premium tag; no visible edge, like the buttons below */
body.theme-neon .theme-pick .theme-box:hover{box-shadow:0 0 10px rgba(0,229,255,.45)}
body.theme-neon .theme-pick select{background:#10173a;color:#d6e4ff;border:0}
body.theme-neon .theme-pick select:hover{box-shadow:none}

/* No visible edges on buttons and button-like bars (owner, 31 Oct 2026, as for the Light theme in 1.1.8 refresh 3). The fills, the
   hover glow and the keyboard focus outline stay; only the border colour goes. The panels keep their plain edge, without the cyan left side. */
body.theme-neon #toolbar button,
body.theme-neon #toolbar button:hover:not(:disabled),
body.theme-neon #loadExampleBtn,
body.theme-neon #loadExampleBtn:hover:not(:disabled),
body.theme-neon #paletteAddBtn,
body.theme-neon #paletteAddBtn:hover:not(:disabled),
body.theme-neon .table-actions button,
body.theme-neon .table-actions button:hover:not(:disabled),
body.theme-neon #fitViewBtn,
body.theme-neon #fitViewBtn:hover,
body.theme-neon #resetAllPositionsBtn,
body.theme-neon #resetAllPositionsBtn:hover,
body.theme-neon .distribute-row button,
body.theme-neon .distribute-row button:hover,
body.theme-neon .slider-reset,
body.theme-neon .slider-reset:hover:not(:disabled),
body.theme-neon .dpad button,
body.theme-neon .dialog-cancel,
body.theme-neon .deleteRowBtn,
body.theme-neon .deleteRowBtn:hover,
body.theme-neon .panel-head,
body.theme-neon .panel-head:hover,
body.theme-neon .table-summary,
body.theme-neon .table-summary:hover,
body.theme-neon .help-toggle,
body.theme-neon .help-toggle:hover,
body.theme-neon .theme-pick select,
body.theme-neon .theme-pick select:hover{border-color:transparent!important}
body.theme-neon .panel{border-left-color:var(--ocean-border)}
