/* The monthly spending worm, shared by the landing page and the Expenses screen. */
.worm{position:relative;min-height:220px}
.worm-line{display:block;max-width:100%;overflow:visible;touch-action:pan-y}
.worm-body{stroke:var(--worm,var(--field,#0D0F14))}
.worm-head{fill:var(--worm-head,var(--worm,var(--field,#0D0F14)))}
.worm-dot{fill:var(--worm-dot,var(--surface,#fff));stroke:var(--worm,var(--field,#0D0F14));stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.2);transition:opacity 160ms ease,transform 260ms cubic-bezier(.2,.8,.2,1)}
.worm-dot.in{opacity:1;transform:none}
.worm-dot.on{transform:scale(1.7)}
.worm-tip{margin:0 0 6px;min-height:1.4em;font-weight:800;font-stretch:80%;font-size:clamp(20px,2.2vw,28px);white-space:nowrap}
.worm-axis{display:flex}
.worm-axis button{all:unset;flex:1 1 0;min-width:0;min-height:24px;padding:4px 0;text-align:center;font-size:13px;font-weight:600;cursor:pointer;border-radius:3px;opacity:.72;transition:opacity 150ms ease}
.worm-axis button:hover,.worm-axis button.on{opacity:1}
.worm-axis button.on{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.worm-axis button:focus-visible{outline:3px solid currentColor;outline-offset:1px}
.worm-fallback.worm-quiet{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-cd-look=classic] .worm{--worm:var(--forest,#2c56d7)}
