/* faktotum: Apple-Anmutung als Web-App. Volle Breite und Hoehe, Seitenleiste fest, nur der Inhalt scrollt. */
@font-face{font-family:Inter;src:url(/static/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html,body{height:100%}
body{font-family:-apple-system,"SF Pro Text",Inter,system-ui,sans-serif;font-size:14px;color:#1d1d1f;background:#f5f5f7;-webkit-font-smoothing:antialiased;overflow:hidden}
a{color:#0071e3;text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;cursor:pointer}
.app{display:grid;grid-template-columns:240px 1fr;height:100vh;width:100vw}
.app.mit-chat{grid-template-columns:240px minmax(0,1fr) 380px}
.seite{background:#f6f6f8;border-right:1px solid #e3e3e8;padding:18px 12px;display:flex;flex-direction:column;gap:2px;overflow:auto}
.marke{display:flex;align-items:center;gap:10px;padding:4px 10px 18px;font-weight:600;font-size:15px;color:#1d1d1f}
.marke img{width:28px;height:28px;border-radius:50%}
.marke:hover{text-decoration:none}
.nav{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:8px;color:#1d1d1f;font-size:13.5px}
.nav:hover{background:#ececf0;text-decoration:none}
.nav.aktiv{background:#0071e3;color:#fff}
.nav .pfeil{margin-left:auto;color:#8e8e93;font-size:12px}
.ico{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;color:#fff;font-size:12px;flex:none;line-height:1}
.nav.aktiv .ico{box-shadow:0 0 0 1.5px rgba(255,255,255,.6)}
.g{background:#34c759}.b{background:#0a84ff}.o{background:#ff9f0a}.p{background:#bf5af2}.r{background:#ff453a}.gr{background:#8e8e93}.t{background:#30b0c7}.i{background:#5e5ce6}.pk{background:#ff375f}.y{background:#ffcc00}
.unten{margin-top:auto;padding:10px 6px 4px 10px;font-size:12.5px;color:#6e6e73;display:flex;align-items:center;gap:8px}
.unten .wer{flex:1;min-width:0;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.unten .wer b{display:block;font-weight:500;color:#1d1d1f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.avatar{width:28px;height:28px;border-radius:50%;background:#d2d2d7;display:grid;place-items:center;font-weight:600;font-size:11px;color:#1d1d1f;flex:none}
.abmelden{background:none;border:0;color:#6e6e73;padding:6px;border-radius:6px;line-height:0;display:grid;place-items:center}
.abmelden:hover{background:#e5e5ea;color:#1d1d1f}
.inhalt{overflow:auto;padding:24px 32px 48px;min-width:0}
.kopf{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-height:36px}
.kopf h1{font-size:23px;font-weight:600;letter-spacing:-.01em}
.kopf .rechts{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.knopf{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;background:#0071e3;color:#fff;border:0;border-radius:8px;padding:7px 14px;font:inherit;font-weight:500;cursor:pointer}
.knopf:hover{background:#0077ed;text-decoration:none}
.knopf.leise{background:#e8e8ed;color:#1d1d1f}
.knopf.leise:hover{background:#dcdce1}
.knopf.rot{background:#ff3b30}
.knopf.klein{padding:4px 10px;font-size:12.5px;color:#fff}
.knopf.leise.klein{color:#1d1d1f}
.knopf:disabled{opacity:.5;cursor:default}
.raster{display:grid;gap:16px}
.r3{grid-template-columns:repeat(3,minmax(0,1fr))}.r2{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.r4{grid-template-columns:repeat(4,minmax(0,1fr))}.r2g{grid-template-columns:repeat(2,minmax(0,1fr))}
.karte{background:#fff;border-radius:14px;padding:18px 20px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 0 0 1px rgba(0,0,0,.04);min-width:0}
a.karte{color:inherit;display:block}
a.karte:hover{text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.07),0 0 0 1px rgba(0,0,0,.05)}
.karte h3{font-size:12px;font-weight:600;color:#6e6e73;text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px}
.karte h4{font-size:14.5px;font-weight:600;margin:10px 0 4px}
.gross{font-size:26px;font-weight:600;letter-spacing:-.02em}
.mittel{font-size:19px;font-weight:600;letter-spacing:-.01em}
.klein{font-size:12.5px;color:#6e6e73;line-height:1.45}
.punkt{display:inline-block;width:8px;height:8px;border-radius:50%;background:#34c759;margin-right:6px;vertical-align:middle}
.punkt.gelb{background:#ff9f0a}.punkt.grau{background:#c7c7cc}.punkt.rot{background:#ff3b30}
.balken{height:8px;border-radius:4px;background:#ececf0;overflow:hidden;margin:8px 0 4px}
.balken>i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#34c759,#30d158)}
.balken.mittel>i{background:linear-gradient(90deg,#ff9f0a,#ffb340)}
.balken.hoch>i{background:linear-gradient(90deg,#ff3b30,#ff6961)}
.liste{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.05);overflow:hidden}
.zeile{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f0f3;min-height:52px}
.zeile:last-child{border-bottom:0}
a.zeile{color:inherit}
a.zeile:hover{background:#fafafc;text-decoration:none}
.zeile .txt{flex:1;min-width:0}
.zeile .txt b{font-weight:500;display:block}
.zeile .txt span{font-size:12.5px;color:#6e6e73;display:block}
.zeile .rechts{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.zeile .wert{color:#6e6e73;font-size:13px;white-space:nowrap}
.abschnitt{font-size:12px;color:#6e6e73;text-transform:uppercase;letter-spacing:.04em;margin:24px 4px 8px}
.abschnitt:first-child{margin-top:0}
.leer{padding:18px 16px;color:#6e6e73;font-size:13px}
/* Schalter: echter Knopf */
.schalter{width:44px;height:26px;border-radius:13px;background:#e5e5ea;position:relative;flex:none;border:0;transition:background .15s}
.schalter::after{content:"";position:absolute;left:2px;top:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .15s}
.schalter.an{background:#34c759}.schalter.an::after{left:20px}
.schalter:disabled{opacity:.5;cursor:default}
.schalter.arbeitet{opacity:.6}
/* Auswahl in Segmenten */
.segment{display:inline-flex;background:#ececf0;border-radius:8px;padding:2px;gap:2px}
.segment button{border:0;background:none;padding:4px 12px;border-radius:6px;font-size:12.5px;color:#3a3a3c}
.segment button.an{background:#fff;color:#0058b9;box-shadow:0 1px 2px rgba(0,0,0,.08);font-weight:500}
.feld{border:1px solid #d2d2d7;border-radius:8px;padding:8px 11px;font:inherit;background:#fff;width:100%;color:#1d1d1f}
.feld:focus{outline:none;border-color:#0071e3;box-shadow:0 0 0 3px rgba(0,113,227,.15)}
textarea.feld{min-height:110px;resize:vertical;line-height:1.45}
select.feld{appearance:auto}
.formular{display:flex;flex-direction:column;gap:0}
.fz{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;padding:12px 16px;border-bottom:1px solid #f0f0f3;align-items:start}
.fz:last-child{border-bottom:0}
.fz>label{font-weight:500;padding-top:8px}
.fz>label span{display:block;font-weight:400;font-size:12px;color:#6e6e73}
.haken{display:flex;flex-wrap:wrap;gap:8px}
.haken label{display:inline-flex;gap:6px;align-items:center;background:#f2f2f5;border-radius:8px;padding:6px 10px;font-size:13px;cursor:pointer}
.aktionen{display:flex;gap:8px;margin-top:16px;align-items:center}
.chip{white-space:nowrap;display:inline-block;font-size:11.5px;padding:2px 8px;border-radius:10px;background:#f0f0f3;color:#3a3a3c}
.chip.gruen{background:#e3f9e8;color:#1f7a37}.chip.gelb{background:#fff3dc;color:#9a5b00}.chip.blau{background:#e5f0ff;color:#0058b9}.chip.rot{background:#ffe5e3;color:#b3261e}.chip.grau{background:#f0f0f3;color:#6e6e73}
a.chip:hover{text-decoration:none;filter:brightness(.96)}
.meldung{background:#e3f9e8;color:#1f7a37;border-radius:10px;padding:10px 14px;margin-bottom:16px;font-size:13px}
.meldung.fehler{background:#ffe5e3;color:#b3261e}
table{width:100%;border-collapse:collapse}
th{font-size:12px;color:#6e6e73;font-weight:500;text-align:left;padding:10px 16px;border-bottom:1px solid #ececf0;background:#fafafc}
td{padding:12px 16px;border-bottom:1px solid #f2f2f5;vertical-align:middle}
tr:last-child td{border-bottom:0}
.orb{width:56px;height:56px;border-radius:50%;box-shadow:0 6px 20px rgba(120,80,255,.25)}
.orb.k{width:26px;height:26px;box-shadow:none}
/* Chat rechts */
.chat{border-left:1px solid #e3e3e8;background:#fbfbfd;display:flex;flex-direction:column;min-height:0}
.chat .ck{padding:14px 16px;border-bottom:1px solid #ececf0;display:flex;align-items:center;gap:10px;font-weight:600;min-height:60px}
.chat .ck img{width:26px;height:26px;border-radius:50%}
.chat .ck button{margin-left:auto;background:none;border:0;color:#6e6e73;font-size:12.5px;padding:5px 8px;border-radius:6px}
.chat .ck button:hover{background:#ececf0;color:#1d1d1f}
.chat .verlauf{flex:1;padding:16px;display:flex;flex-direction:column;gap:10px;overflow:auto}
.blase{max-width:85%;padding:9px 13px;border-radius:16px;line-height:1.45;font-size:13.5px;white-space:pre-wrap;overflow-wrap:anywhere}
.blase.ich{align-self:flex-end;background:#0071e3;color:#fff;border-bottom-right-radius:4px}
.blase.er{align-self:flex-start;background:#e9e9ee;border-bottom-left-radius:4px}
.blase.denkt{color:#6e6e73;font-style:italic}
.blase.fehler{background:#ffe5e3;color:#b3261e}
.chat .hinweis{color:#6e6e73;font-size:12.5px;text-align:center;margin:auto 10px;line-height:1.5}
.chat .ein{padding:12px;border-top:1px solid #ececf0;display:flex;gap:8px;align-items:flex-end}
.chat .ein textarea{border-radius:18px;padding:9px 14px;min-height:40px;max-height:160px;resize:none;flex:1}
.chat .ein button{border-radius:50%;width:36px;height:36px;padding:0;justify-content:center;flex:none}
/* Support-Band */
.band{position:fixed;top:0;left:0;right:0;height:36px;background:#ff9f0a;color:#1d1d1f;display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;font-weight:500;z-index:9}
.band form{display:inline}
.band .knopf{background:#1d1d1f;padding:4px 12px;font-size:12px;color:#fff}
.mit-band .app{height:calc(100vh - 36px);margin-top:36px}
/* Anmelden */
.login{height:100vh;display:grid;grid-template-columns:1fr 1fr;overflow:auto}
.login .links{background:radial-gradient(1200px 700px at 30% 40%,#dfe9ff,#f5f5f7 60%);display:grid;place-items:center}
.login .links .kreis{width:280px;height:280px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 30px 80px rgba(0,113,227,.22)}
.login .links img{width:140px;height:140px;border-radius:50%}
.login .rechts{display:grid;place-items:center;background:#fff;padding:24px}
.login form,.login .kasten{width:360px;max-width:100%;display:flex;flex-direction:column;gap:12px}
.login h1{font-size:28px;font-weight:600;margin-bottom:2px}
.login .knopf{justify-content:center;padding:10px 14px}
.login .unterlink{text-align:center;font-size:12.5px;color:#6e6e73}
.login .unterlink a{color:#6e6e73}
/* Team-Graph */
.graph{position:relative;width:100%;height:290px}
.graph svg{position:absolute;inset:0;width:100%;height:100%}
.knoten{position:absolute;transform:translate(-50%,-50%);background:#fff;border-radius:14px;padding:10px 14px;box-shadow:0 2px 10px rgba(0,0,0,.08);text-align:center;font-size:13px;min-width:110px;max-width:min(170px,22%)}
.knoten b{display:block;font-weight:600}
.knoten span{color:#6e6e73;font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.knoten img{width:40px;height:40px;border-radius:50%;display:block;margin:0 auto 6px}
.knoten.aus{opacity:.45}
a.knoten{color:inherit}
a.knoten:hover{text-decoration:none;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.buchstabe{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;color:#fff;font-weight:600;font-size:12px;flex:none}
.verlauf-liste{display:flex;flex-direction:column;gap:2px}
.verlauf-liste .v{display:flex;gap:8px;align-items:center;font-size:12.5px;color:#3a3a3c;padding:6px 0;border-bottom:1px solid #f2f2f5}
.verlauf-liste .v:last-child{border-bottom:0}
.verlauf-liste .v .vt{flex:1;min-width:0}
.verlauf-liste .v .vt small{display:block;color:#8e8e93}
.filter{display:flex;gap:6px}
.filter a{font-size:12.5px;padding:4px 12px;border-radius:14px;background:#ececf0;color:#3a3a3c}
.filter a.an{background:#e5f0ff;color:#0058b9;font-weight:500}
.filter a:hover{text-decoration:none}
.fussnote{font-size:12.5px;color:#6e6e73;margin:10px 4px}
.zweispaltig{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start}
.inline{display:inline}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#1d1d1f;color:#fff;border-radius:10px;padding:10px 16px;font-size:13px;z-index:20;opacity:0;transition:opacity .2s;pointer-events:none}
.toast.sicht{opacity:1}
.nur-breit{display:initial}
@media (max-width:1500px){.app.mit-chat{grid-template-columns:220px minmax(0,1fr) 340px}}
/* Admin: dunkle Seitenleiste, damit die Trennung sichtbar ist */
.admin .seite{background:#1c1c1e;border-right:0;color:#f2f2f7}
.admin .marke{color:#fff}
.admin .marke small{display:block;font-size:11px;color:#8e8e93;font-weight:400}
.admin .nav{color:#d1d1d6}
.admin .nav:hover{background:#2c2c2e}
.admin .nav.aktiv{background:#3a3a3c;color:#fff}
.admin .unten{color:#8e8e93}
.admin .unten .wer b{color:#f2f2f7}
.admin .abmelden{color:#8e8e93}.admin .abmelden:hover{background:#2c2c2e;color:#fff}
.admin .knopf{background:#5e5ce6}.admin .knopf:hover{background:#6c6af0}
.admin .knopf.leise{background:#e8e8ed;color:#1d1d1f}
.admin .knopf.rot{background:#ff3b30}
.admin .nav.aktiv .ico{box-shadow:none}
.schritte{display:flex;gap:8px;margin-bottom:20px}
.schritt{flex:1;padding:10px 12px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05);font-size:12.5px;color:#6e6e73;min-width:0}
.schritt b{display:block;color:#1d1d1f;font-weight:500;font-size:13px}
.schritt.fertig{background:#eefaf1}.schritt.jetzt{box-shadow:0 0 0 2px #5e5ce6}
.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:#f2f2f5;border-radius:8px;padding:10px 12px;overflow-wrap:anywhere;white-space:pre-wrap;user-select:all}
.suche{width:260px}
.qr svg{width:180px;height:180px;display:block}

.zeile .txt span.mail{overflow-wrap:anywhere}
