/* DOKU: Darstellung; Geschäftsregeln und Berechtigungen gehören in PHP/JavaScript, nicht in CSS. */
/* DOKU: Grundfarben, Abstände und Basiskomponenten: Navigation, Kennzahlen, Formulare, Dialoge, Tabellen und Plan. Spätere Blöcke erweitern diese Regeln bewusst über die CSS-Kaskade. */
:root{--bg:#f5f7f8;--paper:#fff;--ink:#233b3a;--muted:#81908e;--line:#e6eceb;--green:#176557;--light:#eaf4ef;--orange:#c48338;--red:#b95e53;--radius:13px;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #94bdb1;outline-offset:3px}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:34px 23px;z-index:20;display:flex;flex-direction:column}.brand{font-size:28px;font-weight:760;letter-spacing:-1.4px;display:flex;align-items:center;gap:8px;color:#1d4c42}.brand-dot{margin-left:-8px;color:#50a082}.brandmark{background:#205f51;color:white;border-radius:10px;font-size:35px;line-height:42px;width:41px;height:42px;display:inline-block;text-align:center;font-weight:500;position:relative;letter-spacing:-4px;padding-right:5px;margin-right:4px}.brandmark span{font-size:15px;position:absolute;right:7px;top:-1px;color:#a9d5b6}.workspace-label{font-size:9px;font-weight:700;color:#9aa7a3;letter-spacing:1.4px;margin:48px 13px 17px}nav{display:grid;gap:7px}.nav-item{display:flex;gap:13px;align-items:center;padding:13px 14px;border-radius:8px;color:#6e7e79;font-size:13px;font-weight:500}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#eaf3ee;color:#236451;font-weight:650}.nav-item .nav-count{margin-left:auto;font-size:10px;background:white;padding:3px 6px;border-radius:4px;color:#698278}.sidebar-bottom{margin-top:auto}.property-counter{display:flex;gap:13px;margin:22px 10px;padding-bottom:24px;border-bottom:1px solid var(--line)}.property-counter b,.profile b{font-size:11px;font-weight:600}.property-counter small,.profile small{display:block;color:#91a099;font-size:10px;margin-top:5px}.tiny-icon{font-size:25px;color:#6c8e81}.profile{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:white;color:var(--ink)}.profile>span:last-child{margin-left:auto;color:#899891}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;background:#eff2e8;color:#707e4b;font-size:11px;font-weight:650}.main-wrap{margin-left:238px;min-height:100vh}.topbar{height:81px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:11px;color:#8d9a97}.breadcrumb{display:flex;gap:15px}.breadcrumb b{font-weight:500;color:#50675e}.topbar-right{display:flex;align-items:center;gap:8px}.divider{height:18px;width:1px;background:var(--line);margin:0 14px}.live-dot{height:6px;width:6px;border-radius:50%;background:#4c9a76}#mobile-menu{display:none}main{padding:34px 38px 20px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;color:#8a9d94}h1{font-size:28px;letter-spacing:-.9px;font-weight:650;margin:9px 0}p{color:#85948d;font-size:12px;line-height:1.7;margin:5px 0}h2{font-size:15px;font-weight:650;letter-spacing:-.3px;margin:0}h3{font-size:13px;font-weight:600}.primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:12px 17px;border-radius:7px;background:var(--green);color:white;font-size:11px;font-weight:600;min-height:39px}.primary span{font-size:17px;font-weight:400}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;border:1px solid #dfe6e2;border-radius:6px;background:#fff;color:#546a5f;font-size:10px;font-weight:550;min-height:34px}.secondary:hover,.tab:hover{background:#f0f5f2}.primary:hover{background:#104f44}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.kpi{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px 20px 17px;position:relative}.kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7a8d83}.kpi-icon{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:7px;background:#f0f5f1;color:#6a8c7a}.kpi-icon svg{width:15px;height:15px}.kpi-number{font-size:30px;font-weight:650;letter-spacing:-1px;margin:14px 0 9px;line-height:1}.kpi-number .unit{font-size:12px;font-weight:400;color:#8d9d94;letter-spacing:0;margin-left:5px}.kpi-bottom{font-size:9px;color:#98a49e;display:flex;gap:6px;align-items:center}.kpi-bottom .positive{color:#50916e;background:#eef6ee;padding:3px 6px;border-radius:4px}.progress{height:4px;background:#edf1ed;border-radius:2px;margin:12px 0 4px;overflow:hidden}.progress>i{display:block;height:100%;background:#6d9c7d;width:var(--fill,0%)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(275px,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:22px 23px 19px;gap:10px}.panel-head p{font-size:10px;margin-top:6px}.subtle-link{background:none;color:#63907b;font-size:10px;white-space:nowrap;padding:5px 0}.segmented{display:flex;background:#f3f6f4;border-radius:6px;padding:3px;gap:3px}.tab{border-radius:4px;padding:7px 12px;background:none;font-size:10px;color:#81928a}.tab.active{background:white;box-shadow:0 1px 4px #203d3610;color:#365e4c;font-weight:600}.map-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 23px 18px;gap:10px}.legend{display:flex;gap:12px;color:#8e9c94;font-size:9px;align-items:center}.legend span{display:inline-flex;align-items:center;gap:5px}.dot{height:6px;width:6px;border-radius:2px;background:#8bafa0}.dot.free{background:#fff;border:1px solid #cdd8ce}.dot.grass{background:#d8e6c4}.site-map{margin:0 23px 17px;border:1px solid #e3eae3;border-radius:9px;background:#f8faf7;padding:20px 20px 15px;position:relative;overflow:hidden}.map-top-label{font-size:8px;color:#9fab9c;letter-spacing:1.2px;display:flex;align-items:center;gap:12px;margin-bottom:14px;text-transform:uppercase}.map-top-label:before,.map-top-label:after{content:'';height:1px;background:#dce5d8;flex:1}.space-row{display:grid;grid-template-columns:repeat(10,1fr);gap:6px}.space{position:relative;min-height:66px;background:white;border:1px solid #d5dfd3;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8b9b88;gap:7px;padding:7px 1px;transition:transform .15s,box-shadow .15s}.space:hover{transform:translateY(-3px);box-shadow:0 5px 10px #24403215}.space.occupied{background:#e6efe9;border-color:#c8dbce;color:#557f66}.space.grass{background:repeating-linear-gradient(120deg,#f1f5e9,#f1f5e9 3px,#eaf0e0 3px,#eaf0e0 4px)}.space.grass.occupied{background:repeating-linear-gradient(120deg,#dce9d5,#dce9d5 3px,#d7e4ce 3px,#d7e4ce 4px);border-color:#c3d7b7}.space b{font-size:10px;font-weight:600}.space svg{width:24px;height:24px}.space:after{content:'';position:absolute;bottom:0;width:17px;height:3px;background:#a9c2ae;border-radius:3px 3px 0 0}.space.free:after{background:#dce3d6}.driveway{height:55px;display:flex;align-items:center;justify-content:center;gap:15px;font-size:8px;letter-spacing:1.7px;color:#a2aca2}.driveway:before,.driveway:after{content:'';height:1px;flex:1;border-top:1px dashed #ccd5c8}.map-bottom{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#a0ab9e;padding-top:16px}.entry{display:flex;align-items:center;gap:7px;color:#7d967d}.entry i{width:17px;height:17px;display:inline-flex;border:1px solid #d9e2d4;border-radius:4px;align-items:center;justify-content:center;font-style:normal}.map-summary{margin:0 23px;padding:15px 0 19px;border-top:1px solid #edf1eb;display:flex;justify-content:space-between;font-size:10px;color:#8a9b8e}.map-summary b{font-weight:600;color:#4c7359}.map-note{font-size:9px;padding:0 23px 15px;color:#9aa69c}.chart-panel .panel-head{padding-bottom:9px}.chart-total{padding:3px 23px 0;font-size:25px;font-weight:650;letter-spacing:-.7px}.chart-total span{font-size:10px;font-weight:400;color:#8e9d93;letter-spacing:0;margin-left:7px}.chart{height:154px;display:flex;align-items:end;gap:15px;padding:20px 25px 27px;position:relative;margin-top:10px;background:repeating-linear-gradient(to top,transparent 0,transparent 35px,#f0f3ef 35px,#f0f3ef 36px);background-size:calc(100% - 48px) 112px;background-position:center 10px;background-repeat:no-repeat}.chart-bar{height:var(--h);background:#cbded2;min-height:2px;flex:1;border-radius:4px 4px 1px 1px;position:relative;max-height:110px}.chart-bar.current{background:#37745b}.chart-bar span{position:absolute;bottom:-20px;left:50%;transform:translateX(-50%);font-size:8px;color:#97a398}.chart-bar:hover:before{content:attr(data-value);position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);background:#244d40;color:white;font-size:9px;padding:4px 7px;white-space:nowrap;border-radius:4px;z-index:2}.chart-foot{padding:16px 23px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:#99a49d}.chart-foot b{color:#5d8069;font-weight:500}.stack{display:grid;gap:20px}.hint-panel{padding:19px 22px;background:#f0f4e9;border:1px solid #e4e9db;border-radius:var(--radius);position:relative}.hint-title{font-size:11px;font-weight:650;display:flex;align-items:center;gap:8px;color:#65744b}.hint-title svg{width:16px;height:16px}.hint-panel p{font-size:10px;line-height:1.8;color:#8a967a;margin:10px 0}.hint-panel button{padding:0;background:none;font-size:10px;color:#657c4e}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(275px,1fr);gap:22px;margin-top:22px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px}th{background:#fafbf9;color:#95a197;font-size:9px;font-weight:500;padding:12px 21px;border-top:1px solid #edf1ec;border-bottom:1px solid #edf1ec}td{padding:14px 21px;border-bottom:1px solid #f0f3ee;color:#657b6c}tbody tr:last-child td{border-bottom:0}.customer-name{display:flex;gap:9px;align-items:center;color:#405e4a}.customer-name b{font-size:10px;font-weight:550}.customer-name small{display:block;color:#a0aba1;font-size:9px;margin-top:4px}.customer-name .avatar{width:29px;height:29px;font-size:9px;background:var(--avatar,#eef1e5)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;padding:5px 8px;border-radius:5px;background:#edf5ee;color:#5b896b}.badge.orange{background:#fbf2e5;color:#bb945f}.badge.red{background:#fbedea;color:#b57465}.badge.gray{background:#f1f3f1;color:#93a08f}.activity-list{padding:0 23px 18px}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-top:1px solid #eff2ed}.activity-icon{width:31px;height:31px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#eef4ed;color:#6f9173;flex-shrink:0}.activity-icon svg{width:15px;height:15px}.activity-row b{font-size:10px;font-weight:550;display:block;color:#506b55;margin:1px 0 5px}.activity-row small{font-size:9px;color:#99a69b}.activity-row .subtle-link{margin-left:auto}footer{max-width:1600px;margin:0 auto;padding:25px 38px;display:flex;justify-content:space-between;font-size:9px;color:#7f9384}footer .muted{color:#adb7af;margin-left:10px}.page-actions{display:flex;gap:8px}.filters{padding:18px 23px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1;max-width:340px}.search input{margin:0;padding-left:34px;background:#fafbf9}.search>span{position:absolute;top:11px;left:12px;color:#91a18f}.empty{padding:45px 25px;text-align:center;color:#92a28f;font-size:12px}.full-map .site-map{max-width:900px;margin:0 auto 20px}.full-map .map-toolbar,.full-map .map-summary{max-width:948px;margin-left:auto;margin-right:auto}.full-map .space{min-height:95px}.info-strip{background:#f0f4eb;border:1px solid #e3e9dd;color:#819373;font-size:11px;padding:14px 18px;border-radius:8px;margin-bottom:20px;line-height:1.7}.chip-note{margin:20px 23px;font-size:11px;color:#87977e;line-height:1.7}.k-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0 23px 22px}.k-card{border:1px solid var(--line);border-radius:8px;padding:15px}.k-card b{font-size:12px}.k-card p{font-size:10px}dialog{border:1px solid #dfe7de;border-radius:15px;width:min(540px,calc(100vw - 30px));padding:26px;box-shadow:0 25px 100px #162d3633;color:var(--ink);max-height:90vh}dialog::backdrop{background:#173c3b66;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:22px;margin-top:8px}.icon-button{background:none;font-size:23px;color:#809286;padding:4px 8px;border-radius:5px}label{display:block;font-size:11px;color:#6f8374;margin:14px 0}input,select,textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dce5da;border-radius:6px;color:#375443;background:white;outline:none;margin-top:7px;min-height:39px}input:focus,select:focus,textarea:focus{border-color:#72a387;box-shadow:0 0 0 3px #72a38718}input[readonly]{background:#f3f6f1;color:#8a9b85}textarea{resize:vertical;min-height:70px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:19px;margin-top:23px}.field-note{font-size:10px;line-height:1.7;color:#92a18b}#form-error,#login-error{color:#b37061;font-size:11px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:50;background:#254e3c;color:#fff;padding:14px 25px;border-radius:8px;font-size:12px;box-shadow:0 5px 20px #173c3b22;max-width:90vw}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 15% 10%,#e5eee0,transparent 60%)}.login-card{width:410px;padding:38px;background:white;border:1px solid var(--line);border-radius:16px;margin:20px;box-shadow:0 15px 40px #1b433b06}.login-card .brand{margin-bottom:35px}.login-card h1{font-size:25px}.login-card .primary{width:100%;margin-top:13px}.mini-text{font-size:9px;color:#9baa92}.danger-text{color:#b97968}.tr-action{border:1px solid var(--line);border-radius:5px;background:white;font-size:10px;color:#6a896d;padding:6px 9px}.demo-banner{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eaf0e4;border:1px solid #dfe8d6;padding:10px 15px;border-radius:7px;color:#728462;font-size:10px}.demo-banner a{text-decoration:underline;font-weight:600}.date-filter{display:flex;gap:8px;align-items:center;font-size:10px;color:#8d9b85}.date-filter input{width:145px;font-size:11px;padding:6px 9px;min-height:30px;margin:0}.chart-empty{text-align:center;padding:50px 0;font-size:11px;color:#9aaa93}.amount{font-variant-numeric:tabular-nums}.stats-note{margin-bottom:22px}.print-view{padding:40px}.print-view h1{font-size:28px}.print-view table{margin-top:30px}.invoice-number{color:#8d9e90;font-size:13px}.fatal{padding:50px;max-width:700px;margin:auto}.fatal p{font-size:14px}
/* DOKU: Mehr Platz und größere Planfelder auf breiten Desktop-Bildschirmen. */
@media(min-width:1500px){main{padding-top:40px}.space{min-height:85px}.site-map{padding:25px}.chart{height:180px}.chart-bar{max-height:135px}.driveway{height:65px}}@media(max-width:1200px){.sidebar{width:205px;padding:30px 16px}.main-wrap{margin-left:205px}main{padding:27px 24px}.topbar{padding:0 24px}.overview-grid,.bottom-grid{gap:17px;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr)}.kpi{padding:16px}.kpi-number{font-size:26px}.space-row{gap:4px}.site-map{padding:14px 12px}.space svg{width:20px}.map-toolbar{flex-wrap:wrap}.legend{gap:9px}.panel-head{padding:19px}.chart{gap:10px}.page-heading{margin-bottom:22px}th,td{padding-left:16px;padding-right:16px}}
/* DOKU: Kompaktere Navigation und Anordnung für mittlere Bildschirmbreiten. */
@media(max-width:1000px){.sidebar{width:180px;padding:28px 12px}.brand{font-size:25px}.main-wrap{margin-left:180px}.overview-grid,.bottom-grid{grid-template-columns:1fr}.stack{grid-template-columns:1.2fr 1fr}.kpi-grid{gap:10px}.kpi-top{font-size:9px}.kpi-icon{width:24px;height:24px}.kpi-bottom{font-size:8px}.space{min-height:80px}.chart{height:140px}.hint-panel{display:flex;flex-direction:column;justify-content:center}.today{display:none}.full-map .space{min-height:80px}}
/* DOKU: Smartphone-Grundlayout: ausklappbare Navigation, Planraster und Tabellen als Karten. */
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:230px;box-shadow:10px 0 30px #213a3a11;transition:transform .2s}.sidebar.open{transform:translateX(0)}.main-wrap{margin-left:0}#mobile-menu{display:block}.topbar{height:62px;padding:0 18px;gap:12px}.breadcrumb{margin-right:auto;font-size:10px}.topbar-right{font-size:9px}.divider{display:none}.topbar-right .live-dot{display:none}main{padding:23px 16px}.page-heading{align-items:flex-start;gap:10px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:240px}.page-heading .primary{font-size:0;width:38px;padding:7px}.page-heading .primary span{font-size:22px}.kpi-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px}.kpi-top{font-size:10px}.kpi-number{font-size:27px}.kpi-bottom{font-size:9px}.overview-grid,.bottom-grid{gap:17px}.bottom-grid{margin-top:17px}.stack{grid-template-columns:1fr}.hint-panel{padding:16px 20px}.panel-head{padding:19px 17px}.map-toolbar{padding:0 17px 15px}.site-map{margin:0 13px 15px;padding:13px 9px}.space-row{gap:4px}.space{min-height:58px}.space b{font-size:9px}.space svg{width:19px;height:19px}.driveway{height:46px}.map-summary{margin:0 17px;font-size:9px}.map-note{padding:0 17px 15px}.legend{font-size:8px}.tab{padding:6px 10px}.full-map .space{min-height:62px}.k-list{grid-template-columns:1fr}.filters{flex-wrap:wrap;padding:15px}.filters .search{max-width:none}.filters select{width:auto}.field-row{gap:10px}dialog{padding:22px}.demo-banner{font-size:9px;align-items:flex-start}.demo-banner a{white-space:nowrap}footer{padding:20px 16px;font-size:8px}footer .muted{display:none}.date-filter{font-size:9px}.date-filter input{width:129px}.page-actions{gap:5px}.page-actions .secondary{font-size:9px;padding:9px}.topbar-right #mode-label{max-width:80px;overflow:hidden;white-space:nowrap}.chart{height:160px}th,td{padding:13px 15px}.login-card{padding:27px}.mobile-no{display:none}}
/* DOKU: Druckansicht: Navigation und reine Bedienaktionen ausblenden. */
@media print{.sidebar,.topbar,footer,.page-actions,.demo-banner,.tr-action{display:none!important}.main-wrap{margin:0}main{padding:0}.panel{border:0}.filters{display:none}body{background:#fff}th,td{font-size:11px}dialog{display:none}}

/* DOKU: Vordefinierte Diagrammhöhen ersetzen dynamische Inline-Styles und passen zur Content-Security-Policy. */
.bar-h2{--h:2%}.bar-h3{--h:3%}.bar-h4{--h:4%}.bar-h5{--h:5%}.bar-h6{--h:6%}.bar-h7{--h:7%}.bar-h8{--h:8%}.bar-h9{--h:9%}.bar-h10{--h:10%}.bar-h11{--h:11%}.bar-h12{--h:12%}.bar-h13{--h:13%}.bar-h14{--h:14%}.bar-h15{--h:15%}.bar-h16{--h:16%}.bar-h17{--h:17%}.bar-h18{--h:18%}.bar-h19{--h:19%}.bar-h20{--h:20%}.bar-h21{--h:21%}.bar-h22{--h:22%}.bar-h23{--h:23%}.bar-h24{--h:24%}.bar-h25{--h:25%}.bar-h26{--h:26%}.bar-h27{--h:27%}.bar-h28{--h:28%}.bar-h29{--h:29%}.bar-h30{--h:30%}.bar-h31{--h:31%}.bar-h32{--h:32%}.bar-h33{--h:33%}.bar-h34{--h:34%}.bar-h35{--h:35%}.bar-h36{--h:36%}.bar-h37{--h:37%}.bar-h38{--h:38%}.bar-h39{--h:39%}.bar-h40{--h:40%}.bar-h41{--h:41%}.bar-h42{--h:42%}.bar-h43{--h:43%}.bar-h44{--h:44%}.bar-h45{--h:45%}.bar-h46{--h:46%}.bar-h47{--h:47%}.bar-h48{--h:48%}.bar-h49{--h:49%}.bar-h50{--h:50%}.bar-h51{--h:51%}.bar-h52{--h:52%}.bar-h53{--h:53%}.bar-h54{--h:54%}.bar-h55{--h:55%}.bar-h56{--h:56%}.bar-h57{--h:57%}.bar-h58{--h:58%}.bar-h59{--h:59%}.bar-h60{--h:60%}.bar-h61{--h:61%}.bar-h62{--h:62%}.bar-h63{--h:63%}.bar-h64{--h:64%}.bar-h65{--h:65%}.bar-h66{--h:66%}.bar-h67{--h:67%}.bar-h68{--h:68%}.bar-h69{--h:69%}.bar-h70{--h:70%}.bar-h71{--h:71%}.bar-h72{--h:72%}.bar-h73{--h:73%}.bar-h74{--h:74%}.bar-h75{--h:75%}.bar-h76{--h:76%}.bar-h77{--h:77%}.bar-h78{--h:78%}.bar-h79{--h:79%}.bar-h80{--h:80%}.bar-h81{--h:81%}.bar-h82{--h:82%}.bar-h83{--h:83%}.bar-h84{--h:84%}.bar-h85{--h:85%}.bar-h86{--h:86%}.bar-h87{--h:87%}.bar-h88{--h:88%}.bar-h89{--h:89%}.bar-h90{--h:90%}.bar-h91{--h:91%}.bar-h92{--h:92%}.bar-h93{--h:93%}.bar-h94{--h:94%}.bar-h95{--h:95%}.bar-h96{--h:96%}.bar-h97{--h:97%}.bar-h98{--h:98%}.bar-h99{--h:99%}.bar-h100{--h:100%}
/* DOKU: Zusätzliche Listenwerkzeuge und Abrechnungsreiter. */
.page-tools{display:flex;justify-content:flex-end;margin:-12px 0 17px}.invoice-tabs{display:flex;gap:5px;margin-bottom:18px}.invoice-tabs .tab{font-size:11px;padding:11px 17px}.invoice-tabs .active{background:white;border:1px solid var(--line)}.branding-panel{padding:22px;margin-bottom:22px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.branding-panel .logo-preview{width:130px;height:73px;object-fit:contain}.branding-panel label{margin:0}.brand.custom-logo{height:83px;display:flex;justify-content:center;letter-spacing:0}.brand.custom-logo img{max-width:178px;max-height:83px;object-fit:contain}.login-card .brand.custom-logo{height:110px;justify-content:flex-start}.login-card .brand.custom-logo img{max-height:110px;max-width:230px}.sidebar:has(.custom-logo) .workspace-label{margin-top:27px}#import-preview{margin-top:18px;max-height:220px;overflow:auto;font-size:10px}#import-mapping .field-row{gap:9px}#import-mapping label{font-size:10px}#import-mapping select{font-size:10px}.filters #document-customer{max-width:230px}.chip-note svg{width:13px;height:13px;vertical-align:middle;margin-right:4px}.upload-label{display:block}.file-note{max-width:400px}
.legacy-json{font-size:10px;line-height:1.6;background:#f3f6f1;padding:13px;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere;color:#657d68}.sidebar .nav-item{padding-top:11px;padding-bottom:11px}.sidebar nav{gap:5px}.sidebar .workspace-label{margin-top:36px}
/* DOKU: Belegte Plätze und Dateiverwaltung im Buchungs-/Kundendialog. */
.occupied-option{color:#af6258;background:#f9edeb}.delete-confirm{background:#a24f47}.customer-file-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.customer-file-card{padding:15px;border:1px solid var(--line);border-radius:9px;min-width:0}.customer-file-card h3{margin-top:0}.customer-file-preview{width:100%;height:140px;object-fit:contain;background:#f5f7f2;border-radius:6px}.file-placeholder{height:140px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:#f4f7f2;color:#9aab91;border-radius:6px;font-size:10px}.file-placeholder svg{width:30px;height:30px}.file-name{overflow-wrap:anywhere;font-size:10px;margin:12px 0}.customer-file-card button{margin-bottom:5px}.unlimited-option{display:flex;align-items:center;gap:7px;font-size:11px}.unlimited-option input{display:inline-block;width:15px;min-height:15px;height:15px;margin:0;accent-color:var(--green)}.billing-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px;padding:17px 21px;background:#f8f1e2;border:1px solid #eee1c8;border-radius:10px}.billing-notice b{font-size:12px;color:#967442}.billing-notice p{font-size:10px;color:#a68f6d}.filters #activity-filter{width:auto;min-width:125px}.invoice-tabs{flex-wrap:wrap}@media(max-width:700px){.billing-notice{flex-direction:column;align-items:flex-start}.customer-file-grid{grid-template-columns:1fr}.customer-file-preview,.file-placeholder{height:180px}}
.vehicle-legend{display:flex;gap:11px;flex-wrap:wrap;padding:0 23px 14px;color:#8b9d8c;font-size:8px}.vehicle-legend span{display:inline-flex;align-items:center;gap:4px}.vehicle-legend svg{width:19px;height:19px}.vehicle-symbol svg{width:24px;height:24px;vertical-align:middle;margin-right:7px;color:#72957c}

/* DOKU: Freie Plätze erhalten eine leere Markierung; Grasflächen verwenden ein kräftiges Grün. */
.space.free .empty-bay{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px dashed #bfceba;border-bottom:0;border-radius:3px 3px 0 0;color:#8d9e85}
.empty-bay span{font-size:7px;font-weight:400;letter-spacing:.3px}
.space.grass{background:repeating-linear-gradient(120deg,#ddf1c4,#ddf1c4 3px,#d4eab6 3px,#d4eab6 4px);border-color:#aacd87;color:#50733c}
.space.grass.occupied{background:repeating-linear-gradient(120deg,#b3d989,#b3d989 3px,#a9d17e 3px,#a9d17e 4px);border-color:#8ab35e;color:#355b28}
.space.grass.free .empty-bay{border-color:#8db36c;color:#65894d}
.space.grass:after{background:#7ca359}.space.grass.free:after{background:#bdd69e}
.dot.grass{background:#b3d989}

/* DOKU: Individuelle Monatsmiete und Rücksetzen auf den Platz-Standardpreis. */
.booking-price-help{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}.booking-price-help p{flex:1}.booking-price-help button{flex-shrink:0}@media(max-width:500px){.booking-price-help{align-items:flex-start;flex-direction:column}}
/* DOKU: Anmeldung und Wiederherstellung der Zugangsdaten. */
.auth-link{display:block;margin:18px auto 0;background:none;color:#537c69;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:8px}.security-panel{padding:22px;margin-bottom:22px}.security-panel>div{display:flex;gap:12px;align-items:center;margin-bottom:12px}.security-panel .secondary{margin-top:12px}#recovery-error{color:#af6057;font-size:12px}#recovery-message{color:#397358;font-size:12px}.menu-backdrop{display:none}.table-sort{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.sort-marker{color:#9aaa9f;font-size:11px}.mobile-table-sort{display:none}
/* DOKU: Ergänzte mobile Bedienung: größere Ziele, Formularfelder und mobile Tabellensortierung. */
@media screen and (max-width:700px){
 body{overflow-x:hidden}.main-wrap{min-width:0}.topbar{position:sticky;top:0;z-index:15;padding:0 12px}.sidebar{width:min(82vw,290px);padding-bottom:max(24px,env(safe-area-inset-bottom))}.menu-open{overflow:hidden}.menu-open .menu-backdrop{display:block;position:fixed;inset:0;background:#173c3b66;z-index:19}.menu-backdrop{border:0}main{padding:22px 12px 16px}.topbar-right{gap:4px}.page-heading p{font-size:12px}.page-heading .primary{width:44px;height:44px}.primary,.secondary,.tr-action,.tab{min-height:44px}.tr-action{padding:10px 12px;font-size:12px}.icon-button{min-width:44px;min-height:44px}input,select,textarea{font-size:16px;min-height:44px}.search input{padding-top:11px;padding-bottom:11px}.search>span{top:14px}.filters{padding:12px;gap:9px}.filters .search{flex-basis:100%;max-width:none}.filters select{flex:1;min-width:0}.filters #document-customer{max-width:none;width:100%}.filters .secondary{flex:1;font-size:11px}.table-wrap{overflow:visible}.table-wrap table{white-space:normal;font-size:12px}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:12px;padding:12px}.table-wrap tbody tr{display:block;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.table-wrap td{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);gap:10px;padding:11px 12px;border-bottom:1px solid #f0f3ed;align-items:center;overflow-wrap:anywhere}.table-wrap td::before{content:attr(data-label);font-size:10px;color:#8a9d90}.table-wrap td.table-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;border-bottom:0}.table-wrap td.table-actions::before{display:none}.table-wrap td[colspan]{display:block}.table-wrap td[colspan]::before{display:none}.table-wrap .customer-name b{font-size:12px}.table-wrap .customer-name small{font-size:10px}.table-wrap .badge{font-size:10px}.table-wrap .mini-text{font-size:10px}.mobile-table-sort{display:flex;align-items:center;gap:8px;padding:10px 12px 0;color:#8a9d90;font-size:11px}.mobile-table-sort select{flex:1;margin:0;font-size:14px}.mobile-table-sort button{min-width:44px;min-height:44px}.space-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.site-map{margin:0 10px 15px;padding:14px 10px}.space,.full-map .space{min-height:76px;min-width:0;gap:9px}.space b{font-size:11px}.space svg{width:27px;height:27px}.space.free .empty-bay{width:28px;height:28px}.empty-bay span{font-size:8px}.driveway{height:36px}.map-toolbar{align-items:stretch}.segmented{width:100%}.segmented .tab{flex:1;font-size:11px}.legend{font-size:10px;justify-content:space-between;gap:10px}.map-top-label{font-size:9px}.vehicle-legend{font-size:9px;padding:0 15px 14px;gap:10px}.vehicle-legend svg{width:22px;height:22px}.map-summary{font-size:10px}.map-note{font-size:10px}.modal-head h2{font-size:21px}dialog{width:calc(100vw - 20px);padding:19px;max-height:calc(100dvh - 24px)}.modal-actions{position:sticky;bottom:-19px;background:white;padding:15px 0 5px;margin-top:20px}.modal-actions button{flex:1;font-size:13px}label{font-size:12px}.field-note{font-size:11px}.login-card{margin:15px;padding:26px;width:min(410px,calc(100vw - 30px))}.login-card .primary{font-size:13px;min-height:46px}.login-card p{font-size:12px}.kpi-top{font-size:11px}.kpi-bottom{font-size:10px}.kpi-grid{gap:10px}.kpi{min-width:0;padding:15px}.kpi-number{font-size:25px}.kpi-number .unit{font-size:10px}.today{display:none}.topbar #mode-label{font-size:9px}.demo-banner{flex-wrap:wrap;line-height:1.6}.demo-banner a{padding:6px 0}.security-panel{padding:18px}.security-panel p{overflow-wrap:anywhere}.security-panel .secondary{width:100%}footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}
}
@media screen and (max-width:420px){.field-row{grid-template-columns:1fr;gap:0}.kpi-number{font-size:22px}.breadcrumb{gap:8px}.topbar-right{max-width:78px}.customer-file-card .secondary{width:100%}}
@media print{.mobile-table-sort,.menu-backdrop,.sort-marker{display:none!important}.table-sort{font:inherit;color:inherit}.table-wrap td::before{display:none}}
/* DOKU: Chipzuordnung direkt in den Kundendetails. */
.customer-chip-detail{margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.customer-chip-detail>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.customer-chip-row{display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid #edf1ec}.customer-chip-row>span:first-child{margin-right:auto;min-width:0}.customer-chip-row b{font-size:11px;overflow-wrap:anywhere}.customer-chip-row small{display:block;color:#8b9d8d;font-size:10px;margin-top:4px}@media screen and (max-width:700px){.customer-chip-detail>div:first-child{align-items:flex-start;flex-direction:column}.customer-chip-row{flex-wrap:wrap}.customer-chip-row b{font-size:12px}.customer-chip-row .tr-action{margin-left:auto}}
.release-booking{width:100%;margin-top:12px;border-color:#e2c9c2;background:#fff9f6}.release-booking:hover{background:#f8ece7}
/* DOKU: Portrait links, Dokument rechts; Vorschauen behalten das Seitenverhältnis und bleiben höchstens 80 Pixel hoch. */
.customer-attachments-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;margin-bottom:18px}
.customer-attachment-item{display:flex;align-items:flex-start;max-width:calc(50% - 8px);min-width:0}.customer-attachment-item.is-document{margin-left:auto;align-items:flex-end;text-align:right}
.customer-attachment-preview{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;color:#356e56;text-decoration:none}.is-document .customer-attachment-preview{align-items:flex-end}
.customer-portrait-mini{display:block;width:auto;height:auto;max-width:min(160px,35vw);max-height:80px;object-fit:contain;border:1px solid #dce6d7;border-radius:6px;background:white;flex-shrink:0}
.customer-attachment-caption{font-size:10px;line-height:14px;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.customer-pdf-thumbnail{display:flex;align-items:center;justify-content:center;width:56px;height:80px;border:1px solid #dce6d7;border-radius:6px;background:#f3f7f1;color:#6e8a70;overflow:hidden}
.customer-pdf-thumbnail.has-preview{width:auto;height:auto;border:0;background:transparent}.pdf-preview-status{text-align:center;font-size:12px;font-weight:600}.pdf-preview-status small{display:block;max-width:52px;font-size:8px;line-height:1.4;font-weight:400;padding:4px}
.customer-pdf-canvas{max-height:80px;max-width:min(160px,35vw);width:auto;height:auto}.file-text-link{display:block;padding:6px 0;color:#356e56;background:none;text-decoration:underline;text-underline-offset:3px;text-align:left;font-size:11px}
@media screen and (max-width:700px){.customer-attachment-caption{font-size:10px}.file-text-link{min-height:44px;font-size:12px}}

/* DOKU: Rechnungsoptionen: ausdrücklicher Zahlungseingang und Kennzeichnung Ohne Rechnung. */
.paid-toggle{display:flex;align-items:center;gap:9px}.paid-toggle input{width:17px;height:17px;min-height:17px;margin:0;accent-color:var(--green)}
@media screen and (max-width:700px){.sidebar{overflow-y:auto;overscroll-behavior:contain}}

/* DOKU: Feste KG-Plätze neben der zusätzlichen flexiblen Vermietung. */
.space-row.kg-fixed-row{grid-template-columns:repeat(auto-fit,minmax(70px,110px));justify-content:center;gap:10px}.flex-parking{border-top:1px solid #edf1eb;margin-top:8px}.flex-parking .k-list{padding-top:0}.flex-parking .empty{padding-top:10px}

/* DOKU: Stellplatzverwaltung in Einstellungen einschließlich mobiler Anordnung. */
.space-settings .panel-head{gap:12px;flex-wrap:wrap;align-items:flex-start}.space-settings .panel-head .secondary{max-width:100%}

/* DOKU: Schmale Nummern-/Zählspalten nur in der Kundenübersicht am Desktop. Die mobile Kartenansicht behält ihre volle Breite. */
@media (min-width:701px){
 .customer-overview :is(th,td):is(:nth-child(1),:nth-child(5),:nth-child(6)){width:1%;padding-left:12px;padding-right:12px}
 .customer-overview th:is(:nth-child(1),:nth-child(5),:nth-child(6)){white-space:normal}
 .customer-overview th:is(:nth-child(1),:nth-child(5),:nth-child(6)) .table-sort{max-width:7rem;gap:4px;white-space:normal;hyphens:auto}
 .customer-overview td:is(:nth-child(1),:nth-child(5),:nth-child(6)):not([colspan]){text-align:center;font-variant-numeric:tabular-nums}
}

/* DOKU: Dropbereiche für Portrait/Dokument; Touch- und Tastaturbedienung bleiben über die Dateiauswahl möglich. */
.customer-drop-zone{border:2px dashed #b9cdc3;transition:border-color .15s,background-color .15s}.customer-drop-zone.is-dragging{border-color:var(--green);background:#eaf4ef}.customer-drop-hint{font-size:11px;color:#56776b;margin:9px 0 13px}.customer-upload-drop{padding:16px;border-radius:9px;margin:12px 0}.customer-drop-zone[aria-busy="true"]{opacity:.7}.customer-drop-zone[aria-busy="true"] .customer-drop-hint{font-weight:600}

/* DOKU: Fahrzeugbezogener Zulassungsschein, auch in der Kundendateikarte erreichbar. */
.registration-summary{border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:18px}.registration-summary a{display:flex;align-items:center;gap:12px;margin:10px 0;color:var(--green);font-size:12px}.registration-summary .customer-portrait-mini{max-width:110px;max-height:90px;object-fit:contain}.registration-open{display:inline-flex;align-items:center;min-height:38px;padding:9px 13px}

.customer-file-card h3,.registration-summary a{overflow-wrap:anywhere}

/* DOKU: Direkte Drops auf die Miniaturen erhalten die proportionale Bildgröße und ungespeicherte Formulareingaben. */
.customer-inline-drop{border:0;outline:1px dashed #b9cdc3;outline-offset:4px}.customer-inline-drop.is-dragging{outline:2px dashed var(--green)}.customer-empty-attachment{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:80px;padding:8px;max-width:150px;background:#f4f7f2;border-radius:6px;font-size:11px;color:#56776b}.customer-empty-attachment small{font-size:9px}.customer-inline-drop .customer-portrait-mini{height:auto}

/* DOKU: Dateilöschung steht getrennt vom Öffnen-Link, damit ein Klick niemals versehentlich die Datei öffnet. */
.customer-inline-drop{flex-direction:column;gap:5px}.customer-inline-drop .tr-action{padding:4px 0;font-size:10px}.customer-inline-drop.is-document .tr-action{align-self:flex-end}
