/* IA1 chat - inherits Studio colors; intentionally no remote assets */
.ia1-chat-shell{display:grid;gap:14px;max-width:1000px}
.ia1-chat-shell form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ia1-chat-shell input,.ia1-chat-shell textarea,.ia1-chat-shell select{min-width:0;flex:1;max-width:100%;padding:10px;border:1px solid #a5b1c5;border-radius:8px;background:#fff;color:#172033}
.ia1-chat-shell button{padding:10px 12px;border:1px solid #1d55d8;border-radius:8px;background:#1d55d8;color:#fff;cursor:pointer}
.ia1-chat-shell button:disabled{opacity:.55;cursor:wait}
.ia1-chat-messages{min-height:180px;max-height:440px;overflow:auto;padding:12px;border:1px solid #ccd5e2;border-radius:12px;background:#f8faff}
.ia1-chat-message{padding:9px;margin:7px 0;background:#fff;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.ia1-chat-lesson{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid #ddd;padding:8px 0;overflow-wrap:anywhere}
.ia1-chat-warning{border-left:3px solid #bd7a16;padding:8px 12px;background:#fff8e9;color:#342b20}
.ia1-chat-shell [hidden]{display:none!important}
@media(max-width:600px){.ia1-chat-shell form{flex-direction:column;align-items:stretch}.ia1-chat-shell button{width:100%}}
