/* V24D: personal AI transcript readability and history controls in Settings. */
.wf-world #wfAiPanel{height:min(510px,calc(100dvh - var(--wf-top) - var(--wf-bottom) - 35px))!important;}
.wf-world #wfAiPanel #wfAiMessages{display:flex!important;flex-direction:column!important;
 align-items:stretch!important;gap:12px!important;padding:12px!important;
 border:1px solid #cbded1!important;background:#f1f7f3!important;scrollbar-gutter:stable;}
.wf-world #wfAiMessages .wf-ai-entry{box-sizing:border-box;display:block;flex:0 0 auto;
 width:94%;max-width:94%;margin:0!important;padding:12px 14px!important;
 border:1px solid #d2ded6;border-radius:13px 13px 13px 4px;
 background:#fff;color:#20382d;box-shadow:0 2px 4px #20382d0d;overflow-wrap:anywhere;}
.wf-world #wfAiMessages .wf-ai-entry.wf-ai-own{align-self:flex-end;
 background:#dff0e6;border-color:#b5d7c3;border-radius:13px 13px 4px 13px;}
.wf-world #wfAiMessages .wf-ai-meta{display:flex;align-items:baseline;
 justify-content:space-between;gap:10px;margin-bottom:9px;line-height:1.3;}
.wf-world #wfAiMessages .wf-ai-meta strong{font-size:13px;color:#275944;font-weight:750;}
.wf-world #wfAiMessages .wf-ai-meta time{font-size:11px;white-space:nowrap;
 color:#5e7568;flex-shrink:0;font-variant-numeric:tabular-nums;}
.wf-world #wfAiMessages .wf-ai-entry .wf-ai-text{margin:0!important;padding:0;
 font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;}
.wf-world #wfAiPanel .wf-ai-history-tools{flex:0 0 auto;margin:4px 0;}
.wf-world #wfSettingsDrawer .wf-history-settings{margin-top:16px;
 padding-top:10px;border-top:1px solid #bdd0c4;}
.wf-world #wfSettingsDrawer .wf-history-settings h3{font-size:15px;margin:0 0 7px;}
.wf-world #wfSettingsDrawer .wf-history-settings button{display:block;
 max-width:100%;margin:9px 0 4px;white-space:normal;text-align:left;}

@media(max-width:520px){.wf-world #wfAiMessages .wf-ai-entry{width:100%;max-width:100%;padding:10px 11px!important;}
 .wf-world #wfAiMessages .wf-ai-entry .wf-ai-text{font-size:13px;}}
