.memory-workspace{width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 32px)}.memory-workspace .scene-dialog-body{overflow:auto;min-height:0}.memory-tools{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px;flex-wrap:wrap}.memory-tools>label{display:flex;align-items:center;gap:8px;flex:none;white-space:nowrap}.memory-tools .lexi-select{width:148px;min-width:148px}.memory-tools>.icon-btn{width:30px;height:30px;min-width:30px}.memory-workspace>.scene-dialog-status{color:var(--muted)}.memory-workspace>.scene-dialog-status.bad{color:var(--bad)}.memory-tools>span{margin-left:auto;font-size:13px;color:var(--muted)}.memory-selection{display:grid}.memory-choice{display:flex;align-items:start;gap:12px;border-bottom:1px solid var(--line);padding:14px 0;min-width:0}.memory-choice input{width:18px;height:18px;flex:none;accent-color:var(--accent)}.memory-choice>span{display:grid;gap:6px;min-width:0}.memory-choice small{color:var(--muted);overflow-wrap:anywhere}.memory-review-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0}.memory-review-actions>span{margin-right:auto}.memory-workspace [data-memory-media] img{display:block;width:100%;max-height:280px;object-fit:contain}.memory-context{padding:14px 0}.memory-context blockquote{margin:0 0 12px;font-size:18px;line-height:1.7}.memory-context>strong{color:var(--accent)}.memory-ratings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 0}.memory-ratings button{display:flex;flex-direction:column;gap:5px;min-width:0;border-radius:6px;white-space:normal}.memory-ratings [data-memory-rating="1"]{color:var(--danger,#bd544c)}.memory-ratings [data-memory-rating="4"]{color:var(--success,#438262)}.memory-ratings span{font-size:13px}.memory-workspace footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;flex-wrap:wrap}.memory-workspace canvas{width:100%;height:auto;display:block}.memory-workspace p,.memory-workspace li{overflow-wrap:anywhere}.memory-workspace details{border-top:1px solid var(--line);padding-top:12px}.memory-workspace summary{cursor:pointer}.memory-empty{padding:24px 0}.memory-workspace [aria-busy=true]{cursor:progress}@media(max-width:600px){.memory-tools{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,30px)}.memory-tools>label{grid-column:1;min-width:0}.memory-tools .lexi-select{width:100%;min-width:0}.memory-tools>span{grid-row:2;grid-column:1/-1;margin-left:0}.memory-ratings{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-tools{gap:6px}.memory-tools>span{font-size:12px}.memory-context blockquote{font-size:16px}.memory-workspace{max-height:calc(100dvh - 16px)}.memory-workspace footer{padding-bottom:env(safe-area-inset-bottom)}}
