.memory-shell{max-width:1050px;margin:auto;padding:28px}.memory-shell h1{font-size:30px;color:#214c3c}.memory-shell select,.memory-dialog select{width:100%;min-height:42px;padding:9px;border:1px solid #cedbd1;border-radius:8px;background:white;font:inherit}.memory-shell label,.memory-dialog label{font-size:13px;font-weight:600;margin:14px 0 7px}.memory-fact,.memory-question,.memory-entity{background:white;border:1px solid #dce5df;border-radius:13px;padding:18px;margin:12px 0;overflow-wrap:anywhere}.memory-question{border-color:#d9c98e;background:#fffdf4}.memory-value{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.memory-meta{font-size:12px;color:#76877b;line-height:1.7}.memory-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.memory-actions button{font-size:12px}.memory-lab{background:#eef3f0;border:1px solid #dce5df;border-radius:12px;padding:16px;margin:24px 0}.memory-lab p{font-size:13px;line-height:1.7;color:#526f5e}.memory-lab form{margin-top:18px}.memory-lab textarea{font:12px/1.6 Consolas,monospace;min-height:240px}.memory-lab button[type=submit]{margin-top:14px}.memory-dialog{width:min(680px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #d7e2da;border-radius:16px;padding:26px;color:#263f33}.memory-dialog::backdrop{background:#102b205c}.memory-dialog p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.memory-dialog button[type=submit]{margin-top:18px}.memory-history{border-top:1px solid #e4ebe6;padding-top:14px;margin-top:14px}.memory-dialog [role=alert]{color:#983d32}.memory-question select,.memory-question input{margin:7px 0}.memory-question .memory-actions{margin-top:10px}.memory-source{white-space:pre-wrap;padding:12px;background:#f4f7f5;border-radius:8px;font-size:13px}#memory-more{margin:16px 0}@media(max-width:620px){.memory-shell{padding:20px 16px}.memory-shell h1{font-size:26px}.memory-dialog{padding:20px}.memory-fact,.memory-question{padding:15px}.memory-actions button{min-height:40px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.header-actions button{padding:7px;font-size:11px}.memory-lab textarea{font-size:11px}}
