:root{--bg:#f4f5f7;--card:#fff;--fg:#14181f;--muted:#6b7280;--line:#e3e6eb;--accent:#1f3a5f;--accent-fg:#fff;--soft:#e8edf4;--in:#15803d;--out:#b91c1c;--warn:#b45309;--bar:#e5e8ed;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f1319;--card:#171c24;--fg:#e8ebf0;--muted:#8b93a1;--line:#262c36;--accent:#9db9dc;--accent-fg:#0c1320;--soft:#1c2533;--in:#4ade80;--out:#f87171;--warn:#fbbf24;--bar:#262c36;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--fg);padding-block:16px 40px;padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));margin:0;font:14px/1.45 Inter,system-ui,-apple-system,Segoe UI,sans-serif}h1{margin:0;font-size:1.1rem;font-weight:700}h2{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0;font-size:.7rem;font-weight:600}button,input,select{font:inherit;color:inherit}button{cursor:pointer}input,select{border:1px solid var(--line);background:var(--bg);border-radius:6px;width:100%;padding:8px 10px;font-size:16px}input:focus-visible,select:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}label{color:var(--muted);flex-direction:column;gap:4px;min-width:0;font-size:.75rem;font-weight:500;display:flex}.app,.login{flex-direction:column;gap:12px;max-width:560px;margin:0 auto;display:flex}.login{margin-top:12vh}.card{background:var(--card);border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:12px;padding:16px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.grid2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.top{justify-content:space-between;align-items:center;gap:12px;display:flex}.tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:2px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 10px;font-weight:500}.tabs button.on{color:var(--fg);border-bottom-color:var(--accent);font-weight:600}.month{justify-content:center;align-items:center;gap:12px;display:flex}.cap{text-transform:capitalize;text-align:center;min-width:10em;font-weight:600}.big{font-size:1.6rem;font-weight:600}.summary{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:12px;display:grid}.summary div{flex-direction:column;gap:2px;min-width:0;display:flex}.summary small{color:var(--muted);font-size:.72rem;font-weight:500}.summary b{overflow-wrap:anywhere;font-size:.92rem;font-weight:600}.num{font-variant-numeric:tabular-nums;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace}.in{color:var(--in)}.out{color:var(--out)}.muted{color:var(--muted)}.small{font-size:.8rem}.center{text-align:center}.seg{background:var(--bar);border-radius:6px;grid-template-columns:1fr 1fr;gap:2px;padding:2px;display:grid}.seg button{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:7px;font-size:.85rem;font-weight:600}.seg button.on{background:var(--card);color:var(--fg);box-shadow:0 1px 2px #00000014}.seg button.on:first-child{color:var(--out)}.seg button.on:last-child{color:var(--in)}.primary{background:var(--accent);color:var(--accent-fg);border:0;border-radius:6px;padding:10px;font-size:.9rem;font-weight:600}.primary:disabled{opacity:.5;cursor:default}.ghost{border:1px solid var(--line);background:0 0;border-radius:6px;padding:6px 10px;font-size:.8rem;font-weight:500}.limits{grid-template-columns:minmax(0,1fr) 8em;align-items:center;gap:6px 10px;font-size:.85rem;display:grid}.limits input{padding:6px 8px;font-family:IBM Plex Mono,monospace;font-size:.85rem}.budgets{flex-direction:column;gap:10px;display:flex}.bud{flex-direction:column;gap:4px;display:flex}.bar{background:var(--bar);border-radius:99px;height:4px;overflow:hidden}.bar i{background:var(--accent);border-radius:99px;height:100%;display:block}.bar i.warn{background:var(--warn)}.bar i.over{background:var(--out)}.tx{border-top:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 0;display:grid}.tx:first-of-type{border-top:0}.day{color:var(--muted);text-align:center;width:2.2em;font-size:.75rem}.what{flex-direction:column;min-width:0;display:flex}.what b{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.what small{color:var(--muted);font-size:.75rem}.amt{white-space:nowrap;font-weight:500}.del{color:var(--muted);background:0 0;border:0;border-radius:6px;padding:4px 6px;font-size:1rem}.del.confirm{color:var(--out);border:1px solid var(--out);font-size:.72rem;font-weight:600}.member{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;display:flex}.member:first-of-type{border-top:0}.member .what{flex:1;min-width:10em}.member form{width:100%}.pill{background:var(--soft);color:var(--accent);border-radius:4px;margin-left:4px;padding:2px 6px;font-size:.7rem;font-weight:600}.error{color:var(--out);margin:0}.toast{border-radius:6px;margin:0;padding:8px 12px;font-size:.85rem;font-weight:500}.toast.ok{background:var(--soft);color:var(--accent)}.toast.bad{border:1px solid var(--out);color:var(--out)}input,select{height:40px}input[type=date]{appearance:none;min-width:0;max-width:100%;line-height:1.2;display:block}.grid2>*{min-width:0}@media (width<=380px){.grid2{grid-template-columns:1fr}}.cassa{border-bottom:1px solid var(--line);flex-direction:column;gap:4px;padding-bottom:8px;display:flex}.avviso{border:1px solid var(--warn);color:var(--fg);border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.avviso b{color:var(--warn)}.avviso p{margin:0}.tx.riporto{background:var(--soft);border:0;border-radius:8px;margin-bottom:6px;padding:10px}.tx.riporto .what b{color:var(--accent)}.tx.riporto .day{color:var(--accent);font-size:1rem}html,body{overscroll-behavior-y:contain}.pull{color:var(--muted);justify-content:center;align-items:center;font-size:.8rem;font-weight:500;transition:height .15s;display:flex;overflow:hidden}.logo{align-self:center;width:56px;height:56px}.logo-sm{flex:none;width:36px;height:36px}.brand{align-items:center;gap:10px;min-width:0;display:flex}.prova{background:var(--soft);color:var(--fg);border-radius:8px;padding:10px 12px;font-size:.85rem}.landing{flex-direction:column;gap:16px;max-width:560px;margin:0 auto;display:flex}.hero{text-align:center;flex-direction:column;align-items:center;gap:12px;padding-top:6vh;display:flex}.hero h1{max-width:20ch;font-size:1.6rem;line-height:1.2}.lead{color:var(--muted);max-width:36ch;margin:0;font-size:1rem}.hero .stack{width:100%;max-width:320px}.punto{border-top:1px solid var(--line);flex-direction:column;gap:2px;padding:10px 0;display:flex}.punto:first-of-type{border-top:0}.login a{color:var(--accent)}.ill{width:100%;max-width:320px;height:auto}.ill-dots{fill:var(--accent);opacity:.45}.ill-card{fill:var(--card);stroke:var(--line);stroke-width:2px}.ill-title{fill:var(--accent)}.ill-track{fill:var(--line)}.ill-in{fill:var(--in)}.ill-out{fill:var(--out)}.ill-ac{fill:var(--accent)}.ill-soft{fill:var(--soft);stroke:var(--line);stroke-width:1px}.ill-badge{fill:var(--warn)}.ill-check{stroke:var(--accent-fg);stroke-width:3px;fill:none;stroke-linecap:round;stroke-linejoin:round}.punto{flex-direction:row;align-items:flex-start;gap:12px}.ptxt{flex-direction:column;gap:2px;min-width:0;display:flex}.ic{background:var(--soft);border-radius:14px;flex:none;place-items:center;width:52px;height:52px;display:grid}.ic svg{width:32px;height:32px}.ic-f{fill:var(--accent)}.ic-a{fill:var(--in)}.ic-w{fill:var(--warn)}.ic-s{stroke:var(--accent);stroke-width:2px;stroke-linecap:round;fill:none}.ic-s-line{stroke:var(--accent);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;fill:none}.ico-ac{fill:var(--accent)}.ico-in{fill:var(--in)}.ico-wa{fill:var(--warn)}.ico-tri{fill:var(--warn);stroke:var(--warn);stroke-width:2px;stroke-linejoin:round}.ico-card{fill:var(--card)}.ico-stk-fg{stroke:var(--accent-fg);stroke-width:3px;stroke-linecap:round;fill:none}.ico-stk-ac{stroke:var(--accent);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;fill:none}.subtabs{flex-wrap:wrap;gap:6px;display:flex}.subtabs button{background:var(--card);border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:7px 12px;font-size:.85rem;font-weight:500}.subtabs button.on{background:var(--accent);color:var(--accent-fg);border-color:var(--accent);font-weight:600}.badge{background:var(--out);color:#fff;text-align:center;border-radius:99px;min-width:18px;margin-left:4px;padding:0 5px;font-size:.7rem;font-weight:700;line-height:18px;display:inline-block}.dot{background:var(--out);vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.percorso{border-color:var(--accent)}.percorso-t{margin:2px 0 0}.percorso p{margin:0}.voce{border-top:1px solid var(--line);padding:10px 0}.voce:first-of-type{border-top:0}.voce summary{cursor:pointer;font-weight:600;list-style:none}.voce summary::-webkit-details-marker{display:none}.voce summary:after{content:"+";float:right;color:var(--muted)}.voce[open] summary:after{content:"−"}.voce p{color:var(--muted);margin:8px 0 0}.ghost.confirm{border-color:var(--out);color:var(--out);font-weight:600}
