/* ProfitX: crimson identity, with an independent color for financial results. */
:root{--profit-positive:#66ffad;--profit-negative:#ff7185}
body,body.px-dashboard-open{background:radial-gradient(ellipse at 88% 0%,#8e162b66 0,transparent 48%),radial-gradient(ellipse at 0% 68%,#b5162d24 0,transparent 48%),#160b10;background-attachment:fixed}
body.px-dashboard-open .sidebar{background:linear-gradient(180deg,#210e17,#130c12);border-color:#693042}
body.px-dashboard-open .topbar{background:#170c1259;border-color:#6a2c3b}
body.px-dashboard-open .side-nav button.is-active,body.px-dashboard-open .side-nav a.is-active{background:#631728;border-color:#ff526a;color:#fff2f4;box-shadow:inset 3px 0 #ff405f}
#inicio.px-studio{--studio-bg:#190e15;--studio-panel:#23141c;--studio-line:#58303e;--studio-text:#fff3f5;--studio-muted:#c6b3bd;--studio-mint:var(--profit-positive);--studio-coral:var(--profit-negative)}
#inicio.px-studio .studio-welcome{background:linear-gradient(115deg,#501522,#26141c 65%);border-left-color:#ff405f;box-shadow:0 12px 40px #09030640}
#inicio.px-studio .eyebrow,#inicio.px-studio .studio-kicker{color:#ff8da1}
#inicio.px-studio #profit-period-panel{background:radial-gradient(ellipse at 100% 0,#9c1e343b,transparent 65%),#23141c;border-color:#924052;box-shadow:0 20px 65px #0903064d,inset 0 1px #ff5b7138}
#inicio.px-studio .studio-card,#inicio.px-studio .dashboard-card{background:linear-gradient(145deg,#291820,#20131a);border-color:var(--studio-line)}
#inicio.px-studio .dashboard-live{border-color:#75404c;background:#3e142259}
#inicio.px-studio .px-period-buttons button[aria-pressed=true]{background:#c72c48;color:#fff5f7;box-shadow:0 3px 14px #cc1c3933}
#inicio.px-studio .px-chart svg polyline{stroke:var(--profit-positive)}
#inicio.px-studio .signed-bar i:not(.negative){background:var(--profit-positive)}
#inicio.px-studio .signed-bar i.negative{background:var(--profit-negative)!important}
#inicio.px-studio #px-profit:not(.negative),#inicio.px-studio #dashboard-net:not(.negative),#inicio.px-studio #dashboard-final:not(.negative),#inicio.px-studio #dashboard-provisional:not(.negative),#inicio.px-studio .network-value strong:not(.negative),#inicio.px-studio .recent-row b:not(.negative),#inicio.px-studio .studio-net:not(.is-negative) strong,#inicio.px-studio #studio-difference:not(.is-negative){color:var(--profit-positive)}
#inicio.px-studio #px-profit.negative,#inicio.px-studio .negative,#inicio.px-studio .is-negative,#inicio.px-studio .is-negative strong{color:var(--profit-negative)}
.profit-positive{color:var(--profit-positive)!important}.profit-negative{color:var(--profit-negative)!important}
#metas .goal-tile-result.is-positive>strong,.row-profit:not(.negative){color:var(--profit-positive)!important}
#metas .goal-tile-result.is-negative>strong,.row-profit.negative{color:var(--profit-negative)!important}
body[data-theme=light]{--profit-positive:#087b45;--profit-negative:#c32343}
body[data-theme=light],body[data-theme=light].px-dashboard-open{background:radial-gradient(ellipse at 90% 0,#ff8d9f45,transparent 60%),#fff0f2}
body[data-theme=light] #inicio.px-studio{--studio-bg:#fff0f2;--studio-panel:#fffafb;--studio-line:#eac4cd;--studio-text:#341b25;--studio-muted:#7b5665;--studio-mint:var(--profit-positive);--studio-coral:var(--profit-negative)}
body[data-theme=light].px-dashboard-open .sidebar{background:#fffafb;border-color:#eac4cd}
body[data-theme=light].px-dashboard-open .topbar{background:#fff4f6aa;border-color:#eac4cd}
body[data-theme=light] #inicio.px-studio .studio-welcome{background:linear-gradient(115deg,#ffdee5,#fffafb);border-left-color:#d92045}
body[data-theme=light] #inicio.px-studio #profit-period-panel{background:radial-gradient(ellipse at 100% 0,#ffd2dd66,transparent 65%),#fffafb;border-color:#e6b1bf;box-shadow:0 14px 40px #a1193610}
body[data-theme=light] #inicio.px-studio .studio-card,body[data-theme=light] #inicio.px-studio .dashboard-card{background:#fffafb}
body[data-theme=light] #inicio.px-studio .eyebrow,body[data-theme=light] #inicio.px-studio .studio-kicker{color:#bf2046}
body[data-theme=light].px-dashboard-open .side-nav button.is-active,body[data-theme=light].px-dashboard-open .side-nav a.is-active{background:#ffe0e7;color:#8f1634;border-color:#d92045}
body[data-theme=light] #inicio.px-studio .dashboard-live{background:#fff0f3;border-color:#e6b1bf}
