/* MemoryExplorer.css - Scientific Instrument Aesthetic */ .memory-view-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; height: calc(100vh - 140px); padding: 0 24px 24px; overflow: hidden; } .memory-surface { display: flex; flex-direction: column; min-height: 0; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05); } /* ── List Surface ── */ .list-surface { padding: 20px; } .memory-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; } .memory-search-wrap { background: white; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 0 12px; display: flex; align-items: center; gap: 10px; height: 40px; transition: border-color 0.2s; } .memory-search-wrap:focus-within { border-color: var(--secondary); } .memory-search-wrap input { flex: 1; background: transparent; border: none; outline: none; font-size: 0.8rem; color: #1a1a1a; font-weight: 500; } .memory-search-wrap .material-icons { color: #bbb; font-size: 18px; } /* ── Filter Tabs ── */ .filter-tabs { display: flex; gap: 6px; background: rgba(0,0,0,0.03); padding: 4px; border-radius: 10px; } .filter-tab { flex: 1; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; padding: 6px 0; border-radius: 8px; color: #999; transition: all 0.2s; } .filter-tab.active { background: white; color: #1a1a1a; box-shadow: 0 2px 8px rgba(0,0,0,0.05); } .density-stats { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; color: #999; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; } .memory-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; margin-top: 12px; } /* ── Neighborhood Section ── */ .neighbor-card { background: white; padding: 14px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; } .neighbor-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-color: var(--secondary); } /* ── Neural Insight Overlay ── */ .neural-insight-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 40px; } .neural-insight-modal { background: white; width: 100%; max-width: 400px; border-radius: 32px; padding: 32px; box-shadow: 0 30px 100px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.02); } .insight-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; } .insight-header .material-icons { color: var(--secondary); } .insight-header h3 { font-family: var(--font-display); font-size: 1.1rem; flex: 1; } .insight-close { color: #ccc; } .insight-body { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; } .insight-stat { display: flex; flex-direction: column; gap: 4px; } .insight-stat label { font-size: 0.6rem; text-transform: uppercase; color: #bbb; font-weight: 800; } .insight-stat strong { font-family: 'Space Mono', monospace; font-size: 1.1rem; } .insight-body p { font-size: 0.8rem; line-height: 1.6; color: #666; } .insight-btn { width: 100%; padding: 12px; background: #1a1a1a; color: white; border-radius: 12px; font-size: 0.75rem; font-weight: 700; } .memory-list::-webkit-scrollbar { width: 4px; } .memory-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; } .memory-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; text-align: left; transition: all 0.2s ease; border: 1px solid transparent; background: transparent; cursor: pointer; } .memory-row:hover { background: rgba(255, 255, 255, 0.6); } .memory-row.active { background: white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.05); } .memory-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px rgba(0,0,0,0.1); } .memory-row-copy { flex: 1; min-width: 0; } .memory-row-copy strong { display: block; font-size: 0.8rem; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .memory-row-meta { display: flex; align-items: center; gap: 6px; font-size: 0.6rem; color: #bbb; font-weight: 700; text-transform: uppercase; } /* ── Detail Surface ── */ .detail-surface { padding: 40px; overflow-y: auto; } .memory-header-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .memory-type-pill { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 100px; } .memory-id-badge { font-family: 'Space Mono', monospace; font-size: 0.6rem; color: #999; background: rgba(0,0,0,0.03); padding: 4px 10px; border-radius: 6px; } .purge-btn { display: flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; background: rgba(255, 107, 53, 0.08); color: #ff6b35; font-weight: 700; text-transform: uppercase; font-size: 0.55rem; transition: all 0.2s; border: 1px solid transparent; } .purge-btn:hover { background: #ff6b35; color: white; } .purge-btn:disabled { opacity: 0.5; cursor: not-allowed; } .memory-detail-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; color: #1a1a1a; letter-spacing: -0.02em; } .memory-detail-date { font-size: 0.75rem; color: #bbb; margin-bottom: 32px; font-weight: 600; display: flex; align-items: center; gap: 6px; } .memory-content-box { font-size: 0.8rem; line-height: 1.6; color: #333; margin-bottom: 40px; padding: 24px; background: white; border-radius: 20px; border: 1px solid rgba(0,0,0,0.03); white-space: pre-wrap; box-shadow: 0 4px 20px rgba(0,0,0,0.01); } /* ── Instrument Grid ── */ .instrument-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; } .instrument-card { padding: 20px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(0,0,0,0.02); border-radius: 20px; } .instrument-card h4 { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: #aaa; margin-bottom: 12px; font-weight: 800; } .meter-track { height: 6px; background: rgba(0,0,0,0.05); border-radius: 10px; margin-bottom: 8px; overflow: hidden; } .meter-fill { height: 100%; border-radius: 10px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); } .metric-value { font-family: 'Space Mono', monospace; font-size: 0.9rem; font-weight: 700; color: #1a1a1a; } /* ── Neighborhood ── */ .neighborhood-section { margin-top: 40px; } .section-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: #aaa; margin-bottom: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; } .neighborhood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; } .neighbor-card { background: white; padding: 14px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 4px; } .neighbor-card strong { font-size: 0.75rem; color: #1a1a1a; } .neighbor-card span { font-size: 0.6rem; color: #bbb; font-weight: 700; text-transform: uppercase; } /* ── Raw Metadata ── */ .metadata-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; } .metadata-tag { background: rgba(0,0,0,0.02); padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.02); display: flex; flex-direction: column; gap: 2px; } .metadata-tag span:first-child { font-size: 0.55rem; color: #aaa; text-transform: uppercase; font-weight: 800; } .metadata-tag span:last-child { font-size: 0.7rem; color: #555; font-weight: 600; word-break: break-all; } .empty-detail { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #ccc; text-align: center; gap: 12px; } .empty-detail .material-icons { font-size: 48px; opacity: 0.3; } .pulse { animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } } /* ── Responsive Overrides ── */ @media (max-width: 1024px) { .memory-view-grid { grid-template-columns: 1fr !important; height: auto !important; overflow-y: visible !important; padding: 0 !important; width: 100% !important; } .memory-surface { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; } .list-surface { height: 400px !important; min-height: 400px !important; margin-bottom: 24px !important; } .detail-surface { height: auto !important; overflow-y: visible !important; padding: 16px !important; } .instrument-grid { grid-template-columns: 1fr !important; } .neighborhood-grid, .metadata-grid { grid-template-columns: 1fr !important; } } @media (max-width: 768px) { .memory-header-meta { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; } .memory-id-badge { width: 100% !important; justify-content: space-between !important; } } @media (max-width: 480px) { .memory-detail-title { font-size: 1.2rem !important; } .memory-content-box { padding: 16px !important; } .list-surface { height: 300px !important; min-height: 300px !important; } .instrument-card { padding: 16px !important; } .memory-toolbar { gap: 8px !important; } .filter-tabs { flex-wrap: wrap !important; } .filter-tab { font-size: 0.55rem !important; padding: 4px 0 !important; } }