.gpt-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.gpt-conversations{padding:18px;align-self:start}.gpt-conversations button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:8px 0}.gpt-chat{padding:22px;min-width:0}.gpt-messages{height:48vh;min-height:260px;overflow:auto;display:flex;flex-direction:column;gap:16px;padding:12px 4px}.gpt-bubble{border-radius:12px;padding:14px 16px;max-width:90%;overflow-wrap:anywhere;background:#f0edfc}.gpt-bubble.user{background:#e9f4ef;align-self:flex-end}.gpt-bubble strong{display:block;font-size:12px;margin-bottom:7px}.gpt-bubble>div{white-space:pre-wrap;line-height:1.65}.gpt-chat textarea{width:100%;min-height:95px;resize:vertical;margin:10px 0}.gpt-chat .actions{justify-content:space-between}.gpt-permission{border:1px solid #d8d0f7;border-radius:12px;padding:16px;margin:22px 0}.gpt-permission legend{font-weight:700;padding:0 8px}.gpt-permission input,.gpt-permission select{width:100%}@media(max-width:750px){.gpt-layout{grid-template-columns:minmax(0,1fr)}.gpt-conversations{max-height:170px;overflow:auto}.gpt-chat{padding:16px}.gpt-bubble{max-width:100%}}

/* Ferramentas do chat */
.gpt-composer-tools,.gpt-thread-tools,.gpt-response-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.gpt-thread-tools{margin:4px 0 10px}.gpt-thread-tools button{font-size:12px}.gpt-composer-tools>label{margin:0}.gpt-composer-tools select{width:auto;min-width:220px;margin:0 0 0 8px}.gpt-attach{display:inline-flex;align-items:center;min-height:40px;padding:10px 14px;border:1px solid #ded8f6;border-radius:10px;font-weight:600;cursor:pointer;background:#f6f3ff}.gpt-attach:focus-within{outline:3px solid #ac9ce7;outline-offset:2px}.gpt-attach input{position:absolute;opacity:0;width:1px;height:1px}.gpt-file-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.gpt-file-chips>span{display:inline-flex;align-items:center;gap:8px;border:1px solid #ded8f6;border-radius:12px;padding:6px 10px;overflow-wrap:anywhere}.gpt-file-chips button{min-height:30px;padding:5px 8px;font-size:11px}.gpt-bubble img{display:block;max-width:100%;max-height:500px;object-fit:contain;border-radius:10px;margin:12px 0}.gpt-bubble audio{display:block;max-width:100%;margin:12px 0}.gpt-response-tools{margin-top:12px}.gpt-response-tools button{min-height:32px;padding:7px 10px;font-size:11px}.gpt-file-link{display:inline-block;padding:8px 10px;margin:8px 8px 0 0;border:1px solid #d4ccec;border-radius:8px;overflow-wrap:anywhere}.gpt-sources{padding-left:20px;font-size:12px;line-height:1.8}.gpt-conversations input{width:100%;margin:8px 0 14px}@media(max-width:750px){.gpt-composer-tools select{width:100%;margin:6px 0}.gpt-composer-tools>label:last-child{width:100%}.gpt-response-tools button{min-height:40px}}

.gpt-messages{height:clamp(240px,38vh,480px);min-height:240px}

/* BEGIN GPT SEND ROW 20261130 */
.gpt-send-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}.gpt-send-row small{color:#72818e}.gpt-send-row #gpt-send{min-height:44px;min-width:155px;flex-shrink:0}.gpt-send-row #gpt-send::after{content:'↑';font-size:20px;margin-left:9px}#gpt-form #gpt-error{white-space:pre-wrap;overflow-wrap:anywhere}#gpt-form>.actions:empty{display:none}@media(max-width:600px){.gpt-send-row #gpt-send{width:100%}.gpt-send-row small{font-size:12px}}
/* END GPT SEND ROW 20261130 */
