*{box-sizing:border-box}body{margin:0;background:#f6f8fc;color:#18233b;font-family:'DM Sans',Arial,sans-serif;font-size:18px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{transition:background .15s,transform .15s}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #94acf6;outline-offset:3px}a{color:inherit;text-decoration:none}aside{position:fixed;inset:0 auto 0 0;width:254px;background:#fff;border-right:1px solid #e7ebf2;padding:33px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.8px;gap:9px}.brand-icon{display:grid;place-items:center;width:35px;height:37px;border-radius:11px;background:#3458d4;color:white}.brand-dot{color:#3458d4}.brand>.brand-dot{margin-left:-8px}.workspace{margin:39px 0 34px;padding:13px 9px;border:1px solid #e8ebf2;border-radius:9px;display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700}.workspace>svg{margin-left:auto;color:#8591a5}.workspace small,.profile small{display:block;font-size:12px;color:#9299aa;font-weight:400;margin-top:4px}.avatar{background:#edf1fb;color:#3f5dc5;width:33px;height:33px;display:grid;place-items:center;border-radius:9px;font-size:14px;font-weight:700}.nav-label{font-size:12px;font-weight:700;letter-spacing:1.8px;color:#9ca4b4;margin:0 15px 13px}nav{display:grid;gap:7px}nav button{border:0;background:none;justify-content:flex-start;padding:13px 15px;border-radius:8px;color:#768096;font-size:16px;font-weight:500}nav button.active{background:#edf2ff;color:#3557d4;font-weight:700}.nav-dot{width:6px;height:6px;background:#3458d4;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.secure-card{background:#f7f9fd;border:1px solid #edf0f7;padding:16px 15px;border-radius:10px;color:#6783c8}.secure-card strong{display:block;font-size:14px;color:#52617c;margin-top:10px}.secure-card p{font-size:12px;line-height:1.8;color:#8e98aa;margin:6px 0 0}.profile{border:0;border-top:1px solid #edf0f5;background:none;margin-top:24px;padding:22px 2px 0;width:100%;justify-content:flex-start;font-size:15px;text-align:left}.profile>svg{margin-left:auto;color:#94a0b3}main{margin-left:254px}header{height:77px;border-bottom:1px solid #e7ebf2;background:#fff;padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#8b95a6}header b{font-weight:500;color:#4d5870}.crumb{margin:0 14px;color:#c1c7d2}.protected{display:flex;align-items:center;gap:9px;font-size:12px}.protected>span,.source>span{width:5px;height:5px;background:#4ba68c;border-radius:50%}.protected svg{margin-left:8px;color:#8d9ab1}.content{max-width:1450px;margin:auto;padding:38px 40px 18px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:12px;letter-spacing:1.9px;font-weight:700;color:#8b98b4;display:block;margin-bottom:9px}h1{font-family:Manrope,sans-serif;font-size:35px;font-weight:800;letter-spacing:-1px;margin:0 0 10px}.page-heading p{font-size:15px;color:#8791a5;margin:0}.primary{background:#3458d4;border:1px solid #3458d4;color:#fff;border-radius:7px;padding:12px 16px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 3px 6px #3458d414}.primary:hover{background:#2446c1}.period-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.period{display:flex;align-items:center;border:1px solid #e4e9f2;background:#fff;border-radius:7px;padding:4px}.period button{background:none;border:0;color:#8895af;padding:7px}.period input{border:0;background:none;font-size:15px;color:#3d4964;width:162px;text-align:center;padding:4px}.source{display:flex;align-items:center;gap:7px;color:#96a0b1;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:23px}.stat{background:#fff;border:1px solid #e5eaf2;border-radius:11px;padding:20px 23px}.stat>div{display:flex;justify-content:space-between;align-items:center;color:#707d93;font-size:15px}.stat-icon{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f4fb;color:#6984cb}.green{background:#edf8f4!important;color:#35a280!important}.red{background:#fff1f0;color:#dc8a89}.stat h2{font-family:Manrope,sans-serif;font-size:38px;letter-spacing:-1px;margin:13px 0 9px;font-weight:800}.stat small{font-size:12px;color:#929bad}.positive{color:#2a9b7c}.negative{color:#cc6272}.stat.balance{background:#3458d4;border-color:#3458d4;color:white;position:relative;overflow:hidden}.stat.balance:after{content:'';position:absolute;width:160px;height:160px;right:-60px;bottom:-95px;border:24px solid #ffffff08;border-radius:50%}.balance>div,.balance small{color:#c7d2f4}.overview-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:23px;margin-bottom:23px}.panel{border:1px solid #e5eaf2;border-radius:11px;background:white;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:23px 23px 0;gap:15px}h3{font-family:Manrope,sans-serif;margin:0;font-size:18px;font-weight:800;letter-spacing:-.3px}.panel-head p{font-size:12px;color:#929bad;margin:7px 0 0}.tag{font-size:12px;border:1px solid #e9edf4;border-radius:5px;padding:6px 9px;color:#8d99ae;white-space:nowrap}.category-viz{display:flex;align-items:center;gap:28px;padding:30px 23px 32px}.donut{width:175px;height:175px;flex-shrink:0;border-radius:50%;padding:19px;transform:rotate(0deg)}.donut>div{background:white;width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut small{font-size:12px;color:#96a0b4}.donut strong{font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-.8px;margin:6px 0}.donut span{font-size:12px;color:#9ca5b5}.legend{flex:1;display:grid;gap:13px;min-width:0}.legend>div{display:flex;align-items:center;gap:7px;font-size:12px;color:#7c879b}.color-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0;margin-right:4px}.legend b{color:#48536b;margin-left:auto;font-size:12px;font-weight:500;white-space:nowrap}.budget-overview{padding-bottom:23px}.budget-amount{padding:28px 23px 15px;display:flex;flex-wrap:wrap;align-items:baseline;gap:7px}.budget-amount strong{font-family:Manrope,sans-serif;font-size:31px;letter-spacing:-.8px}.budget-amount span{font-size:12px;color:#929bad}.progress{height:7px;background:#eef1f8;border-radius:20px;margin:0 23px;overflow:hidden}.progress span{display:block;height:100%;background:#3458d4;border-radius:20px}.budget-detail{display:flex;justify-content:space-between;margin:16px 23px;font-size:12px;color:#8690a4}.budget-detail b{font-size:14px}.hint{font-size:12px;line-height:1.6;color:#99a3b5;margin:0 23px 19px}.secondary{border:1px solid #e3e8f2;border-radius:6px;background:#fff;color:#5c6e94;padding:10px 13px;font-size:12px;font-weight:500}.wide{width:100%}.budget-overview .wide{width:calc(100% - 46px);margin:0 23px;justify-content:space-between}.text-button{background:none;border:0;color:#657ba9;font-size:12px;padding:0}.count{background:#f1f4fa;color:#8d9bb4;padding:3px 7px;border-radius:5px;font-family:'DM Sans',sans-serif;font-size:12px;margin-left:7px}.filters{display:flex;gap:12px;padding:21px 23px 18px}.search{display:flex;align-items:center;gap:9px;border:1px solid #e7ebf3;padding:9px 12px;border-radius:6px;color:#98a4ba;max-width:320px;flex:1}.search input{padding:0;border:0;background:none;min-width:0;outline:none;font-size:12px;width:100%}input::placeholder{color:#9ca6b8}select{border:1px solid #e5eaf3;border-radius:6px;padding:9px 11px;background:#fff;color:#7b889f;font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#f9fafd;color:#9ca6b7;font-size:12px;letter-spacing:.8px}th{padding:13px 15px;font-weight:500}th:first-child,td:first-child{padding-left:23px}td{padding:14px 15px;border-bottom:1px solid #f0f2f6;font-size:12px;color:#637089}td b{color:#4a566d;font-weight:500}.transaction-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:30px;height:30px;background:#f3f5fa;color:#91a0bb;border-radius:8px;margin-right:12px}.category-tag{background:#f4f6fa;border:1px solid #ecf0f5;padding:4px 8px;border-radius:5px;color:#8693ab;font-size:12px}.right{text-align:right}.amount{font-weight:600;color:#4d5b75}.amount.positive{color:#2a9b7c}.muted{color:#9aa4b6}.icon-button{border:0;background:none;color:#a5afc0;padding:4px}.table-footer{padding:17px 23px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#a1aabc}.pagination{display:flex;align-items:center;gap:12px}.pagination button{border:1px solid #e5eaf3;background:#fff;border-radius:4px;padding:5px}.empty{padding:40px;text-align:center;color:#9aa7bd}.empty svg{margin-bottom:12px}.empty p{font-size:15px}footer{display:flex;align-items:center;justify-content:space-between;margin-top:32px;font-size:12px;color:#8a96ac}footer>span:first-child{font-weight:700}footer .muted{font-weight:400;margin-left:12px}footer>span:last-child{display:flex;align-items:center;gap:6px}.year-table{margin-top:24px}.year-table table{margin-top:20px}.chart-key{display:flex;align-items:center;gap:7px;font-size:12px;color:#8996ac}.chart-key i{width:7px;height:7px;border-radius:2px;margin-left:7px}.bar-chart{height:290px;display:flex;align-items:end;padding:28px 24px;gap:10px}.bar-chart button{display:flex;flex-direction:column;gap:14px;align-items:center;flex:1;background:none;border:0;color:#94a1b7;min-width:0}.bar-chart button div{height:190px;display:flex;align-items:end;gap:4px}.bar-chart button span{width:14px;min-height:1px;border-radius:4px 4px 0 0}.bar-chart small{font-size:12px}.gate{position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;background:#f6f8fcde;backdrop-filter:blur(7px);padding:20px;overflow:auto}.login-card{width:460px;background:white;border:1px solid #e3e9f5;border-radius:20px;box-shadow:0 20px 90px #223e7f16;padding:36px}.login-icon{width:58px;height:58px;background:#eef2ff;color:#3458d4;border-radius:16px;display:grid;place-items:center;margin-bottom:25px}.login-card h2,.dialog h2{font-family:Manrope,sans-serif;font-size:30px;letter-spacing:-.8px;line-height:1.35;margin:12px 0}.login-card p,.dialog p{font-size:15px;color:#8a96ac;line-height:1.8;margin:12px 0 24px}.login-bottom{border-top:1px solid #eef1f7;margin-top:26px;padding-top:20px;display:flex;align-items:center;gap:7px;font-size:12px;color:#94a1b7}form label{display:block;font-size:14px;font-weight:500;color:#718099;margin-bottom:16px}form input,form select{width:100%;display:block;margin-top:7px;border:1px solid #e0e7f1;border-radius:6px;background:white;padding:11px;color:#3e5070;outline-color:#86a0f2;font-size:16px}.secret{display:block;padding:14px 10px;background:#f3f5fb;border:1px solid #e7edf6;border-radius:7px;font-size:15px;letter-spacing:1px;margin-top:8px;overflow-wrap:anywhere;user-select:all}.login-card form>small{display:block;font-size:12px;margin:-5px 0 22px}.login-card form .primary{margin-top:5px}.error{color:#ba4c63;background:#fff0f1;border:1px solid #ffdee4;border-radius:6px;padding:12px;font-size:14px;margin:15px 0;line-height:1.6}.notice{display:flex;align-items:center;gap:8px;color:#258b6b;background:#eaf8f1;border-radius:6px;padding:12px;margin-bottom:16px;font-size:14px}.overlay{position:fixed;inset:0;background:#13274570;backdrop-filter:blur(3px);z-index:20;display:flex;align-items:center;justify-content:center;padding:25px}.dialog{position:relative;background:white;border-radius:15px;padding:30px;width:480px;max-height:90vh;overflow:auto;box-shadow:0 20px 90px #15284c26}.close{position:absolute;top:17px;right:15px;background:none;border:0;color:#8998b3}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.checkbox{display:flex;align-items:center;gap:8px;font-weight:400}.checkbox input{width:15px;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:23px}.danger{border:1px solid #f2d6dc;background:#fff4f5;color:#b74d65;font-size:14px;padding:11px 14px;border-radius:7px;margin-right:auto}.split{background:#f7f9fc;border-radius:8px;padding:12px}.split label,.budget-input{display:flex;align-items:center;justify-content:space-between;gap:10px}.split input{width:130px;margin:0}.split p{font-size:12px;margin:0 0 14px}.budget-input{margin-bottom:11px}.budget-input input{width:120px;margin:0 0 0 auto}.budget-input .color-dot{margin-right:10px}.recovery{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f3f6fb;border-radius:8px;padding:15px;margin-bottom:25px;font-size:14px}.recovery code{user-select:all}
@media(min-width:1550px){.content{padding-top:50px}.category-viz{gap:45px}.donut{width:200px;height:200px}}@media(max-width:1150px){aside{width:218px;padding:28px 15px}.brand{font-size:21px}main{margin-left:218px}.content{padding:28px 24px}header{padding:0 24px}.overview-grid{grid-template-columns:1fr}.category-viz{justify-content:center;gap:50px}.legend{max-width:300px}.budget-overview{display:none}h1{font-size:30px}.stat{padding:16px}.stat h2{font-size:31px}}@media(max-width:760px){aside{position:static;width:100%;padding:17px 18px;border-right:0;border-bottom:1px solid #e5eaf3}.brand{font-size:25px}.workspace,.nav-label,.sidebar-bottom{display:none}nav{display:flex;gap:3px;margin-top:20px;overflow:auto}nav button{font-size:12px;padding:10px;flex:1;gap:5px}nav svg{width:15px}.nav-dot{display:none}main{margin:0}header{height:49px;padding:0 20px;font-size:12px}.content{padding:25px 17px}.page-heading{align-items:flex-start;gap:12px}.eyebrow{font-size:12px}h1{font-size:26px}.page-heading p{font-size:12px;line-height:1.7;max-width:230px}.page-heading>.primary{font-size:0;padding:10px}.page-heading>.primary svg{width:20px}.stats{gap:8px}.stat{padding:12px 9px}.stat>div{font-size:12px}.stat-icon{width:25px;height:25px}.stat h2{font-size:22px;letter-spacing:-.5px;margin:12px 0}.stat small{font-size:12px;line-height:1.5;display:block}.stat.balance>div>svg{width:17px}.source{display:none}.period-row{margin-bottom:18px}.panel-head{padding:20px 17px 0}h3{font-size:16px}.tag{display:none}.category-viz{padding:25px 16px;gap:22px}.donut{width:145px;height:145px;padding:16px}.donut strong{font-size:22px}.donut small{font-size:12px}.donut span{font-size:12px}.legend{gap:12px}.legend>div,.legend b{font-size:12px}.legend>div{gap:4px}.legend .color-dot{width:5px;height:5px;margin:0}.filters{padding:18px 16px;gap:8px}.search{padding:9px;max-width:180px}.filters select{max-width:148px;font-size:12px}.transactions .panel-head{align-items:flex-start}.text-button{font-size:12px}.transactions .panel-head .text-button svg{width:13px}th:first-child,td:first-child{padding-left:16px}td{padding:12px;font-size:12px}.transaction-icon{width:25px;height:25px;margin-right:8px}.table-footer{padding:15px;font-size:12px}footer{font-size:12px}footer .muted{display:none}.login-card{padding:28px}.login-card h2{font-size:29px}.dialog{padding:25px;width:100%}.bar-chart{gap:0;padding:20px 8px;height:275px}.bar-chart button{padding:0}.bar-chart button span{width:8px}.chart-key{font-size:12px}.chart-key i{margin-left:0}.bar-chart small{font-size:12px}.year-table .panel-head{padding-bottom:10px}.protected{font-size:12px}.gate{align-items:center}.budget-overview{display:block}}

/* Dunkles Erscheinungsbild – Version 1.0.1 */
:root{color-scheme:dark}body{background:#0e1420;color:#e7edf8}aside,header,.panel,.stat,.login-card,.dialog{background:#171f2e;border-color:#2b364a}.brand{color:#f0f4fd}.brand-dot{color:#85a3ff}.workspace{border-color:#303c52;background:#1c2739}.workspace small,.profile small{color:#a8b5cb}.workspace>svg{color:#a8b7cf}.avatar{background:#293a5d;color:#b7cbff}.nav-label{color:#9eacc4}nav button{color:#b1bfd4}nav button:hover{background:#202d43}nav button.active{background:#273a61;color:#aec4ff}.nav-dot{background:#99b6ff}.secure-card{background:#1d293c;border-color:#2b3b54;color:#a6c0ff}.secure-card strong{color:#d1dcef}.secure-card p{color:#a9b7ce}.profile{border-color:#2b364a;color:#e1e9f7}.profile>svg{color:#a5b6d2}header{color:#a8b5cc}header b{color:#e0e8f6}.crumb{color:#6e7d97}.protected{color:#b5c2d8}.protected svg{color:#a5b8db}.eyebrow{color:#a0b2d5}.page-heading p{color:#abb8ce}.primary{background:#496ce2;border-color:#496ce2;color:#fff}.primary:hover{background:#5b7cf0}.period{background:#1a2435;border-color:#303e56}.period button{color:#b5c6e4}.period input{color:#e2eafa}.source{color:#a8b7cf}.stat>div{color:#b6c4da}.stat-icon{background:#263750;color:#b6ceff}.green{background:#163b35!important;color:#79dfba!important}.red{background:#472c38;color:#f3b1bd}.stat small{color:#afbdd2}.positive{color:#72d8b3}.negative{color:#ffadba}.stat.balance{background:#344fa5;border-color:#4968bf}.balance>div,.balance small{color:#dce6ff}.panel-head p{color:#a6b6d0}.tag{border-color:#34435f;color:#b8c8e5;background:#202c40}.donut>div{background:#171f2e}.donut small,.donut span{color:#acbbd4}.donut strong{color:#eef3ff}.legend>div{color:#bcc9df}.legend b{color:#e2eafa}.budget-amount span{color:#afbed6}.progress{background:#2c3952}.progress span{background:#86a5ff}.budget-detail{color:#b6c4dc}.hint{color:#aabbd5}.secondary{background:#202d42;border-color:#3b4b67;color:#d6e3fc}.secondary:hover{background:#2b3d5b}.text-button{color:#adc7ff}.count{background:#293a58;color:#c5d7f7}.search{background:#121c2d;border-color:#35435b;color:#a3b8dc}.search input{color:#e8effc}input::placeholder{color:#9caec9}select{background:#18263b;border-color:#354862;color:#d1dff4}thead{background:#1f2c42;color:#afbfdb}td{border-color:#2b374b;color:#bbc9e0}td b{color:#e5edfa}.transaction-icon{background:#26344c;color:#bfd1f0}.category-tag{background:#24334c;border-color:#354660;color:#c6d7f2}.amount{color:#e1ebfb}.amount.positive{color:#72d8b3}.muted{color:#a6b6d0}.icon-button{color:#b0c3e1}.icon-button:hover{background:#2a3d5e}.table-footer{color:#adbed9}.pagination button{background:#202e45;border-color:#3b4c69;color:#d7e5fd}.empty{color:#acbdd7}footer{color:#a7bad8}.chart-key{color:#b2c4e1}.bar-chart button{color:#b9cae4}.gate{background:#0e1420e8}.login-card{box-shadow:0 20px 90px #0005}.login-icon{background:#263b65;color:#b6ceff}.login-card p,.dialog p{color:#b8c6dd}.login-bottom{border-color:#334158;color:#a9bddb}form label{color:#c0cee3}form input,form select{background:#101b2d;border-color:#3c4d6b;color:#edf3ff;outline-color:#91afff}.secret{background:#101a2a;border-color:#3b4e6d;color:#dce9ff}.error{color:#ffc1cc;background:#412331;border-color:#784050}.notice{color:#a1f0ce;background:#183c35}.overlay{background:#050a14bb}.dialog{box-shadow:0 20px 90px #0008}.close{color:#b6c7e4}.danger{background:#442736;border-color:#754155;color:#ffc0ce}.split{background:#111c2e}.recovery{background:#101b2e;color:#dce9ff}button:focus-visible,a:focus-visible{outline-color:#a6c0ff}
/* Buchungssuche */
.filters{align-items:center;flex-wrap:wrap}.filters .search{max-width:420px;min-width:220px}.search input[type=search]::-webkit-search-cancel-button{display:none}.clear-search{background:none;border:0;color:#b8cbee;padding:0;flex-shrink:0}.search-scope{display:flex;align-items:center;gap:8px;font-size:14px;color:#bdcde7;cursor:pointer}.search-scope input{accent-color:#86a5ff;width:15px;height:15px}.search-summary{padding:0 23px 17px;color:#bbd0f5;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.search:focus-within{border-color:#91afff;box-shadow:0 0 0 2px #91afff24}@media(max-width:760px){nav button{padding:10px 7px;font-size:12px}nav button svg{width:14px}.filters .search{min-width:0;max-width:none;flex:1 1 100%;padding:12px}.search input{font-size:15px}.search-scope{font-size:12px}.search-summary{padding:0 16px 16px}}
/* Monatsvergleich 2.1 */
.monthly-panel{margin-bottom:24px}.monthly-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:23px 23px 7px}.monthly-toolbar>span{font-size:12px;color:#a9bcd8}.monthly-legend{display:flex;gap:8px;flex-wrap:wrap}.monthly-legend button{border:1px solid #344661;border-radius:6px;background:#172337;padding:7px 10px;color:#9bb0cf;font-size:12px;opacity:.6}.monthly-legend button.selected{background:#253752;color:#e6efff;opacity:1}.monthly-legend i{width:8px;height:8px;border-radius:50%}.monthly-plot{width:100%;overflow-x:auto;padding:0 10px}.monthly-plot svg{display:block;width:100%;min-width:580px;height:auto}.monthly-plot rect{cursor:pointer}.month-inspector{margin:0 23px;padding:17px 0;border-top:1px solid #2d3b53;border-bottom:1px solid #2d3b53;display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap}.month-inspector-nav{display:flex;align-items:center;gap:5px}.month-values{display:flex;gap:25px}.month-values>div{display:flex;flex-direction:column;gap:6px}.month-values small{font-size:12px;color:#b3c3db}.month-values strong{font-size:19px;letter-spacing:-.2px}.monthly-note{font-size:12px;color:#a6bad7;line-height:1.7;margin:15px 23px 22px}.monthly-table summary{padding:16px 23px;border-top:1px solid #2b3a51;cursor:pointer;font-size:14px;color:#b9d0f5}.monthly-table summary:hover{background:#21314b}.monthly-table td small{font-size:12px}@media(max-width:760px){.monthly-toolbar{padding:18px 15px 6px;align-items:flex-start;flex-direction:column;gap:10px}.monthly-plot{padding:0}.month-inspector{margin:0 15px;gap:16px}.month-inspector-nav{justify-content:center;flex:1 1 100%}.month-values{gap:16px;justify-content:space-between;width:100%}.month-values strong{font-size:18px}.month-inspector>.secondary{width:100%}.monthly-note{margin:15px}.monthly-table summary{padding:16px}.monthly-panel .panel-head{align-items:flex-start}.monthly-panel .panel-head select{max-width:110px}}
/* Monats- und Jahresbudget nebeneinander */
.overview-grid{grid-template-columns:1fr}.overview-grid>.panel .category-viz{justify-content:center;gap:70px}.overview-grid>.panel .legend{max-width:360px}.budget-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.budget-pair .budget-overview{display:flex;flex-direction:column}.budget-pair .hint{flex:1}.annual-budget .progress span{background:#72d8b3}.annual-budget .stat-icon{background:#173e36;color:#9ce7cb}@media(max-width:760px){.budget-pair{grid-template-columns:1fr;gap:18px}.overview-grid>.panel .category-viz{gap:22px}}
.salary-panel{margin-bottom:24px}.salary-panel .month-values{width:auto}.salary-panel .month-inspector>select{font-size:15px}@media(max-width:760px){nav{flex-wrap:wrap;overflow:visible}nav button{flex:1 1 29%}.salary-panel .month-values{width:100%}.salary-panel .month-inspector>select{width:100%}}

/* Größere Schrift – 2.4 */
body{line-height:1.55}nav button{line-height:1.4}th,td{line-height:1.5}.brand{white-space:nowrap;font-size:21px}.brand-icon{flex-shrink:0}.workspace{gap:8px}.workspace small,.profile small{line-height:1.5}.legend>div{flex-wrap:wrap}.legend b{white-space:nowrap}.stat h2{overflow-wrap:anywhere}.filters{gap:12px}.filters .search{max-width:480px}.monthly-plot svg{min-width:1000px}.salary-panel .month-values,.month-values{flex-wrap:wrap}.form-grid{gap:14px}.panel-head{flex-wrap:wrap}.stat{min-width:0}.login-card{width:520px}.dialog{width:540px}form input,form select{font-size:16px}footer{flex-wrap:wrap;gap:12px}@media(max-width:1150px){.brand{font-size:18px}.category-viz{gap:30px}}@media(max-width:760px){.brand{font-size:23px}.stats{grid-template-columns:1fr}.stat h2{font-size:29px}.stat>div{font-size:15px}.stat small{font-size:13px}.category-viz{flex-direction:column}.overview-grid>.panel .legend{width:100%;max-width:100%}.legend>div,.legend b{font-size:14px}.donut{width:180px;height:180px}.donut strong{font-size:23px}.donut small,.donut span{font-size:12px}.page-heading p{max-width:none}.page-heading{gap:8px}.table-wrap table{min-width:650px}.monthly-table table{min-width:580px}.dialog{width:100%}.login-card{max-width:100%;padding:25px}.login-card h2{font-size:28px}nav button{font-size:14px;padding:12px 9px}.month-values strong{font-size:18px}.year-table table{min-width:600px}.recovery{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.search-scope{font-size:13px}.monthly-note{font-size:13px}}
.salary-averages .table-wrap{margin-top:24px}.salary-averages table{white-space:normal;min-width:680px}.salary-averages th,.salary-averages td{padding-top:18px;padding-bottom:18px}.salary-averages td:nth-child(3){width:40%;min-width:240px}.salary-average-value{color:#e9f1ff;font-size:18px;font-weight:700;margin-bottom:9px;font-variant-numeric:tabular-nums}.salary-average-track{height:13px;background:#293851;border-radius:7px;overflow:hidden;width:100%}.salary-average-track span{display:block;height:100%;border-radius:7px}.salary-difference-percent{display:block;margin-top:5px;font-size:14px}.baseline-label{display:inline-block;margin-left:9px;background:#2b3d5d;color:#c8d9f8;border-radius:5px;padding:2px 6px;font-size:12px}.salary-averages td:last-child{font-size:17px;white-space:nowrap}.salary-averages td:last-child strong{color:inherit}
.salary-averages td:last-child{font-size:17px;white-space:nowrap}.salary-averages table{min-width:840px}.salary-averages td:nth-child(3){width:32%}
.annual-salary-plot{margin-top:25px}.salary-averages .annual-salary-plot+.table-wrap{margin-top:8px}
.annual-difference-legend{gap:18px}.annual-difference-legend>span{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#d2e0f7}.annual-difference-legend i{display:inline-block;flex-shrink:0;width:10px;height:10px;border-radius:3px}.salary-averages .annual-salary-plot{margin-top:8px}
.search-result-total{display:inline-flex;align-items:center;gap:7px;font-size:15px;color:#c6d6ef;white-space:nowrap;padding:8px 11px;border:1px solid #354862;border-radius:6px;background:#1a283e}.search-result-total strong{font-size:17px}@media(max-width:760px){.search-result-total{font-size:14px}.search-result-total strong{font-size:16px}}
/* Deutliche Monatsauswahl */
.period{padding:6px;border-radius:11px;border-color:#58709a;gap:6px}.period button{min-width:52px;min-height:52px;padding:11px;border-radius:8px;color:#dce8ff;background:#263a5d}.period button:hover{background:#365487}.period input{width:240px;min-height:52px;padding:10px 12px;font-size:21px;font-weight:700;color:#f0f5ff}.period-row{gap:18px;flex-wrap:wrap}.page-heading h1{line-height:1.3}@media(max-width:760px){.period-row{width:100%}.period{width:100%;gap:5px}.period input{flex:1;min-width:0;width:100%;font-size:20px;padding:8px 4px}.period button{min-width:50px;min-height:54px}.page-heading h1{font-size:28px}.page-heading>div{min-width:0}}
/* Diagramme automatisch an die verfügbare Breite anpassen */
main,.content,.panel,.overview-grid,.budget-pair{min-width:0}.monthly-plot{width:100%;max-width:100%;min-width:0;overflow-x:hidden;box-sizing:border-box}.monthly-plot svg{display:block;width:100%;max-width:100%;min-width:0!important;height:auto}.monthly-panel,.salary-averages,.salary-annual-totals{max-width:100%;min-width:0}.bar-chart{max-width:100%;min-width:0}.bar-chart button{min-width:0}@media(max-width:760px){.monthly-plot{padding-left:0;padding-right:0}.monthly-plot svg{width:100%;min-width:0!important;max-width:100%}.annual-difference-legend{gap:10px}.annual-difference-legend>span{font-size:12px}}
/* Diagramme als schließbare Querformatansicht */
.chart-zoom-trigger{position:relative;cursor:zoom-in;outline-offset:-3px}.chart-zoom-trigger:focus-visible{outline:3px solid #91afff}.chart-zoom-hint{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0 20px 12px;color:#a9c3ee;font-size:12px}.chart-landscape-dialog{position:fixed;top:50%;left:50%;margin:0;transform:translate(-50%,-50%);width:min(96vw,1500px);height:min(88dvh,54vw,840px);max-width:none;max-height:none;aspect-ratio:16/9;padding:0;border:1px solid #536c94;border-radius:14px;background:#111b2d;color:#e7efff;box-shadow:0 24px 100px #000b;overflow:hidden}.chart-landscape-dialog[open]{display:flex;flex-direction:column}.chart-landscape-dialog::backdrop{background:#030813d9;backdrop-filter:blur(4px)}.chart-landscape-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-bottom:1px solid #334967;flex-shrink:0}.chart-landscape-header strong{font-size:18px}.chart-landscape-header button{border:1px solid #667fa4;border-radius:8px;padding:10px 15px;min-height:46px;background:#273e60;color:#fff;font-size:16px;cursor:pointer}.chart-landscape-header button:hover{background:#3b5681}.chart-landscape-content{flex:1;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;padding:12px 20px;overflow:hidden}.chart-landscape-content>.monthly-plot{height:100%;width:100%;margin:0!important;display:flex;align-items:center;justify-content:center;overflow:hidden}.chart-landscape-content svg{width:100%;height:100%;min-width:0!important;max-height:100%;object-fit:contain}.chart-landscape-content>.bar-chart{width:100%;height:100%;padding-top:30px;padding-bottom:30px}.chart-landscape-content>.category-viz{width:100%;height:100%;justify-content:center;gap:8%;flex-direction:row}.chart-landscape-content .donut{width:min(35vw,340px);height:min(35vw,340px);padding:28px}.chart-landscape-content .donut strong{font-size:30px}.chart-landscape-content .legend{max-width:400px;font-size:16px;gap:18px}.chart-landscape-content .legend>div,.chart-landscape-content .legend b{font-size:16px}@media(max-width:760px) and (orientation:portrait){.chart-landscape-dialog{width:calc(100dvh - 24px);height:calc(100dvw - 24px);transform:translate(-50%,-50%) rotate(90deg);border-radius:10px}.chart-landscape-header{padding:8px 14px}.chart-landscape-header strong{font-size:15px}.chart-landscape-header button{padding:7px 12px;min-height:40px;font-size:14px}.chart-landscape-content{padding:4px 10px}.chart-landscape-content .donut{width:190px;height:190px;padding:20px}.chart-landscape-content .donut strong{font-size:22px}.chart-landscape-content .legend{gap:12px}.chart-landscape-content .legend>div,.chart-landscape-content .legend b{font-size:13px}}@media(max-height:550px) and (orientation:landscape){.chart-landscape-dialog{width:97vw;height:94dvh}.chart-landscape-header{padding:7px 12px}.chart-landscape-header strong{font-size:15px}.chart-landscape-header button{min-height:38px;padding:6px 12px}.chart-landscape-content{padding:3px 10px}}
.overview-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat.yearly-balance{background:#235b54;border-color:#39796e}.yearly-balance>div,.yearly-balance small{color:#d4f1e7}.overview-stats .stat{padding:20px 17px}.overview-stats .stat h2{font-size:30px}@media(max-width:1200px){.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.overview-stats{grid-template-columns:1fr}.overview-stats .stat h2{font-size:29px}}
.all-year-balances{margin-bottom:24px}.all-year-balances .table-wrap{margin-top:22px}.all-year-balances td,.all-year-balances th{font-size:15px}.all-year-balances td:last-child{font-size:18px}.all-year-balances .text-button{font-size:16px;font-weight:700}.selected-balance-year{background:#22344e}.all-year-balances strong{color:inherit}@media(max-width:760px){.all-year-balances table{min-width:600px}}
/* Jahressalden als rote Kacheln unter dem aktuellen Jahressaldo */
.annual-saldo-history{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 0 24px}.stat.annual-history-saldo,.stat.yearly-balance{background:#a73748;border-color:#c65364;color:#fff}.annual-history-saldo>div,.annual-history-saldo small,.yearly-balance>div,.yearly-balance small{color:#ffe2e7}.annual-history-saldo h2{color:#fff;font-size:30px}.annual-history-saldo{padding:20px 17px;min-width:0}@media(max-width:1200px){.annual-saldo-history{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.annual-saldo-history{grid-template-columns:1fr;gap:12px}.annual-history-saldo h2{font-size:29px}}
/* Mobile Kacheln flexibel auf die verfügbare Breite verteilen */
@media(max-width:760px){
.shell,main,.content{min-width:0;max-width:100%;box-sizing:border-box}
.stats,.overview-stats,.annual-saldo-history,.budget-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));width:100%;max-width:100%;min-width:0;gap:12px}
.stats>*,.overview-stats>*,.annual-saldo-history>*,.budget-pair>*{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.stat,.panel,.budget-overview,.annual-history-saldo,.yearly-balance{min-width:0;max-width:100%;box-sizing:border-box}
.stat h2,.stat small,.stat>div,.panel-head h3,.panel-head p,.budget-amount strong,.budget-detail b{overflow-wrap:anywhere;min-width:0}
.stat>div{gap:10px}.stat>div>svg,.stat-icon{flex-shrink:0}
.budget-amount{flex-wrap:wrap}.budget-detail{flex-wrap:wrap;gap:8px}.panel-head>div{min-width:0;max-width:100%}
.overview-grid{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
.month-inspector,.month-values{min-width:0;max-width:100%;box-sizing:border-box}.month-values{flex-wrap:wrap}.month-values>div{min-width:0;flex:1 1 120px}
.search-result-total{max-width:100%;white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere}
}
/* Aktueller Jahressaldo in Grün */
.stat.yearly-balance{background:#235b54;border-color:#39796e;color:#fff}.yearly-balance>div,.yearly-balance small{color:#d4f1e7}.yearly-balance h2{color:#fff}
/* Mobile Bildschirmbreite und mitlaufende Monatsauswahl */
@media(max-width:760px){
html,body{width:100%;max-width:100%;margin:0;overflow-x:clip}
.shell{display:block;width:100%;min-width:0;max-width:100%;overflow:visible}
aside,main,header,.content{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
aside{position:static}main{margin-left:0}header{gap:10px;padding-left:14px;padding-right:14px;flex-wrap:wrap;min-height:49px;height:auto;padding-top:10px;padding-bottom:10px}
.content{padding-left:12px;padding-right:12px;overflow:visible}
.page-heading{width:100%;max-width:100%;flex-wrap:wrap}.page-heading>div{flex:1 1 230px;max-width:100%;min-width:0}.page-heading h1{overflow-wrap:anywhere}.page-heading p{max-width:100%}
.period-row{position:sticky;top:0;z-index:8;width:100%;max-width:100%;margin:0 0 18px;padding:8px 0;background:#0e1420f5;backdrop-filter:blur(8px);box-shadow:0 6px 10px #0003;display:block;border-radius:0 0 10px 10px}
.period{width:100%;max-width:100%;min-width:0;box-sizing:border-box;display:flex}.period input{width:0;min-width:0;max-width:100%;flex:1 1 0;padding:8px 3px;font-size:18px}.period button{flex:0 0 46px;min-width:46px;min-height:50px;padding:9px}.period-row .source{display:none}
.stats,.overview-stats,.annual-saldo-history,.overview-grid,.budget-pair,.panel,.stat,.transactions{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.panel-head{padding-left:14px;padding-right:14px;gap:12px}.panel-head>div{min-width:0;max-width:100%;flex:1 1 180px}.panel-head select{max-width:100%}
.filters{padding-left:12px;padding-right:12px;max-width:100%;min-width:0;flex-wrap:wrap}.filters .search{width:100%;flex:1 1 100%;min-width:0;max-width:100%}.search input{width:0;flex:1 1 0;min-width:0}.filters select{min-width:0;max-width:100%;flex:1 1 150px}.search-scope{flex-wrap:wrap;max-width:100%}.search-result-total{max-width:100%;white-space:normal;flex-wrap:wrap}
.table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.table-footer{gap:12px;flex-wrap:wrap;max-width:100%}.pagination{max-width:100%;flex-wrap:wrap}
.budget-amount{margin:0;max-width:100%;padding-left:14px;padding-right:14px}.budget-detail{margin-left:14px;margin-right:14px;min-width:0}.budget-detail>*{overflow-wrap:anywhere}.hint{overflow-wrap:anywhere}.category-viz{width:100%;max-width:100%;box-sizing:border-box}.legend{width:100%;min-width:0;max-width:100%}
.monthly-toolbar,.monthly-legend,.annual-difference-legend,.month-inspector,.month-values{min-width:0;max-width:100%;box-sizing:border-box;flex-wrap:wrap}.monthly-toolbar>span{overflow-wrap:anywhere}.month-inspector>select{width:100%;max-width:100%;min-width:0}.month-values>div{overflow-wrap:anywhere;min-width:0}.chart-zoom-trigger,.monthly-plot,.bar-chart{min-width:0;max-width:100%;box-sizing:border-box}.monthly-plot svg{width:100%;min-width:0!important;max-width:100%}
footer{max-width:100%;gap:12px;flex-wrap:wrap}.overlay,.gate{width:100%;max-width:100%;padding:12px;box-sizing:border-box}.dialog,.login-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.dialog-actions{flex-wrap:wrap}.dialog-actions>*{max-width:100%}.secret{overflow-wrap:anywhere;max-width:100%}.budget-input{max-width:100%;flex-wrap:wrap}.budget-input input{min-width:0;max-width:100%;flex:1 1 100px}.split input{max-width:100%;min-width:0}
}
@media(max-width:360px){.content{padding-left:8px;padding-right:8px}.period button{flex-basis:40px;min-width:40px}.period input{font-size:16px}.page-heading h1{font-size:25px}}
/* Mobile Monatsauswahl mit Abstand zum oberen Bildschirmrand */
@media(max-width:760px){.period-row{top:calc(env(safe-area-inset-top,0px) + 64px)}}
/* Datumseingabe mit Kalenderblatt */
.date-field{position:relative;margin-bottom:16px;min-width:0}.date-field>label{margin-bottom:7px}.date-input-row{display:flex;gap:6px;align-items:stretch}.date-input-row input{margin-top:0;min-width:0;flex:1;width:0}.date-calendar-toggle{flex:0 0 46px;min-height:46px;border:1px solid #4e6691;border-radius:7px;background:#263e66;color:#d8e8ff}.date-calendar-toggle:hover{background:#385683}.date-calendar{position:absolute;top:100%;left:0;z-index:30;background:#152239;border:1px solid #5a75a1;border-radius:10px;padding:12px;margin-top:5px;width:330px;max-width:calc(100vw - 72px);box-shadow:0 14px 35px #0008}.date-calendar-head{display:flex;align-items:center;gap:4px;justify-content:space-between;margin-bottom:10px}.date-calendar-head strong{font-size:14px;text-align:center;flex:1}.date-calendar-head button{border:0;background:#243c61;color:#d6e7ff;min-width:30px;min-height:32px;border-radius:6px;padding:3px}.date-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.date-calendar-grid .weekday{text-align:center;color:#a6bbdc;font-size:12px;padding:5px 0}.date-calendar-grid button{aspect-ratio:1;border:1px solid transparent;border-radius:6px;background:#20324e;color:#e6efff;font-size:14px;padding:3px}.date-calendar-grid button:hover{background:#375889}.date-calendar-grid button.outside-month{color:#788da9;background:#19283f}.date-calendar-grid button.today{border-color:#78ddbc}.date-calendar-grid button.chosen{background:#436bd6;color:#fff;font-weight:700}.calendar-today{margin-top:12px;font-size:13px}@media(max-width:760px){.date-field{max-width:100%}.date-calendar{width:min(330px,calc(100vw - 72px))}}
/* Drei Salden in einer gemeinsamen Reihe */
.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.saldo-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;min-width:0;max-width:100%;margin-bottom:24px}.saldo-cards .stat{min-width:0;width:100%;padding:20px 17px}.saldo-cards .stat>div{gap:8px;align-items:flex-start;min-height:44px}.saldo-cards .stat>div>span{min-width:0;overflow-wrap:anywhere}.saldo-cards .stat>div>svg{flex-shrink:0}.saldo-cards .stat h2{font-size:clamp(20px,2.5vw,34px)}@media(max-width:760px){.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.saldo-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.saldo-cards .stat{padding:12px 7px;border-radius:8px}.saldo-cards .stat>div{font-size:12px;min-height:54px;line-height:1.4}.saldo-cards .stat>div>svg{display:none}.saldo-cards .stat h2{font-size:clamp(12px,3.65vw,24px);letter-spacing:-.4px;margin:10px 0;white-space:nowrap;overflow-wrap:normal}.saldo-cards .stat small{font-size:11px;line-height:1.5;overflow-wrap:normal}.overview-stats .stat h2{font-size:clamp(19px,5vw,29px)}}
.budget-total-row{background:#243752;border-top:2px solid #6684b5}.budget-total-row th,.budget-total-row td{font-size:16px;padding:18px 15px;border-bottom:0;font-weight:700}.budget-total-row th{padding-left:23px;color:#edf4ff;letter-spacing:0}.budget-total-row strong{color:inherit}

.saldo-month-count{display:block;margin-top:5px;color:#ffe2e7;font-size:13px;font-weight:400;line-height:1.4}

.saldo-month-count{display:inline;margin-top:0;margin-left:4px}
.budget-comparison{margin-bottom:24px}.budget-chart-summary{display:flex;flex-wrap:wrap;gap:12px 28px;padding:22px 23px 0;color:#b9cce8;font-size:15px}.budget-chart-summary strong{font-size:18px;color:#e3efff}.budget-chart-summary strong.negative{color:#ffadba}.budget-chart-summary strong.positive{color:#72d8b3}.budget-chart-legend{display:flex;flex-wrap:wrap;gap:18px}.budget-chart-legend>span{display:inline-flex;align-items:center;gap:7px;color:#c8d9f1;font-size:13px}.budget-chart-legend i{display:inline-block;width:10px;height:10px;border-radius:3px}@media(max-width:760px){.budget-chart-summary{padding:18px 14px 0;gap:10px 18px;font-size:13px}.budget-chart-summary strong{font-size:16px}.budget-chart-legend{gap:10px}.budget-chart-legend>span{font-size:12px}}
