
#mod-lager .kcWarehouseFormGridV1713163{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:10px!important;
  align-items:end!important;
  min-width:0!important;
}
#mod-lager .kcWarehouseFormGridV1713163>div,
.kcStdModalV1713163 .grid2>div,
.kcStdModalV1713163 .kcWarehouseFormGridV1713163>div{
  min-width:0!important;
  max-width:100%!important;
}
#mod-lager .kcWarehouseFormGridV1713163 .in,
.kcStdModalV1713163 .in{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
#tcCabinetSeriesV815>.grid2,
.kcStdModalV1713163 #tcCabinetSeriesV815>.grid2,
.kcStdModalV1713163 #tcStorageBuilderV814>.grid2,
.kcStdModalV1713163 .cardInner>.grid2{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  min-width:0!important;
}
.kcWarehouseSpan2V1713163{grid-column:span 2}
.kcWarehouseReadOnlyV1713163{
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:9px 10px;
  min-height:38px;
  background:#f8fafc;
  color:#111827!important;
  line-height:1.4;
  box-sizing:border-box;
}
.kcWarehouseAreaGridV1713163{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:10px;
}
.kcWarehouseAreaCardV1713163,
.kcWarehouseSystemCardV1713163{
  border:1px solid #cbd5e1;
  border-radius:12px;
  padding:10px;
  background:#fff;
}
.kcWarehouseAreaCardV1713163.active{
  border-color:#059669;
  box-shadow:0 0 0 2px rgba(5,150,105,.13);
}
.kcWarehouseAreaSelectV1713163{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  padding:0;
  cursor:pointer;
  color:#111827;
}
.kcWarehouseAreaSelectV1713163 b,
.kcWarehouseAreaSelectV1713163 span,
.kcWarehouseAreaSelectV1713163 small{
  display:block;
}
.kcWarehouseAreaSelectV1713163 span{margin-top:3px}
.kcWarehouseAreaSelectV1713163 small{margin-top:4px;color:#475569}
.kcWarehouseSystemsLayoutV1713163{
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
}
@media(max-width:900px){
  .kcWarehouseSpan2V1713163{grid-column:span 1}
  .kcWarehouseSystemsLayoutV1713163{grid-template-columns:1fr!important}
}

/* V1.7.13.16.3.1 – Lagerlisten dürfen nach Auslagerung des Formulars in den Dialog
   nicht in einer halben Zwei-Spalten-Zelle stehen bleiben. */
#mod-lager .kcWarehouseLocationGridV17131631{
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
}
#mod-lager .kcWarehouseLocationGridV17131631>.cardInner{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
#mod-lager .tcLocationFilterV805{
  display:grid!important;
  grid-template-columns:minmax(220px,2fr) minmax(120px,.8fr) minmax(150px,1fr) auto!important;
  gap:8px!important;
  align-items:end!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
#mod-lager .tcLocationFilterV805>div{
  min-width:0!important;
  max-width:100%!important;
}
#mod-lager .tcLocationFilterV805 .in{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:900px){
  #mod-lager .tcLocationFilterV805{
    grid-template-columns:minmax(0,1fr) minmax(120px,1fr)!important;
  }
  #mod-lager .tcLocationFilterV805>div:first-child{
    grid-column:1/-1!important;
  }
}
@media(max-width:620px){
  #mod-lager .tcLocationFilterV805{grid-template-columns:minmax(0,1fr)!important;}
  #mod-lager .tcLocationFilterV805>div{grid-column:auto!important;}
}


/* V1.7.13.16.3.2 – professionelle hierarchische Lagerstruktur */
.kcWarehouseAreaTreeV17131632{display:grid;gap:7px}
.kcWarehouseAreaTreeRowV17131632{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #d7e0ec;border-radius:12px;background:#fff;padding:10px 10px 10px calc(10px + (var(--kc-area-depth,0) * 24px));position:relative}
.kcWarehouseAreaTreeRowV17131632::before{content:"";display:block;position:absolute;left:calc(10px + (var(--kc-area-depth,0) * 24px) - 12px);top:0;bottom:0;border-left:1px solid #d7e0ec;opacity:calc(min(var(--kc-area-depth,0),1))}
.kcWarehouseAreaTreeRowV17131632.active{border-color:#059669;box-shadow:0 0 0 2px rgba(5,150,105,.10)}
.kcWarehouseAreaMetaV17131632{font-weight:600;color:#334155!important}
.kcWarehouseAreaActionsV17131632{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#tcStorageBuilderV814 .lbl,#tcStorageBuilderV814 .muted,.kcStdModalV1713163 #tcStorageBuilderV814{color:#111827!important}
#tcStorageBuilderV814 .muted.small{color:#475569!important}
#mod-stamm [data-tabpanel="s-warehouse-types"] .cardInner{min-width:0}
@media(max-width:820px){.kcWarehouseAreaTreeRowV17131632{grid-template-columns:minmax(0,1fr)}.kcWarehouseAreaActionsV17131632{justify-content:flex-start}}


/* V1.7.13.16.3.3 – fokussierte Bereichsnavigation statt vollständigem Baum */
.kcWarehouseAreaBrowserV17131633{display:grid;gap:10px;min-width:0}
.kcWarehouseAreaBrowserHeadV17131633,.kcWarehouseChildrenHeadV17131633{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;padding:4px 2px}
.kcWarehouseBreadcrumbV17131633{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:2px 0 4px}
.kcWarehouseCrumbBtnV17131633{border:0;background:transparent;color:#0f5132;font-weight:700;cursor:pointer;padding:4px 2px}
.kcWarehouseCrumbBtnV17131633:hover{text-decoration:underline}
.kcWarehouseEmptyChildrenV17131633{border:1px dashed #cbd5e1;border-radius:10px;padding:12px;color:#475569;background:#f8fafc}
#mod-lager .kcWarehouseAreaTreeRowV17131632{padding:10px!important}
