:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#213740;background:#f7f9fb;font-synthesis:none;--ink:#1c3941;--muted:#75858d;--teal:#164953;--green:#52b88c;--line:#e9edf0;--surface:#fff;--shadow:0 5px 28px rgba(20,54,61,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #76c6a5;outline-offset:3px}a{color:inherit;text-decoration:none}.icon-sprite{width:0;height:0;position:absolute;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.shell{max-width:1152px;margin-inline:auto;padding-inline:28px}.app-header{background:#fff;border-bottom:1px solid #eaf0f0}.header-inner{min-height:91px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:16px;background:#164953;color:#fff;box-shadow:0 8px 18px rgba(22,73,83,.15)}.brand-icon .icon{width:26px;height:26px}.brand strong{display:block;color:#173943;font-size:20px;font-weight:800;letter-spacing:-.7px;line-height:1.16}.brand small{display:block;color:#92a0a5;font-size:11px;font-weight:600;letter-spacing:.12px;margin-top:5px}.header-actions{display:flex;align-items:center;gap:22px}.privacy-note{display:flex;align-items:center;gap:9px;color:#84959b;font-size:12px;font-weight:600;white-space:nowrap}.privacy-dot{height:8px;width:8px;border-radius:100%;background:#65c597;box-shadow:0 0 0 4px #e8f7ee}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;padding:13px 17px;font-weight:750;font-size:13px;min-height:43px;white-space:nowrap;transition:transform .15s,background .15s,box-shadow .15s}.btn:active,.icon-button:active{transform:translateY(1px)}.btn-primary{background:#1b7c69;color:white;box-shadow:0 7px 14px rgba(26,119,103,.12)}.btn-primary:hover{background:#176a5b}.btn-secondary{background:#eef4f3;color:#24535a}.btn-secondary:hover{background:#e3eeea}.btn-quiet{color:#536d76;background:transparent;font-size:13px;padding:11px 13px}.btn-quiet:hover{background:#f2f7f7}.btn-quiet .icon{width:18px}.app-main{padding-top:37px}.intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.eyebrow,.panel-kicker{font-weight:850;font-size:10px;letter-spacing:1.7px;color:#69a88f}.intro h1{font-size:31px;line-height:1.2;letter-spacing:-1.2px;margin:9px 0 9px;font-weight:850;color:#1c3941}.intro p{margin:0;color:#89989c;font-size:14px;line-height:1.55}.week-switcher{height:48px;display:flex;align-items:center;gap:8px;flex:none}.icon-button{border:1px solid #e7eeee;background:#fff;width:45px;height:45px;display:grid;place-items:center;border-radius:12px;color:#45636a}.icon-button:hover{background:#f5f9f8}.week-current{border:1px solid #e7eeee;background:#fff;display:flex;align-items:center;justify-content:center;gap:9px;height:45px;padding:0 15px;border-radius:12px;color:#274950;font-size:13px;font-weight:800;white-space:nowrap}.week-current .icon{width:18px;color:#69a88f}.overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.95fr);gap:17px;margin-bottom:20px}.balance-card{position:relative;overflow:hidden;background:linear-gradient(115deg,#174e57 0%,#1c655f 100%);color:#fff;border-radius:19px;min-height:252px}.balance-orbit{position:absolute;border:1px solid rgba(255,255,255,.08);width:340px;height:340px;border-radius:50%;pointer-events:none}.orbit-one{right:-135px;top:-195px}.orbit-two{right:-205px;top:-130px;width:450px;height:450px}.balance-content{position:relative;z-index:1;display:flex;flex-direction:column;height:100%;padding:28px 31px 24px}.balance-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.balance-label{font-size:13px;letter-spacing:.15px;font-weight:700;color:#c3e3dd}.balance-pill{background:rgba(255,255,255,.11);font-size:11px;border-radius:99px;padding:7px 11px;color:#d6eee8;font-weight:650}.balance-total{font-size:clamp(37px,4vw,51px);line-height:1.1;font-weight:850;letter-spacing:-1.7px;margin-top:24px}.balance-total.negative{color:#ffceca}.balance-help{font-size:12px;color:#d8ebe7;margin:9px 0 0}.budget-progress{height:7px;background:rgba(255,255,255,.17);margin-top:auto;border-radius:10px;overflow:hidden}.budget-progress>span{display:block;width:0;height:100%;background:#b6f6c9;transition:width .35s}.budget-progress>span.over{background:#ffb6ac}.balance-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:14px;color:#b8dbd2;font-size:11px}.balance-edit{background:none;border:0;color:#fff;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:750;padding:2px 0}.balance-edit:hover{text-decoration:underline}.balance-edit .icon{width:15px;height:15px}.summary-grid{display:grid;grid-template-columns:1fr;gap:12px}.summary-card{background:#fff;border:1px solid #edf1f2;box-shadow:var(--shadow);border-radius:16px;display:flex;align-items:center;gap:17px;padding:17px 20px;min-width:0}.summary-symbol{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px}.summary-symbol .icon{width:23px;height:23px}.symbol-budget{color:#1c7769;background:#e4f5eb}.symbol-paid{color:#3875ba;background:#e8f1fc}.symbol-planned{color:#b67e3e;background:#fff2e0}.summary-caption{font-size:12px;color:#87969b;font-weight:650}.summary-amount{font-weight:850;font-size:24px;letter-spacing:-.8px;color:#22434b;margin-top:4px;line-height:1.1}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid #edf1f2;box-shadow:var(--shadow);border-radius:18px;min-width:0}.expenses-panel{overflow:hidden;min-height:440px}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:26px 26px 20px}.panel h2{color:#23434a;letter-spacing:-.55px;font-size:19px;font-weight:850;margin:8px 0 0}.count-bubble{display:inline-grid;place-items:center;font-size:11px;font-weight:850;color:#598778;border-radius:6px;background:#eaf7ef;min-width:24px;height:23px;vertical-align:middle;margin-left:3px;padding:0 6px}.filter-bar{display:flex;align-items:center;gap:8px;padding:0 26px 20px;border-bottom:1px solid #eef1f2;overflow-x:auto}.filter{flex:none;border:1px solid transparent;background:transparent;border-radius:10px;color:#96a3a7;padding:9px 12px;font-size:12px;font-weight:750}.filter span{display:inline-grid;place-items:center;margin-left:4px;min-width:20px;height:20px;padding:0 4px;border-radius:6px;background:#f3f6f6;font-size:10px;color:#95a3a7}.filter.active{background:#eaf6f1;border-color:#e2f1e9;color:#24785f}.filter.active span{background:#d5ecdf;color:#2b8268}.expense-list{min-height:244px}.empty-state{padding:41px 24px 44px;text-align:center;display:flex;flex-direction:column;align-items:center}.empty-illustration{width:77px;height:77px;display:grid;place-items:center;border-radius:24px;background:#ecf7f2;color:#2b9a77;position:relative}.empty-illustration:before{content:"";position:absolute;width:22px;height:22px;right:-7px;top:-5px;background:#d8edb9;border-radius:8px;transform:rotate(19deg)}.empty-illustration .icon{width:40px;height:40px;stroke-width:1.5}.empty-state h3{font-weight:850;font-size:17px;letter-spacing:-.3px;margin:19px 0 5px;color:#304c51}.empty-state p{color:#98a6aa;margin:0 0 19px;max-width:270px;font-size:13px;line-height:1.55}.empty-state .btn{padding:11px 17px}.expense-row{display:flex;align-items:center;gap:12px;padding:15px 20px 15px 25px;border-bottom:1px solid #f0f2f3;min-height:77px}.check-toggle{width:26px;height:26px;border:2px solid #cddcda;border-radius:50%;display:grid;place-items:center;background:#fff;color:#fff;flex:none;padding:0;transition:background .15s}.check-toggle:hover{border-color:#71b49a}.check-toggle.done{background:#2e9b77;border-color:#2e9b77}.check-toggle .icon{width:16px;height:16px;stroke-width:3}.category-symbol{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;font-size:20px;background:#eff6f4}.expense-details{min-width:0;flex:1}.expense-name{font-size:13px;color:#304950;font-weight:800;line-height:1.35;overflow-wrap:anywhere}.expense-name.done{text-decoration:line-through;text-decoration-color:#abb8b8;color:#667b81}.expense-meta{margin-top:6px;font-size:11px;color:#94a2a7;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.expense-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}.expense-price{font-size:15px;font-weight:850;white-space:nowrap;color:#27464b;letter-spacing:-.3px;text-align:right}.expense-price.done{color:#608277}.expense-status{font-size:10px;font-weight:750;color:#b68e4d;margin-top:3px;text-align:right}.expense-status.done{color:#47a27d}.expense-actions{display:flex;gap:2px;align-items:center}.row-action{background:transparent;color:#a2b1b2;border:0;border-radius:9px;padding:7px;display:grid;place-items:center}.row-action:hover{background:#edf6f2;color:#357861}.row-action.danger:hover{background:#fff0ef;color:#c45e58}.row-action .icon{width:16px;height:16px}.list-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 26px;background:#fbfcfc;color:#7a9095;font-size:12px;font-weight:750}.list-footer strong{color:#23444b;font-size:15px}.side-column{display:grid;gap:17px}.spending-panel{padding:23px 24px 22px}.panel-heading h2{margin-top:8px}.donut-wrap{display:flex;justify-content:center;padding:24px 0 22px}.donut{--slice:0%;width:184px;height:184px;border-radius:50%;background:conic-gradient(#e7eeed 0% 100%);display:grid;place-items:center;transition:background .3s}.donut-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:50%;width:134px;height:134px;gap:6px}.donut-inner span{color:#94a4a6;font-size:11px}.donut-inner strong{font-size:21px;letter-spacing:-.75px;color:#23444c}.categories{display:grid;gap:14px}.category-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.category-title{display:flex;align-items:center;gap:9px;font-size:12px;color:#667c81;font-weight:650}.category-dot{width:9px;height:9px;border-radius:3px;flex:none}.category-line strong{font-size:12px;color:#29464c;white-space:nowrap}.muted-center{font-size:12px;color:#a1afb1;text-align:center}.tiny-note{font-size:10px;line-height:1.6;color:#a1afb1;margin:20px 0 0}.info-panel{display:flex;gap:14px;border-radius:16px;background:#eaf5ee;border:1px solid #e1f0e6;padding:20px 21px}.info-emoji{font-size:21px}.info-panel h3{font-size:13px;color:#27614e;margin:1px 0 5px}.info-panel p{font-size:11px;line-height:1.75;color:#618477;margin:0}.info-panel strong{color:#356f59}.recent-panel{padding:20px 21px}.recent-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.recent-head h2{font-size:15px;margin:0}.text-button{border:0;background:transparent;color:#318b70;font-size:11px;font-weight:850}.text-button:hover{text-decoration:underline}.recent-weeks{display:grid;gap:7px}.recent-week{width:100%;border:1px solid #eef2f2;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:10px 12px;gap:8px}.recent-week:hover,.week-option:hover{background:#f4faf7}.recent-week.active,.week-option.active{border-color:#a0d9bb;background:#ecf8f1}.recent-week span,.week-option span{display:block;color:#38545a;font-size:12px;font-weight:800}.recent-week small,.week-option small{display:block;color:#9eaaae;font-size:10px;margin-top:3px}.recent-week .icon{color:#83a79c;width:16px}.page-footer{padding:29px 0 35px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#a1aeb1;font-size:11px}.page-footer span span{color:#8acda6}.modal{border:0;background:transparent;padding:13px;max-height:min(90vh,850px);max-width:540px;width:100%;overflow-y:auto}.modal::backdrop{background:rgba(10,35,40,.58);backdrop-filter:blur(3px)}.modal[open]{animation:fade-up .18s ease}.modal-form{background:#fff;border-radius:19px;box-shadow:0 20px 80px rgba(0,0,0,.15);padding:26px 28px 27px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:19px}.modal-header h2{font-size:22px;letter-spacing:-.6px;color:#23424a;margin:8px 0 0}.close-button{width:35px;height:35px;flex:none}.close-button .icon{width:18px}.modal-description{font-size:13px;color:#7a8f93;line-height:1.7;margin:0 0 20px}.modal label,.modal legend{display:block;font-size:12px;color:#44656a;font-weight:800;margin-bottom:9px}.modal input:not([type="radio"]),.modal select{display:block;width:100%;height:46px;border-radius:11px;border:1px solid #e0e9e9;background:#fff;padding:0 13px;color:#294950;outline:0;font-size:14px}.modal input:focus,.modal select:focus{border-color:#73b89d;box-shadow:0 0 0 3px #e5f5ec}.modal input::placeholder{color:#afbbbd}.euro-input{position:relative}.euro-input span{position:absolute;top:50%;left:14px;transform:translateY(-50%);font-weight:800;color:#62957e}.euro-input input{padding-left:34px!important}.field-hint{font-size:11px;color:#9aa8ab;margin:9px 0 5px}.field{margin-bottom:17px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.optional{color:#9cacaf;font-weight:500}.status-field{padding:0;border:0;display:grid;gap:10px;margin:0 0 20px}.status-option{display:flex!important;gap:11px;align-items:center;border:1px solid #e4ecec;border-radius:12px;padding:12px;margin:0!important;cursor:pointer}.status-option:has(input:checked){background:#eef8f3;border-color:#b1daca}.status-option input{width:17px;height:17px;accent-color:#238066;flex:none}.status-option span{display:flex;flex-direction:column;gap:4px}.status-option strong{font-size:12px;color:#34555c}.status-option small{font-size:11px;color:#93a4a7;font-weight:500;line-height:1.3}.modal-actions{margin-top:23px;display:flex;justify-content:flex-end;gap:9px}.weeks-subtitle{font-size:13px;color:#47656a;margin:24px 0 12px}.full-width{width:100%}.all-weeks-list{display:grid;gap:9px;max-height:300px;overflow:auto}.week-option{border:1px solid #eaf0ed;border-radius:10px;padding:12px 14px;background:#fff;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px}.week-option strong{font-size:12px;color:#3e6f5d}.setting-action{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid #edf0f0}.setting-action strong{display:block;font-size:13px;color:#345358}.setting-action small{display:block;font-size:11px;color:#98a7a9;margin-top:5px;line-height:1.5}.setting-action .btn{font-size:11px;flex:none;min-height:39px;padding:10px 12px}.setting-action .icon{width:15px;height:15px}.settings-alert{margin-top:21px;padding:14px;background:#fff6e9;border-radius:12px;color:#9c7950;font-size:11px;line-height:1.6;display:flex;gap:10px}.settings-alert .icon{width:18px;height:18px}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,35px);max-width:min(90vw,420px);background:#224e51;color:#fff;padding:13px 21px;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-weight:700;font-size:13px;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes fade-up{from{transform:translateY(10px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(min-width:1020px){.summary-grid{gap:10px}.summary-card{padding-block:14px}.balance-card{min-height:252px}}
@media(max-width:950px){.overview{grid-template-columns:minmax(0,1fr) 260px}.summary-symbol{flex-basis:42px;height:42px}.summary-amount{font-size:19px}.summary-card{padding:14px;gap:11px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.panel-top{padding:23px 19px 19px}.filter-bar{padding-inline:19px}.spending-panel{padding:20px}.expense-row{padding-inline:15px}.row-action{padding:5px}.expense-price{font-size:13px}}
@media(max-width:720px){.shell{padding-inline:17px}.header-inner{min-height:74px}.brand-icon{height:43px;width:43px;border-radius:14px}.brand-icon .icon{width:24px}.brand strong{font-size:18px}.brand small{font-size:10px}.header-actions{gap:0}.privacy-note,.settings-trigger span{display:none}.settings-trigger{padding:12px;background:#f2f7f6;border-radius:12px}.settings-trigger .icon{width:21px;height:21px}.app-main{padding-top:24px}.intro{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:22px}.intro h1{font-size:27px;letter-spacing:-.9px;margin-top:7px}.intro p{font-size:12px}.week-switcher{width:100%;justify-content:space-between;background:#fff;border:1px solid #eaf0f0;border-radius:13px;padding:4px;height:53px}.week-switcher .icon-button{border:0;background:transparent;height:43px;width:43px}.week-current{border:0;flex:1;background:transparent;height:43px;font-size:12px}.overview{display:block}.balance-card{min-height:231px;border-radius:17px}.balance-content{padding:23px 23px 21px}.balance-total{font-size:43px;margin-top:22px}.balance-bottom{font-size:10px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px;gap:8px}.summary-card{display:block;text-align:center;padding:13px 6px 15px;border-radius:12px}.summary-symbol{margin:0 auto 9px;width:34px;height:34px;border-radius:10px}.summary-symbol .icon{width:18px;height:18px}.summary-caption{font-size:10px}.summary-amount{font-size:15px;letter-spacing:-.6px;margin-top:6px}.dashboard-grid{display:flex;flex-direction:column;gap:14px}.expenses-panel{width:100%;min-height:340px}.side-column{width:100%;grid-template-columns:1fr}.panel-top{padding:21px 18px 18px}.panel h2{font-size:18px}.panel-top .btn{font-size:11px;padding:11px 12px;min-height:39px}.panel-top .btn .icon{width:16px}.filter-bar{gap:5px;padding:0 13px 13px}.filter{padding:8px 9px;font-size:11px}.expense-row{padding:14px 12px;gap:9px}.category-symbol{width:35px;height:35px;font-size:16px;border-radius:10px}.expense-name{font-size:12px}.expense-meta{gap:5px;font-size:10px}.expense-price{font-size:12px}.expense-status{font-size:9px}.check-toggle{width:24px;height:24px}.row-action{padding:5px}.row-action .icon{width:15px;height:15px}.list-footer{padding:17px 20px}.spending-panel{padding:22px}.donut-wrap{padding:17px 0}.donut{width:167px;height:167px}.donut-inner{width:120px;height:120px}.donut-inner strong{font-size:19px}.page-footer{flex-direction:column;text-align:center;gap:8px;padding-top:23px}.info-panel{padding:17px}.recent-panel{padding:19px}.modal-form{padding:23px 19px}.modal-header h2{font-size:20px}}
@media(max-width:390px){.intro h1{font-size:25px}.summary-amount{font-size:13px}.filter{padding:8px 7px;font-size:10px}.panel-top .btn{padding:10px 9px}.row-action{padding:3px}.expense-actions{gap:0}.expense-row{gap:7px}.expense-status{font-size:9px}.category-symbol{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
