:root{font-family:Inter,'Segoe UI',Arial,sans-serif;color:#304959;background:#e9eef2;font-synthesis:none;--navy:#203f55;--blue:#267bae;--border:#d6e0e7;--muted:#78909f;--bottom-height:214px;--right-width:272px;--left-width:202px;font-size:12px;--shadow:0 8px 28px #163b5524}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0;background:transparent}button:disabled{opacity:.38;cursor:default}button:hover:not(:disabled){background:#e6f0f7}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #5aa9d8;outline-offset:1px}button svg{pointer-events:none}button:active:not(:disabled){transform:translateY(.3px)}button[hidden],div[hidden],canvas[hidden]{display:none!important}a{color:#267bad}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox]{accent-color:#2b83b4}#app{height:100dvh;display:flex;flex-direction:column;min-width:360px}
.titlebar{height:39px;flex-shrink:0;background:var(--navy);color:#e9f1f6;display:flex;align-items:center;padding:0 13px;gap:10px;user-select:none}.brandmark{width:25px;height:27px;color:#a4cfda}.brand{font-weight:650;letter-spacing:2.1px;font-size:13px;display:flex;align-items:baseline;gap:7px}.brand span{font-size:9px;font-weight:400;letter-spacing:1.8px;color:#a9c1ce}.title-divider{height:17px;width:1px;background:#ffffff27;margin:0 9px}.project-title{color:#d8e6ee;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding:6px 5px}.titlebar button:hover{background:#ffffff14;color:#fff}.title-spacer{flex:1}#unsaved-mark{font-size:8px;color:#9ab9cb}.local-badge{font-size:8px;letter-spacing:1.25px;color:#a9c1cf;display:flex;align-items:center;gap:7px}.local-badge i{width:5px;height:5px;border-radius:50%;background:#9bcbb9}.title-action{color:#c4d8e3;font-size:17px;line-height:24px;width:25px;border-radius:3px}
.menu-tabs{height:33px;min-width:0;overflow-x:auto;overflow-y:hidden;display:flex;gap:4px;align-items:stretch;background:#fafcfd;border-bottom:1px solid var(--border);padding-left:10px;flex-shrink:0}.menu-tabs>button{flex-shrink:0;padding:0 13px;font-size:11px;border-bottom:2px solid transparent;white-space:nowrap}.menu-tabs>button.active{color:#196b9e;border-bottom-color:#257cb1;background:#eaf2f8;font-weight:600}.menu-tabs>button[data-menu=file]{color:#2c759f}.menu-spacer{flex:1}.menu-tabs #model-caption{font-size:8px;letter-spacing:1px;align-self:center;color:#8397a4;margin-right:15px}.menu-tabs .example-link{font-size:10px;color:#718b9c;margin-right:8px}
.ribbon{height:79px;flex-shrink:0;background:linear-gradient(#fff,#f4f7fa);display:flex;padding:7px 12px 4px;gap:10px;border-bottom:1px solid #cddbe5;box-shadow:0 1px 4px #223d4e09;overflow-x:auto}.ribbon-group{display:flex;align-items:flex-start;gap:2px;position:relative;padding:0 12px 13px 0;border-right:1px solid #dfe6eb;flex-shrink:0}.ribbon-group:last-child{border-right:0}.ribbon-group>.group-label{position:absolute;bottom:-1px;left:0;right:12px;font-size:8px;letter-spacing:.7px;text-align:center;text-transform:uppercase;color:#8a9da9}.ribbon-btn{min-width:45px;height:45px;padding:2px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:4px;font-size:10px;white-space:nowrap}.ribbon-btn.active{background:#dcecf7;color:#156b9d;box-shadow:inset 0 0 0 1px #c0dced}.ribbon-btn .ricon{font-family:'Segoe UI Symbol',system-ui;font-size:20px;line-height:22px;color:#587b92;min-width:22px;text-align:center}.ribbon-btn svg{width:25px;height:25px}.ribbon-stack{display:flex;flex-direction:column;gap:1px}.ribbon-small{height:24px;display:flex;align-items:center;gap:7px;padding:2px 8px;font-size:10px;border-radius:3px}.ribbon-small .ricon{font-size:14px;color:#68879a}.ribbon-run{margin:4px 6px 0 0;background:#2f7c64!important;color:white!important;display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #256d58;border-radius:4px;font-weight:600;font-size:11px;box-shadow:0 2px 3px #215e4420;white-space:nowrap}.ribbon-run:hover{filter:brightness(1.08)}.ribbon-run .play{font-size:12px;color:#d7f3e6}.ribbon-status{font-size:10px;color:#77909c;align-self:center;margin-left:auto;white-space:nowrap;padding-right:12px}
.app-body{flex:1;min-height:0;display:grid;grid-template-rows:minmax(190px,1fr) 5px var(--bottom-height)}.workspace{display:grid;grid-template-columns:var(--left-width) minmax(0,1fr) var(--right-width);min-height:0;overflow:hidden}.explorer-panel{background:#f6f9fb;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.panel-title{height:33px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#edf3f7;font-size:10px;font-weight:600;letter-spacing:.1px;border-bottom:1px solid var(--border);flex-shrink:0}.panel-title button{font-size:16px;color:#90a0ac}.explorer{flex:1;overflow:auto;padding:12px 7px;font-size:11px}.tree-project{padding:4px 7px 12px;font-weight:600;display:flex;gap:7px;align-items:center;color:#3c5c6f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-project i{color:#3b8eb7;font-style:normal}.tree-item{display:flex;width:100%;align-items:center;gap:7px;min-height:29px;padding:5px 8px;border-radius:3px;text-align:left;white-space:nowrap;overflow:hidden}.tree-item .tree-symbol{font-size:13px;width:16px;color:#7392a5;text-align:center;flex-shrink:0}.tree-item .pill{margin-left:auto;font-size:9px;color:#7b95a4;background:#e5edf3;border-radius:3px;padding:2px 5px}.tree-label{overflow:hidden;text-overflow:ellipsis}.tree-section{color:#7c909c;font-size:9px;text-transform:uppercase;letter-spacing:.8px;padding:16px 7px 7px;display:flex;justify-content:space-between}.tree-unit{padding-left:13px;font-size:10px;min-height:27px}.tree-unit .tree-code{min-width:40px;font-weight:500;color:#486b82}.tree-unit .tree-label{font-size:9px;color:#8a9da8}.tree-item.selected{background:#dcecf6;color:#196791;box-shadow:inset 2px 0 #318abe}.tree-item.selected .tree-code{color:#176c9f}.tree-led{width:5px;height:5px;background:#b9cbd5;border-radius:50%;flex-shrink:0;margin-right:3px}.tree-led.solved{background:#6b9b87}.tree-led.error{background:#ce6868}.explorer-footer{border-top:1px solid var(--border);padding:13px 14px;flex-shrink:0}.caption{font-size:8px;letter-spacing:1.1px;color:#8399a7;font-weight:600}.explorer-footer button{display:flex;align-items:center;width:100%;gap:7px;font-size:10px;padding:8px 0;text-align:left}.explorer-footer button span:last-child{margin-left:auto;color:#8ba3b2}.package-dot{background:#5695b3;border-radius:2px;width:7px;height:7px}.explorer-footer p{font-size:9px;line-height:1.7;margin:0;color:#96a6b0}
.flowsheet-panel{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fcfdfe}.document-tab{height:33px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--border);padding:0 12px;background:white;flex-shrink:0;white-space:nowrap}.document-tab b{font-size:10px;font-weight:600}.sheet-icon{color:#4285aa;font-size:14px}.tab-type{font-size:9px;color:#9eafb9}.document-tab button{color:#7d98a8;font-size:16px;padding:2px 5px}#objects-count{font-size:9px;color:#9aaab5}.stage{flex:1;min-height:0;position:relative;overflow:hidden;touch-action:none;outline:none}.stage>canvas:not(#minimap){position:absolute;width:100%;height:100%;inset:0}.stage.hand{cursor:grab}.stage.hand:active{cursor:grabbing}.stage.connect{cursor:crosshair}.stage.place{cursor:copy}.canvas-tools{position:absolute;left:12px;top:16px;padding:4px;background:#ffffffed;border:1px solid #d4e1e9;border-radius:5px;box-shadow:0 2px 8px #1e405512;display:flex;flex-direction:column;gap:2px;z-index:3}.canvas-tools button{font-family:system-ui;font-size:18px;height:27px;width:27px;border-radius:3px;color:#7893a3}.canvas-tools button.active{background:#e0edf7;color:#2279ad}.canvas-tools>span{height:1px;background:#e4ebf0;margin:3px 2px}.solve-badge{position:absolute;top:17px;right:19px;display:flex;align-items:center;gap:7px;font-size:9px;background:#ffffffee;color:#7c919f;border:1px solid #dce5ea;border-radius:20px;padding:7px 11px;box-shadow:0 1px 4px #173c5006;pointer-events:none}.solve-badge i{width:5px;height:5px;border-radius:50%;background:#94aebd}.solve-badge.ok{background:#f1f8f5;color:#57836e;border-color:#d8e8df}.solve-badge.ok i{background:#548e72}.solve-badge.error{background:#fff2ef;color:#ba7466;border-color:#f0d6cf}.solve-badge.error i{background:#c47764}.solve-badge.running i{background:#c99e47;animation:pulse .7s infinite alternate}.placement-hint{position:absolute;top:18px;left:50%;transform:translateX(-50%);background:#235f83;color:white;border-radius:4px;padding:8px 14px;box-shadow:var(--shadow);z-index:4;white-space:nowrap;font-size:10px;pointer-events:none}.canvas-legend{position:absolute;bottom:14px;left:17px;display:flex;gap:15px;font-size:8px;color:#8c9eaa;pointer-events:none}.canvas-legend span{display:flex;gap:5px;align-items:center}.canvas-legend i{width:12px;height:2px}.canvas-legend .liquid{background:#237f8d}.canvas-legend .vapor{background:#c49043}.canvas-legend .mixed{background:#7777b5}.canvas-footer{position:absolute;right:18px;bottom:13px;display:flex;gap:13px;color:#9dabb4;font-size:8px;letter-spacing:.55px;pointer-events:none}#minimap{position:absolute;width:130px;height:75px;right:17px;bottom:37px;border:1px solid #dce4eb;border-radius:4px;background:#ffffffd9;opacity:.85;cursor:crosshair;z-index:2}.hover-card{position:absolute;background:#fffffffa;border:1px solid #cbdde8;box-shadow:var(--shadow);border-radius:5px;padding:11px 13px;z-index:10;pointer-events:none;width:215px;font-size:10px;line-height:1.7}.hover-card strong{font-size:11px;color:#2d607b}.hover-card .hover-grid{display:grid;grid-template-columns:1fr auto;gap:1px 15px;margin-top:6px;color:#75909f}.hover-card .hover-grid b{color:#3d5b6c;font-weight:500;text-align:right}
.properties-panel{background:#fbfcfd;border-left:1px solid var(--border);min-width:0;display:flex;flex-direction:column;overflow:hidden}.side-tabs{height:33px;flex-shrink:0;display:flex;border-bottom:1px solid var(--border);background:#edf3f7}.side-tabs button{font-size:10px;padding:0 14px;border-bottom:2px solid transparent}.side-tabs button.active{border-bottom-color:#3a8bb4;background:#fbfcfd;color:#286c94;font-weight:600}.inspector{padding:16px 14px;overflow:auto;flex:1;min-height:0}.inspector-empty{text-align:center;color:#8ca0ac;line-height:1.7;padding:40px 10px}.inspector-empty .big-symbol{font-size:35px;color:#b6ccd9;margin-bottom:15px}.selection-head{display:flex;gap:9px;align-items:center;margin-bottom:16px}.selection-icon{width:47px;height:51px;background:#edf4f8;border:1px solid #dfe9ef;border-radius:5px;padding:5px;display:flex;align-items:center;justify-content:center}.selection-icon svg{width:100%;height:100%}.selection-head h2{font-size:15px;margin:0 0 4px;font-weight:650;color:#345d75}.selection-head p{margin:0;color:#8ba0ad;font-size:9px}.property-section{border-top:1px solid #e1e8ed;padding-top:13px;margin-top:15px}.section-label{font-size:8px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#8097a5;margin-bottom:10px}.property-row{display:grid;grid-template-columns:1fr 98px;gap:10px;align-items:center;margin:9px 0}.property-row label{font-size:10px;color:#6c8798;line-height:1.4}.property-row input,.property-row select{width:100%;min-width:0;border:1px solid #cddce6;background:white;border-radius:3px;padding:6px 7px;font-size:10px;color:#355d74;outline-offset:0;line-height:1.2}.property-row .field-wrap{position:relative}.property-row .field-wrap input{padding-right:6px;text-align:right}.property-row .field-unit{display:block;text-align:right;font-size:8px;color:#9babba;margin-top:3px}.property-row.wide{grid-template-columns:1fr}.property-row.wide input{font-size:11px}.property-row.wide select{padding:7px}.property-row.wide label{font-size:9px}.property-row input[aria-invalid=true]{border-color:#ca7163;background:#fff6f4}.property-note{font-size:9px;line-height:1.7;color:#96a6b0;background:#f1f5f8;border-radius:4px;padding:9px 10px;margin-top:12px}.property-note.warning{background:#f8f2e9;color:#a28659}.result-kv{display:flex;justify-content:space-between;gap:9px;font-size:10px;padding:6px 0}.result-kv span{color:#8499a8}.result-kv b{font-weight:500;font-variant-numeric:tabular-nums;color:#45677b}.property-action{display:block;width:100%;padding:8px;margin-top:7px;border:1px solid #d4e0e9;background:#edf5fa;border-radius:3px;font-size:10px;color:#397796}.property-action.danger{background:#fbf3f1;color:#af786e;border-color:#ecddd8}.inspector-footer{padding:11px 13px;border-top:1px solid #e1e8ed;color:#92a6b3;background:#f4f7fa;line-height:1.6;font-size:8px;flex-shrink:0}.composition-inputs .property-row{margin:6px 0}.palette{padding:11px;overflow:auto;flex:1}.palette-search{border:1px solid #d3dfe7;background:white;border-radius:4px;width:100%;padding:8px 9px;font-size:10px;margin-bottom:8px}.palette-group-title{font-size:8px;letter-spacing:1px;color:#90a4b1;text-transform:uppercase;margin:12px 3px 7px;font-weight:600}.palette-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.palette-unit{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:68px;padding:7px 3px;border:1px solid #dbe5ec;background:#fff;border-radius:4px;font-size:9px;color:#728d9e;text-align:center}.palette-unit svg{width:43px;height:37px}.palette-unit:hover{border-color:#7eb4d0!important;box-shadow:0 1px 4px #267bac11}.palette-unit.armed{background:#e6f1f8;border-color:#82b9d7}
.bottom-resizer{background:#e3ebf0;border-top:1px solid #cfdce5;border-bottom:1px solid #d3dfe7;cursor:ns-resize;position:relative}.bottom-resizer:after{content:'';position:absolute;width:29px;height:2px;left:50%;top:1px;border-radius:2px;background:#b2c4cf}.bottom-panel{background:white;display:flex;flex-direction:column;min-height:0;overflow:hidden}.result-tabs{height:34px;flex-shrink:0;display:flex;align-items:stretch;background:#f2f6f9;border-bottom:1px solid #d6e1e9;padding:0 9px;gap:4px;overflow-x:auto;white-space:nowrap}.result-tabs>button{font-size:10px;padding:0 12px;border-bottom:2px solid transparent;color:#7d93a2}.result-tabs>button.active{border-bottom-color:#398db9;background:white;color:#316f96;font-weight:600}.result-tabs .text-button{font-size:9px;padding:0 8px}.result-tabs #diagnostic-count{font-size:8px;padding:1px 4px;background:#e4eaf0;border-radius:7px;margin-left:3px;color:#8696a3}.result-content{overflow:auto;min-height:0;flex:1;background:#fff}.data-table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap;font-size:10px;font-variant-numeric:tabular-nums}.data-table th,.data-table td{border-bottom:1px solid #e6edf2;border-right:1px solid #edf1f5;padding:7px 12px;text-align:right;line-height:1.25}.data-table thead th{position:sticky;top:0;z-index:2;background:#f8fafc;color:#55788f;font-weight:500;min-width:105px;font-size:10px}.data-table th:first-child,.data-table td:first-child{position:sticky;left:0;z-index:1;background:#fafcfd;text-align:left;color:#7992a3;min-width:171px;font-size:10px;border-right:1px solid #dde7ee}.data-table thead th:first-child{z-index:3;color:#4e6f84}.data-table thead small{display:block;font-size:8px;color:#9caebb;font-weight:400;margin-top:3px}.data-table .selected-col{background:#eef6fb}.data-table .selected-col button{color:#2c83b1}.data-table tbody tr:hover td{background:#f5f9fc}.data-table td{color:#526f81}.data-table .units-label{font-size:8px;color:#a6b5bf;float:right;padding-left:10px}.data-table .group-row td{background:#f2f6f9;font-size:8px;letter-spacing:.7px;text-transform:uppercase;font-weight:600;color:#8ca0ad}.data-table button{padding:0;color:inherit}.empty-result{display:flex;align-items:center;justify-content:center;height:100%;gap:14px;color:#98aab5;font-size:11px}.empty-result button{color:#337da4;border:1px solid #cddfe9;padding:7px 12px;border-radius:3px;background:#f0f7fb}.diagnostic-list{padding:7px 12px}.diagnostic-item{display:flex;align-items:flex-start;gap:9px;padding:7px 9px;font-size:10px;line-height:1.5;border-bottom:1px solid #f0f3f6;color:#8093a0;text-align:left;width:100%}.diagnostic-item .severity{width:17px;flex-shrink:0;font-size:12px;text-align:center}.diagnostic-item.success{color:#548269}.diagnostic-item.warning .severity{color:#c0a46c}.diagnostic-item.error{color:#b06b60}.notes-editor{width:100%;height:100%;min-height:130px;border:0;padding:17px 21px;resize:none;color:#627e8f;font-size:11px;line-height:1.8;outline:none}.balance-strip{display:flex;gap:10px;padding:13px 15px 8px;flex-wrap:wrap}.balance-card{background:#f7fafc;border:1px solid #e0e9ef;padding:9px 14px;border-radius:4px;min-width:175px}.balance-card span{display:block;font-size:8px;color:#94a6b1;text-transform:uppercase;letter-spacing:.8px;margin-bottom:6px}.balance-card b{font-size:15px;font-weight:500;color:#48748d}.balance-card.good b{color:#5b8d76}.balance-card small{font-size:9px;margin-left:5px;color:#8aa0ad}.plot-container{padding:12px 18px;display:flex;align-items:center;justify-content:center;min-height:145px}.plot-container svg{max-width:100%;width:800px;height:180px}.statusbar{height:25px;display:flex;align-items:center;gap:15px;padding:0 12px;border-top:1px solid #c8d8e3;background:#eaf1f6;color:#7e95a5;font-size:9px;flex-shrink:0;white-space:nowrap;user-select:none}.statusbar>span:not(:first-child){padding-left:15px;border-left:1px solid #d1dfe9}.statusbar button{font-size:9px;color:#5c839b;padding:4px 7px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#80a991;margin-right:6px}#status-text{color:#719182;overflow:hidden;text-overflow:ellipsis;max-width:50vw}#render-stats{min-width:145px}.toast{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);background:#254f69;color:#f0f6fa;border:1px solid #527990;border-radius:5px;box-shadow:var(--shadow);padding:11px 18px;z-index:1000;max-width:90vw;font-size:11px;line-height:1.5}.toast.error{background:#855748;border-color:#aa7d6d}.context-menu{position:fixed;z-index:100;background:#fff;border:1px solid #cedee8;padding:5px;border-radius:5px;box-shadow:var(--shadow);min-width:165px}.context-menu button{display:block;width:100%;padding:8px 12px;text-align:left;font-size:11px;border-radius:3px}.context-menu hr{border:0;border-top:1px solid #e8edf1;margin:3px}
dialog{border:1px solid #b9d0df;border-radius:8px;padding:0;width:min(940px,94vw);max-height:88dvh;box-shadow:0 25px 90px #152f4b55;color:#496a80;background:#fcfdfe}dialog::backdrop{background:#173a5154;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:21px 25px 17px;background:#f5f9fc;border-bottom:1px solid #dce6ee}.modal-head #modal-eyebrow{font-size:8px;color:#89a0b0;letter-spacing:1.7px}.modal-head h2{font-size:20px;font-weight:500;color:#2f5e7d;margin:7px 0 0}.modal-head button{font-size:26px;color:#90a7b7;width:31px;height:31px;border-radius:5px}.modal-body{padding:20px 25px;overflow:auto;max-height:calc(88dvh - 155px);font-size:11px;line-height:1.65}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 25px;border-top:1px solid #dce6ee;background:#f5f9fc}.modal-footer .footer-note{margin-right:auto;font-size:9px;color:#97aab7}.btn{padding:8px 16px;border-radius:4px;font-size:11px;border:1px solid #ccdde8;background:white;color:#5b7e95}.btn.primary{background:#2b7da8;color:#fff;border-color:#216e98}.btn.primary:hover{background:#246f98}.btn.danger{color:#ad7267}.modal-body h3{font-size:12px;color:#47758f;font-weight:600;margin:15px 0 10px}.modal-body p{color:#7891a2;margin:8px 0 15px}.modal-body code{background:#edf3f8;padding:2px 5px;border-radius:3px;font-size:10px}.modal-body input:not([type=checkbox]),.modal-body select,.modal-body textarea{border:1px solid #cbdde8;background:#fff;padding:7px 9px;border-radius:4px;color:#426b85;min-width:0;font-size:11px}.modal-body textarea{width:100%;line-height:1.7;font-family:ui-monospace,'Cascadia Code',monospace;resize:vertical}.modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}.modal-form-grid label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#809bad}.modal-form-grid label.checkbox-row{flex-direction:row;align-items:center;gap:8px}.modal-form-grid .full{grid-column:1/-1}.callout{background:#edf5fa;padding:12px 16px;border-left:3px solid #7faac1;border-radius:3px;color:#6b8ba0;font-size:10px;margin:10px 0 17px;line-height:1.7}.callout.warning{background:#faf4ea;border-color:#c8b079;color:#978563}.component-table{width:100%;border-collapse:collapse;font-size:10px;line-height:1.5}.component-table th{background:#f0f5f8;color:#7b97a9;text-align:left;font-weight:500;padding:8px}.component-table td{padding:7px 8px;border-bottom:1px solid #e6edf2;color:#66879c}.component-table tr:has(input:checked){background:#f3f8fc}.component-table input[type=number]{width:72px;padding:4px!important;font-size:10px!important}.component-table .editable-prop{max-width:70px}.search-bar{display:flex;gap:9px;margin-bottom:14px}.search-bar>input{flex:1}.example-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.example-card{border:1px solid #d5e3ec;background:#f8fbfd;border-radius:6px;padding:19px;text-align:left;display:flex;gap:17px;align-items:center}.example-card svg{width:56px;height:70px;flex-shrink:0}.example-card h3{margin:0 0 7px;font-size:13px}.example-card p{margin:0;font-size:10px;color:#8ba2b2}.metric-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px}.metric-list>div{display:flex;justify-content:space-between;background:#f2f7fa;padding:8px 11px;border-radius:3px;font-size:10px}.metric-list span{color:#8ba0ae}.metric-list b{font-weight:500;color:#49778f}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.shortcut{padding:7px 0;border-bottom:1px solid #e5edf3;display:flex;justify-content:space-between;color:#7993a5;font-size:10px}.shortcut kbd{font-family:inherit;font-size:10px;padding:1px 6px;background:#edf4f8;border:1px solid #d8e6f0;border-radius:3px;color:#4d7691}.report-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.report-heading h3{font-size:15px;margin:0}.report-heading span{font-size:10px;color:#8fa4b2}.modal-body .data-table{margin-top:10px}.modal-body .data-table th,.modal-body .data-table td{padding:7px 9px;font-size:10px}.verify-result{padding:5px 10px;border-bottom:1px solid #edf2f6;display:flex;gap:8px;font-size:10px}.verify-result.pass{color:#6b957f}.verify-result.fail{color:#b66a5b}.sensitivity-chart{height:235px!important;width:100%!important}.sensitivity-results{max-height:220px;overflow:auto}.inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.progress-line{font-size:10px;color:#82a0b3;margin-right:auto}.hidden{display:none!important}body.no-inspector{--right-width:0px}body.no-inspector .properties-panel{display:none}body.no-explorer{--left-width:0px}body.no-explorer .explorer-panel{display:none}@keyframes pulse{from{opacity:.3}to{opacity:1}}
@media(min-width:1600px){:root{--left-width:224px;--right-width:295px;--bottom-height:240px}.inspector{padding:19px 19px}.tree-unit{min-height:29px}.ribbon{padding-left:16px;gap:14px}}
@media(max-width:1100px){:root{--left-width:165px;--right-width:249px}.brand span,.local-badge,.menu-tabs #model-caption,.ribbon-status{display:none}.tree-unit .tree-label{display:none}.ribbon{gap:6px}.ribbon-group{padding-right:8px}.ribbon-btn{padding:2px 5px}.menu-tabs>button{padding:0 10px}.result-tabs>button{padding:0 8px}}
@media(max-width:850px){:root{--left-width:0px;--right-width:235px;--bottom-height:200px}.explorer-panel{display:none}.menu-tabs .example-link{display:none}.titlebar{padding-left:8px}.menu-tabs{padding-left:3px;gap:0}.menu-tabs>button{padding:0 9px}.brand{font-size:11px}.title-divider{margin:0 4px}.ribbon{height:74px}.ribbon-group{padding-right:7px}.ribbon-group>.group-label{font-size:7px}.property-row{grid-template-columns:1fr 86px}#render-stats,#coordinates{display:none}.example-grid{grid-template-columns:1fr}.modal-form-grid{gap:12px}.canvas-legend{gap:7px;bottom:11px}.canvas-footer{bottom:27px}.tab-type,#objects-count{display:none}}
@media(max-width:620px){:root{--right-width:0px;--bottom-height:185px}.properties-panel{display:none}.brand span{display:none}.project-title{max-width:185px;font-size:10px}.menu-tabs>button{padding:0 8px;font-size:10px}.menu-tabs button[data-menu=tools]{display:none}.ribbon{height:69px;padding:5px 6px 3px}.ribbon-group{padding-bottom:11px}.ribbon-btn{min-width:38px;font-size:9px}.ribbon-small{font-size:9px}.ribbon-run{font-size:9px;padding:9px}.result-tabs{padding-left:0;gap:0}.result-tabs>button{font-size:9px;padding:0 9px}.statusbar{font-size:8px;gap:7px;padding:0 7px}.statusbar>span:not(:first-child){padding-left:7px}.modal-form-grid,.help-grid{grid-template-columns:1fr}.modal-head,.modal-body,.modal-footer{padding:15px}.modal-head h2{font-size:17px}body.mobile-inspector .properties-panel{display:flex;position:absolute;right:0;top:141px;bottom:calc(var(--bottom-height) + 30px);width:270px;z-index:15;box-shadow:-5px 0 20px #234c6924}.canvas-tools{left:8px;top:12px}.solve-badge{right:10px;top:12px;font-size:8px}.document-tab{padding-left:9px}.data-table th:first-child,.data-table td:first-child{min-width:140px}.title-action{font-size:15px;width:21px}.canvas-footer{bottom:13px}.canvas-legend{font-size:7px}#minimap{display:none}#engine-badge{display:none}.component-table{min-width:650px}.modal-body{overflow-x:auto}}
@media print{body{overflow:visible}#app{display:none}dialog{display:block!important;position:static;max-height:none;width:100%;border:0;box-shadow:none}.modal-head button,.modal-footer{display:none}.modal-body{max-height:none;overflow:visible}dialog::backdrop{display:none}.data-table th,.data-table td{position:static!important}}

/* FGD engineering workspace: derived views of a single calculation document. */
[hidden]{display:none!important}.fgd-subnav{height:38px;min-height:38px;display:flex;align-items:stretch;padding:0 10px;gap:4px;background:#f9fbfc;border-bottom:1px solid #d8e2e8;overflow:auto}.fgd-subnav button{border:0;background:none;white-space:nowrap;font-size:11px;color:#708595;padding:0 12px;border-bottom:2px solid transparent}.fgd-subnav button:hover{color:#28788f;background:#edf5f7}.fgd-subnav button.active{color:#247487;border-bottom-color:#2a8499;font-weight:600}.fgd-subnav>span{flex:1}.fgd-workarea{flex:1;min-height:0;min-width:0;background:#eff4f6;overflow:auto;display:flex;flex-direction:column}.fgd-overview{padding:26px 30px 24px;color:#314e60;min-width:0}.fgd-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.fgd-eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;color:#3e8f9f}.fgd-heading h1{font-size:25px;letter-spacing:-.6px;line-height:1.15;font-weight:600;margin:10px 0 8px}.fgd-heading p{font-size:11px;color:#8196a4;margin:0}.fgd-heading-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.fgd-heading-actions .btn{white-space:nowrap;font-size:10px;padding:8px 10px}.fgd-state{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.3px;margin:20px 0 16px;padding:10px 12px;border:1px solid #d1e4dc;background:#f3faf6;color:#5c8c77;border-radius:4px}.fgd-state i{width:5px;height:5px;background:#63a485;border-radius:50%}.fgd-state span{margin-left:auto;color:#879aa4;white-space:nowrap}.fgd-state.pending{color:#af8138;border-color:#e8dcc6;background:#fffaf0}.fgd-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fgd-kpis article{background:white;border:1px solid #dce6eb;border-radius:6px;padding:16px 18px;box-shadow:0 2px 4px #27475503;position:relative}.fgd-kpis article:first-child{border-top:2px solid #438c95}.fgd-kpis p{font-size:10px;margin:0 0 12px;color:#718996}.fgd-kpis strong{font-size:28px;font-weight:500;letter-spacing:-1px;display:block;color:#284f64;font-variant-numeric:tabular-nums;line-height:1.1}.fgd-kpis small{display:block;margin-top:6px;color:#95a5af;font-size:10px}.fgd-section-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 12px}.fgd-section-heading h2,.fgd-card h2{font-size:13px;margin:0;color:#476376;font-weight:600}.fgd-section-heading span{font-size:10px;color:#92a4af}.fgd-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.fgd-area{border:1px solid #dce6eb;border-radius:5px;background:#fff;text-align:left;display:flex;gap:11px;padding:15px 12px;color:#617d8e}.fgd-area:hover{border-color:#79acb8;box-shadow:0 3px 12px #2c657210}.fgd-area-number{font-size:16px;color:#a0b8c1;background:#f0f6f8;display:block;width:29px;height:29px;flex-shrink:0;line-height:29px;text-align:center;border-radius:4px}.fgd-area small{font-size:8px;letter-spacing:1.1px;color:#8a9eab}.fgd-area h3{font-size:12px;font-weight:600;line-height:1.4;margin:5px 0 6px}.fgd-area p{font-size:10px;color:#91a2ad;line-height:1.6;margin:0 0 13px;min-height:32px}.fgd-area b{font-size:9px;font-weight:500;display:flex;justify-content:space-between;gap:12px;color:#97aab5}.fgd-area em{font-style:normal;color:#4b8d9b}.fgd-lower{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin-top:20px}.fgd-card{border:1px solid #dce6eb;border-radius:5px;background:#fff;padding:18px}.fgd-card p{font-size:11px;color:#8498a5;line-height:1.8}.fgd-button-row{display:flex;gap:6px;flex-wrap:wrap}.fgd-button-row .btn{font-size:10px;padding:5px 7px}.fgd-reactions{background:#f2f7f9;border-radius:4px;padding:12px;color:#62929e!important;line-height:2!important}.fgd-summary-row{display:flex;justify-content:space-between;gap:15px;font-size:10px;border-bottom:1px solid #eef3f5;padding:10px 0}.fgd-summary-row span{color:#7e96a5}.fgd-summary-row b{font-weight:500;font-variant-numeric:tabular-nums}.fgd-summary-row small{color:#9bacb5;font-weight:400}.fgd-limits{margin-top:20px;display:flex;align-items:center;gap:15px;font-size:10px;color:#a39479;line-height:1.7;background:#faf8f2;padding:14px;border:1px solid #e7e2d7;border-radius:4px}.fgd-limits b{white-space:nowrap;font-weight:600}.fgd-limits .btn{font-size:10px;min-width:140px}.fgd-drawing-toolbar{display:flex;align-items:center;gap:6px;padding:10px 12px;background:#f6f9fb;border-bottom:1px solid #d4e1e8;flex-wrap:wrap;min-height:42px}.fgd-drawing-toolbar label{font-size:11px;display:flex;gap:9px;align-items:center;color:#78909f}.fgd-drawing-toolbar select{font-size:11px;background:white;border:1px solid #d2dfe6;border-radius:3px;padding:6px;color:#466b80}.fgd-drawing-toolbar .btn{padding:5px 9px;font-size:11px}.fgd-toolbar-spacer{flex:1}.fgd-drawing-hint{font-size:9px;color:#9babb5}.fgd-paper{flex:1;min-height:0;overflow:hidden;display:flex;background:#e5edf2;padding:12px;touch-action:none}.fgd-paper>svg{width:100%;height:100%;min-height:120px;user-select:none;box-shadow:0 3px 14px #3e5d7515}.fgd-register-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:13px;background:#fafcfd;border-bottom:1px solid #dce6ec}.fgd-register-toolbar>div{display:flex;gap:4px;flex-wrap:wrap;flex:1 0 100%}.fgd-register-toolbar .btn{font-size:10px;padding:6px 8px}.fgd-register-toolbar input{font-size:11px;padding:7px 10px;border:1px solid #d6e1e8;border-radius:4px;min-width:200px}.fgd-register-note{padding:12px;color:#9f947d;font-size:10px;background:#faf8f3;border-bottom:1px solid #e9e5d9;line-height:1.7}.fgd-register-table{flex:1;min-height:0;overflow:auto}.fgd-table{border-collapse:collapse;font-size:11px;width:100%;background:white}.fgd-table th{position:sticky;top:0;background:#eaf1f5;color:#698698;font-weight:500;padding:12px 10px;border-bottom:1px solid #d7e3e9;text-align:left;white-space:nowrap}.fgd-table td{padding:10px;border-bottom:1px solid #edf2f5;color:#77909f;vertical-align:top;line-height:1.5}.fgd-table tr:nth-child(even){background:#fcfdfe}.fgd-register-row{cursor:pointer}.fgd-register-row:hover{background:#edf7fa!important}.fgd-table td:first-child{color:#4a7f95;font-variant-numeric:tabular-nums}.fgd-focus .workspace{grid-template-columns:1fr}.fgd-focus .explorer-panel,.fgd-focus .properties-panel,.fgd-focus .bottom-panel,.fgd-focus #bottom-resizer{display:none}.fgd-focus .app-body{grid-template-rows:1fr!important}.fgd-guide{font-size:13px;line-height:1.8;color:#4f6878}.fgd-guide header{padding:16px 0 20px;border-bottom:1px solid #d8e6ec}.fgd-guide header h1{font-size:30px;line-height:1.2;color:#2b536a;font-weight:550;letter-spacing:-.5px}.fgd-guide .lead{font-size:15px;color:#7a939f}.fgd-guide h2{font-size:20px;margin:32px 0 12px;color:#355f74;scroll-margin-top:20px}.fgd-guide h3{font-size:15px;margin:20px 0 8px}.fgd-guide table{border-collapse:collapse;width:100%;font-size:12px}.fgd-guide th,.fgd-guide td{text-align:left;padding:10px;border:1px solid #dce7ed;vertical-align:top}.fgd-guide th{background:#eef5f8;font-weight:600}.fgd-guide a{color:#2886a2}.fgd-guide nav{padding:16px 20px;background:#f0f6f9;border:1px solid #dae8ee;border-radius:5px}.fgd-guide code{font-size:12px;color:#527c8e}.fgd-guide pre{background:#243f50;color:#d7e7ef;padding:18px;border-radius:5px;overflow:auto}.fgd-guide pre code{color:inherit}.fgd-guide .callout{font-size:13px;line-height:1.8}.fgd-guide .equation{font-family:ui-monospace,monospace;background:#f0f6f8;padding:14px;color:#3e7e8d}.fgd-guide ul,.fgd-guide ol{padding-left:24px}.fgd-spec-result{border:1px solid #cae2d7;padding:10px;background:#f2faf5}.fgd-spec-result .btn{font-size:10px;margin:5px}
@media(min-width:1600px){.fgd-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.fgd-area-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.fgd-area{display:block}.fgd-area-number{margin-bottom:12px}}
@media(max-width:1050px){.fgd-overview{padding:20px}.fgd-heading{display:block}.fgd-heading-actions{justify-content:flex-start;margin-top:13px}.fgd-state{flex-wrap:wrap}.fgd-state span{margin-left:0}.fgd-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fgd-kpis{gap:8px}.fgd-kpis article{padding:13px}.fgd-lower{grid-template-columns:1fr}.fgd-section-heading span{display:none}.fgd-limits{flex-wrap:wrap}.fgd-drawing-hint{display:none}}
@media(max-width:620px){.fgd-overview{padding:17px 13px}.fgd-heading h1{font-size:22px}.fgd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fgd-kpis strong{font-size:26px}.fgd-area-grid{grid-template-columns:1fr}.fgd-area p{min-height:0}.fgd-subnav{padding:0 3px}.fgd-subnav button{padding:0 9px;font-size:10px}.fgd-drawing-toolbar label{width:100%}.fgd-drawing-toolbar select{max-width:calc(100vw - 75px)}.fgd-paper{padding:3px}.fgd-heading p{line-height:1.6}.fgd-table{font-size:10px}.fgd-limits .btn{width:100%}.fgd-guide header h1{font-size:25px}}
