/* EAL MERLIN - dark theme (toggle in the top bar; choice saved in localStorage 'merlin_theme').
   Applies only when <html data-theme="dark">. Loaded after eal-brand.css, which stays the light default.
   Palette: pack tokens midnight #071422 / navy #0B1F35 / silver #B8C6D1 / blue #168BC5 (pack 06_brand_tokens). ADOPTED.
   Derived tones (not in pack, picked for WCAG AA on navy, PROPOSED 15/10/2026): link blue #5FBCE8, red text #FF8A80,
   success #4CC9A6, warning #F0B45A, danger #FF7B72. */

html[data-theme="dark"]{
  color-scheme:dark;
  --eal-line:rgba(184,198,209,.2);
  --eal-field:rgba(184,198,209,.32);
  --eal-blue-tint:rgba(22,139,197,.16);
  --eal-red-tint:rgba(255,138,128,.12);
  --navy:#071422; --navy2:#0B1F35; --card:#0F2740;
  --border:rgba(184,198,209,.2); --bd:rgba(184,198,209,.2);
  --input-bg:rgba(255,255,255,.05); --bg2:#0B1F35;
  --muted:#9FB1C1; --dim:#9FB1C1;
  --text:#DCE5EE; --bright:#F4F7FA;
  --blue:#0F76AB;            /* buttons carry white text */
  --bl:#5FBCE8;              /* links / small accent text on dark */
  --accent:#168BC5;
  --gold:#FF8A80;
  --ok:#4CC9A6; --green:#4CC9A6;
  --warn:#F0B45A; --amber:#F0B45A;
  --err:#FF7B72; --red:#FF7B72;
  --info:#5FBCE8;
}
html[data-theme="dark"] body{background:var(--navy);color:var(--text)}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] .sh h2{color:var(--bright)}

/* Login */
html[data-theme="dark"] .lbox{background:var(--navy2);border-color:rgba(184,198,209,.25)}
html[data-theme="dark"] .fg input{background:rgba(255,255,255,.06);border-color:var(--eal-field);color:var(--bright)}
html[data-theme="dark"] .fg input:focus{border-color:var(--eal-blue);box-shadow:0 0 0 3px rgba(22,139,197,.3)}
html[data-theme="dark"] .lerr{background:rgba(255,123,114,.1);border-color:rgba(255,123,114,.4)}

/* Top bar */
html[data-theme="dark"] .topbar{background:var(--navy2);border-bottom-color:var(--eal-line);box-shadow:none}
html[data-theme="dark"] .topbar-title,html[data-theme="dark"] .hamburger{color:var(--bright)}
html[data-theme="dark"] .topbar-right button:not(.btn-out){background:rgba(255,255,255,.06)!important;border-color:var(--eal-field)!important;color:var(--bright)!important}
html[data-theme="dark"] .topbar-right button:not(.btn-out):hover{border-color:var(--bl)!important;color:var(--bl)!important}
html[data-theme="dark"] .btn-out{border-color:rgba(255,123,114,.5);color:var(--err)}
html[data-theme="dark"] .btn-out:hover{background:rgba(255,123,114,.1)}
html[data-theme="dark"] .top-search input{background-color:rgba(255,255,255,.06);border-color:var(--eal-field);color:var(--bright)}
html[data-theme="dark"] .top-search input:focus{background-color:rgba(255,255,255,.1)}

