.message-quick-action{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:28px;height:28px;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:#998672;font-size:11px;opacity:.72;cursor:pointer}.message-quick-action svg{width:15px;height:15px;flex:none}.message-quick-action:hover,.message-quick-action:focus-visible{opacity:1;background:#eee5d8;color:#76563c}.message-actions{align-items:center;gap:3px}.message-quick-action span{font-size:11px}.tool-event summary .message-quick-action span,.info-message .message-quick-action span,.drawing-message .message-quick-action span{display:none}.tool-event summary .message-quick-action{flex-shrink:0}.message-action-menu button[data-feature]{color:#645546}.message-action-menu button[data-delete-scope=one]{border-top:1px solid #eee5d9;margin-top:5px;padding-top:12px}.conversation-tools-dialog{width:min(550px,calc(100vw - 28px));max-height:calc(100dvh - 48px);overflow:auto;padding:25px 28px;border-color:#ded5c7;background:#fffdf8;color:#4b4035}.conversation-tools-dialog .dialog-heading{margin-bottom:15px}.conversation-tools-dialog .dialog-heading h2{font-size:20px;margin:0}.conversation-tools-dialog .ct-description{font-size:13px;line-height:1.75;color:#8c7e6c;margin:0 0 20px}.conversation-tools-dialog label{font-size:13px;color:#73634f}.conversation-tools-dialog input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.conversation-tools-dialog textarea,.conversation-tools-dialog select{width:100%;box-sizing:border-box;background:#fffcf6;border:1px solid #dfd5c5;border-radius:9px;color:#514637;padding:11px 12px;font:inherit;font-size:13px}.conversation-tools-dialog textarea{resize:vertical;min-height:95px;line-height:1.7}.conversation-tools-dialog .ct-fork-options{border:0;padding:0;margin:21px 0 14px}.ct-fork-options legend{font-size:12px;color:#968671;margin-bottom:8px}.ct-fork-options label{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #e6ddcf;border-radius:10px;margin:8px 0;cursor:pointer}.ct-fork-options label:has(input:checked){background:#f7f0e5;border-color:#c9ae93}.ct-fork-options input{margin-top:3px;accent-color:#ac795a}.ct-fork-options span{display:grid;gap:4px}.ct-fork-options strong{font-weight:500}.ct-fork-options small{font-size:12px;color:#9a8974;line-height:1.6}.ct-excerpt{background:#f6f0e7;border-left:2px solid #c3a381;border-radius:0 7px 7px 0;color:#88765f;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:auto;margin:14px 0;padding:10px 12px}.ct-error:empty{display:none}.ct-memory-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:15px;padding:16px;border:1px solid #e4d9ca;border-radius:12px;background:#f9f5ed}.ct-memory-toggle span{display:grid;gap:5px}.ct-memory-toggle strong{font-size:14px;font-weight:500}.ct-memory-toggle small{font-size:11px;color:#998872}.ct-memory-toggle input{width:35px;height:22px;accent-color:#ab7858;flex-shrink:0}.ct-memory-state{color:#9a8770;font-size:11px;line-height:1.7;margin:10px 0 23px}.ct-memory-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.ct-memory-heading h3{font-size:13px;font-weight:500;margin:0}.ct-memory-heading span{font-size:11px;color:#9e8b73}.ct-memory-list{max-height:260px;overflow:auto;margin-bottom:22px}.ct-memory-note{border-bottom:1px solid #ebe2d4;padding:10px 0}.ct-memory-note>div{display:flex;align-items:center;gap:6px}.ct-memory-note>div .text-button{padding:5px 6px;font-size:11px}.ct-memory-scope{font-size:10px;background:#f0e7d8;border-radius:5px;padding:4px 7px;color:#987755;margin-right:auto}.ct-memory-note p{margin:7px 0;color:#6d5a46;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.ct-memory-empty{font-size:12px;line-height:1.8;color:#a0927f;border:1px dashed #e1d6c4;border-radius:9px;padding:18px}.ct-memory-form-row{display:flex;gap:12px;align-items:flex-end;margin-top:10px}.ct-memory-form-row label{flex:1;min-width:0;font-size:11px;display:grid;gap:5px}.ct-memory-form-row .primary{white-space:nowrap}.ct-memory-form-row .text-button{white-space:nowrap;font-size:11px}.conversation-tools-dialog .hint{font-size:11px;line-height:1.8}.ct-copy-buffer{position:fixed;left:-9999px;top:0;font-size:16px}#memorySettings svg{width:17px;height:17px}#memorySettings small{margin-left:auto;font-size:10px;opacity:.55}#memoryNoteForm>label{display:block;margin-bottom:8px}@media(max-width:600px){.conversation-tools-dialog{padding:20px;max-height:calc(100dvh - 24px)}.conversation-tools-dialog textarea,.conversation-tools-dialog input[type=text]{font-size:16px}.message-quick-action{min-width:34px;min-height:30px;opacity:1}.ct-memory-form-row{flex-wrap:wrap}.ct-memory-form-row label{flex-basis:60%}}

/* Project actions share the existing warm conversation dialog. */
.ct-project-picker{min-width:0;margin:18px 0}.ct-project-picker label{margin:0 0 8px}.ct-project-picker select{max-width:100%;text-overflow:ellipsis}.ct-project-detail{min-height:20px;margin:8px 2px 0;color:#95816a;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ct-project-picker .text-button{font-size:12px;padding:5px 2px}.conversation-tools-dialog[aria-busy=true] .ct-project-detail::after{content:" · 正在保存…"}.conversation-tools-dialog .dialog-actions{flex-wrap:wrap}.conversation-tools-dialog input:disabled{opacity:.65}.conversation-tools-dialog #retryProjectTargets[hidden]{display:none}
