.chat-wrap{max-width:960px;margin:0 auto}.chat-box{display:flex;flex-direction:column;gap:12px;min-height:270px;max-height:58vh;overflow:auto;padding:18px;border:1px solid #e5def2;border-radius:18px;background:#fbf9fe;scrollbar-gutter:stable}.chat-box:empty::before{content:attr(data-empty);color:#7a7190;margin:auto;text-align:center;max-width:430px;font-size:14px;line-height:1.7}.msg{max-width:88%;padding:13px 16px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.msg small{display:block;font-size:10px;letter-spacing:.06em;text-transform:uppercase;opacity:.65;margin-bottom:4px}.msg.me{align-self:flex-end;background:#eee5fb}.msg.luna{align-self:flex-start;background:#fff;border:1px solid #e5def2}.msg.wait{color:#78608c}.msg img{display:block;max-width:100%;max-height:520px;margin-top:10px;border-radius:12px}.msg .missing{margin:8px 0 0;font-size:12px;color:#6b6280}.msg .go{display:inline-block;margin-top:10px;font-size:13px;font-weight:600}.msg .row{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.compose{display:flex;gap:10px;align-items:flex-end;margin-top:14px}.compose textarea{flex:1;min-height:78px;max-height:180px;resize:vertical;margin:0;border:1px solid #d8cae9;border-radius:13px;padding:13px;font:inherit;font-size:14px;line-height:1.6}.compose textarea:focus{outline:3px solid #e8dcf8;border-color:#9464cd}.compose button{min-height:47px}.chat-foot{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:12px;color:#766b82;font-size:11px;line-height:1.6}.chat-foot>span{max-width:620px}.badge-luna{display:inline-block;padding:5px 12px;border-radius:99px;background:#efe8fb;font-weight:600;font-size:12px}.badge-luna[data-ready="true"]{background:#e8f5ed;color:#286746}.luna-toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#746880;margin:0 0 14px}.luna-toolbar a{color:#7040bd}.quick-prompts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.quick-prompts button{font-size:11px;padding:8px 11px;min-height:37px;border:1px solid #dfd2ef;background:#fff;color:#7040bd;border-radius:20px}.quick-prompts button:hover{background:#f2ebfa}.quick-prompts button:disabled{opacity:.5}.document-review{white-space:normal;border-top:1px solid #e7deef;margin-top:15px;padding-top:14px}.document-review h3{font-size:16px;margin:0 0 6px}.document-review h4{font-size:12px;margin:15px 0 5px}.document-review p{white-space:pre-wrap;margin:0;font-size:13px}.document-review label{display:block;font-size:12px;margin:14px 0 8px}.document-review select{width:100%;max-width:440px;display:block;margin-top:8px}.document-review .document-approval{display:flex;align-items:flex-start;gap:8px}.document-review input{width:auto;margin-top:3px}.document-review .save-result{font-size:12px;margin-top:10px}.luna-embed{background:#fff!important}.luna-embed>header,.luna-embed .intro{display:none}.luna-embed .chat-wrap{padding:18px 22px;max-width:none;margin:0}.luna-embed .chat-box{min-height:245px;max-height:310px;border-radius:12px}.luna-embed .chat-foot{margin-bottom:0}.luna-embed #notice{margin:0 0 10px;font-size:12px}.luna-embed #notice:empty{display:none}.luna-embed .luna-toolbar{margin-bottom:12px}.luna-embed .compose textarea{min-height:74px}.luna-embed .msg{font-size:13px}.luna-embed #login{padding:22px}.luna-embed .quick-prompts{gap:6px}.luna-embed #app{margin:0}button:disabled{cursor:not-allowed}#notice.error{color:#9e3238}#left{display:block;margin-top:8px;font-size:11px}@media(max-width:600px){.compose{flex-direction:column;align-items:stretch}.compose textarea{width:100%}.msg{max-width:96%}.luna-embed .chat-wrap{padding:16px}.luna-embed .chat-box{min-height:255px;max-height:330px}.quick-prompts button{font-size:10px}.chat-foot{gap:8px}.luna-toolbar{font-size:10px}}