/* Coach composer widget (bizlee-composer.js): text on top, tools at the bottom right. */
#appShell #coachChatPane .chat-input.bz-composer{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:6px!important;
 padding:12px 12px 10px 16px!important;border:1px solid rgba(207,230,255,.16);border-radius:24px;background:linear-gradient(180deg,rgba(14,24,40,.92),rgba(8,14,26,.96));
 box-shadow:0 18px 50px -22px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.04);transition:border-color .2s,box-shadow .2s}
#appShell #coachChatPane .chat-input.bz-composer:focus-within{border-color:rgba(94,240,240,.55);box-shadow:0 0 0 4px rgba(94,240,240,.08),0 18px 50px -22px rgba(0,0,0,.8)}
#appShell #coachChatPane .bz-composer textarea{flex:none!important;width:100%!important;min-height:64px!important;max-height:220px;padding:6px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none;font-size:16px!important;line-height:1.5;color:var(--text,#eaf2ff)}
#appShell #coachChatPane .chat-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px}
#appShell #coachChatPane .chat-tools>*{margin:0!important}
#appShell #coachChatPane .chat-tools .model-pick-btn{height:38px;border-radius:99px;padding:0 10px 0 14px;font-size:13px}
#appShell #coachChatPane .chat-tools .model-pick-menu{left:auto;right:0;transform-origin:bottom right}
#appShell #coachChatPane .chat-tools .coach-attach-icon{display:grid;place-items:center;width:40px;height:40px;min-height:0!important;padding:0!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.04)!important;color:#cfe6ff}
#appShell #coachChatPane .chat-tools .coach-attach-icon:hover{background:rgba(255,255,255,.09)!important;color:#fff}
#appShell #coachChatPane .chat-send{display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:linear-gradient(160deg,#5ef0f0,#19c9ef)!important;color:#04121f!important;box-shadow:0 6px 18px -6px rgba(25,201,239,.7);transition:transform .15s,box-shadow .15s,opacity .15s}
#appShell #coachChatPane .chat-send svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
#appShell #coachChatPane .chat-send:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 22px -6px rgba(25,201,239,.85)}
#appShell #coachChatPane .chat-send:active:not(:disabled){transform:scale(.94)}
#appShell #coachChatPane .chat-send:disabled{opacity:.45;box-shadow:none}
#appShell #coachChatPane .chat-send-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:700px){#appShell #coachChatPane .chat-input.bz-composer{border-radius:20px;padding:10px 10px 8px 14px!important}#appShell #coachChatPane .bz-composer textarea{min-height:52px!important}}
@media(prefers-reduced-motion:reduce){#appShell #coachChatPane .chat-send{transition:none}}
/* Chat messages: Bizly's replies are plain text (no card, no border, no avatar); the user's messages stay bright bubbles. */
#appShell #coachChatPane .chat-log .msg.ai{position:relative;max-width:min(760px,100%);margin-left:0!important;padding:4px 2px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;animation:bz-msg-in .35s cubic-bezier(.2,.8,.2,1) both}
#appShell #coachChatPane .chat-log .msg.me{padding:12px 16px;border:0;border-radius:20px 20px 6px 20px;background:linear-gradient(135deg,#19c9ef,#2fd6c6);color:#03141f;font-weight:500;box-shadow:0 10px 24px -14px rgba(25,201,239,.8);animation:bz-msg-in .25s ease-out both}
#appShell #coachChatPane .chat-log .msg.me a{color:#03141f}
#appShell #coachChatPane .chat-log .msg.ai table{border-collapse:collapse;margin:8px 0}
#appShell #coachChatPane .chat-log .msg.ai th,#appShell #coachChatPane .chat-log .msg.ai td{padding:6px 10px;border:1px solid rgba(207,230,255,.12)}
#appShell #coachChatPane .chat-log .msg.ai th{background:rgba(94,240,240,.08);color:#dff8ff}
@keyframes bz-msg-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#appShell #coachChatPane .chat-log .msg{animation:none}}
