.agent-memory-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;border:1px solid #444;border-radius:16px;background:#202020;color:#ededed;padding:20px;font:14px/1.65 system-ui,sans-serif;overflow:auto;color-scheme:dark}
.agent-memory-images{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.agent-memory-images figure{margin:0;width:100px}.agent-memory-images img{width:100px;height:76px;object-fit:contain;border-radius:6px;background:#141414}.agent-memory-images figcaption{font-size:12px;color:#bdbdbd;overflow-wrap:anywhere}
.agent-memory-dialog::backdrop{background:#0008}.agent-memory-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.agent-memory-head h2{margin:0;font-size:18px}.agent-memory-dialog p,.agent-memory-dialog small{color:#bdbdbd}.agent-memory-dialog button{font:inherit;color:inherit;background:#303030;border:1px solid #555;border-radius:8px;padding:6px 12px;cursor:pointer}.agent-memory-dialog button:disabled{opacity:.5;cursor:default}.agent-memory-dialog button:focus-visible,.agent-memory-dialog summary:focus-visible,.agent-memory-dialog input:focus-visible,.agent-memory-dialog textarea:focus-visible{outline:2px solid #c7b2ff;outline-offset:3px}.agent-memory-dialog label{display:flex;gap:9px;align-items:flex-start}.agent-memory-dialog input{flex:none;margin-top:6px}.agent-memory-requirement{padding:12px 0;border-bottom:1px solid #3c3c3c;overflow-wrap:anywhere}.agent-memory-requirement small{display:block;margin:6px 0}.agent-memory-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#151515;padding:12px;border-radius:8px}.agent-memory-dialog details{margin:12px 0}.agent-memory-dialog summary{cursor:pointer}.agent-memory-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;background:#151515;color:inherit;border:1px solid #555;border-radius:8px;font:inherit;padding:10px;margin:12px 0}.agent-memory-status{margin-bottom:0;min-height:1.65em}.agent-memory-continuation{border-top:1px solid #444;padding-top:12px}
