/* WELOOMA V62: extra space and larger typography for WELOOMA Hulp only.
   Loaded last after the existing V24D and sliding-panel styles. */
.wf-world #wfAiPanel {
 height:min(700px,calc(100dvh - var(--wf-top) - var(--wf-bottom) - 22px))!important;
 min-height:0!important;
 padding:14px 17px!important;
}
.wf-world #wfAiPanel .wf-popup-heading {gap:13px!important;padding-bottom:10px!important;margin-bottom:9px!important;}
.wf-world #wfAiPanel #wfAiHeading {font-size:21px!important;line-height:1.3!important;}
.wf-world #wfAiPanel .wf-ai-tag {font-size:13px!important;line-height:1.4!important;font-weight:600!important;}
.wf-world #wfAiPanel .wf-popup-heading small {display:block!important;font-size:14px!important;line-height:1.5!important;margin-top:5px!important;color:#385b4c!important;}
.wf-world #wfAiPanel #wfAiIdentity {font-size:13px!important;line-height:1.45!important;margin:5px 0 8px!important;}
.wf-world #wfAiPanel #wfAiMessages {flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;
 overflow-y:auto!important;padding:14px!important;}
.wf-world #wfAiMessages .wf-ai-entry {max-width:97%!important;width:97%!important;padding:13px 15px!important;}
.wf-world #wfAiMessages .wf-ai-meta strong {font-size:14px!important;}
.wf-world #wfAiMessages .wf-ai-meta time {font-size:12px!important;}
.wf-world #wfAiMessages .wf-ai-entry .wf-ai-text {font-size:15px!important;line-height:1.65!important;white-space:pre-wrap!important;}
.wf-world #wfAiPanel #wfAiForm {flex:0 0 44px!important;height:44px!important;}
.wf-world #wfAiPanel #wfAiInput {font-size:15px!important;min-height:42px!important;}
.wf-world #wfAiPanel #wfAiSend {font-size:14px!important;min-height:42px!important;}
.wf-world #wfAiPanel #wfAiNotice {font-size:13px!important;line-height:1.35!important;}
/* Wider on large screens, without blocking the other history pane or the 3D scene. */
@media(min-width:1000px){
 .wf-world #wfAiPanel:not([hidden]) {width:min(46vw,680px)!important;max-width:calc(50vw - 26px)!important;}
 #wfAiOpen[aria-expanded="true"] {right:min(46vw,680px,calc(50vw - 26px))!important;}
}
@media(max-width:780px){
 .wf-world #wfAiPanel {height:min(75dvh,calc(100dvh - var(--wf-top) - var(--wf-bottom) - 20px))!important;padding:10px 12px!important;}
 .wf-world #wfAiPanel #wfAiHeading {font-size:18px!important;}
 .wf-world #wfAiPanel .wf-popup-heading small {font-size:13px!important;}
 .wf-world #wfAiMessages .wf-ai-entry {max-width:100%!important;width:100%!important;padding:10px 12px!important;}
 .wf-world #wfAiMessages .wf-ai-entry .wf-ai-text {font-size:14px!important;}
}