/* Cards and panels */
html[data-theme="dark"] .sc,html[data-theme="dark"] .ec,html[data-theme="dark"] .ea-input-card,html[data-theme="dark"] .ea-extracted-card,
html[data-theme="dark"] .ea-reply-section,html[data-theme="dark"] .ea-stock-section,html[data-theme="dark"] .rr-stat,
html[data-theme="dark"] .rr-card,html[data-theme="dark"] .part-card{background:var(--card);border-color:var(--eal-line);box-shadow:none}
html[data-theme="dark"] .sc{border-top-color:var(--eal-blue)}
html[data-theme="dark"] .sv,html[data-theme="dark"] .em,html[data-theme="dark"] .ev span{color:var(--bright)}
html[data-theme="dark"] .ai-res,html[data-theme="dark"] .merlin-info-panel{background:rgba(255,255,255,.04);border-color:var(--eal-line);color:var(--text)}
html[data-theme="dark"] .merlin-info-panel h4{color:var(--bl)}
html[data-theme="dark"] .part-card.rr-card{background:rgba(240,180,90,.08);border-left-color:#D99332}

/* Tables */
html[data-theme="dark"] .dt th,html[data-theme="dark"] .rr-tbl th,html[data-theme="dark"] .ea-stock-table th{background:#102A45;color:var(--bright);border-bottom-color:var(--eal-field)}
html[data-theme="dark"] .dt td,html[data-theme="dark"] .rr-tbl td,html[data-theme="dark"] .rr-htbl td,html[data-theme="dark"] .ea-stock-table td{border-bottom-color:rgba(184,198,209,.12);color:var(--text)}
html[data-theme="dark"] .dt tr:hover td,html[data-theme="dark"] .rr-tbl tr:hover td,html[data-theme="dark"] .ea-stock-table tr:hover td{background:rgba(22,139,197,.1)}
html[data-theme="dark"] .rr-htbl th{color:var(--bright)}
html[data-theme="dark"] .dt th[style*="59,143,224" i]{color:var(--bl)!important}

/* Inputs, selects, buttons */
html[data-theme="dark"] .si,html[data-theme="dark"] .ai-ta,html[data-theme="dark"] .ea-textarea,html[data-theme="dark"] .ea-reply-ta,
html[data-theme="dark"] .rr-sinput,html[data-theme="dark"] .rr-fsel,html[data-theme="dark"] .fsel{background:rgba(255,255,255,.06);border-color:var(--eal-field);color:var(--bright)}
html[data-theme="dark"] .si:focus,html[data-theme="dark"] .ai-ta:focus,html[data-theme="dark"] .ea-textarea:focus,html[data-theme="dark"] .ea-reply-ta:focus{border-color:var(--eal-blue);box-shadow:0 0 0 3px rgba(22,139,197,.3)}
html[data-theme="dark"] select{background:#0B1F35!important;color:var(--text)!important;border-color:var(--eal-field)!important}
html[data-theme="dark"] select option,html[data-theme="dark"] .fsel option,html[data-theme="dark"] .si option{background:#0B1F35!important;color:var(--text)!important}
html[data-theme="dark"] input,html[data-theme="dark"] textarea{color-scheme:dark}
html[data-theme="dark"] .btn-secondary-sm,html[data-theme="dark"] .bp,html[data-theme="dark"] .rr-pgbtn,html[data-theme="dark"] .ea-tab,
html[data-theme="dark"] .rr-tab,html[data-theme="dark"] .preset-btn{background:rgba(255,255,255,.05);border-color:var(--eal-field);color:var(--text)}
html[data-theme="dark"] .rr-tab{border-color:transparent}
html[data-theme="dark"] .btn-secondary-sm:hover,html[data-theme="dark"] .bp:hover,html[data-theme="dark"] .preset-btn:hover{background:rgba(255,255,255,.09);border-color:var(--bl);color:var(--bl)}
html[data-theme="dark"] .btn-s.btn-s,html[data-theme="dark"] .btn-primary-sm,html[data-theme="dark"] .ea-tab.active,html[data-theme="dark"] .rr-tab.active,
html[data-theme="dark"] .rr-pgbtn.cur,html[data-theme="dark"] .ea-count{background:var(--eal-blue-aa);border-color:var(--eal-blue-aa);color:#fff}
html[data-theme="dark"] .preset-btn{color:var(--bl)}
html[data-theme="dark"] .btn-exp{background:rgba(76,201,166,.1);border-color:rgba(76,201,166,.4);color:var(--ok)}
html[data-theme="dark"] .ea-drop-zone,html[data-theme="dark"] .rr-drop{background:rgba(255,255,255,.03)}
html[data-theme="dark"] .ea-drop-zone:hover,html[data-theme="dark"] .rr-drop:hover{background:var(--eal-blue-tint)}
html[data-theme="dark"] .sp-btn,html[data-theme="dark"] .mfv-dismiss{background:var(--eal-blue-tint);border-color:rgba(95,188,232,.35);color:var(--bl)}
html[data-theme="dark"] .merlin-help-btn{background:rgba(255,255,255,.08);border-color:var(--eal-field);color:var(--bright)}
html[data-theme="dark"] .merlin-help-btn:hover{background:var(--eal-blue-aa);color:#fff}

/* Status badges */
html[data-theme="dark"] .bc-n,html[data-theme="dark"] .bs-a{background:rgba(76,201,166,.12);color:var(--ok);border-color:rgba(76,201,166,.4)}
html[data-theme="dark"] .bc-o,html[data-theme="dark"] .bs-p{background:rgba(95,188,232,.12);color:var(--info);border-color:rgba(95,188,232,.4)}
html[data-theme="dark"] .bc-a,html[data-theme="dark"] .bs-l{background:rgba(240,180,90,.12);color:var(--warn);border-color:rgba(240,180,90,.4)}
html[data-theme="dark"] .bc-u,html[data-theme="dark"] .bnfs{background:rgba(255,123,114,.12);color:var(--err);border-color:rgba(255,123,114,.4)}
html[data-theme="dark"] .rr-con{background:rgba(150,150,255,.14);color:#B4B6FF}
html[data-theme="dark"] .rr-ok{background:rgba(76,201,166,.1);border-color:rgba(76,201,166,.35)}
html[data-theme="dark"] .rr-err{background:rgba(255,123,114,.1);border-color:rgba(255,123,114,.35)}
html[data-theme="dark"] .fmv-high{color:var(--ok)!important;background:rgba(76,201,166,.12)!important}
html[data-theme="dark"] .fmv-medium{color:var(--warn)!important;background:rgba(240,180,90,.12)!important}
html[data-theme="dark"] .fmv-low{color:#FFA866!important;background:rgba(255,168,102,.12)!important}
html[data-theme="dark"] .fmv-very-low{color:var(--err)!important;background:rgba(255,123,114,.12)!important}

/* Modals, tooltips */
html[data-theme="dark"] .sp-box,html[data-theme="dark"] .mfv-card{background:var(--navy2);border-color:var(--eal-line);border-top-color:var(--eal-red);color:var(--text)}
html[data-theme="dark"] .merlin-tip .merlin-tip-text{background:#102A45;border-color:var(--eal-field);color:var(--bright)}
html[data-theme="dark"] .sp-modal,html[data-theme="dark"] .mfv-overlay,html[data-theme="dark"] .sb-overlay{background:rgba(0,0,0,.7)}
html[data-theme="dark"] .sp-ref,html[data-theme="dark"] .part-card-pn,html[data-theme="dark"] .rr-pn{color:#FF8A80}

/* Inline-style overrides: undo the light-theme flips (these blocks were dark originally) */
html[data-theme="dark"] [style*="background:#0d1828" i],html[data-theme="dark"] [style*="background:#0D1F35" i],html[data-theme="dark"] [style*="background:#152840" i],
html[data-theme="dark"] [style*="background:#0a1628" i],html[data-theme="dark"] [style*="background:#060f1c" i],html[data-theme="dark"] [style*="background:#080e1a" i],
html[data-theme="dark"] [style*="background:#1a2540" i],html[data-theme="dark"] [style*="background:rgba(13,31,53" i],html[data-theme="dark"] [style*="background:rgba(20,45,75" i],
html[data-theme="dark"] [style*="background:rgba(8,14,26" i],html[data-theme="dark"] [style*="background:rgba(6,15,28" i]{
  background:var(--navy2)!important;color:var(--text)!important;border-color:var(--eal-line)!important}
html[data-theme="dark"] [style*="background:rgba(255,255,255,.0" i],html[data-theme="dark"] [style*="background:rgba(255,255,255,0.0" i]{background:rgba(255,255,255,.05)!important}
html[data-theme="dark"] [style*="background:rgba(255,255,255,.1" i]{background:rgba(255,255,255,.09)!important}
html[data-theme="dark"] [style*="border:1px solid rgba(255,255,255" i],html[data-theme="dark"] [style*="border-bottom:1px solid rgba(255,255,255" i],
html[data-theme="dark"] [style*="border-top:1px solid rgba(255,255,255" i]{border-color:var(--eal-line)!important}
html[data-theme="dark"] [style*="background:rgba(0,112,200" i],html[data-theme="dark"] [style*="background:rgba(59,143,224" i],
html[data-theme="dark"] [style*="background:rgba(60,120,200" i],html[data-theme="dark"] [style*="background:rgba(31,111,191" i]{background:var(--eal-blue-tint)!important}
html[data-theme="dark"] [style*="border:1px solid rgba(0,112,200" i],html[data-theme="dark"] [style*="border:1px solid rgba(59,143,224" i],
html[data-theme="dark"] [style*="border:1px solid rgba(60,120,200" i],html[data-theme="dark"] [style*="border:1px solid rgba(31,111,191" i]{border-color:rgba(95,188,232,.35)!important}
html[data-theme="dark"] [style*="background:rgba(240,160,48" i],html[data-theme="dark"] [style*="background:rgba(196,149,42" i],html[data-theme="dark"] [style*="background:rgba(243,156,18" i]{background:rgba(240,180,90,.12)!important;border-color:rgba(240,180,90,.4)!important}
html[data-theme="dark"] [style*="background:#111" i]{background:rgba(255,255,255,.06)!important;color:var(--text)!important;border-color:var(--eal-field)!important}
html[data-theme="dark"] [style*="background:#0070C8" i],html[data-theme="dark"] [style*="background:#1F6FBF" i],html[data-theme="dark"] [style*="background:#0088f0" i]{background:var(--eal-blue-aa)!important;color:#fff!important}
html[data-theme="dark"] [style*="background:var(--gold)" i]{background:#C63D32!important;color:#fff!important}

html[data-theme="dark"] *{scrollbar-color:#3A5470 transparent}

/* Theme toggle button (both themes) */
#theme-toggle{display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;padding:.25rem .6rem;font-size:.72rem}

/* Inline text colours chosen for white backgrounds (set from JS maps): lift them for the dark theme */
html[data-theme="dark"] [style^="color:#B3261E" i],
html[data-theme="dark"] [style*=";color:#B3261E" i],
html[data-theme="dark"] [style*=" color:#B3261E" i],
html[data-theme="dark"] [style^="color:rgb(179, 38, 30)" i],
html[data-theme="dark"] [style*=";color:rgb(179, 38, 30)" i],
html[data-theme="dark"] [style*=" color:rgb(179, 38, 30)" i],
html[data-theme="dark"] [style^="color:#c0392b" i],
html[data-theme="dark"] [style*=";color:#c0392b" i],
html[data-theme="dark"] [style*=" color:#c0392b" i],
html[data-theme="dark"] [style^="color:rgb(192, 57, 43)" i],
html[data-theme="dark"] [style*=";color:rgb(192, 57, 43)" i],
html[data-theme="dark"] [style*=" color:rgb(192, 57, 43)" i]{color:#FF7B72!important}
html[data-theme="dark"] [style^="color:#1E7B45" i],
html[data-theme="dark"] [style*=";color:#1E7B45" i],
html[data-theme="dark"] [style*=" color:#1E7B45" i],
html[data-theme="dark"] [style^="color:rgb(30, 123, 69)" i],
html[data-theme="dark"] [style*=";color:rgb(30, 123, 69)" i],
html[data-theme="dark"] [style*=" color:rgb(30, 123, 69)" i],
html[data-theme="dark"] [style^="color:#12775F" i],
html[data-theme="dark"] [style*=";color:#12775F" i],
html[data-theme="dark"] [style*=" color:#12775F" i],
html[data-theme="dark"] [style^="color:rgb(18, 119, 95)" i],
html[data-theme="dark"] [style*=";color:rgb(18, 119, 95)" i],
html[data-theme="dark"] [style*=" color:rgb(18, 119, 95)" i]{color:#4CC9A6!important}
html[data-theme="dark"] [style^="color:#B26A00" i],
html[data-theme="dark"] [style*=";color:#B26A00" i],
html[data-theme="dark"] [style*=" color:#B26A00" i],
html[data-theme="dark"] [style^="color:rgb(178, 106, 0)" i],
html[data-theme="dark"] [style*=";color:rgb(178, 106, 0)" i],
html[data-theme="dark"] [style*=" color:rgb(178, 106, 0)" i],
html[data-theme="dark"] [style^="color:#9A6200" i],
html[data-theme="dark"] [style*=";color:#9A6200" i],
html[data-theme="dark"] [style*=" color:#9A6200" i],
html[data-theme="dark"] [style^="color:rgb(154, 98, 0)" i],
html[data-theme="dark"] [style*=";color:rgb(154, 98, 0)" i],
html[data-theme="dark"] [style*=" color:rgb(154, 98, 0)" i],
html[data-theme="dark"] [style^="color:#c4952a" i],
html[data-theme="dark"] [style*=";color:#c4952a" i],
html[data-theme="dark"] [style*=" color:#c4952a" i],
html[data-theme="dark"] [style^="color:rgb(196, 149, 42)" i],
html[data-theme="dark"] [style*=";color:rgb(196, 149, 42)" i],
html[data-theme="dark"] [style*=" color:rgb(196, 149, 42)" i]{color:#F0B45A!important}
html[data-theme="dark"] [style^="color:#1F5FA8" i],
html[data-theme="dark"] [style*=";color:#1F5FA8" i],
html[data-theme="dark"] [style*=" color:#1F5FA8" i],
html[data-theme="dark"] [style^="color:rgb(31, 95, 168)" i],
html[data-theme="dark"] [style*=";color:rgb(31, 95, 168)" i],
html[data-theme="dark"] [style*=" color:rgb(31, 95, 168)" i],
html[data-theme="dark"] [style^="color:#0F76AB" i],
html[data-theme="dark"] [style*=";color:#0F76AB" i],
html[data-theme="dark"] [style*=" color:#0F76AB" i],
html[data-theme="dark"] [style^="color:rgb(15, 118, 171)" i],
html[data-theme="dark"] [style*=";color:rgb(15, 118, 171)" i],
html[data-theme="dark"] [style*=" color:rgb(15, 118, 171)" i]{color:#5FBCE8!important}
html[data-theme="dark"] [style^="color:#4A4DB0" i],
html[data-theme="dark"] [style*=";color:#4A4DB0" i],
html[data-theme="dark"] [style*=" color:#4A4DB0" i],
html[data-theme="dark"] [style^="color:rgb(74, 77, 176)" i],
html[data-theme="dark"] [style*=";color:rgb(74, 77, 176)" i],
html[data-theme="dark"] [style*=" color:rgb(74, 77, 176)" i]{color:#B4B6FF!important}
html[data-theme="dark"] [style^="color:#B45309" i],
html[data-theme="dark"] [style*=";color:#B45309" i],
html[data-theme="dark"] [style*=" color:#B45309" i],
html[data-theme="dark"] [style^="color:rgb(180, 83, 9)" i],
html[data-theme="dark"] [style*=";color:rgb(180, 83, 9)" i],
html[data-theme="dark"] [style*=" color:rgb(180, 83, 9)" i]{color:#FFA866!important}
html[data-theme="dark"] [style^="color:#C2410C" i],
html[data-theme="dark"] [style*=";color:#C2410C" i],
html[data-theme="dark"] [style*=" color:#C2410C" i],
html[data-theme="dark"] [style^="color:rgb(194, 65, 12)" i],
html[data-theme="dark"] [style*=";color:rgb(194, 65, 12)" i],
html[data-theme="dark"] [style*=" color:rgb(194, 65, 12)" i]{color:#FF9A66!important}
html[data-theme="dark"] [style^="color:#5C6168" i],
html[data-theme="dark"] [style*=";color:#5C6168" i],
html[data-theme="dark"] [style*=" color:#5C6168" i],
html[data-theme="dark"] [style^="color:rgb(92, 97, 104)" i],
html[data-theme="dark"] [style*=";color:rgb(92, 97, 104)" i],
html[data-theme="dark"] [style*=" color:rgb(92, 97, 104)" i],
html[data-theme="dark"] [style^="color:#4a5a72" i],
html[data-theme="dark"] [style*=";color:#4a5a72" i],
html[data-theme="dark"] [style*=" color:#4a5a72" i],
html[data-theme="dark"] [style^="color:rgb(74, 90, 114)" i],
html[data-theme="dark"] [style*=";color:rgb(74, 90, 114)" i],
html[data-theme="dark"] [style*=" color:rgb(74, 90, 114)" i],
html[data-theme="dark"] [style^="color:#556A80" i],
html[data-theme="dark"] [style*=";color:#556A80" i],
html[data-theme="dark"] [style*=" color:#556A80" i],
html[data-theme="dark"] [style^="color:rgb(85, 106, 128)" i],
html[data-theme="dark"] [style*=";color:rgb(85, 106, 128)" i],
html[data-theme="dark"] [style*=" color:rgb(85, 106, 128)" i]{color:#9FB1C1!important}
html[data-theme="dark"] [style^="color:#A30D25" i],
html[data-theme="dark"] [style*=";color:#A30D25" i],
html[data-theme="dark"] [style*=" color:#A30D25" i],
html[data-theme="dark"] [style^="color:rgb(163, 13, 37)" i],
html[data-theme="dark"] [style*=";color:rgb(163, 13, 37)" i],
html[data-theme="dark"] [style*=" color:rgb(163, 13, 37)" i]{color:#FF8A80!important}
/* same, for colours set via element.style.color (serialised with a space) */
html[data-theme="dark"] [style^="color: rgb(179, 38, 30)" i],
html[data-theme="dark"] [style*=";color: rgb(179, 38, 30)" i],
html[data-theme="dark"] [style*=" color: rgb(179, 38, 30)" i],
html[data-theme="dark"] [style^="color: rgb(192, 57, 43)" i],
html[data-theme="dark"] [style*=";color: rgb(192, 57, 43)" i],
html[data-theme="dark"] [style*=" color: rgb(192, 57, 43)" i]{color:#FF7B72!important}
html[data-theme="dark"] [style^="color: rgb(30, 123, 69)" i],
html[data-theme="dark"] [style*=";color: rgb(30, 123, 69)" i],
html[data-theme="dark"] [style*=" color: rgb(30, 123, 69)" i]{color:#4CC9A6!important}
html[data-theme="dark"] [style^="color: rgb(178, 106, 0)" i],
html[data-theme="dark"] [style*=";color: rgb(178, 106, 0)" i],
html[data-theme="dark"] [style*=" color: rgb(178, 106, 0)" i]{color:#F0B45A!important}
html[data-theme="dark"] [style^="color: rgb(31, 95, 168)" i],
html[data-theme="dark"] [style*=";color: rgb(31, 95, 168)" i],
html[data-theme="dark"] [style*=" color: rgb(31, 95, 168)" i]{color:#5FBCE8!important}
html[data-theme="dark"] [style^="color: rgb(74, 77, 176)" i],
html[data-theme="dark"] [style*=";color: rgb(74, 77, 176)" i],
html[data-theme="dark"] [style*=" color: rgb(74, 77, 176)" i]{color:#B4B6FF!important}
html[data-theme="dark"] [style^="color: rgb(180, 83, 9)" i],
html[data-theme="dark"] [style*=";color: rgb(180, 83, 9)" i],
html[data-theme="dark"] [style*=" color: rgb(180, 83, 9)" i]{color:#FFA866!important}
html[data-theme="dark"] [style^="color: rgb(194, 65, 12)" i],
html[data-theme="dark"] [style*=";color: rgb(194, 65, 12)" i],
html[data-theme="dark"] [style*=" color: rgb(194, 65, 12)" i]{color:#FF9A66!important}
html[data-theme="dark"] [style^="color: rgb(92, 97, 104)" i],
html[data-theme="dark"] [style*=";color: rgb(92, 97, 104)" i],
html[data-theme="dark"] [style*=" color: rgb(92, 97, 104)" i],
html[data-theme="dark"] [style^="color: rgb(74, 90, 114)" i],
html[data-theme="dark"] [style*=";color: rgb(74, 90, 114)" i],
html[data-theme="dark"] [style*=" color: rgb(74, 90, 114)" i]{color:#9FB1C1!important}

/* ---------- Heritage & brand imagery ---------- */
html[data-theme="dark"] .about-note{background:rgba(255,255,255,.04)}
html[data-theme="dark"] .about-tag.arch{color:#F3D9A8;background:rgba(217,147,50,.16);border-color:rgba(217,147,50,.4)}
html[data-theme="dark"] .about-tag.ai{color:#A9D6EF;background:rgba(22,139,197,.16);border-color:rgba(22,139,197,.4)}
html[data-theme="dark"] .about-grid figure{background:var(--card)}
html[data-theme="dark"] .dash-hero{border-color:var(--eal-line)}

/* ---------- Brand everywhere ---------- */
html[data-theme="dark"] .ca{background-color:#071422;
  background-image:linear-gradient(115deg,transparent 78%,rgba(198,61,50,.1) 78.2%,rgba(198,61,50,.1) 86%,rgba(22,139,197,.05) 86.2%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M60 0H0V60' fill='none' stroke='%23168BC5' stroke-opacity='.1'/></svg>")}
html[data-theme="dark"] .sc,html[data-theme="dark"] .rr-stat{background:linear-gradient(145deg,#0F2740 55%,#0B3458)}
html[data-theme="dark"] .dt th,html[data-theme="dark"] .rr-tbl th,html[data-theme="dark"] .ea-stock-table th{background:#0B3458;color:#fff}
html[data-theme="dark"] .dt tbody tr:hover td,html[data-theme="dark"] .rr-tbl tbody tr:hover td{background:rgba(22,139,197,.12)}
html[data-theme="dark"] .topbar{box-shadow:0 3px 0 var(--eal-red)}
html[data-theme="dark"] .sh{border-bottom-color:var(--eal-line)}
