/* License: MIT (see ../license.txt); alternatively GPL v3.0. (c) 2026 ISSP Software und Service GmbH */
.report-shell{padding:0;overflow:hidden}.report-head,.report-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}.report-head h2{margin:0}.report-head p{margin:3px 0 0}.report-toolbar{justify-content:flex-start;flex-wrap:wrap;padding:10px 18px}.report-toolbar label{display:flex;gap:7px;align-items:center;font-size:.85rem}.report-toolbar input,.report-toolbar select{width:auto;min-width:72px}.report-status{margin-left:auto;color:var(--muted)}.report-status.good{color:#198754}.report-status.bad{color:#b42318}.report-grid{display:grid;grid-template-columns:240px minmax(360px,1fr) minmax(390px,1.15fr);min-height:680px}.report-side,.report-source{border-right:1px solid var(--line);min-width:0}.report-pane-title{padding:12px 14px;border-bottom:1px solid var(--line);font-weight:700;background:var(--surface-2,#f7f8fa)}.report-tree{padding:10px;overflow:auto;max-height:635px}.report-tree button{display:block;width:100%;border:0;background:none;text-align:left;padding:5px 7px;color:inherit;border-radius:5px}.report-tree button:hover{background:var(--surface-2,#eef2f6)}.report-tree small{float:right;color:var(--muted)}.report-source{display:flex;flex-direction:column}.report-source textarea{flex:1;resize:none;border:0;border-radius:0;padding:14px;font:12px/1.55 Consolas,monospace;color:inherit;background:var(--surface,#fff);tab-size:2}.report-preview{padding:22px;background:#cbd1d8;overflow:auto}.report-paper{box-sizing:border-box;width:min(100%,794px);min-height:1123px;margin:auto;background:white;color:#20252b;padding:58px 60px;box-shadow:0 8px 28px #0002;font:13px/1.45 Arial,sans-serif}.rp-brand{font-size:24px;font-weight:800;color:var(--report-accent,#2357a6)}.rp-meta,.rp-addresses{display:grid;grid-template-columns:1fr 1fr;gap:30px}.rp-meta{text-align:right;margin-top:-25px}.rp-addresses{margin:55px 0 38px}.rp-addresses address{font-style:normal}.report-paper table{width:100%;border-collapse:collapse;margin:24px 0}.report-paper th{background:var(--report-accent,#2357a6);color:#fff;text-align:left;padding:8px}.report-paper td{padding:9px 8px;border-bottom:1px solid #dfe3e8;vertical-align:top}.report-paper .num{text-align:right;white-space:nowrap}.rp-totals{width:48%;margin-left:auto}.rp-totals div{display:flex;justify-content:space-between;padding:4px 0}.rp-totals .gross{border-top:2px solid var(--report-accent,#2357a6);font-size:16px;font-weight:700;margin-top:4px;padding-top:8px}.rp-footer{margin-top:65px;padding-top:12px;border-top:1px solid #ccd2d9;font-size:10px;color:#68717c}@media(max-width:1250px){.report-grid{grid-template-columns:220px 1fr}.report-preview{grid-column:1/-1}.report-paper{min-height:900px}}@media(max-width:760px){.report-grid{display:block}.report-side{max-height:250px}.report-source textarea{min-height:420px}.report-status{width:100%;margin:0}}
.report-shell{height:calc(100vh - 158px);min-height:560px;display:grid;grid-template-rows:auto auto minmax(0,1fr);margin-bottom:0}.report-head{min-height:61px}.report-toolbar{padding:7px 12px;flex-wrap:nowrap;overflow-x:auto}.report-toolbar button{white-space:nowrap}.report-grid,.rd-workspace{height:100%;min-height:0;overflow:hidden}.report-tree{height:100%;max-height:none;min-height:0}.report-side{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.report-source textarea{min-height:0;overflow:auto}.report-preview{min-height:0}.rd-modes{display:flex;border:1px solid var(--line);border-radius:9px;padding:3px;background:var(--soft)}.rd-modes button{border:0;background:transparent;padding:7px 12px;border-radius:6px;color:var(--muted);font-weight:700}.rd-modes button.active{background:var(--surface,#fff);color:var(--ink);box-shadow:0 1px 4px #0002}.rd-workspace{display:grid;grid-template-columns:225px minmax(420px,1fr) 245px}.rd-stage{overflow:auto;background:#6d7682;padding:24px}.rd-canvas{width:min(100%,794px);aspect-ratio:210/297;margin:auto;min-width:560px}.rd-paper{position:relative;width:100%;height:100%;background:#fff;color:#20252b;box-shadow:0 6px 28px #0005;overflow:hidden}.rd-element{position:absolute;box-sizing:border-box;cursor:move;white-space:pre-wrap;overflow:hidden;padding:2px;border:1px solid transparent;user-select:none}.rd-element:hover{border-color:#70a0ef}.rd-element.selected{outline:2px solid #3269e8;background:#3269e80b}.rd-table{font-size:7pt!important}.rd-table table{width:100%;border-collapse:collapse}.rd-table th{padding:3px;background:#2357a6;color:#fff}.rd-table td{padding:3px;border-bottom:1px solid #ddd}.rd-totals div{display:flex;justify-content:space-between;padding:2px}.rd-totals .gross{border-top:1px solid #2357a6;font-weight:700}.rd-properties{display:grid;grid-template-rows:auto minmax(0,1fr);border-left:1px solid var(--line);overflow:hidden}.rd-properties>div:last-child{padding:12px;overflow:auto}.rd-properties label{display:grid;gap:4px;margin-bottom:9px;font-size:11px;font-weight:700;color:var(--muted)}.rd-properties input{width:100%;padding:7px;border:1px solid var(--line);border-radius:6px;background:var(--input-bg,#fff);color:var(--ink)}.rd-properties label:has(input[type=checkbox]){display:flex;align-items:center}.rd-properties input[type=checkbox]{width:auto}.rd-properties .danger{width:100%;color:#a12622}.rd-indent{padding-left:10px}.rd-qr{display:block;position:relative;width:100%;aspect-ratio:1;background:#fff}.rd-qr i{position:absolute;width:4.77%;height:4.77%;background:#111}.rd-bars{display:flex;height:75%;align-items:stretch;background:#fff;padding:3px}.rd-bars i{display:block;background:#111}.rd-markup-hint{padding:24px;color:#344054}.rd-line{padding:0}.report-grid[hidden],.rd-workspace[hidden]{display:none!important}body:has(.report-shell){overflow:hidden}body:has(.report-shell) main{height:100vh;overflow:hidden}body:has(.report-shell) #app{min-height:0}@media(max-width:1050px){.rd-workspace{grid-template-columns:190px minmax(400px,1fr)}.rd-properties{position:absolute;right:20px;width:245px;height:55%;background:var(--surface,#fff);box-shadow:0 8px 30px #0003;z-index:3}.report-grid{grid-template-columns:190px minmax(400px,1fr)}.report-preview{display:none}}@media(max-width:800px){body:has(.report-shell){overflow:auto}body:has(.report-shell) main{height:auto;overflow:visible}.report-shell{height:calc(100vh - 115px)}.rd-workspace{grid-template-columns:1fr}.report-side{display:none}.rd-properties{right:8px}.report-toolbar{overflow-x:auto}}
