/* One clear starting point: describe the moment, then make its page. */
@media screen {
body.memory-shell #quick-create-dialog{width:min(720px,94vw);max-height:92vh;padding:30px;border:1px solid #d9e2ce;border-radius:16px;background:#fffef8;color:#344936;overflow:auto}
.quick-create form{margin:0}.quick-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:25px}.quick-heading h2{font:400 30px/1.45 var(--serif);margin:0 0 8px;color:#354d36}.quick-heading p{font:14px/1.8 var(--sans);color:#63735c;margin:0}.quick-close{flex:0 0 44px;width:44px;height:44px;border:1px solid #dce4d3;border-radius:50%;background:#f3f6ec;color:#566d4b;font:26px/1 var(--sans);cursor:pointer}
.quick-create label{display:block;font:500 15px/1.7 var(--sans);color:#485f3e;margin:0 0 18px}.quick-create label>span{display:block;margin-bottom:7px}.quick-create input:not([type=checkbox]),.quick-create select,.quick-create textarea{display:block;width:100%;min-height:48px;padding:12px 14px;background:#fff;border:1px solid #ccd9c1;border-radius:9px;font:16px/1.7 var(--sans);color:#344936;box-sizing:border-box}.quick-create input::placeholder,.quick-create textarea::placeholder{color:#7b8872;opacity:1}.quick-create textarea#quick-source{font-size:18px;line-height:1.9;min-height:230px;max-height:43vh;resize:vertical;margin:0}.quick-create .quick-source-label{font-size:17px;margin-bottom:10px}
.quick-source-foot{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:25px}.quick-prompts{display:flex;gap:7px;flex-wrap:wrap}.quick-prompts button{font:12px/1.65 var(--sans);min-height:36px;padding:6px 10px;border:1px solid #dce5d3;border-radius:20px;color:#637957;background:#f3f7ed;cursor:pointer}.quick-source-foot>span{font:12px/1.8 var(--sans);color:#758469;white-space:nowrap;padding-top:7px}.quick-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quick-fields label{min-width:0}.quick-ai-choice{padding:15px 17px;background:#f1f5e9;border:1px solid #dce6cf;border-radius:10px;margin-bottom:15px}.quick-ai-choice>label{display:flex;align-items:center;gap:11px;margin:0;font-size:15px;cursor:pointer}.quick-ai-choice label>span{display:inline;margin:0}.quick-ai-choice input{width:20px;height:20px;min-width:20px;accent-color:#4c704f;margin:0}.quick-ai-choice p{font:13px/1.8 var(--sans);color:#68795d;margin:7px 0 0;padding-inline-start:31px}.quick-feedback{font:14px/1.85 var(--sans);color:#795334;margin:13px 0;white-space:pre-wrap;overflow-wrap:anywhere}.quick-feedback:empty{display:none}.quick-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:19px}.quick-actions button{min-height:54px;border-radius:10px;font:500 17px/1.6 var(--sans);padding:13px 18px;cursor:pointer;white-space:normal}.quick-actions .quick-primary{background:#46664c;border:1px solid #46664c;color:#fffef9}.quick-actions .quick-original{background:#fffef9;border:1px solid #aabd9b;color:#48673d;font-size:15px}.quick-create .quick-session-note{font:12px/1.8 var(--sans);color:#78856d;margin:14px 0 0}.quick-create button:disabled{cursor:wait;opacity:.55}.quick-create textarea:disabled,.quick-create input:disabled,.quick-create select:disabled{opacity:.72}.quick-create [hidden]{display:none!important}.quick-create button:focus-visible,.quick-create input:focus-visible,.quick-create select:focus-visible,.quick-create textarea:focus-visible{outline:3px solid #78967b;outline-offset:3px}
@media(max-width:600px){body.memory-shell #quick-create-dialog{padding:23px 19px;width:94vw;max-height:92dvh}.quick-heading{gap:12px;margin-bottom:21px}.quick-heading h2{font-size:27px}.quick-heading p{font-size:13px}.quick-create textarea#quick-source{font-size:17px;min-height:210px;max-height:40dvh}.quick-fields{grid-template-columns:1fr;gap:0}.quick-create label{font-size:15px;margin-bottom:17px}.quick-source-foot{margin-bottom:21px;gap:7px}.quick-prompts button{font-size:11px;min-height:36px;padding:6px 9px}.quick-source-foot>span{font-size:11px;padding-top:0}.quick-ai-choice{padding:14px}.quick-ai-choice p{font-size:12px;line-height:1.85}.quick-actions button{font-size:17px;min-height:55px}.quick-create .quick-session-note{font-size:11px}}
html[dir=rtl] .quick-heading h2{font-family:MemoryArabic,serif;font-size:34px}html[dir=rtl] .quick-create textarea#quick-source{font-size:19px}
}

@media screen{#quick-review{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}#quick-review pre,#result-review pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:220px;overflow:auto;padding:12px;background:var(--accent-soft)}.quick-create .quick-review-check{display:flex;align-items:flex-start;gap:10px}.quick-create .quick-review-check input{min-height:20px;width:20px;margin-top:4px;flex:0 0 20px}#ai-consent-dialog textarea{width:100%;font:16px/1.8 var(--sans);padding:12px;resize:vertical}#ai-consent-dialog p{font:14px/1.85 var(--sans)}#ai-consent-dialog h2{font:400 26px/1.5 var(--serif)}}
