
/* ── Kopf: „+ Bericht“ (Zeile Bericht) und „Umfang ändern“ (Zeile Anlagen) ── */
.ltkz-plus[hidden],.ltkz-umfang-k[hidden]{display:none!important;}
.header .phase-switcher .ltkz-plus{margin-left:6px;}
.kz-plus.ltkz-umfang-k{border-style:solid;}
.kz-plus.ltkz-umfang-k:hover,.kz-plus.ltkz-umfang-k[aria-expanded="true"]{border-color:var(--c-brand-strong);background:var(--c-brand-wash);}
.ltkz-menue .kz-menue__i span{min-width:0;}

/* Handy (bis 600 px): nur Symbole; „+“ in der Zeile Bericht als gestricheltes Quadrat in voller Zeilenhöhe (Ziel 44 px) */
@media (max-width:600px){
  .header .phase-switcher .ltkz-plus,.header .phase-switcher .ltkz-plus:hover{position:relative;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0 0 0 2px;
    padding:0;justify-content:center;border:0;border-radius:var(--r);background:transparent;}
  .header .phase-switcher .ltkz-plus::before{content:'';position:absolute;inset:6px;border:1px dashed var(--c-line-strong);border-radius:var(--r);pointer-events:none;}
  .header .phase-switcher .ltkz-plus:hover::before,.header .phase-switcher .ltkz-plus[aria-expanded="true"]::before{border-color:var(--c-brand-strong);background:var(--c-brand-wash);}
  .header .phase-switcher .ltkz-plus .i{position:relative;}
  .header .phase-switcher .ltkz-plus:focus-visible{outline-offset:-2px;}
  .header .ltkz-plus .ltkz-txt{display:none;}
  .header .phase-switcher .ltkz-plus.ltkz-beschr,.header .phase-switcher .ltkz-plus.ltkz-beschr:hover{flex:0 0 auto;width:auto;gap:5px;padding:0 12px 0 10px;}
  .header .phase-switcher .ltkz-plus.ltkz-beschr::before{inset:6px 2px;}
  .header .phase-switcher .ltkz-plus.ltkz-beschr .ltkz-txt{display:inline;position:relative;font-size:13px;}
  .header .ltkz-umfang-k .ltkz-txt2{display:none;}
  .header .hdr-tools .ltkz-umfang-k{flex:0 0 auto;width:auto;gap:5px;padding:0 11px 0 9px;justify-content:center;}
  /* „Umfang ändern“ bleibt am rechten Rand der Zeile „Anlagen“ stehen, auch wenn die Chips mehr Platz brauchen, als da ist
     (bei 390 px füllen drei Chips die Zeile); die Chips wischen darunter durch. scroll-padding hält beim Ansteuern eines Chips
     (Tastatur, scrollIntoView) Platz für den Knopf frei. */
  .header .hdr-tools .ltkz-umfang-k{position:sticky;right:0;z-index:1;background:var(--c-surface);box-shadow:-8px 0 6px -2px var(--c-surface);}
  .header .hdr-tools .kz-plus.ltkz-umfang-k:hover,.header .hdr-tools .kz-plus.ltkz-umfang-k[aria-expanded="true"]{background:linear-gradient(var(--c-brand-wash),var(--c-brand-wash)),var(--c-surface);}
  body.ltkz-umfang .header .hdr-tools{scroll-padding-inline-end:108px;}
}
@media (max-width:600px) and (any-pointer:coarse){
  .header .hdr-tools .ltkz-umfang-k{min-width:44px;}
  /* Zeile „Anlagen“: Chips füllen die Zeile (44 px), kein Innenabstand darüber und darunter; Fokusrahmen nach innen, weil die
     wischbare Zeile (overflow-x) ihn sonst abschneidet */
  .header .hdr-tools,html.lp-chipplatz .header .hdr-tools{padding-top:0;padding-bottom:0;}
  .header .hdr-tools .type-btn:focus-visible,.header .hdr-tools .kz-plus:focus-visible{outline-offset:-3px;}
}

