.portal-ki-gpt-shell .portal-modal-shell-panel--funnel{display:flex;flex-direction:column;min-height:min(92dvh,820px)}.portal-ki-gpt-shell .portal-modal-shell-body{display:flex;flex:1;flex-direction:column;min-height:0;padding:0;overflow:hidden}.portal-ki-gpt-chat{display:flex;flex:1;flex-direction:column;min-height:0;height:100%;background:#fff}.portal-ki-gpt-ai-label{margin:0;padding:.55rem 1rem 0;font-size:calc(12px * var(--p2-type-scale, 1.1));line-height:1.35;color:#5c6b64;font-weight:600}.portal-ki-gpt-messages{display:flex;flex:1;flex-direction:column;gap:.65rem;min-height:0;overflow-y:auto;padding:1rem 1rem .75rem;-webkit-overflow-scrolling:touch}.portal-ki-gpt-empty{display:flex;flex:1;flex-direction:column;justify-content:flex-end;padding-bottom:.5rem}.portal-ki-gpt-chips{display:flex;flex-wrap:wrap;gap:.45rem}.portal-ki-gpt-chip{border:1px solid rgba(30,28,26,.12);border-radius:9999px;background:#fff;padding:.45rem .85rem;font-size:calc(13px * var(--p2-type-scale, 1.1));font-weight:600;color:#1e1c1a;cursor:pointer}.portal-ki-gpt-chip:disabled{opacity:.55;cursor:default}.portal-ki-gpt-bubble{max-width:min(92%,34rem);border-radius:1.1rem;padding:.7rem .9rem;font-size:calc(14px * var(--p2-type-scale, 1.1));line-height:1.45}.portal-ki-gpt-bubble .ki-rechner-chat-para{margin:0 0 .45em}.portal-ki-gpt-bubble .ki-rechner-chat-para:last-child{margin-bottom:0}.portal-ki-gpt-bubble .ki-rechner-chat-list{margin:.2em 0 .45em;padding-left:1.15rem}.portal-ki-gpt-bubble .ki-rechner-chat-list li{margin:.15em 0}.portal-ki-gpt-bubble .ki-rechner-chat-h{margin:0 0 .4em;font-weight:700;line-height:1.3}.portal-ki-gpt-bubble .ki-rechner-chat-h1{font-size:1.05em}.portal-ki-gpt-bubble .ki-rechner-chat-h2,.portal-ki-gpt-bubble .ki-rechner-chat-h3{font-size:1em}.portal-ki-gpt-bubble--assistant strong{font-weight:700;color:var(--p2-primary-dk)}.portal-ki-gpt-bubble--assistant em{font-style:italic}.portal-ki-gpt-bubble--user strong{font-weight:700;color:#fff}.portal-ki-gpt-bubble--user em{font-style:italic;color:hsla(0,0%,100%,.95)}.portal-ki-gpt-bubble--user .ki-rechner-chat-list li::marker{color:hsla(0,0%,100%,.95)}.portal-ki-gpt-bubble--user{margin-left:auto;background:var(--org-primary,var(--p2-primary,#2e7d52));color:#fff}.portal-ki-gpt-bubble--assistant{margin-right:auto;border:1px solid rgba(30,28,26,.08);background:#fff;color:#1e1c1a}.portal-ki-gpt-typing{display:inline-flex;align-items:center;gap:.45rem;font-size:calc(12.5px * var(--p2-type-scale, 1.1));color:#5b6470}.portal-ki-gpt-draft{margin:0 1rem .65rem;border-radius:.9rem;border:1px solid color-mix(in srgb,var(--org-primary,#2e7d52) 28%,transparent);background:color-mix(in srgb,var(--org-primary-soft,#e7f1e9) 70%,#fff);padding:.85rem .95rem}.portal-ki-gpt-draft-label{margin:0 0 .35rem;font-size:calc(11px * var(--p2-type-scale, 1.1));font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5b6470}.portal-ki-gpt-draft-text{margin:0 0 .75rem;font-size:calc(13.5px * var(--p2-type-scale, 1.1));line-height:1.45;color:#1e1c1a}.portal-ki-gpt-draft-text .ki-rechner-chat-para{margin:0 0 .4em}.portal-ki-gpt-draft-text .ki-rechner-chat-para:last-child{margin-bottom:0}.portal-ki-gpt-draft-text strong{font-weight:700;color:var(--p2-primary-dk)}.portal-ki-gpt-error{margin:0 1rem .5rem;font-size:calc(12.5px * var(--p2-type-scale, 1.1));font-weight:600;color:#b42318}.portal-ki-gpt-composer{flex-shrink:0;border-top:1px solid var(--p2-line,rgba(0,0,0,.08));background:#fff;padding:.65rem .85rem var(--portal-safe-pad-bottom,calc(14px + env(safe-area-inset-bottom, 0px)))}.portal-ki-gpt-inputbar{display:flex;align-items:flex-end;gap:.5rem;min-height:44px;border:none;border-radius:0;background:transparent;padding:0}.portal-ki-gpt-voice-slot{flex-shrink:0;align-self:center}.portal-ki-gpt-voice-slot--active{flex:1;min-width:0;align-self:center}.portal-ki-gpt-voice-slot.order-first{order:-1}.portal-ki-gpt-textarea,.portal-ki-gpt-textarea.portal-field{flex:1;min-width:0;min-height:44px!important;max-height:calc(22px * 5 + 16px);height:auto;resize:none;box-sizing:border-box;margin:0;border:1px solid var(--p2-line,rgba(0,0,0,.12));border-radius:1.15rem;background:#fff;padding:.55rem .85rem;font:inherit;font-size:calc(15px * var(--p2-type-scale, 1.1));line-height:22px;color:var(--p2-ink,#1e1c1a);outline:none;box-shadow:none;transition:border-color .12s ease,box-shadow .12s ease}.portal-ki-gpt-textarea.portal-field:focus,.portal-ki-gpt-textarea.portal-field:focus-visible,.portal-ki-gpt-textarea:focus,.portal-ki-gpt-textarea:focus-visible{border-color:var(--org-primary,var(--p2-primary,#2e7d52));box-shadow:0 0 0 3px var(--org-primary-soft,var(--p2-primary-soft,#e7f1e9))}.portal-ki-gpt-textarea:disabled{opacity:.6}.portal-ki-gpt-send{display:inline-flex;height:40px!important;width:40px!important;min-width:40px!important;min-height:40px!important;flex-shrink:0;align-items:center;justify-content:center;align-self:center;margin:0;padding:0!important;border:none!important;border-radius:9999px!important;background:var(--org-primary,var(--p2-primary,#2e7d52))!important;color:#fff!important;cursor:pointer;box-shadow:none!important}.portal-ki-gpt-send:hover:not(:disabled){background:var(--org-primary-dk,#256b45)!important;color:#fff!important}.portal-ki-gpt-send:disabled{background:var(--org-primary-soft,var(--p2-primary-soft,#e7f1e9))!important;color:color-mix(in srgb,var(--org-primary,#2e7d52) 45%,#9ca3af)!important;cursor:default;opacity:1!important}.portal-ki-gpt-shell .portal-modal-shell-panel--funnel,.portal-ki-gpt-shell.portal-modal-shell--funnel .portal-modal-shell-panel--funnel{background:#fff}.portal-ki-gpt-shell .portal-modal-shell-header{background:#fff;border-bottom:1px solid var(--p2-line,rgba(0,0,0,.08))}.portal-ki-gpt-shell .portal-modal-shell-body{background:#fff}@media (min-width:768px){.portal-ki-gpt-shell .portal-modal-shell-panel--funnel{max-height:min(88vh,820px)}}