.composer #prompt{min-height:132px;font-size:14px;line-height:1.85;box-sizing:border-box}
.prompt-expand-trigger{display:inline-flex;align-items:center;gap:6px;margin-right:auto;padding:5px 8px;border:1px solid #ffffff14;border-radius:7px;background:#ffffff04;color:#aebfc4;font:inherit;font-size:11px;cursor:pointer}
.prompt-expand-trigger:hover{color:#f3dfb9;border-color:#e6c38a55;background:#e6c38a0c}
.prompt-expand-trigger:focus-visible,.prompt-editor-dialog button:focus-visible{outline:2px solid #e6c38a;outline-offset:3px}
.prompt-expand-trigger svg{width:15px;height:15px;flex:none}
.prompt-expand-trigger[hidden]{display:none}
body.prompt-editor-open{overflow:hidden}
.prompt-editor-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(1120px,calc(100vw - 48px));height:min(840px,calc(100vh - 64px));height:min(840px,calc(100dvh - 64px));max-width:none;max-height:none;overflow:hidden;border:1px solid #3a4348;border-radius:18px;background:#171e22;color:#e6ebed;box-shadow:0 30px 120px #0009;box-sizing:border-box}
.prompt-editor-dialog:not([open]){display:none}
.prompt-editor-dialog[open]{display:flex;flex-direction:column}
.prompt-editor-dialog::backdrop{background:#04090dc7;backdrop-filter:blur(5px)}
.prompt-editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px;flex:none}
.prompt-editor-header h2{font-size:18px;font-weight:600;margin:0;letter-spacing:.02em}
.prompt-editor-close{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ffffff13;border-radius:9px;background:#ffffff04;color:#a5b0b7;font:26px/1 sans-serif;cursor:pointer}
.prompt-editor-close:hover{background:#ffffff0b;color:#fff}
.prompt-editor-content{display:flex;flex-direction:column;min-height:0;flex:1;gap:8px;padding:0 24px;overflow:hidden}
.prompt-editor-content .prompt-input-wrap{flex:1;min-height:0}
.prompt-editor-dialog #prompt{display:block;box-sizing:border-box;width:100%;height:100%;min-height:0;max-height:none;padding:20px 22px;border:1px solid #ffffff0d;border-radius:11px;background:#10171b;color:#e3e9ec;resize:none;font-family:inherit;font-size:16px;line-height:1.85;outline:none;overflow-wrap:anywhere;overscroll-behavior:contain}
.prompt-editor-dialog #prompt:focus{border-color:#e6c38a66}
.prompt-editor-dialog #prompt::placeholder{color:#74828b}
.prompt-editor-dialog .prompt-input-meta{padding:0 2px;font-size:11px;min-height:20px;flex:none}
.prompt-editor-dialog .prompt-bound-refs{max-height:64px;overflow:auto;padding-bottom:2px;flex:none}
.prompt-editor-dialog .prompt-mention-warning{max-height:64px;overflow:auto;margin:0;font-size:12px;flex:none}
.prompt-editor-dialog .prompt-mention-menu{bottom:14px;left:14px;width:min(380px,calc(100% - 28px));max-height:min(240px,70%)}
.prompt-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px 20px;flex:none}
.prompt-editor-footer>span{font-size:12px;line-height:1.6;color:#89979f}
.prompt-editor-done{min-height:40px;padding:8px 23px;border:0;border-radius:9px;background:#e6c38a;color:#191b1c;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap;cursor:pointer}
.prompt-editor-done:hover{background:#f2d4a2}
@media(max-width:600px){.composer #prompt{min-height:120px;font-size:14px}.prompt-expand-trigger{font-size:10px}.prompt-editor-dialog{width:calc(100vw - 16px);height:calc(100vh - 24px);height:calc(100dvh - 24px);border-radius:13px}.prompt-editor-header{padding:14px 14px 12px}.prompt-editor-header h2{font-size:16px}.prompt-editor-content{padding:0 12px;gap:7px}.prompt-editor-dialog #prompt{font-size:16px;padding:14px;line-height:1.8}.prompt-editor-footer{padding:12px 14px 14px;gap:12px}.prompt-editor-footer>span{font-size:10px;max-width:55%}.prompt-editor-done{padding:8px 17px;min-height:40px}.prompt-editor-dialog .prompt-mention-menu{left:8px;bottom:8px;width:calc(100% - 16px);max-height:min(210px,70%)}}
