.gmem.gm-term{--gm-bg:#0b1020;--gm-surface:#11182c;--gm-line:#233049;--gm-ink:#e2e8f0;--gm-dim:#7c8aa5;--gm-gold:#fbbf24;--gm-green:#34d399;--gm-blue:#60a5fa;--gm-red:#f87171;--gm-mono:ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;border:1px solid var(--gm-line);background:var(--gm-bg);font-family:var(--gm-mono);border-radius:12px;margin:2rem 0;overflow:hidden;box-shadow:0 18px 40px -28px #000000b3}.gmem.gm-term *{box-sizing:border-box}.gm-term .gm-bar{background:var(--gm-surface);border-bottom:1px solid var(--gm-line);align-items:center;gap:.4rem;padding:.6rem .85rem;display:flex}.gm-term .gm-dot{background:#3b475f;border-radius:50%;width:11px;height:11px}.gm-term .gm-dot:first-child{background:#ef5f6b}.gm-term .gm-dot:nth-child(2){background:#f6bd50}.gm-term .gm-dot:nth-child(3){background:#54c168}.gm-term .gm-file{color:var(--gm-dim);margin-left:.6rem;font-size:.72rem}.gm-term .gm-screen{min-height:230px;max-height:420px;color:var(--gm-ink);padding:1rem 1.05rem;font-size:.82rem;line-height:1.65;overflow-y:auto}.gm-term .gm-hint{color:var(--gm-dim);margin:0;font-style:italic}.gm-term .gm-line{white-space:pre-wrap;word-break:break-word;margin:0}.gm-term .gm-msg{color:var(--gm-gold);margin-top:.85rem}.gm-term .gm-msg:first-child{margin-top:0}.gm-term .gm-add{color:var(--gm-green)}.gm-term .gm-add .gm-rel{color:var(--gm-blue)}.gm-term .gm-note{color:var(--gm-dim);padding-left:1.1rem}.gm-term .gm-note.gm-sup{color:var(--gm-red)}.gm-term .gm-note.gm-keep{color:var(--gm-green)}.gm-term .gm-q{color:var(--gm-gold);margin-top:.9rem}.gm-term .gm-row{grid-template-columns:1fr 64px;align-items:center;gap:.6rem;padding:.12rem 0 .12rem 1.1rem;display:grid}.gm-term .gm-fact{color:var(--gm-ink)}.gm-term .gm-row.gm-top .gm-fact{color:var(--gm-green);font-weight:600}.gm-term .gm-bar-wrap{align-items:center;gap:.5rem;display:flex}.gm-term .gm-bar-track{background:#1c2740;border-radius:3px;flex:1;height:6px;overflow:hidden}.gm-term .gm-bar-fill{background:var(--gm-dim);border-radius:3px;height:100%;transition:width .4s}.gm-term .gm-row.gm-top .gm-bar-fill{background:var(--gm-green)}.gm-term .gm-score{color:var(--gm-dim);text-align:right;min-width:34px;font-size:.72rem}.gm-term .gm-controls{border-top:1px solid var(--gm-line);background:var(--gm-surface);flex-wrap:wrap;gap:.5rem;padding:.75rem 1.05rem;display:flex}.gm-term .gm-btn{font-family:var(--gm-mono);border:1px solid var(--gm-line);color:var(--gm-ink);cursor:pointer;background:#18223a;border-radius:7px;padding:.42rem .8rem;font-size:.74rem;transition:border-color .15s,opacity .15s}.gm-term .gm-btn:hover{border-color:var(--gm-gold)}.gm-term .gm-btn:disabled{opacity:.4;cursor:not-allowed}.gm-term .gm-btn-primary{background:var(--gm-gold);color:#1a1206;border-color:var(--gm-gold);font-weight:600}.gm-term .gm-btn-ghost{color:var(--gm-dim);background:0 0}.gm-term .gm-queries{background:var(--gm-surface);padding:.4rem 1.05rem 1rem}.gm-term .gm-qlabel{color:var(--gm-dim);text-transform:uppercase;letter-spacing:.12em;margin:0 0 .5rem;font-size:.7rem}.gm-term .gm-chips{flex-wrap:wrap;gap:.45rem;display:flex}.gm-term .gm-chip{font-family:var(--gm-mono);border:1px solid var(--gm-line);color:var(--gm-ink);cursor:pointer;background:#18223a;border-radius:999px;padding:.38rem .7rem;font-size:.74rem;transition:border-color .15s,color .15s}.gm-term .gm-chip:hover{border-color:var(--gm-gold);color:var(--gm-gold)}.gm-term .gm-screen::-webkit-scrollbar{width:8px}.gm-term .gm-screen::-webkit-scrollbar-thumb{background:#233049;border-radius:4px}.gmem.gm-graph{--bg:#fff;--surface:#f8fafc;--ink:#0f172a;--ink-3:#64748b;--line:#e2e8f0;--line-2:#cbd5e1;--accent:#b45309;--accent-soft:#fef3c7;--muted:#94a3b8;--muted-bg:#f1f5f9;--muted-line:#cbd5e1;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin:2rem 0;padding:1.5rem;font-family:Inter,system-ui,sans-serif}.dark .gmem.gm-graph{--bg:#0f172a;--surface:#1e293b;--ink:#f1f5f9;--ink-3:#94a3b8;--line:#334155;--line-2:#475569;--accent:#fbbf24;--accent-soft:#78350f;--muted:#64748b;--muted-bg:#1e293b;--muted-line:#334155}.gm-graph .gm-cap{text-transform:uppercase;letter-spacing:.15em;color:var(--ink-3);margin:0 0 .75rem;font-size:.7rem}.gm-graph .gg-svg{width:100%;height:auto;display:block}.gm-graph .gg-edge line{stroke:var(--line-2);stroke-width:1.6px}.gm-graph .gg-edge-retired line{stroke:var(--muted-line);stroke-width:1.5px;stroke-dasharray:5 4}.gm-graph .gg-node rect{fill:var(--bg);stroke:var(--line-2);stroke-width:1.5px}.gm-graph .gg-node text{fill:var(--ink);text-anchor:middle;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:600}.gm-graph .gg-hub rect{fill:var(--accent-soft);stroke:var(--accent);stroke-width:2px}.gm-graph .gg-node-retired rect{fill:var(--muted-bg);stroke:var(--muted-line);stroke-dasharray:5 4}.gm-graph .gg-node-retired text{fill:var(--muted);font-weight:500}.gm-graph .gg-elabel text{fill:var(--ink-3);letter-spacing:.04em;text-anchor:middle;paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round;font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:600}.gm-graph .gg-elabel-retired text{fill:var(--muted)}.gm-graph .gg-legend{color:var(--ink-3);flex-wrap:wrap;gap:1.5rem;margin-top:1rem;font-size:.74rem;display:flex}.gm-graph .gg-legend span{align-items:center;gap:.45rem;display:inline-flex}.gm-graph .gg-leg-solid{stroke:var(--line-2);stroke-width:1.6px}.gm-graph .gg-leg-dash{stroke:var(--muted-line);stroke-width:1.6px;stroke-dasharray:5 4}@media (width<=560px){.gm-graph .gg-node text{font-size:12px}.gm-graph .gg-elabel text{font-size:9px}}
