/* V15.2 animated cashflow bars + net-line; isolated from legacy trend charts. */
#dashboard .v152-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#dashboard .v152-legend{margin:2px 0;font-size:11px;flex-wrap:wrap}
#dashboard .v152-grain{display:flex;gap:3px;padding:3px;border:1px solid #3a5b835c;border-radius:10px;background:#0b1b309e}
#dashboard .v152-grain button{border:0;background:transparent;color:#a8c6e9;font-size:11px;padding:7px 11px;border-radius:7px;transition:background .2s,box-shadow .2s,color .2s}
#dashboard .v152-grain button:hover{background:#27527c99;color:white}
#dashboard .v152-grain button.active{color:#efffff;background:#2166aa9c;box-shadow:inset 0 1px #80c7ff33,0 0 12px #297ff844}
#dashboard .v152-chart{height:256px;margin-top:9px;min-height:196px}
#dashboard .v152-combo-frame{position:relative;height:calc(100% - 24px);min-width:0;width:100%}
#dashboard .v152-combo-frame svg{display:block;width:100%;height:100%;overflow:visible}
#dashboard .v152-grid{stroke:#45638a69;stroke-width:1}
#dashboard .v152-zero{stroke:#83b2e9a0;stroke-dasharray:4 5;stroke-width:1}
#dashboard .v152-axis{font-size:12px;fill:#90accd}
#dashboard .v152-bar{filter:drop-shadow(0 0 5px currentColor);transform-box:fill-box;transform-origin:center bottom;animation:v152-rise .8s cubic-bezier(.19,.8,.22,1) backwards}
#dashboard .v152-bar.income{color:#15e2a7}#dashboard .v152-bar.expense{color:#ff578b;animation-delay:.08s}
#dashboard .v152-net-line{filter:drop-shadow(0 0 5px #579bff);stroke-dasharray:2300;stroke-dashoffset:2300;animation:v152-draw 1.3s ease forwards .14s}
#dashboard .v152-net-point{filter:drop-shadow(0 0 6px #579bff);opacity:0;animation:v152-reveal .4s ease forwards .8s}
#dashboard .v152-hit{cursor:pointer;outline:none}
#dashboard .v152-hit:hover,#dashboard .v152-hit.is-selected,#dashboard .v152-hit:focus-visible{fill:#5a9dff13;stroke:#559aff6b;stroke-width:1}
#dashboard .v152-tooltip{position:absolute;z-index:10;top:8px;transform:translateX(-50%);display:grid;gap:5px;width:206px;max-width:68%;padding:10px 12px;border-radius:12px;color:#f1f8ff;background:linear-gradient(155deg,#10213df8,#152e52f8);border:1px solid #4587c087;box-shadow:0 15px 36px #0009;pointer-events:none;font-size:10px;direction:ltr}
#dashboard .v152-tooltip[hidden]{display:none}
#dashboard .v152-tooltip span{display:flex;align-items:center;justify-content:space-between;gap:8px}
#dashboard .v152-tooltip span b{font-variant-numeric:tabular-nums}
#dashboard .v152-tooltip small{color:#9ac5f8}
#dashboard .v152-bullet{height:7px;width:7px;display:inline-block;border-radius:50%;flex:0 0 auto;background:#579bff}
#dashboard .v152-bullet.inc{background:#11e4ac}#dashboard .v152-bullet.exp{background:#ff537e}
#dashboard .v152-footer{min-height:21px;display:flex;flex-wrap:wrap;gap:7px 12px;justify-content:space-between;font-size:10px;color:#82a4cc;padding-left:4px}
#dashboard .v152-missing{color:#ffd199}
#dashboard .v152-empty,#dashboard .v152-private{min-height:188px;display:flex;justify-content:center;align-items:center;gap:12px;color:#a6bdd9;font-size:12px}
.v152-drill-badge{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#13447744;border:1px solid #397bc18a;border-radius:10px;padding:11px;margin:11px 0;color:#badefc;font-size:12px}
.v152-drill-badge[hidden]{display:none}
.v152-drill-badge button{background:transparent;border:1px solid #679de58c;border-radius:7px;color:inherit;padding:6px 10px;font-size:11px}
html[data-theme="light"] #dashboard .v152-grain{background:#e8f1fb;border-color:#c8d9eb}
html[data-theme="light"] #dashboard .v152-grain button{color:#3a5d86}
html[data-theme="light"] #dashboard .v152-grain button.active{color:#fff}
html[data-theme="light"] #dashboard .v152-grid{stroke:#a5bad07a}
html[data-theme="light"] #dashboard .v152-zero{stroke:#6e95b4}
html[data-theme="light"] #dashboard .v152-axis{fill:#5c7695}
html[data-theme="light"] #dashboard .v152-footer{color:#546a85}
html[data-theme="light"] .v152-drill-badge{background:#e6f3ff;color:#214568}
@keyframes v152-rise{from{opacity:.15;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}
@keyframes v152-draw{from{stroke-dashoffset:2300}to{stroke-dashoffset:0}}
@keyframes v152-reveal{to{opacity:1}}
@media(max-width:520px){#dashboard .v152-grain button{padding:7px 9px}#dashboard .v152-chart{height:220px}#dashboard .v152-toolbar{align-items:flex-start}#dashboard .v152-combo-frame{height:calc(100% - 35px)}#dashboard .v152-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){#dashboard .v152-bar,#dashboard .v152-net-line,#dashboard .v152-net-point{animation:none!important;stroke-dasharray:none;stroke-dashoffset:0;opacity:1}}
