@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap";:root{color:#e8edf5;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;--surface:#111a28;--surface-raised:#151f2f;--border:#263246;--muted:#8190a6;--text:#e8edf5;--accent:#61dfbd;background:#0b111c;font-family:DM Sans,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:760px;min-height:100vh;margin:0}button,input,select{font:inherit}button{color:inherit}::selection{color:#091610;background:#61dfbd}#root{min-height:100vh}.app-shell{background:#0b111c;flex-direction:column;min-height:100vh;display:flex}.topbar{background:#0e1623;border-bottom:1px solid #222d3e;flex:none;align-items:center;gap:20px;height:66px;padding:0 25px;display:flex}.brand{color:#edf4f7;letter-spacing:-.4px;align-items:center;gap:9px;font-size:16px;font-weight:700;text-decoration:none;display:flex}.brand__mark{color:#0b1c19;background:#61dfbd;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.brand__badge{color:#91a0b4;letter-spacing:.5px;border:1px solid #354257;border-radius:4px;padding:2px 5px;font:9px DM Mono,monospace}.topbar__divider{border-left:1px solid #293549;height:25px;margin-left:4px}.project-name{align-items:center;gap:9px;font-size:12px;display:flex}.project-name__label,.eyebrow{color:#77869b;letter-spacing:1.2px;font:9px DM Mono,monospace}.project-name strong{color:#d7dfeb;font-size:12px;font-weight:500}.project-name svg{color:#77869b}.topbar__spacer{flex:1}.save-state{color:#8493a8;align-items:center;gap:8px;margin-right:4px;font-size:11px;display:flex}.save-state--error{color:#ff8291}.save-state--error span{background:#ff8291;box-shadow:0 0 9px #ff829155}.save-state span,.status-dot{background:#5bd6aa;border-radius:50%;flex:none;width:6px;height:6px;box-shadow:0 0 9px #5bd6aa55}.button{color:#d8e1eb;cursor:pointer;background:#182436;border:1px solid #304057;border-radius:7px;justify-content:center;align-items:center;gap:8px;height:34px;padding:0 12px;font-size:11px;font-weight:600;transition:all .16s;display:inline-flex}.button:hover{background:#1d2b3f;border-color:#50647e}.button--primary{color:#0a211c;background:#61dfbd;border-color:#66e0be}.button--primary:hover{background:#80ebce;border-color:#8af0d2}.button--active{background:#182436;border-color:#40526a}.button--subtle{background:0 0}.button__icon{display:flex}.workspace{flex:1;grid-template-columns:220px minmax(420px,1fr) 292px;min-height:calc(100vh - 66px);display:grid}.sidebar{background:#0e1623;border-right:1px solid #222d3e;flex-direction:column;padding:26px 15px 15px;display:flex;position:relative}.sidebar__heading,.inspector__heading{justify-content:space-between;align-items:center;display:flex}.sidebar__heading{padding:0 6px}.eyebrow{margin-bottom:7px;display:block}.sidebar h1,.canvas-heading h2,.inspector h2{color:#e7edf5;letter-spacing:-.3px;margin:0;font-size:16px;font-weight:600}.counter{color:#a4b3c8;background:#172235;border:1px solid #304057;border-radius:7px;place-items:center;min-width:22px;height:22px;font:10px DM Mono,monospace;display:grid}.sidebar__hint{color:#8593a8;margin:10px 6px 21px;font-size:11px;line-height:1.55}.component-list{flex-direction:column;gap:6px;display:flex}.component-card{color:#d1d9e5;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:10px;height:43px;padding:0 9px;transition:all .15s;display:flex}.component-card:hover{background:#151f2e;border-color:#2b3a50}.component-card__icon,.selected-component__icon{--node-accent:#61dfbd;border:1px solid color-mix(in srgb, var(--node-accent), transparent 68%);width:27px;height:27px;color:var(--node-accent);background:color-mix(in srgb, var(--node-accent), transparent 91%);border-radius:7px;place-items:center;display:grid}.selected-component__icon-image{width:20px;height:20px;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.component-card__name{flex:1;font-size:11px;font-weight:500}.component-card__plus{color:#7d8ba0}.sidebar__tip{color:#94a1b4;background:#121d2c;border:1px solid #27374c;border-radius:8px;gap:9px;margin-top:21px;padding:11px 10px;display:flex}.tip-icon{color:#6ea8ff;margin-top:1px}.sidebar__tip p{margin:0;font-size:10px;line-height:1.55}.sidebar__tip strong{color:#d4dfec;margin-bottom:3px;font-size:10px;display:block}.sidebar__bottom{color:#718198;align-items:center;gap:7px;margin-top:auto;padding:12px 4px 2px;font-size:10px;display:flex}.sidebar__bottom .status-dot{width:5px;height:5px}.sidebar__version{color:#5d6b7f;margin-left:auto;font:9px DM Mono,monospace}.canvas-column{flex-direction:column;min-width:0;padding:21px 22px 12px;display:flex}.canvas-heading{justify-content:space-between;align-items:flex-start;min-height:59px;display:flex}.breadcrumb{color:#78889d;margin:1px 0 8px;font-size:10px}.breadcrumb span{color:#445268;margin:0 6px}.breadcrumb strong{color:#b6c1d0;font-weight:500}.canvas-heading h2{font-size:16px}.canvas-actions{align-items:center;gap:10px;display:flex}.canvas-zoom-label{color:#74839a;letter-spacing:.6px;font:9px DM Mono,monospace}.view-toggle{background:#111b29;border:1px solid #29374b;border-radius:7px;gap:2px;height:31px;padding:3px;display:flex}.view-toggle__tab{color:#8796aa;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;padding:0 9px;font-size:9px;display:flex}.view-toggle__tab:hover{color:#dce5ef}.view-toggle__tab--active{color:#dce5ef;background:#263448;box-shadow:0 1px 2px #050a12aa}.icon-button{color:#9aa8bb;cursor:pointer;background:#121c2a;border:1px solid #29374b;border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.icon-button:hover{color:#e0e8f2;border-color:#50647e}.icon-button--danger:hover{color:#ff8291;background:#2b1d28;border-color:#75404a}.grafana-preview-shell,.energy-editor-shell{background:#111827;border:1px solid #263449;border-radius:9px;flex-direction:column;flex:1;min-height:420px;display:flex;overflow:hidden}.editor-toolbar{background:#111b29;border-bottom:1px solid #29384d;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:0 12px;display:flex}.editor-toolbar__title{color:#cbd6e4;white-space:nowrap;align-items:center;gap:8px;font-size:10px;display:flex}.editor-toolbar__actions{align-items:center;gap:12px;display:flex}.editor-toolbar__actions .button{white-space:nowrap;height:28px;font-size:9px}.energy-editor{touch-action:none;background-color:#111827;background-image:radial-gradient(#344055 .75px,#0000 .75px);background-position:12px 12px;background-size:24px 24px;flex:1;min-height:0;position:relative;overflow:hidden}.energy-editor--selecting{cursor:crosshair}.energy-editor__edges{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:visible}.energy-editor__edge{fill:none;stroke-width:5px;stroke-linecap:round;pointer-events:none}.energy-editor__edge-selection{fill:none;stroke:#61dfbd55;stroke-width:13px;stroke-linecap:round;pointer-events:none}.energy-editor__edge-target{fill:none;stroke:#0000;stroke-width:18px;stroke-linecap:round;pointer-events:stroke;cursor:pointer}.energy-editor__edge-target:hover{stroke:#61dfbd16}.energy-editor__port{z-index:4;cursor:crosshair;background:#152034;border:2px solid #d5e0eb;border-radius:50%;width:10px;height:10px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #111827,0 0 8px #000b}.energy-editor__port:hover,.energy-editor__port--active{background:#61dfbd;border-color:#fff;box-shadow:0 0 0 2px #111827,0 0 11px #61dfbd}.energy-editor__flow-dot{filter:drop-shadow(0 0 5px);pointer-events:none}.energy-editor__node{--node-accent:#61dfbd;z-index:2;border:3px solid var(--node-accent);color:#fff;box-shadow:0 0 16px color-mix(in srgb, var(--node-accent), transparent 25%);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;background:#172033;border-radius:50%;outline:none;flex-direction:column;justify-content:center;align-items:center;transition:box-shadow .12s,border-color .12s;display:flex;position:absolute;transform:translate(-50%,-50%)}.energy-editor__node:hover,.energy-editor__node--selected{box-shadow:0 0 0 3px color-mix(in srgb, var(--node-accent), transparent 76%), 0 0 20px color-mix(in srgb, var(--node-accent), transparent 12%)}.energy-editor__node:focus-visible{box-shadow:0 0 0 3px #ffffff38, 0 0 18px var(--node-accent)}.energy-editor__node--dragging{z-index:3;cursor:grabbing}.energy-editor--connect .energy-editor__node{cursor:crosshair}.energy-editor__selection-box{z-index:5;pointer-events:none;background:#61dfbd20;border:1px solid #61dfbd;position:absolute}.energy-editor__icon,.energy-editor__label,.energy-editor__value{text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 12px);position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.energy-editor__icon{top:calc(50% - var(--node-icon-offset));font-size:var(--node-icon-size);line-height:var(--node-icon-size)}.energy-editor__icon-image{width:var(--node-icon-size);height:var(--node-icon-size);display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.energy-editor__label{top:calc(50% + var(--node-label-offset));max-width:none;font-size:var(--node-label-size);font-weight:700;line-height:var(--node-label-size);text-overflow:clip;overflow:visible}.energy-editor__value{top:calc(50% + var(--node-value-offset));color:var(--node-accent);font-size:var(--node-value-size);font-weight:700;line-height:var(--node-value-size)}.energy-editor__empty{color:#8998ad;pointer-events:none;place-items:center;font-size:11px;display:grid;position:absolute;inset:0}.energy-editor__hint{z-index:4;color:#d7e3ed;pointer-events:none;background:#162538e8;border:1px solid #3c526a;border-radius:6px;padding:7px 10px;font-size:10px;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.preview-toolbar{background:#111b29;border-bottom:1px solid #29384d;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:0 13px;display:flex}.preview-toolbar__title{color:#cbd6e4;white-space:nowrap;align-items:center;gap:8px;font-size:10px;font-weight:500;display:flex}.preview-tag{color:#8d9cb0;letter-spacing:.5px;border:1px solid #38455a;border-radius:4px;margin-left:2px;padding:3px 5px;font:8px DM Mono,monospace}.preview-inputs{align-items:center;gap:10px;display:flex}.preview-inputs label{color:#8998ad;align-items:center;gap:5px;font:9px DM Mono,monospace;display:flex}.preview-inputs input{color:#dce5ef;background:#0d1522;border:1px solid #344257;border-radius:5px;outline:0;width:74px;height:25px;padding:0 6px;font:10px DM Mono,monospace}.preview-inputs input:focus{border-color:#61dfbd}.grafana-preview-chart{background:#111827;flex:1;min-height:0;position:relative}.echarts-preview{width:100%;height:100%;min-height:340px}.preview-loading{color:#97a5b8;flex:1;place-items:center;min-height:340px;font-size:11px;display:grid}.preview-error{color:#ff9a9f;text-align:center;background:#111827e8;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex;position:absolute;inset:12px}.preview-error strong{color:#ffd1d3;font-size:13px}.preview-error span{max-width:440px;line-height:1.5}.preview-disclaimer{color:#8391a6;background:#111b29;border-top:1px solid #29384d;flex:none;padding:8px 12px;font-size:9px}.canvas-statusbar{color:#738299;align-items:end;gap:12px;min-height:33px;font-size:9px;display:flex}.canvas-statusbar>span:first-child,.code-footer>span:first-child{align-items:center;gap:6px;display:flex}.canvas-statusbar .status-dot,.code-footer .status-dot{width:5px;height:5px}.statusbar-separator{border-left:1px solid #2c394d;height:12px}.canvas-statusbar__right{color:#6d7b90;margin-left:auto;font:9px DM Mono,monospace}.inspector{background:#0e1623;border-left:1px solid #222d3e;flex-direction:column;padding:26px 17px 15px;display:flex}.inspector__heading{border-bottom:1px solid #253146;padding:0 1px 18px}.inspector h2{font-size:15px}.inspector-form{padding-top:17px}.selected-component{align-items:center;gap:10px;margin-bottom:20px;display:flex}.selected-component__icon{width:34px;height:34px}.selected-component__icon--flow{color:#68b7ff;background:#68b7ff12;border-color:#68b7ff44}.selected-component div{flex-direction:column;gap:4px;display:flex}.selected-component strong{color:#dfe7f1;font-size:11px;font-weight:600}.selected-component span:not(.selected-component__icon){color:#7f8da1;font-size:9px}.field-label{color:#aeb9c8;flex-direction:column;gap:7px;margin-bottom:16px;font-size:10px;font-weight:500;display:flex}.field-label input:not([type=color]),.field-label select{color:#dfe7f0;background:#121d2b;border:1px solid #2c3a4f;border-radius:6px;outline:none;width:100%;height:34px;padding:0 9px;font-size:11px}.field-label input:focus,.field-label select:focus{border-color:#5ccfac;box-shadow:0 0 0 2px #61dfbd18}.field-label input::placeholder{color:#637287}.field-label select{appearance:auto}.field-checkbox{color:#aeb9c8;cursor:pointer;align-items:flex-start;gap:8px;margin:0 0 16px;font-size:10px;line-height:1.5;display:flex}.field-checkbox input{accent-color:#61dfbd;margin:1px 0 0}.field-help{color:#76869a;margin-top:-1px;font-size:9px;font-weight:400;line-height:1.5}.field-help code{color:#8ca0ba;font:9px DM Mono,monospace}.field-row{grid-template-columns:1fr 1fr;gap:9px;display:grid}.color-input-wrap{background:#121d2b;border:1px solid #2c3a4f;border-radius:6px;align-items:center;gap:8px;height:34px;padding:0 8px;display:flex}.color-input-wrap input[type=color]{cursor:pointer;background:0 0;border:0;flex:0 0 20px;width:20px;height:20px;padding:0}.color-input-wrap input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-input-wrap input[type=color]::-webkit-color-swatch{border:1px solid #ffffff25;border-radius:4px}.color-input-wrap input[type=text]{color:#8f9db0;background:0 0;border:0;outline:0;flex:1;width:100%;min-width:0;height:26px;padding:0 3px;font:9px DM Mono,monospace}.color-input-wrap input[type=text]:focus{box-shadow:none;color:#dfe7f0;border:0}.size-control{align-items:center;gap:10px;display:flex}.size-control input[type=range]{accent-color:#61dfbd;cursor:pointer;background:0 0;border:0;flex:1;width:100%;height:16px;padding:0}.size-control span{color:#8f9db0;text-align:right;min-width:38px;font:9px DM Mono,monospace}.calculation-card{background:#14251f;border:1px solid #36534d;border-radius:7px;gap:10px;margin:0 0 17px;padding:11px 10px;display:flex}.calculation-card__symbol{color:#61dfbd;font:16px DM Mono,monospace}.calculation-card strong{color:#cae9dd;font-size:10px}.calculation-card p{color:#829e93;margin:4px 0 0;font-size:9px;line-height:1.5}.inspector-divider{border-top:1px solid #253146;margin:18px 0 13px}.inspector-note{color:#7e8da1;align-items:flex-start;gap:7px;font-size:9px;line-height:1.6;display:flex}.inspector-note svg{color:#7ca8df;flex:none}.inspector-empty{text-align:center;flex-direction:column;align-items:center;padding:28px 8px;display:flex}.inspector-empty__icon{color:#8fa0b6;background:#151f2e;border:1px solid #304057;border-radius:11px;place-items:center;width:40px;height:40px;margin-bottom:12px;display:grid}.inspector-empty strong{color:#d5deea;font-size:11px}.inspector-empty p{color:#7e8da1;max-width:205px;margin:7px 0;font-size:10px;line-height:1.6}.inspector-summary{background:#121c2a;border:1px solid #2b394c;border-radius:8px;margin-top:auto;padding:14px 11px 10px}.summary-title{color:#8594a9;letter-spacing:.7px;justify-content:space-between;align-items:center;font:9px DM Mono,monospace;display:flex}.summary-count{color:#67ddb9;background:#1b3b37;border-radius:5px;place-items:center;min-width:17px;height:17px;font-size:9px;display:grid}.summary-ok{color:#90d9bd;align-items:center;gap:7px;margin:13px 0;font-size:10px;display:flex}.summary-warning{color:#e8bd73;margin:11px 0;font-size:9px;line-height:1.55}.text-button{color:#9daec2;cursor:pointer;background:0 0;border:0;border-top:1px solid #2a394d;justify-content:space-between;width:100%;margin-top:11px;padding:10px 0 0;font-size:10px;display:flex}.text-button:hover{color:#61dfbd}.text-button span{font-size:14px}@media (width>=861px){.app-shell{height:100vh}.workspace{grid-template-rows:minmax(0,1fr);height:calc(100vh - 66px);min-height:0}.canvas-column,.inspector{min-height:0}.inspector{overflow-y:auto}}.code-workspace{background:#0d1522;border:1px solid #29384d;border-radius:9px;flex-direction:column;flex:1;min-height:420px;display:flex;overflow:hidden}.project-file-toolbar{color:#cbd6e4;background:#101a28;border-bottom:1px solid #29384d;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:6px 13px;font-size:10px;display:flex}.project-file-toolbar small{color:#78889e;margin-left:8px;font-size:9px}.project-file-actions{flex:none;gap:7px;display:flex}.project-file-actions .button{min-height:28px;padding:0 9px;font-size:9px}.code-toolbar{background:#111b29;border-bottom:1px solid #29384d;flex:none;justify-content:space-between;align-items:center;height:45px;padding:0 13px;display:flex}.code-file{color:#cbd6e4;align-items:center;gap:8px;font-size:10px;display:flex}.code-file__dot{background:#f0c767;border-radius:2px;width:7px;height:7px}.code-file__type{color:#6f7f95;margin-left:4px;font:8px DM Mono,monospace}.code-actions{gap:7px;display:flex}.code-actions .button{height:28px;font-size:9px}.code-output{color:#bac8d9;tab-size:2;white-space:pre;background:#0d1522;flex:1;min-height:0;margin:0;padding:17px 18px 22px;font:10px/1.65 DM Mono,Consolas,monospace;overflow:auto}.code-output code{font:inherit}.code-footer{color:#7e8da2;background:#111b29;border-top:1px solid #29384d;flex:none;justify-content:space-between;align-items:center;height:34px;padding:0 13px;font-size:9px;display:flex}.inline-error{color:#ff929a;margin:0;padding:8px 13px;font-size:10px}.inline-notice{color:#90d9bd;margin:0;padding:8px 13px;font-size:10px}.warning-list{background:#241e16;border-top:1px solid #453b2a;padding:4px 13px 7px}.warning-list p{color:#e3bd78;margin:5px 0;font-size:10px}@media (width<=1120px){.workspace{grid-template-columns:194px minmax(370px,1fr) 265px}.canvas-column{padding-left:15px;padding-right:15px}.sidebar{padding-left:11px;padding-right:11px}.inspector{padding-left:13px;padding-right:13px}}@media (width<=860px){body{min-width:360px}.workspace{grid-template-columns:174px minmax(0,1fr)}.inspector{border-top:1px solid #222d3e;border-left:0;grid-column:1/-1;min-height:300px}.inspector-summary{margin-top:16px}.canvas-column{min-height:600px}.save-state{display:none}.topbar{gap:12px;padding:0 13px}.preview-toolbar{flex-direction:column;align-items:flex-start;padding:9px 10px}.preview-inputs{width:100%}.editor-toolbar{flex-direction:column;align-items:flex-start;padding:9px 10px}.editor-toolbar__actions{justify-content:space-between;width:100%}.project-file-toolbar{flex-direction:column;align-items:flex-start}.project-file-toolbar small{margin:3px 0 0;display:block}.project-file-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}}
