#tenorio-ai,#tenorio-ai-dialog {font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5;}
#tenorio-ai {position:fixed;right:20px;bottom:20px;z-index:90;border:1px solid #888;border-radius:28px;padding:12px 20px;color:#fff;background:#151515;box-shadow:0 4px 24px #0003;cursor:pointer;}
#tenorio-ai-dialog {position:fixed;inset:auto 20px 20px auto;margin:0;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:1px solid #777;border-radius:18px;background:#f5f3ee;color:#202020;box-sizing:border-box;}
#tenorio-ai-dialog::backdrop {background:#0007;}
#tenorio-ai-dialog h2 {font-size:23px;margin:0 0 12px;min-height:44px;padding-right:88px;}
#tenorio-ai-dialog p {margin:12px 0;color:inherit;}
#tenorio-ai-dialog button {border:1px solid #555;border-radius:8px;padding:9px 16px;background:#202020;color:white;cursor:pointer;min-height:44px;}
#tenorio-ai-dialog>button {position:absolute;right:20px;top:20px;font-size:12px;}
#tenorio-ai-dialog label {display:block;margin-bottom:6px;font-weight:600;}
#tenorio-ai-dialog textarea {box-sizing:border-box;width:100%;font:inherit;font-size:16px;padding:10px;border:1px solid #666;border-radius:8px;background:#fff;color:#202020;resize:vertical;}
#tenorio-ai-dialog form button {margin-top:8px;}
#tenorio-ai-dialog a {display:inline-block;color:#202020;text-decoration:underline;min-height:44px;padding-top:8px;}
#tenorio-ai-dialog .tenorio-ai-log {max-height:30dvh;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap;}
#tenorio-ai-dialog .tenorio-ai-log p {padding:10px;border-radius:8px;background:#e8e5dd;}
#tenorio-ai-dialog button:disabled {opacity:.6;}
#tenorio-ai:focus-visible,#tenorio-ai-dialog :focus-visible {outline:3px solid #8c5c00;outline-offset:3px;}
@media(max-width:480px){#tenorio-ai{right:16px;bottom:16px;}#tenorio-ai-dialog{right:16px;bottom:16px;padding:20px;max-height:calc(100dvh - 32px);}}
