/* G8 2.5.12: 3 consecutive stylesheets, source order preserved. */

/* BEGIN shared/flow/seto-flow-tokens.css */

:root{
--flow-bg:#EEF3F3;--flow-surface:#FFFFFF;--flow-surface-2:#F5F8F8;--flow-line:#C9D6D8;--flow-line-strong:#768D95;
--flow-ink:#0F2E3A;--flow-ink-2:#45606A;--flow-petrol:#0F4C5C;--flow-on-petrol:#FFFFFF;
--flow-magenta:#A3206F;--flow-on-magenta:#FFFFFF;--flow-teal:#0F6E6A;--flow-slate:#6A7E86;
--flow-plus:#18724A;--flow-minus:#B03A22;--flow-warn:#875800;--flow-focus:#A3206F;
--flow-shadow-float:0 12px 32px rgb(15 46 58 / .16);--flow-shadow-balance:0 6px 24px rgb(15 76 92 / .10);
--flow-s1:4px;--flow-s2:8px;--flow-s3:12px;--flow-s4:16px;--flow-s5:24px;--flow-s6:32px;--flow-s7:48px;--flow-s8:64px;
--flow-r-field:8px;--flow-r-button:10px;--flow-r-surface:14px;--flow-r-balance:22px;--flow-r-pill:999px;
--flow-ease:cubic-bezier(.2,.7,.2,1);--flow-t-fast:120ms;--flow-t-num:220ms;--flow-t-sheet:280ms;
--flow-font:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
--flow-page-max:1200px;--flow-measure:68ch;--flow-control-col:420px;--flow-hit:44px;

--flow-cal-ts-fg:#7A4F00;--flow-cal-ts-bg:#FBEFD5;
--flow-cal-ns-fg:#2F3E8F;--flow-cal-ns-bg:#E3E7F8;
--flow-cal-u-fg:#0F6E6A;--flow-cal-u-bg:#DDF1EE;
--flow-cal-fs-fg:#0F4C5C;--flow-cal-fs-bg:#DCEBEE;
--flow-cal-kr-fg:#A3341D;--flow-cal-kr-bg:#F8E1DB;
--flow-cal-st-fg:#6B3FA0;--flow-cal-st-bg:#ECE3F6;
--flow-cal-afz-fg:#3F5560;--flow-cal-afz-bg:#E4EAEC;
--flow-cal-zt-fg:#4F5E14;--flow-cal-zt-bg:#EDF1D9;
--flow-cal-su-fg:#7A4B12;--flow-cal-su-bg:#F3E6D6;
--flow-cal-bu-fg:#7A4B12;--flow-cal-bu-bg:#F3E6D6;
--flow-cal-gt-fg:#1F6B3A;--flow-cal-gt-bg:#DFF0E4;
color-scheme:light;
}
:root[data-theme="dark"]{
--flow-bg:#0A1A21;--flow-surface:#10252E;--flow-surface-2:#163039;--flow-line:#2A4A55;--flow-line-strong:#5E808A;
--flow-ink:#E6EFF0;--flow-ink-2:#9DB4BA;--flow-petrol:#6CC0D0;--flow-on-petrol:#06232B;
--flow-magenta:#F07AC0;--flow-on-magenta:#2A0620;--flow-teal:#4CC7B9;--flow-slate:#8CA0A7;
--flow-plus:#5DD39A;--flow-minus:#FF8A70;--flow-warn:#F2B84B;--flow-focus:#F07AC0;
--flow-shadow-float:0 12px 32px rgb(0 0 0 / .45);--flow-shadow-balance:0 6px 24px rgb(0 0 0 / .35);

--flow-cal-ts-fg:#F2C46B;--flow-cal-ts-bg:#3A2E12;
--flow-cal-ns-fg:#AEB9F2;--flow-cal-ns-bg:#1E2550;
--flow-cal-u-fg:#6FD9CC;--flow-cal-u-bg:#0F3A38;
--flow-cal-fs-fg:#8FD3E0;--flow-cal-fs-bg:#123A45;
--flow-cal-kr-fg:#FF9F88;--flow-cal-kr-bg:#45201A;
--flow-cal-st-fg:#CDB2F0;--flow-cal-st-bg:#2F2147;
--flow-cal-afz-fg:#B7C7CE;--flow-cal-afz-bg:#25343A;
--flow-cal-zt-fg:#C9DA86;--flow-cal-zt-bg:#2D3512;
--flow-cal-su-fg:#E9BE8A;--flow-cal-su-bg:#3B2A16;
--flow-cal-bu-fg:#E9BE8A;--flow-cal-bu-bg:#3B2A16;
--flow-cal-gt-fg:#8EDDA8;--flow-cal-gt-bg:#16351F;
color-scheme:dark;
}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){
--flow-bg:#0A1A21;--flow-surface:#10252E;--flow-surface-2:#163039;--flow-line:#2A4A55;--flow-line-strong:#5E808A;
--flow-ink:#E6EFF0;--flow-ink-2:#9DB4BA;--flow-petrol:#6CC0D0;--flow-on-petrol:#06232B;
--flow-magenta:#F07AC0;--flow-on-magenta:#2A0620;--flow-teal:#4CC7B9;--flow-slate:#8CA0A7;
--flow-plus:#5DD39A;--flow-minus:#FF8A70;--flow-warn:#F2B84B;--flow-focus:#F07AC0;
--flow-shadow-float:0 12px 32px rgb(0 0 0 / .45);--flow-shadow-balance:0 6px 24px rgb(0 0 0 / .35);color-scheme:dark}}
@media(prefers-reduced-motion:reduce){:root{--flow-t-fast:0ms;--flow-t-num:0ms;--flow-t-sheet:0ms}}

