/* TSA theme sheet for login, account and the News Feed (Light / Dark). "Colorful" = the page as it is: no rule here applies. */
/* ---------- login + account (they share the variables --bg --card --line --tx --mut --ac --er) ---------- */
html[data-tsa-theme="light"]{--bg:#F4F7FF;--card:#fff;--line:#D6DEF5;--tx:#0F1B3D;--mut:#5B6787;--ac:#2D56E0;--er:#D63A5A;color-scheme:light}
html[data-tsa-theme="dark"]{--bg:#0B0B0C;--card:#151517;--line:#2A2A2D;--tx:#F2F2F3;--mut:#A3A3A8;--ac:#5B8CFF;--er:#FF8FA3;color-scheme:dark}
html[data-tsa-theme="light"] body{background:#F4F7FF!important;color:#0F1B3D}
html[data-tsa-theme="dark"] body{background:#0B0B0C!important;color:#F2F2F3}
html[data-tsa-theme="light"] .box{box-shadow:0 20px 44px rgba(30,60,160,.12)!important}html[data-tsa-theme="dark"] .box{box-shadow:0 20px 44px rgba(0,0,0,.6)!important}
html[data-tsa-theme="light"] .go,html[data-tsa-theme="light"] .btn:not(.s){background:linear-gradient(135deg,#2D6BFF,#4636E8)!important;color:#fff!important}
html[data-tsa-theme="dark"] .go,html[data-tsa-theme="dark"] .btn:not(.s){background:#3B6BFF!important;color:#fff!important}
html[data-tsa-theme="light"] .ln,html[data-tsa-theme="light"] a{color:#2D56E0}html[data-tsa-theme="dark"] .ln,html[data-tsa-theme="dark"] a{color:#7FA2FF}
html[data-tsa-theme="light"] .tabs button.on{background:#2D56E0!important;color:#fff!important}html[data-tsa-theme="dark"] .tabs button.on{background:#3B6BFF!important;color:#fff!important}
html[data-tsa-theme="light"] .tag{background:#E8EEFF;color:#2B47C0}html[data-tsa-theme="light"] .y{background:#FFF1D6;color:#9A5A14}html[data-tsa-theme="light"] .g{background:#DDF7E8;color:#12794F}html[data-tsa-theme="light"] .r{background:#FFE3E8;color:#B3243F}
html[data-tsa-theme="dark"] .tag{background:#1E1E22;color:#9DB4FF}html[data-tsa-theme="dark"] .y{background:#2A2112;color:#F2B84B}html[data-tsa-theme="dark"] .g{background:#12241A;color:#4ADE80}html[data-tsa-theme="dark"] .r{background:#2A1417;color:#FF8FA3}
/* ---------- News Feed (it keeps its own body.market-mode variables, so the override sits on body) ---------- */
html[data-tsa-theme="light"] body,html[data-tsa-theme="light"] body.market-mode:not(.dark){--green:#2D56E0;--bright:#4C7DFF;--ink:#0F1B3D;--muted:#5B6787;--line:#E3E9FA;--bg:#F4F7FF;--white:#fff}
html[data-tsa-theme="dark"] body,html[data-tsa-theme="dark"] body.market-mode,html[data-tsa-theme="dark"] body.market-mode.dark{--green:#7FA2FF;--bright:#5B8CFF;--ink:#F2F2F3;--muted:#A3A3A8;--line:#2A2A2D;--bg:#0B0B0C;--white:#151517}
html[data-tsa-theme="light"] .notice{background:#1B2A5E!important}html[data-tsa-theme="light"] #ticker{background:#2A3A74!important}
html[data-tsa-theme="dark"] .notice{background:#141416!important;color:#C9C9CE!important}html[data-tsa-theme="dark"] #ticker{background:#101012!important}
html[data-tsa-theme="light"] .live-note{color:#2D56E0!important;background:#E8EEFF!important;border-color:#C9D5FF!important}
html[data-tsa-theme="dark"] .live-note{color:#9DB4FF!important;background:#1A1A1E!important;border-color:#2F2F34!important}
html[data-tsa-theme="light"] .tabs .selected,html[data-tsa-theme="light"] .tabs button[aria-current],html[data-tsa-theme="light"] .chips .selected{background:#2D56E0!important;color:#fff!important}
html[data-tsa-theme="dark"] .tabs .selected,html[data-tsa-theme="dark"] .tabs button[aria-current],html[data-tsa-theme="dark"] .chips .selected{background:#3B6BFF!important;color:#fff!important}
html[data-tsa-theme="dark"] .search,html[data-tsa-theme="dark"] .tabs,html[data-tsa-theme="dark"] .toolbar{background:#151517!important;border-color:#2A2A2D!important}
html[data-tsa-theme="dark"] .search input{color:#F2F2F3!important;background:transparent!important}
html[data-tsa-theme="dark"] article,html[data-tsa-theme="dark"] .story,html[data-tsa-theme="dark"] .card{background:transparent!important}
html[data-tsa-theme="dark"] h1,html[data-tsa-theme="dark"] h2,html[data-tsa-theme="dark"] h3,html[data-tsa-theme="dark"] .title{color:#F2F2F3!important}
/* login / account: the secondary button and small texts have fixed colours */
html[data-tsa-theme="light"] .alt{color:#12204A}html[data-tsa-theme="dark"] .alt{color:#EDEDEF}
html[data-tsa-theme="light"] .or,html[data-tsa-theme="light"] .fine,html[data-tsa-theme="light"] .who span{color:#5B6787}html[data-tsa-theme="dark"] .or,html[data-tsa-theme="dark"] .fine,html[data-tsa-theme="dark"] .who span{color:#A3A3A8}
html[data-tsa-theme="light"] .who,html[data-tsa-theme="light"] .spin{border-color:#D6DEF5}html[data-tsa-theme="light"] .spin{border-top-color:var(--ac)}html[data-tsa-theme="dark"] .who,html[data-tsa-theme="dark"] .spin{border-color:#2A2A2D}html[data-tsa-theme="dark"] .spin{border-top-color:var(--ac)}
html[data-tsa-theme="light"] .warn{background:#FFF4DB;border-color:#F2C27F;color:#7A4A00}
html[data-tsa-theme="light"] .tabs{background:#EAF0FF}
