.native-creative-agent{width:min(820px,calc(100vw - 28px));max-height:92dvh;overflow:auto;padding:26px;border:1px solid #ccd7e2;border-radius:18px;background:#fff;color:#17324d;box-sizing:border-box;}
.native-creative-agent::backdrop{background:#06182a99;}
.native-creative-agent>header{display:flex;justify-content:space-between;align-items:start;gap:16px;}
.native-creative-agent h2{margin:6px 0 16px;font-size:25px;}.native-creative-agent h3{margin:0 0 12px;font-size:18px;}
.creative-agent-explanation,.creative-agent-limits p{font-size:13px;line-height:1.6;color:#536b80;}
.creative-agent-history,.creative-agent-compose .buttons{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:18px 0;}
.creative-agent-history select{flex:1;min-width:140px;}
.creative-agent-messages{display:grid;gap:12px;max-height:38dvh;overflow:auto;margin:18px 0;scrollbar-gutter:stable;}
.creative-agent-messages article{padding:16px;border:1px solid #d4e0e9;border-radius:12px;background:#f2f7fb;overflow-wrap:anywhere;}
.creative-agent-messages article.is-user{margin-left:34px;background:#eef5eb;}.creative-agent-messages article.is-assistant{margin-right:34px;}
.creative-agent-messages strong{font-size:12px;}.creative-agent-messages p{margin:7px 0 0;font-size:14px;line-height:1.6;white-space:pre-wrap;}
.creative-agent-plan{border:1px solid #9fb9d5;border-radius:12px;padding:18px;background:#eff6fd;}.creative-agent-plan p{font-size:14px;line-height:1.6;white-space:pre-wrap;}.creative-agent-plan a{display:inline-flex;margin:8px 8px 0 0;}
.creative-agent-limitation{color:#77531c;}.creative-agent-notice{font-size:13px;line-height:1.6;white-space:pre-wrap;}.creative-agent-notice.is-error{color:#a1382d;}
.creative-agent-compose{display:grid;gap:14px;margin-top:22px;}.creative-agent-compose label{display:grid;gap:8px;font-weight:650;font-size:13px;}
.native-creative-agent select,.native-creative-agent textarea{box-sizing:border-box;min-width:0;width:100%;font:inherit;padding:12px;border:1px solid #b9cad9;border-radius:9px;color:inherit;background:#fff;}.native-creative-agent textarea{resize:vertical;line-height:1.6;}
.creative-agent-limits{border-top:1px solid #d6e1e9;padding-top:16px;margin-top:20px;}.creative-agent-limits summary{font-size:13px;cursor:pointer;}
@media(max-width:560px){.native-creative-agent{padding:18px;width:calc(100vw - 18px);max-height:95dvh;}.creative-agent-messages article.is-user{margin-left:12px;}.creative-agent-messages article.is-assistant{margin-right:12px;}.creative-agent-history{align-items:stretch;}.creative-agent-history select{flex-basis:100%;}}
