#hd-werner-preview{position:fixed;right:max(20px,env(safe-area-inset-right));--aw-resting-bottom:max(18px,env(safe-area-inset-bottom));--aw-bottom:max(var(--aw-resting-bottom),var(--aw-footer-clearance,0px));bottom:var(--aw-bottom);z-index:70;font:15px/1.5 'Healthy Dry Sans','IBM Plex Sans',Arial,sans-serif;color:#102e3b;letter-spacing:normal;text-align:left}
#hd-werner-preview *{box-sizing:border-box}#hd-werner-preview [hidden]{display:none!important}
#hd-werner-preview button{font:inherit;cursor:pointer;min-height:42px;border-radius:9px;padding:9px 13px;letter-spacing:normal;text-transform:none;box-shadow:none}
#hd-werner-preview button:focus-visible,#hd-werner-preview input:focus-visible,#hd-werner-preview textarea:focus-visible,#hd-werner-preview a:focus-visible{outline:3px solid #8d709c;outline-offset:3px}
#hd-werner-preview .aw-launcher{display:flex;align-items:center;gap:12px;background:#102e3b;color:white;border:1px solid #254c5b;border-radius:30px;padding:10px 18px 10px 10px;box-shadow:0 5px 24px #102e3b30;min-width:225px;text-align:left;font-weight:600}
#hd-werner-preview .aw-launcher small{display:block;font-size:11px;font-weight:400;color:#d4e2da}#hd-werner-preview .aw-launcher>span:last-child{margin-left:auto}
#hd-werner-preview .aw-launcher-icon,#hd-werner-preview .aw-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#b9ce9d;color:#102e3b;font-size:18px;flex:none;object-fit:cover;object-position:center 25%}
#hd-werner-preview .aw-panel{position:absolute;bottom:80px;right:0;width:390px;height:min(650px,calc(100dvh - var(--aw-bottom) - 92px));background:white;border:1px solid #cad9d2;border-radius:18px;box-shadow:0 12px 55px #102e3b30;overflow:hidden;display:flex;flex-direction:column}
#hd-werner-preview .aw-header{display:flex;align-items:center;gap:12px;padding:16px 18px;background:#102e3b;color:white;flex:none}
#hd-werner-preview .aw-header strong{font-size:17px;font-weight:600}#hd-werner-preview .aw-header small{display:block;font-size:11px;color:#d4e2da}
#hd-werner-preview .aw-minimise{margin-left:auto;color:white;background:transparent;border:1px solid #ffffff60;font-size:24px;line-height:1;min-width:42px;padding:5px}
#hd-werner-preview .aw-preview-note{font-size:10px;background:#edf3e7;margin:0;padding:8px 16px;color:#425b4c;flex:none;text-align:center}
#hd-werner-preview .aw-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px;flex:1;background:#f6f8f5;scrollbar-width:thin}
#hd-werner-preview .aw-message{background:white;border:1px solid #dce5de;border-radius:3px 13px 13px;margin:0 20px 15px 0;padding:13px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
#hd-werner-preview .aw-visitor{background:#e5eddd;margin-right:0;margin-left:34px;border-radius:13px 3px 13px 13px}
#hd-werner-preview .aw-speaker{display:block;font-size:10px;font-weight:600;color:#50665c;margin-bottom:5px}
#hd-werner-preview p{font:inherit;line-height:inherit;max-width:none;margin:0 0 12px}#hd-werner-preview .aw-message p:last-child{margin-bottom:0}
#hd-werner-preview .aw-message a{color:#24586b;text-decoration:underline;font-size:12px;display:inline-block;margin-top:6px}
#hd-werner-preview .aw-controls{font-size:13px}#hd-werner-preview h2{font:600 18px/1.4 'Healthy Dry Sans',Arial,sans-serif;margin:18px 0 10px;text-transform:none;letter-spacing:normal;color:#102e3b}
#hd-werner-preview .aw-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}#hd-werner-preview .aw-suggestions button{background:white;border:1px solid #b7c9bd;font-size:11px;color:#254c3b;padding:7px 10px;min-height:36px}
#hd-werner-preview .aw-label{display:block;font-size:12px;font-weight:600;margin:12px 0 6px}#hd-werner-preview .aw-label span{font-weight:400;color:#52656a}
#hd-werner-preview input,#hd-werner-preview textarea{width:100%;font-size:14px;line-height:1.5;font-family:inherit;background:white;color:#102e3b;border:1px solid #a8bcb0;border-radius:8px;padding:10px 11px;min-height:44px;resize:vertical;box-shadow:none}
#hd-werner-preview input[readonly]{background:#edf1ed}#hd-werner-preview input[type=file]{font-size:11px;padding:9px;overflow:hidden}
#hd-werner-preview .aw-input-row{display:flex;align-items:flex-end;gap:8px}#hd-werner-preview .aw-input-row textarea{flex:1;min-width:0;max-height:130px;font-size:14px}
#hd-werner-preview .aw-input-row button{background:#102e3b;color:white;border:0;min-width:44px;font-size:23px}
#hd-werner-preview .aw-primary{display:block;width:100%;background:#b9ce9d;border:1px solid #829f76;color:#102e3b;font-weight:600;margin-top:15px}
#hd-werner-preview .aw-primary:hover{background:#c9dbb5}#hd-werner-preview .aw-text{display:block;background:transparent;color:#315d6b;text-decoration:underline;border:0;width:100%;font-size:12px;margin-top:6px}
#hd-werner-preview .aw-small{font-size:11px;color:#53656b;margin-top:12px}#hd-werner-preview .aw-success{background:#e5efdc;border:1px solid #bbd0ab;padding:13px;border-radius:10px;margin:16px 0;font-size:12px}#hd-werner-preview .aw-success p{margin:5px 0 0}
#hd-werner-preview .aw-error{color:#9f3535;background:#fff1ee;padding:10px;border-radius:6px;font-size:12px}
#hd-werner-preview .aw-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 14px;background:white;border-top:1px solid #dce5de;flex:none;font-size:10px;color:#5b6c6d}
#hd-werner-preview .aw-reset{background:transparent;border:0;color:#315d6b;text-decoration:underline;font-size:10px;padding:4px 0}
@media(max-width:480px){#hd-werner-preview{left:12px;right:12px;--aw-resting-bottom:max(12px,env(safe-area-inset-bottom));bottom:var(--aw-bottom)}#hd-werner-preview .aw-panel{width:100%;height:min(610px,calc(100dvh - var(--aw-bottom) - 88px));bottom:76px;border-radius:14px}#hd-werner-preview .aw-content{padding:14px}#hd-werner-preview .aw-launcher{margin-left:auto;min-width:205px;padding:8px 14px 8px 8px}#hd-werner-preview .aw-message{font-size:13px}}
@media(prefers-reduced-motion:reduce){#hd-werner-preview *{scroll-behavior:auto!important}}

#hd-werner-preview .aw-related-label{font-size:11px;font-weight:600;color:#53656b;margin:16px 0 7px}
#hd-werner-preview .aw-related .aw-suggestions{margin:0 0 14px}

#hd-werner-preview .aw-keyboard-hint{font-size:10px;color:#53656b;margin:7px 0 0}

/* Use the visible screen on phones, including when the software keyboard opens. */
@media(max-width:600px){
  #hd-werner-preview[data-open="true"]{inset:0;bottom:auto;height:100dvh;background:#f6f8f5;z-index:1000}
  #hd-werner-preview[data-open="true"] .aw-launcher{display:none}
  #hd-werner-preview .aw-panel{position:fixed;left:0;right:0;top:var(--aw-view-top,0px);bottom:auto;width:100%;height:var(--aw-view-height,100dvh);max-height:none;border:0;border-radius:0}
  #hd-werner-preview .aw-header{padding:10px 12px;gap:10px}
  #hd-werner-preview .aw-content{padding:12px;display:flex;flex-direction:column;overflow:hidden}
  #hd-werner-preview .aw-messages{min-height:0;flex:0 1 auto;max-height:40%;overflow-y:auto;overscroll-behavior:contain}
  #hd-werner-preview .aw-controls{display:flex;flex-direction:column;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
  #hd-werner-preview .aw-question-form{display:flex;flex-direction:column;min-height:100px;flex:1}
  #hd-werner-preview .aw-input-row{flex:1;min-height:80px}
  #hd-werner-preview .aw-input-row textarea{height:100%;max-height:none}
  #hd-werner-preview .aw-primary{flex:none}
  #hd-werner-preview .aw-header{padding-top:max(10px,env(safe-area-inset-top))}
  #hd-werner-preview .aw-footer{padding-bottom:max(4px,env(safe-area-inset-bottom))}
  #hd-werner-preview[data-stage="callback"] .aw-content,#hd-werner-preview[data-stage="details"] .aw-content,#hd-werner-preview[data-stage="finished"] .aw-content{overflow-y:auto;display:block}
  #hd-werner-preview[data-stage="callback"] .aw-controls,#hd-werner-preview[data-stage="details"] .aw-controls,#hd-werner-preview[data-stage="finished"] .aw-controls{display:block;max-height:none;overflow:visible}
  #hd-werner-preview input,#hd-werner-preview textarea,#hd-werner-preview .aw-input-row textarea{font-size:16px}
  #hd-werner-preview .aw-input-row textarea{resize:none}
  #hd-werner-preview .aw-keyboard-hint{display:none}
  #hd-werner-preview .aw-footer{padding:4px 12px;gap:12px}
  #hd-werner-preview .aw-footer span{line-height:1.4}
  #hd-werner-preview[data-compact="true"] .aw-preview-note,#hd-werner-preview[data-compact="true"] .aw-related{display:none}
  #hd-werner-preview[data-compact="true"] .aw-content{padding:8px 12px}
  #hd-werner-preview[data-compact="true"] .aw-label{margin-top:4px}
  #hd-werner-preview[data-compact="true"] .aw-primary{margin-top:8px}
}

#hd-werner-preview .aw-send-label{display:none}
@media(max-width:600px){
  #hd-werner-preview .aw-input-row{flex-direction:column;align-items:stretch;gap:10px}
  #hd-werner-preview .aw-input-row textarea{flex:1;min-height:64px;height:auto}
  #hd-werner-preview .aw-input-row button{flex:none;width:100%;font-size:16px;font-weight:600;min-height:46px}
  #hd-werner-preview .aw-send-icon{display:none}
  #hd-werner-preview .aw-send-label{display:inline}
  #hd-werner-preview .aw-question-form{min-height:140px}
}

@media(max-width:600px){
  #hd-werner-preview[data-open="true"]{overscroll-behavior:none;isolation:isolate}
  #hd-werner-preview .aw-panel{overscroll-behavior:none}
  #hd-werner-preview[data-compact="true"] .aw-messages{max-height:22%}
  #hd-werner-preview[data-short="true"] .aw-messages{display:none}
  #hd-werner-preview[data-short="true"] .aw-question-form{min-height:134px}
  #hd-werner-preview[data-compact="true"] .aw-controls{scrollbar-gutter:stable}
}

@media(max-width:600px){
  #hd-werner-preview .aw-message{font-size:16px;line-height:1.5;margin-right:0;padding:12px}
  #hd-werner-preview .aw-speaker{font-size:11px}
  #hd-werner-preview .aw-visitor{margin-left:20px}
}

#hd-werner-preview .aw-next-question{display:none}
@media(max-width:600px){
  #hd-werner-preview[data-answer="true"] .aw-messages{display:block;flex:1;max-height:none;min-height:0}
  #hd-werner-preview[data-answer="true"] .aw-controls{flex:none;overflow:visible;scrollbar-gutter:auto}
  #hd-werner-preview[data-answer="true"] .aw-question-form,#hd-werner-preview[data-answer="true"] .aw-related{display:none}
  #hd-werner-preview[data-answer="true"] .aw-next-question{display:block;width:100%;background:#102e3b;color:white;border:0;font-size:16px;font-weight:600;margin-top:10px;min-height:46px}
}

#hd-werner-preview .aw-working{display:flex;align-items:flex-start;gap:12px;border-color:#aec7a3;background:#edf3e7}
#hd-werner-preview .aw-working strong{font-size:16px;line-height:1.5}
#hd-werner-preview .aw-working p{font-size:14px;margin-top:6px}
#hd-werner-preview .aw-spinner{width:24px;height:24px;flex:none;border:3px solid #c4d5bc;border-top-color:#102e3b;border-radius:50%;animation:aw-spin .8s linear infinite;margin-top:3px}
#hd-werner-preview button:disabled{cursor:wait;opacity:.65}
@keyframes aw-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){#hd-werner-preview[data-waiting="true"] .aw-next-question{display:none}}
@media(prefers-reduced-motion:reduce){#hd-werner-preview .aw-spinner{animation:none}}

#hd-werner-preview .aw-link-note{font-size:11px;white-space:normal}

@media(max-width:600px){#hd-werner-preview[data-open="true"]{top:var(--aw-view-top,0px);height:var(--aw-view-height,100dvh)}}

@media(max-width:600px){
 #hd-werner-preview[data-short="true"] .aw-header{padding:6px 12px}
 #hd-werner-preview[data-short="true"] .aw-avatar{width:32px;height:32px}
 #hd-werner-preview[data-short="true"] .aw-footer span{font-size:0}
 #hd-werner-preview[data-short="true"] .aw-footer span a{font-size:11px}
 #hd-werner-preview[data-short="true"] .aw-reset{min-height:32px}
 #hd-werner-preview[data-short="true"] .aw-question-form,#hd-werner-preview[data-short="true"] .aw-input-row{min-height:0}
 #hd-werner-preview[data-short="true"] .aw-input-row{gap:6px}
 #hd-werner-preview[data-short="true"] .aw-input-row textarea{min-height:44px}
 #hd-werner-preview[data-short="true"] .aw-input-row button{min-height:42px;padding:8px 12px}
 #hd-werner-preview[data-short="true"] .aw-primary{margin-top:6px}
}

/* Quiet, light entry: a single prompt and a compact round send control. */
#hd-werner-preview .aw-panel,#hd-werner-preview .aw-content{background:#fff}
#hd-werner-preview .aw-header{background:#fff;color:#102e3b;border-bottom:1px solid #edf0ec;padding:16px}
#hd-werner-preview .aw-header strong{font-size:22px;font-weight:500;line-height:1.3}
#hd-werner-preview .aw-minimise{background:#f5f6f3;border:0;color:#53615b;border-radius:50%;font-size:26px}
#hd-werner-preview .aw-preview-note,#hd-werner-preview .aw-keyboard-hint,#hd-werner-preview .aw-related{display:none}
#hd-werner-preview .aw-question-form>.aw-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#hd-werner-preview[data-stage="chat"] .aw-question-form{flex:none;min-height:0;margin:0}
#hd-werner-preview[data-stage="chat"] .aw-input-row{display:flex;flex-direction:row;align-items:flex-end;gap:12px;min-height:0;flex:none;border:1px solid #d9dfd8;border-radius:18px;padding:12px;background:#fff}
#hd-werner-preview[data-stage="chat"] .aw-input-row textarea{flex:1;min-height:88px;height:88px;max-height:180px;padding:4px;border:0;border-radius:0;background:transparent;font-size:16px;line-height:1.5;resize:none}
#hd-werner-preview[data-stage="chat"] .aw-input-row button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;flex:none;border-radius:50%;background:#102e3b;color:#fff;font-size:24px}
#hd-werner-preview[data-stage="chat"] .aw-send-label{display:none}
#hd-werner-preview[data-stage="chat"] .aw-send-icon{display:inline}
#hd-werner-preview[data-answer="false"][data-stage="chat"] .aw-controls{flex:none;max-height:none;overflow:visible;padding-top:20px}
#hd-werner-preview .aw-primary{background:#f6f8f3;border:1px solid #d7dfd1;border-radius:12px;color:#284635;font-size:14px}
#hd-werner-preview[data-history="false"] .aw-reset{display:none}
#hd-werner-preview .aw-footer{border-top:0;background:#fff;padding:8px 16px;font-size:11px}
#hd-werner-preview .aw-message{border-color:#e5e9e1;box-shadow:none}
@media(max-width:600px){
 #hd-werner-preview .aw-content{padding:16px}
 #hd-werner-preview[data-short="true"] .aw-header{padding:10px 12px}
 #hd-werner-preview[data-short="true"] .aw-header strong{font-size:20px}
 #hd-werner-preview[data-short="true"] .aw-footer span{font-size:11px}
 #hd-werner-preview[data-short="true"][data-stage="chat"] .aw-input-row textarea{min-height:56px;height:56px}
 #hd-werner-preview[data-answer="false"][data-stage="chat"][data-short="true"] .aw-controls{padding-top:4px}
}

/* Neutral input and send control, with a visible grey keyboard-focus cue. */
#hd-werner-preview[data-stage="chat"] .aw-input-row{border:0;border-bottom:1px solid #eef0ed;border-radius:0;padding:8px 0 12px}
#hd-werner-preview[data-stage="chat"] .aw-input-row:focus-within{border-bottom-color:#cfd4ce}
#hd-werner-preview[data-stage="chat"] .aw-input-row textarea:focus,#hd-werner-preview[data-stage="chat"] .aw-input-row textarea:focus-visible{outline:none;box-shadow:none;border:0}
#hd-werner-preview[data-stage="chat"] .aw-input-row button{background:#f1f2f0;color:#687169;border:0}
#hd-werner-preview[data-stage="chat"] .aw-input-row button:hover{background:#e8ebe6}
#hd-werner-preview button:focus-visible,#hd-werner-preview input:focus-visible,#hd-werner-preview textarea:focus-visible,#hd-werner-preview a:focus-visible{outline:2px solid #7c857e;outline-offset:3px}

/* Compact prompt aligned directly above its underline. */
#hd-werner-preview[data-stage="chat"] .aw-input-row{align-items:center;padding:0 0 6px;gap:12px}
#hd-werner-preview[data-stage="chat"] .aw-input-row textarea,#hd-werner-preview[data-short="true"][data-stage="chat"] .aw-input-row textarea{min-height:44px;height:44px;max-height:140px;padding:10px 0;line-height:24px}
#hd-werner-preview[data-stage="chat"] .aw-controls>.aw-primary{margin-top:28px}
