:root{--bg:#f3f7fa;--panel:#fff;--ink:#17303c;--muted:#6f8490;--line:#dfe9ed;--teal:#0798a5;--teal2:#0d7480;--nav:#133744;--shadow:0 10px 30px rgba(21,62,74,.08)}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}.sidebar{position:fixed;inset:0 auto 0 0;width:205px;background:var(--nav);padding:18px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:#fff;margin:0 4px 20px}.brand img{width:45px;height:45px;border-radius:12px;background:#fff;object-fit:contain}.brand span{display:block;font-size:12px;color:#9fc3c9;margin-top:3px;letter-spacing:.4px}.sidebar a{display:block;text-decoration:none;color:#c6dce0;padding:11px 13px;border-radius:10px;font-size:14px;margin:2px 0}.sidebar a:hover,.sidebar a.active{background:#225566;color:#fff}.logout{margin-top:auto;background:#1a4857}.main{margin-left:205px;padding:24px 26px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.topbar h1{margin:0;font-size:28px}.topbar p{margin:4px 0;color:var(--muted);font-size:13px}.pill,.badge{display:inline-block;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.pill{background:#ddf4f4;color:#08727c}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 18px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.card{padding:18px}.card small{color:var(--muted);text-transform:uppercase;letter-spacing:.7px}.card strong{display:block;font-size:28px;margin-top:8px}.panel{padding:18px;margin-bottom:16px}.panel h2{font-size:17px;margin:0 0 14px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.btn{display:inline-block;border:0;border-radius:9px;background:var(--teal2);color:#fff;padding:10px 13px;text-decoration:none;font-weight:700;cursor:pointer;font-size:13px}.btn.secondary{background:#edf4f6;color:#335965}.btn.danger{background:#bd4339}table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}th,td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{background:#f7fbfc;color:#58717c;text-transform:uppercase;font-size:11px;letter-spacing:.45px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.full{grid-column:1/-1}.field label{display:block;color:#5f7783;font-size:12px;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;padding:10px;border:1px solid #cbdbe1;border-radius:8px;font:inherit;background:#fff}.field textarea{min-height:88px;resize:vertical}.notice{padding:11px 13px;border-radius:9px;background:#e8f7f5;color:#126962;margin-bottom:13px}.notice.error{background:#fce8e6;color:#9a332d}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#103744,#0b7b83)}.login{width:min(430px,92vw);background:#fff;padding:28px;border-radius:20px;box-shadow:0 30px 70px rgba(0,0,0,.25)}.login-head{display:flex;gap:12px;align-items:center}.login-head img{width:62px;height:62px;object-fit:contain}.login h1{margin:0}.login p{color:var(--muted)}.login .field{margin:13px 0}.login .btn{width:100%;padding:12px}.badge.ok{background:#dff4e6;color:#267143}.badge.work{background:#fff0d8;color:#995d00}.badge.bad{background:#fbe3e1;color:#9d322a}.badge.neutral{background:#edf3f5;color:#58717c}.muted{color:var(--muted)}.matrix input{max-width:76px;padding:6px}.print-only{display:none}@media print{.sidebar,.topbar,.actions,.no-print{display:none!important}.main{margin:0;padding:0}.panel{box-shadow:none;border:0}.print-only{display:block}}@media(max-width:900px){.sidebar{width:190px}.main{margin-left:190px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.sidebar{position:static;width:auto}.main{margin-left:0;padding:14px}.cards,.grid{grid-template-columns:1fr}}


/* Stundenblatt V2.1 – Excel-ähnliche Eingabetabelle */
.sheet-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.sheet-search{min-width:260px;flex:1;padding:10px;border:1px solid #cbdbe1;border-radius:8px;background:#fff}
.sheet-select{padding:10px;border:1px solid #cbdbe1;border-radius:8px;background:#fff}
.sheet-panel{padding:0;overflow:hidden}.sheet-hint{padding:12px 15px;background:#eef8f8;border-bottom:1px solid var(--line);font-size:13px;color:#476a73}
.sheet-wrap{overflow:auto;max-height:72vh;background:#fff}
.excel-grid{min-width:2100px;border-collapse:separate;border-spacing:0}
.excel-grid th{position:sticky;top:0;z-index:3;cursor:pointer;white-space:nowrap;background:#d9eef0;border-right:1px solid #c4dde0;border-bottom:1px solid #b5d4d8;padding:9px 7px}
.excel-grid td{padding:0;border-right:1px solid #e4ecee;border-bottom:1px solid #e4ecee;background:#fff}
.excel-grid td.meta{padding:8px 7px;background:#f8fbfc;white-space:nowrap}
.excel-grid input{width:100%;min-width:92px;border:0;border-radius:0;padding:8px 7px;background:transparent;font:inherit}
.excel-grid input:focus{outline:2px solid #0c8d98;outline-offset:-2px;background:#f5ffff}
.excel-grid tr.changed td{background:#fffced}
.excel-grid tr.new-row td{background:#edf9ff}
.excel-grid .inactive-employee{opacity:.55;background:#f3f3f3}
.excel-grid .employee-value{min-width:68px;text-align:center;font-weight:700}
.excel-grid .employee-value.ur{background:#dff4e6}.excel-grid .employee-value.kr{background:#ecdffd}.excel-grid .employee-value.za{background:#fff}
.row-actions{white-space:nowrap;padding:4px!important;min-width:205px}.mini-save,.mini-copy{border:0;border-radius:6px;padding:7px 8px;margin-right:4px;cursor:pointer;font-weight:700;font-size:11px}.mini-save{background:#0d7480;color:#fff}.mini-copy{background:#edf4f6;color:#335965}
.row-status{display:inline-block;font-size:11px;margin-left:3px}.row-status.pending{color:#9a6a00}.row-status.ok{color:#267143}.row-status.error{color:#bd4339;max-width:160px;white-space:normal}

/* K-CORE Update V2.2 */
.sidebar{overflow-y:auto}.sidebar a{padding:9px 11px;font-size:13px}.brand{margin-bottom:14px}.brand img{width:42px;height:42px}
.hero-panel{border-left:5px solid var(--teal2)}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.chart-head{display:flex;align-items:center;justify-content:space-between}.chart-head span{color:var(--muted);font-size:12px}.bar-chart{display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:125px 1fr 75px;gap:8px;align-items:center;font-size:12px}.bar-row b{text-align:right}.bar-track{height:18px;background:#edf4f6;border-radius:5px;overflow:visible;box-shadow:inset 0 2px 4px rgba(0,0,0,.08)}.bar3d{display:block;height:16px;margin-top:1px;border-radius:4px;background:linear-gradient(180deg,#20b8c4,#087784);box-shadow:3px 3px 0 #07535d}.bar3d.orderbar{background:linear-gradient(180deg,#89c76b,#3e8c48);box-shadow:3px 3px 0 #2d6535}
.inline-form{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.inline-form input,.inline-form select{padding:9px 10px;border:1px solid #cbdbe1;border-radius:8px;background:#fff}.inline-form input{min-width:260px}.table-panel{padding:0;overflow:hidden}.table-wrap{overflow:auto;max-width:100%}.nowrap{white-space:nowrap}.checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.desc-cell input{min-width:360px!important}.report-selector{display:grid;grid-template-columns:minmax(250px,420px) minmax(300px,1fr);gap:12px}.report-selector input,.report-selector select{padding:10px;border:1px solid #cbdbe1;border-radius:8px;background:#fff}.weekly-header{text-align:center;border-bottom:2px solid #17303c;margin-bottom:10px}.weekly-header h2{font-size:22px;margin:0 0 3px}.weekly-header p{margin:6px 0}.weekly-table{min-width:1900px}.weekly-table th,.weekly-table td{font-size:10px;padding:5px}.weekly-total td{background:#e8f7f5}.empty-day{text-align:center;color:var(--muted);padding:25px!important}.bgh-grid{min-width:6800px}.bgh-grid td{white-space:nowrap;padding:7px}.master-add{margin-bottom:12px}.master-panel .table-wrap{max-height:320px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.report-grid div{border:1px solid var(--line);padding:9px;border-radius:6px}.report-grid small{display:block;color:var(--muted);font-size:10px}.report-grid strong{display:block;margin-top:4px;font-size:12px}.report-title{text-align:center;border-bottom:2px solid var(--ink);margin-bottom:14px}.signature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:35px}.signature-grid div{border-top:1px solid #333;padding-top:7px;font-size:12px}
@page{size:A4 landscape;margin:9mm}@media print{.weekly-day{page-break-after:always;break-after:page}.weekly-day:last-of-type{page-break-after:auto;break-after:auto}.weekly-day{border:0;box-shadow:none;padding:0;margin:0}.weekly-table{min-width:0;width:100%}.weekly-table th,.weekly-table td{font-size:7px;padding:3px}.bgh-report-print{border:0;box-shadow:none}.workreport-print{border:0;box-shadow:none}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.report-selector{grid-template-columns:1fr}.checkbox-grid{grid-template-columns:repeat(2,1fr)}}


/* Update V2.3 – Auftrag anlegen als Software-Popup */
body.modal-open{overflow:hidden}
.modal-backdrop{display:none;position:fixed;inset:0;z-index:1000;background:rgba(8,29,39,.68);padding:24px;overflow:auto}
.modal-backdrop.show{display:flex;align-items:flex-start;justify-content:center}
.modal-window{position:relative;width:min(1080px,96vw);margin:auto;background:#fff;border-radius:18px;box-shadow:0 32px 90px rgba(0,0,0,.32);overflow:hidden}
.modal-header{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px 24px;background:linear-gradient(135deg,#0e4355,#0d7980);color:#fff}
.modal-header h2{margin:0 0 5px;font-size:22px}.modal-header p{margin:0;color:#d4f0f1;font-size:13px}
.modal-x{position:absolute;z-index:3;right:12px;top:9px;width:35px;height:35px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:28px;line-height:30px;cursor:pointer}
.knid-preview{margin-right:36px;padding:9px 13px;border-radius:999px;background:#fff;color:#0b6670;font-weight:800;white-space:nowrap}
.modal-form{padding:22px 24px 24px}.modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:4px}
.btn.ghost{background:#fff;color:#8d3333;border:1px solid #ebcece}.btn.ghost:hover{background:#fff4f4}
.mini-delete{border:0;border-radius:6px;padding:7px 9px;background:#b83a36;color:#fff;cursor:pointer;font-weight:700;font-size:11px}
.master-table th a{color:inherit;text-decoration:none}.master-table th a:hover{text-decoration:underline}


/* Update V2.4 – Arbeitsbericht als druckfertiges Formular */
.report-select-panel{max-width:1180px}.report-selector-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,1.4fr) auto;gap:10px;align-items:center}.report-selector-row input,.report-selector-row select{padding:10px;border:1px solid #cbdbe1;border-radius:8px;background:#fff}.report-selector-row select{height:auto}
.workreport-toolbar{margin-bottom:12px;display:flex;gap:8px}
.workreport-a4{background:#fff;color:#111;margin:0 auto 25px;max-width:1120px;padding:22px 24px;border:1px solid #d7e1e8;border-radius:10px;box-shadow:0 12px 35px rgba(28,62,87,.08);font-family:Arial,Helvetica,sans-serif}
.wr-page-top{display:grid;grid-template-columns:1fr 120px 1fr;align-items:center;border:2px solid #222;border-bottom:0;font-weight:700;font-size:18px}.wr-page-top>div{padding:8px 10px}.wr-title-center{text-align:center;border-left:1px solid #222;border-right:1px solid #222}.wr-title-right{text-align:right}
.wr-grid{display:grid}.wr-main-grid{grid-template-columns:1.05fr 1fr 1fr;border-left:2px solid #222;border-top:2px solid #222}.wr-section-title{background:#e9eef3;font-weight:700;text-align:center;padding:7px;border-right:2px solid #222;border-bottom:2px solid #222}.wr-cell{min-height:38px;border-right:2px solid #222;border-bottom:1px solid #222;padding:5px 7px;display:grid;grid-template-columns:118px 1fr;gap:6px;align-items:start}.wr-cell span{font-size:11px;color:#333}.wr-cell b{font-size:13px;line-height:1.2}.wr-company b{font-size:12px}
.wr-box{border:2px solid #222;border-top:0;padding:0;min-height:74px}.wr-box h3{margin:0;padding:6px 8px;background:#e9eef3;border-bottom:1px solid #222;font-size:14px}.wr-pre{padding:9px;min-height:52px;white-space:normal;font-size:13px;line-height:1.35}
.wr-edit-form{border:2px solid #bed2da;border-top:0;background:#f7fbfd;padding:12px}.wr-print-only{display:none}.wr-subtable table{font-size:12px}.wr-subtable th,.wr-subtable td{border:1px solid #444;padding:5px;background:#fff}
.material-form{background:#f7fbfd;border:2px solid #bed2da;border-top:0;padding:12px}
.wr-signature{display:grid;grid-template-columns:1fr 1fr 1.2fr 1.2fr;border-left:2px solid #222;border-top:2px solid #222;margin-top:12px}.wr-signature>div{height:78px;border-right:2px solid #222;border-bottom:2px solid #222;padding:7px}.wr-signature span{display:block;font-size:12px}.wr-signature b{display:block;margin-top:25px;text-align:center}
.wr-footer{display:grid;grid-template-columns:1.6fr 1fr .6fr;gap:18px;margin-top:12px;font-size:12px;line-height:1.35}
@media print{
 body{background:#fff!important}.sidebar,.topbar,.no-print,.notice{display:none!important}.main{margin:0!important;padding:0!important}.workreport-a4{box-shadow:none;border:0;border-radius:0;max-width:none;width:100%;padding:0;margin:0}.wr-print-only{display:block!important}.wr-edit-form{display:none!important}
 @page{size:A4 portrait;margin:10mm}
 .wr-page-top{font-size:16px}.wr-cell{min-height:31px;padding:4px 6px}.wr-cell span{font-size:10px}.wr-cell b{font-size:11.5px}.wr-box h3{font-size:12.5px}.wr-pre{font-size:11.5px;min-height:42px}.wr-footer{font-size:10.5px}.wr-signature>div{height:62px}
}
@media(max-width:900px){.report-selector-row{grid-template-columns:1fr}.workreport-a4{overflow:auto}.wr-main-grid{min-width:900px}.wr-page-top{min-width:900px}.wr-signature{min-width:900px}.wr-footer{min-width:900px}}


/* Update V2.5 – Stundenansicht nach stunden.xlsx */
.hours-template-grid{font-size:var(--hours-font-size,11px);table-layout:fixed;min-width:max-content}
.hours-template-grid th,.hours-template-grid td{font-size:var(--hours-font-size,11px)}
.hours-template-grid thead .summary-name-row th,.hours-template-grid thead .summary-row th{position:sticky;z-index:5;background:#fff;color:#111;border-right:1px solid #333;border-bottom:1px solid #333;padding:5px 6px;text-align:center;cursor:default;font-weight:700;text-transform:none;letter-spacing:0}
.hours-template-grid thead .summary-name-row th{top:0}.hours-template-grid thead .summary-row:nth-child(2) th{top:27px}.hours-template-grid thead .summary-row:nth-child(3) th{top:53px}.hours-template-grid thead .summary-row:nth-child(4) th{top:79px}.hours-template-grid thead .summary-row:nth-child(5) th{top:105px}
.hours-template-grid thead tr:nth-child(6) th{top:131px;background:#e3e3e3;color:#111;border-right:1px solid #333;border-bottom:1px solid #333;padding:7px 6px;text-transform:none;letter-spacing:0}
.hours-template-grid td{border-right:1px solid #333;border-bottom:1px solid #333}
.hours-template-grid .action-sticky{position:sticky;left:0;z-index:7;background:#f2f7f8}
.hours-template-grid tbody tr.day-friday td{background:#76b947}
.hours-template-grid tbody tr.day-weekend td{background:#ffdc73}
.hours-template-grid tbody tr.day-holiday td{background:#76b947}
.hours-template-grid tbody tr.changed td{box-shadow:inset 0 0 0 1px #e3aa25}
.hours-template-grid tbody tr.new-row td{background:#eaf7ff}
.hours-template-grid input{font-size:var(--hours-font-size,11px);min-width:0}
.hours-template-grid td.desc-cell input{min-width:100%}
.hours-template-grid .employee-value.has-value{background:#fff}
.hours-template-grid .employee-value.ur{background:#8fd177}.hours-template-grid .employee-value.kr{background:#d4a8f1}.hours-template-grid .employee-value.za{background:#fff}
.sheet-toggle{display:flex;gap:5px;align-items:center;font-size:13px;color:#49646d}
@media print{.hours-template-grid thead .summary-name-row th,.hours-template-grid thead .summary-row th,.hours-template-grid thead tr:nth-child(6) th{position:static}.hours-template-grid .action-sticky{display:none!important}}


/* Update V2.9 – Arbeitsbericht Designer */
.report-select-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.report-select-head h2{margin:0}.report-select-head p{margin:5px 0 14px;color:#6b7f8b}
.designer-report{font-size:var(--wr-font,11px);padding:var(--wr-margin,9mm);max-width:210mm;min-height:297mm}
.wr-document-header{display:grid;grid-template-columns:170px 1fr 150px;align-items:center;border:2px solid #222;border-bottom:0;min-height:66px}.wr-logo-area{padding:7px 9px}.wr-logo-area img{max-height:54px;object-fit:contain}.wr-logo-placeholder{font-weight:800;letter-spacing:.5px;line-height:1}.wr-logo-placeholder small{font-size:9px;font-weight:600}.wr-doc-title{text-align:center;font-size:var(--wr-title-font,18px);font-weight:800}.wr-doc-meta{text-align:right;padding:7px 9px;font-size:12px}
.designer-report .wr-cell{grid-template-columns:114px 1fr}.designer-report .wr-cell span{font-size:calc(var(--wr-font,11px) - 1px)}.designer-report .wr-cell b{font-size:var(--wr-font,11px)}
.designer-report .wr-box h3{font-size:calc(var(--wr-font,11px) + 1px)}.designer-report .wr-pre{font-size:var(--wr-font,11px)}
@media print{
 @page{size:A4 portrait;margin:0}
 .designer-report{width:210mm;min-height:297mm;max-width:210mm;padding:var(--wr-margin,9mm)!important;margin:0!important}
 .wr-document-header{min-height:54px}.wr-logo-area img{max-height:45px}
}


/* Update V3.0 – Formulareditor, Barcode, fixe Fußzeile, Material */
.dashboard-welcome{margin-bottom:15px}.dashboard-welcome h2{margin:0 0 4px}.dashboard-welcome p{margin:0;color:#6b7f8b}.dashboard-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.wr-document-header{position:relative}.wr-header-barcode{grid-column:1/-1;display:flex;justify-content:flex-end;padding:5px 7px;border-top:1px solid #222;min-height:32mm}.wr-header-barcode .barcode-svg{height:30mm;width:auto;max-width:100%}
.barcode-svg{display:block;max-width:100%}.wr-footer-fixed{display:grid;grid-template-columns:1.25fr .75fr 1fr;gap:10px;margin-top:8px;padding-top:5px;border-top:1px solid #333;font-size:var(--wr-footer-font,9px);line-height:1.25}.page-counter:after{content:none!important;display:none!important}
.preview-panel{margin-top:16px}.preview-stage{overflow:auto;background:#e8eef2;padding:16px}.preview-a4{width:210mm;min-height:297mm;background:#fff;padding:var(--pv-margin,9mm);font-size:var(--pv-font,11px);box-shadow:0 8px 25px rgba(0,0,0,.15);transform:scale(.62);transform-origin:top left;margin-bottom:-110mm}.pv-header{display:grid;grid-template-columns:1fr 2fr 1fr;border:1px solid #222;padding:6px;align-items:center}.pv-title{text-align:center;font-size:var(--pv-title,18px);font-weight:800}.pv-logo{font-weight:800}.pv-logo img{max-height:38px}.pv-grid{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid #222}.pv-grid>*{border-right:1px solid #222;border-bottom:1px solid #222;padding:5px}.pv-box{border:1px solid #222;border-top:0;padding:6px;min-height:45px}.pv-barcode{display:flex;justify-content:flex-end;border:1px solid #222;border-top:0;padding:6px}.pv-barcode svg{height:24mm;width:auto}.pv-footer{display:grid;grid-template-columns:1.25fr .75fr 1fr;gap:10px;border-top:1px solid #222;margin-top:8px;padding-top:5px;font-size:var(--pv-footer-font,9px)}
.material-label{width:80mm;min-height:45mm;background:#fff;border:1px solid #222;padding:5mm;margin:10px auto}.material-label h2{font-size:15px;margin:0 0 5px}.material-label p{font-size:11px}.material-label .barcode-svg{height:24mm;width:100%}.label-code{text-align:center}.inline-stock{display:inline-flex;gap:3px}.inline-stock input{width:68px}.stock-low{background:#fff0ef}
@media print{
 .wr-footer-fixed{position:fixed;left:var(--wr-margin,9mm);right:var(--wr-margin,9mm);bottom:4mm;background:#fff}
 .designer-report{padding-bottom:30mm!important}
 .material-label{margin:0;border:0;width:80mm;min-height:45mm}
 body:has(.material-label) .sidebar,body:has(.material-label) .topbar{display:none!important}
 body:has(.material-label) .main{margin:0!important;padding:0!important}
}
@media(max-width:900px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}}


/* Update V3.1 – Stabilität, Dashboard, Tabellen, Formulare, Recht, 2FA */
:root{--kcore-turquoise:#0c8f91;--kcore-line:#a8d7d8}
.update-banner{margin:-6px 0 14px;padding:11px 14px;border:1px solid rgba(12,143,145,.3);border-radius:10px;background:rgba(12,143,145,.12);color:#075f61}.update-banner a{font-weight:800;color:#075f61}
.nav-section{margin:14px 12px 5px;color:#7fb7bc;font-size:10px;letter-spacing:1.2px;font-weight:800}
.global-footer{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;text-align:center;margin:22px 0 5px;padding:9px 4px;color:#70838a;font-size:10px}.global-footer-links{display:flex;gap:10px;flex-wrap:wrap}.global-footer a{color:#52747b}.global-footer b{font-weight:600}
.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.admin-grid a{padding:13px;border:1px solid var(--line);border-radius:9px;text-decoration:none;background:#f8fbfc;color:#24515b;font-weight:700}
.orders-grid{table-layout:fixed;font-size:var(--orders-font,11px);min-width:max-content}.orders-grid th,.orders-grid td{border-right:1px solid #cfe3e5}.orders-grid th{background:#e9f5f5}.orders-grid .order-action{position:sticky;left:0;background:#fff;z-index:2;border-right:2px solid var(--kcore-turquoise)}
.workreport-a4{border:0!important;box-shadow:0 7px 24px rgba(16,67,76,.09)!important;font-size:8px}.wr-document-header,.wr-main-grid{border-color:var(--kcore-line)!important}.wr-cell,.wr-section-title,.wr-box,.wr-signature>div{border-color:var(--kcore-line)!important}.wr-section-title,.wr-box h3{background:#edf8f8!important;color:#155a5b}.wr-cell{min-height:auto!important;padding:4px 6px!important}.wr-header-barcode{min-height:15mm!important;border-top:1px solid var(--kcore-line)!important}.wr-header-barcode .barcode-svg{height:15mm!important}.wr-signature>div{height:58px!important;padding:6px}.wr-signature span{font-size:9px}.wr-signature b{margin-top:26px;font-size:10px}.signature-cell{display:flex;flex-direction:column}.signature-cell img{max-height:24px;max-width:110px;object-fit:contain;align-self:center}.signature-cell small{text-align:center;font-size:7px;color:#52747b}.signature-cell b{margin-top:auto!important;text-align:center}
.wr-footer-fixed{border-top:1px solid var(--kcore-turquoise)!important;font-size:8px!important}.error-page{min-height:100vh;display:grid;place-items:center;background:#eff6f8}.error-card{max-width:680px;margin:35px auto;padding:25px;border:1px solid #d5e5e8;border-radius:14px;background:#fff;box-shadow:0 12px 35px rgba(0,0,0,.08)}.error-code{color:var(--kcore-turquoise);font-weight:900;letter-spacing:1.2px}.login-footer{margin-top:18px;text-align:center;color:#789096;font-size:10px}.legal-page{max-width:950px}.legal-page h3{margin-top:20px}
@media(max-width:900px){.admin-grid{grid-template-columns:1fr}.global-footer{justify-content:flex-start}}


/* Update V3.2 – Dashboard-Status und Kosten-Sichtschutz */
.dashboard-actions{align-items:center}
.dashboard-actions .btn.secondary{white-space:nowrap}


/* Update V3.3 – Auftragstabelle Status, Breite und Zeilenhöhe */
.orders-grid th,.orders-grid td{height:var(--orders-row-height,34px);min-height:var(--orders-row-height,34px);padding:5px 7px;vertical-align:middle}
.orders-grid .center-col{text-align:center}
.orders-grid .order-action-head{position:sticky;left:0;z-index:4;background:#e9f5f5;border-right:2px solid var(--kcore-turquoise)}
.orders-grid .order-action{position:sticky;left:0;background:#fff;z-index:3;border-right:2px solid var(--kcore-turquoise)}
.orders-grid th{white-space:nowrap}
.orders-grid td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* Update V3.4 – Statusübersicht Aufträge */
.order-status-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.order-status-card{background:#fff;border:1px solid #d8e6e8;border-radius:11px;padding:13px 15px;box-shadow:0 5px 14px rgba(22,65,75,.04)}
.order-status-card span{display:block;color:#64818a;font-size:12px;margin-bottom:5px}
.order-status-card b{display:block;color:#173741;font-size:23px;line-height:1}
@media(max-width:900px){.order-status-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Update V3.5 – Dashboard Charts und Arbeitsbericht Druck */
.dashboard-status-cards{grid-template-columns:repeat(5,minmax(0,1fr))}
.dashboard-card{position:relative;overflow:hidden;border:1px solid #d6e7e8;background:linear-gradient(180deg,#ffffff 0%,#f8fcfc 100%)}
.dashboard-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#91c9ca}
.dashboard-card.status-work:before{background:#50a7a8}.dashboard-card.status-finished:before{background:#75b98b}.dashboard-card.status-offer:before{background:#d6ad5b}.dashboard-card.status-empty:before{background:#a8b9bf}.dashboard-card.metric-costs:before{background:#368c91}
.dashboard-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.chart-panel{overflow:hidden}.chart-3d{display:grid;gap:10px}.chart-row{display:grid;grid-template-columns:145px 1fr;gap:10px;align-items:center}.chart-label{font-size:12px;color:#315d63;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-track{height:24px;border-radius:6px;background:#e8f2f3;box-shadow:inset 0 2px 4px rgba(0,0,0,.08);overflow:visible}.chart-bar{position:relative;height:100%;min-width:28px;border-radius:5px 3px 3px 5px;background:linear-gradient(180deg,#168f92,#0d6e72);box-shadow:5px 5px 0 rgba(8,79,82,.16);transition:width .3s}.chart-bar-orders{background:linear-gradient(180deg,#63a7aa,#2d7e83)}.chart-bar b{position:absolute;right:6px;top:4px;color:#fff;font-size:11px}
.wr-footer-fixed .page-counter:after{content:none!important}
@media print{
 .designer-report{width:190mm!important;max-width:190mm!important;min-height:277mm!important;box-sizing:border-box;overflow:visible!important}
 .wr-footer-fixed{left:9mm!important;right:9mm!important}
}
@media(max-width:1000px){.dashboard-status-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-chart-grid{grid-template-columns:1fr}}


/* Update V3.5b – explizite Arbeitsbericht-Seiten */
.designer-report{position:relative;box-sizing:border-box;min-height:277mm;padding-bottom:24mm!important}
.continuation-report{margin-top:16px}
.wr-continuation-header{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid var(--kcore-turquoise);color:#155a5b;margin-bottom:8px}.wr-continuation-header span{font-size:9px;color:#52747b}
.wr-footer-fixed{position:absolute!important;left:var(--wr-margin,9mm)!important;right:var(--wr-margin,9mm)!important;bottom:5mm!important}
@media print{
 .designer-report{width:210mm!important;max-width:210mm!important;min-height:297mm!important;margin:0!important;padding:var(--wr-margin,9mm)!important;padding-bottom:24mm!important;page-break-after:always;break-after:page}
 .designer-report:last-of-type{page-break-after:auto;break-after:auto}
 .continuation-report{margin-top:0!important}
}


/* Update V3.6 – saubere A4-Druckansicht Arbeitsbericht */
.designer-report{
  width:190mm!important;
  max-width:190mm!important;
  min-width:190mm!important;
  min-height:277mm!important;
  padding:7mm!important;
  padding-bottom:22mm!important;
  margin:0 auto 14px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.wr-document-header{
  grid-template-columns:42mm 1fr 38mm!important;
  min-height:17mm!important;
  border:1px solid var(--kcore-line)!important;
  position:relative!important;
}
.wr-logo-area{padding:3mm!important}
.wr-logo-area img{max-height:10mm!important;max-width:34mm!important}
.wr-doc-title{font-size:15px!important}
.wr-doc-meta{padding:2mm!important;font-size:10px!important;position:relative!important;min-height:14mm!important}
.wr-header-barcode{
  position:absolute!important;
  right:1mm!important;
  top:8mm!important;
  display:block!important;
  padding:0!important;
  border:0!important;
  min-height:0!important;
  height:auto!important;
}
.wr-header-barcode .barcode-svg{
  height:8mm!important;
  width:auto!important;
  max-width:32mm!important;
}
.wr-main-grid{
  width:100%!important;
  min-width:0!important;
  grid-template-columns:1fr 1fr 1fr!important;
  border-left:1px solid var(--kcore-line)!important;
  border-top:0!important;
}
.wr-section-title{
  padding:4px!important;
  border-right:1px solid var(--kcore-line)!important;
  border-bottom:1px solid var(--kcore-line)!important;
  font-size:8px!important;
}
.wr-cell{
  grid-template-columns:82px 1fr!important;
  min-width:0!important;
  padding:3px 5px!important;
  border-right:1px solid var(--kcore-line)!important;
  border-bottom:1px solid var(--kcore-line)!important;
}
.wr-cell span{font-size:7px!important}
.wr-cell b{font-size:8px!important;overflow-wrap:anywhere}
.wr-box{border:1px solid var(--kcore-line)!important;border-top:0!important;min-height:0!important}
.wr-box h3{padding:4px 6px!important;font-size:8px!important;border-bottom:1px solid var(--kcore-line)!important}
.wr-pre{padding:6px!important;font-size:8px!important;line-height:1.25!important;min-height:15mm!important}
.wr-subtable table{width:100%!important;table-layout:fixed!important;font-size:8px!important}
.wr-subtable th,.wr-subtable td{padding:3px 4px!important;border:1px solid var(--kcore-line)!important;overflow-wrap:anywhere}
.wr-signature{
  width:100%!important;
  min-width:0!important;
  grid-template-columns:22mm 25mm 1fr 1fr!important;
  border-left:1px solid var(--kcore-line)!important;
  border-top:1px solid var(--kcore-line)!important;
  margin-top:5px!important;
}
.wr-signature>div{
  height:18mm!important;
  border-right:1px solid var(--kcore-line)!important;
  border-bottom:1px solid var(--kcore-line)!important;
  padding:4px!important;
}
.wr-signature span{font-size:7px!important}
.wr-signature b{font-size:8px!important;margin-top:auto!important}
.wr-footer-fixed{
  left:7mm!important;
  right:7mm!important;
  bottom:4mm!important;
  border-top:1px solid var(--kcore-turquoise)!important;
  font-size:7px!important;
}
.wr-continuation-header{
  border-bottom:1px solid var(--kcore-turquoise)!important;
  padding:5px 6px!important;
  margin-bottom:6px!important;
}
@media(max-width:900px){
  .designer-report{width:190mm!important;max-width:190mm!important;min-width:190mm!important}
  .wr-main-grid,.wr-signature,.wr-page-top{min-width:0!important}
}
@media print{
  @page{size:A4 portrait;margin:10mm}
  html,body{width:auto!important;height:auto!important;background:#fff!important}
  .main{padding:0!important;margin:0!important;width:auto!important}
  .designer-report{
    width:190mm!important;
    max-width:190mm!important;
    min-width:190mm!important;
    min-height:277mm!important;
    height:277mm!important;
    padding:7mm!important;
    padding-bottom:22mm!important;
    margin:0!important;
    box-shadow:none!important;
    border:0!important;
    overflow:hidden!important;
    page-break-after:always!important;
    break-after:page!important;
  }
  .designer-report:last-of-type{
    page-break-after:auto!important;
    break-after:auto!important;
  }
  .wr-main-grid,.wr-signature,.wr-page-top{min-width:0!important;width:100%!important}
  .continuation-report{margin:0!important}
}


/* Update V3.7 – stabiler A4-Arbeitsbericht */
.workreport-a4.designer-report{
  width:190mm !important;
  max-width:190mm !important;
  min-width:190mm !important;
  min-height:277mm !important;
  display:flex !important;
  flex-direction:column !important;
  box-sizing:border-box !important;
  padding:7mm !important;
  margin:0 auto 16px !important;
  background:#fff !important;
  overflow:visible !important;
}
.workreport-a4.designer-report > *{box-sizing:border-box !important}
.workreport-a4 .wr-document-header{
  width:100% !important;
  display:grid !important;
  grid-template-columns:34mm minmax(0,1fr) 34mm !important;
  align-items:center !important;
  min-height:16mm !important;
  border:1px solid var(--kcore-line) !important;
}
.workreport-a4 .wr-logo-area{padding:2mm 3mm !important}
.workreport-a4 .wr-logo-area img{max-width:27mm !important;max-height:8mm !important}
.workreport-a4 .wr-logo-placeholder{font-size:8px !important}
.workreport-a4 .wr-doc-title{font-size:15px !important;text-align:center !important}
.workreport-a4 .wr-doc-meta{position:relative !important;min-height:14mm !important;padding:2mm !important;font-size:9px !important;text-align:right !important}
.workreport-a4 .wr-header-barcode{
  position:absolute !important;
  right:1mm !important;
  top:6.5mm !important;
  width:28mm !important;
  height:7mm !important;
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}
.workreport-a4 .wr-header-barcode .barcode-svg{
  width:28mm !important;
  height:7mm !important;
  max-width:28mm !important;
}
.workreport-a4 .wr-main-grid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  min-width:0 !important;
  border-left:1px solid var(--kcore-line) !important;
  border-top:0 !important;
}
.workreport-a4 .wr-section-title{
  padding:3px 4px !important;
  font-size:7.5px !important;
  border-right:1px solid var(--kcore-line) !important;
  border-bottom:1px solid var(--kcore-line) !important;
}
.workreport-a4 .wr-cell{
  grid-template-columns:76px minmax(0,1fr) !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:2px 4px !important;
  border-right:1px solid var(--kcore-line) !important;
  border-bottom:1px solid var(--kcore-line) !important;
}
.workreport-a4 .wr-cell span{font-size:6.8px !important}
.workreport-a4 .wr-cell b{
  font-size:7.4px !important;
  line-height:1.15 !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}
.workreport-a4 .wr-box{
  width:100% !important;
  min-height:0 !important;
  border:1px solid var(--kcore-line) !important;
  border-top:0 !important;
}
.workreport-a4 .wr-box h3{
  margin:0 !important;
  padding:3px 5px !important;
  font-size:7.5px !important;
  border-bottom:1px solid var(--kcore-line) !important;
}
.workreport-a4 .wr-pre{
  min-height:11mm !important;
  padding:5px !important;
  font-size:7.3px !important;
  line-height:1.18 !important;
}
.workreport-a4 .wr-subtable table{
  width:100% !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
  font-size:7.2px !important;
}
.workreport-a4 .wr-subtable th,.workreport-a4 .wr-subtable td{
  padding:2px 3px !important;
  border:1px solid var(--kcore-line) !important;
  overflow-wrap:anywhere !important;
}
.workreport-a4 .wr-signature{
  width:100% !important;
  min-width:0 !important;
  display:grid !important;
  grid-template-columns:20mm 22mm minmax(0,1fr) minmax(0,1fr) !important;
  margin-top:4px !important;
  border-left:1px solid var(--kcore-line) !important;
  border-top:1px solid var(--kcore-line) !important;
}
.workreport-a4 .wr-signature>div{
  height:15mm !important;
  padding:3px !important;
  border-right:1px solid var(--kcore-line) !important;
  border-bottom:1px solid var(--kcore-line) !important;
}
.workreport-a4 .wr-signature span{font-size:6.8px !important}
.workreport-a4 .wr-signature b{font-size:7.4px !important;margin-top:auto !important}
.workreport-a4 .wr-footer-print{
  width:100% !important;
  margin-top:auto !important;
  display:grid !important;
  grid-template-columns:1.25fr .7fr 1fr !important;
  gap:8px !important;
  padding-top:3px !important;
  border-top:1px solid var(--kcore-turquoise) !important;
  font-size:7px !important;
  line-height:1.12 !important;
}
.workreport-a4.continuation-report{margin-top:16px !important}
@media print{
  @page{size:A4 portrait;margin:10mm}
  html,body{width:auto !important;height:auto !important;background:#fff !important}
  body{margin:0 !important}
  .sidebar,.topbar,.no-print,.notice,.global-footer{display:none !important}
  .main{margin:0 !important;padding:0 !important;width:auto !important}
  .workreport-a4.designer-report{
    width:190mm !important;
    max-width:190mm !important;
    min-width:190mm !important;
    min-height:277mm !important;
    height:277mm !important;
    margin:0 !important;
    padding:7mm !important;
    overflow:hidden !important;
    box-shadow:none !important;
    border:0 !important;
    page-break-after:always !important;
    break-after:page !important;
  }
  .workreport-a4.designer-report:last-of-type{
    page-break-after:auto !important;
    break-after:auto !important;
  }
  .workreport-a4.continuation-report{margin-top:0 !important}
}


/* Update V3.8 – Feinschliff Arbeitsbericht */
.workreport-a4 .wr-logo-area img{
  max-width:32.5mm !important;
  max-height:9.6mm !important;
}
.workreport-a4 .wr-header-barcode{
  width:34mm !important;
  height:8.5mm !important;
  top:6.2mm !important;
}
.workreport-a4 .wr-header-barcode .barcode-svg{
  width:34mm !important;
  max-width:34mm !important;
  height:8.5mm !important;
}
.workreport-a4 .wr-subtable th{
  font-size:7px !important;
  font-weight:700 !important;
  padding:2px 3px !important;
}
.workreport-a4 .wr-subtable td{
  font-size:7.2px !important;
  padding:2px 3px !important;
}
.wr-edit-form{
  padding:8px !important;
}
.wr-edit-form .grid{
  gap:7px !important;
}
.wr-edit-form label,
.material-form label{
  font-size:10px !important;
}
.report-date-field{
  max-width:150px !important;
}
.compact-report-date{
  width:138px !important;
  min-height:28px !important;
  padding:4px 6px !important;
  font-size:11px !important;
}
.report-text-field{
  max-width:760px !important;
}
.compact-report-text{
  width:100% !important;
  max-width:760px !important;
  min-height:78px !important;
  resize:both !important;
  padding:6px !important;
  font-size:11px !important;
}
.btn.btn-compact{
  padding:7px 10px !important;
  font-size:11px !important;
  border-radius:7px !important;
}
.compact-material-form{
  grid-template-columns:minmax(200px,1.8fr) 100px 100px 120px !important;
  gap:7px !important;
  padding:8px !important;
}
.compact-material-form input{
  min-height:28px !important;
  padding:4px 6px !important;
  font-size:11px !important;
}
.material-notes-field{
  max-width:760px !important;
}
.wr-footer-print{
  align-items:end !important;
}
.wr-footer-print>div:first-child{
  align-self:end !important;
}
.wr-footer-print .page-counter:after{
  content:none !important;
  display:none !important;
}
.page-counter:after{
  content:none !important;
  display:none !important;
}
@media print{
  .global-footer,
  .global-footer *,
  .sidebar,
  .sidebar *,
  .topbar,
  .topbar *,
  .report-select-panel,
  .workreport-toolbar,
  .wr-edit-form,
  .material-form,
  .notice,
  .actions.no-print,
  .no-print{
    display:none !important;
  }
  .main{
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }
  .main > *:not(.designer-report){
    display:none !important;
  }
  .workreport-a4.designer-report{
    display:flex !important;
  }
}

.page-counter:after,.wr-footer-print .page-counter:after{content:none!important;display:none!important}


/* Update V3.9 – Arbeitsbericht Druckbereinigung und Lesbarkeit */
.workreport-a4.designer-report{
  font-size:9px !important;
}
.workreport-a4 .wr-logo-area img{
  max-width:39mm !important;
  max-height:11.5mm !important;
}
.workreport-a4 .wr-document-header{
  grid-template-columns:46mm minmax(0,1fr) 46mm !important;
  min-height:19mm !important;
}
.workreport-a4 .wr-header-barcode{
  width:41mm !important;
  height:10.2mm !important;
  top:7.2mm !important;
}
.workreport-a4 .wr-header-barcode .barcode-svg{
  width:41mm !important;
  max-width:41mm !important;
  height:10.2mm !important;
}
.workreport-a4 .wr-section-title{
  font-size:9px !important;
}
.workreport-a4 .wr-cell span{
  font-size:8px !important;
}
.workreport-a4 .wr-cell b{
  font-size:9px !important;
}
.workreport-a4 .wr-box h3{
  font-size:9px !important;
}
.workreport-a4 .wr-pre{
  font-size:9px !important;
}
.workreport-a4 .wr-subtable td{
  font-size:9px !important;
}
.workreport-a4 .wr-hours-table thead th{
  font-size:12px !important;
  line-height:1.05 !important;
  padding:4px 5px !important;
}
.wr-hours-total{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:10px !important;
  padding:5px 7px !important;
  border-top:1px solid var(--kcore-line) !important;
  background:#f2fafa !important;
  font-size:9px !important;
}
.wr-hours-total b{
  font-size:10px !important;
  white-space:nowrap !important;
}
.wr-edit-form .grid{
  grid-template-columns:1fr !important;
}
.report-text-field{
  max-width:760px !important;
}
.compact-report-text{
  width:100% !important;
  max-width:760px !important;
  min-height:78px !important;
  resize:both !important;
}
.wr-footer-print{
  align-items:end !important;
}
.wr-footer-print > div{
  align-self:end !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
}
.workreport-a4.designer-report.report-last{
  page-break-after:auto !important;
  break-after:auto !important;
}
@media print{
  body.printing-workreport .global-footer,
  body.printing-workreport .global-footer *,
  body:has(.designer-report) .global-footer,
  body:has(.designer-report) .global-footer *{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }
  body.printing-workreport .main > *:not(.designer-report),
  body:has(.designer-report) .main > *:not(.designer-report){
    display:none !important;
  }
  body.printing-workreport .designer-report,
  body:has(.designer-report) .designer-report{
    display:flex !important;
  }
  .workreport-a4.designer-report.report-last{
    page-break-after:auto !important;
    break-after:auto !important;
  }
}


/* Update V3.10 – Statuswerte Startseite entsprechen Aufträge */
.dashboard-status-caption{
  margin:5px 0 8px;
  color:#607e85;
  font-size:12px;
  font-weight:600;
}


/* Update V3.11 – einheitliche Jahresauswahl */
.orders-year-caption{
  margin:4px 0 8px;
  color:#607e85;
  font-size:12px;
  font-weight:700;
}


/* Update V3.12 – scanbarer Barcode und größeres Logo */
.workreport-a4 .wr-document-header{
  grid-template-columns:58mm minmax(0,1fr) 58mm !important;
  min-height:23mm !important;
}
.workreport-a4 .wr-logo-area{
  padding:2mm 3mm !important;
}
.workreport-a4 .wr-logo-area img{
  max-width:55mm !important;
  max-height:16mm !important;
}
.workreport-a4 .wr-doc-meta{
  min-height:20mm !important;
  padding:2mm !important;
}
.workreport-a4 .wr-header-barcode{
  width:53mm !important;
  height:13.3mm !important;
  top:7.5mm !important;
  right:1.5mm !important;
  overflow:visible !important;
}
.workreport-a4 .wr-header-barcode .barcode-svg{
  width:53mm !important;
  max-width:53mm !important;
  height:13.3mm !important;
  image-rendering:crisp-edges !important;
  shape-rendering:crispEdges !important;
}
@media print{
  .workreport-a4 .wr-header-barcode .barcode-svg{
    width:53mm !important;
    max-width:53mm !important;
    height:13.3mm !important;
  }
}


/* Update V3.13 – Wochenbericht Querformat, Archiv und Druck */
.weekly-actions{align-items:center;gap:8px}.weekly-save-info{font-size:12px}.weekly-day.weekly-print-page{display:flex;flex-direction:column;width:100%;min-height:0;margin:0 0 14px;padding:10px;background:#fff;border:1px solid #d6e6e8;border-radius:10px;box-shadow:0 5px 15px rgba(22,65,75,.05)}.weekly-print-page .weekly-header{border-bottom:1px solid var(--kcore-turquoise);margin-bottom:5px}.weekly-print-page .weekly-header h2{font-size:18px;margin:0 0 2px}.weekly-print-page .weekly-header strong,.weekly-print-page .weekly-header p{font-size:11px;margin:2px 0}.weekly-print-page .weekly-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.weekly-print-page .weekly-table th,.weekly-print-page .weekly-table td{border:1px solid #c1dddf;padding:3px 4px;font-size:8px;line-height:1.15;overflow-wrap:anywhere}.weekly-print-page .weekly-table th{background:#edf8f8}.weekly-print-page .weekly-total td{background:#e8f7f5;font-weight:700}.weekly-page-footer{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:4px;border-top:1px solid var(--kcore-turquoise);font-size:8px;color:#53757c}@media print{body.printing-weekly .sidebar,body.printing-weekly .topbar,body.printing-weekly .global-footer,body.printing-weekly .no-print{display:none!important}body.printing-weekly .main{margin:0!important;padding:0!important;width:auto!important;background:#fff!important}body.printing-weekly .main>*:not(.weekly-print-page){display:none!important}body.printing-weekly .weekly-day.weekly-print-page{display:flex!important;width:283mm!important;height:196mm!important;min-height:196mm!important;max-height:196mm!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;page-break-after:always!important;break-after:page!important}body.printing-weekly .weekly-day.weekly-print-page.weekly-last-page{page-break-after:auto!important;break-after:auto!important}body.printing-weekly .weekly-print-wrap{overflow:visible!important}body.printing-weekly .weekly-table{width:100%!important;min-width:0!important;table-layout:fixed!important}body.printing-weekly .weekly-table th,body.printing-weekly .weekly-table td{padding:0 1.2px!important;font-size:var(--wk-base-font)!important;line-height:1!important}body.printing-weekly .weekly-header h2{font-size:15px!important}body.printing-weekly .weekly-header strong,body.printing-weekly .weekly-header p{font-size:9px!important}body.printing-weekly .weekly-page-footer{font-size:7px!important}}


/* Update V3.14 – Wochenbericht Statuslogik */
.weekly-status-info{
  margin-bottom:8px;
  border-left:4px solid var(--kcore-turquoise);
  font-size:12px;
}


/* Update V3.15 – Wochenbericht Arbeitszeitmodell */
.weekly-worktime-info{
  margin-bottom:8px;
  border-left:4px solid #4e9f75;
  font-size:12px;
}
.weekly-model-note{
  color:#54747b;
  font-size:8px!important;
}
.weekly-total span{
  display:inline-block;
  margin-top:2px;
  font-size:7px;
  font-weight:500;
  color:#42666d;
}
@media print{
  body.printing-weekly .weekly-model-note{font-size:7px!important}
}


/* Update V3.16 – Wochenbericht Layout Feinschliff */
.weekly-print-page .weekly-table{
  table-layout:fixed!important;
}
.weekly-print-page .weekly-table th,
.weekly-print-page .weekly-table td{
  padding:1px 2px!important;
  font-size:8px!important;
  line-height:1.0!important;
  vertical-align:middle!important;
}
.weekly-print-page .weekly-table th{
  font-size:8.5px!important;
  font-weight:700!important;
}
.weekly-print-page .weekly-table td:nth-child(11),
.weekly-print-page .weekly-table th:nth-child(11){
  font-size:8px!important;
}
.weekly-day-total td{
  background:#f4fbfb!important;
  font-weight:700!important;
  border-top:1px solid #8fc7c9!important;
}
.weekly-total td{
  background:#dff4f2!important;
  font-weight:800!important;
  border-top:1px solid #5aa6a8!important;
}
.weekly-table .wk-col-knid{width:5%}
.weekly-table .wk-col-contact{width:8%}
.weekly-table .wk-col-sap{width:3%}
.weekly-table .wk-col-request{width:5%}
.weekly-table .wk-col-order{width:6%}
.weekly-table .wk-col-notification{width:5%}
.weekly-table .wk-col-cost{width:5%}
.weekly-table .wk-col-pos{width:3%}
.weekly-table .wk-col-area{width:6%}
.weekly-table .wk-col-description{width:31%}
.weekly-table .wk-col-status{width:5%}
.weekly-table .wk-col-employee{width:4%}
@media print{
  body.printing-weekly .weekly-table th,
  body.printing-weekly .weekly-table td{
    padding:1px 1.5px!important;
    font-size:7.6px!important;
    line-height:.95!important;
  }
  body.printing-weekly .weekly-table th{
    font-size:8.2px!important;
  }
  body.printing-weekly .weekly-table td:nth-child(11),
  body.printing-weekly .weekly-table th:nth-child(11){
    font-size:7.6px!important;
  }
}


/* Update V3.17 – Stunden: Admin löschen und Summen oberhalb */
.hours-summary-panel{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:0 0 10px;
}
.hours-summary-panel article{
  background:#fff;
  border:1px solid #d7e8ea;
  border-left:5px solid var(--kcore-turquoise);
  border-radius:10px;
  padding:10px 12px;
  box-shadow:0 5px 14px rgba(22,65,75,.04);
}
.hours-summary-panel span{
  display:block;
  color:#607e85;
  font-size:12px;
  margin-bottom:4px;
}
.hours-summary-panel b{
  display:block;
  color:#173741;
  font-size:20px;
}
.hours-employee-summary{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 12px;
}
.hours-employee-summary article{
  display:flex;
  gap:8px;
  align-items:center;
  background:#fff;
  border:1px solid #d7e8ea;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
}
.hours-employee-summary article.inactive{
  opacity:.55;
}
.hours-employee-summary strong{
  color:#173741;
}
.hours-employee-summary span{
  color:#607e85;
}
.mini-delete{
  border:0;
  border-radius:6px;
  padding:4px 7px;
  background:#cf3d34;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  line-height:1;
}
.mini-delete:hover{filter:brightness(.95)}
.excel-grid .summary-row,
.excel-grid .summary-name-row{
  display:none!important;
}
@media(max-width:1000px){
  .hours-summary-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Update V3.18 – Stunden-Gesamtübersicht als eigene Tabelle */
.hours-overview-panel{
  margin:0 0 12px;
  padding:0;
  overflow:hidden;
}
.hours-overview-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:13px 15px 10px;
  border-bottom:1px solid #d7e8ea;
  background:linear-gradient(180deg,#ffffff 0%,#f6fbfb 100%);
}
.hours-overview-head h2{
  margin:0;
  color:#173741;
  font-size:18px;
}
.hours-overview-head p{
  margin:3px 0 0;
  color:#607e85;
  font-size:12px;
}
.hours-overview-wrap{
  width:100%;
  overflow:auto;
}
.hours-overview-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  table-layout:fixed;
}
.hours-overview-table col{
  width:15%;
}
.hours-overview-table .hours-overview-col-name{
  width:25%;
}
.hours-overview-table th,
.hours-overview-table td{
  border-right:1px solid #d7e8ea;
  border-bottom:1px solid #d7e8ea;
  padding:10px 12px;
  text-align:center;
  vertical-align:middle;
  font-size:13px;
}
.hours-overview-table th:last-child,
.hours-overview-table td:last-child{
  border-right:0;
}
.hours-overview-table thead th{
  background:#e9f5f5;
  color:#285a61;
  font-weight:800;
}
.hours-overview-table tbody td{
  background:#fff;
  color:#24464d;
}
.hours-overview-table tbody tr:nth-child(even) td{
  background:#fbfefe;
}
.hours-overview-table .hours-overview-name{
  text-align:left;
  font-weight:700;
  color:#173741;
}
.hours-overview-table tfoot th{
  background:#dff4f2;
  color:#173741;
  font-weight:900;
  border-top:2px solid var(--kcore-turquoise);
}
.hours-overview-table .inactive-employee-row{
  opacity:.58;
}
@media(max-width:900px){
  .hours-overview-table{
    min-width:680px;
  }
}


/* Update V3.19 – Wochenbericht Schrift und Anlagenbereich */
.weekly-print-page .weekly-table th,
.weekly-print-page .weekly-table td{
  font-size:10px!important;
}
.weekly-print-page .weekly-table th{
  font-size:8.5px!important;
}
.weekly-print-page .weekly-table td:nth-child(11),
.weekly-print-page .weekly-table th:nth-child(11){
  font-size:8px!important;
}
.weekly-table .wk-col-area{
  width:7.2%!important;
}
.weekly-table .wk-col-description{
  width:29.8%!important;
}
@media print{
  body.printing-weekly .weekly-table th,
  body.printing-weekly .weekly-table td{
    font-size:9.6px!important;
  }
  body.printing-weekly .weekly-table th{
    font-size:8px!important;
  }
  body.printing-weekly .weekly-table td:nth-child(11),
  body.printing-weekly .weekly-table th:nth-child(11){
    font-size:7.6px!important;
  }
}


/* Update V3.20 – Wochenbericht nach Excel-Vorlage und Editor */
.weekly-editor-intro{border-left:5px solid #70AD47}
.weekly-width-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px
}
.weekly-day.weekly-print-page{
 margin:0 0 14px;padding:10px;background:#fff;border:1px solid #d6e6e8;
 border-radius:8px;box-shadow:0 5px 15px rgba(22,65,75,.05)
}
@media(max-width:1000px){
 .weekly-width-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{
 body.printing-weekly .sidebar,
 body.printing-weekly .topbar,
 body.printing-weekly .global-footer,
 body.printing-weekly .no-print{display:none!important}
 body.printing-weekly .main{margin:0!important;padding:0!important;width:auto!important;background:#fff!important}
 body.printing-weekly .main>*:not(.weekly-print-page){display:none!important}
 body.printing-weekly .weekly-day.weekly-print-page{
  display:flex!important;width:283mm!important;height:196mm!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:hidden!important
 }
}


/* Update V3.21 – kompakte Stunden-Gesamtübersicht */
.hours-overview-panel{
  margin-bottom:8px!important;
}
.hours-overview-head{
  padding:7px 10px 6px!important;
}
.hours-overview-head h2{
  font-size:14px!important;
}
.hours-overview-head p{
  margin-top:2px!important;
  font-size:9px!important;
}
.hours-overview-table{
  min-width:680px!important;
}
.hours-overview-table th,
.hours-overview-table td{
  padding:3px 5px!important;
  font-size:8px!important;
  line-height:1!important;
  height:20px!important;
}
.hours-overview-table thead th{
  font-size:8px!important;
}
.hours-overview-table .hours-overview-name{
  font-size:8px!important;
}
.hours-overview-table tfoot th{
  padding:4px 5px!important;
  font-size:8px!important;
}

/* farbliche Kennzeichnung je Spalte */
.hours-overview-table thead th:nth-child(2),
.hours-overview-table tbody td:nth-child(2),
.hours-overview-table tfoot th:nth-child(2){
  background:#EAF6FF!important;
}
.hours-overview-table thead th:nth-child(3),
.hours-overview-table tbody td:nth-child(3),
.hours-overview-table tfoot th:nth-child(3){
  background:#EEF8EA!important;
}
.hours-overview-table thead th:nth-child(4),
.hours-overview-table tbody td:nth-child(4),
.hours-overview-table tfoot th:nth-child(4){
  background:#F4ECFF!important;
}
.hours-overview-table thead th:nth-child(5),
.hours-overview-table tbody td:nth-child(5),
.hours-overview-table tfoot th:nth-child(5){
  background:#FFF8E6!important;
}
.hours-overview-table thead th:nth-child(6),
.hours-overview-table tbody td:nth-child(6),
.hours-overview-table tfoot th:nth-child(6){
  background:#FDEEEE!important;
}
.hours-overview-table tfoot th{
  border-top:1.5px solid var(--kcore-turquoise)!important;
  font-weight:800!important;
}


/* Update V3.22 – Wochenbericht Statusanzeige kompakt */
.weekly-print-page .weekly-table td:nth-child(11),
.weekly-print-page .weekly-table th:nth-child(11){
  font-size:var(--wk-base-font)!important;
}
.weekly-print-page .weekly-table td:nth-child(11) .badge,
.weekly-print-page .weekly-table td:nth-child(11) .status-badge,
.weekly-print-page .weekly-table td:nth-child(11) span{
  display:inline-block!important;
  min-width:0!important;
  max-width:100%!important;
  padding:1px 3px!important;
  border-radius:4px!important;
  font-size:inherit!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:normal!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media print{
  body.printing-weekly .weekly-table td:nth-child(11),
  body.printing-weekly .weekly-table th:nth-child(11){
    font-size:var(--wk-base-font)!important;
  }
  body.printing-weekly .weekly-table td:nth-child(11) .badge,
  body.printing-weekly .weekly-table td:nth-child(11) .status-badge,
  body.printing-weekly .weekly-table td:nth-child(11) span{
    padding:1px 2px!important;
    border-radius:3px!important;
    font-size:inherit!important;
    line-height:1!important;
  }
}


/* Update V3.23 – Wochenbericht allgemeine Schriftgröße 10 */
.weekly-print-page{
  --wk-base-font:10px!important;
}
.weekly-print-page .weekly-table td{
  font-size:10px!important;
}
.weekly-print-page .weekly-table td:nth-child(11){
  font-size:10px!important;
}
.weekly-print-page .weekly-day-total td,
.weekly-print-page .weekly-total td{
  font-size:10px!important;
}
.weekly-print-page .weekly-page-footer{
  font-size:10px!important;
}
/* Überschriften bleiben separat kompakt */
.weekly-print-page .weekly-table th{
  font-size:8.5px!important;
}
.weekly-print-page .weekly-excel-title{
  font-size:18px!important;
}
@media print{
  body.printing-weekly .weekly-table td,
  body.printing-weekly .weekly-table td:nth-child(11),
  body.printing-weekly .weekly-day-total td,
  body.printing-weekly .weekly-total td,
  body.printing-weekly .weekly-page-footer{
    font-size:10px!important;
  }
  body.printing-weekly .weekly-table th{
    font-size:8.5px!important;
  }
}


/* Update V3.25 – Fabontec Intro vor Login */
.login-page{
  min-height:100vh;
  overflow:hidden;
}
.login-after-intro{
  opacity:0;
  transform:translateY(12px) scale(.985);
  transition:opacity .65s ease,transform .65s ease;
}
.intro-finished .login-after-intro,
.login-page:not(.intro-running) .login-after-intro{
  opacity:1;
  transform:none;
}
.fabontec-intro{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 50%,rgba(0,165,170,.11),transparent 38%),
    linear-gradient(180deg,#07151a 0%,#020608 100%);
  animation:fabontecIntroFade 3.4s ease forwards;
}
.fabontec-intro-lines{
  position:absolute;
  inset:-10%;
  display:flex;
  justify-content:center;
  gap:28px;
  transform:skewX(-14deg);
  filter:blur(.2px);
}
.fabontec-intro-lines span{
  width:5px;
  height:140%;
  background:linear-gradient(180deg,transparent 0%,rgba(0,208,208,.08) 26%,rgba(0,208,208,.9) 50%,rgba(255,255,255,.7) 52%,rgba(0,208,208,.12) 76%,transparent 100%);
  box-shadow:0 0 18px rgba(0,208,208,.55),0 0 42px rgba(0,208,208,.25);
  transform:translateY(-120%);
  animation:fabontecLineSweep 1.9s cubic-bezier(.2,.72,.16,1) forwards;
}
.fabontec-intro-lines span:nth-child(2){animation-delay:.08s;opacity:.7}
.fabontec-intro-lines span:nth-child(3){animation-delay:.16s;opacity:1}
.fabontec-intro-lines span:nth-child(4){animation-delay:.24s;opacity:.7}
.fabontec-intro-lines span:nth-child(5){animation-delay:.32s;opacity:.45}
.fabontec-intro-logo{
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
  letter-spacing:.18em;
  text-shadow:0 0 18px rgba(0,224,224,.45),0 0 40px rgba(0,224,224,.22);
  animation:fabontecLogoReveal 2.6s ease forwards;
}
.fabontec-intro-word{
  font-size:clamp(42px,8vw,112px);
  font-weight:900;
  letter-spacing:.12em;
  background:linear-gradient(90deg,#8ff,#fff,#7ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.fabontec-intro-sub{
  margin-top:10px;
  font-size:clamp(10px,1.8vw,18px);
  font-weight:700;
  letter-spacing:.42em;
  color:rgba(216,255,255,.84);
}
.fabontec-intro.intro-hide{
  pointer-events:none;
  opacity:0;
  transition:opacity .7s ease;
}
@keyframes fabontecLineSweep{
  0%{transform:translateY(-120%) scaleY(.6);opacity:0}
  20%{opacity:1}
  100%{transform:translateY(5%) scaleY(1);opacity:.2}
}
@keyframes fabontecLogoReveal{
  0%{opacity:0;transform:scale(.88);filter:blur(16px)}
  38%{opacity:1;transform:scale(1.02);filter:blur(1px)}
  100%{opacity:1;transform:scale(1);filter:blur(0)}
}
@keyframes fabontecIntroFade{
  0%,78%{opacity:1}
  100%{opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .fabontec-intro{animation:none}
  .fabontec-intro-lines{display:none}
  .fabontec-intro-logo{animation:none}
}


/* Update V3.26 – Intro immer anzeigen + Sound */
.login-page{
  min-height:100vh;
}
.login-page.intro-running{
  overflow:hidden!important;
}
.login-page.intro-running .login-after-intro{
  pointer-events:none!important;
  user-select:none!important;
}
.fabontec-intro{
  cursor:default;
}
.fabontec-intro::after{
  content:"Intro wird geladen …";
  position:absolute;
  bottom:34px;
  left:50%;
  transform:translateX(-50%);
  font-size:12px;
  letter-spacing:.18em;
  color:rgba(225,255,255,.68);
  text-transform:uppercase;
}
.fabontec-intro-logo{
  animation:fabontecLogoReveal 2.6s ease forwards, fabontecPulse 2.2s ease-in-out .8s 1;
}
@keyframes fabontecPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.03)}
}


/* Update V3.27 – Login-Hintergrund, Standardgerät, Live-Ticker und 3D-Status */
.login-page{
 background:
  radial-gradient(circle at 50% 42%,rgba(0,165,170,.16),transparent 38%),
  linear-gradient(180deg,#07151a 0%,#020608 100%)!important;
}
.login-after-intro,
.login-after-intro label,
.login-after-intro input,
.login-after-intro button,
.login-after-intro p,
.login-after-intro .login-footer{font-size:10px!important}
.login-after-intro h1{font-size:22px!important}
.trusted-login-form{margin:0 0 10px}
.trusted-login-btn{width:100%}
.login-separator{text-align:center;font-size:10px;color:#7fa1a7;margin:7px 0}
.trusted-offer{max-width:760px}
.invite-link{display:block;overflow-wrap:anywhere;white-space:normal}

.status-chart-3d .chart-track{perspective:420px;overflow:visible}
.status-chart-3d .chart-bar{
 position:relative;transform:rotateX(-7deg);transform-origin:left center;
 box-shadow:0 6px 0 rgba(13,74,78,.26),0 10px 18px rgba(13,74,78,.18)
}
.status-chart-3d .chart-bar:after{
 content:"";position:absolute;right:-8px;top:3px;width:8px;height:100%;
 background:rgba(9,89,94,.36);transform:skewY(-35deg);transform-origin:left top
}

.ticker-auth-page{
 min-height:100vh;display:grid;place-items:center;padding:20px;
 background:radial-gradient(circle at 50% 30%,rgba(0,188,188,.16),transparent 38%),#041014;
 color:#dff
}
.ticker-auth-card{
 width:min(720px,96vw);padding:24px;border:1px solid rgba(75,221,221,.28);
 border-radius:14px;background:rgba(7,27,32,.94);box-shadow:0 20px 50px rgba(0,0,0,.4)
}
.ticker-auth-card h1{margin-top:0;color:#aaffff}
.ticker-secret{padding:12px;border:1px dashed #56bbbb;background:#031316;color:#bfffff;font-family:monospace;font-size:18px;letter-spacing:.1em;overflow-wrap:anywhere}

.ticker-board-page{margin:0;min-height:100vh;background:#02080a;color:#ddffff;font-family:Arial,sans-serif}
.ticker-board-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 22px;border-bottom:1px solid #207e82;background:#06171b}
.ticker-board-head h1{margin:0;font-size:24px;letter-spacing:.12em;color:#8fffff;text-shadow:0 0 16px rgba(0,255,255,.35)}
.ticker-board-head p{margin:4px 0 0;color:#87aeb1;font-size:12px}
.ticker-board-head a{color:#bff;text-decoration:none}
.ticker-board-wrap{overflow:auto;padding:12px}
.ticker-board-table{min-width:1900px;width:100%;border-collapse:collapse;table-layout:auto}
.ticker-board-table th,.ticker-board-table td{border:1px solid #17484c;padding:7px 8px;font-size:11px;vertical-align:top}
.ticker-board-table th{position:sticky;top:0;background:#0c2b30;color:#9fffff;text-transform:uppercase;font-size:10px;letter-spacing:.06em}
.ticker-board-table tbody tr:nth-child(even){background:#061316}
.ticker-status{display:inline-block;padding:4px 7px;border-radius:4px;font-weight:800;white-space:nowrap}
.ticker-working{color:#ffd25a;border:1px solid #d79e22;background:#3d2c07;animation:tickerBlink 1.1s steps(2,start) infinite}
.ticker-finished{color:#bfffc5;border:1px solid #45bb61;background:#0b3617}
.ticker-other{color:#bde9ed;border:1px solid #407b80;background:#10282b}
.ticker-report-ready{color:#adffb6}.ticker-report-open{color:#ffd575}
@keyframes tickerBlink{50%{opacity:.35}}


/* Update V3.28 – Live-Ticker Admin-Vorschau */
.ticker-admin-toolbar{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.ticker-admin-toolbar h2{margin-top:0}
.ticker-admin-toolbar-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.ticker-admin-links{
  display:flex;
  gap:14px;
  align-items:center;
}
.ticker-preview-filter{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  padding:10px 12px;
  border-bottom:1px solid #17484c;
  background:#06171b;
}
.ticker-preview-filter select{
  background:#0c2b30;
  color:#dff;
  border:1px solid #2b7378;
  border-radius:6px;
  padding:8px 9px;
}
.ticker-preview-count{
  color:#8fffff;
  font-size:12px;
  font-weight:700;
}


/* Update V3.29 – K-CORE Industrieservice */
.login-page{
 background:radial-gradient(circle at 50% 35%,rgba(0,190,190,.15),transparent 42%),linear-gradient(135deg,#06151a,#0a2328 58%,#031014)!important;
}
.login-after-intro{
 background:rgba(246,253,253,.82)!important;
 backdrop-filter:blur(16px);
 border:1px solid rgba(185,245,245,.52);
 box-shadow:0 18px 55px rgba(0,0,0,.34)
}
.fabontec-intro-lines{
 display:flex!important;flex-direction:column!important;gap:22px!important;inset:0!important;
 align-items:flex-start!important;justify-content:center!important;transform:none!important
}
.fabontec-intro-lines span{
 width:140%!important;height:5px!important;
 background:linear-gradient(90deg,transparent 0%,rgba(0,208,208,.08) 22%,rgba(0,208,208,.94) 49%,rgba(255,255,255,.75) 51%,rgba(0,208,208,.16) 77%,transparent 100%)!important;
 transform:translateX(-125%)!important;
 animation:fabontecHorizontalSweep 1.9s cubic-bezier(.2,.72,.16,1) forwards!important
}
@keyframes fabontecHorizontalSweep{0%{transform:translateX(-125%);opacity:0}20%{opacity:1}100%{transform:translateX(-4%);opacity:.28}}
.cookie-notice{
 position:fixed;z-index:120000;left:18px;right:18px;bottom:18px;display:flex;justify-content:space-between;gap:18px;align-items:center;
 padding:15px 17px;border-radius:14px;background:rgba(5,24,29,.96);color:#eaffff;border:1px solid rgba(83,221,221,.38);box-shadow:0 15px 45px rgba(0,0,0,.32)
}
.cookie-notice p{margin:4px 0;font-size:12px}.cookie-notice a{color:#9fffff;font-size:12px}
.legal-public-page{min-height:100vh;padding:25px;background:#07171b;color:#173741}
.legal-public-card{max-width:900px;margin:0 auto;padding:24px;background:#fff;border-radius:16px}
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.hub-grid a{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid #cfe3e5;border-radius:12px;background:#fff;text-decoration:none;color:#173741;box-shadow:0 5px 14px rgba(22,65,75,.05)}
.hub-grid span{font-size:12px;color:#648087}
.module-detail{max-width:1000px}.module-notes{min-height:180px;white-space:normal}
.update-success-page{min-height:100vh;display:grid;place-items:center;background:#eff6f8}
.update-success-card{max-width:680px;padding:28px;background:#fff;border-radius:16px;box-shadow:0 15px 40px rgba(0,0,0,.12)}


/* Update V3.30 – konfigurierbares Fabontec-Cinematic-Intro */
.fabontec-cinematic-intro{
 position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;
 background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--intro-primary) 13%,transparent),transparent 42%),var(--intro-bg);
 animation:introSceneFade var(--intro-duration) ease forwards
}
.fabontec-stage{position:relative;display:grid;place-items:center;width:min(90vw,880px);height:min(84vh,620px)}
fabontecintro{
 display:block;position:relative;width:270px;height:360px;overflow:visible;filter:drop-shadow(0 0 22px color-mix(in srgb,var(--intro-primary) 58%,transparent));
 animation:introEmblemZoom var(--intro-duration) cubic-bezier(.2,.72,.16,1) forwards
}
.intro-initial{
 position:absolute;inset:0;display:grid;place-items:center;font-size:330px;line-height:1;font-weight:1000;
 font-family:Arial Black,Arial,sans-serif;color:var(--intro-primary);opacity:.92;
 text-shadow:0 0 14px var(--intro-primary),0 0 42px color-mix(in srgb,var(--intro-primary) 72%,transparent);
 transform:scaleX(.7);animation:introInitialReveal var(--intro-duration) ease forwards
}
.intro-helper{position:absolute;inset:0;overflow:hidden;mix-blend-mode:screen}
.intro-helper.helper-a{transform:skewX(-16deg) translateX(-15%)}
.intro-helper.helper-b{transform:skewX(18deg) translateX(15%)}
.intro-helper.helper-c{transform:scaleX(.34)}
.intro-brush{position:absolute;inset:-10%;display:flex;gap:4px;justify-content:center}
.intro-brush span{
 display:block;width:5px;height:125%;opacity:0;
 background:linear-gradient(180deg,transparent 0%,var(--intro-secondary) 20%,var(--intro-primary) 50%,var(--intro-secondary) 78%,transparent 100%);
 box-shadow:0 0 10px var(--intro-primary),0 0 22px color-mix(in srgb,var(--intro-primary) 65%,transparent);
 animation:introBrushSweep calc(var(--intro-duration) * .72) cubic-bezier(.18,.8,.16,1) forwards;
 animation-delay:calc(var(--i) * 22ms)
}
.intro-lumieres{position:absolute;inset:-20%;display:flex;gap:5px;align-items:center;justify-content:center;overflow:hidden;mix-blend-mode:screen}
.intro-lumieres span{
 display:block;width:4px;height:160%;opacity:0;transform:translateX(-380px) rotate(14deg);
 background:linear-gradient(180deg,transparent,var(--intro-secondary),var(--intro-primary),transparent);
 box-shadow:0 0 15px var(--intro-primary);
 animation:introLumieres calc(var(--intro-duration) * .78) ease-out forwards;
 animation-delay:calc(var(--i) * 18ms)
}
.fabontec-wordmark{
 position:absolute;bottom:46px;display:flex;flex-direction:column;align-items:center;gap:8px;
 text-align:center;color:#fff;opacity:0;transform:translateY(18px);
 animation:introWordmarkReveal var(--intro-duration) ease forwards
}
.fabontec-wordmark strong{
 font-size:clamp(42px,8vw,104px);font-weight:1000;letter-spacing:.14em;
 background:linear-gradient(90deg,var(--intro-primary),#fff,var(--intro-secondary));background-clip:text;-webkit-background-clip:text;color:transparent;
 text-shadow:0 0 24px color-mix(in srgb,var(--intro-primary) 35%,transparent)
}
.fabontec-wordmark small{font-size:clamp(10px,1.8vw,17px);letter-spacing:.4em;color:color-mix(in srgb,var(--intro-secondary) 85%,white)}
.intro-sound-enable{
 position:absolute;bottom:22px;right:22px;border:1px solid color-mix(in srgb,var(--intro-primary) 60%,white);background:rgba(0,0,0,.42);color:#fff;
 border-radius:999px;padding:8px 13px;font-size:11px;cursor:pointer
}
.fabontec-cinematic-intro.intro-hide{opacity:0;pointer-events:none;transition:opacity .8s ease}
@keyframes introBrushSweep{0%{opacity:0;transform:translateY(-125%) scaleY(.55)}24%{opacity:1}100%{opacity:.14;transform:translateY(8%) scaleY(1)}}
@keyframes introLumieres{0%{opacity:0;transform:translateX(-420px) rotate(14deg)}28%{opacity:.95}100%{opacity:.06;transform:translateX(410px) rotate(14deg)}}
@keyframes introInitialReveal{0%{opacity:0;filter:blur(24px);transform:scale(.74) scaleX(.7)}30%{opacity:1;filter:blur(1px)}72%{opacity:.96}100%{opacity:0;filter:blur(9px);transform:scale(1.55) scaleX(.7)}}
@keyframes introEmblemZoom{0%,58%{transform:scale(.84)}100%{transform:scale(1.52)}}
@keyframes introWordmarkReveal{0%,44%{opacity:0;transform:translateY(18px);filter:blur(10px)}62%,86%{opacity:1;transform:none;filter:blur(0)}100%{opacity:0;transform:scale(1.06);filter:blur(4px)}}
@keyframes introSceneFade{0%,84%{opacity:1}100%{opacity:0}}
.login-page.intro-running .login-after-intro{pointer-events:none!important;opacity:0!important}
.intro-settings-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){fabontecintro{width:190px;height:270px}.intro-initial{font-size:245px}.fabontec-wordmark{bottom:80px}}


/* Update V3.31 – Live-Ticker Knierzinger-Türkis und Status-Editor */
.ticker-board-page{
 background:var(--ticker-page-bg,#E8F7F7)!important;
 color:var(--ticker-body-text,#14383A)!important;
}
.ticker-board-head{
 background:var(--ticker-header-bg,#0B6F73)!important;
 border-bottom:1px solid var(--ticker-border,#71B9BC)!important;
}
.ticker-board-head h1,
.ticker-board-head p,
.ticker-board-head a{
 color:var(--ticker-header-text,#EFFFFF)!important;
}
.ticker-board-wrap{background:var(--ticker-page-bg,#E8F7F7)!important}
.ticker-board-table{
 min-width:1900px!important;
 background:var(--ticker-row-odd,#D7F1F1)!important;
 color:var(--ticker-body-text,#14383A)!important;
}
.ticker-board-table th,
.ticker-board-table td{
 border:1px solid var(--ticker-border,#71B9BC)!important;
 padding:var(--ticker-cell-padding-y,7px) 8px!important;
 font-size:var(--ticker-font-size,11px)!important;
 color:var(--ticker-body-text,#14383A)!important;
}
.ticker-board-table th{
 background:var(--ticker-table-header-bg,#0E8589)!important;
 color:var(--ticker-table-header-text,#F4FFFF)!important;
 font-size:var(--ticker-header-font-size,10px)!important;
}
.ticker-board-table tbody tr:nth-child(odd){background:var(--ticker-row-odd,#D7F1F1)!important}
.ticker-board-table tbody tr:nth-child(even){background:var(--ticker-row-even,#BFE4E4)!important}
.ticker-board-table tbody tr:hover{filter:brightness(.96)}
.ticker-preview-filter{
 background:var(--ticker-header-bg,#0B6F73)!important;
 border-bottom:1px solid var(--ticker-border,#71B9BC)!important;
}
.ticker-preview-filter select{
 background:var(--ticker-row-even,#BFE4E4)!important;
 color:var(--ticker-body-text,#14383A)!important;
 border:1px solid var(--ticker-border,#71B9BC)!important;
}
.ticker-preview-count{color:var(--ticker-header-text,#EFFFFF)!important}
.ticker-status{
 color:var(--ticker-status-text,#EFFFFF)!important;
 background:var(--ticker-status-bg,#167B80)!important;
 border:1px solid var(--ticker-status-border,#91EBEE)!important;
 box-shadow:0 0 0 1px rgba(255,255,255,.14) inset,0 0 10px color-mix(in srgb,var(--ticker-status-border) 30%,transparent);
}
.ticker-mode-static{animation:none!important}
.ticker-mode-slow{animation:tickerBlinkSlow 2s steps(2,start) infinite!important}
.ticker-mode-normal{animation:tickerBlinkNormal 1.1s steps(2,start) infinite!important}
.ticker-mode-fast{animation:tickerBlinkFast .55s steps(2,start) infinite!important}
.ticker-mode-pulse{animation:tickerPulse 1.65s ease-in-out infinite!important}
.ticker-mode-terminal{animation:tickerTerminal 1.2s steps(3,start) infinite!important}
@keyframes tickerBlinkSlow{50%{opacity:.42}}
@keyframes tickerBlinkNormal{50%{opacity:.32}}
@keyframes tickerBlinkFast{50%{opacity:.2}}
@keyframes tickerPulse{0%,100%{opacity:1;filter:brightness(1)}50%{opacity:.62;filter:brightness(1.22)}}
@keyframes tickerTerminal{0%,62%{opacity:1}63%,78%{opacity:.28}79%,100%{opacity:1}}
.ticker-style-editor input[type=color]{width:54px;min-width:54px;height:34px;padding:2px}
.ticker-style-editor input[type=text],
.ticker-style-editor input:not([type]){min-width:130px}
.ticker-style-editor select{min-width:150px}


/* Update V3.32 – schwarze Arbeitsbericht-Schrift und Vollbild-Intro */
.ticker-report-ready,
.ticker-report-open{
 color:#000000!important;
 font-weight:800!important;
}
.fabontec-stage{
 width:100vw!important;
 height:100vh!important;
 max-width:none!important;
 max-height:none!important;
 overflow:hidden!important;
}
fabontecintro{
 width:min(48vw,720px)!important;
 height:min(82vh,900px)!important;
}
.intro-screen-glow{
 position:absolute;inset:-20%;pointer-events:none;
 background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--intro-primary) 28%,transparent),transparent 48%);
 animation:introFullscreenGlow var(--intro-duration) ease-in-out forwards
}
.intro-horizontal-rays,
.intro-vertical-rays{
 position:absolute;inset:0;overflow:hidden;pointer-events:none;mix-blend-mode:screen
}
.intro-horizontal-rays span{
 position:absolute;left:-30vw;top:calc(var(--i) * 5.5vh - 6vh);display:block;width:160vw;height:4px;opacity:0;
 background:linear-gradient(90deg,transparent,var(--intro-primary),var(--intro-secondary),transparent);
 box-shadow:0 0 18px var(--intro-primary);
 animation:introHorizontalRay calc(var(--intro-duration) * .78) ease-out forwards;
 animation-delay:calc(var(--i) * 40ms)
}
.intro-vertical-rays span{
 position:absolute;top:-30vh;left:calc(var(--i) * 5.5vw - 4vw);display:block;width:4px;height:160vh;opacity:0;
 background:linear-gradient(180deg,transparent,var(--intro-primary),var(--intro-secondary),transparent);
 box-shadow:0 0 18px var(--intro-primary);
 animation:introVerticalRay calc(var(--intro-duration) * .78) ease-out forwards;
 animation-delay:calc(var(--i) * 40ms)
}
.intro-preview-page{min-height:100vh;background:#07171b!important}
.intro-preview-after{min-height:100vh;display:grid;place-content:center;text-align:center;gap:8px;color:#dfffff}
@keyframes introFullscreenGlow{0%{opacity:.15;transform:scale(.72)}55%{opacity:1;transform:scale(1.08)}100%{opacity:.08;transform:scale(1.4)}}
@keyframes introHorizontalRay{0%{opacity:0;transform:translateX(-35vw)}22%{opacity:.92}100%{opacity:.05;transform:translateX(35vw)}}
@keyframes introVerticalRay{0%{opacity:0;transform:translateY(-35vh)}22%{opacity:.92}100%{opacity:.05;transform:translateY(35vh)}}

/* auswählbare Intro-Varianten */
.intro-variant-classic .intro-horizontal-rays,
.intro-variant-classic .intro-vertical-rays{opacity:.22}
.intro-variant-horizontal .intro-vertical-rays{display:none}
.intro-variant-horizontal .intro-horizontal-rays span{height:6px;animation-duration:calc(var(--intro-duration) * .9)}
.intro-variant-vertical .intro-horizontal-rays{display:none}
.intro-variant-vertical .intro-vertical-rays span{width:6px;animation-duration:calc(var(--intro-duration) * .9)}
.intro-variant-beams .intro-horizontal-rays span,
.intro-variant-beams .intro-vertical-rays span{opacity:.16;animation-duration:calc(var(--intro-duration) * 1.05)}
.intro-variant-beams .intro-lumieres span{width:8px;box-shadow:0 0 26px var(--intro-primary)}
.intro-variant-terminal .intro-horizontal-rays span{
 height:2px;animation:introTerminalScan calc(var(--intro-duration) * .95) linear forwards;
 animation-delay:calc(var(--i) * 24ms)
}
.intro-variant-terminal .intro-vertical-rays{display:none}
.intro-variant-terminal fabontecintro{filter:drop-shadow(0 0 12px var(--intro-primary))}
.intro-variant-minimal .intro-horizontal-rays,
.intro-variant-minimal .intro-vertical-rays,
.intro-variant-minimal .intro-helper{display:none}
.intro-variant-minimal fabontecintro{filter:drop-shadow(0 0 38px var(--intro-primary))}
.intro-variant-custom .intro-horizontal-rays,
.intro-variant-custom .intro-vertical-rays{opacity:.8}
@keyframes introTerminalScan{0%{opacity:0;transform:translateX(-25vw)}16%,84%{opacity:.72}100%{opacity:0;transform:translateX(35vw)}}
@media(max-width:700px){
 fabontecintro{width:min(72vw,430px)!important;height:min(74vh,620px)!important}
 .fabontec-wordmark strong{font-size:clamp(32px,11vw,66px)!important}
}


/* Update V3.33 – Stunden kompakt und Wochenbericht hochkant */
.hours-overview-table{
 width:540px!important;
 min-width:540px!important;
 table-layout:fixed!important;
}
.hours-overview-table .hours-overview-col-name{
 width:160px!important;
}
.hours-overview-table col:not(.hours-overview-col-name){
 width:76px!important;
}
.hours-overview-table th,
.hours-overview-table td,
.hours-overview-table .hours-overview-name,
.hours-overview-table tfoot th{
 font-size:10px!important;
 line-height:1!important;
 padding:3px 4px!important;
 height:22px!important;
}
.hours-overview-table th:not(:first-child),
.hours-overview-table td:not(:first-child){
 text-align:center!important;
}
.hours-template-grid,
.hours-template-grid th,
.hours-template-grid td,
.hours-template-grid input{
 font-size:10px!important;
}
.hours-template-grid .row-actions{
 white-space:normal!important;
}
.hours-template-grid .mini-save,
.hours-template-grid .mini-copy,
.hours-template-grid .mini-delete{
 font-size:9px!important;
 padding:2px 3px!important;
 margin:1px!important;
}

.weekly-print-page{
 --wk-base-font:12px!important;
 --wk-header-font:10.5px!important;
 --wk-status-font:12px!important;
}
.weekly-print-page .weekly-table td,
.weekly-print-page .weekly-table td:nth-child(11),
.weekly-print-page .weekly-day-total td,
.weekly-print-page .weekly-total td{
 font-size:12px!important;
}
.weekly-print-page .weekly-table thead th{
 height:34mm!important;
 padding:1px!important;
 text-align:center!important;
 vertical-align:middle!important;
}
.weekly-print-page .weekly-table thead th span{
 display:inline-block!important;
 writing-mode:vertical-rl!important;
 text-orientation:mixed!important;
 transform:rotate(180deg)!important;
 white-space:nowrap!important;
 line-height:1!important;
 font-size:10.5px!important;
 font-weight:700!important;
}
.weekly-print-page .weekly-table td:nth-child(1),
.weekly-print-page .weekly-table td:nth-child(5),
.weekly-print-page .weekly-table td:nth-child(6),
.weekly-print-page .weekly-table td:nth-child(7),
.weekly-print-page .weekly-table td:nth-child(8),
.weekly-print-page .weekly-table td:nth-child(n+12),
.weekly-print-page .weekly-day-total td:nth-child(n+12),
.weekly-print-page .weekly-total td:nth-child(n+12){
 text-align:center!important;
}
@media print{
 body.printing-weekly .weekly-table td,
 body.printing-weekly .weekly-table td:nth-child(11),
 body.printing-weekly .weekly-day-total td,
 body.printing-weekly .weekly-total td{
  font-size:12px!important;
 }
 body.printing-weekly .weekly-table thead th{
  height:34mm!important;
 }
 body.printing-weekly .weekly-table thead th span{
  font-size:10.5px!important;
 }
}


/* Update V3.34 – Live-Ticker Statusübersicht und Tablet-Terminal */
.ticker-summary{
 display:flex;
 flex-wrap:wrap;
 gap:10px;
 padding:12px;
 background:var(--ticker-page-bg,#E8F7F7);
 border-bottom:1px solid var(--ticker-border,#71B9BC);
}
.ticker-summary-card{
 min-width:140px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 padding:10px 12px;
 border-radius:8px;
 color:var(--ticker-status-text,#EFFFFF)!important;
 background:var(--ticker-status-bg,#167B80)!important;
 border:1px solid var(--ticker-status-border,#91EBEE)!important;
 box-shadow:0 2px 8px rgba(0,0,0,.12);
 font-weight:800;
}
.ticker-summary-card span{font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.ticker-summary-card b{font-size:22px;line-height:1}
.ticker-terminal-page .ticker-board-head h1{font-size:26px}
.ticker-terminal-page .ticker-summary-card{min-width:160px;padding:12px 14px}
.ticker-terminal-page .ticker-summary-card span{font-size:13px}
.ticker-terminal-page .ticker-summary-card b{font-size:26px}


/* Update V3.35 – Live-Ticker statische Übersicht und Wochenbericht volle A4-Querbreite */
.ticker-summary-card,
.ticker-summary-static{
 animation:none!important;
}
.ticker-summary-report-created{
 --ticker-status-text:#000000;
 --ticker-status-bg:#BDECC8;
 --ticker-status-border:#63B778;
 color:#000000!important;
}
.ticker-summary-report-open{
 --ticker-status-text:#000000;
 --ticker-status-bg:#FFE5A6;
 --ticker-status-border:#D3A63D;
 color:#000000!important;
}
.ticker-summary-report-created span,
.ticker-summary-report-created b,
.ticker-summary-report-open span,
.ticker-summary-report-open b{
 color:#000000!important;
}
.ticker-columns-live-preview{
 overflow:auto;
 padding:4px;
 border:1px solid var(--ticker-border,#71B9BC);
 background:var(--ticker-page-bg,#E8F7F7);
}
.ticker-columns-live-preview .ticker-board-table{
 min-width:max-content!important;
}
.weekly-print-page{
 width:287mm!important;
 max-width:287mm!important;
 height:200mm!important;
 min-height:200mm!important;
 max-height:200mm!important;
 margin-left:auto!important;
 margin-right:auto!important;
}
.weekly-print-page .weekly-print-wrap,
.weekly-print-page .weekly-table{
 width:100%!important;
 max-width:none!important;
}
@media print{
 @page{size:A4 landscape;margin:5mm!important}
 html,body{margin:0!important;padding:0!important}
 body.printing-weekly .main{
  width:287mm!important;
  max-width:287mm!important;
  margin:0!important;
  padding:0!important;
 }
 body.printing-weekly .weekly-day.weekly-print-page{
  display:flex!important;
  width:287mm!important;
  max-width:287mm!important;
  height:200mm!important;
  min-height:200mm!important;
  max-height:200mm!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
 }
 body.printing-weekly .weekly-print-wrap,
 body.printing-weekly .weekly-table{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  table-layout:fixed!important;
 }
}


/* Update V3.36 – Wochenbericht volle A4-Breite, Zebra-Zeilen und Status-Badges */
.weekly-print-page{
 width:min(289mm,calc(100vw - 24px))!important;
 max-width:289mm!important;
 height:auto!important;
 min-height:202mm!important;
 margin:0 auto 18px!important;
 padding:0!important;
 box-sizing:border-box!important;
}
.weekly-print-wrap,
.weekly-print-page .weekly-table{
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 table-layout:fixed!important;
}
.weekly-print-page .weekly-table tbody tr.weekly-data-row:nth-child(odd) td{
 background:#F4FBFB!important;
}
.weekly-print-page .weekly-table tbody tr.weekly-data-row:nth-child(even) td{
 background:#E4F4F4!important;
}
.weekly-print-page .weekly-table td:nth-child(1),
.weekly-print-page .weekly-table td:nth-child(3),
.weekly-print-page .weekly-table td:nth-child(4),
.weekly-print-page .weekly-table td:nth-child(5),
.weekly-print-page .weekly-table td:nth-child(6),
.weekly-print-page .weekly-table td:nth-child(7),
.weekly-print-page .weekly-table td:nth-child(8),
.weekly-print-page .weekly-table td:nth-child(11),
.weekly-print-page .weekly-table td:nth-child(n+12){
 text-align:center!important;
}
.weekly-status-cell{text-align:center!important}
.weekly-status-badge{
 display:inline-block!important;
 padding:1px 4px!important;
 border-radius:4px!important;
 color:#000000!important;
 font-weight:700!important;
 line-height:1.05!important;
 text-align:center!important;
 border:1px solid rgba(0,0,0,.16)!important;
 white-space:nowrap!important;
}
.weekly-status-working{background:#FFE39A!important}
.weekly-status-finished{background:#BDECC8!important}
.weekly-status-open{background:#BFEAEA!important}
.weekly-status-offer{background:#BFDDF6!important}
.weekly-status-cancelled{background:#F4BBBB!important}
.weekly-status-material{background:#FFD2A0!important}
.weekly-status-approval{background:#F2D6A3!important}
.weekly-status-other{background:#E6E6E6!important}

/* Browserklassen werden serverseitig anhand des User-Agent ergänzt */
.browser-firefox .weekly-print-page,
.browser-safari .weekly-print-page,
.browser-opera .weekly-print-page,
.browser-google-chrome .weekly-print-page,
.browser-microsoft-edge .weekly-print-page{
 transform:none!important;
 zoom:1!important;
}

@media print{
 @page{size:297mm 210mm!important;margin:4mm!important}
 html,body{
  width:289mm!important;
  min-width:289mm!important;
  max-width:289mm!important;
  margin:0!important;
  padding:0!important;
  zoom:1!important;
 }
 body.printing-weekly .main{
  width:289mm!important;
  min-width:289mm!important;
  max-width:289mm!important;
  margin:0!important;
  padding:0!important;
 }
 body.printing-weekly .weekly-day.weekly-print-page{
  display:flex!important;
  width:289mm!important;
  min-width:289mm!important;
  max-width:289mm!important;
  height:202mm!important;
  min-height:202mm!important;
  max-height:202mm!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  zoom:1!important;
 }
 body.printing-weekly .weekly-print-wrap,
 body.printing-weekly .weekly-table{
  width:289mm!important;
  min-width:289mm!important;
  max-width:289mm!important;
  table-layout:fixed!important;
  transform:none!important;
  zoom:1!important;
 }
 body.printing-weekly .weekly-table td:nth-child(1),
 body.printing-weekly .weekly-table td:nth-child(3),
 body.printing-weekly .weekly-table td:nth-child(4),
 body.printing-weekly .weekly-table td:nth-child(5),
 body.printing-weekly .weekly-table td:nth-child(6),
 body.printing-weekly .weekly-table td:nth-child(7),
 body.printing-weekly .weekly-table td:nth-child(8),
 body.printing-weekly .weekly-table td:nth-child(11),
 body.printing-weekly .weekly-table td:nth-child(n+12){
  text-align:center!important;
 }
}


/* Update V3.37 – Druckorientierung, Portrait-Berichte, Urlaub, Datenpflege */
@page reportPortrait{size:A4 portrait;margin:8mm}
@page weeklyLandscape{size:A4 landscape;margin:4mm}
.weekly-print-page{page:weeklyLandscape}
.workreport-print,.portrait-report,.module-report-print,.bgh-report-print{page:reportPortrait}
.portrait-report{background:#fff;max-width:194mm;min-height:271mm;margin:0 auto;padding:8mm;box-sizing:border-box;border:1px solid #b7dfe0}
.portrait-report-header{border-bottom:2px solid #68c6c8;padding-bottom:6px;margin-bottom:8px}
.portrait-report-meta,.portrait-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.portrait-report-meta>div,.portrait-report-grid>div{border:1px solid #b7dfe0;padding:5px;min-height:30px}
.portrait-report small{display:block;color:#4a7074;font-size:9px}.portrait-report strong{display:block;font-size:10px;white-space:pre-wrap}
.portrait-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;padding-top:26px;border-top:1px solid #68c6c8;font-size:9px;text-align:center}
.link-button{border:0;background:none;padding:0;font:inherit;text-decoration:underline;cursor:pointer}.danger-text{color:#a42121}
.dashboard-vacations table td,.dashboard-vacations table th{padding:6px}
audio{max-width:440px;width:100%}
@media print{
 body.printing-portrait-report .sidebar,body.printing-portrait-report .topbar,body.printing-portrait-report .global-footer,body.printing-portrait-report .no-print,body.printing-portrait-report .update-banner{display:none!important}
 body.printing-portrait-report .main{margin:0!important;padding:0!important;width:194mm!important;max-width:194mm!important}
 body.printing-portrait-report .portrait-report{display:block!important;width:194mm!important;max-width:194mm!important;min-height:271mm!important;margin:0!important;border:0!important;box-shadow:none!important}
 body.printing-workreport .workreport-print{page:reportPortrait!important}
 body.printing-weekly .weekly-print-page{page:weeklyLandscape!important}
}


/* Update V3.39 – BGH-Standorte PDF-Plan */
.bgh-map-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:end;margin-bottom:10px}.bgh-map-toolbar label{display:flex;flex-direction:column;gap:3px}
.bgh-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}.bgh-pdf-stage{position:relative;overflow:hidden;border:1px solid #88bfc1;background:#fff;max-width:100%}.bgh-pdf-stage canvas{display:block;max-width:100%;height:auto}.bgh-marker-layer{position:absolute;inset:0}.bgh-map-marker{position:absolute;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:999px;background:#0b8589;color:#fff;padding:4px 7px;font-size:11px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.28);cursor:pointer}.bgh-map-side{position:sticky;top:10px;padding:10px;border:1px solid #b8e0e1;background:#f7ffff}.bgh-map-side label{display:block;margin-bottom:7px}.bgh-map-side input,.bgh-map-side textarea{width:100%}
@media(max-width:1000px){.bgh-map-layout{grid-template-columns:1fr}.bgh-map-side{position:static}}


/* Update V3.41 – BGH-PDF-Import und Markierungsstatus */
.bgh-map-marker.marker-linked{background:#2f9e55!important;color:#fff!important}
.bgh-map-marker.marker-candidate{background:#f59f00!important;color:#000!important}
.bgh-map-marker.marker-open{background:#e03131!important;color:#fff!important}
.panel-title-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.bgh-import-cards{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));margin:10px 0}
.bgh-import-cards .linked{border-left:5px solid #2f9e55}.bgh-import-cards .candidate{border-left:5px solid #f59f00}.bgh-import-cards .open{border-left:5px solid #e03131}
.bgh-import-status{display:inline-block;padding:4px 7px;border-radius:999px;font-size:11px;font-weight:700;color:#000}
.bgh-import-status.pending{background:#ffe39a}.bgh-import-status.linked{background:#c9efd1}.bgh-import-status.ignored{background:#e5e7eb}
.bgh-import-inline{display:flex;gap:6px;flex-wrap:wrap;align-items:center;min-width:440px}.bgh-import-inline input[type=text],.bgh-import-inline input:not([type]){max-width:145px}.bgh-import-inline label{display:flex;gap:4px;align-items:center;font-size:11px}.bgh-import-inline label input{width:auto}
@media(max-width:900px){.panel-title-row{display:block}.bgh-import-inline{min-width:360px}}


/* Update V3.43 – Wochenbericht A4 quer, Editorwerte auch in der Druckansicht */
@page weeklyLandscape{size:A4 landscape;margin:4mm}
@page reportPortrait{size:A4 portrait;margin:8mm}
.weekly-print-page{page:weeklyLandscape}
.workreport-print,.portrait-report,.module-report-print,.bgh-report-print{page:reportPortrait}
@media print{
 body.printing-weekly .weekly-day.weekly-print-page{width:289mm!important;min-width:289mm!important;max-width:289mm!important;height:202mm!important;min-height:202mm!important;max-height:202mm!important;padding:0!important;margin:0!important;overflow:hidden!important}
 body.printing-weekly .weekly-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
 body.printing-weekly .weekly-table th,body.printing-weekly .weekly-table td{font-size:var(--wk-base-font)!important;line-height:1!important;padding:0 1.2px!important}
 body.printing-weekly .weekly-table thead th,body.printing-weekly .weekly-table thead th span{font-size:var(--wk-header-font)!important}
 body.printing-weekly .weekly-table td:nth-child(11),body.printing-weekly .weekly-table th:nth-child(11){font-size:var(--wk-status-font)!important}
 body.printing-weekly .weekly-excel-title{font-size:var(--wk-title-font)!important}
}


/* Update V3.44 – Wochenbericht: lange Beschreibung und sichtbare Fußzeile */
.weekly-print-page .weekly-table tbody tr.weekly-data-row td{height:auto!important;min-height:var(--wk-row-height)!important}
.weekly-print-page .weekly-table tbody tr.weekly-empty-row td{height:var(--wk-row-height)!important}
.weekly-print-page .weekly-table td:nth-child(10){
 white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;
 line-height:1.12!important;padding-top:1px!important;padding-bottom:1px!important
}
.weekly-print-page .weekly-page-footer{display:flex!important;visibility:visible!important;min-height:4mm!important}
.weekly-print-page .weekly-page-footer.is-hidden{display:none!important}


/* Update V3.44 – Protokollseite: maximal 20 Zeilen und A4-Hochformat */
.audit-actions{align-items:center;margin-bottom:10px}.audit-print-page{page:auditPortrait}
.audit-print-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid var(--kcore-turquoise)}
.audit-print-header h2,.audit-print-header p{margin:0}.audit-print-header p{margin-top:3px;color:#53757c}
.audit-table{width:100%;border-collapse:collapse;font-size:10px}.audit-table th,.audit-table td{border:1px solid #bfdedf;padding:5px 6px;vertical-align:top;overflow-wrap:anywhere}.audit-table th{background:#e7f5f5;text-align:left}
.audit-table tbody tr:nth-child(even) td{background:#f4fbfb}.audit-print-footer{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding-top:5px;border-top:1px solid var(--kcore-turquoise);font-size:9px;color:#53757c}
.audit-pagination{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
@page auditPortrait{size:A4 portrait;margin:10mm}
@media print{
 body.printing-audit .sidebar,body.printing-audit .topbar,body.printing-audit .global-footer,body.printing-audit .no-print{display:none!important}
 body.printing-audit .main{margin:0!important;padding:0!important;width:auto!important;background:#fff!important}
 body.printing-audit .main>*:not(.audit-print-page){display:none!important}
 body.printing-audit .audit-print-page{display:block!important;width:190mm!important;min-height:277mm!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 body.printing-audit .audit-table{font-size:9px!important}
 body.printing-audit .audit-table th,body.printing-audit .audit-table td{padding:4px 5px!important}
}


/* Update V3.45 – Arbeitsbericht-Ausrichtung und Tagesblätter im Wochenbericht */
@page workreportPortrait{size:A4 portrait;margin:8mm}
@page workreportLandscape{size:A4 landscape;margin:8mm}
@page weeklyOneDayLandscape{size:A4 landscape;margin:4mm}

body.printing-workreport.workreport-portrait .workreport-a4,
body.printing-workreport .workreport-a4.workreport-orientation-portrait{
 page:workreportPortrait!important;
 width:194mm!important;
 max-width:194mm!important;
 min-height:281mm!important;
 margin:0 auto!important;
}
body.printing-workreport.workreport-landscape .workreport-a4,
body.printing-workreport .workreport-a4.workreport-orientation-landscape{
 page:workreportLandscape!important;
 width:281mm!important;
 max-width:281mm!important;
 min-height:194mm!important;
 margin:0 auto!important;
}
body.printing-weekly .weekly-day.weekly-print-page{
 page:weeklyOneDayLandscape!important;
 width:289mm!important;
 min-width:289mm!important;
 max-width:289mm!important;
 height:202mm!important;
 min-height:202mm!important;
 max-height:202mm!important;
 page-break-after:always!important;
 break-after:page!important;
 break-inside:avoid!important;
 overflow:hidden!important;
}
body.printing-weekly .weekly-day.weekly-print-page.weekly-last-page{
 page-break-after:auto!important;
 break-after:auto!important;
}


/* Update V3.46 – Wochenbericht: genau ein Blatt je ausgegebenem Tag, keine leeren Zwischenblätter */
@page weeklyOneDayLandscape{size:A4 landscape;margin:5mm}
@media print{
 body.printing-weekly{margin:0!important;padding:0!important;background:#fff!important}
 body.printing-weekly .weekly-day.weekly-print-page{
  page:weeklyOneDayLandscape!important;
  display:flex!important;
  box-sizing:border-box!important;
  width:287mm!important;
  min-width:287mm!important;
  max-width:287mm!important;
  height:194mm!important;
  min-height:194mm!important;
  max-height:194mm!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  page-break-before:auto!important;
  break-before:auto!important;
  page-break-after:always!important;
  break-after:page!important;
  break-inside:avoid-page!important;
 }
 body.printing-weekly .weekly-day.weekly-print-page.weekly-last-page{
  page-break-after:auto!important;
  break-after:auto!important;
 }
 body.printing-weekly .weekly-print-wrap{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
 body.printing-weekly .weekly-page-footer{flex:0 0 auto!important}
}


/* Update V3.47 – BGH-Übersichtsplan als PDF-Viewer */
.bgh-pdf-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.bgh-pdf-toolbar input{max-width:260px}
.bgh-viewer-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;align-items:start}.bgh-pdf-scroll{overflow:auto;max-height:78vh;border:1px solid #bddfe0;background:#dfe8e9;padding:6px}.bgh-pdf-stage{position:relative;margin:0 auto;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.14)}.bgh-marker-layer{position:absolute;inset:0}.bgh-map-marker.marker-highlight{outline:4px solid #111;z-index:5}.bgh-map-side{max-height:78vh;overflow:auto}
@media(max-width:1050px){.bgh-viewer-layout{grid-template-columns:1fr}.bgh-map-side{max-height:none}}


/* Update V3.48 – Arbeitsbericht: Druckausrichtung vor Druck auswählen */
.report-selector-row{grid-template-columns:minmax(220px,1fr) minmax(320px,1.4fr) auto auto!important}
.print-orientation-select{min-width:145px;padding:10px;border:1px solid #cbdbe1;border-radius:8px;background:#fff}
.print-orientation-note{align-self:center;color:#48666e;font-size:12px}
@media(max-width:1050px){.report-selector-row{grid-template-columns:1fr!important}.print-orientation-select{width:100%}}


/* Update V3.48 – Stundenansicht startet beim heutigen Tag */
.hours-template-grid tr.today-row td{box-shadow:inset 0 2px 0 #0a858b,inset 0 -2px 0 #0a858b}


/* Update V3.49 – verständliche Importübersicht */
.import-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}.import-summary-grid article{padding:13px 15px;border:1px solid #b7dddd;border-radius:12px;background:#effafa}.import-summary-grid span{display:block;color:#53757c;font-size:12px}.import-summary-grid b{display:block;margin-top:3px;font-size:23px;color:#086c71}.import-error-panel ol{max-height:360px;overflow:auto;padding-left:24px}.import-error-panel li{margin:5px 0;color:#8c2e2e}


/* Update V3.50 – BGH-Datenbank: Aktion links als erste Spalte */
.bgh-grid .bgh-action-col{
 position:sticky;
 left:0;
 z-index:3;
 min-width:110px;
 width:110px;
 background:#eefafa!important;
 border-right:2px solid #78c8ca!important;
 text-align:left!important;
}
.bgh-grid thead .bgh-action-col{
 z-index:5;
 background:#d8f1f2!important;
}
.bgh-grid tbody tr:nth-child(even) .bgh-action-col{
 background:#e6f7f7!important;
}


/* Update V3.51 – Wochenbericht kompakt, automatische Blattbreite, genau ein Blatt pro Tag */
@media print{
 body.printing-weekly .weekly-day.weekly-print-page{
  page:weeklyOneDayLandscape!important;width:287mm!important;min-width:287mm!important;max-width:287mm!important;
  height:194mm!important;min-height:194mm!important;max-height:194mm!important;overflow:hidden!important;
  break-inside:avoid-page!important;page-break-inside:avoid!important;page-break-after:always!important;break-after:page!important
 }
 body.printing-weekly .weekly-day.weekly-print-page.weekly-last-page{page-break-after:auto!important;break-after:auto!important}
 body.printing-weekly .weekly-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
 body.printing-weekly .weekly-table th,body.printing-weekly .weekly-table td{font-size:calc(var(--wk-base-font) * .82)!important;line-height:.98!important;padding:0 1px!important}
 body.printing-weekly .weekly-table thead th,body.printing-weekly .weekly-table thead th span{font-size:calc(var(--wk-header-font) * .82)!important}
 body.printing-weekly .weekly-table td:nth-child(11),body.printing-weekly .weekly-table th:nth-child(11){font-size:calc(var(--wk-status-font) * .82)!important}
}


/* Update V3.51 – KNID-Projektakte */
.knid-hub-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.knid-activity-list{display:grid;gap:8px}.knid-activity-list article{padding:9px 11px;border:1px solid #c5e3e4;border-radius:9px;background:#f8fdfd}.knid-activity-list span{display:block;margin-top:2px;color:#628085;font-size:11px}.knid-activity-list p{margin:5px 0 0}
.hours-overview-details summary{cursor:pointer;color:#086f73;padding:5px 0}

/* Update V3.51 – Berichte und PDF */
@page modulePortrait{size:A4 portrait;margin:8mm}@page moduleLandscape{size:A4 landscape;margin:8mm}
.module-orientation-portrait{page:modulePortrait}.module-orientation-landscape{page:moduleLandscape}
@media print{
 body.printing-module-portrait .module-report-print{page:modulePortrait!important;width:194mm!important;min-height:281mm!important}
 body.printing-module-landscape .module-report-print{page:moduleLandscape!important;width:281mm!important;min-height:194mm!important}
 body.printing-module-portrait .sidebar,body.printing-module-landscape .sidebar,body.printing-module-portrait .topbar,body.printing-module-landscape .topbar,body.printing-module-portrait .no-print,body.printing-module-landscape .no-print{display:none!important}
}
.bgh-report-sheet{width:194mm;min-height:281mm;margin:0 auto;background:#fff}.bgh-report-header{display:grid;grid-template-columns:130px 1fr 150px;gap:12px;align-items:center;border-bottom:3px solid #0b7a75;padding-bottom:8px}.bgh-report-logo img{max-width:120px;max-height:60px}.bgh-report-header h2{margin:0;color:#075f64}.bgh-report-header p{margin:4px 0 0;color:#5c777c}.bgh-report-number{text-align:right}.bgh-report-number span{display:block;margin-top:5px}.bgh-report-meta,.bgh-report-section table{width:100%;border-collapse:collapse;margin-top:10px}.bgh-report-meta th,.bgh-report-meta td,.bgh-report-section th,.bgh-report-section td{border:1px solid #9fcfd1;padding:6px 7px;vertical-align:top}.bgh-report-meta th,.bgh-report-section th{background:#e6f6f6;text-align:left}.bgh-report-section h3{margin:14px 0 5px;color:#075f64}.bgh-report-text{min-height:65px;padding:8px;border:1px solid #9fcfd1}

/* Update V3.51 – Material-Shop */
.material-shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:13px;margin:13px 0}.material-shop-card{overflow:hidden;border:1px solid #bfdedf;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(4,78,82,.08)}.material-shop-card img,.material-placeholder{display:block;width:100%;height:160px;object-fit:cover;background:#e5f2f2}.material-placeholder{display:grid;place-items:center;color:#67858a;font-weight:700}.material-shop-body{padding:12px}.material-shop-body h3{margin:0 0 7px;color:#075f64}.material-shop-body p{font-size:12px;line-height:1.45}.material-stock{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px;border-radius:8px;background:#eaf8f8}.material-stock span{font-size:11px;color:#54777b}.material-barcode{padding:6px;background:#f7fbfb;border:1px dashed #9bcfd1}.material-stock-form{display:grid;gap:5px;margin:8px 0}.material-stock-form input{padding:7px}


/* Update V3.51 – PDF-Erfassung entspricht der Druckansicht */
.pdf-capture-weekly .weekly-day.weekly-print-page{
 width:287mm!important;min-width:287mm!important;max-width:287mm!important;
 height:194mm!important;min-height:194mm!important;max-height:194mm!important;
 overflow:hidden!important;background:#fff!important;margin:0!important;padding:0!important
}
.pdf-capture-weekly .weekly-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
.pdf-capture-weekly .weekly-table th,.pdf-capture-weekly .weekly-table td{font-size:calc(var(--wk-base-font) * .82)!important;line-height:.98!important;padding:0 1px!important}
.pdf-capture-report .module-report-print,.pdf-capture-report .workreport-a4{background:#fff!important;box-shadow:none!important}
.report-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.report-photo-grid figure{margin:0;border:1px solid #acd6d8;padding:4px;background:#fff}.report-photo-grid img{display:block;width:100%;height:110px;object-fit:cover}.report-photo-grid figcaption{margin-top:3px;font-size:9px;color:#587478}


/* Update V3.52 – Arbeitsbericht zuverlässig A4 Hochformat */
@media print{
 .print-shell{margin:0!important}
 .print-shell .workreport-a4{box-shadow:none!important;border:0!important;margin:0!important}
}


/* Update V3.53 – KNID-Projektakte */
.knid-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:linear-gradient(135deg,#effbfb,#fff)}.knid-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#087f83;font-weight:800}.knid-hero h2{margin:5px 0 8px;color:#075f64}.knid-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:9px;margin:12px 0}.knid-summary-grid>div{padding:10px 11px;border:1px solid #b9dfe0;border-radius:10px;background:#f8fdfd}.knid-summary-grid small{display:block;color:#648186}.knid-summary-grid b{display:block;margin-top:3px;color:#153c42}.project-data-section{scroll-margin-top:12px}.project-data-section h2{color:#086f73}.project-preview{max-width:980px;margin:auto}
/* Update V3.53 – Container-Zeiterfassung */
.timeclock-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.timeclock-card{padding:14px;border:1px solid #c5dddd;border-radius:12px;background:#fff}.timeclock-card.present{border-color:#72bd83;background:#eef9f0}.timeclock-card.absent{border-color:#d5dfe0;background:#f8fbfb}.timeclock-card h3{margin:0 0 6px}.timeclock-state{display:block;font-weight:800;margin-bottom:4px}.timeclock-card small{display:block;color:#648186;margin-bottom:9px}.timeclock-card form{display:grid;gap:7px}.timeclock-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px}.timeclock-check-grid label{padding:8px;border:1px solid #cae1e1;border-radius:8px;background:#f8fdfd}


/* Update V3.54 – Arbeitsbericht exakt wie die sichtbare Seite drucken */
@media print{
 body.printing-workreport-exact{
  background:#fff!important;
  margin:0!important;
  padding:0!important;
 }
 body.printing-workreport-exact .sidebar,
 body.printing-workreport-exact .topbar,
 body.printing-workreport-exact .global-footer,
 body.printing-workreport-exact .notice,
 body.printing-workreport-exact .report-select-panel,
 body.printing-workreport-exact .workreport-toolbar,
 body.printing-workreport-exact .update-banner,
 body.printing-workreport-exact .main > *:not(.designer-report){
  display:none!important;
 }
 body.printing-workreport-exact .main{
  margin:0!important;
  padding:0!important;
  width:auto!important;
  background:#fff!important;
 }
 body.printing-workreport-exact .workreport-a4.designer-report{
  display:block!important;
  background:#fff!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  page-break-after:always!important;
  break-after:page!important;
 }
 body.printing-workreport-exact .workreport-a4.designer-report:last-of-type{
  page-break-after:auto!important;
  break-after:auto!important;
 }
 /* Die sichtbaren Eingabefelder und Materialfelder bleiben wie im Screenshot erhalten. */
 body.printing-workreport-exact .designer-report .wr-edit-form.no-print,
 body.printing-workreport-exact .designer-report .material-form.no-print,
 body.printing-workreport-exact .designer-report .no-print{
  display:block!important;
 }
 body.printing-workreport-exact .designer-report .wr-print-only{
  display:none!important;
 }
 body.printing-workreport-exact .designer-report input,
 body.printing-workreport-exact .designer-report textarea,
 body.printing-workreport-exact .designer-report select,
 body.printing-workreport-exact .designer-report button{
  -webkit-print-color-adjust:exact!important;
  print-color-adjust:exact!important;
 }
 body.printing-workreport-exact .designer-report textarea{
  overflow:hidden!important;
 }
}


/* Update V3.55 – Professionelle Rechnungsseite */
@page invoicePortrait{size:A4 portrait;margin:8mm}
.invoice-sheet{width:194mm;min-height:281mm;margin:0 auto;padding:9mm;box-sizing:border-box;background:#fff;border:1px solid #b7d8da;box-shadow:0 5px 20px rgba(0,0,0,.08);font-size:10px;color:#18383a}
.invoice-header{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-bottom:3px solid #08777c;padding-bottom:9px}.invoice-header img{max-width:150px;max-height:52px}.invoice-header h1{text-align:right;margin:0 0 8px;color:#075f64;font-size:25px;letter-spacing:1px}.invoice-header table{margin-left:auto;width:auto}.invoice-header th,.invoice-header td{padding:2px 5px;text-align:left}
.invoice-address{margin:16px 0 11px;min-height:58px}.invoice-address h3{margin:3px 0}.invoice-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:10px}.invoice-meta div{padding:5px;border:1px solid #b9dddd;background:#f3fbfb}.invoice-meta small{display:block;color:#51777a}.invoice-meta b{display:block;margin-top:2px}
.invoice-sheet h2{margin:10px 0 4px;padding:4px 6px;background:#e7f7f7;border-left:4px solid #0a8589;font-size:12px}.invoice-text{white-space:normal;line-height:1.4}
.invoice-lines{width:100%;border-collapse:collapse;margin-top:10px}.invoice-lines th,.invoice-lines td{border:1px solid #a9d3d5;padding:5px}.invoice-lines th{background:#dff2f2;text-align:left}.invoice-lines th:nth-last-child(-n+2),.invoice-lines td:nth-last-child(-n+2){text-align:right}
.invoice-totals{display:flex;justify-content:flex-end;margin-top:8px}.invoice-totals table{width:280px;border-collapse:collapse}.invoice-totals th,.invoice-totals td{padding:4px;border-bottom:1px solid #bad9da;text-align:right}.invoice-tax-note{font-weight:700}
.invoice-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:18px;padding-top:7px;border-top:2px solid #0a8589;font-size:8px;line-height:1.35}.invoice-footer p{grid-column:1/-1;margin:4px 0 0;color:#60787a}
@media print{body.printing-invoice .sidebar,body.printing-invoice .topbar,body.printing-invoice .global-footer,body.printing-invoice .no-print,body.printing-invoice .update-banner{display:none!important}body.printing-invoice .main{margin:0!important;padding:0!important}body.printing-invoice .invoice-sheet{page:invoicePortrait!important;width:194mm!important;min-height:281mm!important;margin:0 auto!important;box-shadow:none!important;border:0!important}}


/* Update V3.56 – KNID-Projektakte als sichtbare zweite Ebene */
.knid-context-active .main{background:#f1fbfb}.knid-context-banner{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:-2px -2px 14px;padding:10px 13px;border:2px solid #48aeb3;border-radius:12px;background:linear-gradient(135deg,#dff8f8,#bfe9ea);box-shadow:0 4px 12px rgba(0,96,101,.10)}.knid-context-banner b,.knid-context-banner span{display:block}.knid-context-banner span{margin-top:2px;color:#53777a;font-size:12px}.knid-context-banner nav{display:flex;gap:7px;flex-wrap:wrap}.knid-context-banner a{padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #8ac9cb;color:#075e62;font-size:12px;font-weight:700}.knid-context-banner a.leave{background:#a02b2b;color:#fff;border-color:#a02b2b}.knid-hero-terminal{background:linear-gradient(135deg,#e2f6e6,#c3e7cb)!important;border:2px solid #5ba06b!important}.knid-hero-active{background:linear-gradient(135deg,#ebfbfb,#d5f2f2)!important;border:2px solid #78c4c6!important}.knid-status-large{display:flex;gap:8px;align-items:center;margin-top:8px}.knid-status-large .badge{font-size:14px;padding:6px 10px}.knid-upload-form{display:grid;grid-template-columns:170px minmax(220px,1fr) minmax(220px,1fr) auto;gap:7px;align-items:center;margin:8px 0 13px;padding:9px;border:1px dashed #85c4c7;border-radius:10px;background:#f5ffff}.status-history table{font-size:12px}.active-knid-hint{padding:6px 9px;border-radius:8px;background:#d7f5f5;border:1px solid #83cacc;color:#075e62;font-weight:700}.knid-hour-cell{display:flex;gap:3px;align-items:center}.knid-hour-cell input{min-width:0}.mini-knid-open{padding:2px 5px;border:0;border-radius:4px;background:#0b7a75;color:#fff;cursor:pointer}.active-knid-row td{background:#dff7f7!important;box-shadow:inset 0 2px 0 #0a858b,inset 0 -2px 0 #0a858b}.workreport-preview-toolbar{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-bottom:8px}.workreport-preview-mode .report-select-panel,.workreport-preview-mode .workreport-toolbar,.workreport-preview-mode .wr-edit-form,.workreport-preview-mode .material-form{display:none!important}.workreport-ready-print .workreport-a4{height:auto!important;max-height:none!important;overflow:visible!important}.workreport-ready-print .designer-report{break-after:page;page-break-after:always}.workreport-ready-print .designer-report.report-last{break-after:auto;page-break-after:auto}@media(max-width:1000px){.knid-context-banner{align-items:flex-start;flex-direction:column}.knid-upload-form{grid-template-columns:1fr}}
