.stream-editor-panel-v2,.property-panel-v2{background:var(--ct-surface,#fff);border:1px solid var(--ct-border,#d9e2f2);color:var(--ct-text,#0b1f4d);box-shadow:none}.stream-editor-panel-v2{flex-direction:column;gap:10px;min-height:0;max-height:none;display:flex;overflow:auto}.stream-editor-sticky-header,.property-panel-sticky-header-v2{z-index:4;background:color-mix(in srgb, var(--ct-surface,#fff) 94%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--ct-border,#d9e2f2);margin:-10px -10px 0;padding:10px;position:sticky;top:0}.stream-editor-sticky-header--material{grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:end;gap:8px 12px;padding-top:10px;padding-bottom:10px;display:grid}.stream-editor-toolbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.stream-editor-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.stream-editor-title-v2,.property-title-v2{color:var(--ct-text,#0b1f4d);margin:0;font-weight:800;line-height:1.2}.stream-editor-tabs-row{flex-wrap:wrap;gap:6px;display:flex}.stream-editor-title-stack{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.stream-editor-header-main-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.stream-editor-header-main-row--material{flex-wrap:wrap;align-items:center;display:flex}.stream-editor-sticky-header--material>.stream-editor-header-main-row--material{display:contents}.separator-editor-header-main-row{flex-wrap:wrap;align-items:center;display:flex}.separator-editor-header-main-row>.tabs{flex:260px;order:1;min-width:min(100%,220px)}.separator-editor-header-main-row>.stream-name-field-v2{order:2}.stream-name-field-v2{flex:0 300px;grid-template-columns:minmax(0,1fr);align-content:center;align-items:stretch;row-gap:4px;min-width:0;max-width:min(100%,320px);margin-left:auto;display:grid}.stream-name-field-v2>span{white-space:nowrap}.stream-name-field-v2 input{width:100%;min-width:0;max-width:none}.stream-name-field-v2--material{flex:0 290px;width:min(290px,100%)}.stream-name-action-row-v2{grid-template-rows:auto 40px;grid-template-columns:minmax(0,290px) 40px;gap:4px 8px;min-width:0;display:grid}.stream-name-action-row-v2>.stream-icon-button--excel{grid-area:2/2;place-self:stretch stretch}.stream-name-action-row-v2--material{width:min(338px,100%)}.stream-name-action-row-v2--material .stream-name-field-v2--material{width:100%;max-width:none;margin-left:0;display:contents}.stream-name-action-row-v2--material .stream-name-field-v2--material>span{grid-area:1/1}.stream-name-action-row-v2--material .stream-name-field-v2--material>input{grid-area:2/1}.stream-editor-sticky-header--material .stream-name-action-row-v2--material{grid-area:1/2;place-self:end;margin-left:0}.stream-editor-sticky-header--material:has(>.stream-editor-subtabs-row--material:not(.stream-editor-subtabs-split-row)) .stream-name-action-row-v2--material{grid-row:1/span 2;align-self:start}.stream-name-field-v2--material>span{font-size:12px}.stream-name-field-v2--material input{width:100%;max-width:none;height:40px;min-height:40px}.column-node-editor{height:100%;min-height:0}.column-node-editor .stream-editor-content{flex-direction:column;gap:10px;min-height:0;display:flex}.column-editor-header-row{flex-wrap:wrap;align-items:center;display:flex}.column-editor-tabs{flex:520px;min-width:0}.column-editor-tabs .tab-button{white-space:nowrap;min-width:0}.column-node-editor .stream-summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.column-node-editor .stream-summary-card{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:10px;min-height:72px;padding:10px 12px}.column-node-editor .stream-summary-card strong{color:var(--ct-text,#0b1f4d);margin-top:6px;font-size:18px;display:block}.column-node-editor .summary-label{color:var(--ct-text-soft,#627494);font-size:12px;font-weight:700}.column-node-editor .stream-summary-card-warn{border-color:color-mix(in srgb, #f59e0b 42%, var(--ct-border,#d9e2f2));background:color-mix(in srgb, #f59e0b 10%, var(--ct-surface-soft,#f8fbff))}.column-node-editor .stream-summary-card-ok{border-color:color-mix(in srgb, #16a34a 38%, var(--ct-border,#d9e2f2));background:color-mix(in srgb, #16a34a 9%, var(--ct-surface-soft,#f8fbff))}.column-connection-icon-v2{width:128px;min-width:128px;min-height:156px;overflow:hidden}.column-connection-icon-v2 img{object-fit:contain;max-width:112px;max-height:148px}@media (width<=720px){.column-editor-header-row{grid-template-columns:1fr}}.property-panel-annotation-header{flex-direction:column;align-items:stretch;gap:10px;display:flex}.property-panel-annotation-field{grid-template-columns:minmax(0,1fr);row-gap:6px;width:100%;display:grid}.property-panel-annotation-field>span{white-space:normal}.property-panel-annotation-field input,.property-panel-annotation-field textarea{width:100%;max-width:none}.property-panel-annotation-textarea{resize:vertical;min-height:132px!important}.property-panel-annotation-tabs{justify-content:flex-start;width:100%}.stream-editor-main-tabs-v2{flex:360px;justify-content:flex-start;align-self:center;min-width:min(100%,260px);padding-top:0}.stream-editor-main-tabs-v2--material{grid-area:1/1;align-self:end}.stream-editor-main-tabs-v2--material .tab-button{min-width:84px}.stream-editor-toolbar-actions--header{flex:none;align-self:center;min-height:34px;padding-top:0}.stream-editor-subtabs-row{margin-bottom:8px}.stream-editor-subtabs-row--material{grid-area:2/1;align-self:start;margin-top:0;margin-bottom:0}.stream-editor-subtabs-split-row{justify-content:space-between;align-items:center;gap:10px;margin-top:0;display:flex;position:relative}.stream-editor-subtabs-split-row.stream-editor-subtabs-row--material{grid-column:1/-1}.stream-composition-basis-field,.stream-composition-unit-field{max-width:260px;margin-bottom:0}.stream-editor-panel-v2 .section,.property-panel-v2 .section{margin-bottom:8px}.rotating-equipment-node-editor{position:relative}.rotating-equipment-node-editor .section:first-of-type{margin-top:6px}.rotating-equipment-node-editor .separator-input-grid>.field:not(.stream-general-span-v2)>span{align-items:flex-end;min-height:30px;display:flex}.rotating-equipment-node-editor .separator-input-grid .hx-field-unit-cell{align-items:stretch}.rotating-equipment-node-editor .separator-input-grid .hx-field-unit-select{width:100%;min-width:100%;height:100%;min-height:36px;margin:0;display:block}.stream-section-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.stream-editor-panel-v2 .section h3,.property-panel-v2 .section h3{margin:0}.stream-two-column-grid,.state-grid-compact,.stream-general-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stream-three-column-grid-v2{grid-template-columns:1fr 1fr minmax(140px,.9fr);gap:8px;display:grid}.stream-condition-top-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;margin-top:6px;margin-bottom:8px;display:grid}.stream-condition-top-grid-v2>.field{margin-bottom:0}.stream-flow-inline-v2,.stream-spec-card-v2{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);box-sizing:border-box;border-radius:12px;min-width:0;padding:8px 10px}.stream-flow-inline-title-v2{letter-spacing:.08em;text-transform:uppercase;color:var(--ct-text-soft,#627494);margin-bottom:6px;font-size:11px;font-weight:800}.stream-flow-grid-v2{grid-template-columns:minmax(120px,.8fr) minmax(0,1fr) minmax(120px,.9fr);align-items:end;gap:8px;display:grid}.stream-flow-inline-v2 .field,.stream-spec-card-v2 .field{min-width:0;margin-bottom:0}.stream-flow-inline-v2 input,.stream-flow-inline-v2 select,.stream-spec-card-v2 input,.stream-spec-card-v2 select{width:100%;min-width:0}.stream-spec-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;margin-bottom:8px;display:grid}.stream-spec-card-head-v2{justify-content:flex-start;align-items:center;gap:10px;margin-bottom:6px;display:flex}.stream-spec-card-title-v2{align-items:baseline;gap:8px;display:flex}.stream-spec-card-head-v2 strong{margin:0;font-size:14px;display:block}.stream-spec-card-head-v2 span{color:var(--ct-text-soft,#627494);text-align:left;font-size:12px}.stream-spec-card-row-v2{grid-template-columns:minmax(0,1fr) minmax(130px,.78fr);align-items:end;gap:8px;display:grid}.stream-spec-card-row-v2--triple{grid-template-columns:minmax(0,.82fr) minmax(112px,.9fr) minmax(136px,1.08fr)}.stream-spec-card-row-v2--triple select{padding-right:28px}.stream-state-unit-select-v2{width:100%;min-width:0;padding-left:8px;padding-right:28px;font-size:12px}.stream-spec-card-v2.is-disabled{opacity:.72}.stream-spec-card-v2.is-disabled input,.stream-spec-card-v2.is-disabled select{cursor:not-allowed}.stream-general-span-v2{grid-column:1/-1}.stream-inline-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hx-readonly-action-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.hx-readonly-action-row>input{width:100%;min-width:0}.hx-pr51-bwr-guidance{background:#11203dd1;border:1px solid #5880ff3d;border-radius:14px;gap:6px;margin-top:-2px;padding:12px 14px;display:grid;box-shadow:inset 0 1px #ffffff08}.hx-pr51-bwr-guidance__title{letter-spacing:.04em;text-transform:uppercase;color:var(--ct-text-muted,#e1e9ffb8);font-size:12px;font-weight:700}.hx-pr51-bwr-guidance__body{color:var(--ct-text,#f8fbff);font-size:13px;line-height:1.5}.hx-pr51-bwr-modal-body{gap:16px;display:grid}.hx-pr51-bwr-summary-card{border:1px solid var(--ct-border,#93c5fd33);background:linear-gradient(#1b3463e6,#112244f0);border-radius:16px;gap:6px;padding:14px 16px;display:grid}.hx-pr51-bwr-summary-card__label{text-transform:uppercase;letter-spacing:.06em;color:var(--ct-text-muted,#e1e9ffb8);font-size:12px;font-weight:700}.hx-pr51-bwr-summary-card__value{color:var(--ct-text,#f8fbff);font-size:20px;font-weight:700}.hx-pr51-bwr-summary-card__hint{color:var(--ct-text-muted,#e1e9ffc7);font-size:13px;line-height:1.45}.hx-pr51-bwr-coefficient-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.hx-pr51-bwr-coefficient-card{background:#11203de0;border:1px solid #5880ff3d;border-radius:14px;gap:8px;padding:14px 16px;display:grid;box-shadow:inset 0 1px #ffffff08}.hx-pr51-bwr-coefficient-card__key{letter-spacing:.08em;text-transform:uppercase;color:var(--ct-text-muted,#e1e9ffb8);font-size:12px;font-weight:700}.hx-pr51-bwr-coefficient-card__value{color:var(--ct-text,#f8fbff);font-size:18px;font-weight:700}.stream-composition-toolbar-v2{flex-wrap:wrap;justify-content:flex-start;align-items:end;gap:10px;margin-bottom:8px;display:flex}.stream-composition-inputs-v2{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.stream-composition-actions-v2{justify-content:flex-start;margin-left:auto}.stream-composition-action-button{min-height:34px;padding:0 12px}.stream-define-from-stream-section{border:1px solid var(--ct-border,#d9e2f2);background:color-mix(in srgb, var(--ct-surface-soft,#f8fbff) 72%, var(--ct-surface,#fff));border-radius:10px;padding:8px 10px 10px}.stream-define-from-stream-section .stream-section-head{margin-bottom:6px}.stream-define-from-stream-section h3{color:var(--ct-text-soft,#627494);letter-spacing:0;text-transform:none;font-size:13px;font-weight:700}.stream-define-from-stream-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.stream-define-from-stream-field{min-width:0;margin-bottom:0}.stream-define-from-stream-field select{width:100%;min-height:38px}.stream-define-from-stream-action{align-self:end;display:flex}.stream-define-from-stream-action>span{display:none}.stream-define-from-stream-button{box-sizing:border-box;justify-content:center;align-items:center;height:38px;min-height:38px;padding:0 12px;display:inline-flex}.stream-normalization-subtitle{color:var(--ct-text-soft,#627494);margin-top:4px;margin-bottom:8px;font-size:12px}.compact-field{gap:4px}.field-inline{align-items:center;gap:6px;display:flex}.field-inline>span{min-width:52px}.stream-editor-panel-v2 .field,.property-panel-v2 .field{gap:4px}.stream-editor-panel-v2 .field span,.property-panel-v2 .field span{font-size:12px}.tee-allocation-field-label{margin:0 0 6px}.tee-allocation-basis-field{margin:0 0 8px}.tee-allocation-table{table-layout:fixed;width:100%;min-width:0}.stream-workbook-table.tee-allocation-table th,.stream-workbook-table.tee-allocation-table td{min-width:0!important}.tee-allocation-col-branch{width:78px}.tee-allocation-col-stream{width:108px}.tee-allocation-col-value{width:78px}.tee-allocation-col-unit{width:76px}.tee-allocation-table th,.tee-allocation-table td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tee-allocation-value-cell{padding-left:6px;padding-right:6px}.stream-editor-panel-v2 input.tee-allocation-input{box-sizing:border-box;text-align:right;width:100%;min-width:0;max-width:100%}.stream-editor-panel-v2 input.tee-allocation-input:disabled{opacity:1;cursor:not-allowed;background:var(--ct-surface-soft,#f8fbff)}.stream-editor-panel-v2 input,.stream-editor-panel-v2 select,.stream-editor-panel-v2 textarea,.property-panel-v2 input,.property-panel-v2 select,.property-panel-v2 textarea{background:var(--ct-surface,#fff);border:1px solid var(--ct-border-strong,#c7d4ea);color:var(--ct-text,#0b1f4d);min-height:34px;padding:7px 10px}.stream-editor-panel-v2 input.stream-parameter-field,.stream-editor-panel-v2 textarea.stream-parameter-field{color:var(--ct-primary,#2d64ff);font-style:italic;font-weight:400}.stream-editor-panel-v2 input.stream-parameter-field.is-user-defined,.stream-editor-panel-v2 textarea.stream-parameter-field.is-user-defined{color:var(--ct-primary,#2d64ff);font-style:normal;font-weight:800}.stream-editor-panel-v2 input.stream-parameter-field.is-calculated,.stream-editor-panel-v2 textarea.stream-parameter-field.is-calculated{color:var(--ct-text,#0b1f4d);font-style:normal;font-weight:400}.stream-editor-panel-v2 input.stream-parameter-field::placeholder,.stream-editor-panel-v2 textarea.stream-parameter-field::placeholder{color:color-mix(in srgb, var(--ct-primary,#2d64ff) 64%, white);font-weight:400}:root[data-theme=dark] .stream-editor-panel-v2 .field input.stream-parameter-field,:root[data-theme=dark] .stream-editor-panel-v2 .field textarea.stream-parameter-field{color:#78a8ff;font-style:italic;font-weight:500}:root[data-theme=dark] .stream-editor-panel-v2 .field input.stream-parameter-field.is-user-defined,:root[data-theme=dark] .stream-editor-panel-v2 .field textarea.stream-parameter-field.is-user-defined{color:#8bb7ff;font-style:normal;font-weight:800}:root[data-theme=dark] .stream-editor-panel-v2 .field input.stream-parameter-field.is-calculated,:root[data-theme=dark] .stream-editor-panel-v2 .field textarea.stream-parameter-field.is-calculated{color:var(--ct-text,#e6eefc);font-style:normal;font-weight:400}.stream-editor-panel-v2 textarea,.property-panel-v2 textarea{min-height:72px}.stream-editor-panel-v2 .tab-button,.property-panel-v2 .tab-button{background:var(--ct-surface-soft,#eef4ff);color:var(--ct-primary,#2d64ff);border:1px solid var(--ct-border,#d9e2f2);min-height:34px;padding:0 12px}.stream-editor-panel-v2 .tab-button.active,.property-panel-v2 .tab-button.active{background:var(--ct-primary,#2d64ff);color:#fff;border-color:var(--ct-primary,#2d64ff)}.stream-editor-panel-v2 .secondary-button,.property-panel-v2 .secondary-button{background:var(--ct-surface,#fff);color:var(--ct-primary,#2d64ff);border:1px solid var(--ct-border-strong,#c7d4ea)}.stream-editor-panel-v2 .secondary-button,.stream-editor-panel-v2 .primary-button,.property-panel-v2 .secondary-button,.property-panel-v2 .primary-button{min-height:34px;padding:0 12px}.stream-icon-button{justify-content:center;align-items:center;width:34px;min-width:34px;padding:0;display:inline-flex}.stream-icon-button--excel{box-sizing:border-box;color:#1d4ed8;z-index:1;pointer-events:auto;cursor:pointer;background:#fff;border-color:#94a3b847;border-radius:10px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;transition:transform .16s,border-color .16s,background-color .16s,color .16s;position:relative}.stream-icon-button--excel:hover,.stream-icon-button--excel:focus-visible{background:#2563eb14;border-color:#2563eb73;transform:translateY(-1px)}.stream-icon-button--excel:disabled{opacity:.55;cursor:not-allowed;transform:none}.stream-excel-icon-svg{width:24px;height:24px}.stream-output-content{flex-direction:column;gap:8px;min-height:0;display:flex}.stream-output-toolbar{justify-content:space-between;align-items:flex-end;gap:8px;min-height:34px;display:flex}.stream-output-toolbar--actions-only{justify-content:flex-end}.stream-output-toolbar .stream-inline-controls{flex:auto}.stream-output-toolbar-actions{flex:none;justify-content:flex-end;align-items:center;display:flex}.stream-output-content .stream-output-section-v2{margin-top:0}.stream-editor-panel-v2 .danger-button,.property-panel-v2 .danger-button{align-self:flex-start}.stream-editor-panel-v2 .state-card,.property-panel-v2 .state-card{background:var(--ct-surface-soft,#f8fbff);border:1px solid var(--ct-border,#d9e2f2);border-radius:12px;padding:8px 10px}.stream-editor-panel-v2 .state-card strong,.property-panel-v2 .state-card strong{margin-bottom:6px;display:block}.stream-editor-panel-v2 .composition-component-readonly{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);color:var(--ct-text,#0b1f4d);border-radius:10px;padding:8px 10px}.composition-table-compact{min-height:280px;max-height:none;overflow:visible}.composition-header-v2,.composition-row-v2{grid-template-columns:1.4fr 1fr;min-height:36px}.stream-composition-sum{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:700}.stream-composition-sum--ok{color:#15803d;background:#22c55e24}.stream-composition-sum--warn{color:#b45309;background:#f59e0b29}.stream-connection-grid-v2{grid-template-columns:1fr 64px 1fr;align-items:center;gap:8px;display:grid}.generic-connection-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stream-connection-card-v2{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:12px;padding:8px 10px}.stream-connection-kicker-v2{color:var(--ct-text-soft,#627494);align-items:center;gap:6px;margin-bottom:4px;font-size:11px;display:flex}.stream-connection-value-v2{color:var(--ct-text,#0b1f4d);font-weight:700;line-height:1.3}.stream-connection-select-v2{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);width:100%;min-height:34px;color:var(--ct-text,#0b1f4d);font:inherit;border-radius:10px;padding:6px 10px}.stream-connection-select-v2:disabled{opacity:.65;cursor:not-allowed}.stream-connection-input-v2{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);width:100%;min-width:0;min-height:34px;color:var(--ct-text,#0b1f4d);font:inherit;border-radius:10px;padding:6px 10px}.stream-connection-input-v2:disabled{opacity:.65;cursor:not-allowed}.stream-connection-combobox-v2{position:relative}.stream-connection-combobox-v2.is-open .stream-connection-input-v2--combo{border-color:color-mix(in srgb, var(--ct-primary,#2d64ff) 58%, var(--ct-border,#d9e2f2));box-shadow:0 0 0 3px color-mix(in srgb, var(--ct-primary,#2d64ff) 16%, transparent)}.stream-connection-input-v2--combo{padding-right:38px}.stream-connection-trigger-v2{pointer-events:auto;background:0 0;border:0;border-radius:8px;width:24px;height:24px;padding:0;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.stream-connection-trigger-v2:before{content:"";border-right:1.5px solid var(--ct-text-soft,#627494);border-bottom:1.5px solid var(--ct-text-soft,#627494);width:8px;height:8px;position:absolute;top:50%;left:50%;transform:translate(-50%,-70%)rotate(45deg)}.stream-connection-dropdown-v2{z-index:24;border:1px solid var(--ct-border-strong,#c7d4ea);background:color-mix(in srgb, var(--ct-surface,#fff) 96%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:14px;gap:2px;max-height:220px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 18px 44px #080f232e,0 2px 10px #080f2314}.stream-connection-option-v2{width:100%;min-height:38px;color:var(--ct-text,#0b1f4d);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:8px 10px}.stream-connection-option-v2.is-highlighted,.stream-connection-option-v2:hover{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 12%, var(--ct-surface,#fff))}.stream-connection-option-v2.is-selected{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 16%, var(--ct-surface,#fff));color:var(--ct-primary,#2d64ff);font-weight:700}.stream-connection-option-label-v2{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.stream-connection-icon-v2{justify-content:center;align-items:center;display:flex}.stream-editor-panel-v2 .data-table,.stream-editor-panel-v2 .data-table th,.stream-editor-panel-v2 .data-table td{background:0 0}.stream-editor-panel-v2 .data-table{background:var(--ct-surface,#fff);border-radius:12px;overflow:hidden}.stream-editor-panel-v2 .section-output-table,.property-panel-v2 .section-output-table,.hx-output-table-wrap{width:100%}.stream-editor-panel-v2 .data-table th{background:var(--ct-surface-soft,#f8fbff);color:var(--ct-text-soft,#627494)}.stream-unified-output-table th:nth-child(n+2),.stream-unified-output-table td:nth-child(n+2),.stream-phase-matrix th:nth-child(n+2),.stream-phase-matrix td:nth-child(n+2){text-align:right}.stream-unified-output-table th:first-child,.stream-unified-output-table td:first-child,.stream-phase-matrix th:first-child,.stream-phase-matrix td:first-child{text-align:left}.stream-unified-output-table th:last-child,.stream-unified-output-table td:last-child,.stream-phase-matrix th:last-child,.stream-phase-matrix td:last-child{width:152px;min-width:152px;max-width:152px;text-align:center!important}.stream-output-unit-cell{text-align:center!important}.stream-editor-panel-v2 .data-table td.stream-output-value-cell--user-defined{color:var(--ct-primary,#2d64ff);font-style:normal;font-weight:800}:root[data-theme=dark] .stream-editor-panel-v2 .data-table td.stream-output-value-cell--user-defined{color:#8bb7ff}.stream-output-unit-select{box-sizing:border-box;width:128px;min-width:128px;max-width:128px}.hx-output-table-wrap,.rotating-equipment-node-editor .hx-output-table-wrap--adaptive{max-height:none;overflow:visible}.stream-output-section-row td{color:var(--ct-primary,#2d64ff);border-top:1px solid var(--ct-border,#d9e2f2);font-weight:800;background:var(--ct-surface-soft,#eef4ff)!important;text-align:left!important}.stream-unified-output-wrap,.stream-composition-output-wrap{overscroll-behavior:contain;border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);border-radius:12px;max-height:min(420px,100vh - 360px);position:relative;overflow:auto}.stream-unified-output-table,.stream-phase-matrix{border-collapse:separate;border-spacing:0;width:100%;min-width:100%}.stream-unified-output-wrap .data-table,.stream-composition-output-wrap .data-table{border-radius:0;overflow:visible}.stream-unified-output-table thead th,.stream-phase-matrix thead th{z-index:2;background:var(--ct-surface-soft,#f8fbff);box-shadow:inset 0 -1px 0 var(--ct-border,#d9e2f2);position:sticky;top:0}.stream-output-section-v2{margin-top:8px}.stream-composition-chart-panel{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:12px;margin-top:12px;padding:10px 12px 12px}.stream-composition-chart-layout{flex-direction:column;align-items:stretch;gap:10px;display:flex}.stream-composition-chart-wrap{height:240px}.stream-section-head--controls{justify-content:flex-start}.stream-composition-chart-legend{flex-wrap:wrap;justify-content:center;gap:8px 12px;max-height:none;padding-right:0;display:flex;overflow:visible}.stream-composition-chart-legend-item{background:color-mix(in srgb, var(--ct-surface,#fff) 72%, transparent);border:1px solid color-mix(in srgb, var(--ct-border,#d9e2f2) 78%, transparent);border-radius:999px;align-items:center;gap:8px;min-height:24px;padding:4px 8px;display:inline-flex}.stream-composition-chart-legend-swatch{border-radius:999px;width:10px;height:10px}.stream-composition-chart-legend-name{color:var(--ct-text,#0b1f4d);white-space:nowrap;font-size:12px}:root[data-theme=dark] .stream-editor-sticky-header,:root[data-theme=dark] .property-panel-sticky-header-v2{background:color-mix(in srgb, var(--ct-surface,#111c34) 94%, transparent)}:root[data-theme=dark] .stream-icon-button--excel{color:#dbe7ff;background:#10224d;border-color:#6a87c442}:root[data-theme=dark] .stream-icon-button--excel:hover,:root[data-theme=dark] .stream-icon-button--excel:focus-visible{background:#2563eb29;border-color:#60a5fa73}:root[data-theme=dark] .stream-editor-panel-v2 .data-table th,:root[data-theme=dark] .stream-output-section-row td{background:var(--ct-surface-muted,#1a2a49)!important}:root[data-theme=dark] .stream-composition-chart-panel{background:var(--ct-surface-soft,#16233f)}:root[data-theme=dark] .stream-unified-output-wrap,:root[data-theme=dark] .stream-composition-output-wrap{background:var(--ct-surface,#111c34)}:root[data-theme=dark] .stream-editor-panel-v2 .composition-component-readonly,:root[data-theme=dark] .stream-connection-card-v2,:root[data-theme=dark] .stream-flow-inline-v2,:root[data-theme=dark] .stream-spec-card-v2,:root[data-theme=dark] .stream-editor-panel-v2 .state-card,:root[data-theme=dark] .property-panel-v2 .state-card{background:var(--ct-surface-soft,#16233f)}:root[data-theme=dark] .stream-composition-sum--ok{color:#4ade80}:root[data-theme=dark] .stream-composition-sum--warn{color:#fbbf24}@media (width<=1280px){.stream-editor-toolbar,.stream-three-column-grid-v2,.stream-two-column-grid,.stream-general-grid-v2,.stream-connection-grid-v2,.stream-condition-top-grid-v2,.stream-flow-grid-v2,.stream-spec-grid-v2,.stream-spec-card-row-v2,.generic-connection-grid-v2{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.stream-editor-toolbar{display:flex}.stream-editor-toolbar-actions{justify-content:flex-start}.stream-editor-subtabs-split-row{flex-direction:column;align-items:stretch}.stream-connection-icon-v2{order:-1}}@media (width>=900px){.stream-editor-panel-v2 .stream-condition-top-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.stream-editor-panel-v2 .stream-spec-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.stream-editor-panel-v2 .stream-spec-card-row-v2{grid-template-columns:minmax(0,1fr) minmax(130px,.78fr);align-items:end}.stream-editor-panel-v2 .stream-spec-card-row-v2--triple{grid-template-columns:minmax(0,.82fr) minmax(112px,.9fr) minmax(136px,1.08fr)}.stream-editor-panel-v2 .stream-flow-grid-v2{grid-template-columns:minmax(120px,.8fr) minmax(0,1fr) minmax(140px,.9fr);align-items:end}}@media (width<=899px){.stream-condition-top-grid-v2,.stream-flow-grid-v2,.stream-spec-grid-v2,.stream-spec-card-row-v2,.stream-spec-card-row-v2--triple{grid-template-columns:1fr}}.stream-editor-title-row{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.stream-editor-title-input{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);min-width:180px;max-width:340px;height:36px;color:var(--ct-text,#0b1f4d);border-radius:10px;padding:0 12px;font-size:14px;font-weight:700}.stream-editor-title-input:focus{border-color:#4f83ffad;outline:none;box-shadow:0 0 0 3px #4f83ff29}.stream-connection-grid-v2--quad{grid-template-columns:repeat(2,minmax(0,1fr))}.stream-connection-grid-v2--quad .stream-connection-icon-v2--wide{grid-column:1/-1}.stream-warning-box--success{background:color-mix(in srgb, #22c55e 10%, var(--ct-surface,#fff))}.stream-normalization-box,.stream-warning-box{border:1px solid var(--ct-border,#d9e2f2);border-radius:12px;margin-top:10px;padding:10px 12px}.stream-normalization-box{background:color-mix(in srgb, #f59e0b 10%, var(--ct-surface,#fff))}.stream-warning-box{background:color-mix(in srgb, #2563eb 8%, var(--ct-surface,#fff))}.stream-warning-box--critical{border-color:color-mix(in srgb, #f97316 55%, var(--ct-border,#d9e2f2));background:color-mix(in srgb, #f97316 12%, var(--ct-surface,#fff))}.valve-consistency-banner{align-items:flex-start}.valve-consistency-banner .secondary-button{align-self:flex-start;margin-top:4px}.valve-consistency-modal__body{gap:14px}.valve-consistency-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.valve-consistency-grid__item{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:10px;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;display:flex}.valve-consistency-grid__item span{color:var(--ct-text-soft,#627494);font-size:12px}.valve-consistency-grid__item strong{overflow-wrap:anywhere;color:var(--ct-text,#0b1f4d);font-size:14px}.valve-consistency-modal__guidance{color:var(--ct-text,#0b1f4d);margin:0;font-size:13px;line-height:1.45}.stream-normalization-title{color:var(--ct-text,#0b1f4d);margin-bottom:8px;font-size:12px;font-weight:700}.stream-normalization-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;display:grid}.stream-normalization-row{background:var(--ct-surface-soft,#f8fbff);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.stream-normalization-row span{color:var(--ct-text-soft,#627494);font-size:12px}.stream-normalization-row strong{color:var(--ct-text,#0b1f4d);font-size:12px}.stream-warning-box{color:var(--ct-text,#0b1f4d);flex-direction:column;gap:4px;font-size:12px;display:flex}.component-splitter-header-title{margin-bottom:6px;display:block}.component-splitter-header-actions{justify-content:center;gap:6px;display:inline-flex}.component-splitter-header-action{min-width:32px;padding-inline:10px}:root[data-theme=dark] .stream-normalization-row{background:var(--ct-surface-soft,#16233f)}@media (width<=1280px){.stream-normalization-grid{grid-template-columns:1fr}.stream-editor-title-row{flex-wrap:wrap}.stream-editor-title-input{width:100%;max-width:none}}.separator-input-grid{align-items:end}.valve-input-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.separator-input-grid .hx-field-with-unit{grid-template-columns:minmax(0,1fr) 128px}.separator-input-grid .hx-field-unit-cell{background:0 0;border:0;border-radius:0;min-width:128px;padding:0}.separator-input-grid .separator-input-unit-select{width:128px;min-width:128px;max-width:128px}.separator-carryover-section{gap:12px;margin-top:14px;display:grid}.separator-carryover-model-row{grid-template-columns:repeat(4,minmax(118px,1fr));gap:8px;display:grid}.separator-carryover-radio{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);min-width:0;min-height:34px;color:var(--text-primary);cursor:pointer;border-radius:8px;align-items:center;gap:7px;padding:0 10px;font-size:12px;line-height:1.25;display:flex}.separator-carryover-radio:has(input:checked){border-color:var(--ct-primary,#2563eb);background:color-mix(in srgb, var(--ct-primary,#2563eb) 10%, var(--ct-surface,#fff));color:var(--ct-primary,#2563eb)}.separator-carryover-radio input{flex:none;margin:0}.separator-carryover-radio span{min-width:0}.separator-carryover-radio:has(input:disabled){opacity:.55}.separator-carryover-radio--inline{min-height:34px}.separator-carryover-controls{gap:12px;padding-top:2px;display:grid}.separator-carryover-setup-grid{grid-template-columns:minmax(220px,.9fr) minmax(220px,1.1fr);align-items:end;gap:12px;display:grid}.separator-carryover-value-grid{grid-template-columns:repeat(2,minmax(220px,1fr));align-items:end;gap:12px;display:grid}.separator-carryover-choice-group{gap:6px;min-width:0;display:grid}.separator-carryover-choice-group>span,.separator-carryover-basis-field>span{color:var(--text-secondary);font-size:12px;line-height:1.2}.separator-carryover-spec-row{grid-template-columns:repeat(2,minmax(92px,1fr));gap:8px;display:grid}.separator-carryover-basis-field select{width:100%;min-height:36px}.separator-carryover-controls .hx-field-with-unit{grid-template-columns:minmax(0,1fr) minmax(86px,104px)}.separator-carryover-controls .hx-field-unit-cell{min-width:86px;padding:0;overflow:hidden}.separator-carryover-unit-label,.separator-carryover-unit-select{min-width:100%;height:100%;color:var(--text-secondary);white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.separator-carryover-unit-select{width:100%;color:var(--text-primary);cursor:pointer;padding:0 8px}.separator-connection-layout{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;display:grid}.separator-connection-column{gap:10px;display:grid}.separator-connection-icon-v2{min-width:132px}.hx-input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.hx-input-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.hx-input-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}.hx-grid-span-full{grid-column:1/-1}.hx-compact-field{min-width:0}.hx-flow-pattern-preview{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:10px;gap:6px;margin-top:8px;padding:8px 10px;display:grid}.hx-flow-pattern-row{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:8px;display:grid}.hx-flow-pattern-label{color:var(--ct-text-soft,#627494);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:700}.hx-flow-pattern-arrow{width:100%;height:12px;overflow:visible}.hx-flow-pattern-arrow line,.hx-flow-pattern-arrow path{stroke-width:2.2px;stroke-linecap:round;fill:currentColor;stroke:currentColor}.hx-flow-pattern-arrow--shell{color:#1d4ed8}.hx-flow-pattern-arrow--tube{color:#ea580c}.hx-field-with-unit{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.hx-field-with-unit input{min-width:0}.hx-field-unit-cell{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);min-width:78px;color:var(--ct-text-soft,#627494);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:600;display:flex}.hx-field-unit-cell:has(.hx-field-unit-select){background:0 0;border:0;min-width:104px;padding:0}.hx-field-unit-select{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);min-width:92px;min-height:34px;color:var(--ct-text-soft,#627494);white-space:nowrap;border-radius:10px;padding:0 28px 0 10px;font-size:12px;font-weight:600}.hx-field-unit-cell .hx-field-unit-select{width:100%;min-width:104px;height:100%;min-height:36px}.hx-field-unit-select:disabled{opacity:.7;cursor:not-allowed}.hx-field-unit-select--fixed:disabled{opacity:1;color:var(--ct-text,#172b55)}.valve-output-results-grid .hx-field-with-unit{grid-template-columns:minmax(0,1fr) 112px}.valve-output-results-grid .hx-field-unit-cell:has(.hx-field-unit-select){width:112px;min-width:112px}.valve-output-results-grid .hx-field-unit-cell .hx-field-unit-select{width:100%;min-width:0}.valve-basis-toggle{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-height:36px;padding:4px;display:grid}.valve-basis-toggle button{min-width:0;min-height:28px;color:var(--ct-text-soft,#627494);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 10px;font-size:12px;font-weight:700}.valve-basis-toggle button.active{color:#fff;background:#2563eb;box-shadow:0 1px 3px #2563eb3d}.hx-inline-note{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);color:var(--ct-text-soft,#627494);border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.45}.hx-ks-note{margin-bottom:12px}.hx-chart-section{margin-top:12px}.hx-chart-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}.hx-chart-summary-card{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);border-radius:12px;padding:10px 12px}.hx-chart-summary-label{letter-spacing:.06em;text-transform:uppercase;color:var(--ct-text-soft,#627494);margin-bottom:6px;font-size:11px;font-weight:800}.hx-chart-summary-value{color:var(--ct-text,#0b1f4d);font-size:15px;font-weight:700}.hx-chart-panel{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);border-radius:12px;margin-bottom:10px;padding:10px 12px}.hx-chart-legend{color:var(--ct-text-soft,#627494);justify-content:center;align-items:center;gap:18px;margin-top:10px;font-size:13px;font-weight:600;display:flex}.hx-chart-legend-item{align-items:center;gap:8px;display:inline-flex}.hx-chart-legend-swatch{border-top:3px solid;width:18px;height:0}.hx-chart-legend-swatch--shell{color:#1d4ed8}.hx-chart-legend-swatch--tube{color:#ea580c}.stream-workbook-wrap{overscroll-behavior:contain;border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);border-radius:12px;max-height:380px;position:relative;overflow:auto}.stream-workbook-wrap .data-table{border-radius:0;overflow:visible}.stream-workbook-table{border-collapse:separate;border-spacing:0}.stream-workbook-table thead th{z-index:2;background:var(--ct-surface-soft,#f8fbff);box-shadow:inset 0 -1px 0 var(--ct-border,#d9e2f2);position:sticky;top:0}.stream-workbook-table th:first-child,.stream-workbook-table td:first-child{text-align:left}.stream-workbook-table thead th:first-child,.stream-workbook-data-row>td:first-child{z-index:1;background:var(--ct-surface,#fff);min-width:190px;max-width:240px;box-shadow:inset -1px 0 0 var(--ct-border,#d9e2f2);position:sticky;left:0}.stream-workbook-table thead th:first-child{z-index:3;background:var(--ct-surface-soft,#f8fbff)}.stream-workbook-table th:last-child,.stream-workbook-table td:last-child,.stream-workbook-table th:not(:first-child):not(:last-child),.stream-workbook-table td:not(:first-child):not(:last-child){text-align:right}.stream-workbook-table th:nth-child(2),.stream-workbook-table th:nth-child(3),.stream-workbook-table th:nth-child(4){min-width:150px}.stream-workbook-group-row td{color:var(--ct-primary,#2d64ff);border-top:1px solid var(--ct-border,#d9e2f2);box-shadow:inset 0 -1px 0 var(--ct-border,#d9e2f2);font-weight:800;background:var(--ct-surface-soft,#eef4ff)!important;text-align:left!important}.stream-workbook-group-row--calculated td{color:var(--ct-text-soft,#627494)}.stream-workbook-data-row--editable>td,.stream-workbook-data-row--editable>td:first-child{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 4%, var(--ct-surface,#fff))}.stream-workbook-value-input{text-align:right;box-sizing:border-box;border-color:color-mix(in srgb, var(--ct-primary,#2d64ff) 24%, var(--ct-border-strong,#c7d4ea));background:var(--ct-surface,#fff);border-radius:6px;width:100%;min-width:0;min-height:30px;padding:4px 8px;transition:border-color .15s,box-shadow .15s,background .15s;font-style:normal!important}.stream-workbook-value-input:hover,.stream-workbook-value-input:focus{border-color:var(--ct-primary,#2d64ff);box-shadow:0 0 0 2px color-mix(in srgb, var(--ct-primary,#2d64ff) 14%, transparent);outline:none}.stream-workbook-value-input.is-calculated{color:var(--ct-text,#0b1f4d)}.stream-workbook-value-input.is-user-defined{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 7%, var(--ct-surface,#fff))}.stream-workbook-unit-cell{white-space:nowrap}.stream-workbook-unit-select{width:116px;min-width:116px;max-width:116px}.stream-workbook-value-cell--default{color:var(--ct-primary,#2d64ff);font-style:italic;font-weight:400}:root[data-theme=dark] .stream-workbook-value-cell--default{color:#78a8ff;font-style:italic;font-weight:500}:root[data-theme=dark] .stream-workbook-wrap{background:var(--ct-surface,#111c34)}:root[data-theme=dark] .stream-workbook-table thead th{background:var(--ct-surface-muted,#1a2a49)}:root[data-theme=dark] .stream-workbook-table thead th:first-child,:root[data-theme=dark] .stream-workbook-data-row>td:first-child{background:var(--ct-surface,#111c34)}:root[data-theme=dark] .stream-workbook-table thead th:first-child{background:var(--ct-surface-muted,#1a2a49)}:root[data-theme=dark] .stream-workbook-group-row td{background:var(--ct-surface-muted,#1a2a49)!important}:root[data-theme=dark] .stream-workbook-data-row--editable>td,:root[data-theme=dark] .stream-workbook-data-row--editable>td:first-child{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 12%, var(--ct-surface,#111c34))}:root[data-theme=dark] .stream-workbook-value-input{background:var(--ct-surface,#111c34)}:root[data-theme=dark] .stream-workbook-value-input.is-user-defined{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 14%, var(--ct-surface,#111c34))}@media (width<=1280px){.separator-connection-layout{grid-template-columns:1fr}.separator-carryover-setup-grid,.separator-carryover-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.separator-connection-icon-v2{order:-1;min-width:0}.hx-input-grid--three,.hx-input-grid--four,.hx-chart-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){.stream-editor-sticky-header--material{grid-template-columns:1fr}:is(.stream-editor-sticky-header--material .stream-editor-main-tabs-v2--material,.stream-editor-sticky-header--material .stream-name-action-row-v2--material,.stream-editor-sticky-header--material>.stream-editor-subtabs-row--material,.stream-editor-sticky-header--material:has(>.stream-editor-subtabs-row--material:not(.stream-editor-subtabs-split-row)) .stream-name-action-row-v2--material){grid-area:auto/1;place-self:stretch stretch}.stream-editor-header-main-row,.stream-editor-header-main-row--material{align-items:stretch}.stream-name-field-v2{flex-basis:100%;grid-template-columns:1fr;row-gap:4px;max-width:none;margin-left:0}.stream-name-field-v2 input{max-width:none}.stream-editor-main-tabs-v2,.stream-editor-toolbar-actions--header{justify-content:flex-start}.stream-name-field-v2--material{grid-template-rows:auto 40px;grid-template-columns:1fr;row-gap:4px;width:100%}.stream-name-action-row-v2--material,.stream-name-action-row-v2--material .stream-name-field-v2--material{width:100%}.stream-name-field-v2--material input{width:100%;max-width:none}.hx-input-grid,.hx-input-grid--three,.hx-input-grid--four,.hx-chart-summary-grid,.separator-input-grid .hx-field-with-unit,.valve-input-grid,.separator-carryover-model-row,.separator-carryover-setup-grid,.separator-carryover-value-grid,.separator-carryover-controls .hx-field-with-unit,.hx-readonly-action-row,.hx-field-with-unit{grid-template-columns:1fr}.hx-field-unit-cell{justify-content:flex-start;min-height:34px}.separator-input-grid .hx-field-unit-cell{min-height:auto}.stream-define-from-stream-row{grid-template-columns:1fr}.stream-define-from-stream-action>span{display:none}.stream-define-from-stream-button{width:100%}}.section-composition-input{flex-direction:column;gap:8px;margin-top:6px;display:flex}.section-composition-input .composition-table-compact{flex:auto}.stream-editor-panel-v2 input[type=number],.property-panel-v2 input[type=number]{appearance:textfield}.stream-editor-panel-v2 input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stream-editor-panel-v2 input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.property-panel-v2 input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.property-panel-v2 input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stream-editor-header-main-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.stream-editor-header-main-row--material{grid-template-columns:auto minmax(0,1fr) auto;align-items:end}.stream-name-field-v2{grid-template-rows:none}.stream-name-field-v2--material{width:auto}.stream-editor-main-tabs-v2,.stream-editor-toolbar-actions--header{align-self:center;padding-top:0}.stream-editor-main-tabs-v2--material,.stream-editor-header-main-row--material .stream-editor-toolbar-actions--header{align-self:center}.stream-editor-status-badge{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface-soft,#f8fbff);min-height:34px;color:var(--ct-text-soft,#627494);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.stream-editor-status-badge--success{background:color-mix(in srgb, #22c55e 12%, var(--ct-surface,#fff));color:#15803d}.stream-editor-status-badge--neutral{background:color-mix(in srgb, #2563eb 10%, var(--ct-surface,#fff));color:#1d4ed8}.stream-editor-status-badge--warn{background:color-mix(in srgb, #f59e0b 12%, var(--ct-surface,#fff));color:#b45309}.stream-composition-sum-row{margin-top:2px}.composition-row-v2--sum .composition-component-readonly{font-weight:800}.stream-composition-sum-label{background:color-mix(in srgb, var(--ct-surface-soft,#f8fbff) 82%, #4f83ff 18%);align-items:center;gap:6px;display:flex}.hx-curve-family-wrap{max-height:320px}.hx-curve-family-table th:first-child,.hx-curve-family-table td:first-child{width:auto}.hx-curve-family-table th:nth-child(2),.hx-curve-family-table td:nth-child(2){text-align:right;width:170px;min-width:170px}.hx-curve-family-table th:nth-child(3),.hx-curve-family-table td:nth-child(3){text-align:center;width:190px;min-width:190px}.hx-curve-family-table th:last-child,.hx-curve-family-table td:last-child{width:160px;min-width:160px}.hx-curve-family-row.is-editing td{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 8%, var(--ct-surface,#fff))}.hx-curve-family-name-button{color:var(--ct-text,#0b1f4d);font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-weight:700}.hx-curve-family-name-button:hover{color:var(--ct-primary,#2d64ff)}.hx-curve-family-active-cell{text-align:center}.hx-curve-family-checkbox{justify-content:center;align-items:center;gap:8px;display:inline-flex}.hx-curve-family-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.hx-curve-family-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.hx-curve-family-icon-button{border:1px solid var(--ct-border-strong,#c7d4ea);background:var(--ct-surface,#fff);width:32px;height:32px;color:var(--ct-primary,#2d64ff);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.hx-curve-family-icon-button:hover:not(:disabled){border-color:var(--ct-primary,#2d64ff);background:color-mix(in srgb, var(--ct-primary,#2d64ff) 7%, var(--ct-surface,#fff))}.hx-curve-family-icon-button:disabled{cursor:not-allowed;opacity:.5}.hx-curve-editor-overlay{z-index:1400;pointer-events:none;position:fixed;inset:0}.hx-curve-editor-modal{pointer-events:auto;min-width:min(960px,100vw - 32px);max-width:calc(100vw - 16px);min-height:min(640px,100vh - 36px);max-height:calc(100vh - 16px)}.hx-curve-editor-header{border-bottom:1px solid var(--ct-border,#d9e2f2);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 14px;display:flex}.hx-curve-editor-header h3{margin:0}.hx-curve-editor-subtitle{color:var(--ct-text-soft,#627494);margin:6px 0 0;font-size:13px}.hx-curve-editor-body{flex-direction:column;gap:16px;min-height:0;padding:18px 20px 20px;display:flex;overflow:auto}.hx-curve-editor-dock-body{background:var(--ct-surface,#fff);padding:0;overflow:hidden}.hx-curve-editor-dock-body .hx-curve-editor-body{box-sizing:border-box;height:100%}.hx-curve-summary-body{flex-direction:column;min-height:0;display:flex}.hx-curve-summary-section{flex-direction:column;flex:auto;min-height:0;display:flex}.hx-curve-summary-chart-panel{flex:auto;min-height:0;margin-bottom:0;display:flex}.hx-curve-summary-chart-panel>.editable-line-chart{flex:auto;height:100%;min-height:0}.hx-curve-limit-toggle{align-items:center;gap:8px;min-height:34px;display:inline-flex}.hx-limit-curves-section{flex-direction:column;gap:12px;display:flex}.hx-limit-curves-head{align-items:center}.hx-limit-curves-head-controls{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.hx-limit-curves-margin-field{min-width:180px}.hx-limit-curves-margin-field .hx-field-with-unit{grid-template-columns:minmax(0,1fr) 58px}.hx-limit-curves-hint{color:var(--ct-text-soft,#627494);margin:-4px 0 0;font-size:13px;line-height:1.45}.hx-limit-curves-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.hx-limit-curve-card{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 2%, var(--ct-surface,#fff));border:1px solid #789ae147;border-radius:18px;flex-direction:column;gap:10px;padding:16px;display:flex}.hx-limit-curve-card-head{align-items:flex-start}.hx-limit-curve-card-head h3{margin:0}.hx-limit-curve-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:stretch;gap:10px;display:flex}.hx-limit-curve-mode-field{min-width:150px}.hx-limit-curve-toolbar-action{align-items:flex-end;padding-top:22px;display:flex}.hx-limit-curve-add-button{flex-shrink:0}.hx-limit-curve-table-wrap{max-height:280px}.hx-limit-curve-points-table th:first-child,.hx-limit-curve-points-table td:first-child,.hx-limit-curve-points-table th:nth-child(2),.hx-limit-curve-points-table td:nth-child(2){width:42%}.hx-limit-curve-points-table th:last-child,.hx-limit-curve-points-table td:last-child{width:16%;min-width:56px}.hx-limit-curve-delete-button{margin-inline:auto}.hx-limit-curve-empty-cell{text-align:center;color:var(--ct-text-soft,#627494);padding:18px 12px}.hx-curve-editor-meta{align-items:end}.hx-curve-editor-meta .hx-field-with-unit{grid-template-columns:minmax(0,1fr) 128px}.hx-curve-editor-meta .hx-field-unit-cell{background:0 0;border:0;border-radius:0;min-width:128px;padding:0}.hx-curve-editor-meta .hx-field-unit-select{width:128px;min-width:128px;max-width:128px}.hx-curve-editor-toggle{align-items:center;gap:8px;min-height:34px;display:inline-flex}.hx-curve-editor-layout{grid-template-columns:minmax(360px,430px) minmax(0,1fr);grid-template-areas:"points chart";align-items:stretch;gap:18px;min-height:0;display:grid}.hx-curve-editor-charts{flex-direction:column;gap:16px;display:flex}.hx-curve-points-wrap{flex:auto;min-height:0;max-height:none;overflow:hidden auto}.hx-curve-editor-points-section{flex-direction:column;grid-area:points;justify-content:flex-start;align-self:stretch;min-height:0;display:flex}.hx-curve-points-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.hx-curve-editor-chart-section{flex-direction:column;grid-area:chart;justify-content:flex-start;align-self:stretch;min-height:0;display:flex}.hx-curve-editor-chart-head{align-items:flex-start}.hx-curve-editor-chart-switcher{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.hx-curve-editor-chart-switcher .tab-button{min-height:34px;padding:8px 12px}.hx-curve-editor-chart-panel{flex:auto;min-height:0;margin-bottom:0}.hx-curve-points-table{table-layout:fixed;width:100%;min-width:0}.hx-curve-points-table th,.hx-curve-points-table td{vertical-align:middle;min-width:0;padding:7px 8px}.hx-curve-points-table thead th{white-space:nowrap;font-size:12px;line-height:1.2}.hx-curve-points-table th>div{margin-top:6px}.hx-curve-points-table th:first-child,.hx-curve-points-table td:first-child,.hx-curve-points-table th:nth-child(2),.hx-curve-points-table td:nth-child(2){width:32%;min-width:0}.hx-curve-points-table th:nth-child(3),.hx-curve-points-table td:nth-child(3){width:20%;min-width:0}.hx-curve-points-table .ct-numeric-input,.hx-curve-points-table select{color:#173561;box-sizing:border-box;background:#fffffff0;border:1px solid #6784bb38;border-radius:10px;width:100%;min-width:0;height:36px;padding:0 10px}.hx-curve-points-table .ct-numeric-input:focus,.hx-curve-points-table select:focus{border-color:#4f83ff85;outline:none;box-shadow:0 0 0 3px #4f83ff24}.hx-curve-points-table td:last-child{padding-left:4px;padding-right:4px}.hx-curve-points-table th:first-child,.hx-curve-points-table td:first-child,.hx-curve-points-table th:nth-child(2),.hx-curve-points-table td:nth-child(2),.hx-curve-points-table th:nth-child(3),.hx-curve-points-table td:nth-child(3){text-align:right}.hx-curve-points-table th:last-child,.hx-curve-points-table td:last-child{text-align:center;width:16%;min-width:54px}.hx-curve-point-action-button{width:32px;min-width:32px;height:32px;margin:0 auto;padding:0}.hx-curve-point-toolbar-button{color:#0000;font-size:0;line-height:0;position:relative}.hx-curve-point-toolbar-button:before{content:"";background-color:var(--ct-primary,#2d64ff);width:14px;height:14px;margin:auto;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}.hx-curve-points-toolbar .hx-curve-point-toolbar-button:first-child:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E")}.hx-curve-points-toolbar .hx-curve-point-toolbar-button:last-child:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E")}:root[data-theme=dark] .hx-curve-family-row.is-editing td{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 16%, var(--ct-surface,#111c34))}:root[data-theme=dark] .hx-curve-family-icon-button,:root[data-theme=dark] .hx-curve-editor-modal{background:var(--ct-surface,#111c34)}:root[data-theme=dark] .hx-curve-points-table .ct-numeric-input,:root[data-theme=dark] .hx-curve-points-table select{color:#e5efff;background:#121f38e6;border-color:#89a1d342}:root[data-theme=dark] .hx-limit-curve-table-wrap{background:#0b172cc7;border-color:#7895cc33}:root[data-theme=dark] .hx-limit-curve-points-table th{color:#d7e6ff;background:#1d3056eb;border-color:#7895cc38}:root[data-theme=dark] .hx-limit-curve-points-table td{color:#e5efff;background:#0e1a30e0;border-color:#7895cc2e}:root[data-theme=dark] .hx-limit-curve-points-table tbody tr:nth-child(2n) td{background:#111f38f0}:root[data-theme=dark] .hx-limit-curve-empty-cell{color:#cedfffc7}@media (width<=1080px){.hx-curve-editor-layout{grid-template-columns:1fr;grid-template-areas:"points""chart"}.hx-curve-points-wrap{max-height:360px}.hx-limit-curves-grid{grid-template-columns:1fr}}@media (width<=820px){.hx-curve-editor-modal{min-width:calc(100vw - 24px);min-height:calc(100vh - 32px)}.hx-curve-family-table th:nth-child(2),.hx-curve-family-table td:nth-child(2),.hx-curve-family-table th:nth-child(3),.hx-curve-family-table td:nth-child(3),.hx-curve-family-table th:last-child,.hx-curve-family-table td:last-child{width:auto;min-width:0}}.stream-composition-sum-icon{width:18px;height:18px;color:var(--ct-primary,#2d64ff);background:#4f83ff2e;border-radius:999px;justify-content:center;align-items:center;font-size:12px;font-weight:900;line-height:1;display:inline-flex}.stream-composition-sum-value{border:1px solid var(--ct-border,#d9e2f2);background:var(--ct-surface,#fff);border-radius:10px;justify-content:flex-end;align-items:center;min-height:34px;padding:8px 10px;font-weight:800;display:flex}.stream-composition-sum-row--ok .stream-composition-sum-value{color:#15803d}.stream-composition-sum-row--warn .stream-composition-sum-value{color:#b45309}:root[data-theme=dark] .stream-editor-status-badge--success{color:#4ade80}:root[data-theme=dark] .stream-editor-status-badge--neutral{color:#93c5fd}:root[data-theme=dark] .stream-editor-status-badge--warn,:root[data-theme=dark] .stream-composition-sum-row--warn .stream-composition-sum-value{color:#fbbf24}:root[data-theme=dark] .stream-composition-sum-row--ok .stream-composition-sum-value{color:#4ade80}.separator-field-hidden{display:none}.generic-imported-hysys-section{gap:12px}.generic-imported-hysys-panel{height:auto;margin-top:10px}.generic-imported-hysys-count{background:color-mix(in srgb, var(--ct-primary,#2d64ff) 12%, transparent);min-width:28px;min-height:24px;color:var(--ct-primary,#2d64ff);border-radius:999px;justify-content:center;align-items:center;padding:2px 8px;font-size:12px;font-weight:800;display:inline-flex}.generic-imported-hysys-meta{border:1px solid var(--ct-border,#d9e2f2);color:var(--ct-text-muted,#64748b);background:#94a3b814;border-radius:10px;padding:9px 10px;font-size:12px;font-weight:700}.generic-imported-hysys-list{flex-direction:column;gap:8px;max-height:360px;padding-right:2px;display:flex;overflow:auto}.generic-imported-hysys-row{background:#ffffffb3;border:1px solid #94a3b838;border-radius:10px;grid-template-columns:minmax(160px,.9fr) minmax(0,1.1fr);align-items:start;gap:10px;min-width:0;padding:10px;display:grid}.generic-imported-hysys-name,.generic-imported-hysys-value{overflow-wrap:anywhere;min-width:0}.generic-imported-hysys-name{flex-direction:column;gap:3px;display:flex}.generic-imported-hysys-name strong,.generic-imported-hysys-value{color:var(--ct-text,#0f172a);font-size:13px;font-weight:800}.generic-imported-hysys-name small,.generic-imported-hysys-value span{color:var(--ct-text-muted,#64748b);font-size:11px;font-weight:700}.generic-imported-hysys-status{width:fit-content;color:var(--ct-text-muted,#64748b);text-transform:uppercase;background:#94a3b81a;border:1px solid #94a3b847;border-radius:999px;justify-content:center;align-items:center;padding:2px 7px;font-size:10px;font-weight:900;line-height:1.3;display:inline-flex}.generic-imported-hysys-status-user_specified{color:#1d4ed8;background:#2563eb1a;border-color:#2563eb47}.generic-imported-hysys-status-default{color:#047857;background:#0596691a;border-color:#05966947}.generic-imported-hysys-status-calculated{color:#6d28d9;background:#7c3aed1a;border-color:#7c3aed42}.generic-imported-hysys-value{text-align:right;flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}:root[data-theme=dark] .generic-imported-hysys-meta,:root[data-theme=dark] .generic-imported-hysys-row{background:#121f38c2;border-color:#89a1d338}:root[data-theme=dark] .generic-imported-hysys-name strong,:root[data-theme=dark] .generic-imported-hysys-value{color:#e5efff}:root[data-theme=dark] .generic-imported-hysys-name small,:root[data-theme=dark] .generic-imported-hysys-value span,:root[data-theme=dark] .generic-imported-hysys-meta{color:#cedfffc2}:root[data-theme=dark] .generic-imported-hysys-status{color:#e2e8f0d1;background:#94a3b81f;border-color:#94a3b83d}:root[data-theme=dark] .generic-imported-hysys-status-user_specified{color:#bfdbfe;background:#60a5fa29;border-color:#60a5fa52}:root[data-theme=dark] .generic-imported-hysys-status-default{color:#bbf7d0;background:#34d39924;border-color:#34d39952}:root[data-theme=dark] .generic-imported-hysys-status-calculated{color:#ddd6fe;background:#a78bfa29;border-color:#a78bfa52}@media (width<=760px){.generic-imported-hysys-row{grid-template-columns:1fr}.generic-imported-hysys-value{text-align:left;justify-content:flex-start}}