/* END shared/flow/seto-flow-tokens.css */

/* BEGIN shared/flow/seto-flow.css */
/* SETO Flow controls: all appearance values derived from --flow-* tokens. */
.flow-page{background:var(--flow-bg);color:var(--flow-ink);font:400 16px/1.55 var(--flow-font);min-height:100vh;overflow-x:clip}
.flow-page *{box-sizing:border-box}
.flow-page h1,.flow-page h2,.flow-page h3{font-family:var(--flow-font);color:var(--flow-ink);line-height:1.2;margin:0 0 var(--flow-s3)}
.flow-page h1{font-size:clamp(26px,3vw,32px);font-weight:650}
.flow-page h2{font-size:clamp(20px,2.3vw,24px);font-weight:620}
.flow-page h3{font-size:18px;font-weight:600}
.flow-page p{max-width:var(--flow-measure);margin:0 0 var(--flow-s4)}
.flow-page a{color:var(--flow-petrol);text-decoration-thickness:1px;text-underline-offset:3px}
.flow-page :is(a,button,input,select,summary,[role="radio"],[role="switch"]):focus-visible{outline:3px solid var(--flow-focus);outline-offset:3px}
.flow-page :is(button,input,select,textarea){font:inherit;color:inherit}
.flow-page [hidden]{display:none}
.flow-container{max-width:var(--flow-page-max);margin:0 auto;padding:var(--flow-s7) var(--flow-s6) 110px}
.flow-lead{font-size:18px;line-height:1.5;color:var(--flow-ink-2)}
.flow-section{border-top:1px solid var(--flow-line);padding:var(--flow-s7) 0}
.flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--flow-s4)}
.flow-question{border:1px solid var(--flow-line-strong);border-radius:var(--flow-r-surface);padding:var(--flow-s5);background:var(--flow-surface);text-decoration:none;display:block;min-height:108px;transition:border-color var(--flow-t-fast)}
.flow-question:hover{border-color:var(--flow-petrol)}
.flow-question h3{margin:0 0 var(--flow-s2)}
.flow-question small{display:block;color:var(--flow-ink-2);font-size:14px}
.flow-btn{border:1px solid var(--flow-line-strong);border-radius:var(--flow-r-button);min-height:var(--flow-hit);padding:9px 16px;background:var(--flow-surface);color:var(--flow-ink);cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--flow-s2)}
.flow-btn--primary{background:var(--flow-petrol);border-color:var(--flow-petrol);color:var(--flow-on-petrol)}
.flow-btn--quiet{background:transparent}
.flow-btn:disabled{opacity:.5;cursor:not-allowed}
.flow-field{display:grid;gap:var(--flow-s2);margin:0 0 var(--flow-s4);max-width:var(--flow-control-col)}
.flow-label{display:block;font-size:14px;font-weight:560}
.flow-field input:not([type="range"]),.flow-field select{width:100%;min-height:var(--flow-hit);padding:9px 12px;border:1px solid var(--flow-line-strong);border-radius:var(--flow-r-field);background:var(--flow-surface);color:var(--flow-ink)}
.flow-field small{color:var(--flow-ink-2)}
.flow-slider{--flow-position:50%;display:grid;gap:var(--flow-s2);max-width:var(--flow-control-col)}
.flow-slider-top{display:flex;justify-content:space-between;align-items:center;gap:var(--flow-s3)}
.flow-range-wrap{position:relative;min-height:44px}.flow-range-track{position:absolute;left:0;right:0;top:19px;height:6px;border-radius:4px;background:var(--flow-slate);pointer-events:none}.flow-range-active{height:100%;width:var(--flow-position);border-radius:4px;background:var(--flow-magenta)}
.flow-slider input[type="range"]{position:relative;appearance:none;-webkit-appearance:none;width:100%;height:44px;margin:0;cursor:pointer;background:transparent;touch-action:pan-y}
.flow-slider input[type="range"]::-webkit-slider-runnable-track{height:6px;border-radius:4px;background:transparent}
.flow-slider input[type="range"]::-moz-range-track{height:6px;border-radius:4px;background:transparent}
.flow-slider input[type="range"]::-moz-range-progress{height:6px;border-radius:4px;background:transparent}
.flow-slider input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;border:3px solid var(--flow-surface);width:28px;height:28px;border-radius:50%;background:var(--flow-magenta);box-shadow:0 0 0 2px var(--flow-magenta);margin-top:-11px}
.flow-slider input[type="range"]::-moz-range-thumb{border:3px solid var(--flow-surface);width:24px;height:24px;border-radius:50%;background:var(--flow-magenta);box-shadow:0 0 0 2px var(--flow-magenta)}
.flow-slider-scale{display:flex;justify-content:space-between;font-size:13px;color:var(--flow-ink-2)}
.flow-number{display:flex;align-items:center;max-width:var(--flow-control-col)}
.flow-number input{flex:1;min-width:0;text-align:center}
.flow-number .flow-btn{flex:0 0 var(--flow-hit);padding:0}
.flow-segment{display:flex;flex-wrap:wrap;gap:var(--flow-s1)}
.flow-segment [role="radio"]{min-height:44px;padding:9px 12px;border:1px solid var(--flow-line-strong);background:var(--flow-surface);border-radius:var(--flow-r-field);cursor:pointer}
.flow-segment [aria-checked="true"]{background:var(--flow-petrol);border-color:var(--flow-petrol);color:var(--flow-on-petrol)}
.flow-chips{display:flex;flex-wrap:wrap;gap:var(--flow-s2)}
.flow-chip{min-height:44px;padding:8px 14px;border:1px solid var(--flow-line-strong);background:var(--flow-surface);border-radius:var(--flow-r-pill);cursor:pointer}
.flow-chip[aria-pressed="true"]{border-color:var(--flow-petrol);color:var(--flow-petrol);font-weight:600}
.flow-switch{display:inline-flex;align-items:center;gap:var(--flow-s3);min-height:44px;border:0;background:transparent;cursor:pointer}
.flow-switch-track{width:46px;height:26px;border:1px solid var(--flow-line-strong);border-radius:var(--flow-r-pill);background:var(--flow-slate);position:relative}
.flow-switch-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:var(--flow-surface);border-radius:50%;transition:translate var(--flow-t-fast)}
.flow-switch[aria-checked="true"] .flow-switch-track{background:var(--flow-petrol)}
.flow-switch[aria-checked="true"] .flow-switch-track:after{translate:19px}
.flow-balance{padding:var(--flow-s6);border:1px solid var(--flow-line);border-radius:var(--flow-r-balance);background:var(--flow-surface);box-shadow:var(--flow-shadow-balance)}
.flow-balance-lead{font-size:clamp(18px,2vw,22px);line-height:1.45;font-weight:550;max-width:60ch}
.flow-balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--flow-s5)}
.flow-balance-value{font-size:clamp(28px,4vw,44px);font-weight:700;font-variant-numeric:tabular-nums}
.flow-balance-time{color:var(--flow-teal)}
.flow-result-bar{position:sticky;top:0;z-index:10;background:var(--flow-surface);box-shadow:var(--flow-shadow-float);padding:8px 16px;min-height:56px}
.flow-compare-bars>div{margin:12px 0}
.flow-compare-bars meter{display:block;width:100%;height:14px;accent-color:var(--flow-petrol)}
.flow-reasons{list-style:none;padding:0;margin:0}
.flow-reasons li{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--flow-line)}
.flow-badge{display:inline-block;padding:1px 9px;border:1px solid var(--flow-slate);border-radius:var(--flow-r-pill);font-size:12px;line-height:20px;color:var(--flow-ink-2)}
.flow-badge[data-kind="ist"]{border-color:var(--flow-petrol);color:var(--flow-petrol)}
.flow-badge[data-kind="annahme"],.flow-badge[data-kind="entwurf"]{border-color:var(--flow-warn);color:var(--flow-warn)}
.flow-badge[data-kind="offen"]{border-color:var(--flow-minus);color:var(--flow-minus)}
.flow-more{padding:var(--flow-s3);background:var(--flow-surface-2);border-radius:var(--flow-r-surface)}
.flow-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.flow-insight{border-left:3px solid var(--flow-petrol);padding:var(--flow-s3) var(--flow-s4)}
.flow-yearband{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:3px;min-height:100px;align-items:end}
.flow-yearband button{min-width:0;padding:4px 0;min-height:44px;border:1px solid var(--flow-line-strong);border-radius:3px 3px 0 0;background:var(--flow-slate);cursor:pointer;color:var(--flow-on-petrol);font-size:11px}
.flow-yearband button[aria-checked="true"]{background:var(--flow-petrol)}
.flow-kpi{padding:var(--flow-s4);background:var(--flow-surface-2);border-radius:var(--flow-r-surface)}
.flow-kpi strong{display:block;font-size:clamp(24px,3vw,36px);font-variant-numeric:tabular-nums}
.flow-delta[data-direction="plus"]{color:var(--flow-plus)}
.flow-delta[data-direction="minus"]{color:var(--flow-minus)}
.flow-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--flow-line);border-radius:var(--flow-r-surface)}
.flow-table{border-collapse:collapse;min-width:100%;font-size:14px;font-variant-numeric:tabular-nums}
.flow-table :is(th,td){padding:9px 12px;border-bottom:1px solid var(--flow-line);white-space:nowrap}
.flow-table th{position:sticky;top:0;text-align:left;background:var(--flow-surface-2)}
.flow-table td[data-number]{text-align:right}
.flow-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--flow-line)}
.flow-tabs [role="tab"]{min-height:44px;padding:9px 14px;border:0;border-bottom:3px solid transparent;background:transparent;cursor:pointer}
.flow-tabs [aria-selected="true"]{border-bottom-color:var(--flow-petrol);font-weight:600}
.flow-note{border-left:3px solid var(--flow-warn);padding:var(--flow-s3) var(--flow-s4);background:var(--flow-surface-2)}
.flow-subnav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.flow-subnav a{min-height:44px;text-align:center;padding:10px 3px;border:1px solid var(--flow-line-strong);border-radius:var(--flow-r-field)}
.flow-subnav [aria-current="page"]{background:var(--flow-petrol);color:var(--flow-on-petrol)}
.flow-state{padding:var(--flow-s5);border:1px solid var(--flow-line);border-radius:var(--flow-r-surface)}
.flow-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
@media(max-width:600px){.flow-container{padding:24px 16px 116px}.flow-balance{padding:20px}.flow-balance-grid{gap:12px}.flow-balance-value{font-size:26px}.flow-subnav{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-chips{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity}.flow-chip{flex:none;scroll-snap-align:start}}

/* G1: responsive Flow vocabulary and synchronously loaded shell clearance. */
:root{--seto-v2-top-h:64px;--seto-v2-tabs-h:52px}
html{scroll-padding-top:calc(var(--seto-v2-top-h) + var(--seto-v2-tabs-h) + 20px)}
.seto-v2-skip-link{position:fixed;left:-9999px;top:0;z-index:20000}
.seto-v2-skip-link:focus{left:12px;top:12px;background:var(--flow-surface);padding:10px 16px;border:2px solid var(--flow-focus);color:var(--flow-ink)}
.flow-pagehead{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:24px 0}
.flow-pagehead-actions{display:flex;gap:8px;flex-wrap:wrap}
.flow-sidenav{display:grid;gap:4px;padding:12px;border:1px solid var(--flow-line);border-radius:var(--flow-r-surface);background:var(--flow-surface)}
.flow-sidenav-link{display:flex;align-items:center;min-height:44px;padding:8px 12px;text-decoration:none;border-radius:var(--flow-r-field)}
.flow-sidenav-link[aria-current="page"]{color:var(--flow-petrol);background:var(--flow-surface-2);border-left:3px solid var(--flow-petrol)}
.flow-fieldset{border:0;border-top:1px solid var(--flow-line);margin:16px 0;padding:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.flow-fieldset legend{padding:0 12px 0 0;color:var(--flow-ink);font-weight:700;font-size:18px}
.flow-field[data-changed="true"]{border-left:3px solid var(--flow-magenta);padding-left:10px}
.flow-error{color:var(--flow-minus)}
.flow-savebar{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:16px 0;border-top:1px solid var(--flow-line)}
.flow-savebar>span{margin-right:auto;color:var(--flow-ink-2)}
.flow-statusbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:0;border:1px solid var(--flow-line);border-radius:var(--flow-r-surface);overflow:hidden}
.flow-statusbar-item{padding:16px;display:grid;gap:3px;border-right:1px solid var(--flow-line)}
.flow-statusbar-item span{font-size:13px;color:var(--flow-ink-2)}
.flow-statusbar-item strong{font-size:17px;font-variant-numeric:tabular-nums}
.flow-task-row{display:flex;gap:16px;align-items:center;justify-content:space-between;min-height:76px;border-bottom:1px solid var(--flow-line);padding:12px 0}
.flow-task-row p{color:var(--flow-ink-2);font-size:13px;margin:3px 0 0}
.flow-docsheet-head{border-bottom:1px solid var(--flow-line);padding:0 0 16px;margin-bottom:16px}
.flow-filterbar{display:grid;gap:6px}.flow-filterbar input{border:1px solid var(--flow-line-strong);border-radius:var(--flow-r-field);padding:9px 12px;min-height:44px;background:var(--flow-surface);color:var(--flow-ink)}
.flow-rowcards{display:grid;gap:12px}.flow-rowcard{padding:16px;border:1px solid var(--flow-line);border-radius:var(--flow-r-surface);background:var(--flow-surface)}
.flow-rowcard>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0}.flow-rowcard span{color:var(--flow-ink-2)}
.flow-steps{display:flex;flex-wrap:wrap;gap:16px;padding:0;list-style:none}.flow-steps li{padding:8px 12px;border-bottom:2px solid var(--flow-line);color:var(--flow-ink-2)}.flow-steps [aria-current="step"]{border-color:var(--flow-petrol);color:var(--flow-ink);font-weight:700}
@media(max-width:760px){.flow-pagehead,.flow-task-row{align-items:stretch;flex-direction:column}.flow-fieldset{grid-template-columns:1fr}.flow-savebar{flex-wrap:wrap}.flow-savebar>span{width:100%}}

