#atlas-assistant-shell .aa-memory-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 8px}
#atlas-assistant-shell .aa-memory-title{font-size:12px;font-weight:600;line-height:1.55;letter-spacing:0;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0}
#atlas-assistant-shell .aa-memory-note{font-size:11px;color:var(--aa-muted);line-height:1.7;padding:0;margin:5px 0 9px;white-space:pre-wrap;overflow-wrap:anywhere}
#atlas-assistant-shell .aa-memory-filters{display:flex;gap:4px;margin:9px 0 11px;flex-wrap:wrap}
#atlas-assistant-shell button.aa-memory-filter{border:1px solid var(--aa-line);background:transparent;color:var(--aa-muted);padding:3px 9px;border-radius:99px;font:inherit;font-size:10px;line-height:1.6;cursor:pointer}
#atlas-assistant-shell button.aa-memory-filter[aria-pressed=true]{background:var(--aa-solid);border-color:var(--aa-solid);color:var(--aa-on-solid)}
#atlas-assistant-shell .aa-memory-item{border:0;border-top:1px solid var(--aa-line);background:transparent;padding:11px 0;margin:0;box-shadow:none;border-radius:0}
#atlas-assistant-shell .aa-memory-meta{font-size:10px;line-height:1.5;color:var(--aa-muted);margin:0 0 3px;overflow-wrap:anywhere}
#atlas-assistant-shell .aa-memory-content{font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}
#atlas-assistant-shell .aa-memory-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:5px}
#atlas-assistant-shell button.aa-memory-button{appearance:none;border:0;background:transparent;box-shadow:none;border-radius:7px;padding:4px 7px;min-width:0;min-height:27px;color:var(--aa-muted);font:inherit;font-size:11px;line-height:1.5;text-align:left;cursor:pointer}
#atlas-assistant-shell button.aa-memory-button:hover{background:var(--aa-subtle);color:var(--aa-fg)}
#atlas-assistant-shell button.aa-memory-button.is-primary{background:var(--aa-solid);color:var(--aa-on-solid);padding:6px 11px}
#atlas-assistant-shell button.aa-memory-button:disabled{opacity:.45;cursor:default}
#atlas-assistant-shell .aa-memory-form{display:flex;flex-direction:column;gap:8px;background:transparent;border:0;padding:0;margin:0;box-shadow:none}
#atlas-assistant-shell .aa-memory-form .aa-memory-input{box-sizing:border-box;display:block;appearance:auto;width:100%;min-width:0;max-width:100%;background:var(--aa-subtle);color:var(--aa-fg);border:1px solid var(--aa-line);border-radius:9px;box-shadow:none;outline:none;padding:8px 9px;margin:0;font:inherit;font-size:12px;line-height:1.6}
#atlas-assistant-shell .aa-memory-form .aa-memory-input:focus{border-color:var(--aa-muted);outline:1px solid var(--aa-muted);outline-offset:0}
#atlas-assistant-shell .aa-memory-form textarea.aa-memory-input{resize:vertical;min-height:100px;max-height:220px}
#atlas-assistant-shell .aa-memory-scope-details{border:0;background:transparent;padding:0;margin:0;font-size:11px;color:var(--aa-muted)}
#atlas-assistant-shell .aa-memory-scope-details summary{cursor:pointer;margin:0 0 7px}
#atlas-assistant-shell .aa-memory-scope-details .aa-memory-input{margin-top:6px}
#atlas-assistant-shell .aa-memory-boundary{border-top:1px solid var(--aa-line);padding-top:9px;margin-top:9px}
#atlas-assistant-shell .aa-memory-replay{font-size:10px;color:var(--aa-muted);padding:0;border:0;background:transparent;margin:3px 0}
#atlas-assistant-shell .aa-memory-replay summary{cursor:pointer;font-size:10px;margin:0;padding:3px 2px}
#atlas-assistant-shell .aa-memory-replay-body{max-height:180px;overflow:auto;overscroll-behavior:contain;padding:5px 2px}
#atlas-assistant-shell .aa-memory-replay-item{border-top:1px solid var(--aa-line);padding:7px 0}
@media(max-width:520px){#atlas-assistant-shell .aa-memory-form .aa-memory-input{font-size:16px}}
