



#sd-edit-overlay.sd-editor:not([data-wp-groesse]) > .dialog{width:min(calc(1680px * var(--wp-dichte)),calc(var(--teil-b, 100vw) * 0.96))}
#sd-edit-overlay.sd-editor > .dialog{position:relative;height:calc(var(--teil-h, 100dvh) * 0.88);max-height:calc(var(--teil-h, 100dvh) * 0.94);padding:0;display:flex;flex-direction:column;--wp-rahmen-ueberlauf:clip;overflow:clip;border-radius:var(--r-xl);background:var(--gh-panel)}
#sd-edit-overlay.sd-editor #sd-edit-title{display:flex;align-items:center;gap:var(--sp-2);flex-shrink:0;margin:0;padding:var(--sp-1) var(--sp-2) var(--sp-1) var(--sp-4);min-height:var(--kopf-h);font-size:var(--t-titel);border-bottom:1px solid var(--gh-border);background:var(--gh-panel)}
#sd-edit-overlay.sd-editor #sd-edit-title-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sd-edit-overlay.sd-editor .sd-subtabs{margin:0;padding:0 var(--sp-4);gap:var(--sp-4);background:var(--gh-panel);border:0;border-bottom:1px solid var(--gh-border-subtle);border-radius:0;flex-shrink:0}


#sd-edit-overlay.sd-editor .sd-subtab{display:flex;align-items:center;justify-content:center;gap:var(--sp-2);flex:0 0 auto;font:inherit;font-size:var(--t-text);font-weight:500;padding:var(--sp-2) var(--sp-1);min-height:var(--reiter-h);border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--gh-muted)}
#sd-edit-overlay.sd-editor .sd-subtab[aria-selected=true]{color:var(--gh-accent);border-bottom-color:var(--gh-accent)}
#sd-edit-overlay.sd-editor .sd-subtab svg{width:var(--ico);height:var(--ico);flex-shrink:0}
#sd-edit-overlay.sd-editor .sd-subtab .sd-subtab-count{-webkit-text-stroke:0;opacity:1;color:var(--gh-muted);font-size:var(--t-neben)}
#sd-edit-overlay.sd-editor #sd-edit-body{flex:1;min-height:0;overflow:auto;padding:var(--sp-4);background:var(--gh-bg)}
#sd-edit-overlay.sd-editor .sdc-card{margin:0 0 var(--sp-3);padding:var(--gruppe-pad);border:0;border-radius:var(--r-xl);background:var(--gruppe-bg);box-shadow:var(--karten-schatten)}

#sd-edit-overlay.sd-editor .sdc-head{margin:0 calc(-1 * var(--sp-3)) var(--sp-3);padding:0 var(--sp-3) var(--sp-2);border:0;border-bottom:var(--rand-haar) solid var(--gh-border-subtle);gap:var(--sp-2)}
#sd-edit-overlay.sd-editor :is(.sdc-card.sdc-zu, details.sdc-card:not([open])) > .sdc-head{margin-bottom:0;padding-bottom:0;border-bottom:0}


#sd-edit-overlay.sd-editor .sdc-ico{display:inline-flex;align-items:center;color:var(--symbol-info)}
#sd-edit-overlay.sd-editor .sdc-ico svg{width:var(--ico);height:var(--ico)}


#sd-edit-overlay.sd-editor .wp-kachel--bearbeiten .wp-kachel-feld :is(input,select,textarea){padding:0;border:0;border-bottom:1px solid var(--gh-border-strong);border-radius:0;background:transparent;color:var(--gh-text);font-size:var(--feld-fs);min-height:var(--kachel-knopf-h);box-shadow:none}
#sd-edit-overlay.sd-editor .wp-kachel-feld select{cursor:pointer}
#sd-edit-overlay.sd-editor .wp-kachel--bearbeiten .wp-kachel-feld input[readonly]{border-bottom-color:transparent}

#sd-edit-overlay .wp-kachel-feld input.sd-feld-nachgezogen{background:var(--farbe-ok-weich);color:var(--farbe-ok-text)}
#sd-edit-overlay.sd-editor .wp-kachel--bearbeiten{height:100%}
#sd-edit-overlay.sd-editor .field{margin:0 0 var(--sp-2)}

#sd-edit-overlay.sd-editor .wp-feldraster > .field{margin:0}
#sd-edit-overlay.sd-editor .wp-feldraster > .field > .wp-kachel{height:100%}
#sd-edit-overlay.sd-editor .sdc-sub.wp-feldraster{padding:var(--sp-1) 0}

#sd-edit-overlay.sd-editor .sd-objektfenster-inhalt{min-width:0}



#sd-edit-overlay .sd-objektfenster--fuellend{flex:1 1 auto;height:100%;min-height:0}
#sd-edit-overlay .sd-objektfenster--fuellend > .wp-objektfenster-raster{height:100%;align-items:stretch;grid-template-rows:auto minmax(0,1fr)}
@container (min-width:900px){
#sd-edit-overlay .sd-objektfenster--fuellend > .wp-objektfenster-raster{grid-template-rows:minmax(0,1fr)}
}
#sd-edit-overlay .sd-objektfenster--fuellend .sd-objektfenster-inhalt{display:flex;flex-direction:column;gap:var(--sp-3);min-height:0;height:100%}



