.memory-graph{border:1px solid hsl(var(--border));background:hsl(var(--surface));min-width:0;box-shadow:0 20px 54px -38px hsl(var(--shadow-color) / .4);color:hsl(var(--foreground));border-radius:24px;flex-direction:column;display:flex;overflow:hidden}.memory-graph-head{order:0}.memory-graph-live,.memory-graph-error{order:1}.memory-graph-stats{order:2}.memory-graph-coverage{order:3}.memory-graph-actions{order:4}.memory-graph-toolbar{order:5}.memory-graph-body{order:6}.memory-graph-featured{order:7}.memory-graph-privacy{order:8;margin-top:19px!important}.memory-graph-empty{order:2}.memory-graph-head{background:radial-gradient(ellipse at 0 0, hsl(var(--accent) / .13), transparent 56%), hsl(var(--surface));align-items:center;gap:14px;padding:24px 26px 19px;display:flex}.memory-graph-mark{border:1px solid hsl(var(--accent) / .24);background:hsl(var(--accent) / .13);width:48px;height:48px;color:hsl(var(--accent));box-shadow:0 8px 30px -14px hsl(var(--accent) / .65);border-radius:16px;flex:none;place-items:center;display:grid}.memory-graph-heading{flex:1;min-width:0}.memory-graph-eyebrow{color:hsl(var(--accent));letter-spacing:.16em;font-size:9px;font-weight:800;display:block}.memory-graph-heading h3{letter-spacing:-.04em;margin-top:3px;font-size:clamp(20px,2vw,26px);font-weight:750;line-height:1.25}.memory-graph-heading p{color:hsl(var(--muted));margin-top:4px;font-size:12px;line-height:1.5}.memory-graph-refresh{border:1px solid hsl(var(--border));background:hsl(var(--surface-raised));border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 13px;font-size:12px;font-weight:650;display:inline-flex}.memory-graph-refresh:hover{border-color:hsl(var(--accent) / .5);color:hsl(var(--accent))}.memory-graph-refresh:disabled{opacity:.55}.memory-graph-privacy{border:1px solid hsl(var(--accent) / .16);background:hsl(var(--accent) / .045);color:hsl(var(--muted));border-radius:12px;align-items:flex-start;gap:9px;margin:0 26px 16px;padding:11px 13px;font-size:11px;line-height:1.6;display:flex}.memory-graph-privacy svg{color:hsl(var(--accent));flex:none;margin-top:1px}.memory-graph-error{border:1px solid hsl(var(--danger) / .3);background:hsl(var(--danger) / .08);color:hsl(var(--danger));border-radius:10px;margin:0 26px 14px;padding:10px 12px;font-size:12px}.memory-graph-live{color:hsl(var(--accent));align-items:center;gap:8px;margin:0 26px 17px;font-size:11px;font-weight:700;display:flex}.memory-graph-live-dot{background:#4ade80;border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 0 4px #4ade8021,0 0 18px #4ade8073}.memory-graph-live time{color:hsl(var(--muted));margin-inline-start:auto;font-size:10px;font-weight:500}.memory-graph-empty{text-align:center;background:radial-gradient(circle at 50% 34%, hsl(var(--accent) / .08), transparent 35%);flex-direction:column;justify-content:center;align-items:center;min-height:340px;padding:30px 20px 55px;display:flex}.memory-graph-empty-icon{border:1px solid hsl(var(--accent) / .21);width:94px;height:94px;color:hsl(var(--accent));background:hsl(var(--accent) / .08);box-shadow:0 0 65px hsl(var(--accent) / .12);border-radius:30px;place-items:center;margin-bottom:22px;display:grid}.memory-graph-empty h4{letter-spacing:-.035em;font-size:22px;font-weight:700}.memory-graph-empty p{max-width:440px;color:hsl(var(--muted));margin-top:8px;font-size:13px;line-height:1.7}.memory-graph-empty button{min-height:44px;color:hsl(var(--accent-foreground));background:hsl(var(--accent));box-shadow:0 10px 26px -15px hsl(var(--accent));border-radius:13px;align-items:center;gap:9px;margin-top:24px;padding:0 18px;font-size:13px;font-weight:700;display:inline-flex}.memory-graph-empty button:disabled{opacity:.6}.memory-graph-stats{flex-wrap:wrap;gap:22px;padding:0 26px;display:flex}.memory-graph-stats span{color:hsl(var(--muted));align-items:baseline;gap:7px;font-size:11px;display:inline-flex}.memory-graph-stats strong{color:hsl(var(--foreground));letter-spacing:-.045em;font-size:21px;font-weight:730}.memory-graph-coverage{color:hsl(var(--muted));margin:8px 26px 18px;font-size:11px;line-height:1.55}.memory-graph-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 26px 24px;display:grid}.memory-graph-actions button{border:1px solid hsl(var(--border));background:hsl(var(--surface-raised) / .66);text-align:start;border-radius:13px;align-items:center;gap:10px;min-width:0;min-height:51px;padding:0 13px;font-size:11px;font-weight:700;transition:border-color .15s,background .15s,transform .15s;display:flex}.memory-graph-actions button:hover{border-color:hsl(var(--accent) / .5);background:hsl(var(--accent) / .08);transform:translateY(-2px)}.memory-graph-actions button>svg:first-child{color:hsl(var(--accent));flex:none}.memory-graph-actions button>span{flex:1;min-width:0}.memory-graph-actions button>svg:last-child{color:hsl(var(--muted));flex:none}.memory-graph-featured{margin:22px 26px 4px}.memory-graph-section-title{color:hsl(var(--foreground));justify-content:space-between;gap:8px;margin-bottom:8px;font-size:11px;font-weight:800;display:flex}.memory-graph-section-title span:last-child{color:hsl(var(--muted));font-size:10px;font-weight:500}.memory-graph-featured>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.memory-graph-featured button{border:1px solid hsl(var(--border));background:hsl(var(--surface-inset) / .38);text-align:start;border-radius:10px;align-items:center;gap:9px;min-width:0;min-height:40px;padding:0 11px;font-size:11px;display:flex}.memory-graph-featured button:hover{border-color:hsl(var(--accent) / .4);color:hsl(var(--accent))}.memory-graph-featured button span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.memory-graph-featured button i{border-radius:50%;flex:none;width:8px;height:8px}.memory-graph-featured button svg{color:hsl(var(--muted));flex:none}.memory-graph-toolbar{gap:11px;padding:0 26px 16px;display:grid}.memory-graph-search{border:1px solid hsl(var(--border));background:hsl(var(--surface-inset) / .55);min-height:42px;color:hsl(var(--muted));border-radius:12px;align-items:center;gap:10px;padding:0 12px;display:flex}.memory-graph-search:focus-within{border-color:hsl(var(--accent) / .6);box-shadow:0 0 0 3px hsl(var(--accent) / .08)}.memory-graph-search input{min-width:0;color:hsl(var(--foreground));background:0 0;border:0;outline:0;flex:1;font-size:13px}.memory-graph-search button{padding:5px}.memory-graph-filters{scrollbar-width:thin;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.memory-graph-filters button{border:1px solid hsl(var(--border));min-height:31px;color:hsl(var(--muted));border-radius:999px;flex:none;padding:0 11px;font-size:11px;font-weight:600}.memory-graph-filters button[aria-pressed=true]{border-color:hsl(var(--accent) / .4);background:hsl(var(--accent) / .12);color:hsl(var(--accent))}.memory-graph-body{border-top:1px solid hsl(var(--border));grid-template-columns:minmax(0,1fr) 300px;min-height:525px;display:grid}.memory-graph-canvas{overscroll-behavior:contain;background:radial-gradient(circle at 50% 42%, hsl(var(--accent) / .075), transparent 58%), radial-gradient(hsl(var(--muted) / .11) .8px, transparent .8px);background-size:auto,22px 22px;min-width:0;position:relative;overflow:hidden}.memory-graph-canvas-top{z-index:1;pointer-events:none;color:hsl(var(--muted));justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex;position:absolute;inset:12px 12px auto}.memory-graph-canvas-top>span{border:1px solid hsl(var(--border));background:hsl(var(--surface) / .88);border-radius:8px;padding:6px 8px}.memory-graph-canvas-top>div{pointer-events:auto;gap:4px;display:flex}.memory-graph-canvas-top button{border:1px solid hsl(var(--border));background:hsl(var(--surface) / .9);width:30px;height:30px;color:hsl(var(--muted));border-radius:8px;place-items:center;display:grid}.memory-graph-canvas-top button:hover{color:hsl(var(--accent))}.memory-graph-canvas>svg{touch-action:none;cursor:grab;width:100%;height:540px;display:block}.memory-graph-body-fullscreen{z-index:2147483647;background:hsl(var(--surface));grid-template-columns:minmax(0,1fr) 320px;width:100vw;height:100dvh;min-height:0;inset:0;position:fixed!important}.memory-graph-body:fullscreen{z-index:2147483647;background:hsl(var(--surface));grid-template-columns:minmax(0,1fr) 320px;width:100vw;height:100dvh;min-height:0;inset:0;position:fixed!important}.memory-graph-body-fullscreen .memory-graph-canvas{min-height:0;padding-top:var(--livara-safe-top);flex-direction:column;display:flex}.memory-graph-body:fullscreen .memory-graph-canvas{min-height:0;padding-top:var(--livara-safe-top);flex-direction:column;display:flex}.memory-graph-body-fullscreen .memory-graph-canvas>svg{flex:1;min-height:0;height:auto!important}.memory-graph-body:fullscreen .memory-graph-canvas>svg{flex:1;min-height:0;height:auto!important}.memory-graph-body-fullscreen .memory-graph-legend{padding-bottom:max(12px,var(--livara-safe-bottom));flex-shrink:0}.memory-graph-body:fullscreen .memory-graph-legend{padding-bottom:max(12px,var(--livara-safe-bottom));flex-shrink:0}.memory-graph-body-fullscreen .memory-graph-inspector{height:100%;max-height:none}.memory-graph-body:fullscreen .memory-graph-inspector{height:100%;max-height:none}.memory-graph-canvas>svg:active{cursor:grabbing}.memory-graph-node{cursor:pointer;color:hsl(var(--foreground));outline:none;transition:opacity .18s}.memory-graph-node:hover .memory-graph-node-dot,.memory-graph-node:focus-visible .memory-graph-node-dot{stroke:#fff;stroke-width:3px;filter:drop-shadow(0 0 8px hsl(var(--accent) / .75))}.memory-graph-node text{pointer-events:none}.memory-graph-node-halo{transition:r .18s,fill-opacity .18s}.memory-graph-node:hover .memory-graph-node-halo,.memory-graph-node:focus-visible .memory-graph-node-halo{r:28;fill-opacity:.3}.memory-graph-label{opacity:0;pointer-events:none;transition:opacity .18s}.memory-graph-label-visible,.memory-graph-node:hover .memory-graph-label,.memory-graph-node:focus-visible .memory-graph-label{opacity:1}.memory-graph-label-text{fill:hsl(var(--foreground));font-size:12px;font-weight:700}.memory-graph-hub-count{fill:hsl(var(--foreground));font-size:14px;font-weight:800}.memory-graph-hub-label{fill:hsl(var(--muted));letter-spacing:.14em;font-size:11px;font-weight:800}.memory-graph-core-title{fill:hsl(var(--foreground));letter-spacing:.08em;font-size:16px;font-weight:850}.memory-graph-core-subtitle{fill:hsl(var(--accent));letter-spacing:.18em;font-size:10px;font-weight:800}.memory-graph-canvas-hint{color:hsl(var(--muted));text-align:center;padding:0 16px 12px;font-size:10px;line-height:1.5}.memory-graph-legend{min-height:32px;color:hsl(var(--muted));flex-wrap:wrap;justify-content:center;align-items:center;gap:7px 13px;padding:4px 10px 12px;font-size:10px;display:flex}.memory-graph-legend span{align-items:center;gap:5px;display:inline-flex}.memory-graph-legend i,.memory-graph-related i{border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.memory-graph-no-results{height:540px;color:hsl(var(--muted));place-items:center;font-size:13px;display:grid}.memory-graph-inspector{overscroll-behavior-x:none;touch-action:pan-y;overflow-wrap:anywhere;border-inline-start:1px solid hsl(var(--border));background:hsl(var(--surface-raised) / .42);min-width:0;max-width:100%;max-height:532px;padding:22px 18px;overflow:hidden auto}.memory-graph-inspector-kind{align-items:center;gap:7px;font-size:11px;font-weight:800;display:flex}.memory-graph-inspector h4{overflow-wrap:anywhere;margin-top:10px;font-size:17px;font-weight:710;line-height:1.35}.memory-graph-inspector-meta{color:hsl(var(--muted));align-items:center;gap:5px;margin-top:10px;font-size:10px;display:flex}.memory-graph-ask{gap:6px;margin:19px 0 22px;display:grid}.memory-graph-ask button{border:1px solid hsl(var(--accent) / .28);min-width:0;min-height:37px;color:hsl(var(--accent));background:hsl(var(--accent) / .07);text-align:start;overflow-wrap:anywhere;border-radius:9px;justify-content:space-between;align-items:center;gap:9px;padding:0 10px;font-size:11px;font-weight:700;display:flex}.memory-graph-ask button:hover{background:hsl(var(--accent) / .14)}.memory-graph-inspector h5{color:hsl(var(--muted));letter-spacing:.08em;text-transform:uppercase;margin:15px 0 9px;font-size:10px;font-weight:800}.memory-graph-evidence{gap:7px;display:grid}.memory-graph-source{border:1px solid hsl(var(--border));background:hsl(var(--surface));border-radius:10px;min-width:0;padding:10px}.memory-graph-source>div{color:hsl(var(--muted));justify-content:space-between;align-items:center;gap:6px;font-size:10px;display:flex}.memory-graph-source>div span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:hsl(var(--foreground));font-weight:700;overflow:hidden}.memory-graph-source time{flex:none}.memory-graph-source p{overflow-wrap:anywhere;color:hsl(var(--foreground));-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:7px 0;font-size:11px;line-height:1.6;display:-webkit-box;overflow:hidden}.memory-graph-source button{color:hsl(var(--accent));align-items:center;gap:4px;font-size:10px;font-weight:700;display:inline-flex}.memory-graph-muted{color:hsl(var(--muted));font-size:11px;line-height:1.55}.memory-graph-related{gap:3px;display:grid}.memory-graph-related button{text-align:start;align-items:center;gap:7px;min-height:30px;font-size:11px;display:flex}.memory-graph-related button span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.memory-graph-related button:hover{color:hsl(var(--accent))}.memory-graph-inspector-empty{text-align:center;min-height:420px;color:hsl(var(--muted));flex-direction:column;justify-content:center;align-items:center;display:flex}.memory-graph-inspector-empty svg{color:hsl(var(--accent))}.memory-graph-inspector-empty h4{color:hsl(var(--foreground));font-size:16px}.memory-graph-inspector-empty p{max-width:220px;margin-top:8px;font-size:11px;line-height:1.6}@media (width<=850px){.memory-graph-body{grid-template-columns:minmax(0,1fr)}.memory-graph-inspector{border-inline-start:0;border-top:1px solid hsl(var(--border));max-height:none}.memory-graph-inspector-empty{min-height:150px}.memory-graph-canvas>svg,.memory-graph-no-results{height:430px}}@media (width<=670px){.memory-graph-actions{scroll-snap-type:x proximity;gap:7px;padding-bottom:4px;display:flex;overflow-x:auto}.memory-graph-actions button{scroll-snap-align:start;flex:0 0 174px;min-height:45px}.memory-graph-featured>div:last-child{grid-template-columns:1fr}}@media (width<=540px){.memory-graph-head{gap:10px;padding:18px 16px 14px}.memory-graph-mark{border-radius:13px;width:40px;height:40px}.memory-graph-mark svg{width:21px}.memory-graph-heading h3{font-size:19px}.memory-graph-heading p{font-size:10px}.memory-graph-refresh{width:35px;height:35px;min-height:35px;padding:0}.memory-graph-refresh span{display:none}.memory-graph-privacy{margin:0 16px 15px}.memory-graph-stats{gap:14px;padding:0 16px}.memory-graph-stats span{font-size:10px}.memory-graph-stats strong{font-size:18px}.memory-graph-coverage{margin:8px 16px 14px}.memory-graph-toolbar{padding:0 16px 14px}.memory-graph-canvas>svg,.memory-graph-no-results{height:390px}.memory-graph-canvas-top>span{max-width:145px;line-height:1.3}.memory-graph-canvas-hint{font-size:9px}.memory-graph-live{margin:0 16px 14px}.memory-graph-actions,.memory-graph-featured{margin:0 16px 19px}}@media (width<=850px){.memory-graph-body-fullscreen{grid-template-rows:minmax(0,1fr) minmax(150px,32dvh);grid-template-columns:minmax(0,1fr)}.memory-graph-body:fullscreen{grid-template-rows:minmax(0,1fr) minmax(150px,32dvh);grid-template-columns:minmax(0,1fr)}.memory-graph-body-fullscreen .memory-graph-inspector{min-height:0;max-height:32dvh}.memory-graph-body:fullscreen .memory-graph-inspector{min-height:0;max-height:32dvh}.memory-graph-body-fullscreen .memory-graph-canvas>svg{height:auto!important}.memory-graph-body:fullscreen .memory-graph-canvas>svg{height:auto!important}}.memory-overview{border:1px solid hsl(var(--accent)/.23);background:radial-gradient(ellipse at top right,hsl(var(--accent)/.13),transparent 65%),hsl(var(--surface)/.6);border-radius:26px;margin:20px 0;padding:22px;box-shadow:inset 0 1px #ffffff20,0 12px 40px #00000008}.memory-overview-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.memory-overview-heading span{letter-spacing:.14em;color:hsl(var(--accent));font-size:10px;font-weight:700}.memory-overview-heading h4{letter-spacing:-.04em;margin:7px 0;font-size:23px}.memory-overview-heading p{color:hsl(var(--muted));max-width:480px;font-size:13px;line-height:1.6}.memory-overview-heading>button{background:hsl(var(--accent));color:hsl(var(--accent-foreground));border-radius:14px;flex-shrink:0;padding:12px 16px;font-size:12px;font-weight:600}.memory-overview-tabs{flex-wrap:wrap;gap:6px;margin:18px 0;display:flex}.memory-overview-tabs button{color:hsl(var(--muted));border:1px solid #0000;border-radius:12px;padding:9px 12px;font-size:12px}.memory-overview-tabs button[aria-selected=true]{background:hsl(var(--surface-raised));border-color:hsl(var(--border));color:hsl(var(--foreground))}.memory-overview-tabs span{opacity:.65;margin-inline-start:8px}.memory-overview-cards{overscroll-behavior:contain;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;max-height:360px;display:grid;overflow:auto}.memory-overview-cards>button{text-align:start;border:1px solid hsl(var(--border)/.8);background:hsl(var(--surface)/.8);color:hsl(var(--foreground));border-radius:17px;min-width:0;padding:16px;transition:border-color .15s,background .15s}.memory-overview-cards>button:hover{border-color:hsl(var(--accent)/.6);background:hsl(var(--accent)/.06)}.memory-overview-cards strong{overflow-wrap:anywhere;font-size:14px;line-height:1.5;display:block}.memory-overview-cards p{color:hsl(var(--muted));-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:8px 0 12px;font-size:12px;line-height:1.65;display:-webkit-box;overflow:hidden}.memory-overview-cards small,.memory-overview-cards time{color:hsl(var(--accent));font-size:11px}.memory-overview-dot{background:#fbbf24;border-radius:50%;width:7px;height:7px;margin-bottom:10px;display:block}.memory-overview-dot.task{background:#fb7185}.memory-overview-empty{color:hsl(var(--muted));padding:15px;font-size:13px}.memory-graph-body{border-radius:24px;box-shadow:0 12px 40px #00000008}.memory-graph-node:focus-visible{filter:drop-shadow(0 0 6px hsl(var(--accent)));outline:none}@media (width<=600px){.memory-overview{padding:16px}.memory-overview-heading{flex-direction:column;align-items:stretch;gap:10px}.memory-overview-heading h4{font-size:21px}.memory-overview-tabs{gap:2px}.memory-overview-tabs button{padding:9px;font-size:11px}}.memory-graph .memory-graph-canvas{background-image:radial-gradient(hsl(var(--accent) / .16) 1px,transparent 1px);background-size:20px 20px}.memory-graph .memory-graph-inspector{background:linear-gradient(160deg,hsl(var(--accent) / .06),transparent 55%);padding:clamp(14px,2vw,24px)}