.memory-shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr}.memory-sidebar{position:sticky;top:0;height:100vh;padding:22px 18px;border-right:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:8px}.memory-sidebar .brand{display:block;margin-bottom:20px}.memory-nav{display:block;padding:9px 11px;border-radius:var(--radius-md);color:var(--text-secondary);text-decoration:none;font-weight:600}.memory-nav:hover,.memory-nav.active{background:var(--accent-soft);color:var(--accent)}.memory-sidebar-note{margin-top:auto;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);font-size:12px;color:var(--text-secondary);line-height:1.5}.auth-panel{max-width:760px;margin:8vh auto}.memory-header,.section-heading,.memory-actions,.memory-meta,.memory-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.memory-header{align-items:flex-start;margin-bottom:24px}.memory-header>div:first-child,.section-heading>div{flex:1}.memory-actions{justify-content:flex-end}.eyebrow{margin:0 0 4px;color:var(--accent);font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:700}.memory-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.memory-list{display:grid;gap:10px}.memory-card{padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.memory-card h3{margin:5px 0;font-size:16px}.memory-value{margin:10px 0;padding:10px;border-radius:var(--radius-sm);background:var(--surface-sunken);font:12px var(--mono);white-space:pre-wrap;word-break:break-word}.memory-meta{font-size:12px;color:var(--text-muted)}.memory-card-actions{margin-top:12px}.count{font:12px var(--mono);color:var(--text-muted)}.integrity-note{padding:8px 10px;background:var(--status-warning-soft);color:var(--status-warning);border-radius:var(--radius-sm);font-size:12px;margin-top:8px}.confidence{height:5px;background:var(--surface-sunken);border-radius:99px;overflow:hidden;margin-top:8px}.confidence>span{display:block;height:100%;background:var(--accent)}.metric-detail{font-size:11px;color:var(--text-muted);margin-top:4px}.memory-filter{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.memory-filter .field{margin:0}.memory-filter .hint{padding-bottom:8px}.table-scroll{overflow-x:auto}.decision-approved{color:var(--status-good)}.decision-rejected{color:var(--status-serious)}.decision-edited_then_approved{color:var(--status-warning)}@media(max-width:900px){.memory-shell{grid-template-columns:1fr}.memory-sidebar{position:static;height:auto;flex-direction:row;align-items:center;flex-wrap:wrap}.memory-sidebar-note,.memory-sidebar .nav-eyebrow{display:none}.memory-columns{grid-template-columns:1fr}.content{padding:20px 16px 40px}}