:root{--text: #111;--leise: #555;--linie: #b9b9b9;--flaeche: #f1f3f5;--akzent: #0b4f8a;--rot: #c40000;--rot-hell: #ffe3e3;--gelb: #b58100;--gelb-hell: #fff3c4;--gruen: #12823b;--grau: #9aa0a6;--na: #e6e6e6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:16px;color:var(--text);background:#fff;-webkit-text-size-adjust:100%}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{overscroll-behavior:none}.app{display:flex;flex-direction:column;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}button,select,input,textarea{font:inherit;color:inherit}button,.knopf{min-height:44px;padding:0 14px;border:1.5px solid var(--text);border-radius:8px;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;-webkit-tap-highlight-color:transparent;text-decoration:none}button:disabled{opacity:.4;cursor:default}button.primaer,.knopf.primaer{background:var(--akzent);border-color:var(--akzent);color:#fff;font-weight:600}button.gefahr{border-color:var(--rot);color:var(--rot)}button.flach{border-color:transparent;background:transparent;text-decoration:underline;padding:0 8px}select,input,textarea{min-height:44px;padding:0 10px;border:1.5px solid #767676;border-radius:6px;background:#fff;min-width:0}textarea{padding:10px}select:focus,input:focus,textarea:focus,button:focus-visible{outline:3px solid #4a90e2;outline-offset:-1px}label.feld{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--leise)}label.feld>input,label.feld>select{color:var(--text);font-size:16px}.kopf{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;border-bottom:2px solid var(--text)}.kopf h1{font-size:20px;margin:0}.reiter{display:flex;gap:4px}.reiter button{border-radius:8px;border-color:var(--linie)}.reiter button[aria-selected=true]{background:var(--text);color:#fff;border-color:var(--text);font-weight:600}.kopf .rechts{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.exporthinweis{font-size:14px;color:var(--leise);padding:4px 8px;border-radius:6px}.exporthinweis.mahnung{background:var(--gelb-hell);color:#5c4100;font-weight:600}.banner{padding:8px 12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.banner.info{background:#e3f0ff}.banner.fehler{background:var(--rot-hell);color:var(--rot);font-weight:600}.filter{display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px;align-items:center;background:var(--flaeche);border-bottom:1px solid var(--linie)}.filter select{max-width:220px}.filter input[type=search]{width:200px}.zaehler{font-weight:600;margin-left:auto}.tabelle-rahmen{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}table.liste{border-collapse:separate;border-spacing:0;font-size:15px}table.liste th,table.liste td{border-bottom:1px solid var(--linie);border-right:1px solid #e2e2e2;padding:2px 4px;background:#fff;vertical-align:middle}table.liste thead th{position:sticky;top:0;z-index:2;background:var(--flaeche);text-align:left;font-size:13px;font-weight:600;padding:6px 4px;border-bottom:2px solid var(--text);white-space:nowrap}table.liste thead th .einheit{font-weight:400;color:var(--leise)}table.liste .fix{position:sticky;z-index:1}table.liste thead th.fix{z-index:3}table.liste .fix-ende{border-right:2px solid var(--text)}table.liste th.sortierbar{cursor:pointer;text-decoration:underline;text-decoration-color:var(--linie)}table.liste tr.neu td.fix{background:#f3f9ff}table.liste td.na{background:var(--na)}table.liste td.raum{font-size:14px;line-height:1.2}table.liste td input,table.liste td select{width:100%}table.liste input.zahl{text-align:right}.fehler-feld{border-color:var(--rot)!important;background:var(--rot-hell)!important}.warn-feld{border-color:var(--gelb)!important;background:var(--gelb-hell)!important}.abweichend{font-style:italic}td.aktionen{white-space:nowrap}td.aktionen button{margin-right:4px}.status{min-width:44px;padding:0;border:none;background:transparent;flex-direction:column;gap:0;font-size:11px}.punkt{width:20px;height:20px;border-radius:50%;display:inline-block;border:2px solid transparent;position:relative}.punkt.offen{background:#fff;border-color:var(--grau)}.punkt.fertig{background:var(--gruen)}.punkt.warnung{background:#f5c400;border-color:var(--gelb)}.punkt.fehler{background:var(--rot)}.punkt.nicht_vorgefunden{background:#fff;border-color:var(--text)}.punkt.nicht_vorgefunden:after{content:"";position:absolute;left:-3px;right:-3px;top:7px;height:2px;background:var(--text);transform:rotate(-45deg)}.marke-neu{font-size:11px;font-weight:700;color:var(--akzent)}.schleier{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:50;padding:16px}.dialog{background:#fff;border-radius:12px;padding:18px 20px;max-width:min(640px,100%);width:100%;max-height:90dvh;overflow:auto;box-shadow:0 10px 40px #00000059}.dialog h2{margin:0 0 12px;font-size:20px}.dialog .knoepfe{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}.dialog .raster{display:grid;grid-template-columns:1fr 1fr;gap:10px}.meldung{padding:8px 10px;border-radius:8px;margin:6px 0;display:flex;align-items:center;gap:10px}.meldung.Fehler{background:var(--rot-hell);color:var(--rot)}.meldung.Warnung{background:var(--gelb-hell)}.meldung.quittiert{background:#f0f0f0;color:var(--leise)}.meldung .text{flex:1}.hinweis{color:var(--leise);font-size:14px}.fehlertext{color:var(--rot);font-weight:600}.seite{flex:1;overflow:auto;padding:16px}.seite h2{font-size:20px;margin:0 0 12px}.seite h3{font-size:17px;margin:24px 0 8px}.karte{border:1.5px solid var(--linie);border-radius:10px;padding:12px 14px;margin:8px 0}table.einfach{border-collapse:collapse;width:100%}table.einfach th,table.einfach td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--linie);vertical-align:middle}.regel{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 0;border-bottom:1px solid var(--linie)}.regel .id{font-weight:700;width:36px}.regel .kurz{flex:1 1 260px}.regel input.grenze{width:80px;text-align:right}.schalter{display:inline-flex;align-items:center;gap:6px;min-height:44px}.schalter input{width:24px;height:24px;min-height:0}.start{max-width:640px;margin:40px auto;padding:0 16px}.start ol li{margin:6px 0}
