body.chatting .foot{display:flex;flex-shrink:0;padding:5px 0;margin:0;font-size:12px}.language{display:flex;gap:4px}.language button{background:none;border:0;color:var(--muted);padding:8px;min-width:40px}.language button[aria-pressed=true]{color:var(--navy);border-bottom:2px solid var(--navy)}.identity a{display:flex}.preview{align-items:center}.preview details{position:relative}.preview summary{cursor:pointer;white-space:nowrap}.review-menu{position:absolute;z-index:5;right:0;top:24px;background:white;padding:18px;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 30px #00336618;width:245px}.review-menu a{display:block;padding:5px 0}.review-menu label{display:block;margin:12px 0 4px}.review-menu select{width:100%;padding:8px;font:inherit}.chat-toolbar{flex-shrink:0}.chat-toolbar>div{gap:2px}.chat-toolbar h1{font:22px Korb,Arial,sans-serif;margin:0}.response-tools button,.chat-toolbar button{min-height:36px}.assistant-message h4{margin:15px 0 6px}.assistant-message table{border-collapse:collapse;width:100%;font-size:15px;margin:12px 0 20px}.assistant-message th,.assistant-message td{text-align:left;border-bottom:1px solid var(--line);padding:9px 10px 9px 0;vertical-align:top}.table-wrap{overflow-x:auto}.badge{display:inline-block;background:var(--pale);padding:3px 8px;border-radius:4px;font-size:13px;margin:0 4px 5px 0}.answer-label{flex-wrap:wrap}.answer-label small{font-weight:400;color:var(--muted);font-size:12px}.pii{font-size:13px;color:#793e12;background:#fff7ed;padding:8px 10px;margin:8px 0;border-radius:5px}.demo-state{border-left:3px solid var(--navy);padding:12px 16px;margin:15px 0;background:var(--pale)}.demo-state p{margin:0 0 10px}.secondary{background:white;border:1px solid var(--line);border-radius:6px;padding:9px 14px;color:var(--navy)}.primary{background:var(--navy);color:white;border:0;border-radius:6px;padding:10px 18px}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}.detail textarea{border:1px solid var(--line);border-radius:6px;padding:12px;min-height:100px}.detail label{display:block;margin:12px 0 5px}.detail select{font:inherit;padding:9px;width:100%;border:1px solid var(--line);background:white}.detail dl{margin:16px 0}.detail dt{font-weight:600;margin-top:15px}.detail dd{margin:4px 0;color:var(--muted)}.detail table{border-collapse:collapse;width:100%}.detail td,.detail th{padding:9px;text-align:left;border-bottom:1px solid var(--line)}.detail ul{padding-left:22px}.detail .status{min-height:24px;color:var(--navy)}.print-only{display:none}.stop{background:white;color:var(--navy);border:1px solid var(--navy);border-radius:6px;padding:7px 12px}.new-feedback{border-top:1px solid var(--line);padding-top:20px}.notice a{min-height:24px}.compose-bottom{gap:8px}button:disabled{opacity:.5;cursor:default}select:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:620px){.preview{padding:5px 12px;gap:7px}.preview>span{max-width:230px;font-size:11px;line-height:1.25}.chat-toolbar h1{font-size:20px}.chat-toolbar button{font-size:12px;padding-inline:6px}.chat-toolbar>div{gap:0}.identity img{width:124px}header{padding-inline:16px}.detail table{font-size:14px}.answer-label small{font-size:11px}.foot span{max-width:230px}.chatting .notice{font-size:12px}}
@media(max-width:430px) and (max-height:650px){body.chatting header{height:42px;min-height:42px}.identity img{width:102px}.language button{padding:5px}.chat-toolbar{padding:2px 0}.chat-toolbar h1{font-size:18px}.chat-toolbar button{padding:5px;font-size:11px;min-height:30px}.chatting .notice{font-size:11px;line-height:1.25;padding:6px 0 2px}.chatting .notice br{display:none}.chatting .notice a{padding:2px 0;min-height:22px}.chatting textarea{height:28px;min-height:28px}.chatting .composer{padding:6px 9px}.chatting .compose-bottom small{font-size:10px}.chatting .send,.stop{padding:5px 9px;font-size:12px}.preview>span{font-size:10px}.conversation{min-height:65px;padding-top:12px}.foot{font-size:11px!important}main{padding:15px}.welcome{padding:0 0 15px}h1{font-size:27px}.intro{font-size:15px;margin-bottom:12px}.prompt{font-size:14px;min-height:40px;padding:7px 0}.notice{font-size:12px}.dialog-head{padding:12px 18px}.dialog-head h2{font-size:23px}.detail{font-size:14px}.close{min-height:36px;min-width:36px}}
@media print{body>*{display:none!important}body>.print-only{display:block!important}body{height:auto!important;overflow:visible!important}.print-only{font:12pt/1.5 Arial;color:#003366}.print-only h1{font-size:26pt}.print-only article{break-inside:auto;border-top:1px solid #ccc;margin-top:20px}.print-only a{word-break:break-word}.print-only table{border-collapse:collapse;width:100%}.print-only th,.print-only td{padding:7px;border:1px solid #ccc}.print-only .response-tools,.print-only .followups{display:none}}

/* Full-width readable notice, aligned to the composer border. */
body #compliance,body.chatting #compliance{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:14px 0 10px;font-size:16px;line-height:1.5;text-align:left;text-indent:0}
body #compliance p,body.chatting #compliance p{width:100%;max-width:none;margin:0 0 6px;padding:0;text-indent:0}
body #compliance a,body.chatting #compliance a{padding:0;min-height:28px;font-size:inherit}
.foot{align-items:center;flex-wrap:wrap}.foot .powered{margin-left:auto;margin-right:12px}.preview:has(>span:empty)>span{display:none}
@media(max-width:430px) and (max-height:650px){body.chatting #compliance{font-size:14px;line-height:1.4;padding:8px 0}.foot .powered{margin-right:0}.foot{gap:6px}}
/* Mobile keeps the disclosure visible without using desktop paragraph spacing. */
.notice-mobile{display:none}
@media(max-width:620px){
 .notice-wide{display:none}.notice-mobile{display:inline}
 body #compliance,body.chatting #compliance{font-size:14px;line-height:1.35;padding:8px 0 4px}
 body #compliance p,body.chatting #compliance p{margin:0 0 3px}
 body #compliance a,body.chatting #compliance a{min-height:24px;line-height:24px}
 body.chatting .composer{display:flex;align-items:center;gap:10px;padding:9px 11px;flex-wrap:wrap}
 body.chatting .composer textarea{flex:1;width:0;height:30px;min-height:30px;resize:none;font-size:16px;padding:3px 0}
 body.chatting .compose-bottom{flex-shrink:0}
 body.chatting .compose-bottom small{display:none}
 body.chatting .pii{order:3;flex-basis:100%;margin:0}
 body.chatting .foot{gap:6px;flex-wrap:nowrap;font-size:11px;padding:5px 0}
 body.chatting .foot .powered{margin:0 0 0 auto;white-space:nowrap}
 body.chatting .foot>a{white-space:nowrap}
 body.chatting header{height:48px;min-height:48px}
 body.chatting .identity img{width:114px}
}
/* First-use notice belongs to the embedded chat, not a page-level overlay. */
body.onboarding{min-height:100dvh;background:white}
body.onboarding main{min-height:calc(100dvh - 92px);justify-content:center;padding-block:28px}
body.onboarding main>.welcome,body.onboarding main>.compose-area{display:none}
body.onboarding main>.foot{margin-top:auto;padding-top:14px}
.chat-entry{width:100%;max-width:540px;margin:auto;padding:28px 0 38px;animation:entry-in 220ms ease-out}
.chat-entry .entry-label{font-size:14px;color:var(--muted);margin-bottom:16px}
.chat-entry h1{font-size:36px;line-height:1.15;margin:0 0 22px}
.chat-entry p{font-size:17px;line-height:1.5;margin:0 0 16px}
.chat-entry .entry-info{display:block;background:none;border:0;color:var(--navy);font:inherit;text-decoration:underline;text-underline-offset:4px;padding:5px 0;margin:0 0 22px;min-height:36px}
.chat-entry #begin{min-height:46px;padding:11px 22px}
.enter-chat main{animation:entry-in 220ms ease-out}
@keyframes entry-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){body.onboarding main{min-height:calc(100dvh - 75px);padding:24px 21px 14px}.chat-entry{padding:16px 0 28px}.chat-entry h1{font-size:32px}.chat-entry p{font-size:16px}.chat-entry #begin{width:100%}}
@media(max-height:600px){body.onboarding main{justify-content:flex-start;padding-block:16px}.chat-entry{padding:0 0 18px;margin:0 auto}.chat-entry .entry-label{margin-bottom:10px}.chat-entry h1{font-size:28px;margin-bottom:16px}.chat-entry p{margin-bottom:12px}.chat-entry .entry-info{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.chat-entry,.enter-chat main{animation:none}}

/* 21 September: beta identity and host-page embed. */
.beta-label{display:inline-block;border:1px solid #bbcbd8;border-radius:4px;padding:1px 7px;font:600 12px/1.5 Source,Arial,sans-serif;vertical-align:middle;color:#003366;background:#eef4f9;letter-spacing:.02em}
.identity .beta-label{margin-left:10px}.embedded-identity{display:none}
body.embedded header{height:56px;min-height:56px;padding-inline:28px}
body.embedded header>.identity{display:none}body.embedded .embedded-identity{display:flex;align-items:center;gap:10px;font-size:19px;color:#003366;font-weight:600}
body.embedded.onboarding main{min-height:calc(100dvh - 56px)}
body.embedded .entry-label{display:none}
body.embedded .welcome h1{font-size:32px}
#feedbackType{display:block;width:100%;margin:8px 0 18px;padding:10px;border:1px solid #bdcad7;border-radius:4px;background:white;color:inherit;font:inherit}
@media(max-width:620px){body.embedded header{padding-inline:20px}.identity .beta-label{display:inline-block}}

/* Keep legal footer and controls readable inside a short frame. */
body.embedded main{width:100%}body.embedded .foot a{min-height:24px;display:inline-flex;align-items:center}body.embedded .conversation{min-height:65px} @media(max-height:600px){body.embedded.chatting{height:auto;min-height:100dvh;overflow:auto}body.embedded.chatting main{overflow:visible}body.embedded.chatting .conversation{flex:none;max-height:42dvh;min-height:120px}body.embedded.chatting .compose-area{position:relative}}

body.page-view .chat-toolbar{display:none!important}body.page-view header{gap:16px;flex-wrap:wrap;height:auto;min-height:64px;padding-block:10px}body.page-view .modal-actions{display:flex;gap:4px;margin-left:auto}body.page-view .modal-actions button,body.page-view .modal-close{font:inherit;font-size:14px;min-height:40px;background:white;color:#003366;border:0;padding:8px;cursor:pointer}body.page-view .modal-close{font-size:26px;min-width:40px}body.page-view .language{margin-left:auto}body.page-view .modal-actions:not([hidden])+.language{margin-left:0}body.page-view.onboarding main{min-height:calc(100dvh - 64px)}@media(max-width:650px){body.page-view header{gap:4px;padding-inline:12px}body.page-view .modal-actions{order:4;width:100%;justify-content:flex-end}body.page-view .language{margin-left:auto!important}}

/* Modal layout: host owns an always-available Close control. */
body.page-view .modal-close{display:none!important}body.page-view header{padding-right:138px!important;flex-shrink:0}body.page-view main{max-width:none;width:100%;margin:0;padding-inline:28px}body.page-view .assistant-message{max-width:none}body.page-view .assistant-message p{max-width:none}body.page-view .conversation{padding-right:0}body.page-view .chat-entry{max-width:680px}body.page-view.chatting{height:100dvh;min-height:0;overflow:hidden}body.page-view.chatting main{overflow:hidden;min-height:0;flex:1}body.page-view.chatting .conversation{flex:1;min-height:0;max-height:none}body.page-view .compose-area,body.page-view .foot{flex-shrink:0}@media(max-width:650px){body.page-view header{padding-right:114px!important}body.page-view main{padding-inline:16px}body.page-view .modal-actions{margin-right:-100px;width:calc(100% + 100px)}}

body #compliance,body.chatting #compliance{padding:8px 0 6px;line-height:1.4}body #compliance p,body.chatting #compliance p{margin-bottom:3px}body #compliance p:last-child,body.chatting #compliance p:last-child{margin-bottom:0}body #compliance #notice,body.chatting #compliance #notice{display:inline;padding:0;margin-left:5px;min-height:0;line-height:inherit;white-space:nowrap}

body #compliance,body.chatting #compliance{font-size:13px;line-height:1.4}body #compliance a,body.chatting #compliance a{font-size:inherit}@media(max-width:620px){body #compliance,body.chatting #compliance{font-size:12px;line-height:1.4}}

body .foot .footer-ihk{display:flex;align-items:center;gap:14px;max-width:none;flex-wrap:wrap}body .foot .powered,body.chatting .foot .powered{margin:0 0 0 auto;white-space:nowrap}body .foot .footer-ihk a{white-space:nowrap}@media(max-width:620px){body .foot .footer-ihk{gap:8px}body.chatting .foot{flex-wrap:wrap}}

/* Fill the modal at every stage; only the content region scrolls. */
body.page-view{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}body.page-view main,body.page-view.onboarding main{display:flex;flex-direction:column;flex:1;min-height:0;height:auto;overflow:hidden;padding-top:24px;padding-bottom:10px}body.page-view .welcome{flex:1;min-height:0;overflow:auto;padding:8px 0 24px}body.page-view .compose-area{margin-top:auto}body.page-view .foot{margin-top:0}body.page-view .prompts{gap:16px;grid-template-columns:1fr 1fr}body.page-view .prompt{border:1px solid #ccd9e5;border-radius:8px;padding:22px;min-height:104px;font-size:21px;line-height:1.35;background:#f6f9fc}body.page-view .prompt:hover{background:#edf3f9;border-color:#8aa7c3}body.page-view .prompt span:last-child{font-size:28px}body.page-view.onboarding .chat-entry{overflow:auto;min-height:0}body.page-view.chatting main{padding-top:0}body.page-view.chatting .conversation{overflow:auto;flex:1;min-height:0}body.page-view .composer textarea{resize:none;max-height:90px}@media(max-width:650px){body.page-view main{padding-top:12px;padding-bottom:6px}body.page-view .welcome{padding-top:4px;padding-bottom:16px}body.page-view .prompts{grid-template-columns:1fr;gap:10px}body.page-view .prompt{font-size:18px;min-height:76px;padding:16px}body.page-view .welcome h1{font-size:28px}body.page-view .intro{font-size:16px;margin-bottom:18px}body.page-view .composer{display:flex;align-items:center;gap:8px;padding:9px 11px;flex-wrap:wrap}body.page-view .composer textarea{flex:1;width:0;height:38px;min-height:38px;padding:5px 0;font-size:16px}body.page-view .compose-bottom small{display:none}body.page-view .pii{order:3;flex-basis:100%}body.page-view .compose-bottom{flex-shrink:0}}

/* Beta escalation: mirror the public IHK website's email and phone route. */
.escalation-card{margin:20px 0 12px;padding:20px;background:#f4f7fa;border:1px solid #d9e2ea;border-radius:10px;color:#162f48}
.escalation-card .escalation-label{margin:0 0 12px;font-weight:600;font-size:15px;color:#003366}
.escalation-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.escalation-option{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #aebfce;border-radius:6px;background:#fff;color:#003366;text-decoration:none;min-width:0;min-height:78px}
.escalation-option>span{display:flex;justify-content:space-between;gap:12px;font-weight:600}
.escalation-option small{font-size:15px;overflow-wrap:anywhere}
.escalation-option:hover{background:#edf3f9;border-color:#003366}
.escalation-card .escalation-note{margin:14px 0 6px;font-size:14px;color:#526477;line-height:1.45}
.escalation-source{display:inline-block;padding:6px 0;font-size:14px;text-underline-offset:3px}
.detail .escalation-card{margin:0}
@media(max-width:560px){.escalation-card{padding:16px}.escalation-options{grid-template-columns:1fr;gap:10px}.escalation-option{min-height:76px}}

/* Beta completion controls retain a compact footer at narrow widths. */
.footer-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.footer-actions button{font:inherit;color:#003366;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:5px 0;min-height:28px}
body.chatting .foot{gap:8px;flex-wrap:wrap}.footer-ihk{flex-wrap:wrap}
@media(max-width:430px){.footer-actions{gap:8px}.footer-actions .powered{font-size:10px}body.page-view .modal-actions button{font-size:13px;padding-inline:6px}}

.nps-scale{font-size:13px;color:#526477;line-height:1.4;margin:8px 0 18px}.detail #rating{min-height:44px}.detail #comment{min-height:80px}


/* Native 0–10 NPS slider. Its initial visual midpoint is not a response. */
.nps-slider-wrap{padding:2px 2px 0}
.nps-slider-wrap output{display:block;text-align:center;min-height:30px;margin-bottom:4px;font-weight:600;color:#003366;font-size:17px}
.nps-slider{display:block;width:100%;height:44px;margin:0;accent-color:#003366;cursor:pointer;touch-action:pan-y}
.nps-slider:focus-visible{outline:3px solid #2456d0;outline-offset:4px;border-radius:5px}
.nps-slider-wrap:has([data-selected=false]) output{color:#526477;font-weight:400;font-size:15px}

.nps-fieldset{border:0;padding:0;margin:18px 0;min-inline-size:0}
.nps-fieldset legend{padding:0;margin-bottom:12px;line-height:1.5}
.nps-fieldset .nps-scale{display:flex;justify-content:space-between;gap:16px;margin:10px 0 0;font-size:12px}
.nps-scale span:last-child{text-align:right}

/* A warm invitation above the feedback control. */
.feedback-welcome{display:flex;align-items:center;gap:12px;margin:0 0 10px;color:#163c5f;line-height:1.45}
.feedback-smile{display:flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;background:#eaf3fb;border-radius:50%;font-size:24px}
.detail .feedback-preview-note{font-size:12px;line-height:1.45;color:#526477;margin:8px 0 16px}
.nps-fieldset .nps-slider-wrap{padding:12px 2px 6px}
.nps-slider-wrap output{color:#005a9c;font-size:22px;line-height:1.3}
/* The full red-to-green scale remains visible at every thumb position. */
.nps-slider{appearance:none;-webkit-appearance:none;background:transparent}
.nps-slider::-webkit-slider-runnable-track{height:10px;border-radius:999px;background:linear-gradient(to right,#d84949 0%,#e9943a 25%,#e6c94a 50%,#91b951 75%,#26965a 100%)}
.nps-slider::-moz-range-track{height:10px;border-radius:999px;background:linear-gradient(to right,#d84949 0%,#e9943a 25%,#e6c94a 50%,#91b951 75%,#26965a 100%)}
.nps-slider::-moz-range-progress{background:transparent}
.nps-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin-top:-7px;border:3px solid #003366;border-radius:50%;background:#fff;box-shadow:0 1px 4px #00336630}
.nps-slider::-moz-range-thumb{box-sizing:border-box;width:24px;height:24px;border:3px solid #003366;border-radius:50%;background:#fff;box-shadow:0 1px 4px #00336630}
@media(forced-colors:active){.nps-slider{appearance:auto;-webkit-appearance:auto}}

/* Legal-assessment contact follows IHK Berlin's published contact-card layout. */
.ihk-person-card{position:relative;overflow:hidden;background:#edf4fb;border:0;border-radius:24px;padding:32px 36px 28px;color:#003366}
.ihk-person-card::after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#2763e7,#6876ed)}
.ihk-person-card .ihk-contact-heading{margin:0 0 24px;font-size:30px;font-weight:500;line-height:1.2;color:#003366}
.ihk-person-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:32px;align-items:start}
.ihk-person-photo{display:block;width:320px;max-width:100%;height:auto}
.ihk-person-card .ihk-person-name{margin:0 0 10px;font-size:21px;font-weight:600;color:#003366}
.ihk-person-card .ihk-person-role{margin:0 0 16px;font-size:16px;line-height:1.45;color:#003366}
.ihk-person-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ihk-contact-action{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:38px;padding:6px 10px;background:#fff;border:1px solid #c8d9ea;border-radius:7px;text-decoration:none;color:#003366;font-size:16px;overflow-wrap:anywhere}
.ihk-contact-action:hover{background:#f8fbff;border-color:#003366}
.ihk-contact-action svg{flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ihk-person-card .escalation-source{margin-top:8px}
.ihk-person-card .escalation-note{margin-top:22px;font-size:13px}
@media(max-width:700px){.ihk-person-card{padding:24px;border-radius:18px}.ihk-person-layout{grid-template-columns:1fr;gap:20px}.ihk-person-photo{width:320px}.ihk-person-card .ihk-contact-heading{font-size:27px;margin-bottom:20px}.ihk-contact-action{font-size:15px}.ihk-person-card .escalation-source{font-size:13px}}
