/* G4 2.5.3 – Native Flow-Ansicht fuer Monats-/Jahresabrechnung.
   Rein visuell; diese Datei setzt keine Abrechnungswerte. */
html[data-seto-flow-payroll="g4"]{
  --g4-ink:#123440;--g4-ink-2:#4b6772;--g4-line:#cbdde1;
  --g4-card:#fff;--g4-card-soft:#f4fafb;--g4-blue:#ecf5f8;
  --g4-petrol:#0e4e60;--g4-ink-on:#fff;--g4-selection:#ad1a74;
}
html[data-seto-flow-payroll="g4"] body{background:#edf4f5;color:var(--g4-ink)}
html[data-seto-flow-payroll="g4"] body[data-view="main"] .app-page,
html[data-seto-flow-payroll="g4"] body[data-view="year"] .app-page{width:min(1160px,calc(100% - 32px));max-width:1160px;min-width:0;margin-inline:auto;}
html[data-seto-flow-payroll="g4"] .app-page > *{min-width:0}
html[data-seto-flow-payroll="g4"] .g4-card{min-width:0;background:var(--g4-card);border:1px solid var(--g4-line);border-radius:19px;padding:22px;box-shadow:0 3px 15px rgba(21,65,77,.035)}
html[data-seto-flow-payroll="g4"] :is(.g4-pagehead,.g4-year-intro){margin:18px 0 20px;min-width:0}
html[data-seto-flow-payroll="g4"] .g4-pagehead-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
html[data-seto-flow-payroll="g4"] .g4-overline{display:block;color:var(--g4-ink-2);font-size:12px;font-weight:650}
html[data-seto-flow-payroll="g4"] .g4-pagehead h1{font-size:clamp(25px,3.6vw,34px);letter-spacing:-.045em;line-height:1.18;margin:4px 0 10px;color:var(--g4-ink)}
html[data-seto-flow-payroll="g4"] .g4-pagehead-period{min-width:0}
html[data-seto-flow-payroll="g4"] .g4-period-slot{display:inline-flex;margin-top:3px}
html[data-seto-flow-payroll="g4"] .g4-period-slot .vdn-period-control{margin:0;gap:8px;justify-content:flex-start}
html[data-seto-flow-payroll="g4"] .g4-period-slot :is(select,button){min-height:44px;border:1px solid #99b5bf;border-radius:10px;background:#fff;color:var(--g4-ink);font-size:14px}
html[data-seto-flow-payroll="g4"] .g4-period-slot select{min-width:170px;max-width:230px}
html[data-seto-flow-payroll="g4"] .g4-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
html[data-seto-flow-payroll="g4"] .g4-btn{min-height:44px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:720;border-radius:10px;cursor:pointer;border:1px solid #9cb3bc;line-height:1.1}
html[data-seto-flow-payroll="g4"] .g4-btn-secondary{background:#fff;color:var(--g4-ink)}
html[data-seto-flow-payroll="g4"] .g4-btn-primary{background:var(--g4-petrol);border-color:var(--g4-petrol);color:var(--g4-ink-on)}
html[data-seto-flow-payroll="g4"] .g4-btn:hover{filter:brightness(.96)}
html[data-seto-flow-payroll="g4"] :is(.g4-btn,.g4-band-month,.g4-year-tabs button,.g4-text-link,.g4-highlight-row):focus-visible{outline:3px solid var(--g4-selection);outline-offset:3px}
html[data-seto-flow-payroll="g4"] .g4-answer{margin:22px 0 8px;max-width:950px;line-height:1.48;font-size:clamp(19px,2.6vw,25px);letter-spacing:-.015em;font-weight:450;overflow-wrap:anywhere}
html[data-seto-flow-payroll="g4"] .g4-answer strong{font-weight:800;font-variant-numeric:tabular-nums}
html[data-seto-flow-payroll="g4"] .g4-badges{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 16px}
html[data-seto-flow-payroll="g4"] .g4-badge{display:inline-flex;align-items:center;min-height:25px;gap:6px;padding:4px 10px;border:1px solid #bacdd3;border-radius:999px;background:#f8fbfc;color:#365965;font-size:12px;font-weight:700;white-space:normal}
html[data-seto-flow-payroll="g4"] .g4-badge[data-kind="ist"],html[data-seto-flow-payroll="g4"] .g4-badge[data-kind="berechnet"]{background:#e2f2f2;color:#155061}
html[data-seto-flow-payroll="g4"] .g4-badge[data-kind="prognose"]{background:#f6f8fa;border-style:dashed;color:#536e79}
html[data-seto-flow-payroll="g4"] .g4-badge[data-kind="warn"]{background:#fbf2e4;color:#85550b;border-color:#e3bd76}
html[data-seto-flow-payroll="g4"] .g4-month-flow{background:#f8fcfc;margin-bottom:16px}
html[data-seto-flow-payroll="g4"] .g4-flow-bar{display:flex;width:100%;min-height:40px;overflow:hidden;border-radius:12px;border:1px solid #bed5d9;background:#e5eef0}
html[data-seto-flow-payroll="g4"] .g4-bar-part{min-width:0;min-height:39px}
html[data-seto-flow-payroll="g4"] .g4-bar-payout{background:#105164}
html[data-seto-flow-payroll="g4"] .g4-bar-statutory{background:#bdd5db}
html[data-seto-flow-payroll="g4"] .g4-bar-other{background:#d7e6e8}
html[data-seto-flow-payroll="g4"] .g4-flow-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:17px}
html[data-seto-flow-payroll="g4"] .g4-flow-stats>div{min-width:0}
html[data-seto-flow-payroll="g4"] .g4-flow-stats span{display:block;font-size:12px;color:var(--g4-ink-2);line-height:1.35}
html[data-seto-flow-payroll="g4"] .g4-flow-stats strong{display:block;font-variant-numeric:tabular-nums;margin-top:6px;font-size:clamp(16px,2vw,23px);line-height:1.2;overflow-wrap:anywhere;color:var(--g4-ink)}
html[data-seto-flow-payroll="g4"] .g4-flow-stats>div:not(:first-child){padding-left:15px;border-left:1px solid #d7e4e7}
html[data-seto-flow-payroll="g4"] .g4-highlights{background:#f3f9fa;margin:0 0 19px}
html[data-seto-flow-payroll="g4"] .g4-card-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}
html[data-seto-flow-payroll="g4"] .g4-card-head h2{margin:0;color:var(--g4-ink);font-size:20px;line-height:1.25}
html[data-seto-flow-payroll="g4"] .g4-card-head p{margin:6px 0 0;color:var(--g4-ink-2);font-size:13px}
html[data-seto-flow-payroll="g4"] .g4-text-link{font-size:13px;font-weight:750;color:#075365;text-decoration:none;white-space:nowrap}
html[data-seto-flow-payroll="g4"] .g4-highlight-list{display:grid;margin-top:13px}
html[data-seto-flow-payroll="g4"] .g4-highlight-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 5px;border-bottom:1px solid #cfdee2;color:var(--g4-ink);text-decoration:none;font-size:14px;min-height:49px}
html[data-seto-flow-payroll="g4"] .g4-highlight-row:last-child{border-bottom:0}
html[data-seto-flow-payroll="g4"] .g4-highlight-code{font-size:11px;font-weight:750;padding:4px 6px;border-radius:6px;background:#dcebef;color:#165263;white-space:nowrap}
html[data-seto-flow-payroll="g4"] .g4-highlight-row strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px}
html[data-seto-flow-payroll="g4"] .g4-highlight-link{color:#075365;font-weight:750;white-space:nowrap}
html[data-seto-flow-payroll="g4"] .g4-doc-label{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 10px;flex-wrap:wrap}
html[data-seto-flow-payroll="g4"] .g4-doc-label h2{margin:0;font-size:23px}
html[data-seto-flow-payroll="g4"] .g4-doc-label span{font-size:12px;color:var(--g4-ink-2)}
html[data-seto-flow-payroll="g4"] .g4-docsheet{border:1px solid var(--g4-line);background:#fff;border-radius:18px;box-shadow:none;min-width:0}
html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-head{border-bottom:1px solid #cbdde1}
html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-head h2{font-size:21px;letter-spacing:-.02em;margin:4px 0}
html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-kicker{display:none}
html[data-seto-flow-payroll="g4"] .g4-docsheet .g4-old-hero{display:none!important}
html[data-seto-flow-payroll="g4"] .g4-docsheet :is(.vdn-mini-block,.vdn-block){border-color:#d9e6e8}
html[data-seto-flow-payroll="g4"] .g4-docsheet :is(.vdn-mini-block,.vdn-block:nth-of-type(even)){background:#f9fcfc}
html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table-wrap{max-width:100%;overflow-x:auto}
html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-net{background:#f0f7f8}
html[data-seto-flow-payroll="g4"] .status-line{border-radius:12px;margin:6px 0 12px;background:#e7f1f3;border:1px solid #cadae0;font-size:12px}
html[data-seto-flow-payroll="g4"] .st-claim-summary{border-radius:18px;background:#f5fafb}
/* Jahr – native, zugaengliche 12-Saeulen-Ansicht */
html[data-seto-flow-payroll="g4"] .g4-year-head .period-strip{margin:0;align-items:center;background:none;border:0;padding:2px 0;box-shadow:none;gap:8px;max-width:100%;flex-wrap:wrap}
html[data-seto-flow-payroll="g4"] .g4-year-head .period-strip :is(button,select){min-height:44px}
html[data-seto-flow-payroll="g4"] .g4-year-head .period-strip .period-actions{display:none}
html[data-seto-flow-payroll="g4"] :is(.subpage-head,.year-section-nav,.g4-old-totals,.g4-old-reconcile){display:none!important}
html[data-seto-flow-payroll="g4"] .g4-year-intro{margin:0 0 14px}
html[data-seto-flow-payroll="g4"] .g4-year-intro .g4-answer{margin:0 0 8px}
html[data-seto-flow-payroll="g4"] .g4-year-band-card{margin:18px 0;background:#f9fcfc}
html[data-seto-flow-payroll="g4"] .g4-year-band{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;align-items:end;margin-top:21px}
html[data-seto-flow-payroll="g4"] .g4-band-month{position:relative;min-width:0;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 1px 2px;background:transparent;border:0;border-radius:6px;color:var(--g4-ink);cursor:pointer;gap:7px}
html[data-seto-flow-payroll="g4"] .g4-band-month strong{font-size:11px;font-weight:750;min-height:16px;font-variant-numeric:tabular-nums}
html[data-seto-flow-payroll="g4"] .g4-band-month small{font-size:12px;color:var(--g4-ink-2)}
html[data-seto-flow-payroll="g4"] .g4-band-column{display:flex;align-items:flex-end;width:100%;height:123px;min-height:123px;border-bottom:1px solid #7596a0}
html[data-seto-flow-payroll="g4"] .g4-band-fill{display:block;width:100%;border-radius:6px 6px 0 0;background:#115265;transition:height .16s ease;min-height:0}
html[data-seto-flow-payroll="g4"] .g4-band-month[data-source="calculated"] .g4-band-fill{background:#bdd5dc}
html[data-seto-flow-payroll="g4"] .g4-band-month[data-source="forecast"] .g4-band-fill{background:repeating-linear-gradient(45deg,#f4fafb 0,#f4fafb 5px,#b8d6de 5px,#b8d6de 10px);border:1px dashed #81acb6}
html[data-seto-flow-payroll="g4"] .g4-band-month[data-source="actual"] .g4-band-fill{background:#115265}
html[data-seto-flow-payroll="g4"] .g4-band-month[aria-pressed="true"] .g4-band-column{outline:2px solid var(--g4-selection);outline-offset:2px;border-radius:4px}
html[data-seto-flow-payroll="g4"] .g4-band-warn{position:absolute;top:0;right:0;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#9b6800;color:#fff;font-size:11px}
html[data-seto-flow-payroll="g4"] .g4-year-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:15px;font-size:12px;color:var(--g4-ink-2)}
html[data-seto-flow-payroll="g4"] .g4-year-legend>span{display:inline-flex;align-items:center;gap:6px}
html[data-seto-flow-payroll="g4"] .g4-year-legend i{display:inline-block;width:14px;height:12px;border-radius:3px}
html[data-seto-flow-payroll="g4"] .g4-legend-ist{background:#115265}
html[data-seto-flow-payroll="g4"] .g4-legend-berechnet{background:#bdd5dc}
html[data-seto-flow-payroll="g4"] .g4-legend-prognose{background:repeating-linear-gradient(45deg,#f4fafb 0,#f4fafb 4px,#b8d6de 4px,#b8d6de 8px);border:1px dashed #81acb6}
html[data-seto-flow-payroll="g4"] .g4-legend-warn{background:#9b6800}
html[data-seto-flow-payroll="g4"] .g4-year-sums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 22px;background:#e9f3f5}
html[data-seto-flow-payroll="g4"] .g4-year-sums>div{min-width:0}
html[data-seto-flow-payroll="g4"] .g4-year-sums>div+div{border-left:1px solid #cadee3;padding-left:16px}
html[data-seto-flow-payroll="g4"] .g4-year-sums span{display:block;font-size:12px;color:var(--g4-ink-2);line-height:1.35}
html[data-seto-flow-payroll="g4"] .g4-year-sums strong{display:block;font-size:clamp(20px,2.6vw,29px);color:var(--g4-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:6px}
html[data-seto-flow-payroll="g4"] .g4-year-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;border-bottom:1px solid #c5d8dd;scrollbar-width:thin;margin:18px 0 15px}
html[data-seto-flow-payroll="g4"] .g4-year-tabs button{position:relative;flex:0 0 auto;min-height:46px;white-space:nowrap;padding:10px 13px;border:0;border-bottom:3px solid transparent;background:transparent;color:#486775;font-size:13px;font-weight:720;cursor:pointer}
html[data-seto-flow-payroll="g4"] .g4-year-tabs button[aria-selected="true"]{color:#0e4e60;border-bottom-color:#0e4e60;background:#e1eff3;border-radius:8px 8px 0 0}
html[data-seto-flow-payroll="g4"] [data-g4-panel][hidden]{display:none!important}
html[data-seto-flow-payroll="g4"] [data-g4-panel]{max-width:100%;min-width:0;background:#f9fcfc;border:1px solid #cbdde1;border-radius:17px;padding:15px;margin:0 0 20px}
html[data-seto-flow-payroll="g4"] [data-g4-panel] .table-scroll{width:100%;max-width:100%;overflow-x:auto}
html[data-seto-flow-payroll="g4"] [data-g4-panel] table{max-width:none}
html[data-seto-flow-payroll="g4"] [data-g4-panel] .panel-head{gap:15px}
html[data-seto-flow-payroll="g4"] [data-g4-panel] :is(h2,summary strong){font-size:18px;text-transform:none}
html[data-seto-flow-payroll="g4"] .g4-year-gross-extra{background:#f9fcfc;border-color:#d6e4e7}
html[data-seto-flow-payroll="g4"] .g4-year-head :is(.period-field,.period-year){min-width:0}
html[data-seto-flow-payroll="g4"] .g4-year-head .period-field select{max-width:100%}
html[data-seto-flow-payroll="g4"] :is(.seto-performance-panel,.soll-export-panel){background:#f9fcfc;border-color:#cbdde1}
/* Keine horizontale Seitenverschiebung; Tabellen scrollen in ihrem Container. */
html[data-seto-flow-payroll="g4"] .year-table th,html[data-seto-flow-payroll="g4"] .year-table td{font-variant-numeric:tabular-nums}
html[data-seto-flow-payroll="g4"] .year-flow-table td:nth-child(n+2):nth-child(-n+4){text-align:right}
html[data-seto-flow-payroll="g4"] :is(.g4-card,.g4-docsheet,[data-g4-panel]){box-sizing:border-box}
@media(max-width:780px){
 html[data-seto-flow-payroll="g4"] .g4-flow-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 html[data-seto-flow-payroll="g4"] .g4-flow-stats>div:not(:first-child){padding-left:0;border-left:0}
 html[data-seto-flow-payroll="g4"] .g4-flow-stats>div:nth-child(2n){padding-left:16px;border-left:1px solid #d7e4e7}
 html[data-seto-flow-payroll="g4"] .g4-year-band{gap:3px}
 html[data-seto-flow-payroll="g4"] .g4-band-month strong{font-size:10px}
 html[data-seto-flow-payroll="g4"] .g4-year-sums{gap:9px;padding:15px}
 html[data-seto-flow-payroll="g4"] .g4-year-sums>div+div{padding-left:9px}
}
@media(max-width:520px){
 html[data-seto-flow-payroll="g4"] body[data-view] .app-page{width:calc(100% - 22px)}
 html[data-seto-flow-payroll="g4"] .g4-pagehead-top{align-items:stretch}
 html[data-seto-flow-payroll="g4"] .g4-pagehead-top>div{width:100%}
 html[data-seto-flow-payroll="g4"] .g4-actions .g4-btn{flex:1}
 html[data-seto-flow-payroll="g4"] .g4-card{padding:14px;border-radius:15px}
 html[data-seto-flow-payroll="g4"] .g4-flow-stats strong{font-size:17px}
 html[data-seto-flow-payroll="g4"] .g4-highlight-row{grid-template-columns:auto minmax(0,1fr) auto;gap:7px;font-size:12px}
 html[data-seto-flow-payroll="g4"] .g4-highlight-link{grid-column:2/4;font-size:12px}
 html[data-seto-flow-payroll="g4"] .g4-year-band{gap:2px}
 html[data-seto-flow-payroll="g4"] .g4-band-month{min-height:158px}
 html[data-seto-flow-payroll="g4"] .g4-band-column{height:95px;min-height:95px}
 html[data-seto-flow-payroll="g4"] .g4-band-month strong{font-size:9px;letter-spacing:-.04em}
 html[data-seto-flow-payroll="g4"] .g4-band-month small{font-size:10px}
 html[data-seto-flow-payroll="g4"] .g4-band-warn{width:14px;height:14px;font-size:9px;right:-1px}
 html[data-seto-flow-payroll="g4"] .g4-year-sums{grid-template-columns:minmax(0,1fr);gap:0}
 html[data-seto-flow-payroll="g4"] .g4-year-sums>div{padding:10px 0}
 html[data-seto-flow-payroll="g4"] .g4-year-sums>div+div{border-left:0;border-top:1px solid #cadee3;padding-left:0}
 html[data-seto-flow-payroll="g4"] [data-g4-panel]{padding:9px}
 html[data-seto-flow-payroll="g4"] .g4-year-head .period-strip{gap:6px}
 html[data-seto-flow-payroll="g4"] .g4-year-head .period-strip .period-field select{min-width:0;width:100%}
 html[data-seto-flow-payroll="g4"] .year-flow-table{min-width:575px}
}
@media(prefers-color-scheme:dark){
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]){--g4-ink:#e2f1f3;--g4-ink-2:#b9ced3;--g4-line:#3b5962;--g4-card:#1a3038;--g4-petrol:#7fd3db;--g4-ink-on:#092c35}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) body{background:#10262e}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-card,html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) [data-g4-panel],html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-highlights,html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-year-band-card,html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-docsheet{background:#1a3038;color:var(--g4-ink)}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-year-sums,html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-docsheet .vdn-net{background:#223c45}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) :is(.g4-btn-secondary,.g4-period-slot button,.g4-period-slot select){background:#19363e;color:var(--g4-ink)}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-text-link,html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-highlight-link{color:#9bdddf}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-badge{background:#27414a;color:var(--g4-ink)}
 html[data-seto-flow-payroll="g4"]:not([data-theme="light"]) .g4-year-tabs button[aria-selected="true"]{background:#284950;color:#bfeaec}
}

 html[data-seto-flow-payroll="g4"][data-theme="dark"]{--g4-ink:#e2f1f3;--g4-ink-2:#b9ced3;--g4-line:#3b5962;--g4-card:#1a3038;--g4-petrol:#7fd3db;--g4-ink-on:#092c35}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] body{background:#10262e}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-card,html[data-seto-flow-payroll="g4"][data-theme="dark"] [data-g4-panel],html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-highlights,html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-year-band-card,html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-docsheet{background:#1a3038;color:var(--g4-ink)}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-year-sums,html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-docsheet .vdn-net{background:#223c45}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] :is(.g4-btn-secondary,.g4-period-slot button,.g4-period-slot select){background:#19363e;color:var(--g4-ink)}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-text-link,html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-highlight-link{color:#9bdddf}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-badge{background:#27414a;color:var(--g4-ink)}
 html[data-seto-flow-payroll="g4"][data-theme="dark"] .g4-year-tabs button[aria-selected="true"]{background:#284950;color:#bfeaec}

@media print{
 html[data-seto-flow-payroll="g4"] body{background:#fff!important;color:#142c35!important}
 html[data-seto-flow-payroll="g4"] body[data-view] .app-page{width:100%;max-width:none;margin:0;padding:0}
 html[data-seto-flow-payroll="g4"] .g4-screen-only,html[data-seto-flow-payroll="g4"] .g4-highlights,html[data-seto-flow-payroll="g4"] .g4-year-tabs,
 html[data-seto-flow-payroll="g4"] .g4-year-band-card,html[data-seto-flow-payroll="g4"] .status-line,
 html[data-seto-flow-payroll="g4"] .st-claim-summary,html[data-seto-flow-payroll="g4"] .year-source-panel,
 html[data-seto-flow-payroll="g4"] .seto-performance-panel,html[data-seto-flow-payroll="g4"] .soll-export-panel,
 html[data-seto-flow-payroll="g4"] .year-reconcile-summary{display:none!important}
 html[data-seto-flow-payroll="g4"] .g4-year-sums,html[data-seto-flow-payroll="g4"] .g4-docsheet,html[data-seto-flow-payroll="g4"] #yearMonthlyFlowPanel{display:block!important;background:#fff!important;color:#142c35!important;box-shadow:none;border:0;margin:0;padding:0}
 html[data-seto-flow-payroll="g4"] .g4-year-sums{display:flex!important;gap:20px;border-bottom:1px solid #999;padding-bottom:14px}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .g4-old-hero{display:none!important}
 html[data-seto-flow-payroll="g4"] #yearMonthlyFlowPanel .table-scroll{overflow:visible!important}
 html[data-seto-flow-payroll="g4"] .year-flow-table{font-size:9pt}
 html[data-seto-flow-payroll="g4"] #yearMonthlyFlowPanel .panel-head{display:block}
}

/* VDN-Abgleich und Originalwerte: gleicher ruhiger Navigationsrahmen. */
html[data-seto-flow-payroll="g4"] .g4-vdn-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:20px 0 18px;padding-bottom:8px;border-bottom:1px solid #c8dce0}
html[data-seto-flow-payroll="g4"] .g4-vdn-tabs a{display:inline-flex;min-height:44px;align-items:center;padding:10px 17px;text-decoration:none;white-space:nowrap;color:#456773;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:750}
html[data-seto-flow-payroll="g4"] .g4-vdn-tabs a[aria-current="page"]{background:#dcebef;border-color:#bdd6dc;color:#0e4e60}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .app-page,html[data-seto-flow-payroll="g4"] body[data-view="actual"] .app-page{width:min(1160px,calc(100% - 32px));max-width:1160px;min-width:0;margin-inline:auto}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] :is(.panel,.compare-hero,.subpage-head),html[data-seto-flow-payroll="g4"] body[data-view="actual"] :is(.panel,.subpage-head){background:#f8fcfc;border-color:#cbdde1;border-radius:17px}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-overview-panel{background:#eaf4f6}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-explanation-panel{background:#f5fafb}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .wage-compare-panel{background:#fff}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .vdn-source-panel{background:#eff7f9}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-page-head .vdn-kicker{display:none}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-page-head h1{font-size:clamp(27px,3vw,34px);margin:0 0 8px;color:var(--g4-ink)}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-page-head p{color:var(--g4-ink-2);line-height:1.5}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-page-head .inline-actions{display:none}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .compare-hero h2{font-size:clamp(19px,2.6vw,25px)}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] .temporary-vdn-import{background:#f4fafb;border:1px dashed #b6d0d8;border-radius:10px;padding:12px;margin-top:12px}
html[data-seto-flow-payroll="g4"] body[data-view="compare"] :is(.table-scroll,.vdn-import-grid){max-width:100%;min-width:0}
html[data-seto-flow-payroll="g4"] .g4-gross-expert{margin:12px 0 16px;max-width:100%;border:1px solid #d1e1e4;border-radius:12px;background:#f7fbfc}
html[data-seto-flow-payroll="g4"] .g4-gross-expert>summary{min-height:44px;padding:12px 16px;cursor:pointer;font-size:13px;font-weight:750}
html[data-seto-flow-payroll="g4"] .g4-gross-expert>section{margin:0;box-shadow:none;border:0}
html[data-seto-flow-payroll="g4"] [data-view="year"] .g4-year-gross-extra .year-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){html[data-seto-flow-payroll="g4"] body[data-view="compare"] .app-page,html[data-seto-flow-payroll="g4"] body[data-view="actual"] .app-page{width:calc(100% - 22px)}html[data-seto-flow-payroll="g4"] [data-view="year"] .g4-year-gross-extra .year-total-grid{grid-template-columns:minmax(0,1fr)}}
@media print{html[data-seto-flow-payroll="g4"] .g4-vdn-tabs,html[data-seto-flow-payroll="g4"] .g4-gross-expert{display:none!important}}

html[data-seto-flow-payroll="g4"] .g4-year-head .period-strip{display:none}
html[data-seto-flow-payroll="g4"] .g4-year-nav{display:flex;align-items:center;gap:7px}
html[data-seto-flow-payroll="g4"] .g4-year-nav button{min-width:44px;min-height:44px;background:#fff;border:1px solid #a2bbc3;border-radius:10px;color:var(--g4-ink);font-size:23px;cursor:pointer}
html[data-seto-flow-payroll="g4"] .g4-year-nav .period-field{min-width:90px;margin:0}
html[data-seto-flow-payroll="g4"] .g4-year-nav .period-field label{font-size:11px;color:var(--g4-ink-2)}
html[data-seto-flow-payroll="g4"] .g4-year-nav select{min-height:44px;min-width:100px;max-width:140px;background:#fff;border:1px solid #a2bbc3;border-radius:10px;color:#123440;padding:8px}
@media(max-width:520px){html[data-seto-flow-payroll="g4"] .g4-year-nav{flex:1;justify-content:flex-start}}
@media print{html[data-seto-flow-payroll="g4"] .g4-year-nav{display:none!important}}

/* VDN Lohnarten: Mobile Aufklappfelder fuer Menge, Satz und Prozent. */
html[data-seto-flow-payroll="g4"] .g4-wage-more{display:none}
html[data-seto-flow-payroll="g4"] .g4-wage-detail-row{display:none}
@media(max-width:600px){
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table{min-width:0!important;width:100%;table-layout:auto}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td):nth-child(3),
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td):nth-child(4),
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td):nth-child(5){display:none!important}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td){font-size:12px;overflow-wrap:anywhere;white-space:normal}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table td.amount{white-space:nowrap;text-align:right}
 html[data-seto-flow-payroll="g4"] .g4-wage-more{display:block;margin-top:6px;background:none;color:#0c5263;border:0;padding:3px 0;min-height:30px;text-align:left;font-size:11px;text-decoration:underline;cursor:pointer}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table .g4-wage-detail-row:not([hidden]){display:table-row}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table .g4-wage-detail-row>td{display:table-cell!important;background:#f0f8f8;padding:10px}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table .g4-wage-detail-row dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin:0;max-width:100%}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table .g4-wage-detail-row dt{font-size:11px;color:#45616b}
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table .g4-wage-detail-row dd{margin:0;font-size:12px;font-weight:700}
}
@media print{html[data-seto-flow-payroll="g4"] .g4-wage-more,html[data-seto-flow-payroll="g4"] .g4-wage-detail-row{display:none!important}}
@media print{
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td):nth-child(3),
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td):nth-child(4),
 html[data-seto-flow-payroll="g4"] .g4-docsheet .vdn-table :is(th,td):nth-child(5){display:table-cell!important}
}


/* G8 2.5.15: finger-friendly month, year and document drilldowns. */
html[data-seto-flow-payroll="g4"] a.g4-text-link{
  display:inline-flex;align-items:center;min-height:44px;padding:10px 6px;
  box-sizing:border-box;text-underline-offset:3px;
}
html[data-seto-flow-payroll="g4"] .year-flow-filter{
  display:inline-flex;align-items:center;min-height:44px;gap:8px;box-sizing:border-box;
}
html[data-seto-flow-payroll="g4"] #btnCopyPerformance,
html[data-seto-flow-payroll="g4"] #btnSollExport{min-height:44px;box-sizing:border-box}
html[data-seto-flow-payroll="g4"] a.g4-text-link:focus-visible{
  outline:3px solid var(--flow-magenta,#a3206f);outline-offset:2px;border-radius:5px;
}
