.memory-admin h3,.memory-panel h3{margin:0;font-size:15px;font-weight:600;line-height:20px}.memory-panel{scroll-margin-top:96px}.memory-panel>div>h2{margin:0}.memory-panel>div>p{margin:4px 0 0}.memory-block{border-top:1px solid var(--line);gap:12px;min-width:0;padding-top:16px;display:grid}.memory-actions{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.memory-empty{color:var(--muted);margin:0}.memory-saved{color:#166534;margin:0;font-weight:600}.memory-meta{color:var(--muted);margin:0;font-size:14px}.memory-fact-subject{font-weight:600}.memory-confirm-fact{overflow-wrap:anywhere;margin:0 0 16px}.memory-facts{margin:0;padding:0;list-style:none;display:grid}.memory-fact{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 16px;min-width:0;padding:8px 0;display:flex}.memory-fact-text{flex:320px;min-width:0}.memory-fact-text p{overflow-wrap:anywhere;margin:0}.memory-fact-actions{flex-wrap:wrap;gap:8px;display:flex}.memory-switch{cursor:pointer;align-items:center;gap:12px;min-height:44px;font-weight:600;display:flex}.memory-switch input{flex:none;width:20px;height:20px}.memory-download{text-decoration:none}.memory-choices{border:0;flex-wrap:wrap;gap:0 24px;min-width:0;margin:0;padding:0;display:flex}.memory-fields,.memory-filters{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 16px;min-width:0;display:grid}.memory-fields>.field,.memory-filters>.field{min-width:0;margin-bottom:0}.memory-table td{overflow-wrap:anywhere}.memory-table td:nth-child(2){min-width:220px}.memory-dashboard{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px 16px;margin:0;display:grid}.memory-dashboard>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:8px;padding:4px 0;display:flex}.memory-dashboard dt{color:var(--muted)}.memory-dashboard dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}@media screen and (pointer:coarse),screen and (max-width:760px){.memory-switch{min-height:48px}.memory-switch input{width:24px;height:24px}}@media screen and (max-width:640px){.memory-fact{flex-direction:column;align-items:stretch}.memory-fact-text{flex:none}.memory-fact-actions,.memory-actions{flex-direction:column;align-items:stretch}.memory-fact-actions>.btn,.memory-actions>.btn{width:100%}.memory-fields,.memory-filters{grid-template-columns:minmax(0,1fr)}}.memory-notice{color:#0c4a6e;background:#f0f9ff;border:1px solid #bae6fd;border-left:4px solid #0369a1;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0;margin:0 0 12px;padding:12px 16px;display:flex}.memory-notice-icon{flex:none}.memory-notice-text{overflow-wrap:anywhere;flex:240px;min-width:0;margin:0}.memory-notice .btn{min-height:48px}.memory-notice-problem{color:#991b1b;flex:1 0 100%;margin:0;font-weight:600}.memory-chip-wrap{min-width:0;margin-top:4px}.memory-chip{cursor:pointer;font:inherit;text-transform:none;border:0;font-size:14px}.memory-chip:focus-visible{outline-offset:2px;outline:2px solid}.memory-chip-note{max-width:520px;color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:14px}@media screen and (pointer:coarse),screen and (max-width:760px){.memory-chip{min-height:48px}}@media screen and (max-width:640px){.memory-notice .btn{width:100%}}.memory-acknowledgement,.memory-chat-options{border:1px solid var(--line);border-radius:6px;gap:8px;min-width:0;padding:12px 16px;display:grid}.memory-acknowledgement h4{margin:0;font-size:15px;font-weight:600;line-height:20px}.memory-acknowledge span{font-weight:600}.memory-template{border-left:3px solid var(--line);overflow-wrap:anywhere;background:#f8fafc;margin:0;padding:8px 12px;font-size:14px;line-height:1.5}.memory-kinds legend{margin-bottom:4px;padding:0;font-weight:600}.memory-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.memory-spike dd,.memory-spike-note{color:#92400e}.memory-source-link{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.memory-source-link:focus-visible{outline-offset:2px;outline:2px solid}
