
.lmx-diagram .lx-equipment{--lx-topo-bg:#f7fbf9;--lx-topo-card:#fff;--lx-topo-border:#cbded6;--lx-topo-accent:var(--lx-teal,#006d5b);--lx-topo-text:var(--lx-text,#19332a);--lx-topo-muted:var(--lx-muted,#476258);--lx-topo-ac:#275d9f;--lx-topo-idle:#eef3f0;--lx-topo-selected:#e0f0e9;min-width:0;padding:clamp(12px,2.6vw,28px);background:var(--lx-topo-bg);border:1px solid var(--lx-topo-border);border-radius:18px;color:var(--lx-topo-text)}
.lmx-diagram .lx-equipment>legend{float:left;width:100%}
.lmx-diagram .lx-equipment .lx-control{margin-bottom:0}
.lmx-diagram .lx-equipment .lx-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));clear:both}
.lmx-diagram .lx-equipment .lx-choice{background:var(--lx-topo-card);color:var(--lx-topo-text);text-align:center;padding:6px 4px;overflow-wrap:anywhere}
.lmx-diagram .lx-equipment .lx-radio:checked+.lx-choice{background:var(--lx-topo-selected);border-color:var(--lx-topo-accent);color:var(--lx-topo-accent);box-shadow:inset 0 0 0 1px var(--lx-topo-accent)}
.lmx-diagram .lx-equipment .lx-radio:focus-visible+.lx-choice{outline-color:var(--lx-topo-ac)}
.lmx-diagram .lx-equipment .lx-title{color:var(--lx-topo-accent);margin-top:14px}
.lmx-diagram .lx-equipment .lx-note{color:var(--lx-topo-text)}
.lmx-diagram .lx-topology{display:grid;grid-template-columns:minmax(0,1fr) clamp(23px,5vw,58px) minmax(0,1fr) clamp(23px,5vw,58px) minmax(0,1fr);grid-template-rows:auto 34px auto 34px auto;margin:18px auto 8px;max-width:920px}
.lmx-diagram .lx-topo-node{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;min-height:88px;padding:9px 4px;border:1px solid var(--lx-topo-border);border-radius:13px;background:var(--lx-topo-card);color:var(--lx-topo-text);text-align:center;line-height:1.35;overflow-wrap:anywhere;font-size:clamp(13px,1.65vw,19px);font-weight:700}
.lmx-diagram .lx-topo-node[data-idle]{background:var(--lx-topo-idle);color:var(--lx-topo-muted)}
.lmx-diagram .lx-topo-node>svg{width:22px;height:22px;color:var(--lx-topo-accent)}
.lmx-diagram .lx-topo-node[data-idle]>svg{color:var(--lx-topo-muted)}
.lmx-diagram .lx-topo-node small{font-size:clamp(11px,1.2vw,14px);color:var(--lx-topo-muted);font-weight:500}
.lmx-diagram .lx-t-grid{grid-area:1/5}.lmx-diagram .lx-t-solar{grid-area:3/1}.lmx-diagram .lx-t-pcs{grid-area:3/3}.lmx-diagram .lx-t-board{grid-area:3/5}.lmx-diagram .lx-t-battery{grid-area:5/3}.lmx-diagram .lx-t-load{grid-area:5/5}
.lmx-diagram .lx-e-grid{grid-area:2/5;--lx-angle:90deg}.lmx-diagram .lx-e-solar{grid-area:3/2}.lmx-diagram .lx-e-pcs{grid-area:3/4}.lmx-diagram .lx-e-battery{grid-area:4/3;--lx-angle:90deg}.lmx-diagram .lx-e-load{grid-area:4/5;--lx-angle:90deg}
.lmx-diagram .lx-topo-arrow{display:grid;place-items:center;color:var(--lx-topo-ac);min-width:0}
.lmx-diagram .lx-topo-arrow[data-kind="dc"]{color:var(--lx-topo-accent)}
.lmx-diagram .lx-topo-arrow[data-direction="blocked"],.lmx-diagram .lx-topo-arrow[data-direction="idle"]{color:var(--lx-topo-muted)}
.lmx-diagram .lx-topo-arrow svg{width:min(100%,33px);height:17px;overflow:visible;transform:rotate(var(--lx-angle,0deg))}
.lmx-diagram .lx-topo-arrow[data-direction="back"] svg{transform:rotate(calc(var(--lx-angle,0deg) + 180deg))}
.lmx-diagram .lx-topo-caption{display:flex;flex-wrap:wrap;gap:4px 14px;margin:12px 0 4px;font-size:.83em;color:var(--lx-topo-muted)}
.lmx-diagram .lx-topo-caption b{color:var(--lx-topo-accent)}.lmx-diagram .lx-topo-caption .lx-topo-ac{color:var(--lx-topo-ac)}
.lmx-diagram .lx-topo-details{margin-top:10px;color:var(--lx-topo-text)}
.lmx-diagram .lx-topo-details summary{cursor:pointer;padding:8px 0;text-decoration:underline;text-underline-offset:3px}
.lmx-diagram .lx-topo-details ul{margin:3px 0 9px;padding-left:1.3em;color:var(--lx-topo-muted);font-size:.86em}
@media(max-width:630px){.lmx-diagram .lx-equipment .lx-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.lmx-diagram .lx-topology{grid-template-columns:minmax(0,1fr) 27px minmax(0,1fr);grid-template-rows:auto 26px auto 26px auto}.lmx-diagram .lx-t-grid{grid-area:1/3}.lmx-diagram .lx-t-solar{grid-area:1/1}.lmx-diagram .lx-t-pcs{grid-area:3/1}.lmx-diagram .lx-t-board{grid-area:3/3}.lmx-diagram .lx-t-battery{grid-area:5/1}.lmx-diagram .lx-t-load{grid-area:5/3}.lmx-diagram .lx-e-grid{grid-area:2/3}.lmx-diagram .lx-e-solar{grid-area:2/1;--lx-angle:90deg}.lmx-diagram .lx-e-pcs{grid-area:3/2}.lmx-diagram .lx-e-battery{grid-area:4/1}.lmx-diagram .lx-e-load{grid-area:4/3}.lmx-diagram .lx-topo-node{min-height:72px}}