body.ltkz-lesen .main .add-btn,body.ltkz-lesen .main .photo-slot[role="button"],body.ltkz-lesen .main .item-del,
body.ltkz-lesen .main .del-btn,body.ltkz-lesen .main .doc-del,body.ltkz-lesen .main [data-klick^="del"],
body.ltkz-lesen .main [data-klick^="legioUnter"],body.ltkz-lesen .action-bar [data-klick^="saveProject"],
body.ltkz-lesen #kzPlus,body.ltkz-lesen #kzPlusMenue{display:none!important;}
body.ltkz-lesen .main .ci,body.ltkz-lesen .main .rg label,body.ltkz-lesen .main .wart-chk,
body.ltkz-lesen .main input[data-ltkz-sperre],body.ltkz-lesen .main textarea[data-ltkz-sperre],
body.ltkz-lesen .main select[data-ltkz-sperre]{cursor:default;}
.ltkz-lesen-hw{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;font-size:14px;line-height:1.5;
  color:var(--c-ink);background:var(--c-warn-bg);border:1px solid var(--c-warn-line);border-radius:var(--r-lg);}
.ltkz-lesen-hw .i{flex:none;width:19px;height:19px;margin-top:1px;color:var(--c-warn);}
.ltkz-lesen-hw p{margin:0;min-width:0;}
.ltkz-lesen-hw:focus{outline:none;}
.ltkz-lesen-hw:focus-visible{outline:2px solid var(--c-brand);outline-offset:2px;}
body.ltkz-lesen .main :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),textarea,select):is([readonly],:disabled):not(:is(#ltkhKarte,#lpaKarte,#lpErsteSchritte) *){
  background:var(--c-surface-2);color:var(--c-text);-webkit-text-fill-color:var(--c-text);opacity:1;cursor:default;}
body.ltkz-lesen .main :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),textarea,select):is([readonly],:disabled):not(:focus):not(:is(#ltkhKarte,#lpaKarte,#lpErsteSchritte) *){
  border-color:var(--c-line-strong);}
body.ltkz-lesen .main :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),textarea):is([readonly],:disabled):not(:is(#ltkhKarte,#lpaKarte,#lpErsteSchritte) *)::placeholder{color:transparent;-webkit-text-fill-color:transparent;opacity:0;}
body.ltkz-lesen .main .rg input[type=radio]:disabled+label{cursor:default;}
body.ltkz-lesen .main .rg input[type=radio]:disabled:not(:checked)+label,body.ltkz-lesen .main .rg input[type=radio]:disabled:not(:checked)+label:hover{
  background:var(--c-surface-2);border-color:var(--c-line);color:var(--c-dim);}
body.ltkz-lesen .main .ci:not(.checked),body.ltkz-lesen .main .ci:not(.checked):hover{background:var(--c-surface-2);border-color:var(--c-line);}
body.ltkz-lesen .main .ci.checked:hover{border-color:var(--blue);}
body.ltkz-lesen .main .wart-chk input:disabled{cursor:default;}
#kzKopfObjekt.kz-ansehen .kz-stift{display:none;}
#kzKopfObjekt.kz-ansehen::after{content:"";position:absolute;right:6px;top:50%;width:15px;height:15px;margin-top:-7.5px;background:var(--c-dim);pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;}
#kzKopfObjekt.kz-ansehen:hover::after,#kzKopfObjekt.kz-ansehen:focus-visible::after{background:var(--c-brand-ink);}
@media print{ #kzKopfObjekt.kz-ansehen::after{display:none;} }
body.ltkz-lesen .dsk-obj__n[role=button][aria-disabled="true"]{cursor:default;}
body.ltkz-lesen .dsk-obj__n[role=button][aria-disabled="true"]::after{display:none;}
body.ltkz-lesen .dsk-obj__n[role=button][aria-disabled="true"]:hover{background:transparent;}

/* ── Dialog „Umfang ändern“ (Kacheln von N: .kp-md label.kp-kachel) ── */
.ltkz-md .ltkz-kt{display:flex;flex-direction:column;min-width:0;gap:1px;}
.ltkz-md .ltkz-daten{font-size:12px;font-weight:500;line-height:1.3;color:var(--c-dim);}
.ltkz-md .ltkz-daten[hidden]{display:none;}
.ltkz-md label.kp-kachel:has(>input:disabled){cursor:default;}
.ltkz-md label.kp-kachel:has(>input:disabled):hover{border-color:var(--c-line-strong);}
.ltkz-md label.kp-kachel.kp-an:has(>input:disabled):hover{border-color:var(--c-brand);}
.ltkz-md .ltkz-ok[hidden]{display:none;}
@media (forced-colors:active){
  #kzKopfObjekt.kz-ansehen::after{background:CanvasText;}
  .header .phase-switcher .ltkz-plus::before{border-color:ButtonText;}
}
