.context-memory { max-width: 680px; }
.context-memory > p { color: var(--muted, #62666d); line-height: 1.6; }
#context-memory-list { display: grid; gap: 12px; margin: 20px 0; }
.context-memory-row { border: 1px solid var(--border, #dddcd5); border-radius: 12px; padding: 14px; overflow-wrap: anywhere; }
.context-memory-row p { white-space: pre-wrap; line-height: 1.6; margin: 8px 0 12px; }
.context-memory-row small { color: var(--muted, #62666d); }
.context-memory-row button + button { margin-left: 8px; }
.context-memory-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.context-memory label { display: grid; gap: 8px; margin: 12px 0; }
.context-memory textarea, .context-memory select { min-width: 0; width: 100%; font-size: 16px; box-sizing: border-box; }
.context-memory details { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border, #dddcd5); }
#context-history { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
@media(max-width: 400px) { .context-memory-fields { grid-template-columns: 1fr; gap: 0; } }