/* END shared/flow/seto-flow.css */

/* BEGIN analyse/flow-simulation.css */
.flow-sim-hero{padding:24px 0 18px}.flow-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;color:var(--flow-teal)}
.flow-fine{font-size:14px;color:var(--flow-ink-2)}.flow-recent{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--flow-line);padding:12px 16px;border-radius:var(--flow-r-surface);background:var(--flow-surface)}
.flow-sim-breadcrumb{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.flow-sim-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}
.flow-sim-columns{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:24px;align-items:start}.flow-sim-control{background:var(--flow-surface);border:1px solid var(--flow-line);border-radius:var(--flow-r-surface);padding:22px}.flow-sim-output{min-width:0;position:sticky;top:132px}
.flow-sim-actions{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 0}.flow-sim-control .flow-field{max-width:none}.flow-sim-control input[type=range]{width:100%;accent-color:var(--flow-magenta)}
.flow-control-row{margin:0 0 18px}.flow-control-row label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.flow-control-row input:not([type=range]),.flow-control-row select{width:100%;min-height:44px;background:var(--flow-surface);color:var(--flow-ink);border:1px solid var(--flow-line-strong);border-radius:8px;padding:8px 12px}
.flow-control-row input[type=checkbox]{width:auto}.flow-control-row small{display:block;color:var(--flow-ink-2);margin-top:3px}.flow-control-inline{display:flex;gap:10px;align-items:center}.flow-control-inline input[type=range]{flex:1;min-width:0}.flow-control-inline input[type=number]{max-width:100px}.flow-control-inline output{min-width:48px;font-weight:600}
.flow-sim-output .flow-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-sim-output .flow-balance{min-height:170px}.flow-result-panels{margin:18px 0;background:var(--flow-surface);padding:20px;border:1px solid var(--flow-line);border-radius:var(--flow-r-surface)}
.flow-result-panels h3{margin:4px 0 12px}.flow-result-panels dl{display:grid;grid-template-columns:1fr auto;gap:8px 14px;margin:0}.flow-result-panels dt{color:var(--flow-ink-2)}.flow-result-panels dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.flow-result-panels .flow-table-scroll{margin-top:12px}
.flow-sim-footer{border-top:1px solid var(--flow-line);padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--flow-ink-2);font-size:13px}
.flow-result-loading{display:flex;gap:10px;align-items:center}.flow-error{color:var(--flow-minus);font-weight:600}.flow-sim-control .flow-more{margin:12px 0}.flow-fieldset{border:0;border-top:1px solid var(--flow-line);padding:18px 0 0;margin:16px 0 0;min-width:0}.flow-fieldset legend{font-weight:700;padding:0 8px 0 0}
.flow-sim-balance-caption{font-size:13px;color:var(--flow-ink-2)}.flow-sim-output .flow-balance-value{overflow-wrap:anywhere}.flow-sim-control button{cursor:pointer}
@media(max-width:850px){.flow-sim-columns{display:flex;flex-direction:column}.flow-sim-output{order:-1;position:static;width:100%}.flow-sim-control{width:100%}.flow-sim-output .flow-balance{min-height:0}}
@media(max-width:600px){.flow-sim-hero{padding:12px 0 8px}.flow-sim-output .flow-balance-grid{gap:8px}.flow-sim-output .flow-balance-value{font-size:24px}.flow-question{min-height:64px;padding:14px 16px}.flow-question h3{margin:0 0 3px}.flow-sim-footer{align-items:flex-start;flex-direction:column}}

