.stellar-editor{margin-top:8px}.stellar-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:16px;align-items:start}
.stellar-map{width:100%;background:radial-gradient(ellipse at center,#243044 0%,#0c1018 72%);border:1px solid var(--line);border-radius:16px}
.stellar-link{stroke:#8d97a8;stroke-width:3;stroke-linecap:round;pointer-events:none}.stellar-link.locked{stroke:#465064;stroke-dasharray:5 7;stroke-width:2}
.stellar-node{cursor:pointer}.stellar-node circle{fill:#182534;stroke:#7a8594;stroke-width:2}.stellar-node text{fill:#e6e8ee;font-size:11px;font-family:inherit;pointer-events:none;text-anchor:middle;dominant-baseline:central}
.stellar-node.locked{cursor:default}.stellar-node.locked circle{fill:#12161c;stroke:#3a414c;stroke-dasharray:3 3}.stellar-node.locked text{fill:#66707c}
.stellar-node.changed circle{stroke:#68d2b1;stroke-width:3}.stellar-node[aria-pressed=true] circle{stroke:#e8bc61;stroke-width:4}
.stellar-node:focus-visible{outline:none}.stellar-node:focus-visible circle{stroke:#e8bc61;stroke-width:4}
.stellar-mark{fill:none;stroke:#6d634b;stroke-width:1.5}.stellar-mark text{fill:#c8b48a;font-size:11px;font-family:inherit;text-anchor:middle}
.stellar-inspector{border:1px solid var(--line);border-radius:16px;padding:16px;background:#101722;min-width:0}
.stellar-inspector h3{margin:0 0 8px;color:var(--gold)}.stellar-grades,.stellar-forces{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.stellar-grades button,.stellar-forces button{min-height:40px}.stellar-forces{min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:stretch}
.stellar-dialog{color:var(--text,var(--ink));background:#141b27;border:1px solid #566175;border-radius:18px;padding:0;width:min(560px,calc(100vw - 32px));height:min(720px,calc(100dvh - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-shadow:0 24px 80px #000a}
.stellar-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.stellar-dialog::backdrop{background:rgb(3 7 13 / 78%)}
.stellar-dialog-header,.stellar-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}
.stellar-dialog-header{border-bottom:1px solid var(--line)}.stellar-dialog-footer{border-top:1px solid var(--line);background:#101722;justify-content:flex-end}
.stellar-dialog h2{margin:0;color:var(--gold);font-size:20px}.stellar-dialog-body{padding:16px 20px;display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto}
.stellar-dialog .stellar-forces{display:flex;flex-direction:column;flex-wrap:nowrap;overflow:visible;max-height:none}
.stellar-dialog .stellar-forces button{width:100%}
.stellar-dialog .hint{margin:0;color:var(--muted);font-size:13px}
.stellar-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stellar-comparison>div{border:1px solid var(--line);border-radius:10px;padding:12px;background:#0c131e;min-width:0}
.stellar-comparison span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.stellar-comparison strong{display:block;line-height:1.5;overflow-wrap:anywhere}
.stellar-comparison>div:last-child{border-color:#53755f}.stellar-comparison>div:last-child strong{color:var(--green,#8ddeb8)}
.stellar-dialog .stellar-forces button{text-align:left}
@media(max-width:600px){.stellar-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:14px}.stellar-comparison{grid-template-columns:1fr}.stellar-dialog-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}
.stellar-choice[aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#302919}
.stellar-sets{display:grid;gap:8px;margin-top:12px}.stellar-sets p{margin:0;font-size:13px}
.stellar-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:12px 0}.stellar-toolbar label{margin:0;min-width:140px}
@media(max-width:800px){.stellar-layout{grid-template-columns:1fr}.stellar-forces{max-height:none}}
