.kg-card{grid-area:chart;background:#fff;color:#203126;border:1px solid #e6ebe2;border-radius:17px;padding:clamp(15px,2.1vw,25px);display:flex;flex-direction:column;min-width:0;isolation:isolate}
.kg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.kg-kicker{color:#58715b;font-size:.67rem;letter-spacing:.11em;font-weight:680;margin:0 0 5px}
.dashboard-edition .kg-card h2,.kg-dialog .kg-card h2{color:#19291e;font-size:clamp(2rem,4vw,3.2rem);line-height:1;margin:0}
.kg-head p:last-child{margin:8px 0 0;color:#586b5b;font-size:.84rem;line-height:1.35}
.kg-open,.kg-camera button,.kg-filters button,.kg-toolbar select{color:#2c4735;border:1px solid #dfe7dc;background:#fff;border-radius:8px;padding:6px 9px;min-height:32px;font-size:.75rem}
.kg-open{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;background:#f1f5ed}.kg-open svg{width:15px;height:15px}
.kg-open:hover,.kg-camera button:hover,.kg-filters button:hover{background:#e8f1e2}
.kg-toolbar{margin:16px 0 9px;display:flex;gap:7px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.kg-filters{display:flex;gap:4px;flex-wrap:wrap}.kg-filters button{display:inline-flex;align-items:center;gap:5px}
.kg-filters button[aria-pressed=true]{border-color:#bcd3ad;background:#e6f0dc;color:#253f2c;font-weight:700}
.kg-filters i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--kg-color)}
.kg-toolbar select{max-width:155px}
.kg-field{border:1px solid #e0e9dd;border-radius:12px;overflow:hidden;position:relative;background:#f7faf4;flex:1;display:grid;align-items:center}
.kg-field::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,#aabea263 .65px,transparent 1px) 2px 2px/19px 19px;mask-image:radial-gradient(ellipse,#000 38%,transparent 100%)}
.kg-svg{position:relative;display:block;width:100%;height:auto;max-height:430px;min-height:224px;touch-action:none;cursor:grab;user-select:none;overflow:hidden}
.kg-svg.kg-dragging,.kg-svg.kg-dragging .kg-node{cursor:grabbing}
.kg-edge{fill:none;stroke:#9cb19b;stroke-width:1.15;opacity:.72;vector-effect:non-scaling-stroke}
.kg-edge.kg-lit{stroke:#64825e;stroke-width:1.7;opacity:1}.kg-edge.kg-dim{opacity:.15}
.kg-node{cursor:grab;outline:none}.kg-node .kg-hit{fill:transparent}
.kg-account .kg-dot{fill:var(--kg-color);stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}
.kg-group .kg-dot{fill:#4c7156;stroke:#fbfff8;stroke-width:1.4;vector-effect:non-scaling-stroke}.kg-core{fill:#d9e8d1;pointer-events:none}
.kg-node .kg-halo{fill:none;stroke:#6f946b;stroke-width:1;opacity:0;vector-effect:non-scaling-stroke}
.kg-group .kg-halo{opacity:.42}.kg-node.kg-focus .kg-halo,.kg-node:focus-visible .kg-halo,.kg-node[aria-pressed=true] .kg-halo{opacity:1;stroke-width:2}
.kg-node.kg-dim{opacity:.32}.kg-card .kg-off{display:none}
.kg-label{fill:#294631;font:650 12px Inter,Arial,sans-serif;pointer-events:none;opacity:0;paint-order:stroke;stroke:#f7faf4;stroke-width:4;stroke-linejoin:round}
.kg-group .kg-label{fill:#315641;font-size:13px;font-weight:700}.kg-group .kg-label,.kg-first .kg-label,.kg-focus .kg-label,.kg-node:focus-visible .kg-label,.kg-node[aria-pressed=true] .kg-label{opacity:1}.kg-node.kg-dim .kg-label{opacity:0}
.kg-camera{position:absolute;right:9px;bottom:9px;display:flex;gap:2px;box-shadow:0 3px 12px #253d241a;padding:3px;background:#fff;border:1px solid #dde7da;border-radius:9px}
.kg-camera button{min-width:30px;min-height:28px;padding:3px 6px}
.kg-loading{position:absolute;inset:40% 0 auto;text-align:center;color:#45644b}
.kg-legend{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:6px 12px;margin:10px 1px;color:#586d5c;font-size:.72rem}.kg-legend strong{white-space:nowrap;color:#435e48}
.kg-inspector{border-top:1px solid #e0e8dc;margin-top:3px;padding-top:11px;min-width:0;color:#415a48;font-size:.82rem}
.kg-inspector h3{margin:0;color:#263d2c;font:650 1rem/1.3 Inter,Arial,sans-serif}.kg-inspector p{margin:4px 0 0;line-height:1.45}.kg-inspector .kg-kicker{margin:0 0 3px}
.kg-intro{display:flex;align-items:center;gap:10px}.kg-intro>span{font-size:21px;display:grid;place-items:center;flex:0 0 33px;height:33px;border-radius:9px;background:#edf3e6;color:#648163}
.kg-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
.kg-detail-head button,.kg-related button{color:#345340;background:#f2f7ee;border:1px solid #dce8d8;border-radius:7px;padding:5px 8px;font-size:.76rem}.kg-detail-head button{font-size:1.1rem;line-height:1}
.kg-detail-actions,.kg-related{display:flex;flex-wrap:wrap;gap:6px 11px;margin-top:8px}
.kg-inspector a{color:#335d43;text-underline-offset:2px;font-weight:630}
.kg-dialog{margin:auto;padding:0;border:1px solid #c0d0bd;border-radius:18px;background:white;color:#243b2a;width:min(1140px,calc(100vw - 22px));max-width:none;max-height:calc(100dvh - 26px);overflow:auto}
.kg-dialog::backdrop{background:#273c2c88;backdrop-filter:blur(4px)}
.kg-dialog .kg-card{border:0}.kg-dialog .kg-svg{max-height:min(65vh,580px)}
@media(max-width:740px){.kg-node.kg-first:not(.kg-focus) .kg-label{opacity:0}}
@media(max-width:590px){.kg-svg{min-height:178px}.kg-field{display:block}.kg-card .kg-head{gap:7px}.kg-filters button,.kg-toolbar select{font-size:.71rem;padding-inline:5px;min-height:33px}.kg-open{padding-inline:6px}.kg-head p:last-child{font-size:.77rem}}
