.zukunft{color:inherit;padding:clamp(.8rem,2vw,2rem);width:100%;min-width:0;box-sizing:border-box}
.zukunft h1{font-size:clamp(1.8rem,3vw,2.6rem);margin:0 0 1rem}
.zukunft h2{font-size:1.35rem;margin:0 0 .85rem}
.gespraech-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(.8rem,2vw,2rem);align-items:start}
.gespraech-layout>section,.zukunft .sammlung{background:#122728;border:1px solid #405658;padding:clamp(.8rem,1.5vw,1.4rem);border-radius:8px;color:#f3f6f4;min-width:0}
.zukunft .sammlung{margin-top:1.25rem}
.zukunft label,.zukunft summary{display:block;font-weight:600;margin-top:.8rem}
.zukunft summary{display:list-item;cursor:pointer}
.zukunft textarea,.zukunft select,.zukunft input{width:100%;box-sizing:border-box;padding:.55rem;color:#f4f5f3;background:#0d1e20;border:1px solid #637b7c;border-radius:4px;font:inherit}
.zukunft textarea{resize:vertical}
.zukunft button{min-height:40px;margin:.45rem 0}
.zukunft .werkzeuge{display:flex;align-items:center;gap:.6rem}
#modus{font-size:.85rem;margin-right:auto;color:#c9d8d6}
#dialog{max-height:38vh;overflow:auto}
#dialog p{margin:.3rem 0 .8rem;white-space:pre-line}
#dialog b{display:block;font-size:.8rem;color:#f3d29c}
#kurz,.zieltext{white-space:pre-line}
.zukunft fieldset{border:0;padding:0;margin:.7em 0}
.zukunft details{margin:.65rem 0;padding:.25rem 0}
.zukunft button:disabled{opacity:.6}
.zukunft a{color:#f3d29c}
.zukunft [hidden]{display:none!important}
@media(max-width:800px){.gespraech-layout{grid-template-columns:1fr}.zukunft .sammlung{margin-bottom:2rem}}
.zukunft h1.bereichspfad{font:500 .94rem/1.5 system-ui,sans-serif;letter-spacing:.01em;margin:.1rem 0 .8rem;color:inherit}
.gespraech-layout{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.55rem,1.2vw,1.2rem)}
.gespraech-layout>section{padding:clamp(.65rem,1vw,1.1rem)}
.zukunft .gespraech-links{padding:0;position:sticky;top:.5rem;overflow:hidden}
.gespraech-inhalt{padding:.85rem;max-height:calc(100vh - 11rem);max-height:calc(100dvh - 11rem);overflow:auto}
.zukunft .abschluss{margin:0;padding:.3rem .85rem;background:#122728;border-top:1px solid #405658}
.zukunft #kurz{width:100%;line-height:1.5;min-height:10rem}
.zukunft .sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.zukunft #aufgaben{padding-left:1.4rem}
.zukunft #aufgaben>li{padding:.3rem 0 .65rem;border-bottom:1px solid #405658}
.zukunft .aktionen{display:flex;gap:.5rem;flex-wrap:wrap}
.zukunft #dialog{max-height:30vh}
.zukunft textarea{display:block}
.zukunft .sammlung{width:min(100%,50rem);box-sizing:border-box}
@media(max-width:850px){.gespraech-layout{grid-template-columns:minmax(0,1fr)}.zukunft .gespraech-links{position:static}.gespraech-inhalt{max-height:calc(100dvh - 12rem);min-height:10rem}.zukunft .abschluss{position:sticky;bottom:0}}
@media(min-width:851px){
 .zukunft .gespraech-links{display:flex;flex-direction:column;height:calc(100vh - 7rem);height:calc(100dvh - 7rem);max-height:54rem}
 .gespraech-inhalt{flex:1 1 auto;min-height:0;max-height:none}
 .zukunft .abschluss{flex:none}
}
.zukunft details.sammlung{width:fit-content;max-width:100%;min-width:min(16rem,100%);padding:.25rem .85rem}
.zukunft details.sammlung[open]{width:min(100%,50rem)}
.zukunft #archivtitel{margin:.4rem 0}

.zukunft .abschluss{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}
#text-auswerten{font-weight:700;background:#f3d29c;color:#132324}
#textauswertung{border-left:2px solid #d9bb86;padding:.25rem .8rem;margin:.65rem 0;overflow-wrap:anywhere}
#textauswertung h3{font-size:1rem;margin:0 0 .25rem}
#auswertung-status{font-size:.85rem;color:#c9d8d6;margin:.2rem 0}
#auswertung-ergebnis{margin:.6rem 0}
#auswertung-ergebnis:empty{display:none}
#auswertung-ergebnis dt{font-weight:650;margin-top:.65rem}
#auswertung-ergebnis dd{margin:.2rem 0;white-space:pre-line}

#speicherbox{position:fixed;inset:0;z-index:1000;background:rgba(3,14,16,.78);display:grid;place-items:center;padding:1rem}
.box-fenster{width:min(100%,38rem);box-sizing:border-box;max-height:85vh;overflow:auto;padding:1rem 1.25rem;background:#122728;color:#f3f6f4;border:1px solid #637b7c;border-radius:8px}
.box-fenster header{display:flex;align-items:center;justify-content:space-between}
.box-fenster header h2{margin:0}
#box-zu{font-size:1.5rem}
.box-hinweis,#box-status{font-size:.9rem}
#box-baum details{border-left:1px solid #718887;padding:0 0 0 .8rem;margin:.4rem 0}
#box-baum summary{overflow-wrap:anywhere}
#box-baum dd{white-space:pre-line;overflow-wrap:anywhere;margin:.3rem 0 .8rem}
#box-baum dt{font-weight:600}

.diktat-feld{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.35rem}
.zukunft .diktat-taste{display:inline-grid;place-items:center;align-self:start;box-sizing:border-box;padding:3px;width:40px;height:40px;min-height:40px;margin:0;line-height:1}
.zukunft .diktat-taste svg{display:block;width:30px;height:30px}
.diktat-taste[aria-pressed="true"]{background:#fee29a;color:#182522;outline:2px solid currentColor}
.diktat-status{grid-column:1/-1;margin:.15rem 0;font-size:.85rem}

#ablagen{display:grid;gap:.45rem;margin:.7rem 0}
#ablagen .dialog-ordner{min-width:0;border:1px solid #526569;border-radius:.45rem;padding:.3rem .65rem;margin:0;background:#142c2e}
#ablagen .dialog-ordner .dialog-ordner{margin:.35rem 0 .35rem 1rem}
#ablagen summary{overflow-wrap:anywhere}
#ablagen .dialog-ordner>summary{display:flex;align-items:center;gap:.6rem;margin:0;min-height:40px}
#ablagen .dialog-ordner>summary:after{content:'+';margin-left:auto}
#ablagen .dialog-ordner[open]>summary:after{content:'−'}
#ablagen svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#ablagen .drop-ziel{outline:2px solid #e5c086;background:#32484a}
#ablagen summary[draggable=true]{cursor:grab;padding:.25rem}
#ablagen .dialog-ziele{display:flex;flex-wrap:wrap;gap:.4rem;margin:.5rem 0}
#ablagen .dialog-ziele button{display:inline-flex;gap:.45rem;align-items:center;margin:0;min-height:44px}
#ablagen [hidden]{display:none}
#ablagen .ordner-zeile,#ablagen .chat-zeile{display:flex;align-items:center;gap:.4rem}
#ablagen .ordner-zeile button,#ablagen .chat-zeile button{margin:0;min-height:44px}
#ablagen [data-griff]{flex:1;display:flex;align-items:center;gap:.5rem;text-align:left;overflow-wrap:anywhere;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;color:inherit;background:transparent;border:0}
#ablagen .ordner-zeichen{font-size:1.3rem;width:1em}
#ablagen .ordner-aktionen,#ablagen .zielwahl{padding:.4rem;display:flex;flex-wrap:wrap;gap:.4rem}
#ablagen .ordner-aktionen[hidden],#ablagen .zielwahl[hidden]{display:none}
#ablagen .drop-vor{box-shadow:inset 0 3px #edc277}
#ablagen .drop-nach{box-shadow:inset 0 -3px #edc277}
#ablagen.sortiert{outline:1px solid #b6a482}
#ablagen .dialog-eintrag{border-left:2px solid #688486;margin:.3rem 0 .3rem .65rem;padding-left:.5rem}
