:root{--hintergrund:#f5f6f8;--flaeche:#fff;--rand:#d9dde3;--text:#1c2229;--text-leise:#5c6673;--akzent:#0f6cbd;--akzent-dunkel:#0b5391;--gruen:#1f7a3f;--gelb:#a36b00;--grau:#6b7480;--rot:#b3261e;--schrift:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--schrift);color:var(--text);background:var(--hintergrund);font-size:15px;line-height:1.5}button,input,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0;font-weight:600}.klein{color:var(--text-leise);font-size:13px}.warn{color:var(--gelb)}.ok{color:var(--gruen)}.app{flex-direction:column;height:100%;display:flex}.kopf{background:var(--flaeche);border-bottom:1px solid var(--rand);align-items:center;gap:24px;padding:10px 20px;display:flex}.kopf-titel{flex-direction:column;line-height:1.2;display:flex}.kopf-status{text-align:center;flex:1}.kopf-nutzer{align-items:center;gap:12px;display:flex}.inhalt{flex:1;min-height:0;display:flex}.seite{border-right:1px solid var(--rand);background:var(--flaeche);flex:none;width:280px;padding:12px;overflow-y:auto}.haupt{flex-direction:column;flex:1;min-width:0;display:flex}@media (width<=800px){.inhalt{flex-direction:column}.seite{border-right:0;border-bottom:1px solid var(--rand);width:auto;max-height:30vh}.kopf-status{display:none}}.knopf{border:1px solid var(--rand);background:var(--flaeche);cursor:pointer;border-radius:6px;padding:6px 12px;text-decoration:none;display:inline-block}.knopf:hover{background:#eef1f5}.knopf:disabled{opacity:.5;cursor:default}.knopf-primaer{background:var(--akzent);border-color:var(--akzent);color:#fff}.knopf-primaer:hover{background:var(--akzent-dunkel)}.knopf-gefahr{background:var(--rot);border-color:var(--rot);color:#fff}.knopf-neu{text-align:left;width:100%;margin-bottom:10px}.threads{flex-direction:column;display:flex}.thread-eintrag{border-radius:6px;align-items:center;gap:4px;padding:2px 4px;display:flex}.thread-eintrag:hover,.thread-eintrag[data-active]{background:#eef1f5}.thread-eintrag[data-active] .thread-titel{font-weight:600}.thread-titel{text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:4px;flex:1;min-width:0;padding:6px;overflow:hidden}.thread-loeschen{color:var(--text-leise);cursor:pointer;visibility:hidden;background:0 0;border:0;padding:2px 6px;font-size:18px;line-height:1}.thread-eintrag:hover .thread-loeschen{visibility:visible}.thread-bestaetigen{gap:4px;display:flex}.thread-bestaetigen .knopf{padding:2px 8px;font-size:13px}.chat{flex-direction:column;height:100%;display:flex}.verlauf{flex-direction:column;flex:1;gap:16px;padding:20px 24px 0;display:flex;overflow-y:auto}.leer{max-width:720px;color:var(--text-leise);margin:40px auto 0}.leer h2{color:var(--text);margin-bottom:8px}.nachricht{background:var(--flaeche);border:1px solid var(--rand);border-radius:10px;width:100%;max-width:860px;margin:0 auto;padding:12px 16px}.nachricht-berater{background:#eaf2fb;border-color:#cfe0f3}.rolle{text-transform:uppercase;letter-spacing:.04em;color:var(--text-leise);margin-bottom:4px;font-size:12px}.berater-text{white-space:pre-wrap;margin:0}.agent-text{margin-top:6px}.agent-text p{margin:0 0 8px}.agent-text p:last-child{margin-bottom:0}.agent-text ul,.agent-text ol{margin:4px 0 8px;padding-left:22px}.fuss{background:linear-gradient(to bottom, #f5f6f800, var(--hintergrund) 30%);padding:12px 0 16px;position:sticky;bottom:0}.schritt{color:var(--text-leise);margin:2px 0;font-size:13px}.schritt summary{cursor:pointer;list-style:none}.schritt summary::-webkit-details-marker{display:none}.schritt summary:before{content:"▸ "}.schritt[open] summary:before{content:"▾ "}.schritt-symbol{color:var(--grau)}.schritt pre{font:12px/1.4 var(--mono);background:#f2f4f7;border-radius:6px;margin:4px 0 6px 16px;padding:8px;overflow-x:auto}.antwort{margin-top:8px}.antwort section{margin-top:12px}.antwort h3{margin-bottom:4px;font-size:14px}.liste ul,.punkte ul{margin:0;padding:0;list-style:none}.liste li{border-left:3px solid var(--grau);background:#fafbfc;border-radius:0 6px 6px 0;margin-bottom:6px;padding:6px 10px}.liste-empfohlen li{border-left-color:var(--gruen)}.liste-grenzfall li{border-left-color:var(--gelb)}.liste-nicht-ermittelbar li{border-left-color:var(--grau)}.produkt-kopf{flex-wrap:wrap;align-items:baseline;gap:6px 12px;display:flex}.sku{font-family:var(--mono);font-weight:600}.produkt-name{font-weight:500}.produkt-meta{color:var(--text-leise);gap:10px;font-size:13px;display:flex}.begruendung{color:#2d3742;margin-top:2px;font-size:14px}.punkte li{gap:8px;padding:2px 0;display:flex}.punkte .marker{font-family:var(--mono);color:var(--text-leise);flex:none;width:1em}.punkte-rueckfragen .marker{color:var(--akzent);font-weight:600}.punkte-hinweise .marker{color:var(--gelb);font-weight:600}.status{color:var(--text-leise);border-top:1px dashed var(--rand);margin-top:12px;padding-top:6px;font-size:13px}.messung{color:var(--grau);font-size:12px;font-family:var(--mono);margin-top:4px}.notiz{color:var(--gelb);margin:4px 0;font-size:13px}.fehler{color:var(--rot);background:#fdecea;border:1px solid #f5c6c2;border-radius:6px;margin-top:8px;padding:8px 12px;font-size:14px}.fehler ul{margin:4px 0 0;padding-left:20px}.fortschritt{color:var(--text-leise);flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;font-size:14px;display:flex}.sekunden{font-family:var(--mono)}.dauer-hinweis{flex-basis:100%;font-size:12px}.spinner{border:2px solid var(--rand);border-top-color:var(--akzent);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite drehen}@keyframes drehen{to{transform:rotate(360deg)}}.eingabe{background:var(--flaeche);border:1px solid var(--rand);border-radius:10px;align-items:flex-end;gap:10px;max-width:860px;margin:0 auto;padding:8px 10px;display:flex}.eingabe-feld{resize:none;background:0 0;border:0;outline:none;flex:1;max-height:40vh;padding:6px 4px}.eingabe-status{color:var(--text-leise);white-space:nowrap;padding:6px 4px;font-size:13px}.banner{background:#fff4d6;border:1px solid #f0d58a;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin:12px 24px 0;padding:8px 12px;font-size:14px;display:flex}.login{justify-content:center;align-items:center;height:100%;padding:20px;display:flex}.login-karte{background:var(--flaeche);border:1px solid var(--rand);border-radius:12px;flex-direction:column;gap:14px;width:100%;max-width:420px;padding:28px 32px;display:flex}.login-karte h1{font-size:20px}.login-karte form{flex-direction:column;gap:12px;display:flex}.login-karte label{flex-direction:column;gap:4px;font-size:14px;display:flex}.login-karte input{border:1px solid var(--rand);border-radius:6px;padding:8px 10px}
