:root{--ink:#192c27;--muted:#718077;--line:#e7ece9;--bg:#f6f8f6;--panel:#fff;--green:#135b43;--deep:#0d4434;--mint:#ddf3e9;--orange:#e8a86a;--shadow:0 9px 32px rgba(24,52,40,.045);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);font-size:15px;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}input,select{color:var(--ink)}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a3d9c5;outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{display:inline-block;flex-shrink:0;width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;vertical-align:middle}
.app-shell{display:flex;max-width:1700px;margin:auto;min-height:100vh}.sidebar{width:252px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:32px 20px 25px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;margin-bottom:56px}.brand-mark{height:47px;width:47px;display:grid;place-items:center;background:#ffeddc;border-radius:15px;font-size:26px}.brand-copy{display:flex;flex-direction:column;gap:3px}.brand-copy strong{font-size:21px;letter-spacing:-.8px;color:var(--green)}.brand-copy small{font-size:11px;color:#87938c;letter-spacing:.2px}.desktop-nav{display:grid;gap:8px}.nav-link{display:flex;align-items:center;gap:13px;padding:15px;border-radius:12px;font-size:14px;font-weight:600;color:#67776d;transition:.17s}.nav-link:hover{background:#f2f6f3;color:var(--green)}.nav-link.active{background:#e7f3ed;color:var(--green)}.nav-link.active .icon{stroke-width:2.3}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:22px 10px 0;display:grid;gap:12px}.sidebar-foot small{color:#94a09a;font-size:10.5px}.local-status{font-size:12px;font-weight:600;color:#557465;display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:100%;background:#4ba275}
.content{width:min(100%,1100px);padding:43px 48px 30px;margin:auto}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:32px}.overline,.eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:2.2px;color:#7d9c8d}.topbar h1{font-size:27px;letter-spacing:-1px;line-height:1.25;margin:9px 0 7px;font-weight:800}.topbar p,.section-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.version-pill{font-size:10px;font-weight:800;letter-spacing:1px;color:#51846b;background:#e3f1e8;padding:9px 12px;border-radius:24px;white-space:nowrap}.app-section{scroll-margin-top:25px;margin-bottom:44px}.hero{background:linear-gradient(117deg,#0e4938,#116449);border-radius:23px;min-height:252px;padding:34px 42px;display:flex;align-items:center;position:relative;overflow:hidden;color:white;box-shadow:0 15px 38px rgba(14,73,56,.11)}.hero-copy{position:relative;z-index:2;max-width:540px}.hero-eyebrow{display:flex;gap:8px;align-items:center;color:#acd9c4;font-size:10px;letter-spacing:2px;font-weight:800}.hero-eyebrow .icon{width:16px;height:16px}.hero h2{font-size:39px;line-height:1.12;letter-spacing:-1.5px;margin:16px 0 11px;font-weight:800}.hero p{color:#c2e2d3;font-size:13px;max-width:430px;line-height:1.6;margin:0}.hero-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-top:24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 16px;border:1px solid transparent;border-radius:10px;font-weight:700;font-size:12px;transition:background .15s,transform .15s;white-space:nowrap}.button:hover:not(:disabled){transform:translateY(-1px)}.button .icon{width:17px;height:17px}.button-white{color:#0d513b;background:white}.button-white:hover{background:#e6f3e9}.button-outline-light{color:white;background:#ffffff15;border-color:#ffffff44}.button-outline-light:hover{background:#ffffff25}.button-primary{background:var(--green);color:white}.button-primary:hover{background:#0d4735}.button-secondary{background:white;color:#3d6250;border-color:#dbe8df}.button-secondary:hover{background:#f1f8f3}.button-subtle{background:#e8f1eb;color:#285f46}.button-text-danger{background:transparent;color:#b55f55;padding-left:5px;padding-right:5px}.hero-art{position:absolute;inset:0 0 0 auto;width:40%;display:grid;place-items:center}.art-ring{position:absolute;width:310px;height:310px;border:1px solid #ffffff1b;border-radius:50%;right:2%;top:-13%}.art-ring-two{width:210px;height:210px;right:15%;top:6%;background:#ffffff0a}.hero-emoji{font-size:95px;transform:rotate(-11deg);filter:drop-shadow(2px 20px 15px #00332333);position:absolute;right:23%;top:23%}.floating-chip{background:white;color:#3b6551;font-weight:800;padding:10px 13px;border-radius:10px;box-shadow:0 12px 19px #00351c33;font-size:11px;position:absolute}.chip-top{top:16%;right:8%;transform:rotate(6deg)}.chip-bottom{bottom:17%;right:32%;transform:rotate(-5deg)}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:18px}.stat-card,.panel{background:var(--panel);border:1px solid #eaf0ec;border-radius:17px;box-shadow:var(--shadow)}.stat-card{padding:20px 22px;min-height:143px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#66786d;font-size:11.5px;font-weight:600}.stat-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:11px}.stat-icon.mint{background:#e4f6eb;color:#438361}.stat-icon.blue{background:#e7f2fc;color:#668bb2}.stat-icon.amber{background:#fff2dc;color:#ba8c42}.stat-icon .icon{width:18px;height:18px}.stat-value{font-size:26px;font-weight:800;letter-spacing:-1px;margin-top:14px}.stat-caption{font-size:11px;color:#9aa49e;margin-top:5px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px}.section-heading h2{font-size:24px;letter-spacing:-.8px;margin:6px 0 6px;line-height:1.3}.section-heading .button{margin-bottom:5px}.panel{padding:22px}.quick-form{display:flex;align-items:center;gap:9px;border:1px solid #e4ebe6;background:#f8faf8;border-radius:13px;padding:7px 7px 7px 15px}.quick-icon{color:#81a18e}.quick-form input{border:none;background:transparent;min-width:0;flex:1;outline:none;font-size:13px;padding:11px 4px}.quick-form input:focus-visible{outline:none}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 8px}.filter-tabs{display:flex;gap:6px}.filter{border:0;border-radius:8px;background:transparent;color:#7b8980;padding:9px 12px;font-size:12px;font-weight:700}.filter.active{background:#e8f2ec;color:#1a6348}.filter span{font-size:10px;opacity:.8;margin-left:4px}.link-danger{background:none;border:0;color:#b45a52;font-size:11px;font-weight:700}.item-list{min-height:150px}.empty-state{text-align:center;padding:35px 16px 47px;display:grid;justify-items:center;gap:9px}.empty-state-icon{display:grid;place-items:center;width:66px;height:66px;background:#e9f4ec;color:#488267;border-radius:21px;margin-bottom:4px}.empty-state-icon .icon{width:31px;height:31px}.empty-state h3{font-size:16px;margin:0}.empty-state p{font-size:12px;color:var(--muted);margin:0;line-height:1.65;max-width:340px}.empty-state .button{margin-top:10px}.item-row{display:flex;align-items:center;min-width:0;gap:13px;padding:13px 5px;border-bottom:1px solid #eef2ee}.item-row:last-child{border-bottom:0}.item-check{appearance:none;flex:0 0 23px;width:23px;height:23px;border:1.5px solid #bdd2c4;border-radius:7px;display:grid;place-items:center;background:#fff;cursor:pointer;position:relative}.item-check:checked{background:#28805a;border-color:#28805a}.item-check:checked:after{content:'✓';color:#fff;font-size:17px;font-weight:800;line-height:1}.item-copy{min-width:0;flex:1}.item-name{font-size:13px;font-weight:700;overflow-wrap:anywhere}.item-row.done .item-name{text-decoration:line-through;color:#9da9a1}.item-sub{font-size:11px;color:#94a19a;margin-top:4px}.item-category{display:inline-flex;border-radius:5px;padding:3px 7px;background:#f3f6f2;color:#87988d;margin-left:6px}.item-price{text-align:right;white-space:nowrap;margin:0 8px 0 4px;font-size:13px;font-weight:800}.item-price.no-price{color:#b3beb7;font-size:12px;font-weight:500}.item-actions{display:flex;gap:5px}.item-action{border:0;background:transparent;border-radius:8px;color:#94a29a;display:grid;place-items:center;width:32px;height:32px}.item-action:hover{background:#edf5ee;color:#376e50}.item-action.danger:hover{background:#fff0ed;color:#bc645e}.item-action .icon{width:16px;height:16px}.list-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #eef2ee;margin-top:14px;padding-top:18px;color:#97a59b;font-size:10.5px}.list-foot>span:first-child{display:flex;align-items:center;gap:7px}.list-foot .icon{width:16px;height:16px}.list-foot>span:last-child{white-space:nowrap;font-weight:700;color:#537460}
.compare-panel{padding:26px}.compare-grid{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:14px;align-items:center}.product-card{border:1px solid #e6ebe7;border-radius:14px;padding:18px 17px 14px;min-width:0;margin:0}.product-card legend{font-size:13px;font-weight:800;padding:0 5px}.product-tag{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:8px;font-size:12px;margin-right:5px}.tag-a{background:#e7f3ea;color:#35835b}.tag-b{background:#eaf1fb;color:#477ba8}.field{display:grid;gap:7px;min-width:0}.field label,.budget-edit label{font-size:11px;font-weight:700;color:#708077}.field input,.field select,.budget-edit input{width:100%;min-width:0;border:1px solid #dfe7e1;border-radius:9px;background:#fff;height:43px;padding:0 12px;font-size:14px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.product-foot{margin-top:14px;color:#588267;font-size:12px;font-weight:800}.compare-vs{text-align:center;font-weight:900;color:#aab7ae;font-size:12px}.compare-result{background:#ebf7ef;border:1px solid #d7eddf;border-radius:12px;padding:16px 18px;margin-top:20px;display:flex;align-items:center;gap:12px;color:#236344}.compare-result-icon{width:41px;height:41px;background:white;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.compare-result-icon .icon{width:22px;height:22px}.compare-result strong{font-size:13px}.compare-result p{font-size:11px;line-height:1.5;margin:5px 0 0;color:#56866b}.compare-result.warning{background:#fff7eb;color:#795825;border-color:#f5e6cd}.compare-result.warning p{color:#9a804f}.compare-hint,.small-note{font-size:11px;line-height:1.55;color:#92a095;display:flex;gap:7px;align-items:flex-start;margin:15px 0 0}.compare-hint .icon,.small-note .icon{width:15px;height:15px;flex-shrink:0;margin-top:1px}
.budget-panel{padding:27px}.budget-top{display:flex;justify-content:space-between;align-items:flex-start;gap:25px}.muted-label{font-size:12px;color:#718377;font-weight:700}.budget-big{font-size:32px;font-weight:850;letter-spacing:-1.1px;margin:8px 0}.budget-week{font-size:11px;color:#9eaaa1}.budget-edit{display:grid;gap:9px;width:245px}.budget-input-row{display:flex;gap:8px}.budget-input-row input{max-width:100px}.budget-input-row .button{min-height:43px}.progress-track{width:100%;height:13px;background:#ecf2ed;border-radius:20px;overflow:hidden;margin:29px 0 23px}.progress-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,#5eb989,#23845c);width:0%;transition:width .3s}.progress-fill.over{background:linear-gradient(90deg,#eda761,#c75e58)}.budget-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.budget-metrics>div{border:1px solid #edf1ed;border-radius:11px;padding:14px;display:flex;flex-direction:column;gap:9px}.budget-metrics span{font-size:10px;color:#93a197;line-height:1.45}.budget-metrics strong{font-size:17px;letter-spacing:-.3px}.privacy-panel{padding:23px}.privacy-title{display:flex;gap:14px;align-items:flex-start}.privacy-title strong{font-size:13px}.privacy-title p{font-size:12px;line-height:1.65;color:var(--muted);margin:8px 0 0}.privacy-icon{background:#e5f4eb;color:#33865e;border-radius:12px;padding:12px;display:grid;place-items:center}.settings-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:20px}.footer{border-top:1px solid #e8eeea;padding-top:20px;color:#91a096;font-size:11px;display:flex;justify-content:space-between;gap:20px}.mobile-nav,.mobile-fab{display:none}
.item-dialog{border:0;border-radius:19px;padding:0;max-width:min(94vw,500px);width:100%;box-shadow:0 25px 100px #0c332d40}.item-dialog::backdrop{background:rgba(13,34,26,.56);backdrop-filter:blur(4px)}.modal-body{padding:28px}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.dialog-header h2{font-size:24px;margin:5px 0 0}.dialog-header .icon-button{height:34px;width:34px;border:none;border-radius:9px;background:#f4f7f4;color:#7a8a80;display:grid;place-items:center}.modal-body>.field{margin-bottom:16px}.modal-body .field-pair{margin:0 0 16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,30px);opacity:0;background:#203f31;color:white;border-radius:11px;padding:13px 20px;font-size:12px;font-weight:700;box-shadow:0 10px 30px #0003;z-index:100;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.sidebar{width:215px}.content{padding:35px 28px}.hero-art{opacity:.8}.hero{padding:32px}.hero h2{font-size:36px}.stat-card{padding:17px}.stat-value{font-size:23px}}
@media(max-width:800px){.sidebar{display:none}.content{padding:28px 20px 100px}.topbar{margin-bottom:24px}.topbar h1{font-size:24px}.hero{min-height:233px}.hero-art{width:38%}.hero-emoji{font-size:65px}.floating-chip{font-size:9px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:15;justify-content:space-around;padding:8px 5px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5eee7;box-shadow:0 -8px 25px #07321b0c}.mobile-link{min-width:64px;display:grid;justify-items:center;gap:3px;padding:4px;border-radius:7px;font-size:10px;font-weight:750;color:#8da096}.mobile-link .icon{width:22px;height:22px}.mobile-link.active{color:var(--green)}.mobile-fab{position:fixed;display:grid;place-items:center;right:21px;bottom:83px;width:52px;height:52px;background:var(--green);border:0;border-radius:18px;color:white;box-shadow:0 10px 24px #14593b40;z-index:14}.mobile-fab .icon{width:26px;height:26px}.add-desktop{display:none}.app-section{scroll-margin-top:18px}.footer{margin-bottom:20px}}
@media(max-width:560px){.content{padding:24px 15px 103px}.topbar{align-items:center}.topbar h1{font-size:22px}.topbar p{font-size:12px}.version-pill{font-size:9px;padding:7px 9px}.overline,.eyebrow{letter-spacing:1.6px;font-size:9px}.hero{min-height:300px;padding:26px 24px;align-items:flex-start}.hero h2{font-size:34px}.hero p{max-width:220px;font-size:12px}.hero-buttons{max-width:240px;gap:9px}.hero-buttons .button{font-size:11px;padding:9px 11px;min-height:41px}.hero-art{opacity:.8;right:-30px;top:105px;width:46%;height:190px}.hero-emoji{font-size:73px;right:25%;top:22%}.art-ring{width:230px;height:230px;top:-18%}.art-ring-two{width:155px;height:155px}.chip-top{top:7%;right:8%}.chip-bottom{bottom:12%;right:33%}.floating-chip{padding:7px;font-size:8px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.stat-card{padding:15px;min-height:125px}.stat-card:last-child{grid-column:span 2;min-height:116px}.stat-top{font-size:11px}.stat-value{font-size:24px;margin-top:8px}.stat-caption{font-size:10px}.section-heading h2{font-size:22px}.panel{padding:14px;border-radius:14px}.quick-form{padding:6px 6px 6px 10px}.quick-form input{font-size:12px}.quick-form .button{padding:9px 11px;font-size:11px}.filter{padding:8px;font-size:11px}.list-foot{align-items:flex-start;line-height:1.5}.item-row{gap:8px}.item-price{font-size:12px;margin-right:0}.item-category{display:none}.item-action{width:30px}.compare-panel{padding:15px}.compare-grid{grid-template-columns:1fr;gap:10px}.compare-vs{font-size:10px}.product-card{padding:14px}.product-card .field-pair{margin-top:10px}.product-foot{margin-top:8px}.compare-result{padding:13px}.budget-panel{padding:18px}.budget-top{flex-direction:column;gap:20px}.budget-edit{width:100%}.budget-input-row input{max-width:140px}.budget-metrics{grid-template-columns:1fr 1fr}.budget-metrics>div{padding:12px}.budget-metrics>div:nth-child(3){grid-column:span 2}.budget-metrics strong{font-size:15px}.footer{line-height:1.6;flex-direction:column;gap:5px}.modal-body{padding:19px}.toast{bottom:146px;width:max-content;max-width:92%;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Version 0.2 · Budget-Ausgaben unabhängig von der Einkaufsliste */
.expense-section{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}
.expense-heading h3{font-size:17px;letter-spacing:-.3px;margin:0 0 5px}
.expense-heading p{font-size:12px;color:var(--muted);margin:0 0 17px;line-height:1.5}
.expense-form{display:grid;grid-template-columns:1fr 1.35fr 1fr auto;gap:10px;align-items:end}
.expense-form .field input{width:100%}
.expense-submit{min-height:43px;padding:10px 12px}
.expense-list-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 8px;gap:12px;font-size:12px}
.expense-list-heading span{font-size:11px;color:var(--muted)}
.expense-empty{font-size:12px;color:var(--muted);background:#f7faf8;padding:15px;border-radius:10px;margin:0}
.expense-row{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:11px 4px;border-bottom:1px solid var(--line)}
.expense-row>div:first-child{display:grid;gap:3px;min-width:0}
.expense-row strong{font-size:12px;overflow-wrap:anywhere}
.expense-row span{font-size:10px;color:var(--muted)}
.expense-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}
@media(max-width:1100px){.expense-form{grid-template-columns:1fr 1.4fr;align-items:end}.expense-submit{width:max-content}}
@media(max-width:560px){.expense-form{grid-template-columns:1fr 1fr}.expense-form .field:nth-child(2){grid-column:span 2;grid-row:2}.expense-submit{grid-column:span 2;width:100%}.expense-row-actions{gap:4px}}

/* SparFuchs 0.5 */
.sf-list-manager{margin-bottom:16px}.sf-list-manager label,.sf-category-filter label,.sf-favorites strong{font-size:12px;font-weight:750;color:#426453}.sf-list-actions{display:flex;gap:7px;margin-top:7px;flex-wrap:wrap}.sf-list-actions select{flex:1;min-width:115px}.sf-list-actions button{padding:10px}.sf-list-actions select,.sf-category-filter select{border:1px solid #dbe7df;border-radius:9px;background:#fff;padding:10px;color:#245540}.sf-suggestions{background:#fff;border:1px solid #dce9df;border-radius:12px;box-shadow:0 10px 22px #1c4e3318;margin-top:5px;overflow:hidden}.sf-suggestions[hidden]{display:none}.sf-suggestions button{width:100%;text-align:left;display:flex;justify-content:space-between;gap:8px;padding:12px;border:0;border-bottom:1px solid #eef4ef;background:#fff;color:#214d37}.sf-suggestions button:active{background:#e9f4ed}.sf-suggestions small{color:#8a9e91}.sf-favorites{margin-top:15px}.sf-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.favorite-chip{border:1px solid #cfe6d6;background:#eff8f1;border-radius:100px;color:#245e40;padding:8px 11px;font-weight:650;font-size:12px}.favorite-chip small{color:#829b8a}.sf-category-filter{display:flex;align-items:center;gap:12px;margin-top:18px}.sf-category-filter select{max-width:200px}.history-row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #e8eee9;font-size:13px}.history-row strong{color:#24613f}.hint{color:#7e9284;font-size:12px;line-height:1.5}#history-results{margin-top:12px}@media(max-width:560px){.sf-list-actions .button{font-size:11px;padding:10px 9px}.sf-list-actions select{max-width:100%}}

/* V0.6: recognizable product icons */
.sf-product-emoji {display:inline-flex;align-items:center;justify-content:center;min-width:1.65em;margin-right:.4em;font-size:1.2em;vertical-align:middle}
.sf-suggestions button {display:flex;align-items:center;text-align:left;gap:.3rem;width:100%}
.sf-suggestions .sf-suggestion-copy {display:flex;flex-direction:column;min-width:0;gap:.1rem}
.sf-suggestions .sf-suggestion-copy small {font-weight:400;opacity:.7}
.sf-suggestions .sf-suggestion-copy strong {font-weight:650}
.favorite-chip {display:inline-flex;align-items:center;gap:.25rem}
