/* Personal themes. Neutral working surfaces, saturated accents and explicit contrast. */
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) {
 --radius:20px;--accent-ink:#fff;--card:var(--panel);--blue:var(--accent)!important;--cyan:var(--accent)!important;
 --income-color:#007e68;--expense-color:#b93e0a;
}
:root[data-theme=prisma]{--bg:#f4f4fa;--panel:#fff;--panel2:#ededf6;--text:#17182d;--muted:#52556b;--line:#c8c9da;--accent:#5930d5;--accent-end:#303fca;--nav-bg:#141037;--nav-text:#f5f3ff;--nav-muted:#c0badc;--glow:#5930d51c;--hero:linear-gradient(115deg,#4320b7,#6430db 65%,#ad0078)}
:root[data-theme=oceano]{--bg:#031923;--panel:#092b3b;--panel2:#103b4d;--text:#effdff;--muted:#a6cbd8;--line:#427286;--accent:#02dfeb;--accent-end:#00e8ac;--accent-ink:#002d36;--nav-bg:#02121c;--nav-text:#edfcff;--nav-muted:#9abccf;--glow:#00d7ff25;--hero:linear-gradient(115deg,#004c80,#006a8d 65%,#005c55);--income-color:#30ebba;--expense-color:#ffb37d}
:root[data-theme=volt]{--bg:#101419;--panel:#1b2129;--panel2:#272f38;--text:#f7fafc;--muted:#b9c3ce;--line:#58616d;--accent:#b1ff00;--accent-end:#d3ff48;--accent-ink:#172100;--nav-bg:#0a0e12;--nav-text:#f7fafc;--nav-muted:#b9c3ce;--glow:#a7ff0018;--hero:linear-gradient(115deg,#243b11,#355d08 65%,#194c35);--radius:26px;--income-color:#b1ff00;--expense-color:#ffb081}
:root[data-theme=aurora]{--bg:#0c0923;--panel:#1c1640;--panel2:#2b205a;--text:#faf5ff;--muted:#c2b8dd;--line:#6a5b90;--accent:#7430d5;--accent-end:#b60085;--accent-ink:#fff;--nav-bg:#130d30;--nav-text:#faf5ff;--nav-muted:#c6bae2;--glow:#ac31ff30;--hero:linear-gradient(115deg,#5120cb,#7423c9 55%,#b11076);--income-color:#56edc2;--expense-color:#ffad80}
:root[data-theme=studio]{--bg:#f5f6fa;--panel:#fff;--panel2:#ecf0f7;--text:#151a2c;--muted:#535e73;--line:#c6cfdd;--accent:#0054dc;--accent-end:#7224d5;--nav-bg:#fff;--nav-text:#18243b;--nav-muted:#536079;--glow:#0962f217;--hero:linear-gradient(112deg,#0054dc,#6325d8 58%,#c40070)}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) body{color:var(--text);background:radial-gradient(ellipse at 85% 5%,var(--glow),transparent 55%),var(--bg)}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.side,.top,.executive-top){background:var(--nav-bg)!important;color:var(--nav-text);border-color:var(--line)!important}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) .side :is(button,.nav-label,.metric){color:var(--nav-muted)}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.global-search-trigger,.top-icon){color:var(--nav-text)!important;background:transparent!important;border-color:var(--line)!important}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.card,.panel,.compose-window,.dialog,.bi-dialog){background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 32px #0000000b}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(input,select,textarea){background:var(--panel2);color:var(--text);border-color:var(--line);border-radius:10px}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.primary,.nav-item>button.active){background:linear-gradient(110deg,var(--accent),var(--accent-end))!important;color:var(--accent-ink)!important;border-color:transparent!important;box-shadow:0 4px 18px var(--glow)}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.ghost,.bi-icon-button){background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.ghost,.bi-icon-button):hover{background:var(--panel2)!important;border-color:var(--accent)!important}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) .bi-home-hero{background:var(--hero);border:0;color:#fff;padding:32px;border-radius:26px}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) .bi-home-hero :is(.bi-eyebrow,p){color:#fff}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) .bi-home-hero .ghost{background:#fff!important;color:#202044!important;border-color:#fff!important}
:root[data-theme=studio] .bi-home-icon{background:linear-gradient(135deg,#0054dc,#7224d5);color:#fff}
:root[data-theme=studio] .bi-home-card:nth-child(3n+2) .bi-home-icon{background:linear-gradient(135deg,#c40070,#a328cc)}
:root[data-theme=studio] .bi-home-card:nth-child(3n) .bi-home-icon{background:linear-gradient(135deg,#006d66,#007eb1)}
:root[data-theme=prisma] .bi-home-card{border-top:3px solid #5930d5}
:root[data-theme=oceano] .bi-home-card{box-shadow:inset 0 1px 0 #00ddec44,0 12px 30px #0003}
:root[data-theme=volt] .bi-home-icon{color:#172100;background:#b1ff00;border-radius:50%}
:root[data-theme=aurora] .bi-home-icon{color:#fff;background:linear-gradient(135deg,#6e35e4,#b01081);box-shadow:0 0 20px #9723fb30}
/* Nexus Claro keeps the Nexus frame; the working area and its dialogs are light. */
:root[data-theme=nexus-light] #view,:root[data-theme=nexus-light] :is(dialog,.dialog,.compose-window){--bg:#f3f6fc;--panel:#fff;--panel2:#eaf0f9;--card:#fff;--text:#17253f;--muted:#4c607c;--line:#b2c1d5;--blue:#5630c5;--cyan:#006b80;--income-color:#006e58;--expense-color:#ad3e10;color:var(--text);color-scheme:light}
:root[data-theme=nexus-light] :is(#view,dialog,.dialog,.compose-window) :is(button,.ghost,.bi-icon-button){color:var(--text);border-color:var(--line)}
:root[data-theme=nexus-light] :is(#view,dialog,.dialog,.compose-window) :is(.ghost,.bi-icon-button){background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important}
:root[data-theme=nexus-light] :is(#view,dialog,.dialog,.compose-window) :is(.ghost,.bi-icon-button):hover{background:#e7edf9!important;border-color:#5630c5!important}
:root[data-theme=nexus-light] :is(#view,dialog,.dialog,.compose-window) .primary{background:linear-gradient(115deg,#5630c5,#00627a)!important;color:#fff!important;border-color:transparent!important}
:root[data-theme=nexus-light] :is(#view,dialog,.dialog,.compose-window) :is(input,select,textarea){background:var(--panel2);color:var(--text);border-color:var(--line)}
:root[data-theme=nexus-light] #view :is(th,.table-head,.workspace-tabs){background:var(--panel2);color:var(--text)}
:root[data-theme=nexus-light] #view :is(.workspace-tabs button.active,.theme-choice.active){border-color:#5630c5!important;outline-color:#5630c5}
/* Radiant cards in every theme; no imagery or external assets are required. */
.bi-discover-card{color:#fff;background:linear-gradient(120deg,#004cca,#6122d7 70%,#a90ad0);box-shadow:0 12px 26px #5424c52b;isolation:isolate}
.bi-discover-card:nth-child(2){background:linear-gradient(120deg,#9300ad,#c00066 75%,#d83227)}
.bi-discover-card:nth-child(3){background:linear-gradient(120deg,#005f5c,#006991 70%,#0048cc)}
.bi-discover-card:after{content:"";position:absolute;width:210px;height:210px;right:-85px;bottom:-100px;border:30px solid #ffffff20;border-radius:50%;z-index:-1}
.bi-discover-card small,.bi-discover-card strong{color:#fff}.bi-discover-art{opacity:.75}
:root[data-theme=nexus-light] #view .bi-discover-card{color:#fff;border:0}
.prisma-swatch{background:linear-gradient(90deg,#141037 24%,#fff 24% 60%,#5930d5 60%)!important}
.oceano-swatch{background:linear-gradient(120deg,#031923 35%,#006c9c 65%,#00e8ac)!important}
.volt-swatch{background:linear-gradient(110deg,#101419 45%,#b1ff00 45% 80%,#f8fafc 80%)!important}
.aurora-swatch{background:linear-gradient(125deg,#130d30,#6725d6 55%,#cf0089)!important}
.studio-swatch{background:linear-gradient(115deg,#0054dc,#6325d8 58%,#d4007a)!important}
:root:is([data-theme=prisma],[data-theme=studio]){color-scheme:light}
:root:is([data-theme=oceano],[data-theme=volt],[data-theme=aurora]){color-scheme:dark}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio],[data-theme=nexus-light]) :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio],[data-theme=nexus-light]) button:disabled{opacity:.5;cursor:not-allowed}
:root:is([data-theme=prisma],[data-theme=studio],[data-theme=nexus-light]) :is(.ghost.danger,.bi-icon-button.danger){color:#ad193b!important}
:root:is([data-theme=oceano],[data-theme=volt],[data-theme=aurora]) :is(.ghost.danger,.bi-icon-button.danger){color:#ff9fb1!important}
.bi-finance-head{flex-wrap:wrap}.bi-finance-filter{row-gap:12px}.bi-finance-income strong,.bi-finance-legend .income{color:var(--income-color,#34dbb0)!important}.bi-finance-expense strong,.bi-finance-legend .expense{color:var(--expense-color,#ffb37d)!important}
.bi-finance-bar.income{background:#007e68}.bi-finance-bar.expense{background:#c94b13}
.record-actions .bi-icon-button{min-width:36px;min-height:36px}.record-actions .bi-icon-button svg{width:18px;height:18px;display:block}
@media(max-width:700px){.bi-finance-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.bi-finance-filter :is(input,select){width:100%;max-width:100%;min-width:0}.bi-finance-filter label{min-width:0}:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) .bi-home-hero{padding:24px}.bi-discover-card{flex-basis:250px}}

:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) :is(.side,.top) .company-name{color:var(--nav-text)}
:root:is([data-theme=prisma],[data-theme=oceano],[data-theme=volt],[data-theme=aurora],[data-theme=studio]) .nav-item>button.active .nav-icon{color:var(--accent-ink)}
:root[data-theme=aurora] :is(.bi-home-card small,.bi-eyebrow){color:#d0b1ff}
:root[data-theme=nexus-light] #view :is(.ghost.danger,.bi-icon-button.danger){color:#ad193b!important}
.bi-finance-bar.income{background:var(--income-color,#007e68)}.bi-finance-bar.expense{background:var(--expense-color,#c94b13)}