.flow-sim-pinbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 20px}
.flow-recent .flow-chips{flex:1;min-width:180px}

.flow-chart-axis{display:flex;justify-content:space-between;font-size:13px;color:var(--flow-ink-2)}.flow-result-panels svg{display:block;width:100%;height:auto;max-height:280px;color:var(--flow-ink)}.flow-result-panels summary{cursor:pointer;padding:10px 0;color:var(--flow-petrol)}.flow-result-panels .flow-table-scroll{overflow-x:auto}.flow-result-panels table{width:100%;border-collapse:collapse;font-size:14px}.flow-result-panels td,.flow-result-panels th{padding:8px;border-bottom:1px solid var(--flow-line);text-align:right;white-space:nowrap}.flow-result-panels td:first-child,.flow-result-panels th:first-child{text-align:left}
/* E3: progressive custom-scenario rows; visual design uses existing Flow tokens. */
.flow-custom-field{border:1px solid var(--flow-line);padding:var(--flow-s4);border-radius:var(--flow-r-field);margin:var(--flow-s3) 0;background:var(--flow-surface-2)}
.flow-custom-field .flow-control-row{margin-bottom:var(--flow-s2)}
.flow-custom-field>.flow-btn{min-height:44px}
.flow-control-row>select{max-width:100%}
.flow-sim-output .flow-result-panels{max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){.flow-custom-field{padding:var(--flow-s3)}.flow-sim-control{padding:var(--flow-s4)}.flow-control-inline input[type=number]{max-width:108px}}

