#creative-assistant{position:fixed;inset:12px 12px 12px auto;width:min(470px,calc(100vw - 24px));z-index:90;background:#fffdf0;border:2px solid #a52226;border-radius:22px;box-shadow:0 12px 55px #30231440;display:flex;flex-direction:column;padding:18px;gap:10px;overflow:auto;color:#302314}#creative-assistant[hidden]{display:none}.creative-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.creative-head strong{font-size:20px;color:#a52226}.creative-head small{display:block}.creative-head button{padding:5px 13px}.creative-help{font-size:12px;line-height:1.5;margin:0;color:#75644b}.creative-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.creative-controls select{flex:1;min-width:130px;width:100%;padding:8px}.creative-controls button,#creative-assistant details button{font-size:12px;padding:8px 12px;min-height:36px}.creative-messages{flex:1;min-height:160px;overflow:auto;display:flex;flex-direction:column;gap:10px}.creative-messages article{padding:12px;border-radius:14px;background:#f3eed4;font-size:14px}.creative-messages .creative-user{background:#e4ecd8;margin-left:25px}.creative-messages p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;line-height:1.55}.creative-messages b{font-size:12px;color:#195a31}#creative-assistant textarea{min-height:70px;width:100%;font-size:14px;padding:10px;resize:vertical}#creative-assistant label{font-size:12px;display:block;margin:5px 0}#creative-assistant input{width:100%;font-size:14px;padding:8px}.creative-draft,.creative-memory{border:1px solid #c8bd91;border-radius:12px;padding:10px;font-size:13px}.creative-draft summary,.creative-memory summary{cursor:pointer;font-weight:bold;color:#195a31}.creative-draft textarea{height:120px}.creative-error{font-size:13px;margin:0}#creative-form{flex-shrink:0}#creative-form .creative-controls{justify-content:space-between}@media(max-width:600px){#creative-assistant{inset:0;width:100%;height:100dvh;border-radius:0;padding:14px}.creative-messages{min-height:120px}}