@container wp-objektfenster (min-width:900px){
body:not(.monteur-mode) #sd-edit-overlay .sd-objektfenster-inhalt > .dok-wrap:has(> .wp-akte-kopf),
body:not(.monteur-mode) #sd-edit-overlay .dbf[data-pane="fotos"] > .dbf-raster{width:100%;max-width:calc(100% - var(--steckbrief-b) - var(--sp-4))}
}



@container (max-width:560px){
#sd-edit-overlay .wp-feldraster > [data-spur]:not([data-schmal]){grid-column:1 / -1}
}
#sd-edit-overlay.sd-editor .sd-objektfenster-inhalt > .sdc-card:last-child{margin-bottom:0}
#sd-edit-overlay.sd-editor .field > label{font-size:var(--t-neben);text-transform:none;letter-spacing:0;margin-bottom:var(--sp-1)}
#sd-edit-overlay.sd-editor :is(input,select,textarea){font-size:var(--feld-fs);min-height:var(--feld-h);height:auto;padding:var(--sp-2) var(--sp-3);border-radius:var(--r-md)}
#sd-edit-overlay.sd-editor .wp-btn{min-height:var(--pilot-knopf);padding:var(--sp-2);border-radius:var(--r-md)}
#sd-edit-overlay.sd-editor .dactions{margin:0;padding:var(--sp-3) var(--sp-4);gap:var(--sp-2);flex:0 0 auto;flex-wrap:wrap;border-top:1px solid var(--gh-border);background:var(--gh-panel)}
#sd-edit-overlay.sd-editor #sd-dirty-hint{font-size:var(--t-neben)}
#sd-edit-overlay.sd-editor .sd-gruppe-aktionen{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2);margin-top:var(--sp-2)}
#sd-edit-overlay.sd-editor .sd-gruppe-hinweis{margin:0 0 var(--sp-2);color:var(--gh-muted);font-size:var(--t-neben);line-height:1.45}

#sd-edit-overlay.sd-editor #sd-edit-title .wp-kopf-x{flex-shrink:0;margin-left:auto}
body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor > .dialog{padding:0!important;border-radius:var(--fenster-r,0)}
body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor .wp-kopf{padding:var(--sp-1) var(--sp-3);min-height:var(--kopf-h)}
body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor #sd-edit-body{padding:var(--sp-3)}
body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor .dactions{padding:var(--sp-2) var(--sp-3);gap:var(--sp-2)}
#sd-edit-overlay.sd-editor{--gruppe-bg:var(--gh-card)}


body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor #sd-edit-fuss[data-sd-fest="1"]{box-sizing:border-box;align-items:center;
min-height:calc(var(--pilot-knopf) + 2 * var(--sp-2) + 1px)}
#sd-edit-overlay .sd-ruhe-hint{margin-right:auto;align-self:center;font-size:var(--t-neben);color:var(--gh-muted)}

#sd-edit-overlay > .dialog > #sd-edit-fuss[hidden]{display:none!important}
#sd-edit-overlay.sd-editor #sd-edit-back{padding:0;flex-shrink:0;color:var(--gh-accent)}
#sd-edit-overlay.sd-editor #sd-edit-title .wp-kopf-sub{line-height:1.5;margin-top:var(--sp-1)}
@media (hover:hover){
#sd-edit-overlay.sd-editor .sd-subtab:hover{background:var(--gh-hover)}
}
body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor .sd-subtabs{gap:var(--sp-3);padding:0 var(--sp-3);overflow-x:auto}
body.monteur-mode.mobile-ui #sd-edit-overlay.sd-editor .sd-subtab{flex:0 0 auto;min-height:var(--reiter-h)}



#sd-edit-overlay .sdc-head[data-sd-zeile]{min-height:var(--tap);margin:0;cursor:pointer;flex-wrap:wrap}
#sd-edit-overlay summary.sdc-head{list-style:none}
#sd-edit-overlay summary.sdc-head::-webkit-details-marker{display:none}
#sd-edit-overlay .sdc-card.sdc-zu > .sdc-body,
#sd-edit-overlay .sdc-card.sdc-zu .sdc-head-extra{display:none}
#sd-edit-overlay .sdc-card.sdc-zu:has([aria-invalid="true"]) > .sdc-body{display:grid}
#sd-edit-overlay .sdc-card:not(.sdc-zu) > .sdc-head[data-sd-zeile]{margin-bottom:var(--sp-2)}
#sd-edit-overlay .sdc-zeilentext{display:flex;align-items:center;flex:1 1 0;min-width:0;gap:var(--sp-2)}
#sd-edit-overlay .sdc-zeilentext > .sdc-title{min-width:0}
#sd-edit-overlay .sdc-kurz{flex:1 1 0;margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
font-size:var(--t-neben);font-weight:400;color:var(--gh-muted)}
#sd-edit-overlay .sdc-head[data-sd-zeile] > .sdc-head-extra{order:5;flex:1 0 100%;margin-left:0}
#sd-edit-overlay .sdc-head-extra > button{white-space:nowrap}

#sd-edit-overlay .sdc-card.sdc-zu{padding-block:0}


#sd-edit-overlay #sd-edit-save.btn-ok.sd-save-ruhig{background:var(--bedien-bg);color:var(--gh-accent)}

#sd-edit-overlay.sd-editor-neu #sd-edit-body{background:var(--gh-bg)}
#sd-edit-overlay.sd-editor-neu .sdc-card{background:var(--gh-card)}


.wartung-folgen .wp-wahl-wort{white-space:normal}
.wartung-folgen .wp-zeile-sub{white-space:normal;overflow-wrap:anywhere}