/* E4 · progressive long-form controls, status and responsive comparison tables */
.flow-toggle-line{display:flex;align-items:center;gap:10px;margin:16px 0;min-height:44px;font-size:14px;color:var(--flow-ink);font-weight:600}
.flow-toggle-line>input[type=checkbox]{min-width:20px;min-height:20px;accent-color:var(--flow-teal)}
#flowProgress:not([hidden]){display:block;padding:14px 16px;margin:12px 0;border:1px solid var(--flow-line);border-radius:var(--flow-r-field);background:var(--flow-surface-2)}
#flowCancel:not([hidden]){display:inline-flex;margin:8px 0;min-height:44px}
.flow-fieldset .flow-control-row{margin-top:10px}.flow-fieldset>.flow-fieldset{margin:14px 0}
.flow-fieldset select{width:100%;min-height:44px;background:var(--flow-surface);color:var(--flow-ink);border:1px solid var(--flow-line-strong);border-radius:8px;padding:8px 12px}
@media(max-width:600px){.flow-fieldset{max-width:100%;min-width:0}.flow-sim-control .flow-chips{display:flex;flex-wrap:wrap;gap:8px}}

/* Lightweight discrete annual timeline – phases are calculated; years are not inferred. */
.flow-timeline{display:grid;gap:14px;margin:12px 0}.flow-timeline-line{min-width:0}.flow-timeline-line>strong{display:block;font-size:13px;margin-bottom:4px}
.flow-timeline-track{display:flex;gap:3px;min-width:0;overflow-x:auto}.flow-timeline-cell{min-width:37px;flex:1;text-align:center;padding:8px 1px;font-size:10px;border-radius:4px;background:var(--flow-line);color:var(--flow-ink)}
.flow-timeline-cell[data-phase="part"]{background:#DCEFEB;color:#185C57}.flow-timeline-cell[data-phase="lzk"]{background:#F4D6E6;color:#74274F}.flow-timeline-cell[data-phase="return"]{background:#CFE4F1;color:#1B536B}.flow-timeline-cell[data-phase="open"]{background:var(--flow-surface-2);outline:1px dashed var(--flow-line-strong)}
@media(max-width:600px){.flow-timeline-cell{min-width:33px;font-size:9px}}

/* E13 LZK: visible reference line and annual debit legend. */
.flow-lzk-legend{display:flex;flex-wrap:wrap;column-gap:16px;row-gap:8px;margin:12px 0;color:var(--flow-ink);font-size:13px}
.flow-lzk-legend-item{display:inline-flex;align-items:center;gap:7px}
.flow-lzk-legend-swatch{display:inline-block;flex-shrink:0;width:21px;height:0;border-top:3px solid var(--flow-petrol)}
.flow-lzk-legend-swatch--without{border-top:2px dashed var(--flow-ink-2)}
.flow-lzk-legend-swatch--debit{height:9px;width:13px;border:0;border-radius:2px;background:var(--flow-magenta)}
.flow-lzk-year-table{margin-top:12px}

/* END analyse/flow-simulation.css */

/* SETO 2.5.30: Sonderzufluss im LZK-Verlaufsdiagramm */
.flow-lzk-legend-swatch--deposit{height:9px;width:13px;border:0;border-radius:2px;background:var(--flow-petrol)}
