
:root{--red:#c40000;--ink:#151515;--muted:#6d7278;--bg:#f1f3f5;--card:#fff;--line:#dce0e4;--shadow:0 10px 28px #00000012}
*{box-sizing:border-box}html{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}body{margin:0}.hidden{display:none!important}
.topbar{position:sticky;top:0;z-index:30;height:74px;background:#fff;border-bottom:4px solid var(--red);display:flex;align-items:center;gap:14px;padding:8px 14px;box-shadow:0 4px 16px #0001}.topbar img{height:48px;max-width:62vw;object-fit:contain}.topcopy{display:flex;flex-direction:column}.topcopy span{font-size:.76rem;color:var(--muted)}
.app{max-width:980px;margin:auto;padding:16px 13px 115px}.page{display:none}.page.active{display:block}.hero{padding:8px 2px 14px}.hero h1{font-size:1.55rem;margin:3px 0}.hero p{margin:0;color:var(--muted)}.kicker{text-transform:uppercase;font-size:.67rem;letter-spacing:.12em;color:var(--red);font-weight:900}
.card{background:#fff;border:1px solid #e5e8eb;border-radius:16px;padding:16px;margin-bottom:14px;box-shadow:var(--shadow)}h2{font-size:1rem;margin:19px 0 10px}label{display:flex;flex-direction:column;gap:6px;font-size:.86rem;font-weight:760}.grid{display:grid;gap:11px}.grid.two{grid-template-columns:1fr}input,textarea,select{font:inherit;width:100%;min-height:47px;border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff}.muted{color:var(--muted);font-size:.78rem}.check{flex-direction:row;align-items:center;margin-top:12px}.check input{width:auto;min-height:auto}
.geo-box{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.geo-head,.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.geo-head div{display:flex;flex-direction:column}.geo-head span{font-size:.76rem;color:var(--muted)}.map-preview{margin-top:10px;height:210px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#e9edf0}.map-preview iframe{width:100%;height:100%;border:0}.empty-map{display:grid;place-items:center;color:var(--muted)}
.btn{border:0;border-radius:11px;min-height:48px;padding:10px 14px;font-weight:850;cursor:pointer;text-align:center}.btn.primary{background:var(--red);color:#fff}.btn.secondary{background:#e8ecef;color:#1d2226}.btn.dark{background:#202326;color:#fff}.btn.danger{background:#fee4e2;color:#a41919}.btn.big,.btn.full{width:100%}.camera input,.filebtn input{position:absolute;opacity:0;width:1px;height:1px}.mt10{margin-top:10px}
.counter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.counter-grid label{background:#f7f8f9;border:1px solid #e5e8eb;border-radius:12px;padding:9px}.counter-grid input{text-align:center;font-size:1.2rem;font-weight:850}.counter-grid small{font-size:.66rem;color:var(--muted)}
.metrics,.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metrics{margin-top:15px}.metrics div,.summary-grid div{text-align:center;border-radius:12px;padding:10px 4px;background:#fff3f3;border:1px solid #f0caca}.metrics b,.summary-grid b{display:block;color:var(--red);font-size:1.4rem}.metrics span,.summary-grid span{font-size:.67rem;color:var(--muted)}
.progress-wrap{margin-bottom:12px}.progress-head{display:flex;justify-content:space-between;font-size:.78rem}.progress{height:8px;background:#dde2e6;border-radius:99px;overflow:hidden;margin-top:6px}.progress i{display:block;height:100%;width:0;background:var(--red)}.sticky-title{display:flex;justify-content:space-between;align-items:center}.sticky-title h1{font-size:1.2rem;margin:2px 0}.size-badge{background:var(--red);color:#fff;font-weight:900;border-radius:999px;padding:8px 13px}
.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:13px}.photo-card{border:1px solid var(--line);border-radius:12px;overflow:hidden}.photo-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.photo-card select,.photo-card input{border:0;border-top:1px solid var(--line);border-radius:0}.photo-actions{display:grid;grid-template-columns:1fr 1fr}.photo-actions button{border:0;padding:8px;font-weight:750}.photo-actions .delete{color:#a41919;background:#feeaea}.photo-actions .rotate{background:#edf0f2}
.action-row{display:grid;grid-template-columns:.8fr 1.4fr;gap:9px}.action-row.three{grid-template-columns:.8fr 1fr 1.4fr}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:25;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--line);padding:8px 8px max(8px,env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:#fff;padding:10px 3px;font-size:.76rem;font-weight:800;color:#61676c}.bottom-nav button.active{color:var(--red)}
.uv-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}.uv-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px}.uv-head{display:flex;justify-content:space-between}.uv-head h3{margin:0}.uv-head p{margin:3px 0 0;color:var(--muted);font-size:.75rem}.uv-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.uv-meta div{text-align:center;background:#f7f8f9;border-radius:9px;padding:7px}.uv-meta b{display:block}.uv-meta span{font-size:.63rem;color:var(--muted)}.uv-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.uv-actions button{border:0;border-radius:9px;padding:9px;font-weight:800}.uv-actions .edit{background:#e9edef}.uv-actions .duplicate{background:#eef4ff}.uv-actions .delete{background:#fee8e8;color:#a41919}.empty{text-align:center;color:var(--muted);border-style:dashed}.stack{display:grid;gap:9px;margin-top:14px}
.validation{border-left:5px solid #e49b00}.validation.good{border-left-color:#2e8b57}
.big-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:14px}.big-stat{background:#fff;border:1px solid #e4e7ea;border-radius:14px;padding:14px;box-shadow:var(--shadow)}.big-stat span{display:block;color:var(--muted);font-size:.73rem}.big-stat b{display:block;margin-top:4px;color:var(--red);font-size:1.45rem}
#timeChart{width:100%;height:auto;display:block}.stats-table,.time-editor{width:100%;border-collapse:collapse;font-size:.84rem}.stats-table th,.stats-table td,.time-editor th,.time-editor td{padding:8px;border-bottom:1px solid var(--line);text-align:left}.stats-table td:nth-child(n+2){text-align:right}.time-editor input{min-height:38px;padding:6px 8px}
.quick-fab{position:fixed;right:14px;bottom:82px;z-index:35;background:var(--red);color:#fff;border:0;border-radius:999px;padding:14px 17px;font-weight:900;box-shadow:0 10px 30px #0004}.modal{position:fixed;inset:0;z-index:60;background:#0007;padding:14px;display:grid;place-items:end center}.modal-card{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:16px}.modal-head{display:flex;justify-content:space-between}.icon-btn{border:0;background:#eee;border-radius:50%;width:40px;height:40px;font-size:1.5rem}.quick-row{display:grid;grid-template-columns:minmax(0,1.35fr) 48px 62px 48px minmax(92px,.8fr);gap:6px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.quick-row .name{font-weight:800}.quick-row .minus,.quick-row .plus{height:44px;border:0;border-radius:9px;font-size:1.3rem;font-weight:900}.quick-row .minus{background:#eceff1}.quick-row .plus{background:#fee6e6;color:#a40000}.quick-row .current{text-align:center;font-size:1.15rem;font-weight:900}.quick-add{display:flex;gap:5px}.quick-add input{min-width:0;height:44px;min-height:44px;padding:6px;text-align:center}.quick-add button{width:44px;border:0;border-radius:9px;background:#202326;color:#fff;font-weight:900}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.toast{position:fixed;left:50%;bottom:84px;transform:translate(-50%,20px);opacity:0;z-index:80;background:#202326;color:#fff;padding:10px 15px;border-radius:999px;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
#printReport{display:none}
@media(min-width:700px){.grid.two{grid-template-columns:repeat(2,1fr)}.counter-grid{grid-template-columns:repeat(4,1fr)}.photo-grid{grid-template-columns:repeat(3,1fr)}.bottom-nav{left:50%;transform:translateX(-50%);max-width:980px}.big-stat-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:520px){.topcopy{display:none}.section-row,.geo-head{flex-direction:column;align-items:stretch}.action-row.three{grid-template-columns:1fr}.quick-row{grid-template-columns:1fr 42px 54px 42px}.quick-add{grid-column:1/-1}}
@media print{
@page{size:A4;margin:10mm}body{background:#fff}.topbar,.app,.bottom-nav,.quick-fab,.modal,.toast{display:none!important}#printReport{display:block!important}
.cover,.building-cover,.uv-page,.photo-page,.stats-print-page{break-after:page;page-break-after:always}.print-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #c40000;padding-bottom:2mm;margin-bottom:2.5mm;min-height:14mm}.print-head img{display:block!important;width:55mm!important;max-width:55mm!important;height:13mm!important;max-height:13mm!important;object-fit:contain!important}.print-head h1{margin:0;font-size:17pt}.print-head p{margin:1mm 0 0;font-size:8pt}.project-table,.device-table,.stats-print-table{width:100%;border-collapse:collapse;font-size:8pt}.project-table td,.device-table th,.device-table td,.stats-print-table th,.stats-print-table td{border:1px solid #999;padding:1.2mm}.device-table th,.stats-print-table th{background:#ececec}.print-summary{display:flex;justify-content:space-between;align-items:center;margin:1.5mm 0}.print-summary h2{margin:0;font-size:14pt}.print-summary p{margin:1mm 0;font-size:8pt}.print-size{background:#c40000;color:#fff;border-radius:3mm;padding:2mm 4mm;font-weight:900}.print-qr-wrap{margin:1.5mm 0!important}.print-qr{width:22mm!important;height:22mm!important}.print-note{margin:2mm 0!important;padding:2mm!important;font-size:7.5pt!important}.print-main-photos{display:grid;grid-template-columns:1fr 1fr;gap:2mm;margin-top:2mm}.print-main-photos figure,.photo-page figure{margin:0;break-inside:avoid}.print-main-photos img{display:block;width:100%;height:42mm;max-height:42mm;object-fit:contain;border:1px solid #bbb}.print-main-photos figcaption,.photo-page figcaption{font-size:7pt;line-height:1.15;margin-top:.7mm}.photo-page .photo-grid-print{display:grid;grid-template-columns:1fr 1fr;gap:3mm}.photo-page img{width:100%;height:92mm;object-fit:contain;border:1px solid #bbb}.uv-page{break-inside:avoid;page-break-inside:avoid}.stats-print-chart{width:100%;height:auto;max-height:75mm}.print-footer{position:fixed;bottom:0;left:0;right:0;text-align:center;font-size:7.5pt;color:#666}
}

.draft-hint{background:#eaf5ef;color:#19603c;border:1px solid #c7e6d5;border-radius:10px;padding:9px 12px;margin-bottom:10px;font-size:.76rem;font-weight:800}
.count-mode{position:fixed;inset:0;z-index:90;background:#f2f3f5;padding:max(16px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));overflow:auto}.count-mode-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.count-mode-head h2{font-size:1.45rem;margin:2px 0}.count-big{font-size:6rem;line-height:1;text-align:center;font-weight:950;color:#c40000;padding:24px 0 18px}.count-main-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.count-main-buttons button{min-height:120px;border:0;border-radius:20px;font-size:4rem;font-weight:950}.count-minus{background:#e5e8eb}.count-plus{background:#c40000;color:#fff}.count-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.count-presets button{min-height:56px;border:0;border-radius:12px;background:#24282b;color:#fff;font-size:1.1rem;font-weight:900}.count-custom{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0}.count-custom button{border:0;border-radius:10px;background:#c40000;color:#fff;font-weight:900;padding:0 16px}

.uv-time-note{font-size:.76rem;color:#555;margin:4px 0 10px;font-weight:750}

/* V6 */
.live-time-card{margin-top:14px;border:1px solid #efcaca;background:#fff7f7;border-radius:13px;padding:12px}
.live-time-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.live-time-head span{font-size:.76rem;font-weight:800}.live-time-head b{font-size:1.35rem;color:#c40000}
.time-breakdown{display:grid;gap:5px;margin-top:9px}.time-breakdown div{display:flex;justify-content:space-between;font-size:.74rem;border-top:1px solid #f0dddd;padding-top:5px}
.room-tools{background:#f7f8f9;border:1px solid #e1e5e8;border-radius:12px;padding:10px;margin:10px 0}
.settings-checks{display:grid;gap:5px}.calculation-detail{margin-top:12px;border-radius:12px;background:#f5f6f7;padding:12px;font-size:.82rem}.calculation-detail h3{margin:0 0 8px}.calculation-detail .formula{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#fff;border:1px solid #ddd;padding:9px;border-radius:8px}
.stats-table tbody tr[data-row]{cursor:pointer}.stats-table tbody tr[data-row]:hover{background:#f7f8f9}
.plausibility-ok{color:#19603c;font-weight:800}.plausibility-warn{color:#8a5600}.plausibility-item{padding:8px 0;border-bottom:1px solid #e6e8ea}

/* V7 QR */
.qr-card{border-left:5px solid #c40000}.qr-mini{width:112px;height:112px;background:#fff;border:1px solid #ddd;border-radius:10px;padding:5px;display:grid;place-items:center}.qr-mini svg{width:100%;height:100%}
.qr-list{display:grid;gap:8px}.qr-list-item{display:grid;grid-template-columns:74px 1fr;gap:10px;align-items:center;border:1px solid #e1e4e7;border-radius:11px;padding:8px}.qr-list-item .qr-mini{width:70px;height:70px}.qr-list-item b{display:block}.qr-list-item span{font-size:.72rem;color:#666;word-break:break-all}
.print-qr{width:29mm;height:29mm;border:1px solid #aaa;padding:1.5mm;background:#fff}.print-qr svg{width:100%;height:100%}.print-qr-wrap{display:flex;align-items:center;gap:4mm;margin:3mm 0}.print-qr-wrap p{font-size:8pt;margin:1mm 0}
@media(max-width:520px){.qr-card .section-row{flex-direction:row}.qr-mini{width:92px;height:92px}}

/* V8 */
.bottom-nav{grid-template-columns:repeat(5,1fr)}
.photo-actions{grid-template-columns:repeat(4,1fr)}
.photo-actions .main{background:#fff2cc;color:#6b5100}.photo-actions .move{background:#edf3ff}
.photo-main-badge{position:absolute;left:6px;top:6px;background:#f3c600;color:#332700;border-radius:999px;padding:4px 7px;font-size:.66rem;font-weight:900}
.photo-card{position:relative}
.qr-real img{width:100%;height:100%;object-fit:contain}
.qr-video{width:100%;aspect-ratio:4/3;background:#111;border-radius:12px;margin:8px 0}
.room-count-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.room-count-grid label{background:#f7f8f9;border:1px solid #e4e7e9;border-radius:10px;padding:8px}.room-count-grid input{text-align:center;font-weight:800}
.area-progress{margin:10px 0}.area-progress-head{display:flex;justify-content:space-between;font-size:.78rem}.area-progress-bar{height:9px;background:#e1e5e8;border-radius:99px;overflow:hidden;margin-top:5px}.area-progress-bar i{display:block;height:100%;background:#c40000}
.locked-banner{background:#24282b;color:#fff;padding:10px 12px;border-radius:10px;font-weight:800;margin-bottom:12px}
body.project-locked .quick-fab{display:none}
body.project-locked #capturePage input,body.project-locked #capturePage textarea,body.project-locked #capturePage select,body.project-locked #capturePage button:not(#backToOverview){pointer-events:none;opacity:.6}
@media(max-width:520px){.bottom-nav button{font-size:.68rem}.room-count-grid{grid-template-columns:1fr 1fr}}

/* V8.1 Standortübernahme */
.carry-summary{background:#f5f6f7;border:1px solid #dde1e4;border-radius:12px;padding:12px;margin:10px 0}
.carry-summary b{display:block;font-size:1rem}.carry-summary span{display:block;color:#666;font-size:.8rem;margin-top:3px}

/* V9 */
.status-inaccessible{display:inline-block;background:#fff0d5;color:#7a4b00;border-radius:999px;padding:4px 8px;font-size:.68rem;font-weight:900;margin-top:5px}
.day-live{background:#edf7f1;border:1px solid #cce7d7;border-radius:10px;padding:10px}.day-live b{font-size:1.15rem}
.day-history-item{border-bottom:1px solid #e4e6e8;padding:9px 0}.day-history-item:last-child{border:0}.day-history-item b{display:block}

/* V10 */
.tree-building{border:1px solid #e0e4e7;border-radius:10px;margin:7px 0;overflow:hidden}.tree-building summary{padding:10px;font-weight:900;background:#f5f6f7;cursor:pointer}.tree-floor{padding:7px 12px;border-top:1px solid #eceeef}.tree-floor b{font-size:.78rem}.tree-uv{display:flex;justify-content:space-between;gap:8px;padding:5px 0;font-size:.76rem}.tree-uv button{border:0;background:none;color:#b40000;font-weight:800}
.open-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.open-summary div{background:#f6f7f8;border-radius:9px;padding:8px;text-align:center}.open-summary b{display:block;font-size:1.15rem}.open-summary span{font-size:.68rem;color:#666}
.search-hidden{display:none!important}.file-btn{text-align:center;display:grid;place-items:center}

/* V11 */
.grid.three{grid-template-columns:1fr}
.active-location{background:#24282b;color:#fff;border-radius:12px;padding:10px 12px;margin-bottom:10px;font-size:.78rem;font-weight:800}
.active-location b{color:#fff}.active-location span{opacity:.8}
.change-item{padding:8px 0;border-bottom:1px solid #e4e7e9}.change-item:last-child{border:0}.change-item b{display:block;font-size:.8rem}.change-item span{display:block;color:#666;font-size:.72rem;margin-top:2px}
.photo-actions{grid-template-columns:repeat(5,1fr)}
.photo-actions .speak{background:#eaf5ef;color:#19603c}
.building-cover{break-after:page}
.building-cover .building-title{margin-top:35mm;text-align:center}
.building-cover .building-title h1{font-size:28pt;margin-bottom:4mm}
.building-cover .building-title .big{font-size:42pt;color:#c40000;font-weight:900}
.building-cover table{width:100%;border-collapse:collapse;margin-top:15mm}
.building-cover th,.building-cover td{border:1px solid #aaa;padding:2.5mm}
@media(min-width:700px){.grid.three{grid-template-columns:repeat(3,1fr)}}

/* V12 */
.live-dashboard{position:sticky;top:74px;z-index:24;display:grid;grid-template-columns:repeat(4,1fr) auto;gap:6px;background:rgba(245,246,247,.96);backdrop-filter:blur(10px);border:1px solid #dde1e4;border-radius:14px;padding:7px;margin-bottom:12px;box-shadow:0 6px 20px #0001}
.live-dashboard>div{text-align:center;background:#fff;border-radius:9px;padding:6px 4px}.live-dashboard b{display:block;color:#c40000;font-size:1rem}.live-dashboard span{font-size:.61rem;color:#666}
.dash-location{border:0;border-radius:9px;background:#24282b;color:#fff;font-weight:850;padding:4px 10px}
.uv-detail-time{background:#f8f9fa;border:1px solid #e3e6e8;border-radius:10px;padding:8px;margin:8px 0;font-size:.73rem}.uv-detail-time b{color:#c40000}.uv-detail-time-row{display:flex;justify-content:space-between;padding:2px 0}
.archive-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #e5e7e9}.archive-item:last-child{border:0}.archive-item b{display:block}.archive-item span{display:block;color:#666;font-size:.72rem}.archive-actions{display:flex;gap:5px}.archive-actions button{border:0;border-radius:8px;padding:7px 9px;font-weight:800}.archive-open{background:#e8edf0}.archive-delete{background:#fee8e8;color:#9b1616}
@media(max-width:560px){.live-dashboard{grid-template-columns:repeat(4,1fr);top:74px}.dash-location{grid-column:1/-1;min-height:36px}.live-dashboard b{font-size:.88rem}}

/* V13 */
.task-item{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start;padding:9px 0;border-bottom:1px solid #e5e7e9}.task-item:last-child{border:0}.task-dot{width:11px;height:11px;border-radius:50%;margin-top:5px}.task-dot.high{background:#c40000}.task-dot.medium{background:#d99a00}.task-dot.low{background:#777}.task-item.done{opacity:.5}.task-item.done .task-text{text-decoration:line-through}.task-text b{display:block}.task-text span{font-size:.7rem;color:#666}.task-actions{display:flex;gap:4px}.task-actions button{border:0;border-radius:7px;padding:6px 8px;font-weight:800}
.wide-modal{max-width:760px}.wide-modal canvas{display:block;width:100%;height:auto;background:#111;border-radius:10px;touch-action:none}
.photo-actions{grid-template-columns:repeat(6,1fr)}.photo-actions .annotate{background:#fff2e1;color:#7a4500}
.pin-state{font-size:.72rem;color:#666;margin-top:5px}

/* V14 */
.status-light{display:inline-flex;align-items:center;gap:5px;font-size:.69rem;font-weight:850;border-radius:999px;padding:4px 8px}.status-light:before{content:"";width:8px;height:8px;border-radius:50%}.status-green{background:#e9f6ee;color:#22623c}.status-green:before{background:#2c9b58}.status-yellow{background:#fff5d9;color:#795900}.status-yellow:before{background:#e0a800}.status-red{background:#fee8e8;color:#8b1818}.status-red:before{background:#d91d1d}.status-gray{background:#eceff1;color:#555}.status-gray:before{background:#777}
.photo-checklist{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0}.photo-check{border-radius:9px;padding:7px;text-align:center;font-size:.68rem;font-weight:850;background:#f1f2f3}.photo-check.ok{background:#e7f5ed;color:#1f6840}.photo-check.missing{background:#fff0d8;color:#7a5000}
.building-dash{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.building-dash div{background:#f5f6f7;border-radius:10px;padding:9px;text-align:center}.building-dash b{display:block;font-size:1.1rem;color:#c40000}.building-dash span{font-size:.65rem;color:#666}
.quick-capture-mode .advanced-capture{display:none!important}
.duplicate-warning{background:#fff1d8;border:1px solid #f0c56c;color:#714900;border-radius:9px;padding:8px;margin:8px 0;font-size:.75rem;font-weight:750}
.time-outlier{background:#fff1d8;color:#795000;border-radius:8px;padding:5px 8px;font-size:.68rem;font-weight:850;margin-top:5px}

/* V15 */
.uv-select{display:flex;align-items:center;gap:6px;margin-bottom:5px;font-size:.7rem;font-weight:800}.uv-select input{width:18px;height:18px}
.plausibility-critical{background:#fee8e8;border:1px solid #e9aaaa;color:#851919;border-radius:9px;padding:8px;margin:5px 0}.plausibility-warn{background:#fff3d9;border:1px solid #efd28d;color:#735000;border-radius:9px;padding:8px;margin:5px 0}
@media(max-width:560px){.live-dashboard{grid-template-columns:repeat(4,1fr)}.dash-location{grid-column:auto}.live-dashboard button{font-size:.67rem}}

/* V16 – professional UI */
:root{--esg-red:#c8102e;--ink:#182027;--muted:#65717a;--line:#dfe4e8;--surface:#fff;--soft:#f5f7f8}
body{background:#eef1f3;color:var(--ink)}
.card{border:1px solid var(--line);box-shadow:0 8px 24px rgba(20,30,40,.055);border-radius:14px;background:var(--surface)}
.hero{background:linear-gradient(135deg,#171d22,#303940);color:#fff;border-radius:16px;padding:20px}.hero h1{letter-spacing:-.03em}.hero .kicker{color:#ffccd4}
.btn{border-radius:9px;min-height:43px;letter-spacing:.01em}.btn.primary{background:var(--esg-red);border-color:var(--esg-red)}.btn.dark{background:#20272d}
.live-dashboard{border-radius:12px;border-color:#d9dee2}.live-dashboard b{color:var(--esg-red)}
.record-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:10px 0}.record-nav b{text-align:center;font-size:.78rem}
.health-score{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}.score-ring{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--esg-red) calc(var(--score)*1%),#e7eaec 0);position:relative}.score-ring:after{content:"";position:absolute;inset:9px;background:#fff;border-radius:50%}.score-ring b{z-index:1;font-size:1.25rem}.health-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px}.health-grid div{background:#f5f7f8;border-radius:9px;padding:9px;text-align:center}.health-grid b{display:block;font-size:1.05rem}.health-grid span{font-size:.65rem;color:#667}
.report-cover{page-break-after:always;min-height:250mm;display:flex;flex-direction:column}.report-cover .brand{margin-top:28mm}.report-cover .brand img{width:55mm}.report-cover h1{font-size:30pt;line-height:1.02;margin:24mm 0 5mm}.report-cover .meta{margin-top:auto;border-top:2px solid #c8102e;padding-top:6mm}.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:4mm}.report-kpi{border:1px solid #d9dde0;padding:4mm;border-radius:2mm}.report-kpi b{display:block;font-size:19pt}.report-kpi span{font-size:8pt;color:#68747c;text-transform:uppercase}.report-section{page-break-before:always}.report-section h2{border-bottom:2px solid #c8102e;padding-bottom:2mm}.report-table{width:100%;border-collapse:collapse}.report-table th{background:#252c31;color:#fff;text-align:left}.report-table td,.report-table th{padding:2.2mm;border:1px solid #d5dadd;font-size:8.5pt}.report-bar{height:5mm;background:#e9ecee;border-radius:2mm;overflow:hidden}.report-bar i{display:block;height:100%;background:#c8102e}.report-footer{position:fixed;bottom:6mm;left:15mm;right:15mm;font-size:7pt;color:#777;border-top:1px solid #ddd;padding-top:2mm}
.supplement-badge{background:#e8eef8;color:#294f86;border-radius:999px;padding:3px 7px;font-size:.65rem;font-weight:850}
@media(max-width:560px){.health-grid{grid-template-columns:repeat(2,1fr)}}

/* V17 – ESG cockpit */
.dashboard-hero{display:grid;grid-template-columns:1fr auto;align-items:center}.hero-score{text-align:center;background:#ffffff14;border:1px solid #ffffff20;border-radius:12px;padding:12px 18px}.hero-score b{display:block;font-size:1.65rem}.hero-score span{font-size:.65rem;opacity:.75;text-transform:uppercase}
.cockpit-card{margin-top:-6px}.cockpit-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.cockpit-kpis div{background:#f5f7f8;border:1px solid #e2e6e9;border-radius:10px;padding:10px;text-align:center}.cockpit-kpis b{display:block;font-size:1.25rem;color:#c8102e}.cockpit-kpis span{font-size:.62rem;color:#65717a;text-transform:uppercase}
.progress-block{margin-top:14px}.progress-track{height:10px;background:#e7ebed;border-radius:999px;overflow:hidden;margin-top:6px}.progress-track i{display:block;height:100%;background:#c8102e;width:0;transition:.3s}.quick-launch{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:14px}
.floorplan-wrap{position:relative;margin:10px 0;background:#222;border-radius:12px;overflow:hidden;min-height:180px}.floorplan-wrap>img{display:block;width:100%;height:auto}.plan-marker{position:absolute;transform:translate(-50%,-50%);width:28px;height:28px;border-radius:50%;background:#c8102e;color:#fff;border:2px solid #fff;box-shadow:0 2px 7px #0007;font-size:.62rem;font-weight:900;display:grid;place-items:center;cursor:pointer}.plan-marker span{position:absolute;top:30px;white-space:nowrap;background:#20272d;color:#fff;border-radius:5px;padding:3px 5px;font-size:.58rem}
.calc-row{display:grid;grid-template-columns:140px 1fr 80px 55px;gap:8px;align-items:center;margin:7px 0;font-size:.73rem}.calc-bar{height:9px;background:#e8ecee;border-radius:999px;overflow:hidden}.calc-bar i{display:block;height:100%;background:#c8102e}.calc-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.calc-summary div{background:#f5f7f8;border-radius:10px;padding:10px;text-align:center}.calc-summary b{display:block;font-size:1.1rem}.calc-summary span{font-size:.63rem;color:#667}
@media(max-width:650px){.cockpit-kpis{grid-template-columns:repeat(2,1fr)}.quick-launch{grid-template-columns:1fr 1fr}.dashboard-hero{grid-template-columns:1fr}.hero-score{margin-top:12px}.calc-row{grid-template-columns:95px 1fr 62px}.calc-row .pct{display:none}}

/* V18 */
.survey-status-line{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.survey-status-line span{background:#f3f5f6;border-radius:999px;padding:5px 9px;font-size:.67rem;font-weight:800}
.timeline{border-left:2px solid #dfe4e8;margin-left:7px;padding-left:15px}.timeline-item{position:relative;padding:0 0 13px}.timeline-item:before{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:#c8102e;left:-20px;top:4px}.timeline-item b{display:block;font-size:.75rem}.timeline-item span{font-size:.65rem;color:#68747c}
.rank-row{display:grid;grid-template-columns:32px 1fr 90px;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #e7eaec}.rank-row .rank{font-weight:900;color:#c8102e}.stat-chip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.stat-chip{background:#f5f7f8;border-radius:9px;padding:10px;text-align:center}.stat-chip b{display:block;font-size:1.1rem;color:#c8102e}.stat-chip span{font-size:.62rem;color:#667}.building-complete{background:#e7f5ed;color:#246a42;border-radius:999px;padding:4px 8px;font-size:.67rem;font-weight:850}
@media(max-width:600px){.stat-chip-grid{grid-template-columns:repeat(2,1fr)}}

/* V19 */
.breadcrumb{display:flex;align-items:center;gap:5px;font-size:.68rem;color:#68747c;margin:0 0 8px}.breadcrumb button{border:0;background:transparent;padding:3px;color:#4d5961;font-weight:800}.breadcrumb span{color:#9aa2a8}
.table-scroll{overflow:auto}.matrix-table{width:100%;border-collapse:collapse;min-width:720px}.matrix-table th{background:#252c31;color:#fff}.matrix-table td,.matrix-table th{padding:7px;border:1px solid #dce1e4;font-size:.68rem;text-align:right}.matrix-table td:first-child,.matrix-table th:first-child{text-align:left;font-weight:800;position:sticky;left:0;background:#fff}.matrix-table th:first-child{background:#252c31}
.qty-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.qty-grid div{border:1px solid #e0e4e7;border-radius:9px;padding:9px}.qty-grid b{display:block;font-size:1.05rem;color:#c8102e}.qty-grid span{font-size:.63rem;color:#667}
.uv-report-card{page-break-before:always}.uv-report-head{display:grid;grid-template-columns:1fr auto;gap:5mm}.uv-photo-main{width:100%;height:105mm;object-fit:contain;border:1px solid #ccc}.uv-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:3mm}.uv-photo-grid img{width:100%;height:60mm;object-fit:contain;border:1px solid #ddd}
@media(max-width:600px){.qty-grid{grid-template-columns:repeat(2,1fr)}}

/* V20 */
.system-status{position:sticky;top:74px;z-index:28;display:flex;gap:8px;flex-wrap:wrap;background:#20272d;color:#fff;padding:7px 10px;border-radius:0 0 10px 10px;font-size:.65rem;box-shadow:0 4px 12px #0002}.system-status span{background:#ffffff10;border:1px solid #ffffff16;border-radius:999px;padding:4px 8px}
.camera-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;width:100%}.camera-category-grid .btn{min-height:44px;display:grid;place-items:center;font-size:.72rem}
.search-results{display:grid;gap:6px;margin-top:8px}.search-hit{border:1px solid #e1e5e8;border-radius:9px;padding:9px;background:#f8f9fa}.search-hit button{border:0;background:none;padding:0;text-align:left;width:100%}.search-hit b{display:block}.search-hit span{font-size:.7rem;color:#65717a}
.toc-list{counter-reset:toc}.toc-row{display:grid;grid-template-columns:1fr auto;gap:5mm;border-bottom:1px dotted #aaa;padding:1.5mm 0;font-size:8pt}.toc-row b:after{content:""}.storage-warning{background:#fff0d8!important;color:#7a4e00!important}
.offline-state{background:#8b1d1d!important}
@media(max-width:700px){.camera-category-grid{grid-template-columns:1fr 1fr}.camera-category-grid .btn:first-child{grid-column:1/-1}}

/* V21 */
.branding-preview{display:grid;grid-template-columns:1fr 1fr;gap:10px}.branding-preview figure{margin:0;border:1px solid #e0e4e7;border-radius:10px;padding:8px;background:#f8f9fa}.branding-preview img{display:block;width:100%;height:110px;object-fit:contain}.branding-preview figcaption{font-size:.68rem;color:#667;margin-top:5px}
#signatureCanvas{display:block;width:100%;height:auto;background:#fff;border:1px solid #cfd5d9;border-radius:10px;touch-action:none}
.completion-steps{display:grid;gap:8px}.completion-step{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;border:1px solid #e0e4e7;border-radius:10px;padding:10px}.completion-step .icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:900}.completion-step.ok .icon{background:#e7f5ed;color:#1f6840}.completion-step.warn .icon{background:#fff0d8;color:#7a5000}.completion-step.bad .icon{background:#fee8e8;color:#8b1818}
.supplement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.supplement-grid div{background:#f5f7f8;border-radius:9px;padding:9px;text-align:center}.supplement-grid b{display:block;color:#c8102e;font-size:1.08rem}.supplement-grid span{font-size:.63rem;color:#667}
@media print{
  .print-page-header{position:fixed;top:-8mm;left:0;right:0;height:8mm;border-bottom:1px solid #ddd;font-size:6.5pt;color:#666;display:flex;justify-content:space-between}
  .print-page-footer{position:fixed;bottom:-9mm;left:0;right:0;height:8mm;border-top:1px solid #ddd;font-size:6.5pt;color:#666;display:flex;justify-content:space-between;align-items:end}
}

/* V22 */
.revision-current{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;background:#f5f7f8;border:1px solid #e0e4e7;border-radius:10px;padding:10px}.revision-current b{font-size:1.2rem}.revision-current span{font-size:.7rem;color:#667}
.revision-entry{display:grid;grid-template-columns:70px 1fr auto;gap:8px;align-items:center;border-bottom:1px solid #e6e9eb;padding:8px 0}.revision-entry:last-child{border:0}.revision-entry strong{color:#c8102e}.revision-entry span{font-size:.7rem;color:#667}
.heatmap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.heat-cell{border-radius:10px;padding:11px;min-height:76px;border:1px solid #e0e4e7}.heat-cell b{display:block;font-size:.9rem}.heat-cell span{display:block;font-size:.68rem;margin-top:4px}.heat-0{background:#f5f7f8}.heat-1{background:#fdebec}.heat-2{background:#f9cfd4}.heat-3{background:#ef9aa5}.heat-4{background:#d95466;color:#fff}.heat-5{background:#a9142a;color:#fff}
.floor-stat{border:1px solid #e0e4e7;border-radius:10px;margin:7px 0;overflow:hidden}.floor-stat h3{margin:0;background:#252c31;color:#fff;padding:8px 10px;font-size:.78rem}.floor-stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#e3e6e8}.floor-stat-grid div{background:#fff;padding:8px;text-align:center}.floor-stat-grid b{display:block;color:#c8102e}.floor-stat-grid span{font-size:.62rem;color:#667}
@media(max-width:650px){.heatmap{grid-template-columns:repeat(2,1fr)}.floor-stat-grid{grid-template-columns:repeat(2,1fr)}}

/* V23 */
.app-launch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.app-launch-grid button{border:1px solid #dde2e5;background:#fff;border-radius:12px;padding:12px;text-align:left;box-shadow:0 4px 12px #0000000d}.app-launch-grid span{display:block;font-size:1.45rem;color:#c8102e}.app-launch-grid b{display:block;margin-top:4px}.app-launch-grid small{display:block;color:#68747c;margin-top:2px}.export-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.export-checks .check{background:#f6f8f9;border:1px solid #e1e5e8;border-radius:9px;padding:8px}.revision-diff{border:1px solid #e0e4e7;border-radius:10px;overflow:hidden}.revision-diff h3{margin:0;background:#252c31;color:#fff;padding:9px 11px}.revision-diff-row{display:grid;grid-template-columns:1.3fr .8fr .8fr .8fr;gap:6px;padding:8px 10px;border-top:1px solid #e5e8ea;font-size:.72rem}.revision-diff-row.changed{background:#fff6df}.revision-diff-row.new{background:#eaf6ef}.revision-diff-row.removed{background:#feecec}.quick-fab{z-index:85!important}.modal{z-index:100!important}@media(max-width:700px){.app-launch-grid{grid-template-columns:repeat(2,1fr)}.export-checks{grid-template-columns:1fr 1fr}.revision-diff-row{grid-template-columns:1fr 1fr}}

/* V24 */
.gps-fallback{margin-top:10px;border:1px solid #dfe4e8;border-radius:10px;padding:9px;background:#f8f9fa}.gps-fallback summary{cursor:pointer;font-weight:850;font-size:.78rem}
.location-favorites{display:flex;flex-wrap:wrap;gap:6px}.location-chip{border:1px solid #dce1e4;background:#f6f8f9;border-radius:999px;padding:7px 10px;font-size:.7rem;font-weight:800}.location-chip.favorite{background:#fff2f3;border-color:#edc3c9;color:#9d182c}
.next-asset-bar{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;background:#fff;border:1px solid #dce1e4;border-left:4px solid #c8102e;border-radius:11px;padding:10px;margin-bottom:10px}.next-asset-bar span{display:block;font-size:.63rem;color:#68747c;text-transform:uppercase}.next-asset-actions{display:flex;gap:6px}
.app-launch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.app-launch-grid button{border:1px solid #dde2e5;background:#fff;border-radius:12px;padding:12px;text-align:left;box-shadow:0 4px 12px #0000000d}.app-launch-grid span{display:block;font-size:1.35rem;color:#c8102e}.app-launch-grid b{display:block;margin-top:3px}.app-launch-grid small{display:block;color:#68747c;margin-top:2px}
.quick-action-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.quick-action-options label{background:#f6f8f9;border:1px solid #e1e5e8;border-radius:9px;padding:9px}
.missing-group{border:1px solid #e0e4e7;border-radius:10px;margin:8px 0;overflow:hidden}.missing-group h3{margin:0;padding:9px 11px;background:#252c31;color:#fff;font-size:.8rem}.missing-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:8px 10px;border-top:1px solid #e5e8ea;font-size:.72rem}.missing-row button{border:0;background:#e8edf0;border-radius:7px;padding:6px 8px;font-weight:800}.missing-ok{background:#e8f6ee;color:#246a42;border-radius:10px;padding:12px;font-weight:850}
.quick-fab{z-index:90!important}.modal{z-index:110!important}
@media(max-width:650px){.app-launch-grid{grid-template-columns:1fr 1fr}.next-asset-bar{grid-template-columns:1fr}.next-asset-actions{display:grid;grid-template-columns:1fr 1fr}.quick-action-options{grid-template-columns:1fr}}


/* V25 · Bestandsimport */
.inventory-card{border-top:4px solid #c8102e}.inventory-empty{padding:14px;border:1px dashed #cfd5d9;border-radius:10px;background:#f8f9fa;color:#68747c;text-align:center;font-size:.75rem}.inventory-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.inventory-kpis div{background:#f5f7f8;border:1px solid #e1e5e8;border-radius:10px;padding:10px;text-align:center}.inventory-kpis b{display:block;color:#c8102e;font-size:1.25rem}.inventory-kpis span{font-size:.65rem;color:#667}.inventory-list{display:grid;gap:6px;margin-top:10px;max-height:430px;overflow:auto}.inventory-row{width:100%;display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;text-align:left;border:1px solid #dfe4e7;background:#fff;border-radius:10px;padding:9px 10px}.inventory-row:hover{border-color:#b9c0c5}.inventory-row.done{background:#e8f6ee;border-color:#b8dec8}.inventory-row.done b{color:#246a42}.inventory-check{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#edf0f2;font-weight:900}.inventory-row.done .inventory-check{background:#2e8b57;color:#fff}.inventory-row b{display:block;font-size:.78rem}.inventory-row small,.inventory-row em{display:block;font-size:.65rem;color:#68747c;font-style:normal;margin-top:2px}.inventory-row-status{font-size:.64rem;font-weight:850;border-radius:999px;padding:4px 7px;background:#fff0d8;color:#7a5000}.inventory-row.done .inventory-row-status{background:#d6eddf;color:#246a42}.inventory-capture{border-left:4px solid #c8102e}.inventory-status{background:#252c31;color:#fff;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:850}.capture-inventory-grid{grid-template-columns:1fr auto;align-items:end}.inventory-info{margin-top:10px;background:#f7f8f9;border:1px solid #dfe4e7;border-radius:10px;padding:10px}.inventory-info>b{font-size:.85rem}.inventory-info p{font-size:.7rem;line-height:1.55;margin:6px 0 0}.inventory-complete-badge{display:inline-block;margin-top:8px;background:#dff1e6;color:#246a42;border-radius:999px;padding:4px 8px;font-size:.65rem;font-weight:850}.print-note{margin:4mm 0;padding:3mm;border:1px solid #d5d5d5;border-radius:2mm;background:#fafafa;font-size:8.5pt}.print-note h3{margin:0 0 1.5mm;font-size:9pt}.print-note p{margin:0;line-height:1.35}.inventory-print-note{border-left:3px solid #c8102e}
@media(max-width:650px){.capture-inventory-grid{grid-template-columns:1fr}.inventory-row{grid-template-columns:28px 1fr}.inventory-row-status{grid-column:2}.inventory-kpis{grid-template-columns:repeat(3,1fr)}}

/* V25.1 HOTFIX: PDF always reachable */
.floating-pdf{position:fixed;right:20px;bottom:105px;z-index:1200;border:0;border-radius:999px;background:#1f2529;color:#fff;font-weight:900;font-size:16px;padding:15px 22px;box-shadow:0 10px 28px rgba(0,0,0,.24);cursor:pointer}
.floating-pdf:hover{transform:translateY(-1px)}
@media(max-width:720px){.floating-pdf{right:14px;bottom:96px;padding:13px 18px;font-size:15px}}
@media print{.floating-pdf{display:none!important}}

/* V25.3 */
#signatureCanvas{display:block;width:100%;height:auto;min-height:220px;background:#fff;border:1px solid #cfd6dc;border-radius:12px;touch-action:none;cursor:crosshair}.floating-pdf{display:none!important}


/* V25.4 SERVER / BESTANDSSTATUS */
.server-status{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-weight:800;font-size:.9rem}.server-status.pending{background:#eef1f3;color:#555}.server-status.ok{background:#dff6e5;color:#176b32}.server-status.error{background:#ffe4e4;color:#a31616}.server-storage-card{border-left:4px solid #222b30}
.uv-item.passed,.room-item.passed{border:2px solid #42a85b;background:linear-gradient(90deg,#effbf2 0,#fff 36%)}.uv-item.pending-validation,.room-item.pending-validation{border-left:5px solid #e6a500}.passed-badge{background:#dff6e5!important;color:#176b32!important;border:1px solid #8ed39e}.pending-badge{background:#fff3cd!important;color:#795b00!important;border:1px solid #e6c45d}
.inventory-row.linked{border-left:5px solid #e6a500;background:#fffaf0}.inventory-row.done{background:#e8f8ec!important;border-color:#70bf82!important}.inventory-row.open{color:#666}.inventory-row-status.done{color:#176b32}.inventory-row-status.linked{color:#8b6400}
.inventory-filter-grid select,.inventory-capture-filters select{min-height:46px}.inventory-capture-filters{margin-bottom:2px}
.location-status-list{display:grid;gap:8px}.location-status-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:12px;align-items:center;border:1px solid #e1e5e8;border-radius:12px;padding:10px 12px;background:#fff;cursor:pointer}.location-status-row.open{background:#f5f6f7;color:#666}.location-status-row.partial{background:#fff8e6;border-color:#e9c66a}.location-status-row.done{background:#e9f8ed;border-color:#78c88b;color:#176b32}.location-status-row b{display:block}.location-status-row small{display:block;color:inherit;opacity:.8}.location-status-pill{white-space:nowrap;font-weight:800;border-radius:999px;padding:5px 9px;background:rgba(0,0,0,.06)}
.plan-marker.passed{background:#17813a!important;border-color:#0d5b27!important;color:white!important}.plan-marker.pending-validation{background:#d99a00!important;border-color:#9a6e00!important;color:#fff!important}
.completion-percent{font-size:1.5rem;font-weight:900;color:#17813a}.completion-card .inventory-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.completion-card .inventory-kpis>div:nth-child(2){background:#e8f8ec}.completion-card .inventory-kpis>div:nth-child(3){background:#fff8e6}
#roomInventoryLocation option.status-done,#inventorySelect option.status-done{color:#17813a;font-weight:700}#roomInventoryLocation option.status-partial,#inventorySelect option.status-partial{color:#8b6400}#roomInventoryLocation option.status-open,#inventorySelect option.status-open{color:#777}
.storage-server{color:#176b32;font-weight:700}.storage-fallback{color:#a31616;font-weight:700}
@media(max-width:780px){.inventory-filter-grid{grid-template-columns:1fr 1fr!important}.completion-card .inventory-kpis{grid-template-columns:1fr 1fr}.location-status-row{grid-template-columns:1fr}}
/* V25.4.1 Grundriss-Hotfix */
.plan-marker.inventory-open{background:#6d747a!important;border-color:#4c5358!important;color:#fff!important}
.plan-marker b{font-size:.72rem;line-height:1}.plan-marker span{z-index:5;max-width:210px;overflow:hidden;text-overflow:ellipsis}
#floorplanWrap:not(.hidden){cursor:crosshair;min-height:220px}
#floorplanImage:not([src]){display:none}
#floorplanUv option[data-status="done"]{color:#17813a}#floorplanUv option[data-status="linked"]{color:#9a6e00}#floorplanUv option[data-status="open"]{color:#666}

.floorplan-legend{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 2px;font-size:.72rem;font-weight:800}.floorplan-legend span{padding:5px 8px;border-radius:999px;background:#eef0f2}.floorplan-legend .open{color:#5e666c}.floorplan-legend .linked{color:#8b6400;background:#fff5d8}.floorplan-legend .done{color:#146b31;background:#e2f6e8}

/* V25.4.7 Abgangswertung */
.outgoing-breakdown{margin:10px 0 14px;padding:12px 14px;border:1px solid #e6e8eb;border-radius:12px;background:#f8f9fa;display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center;font-size:13px}.outgoing-rule-title{font-weight:800;width:100%;font-size:14px}.outgoing-rule{padding:6px 9px;border-radius:8px;background:#fff;border:1px solid #e1e4e8}.outgoing-rule.counted strong{color:#b80000}.outgoing-rule.documented{opacity:.65}.outgoing-rule-total{width:100%;padding-top:7px;border-top:1px solid #ddd;font-size:14px}.outgoing-rule-total b{font-size:18px;color:#b80000}
