.finance-charts {
 --fc-positions:#2e6992;
 --fc-pf:#946118;
 --fc-received:#22745c;
 --fc-cost:#aa4d36;
 --fc-margin:#425da3;
 min-width:0;
}
:root[data-theme=dark] .finance-charts {
 --fc-positions:#82c7f4;
 --fc-pf:#f7b854;
 --fc-received:#76d8af;
 --fc-cost:#ffac96;
 --fc-margin:#b3bfff;
}
.fc-heading,.fc-filters,.fc-rank-title {display:flex;align-items:center;justify-content:space-between;gap:.8rem 1.1rem;flex-wrap:wrap}
.fc-heading h2,.fc-heading h3 {margin:0}
.fc-heading label {display:flex;align-items:center;gap:.45rem}
.fc-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.8rem;margin:1rem 0}
.fc-figure {margin:0;min-width:0;border:1px solid var(--line);border-radius:.65rem;padding:.9rem;background:var(--surface)}
.fc-figure figcaption {font-weight:700}
.fc-figure svg {width:100%;height:auto;display:block;overflow:visible}
.fc-figure svg text {fill:var(--muted);font:15px system-ui,sans-serif}
.fc-gridline {stroke:var(--line);stroke-width:1}
.fc-line {fill:none;stroke:currentColor;stroke-width:2.25;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.fc-pf .fc-line,.fc-margin .fc-line {stroke-dasharray:6 3}
.fc-figure circle {fill:currentColor}
.fc-positions {color:var(--fc-positions)} .fc-pf {color:var(--fc-pf)} .fc-received {color:var(--fc-received)} .fc-cost {color:var(--fc-cost)} .fc-margin {color:var(--fc-margin)}
.fc-legend {list-style:none;padding:0;margin:.4rem 0;display:flex;gap:.3rem 1rem;flex-wrap:wrap;font-size:.85rem}
.fc-legend li {display:inline-flex;align-items:center;gap:.3rem}
.fc-swatch {width:1.1rem;display:inline-block;border-bottom:.19rem solid currentColor}
.fc-swatch.fc-pf,.fc-swatch.fc-margin {border-bottom-style:dashed}
.fc-detail {padding:.55rem 0}.fc-detail summary {width:fit-content;cursor:pointer}
.fc-spending {
 container-type:inline-size;
 margin:1rem 0 .5rem;
 border:1px solid var(--line);
 border-radius:.85rem;
 background:var(--surface);
 font-variant-numeric:tabular-nums;
}
.fc-sp-summary {
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:1rem 2rem;
 padding:1.2rem 1.4rem;
 border-radius:.85rem .85rem 0 0;
 border-bottom:1px solid var(--line);
 background:color-mix(in srgb,var(--fc-pf) 5%,var(--surface));
}
.fc-sp-summary h3,.fc-sp-summary p,.fc-sp-summary dl,.fc-sp-summary dd {margin:0}
.fc-sp-summary h3,.fc-sp-summary dt {font-size:.9rem;font-weight:600}
.fc-sp-summary p {color:var(--muted);font-size:.82rem;margin-top:.16rem}
.fc-sp-summary [data-spending-total] {display:block;font-size:1.95rem;line-height:1.25;letter-spacing:-.025em;margin:.15rem 0}
.fc-sp-summary dl {display:flex;flex-wrap:wrap;gap:.6rem 2rem}
.fc-sp-summary dt {display:flex;align-items:center;gap:.4rem;color:var(--muted)}
.fc-sp-summary dd {font-size:1.18rem;font-weight:650;margin:.25rem 0 0}
.fc-dot {display:inline-block;width:.6rem;height:.6rem;border-radius:50%;background:currentColor}
.fc-sp-breakdown {padding:.45rem 1.4rem .55rem}
.fc-sp-list {list-style:none;margin:0;padding:0}
.fc-sp-columns,.fc-sp-row {
 display:grid;
 grid-template-columns:minmax(7.5rem,1fr) minmax(3rem,4fr) repeat(3,minmax(7rem,1.15fr));
 align-items:center;
 column-gap:1.05rem;
}
.fc-sp-columns {padding:.5rem 0;color:var(--muted);font-size:.8rem;font-weight:600}
.fc-sp-columns > span:first-child {grid-column:span 2}
.fc-sp-columns > span:not(:first-child),.fc-sp-pos,.fc-sp-pf,.fc-sp-sum {text-align:right}
.finance-charts button[data-interval-sort] {padding:.25rem 0;background:transparent;border:0;box-shadow:none;color:inherit;font:inherit;text-align:inherit}
.finance-charts button[data-interval-sort]:is(:hover,:focus-visible) {color:var(--fc-positions);text-decoration:underline}
.finance-charts button[data-interval-sort] span {font-size:.9em}
.fc-sp-row {min-height:2.55rem;border-top:1px solid var(--line);font-size:.92rem}
.fc-sp-date {font-weight:600}
.fc-sp-pos,.fc-sp-pf,.fc-sp-sum,.fc-sp-summary dd,.fc-sp-summary strong {white-space:nowrap}
.fc-sp-track {display:block;border-radius:1rem;overflow:hidden;background:color-mix(in srgb,var(--muted) 11%,transparent);height:.6rem}
.fc-sp-track svg {display:block;width:100%;height:100%}
.fc-sp-track rect {fill:currentColor}
.fc-sp-key {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fc-sp-empty {margin:0;padding:1rem 1.4rem;color:var(--muted)}
.fc-sp-plot {margin:0;padding:1rem 1.4rem .8rem}
.fc-sp-plot figcaption {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;font-size:1.05rem;font-weight:700;margin-bottom:1.2rem}
.fc-sp-plot [data-plot-metric] {font-size:.85rem;font-weight:500;max-width:100%}
.fc-plot-grid {display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.7rem}
.fc-plot-axis,.fc-plot-points {height:12rem;margin-bottom:1.9rem}
.fc-plot-axis {display:flex;flex-flow:column;justify-content:space-between;align-items:end;color:var(--muted);font-size:.79rem;white-space:nowrap;line-height:1}
.fc-plot-axis span:first-child {transform:translateY(-50%)}
.fc-plot-axis span:last-child {transform:translateY(50%)}
.fc-plot-points {
 display:flex;justify-content:space-around;min-width:0;
 border-block:1px solid var(--line);
 background:linear-gradient(to bottom,transparent calc(50% - .5px),var(--line) 50%,transparent calc(50% + .5px));
}
.fc-sp-plot button.fc-plot-point {
 position:relative;min-width:0;flex:1 1 0;display:flex;align-items:stretch;justify-content:center;height:100%;margin:0;
 padding:0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;outline-offset:0;touch-action:manipulation;
}
.fc-sp-plot button.fc-plot-point:is(:hover,:focus-visible,[aria-pressed=true]) {background:color-mix(in srgb,var(--fc-positions) 7%,transparent)}
.fc-sp-plot button.fc-plot-point:focus-visible {outline:2px solid var(--fc-positions);z-index:1}
.fc-plot-point svg {width:80%;max-width:5.5rem;height:100%;display:block}
.fc-plot-point rect {fill:currentColor}
.fc-plot-date {position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:.4rem;color:var(--muted);white-space:nowrap;font-size:.79rem;font-weight:500}
.fc-plot-point[aria-pressed=true] .fc-plot-date {color:var(--fc-positions);font-weight:700}
.fc-plot-readout {display:flex;align-items:baseline;flex-wrap:wrap;gap:.35rem 1.15rem;padding:.65rem .85rem;background:color-mix(in srgb,var(--fc-positions) 5%,var(--surface));border-radius:.5rem;font-size:.88rem}
.fc-plot-readout span {display:inline-flex;align-items:baseline;gap:.3rem}
.fc-plot-readout .fc-dot {align-self:center}
.fc-plot-readout strong {white-space:nowrap}
.fc-sp-breakdown {border-top:1px solid var(--line)}
@container (max-width:50rem) {.fc-plot-date.fc-plot-sparse {visibility:hidden}}
@container (max-width:43rem) {
 .fc-sp-plot {padding:.85rem}
 .fc-plot-grid {column-gap:.35rem}
 .fc-plot-axis,.fc-plot-points {height:9.5rem}
 .fc-plot-axis,.fc-plot-date {font-size:.75rem}
 .fc-plot-readout {gap:.25rem .7rem;font-size:.82rem}
 .fc-sp-summary {padding:1rem;gap:.8rem}
 .fc-sp-summary [data-spending-total] {font-size:1.65rem}
 .fc-sp-summary dl {gap:.5rem 1.3rem}
 .fc-sp-breakdown {padding:.25rem 1rem .45rem}
 .fc-sp-columns {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.2rem .6rem}
 .fc-sp-row {grid-template-columns:1fr auto;row-gap:.4rem;column-gap:.5rem;padding:.65rem 0;line-height:1.3}
 .fc-sp-date {grid-area:1/1}.fc-sp-sum {grid-area:1/2}
 .fc-sp-track {grid-area:2/1/3/-1;height:.38rem}
 .fc-sp-pos {grid-area:3/1;text-align:left}
 .fc-sp-pf {grid-area:3/2}
 .fc-sp-pos,.fc-sp-pf {font-size:.84rem}
 .fc-sp-pos .fc-sp-key,.fc-sp-pf .fc-sp-key {position:static;width:auto;height:auto;clip-path:none;color:var(--muted);margin-right:.3rem}
}
.fc-scroll {max-width:100%;overflow:auto;max-height:30rem;margin-top:.5rem}
.fc-scroll table {width:100%;min-width:0;font-variant-numeric:tabular-nums}
.fc-scroll td,.fc-scroll th {text-align:right;white-space:nowrap}
.fc-scroll th:first-child {text-align:left}
.fc-ranking {margin-top:1rem;border-top:1px solid var(--line);padding-top:1.25rem}
.fc-note,.fc-ranks small {font-size:.875rem;color:var(--muted)}
.fc-ranks {padding-inline-start:2.2rem;max-width:52rem;margin:.8rem 0}
.fc-ranks li {padding:.45rem .15rem;font-variant-numeric:tabular-nums}
.fc-ranks li::marker {color:var(--muted)}
.fc-rank-title {align-items:baseline}
.fc-rank-title a {overflow-wrap:anywhere}
.fc-bar {display:block;width:100%;height:.45rem;background:var(--line);border-radius:1em;overflow:hidden;margin:.25rem 0}
.fc-bar rect {fill:currentColor}
.fc-filters select,.fc-heading select {max-width:100%}
.finance-charts [data-chart-status]:not(:empty) {padding:.65rem 0}
@media(max-width:650px){.fc-heading {align-items:flex-start}.fc-filters {justify-content:flex-start}.fc-figure {padding:.65rem}.fc-rank-title {gap:.25rem .75rem}.fc-figure svg text {font-size:16px}}
@media(forced-colors:active){.fc-bar rect {forced-color-adjust:none}.fc-line,.fc-swatch {color:CanvasText}}
