/* Tall, compact chat; preserves existing drag and native resize behavior. */
#apAgentDialog.ap-agent-dialog{
  width:min(380px,calc(100vw - 24px));
  height:min(640px,calc(100dvh - 24px));
  min-width:min(300px,calc(100vw - 24px));
  min-height:min(360px,calc(100dvh - 24px));
  max-width:calc(100vw - 16px);
  max-height:calc(100dvh - 16px);
}
#apAgentDialog .ap-agent-dialog-header{gap:8px;font-size:12px}
#apAgentDialog .ap-agent-close{flex-shrink:0}
#apAgentDialog .ap-chat-log{min-height:0}
#apAgentDialog .ap-paperwork-starters{gap:5px;padding:8px 12px 0}
#apAgentDialog .ap-chat-notice{padding:9px 12px}
#apAgentDialog .ap-chat-form{padding-bottom:30px}
#apAgentDialog .ap-resize-handle{position:absolute;right:2px;bottom:2px;width:28px;height:28px;border:0;border-radius:5px;background:#d5e9e6;color:#195e59;font-size:20px;cursor:nwse-resize;touch-action:none;z-index:2}
#apAgentDialog .ap-resize-handle:focus-visible{outline:2px solid #16706b;outline-offset:-2px}
@media(max-width:600px){#apAgentDialog.ap-agent-dialog{width:min(380px,calc(100vw - 20px));height:min(640px,calc(100dvh - 20px));min-width:0}}
